/*
 * CompanyOS の型（共通 CSS）v1 — 出典: two-companyforce の index.css / ui/*（2026-10-08 時点）
 * 使い方: <link rel="stylesheet" href="https://theme.two-ops.com/v1/companyos-theme.css">
 *   - トークン（--os-*）は :root に常に入る。既存のスタイルは壊さない。
 *   - 基本要素（body・見出し・リンク）は <body class="os-app"> を付けたときだけ効く。
 *   - 部品は os- 接頭辞のクラス（既存のクラス名と衝突しない）。
 * ダーク: html.dark のとき。OS 設定に追従したいアプリだけ html.os-system を付ける。既定はライト。
 */

:root {
  color-scheme: light;
  --os-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP Variable", "Noto Sans JP",
    "Yu Gothic UI", Meiryo, sans-serif;
  --os-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --os-bg: #ffffff;
  --os-fg: #1d1d1f;
  --os-card: #ffffff;
  --os-popover: #ffffff;
  --os-primary: #0071e3;
  --os-primary-fg: #ffffff;
  --os-secondary: #efeff1;
  --os-muted: #f6f6f7;
  --os-muted-fg: #6e6e73;
  --os-tertiary: #a1a1a6;
  --os-danger: #d70015;
  --os-warn: #b25000;
  --os-ok: #1a7f37;
  --os-info: #4b3fd6;
  --os-link: #0066cc;
  --os-selection: #e6f0fc;
  --os-border: rgb(0 0 0 / 0.1);
  --os-input: rgb(0 0 0 / 0.15);
  --os-ring: #0071e3;
  --os-rail: #f5f5f7;
  --os-rail-active: rgb(0 0 0 / 0.06);
  --os-dot-danger: #ff3b30;
  --os-dot-warn: #ff9500;
  --os-dot-info: #5856d6;
  --os-dot-ok: #34c759;
  --os-dot-muted: #aeaeb2;

  --os-radius: 8px; /* ボタン・入力 */
  --os-radius-card: 11.2px; /* カード・表の枠 */
  --os-radius-pill: 9999px;
  --os-shadow-float: 0 0 0 0.5px rgb(0 0 0 / 0.16), 0 8px 24px rgb(0 0 0 / 0.14);

  --os-text-2xs: 12px;
  --os-text-xs: 13px;
  --os-text-sm: 14px;
  --os-text-md: 17px;
  --os-text-lg: 20px;
  --os-text-xl: 26px;
  --os-text-2xl: 30px;

  --os-band-h: 52px;
  --os-rail-w: 240px;
  --os-rail-w-icon: 56px;
  --os-tabbar-h: 56px;
}

html.dark {
  color-scheme: dark;
  --os-bg: #1c1c1e;
  --os-fg: #f5f5f7;
  --os-card: #1c1c1e;
  --os-popover: #2a2a2c;
  --os-primary: #0a84ff;
  --os-secondary: #303033;
  --os-muted: #252528;
  --os-muted-fg: #a1a1a6;
  --os-tertiary: #6e6e73;
  --os-danger: #ff6961;
  --os-warn: #ffb340;
  --os-ok: #4cd964;
  --os-info: #a5a3ff;
  --os-link: #4aa3ff;
  --os-selection: #1a3150;
  --os-border: rgb(255 255 255 / 0.1);
  --os-input: rgb(255 255 255 / 0.16);
  --os-ring: #0a84ff;
  --os-rail: #242426;
  --os-rail-active: rgb(255 255 255 / 0.08);
  --os-dot-danger: #ff453a;
  --os-dot-warn: #ff9f0a;
  --os-dot-info: #7d7aff;
  --os-dot-ok: #30d158;
  --os-dot-muted: #636366;
}
@media (prefers-color-scheme: dark) {
  html.os-system:not(.light):not(.dark) {
    color-scheme: dark;
    --os-bg: #1c1c1e;
    --os-fg: #f5f5f7;
    --os-card: #1c1c1e;
    --os-popover: #2a2a2c;
    --os-primary: #0a84ff;
    --os-secondary: #303033;
    --os-muted: #252528;
    --os-muted-fg: #a1a1a6;
    --os-tertiary: #6e6e73;
    --os-danger: #ff6961;
    --os-warn: #ffb340;
    --os-ok: #4cd964;
    --os-info: #a5a3ff;
    --os-link: #4aa3ff;
    --os-selection: #1a3150;
    --os-border: rgb(255 255 255 / 0.1);
    --os-input: rgb(255 255 255 / 0.16);
    --os-ring: #0a84ff;
    --os-rail: #242426;
    --os-rail-active: rgb(255 255 255 / 0.08);
    --os-dot-danger: #ff453a;
    --os-dot-warn: #ff9f0a;
    --os-dot-info: #7d7aff;
    --os-dot-ok: #30d158;
    --os-dot-muted: #636366;
  }
}

