/* ==========================================================================
   Staff app — housekeeping, cook, security and the property manager.
   Built on flypg.css tokens; nothing here repeats what the design system already has.
   ========================================================================== */

/* ---------- shared small bits ---------- */
.staff-app .st-hint { font-size: 11px; }
.staff-app .st-struck { color: var(--ink-2); text-decoration: line-through; }
.staff-app .st-callout-sub { font-size: 11px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.staff-app .list .row-main > span, .staff-app .list .row-main > a { display: block; }
.cbox-lg { display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.cbox-lg.on { color: var(--card); }
.staff-app .st-date { font-size: 11px; color: var(--ink-2); }

/* ---------- sign in ---------- */
.staff-signin .st-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--olive); color: var(--card);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.staff-signin h1 { font-size: 24px; letter-spacing: -.8px; margin-top: 20px; line-height: 1.2; }
.staff-signin .lede { font-size: 12.5px; color: var(--sage-2); margin-top: 8px; line-height: 1.5; }
.staff-signin .st-signin-form { display: block; }
.staff-signin .st-phone { border-radius: 12px; padding: 14px; margin-top: 9px; }
.staff-signin .st-phone-text { flex: 1; font-size: 16px; font-weight: 600; letter-spacing: .6px; color: var(--card); }
.staff-signin .st-phone-text.is-empty { color: #7A7F68; }
.staff-signin .st-phone input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--card); font-size: 16px; font-weight: 600; }
.staff-signin .st-keypad { margin-top: 18px; }
.staff-signin .key { height: 50px; }
.staff-signin .st-otp-btn { display: block; width: 100%; border: 0; border-radius: 12px; padding: 15px 0; text-align: center;
  font-size: 14.5px; font-weight: 700; margin-top: 16px; background: var(--card); color: var(--olive-deep); cursor: pointer; }
.staff-signin .st-otp-btn:disabled, .staff-signin .st-otp-btn.is-disabled { background: var(--olive); color: var(--sage-2); border: 1px solid var(--olive-line); cursor: not-allowed; }
.staff-signin .st-error { background: rgba(180, 86, 47, .18); border: 1px solid var(--terra); color: #F3C9B6; border-radius: 11px; padding: 10px 12px; font-size: 12px; line-height: 1.45; }
.staff-signin .st-foot { color: var(--sage-2); }
.staff-signin .st-change { font-size: 12.5px; font-weight: 600; color: var(--sage-2); }
.staff-signin .st-otp-h { margin-top: 18px; }
.staff-signin .st-otp-boxes { margin-top: 22px; }
.staff-signin .st-otp-boxes .pin-dot { height: 56px; border-radius: 12px; }
.staff-signin .st-resend { margin-top: 16px; text-align: center; }
.staff-signin .st-resend-btn { background: none; border: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--sage-1); cursor: pointer; }
.staff-signin .st-resend-btn:disabled { color: var(--sage-1); cursor: default; }
.staff-signin .demo-note { background: rgba(246, 238, 215, .12); border-color: var(--amber-mid); color: var(--amber-wash); }

/* ---------- header ---------- */
.staff-app .st-av { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; overflow: hidden; }
.staff-app .st-av img { width: 100%; height: 100%; object-fit: cover; }
.staff-app .st-av-hk { background: var(--amber-wash); border: 1px solid var(--amber-line); color: var(--amber-ink); }
.staff-app .st-av-cook { background: var(--terra-wash); border: 1px solid var(--terra-line); color: var(--terra-ink); }
.staff-app .st-av-mgr { background: var(--sage-tile); border: 1px solid var(--sage-line); color: var(--olive); }
.staff-app .st-name { font-size: 14px; font-weight: 600; letter-spacing: -.2px; }
.staff-app .st-bell { background: none; cursor: pointer; }
.staff-app .st-msg { font-size: 12px; line-height: 1.45; }

