/* Podpora (PLAN_FORUM.md §21.3): private questions, the consultants' queue. A calm work tool: the status is a
   word with a dot, the deadline is the one coloured thing in a row. Belleza draws the carons of ľ/ď/ť badly, so
   short labels and titles with Slovak text use the body font (.plain-title). */
.plain-title { font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.3 var(--text); color: var(--ink); margin: 0; }
.forum-head h1.plain-title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
h2.plain-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.side-title.plain-title { font-size: 1.05rem; }

/* status badge */
.st { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.1rem 0.7rem 0.1rem 0.55rem; border-radius: 60px; font-size: 0.85rem; font-weight: 600; line-height: 1.55; white-space: nowrap; background: var(--ground-2); color: #444; }
.st-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; flex: none; }
.st-prijata { background: #e8f1f7; color: #04476e; }
.st-v_rieseni { background: #dcecf7; color: #04476e; }
.st-v_rieseni .st-dot { background: var(--blue); }
.st-caka { background: #fff1d6; color: #7a4a00; }
.st-caka .st-dot { background: var(--orange); }
.st-zodpovedana { background: #e3f3ea; color: #17613a; }
.st-uzavreta { background: var(--ground-2); color: #555; }
.st-uzavreta .st-dot { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }

/* deadline */
.due { font-size: 0.92rem; color: var(--ink-2); font-weight: 600; }
.due-overdue { color: #b3201a; }
.due-today { color: #8a5200; }
.due-met { color: #17613a; }
.due-missed { color: #b3201a; font-weight: 500; }

.quota { font-weight: 600; color: var(--ink); padding: 0.25rem 0.8rem; border-radius: 60px; background: var(--ground-2); }
.quota.is-zero, .quota-big.is-zero { color: #8f1d17; }
.quota-big { font-size: 1.5rem; font-weight: 600; margin: 0; color: var(--ink); }
.quota-over { max-width: 40rem; }
.podpora-offer { margin-bottom: 1.25rem; }

/* tables */
.qtable td { vertical-align: middle; }
.qtable th:first-child, .qtable td:first-child { padding-left: 1.25rem; }
.qtable th:last-child, .qtable td:last-child { padding-right: 1.25rem; }
.q-link { font-weight: 600; font-size: 1.02rem; }
.q-who { display: block; font-size: 0.9rem; }
.q-due { white-space: nowrap; }
.q-due-date { display: block; font-size: 0.85rem; }
.queue .q-row.q-overdue { box-shadow: inset 5px 0 0 var(--danger); background: #fff7f6; }
.queue .q-row.q-today { box-shadow: inset 5px 0 0 var(--orange); background: #fffaf0; }
.q-act form { margin: 0; }
.q-act { text-align: right; }
.q-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* one question */
.q-head { margin-bottom: 1.25rem; }
.q-head h1 { margin-bottom: 0.5rem; }
.q-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin: 0; }
.thread { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.9rem; }
.msg { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.2rem 0.4rem; }
.msg-consultant { border-left: 5px solid var(--blue); }
.msg-internal { background: #fff6dc; border-color: #ecd28a; border-left: 5px solid var(--orange); }
.msg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.7rem; margin-bottom: 0.4rem; }
.msg-when { font-size: 0.88rem; margin-left: auto; }
.msg-tag { font-size: 0.82rem; font-weight: 600; color: #04476e; background: #e8f1f7; border-radius: 60px; padding: 0 0.6rem; }
.msg-tag-note { color: #7a4a00; background: #ffe7ad; }
.reply-title { margin-bottom: 0.75rem; }
.kind-pick { border: 0; padding: 0; margin: 0 0 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.kind-opt { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; min-height: 2.75rem; }
.kind-opt-note { color: #7a4a00; }
.kind-status { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; }
.kind-status select, .stack-form select { min-height: 2.75rem; border: 1px solid var(--line); border-radius: 8px; padding: 0 0.6rem; font: inherit; background: #fff; }
.q-facts { margin: 0; }
.q-facts div { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.q-facts div:first-child { border-top: 0; padding-top: 0; }
.q-facts dt { font-size: 0.85rem; color: var(--ink-2); }
.q-facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.q-facts dd .muted { font-weight: 400; }
.stack-form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.6rem; }
.stack-form select { flex: 1 1 8rem; min-width: 0; }

.kind-status label { white-space: nowrap; margin: 0; }
@media (max-width: 700px) { .kind-status { margin-left: 0; width: 100%; } }
@media (max-width: 600px) {
  .qtable.stack tr { padding: 0.9rem 1.1rem; }
  .qtable.stack td:first-child, .qtable.stack td:last-child { padding-left: 0; padding-right: 0; }
  .queue .q-row.q-overdue { box-shadow: inset 5px 0 0 var(--danger); }
  .queue .q-row.q-today { box-shadow: inset 5px 0 0 var(--orange); }
  .q-act { text-align: left; padding-top: 0.5rem; }
}
