/* キテミテ — design tokens (mirrors picot.html applyTheme output) */
:root {
  --pink-50:   #F7E8E8;
  --pink-100:  #EFD6D6;
  --pink-200:  #E4BFBF;
  --pink-300:  #D5A8A8;
  --pink-deep: #A66868;
  --cream-50:  #FAF6EE;
  --cream-100: #F1EAD9;
  --cream-200: #E2D5BC;
  --ink-90: #2E2622;
  --ink-80: #4A3D38;
  --ink-70: #6B5C56;
  --ink-60: #857771;
  --ink-50: #A39791;
  --line: rgba(70, 50, 45, 0.08);
  --font-display: "Zen Maru Gothic", system-ui;
  --font-body:    "Zen Maru Gothic", system-ui;
  --font-num:     "Outfit", system-ui;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  color: var(--ink-90);
  background: var(--cream-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#root { flex: 1; display: flex; flex-direction: column; min-width: 0; }
#root > main { flex: 1; min-width: 0; }
button, input, select, textarea { font-family: inherit; }
input, textarea, select { outline: none; }
a { color: inherit; text-decoration: none; }

/* layouts */
.is-mobile { display: block; }
.is-desktop { display: none !important; }
@media (min-width: 1024px) {
  .is-mobile { display: none !important; }
  .is-desktop { display: block !important; }
}

/* scrollbar */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(60, 40, 35, 0.18); border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

/* biz app-shell layout */
body.biz-layout {
  min-height: 100dvh;
}
body.biz-layout #root {
  min-height: 100dvh;
}
body.biz-layout #root > main {
  flex: 1;
}
body.biz-layout #root > footer {
  margin-top: auto;
  flex-shrink: 0;
}

/* biz bottom navigation */
.biz-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-around;
  padding-bottom: max(22px, env(safe-area-inset-bottom));
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
  background: rgba(252, 247, 244, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 0.5px solid var(--line);
  font-family: var(--font-body);
}
@media (min-width: 1024px) {
  .biz-bottom-nav { display: none !important; }
}

.field-error {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: #8f1d44;
  letter-spacing: 0.01em;
  margin: 0;
}

/* keyframes used by mobile drawer */
@keyframes mdFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes mdSlide { from { transform: translateX(100%) } to { transform: translateX(0) } }
