/* Posting a listing: pick what you are doing, say what the item is (typed, or read
   off a screenshot), give the details. One column, three numbered steps. */
main.post-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 0 56px; max-width: 760px; margin: 0 auto; }
.post-page h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.post-page .lead { margin: -10px 0 0; color: var(--muted); }
.need { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; border: 1px dashed color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: 14px; padding: 12px 16px; }
.need p { margin: 0; }
.need button { border: 0; border-radius: 999px; padding: 9px 20px; font-weight: 700; cursor: pointer; background: var(--accent); color: var(--accent-text); }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.step > h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.step > h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-size: 14px; font-weight: 800; flex: none; }
.step.off { opacity: .5; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .kinds { grid-template-columns: minmax(0, 1fr); } }
.kinds button { text-align: left; border: 2px solid var(--line); background: var(--bg); color: var(--text); border-radius: 14px; padding: 14px; cursor: pointer; display: grid; gap: 4px; }
.kinds button b { font-size: 17px; }
.kinds button small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.kinds button:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.kinds button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.ways { display: inline-flex; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 4px; justify-self: start; }
.ways button { border: 0; background: none; color: var(--muted); padding: 7px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.ways button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.post-page input[type="text"], .post-page select { width: 100%; padding: 12px 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; font-size: 16px; color: var(--text); }
.post-page input:focus, .post-page select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pick-box { position: relative; }
.opts { display: grid; gap: 2px; margin-top: 6px; }
.opt-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; border: 1px solid transparent; background: none; color: inherit; padding: 6px 8px; border-radius: 10px; cursor: pointer; font-size: 15px; width: 100%; }
.opt-item:hover, .opt-item:focus { background: var(--chip); }
.opt-item .pic, .chosen .pic { width: 40px; height: 40px; border-radius: 9px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.opt-item small { display: block; color: var(--muted); font-size: 12px; }
.opt-item .read { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drop { border: 2px dashed var(--line); border-radius: 14px; padding: 26px 16px; display: grid; gap: 6px; justify-items: center; text-align: center; cursor: pointer; color: var(--muted); }
.drop b { color: var(--text); font-size: 17px; }
.drop.over, .drop:hover { border-color: var(--accent); }
.drop input { display: none; }
.reading { display: grid; gap: 8px; }
.reading .barline { height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.reading .barline i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.found-head { font-size: 13px; color: var(--muted); margin: 0; }
.found-group { border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.found-group .said { font-size: 12px; color: var(--muted); padding: 4px 8px 0; }
.chosen { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 12px; padding: 8px 10px; }
.chosen small { display: block; color: var(--muted); font-size: 12px; }
.chosen button { border: 1px solid var(--line); background: none; color: var(--muted); border-radius: 8px; padding: 5px 10px; cursor: pointer; font-size: 13px; }
.fields2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .fields2 { grid-template-columns: minmax(0, 1fr); } }
.fields2 label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); align-content: start; }
.fields2 label.wide { grid-column: 1 / -1; }
.fields2 small { font-size: 12px; }
.fields2 small.warn { color: #b7791f; }
.post-err { color: #d12c4a; font-size: 14px; min-height: 1.2em; margin: 0; }
.muted { color: var(--muted); font-size: 14px; margin: 0; }

/* Back from signing in: the finished listing and the one button left. */
.step.ready { border: 2px solid var(--accent); }
.step.ready > h2 { font-size: 20px; }
.chosen .read { font-variant-numeric: tabular-nums; white-space: nowrap; }
.link-quiet { justify-self: center; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; text-decoration: underline; }
.link-quiet:hover { color: var(--text); }
.opts-lab { margin: 4px 8px 2px; font-size: 13px; }
