:root {
  --ink: #12110f;
  --muted: rgba(18, 17, 15, 0.58);
  --bg: #eee7de;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.78);
  --rose: #d8897c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
}

body {
  display: grid;
  place-items: start center;
  background: #c8b9ae;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

.phone {
  width: 390px;
  height: 844px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-phone {
  background: #eee9e2;
}

.inventory-phone {
  background:
    radial-gradient(circle at 84% 4%, rgba(255, 255, 255, 0.92), transparent 26%),
    radial-gradient(circle at 8% 28%, rgba(217, 183, 156, 0.22), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%);
}

.inventory-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(18, 17, 15, 0.03) 0 1px, transparent 1px 100%);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 68%);
}

.photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(244, 238, 230, 0.2) 38%, rgba(238, 231, 221, 0.9) 76%, #eee9e2),
    url("tuntun-home-editorial-bg.png");
  background-size: cover;
  background-position: 50% 42%;
  filter: saturate(0.95) contrast(1.02);
  z-index: 0;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.62), transparent 26%),
    radial-gradient(circle at 80% 38%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.74) 0 48%, rgba(255, 255, 255, 0.1) 100%);
}

.statusbar {
  height: 48px;
  padding: 15px 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 740;
  position: relative;
  z-index: 5;
}

.sys-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  opacity: 0.72;
}

.signal {
  width: 17px;
  height: 10px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: skew(-15deg);
}

.wifi {
  width: 15px;
  height: 10px;
  border: 2px solid var(--ink);
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50% 50% 0 0;
}

.battery {
  width: 24px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  position: relative;
}

.battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--ink);
}

main {
  height: calc(844px - 48px - 80px);
  padding: 0 22px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.home-main {
  padding-top: 8px;
}

.topbar,
.top {
  height: 42px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 0 22px;
}

.brand {
  font-size: 19px;
  line-height: 24px;
  font-weight: 900;
}

.title-brand {
  font-size: 19px;
  line-height: 24px;
  font-weight: 900;
}

.title-brand em {
  font-family: "Times New Roman", "Songti SC", serif;
  font-style: normal;
  font-size: 21px;
  font-weight: 400;
}

.hero-title {
  margin: 30px 0 0;
  max-width: 310px;
  font-size: 55px;
  line-height: 54px;
  font-weight: 850;
}

.hero-title span {
  display: block;
  font-family: "Times New Roman", "Songti SC", serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 56px;
}

.subtitle {
  margin: 14px 0 0;
  width: 220px;
  font-size: 15px;
  line-height: 23px;
  color: rgba(18, 17, 15, 0.68);
  font-weight: 560;
}

.quick-add {
  position: absolute;
  left: 22px;
  top: 230px;
  width: 132px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 38px rgba(52, 39, 33, 0.13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  backdrop-filter: blur(22px);
  font-size: 13px;
  font-weight: 820;
}

.quick-add i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 18px;
}

.floating-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 126px;
  min-height: 282px;
  padding: 16px 16px 14px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(255, 250, 244, 0.34)),
    radial-gradient(circle at 86% 14%, rgba(216, 137, 124, 0.12), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 22px 54px rgba(52, 39, 33, 0.11);
  backdrop-filter: blur(28px) saturate(1.08);
}

.floating-card .reminder,
.floating-card .recent-item {
  background: rgba(255, 250, 244, 0.58);
  border-color: rgba(255, 255, 255, 0.54);
}

.floating-card .stat {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(255, 255, 255, 0.42);
}

.reminder-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2px;
}

.text-link {
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  padding: 0;
}

.priority-summary {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.priority-number {
  font-size: 76px;
  line-height: 74px;
  font-weight: 900;
}

.priority-copy h2 {
  margin: 0;
  font-size: 24px;
  line-height: 27px;
  font-weight: 860;
}

.priority-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  font-weight: 690;
}

.range-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 9px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 17, 15, 0.055);
  color: rgba(18, 17, 15, 0.72);
  font-size: 11px;
  font-weight: 780;
}

.reminder,
.recent-item,
.inventory-item {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 250, 244, 0.82);
}

.reminder {
  min-height: 64px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 11px 9px 9px;
  width: 100%;
  text-align: left;
}

.mini-product,
.dot-product,
.product {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 38%, rgba(255, 255, 255, 0.8), transparent 25%),
    linear-gradient(135deg, #f6eadb, #ca8b67);
}