/* ---------- olive banner card ---------- */
.staff-app .st-banner { display: block; padding: 15px; border-radius: 15px; }
.staff-app .st-dot { width: 7px; height: 7px; border-radius: 4px; background: var(--terra-soft); flex-shrink: 0; }
.staff-app .st-banner-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; color: var(--sage-2); }
.staff-app .st-banner-title { font-size: 16px; font-weight: 700; letter-spacing: -.3px; margin-top: 9px; }
.staff-app .st-banner-sub { font-size: 11.5px; color: var(--sage-3); margin-top: 4px; line-height: 1.45; }
.staff-app .st-banner-foot { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--olive-line); }
.staff-app .st-banner-due { font-size: 11.5px; font-weight: 600; color: var(--terra-soft); }
.staff-app .st-banner-go { font-size: 12px; font-weight: 700; }

/* ---------- today's rooms ---------- */
.staff-app .st-room-form { display: block; }
.staff-app .st-room { width: 100%; text-align: center; font-size: 12px; font-weight: 700; border-radius: 9px; padding: 11px 0;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink); cursor: pointer; font-family: inherit; }
.staff-app .st-room.is-done { background: var(--green); border-color: var(--green); color: var(--card); }

/* ---------- the week ---------- */
.staff-app .st-week { display: flex; gap: 7px; }
.staff-app .st-week-day { flex: 1; }
.staff-app .st-week-block { height: 30px; border-radius: 7px; background: var(--line-3); }
.staff-app .st-week-label { font-size: 9.5px; color: var(--ink-2); text-align: center; margin-top: 5px; }
.staff-app .wk-full { background: var(--green); }
.staff-app .wk-part { background: var(--amber-mid); }
.staff-app .wk-now { background: var(--olive); }
.staff-app .wk-none { background: var(--line-3); }

/* ---------- the task ---------- */
.staff-app .st-code { font-size: 11px; }
.staff-app .st-task-title { font-size: 19px; font-weight: 700; letter-spacing: -.5px; margin-top: 11px; line-height: 1.25; }
.staff-app .st-quote { font-size: 12.5px; line-height: 1.5; background: var(--cream); border: 1px solid var(--line-3); border-radius: 11px; padding: 11px 12px; }
.staff-app .st-point-form { display: block; }
.staff-app .st-point { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; text-align: left; }
.staff-app .st-point[disabled] { cursor: default; }
.staff-app .st-point-n { font-size: 12.5px; font-weight: 700; flex-shrink: 0; }
.staff-app .st-point-t { font-size: 12.5px; font-weight: 500; flex: 1; line-height: 1.45; }
.staff-app .st-proof-hint { font-size: 10.5px; font-weight: 700; }
.staff-app .st-shot { position: relative; border-radius: 12px; padding: 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: var(--cream); border: 1px dashed var(--sage-line); min-height: 104px; justify-content: center; overflow: hidden; }
.staff-app .st-shot.is-filled { background: var(--olive); border: 0; padding: 0; }
.staff-app .st-shot-link { display: block; width: 100%; height: 100%; position: relative; }
.staff-app .st-shot-link img { width: 100%; height: 104px; object-fit: cover; }
.staff-app .st-shot-label { font-size: 12px; font-weight: 700; color: var(--ink); }
.staff-app .st-shot-sub { font-size: 10px; color: var(--ink-2); }
.staff-app .st-shot.is-filled .st-shot-label { position: absolute; left: 10px; bottom: 21px; color: var(--card); }
.staff-app .st-shot.is-filled .st-shot-sub { position: absolute; left: 10px; bottom: 7px; color: var(--sage-2); }
.staff-app .st-shot-form { position: absolute; inset: 0; }
.staff-app .st-shot-pick { position: absolute; inset: 0; cursor: pointer; }
.staff-app .st-shot-pick input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* ---------- photo proof list ---------- */
.staff-app .st-thumb { flex: 1; position: relative; text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: .4px;
  border-radius: 9px; padding: 16px 0; background: var(--cream); border: 1px dashed var(--sage-line); color: var(--ink-2); overflow: hidden; }
