* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
button {
  touch-action: manipulation;
}
body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg3);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}
.app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(15, 17, 56, 0.13);
}

/* HEADER */
.header {
  background: var(--navy);
  padding: 14px 18px 0;
  position: relative;
  overflow: hidden;
}
.header::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 200, 66, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
}
.logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold2), var(--gold3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 18px rgba(245, 200, 66, 0.3);
}
.header-text h1 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff4ee;
  letter-spacing: 0.5px;
}
.header-text p {
  font-size: 0.68rem;
  color: rgba(255, 244, 238, 0.5);
  margin-top: 1px;
}
.warehouse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 0 12px;
}
.wb-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 244, 238, 0.7);
  letter-spacing: 0.04em;
}
.wb-select {
  min-width: 158px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1.5px solid rgba(245, 200, 66, 0.4);
  background: var(--navy3);
  color: #fff4ee;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.wb-select:focus {
  outline: none;
  border-color: var(--gold3);
}
.tabs {
  display: flex;
}
.tab-btn {
  flex: 1;
  padding: 8px 4px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: rgba(255, 244, 238, 0.4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab-btn.active {
  color: var(--gold3);
  border-bottom-color: var(--gold3);
}
.tab-icon {
  font-size: 0.85rem;
  margin-right: 3px;
}

/* PROGRESS */
.progress-wrap {
  padding: 11px 18px 7px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text3);
  margin-bottom: 5px;
  font-weight: 600;
}
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold2), var(--gold3));
  border-radius: 99px;
  transition: width 0.4s ease;
}

