/* New-garden intake questionnaire (features/intake.js) */
.iq-wrap { max-width: 1100px; margin: 0 auto; padding: 1.25rem 16px 4rem; }
.iq-header { margin-bottom: 1rem; }
.iq-header .subtitle { max-width: 70ch; }
.iq-brand { font-family: var(--sys-display); font-weight: 700; color: var(--tint); margin: 0 0 .25rem; letter-spacing: .01em; }
.iq-locked { background: var(--butter); border-radius: var(--r-ctl); padding: .6rem .8rem; margin-top: .75rem; }
.iq-sticky { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: .6rem 0 .7rem; margin-bottom: .75rem; box-shadow: 0 .5px 0 var(--sep); }
.iq-sticky p { margin: .4rem 0 .5rem; }
.iq-progress { height: 8px; border-radius: 99px; background: var(--fill-strong); overflow: hidden; }
.iq-progress span { display: block; height: 100%; background: var(--tint); border-radius: 99px; transition: width .3s ease; }
.iq-filter { max-width: 520px; }
#iq-status { margin-inline-start: .5rem; }
.iq-layout { display: grid; gap: 1rem; grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.iq-nav { position: sticky; top: 7.5rem; }
.iq-nav ul { list-style: none; margin: 0; padding: 0; }
.iq-nav a { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem .5rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.iq-nav a:hover { background: var(--fill); }
.iq-nav a.done { color: var(--tint); }
.iq-main { min-width: 0; }
.iq-layout.solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.iq-section h2 { margin-bottom: .25rem; }
.iq-q { padding: 1rem 0; }
.iq-q + .iq-q { box-shadow: inset 0 .5px 0 var(--sep); }
.iq-head { align-items: flex-start; }
.iq-head h3 { font-size: 1.02rem; margin: 0 0 .4rem; line-height: 1.35; }
.iq-req { font-size: .72rem; font-weight: 600; color: var(--berry); background: var(--berry-soft); border-radius: 99px; padding: .05rem .45rem; vertical-align: .1em; }
.chip.iq-state { white-space: nowrap; }
.chip.iq-state.answered, .chip.iq-state.na { background: var(--tint-soft); color: var(--tint); }
.chip.iq-state.unsure { background: var(--amber-soft); color: var(--amber); }
.iq-q input[type=text], .iq-q input[type=email], .iq-q input[type=tel], .iq-q input[type=url], .iq-q input[type=date], .iq-q input[type=time], .iq-q textarea { width: 100%; max-width: 560px; }
.iq-num { display: flex; align-items: center; gap: .5rem; }
.iq-num input { width: 9rem; }
.iq-opts { display: grid; gap: .45rem; }
.iq-other { max-width: 360px; margin-inline-start: 1.7rem; }
.iq-table { display: grid; gap: .6rem; }
.iq-rows { display: grid; gap: .6rem; }
.iq-row { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) auto; align-items: end; background: var(--fill); border-radius: var(--r-ctl); padding: .6rem; }
.iq-row label { margin: 0; }
.iq-row label span { display: block; margin-bottom: .2rem; }
.iq-row input, .iq-row select { width: 100%; background: var(--surface); }
.iq-addrow { justify-self: start; }
.iq-attach { margin-top: .7rem; display: grid; gap: .45rem; justify-items: start; }
.iq-files { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.iq-files li { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: baseline; }
.iq-note { margin-top: .6rem; }
.iq-note summary { cursor: pointer; color: var(--tint); }
.iq-note textarea { margin-top: .4rem; width: 100%; max-width: 560px; }
.iq-tools { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .6rem; align-items: center; }
.iq-by { margin-inline-start: auto; }
.iq-handed { margin: .5rem 0 0; color: var(--label); }
.iq-share { margin-top: .8rem; background: var(--fill); border-radius: var(--r-group); padding: 1rem; }
.iq-share h3 { margin: 0; font-size: 1rem; }
.iq-share input { background: var(--surface); width: 100%; }
.iq-near { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.iq-near legend { margin-bottom: .35rem; color: var(--muted); }
.iq-shareacts { margin-top: .5rem; }
.iq-dl { margin: 0; }
.iq-dl > div { padding: .6rem 0; }
.iq-dl > div + div { box-shadow: inset 0 .5px 0 var(--sep); }
.iq-dl dt { font-weight: 600; font-size: .92rem; }
.iq-dl dd { margin: .2rem 0 0; }
.iq-ans { white-space: pre-line; }
@media (max-width: 760px) {
  .iq-layout { grid-template-columns: minmax(0, 1fr); }
  .iq-nav { display: none; }
  .iq-by { margin-inline-start: 0; width: 100%; }
}
/* Answers found in attached files */
.iq-found { margin-top: .7rem; background: var(--butter); border-radius: var(--r-group); padding: .75rem .9rem; box-shadow: 0 0 0 1px rgba(161, 92, 0, .18); }
.iq-found + .iq-found { margin-top: .5rem; }
.iq-found-head { margin: 0 0 .25rem; }
.iq-found-value { margin: 0; font-weight: 600; white-space: pre-line; }
.iq-found blockquote { margin: .4rem 0 0; padding-inline-start: .6rem; border-inline-start: 3px solid var(--sep); color: var(--muted); }
.iq-found .actions { margin-top: .6rem; }
.iq-conf.low { color: var(--amber); font-weight: 600; }
.iq-foundpanel h2 { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.iq-foundpanel details summary { cursor: pointer; color: var(--tint); margin: .3rem 0; }
.iq-reading { color: var(--label); }
.iq-readok { color: var(--tint); }
.iq-readbad { color: var(--amber); }
.iq-differ { margin: .7rem 0 0; color: var(--amber); font-weight: 600; }
.iq-found-one + .iq-found-one, .iq-found-more .iq-found-one { margin-top: .6rem; padding-top: .6rem; box-shadow: inset 0 .5px 0 var(--sep); }
.iq-found-q { margin: 0 0 .3rem; font-weight: 600; }
.iq-found-more summary { cursor: pointer; color: var(--tint); margin-top: .5rem; }
.iq-foundpanel .iq-found + .iq-found { margin-top: .7rem; }
/* One question at a time */
.iq-steps { max-width: 680px; }
.iq-steps .iq-progress { margin-top: .25rem; }
.iq-steps-meta { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; margin: .5rem 0 1rem; }
.iq-steps-links { margin-inline-start: auto; display: inline-flex; gap: 1rem; flex-wrap: wrap; }
.iq-viewswitch { display: flex; gap: 1rem; flex-wrap: wrap; }
.iq-writein { margin-top: .6rem; }
.iq-writein-box { display: grid; gap: .25rem; }
.iq-writein-box textarea { width: 100%; }
.iq-welcome { margin: 0 0 .75rem; }
.iq-build-garden { display: grid; gap: .25rem; max-width: 26rem; }
.iq-build-area { border: 0; padding: 0; margin: .75rem 0 0; display: grid; gap: .5rem; }
.iq-build-area legend { font-weight: 600; margin-bottom: .25rem; }
.iq-build-item { align-items: flex-start; }
.iq-linkbox { display: flex; gap: .5rem; flex-wrap: wrap; }
.iq-linkbox input { flex: 1 1 14rem; min-width: 0; }
.iq-step { padding: 1.4rem 1.5rem; }
.iq-step h2 { font-size: 1.3rem; line-height: 1.3; margin: 0; }
.iq-step-kicker { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--label); }
.iq-step input[type=text], .iq-step input[type=email], .iq-step input[type=tel], .iq-step input[type=url],
.iq-step input[type=date], .iq-step input[type=time], .iq-step textarea { width: 100%; max-width: 100%; font-size: 1.05rem; }
.iq-step .iq-opts .check { font-size: 1.02rem; padding: .2rem 0; }
.iq-step-main { margin-top: .4rem; }
.iq-step-main .primary { min-width: 10rem; }
.iq-step-alt { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.iq-bigupload { cursor: pointer; }
.iq-linkupload { display: inline; cursor: pointer; color: var(--tint); font-weight: 400; margin: 0; font-size: inherit; }
.iq-linkupload:hover { text-decoration: underline; }
.iq-from { background: var(--butter); border-radius: var(--r-ctl); padding: .6rem .8rem; }
.iq-from p { margin: 0; }
.iq-from blockquote { margin: .35rem 0 0; padding-inline-start: .6rem; border-inline-start: 3px solid var(--sep); color: var(--muted); }
.iq-alts { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.iq-alts .btn { min-height: 30px; padding: .2rem .7rem; font-weight: 500; }
.iq-wait { text-align: center; justify-items: center; }
.iq-wait .actions { justify-content: center; }
.iq-spinner { width: 34px; height: 34px; margin: .5rem auto 0; border-radius: 50%; border: 3px solid var(--tint-soft); border-top-color: var(--tint); animation: iq-spin 1s linear infinite; }
@keyframes iq-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .iq-spinner { animation-duration: 3s; } }
.iq-later { margin: .3rem 0 0; padding-inline-start: 1.2rem; }
.iq-viewswitch { margin: 0 0 .5rem; }
@media (max-width: 520px) { .iq-step { padding: 1.1rem 1rem; } .iq-step-main .primary { width: 100%; } }

/* The garden's jobs (tick + how often) and the roles that look after them */
.iq-jobs, .iq-roles { display: grid; gap: .9rem; }
.iq-jobgroup { border: 0; margin: 0; padding: 0; display: grid; gap: .35rem; }
.iq-jobgroup legend { font-weight: 600; margin-bottom: .3rem; }
.iq-job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; padding: .35rem .6rem; border-radius: var(--r-ctl); background: var(--fill); }
.iq-job .check { flex: 1 1 16rem; }
.iq-job select { flex: 0 0 auto; max-width: 13rem; }
.iq-job [data-jname] { flex: 1; min-width: 10rem; }
.iq-job select:disabled { opacity: .55; }
.iq-ownrows { display: grid; gap: .35rem; }
.iq-role { background: var(--fill); border-radius: var(--r-ctl); padding: .6rem .75rem; display: grid; gap: .5rem; }
.iq-role-on [data-rtitle] { flex: 1; min-width: 12rem; }
.iq-role-body { display: grid; gap: .6rem; padding-inline-start: 1.9rem; }
.iq-role-who { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.iq-role-who label { display: grid; gap: .2rem; }
.iq-role-jobs { border: 0; margin: 0; padding: 0; display: grid; gap: .2rem .9rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.iq-role-jobs legend { margin-bottom: .2rem; }
@media (max-width: 520px) { .iq-role-body { padding-inline-start: 0; } .iq-job select { max-width: 100%; flex-basis: 100%; } }
