/* Additive task market styling. Existing Zoryvia visual tokens stay unchanged. */
.task-market{background:var(--bg,#090b10);color:var(--text,#f4f6fb)}
.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.task-card{background:var(--panel,#10131a);border:1px solid var(--line,#252b36);border-radius:14px;padding:25px;min-width:0;display:flex;flex-direction:column;gap:13px}
.task-card h3{font-size:clamp(18px,2vw,23px);margin:0;color:var(--text,#f4f6fb)}
.task-card p{font-size:15px;line-height:1.65;color:var(--muted,#9da7b7);margin:0;flex:1}
.task-kind{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent2,#67d7ff)}
.task-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px}
.task-card-bottom span{font-weight:700;color:var(--text,#f4f6fb)}
.task-card-bottom a{color:var(--accent,#9dff70);font-size:13px;text-decoration:underline;text-underline-offset:4px}
.task-note{font-size:13px!important;color:var(--muted,#9da7b7)!important;line-height:1.6}
.task-hero{background:var(--bg,#090b10);padding:110px 0 65px;color:var(--text,#f4f6fb)}
.task-hero h1{font-size:clamp(44px,6vw,82px);max-width:1020px;letter-spacing:-.04em;line-height:1.08}
.task-lead{font-size:clamp(18px,2.3vw,24px);max-width:730px;color:var(--muted,#9da7b7);margin:22px 0}
.task-trust{font-size:15px;color:var(--accent,#9dff70)}
.task-intake{background:var(--panel,#10131a);color:var(--text,#f4f6fb)}
.task-intake-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:60px}
.task-intake h2{font-size:clamp(30px,4vw,48px)}
.task-intake-grid>div>p:not(.overline){color:var(--muted,#9da7b7)}
.task-form{border:1px solid var(--line,#252b36);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:15px}
.task-form label{font-size:15px;font-weight:600}
.task-form textarea{width:100%;box-sizing:border-box;min-height:155px;border:1px solid #4a5568;border-radius:8px;padding:14px;background:var(--bg,#090b10);color:var(--text,#f4f6fb);font:inherit;resize:vertical}
.task-form textarea:focus-visible,.task-card a:focus-visible{outline:3px solid var(--accent2,#67d7ff);outline-offset:2px}
.task-form .btn{align-self:flex-start;cursor:pointer}
#task-preview-result{background:var(--bg,#090b10);border:1px solid var(--line,#252b36);border-radius:8px;padding:18px}
#task-preview-result[hidden]{display:none}
#task-preview-result p{font-size:14px;color:var(--muted,#9da7b7)}
.task-workflow{background:var(--bg,#090b10);color:var(--text,#f4f6fb)}
.task-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;list-style:none;counter-reset:task;max-width:100%;padding:0}
.task-steps li{counter-increment:task;background:var(--panel,#10131a);border:1px solid var(--line,#252b36);border-radius:10px;padding:23px;font-size:15px}
.task-steps li::before{content:"0" counter(task);color:var(--accent,#9dff70);display:block;font-size:25px;font-weight:700;margin-bottom:15px}
@media(max-width:920px){.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.task-intake-grid{grid-template-columns:1fr}}
@media(max-width:600px){.task-grid,.task-steps{grid-template-columns:1fr}.task-hero{padding:75px 0 40px}.task-form{padding:19px}.task-card{padding:20px}}


/* R1 additive styles for problem-first tasks. Existing Zoryvia colors preserved. */
.task-category{margin-bottom:65px}
.task-category>h2{font-size:clamp(25px,2.5vw,34px);margin:0 0 23px;letter-spacing:-.035em}
.task-category:last-child{margin-bottom:0}
.task-card-bottom span{font-size:12px;line-height:1.5;font-weight:650;max-width:210px}
.task-product-hero{padding-bottom:48px}
.task-product-hero h1{font-size:clamp(39px,5vw,70px);letter-spacing:-.04em;max-width:950px}
.task-product-section{background:#102530;color:#f5faf7}
.task-product-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(270px,.72fr);gap:28px;align-items:start}
.task-one-step{background:#193640;border:1px solid #466265;border-radius:10px;padding:clamp(23px,4vw,45px)}
.task-one-step h2{font-size:clamp(25px,3vw,34px);margin:0 0 25px;color:#f5faf7}
.task-one-step .task-form{background:transparent;border:0;padding:0;gap:16px}
.task-entry-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.task-mode{background:#0e232b;color:#cad8d0;border:1px solid #547078;border-radius:7px;padding:15px;font-size:14px;font-weight:750;min-width:0}
.task-mode[aria-pressed=true]{background:#bedf9d;color:#17302a;border-color:#bedf9d}
.task-mode:focus-visible{outline:3px solid #bedf9d;outline-offset:2px}
.task-input-pane{margin-top:8px;min-width:0}
.task-input-pane[hidden]{display:none}
.task-input-pane label{display:block;font-weight:700;font-size:15px;margin-bottom:11px}
.task-input-pane input{width:100%;max-width:100%;background:#0e232b;color:#eaf6ee;border:1px solid #547078;border-radius:6px;padding:14px;font:inherit;min-height:54px;min-width:0}
.task-input-pane input[type=file]{font-size:13px;cursor:pointer}
.task-input-pane input[type=file]::file-selector-button{padding:8px 11px;border:0;border-radius:4px;background:#bedf9d;color:#17302a;margin-right:12px;font-weight:700;cursor:pointer}
.task-input-pane input::placeholder{color:#9cb2ae}
.task-input-pane .task-note{margin:12px 0 0}
.task-product-aside{padding:31px;background:#172f37;border:1px solid #496166;border-radius:10px}
.task-product-aside .overline{color:#b8e2a7}
.task-product-aside h2{font-size:24px;line-height:1.4;margin:7px 0 14px}
.task-deliverable{font-weight:800;font-size:19px;color:#bedf9d;margin:0 0 24px}
.task-product-aside>p{line-height:1.7;font-size:13px}
.task-product-steps{padding:20px 0 0;margin:23px 0 0;list-style-position:inside;border-top:1px solid #ffffff30}
.task-product-steps li{font-size:13px;line-height:1.7;padding:9px 0;color:#d8e3de}
.task-product-status{margin-top:17px}
.task-preview-result{background:#0a1923;border:1px solid #608776;border-radius:7px;padding:17px}
.task-preview-result[hidden]{display:none}
.task-preview-result p{font-size:13px;line-height:1.7;margin:0 0 8px;color:#d7e9dc}
.task-preview-result p:last-child{margin-bottom:0}
.task-input-error{color:#ffcfb9;font-weight:700;font-size:13px;line-height:1.6}
.task-input-error[hidden]{display:none}
.task-product-section .task-form .btn{margin-top:9px}
@media(max-width:900px){
 .task-product-layout{grid-template-columns:1fr}
 .task-product-aside{padding:25px}
}
@media(max-width:600px){
 .task-category{margin-bottom:43px}
 .task-one-step{padding:20px}
 .task-product-hero h1{font-size:clamp(34px,9vw,49px)}
 .task-entry-modes{gap:6px}
 .task-mode{padding:14px 8px;font-size:12px}
 .task-input-pane input[type=file]{font-size:12px}
}


/* Quote inquiries use the existing public intake; previewed files remain local. */
.task-quote{margin-top:32px;padding-top:27px;border-top:1px solid #496166}
.task-quote h3{font-size:clamp(21px,2.2vw,27px);margin:0 0 12px;color:#f5faf7}
.task-quote-form{display:flex;flex-direction:column;gap:11px;margin:18px 0}
.task-quote-form>label{font-size:14px;font-weight:700;color:#edf6f0}
.task-quote-form>input:not([type=checkbox]),.task-quote-form textarea{
 width:100%;min-width:0;max-width:100%;box-sizing:border-box;
 background:#0e232b;color:#eaf6ee;border:1px solid #547078;border-radius:6px;
 padding:12px 14px;font:inherit
}
.task-quote-form textarea{min-height:125px;resize:vertical}
.task-quote-form input:focus-visible,.task-quote-form textarea:focus-visible{
 outline:3px solid #bedf9d;outline-offset:2px
}
.task-quote-consent{display:flex;align-items:flex-start;gap:11px;font-weight:500!important;line-height:1.65}
.task-quote-consent input{flex:0 0 auto;width:20px;height:20px;margin-top:2px;accent-color:#bedf9d}
.task-quote-form button{align-self:flex-start;min-height:48px}
.task-quote-form button:disabled{opacity:.58;cursor:not-allowed}
.task-quote-fallback{color:#bedf9d;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.task-honeypot{position:absolute!important;left:-10000px!important;height:1px!important;width:1px!important;opacity:0!important;pointer-events:none!important}
#task-quote-status{margin:3px 0 4px;min-height:20px}
@media(max-width:600px){.task-quote{margin-top:22px}.task-quote-form button{width:100%}}