/* ---------- 基本要素（<body class="os-app"> のときだけ） ---------- */
.os-app {
  margin: 0;
  background: var(--os-bg);
  color: var(--os-fg);
  font-family: var(--os-font);
  font-size: var(--os-text-sm);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
.os-app h1,
.os-h1 {
  margin: 0;
  font-size: var(--os-text-md);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.os-app h2,
.os-h2 {
  margin: 0;
  font-size: var(--os-text-md);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.os-app h3,
.os-h3 {
  margin: 0;
  font-size: var(--os-text-sm);
  font-weight: 600;
}
.os-app a {
  color: var(--os-link);
}
.os-app ::selection {
  background: color-mix(in srgb, var(--os-primary) 24%, transparent);
}
.os-muted {
  color: var(--os-muted-fg);
}
.os-small {
  font-size: var(--os-text-xs);
  line-height: 1.45;
}
.os-caption {
  font-size: var(--os-text-2xs);
  line-height: 1.35;
  color: var(--os-muted-fg);
}
.os-num {
  font-variant-numeric: tabular-nums;
}
.os-mono {
  font-family: var(--os-mono);
}

/* ---------- ボタン ---------- */
.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--os-radius);
  background: var(--os-primary);
  color: var(--os-primary-fg);
  font: 500 var(--os-text-sm) / 1 var(--os-font);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: background 0.15s, transform 0.05s;
}
.os-btn:hover {
  background: color-mix(in srgb, var(--os-primary) 80%, transparent);
}
.os-btn:active {
  transform: translateY(1px);
}
.os-btn:focus-visible,
.os-input:focus-visible,
.os-search input:focus-visible {
  outline: none;
  border-color: var(--os-ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--os-ring) 50%, transparent);
}
.os-btn:disabled,
.os-btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.os-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.os-btn-secondary {
  background: var(--os-secondary);
  color: var(--os-fg);
}
.os-btn-secondary:hover {
  background: color-mix(in oklch, var(--os-secondary), var(--os-fg) 5%);
}
.os-btn-outline {
  background: var(--os-bg);
  color: var(--os-fg);
  border-color: var(--os-border);
}
.os-btn-outline:hover {
  background: var(--os-muted);
}
.os-btn-ghost {
  background: transparent;
  color: var(--os-muted-fg);
}
.os-btn-ghost:hover {
  background: var(--os-muted);
  color: var(--os-fg);
}
.os-btn-danger {
  background: color-mix(in srgb, var(--os-danger) 10%, transparent);
  color: var(--os-danger);
}
.os-btn-danger:hover {
  background: color-mix(in srgb, var(--os-danger) 20%, transparent);
}
.os-btn-sm {
  height: 28px;
  font-size: 12.8px;
  padding: 0 10px;
}
.os-btn-icon {
  width: 32px;
  padding: 0;
}
.os-btn-icon svg {
  width: 18px;
  height: 18px;
}

