/* Dumke Biz admin — palette from dumke.biz */
:root {
  --petrol: #0A4F67;
  --tq: #1B7C98;
  --tq-light: #49B4C6;
  --mint: #E3F2F5;
  --gold: #FFC107;
  --text: #2C3E50;
  --muted: #555;
  --bg: #F8F9FA;
  --card: #fff;
  --danger: #C0392B;
  --border: #C8D5DC;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Poppins", system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--petrol);
  margin: 0 0 1rem;
}
h1 { font-size: 1.9rem; }
h2 { font-size: 1.3rem; margin: 0 0 0.75rem; }

.page { max-width: 800px; margin: 0 auto; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.5rem; }

.notice {
  background: var(--mint);
  border: 1px solid var(--tq-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.notice a { word-break: break-all; }

form { margin: 0; }

label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

input {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  color: var(--text);
}
input:focus { outline: 2px solid var(--gold); border-color: var(--tq); }

.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--petrol);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--tq); }
.btn:focus-visible { outline: 2px solid var(--gold); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #96281B; }
.btn-secondary {
  background: transparent;
  color: var(--tq);
  border-color: var(--tq-light);
}
.btn-secondary:hover { background: var(--mint); }

.login-wrap { max-width: 380px; margin: 15vh auto 0; }

.customer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.customer-row:last-child { border-bottom: none; }
.customer-row .name { font-weight: 600; }
.customer-row .name a { color: var(--tq); text-decoration: none; }
.customer-row .name a:hover { text-decoration: underline; }
.customer-row .practice { color: var(--muted); font-size: 0.9rem; }

pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  white-space: pre-wrap;
  font-size: 0.9rem;
}

.answer { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.answer:last-child { border-bottom: none; }
.answer .block { margin: 0 0 0.25rem; font-size: 0.8rem; font-weight: 600; color: var(--tq); }
.answer .q { margin: 0 0 0.25rem; color: var(--muted); font-size: 0.9rem; }
.answer .a { margin: 0; white-space: pre-wrap; }

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

a { color: var(--tq); }

.header-row { display: flex; justify-content: space-between; align-items: center; }

.answer-form textarea { width: 100%; font: inherit; margin-bottom: 0.5rem; }

.answer details.edit summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--tq-light);
  border-radius: 6px;
  color: var(--tq);
  font-size: 0.9rem;
  font-weight: 600;
}
.answer details.edit summary::-webkit-details-marker { display: none; }
.answer details.edit summary:hover { background: var(--mint); }
.answer details.edit[open] summary { background: var(--mint); }
.depth-fieldset {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin: 0.75rem 0;
}

.depth-fieldset legend {
  font-size: 0.85rem;
  font-weight: 600;
}

.depth-fieldset .radio {
  display: block;
  margin: 0.4rem 0;
  font-weight: 400;
}
.depth-fieldset .radio input {
  display: inline-block;
  width: auto;
  margin: 0 0.35rem 0 0;
}

.badge-vague {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 600;
}
