:root { --ink: #1d1d1f; --muted: #6b6b70; --line: #e3e3e6; --bg: #fafaf8; --accent: #c2410c; --ok: #15803d; }
@media (prefers-color-scheme: dark) { :root { --ink: #f2f2f3; --muted: #a1a1a8; --line: #333338; --bg: #141416; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn sets display:flex, which would otherwise beat the hidden attribute */
body { margin: 0; font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px calc(32px + env(safe-area-inset-bottom)); }
.brand { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
h1 { margin: 4px 0 2px; font-size: 26px; }
.job { margin: 0; font-weight: 600; }
.who { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.jobs { width: 100%; min-height: 44px; margin: -8px 0 16px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); font: inherit; }
.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.wide { width: 100%; margin-top: 16px; }
.btn:disabled { opacity: .5; }
.list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.item img, .item .ph { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.item .name { font-size: 13px; color: var(--muted); word-break: break-all; margin-bottom: 6px; }
.item textarea { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; background: transparent; color: var(--ink); resize: vertical; }
.item .x { border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.item .state { font-size: 13px; color: var(--muted); }
.status { min-height: 1.4em; color: var(--muted); font-size: 14px; }
.notice { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.notice.ok strong { color: var(--ok); }
.stack { display: grid; gap: 10px; }
.stack label { font-weight: 600; font-size: 14px; }
.stack input { min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 17px; background: transparent; color: var(--ink); }
.link { border: 0; background: none; color: var(--muted); text-decoration: underline; font: inherit; font-size: 14px; padding: 6px 0; cursor: pointer; justify-self: start; }
