:root{color:#0f172a;background:#f6f9ff;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}h1{letter-spacing:-.045em;margin:.2rem 0;font-size:clamp(2rem,4vw,2.7rem)}h2{margin:0 0 1rem;font-size:1.25rem}p{color:#64748b;line-height:1.6}small{color:#64748b;font-size:.82rem}.logo{color:#2563eb;letter-spacing:-.04em;gap:.5rem;font-size:1.35rem;font-weight:850;display:flex}.logo span{color:#0f172a}.button,.secondary{color:#fff;background:#2563eb;border:1px solid #2563eb;border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:.8rem 1rem;font-size:.9rem;font-weight:750;display:inline-flex}.button:hover{color:#fff;background:#1d4ed8;text-decoration:none}.secondary{color:#1d4ed8;background:#fff;border-color:#cbd5e1}.secondary:hover{background:#eff6ff;text-decoration:none}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem;box-shadow:0 8px 30px #1e3a5c08}.eyebrow{color:#2563eb;letter-spacing:.13em;font-size:.72rem;font-weight:800}.shell{grid-template-columns:230px 1fr;min-height:100vh;display:grid}.sidebar{background:#fff;border-right:1px solid #e2e8f0;flex-direction:column;gap:2.4rem;padding:2rem 1rem;display:flex}.sidebar .logo{padding-left:.7rem}.sidebar nav{display:grid}.sidebar nav a{color:#475569;border-radius:9px;padding:.8rem .9rem;font-weight:650}.sidebar nav a.selected,.sidebar nav a:hover{color:#1d4ed8;background:#eff6ff;text-decoration:none}.sidebar-foot{border-top:1px solid #e2e8f0;gap:.3rem;margin-top:auto;padding:1rem .7rem;display:grid;overflow:hidden}.main{min-width:0;padding:3rem clamp(1rem,4vw,4rem)}.top{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.top p{margin:.2rem 0}.metrics{grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}.metrics>div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:.8rem;padding:1.2rem;display:grid}.metrics span{color:#64748b;font-size:.9rem}.metrics strong{font-size:2rem}.section-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.section-head p{font-size:.85rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;min-width:650px}th,td{border-bottom:1px solid #e2e8f0;padding:.9rem .5rem}th{color:#64748b;font-size:.8rem}td{font-size:.9rem}td small{margin:.25rem 0;display:block}.progress{background:#e7edf7;border-radius:99px;height:8px;margin:.4rem 0;overflow:hidden}.progress span{background:linear-gradient(90deg,#2563eb,#38bdf8);border-radius:99px;height:100%;display:block}.status{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border-radius:99px;padding:.35rem .6rem;font-size:.78rem;font-weight:750;display:inline-block}.status.complete{color:#166534;background:#dcfce7}.empty{text-align:center;padding:3rem 1rem}.container{max-width:1120px;margin:auto;padding:2.5rem 1.5rem 5rem}.container.narrow{max-width:680px}.back{margin-bottom:2rem;font-size:.9rem;font-weight:650;display:inline-block}.two-col{grid-template-columns:.8fr 1.2fr;gap:1.3rem;display:grid}.list-item{border-top:1px solid #edf2f7;justify-content:space-between;gap:1rem;padding:1rem 0;display:flex}form label{color:#334155;margin-bottom:1rem;font-size:.88rem;font-weight:700;display:block}input:not([type=checkbox]):not([type=file]),select,textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;width:100%;margin:.5rem 0;padding:.75rem .85rem;display:block}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb20}textarea{resize:vertical;min-height:100px}.question-row{grid-template-columns:1fr 150px auto;align-items:center;gap:.5rem;margin:.5rem 0;display:grid}.question-row .inline{white-space:nowrap;margin:0;font-size:.78rem}.stack{gap:.6rem;display:grid}.stack .button{justify-self:start}.notice{color:#12366e;background:#eaf2ff;border:1px solid #b8d4ff;border-radius:12px;margin:1.5rem 0;padding:1rem 1.2rem}.notice p{margin:.3rem 0 .6rem}.summary-row{overflow-wrap:anywhere;border-top:1px solid #e2e8f0;grid-template-columns:1fr 1.5fr;gap:1.5rem;padding:1rem 0;display:grid}.summary-row small{margin-top:.25rem;display:block}.muted{color:#94a3b8}.auth{background:radial-gradient(circle at 50% 0,#e8f2ff,#0000 55%),#f6f9ff;place-items:center;min-height:100vh;padding:1rem;display:grid}.auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;width:min(100%,420px);padding:2.2rem;box-shadow:0 25px 65px #1e3a5c16}.auth-card .logo{margin-bottom:2rem}.auth-card h1{font-size:2rem}.auth-card .button{width:100%}.error{color:#b42318;font-size:.85rem}.portal{max-width:780px;margin:auto;padding:0 1.3rem 4rem}.portal-head{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:1.5rem 0;display:flex}.portal-head>span{color:#64748b;font-size:.82rem}.portal-intro{padding:3rem 0 1.4rem}.portal-intro p{max-width:590px}.portal-progress{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin:1.3rem 0 2rem;padding:1.2rem 1.4rem}.portal-progress>div:first-child{justify-content:space-between;gap:1rem;font-size:.9rem;display:flex}.portal-progress span{color:#64748b}.task-list{gap:1rem;display:grid}.task-title{align-items:flex-start;gap:.9rem;margin-bottom:1rem;display:flex}.task-title>span{color:#2563eb;padding-top:.25rem;font-size:.78rem;font-weight:850}.task-title>div:nth-child(2){flex:1}.task h2{margin:0 0 .25rem;font-size:1rem}.task .status{margin-left:auto}.task input[type=file]{max-width:100%;padding:.65rem 0}.task-bottom{align-items:center;gap:1rem;margin-top:.7rem;display:flex}.task-bottom button{margin-left:auto}.portal-footer{color:#64748b;margin-top:2rem;font-size:.8rem;line-height:1.5}@media (max-width:750px){.shell{display:block}.sidebar{gap:1rem;padding:1rem}.sidebar nav{display:flex;overflow-x:auto}.sidebar-foot{display:none}.main{padding:2rem 1rem}.metrics>div{padding:1rem}.metrics span{font-size:.72rem}.metrics strong{font-size:1.5rem}.two-col{grid-template-columns:1fr}.question-row{grid-template-columns:1fr 140px}.question-row .inline{grid-column:1/-1}.summary-row{grid-template-columns:1fr;gap:.25rem}.container{padding:1.5rem 1rem 3rem}}@media (max-width:460px){.top{flex-direction:column;align-items:start}.metrics{gap:.4rem}.portal-head>span{display:none}}@media print{body{background:#fff}.back,.print,.notice,.sidebar{display:none!important}.container,.main{padding:0}.panel{box-shadow:none;border:0}}.signout{color:#2563eb;text-align:left;background:0 0;border:0;padding:.5rem 0;font-size:.85rem;font-weight:650}.list-item small{margin-top:.3rem;display:block}.list-item .secondary{min-height:36px;padding:.45rem .75rem}.template-actions{flex-wrap:wrap;gap:.7rem;margin-top:1rem;display:flex}.template-actions button:disabled,.remove-question:disabled{opacity:.45;cursor:not-allowed}.template-actions .button{margin-left:auto}.question-row{grid-template-columns:minmax(0,1fr) 150px auto auto}.remove-question{color:#b42318;background:0 0;border:0;padding:.5rem;font-size:.8rem;font-weight:700}@media (max-width:750px){.question-row{grid-template-columns:minmax(0,1fr) 140px}.question-row .inline{grid-column:auto}.remove-question{justify-self:end}}.page-loading{color:#475569;justify-content:center;align-items:center;gap:.8rem;min-height:100vh;font-size:.9rem;font-weight:650;display:flex}.loading-spinner{border:3px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;width:21px;height:21px;animation:.8s linear infinite loading-spin}@keyframes loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-spinner{border-top-color:#2563eb;animation:none}}.invite-actions{margin:1rem 0 1.5rem}.invite-actions .secondary{white-space:normal;text-align:center;max-width:100%}.followup-panel{justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1.5rem;display:flex}.followup-panel h2{margin-bottom:.3rem}.followup-panel p{margin:.1rem 0}.followup-panel form{flex-shrink:0}.export-help{font-size:.82rem}.completion-confetti{z-index:30;pointer-events:none;position:fixed;inset:0;overflow:hidden}.completion-confetti i{top:-20px;left:var(--left);background:var(--color);opacity:0;width:6px;height:13px;animation:confetti-fall var(--duration) ease-out var(--delay) both;border-radius:2px;position:absolute}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-20px)rotate(0)}12%{opacity:.9}80%{opacity:.9}to{transform:translateY(92vh) rotate(var(--rotation));opacity:0}}@media (max-width:750px){.followup-panel{flex-direction:column;align-items:start}}@media (prefers-reduced-motion:reduce){.completion-confetti{display:none}}@media print{.followup-panel,.invite-actions,.completion-confetti,.export-help{display:none!important}}.client-controls{gap:.7rem;margin:1.1rem 0;display:grid}.client-search{margin:0}.client-search input[type=search]{max-width:390px;margin:0}.client-filters{flex-wrap:wrap;gap:.4rem;display:flex}.client-filters button{color:#475569;background:#fff;border:1px solid #dbe5f3;border-radius:99px;padding:.45rem .8rem;font-size:.8rem;font-weight:650}.client-filters button.active{color:#1d4ed8;background:#eaf2ff;border-color:#9bc2ff}.client-filters span{opacity:.8;font-size:.74rem}.status.attention{color:#8a4b00;background:#fff3da}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.private-link-panel{margin-bottom:1rem}.private-link-panel p{margin:.3rem 0 .7rem;font-size:.87rem}.copy-link{align-items:center;gap:.55rem;display:flex}.copy-link input{flex:1;min-width:0}.copy-link .secondary{flex-shrink:0}.activity-note{margin:-1rem 0 1.5rem;font-size:.83rem}.followup-panel button:disabled{opacity:.6;cursor:default}@media (max-width:750px){.sidebar-foot{flex-wrap:wrap;align-items:center;gap:.4rem 1rem;margin-top:0;padding:.4rem .7rem;display:flex}.sidebar-foot small{overflow-wrap:anywhere;max-width:100%}.sidebar-foot form{margin-left:auto}.copy-link{flex-wrap:wrap}.copy-link input{flex-basis:100%}}@media print{.private-link-panel,.client-controls,.activity-note{display:none!important}}.delete-section{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:1rem;margin-top:2.5rem;padding-top:1.25rem;display:flex}.delete-section p{margin:.2rem 0;font-size:.85rem}.danger-button{color:#b91c1c;white-space:nowrap;background:#fff;border:1px solid #dc2626;border-radius:9px;padding:.7rem .9rem;font-size:.85rem;font-weight:700}.danger-button:hover:not(:disabled){background:#fef2f2}.danger-button:disabled{opacity:.5;cursor:not-allowed}.agency-list-item{align-items:center}.agency-list-item>div{overflow-wrap:anywhere;min-width:0}@media (max-width:750px){.delete-section,.agency-list-item{flex-direction:column;align-items:flex-start}}@media print{.delete-section{display:none!important}}.pack-actions{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.pack-actions .button:disabled{opacity:.55;cursor:not-allowed}.agency-contact-form{flex-wrap:wrap;align-items:flex-end;gap:.5rem;margin-top:.65rem;display:flex}.agency-contact-form label{flex:1;min-width:175px;margin:0}.agency-contact-form input{margin:.25rem 0 0}.agency-contact-form .secondary{min-height:42px}@media (max-width:750px){.pack-actions{justify-content:flex-start}}.request-panel{margin-bottom:1.5rem}.request-panel>p{margin-bottom:0}.request-row{align-items:center}.request-row>div{overflow-wrap:anywhere;min-width:0}.request-notes{white-space:pre-wrap;margin:.4rem 0 0;font-size:.85rem}.agency-portal .top .logo{margin-bottom:1.4rem}.agency-portal-foot{margin-top:1.6rem;font-size:.83rem}@media (max-width:750px){.request-row{flex-direction:column;align-items:flex-start}}.login-divider{color:#475569;border-top:1px solid #e2e8f0;margin:1.5rem 0 1rem;padding-top:1.2rem;font-size:.88rem;font-weight:650}.auth-home{text-align:center;margin-top:1.5rem;font-size:.9rem;font-weight:650;display:block}.new-agency{background:#f1f6ff;border-radius:12px;margin-top:1.6rem;padding:1.1rem}.new-agency p{margin:.25rem 0 .8rem;font-size:.85rem}.new-agency .secondary{width:100%}.agency-invite-option{align-items:center;gap:.6rem;margin:.2rem 0 1rem;display:flex}.agency-invite-option input{width:18px;height:18px;margin:0}.agency-list-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.agency-submission{border-top:1px solid #edf2f7;padding:1.15rem 0}.agency-submission-head{justify-content:space-between;align-items:flex-start;gap:.8rem;min-width:0;display:flex}.agency-submission-head>div{overflow-wrap:anywhere;min-width:0}.agency-submission-head small{margin-top:.25rem;display:block}.agency-submission-head .status{white-space:normal;text-align:center;flex-shrink:0;max-width:210px}.agency-submission-progress{margin-top:.75rem}.agency-submission-progress strong{color:#334155;font-size:.82rem}.agency-submission-progress .progress{margin-top:.45rem}@media (max-width:560px){.agency-submission-head{flex-direction:column}.agency-submission-head .status{text-align:left;max-width:100%}}.agency-shell .main{width:100%;max-width:1450px;margin:0 auto}.agency-shell .sidebar{height:100vh;position:sticky;top:0}.agency-shell .sidebar-foot{overflow-wrap:anywhere}.agency-topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.agency-credit-summary{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:1.5rem;padding:.85rem 1.2rem;display:flex}.agency-credit-summary>div{gap:.25rem;display:grid}.agency-credit-summary>div+div{border-left:1px solid #e2e8f0;padding-left:1.5rem}.agency-credit-summary strong{color:#1d4ed8;font-size:1.4rem}.agency-plan-prompt{justify-content:space-between;align-items:center;gap:1rem;display:flex}.agency-plan-prompt p{margin:.3rem 0 0;font-size:.85rem}.agency-plan-prompt .button{flex-shrink:0}.agency-current-plan{margin:1.5rem 0}.agency-plan-content{max-width:740px}.addition-fields{border:0;min-width:0;margin:0;padding:0}.addition-fields:disabled{opacity:.65}.agency-submission>.secondary{margin-top:.75rem}@media (max-width:750px){.agency-shell .sidebar{height:auto;position:static}.agency-shell .sidebar-foot{grid-template-columns:1fr auto;gap:.25rem;display:grid}.agency-shell .sidebar-foot small{grid-column:1}.agency-shell .sidebar-foot form{grid-area:1/2/3;align-self:center}.agency-shell .sidebar nav a{white-space:nowrap}.agency-topbar{flex-wrap:wrap;align-items:flex-start}.agency-credit-summary{margin-left:auto}.agency-plan-prompt{flex-direction:column;align-items:flex-start}}@media (max-width:460px){.agency-credit-summary{justify-content:space-between;width:100%}.agency-credit-summary small{font-size:.75rem}.agency-shell .sidebar nav a{padding:.7rem;font-size:.84rem}}.staff-template-create{max-width:950px}.agency-overview-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem;margin:1.5rem 0;display:grid}.agency-overview-columns .agency-list-item{flex-direction:column;align-items:flex-start}.agency-overview-columns .agency-list-item .secondary{align-self:flex-start}.agency-list-help{margin-top:0;font-size:.85rem}.agency-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:430px;padding-right:.5rem;overflow-y:auto}.agency-scroll:focus-visible{outline-offset:3px;outline:2px solid #2563eb}.agency-directory{margin:1.5rem 0}.directory-search{color:#334155;margin-bottom:1rem;font-size:.85rem;font-weight:700;display:block}.agency-cancellation-badge{white-space:normal;margin-left:.6rem}.agency-billing-details{gap:.7rem;display:grid}.agency-billing-details>div{border-bottom:1px solid #edf2f7;grid-template-columns:1fr 1.2fr;gap:1rem;padding:.5rem 0;display:grid}.agency-billing-details dt{color:#64748b;font-size:.85rem}.agency-billing-details dd{margin:0;font-size:.9rem;font-weight:650}@media (max-width:750px){.agency-overview-columns{grid-template-columns:1fr}.agency-scroll{max-height:350px}.agency-billing-details>div{grid-template-columns:1fr;gap:.3rem}.agency-cancellation-badge{width:fit-content;margin:.4rem 0 0;display:block}}.account-sections{gap:1.3rem;max-width:760px;margin-top:1.5rem;display:grid}.account-sections .notice{margin:1rem 0 0}.account-sections .button{margin-top:.6rem}.account-sections .panel>p{overflow-wrap:anywhere;font-size:.9rem}.account-sections fieldset{width:100%}.remember-device{align-items:flex-start;gap:.65rem;margin:1rem 0;font-weight:500;display:flex}.remember-device input{flex:none;width:auto;margin:.2rem 0 0}.remember-device span{min-width:0}.template-preview{background:#eff6ff;border:2px dashed #93c5fd;border-radius:12px;margin:1rem 0;padding:1rem}.template-preview small{display:block}.question-help{grid-column:1/-1}.question-help textarea{min-height:70px}.answer-review{border-top:1px solid #e2e8f0;margin-top:1rem;padding-top:.8rem}.answer-review textarea{min-height:65px}.activity-timeline{padding-left:1.4rem}.activity-timeline li{padding:.5rem 0}.activity-timeline small{color:#64748b;display:block}.panel+.panel{margin-top:1.2rem}.task-bottom small{display:block}.task fieldset:disabled{opacity:.8}.getting-started{background:#f8fbff;border-color:#bfdbfe;margin-bottom:1.5rem}.getting-started-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.getting-started-head h2{margin:.3rem 0}.getting-started-head p{color:#64748b;margin:.3rem 0}.getting-started-head button{flex-shrink:0}.getting-started-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.25rem 0 0;padding:0;list-style:none;display:grid}.getting-started-steps li{gap:.75rem;min-width:0;display:flex}.getting-started-number{color:#1d4ed8;background:#dbeafe;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-weight:700;display:flex}.getting-started-number.done{color:#166534;background:#dcfce7}.getting-started-steps h3{margin:.15rem 0 .4rem;font-size:1rem}.getting-started-steps p{color:#64748b;margin:0 0 .5rem;font-size:.9rem}.getting-started-link{font-size:.9rem;font-weight:600}#submit-client{scroll-margin-top:1.5rem}@media (max-width:700px){.getting-started-steps{grid-template-columns:1fr}.getting-started-head{flex-wrap:wrap}}.client-submission-fields{border:0;min-width:0;margin:0;padding:0}.credits-dialog{border:1px solid var(--border,#ddd);width:calc(100% - 2rem);max-width:460px;color:inherit;background:var(--surface,#fff);border-radius:16px;padding:1.5rem}.credits-dialog::backdrop{background:#00000073}.button-spinner{vertical-align:middle;border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:1em;height:1em;margin-right:.5em;animation:.75s linear infinite button-spin;display:inline-block}button[aria-busy=true]{cursor:wait;opacity:.75}button:disabled{cursor:default}button[aria-busy=true]{cursor:wait}@keyframes button-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.button-spinner{border-style:dotted;animation:none}}.agency-topbar{margin-bottom:1rem}.agency-credit-summary{padding:.7rem 1rem}.agency-credit-summary>div{gap:.15rem}.agency-credit-summary strong{font-size:1.6rem}.agency-answer-row{align-items:center;gap:1rem}.agency-answer-row>div{flex:1;min-width:0}.agency-answer-row .status{white-space:normal;text-align:center;overflow-wrap:normal;flex:none;justify-content:center;align-items:center;max-width:220px;height:auto;padding:.45rem .8rem;line-height:1.4;display:inline-flex}.activity-timeline{margin:.5rem 0 0;padding:0;list-style:none}.activity-timeline li{border-bottom:1px solid #edf2f7;gap:.85rem;padding:.8rem 0;display:flex}.activity-timeline li:last-child{border-bottom:0}.activity-dot{background:#93b4e8;border-radius:50%;flex:none;width:8px;height:8px;margin-top:.55rem}.activity-timeline li>div{min-width:0}.activity-timeline p{color:#334155;overflow-wrap:anywhere;margin:0;font-size:.9rem;font-weight:500}.activity-timeline time{color:#64748b;margin-top:.25rem;font-size:.78rem;display:block}@media (max-width:560px){.agency-answer-row{flex-direction:column;align-items:flex-start}.agency-answer-row .status{text-align:left;max-width:100%}}.agency-topbar{justify-content:flex-end}.agency-credit-summary{margin-left:auto}.question-drag-handle{color:#475569;cursor:grab;touch-action:none;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;grid-column:1/-1;justify-self:start;align-items:center;gap:.5rem;padding:.4rem .65rem;font-size:.8rem;display:inline-flex}.question-drag-handle span:first-child{font-size:1.3rem;line-height:1}.question-drag-handle:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.question-dragging{background:#eff6ff;border-radius:10px;outline:2px solid #93c5fd}.question-dragging .question-drag-handle{cursor:grabbing;background:#dbeafe}.question-reorder-help{font-size:.83rem}.agency-page-header{justify-content:space-between;align-items:center;gap:1.5rem;width:100%;margin-bottom:1.5rem;display:flex}.agency-page-header>div:first-child{flex:1;min-width:0}.agency-page-header p{margin:.35rem 0 0}.agency-page-header .agency-credit-summary{flex-shrink:0;margin-left:auto}.agency-portal .top .agency-page-header{margin-bottom:0}.agency-plan-content:has(.agency-page-header){max-width:none}.agency-plan-content .panel,.agency-plan-content>p{max-width:740px}@media (max-width:650px){.agency-page-header{flex-wrap:wrap;align-items:flex-start}.agency-page-header>div:first-child{flex-basis:100%}.agency-page-header .agency-credit-summary{width:auto}}.template-question-row{background:#f8fafc;border:1px solid #dbe5f3;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;gap:.8rem 1rem;margin:.4rem 0;padding:1.1rem}.template-question-header{border-bottom:1px solid #e2e8f0;grid-column:1/-1;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.75rem;display:flex}.template-question-header h3{color:#172235;margin:0;font-size:1rem}.template-question-controls{align-items:center;gap:.6rem;display:flex}.template-question-row .question-drag-handle{grid-column:auto}.template-question-row .remove-question{background:#fff;border:1px solid #fecaca;border-radius:8px;min-height:36px}.template-question-text{grid-column:1/-1}.template-question-row>label,.template-question-row .question-help label{margin:0;font-size:.85rem}.template-question-row .inline{grid-column:auto;align-self:center}.template-question-row input,.template-question-row select,.template-question-row textarea{background:#fff}.template-question-row.question-dragging{background:#eff6ff;outline:2px solid #93c5fd}@media (max-width:500px){.template-question-row{padding:.85rem}.template-question-header{flex-wrap:wrap;gap:.6rem}.template-question-controls{margin-left:auto}.template-question-row{grid-template-columns:1fr}.template-question-row .inline{grid-column:1}}.agency-delete-dialog{width:calc(100% - 2rem);max-width:36rem;color:inherit;background:#fff;border:1px solid #ddd;border-radius:1rem;padding:1.5rem}.agency-delete-dialog::backdrop{background:#0000008c}.agency-delete-dialog .button{color:#fff;background:#a72828}.agency-delete-dialog .invite-actions{flex-wrap:wrap;gap:.75rem;display:flex}.branding-grid{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);align-items:start;gap:2rem;max-width:1150px;display:grid}.branding-grid fieldset{min-width:0}.branding-toggle{border-bottom:1px solid #e2e8f0;align-items:center;gap:.7rem;padding-bottom:1rem;display:flex}.branding-colour{align-items:center;gap:.7rem;display:flex}.branding-colour input[type=color]{flex:none;height:44px;width:58px!important;padding:4px!important}.branding-colour input:not([type=color]){max-width:160px}.branding-grid input[type=file]{max-width:100%;margin:1rem 0;display:block}.branding-grid label small{font-weight:400;line-height:1.6;display:block}.branding-note{font-size:.85rem}.branding-previews{gap:1rem;display:grid}.branding-preview-label{letter-spacing:.12em;color:#64748b;font-size:.7rem;font-weight:700}.branding-preview{overflow-wrap:anywhere;padding:2rem}.branding-preview h2{margin-top:2rem}.branding-preview .button{margin-top:1rem}.agency-brand{flex-wrap:wrap;align-items:center;gap:1rem;min-width:0;display:flex}.agency-brand-logo{object-fit:contain;object-position:left center;max-width:160px;max-height:64px;display:block}.agency-brand-name{overflow-wrap:anywhere;font-size:1.2rem;display:block}.branding-preview .agency-brand-logo{margin-bottom:1rem}.branding-credit{color:#64748b;margin-top:1.5rem;font-size:.75rem;line-height:1.6;display:block}.branded-client .button{background:var(--agency-accent,#2563eb);border-color:var(--agency-accent,#2563eb);color:var(--agency-foreground,#fff)}.branded-client .button:hover{filter:brightness(.94)}.branded-client .eyebrow,.branded-client .task-title>span,.branded-client a{color:var(--agency-text,#2563eb)}.branded-client .button,.branded-client a.button{color:var(--agency-foreground,#fff)}.branded-client input:focus,.branded-client textarea:focus,.branded-client select:focus{border-color:var(--agency-accent,#2563eb);outline:2px solid var(--agency-text,#2563eb);outline-offset:2px;box-shadow:none}@media (max-width:900px){.branding-grid{grid-template-columns:1fr}}@media (max-width:460px){.agency-brand-logo{max-width:110px;max-height:44px}.branding-preview{padding:1.3rem}}.branded-client .task-bottom .secondary{background:var(--agency-accent,#2563eb);border-color:var(--agency-text,#2563eb);color:var(--agency-foreground,#fff)}.branded-client .task-bottom .secondary:hover{filter:brightness(.94)}.branded-client .progress span{background:var(--agency-text,#2563eb)}
