/* 현장 카메라 화면 모양 (시안 색 그대로 · Z Flip4 폭 기준) */
:root {
  --bg: #fbf7f0;
  --card: #fff;
  --ink: #1d1b18;
  --mu: #7a746b;
  --ac: #ff6f0f;
  --acs: #fff0e5;
  --g: #1f9d6b;
  --gs: #e6f6ef;
  --y: #b7791f;
  --ys: #fdf3dc;
  --r: #d64545;
  --rs: #fce8e8;
  --chip: #efe9df;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 Pretendard, 'Noto Sans KR', system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1,
h2 {
  font-family: 'Noto Sans KR', Pretendard, system-ui, sans-serif;
  margin: 0;
}
main {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
.pad {
  padding: 14px;
}
.mu {
  color: var(--mu);
}
.top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 8px;
}
.top h2 {
  font-size: 17px;
  flex: 1;
}
button {
  font: inherit;
}
.btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 13px;
  font: 600 14px Pretendard, system-ui, sans-serif;
  background: var(--chip);
  color: var(--ink);
  min-height: 42px;
}
.btn.ac {
  background: var(--ac);
  color: #fff;
}
.btn.bad {
  background: var(--rs);
  color: var(--r);
}
.btn:disabled {
  opacity: 0.45;
}
.btn.wide {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}
.chip {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  background: var(--chip);
  color: var(--ink);
  margin: 3px 2px;
}
.chip.on {
  background: var(--ac);
  color: #fff;
}
.store {
  margin: 0 14px;
  background: var(--acs);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store b {
  color: var(--ac);
}
.store .grow {
  flex: 1;
}
.store input,
.field input {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px;
  font: 600 15px Pretendard, system-ui, sans-serif;
  background: #fff;
  color: var(--ink);
}
.view {
  margin: 12px 14px;
  min-height: 230px;
  border-radius: 16px;
  background: #2a2622;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
}
.view img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  border-radius: 10px;
}
.view .slot {
  position: relative;
}
.view .slot span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: #fffc;
  border-radius: 8px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
}
.view .empty {
  grid-column: 1 / -1;
  align-self: center;
  text-align: center;
  color: #fffc;
  font-size: 14px;
}
.steps {
  display: flex;
  gap: 6px;
  padding: 0 14px;
  flex-wrap: wrap;
}
.steps span {
  background: #fff;
  border-radius: 10px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
}
.steps .done {
  background: var(--g);
  color: #fff;
}
.steps .now {
  background: var(--ac);
  color: #fff;
}
.shut {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 10px 0;
}
.shut .go {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px var(--ac);
  border: 0;
}
.price {
  margin: 0 14px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px #0000000d;
}
.price .r {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.price .r label {
  flex: 1;
  background: var(--bg);
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--mu);
}
.price .r input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  font: 700 17px Pretendard, system-ui, sans-serif;
  color: var(--ink);
  padding: 2px 0;
}
.lab {
  padding: 10px 14px 0;
  font-size: 13px;
  color: var(--mu);
}
.row {
  padding: 0 12px;
}
.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 14px 0;
  font-size: 14px;
}
.switch input {
  width: 22px;
  height: 22px;
  accent-color: var(--ac);
}
.q {
  margin: auto 14px 14px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--mu);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.note {
  margin: 10px 14px 0;
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 14px;
  font-weight: 600;
}
.note.g {
  background: var(--gs);
  color: var(--g);
}
.note.y {
  background: var(--ys);
  color: var(--y);
}
.note.r {
  background: var(--rs);
  color: var(--r);
}
.big {
  font: 900 28px Pretendard, system-ui, sans-serif;
  letter-spacing: 2px;
}
.center {
  margin: auto 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot {
  display: flex;
  gap: 8px;
  margin: 14px;
}
.foot .btn {
  flex: 1;
}