/* ---------- バッジ・状態・ピル ---------- */
.os-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--os-radius-pill);
  background: var(--os-primary);
  color: var(--os-primary-fg);
  font: 500 var(--os-text-xs) / 1 var(--os-font);
  white-space: nowrap;
}
.os-badge-secondary {
  background: var(--os-secondary);
  color: var(--os-fg);
}
.os-badge-danger {
  background: color-mix(in srgb, var(--os-danger) 10%, transparent);
  color: var(--os-danger);
}
.os-badge-outline {
  background: transparent;
  color: var(--os-fg);
  box-shadow: inset 0 0 0 1px var(--os-border);
}
/* 状態は「色の点＋言葉」。<span class="os-status os-ok"><i></i>承認済み</span> */
.os-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--os-text-xs);
  white-space: nowrap;
  color: var(--os-muted-fg);
}
.os-status > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--os-dot-muted);
  flex: none;
}
.os-status.os-danger {
  color: var(--os-fg);
}
.os-status.os-danger > i {
  background: var(--os-dot-danger);
}
.os-status.os-warn {
  color: var(--os-fg);
}
.os-status.os-warn > i {
  background: var(--os-dot-warn);
}
.os-status.os-info {
  color: var(--os-fg);
}
.os-status.os-info > i {
  background: var(--os-dot-info);
}
.os-status.os-ok > i {
  background: var(--os-dot-ok);
}
/* 絞り込み。選択中は foreground 塗り */
.os-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.os-pills::-webkit-scrollbar {
  display: none;
}
.os-pill {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--os-radius-pill);
  background: var(--os-secondary);
  color: var(--os-fg);
  font: 400 var(--os-text-sm) / 1 var(--os-font);
  cursor: pointer;
}
.os-pill:hover {
  background: color-mix(in oklch, var(--os-secondary), var(--os-fg) 6%);
}
.os-pill[aria-pressed="true"],
.os-pill.is-on {
  background: var(--os-fg);
  color: var(--os-bg);
  font-weight: 500;
}
.os-pill .os-count {
  margin-left: 6px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

/* ---------- カード・表・空の状態 ---------- */
.os-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: var(--os-radius-card);
  background: var(--os-card);
  color: var(--os-fg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--os-fg) 10%, transparent);
  overflow: hidden;
}
.os-card-sm {
  gap: 12px;
  padding: 12px;
}
.os-card-title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.os-card-desc {
  font-size: var(--os-text-sm);
  color: var(--os-muted-fg);
}
.os-table-frame {
  overflow: hidden;
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius-card);
}
.os-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--os-text-sm);
}
.os-table th {
  height: 36px;
  padding: 0 8px;
  background: var(--os-muted);
  color: var(--os-muted-fg);
  font-size: var(--os-text-2xs);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.os-table td {
  padding: 8px;
  border-top: 1px solid var(--os-border);
  vertical-align: middle;
}
.os-table th:first-child,
.os-table td:first-child {
  padding-left: 14px;
}
.os-table th:last-child,
.os-table td:last-child {
  padding-right: 14px;
}
.os-table td.os-main {
  font-weight: 500;
}
.os-table tbody tr:hover {
  background: color-mix(in srgb, var(--os-muted) 60%, transparent);
}
.os-table tr[aria-selected="true"],
.os-table tr.is-selected {
  background: var(--os-selection);
}
.os-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.os-filterbar .os-end {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.os-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 16px;
  text-align: center;
}
.os-empty .os-empty-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--os-muted);
  color: var(--os-muted-fg);
}
.os-empty .os-empty-title {
  font-size: var(--os-text-sm);
  font-weight: 500;
}
.os-empty .os-empty-note {
  font-size: var(--os-text-xs);
  color: var(--os-muted-fg);
}

