/* 「現場の道具」簡易版＝ダーク躯体は持つ/押す場所・白い面は読む場所（B-7 案B踏襲） */
* { box-sizing: border-box; margin: 0; }
body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #1E252B; color: #E9EDF1; min-height: 100vh;
}
header {
  background: #262D34; padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  border-bottom: 2px solid #E8730E;
}
header h1 { font-size: 16px; font-weight: 700; }
header .spacer { flex: 1; }
main { max-width: 560px; margin: 24px auto; padding: 0 16px; display: grid; gap: 16px; }

.card { background: #FFFFFF; color: #1E252B; border-radius: 16px; padding: 20px; }
.card h2 { font-size: 15px; margin-bottom: 12px; color: #B35F00; }
.card p  { font-size: 13px; line-height: 1.7; }
.muted { color: #5A6672; font-size: 12px; }

label { display: block; font-size: 12px; color: #5A6672; margin: 10px 0 4px; }
input {
  width: 100%; padding: 12px; font-size: 15px; border: 1px solid #C6CDD4;
  border-radius: 10px; background: #F6F8FA;
}
input:focus { outline: 2px solid #E8730E; border-color: transparent; }

button {
  width: 100%; margin-top: 14px; padding: 13px; font-size: 15px; font-weight: 700;
  color: #fff; background: #E8730E; border: 0; border-radius: 10px; cursor: pointer;
}
button:disabled { background: #C6CDD4; cursor: default; }
button.ghost { background: #262D34; }
button.danger { background: #B3261E; }
button.inline { width: auto; margin: 0; padding: 8px 14px; font-size: 12px; }

.row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E4E8EC; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.chip.ok   { background: #E7F2E9; color: #1E6B33; }
.chip.bad  { background: #F6E7E6; color: #8C1D18; }

.msg { padding: 12px; border-radius: 10px; font-size: 13px; display: none; }
.msg.error { display: block; background: #F6E7E6; color: #8C1D18; }
.msg.ok    { display: block; background: #E7F2E9; color: #1E6B33; }

.linkbox {
  margin-top: 10px; padding: 10px; background: #F6F8FA; border: 1px dashed #C6CDD4;
  border-radius: 10px; font-size: 12px; word-break: break-all;
}
a { color: #FFC97A; } .card a { color: #B35F00; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button { margin: 0; padding: 9px; font-size: 13px; background: #E4E8EC; color: #5A6672; }
.tabs button.active { background: #262D34; color: #fff; }