.mini-product {
  width: 64px;
  height: 46px;
  border-radius: 16px;
}

.mini-product::before,
.product::before {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 8px;
  width: 15px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #201b18 0 40%, #d38b7c 40%);
  transform: rotate(-11deg);
}

.mini-product::after,
.product::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 27px;
  height: 27px;
  border-radius: 10px 10px 15px 15px;
  background: rgba(255, 255, 255, 0.78);
  border-top: 8px solid #d4ae77;
}

.reminder h3 {
  margin: 0;
  font-size: 13px;
  line-height: 17px;
  font-weight: 820;
}

.reminder p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 14px;
  color: var(--muted);
  font-weight: 600;
}

.pill {
  min-width: 48px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.stats-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.stats-line-five {
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  padding: 8px 9px;
  text-align: left;
}

.stat strong {
  display: block;
  font-size: 16px;
  line-height: 16px;
  font-weight: 860;
}

.stat span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 12px;
  color: var(--muted);
  font-weight: 700;
}

.stat-wide {
  grid-column: auto;
}

.recent-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.recent-item {
  min-height: 48px;
  border-radius: 17px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.46);
  text-align: left;
}

.dot-product {
  width: 30px;
  height: 30px;
  border-radius: 11px;
}

.dot-product.dark {
  background: linear-gradient(180deg, #1d1916 0 45%, #d98d80 45% 100%);
}

.dot-product.pale {
  background:
    radial-gradient(circle at 64% 34%, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(135deg, #f8efe3, #b9b7ae);
}

.recent-item strong {
  display: block;
  font-size: 11px;
  line-height: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-item span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  line-height: 12px;
  color: var(--muted);
  font-weight: 680;
}

.inventory-main .hero {
  margin-top: 4px;
  padding-bottom: 2px;
}

.inventory-main h1 {
  margin: 0;
  font-size: 34px;
  line-height: 38px;
  font-weight: 880;
}

.inventory-main h1 span {
  font-family: "Times New Roman", "Songti SC", serif;
  font-size: 38px;
  font-weight: 400;
}

.hero-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-copy {
  margin: 8px 0 0;
  width: 250px;
  color: rgba(18, 17, 15, 0.62);
  font-size: 12px;
  line-height: 18px;
  font-weight: 620;
}

.total {
  min-width: 78px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(52, 39, 33, 0.12);
  backdrop-filter: blur(18px);
}

.total strong {
  font-size: 18px;
  font-weight: 880;
}

.total span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 740;
}

.inventory-main {
  overflow: hidden;
  overflow-x: hidden;
  padding-bottom: 108px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.inventory-main::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.inventory-main .top {
  position: relative;
  top: 0;
  z-index: 12;
  margin: 0 -22px;
  padding: 0 22px;
  background:
    linear-gradient(180deg, rgba(248, 244, 237, 0.96) 0%, rgba(248, 244, 237, 0.9) 72%, rgba(248, 244, 237, 0.72) 100%);
  backdrop-filter: blur(10px);
}

.inventory-brand {
  position: relative;
  width: 160px;
  height: 22px;
}

.inventory-brand span {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  transition:
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.inventory-brand .brand-title {
  opacity: 0;
  transform: translateY(8px);
  transition-delay: 60ms;
  font-size: 16px;
  line-height: 22px;
  font-weight: 860;
}

.inventory-brand .brand-title em {
  margin-left: 4px;
  font-family: "Times New Roman", "Songti SC", serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
}

.inventory-main.is-condensed .inventory-brand .brand-name {
  opacity: 0;
  transform: translateY(-8px);
  transition-delay: 0ms;
}

.inventory-main.is-condensed .inventory-brand .brand-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 70ms;
}

.inventory-controls {
  position: relative;
  top: auto;
  z-index: 8;
  margin: 10px -22px 0;
  padding: 10px 22px 13px;
  background:
    linear-gradient(180deg, rgba(248, 244, 237, 0.9) 0%, rgba(244, 238, 230, 0.86) 70%, rgba(238, 231, 221, 0.72) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(52, 39, 33, 0.018);
  backdrop-filter: blur(12px);
}

.inventory-controls::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 231, 221, 0.3), rgba(238, 231, 221, 0));
}

.search {
  margin-top: 0;
  height: 50px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(52, 39, 33, 0.08);
  backdrop-filter: blur(18px);
}

.search input,
.search span {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.search input::placeholder,
.search span {
  color: rgba(18, 17, 15, 0.48);
}

.magnifier {
  width: 19px;
  height: 19px;
  border: 2px solid rgba(18, 17, 15, 0.48);
  border-radius: 50%;
  position: relative;
}

.magnifier::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -2px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(18, 17, 15, 0.48);
  transform: rotate(45deg);
}

.filter-block {
  margin-top: 8px;
}

.filter-label {
  margin: 0 0 7px;
  color: rgba(18, 17, 15, 0.48);
  font-size: 10px;
  line-height: 12px;
  font-weight: 820;
  letter-spacing: 0;
}

.muted-label {
  color: rgba(18, 17, 15, 0.4);
}

.filters {
  display: flex;
  overflow-x: auto;
  padding: 0 22px 2px 0;
  margin-right: -22px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.status-filters {
  gap: 8px;
}

.category-block {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid rgba(18, 17, 15, 0.07);
}

.category-filters {
  gap: 7px;
}

.status-chip,
.category-chip {
  flex: 0 0 auto;
  border: 0;
  scroll-snap-align: start;
}

.status-chip {
  min-width: 74px;
  height: 40px;
  border-radius: 17px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(18, 17, 15, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 22px rgba(52, 39, 33, 0.05);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 820;
}

.status-chip.active {
  background: #171410;
  color: #fff;
  border-color: #171410;
  box-shadow: 0 14px 28px rgba(18, 17, 15, 0.16);
}

.status-chip b {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.08);
  color: rgba(18, 17, 15, 0.7);
  font-size: 10px;
  font-weight: 860;
}

.status-chip.active b {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.category-chip {
  height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: rgba(18, 17, 15, 0.66);
  border: 1px solid rgba(18, 17, 15, 0.11);
  font-size: 11px;
  font-weight: 760;
}

.category-chip b {
  color: rgba(18, 17, 15, 0.36);
  font-size: 10px;
  font-weight: 820;
}

.category-chip.active {
  background: rgba(216, 137, 124, 0.16);
  color: rgba(18, 17, 15, 0.86);
  border-color: rgba(216, 137, 124, 0.34);
}

.category-chip.active b {
  color: rgba(18, 17, 15, 0.58);
}

.section-head {
  margin: 10px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-head h2 {
  margin: 0;
  font-size: 27px;
  line-height: 32px;
  font-weight: 860;
}

.sort-button,
.sort-static {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  display: inline-flex;
  align-items: center;
}

.list {
  margin-top: 8px;
  display: grid;
  gap: 9px;
}

.inventory-scroll {
  height: calc(100% - 134px);
  min-height: 250px;
  margin: 0 -22px;
  padding: 8px 22px 88px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.inventory-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.inventory-item {
  min-height: 70px;
  border-radius: 23px;
  padding: 8px 10px 8px 8px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 26px rgba(52, 39, 33, 0.075);
  backdrop-filter: blur(18px);
  width: 100%;
  text-align: left;
}

.product {
  width: 54px;
  height: 52px;
  border-radius: 18px;
}

.product.tube {
  background: linear-gradient(135deg, #f7efe3, #d6c1a2);
}

.product.tube::before {
  left: 19px;
  width: 21px;
  height: 40px;
  background: linear-gradient(180deg, #efede6, #c7b392);
  transform: rotate(15deg);
}

.product.tube::after {
  display: none;
}

.product.jar {
  background: linear-gradient(135deg, #eeeae1, #aeb0a6);
}

.product.jar::before {
  display: none;
}

.product.jar::after {
  left: 12px;
  right: auto;
  bottom: 14px;
  width: 30px;
  height: 24px;
  border-radius: 12px 12px 15px 15px;
  border-top: 8px solid #191816;
  background: rgba(255, 255, 255, 0.72);
}

.info {
  min-width: 0;
}

.info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 17px;
  font-weight: 840;
}

.info span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
  font-weight: 680;
}

.status {
  min-width: 48px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.75);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.status.danger {
  background: #161410;
  color: #fff;
}

.status.warn {
  background: rgba(216, 137, 124, 0.16);
  color: #9e4f42;
}

.empty {
  margin-top: 22px;
  padding: 26px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.76);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  display: none;
}

.empty strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 25px;
  font-weight: 860;
}

.empty span {
  display: block;
  margin: 8px auto 0;
  max-width: 236px;
}

.empty-actions {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.empty-actions button {
  height: 42px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.72);
}

.empty-actions button:last-child {
  background: var(--ink);
  color: #fff;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  padding: 8px 22px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: rgba(245, 240, 233, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px);
  z-index: 10;
}

.tab {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: rgba(18, 17, 15, 0.44);
  font-size: 10px;
  line-height: 12px;
  font-weight: 720;
  background: transparent;
  text-decoration: none;
}

.tab svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9;
}

.tab.active {
  color: var(--ink);
}

.tab.add {
  margin-top: -22px;
}

.add-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 34px rgba(52, 39, 33, 0.18);
}

.add-circle svg {
  width: 24px;
  height: 24px;
}

.view {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.view.active {
  display: block;
  pointer-events: auto;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 98px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 17, 15, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  body {
    place-items: start center;
    background: #eee7de;
  }

  .phone {
    width: 100vw;
    max-width: 390px;
    height: 100vh;
    height: 100dvh;
  }

  main {
    height: calc(100vh - 48px - 80px);
    height: calc(100dvh - 48px - 80px);
  }

  .no-status main,
  .no-status .page-main,
  .no-status .secondary-main {
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
  }
}

.app-shell {
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: start center;
}

.page-main,
.secondary-main {
  height: calc(844px - 48px);
  padding: 0 22px 118px;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}

.page-main::-webkit-scrollbar,
.secondary-main::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.page-main {
  overflow-y: auto;
}

.add-main,
.me-main,
.success-main {
  padding-top: 0;
}

.add-top,
.me-top,
.secondary-top {
  position: sticky;
  top: 0;
  z-index: 12;
  margin: 0 -22px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 42px 1fr 58px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(248, 244, 237, 0.98) 0%, rgba(248, 244, 237, 0.9) 78%, rgba(248, 244, 237, 0.72) 100%);
  backdrop-filter: blur(14px);
}

.add-top,
.me-top {
  display: flex;
}

.secondary-scroll {
  height: calc(100% - 54px);
  margin: 0 -22px;
  padding: 0 22px 34px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.secondary-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.back {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(18, 17, 15, 0.72);
  font-size: 24px;
  line-height: 1;
}

.nav-title {
  text-align: center;
  font-size: 17px;
  line-height: 22px;
  font-weight: 860;
}

.nav-spacer {
  width: 58px;
}

.nav-add {
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 840;
}

.field-card,
.panel-card,
.photo-field,
.detail-card,
.setting-row {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 26px rgba(52, 39, 33, 0.075);
  backdrop-filter: blur(18px);
}

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

.form-section {
  display: grid;
  gap: 9px;
}

.form-section h2,
.panel-card h2 {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 23px;
  font-weight: 860;
}

.field-card {
  min-height: 56px;
  border-radius: 20px;
  display: grid;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
}

.field-card span,
.photo-field span {
  color: rgba(18, 17, 15, 0.46);
  font-size: 11px;
  line-height: 14px;
  font-weight: 760;
}

.field-card input,
.field-card select,
.field-card textarea {
  width: 100%;
  min-height: 24px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 680;
}

.field-card textarea {
  min-height: 70px;
  resize: vertical;
}

.switch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.switch-row button {
  min-height: 44px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(18, 17, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.switch-row button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.photo-field {
  min-height: 124px;
  border-radius: 24px;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 13px;
}

.photo-preview {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 62% 38%, rgba(255, 255, 255, 0.8), transparent 25%),
    linear-gradient(135deg, #f6eadb, #ca8b67);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.photo-actions {
  display: grid;
  gap: 8px;
}

.photo-actions input {
  display: none;
}

.primary,
.secondary,
.danger-button {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 820;
}

.primary {
  background: var(--ink);
  color: #fff;
}

.secondary {
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.74);
}

.danger-button {
  background: rgba(18, 17, 15, 0.92);
  color: #fff;
}

.bottom-actions {
  position: sticky;
  bottom: 0;
  z-index: 8;
  margin: 18px -4px 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  border-radius: 26px;
  background: rgba(248, 244, 237, 0.72);
  backdrop-filter: blur(20px);
}

.image-product {
  background-size: cover !important;
  background-position: center !important;
}

.image-product::before,
.image-product::after {
  display: none !important;
}

.detail-hero {
  margin-top: 10px;
  border-radius: 34px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 244, 0.43)),
    radial-gradient(circle at 88% 14%, rgba(216, 137, 124, 0.14), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 54px rgba(52, 39, 33, 0.12);
  backdrop-filter: blur(26px);
}

.detail-top {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 15px;
}

.detail-top .product {
  width: 92px;
  height: 92px;
  border-radius: 29px;
}

.detail-top h1 {
  margin: 8px 0 0;
  font-size: 29px;
  line-height: 34px;
  font-weight: 880;
}

.big-status {
  margin-top: 14px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(18, 17, 15, 0.055);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.big-status strong {
  display: block;
  font-size: 28px;
  line-height: 32px;
  font-weight: 900;
}

.big-status span {
  color: var(--muted);
  font-size: 12px;
  line-height: 17px;
  font-weight: 700;
}

.info-grid {
  display: grid;
  gap: 9px;
}

.info-row,
.setting-row {
  min-height: 54px;
  border-radius: 20px;
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.info-row {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.info-row span,
.setting-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.info-row strong,
.setting-row strong {
  text-align: right;
  font-size: 13px;
  font-weight: 830;
}

.action-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.detail-main {
  padding-bottom: 0;
}

.detail-scroll {
  height: calc(100% - 54px);
  padding-bottom: 150px;
}

.detail-info-card {
  margin-top: 12px;
  padding: 2px 12px 12px;
  border-radius: 26px;
}

.detail-action-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 16;
  padding: 34px 22px 18px;
  background:
    linear-gradient(180deg, rgba(238, 231, 221, 0), rgba(245, 240, 233, 0.84) 30%, rgba(245, 240, 233, 0.98) 100%);
  backdrop-filter: blur(22px);
}

.detail-action-grid {
  display: grid;
  grid-template-columns: 1fr 78px 78px;
  gap: 9px;
}

.detail-action-grid button {
  min-height: 48px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.secondary-action {
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.72);
}

.danger-main {
  background: #2a1512;
}

.danger-text {
  color: #9e4f42;
}

.install-note {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 20px;
  background: rgba(216, 137, 124, 0.12);
  color: rgba(18, 17, 15, 0.7);
  font-size: 12px;
  line-height: 18px;
  font-weight: 650;
}

.sheet {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: end;
  background: rgba(18, 17, 15, 0.22);
}

.sheet-panel {
  padding: 18px 22px 24px;
  border-radius: 30px 30px 0 0;
  background: rgba(248, 244, 237, 0.96);
  box-shadow: 0 -20px 50px rgba(52, 39, 33, 0.18);
  backdrop-filter: blur(24px);
}

.sheet-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 860;
}

.sheet-options {
  display: grid;
  gap: 8px;
}

.sheet-options button {
  min-height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 780;
}

.date-sheet {
  background: rgba(18, 17, 15, 0.28);
  backdrop-filter: blur(5px);
}

.choice-sheet,
.form-sheet {
  background: rgba(18, 17, 15, 0.28);
  backdrop-filter: blur(5px);
}

.date-sheet-panel {
  position: relative;
  min-height: 464px;
  padding: 28px 28px 26px;
  border-radius: 32px 32px 0 0;
  background: rgba(248, 244, 237, 0.96);
}

.date-sheet-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 900;
}

.date-sheet-panel p {
  margin: 10px 0 18px;
  width: 260px;
  color: rgba(18, 17, 15, 0.56);
  font-size: 13px;
  line-height: 19px;
  font-weight: 720;
}

.sheet-close {
  position: absolute;
  right: 25px;
  top: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.07);
  font-size: 25px;
  line-height: 1;
  font-weight: 520;
}

.date-preview {
  min-height: 56px;
  border-radius: 19px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(52, 39, 33, 0.06);
  font-size: 20px;
  line-height: 24px;
  font-weight: 900;
}

.date-wheels {
  margin-top: 18px;
  height: 164px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  align-items: center;
  overflow: hidden;
}

.date-wheels::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 58px;
  height: 48px;
  border-radius: 14px;
  background: rgba(32, 110, 226, 0.08);
  pointer-events: none;
}

.date-wheel {
  width: 100%;
  height: 150px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.date-wheel::-webkit-scrollbar {
  display: none;
}

.date-wheel button,
.wheel-spacer {
  height: 48px;
}

.date-wheel button {
  width: 100%;
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  background: transparent;
  color: rgba(18, 17, 15, 0.26);
  text-align: center;
  font-size: 17px;
  line-height: 22px;
  font-weight: 780;
}

.date-wheel button.active {
  color: #2563eb;
  font-size: 21px;
  font-weight: 900;
}

.sheet-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sheet-actions button {
  height: 52px;
  border-radius: 999px;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.68);
  font-size: 14px;
  font-weight: 850;
}

.sheet-actions button:last-child {
  background: var(--ink);
  color: #fff;
}

.choice-sheet-panel,
.form-sheet-panel {
  position: relative;
  max-height: 78%;
  padding: 28px 28px 30px;
  border-radius: 32px 32px 0 0;
  background: rgba(248, 244, 237, 0.96);
  overflow-y: auto;
}

.choice-sheet-panel h2,
.form-sheet-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 900;
}

