/*
 * BidRights.
 *
 * Moved out of base.html, which had grown past 400 lines and made you scroll
 * through styling to find markup. Now cached by the browser and fingerprinted
 * by WhiteNoise, so a change gets a new URL instead of sitting in someone's
 * cache for a week.
 *
 * The accent colour is still set per page. base.html writes it into
 * --accent on <body>, so a stylesheet can stay static while pages differ.
 */

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --accent: #2563eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a { color: var(--accent); }
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 26px; width: auto; }
.navlinks { display: flex; gap: 16px; font-size: 14px; }
.navlinks a { color: var(--muted); text-decoration: none; }
.navlinks a:hover { color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.role-chip {
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
  background: var(--accent); color: #fff;
}
.wrap { max-width: 1000px; margin: 0 auto; padding: 28px 24px 60px; }
.wrap-narrow { max-width: 420px; margin: 0 auto; padding: 56px 24px; }

h1 { font-size: 26px; margin: 0 0 4px; letter-spacing: -0.02em; }
.subtitle { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.prose { font-size: 15px; }
.dim { color: var(--muted); }
.overdue { color: #dc2626; font-weight: 600; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; margin-bottom: 16px;
}
.card h2 { font-size: 15px; margin: 0 0 10px; }
.card .empty { color: var(--muted); font-size: 14px; margin: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 13px; }

/* --- Tasks --- */
.task-card { padding: 16px 18px; }
.task-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.task-title { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); }
.task-title:hover { color: var(--accent); }
.task-desc { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.task-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.badge {
  font-size: 11px; font-weight: 600; color: #fff; padding: 3px 9px;
  border-radius: 99px; white-space: nowrap;
}
.file-row {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.file-row:last-child { border-bottom: 0; }

/* --- Bids --- */
.bid-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bid-block:last-child { border-bottom: 0; padding-bottom: 0; }
.bid-block:first-of-type { padding-top: 4px; }
.bid-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bid-fields { display: flex; gap: 12px; flex-wrap: wrap; }
.bid-fields > div { flex: 1 1 140px; }
.under { font-size: 12px; color: #16a34a; margin-left: 5px; }
.mine { color: #059669; font-weight: 600; }

.review-note {
  margin-top: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; border-left: 3px solid var(--line); background: #f8fafc;
}
.review-ok { border-left-color: #16a34a; background: #f0fdf4; }
.review-back { border-left-color: #dc2626; background: #fef2f2; }

/* --- Review checklist --- */
.check-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-row:last-child { border-bottom: 0; padding-bottom: 0; }
.check-label { margin-bottom: 8px; }
.check-guidance { font-size: 13px; margin-top: 2px; }
.check-options { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.check-opt { display: inline-flex; align-items: center; gap: 5px; font-weight: 400; margin: 0; }
.check-opt input { width: auto; margin: 0; }
.check-row input[type=text] { margin-bottom: 0; font-size: 13px; padding: 7px 10px; }
.check-fail {
  margin-top: 8px; padding: 8px 10px; border-radius: 6px;
  background: #fff; border-left: 3px solid #dc2626; font-size: 14px;
}
.check-details { margin-top: 10px; font-size: 13px; }
.check-details summary { cursor: pointer; color: var(--muted); }
.check-line { padding: 5px 0 5px 2px; }
.check-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 99px;
  margin-right: 6px; vertical-align: middle;
}

/* --- Ledger --- */
.ledger-row {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ledger-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ledger-right { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ledger-right .money { font-weight: 600; font-size: 15px; }
.negative { color: #dc2626; font-weight: 600; }
.split-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.split-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.split-table td:last-child { text-align: right; font-weight: 600; }
.split-table tr:last-child td { border-bottom: 0; border-top: 2px solid var(--line); }

/* --- Profiles --- */
.me { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; }
.me:hover { color: var(--accent); }
.avatar-xs { width: 24px; height: 24px; border-radius: 99px; object-fit: cover; }
.avatar-sm { width: 64px; height: 64px; border-radius: 99px; object-fit: cover; }
.avatar-lg {
  width: 92px; height: 92px; border-radius: 99px; object-fit: cover;
  border: 1px solid var(--line); flex-shrink: 0;
}
.avatar-blank {
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-size: 34px; font-weight: 700;
}
.profile-head {
  display: flex; gap: 20px; align-items: flex-start;
  flex-wrap: wrap; margin-bottom: 24px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 13px; padding: 4px 11px; border-radius: 99px;
  background: #f1f5f9; border: 1px solid var(--line); color: #334155;
}
.skill-grid {
  display: grid; gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.skill-opt { display: flex; align-items: center; gap: 7px; font-weight: 400; margin: 0; font-size: 14px; }
.skill-opt input { width: auto; margin: 0; }
.cert-row {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.cert-row:last-of-type { border-bottom: 0; }
.currency-note {
  font-size: 13px; color: var(--muted); padding: 8px 12px;
  background: #f1f5f9; border-radius: 8px; margin-bottom: 14px;
}

.pay-instructions {
  background: #f8fafc; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font-size: 14px;
}
.pay-claimed {
  background: #fffbeb; border-left: 3px solid #d97706; border-radius: 6px;
  padding: 10px 12px; font-size: 14px;
}
.pay-details summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent); }

.verdict {
  padding: 10px 12px; border-radius: 8px; background: #f1f5f9;
  font-size: 14px; margin: 0 0 12px;
}
.verdict-warn { background: #fef3c7; border-left: 3px solid #b45309; }

.proof-link {
  display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600;
  padding: 5px 11px; border-radius: 7px; background: #eff6ff;
  border: 1px solid #bfdbfe; text-decoration: none;
}
.proof-missing { display: inline-block; margin-top: 8px; font-size: 13px; color: #b45309; }

/* --- Ratings --- */
.stars { color: #d97706; letter-spacing: 1px; font-size: 15px; }
.star-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px solid var(--line);
}
.star-label { font-size: 14px; font-weight: 600; }
.star-pick { display: inline-flex; gap: 4px; align-items: center; }
.star-pick input { width: auto; margin: 0 2px 0 8px; }
.star-pick label { display: inline; font-weight: 400; margin: 0; font-size: 14px; }
.rep-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.rep-figure { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.rep-label { font-size: 12px; color: var(--muted); }

.badge-active {
  background: #16a34a;
}
.badge-active::before { content: "● "; font-size: 9px; vertical-align: 1px; }

.private-card { border-left: 3px solid #7c3aed; }
.private-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: #7c3aed; background: #f3e8ff;
  padding: 2px 7px; border-radius: 99px; margin-left: 6px;
  vertical-align: 2px;
}

.writer-card { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }

/* --- Conversations --- */
.msg-row { display: flex; margin-bottom: 10px; }
.msg-mine { justify-content: flex-end; }
.msg-bubble {
  max-width: 78%; padding: 10px 13px; border-radius: 12px;
  background: #f1f5f9; font-size: 14px;
}
.msg-mine .msg-bubble { background: #eef2ff; }
.msg-who { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.msg-who .dim { font-weight: 400; margin-left: 6px; }
.msg-bubble .prose p { margin: 0; }

/* --- Notifications --- */
.bell { position: relative; text-decoration: none; color: var(--muted); font-size: 15px; }
.bell:hover { color: var(--accent); }
.bell-count {
  position: absolute; top: -7px; left: 8px; background: #dc2626; color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 99px;
}
.note-row {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.note-row:last-child { border-bottom: 0; }
.note-new { background: #f8fafc; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.note-dot { width: 8px; height: 8px; border-radius: 99px; margin-top: 6px; flex-shrink: 0; }
.note-text { flex: 1; font-size: 14px; }
.note-text .dim { display: block; margin-top: 2px; }
.note-when { font-size: 12px; white-space: nowrap; }

/* --- Avatar picker --- */
.avatar-field { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.avatar-current {
  width: 84px; height: 84px; border-radius: 99px; object-fit: cover;
  border: 1px solid var(--line); flex-shrink: 0;
}
.avatar-actions { flex: 1; min-width: 200px; }
.avatar-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.avatar-pick { display: inline-block; cursor: pointer; font-size: 14px; padding: 8px 16px; }
.avatar-clear { margin-top: 10px; font-size: 13px; }
.avatar-hint { font-size: 12px; margin: 8px 0 0; }

.crop-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,0.72);
  display: flex; align-items: center; justify-content: center;
  z-index: 50; padding: 16px;
}
.crop-backdrop[hidden] { display: none; }
.crop-panel {
  background: #fff; border-radius: 14px; padding: 22px;
  max-width: 380px; width: 100%;
}
.crop-stage {
  position: relative; width: 320px; height: 320px; max-width: 100%;
  margin: 0 auto; cursor: grab; overflow: hidden; border-radius: 10px;
  touch-action: none; user-select: none;
}
.crop-stage:active { cursor: grabbing; }
.crop-stage canvas { display: block; width: 100%; height: 100%; }
.crop-ring {
  position: absolute; inset: 0; pointer-events: none; border-radius: 10px;
  box-shadow: 0 0 0 999px rgba(15,23,42,0.55) inset;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 49%, #000 50%);
  mask: radial-gradient(circle at 50% 50%, transparent 49%, #000 50%);
}
.crop-zoom { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; }
.crop-zoom input { flex: 1; margin: 0; padding: 0; }

.danger-zone { border-color: #fecaca; background: #fffafa; }

.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.pill {
  font-size: 13px; padding: 5px 12px; border-radius: 99px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.pill-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-form {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 16px;
}
.filter-form input, .filter-form select { margin-bottom: 0; width: auto; flex: 1 1 160px; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
input[type=text], input[type=password], input[type=email], input[type=number],
input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1;
  border-radius: 8px; margin-bottom: 14px; font-size: 14px;
  font-family: inherit; background: #fff;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent;
}
.btn {
  display: inline-block; padding: 10px 20px; border: 0; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.btn:hover { filter: brightness(0.93); }
.btn-block { width: 100%; }
.btn-quiet {
  background: transparent; color: var(--muted); padding: 0; border: 0;
  font-weight: 400; font-size: 14px; cursor: pointer; text-decoration: none;
  font-family: inherit;
}

.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }
.helptext, .errorlist { font-size: 12px; }
.helptext { color: var(--muted); margin: -10px 0 14px; display: block; }
.errorlist { color: #b91c1c; list-style: none; padding: 0; margin: -8px 0 12px; }
ul.radio { list-style: none; padding: 0; margin: 0 0 14px; }
ul.radio li { margin-bottom: 6px; }
ul.radio input { width: auto; margin-right: 7px; }
ul.radio label { display: inline; font-weight: 400; }
.muted-links { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 0; }

/* ============================================================================
 * Redesign layer
 *
 * Everything above is the original component set, still used across the site.
 * What follows is the structure the redesign adds: a progress track, a single
 * primary action per page, a two-column layout, and money that looks different
 * depending on whether it has actually been paid.
 * ========================================================================= */

/* --- Two columns -----------------------------------------------------------
 * Content left, status and actions right. The sidebar holds what you glance at;
 * the main column holds what you read. One wide column meant scrolling past the
 * brief to reach the buttons.
 */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
}
.side .card { padding: 16px; }
.side h2 { font-size: 14px; }

/* --- Progress track --------------------------------------------------------
 * A task moves through ten states and used to show one badge. This answers
 * "where is my order" without anyone having to ask.
 */
.track { display: flex; align-items: flex-start; margin: 2px 0 4px; }
.track-step {
  flex: 1; text-align: center; position: relative;
  font-size: 12px; color: #94a3b8;
}
.track-step:not(:last-child)::after {
  content: ""; position: absolute; top: 11px;
  left: calc(50% + 14px); right: calc(-50% + 14px);
  height: 2px; background: var(--line);
}
.track-step.is-done:not(:last-child)::after { background: #16a34a; }
.track-dot {
  width: 24px; height: 24px; border-radius: 99px; margin: 0 auto 7px;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #94a3b8;
  position: relative; z-index: 1;
}
.is-done .track-dot { background: #16a34a; border-color: #16a34a; color: #fff; }
.is-now .track-dot {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.track-step.is-done, .track-step.is-now { color: var(--ink); }
.track-step.is-now { font-weight: 700; }
.track-step.is-stopped .track-dot { background: #dc2626; border-color: #dc2626; color: #fff; }

/* --- The one thing to do now -----------------------------------------------
 * Every block used to be a card of equal weight, so a task page shouted eight
 * things at once. This one outranks the rest.
 */
.action {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 16px;
}
.action h2 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.02em; }
.action p { margin: 0 0 16px; color: var(--muted); font-size: 14px; max-width: 62ch; }
.action.is-waiting { border-color: #fde68a; border-left-color: #d97706; }
.action.is-done { border-color: #bbf7d0; border-left-color: #16a34a; }
.action.is-blocked { border-color: #fecaca; border-left-color: #dc2626; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* --- Waiting on you --------------------------------------------------------
 * A dashboard should be a to-do list. Counters are wallpaper.
 */
.todo {
  background: #fff; border: 1px solid #bfdbfe;
  border-radius: 12px; overflow: hidden; margin-bottom: 22px;
}
.todo-head {
  background: #eff6ff; border-bottom: 1px solid #dbeafe;
  padding: 12px 18px; font-weight: 700; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.todo-count {
  background: var(--accent); color: #fff;
  border-radius: 99px; font-size: 12px; padding: 2px 9px;
}
.todo-item {
  display: flex; gap: 13px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.todo-item:last-child { border-bottom: 0; }
.todo-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 14px; color: #fff;
  background: var(--accent);
}
.todo-icon.pay { background: #dc2626; }
.todo-icon.ready { background: #16a34a; }
.todo-icon.review { background: #d97706; }
.todo-body { flex: 1; min-width: 0; }
.todo-title { font-weight: 600; font-size: 14px; }
.todo-sub { font-size: 13px; color: var(--muted); }
.todo-age { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* --- Things moving without you --------------------------------------------- */
.quiet-list h2 { font-size: 14px; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.quiet-row {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px;
}
.quiet-stage { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.blip { width: 7px; height: 7px; border-radius: 99px; background: #d97706; flex-shrink: 0; }
.blip.ok { background: #16a34a; }
.blip.info { background: var(--accent); }

/* --- Money with a state ----------------------------------------------------
 * Held and paid used to look identical. Held money is the thing writers most
 * want to understand.
 */
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.total {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; position: relative; overflow: hidden;
}
.total::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.total.held::before { background: #d97706; }
.total.paid::before { background: #16a34a; }
.total.due::before  { background: var(--accent); }
.total .figure {
  font-size: 25px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.total.held .figure { color: #b45309; }
.total.paid .figure { color: #15803d; }
.total .label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.total .note { font-size: 12px; color: var(--muted); margin-top: 9px; line-height: 1.45; }

.state {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 3px 9px; border-radius: 99px;
  white-space: nowrap; display: inline-block;
}
.state-held { background: #fef3c7; color: #92400e; }
.state-paid { background: #dcfce7; color: #166534; }
.state-reversed { background: #fee2e2; color: #991b1b; text-decoration: line-through; }
.state-pending { background: #e0e7ff; color: #3730a3; }
.row-faded { opacity: 0.55; }

/* --- Key/value blocks for the sidebar -------------------------------------- */
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; }
.kv + .kv { border-top: 1px solid var(--line); }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* --- Bid rows --------------------------------------------------------------
 * What a client needs to choose: who, how good, how much, how soon.
 */
.bid-line { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bid-line:last-child { border-bottom: 0; }
.bid-who { flex: 1; min-width: 0; }
.bid-name { font-weight: 600; font-size: 14px; }
.bid-sub { font-size: 12px; color: var(--muted); }
.bid-amount { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 16px; text-align: right; }
.avatar-md {
  width: 38px; height: 38px; border-radius: 99px; flex-shrink: 0; object-fit: cover;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: #1d4ed8; color: #fff;
}

/* --- Empty states ----------------------------------------------------------
 * A first-run user sees more of these than full pages, so they should teach
 * rather than just say "nothing yet".
 */
.blank { text-align: center; padding: 34px 20px; }
.blank-mark { font-size: 28px; line-height: 1; margin-bottom: 10px; opacity: 0.35; }
.blank h3 { margin: 0 0 6px; font-size: 16px; }
.blank p { margin: 0 auto 16px; color: var(--muted); font-size: 14px; max-width: 46ch; }


/* Buttons used as full-width blocks in the sidebar need to behave like blocks.
   btn-quiet was written for inline use next to other controls. */
.side .btn-quiet,
.side .btn {
  display: block; text-align: center; width: 100%;
  padding: 9px 14px; text-decoration: none;
}
.side form { margin: 0; }
.side input[type="number"], .side input[type="text"] { margin-bottom: 8px; }
