/* ODD JOBS (2026-11-23): the phone app in js/oddjobs.js. Light first, html.dark below. Phone width first (390 px). Classes ojb- only. */
.ojb { text-align: left; }
.ojb-hero { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #fef3c7, #ffedd5); color: #3b2306; }
.ojb-ic { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .75); font-size: 30px; }
.ojb-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ojb-tx small { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.ojb-tx b { font-size: 18px; line-height: 1.2; }
.ojb-tx span { font-size: 12.5px; line-height: 1.4; opacity: .88; }
.ojb-info { display: grid; gap: 6px; margin: 10px 0 4px; }
.ojb-info > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(23, 38, 30, .05); font-size: 13px; }
.ojb-info span { color: var(--ink-soft); }
.ojb-info b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ojb-info .ojb-fest { background: #ffedd5; color: #7c2d12; }
.ojb-h { margin: 14px 0 6px; font-size: 13px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.ojb-list { display: grid; gap: 8px; }
.ojb-job { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 12px; border: 0; border-radius: 16px; background: rgba(23, 38, 30, .05); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.ojb-job.locked { opacity: .55; }
.ojb-je { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #fff; font-size: 24px; }
.ojb-jt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ojb-jt b { font-size: 15px; }
.ojb-jt small { color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.ojb-go { flex: 0 0 auto; font-size: 22px; color: var(--ink-soft); }
.ojb-ws { display: grid; gap: 6px; }
.ojb-w { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: rgba(16, 185, 129, .1); }
.ojb-w > span { font-size: 24px; }
.ojb-w > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ojb-w b { font-size: 14px; }
.ojb-w small { color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.ojb-w em { flex: 0 0 auto; font-style: normal; font-weight: 800; color: #047857; white-space: nowrap; }
.ojb-w.big { margin-bottom: 8px; }
.ojb-act { display: grid; gap: 8px; margin: 12px 0 6px; }
.ojb-act .btn { width: 100%; }
.ojb-why { text-align: center; color: #b45309; }
.ojb-price { display: grid; grid-template-columns: 54px 1fr 54px; gap: 10px; align-items: center; }
.ojb-price .btn { min-height: 48px; padding: 0; font-size: 24px; }
.ojb-price > div { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.ojb-price b { font-size: 22px; }
.ojb-price small { color: var(--ink-soft); font-size: 12px; }
.ojb-pw { text-align: center; margin: 6px 0 0; }
.ojb-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ojb-tier { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 10px 6px; border: 1px solid var(--line); border-radius: 14px; background: rgba(23, 38, 30, .03); color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.ojb-tier span { font-size: 26px; }
.ojb-tier b { font-size: 13px; line-height: 1.2; }
.ojb-tier small { color: var(--ink-soft); font-size: 11px; line-height: 1.3; }
/* the shift */
.ojb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 2px 0 10px; font-size: 14px; }
.ojb-top span { color: var(--ink-soft); font-size: 12px; text-align: right; }
.ojb-cust { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.ojb-face { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(23, 38, 30, .06); font-size: 36px; }
.ojb-bub { position: relative; flex: 1 1 auto; display: flex; justify-content: center; gap: 8px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.ojb-bub i { font-style: normal; font-size: 30px; line-height: 1; transition: opacity .15s, transform .15s; }
.ojb-bub i.done { opacity: .25; transform: scale(.85); }
.ojb-pat { height: 8px; margin: 0 0 8px; border-radius: 99px; background: rgba(23, 38, 30, .1); overflow: hidden; }
.ojb-pat i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ef4444, #f59e0b 40%, #10b981); animation: ojb-drain linear forwards; }
.ojb-pat.off { opacity: .35; }
@keyframes ojb-drain { to { width: 0; } }
.ojb-msg { min-height: 36px; display: grid; place-items: center; margin: 0 0 8px; text-align: center; font-size: 14.5px; font-weight: 700; }
.ojb-pads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.ojb-pad { min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 20px; background: linear-gradient(145deg, #fb923c, #ea580c); color: #fff; font: inherit; cursor: pointer; touch-action: manipulation; }
.ojb-pad:active { transform: scale(.96); }
.ojb-pad[disabled] { opacity: .5; }
.ojb-pad span { font-size: 36px; line-height: 1; }
.ojb-pad small { font-size: 13px; font-weight: 800; }
.ojb-res { text-align: center; margin: 4px 0 10px; }
.ojb-big { font-size: 52px; }
.ojb-res h3 { margin: 4px 0; }
.ojb-res p { margin: 0; color: var(--ink-soft); }
.ojb-nums { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0 0 10px; padding: 10px 0; border-radius: 16px; background: rgba(23, 38, 30, .05); }
.ojb-nums > div { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 0 4px; }
.ojb-nums > div + div { border-left: 1px solid var(--line); }
.ojb-nums b { font-size: 17px; white-space: nowrap; }
.ojb-nums span { color: var(--ink-soft); font-size: 11.5px; }
.ojb-up { margin: 0 0 8px; padding: 10px 12px; border-radius: 14px; background: #fef3c7; color: #78350f; font-size: 13.5px; }

/* ---------- dark mode ---------- */
html.dark .ojb-hero { background: linear-gradient(135deg, #4a3210, #5c2a0c); color: #ffedd5; }
html.dark .ojb-ic, html.dark .ojb-je { background: rgba(255, 255, 255, .14); }
html.dark .ojb-info > div, html.dark .ojb-job, html.dark .ojb-nums, html.dark .ojb-tier, html.dark .ojb-face { background: rgba(255, 255, 255, .07); }
html.dark .ojb-info .ojb-fest { background: rgba(251, 146, 60, .2); color: #fed7aa; }
html.dark .ojb-w { background: rgba(16, 185, 129, .16); }
html.dark .ojb-w em { color: #6ee7b7; }
html.dark .ojb-bub { background: #1f2a24; box-shadow: none; }
html.dark .ojb-pat { background: rgba(255, 255, 255, .14); }
html.dark .ojb-up { background: rgba(245, 158, 11, .2); color: #fde68a; }
html.dark .ojb-why { color: #fbbf24; }