.choice-sheet-panel p,
.form-sheet-panel p {
  margin: 10px 0 22px;
  color: rgba(18, 17, 15, 0.56);
  font-size: 13px;
  line-height: 19px;
  font-weight: 720;
}

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

.choice-option {
  min-height: 72px;
  border-radius: 22px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  text-align: left;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(52, 39, 33, 0.05);
}

.choice-option strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-weight: 880;
}

.choice-option em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  font-weight: 690;
}

.choice-option b {
  min-width: 54px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.62);
  font-size: 12px;
  font-weight: 850;
}

.choice-option.active b {
  background: var(--ink);
  color: #fff;
}

.form-sheet-panel .field {
  margin-top: 18px;
}

.form-sheet-panel .field input {
  min-height: 56px;
  border-radius: 19px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 820;
}

.form-save {
  width: 100%;
  height: 58px;
  margin-top: 24px;
}

.no-status .statusbar {
  display: none;
}

.no-status .view {
  inset: 0;
}

.no-status main,
.no-status .page-main,
.no-status .secondary-main {
  height: calc(844px - 80px);
}

.no-status .secondary-main {
  padding-bottom: 32px;
}

.no-status .topbar {
  padding-top: 20px;
}

.no-status .home-main {
  height: calc(844px - 80px);
}