/* ---------- 入力・検索・マイク ---------- */
.os-input,
.os-select,
.os-textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--os-input);
  border-radius: var(--os-radius);
  background: transparent;
  color: var(--os-fg);
  font: 400 var(--os-text-sm) / 1.4 var(--os-font);
}
.os-textarea {
  height: auto;
  min-height: 64px;
  resize: vertical;
}
.os-input::placeholder,
.os-textarea::placeholder {
  color: var(--os-muted-fg);
}
.os-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: var(--os-radius);
  background: var(--os-secondary);
  color: var(--os-muted-fg);
}
.os-search svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.os-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--os-fg);
  font: 400 var(--os-text-sm) / 1 var(--os-font);
}
.os-search input::-webkit-search-cancel-button {
  display: none;
}
/* マイク（入力欄の右端）。聞いている間は赤い四角が点滅 */
.os-mic {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--os-radius);
  background: transparent;
  color: var(--os-muted-fg);
  cursor: pointer;
}
.os-mic svg {
  width: 18px;
  height: 18px;
}
.os-mic[aria-pressed="true"] {
  color: var(--os-danger);
}
.os-mic[aria-pressed="true"] svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  animation: os-pulse 1.2s ease-in-out infinite;
}
@keyframes os-pulse {
  50% {
    opacity: 0.4;
  }
}

/* ---------- タブ・メニュー・シート・トースト ---------- */
.os-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: var(--os-radius);
  background: var(--os-secondary);
}
.os-tab {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--os-fg);
  font: 400 var(--os-text-sm) / 1 var(--os-font);
  cursor: pointer;
}
.os-tab[aria-selected="true"] {
  background: var(--os-bg);
  font-weight: 500;
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.12);
}
.os-menu {
  min-width: 160px;
  padding: 4px;
  border-radius: 10px;
  background: var(--os-popover);
  box-shadow: var(--os-shadow-float);
}
.os-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.os-menu-item:hover {
  background: var(--os-primary);
  color: var(--os-primary-fg);
}
.os-sheet {
  background: var(--os-popover);
  border-left: 1px solid var(--os-border);
  box-shadow: var(--os-shadow-float);
}
.os-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--os-popover);
  color: var(--os-fg);
  font-size: var(--os-text-sm);
  box-shadow: var(--os-shadow-float);
  z-index: 1000;
  animation: os-rise 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes os-rise {
  from {
    opacity: 0;
    transform: translate(-50%, 3px);
  }
}
.os-rise {
  animation: os-rise-plain 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes os-rise-plain {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
}

/* ---------- 画面の骨（os-shell.js が使う） ---------- */
.os-band {
  position: sticky;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  height: calc(var(--os-band-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  background: var(--os-bg);
  color: var(--os-fg);
  border-bottom: 1px solid var(--os-border);
  font-family: var(--os-font);
}
.os-band a {
  text-decoration: none;
}
.os-band .os-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--os-radius);
  color: var(--os-muted-fg);
  font-size: var(--os-text-xs);
  white-space: nowrap;
}
.os-band .os-back:hover {
  background: var(--os-muted);
  color: var(--os-fg);
}
.os-band .os-titles {
  min-width: 0;
  max-width: 45%;
  flex: 0 0 auto;
  padding: 0 6px;
}
.os-band .os-title {
  font-size: var(--os-text-md);
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.os-band .os-subtitle {
  font-size: var(--os-text-2xs);
  line-height: 1.35;
  color: var(--os-muted-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.os-band .os-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.os-band .os-tools > * {
  flex: none;
}
/* アプリ固有のリンク（data-extra）は幅が足りなければ … で縮む（題に重ならない） */
.os-band .os-tools > a.os-btn:not(:last-child) {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 名前（email）だけが縮んで … になる。題・リンク・ゲージは縮めない */
.os-band .os-tools > .os-caption {
  flex: 0 1 auto;
  min-width: 0;
}
.os-gauge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--os-radius);
  background: transparent;
  color: var(--os-muted-fg);
  font: 400 var(--os-text-xs) / 1 var(--os-font);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.os-gauge:hover {
  background: var(--os-muted);
}
.os-gauge .os-bar {
  position: relative;
  width: 28px;
  height: 6px;
  border-radius: var(--os-radius-pill);
  background: color-mix(in srgb, var(--os-fg) 15%, transparent);
  overflow: hidden;
}
.os-gauge .os-bar > i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--os-radius-pill);
  background: var(--os-primary);
}
.os-gauge.os-low .os-bar > i {
  background: var(--os-warn);
}
.os-gauge.os-crit .os-bar > i {
  background: var(--os-danger);
}
.os-gauge-pop {
  position: absolute;
  top: calc(var(--os-band-h) - 6px);
  right: 12px;
  width: min(24rem, calc(100vw - 2rem));
  box-sizing: border-box;
  padding: 12px;
  border-radius: 10px;
  background: var(--os-popover);
  color: var(--os-fg);
  box-shadow: var(--os-shadow-float);
  font-size: var(--os-text-xs);
  z-index: 60;
}
.os-gauge-pop table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.os-gauge-pop th,
.os-gauge-pop td {
  padding: 4px;
  text-align: right;
  font-weight: 400;
  border-top: 1px solid var(--os-border);
}
.os-gauge-pop th:first-child {
  text-align: left;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.os-gauge-pop thead th {
  border-top: 0;
  color: var(--os-muted-fg);
}

/* 左レール（段 B）。既定は 240px、狭い画面では印だけ（56px） */
.os-has-rail {
  padding-left: var(--os-rail-w);
}
.os-rail {
  position: fixed;
  top: var(--os-band-h);
  left: 0;
  bottom: 0;
  z-index: 40;
  box-sizing: border-box;
  width: var(--os-rail-w);
  padding: 10px;
  overflow-y: auto;
  background: var(--os-rail);
  border-right: 1px solid var(--os-border);
  font-family: var(--os-font);
}
.os-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 10px;
  margin-bottom: 2px;
  border-radius: var(--os-radius);
  color: var(--os-fg);
  font-size: var(--os-text-sm);
  text-decoration: none;
  white-space: nowrap;
}
.os-rail a svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--os-primary);
}
.os-rail a:hover,
.os-rail a[aria-current="page"] {
  background: var(--os-rail-active);
}
@media (max-width: 800px) {
  .os-has-rail {
    padding-left: var(--os-rail-w-icon);
  }
  .os-rail {
    width: var(--os-rail-w-icon);
    padding: 8px;
  }
  .os-rail a {
    justify-content: center;
    padding: 0;
  }
  .os-rail a span {
    display: none;
  }
}
@media (max-width: 520px) {
  /* 幅 390 前後: 左レールは畳んで（印だけ）。下タブの形のときはレールを出さない */
  .os-band .os-gauge .os-today,
  .os-band .os-fb-text {
    display: none;
  }
}

