/* Minimal styles. Products replace this file. No inline styles anywhere: the
   Content-Security-Policy allows stylesheets from this site only. */
:root { --fg: #1d2330; --muted: #5b6475; --line: #d9dde5; --accent: #2457c5; --danger: #b42318; --bg: #ffffff; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
.topbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.topbar nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); }
main { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
a { color: var(--accent); }
form.inline { display: inline; }
button { font: inherit; padding: .4rem .8rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 6px; cursor: pointer; }
button.secondary { background: #fff; color: var(--accent); }
button.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
button.link { background: none; border: none; color: var(--accent); padding: 0; text-decoration: underline; }
input, select { font: inherit; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; }
th, td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.messages { list-style: none; padding: 0; }
.messages li { padding: .5rem .75rem; border-radius: 6px; background: #eef3ff; margin-bottom: .5rem; }
.messages li.error { background: #fdecea; }
.hint { color: var(--muted); font-size: .9rem; }
.notice { padding: .5rem .75rem; background: #fff7e0; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a.button-link { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--accent); border-radius: 6px; text-decoration: none; }

/* Surveys product */
.tabs { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin: .5rem 0; }
.stack label { display: block; margin: .6rem 0; }
.stack label input:not([type=checkbox]), .stack label textarea, .stack label select { display: block; margin-top: .2rem; }
.stack label.check input { display: inline; }
textarea { font: inherit; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; width: 100%; }
.wide { width: 100%; }
textarea.code { font: 13px/1.4 ui-monospace, Consolas, monospace; }
.headline .big { font-size: 3rem; font-weight: 700; margin: .25rem 0; }
.chart { width: 100%; max-width: 36rem; height: auto; display: block; margin: .5rem 0 1rem; }
.chart .lbl { font-size: 11px; fill: var(--muted); }
.chart .bar { fill: var(--accent); }
.chart .band-detractor, .chart .band-dissatisfied, .chart .band-difficult { fill: #c0392b; }
.chart .band-passive, .chart .band-neutral { fill: #b7950b; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.comment { border-bottom: 1px solid var(--line); padding: .4rem 0; }
.comment .text { margin: .2rem 0 .4rem; }
ul.templates { list-style: none; padding: 0; }
ul.templates li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.usage.near { color: var(--danger); }
fieldset.fu-edit { border: 1px solid var(--line); border-radius: 6px; margin: .5rem 0; }
details { margin: .4rem 0; }