.no-status .page-main,
.no-status .secondary-main {
  height: calc(844px - 80px);
}

.compact-home-card {
  min-height: 0;
  max-height: calc(100% - 330px);
  overflow-y: auto;
  scrollbar-width: none;
}

.compact-home-card::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.compact-home-card .stats-line {
  margin-top: 10px;
}

.recent-adds {
  margin-top: 12px;
}

.recent-title {
  margin: 0 0 8px;
  color: rgba(18, 17, 15, 0.5);
  font-size: 11px;
  font-weight: 820;
}

.recent-add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.recent-add-card {
  min-height: 56px;
  border-radius: 19px;
  padding: 8px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  text-align: left;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.recent-add-card .dot-product {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.recent-add-card strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 15px;
  font-weight: 880;
}

.recent-add-card em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  line-height: 14px;
  font-weight: 720;
}

.home-main > .quick-add:only-child {
  margin-top: 18px;
}

.compact-inventory {
  padding-top: 8px;
}

.inventory-top {
  height: 46px;
  display: grid;
  grid-template-columns: 1fr 176px;
  align-items: center;
  gap: 12px;
}

.inventory-page-title {
  font-size: 19px;
  line-height: 24px;
  font-weight: 900;
}

.compact-search {
  margin: 0;
  height: 42px;
  border-radius: 18px;
  justify-self: end;
  width: 176px;
}