.staff-app .st-thumb.is-filled { padding: 0; border: 0; background: var(--olive); display: block; }
.staff-app .st-thumb.is-filled img { width: 100%; height: 52px; object-fit: cover; }
.staff-app .st-thumb.is-filled span { position: absolute; left: 0; right: 0; bottom: 4px; color: var(--sage-2); }
.staff-app .st-fin-note { font-size: 11px; line-height: 1.45; margin-top: 9px; }

/* ---------- me ---------- */
.staff-app .st-attend-state { font-size: 14.5px; font-weight: 700; letter-spacing: -.3px; }
.staff-app .st-attend-form { flex: 1; min-width: 104px; }

/* ---------- cook ---------- */
.staff-app .st-meal { border-radius: 13px; padding: 12px 13px; background: var(--card); border: 1px solid var(--line); }
.staff-app .st-meal.is-now { background: var(--olive); border-color: var(--olive); }
.staff-app .st-meal-label { font-size: 9.5px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-2); }
.staff-app .st-meal-count { font-size: 19px; font-weight: 700; letter-spacing: -.6px; margin-top: 4px; }
.staff-app .st-meal-sub { font-size: 9.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.3; }
.staff-app .st-meal.is-now .st-meal-label { color: var(--sage-2); }
.staff-app .st-meal.is-now .st-meal-count { color: var(--card); }
.staff-app .st-meal.is-now .st-meal-sub { color: var(--sage-3); }
.staff-app .st-menu-text { font-size: 14px; font-weight: 600; margin-top: 9px; line-height: 1.45; }
.staff-app .st-menu-sub { font-size: 11.5px; color: var(--ink-2); margin-top: 7px; line-height: 1.5; }
.staff-app .st-menu-more { font-size: 10.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.45; }
.staff-app .st-prep { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-3); }