/* 下タブ（スマホ主体のアプリの骨） */
.os-has-tabs {
  padding-bottom: calc(var(--os-tabbar-h) + env(safe-area-inset-bottom));
}
.os-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  box-sizing: border-box;
  height: calc(var(--os-tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--os-bg);
  border-top: 1px solid var(--os-border);
  font-family: var(--os-font);
}
.os-tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--os-muted-fg);
  font-size: 11px;
  text-decoration: none;
}
.os-tabbar a svg {
  width: 22px;
  height: 22px;
}
.os-tabbar a[aria-current="page"] {
  color: var(--os-primary);
}

/* 右の詳細（幅があれば右に並べる。狭いときは下から出るシート） */
.os-inspector {
  box-sizing: border-box;
  border-left: 1px solid var(--os-border);
  background: var(--os-bg);
  padding: 16px;
}

/* 指で触る端末: 押す部品は 44px 以上 */
@media (pointer: coarse) {
  .os-btn,
  .os-input,
  .os-select,
  .os-pill,
  .os-tab,
  .os-search,
  .os-gauge,
  .os-band .os-back {
    min-height: 44px;
  }
  .os-btn-icon,
  .os-mic {
    min-width: 44px;
    min-height: 44px;
  }
  .os-input,
  .os-select,
  .os-textarea,
  .os-search input {
    font-size: 16px; /* iOS の自動拡大を避ける */
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