.compact-search input {
  font-size: 16px;
}

.compact-inventory .inventory-controls {
  top: auto;
  margin-top: 0;
  padding-top: 2px;
}

.compact-inventory .hero {
  display: none;
}

.compact-inventory .inventory-controls > .search {
  display: none;
}

.inventory-empty {
  margin-top: 76px;
}

.empty-card {
  width: 100%;
  min-height: 224px;
  padding: 34px 24px 30px;
  border-radius: 31px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 54px rgba(52, 39, 33, 0.1);
  backdrop-filter: blur(24px);
}

.home-empty-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 196px;
  display: block;
  width: auto;
  min-height: 176px;
  padding: 28px 22px 26px;
}

.home-empty-card .empty-actions {
  grid-template-columns: 1fr;
  width: 58%;
  min-width: 164px;
  margin-left: auto;
  margin-right: auto;
}

.inventory-empty .empty-actions {
  grid-template-columns: 1fr;
  width: 58%;
  min-width: 164px;
  margin-left: auto;
  margin-right: auto;
}

.inventory-scroll.is-empty {
  overflow: hidden;
}

.inventory-empty-sheet {
  align-items: center;
  padding: 0 28px;
}

.inventory-empty-prompt-card {
  position: relative;
  display: block;
  margin: 0;
}

