@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.block{display:block}.hidden{display:none}}:root{--background:#f5f4ef;--surface:#fffefa;--ink:#17221c;--muted:#637068;--line:#dfe2d9;--brand:#176b4d;--brand-dark:#0f5039;--brand-soft:#dff2e8;--accent:#ed9b40;--danger:#b83242;--danger-soft:#fde9eb;--info:#315f86;--info-soft:#e7f1f9;--shadow:0 24px 70px #2031271f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{min-height:100vh;color:var(--ink);background:var(--background);margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.68}h1,h2,p{margin-top:0}h1{letter-spacing:-.06em;margin-bottom:.7rem;font-size:clamp(2rem,5vw,4.5rem);line-height:.98}h2{letter-spacing:-.035em;margin-bottom:.45rem;font-size:clamp(1.5rem,3vw,2rem)}.muted{color:var(--muted);line-height:1.6}.eyebrow{color:var(--brand);letter-spacing:.17em;text-transform:uppercase;margin-bottom:.75rem;font-size:.72rem;font-weight:800}.brand-lockup{align-items:center;gap:.75rem;font-weight:850;display:flex}.brand-logo{object-fit:contain;width:auto;height:auto;display:block}.login-logo{width:min(100%,260px)}.workspace-logo{width:170px}.brand-lockup.compact>div{flex-direction:column;gap:.15rem;display:flex}.brand-lockup.compact span:last-child{color:var(--muted);font-size:.68rem;font-weight:600}.login-page{background:radial-gradient(circle at 7% 8%,#dcefe4 0,transparent 28%),var(--background);grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);min-height:100vh;padding:clamp(1rem,3vw,2rem);display:grid}.login-intro{flex-direction:column;justify-content:center;max-width:760px;padding:clamp(2rem,7vw,7rem);display:flex}.login-intro .brand-lockup{margin-bottom:clamp(3rem,8vh,7rem)}.login-copy{max-width:620px;color:var(--muted);margin-bottom:2.4rem;font-size:clamp(1rem,1.4vw,1.18rem);line-height:1.7}.journey-list{grid-template-columns:1fr 1fr;gap:.7rem 1.5rem;max-width:650px;margin:0;padding:0;list-style:none;display:grid}.journey-list li{border-top:1px solid var(--line);color:#36443b;align-items:center;gap:.65rem;padding:.7rem 0;font-size:.82rem;font-weight:700;display:flex}.journey-list span{color:var(--brand);letter-spacing:.08em;font-size:.68rem}.login-card{width:min(480px,100%);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffefaf0;border:1px solid #fffc;border-radius:28px 28px 28px 8px;place-self:center;padding:clamp(1.6rem,4vw,3rem)}.login-card>div:first-child{margin-bottom:1.6rem}.form-stack{flex-direction:column;gap:1.05rem;display:flex}label{color:#334139;flex-direction:column;gap:.45rem;font-size:.8rem;font-weight:750;display:flex}input{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:11px;outline:none;padding:.8rem .9rem;transition:border-color .15s,box-shadow .15s}input:focus{border-color:var(--brand);box-shadow:0 0 0 4px #176b4d1c}textarea{border:1px solid var(--line);width:100%;color:var(--ink);resize:vertical;background:#fff;border-radius:11px;outline:none;padding:.8rem .9rem;line-height:1.55;transition:border-color .15s,box-shadow .15s}textarea:focus{border-color:var(--brand);box-shadow:0 0 0 4px #176b4d1c}select{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:11px;outline:none;padding:.8rem .9rem}select:focus{border-color:var(--brand);box-shadow:0 0 0 4px #176b4d1c}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.button{border:0;border-radius:10px;justify-content:center;align-items:center;gap:.5rem;min-height:42px;padding:.65rem 1rem;font-size:.82rem;font-weight:800;transition:transform .15s,background .15s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{color:#fff;background:var(--brand)}.button.primary:hover:not(:disabled){background:var(--brand-dark)}.button.secondary{color:var(--ink);border:1px solid var(--line);background:#fff}.login-button{min-height:50px;margin-top:.25rem}.privacy-note{color:#879188;text-align:center;margin:1.3rem 0 0;font-size:.7rem}.feedback{border-radius:10px;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:.78rem .9rem;font-size:.78rem;line-height:1.5;display:flex}.feedback.error{color:var(--danger);background:var(--danger-soft)}.feedback.info{color:var(--info);background:var(--info-soft)}.feedback.success{color:var(--brand-dark);background:var(--brand-soft)}.feedback button{color:inherit;background:0 0;border:0;padding:0;font-size:1.1rem;line-height:1}.spinner,.button-spinner{border:2px solid #176b4d2e;border-top-color:var(--brand);border-radius:50%;animation:.75s linear infinite spin}.spinner{width:36px;height:36px}.button-spinner{border-color:#fff #ffffff59 #ffffff59;width:15px;height:15px}.loading-screen{min-height:100vh;color:var(--muted);place-content:center;justify-items:center;gap:1rem;display:grid}.error-screen{flex-direction:column;justify-content:center;align-items:flex-start;width:min(680px,100%);min-height:100vh;margin:auto;padding:2rem;display:flex}.error-screen h1{margin-top:1rem;font-size:clamp(2rem,6vw,4rem)}.error-screen p{max-width:560px;margin-bottom:1.5rem}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh}.workspace-header{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffefae6;border-bottom:1px solid #dfe2d9d9;position:sticky;top:0}.workspace-header-inner{justify-content:space-between;align-items:center;gap:1rem;width:min(1440px,100%);min-height:72px;margin:auto;padding:.75rem clamp(1.2rem,4vw,3.5rem);display:flex}.session-summary{align-items:center;gap:1rem;display:flex}.session-summary>div{flex-direction:column;align-items:flex-end;gap:.15rem;display:flex}.session-summary span{color:var(--muted);font-size:.7rem}.session-summary strong{font-size:.83rem}.workspace-main{width:min(1440px,100%);margin:auto;padding:clamp(2rem,5vw,4.5rem) clamp(1.2rem,4vw,3.5rem)}.workspace-heading{justify-content:space-between;align-items:flex-end;gap:3rem;margin-bottom:2.4rem;display:flex}.workspace-heading h1{max-width:760px;font-size:clamp(2.25rem,5vw,4.25rem)}.workspace-heading>p{max-width:390px;margin-bottom:.4rem}.workspace-tabs{border:1px solid var(--line);background:var(--surface);border-radius:18px 18px 18px 5px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden;box-shadow:0 10px 34px #2031270d}.workspace-tabs button{border:0;border-right:1px solid var(--line);min-height:112px;color:var(--ink);text-align:left;background:0 0;grid-template-rows:auto auto;grid-template-columns:auto 1fr;gap:.25rem .75rem;padding:1.25rem;display:grid}.workspace-tabs button:last-child{border-right:0}.workspace-tabs button>span{color:#9aa29b;letter-spacing:.08em;grid-row:1/3;font-size:.68rem;font-weight:800}.workspace-tabs button strong{align-self:end;font-size:.88rem}.workspace-tabs button small{color:var(--muted);font-size:.68rem}.workspace-tabs button.active{color:#fff;background:var(--brand)}.workspace-tabs button.active span,.workspace-tabs button.active small{color:#ffffffb8}.workspace-tabs button:focus-visible{z-index:1;outline:3px solid var(--accent);outline-offset:-3px;position:relative}.learning-guide{background:#f8fcf9;border:1px solid #cfe0d5;border-radius:16px 16px 16px 5px;margin-top:1rem;overflow:hidden;box-shadow:0 8px 24px #2031270a}.learning-guide-summary{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:minmax(230px,1fr) minmax(180px,.55fr) auto;align-items:center;gap:1.5rem;padding:1rem 1.2rem;display:grid}.learning-guide-summary>div:first-child{gap:.2rem;display:grid}.learning-guide-summary strong{font-size:.9rem}.learning-guide-summary small{color:var(--muted);font-size:.7rem;line-height:1.4}.guide-kicker{color:var(--brand);letter-spacing:.1em;text-transform:uppercase;font-size:.62rem;font-weight:850}.guide-progress{background:#dfe9e2;border-radius:99px;height:8px;overflow:hidden}.guide-progress span{border-radius:inherit;background:linear-gradient(90deg,var(--brand),#59a77f);height:100%;transition:width .3s;display:block}.guide-toggle{border:1px solid var(--line);background:#fff;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.guide-stages{border-top:1px solid #dbe7df;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.guide-stages article{border-right:1px solid #dbe7df;min-width:0;padding:1rem}.guide-stages article:last-child{border-right:0}.guide-stages header{justify-content:space-between;align-items:start;gap:.5rem;margin-bottom:.75rem;display:flex}.guide-stages header>div{gap:.15rem;display:grid}.guide-stages header strong{font-size:.76rem}.guide-stages header small{color:var(--muted);font-size:.62rem}.guide-stages header button{color:var(--brand);background:var(--brand-soft);border:0;border-radius:5px;flex:none;padding:.25rem .4rem;font-size:.6rem;font-weight:800}.guide-stages ul{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.guide-stages li{color:#6e786f;gap:.4rem;font-size:.66rem;line-height:1.35;display:flex}.guide-stages li>span{color:#9ca69e;flex:none;font-weight:850}.guide-stages li.done{color:#294f3d}.guide-stages li.done>span{color:var(--brand)}.workspace-panel{border:1px solid var(--line);background:var(--surface);border-radius:18px 18px 18px 5px;margin-top:1.2rem;box-shadow:0 10px 34px #2031270d}.workspace-panel:focus{outline:none}.workspace-panel:focus-visible{outline-offset:3px;outline:3px solid #176b4d40}.placeholder-panel{background:linear-gradient(135deg,var(--surface),#f1f5ed);min-height:330px;padding:clamp(2rem,5vw,4rem)}.placeholder-panel h2{margin-top:1rem}.placeholder-panel p{max-width:580px;color:var(--muted);line-height:1.7}.phase-chip{color:var(--brand-dark);background:var(--brand-soft);text-transform:uppercase;letter-spacing:.08em;border-radius:99px;padding:.34rem .65rem;font-size:.68rem;font-weight:800;display:inline-flex}.canvas-panel{overflow:hidden}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:2rem;padding:clamp(1.5rem,3vw,2.2rem);display:flex}.panel-heading h2{margin:.85rem 0 .3rem}.panel-heading p{max-width:680px;color:var(--muted);margin:0;font-size:.86rem;line-height:1.55}.draft-status{color:var(--brand-dark);flex:none;align-items:center;gap:.5rem;font-size:.72rem;font-weight:750;display:flex}.draft-status span{background:var(--brand);width:8px;height:8px;box-shadow:0 0 0 4px var(--brand-soft);border-radius:50%}.draft-status.dirty{color:#8b5816}.draft-status.dirty span{background:var(--accent);box-shadow:0 0 0 4px #fff0d9}.panel-loading{min-height:360px;color:var(--muted);place-content:center;justify-items:center;gap:1rem;display:grid}.panel-message{padding:2rem}.canvas-form{flex-direction:column;display:flex}.canvas-form>.feedback{margin:1.5rem 2rem 0}.canvas-form fieldset{border:0;border-bottom:1px solid var(--line);grid-template-columns:minmax(190px,.28fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);margin:0;padding:clamp(1.5rem,3vw,2.3rem);display:grid}.canvas-form legend{display:contents}.canvas-form legend>span{width:30px;height:30px;color:var(--brand-dark);background:var(--brand-soft);border-radius:9px 9px 9px 3px;place-items:center;margin-bottom:.75rem;font-size:.68rem;font-weight:850;display:inline-grid}.canvas-form legend>div{grid-column:1}.canvas-form legend strong{margin-bottom:.4rem;font-size:.9rem;display:block}.canvas-form legend small{max-width:220px;color:var(--muted);font-size:.72rem;line-height:1.5;display:block}.form-grid{grid-area:1/2/span 2;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-width:0;display:grid}.form-grid.identity-grid{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)}.form-grid.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.field{min-width:0}.field>span{min-height:1.1rem}.field>small{color:#929a93;justify-content:space-between;gap:1rem;min-height:1rem;font-size:.65rem;font-weight:500;display:flex}.field>small span:last-child{font-variant-numeric:tabular-nums;margin-left:auto}.form-actions{z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffefaf0;justify-content:flex-end;align-items:center;gap:1rem;padding:1rem clamp(1.5rem,3vw,2.3rem);display:flex;position:sticky;bottom:0;box-shadow:0 -10px 30px #2031270f}.form-actions p{color:var(--muted);margin:0 auto 0 0;font-size:.72rem}.prototype-panel{overflow:visible}.prototype-layout{grid-template-columns:minmax(0,1fr) minmax(330px,.42fr);align-items:start;display:grid}.prototype-form{border-right:1px solid var(--line);min-width:0}.prototype-form>.feedback{margin:1.5rem 1.5rem 0}.form-section{border-bottom:1px solid var(--line);grid-template-columns:minmax(170px,.25fr) minmax(0,1fr);gap:clamp(1.2rem,3vw,2.5rem);padding:clamp(1.4rem,2.5vw,2rem);display:grid}.section-title>span{width:30px;height:30px;color:var(--brand-dark);background:var(--brand-soft);border-radius:9px 9px 9px 3px;place-items:center;margin-bottom:.75rem;font-size:.68rem;font-weight:850;display:inline-grid}.section-title strong{margin-bottom:.4rem;font-size:.88rem;display:block}.section-title small{max-width:190px;color:var(--muted);font-size:.7rem;line-height:1.5;display:block}.prototype-form .form-grid{grid-area:auto}.prototype-form .field.full-width{grid-column:1/-1}.schema-grid{grid-template-columns:1fr 1fr;gap:1rem;min-width:0;display:grid}.code-editor{color:#d9eadf;tab-size:2;background:#18271f;border-color:#263c31;min-height:300px;font-family:Consolas,Courier New,monospace;font-size:.72rem;line-height:1.55}.code-editor:focus{border-color:#66b68f;box-shadow:0 0 0 4px #176b4d2e}.visual-builder-section{align-items:start}.visual-schema-builder{gap:1.5rem;min-width:0;display:grid}.schema-builder-block{gap:.85rem;min-width:0;display:grid}.schema-builder-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.schema-builder-heading>div{gap:.2rem;display:grid}.schema-builder-heading strong{font-size:.95rem}.schema-builder-heading small{color:var(--muted);line-height:1.45}.schema-builder-heading>span{color:var(--brand);background:var(--brand-soft);border-radius:999px;flex:none;padding:.25rem .5rem;font-size:.7rem;font-weight:800}.schema-card-list{gap:.75rem;display:grid}.schema-card{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}.schema-card>header{border-bottom:1px solid var(--line);background:#f7faf8;grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;padding:.7rem .8rem;display:grid}.schema-card>header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;overflow:hidden}.schema-number{color:#fff;background:var(--brand);border-radius:50%;place-items:center;width:1.6rem;height:1.6rem;font-size:.65rem;font-weight:800;display:grid}.schema-order{gap:.25rem;display:flex}.schema-order button{border:1px solid var(--line);width:1.75rem;height:1.75rem;color:var(--ink);cursor:pointer;background:#fff;border-radius:7px}.schema-order button:disabled{opacity:.35;cursor:default}.schema-card-grid{grid-template-columns:1fr 1fr;gap:.75rem;padding:.85rem;display:grid}.schema-card-grid .full-width{grid-column:1/-1}.schema-card-footer{border-top:1px solid var(--line);align-items:center;gap:.8rem;padding:.65rem .85rem;display:flex}.check-field{align-items:center;gap:.45rem;font-size:.75rem;font-weight:700;display:flex}.check-field input{accent-color:var(--brand)}.schema-card-footer details{min-width:0;margin-left:auto}.schema-card-footer summary{color:var(--muted);cursor:pointer;font-size:.72rem}.advanced-fields{z-index:3;border:1px solid var(--line);background:#fff;border-radius:10px;width:min(360px,100vw - 3rem);margin-top:.45rem;padding:.75rem;position:absolute;box-shadow:0 12px 35px #142d2224}.schema-remove{color:#a13b3b;cursor:pointer;background:0 0;border:0;font-size:.72rem;font-weight:800}.schema-remove:disabled{opacity:.35;cursor:default}.schema-add{justify-self:start}.prototype-chat{background:#f7f8f3;flex-direction:column;min-height:620px;max-height:calc(100vh - 110px);display:flex;position:sticky;top:88px;overflow:hidden}.prototype-chat>header{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.prototype-chat>header>div{align-items:center;gap:.6rem;display:flex}.prototype-chat>header>div>div{flex-direction:column;gap:.1rem;display:flex}.prototype-chat header strong{font-size:.8rem}.prototype-chat header small{color:var(--muted);font-size:.64rem}.online-dot{width:9px;height:9px;box-shadow:0 0 0 4px var(--brand-soft);background:#2aa775;border-radius:50%}.quota{color:var(--brand-dark);background:var(--brand-soft);border-radius:99px;padding:.3rem .5rem;font-size:.64rem;font-weight:800}.chat-log{flex-direction:column;flex:1;gap:.85rem;padding:1rem;display:flex;overflow:auto}.chat-message{align-items:flex-start;gap:.5rem;max-width:90%;display:flex}.chat-message>span{color:#fff;background:var(--brand);border-radius:9px 9px 9px 3px;flex:none;place-items:center;width:28px;height:28px;font-size:.58rem;font-weight:850;display:grid}.chat-message p{border:1px solid var(--line);white-space:pre-wrap;background:#fff;border-radius:4px 12px 12px;margin:0;padding:.7rem .8rem;font-size:.76rem;line-height:1.55}.chat-message.user{flex-direction:row-reverse;align-self:flex-end}.chat-message.user>span{color:var(--brand-dark);background:var(--brand-soft);border-radius:9px 9px 3px}.chat-message.user p{background:#eaf6ef;border-color:#c7e4d5;border-radius:12px 4px 12px 12px}.chat-message.pending p{gap:.25rem;padding:.85rem;display:flex}.chat-message.pending i{background:#8b968e;border-radius:50%;width:5px;height:5px;animation:1s ease-in-out infinite pulse}.chat-message.pending i:nth-child(2){animation-delay:.15s}.chat-message.pending i:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.5}}.starter-prompts{flex-wrap:wrap;gap:.45rem;padding:0 1rem .8rem;display:flex}.starter-prompts button{color:var(--brand-dark);text-align:left;background:#fff;border:1px solid #cddbd2;border-radius:99px;padding:.45rem .6rem;font-size:.65rem}.starter-prompts button:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft)}.prototype-chat>.feedback{margin:0 .8rem .7rem}.chat-composer{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:1fr auto;align-items:end;gap:.5rem;padding:.8rem;display:grid}.chat-composer textarea{resize:none;min-height:44px;max-height:120px}.chat-notice{color:#7d877f;background:var(--surface);margin:0;padding:0 .9rem .8rem;font-size:.6rem;line-height:1.4}.test-lab-panel{overflow:hidden}.run-count{background:var(--brand-soft);border-radius:10px;flex:none;align-items:baseline;gap:.4rem;padding:.6rem .8rem;display:flex}.run-count strong{color:var(--brand-dark);font-size:1.15rem}.run-count span{color:var(--brand-dark);font-size:.66rem}.test-lab-layout{grid-template-columns:minmax(340px,.72fr) minmax(0,1.28fr);align-items:start;display:grid}.test-builder{border-right:1px solid var(--line);flex-direction:column;gap:1.1rem;padding:clamp(1.3rem,2.5vw,2rem);display:flex;position:sticky;top:88px}.test-builder .section-title{padding-bottom:.2rem}.test-builder .section-title>span{margin-bottom:.5rem}.test-type-picker{border:0;grid-template-columns:1fr 1fr;gap:.5rem;margin:0;padding:0;display:grid}.test-type-picker legend{color:#334139;grid-column:1/-1;margin-bottom:.15rem;font-size:.8rem;font-weight:750}.test-type-picker button{border:1px solid var(--line);color:var(--ink);text-align:left;background:#fff;border-radius:10px;flex-direction:column;gap:.18rem;padding:.7rem .75rem;display:flex}.test-type-picker button strong{font-size:.72rem}.test-type-picker button small{color:var(--muted);font-size:.62rem}.test-type-picker button.active{border-color:var(--brand);color:#fff;background:var(--brand);box-shadow:0 5px 16px #176b4d2e}.test-type-picker button.active small{color:#ffffffb8}.run-test-button{width:100%;min-height:48px}.test-history{background:#f7f8f3;min-width:0;padding:clamp(1.3rem,2.5vw,2rem)}.history-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.history-heading h3{margin:.7rem 0 0;font-size:1.1rem}.history-heading>p{color:var(--muted);margin:0;font-size:.65rem}.empty-tests{min-height:260px;color:var(--muted);text-align:center;border:1px dashed #cbd2ca;border-radius:14px;place-content:center;justify-items:center;padding:2rem;display:grid}.empty-tests strong{color:var(--ink);margin-bottom:.4rem}.empty-tests p{max-width:320px;margin:0;font-size:.76rem;line-height:1.5}.test-run-card{border:1px solid var(--line);background:#fff;border-radius:13px;margin-bottom:.7rem;overflow:hidden}.test-run-card.highlighted{box-shadow:0 0 0 3px var(--brand-soft);border-color:#80b99e}.test-run-card>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;list-style:none;display:flex}.test-run-card>summary::-webkit-details-marker{display:none}.test-run-card>summary>div:first-child{align-items:center;gap:.7rem;display:flex}.test-run-card>summary>div:first-child>div{flex-direction:column;gap:.18rem;display:flex}.test-run-card summary strong{text-transform:capitalize;font-size:.78rem}.test-run-card summary small{color:var(--muted);font-size:.62rem}.test-id{width:34px;height:34px;color:var(--brand-dark);background:var(--brand-soft);border-radius:10px 10px 10px 3px;place-items:center;font-size:.65rem;font-weight:850;display:grid}.test-badges{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}.status-badge,.severity-badge,.retest-badge{text-transform:capitalize;border-radius:99px;padding:.25rem .45rem;font-size:.58rem;font-weight:800}.status-badge{color:#8b5816;background:#fff0d9}.status-badge.pass{color:var(--brand-dark);background:var(--brand-soft)}.status-badge.fail{color:var(--danger);background:var(--danger-soft)}.severity-badge{color:#59645c;background:#edf0eb}.severity-badge.high,.severity-badge.critical{color:var(--danger);background:var(--danger-soft)}.severity-badge.medium{color:#8b5816;background:#fff0d9}.retest-badge{color:var(--info);background:var(--info-soft)}.test-run-body{border-top:1px solid var(--line)}.test-comparison{background:#fafbf8;grid-template-columns:1fr 1fr;gap:.7rem;padding:1rem;display:grid}.test-comparison section{background:#fff;border:1px solid #e7eae3;border-radius:9px;padding:.8rem}.test-comparison section:nth-child(3){grid-column:1/-1}.test-comparison span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.4rem;font-size:.58rem;font-weight:800;display:block}.test-comparison p{white-space:pre-wrap;margin:0;font-size:.72rem;line-height:1.55}.review-form{padding:1rem}.review-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.9rem;display:flex}.review-heading>div{flex-direction:column;gap:.15rem;display:flex}.review-heading strong{font-size:.76rem}.review-heading small{color:var(--muted);font-size:.62rem}.review-heading>span{color:#8b5816;font-size:.6rem;font-weight:750}.review-grid{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.review-grid .full-width{grid-column:1/-1}.review-actions{justify-content:space-between;gap:.75rem;margin-top:.8rem;display:flex}.demo-panel{background:#f7f8f3;overflow:hidden}.demo-hero{color:#fff;background:radial-gradient(circle at 85% 20%,#ed9b4059,#0000 28%),linear-gradient(135deg,#0e5139,#193c2f);justify-content:space-between;align-items:flex-end;gap:2rem;min-height:210px;padding:clamp(2rem,5vw,4rem);display:flex}.demo-hero h2{letter-spacing:-.05em;margin:1rem 0 .5rem;font-size:clamp(2rem,5vw,3.8rem)}.demo-hero p{color:#ffffffc2;max-width:650px;margin:0;line-height:1.6}.demo-hero .phase-chip{color:#0e5139;background:#e1f5e9}.demo-ready{color:#ffffffd1;background:#ffffff14;border:1px solid #fff3;border-radius:99px;flex:none;align-items:center;gap:.5rem;padding:.55rem .75rem;font-size:.68rem;font-weight:750;display:flex}.demo-ready>span{background:#70e2aa;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #70e2aa24}.demo-notice{color:#72501e;background:#fff0d9;align-items:baseline;gap:1rem;padding:.8rem clamp(1.4rem,4vw,3rem);display:flex}.demo-notice strong{text-transform:uppercase;letter-spacing:.06em;flex:none;font-size:.68rem}.demo-notice p{margin:0;font-size:.72rem;line-height:1.5}.demo-layout{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);align-items:start;display:grid}.demo-form,.demo-output{min-width:0;padding:clamp(1.4rem,3vw,2.4rem)}.demo-form{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:1.15rem;display:flex}.demo-output{min-height:580px}.demo-section-heading{align-items:flex-start;gap:.75rem;margin-bottom:.5rem;display:flex}.demo-section-heading>span{width:30px;height:30px;color:var(--brand-dark);background:var(--brand-soft);border-radius:9px 9px 9px 3px;flex:none;place-items:center;font-size:.65rem;font-weight:850;display:grid}.demo-section-heading>div{flex-direction:column;gap:.18rem;display:flex}.demo-section-heading strong{font-size:.86rem}.demo-section-heading small{color:var(--muted);font-size:.68rem}.demo-fields{flex-direction:column;gap:1rem;display:flex}.demo-field>span{justify-content:space-between;align-items:center;gap:1rem;display:flex}.demo-field em{color:#8b5816;text-transform:uppercase;background:#fff0d9;border-radius:99px;padding:.18rem .4rem;font-size:.55rem;font-style:normal}.demo-run-button{width:100%;min-height:50px;margin-top:.3rem}.empty-demo-config{color:var(--muted);text-align:center;border:1px dashed #cbd2ca;border-radius:11px;padding:1.2rem}.empty-demo-config strong{color:var(--ink);margin-bottom:.35rem;font-size:.8rem;display:block}.empty-demo-config p{margin:0;font-size:.7rem;line-height:1.45}.output-placeholder{text-align:center;place-content:center;justify-items:center;min-height:420px;padding:2rem;display:grid}.output-mark{width:52px;height:52px;color:var(--brand-dark);background:var(--brand-soft);border-radius:16px 16px 16px 5px;place-items:center;margin-bottom:1rem;font-weight:900;display:grid}.output-placeholder strong{margin-bottom:.35rem;font-size:.85rem}.output-placeholder p{max-width:340px;color:var(--muted);margin:0;font-size:.72rem;line-height:1.5}.output-sections{flex-direction:column;gap:.8rem;margin-top:1.2rem;display:flex}.output-sections article{border:1px solid var(--line);background:#fff;border-radius:13px 13px 13px 4px;padding:1.2rem;box-shadow:0 6px 18px #2031270a}.output-sections article>span{width:26px;height:26px;color:var(--brand-dark);background:var(--brand-soft);border-radius:8px 8px 8px 3px;place-items:center;margin-bottom:.7rem;font-size:.58rem;font-weight:850;display:inline-grid}.output-sections h3{margin:0 0 .3rem;font-size:.88rem}.output-sections article small{color:var(--muted);margin-bottom:.8rem;font-size:.65rem;line-height:1.4;display:block}.output-sections article p{white-space:pre-wrap;margin:0;font-size:.78rem;line-height:1.65}.demo-quota{color:var(--brand-dark);background:var(--brand-soft);border-radius:99px;align-self:flex-end;padding:.45rem .65rem;font-size:.65rem}@media (max-width:900px){.login-page{grid-template-columns:1fr}.login-intro{padding:2rem 1.2rem 3rem}.login-intro .brand-lockup{margin-bottom:3rem}.login-card{margin-bottom:1rem}.workspace-heading{flex-direction:column;align-items:flex-start;gap:.5rem}.workspace-tabs,.guide-stages{grid-template-columns:1fr 1fr}.guide-stages article:nth-child(2){border-right:0}.guide-stages article:nth-child(-n+2){border-bottom:1px solid #dbe7df}.workspace-tabs button:nth-child(2){border-right:0}.workspace-tabs button:nth-child(-n+2){border-bottom:1px solid var(--line)}.panel-heading{flex-direction:column;align-items:flex-start;gap:1rem}.canvas-form fieldset{grid-template-columns:1fr;gap:1rem}.canvas-form legend>div{grid-column:1}.form-grid,.form-grid.identity-grid,.form-grid.three-columns{grid-area:auto/1;grid-template-columns:1fr 1fr}.prototype-layout{grid-template-columns:1fr}.prototype-form{border-right:0}.prototype-chat{border-top:1px solid var(--line);min-height:580px;max-height:none;position:static}.form-section{grid-template-columns:1fr}.section-title small{max-width:440px}.test-lab-layout{grid-template-columns:1fr}.test-builder{border-right:0;border-bottom:1px solid var(--line);position:static}.demo-layout{grid-template-columns:1fr}.demo-form{border-right:0;border-bottom:1px solid var(--line)}}@media (max-width:560px){.login-page{padding:.75rem}.login-intro{padding:1.5rem .6rem 2.5rem}.journey-list{grid-template-columns:1fr}.workspace-header-inner{align-items:flex-start}.session-summary{flex-direction:column;align-items:flex-end;gap:.45rem}.workspace-tabs{grid-template-columns:1fr}.learning-guide-summary{grid-template-columns:1fr auto;gap:.75rem}.guide-progress{grid-area:2/1/auto/-1}.guide-stages{grid-template-columns:1fr}.guide-stages article,.guide-stages article:nth-child(2){border-bottom:1px solid #dbe7df;border-right:0}.guide-stages article:last-child{border-bottom:0}.workspace-tabs button{border-right:0;border-bottom:1px solid var(--line);min-height:84px}.workspace-tabs button:nth-child(3){border-bottom:1px solid var(--line)}.workspace-tabs button:last-child{border-bottom:0}.form-grid,.form-grid.identity-grid,.form-grid.three-columns{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}.form-actions .button{width:100%}.prototype-form .form-grid,.schema-grid,.schema-card-grid,.test-comparison,.review-grid{grid-template-columns:1fr}.test-comparison section:nth-child(3),.review-grid .full-width{grid-column:1}.test-run-card>summary{flex-direction:column;align-items:flex-start}.test-badges{justify-content:flex-start}.demo-hero{flex-direction:column;align-items:flex-start}.demo-notice{flex-direction:column;align-items:flex-start;gap:.3rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}.spinner,.button-spinner{animation-duration:1.5s}}