/* ---------- ration ---------- */
.staff-app .st-item { padding: 12px 14px; border-bottom: 1px solid var(--line-3); }
.staff-app .st-qty { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.staff-app .st-qty-input { width: 54px; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line-3); border-radius: 8px; padding: 6px 7px; }
.staff-app .st-qty-input::-webkit-outer-spin-button, .staff-app .st-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.staff-app .st-qty-unit { font-size: 10.5px; color: var(--ink-2); min-width: 34px; }
.staff-app .st-qty-fixed { font-size: 12.5px; font-weight: 700; text-align: right; flex-shrink: 0; }
.staff-app .st-add { width: 100%; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--line-3); }
.staff-app .st-add-plus { width: 22px; height: 22px; border-radius: 7px; border: 1px dashed var(--sage-line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.staff-app .st-total { padding: 14px; gap: 12px; align-items: flex-start; }
.staff-app .st-total-amt { font-size: 19px; font-weight: 700; letter-spacing: -.6px; margin-top: 3px; }
.staff-app .st-total-note { font-size: 11px; color: var(--ink-2); text-align: right; line-height: 1.45; max-width: 150px; }
.staff-app .st-locked { padding: 13px; }
.staff-app .st-link-card { display: flex; align-items: center; gap: 11px; padding: 13px; color: inherit; }
.staff-app .st-link-card:hover { color: inherit; border-color: var(--olive); }

/* ---------- purchase ---------- */
.staff-app .st-prow { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line-3); }
.staff-app .st-prow-head { background: var(--warm); padding: 10px 14px; }
.staff-app .st-came { width: 100%; text-align: right; font-size: 12.5px; font-weight: 700; background: var(--cream); border: 1px solid var(--line-3); border-radius: 8px; padding: 5px 6px; }
.staff-app .st-came::-webkit-outer-spin-button, .staff-app .st-came::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.staff-app .st-spent { padding: 13px 14px; }
.staff-app .st-diff { font-size: 13px; margin-top: 2px; }
.staff-app .st-bill { flex: 1; min-width: 92px; border-radius: 11px; padding: 18px 0; text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: .4px;
  background: var(--cream); border: 1px dashed var(--sage-line); color: var(--ink-2); cursor: default; }
.staff-app .st-bill.is-filled { background: var(--olive); border: 0; color: var(--sage-2); }
.staff-app .st-bill.is-filled:hover { color: var(--card); }
.staff-app .st-bill-add { cursor: pointer; font-family: inherit; }
.staff-app .st-confirm { border-radius: 15px; padding: 15px; margin-top: 12px; background: var(--card); border: 1px solid var(--line); }
.staff-app .st-confirm.is-done { background: var(--sage-panel); border-color: #C7DBB4; }

/* ---------- manager: assign queue & review ---------- */
.staff-app .st-unassigned { padding: 13px 14px; }
.staff-app .st-person-form { display: inline-block; }
.staff-app .st-person { font-size: 11px; font-weight: 700; border-radius: 9px; padding: 8px 11px; background: var(--olive); color: var(--card);
  border: 1px solid var(--olive); cursor: pointer; font-family: inherit; display: inline-block; }
.staff-app .st-person:hover { background: var(--olive-deep); }
.staff-app .st-person.is-soft { background: var(--cream); border-color: var(--line); color: var(--ink-2); }
.staff-app .st-person.is-off { background: var(--cream); border: 1px solid var(--line); color: var(--ink-2); cursor: not-allowed; }
.staff-app .st-review-form { flex: 1; min-width: 104px; }

/* ---------- manager: assign work ---------- */
.staff-app .st-sent { background: var(--sage-panel); border: 1px solid #C7DBB4; border-radius: 14px; padding: 13px; color: var(--olive-ink); }
.staff-app .st-point-row { display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: var(--cream); border: 1px solid var(--line-3); border-radius: 10px; margin-bottom: 7px; }
.staff-app .st-point-num { font-size: 13px; font-weight: 700; color: var(--olive); flex-shrink: 0; }
.staff-app .st-point-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.staff-app .st-point-input::placeholder { color: var(--ink-2); font-weight: 400; }
.staff-app .st-picked { font-size: 11px; font-weight: 700; text-align: right; max-width: 190px; color: var(--olive); }
.staff-app .st-room-pick { position: relative; display: block; text-align: center; font-size: 12px; font-weight: 700; border-radius: 9px; padding: 11px 0;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.staff-app .st-room-pick.on { background: var(--olive); border-color: var(--olive); color: var(--card); }
.staff-app .st-room-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.staff-app .st-who { flex: 1; min-width: 92px; border-radius: 11px; padding: 11px 9px; text-align: center; background: var(--cream); border: 1px solid var(--line); cursor: pointer; }
.staff-app .st-who.on { background: var(--olive); border-color: var(--olive); }
.staff-app .st-who.is-off { opacity: .6; cursor: not-allowed; }
.staff-app .st-who input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.staff-app .st-who-name { display: block; font-size: 12.5px; font-weight: 700; }
.staff-app .st-who-load { display: block; font-size: 9.5px; color: var(--ink-2); margin-top: 2px; }
.staff-app .st-who.on .st-who-name { color: var(--card); }
.staff-app .st-who.on .st-who-load { color: var(--sage-2); }
.staff-app .chip-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.staff-app .st-round { font-size: 12px; font-weight: 700; border-radius: 8px; padding: 7px 11px; color: var(--card); }
.staff-app .st-round-done { background: var(--green); }
.staff-app .st-round-run { background: var(--amber-mid); color: #4A3608; }
.staff-app .st-round-open { background: var(--terra); }
.staff-app .st-key { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.staff-app .st-legend { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line-3); font-size: 11px; color: var(--ink-2); }