.inventory-empty-prompt-card .sheet-close {
  right: 18px;
  top: 18px;
}

.inventory-empty-prompt-card .empty-actions {
  grid-template-columns: 1fr;
  width: 58%;
  min-width: 164px;
  margin-left: auto;
  margin-right: auto;
}

.add-main {
  padding-bottom: 176px;
}

.content-stack {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.add-stack,
.me-stack {
  margin-top: 10px;
}

.add-top,
.me-top {
  height: 56px;
}

.panel {
  border-radius: 28px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 250, 244, 0.44)),
    radial-gradient(circle at 86% 10%, rgba(216, 137, 124, 0.1), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 38px rgba(52, 39, 33, 0.09);
  backdrop-filter: blur(22px);
}

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

.panel-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 25px;
  font-weight: 870;
}

.panel-head span {
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.product-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.product-art.image-picker {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}

.field-grid {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(18, 17, 15, 0.55);
  font-size: 11px;
  font-weight: 780;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  outline: 0;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
  box-shadow: 0 10px 22px rgba(52, 39, 33, 0.045);
}

.choice-row {
  width: 100%;
}

.field textarea {
  min-height: 72px;
  padding: 13px 14px;
  resize: none;
}

.date-row {
  min-height: 56px;
  border-radius: 18px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 22px rgba(52, 39, 33, 0.045);
}

.date-row strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 850;
}

