@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#253e3c;background:#f4f6f3;font-size:15px;--brand:#19665b;--line:#dde5df}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:11px 17px;background:white;color:inherit;font-weight:600}button:hover{border-color:var(--brand);background:#eef5ef}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--brand);color:white;border-color:var(--brand)}.primary:hover{background:#114e45;color:white}.danger{color:#a33636}.quiet{background:transparent;border:0;padding:9px}a{color:var(--brand)}h1,h2,h3{font-family:Manrope,system-ui;letter-spacing:-.045em}h1{font-size:clamp(28px,4vw,42px);margin:12px 0}h2{font-size:23px;margin:0 0 20px}h3{font-size:18px}p{line-height:1.65}small,.muted{color:#70817c}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700;color:var(--brand)}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;gap:11px;align-items:center;font-family:Manrope;font-size:17px;font-weight:800;letter-spacing:-.04em}.brand span{display:grid;place-items:center;background:var(--brand);color:white;width:37px;height:37px;border-radius:12px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{text-align:left;border:0;background:transparent}.sidebar nav button.active{background:#e9f2eb;color:var(--brand)}.sidebar footer{margin-top:auto;font-size:12px;line-height:1.7}.main{padding:38px 5vw;max-width:1450px;width:100%}.topbar,.row,.between{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between,.topbar{justify-content:space-between}.topbar{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:32px}.welcome{max-width:650px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0}.card,.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:25px}.card strong{font-family:Manrope;font-size:30px;display:block;margin-top:15px;letter-spacing:-.05em}.panel{margin:20px 0}.list{display:grid;gap:12px}.item{padding:18px 0;border-bottom:1px solid #edf0ec}.item:last-child{border:0}.tag{border-radius:30px;background:#edf2eb;color:#42624d;padding:6px 11px;font-size:12px;display:inline-block}.tag.correction{color:#925e1d;background:#fff2d8}.tag.complete{color:#19665b;background:#e1f1e9}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-intro{background:#164b43;color:#fff;padding:10vw 7vw;display:flex;flex-direction:column;justify-content:center}.auth-intro .eyebrow{color:#b6d8bb}.auth-intro h1{font-size:clamp(36px,5vw,65px);line-height:1.13;max-width:500px}.auth-intro p{color:#c2d9d0;max-width:390px}.auth-form{padding:7vw;display:flex;align-items:center}.auth-form>div{width:100%;max-width:430px;margin:auto}label{display:block;font-size:13px;font-weight:600;margin:17px 0 7px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d6dfd8;border-radius:9px;background:#fff;color:#233e36}input:focus,textarea:focus,select:focus{border-color:var(--brand)}input[type=checkbox],input[type=radio]{width:auto;margin-right:9px}textarea{min-height:100px;resize:vertical}.help{font-size:12px;color:#6d8077;margin:6px 0 12px;line-height:1.5}.error{color:#ac3434;background:#fff0ed;padding:12px;border-radius:9px;margin:14px 0}.notice{background:#edf4ec;border-left:3px solid #7c9e73;padding:16px;border-radius:8px;margin:16px 0;white-space:pre-wrap}.builder{display:grid;grid-template-columns:220px 1fr;gap:22px}.palette{align-self:start;position:sticky;top:20px}.palette button{display:block;width:100%;margin:7px 0;text-align:left}.field-editor{padding:20px;border:1px solid var(--line);border-radius:12px;margin:14px 0;background:#fff}.field-editor h3{margin-top:0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.field{margin:24px 0}.field>label{font-size:15px}.form-content{max-width:760px}.section-title{padding-top:18px;border-top:1px solid var(--line);margin-top:30px}.empty{padding:35px;text-align:center;color:#70817c}.file-row{font-size:13px;padding:10px;background:#f4f6f3;margin:7px 0;border-radius:8px}.progress{height:6px;background:#e9eee8;border-radius:10px;overflow:hidden;margin:10px 0}.progress span{display:block;height:100%;background:var(--brand)}#toast{position:fixed;bottom:25px;right:25px;max-width:380px;background:#173f36;color:white;padding:15px 20px;border-radius:12px;box-shadow:0 10px 40px #1233;display:none;z-index:20}.loading{padding:80px;text-align:center}dialog{border:1px solid var(--line);border-radius:16px;width:min(840px,95vw);max-height:90vh;padding:30px}dialog::backdrop{background:#183d3666}.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.search{max-width:360px}.pill{font-size:12px;padding:7px 12alligpx;background:#f2f5ef;border-radius:30px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{padding:15px 20px;gap:12px;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar footer{display:none}.main{padding:25px 20px}.auth{grid-template-columns:1fr}.auth-intro{padding:35px}.auth-intro h1{font-size:35px}.auth-form{padding:30px 25px}.builder{grid-template-columns:1fr}.palette{position:static}.palette button{display:inline-block;width:auto;margin:4px}.cards{gap:8px}.card{padding:15px}.card strong{font-size:24px}}@media(max-width:550px){.grid2,.cards{grid-template-columns:1fr}.card strong{display:inline;margin-left:20px}.topbar{gap:15px}}

.question-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.question-label > label { font-size: 15px; margin: 0; }
button.question-help-button {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  color: #135d52;
  background: #e9f4ef;
  font-weight: 700;
}
.question-help-dialog {
  box-sizing: border-box;
  width: min(640px, calc(100% - 24px));
  padding: clamp(16px, 4vw, 28px);
}
.question-help-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.question-help-header h2 { margin: 0; overflow-wrap: anywhere; }
.question-help-header button { flex: none; }
.question-help-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.question-help-figure { margin: 0; }
.question-help-figure figcaption {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.question-help-dialog :is(img, video) {
  display: block;
  max-width: 100%;
  max-height: 55vh;
  margin: 16px auto 0;
  border-radius: 8px;
}
.ng-guide { min-width: 0; margin: 20px 0; padding: 10px; border: 1px solid var(--ng-border); border-radius: 8px; }
.ng-guide legend { font-weight: 600; padding: 0 4px; }
.ng-guide p { margin-bottom: 0; }

.form-step-progress {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 600;
}
.form-step-progress + .section-title,
#requestFields > .section-title:first-child,
[data-preview-inputs] > .section-title:first-child {
  margin-top: 12px;
}