.date-row span {
  color: rgba(18, 17, 15, 0.4);
  font-size: 12px;
  font-weight: 830;
}

.date-row i {
  color: rgba(18, 17, 15, 0.44);
  font-style: normal;
  font-size: 26px;
  line-height: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.open-status-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(18, 17, 15, 0.055);
}

.open-status-control button {
  min-height: 68px;
  border-radius: 18px;
  padding: 10px 10px;
  text-align: left;
  background: transparent;
  color: rgba(18, 17, 15, 0.55);
}

.open-status-control button.active {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(52, 39, 33, 0.07);
}

.open-status-control strong {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 880;
}

.open-status-control span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 13px;
  font-weight: 700;
}

.open-fields {
  display: none;
}

.open-fields.show {
  display: grid;
  gap: 10px;
}

.save-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  z-index: 9;
  padding: 14px 22px 13px;
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(238, 231, 221, 0), rgba(245, 240, 233, 0.9) 32%, rgba(245, 240, 233, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 -18px 34px rgba(52, 39, 33, 0.04);
  backdrop-filter: blur(24px);
}

.edit-main + .save-dock {
  bottom: 0;
}

.success-main {
  padding-bottom: 110px;
  display: grid;
  align-content: start;
}

.success-card {
  margin-top: 130px;
  border-radius: 34px;
  padding: 26px 21px 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 244, 0.45)),
    radial-gradient(circle at 86% 12%, rgba(216, 137, 124, 0.1), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 54px rgba(52, 39, 33, 0.11);
  backdrop-filter: blur(24px);
}

.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 620;
}

.success-card h1 {
  margin: 24px 0 0;
  font-size: 34px;
  line-height: 40px;
  font-weight: 900;
}

.success-card p {
  margin: 14px 0 0;
  color: rgba(18, 17, 15, 0.58);
  font-size: 14px;
  line-height: 22px;
  font-weight: 720;
}

.success-item {
  margin-top: 22px;
  min-height: 72px;
  border-radius: 24px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.success-item .product {
  width: 52px;
  height: 52px;
}

.success-item strong {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 880;
}

.success-item em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  font-weight: 720;
}

.success-item b {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.72);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.success-actions {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.success-actions .primary-action,
.success-actions .reset-action {
  width: 100%;
  height: 54px;
}

.primary-action,
.reset-action {
  min-width: 0;
  height: 46px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 850;
}

.primary-action {
  background: var(--ink);
  color: #fff;
}

.reset-action {
  background: rgba(18, 17, 15, 0.06);
  color: rgba(18, 17, 15, 0.68);
}

.reset-action:disabled {
  background: rgba(18, 17, 15, 0.045);
  color: rgba(18, 17, 15, 0.28);
  cursor: default;
}

.overview {
  min-height: 128px;
  border-radius: 30px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 244, 0.44)),
    radial-gradient(circle at 86% 16%, rgba(216, 137, 124, 0.13), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(52, 39, 33, 0.1);
  backdrop-filter: blur(24px);
}

.overview-mark {
  position: absolute;
  right: 28px;
  top: 25px;
  width: 78px;
  height: 78px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 56% 50%, rgba(255, 244, 232, 0.94) 0 24%, transparent 25%),
    linear-gradient(90deg, #171410 0 28%, transparent 28%),
    linear-gradient(135deg, #e7c7af, #d8a98d);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.44);
}

.overview-copy {
  width: 226px;
  position: relative;
  z-index: 2;
}

.label-pill {
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.68);
  font-size: 10px;
  line-height: 12px;
  font-weight: 820;
}

.overview h2 {
  margin: 7px 0 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 880;
}

.overview p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 650;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.metric {
  min-height: 60px;
  border-radius: 22px;
  padding: 11px 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 26px rgba(52, 39, 33, 0.07);
  backdrop-filter: blur(16px);
}

.metric strong {
  display: block;
  font-size: 21px;
  line-height: 21px;
  font-weight: 880;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
  font-weight: 720;
}

.section-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.me-section-head h2 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0;
}

.priority-action {
  min-height: 64px;
  border-radius: 24px;
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  background:
    linear-gradient(120deg, rgba(18, 17, 15, 0.94), rgba(55, 47, 41, 0.9)),
    radial-gradient(circle at 88% 18%, rgba(216, 137, 124, 0.34), transparent 28%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 34px rgba(52, 39, 33, 0.18);
}

.priority-action strong {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 850;
}

.priority-action span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 15px;
  font-weight: 660;
}

.action-pill {
  min-width: 92px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 12px;
  font-weight: 840;
  white-space: nowrap;
}

.menu-list {
  display: grid;
  gap: 9px;
}

.desk-item {
  width: 100%;
  min-height: 66px;
  border-radius: 23px;
  padding: 10px 12px 10px 10px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(52, 39, 33, 0.075);
  backdrop-filter: blur(18px);
}

.reminder-setting-item {
  grid-template-columns: 46px 1fr auto;
}

.desk-item.subtle {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 20px rgba(52, 39, 33, 0.045);
}

.line-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: rgba(18, 17, 15, 0.72);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9), transparent 30%),
    rgba(18, 17, 15, 0.055);
  font-size: 18px;
  font-weight: 800;
}

.item-copy {
  min-width: 0;
}

.item-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 18px;
  font-weight: 850;
}

.item-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
  font-weight: 660;
}

.value-pill {
  min-width: 48px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.72);
  font-size: 12px;
  font-weight: 840;
  white-space: nowrap;
}

.manager-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.manager-item {
  min-height: 92px;
  border-radius: 25px;
  padding: 16px 14px 16px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(52, 39, 33, 0.08);
  backdrop-filter: blur(20px);
}

.manager-copy {
  min-width: 0;
}

.manager-copy strong {
  display: block;
  font-size: 18px;
  line-height: 24px;
  font-weight: 890;
}

.manager-copy strong span {
  margin-left: 7px;
  color: rgba(18, 17, 15, 0.4);
  font-size: 12px;
  font-weight: 820;
}

.manager-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 17px;
  font-weight: 740;
}

.manager-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.manager-button-row {
  display: flex;
  gap: 7px;
}

.count-pill {
  min-height: 30px;
  min-width: 58px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.07);
  color: rgba(18, 17, 15, 0.72);
  font-size: 13px;
  font-weight: 860;
}

.manager-actions .sort-button {
  min-width: 58px;
  justify-content: center;
  background: rgba(18, 17, 15, 0.06);
  color: rgba(18, 17, 15, 0.72);
}

.delete-token {
  display: none;
}
