/* Public website and member pages share a browsing-oriented, full-width frame. */
.website{--site-width:1280px;background:#fcfcf8;color:#243c34;min-height:100vh}
.site-header{background:#fff;border-bottom:1px solid #e3e9e0}
.site-header-inner{max-width:1440px;margin:auto;padding:22px 38px;display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.site-brand{font-size:1.6rem;font-weight:750;letter-spacing:-1.3px;white-space:nowrap;line-height:1.2}.site-brand span{color:#2c7458}
.site-nav{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.site-nav a{font-size:.95rem;padding:8px 0;border-bottom:2px solid transparent;white-space:nowrap}.site-nav a.selected{border-color:#2a6e51;color:#216a54}
.site-tools{margin-left:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.site-tools .lang{border:0;padding:7px 0;white-space:nowrap}.site-account{font-size:.875rem;padding:7px 0;overflow-wrap:anywhere}.site-tools .font-setting{font-size:.8rem}.site-tools .font-setting select{padding:6px}
.site-main{max-width:var(--site-width);margin:auto;padding:0 36px}.member-main{padding-top:44px;padding-bottom:60px;min-height:60vh}
.market-hero{text-align:center;max-width:970px;margin:auto;padding:64px 0 45px}.market-kicker{text-transform:uppercase;letter-spacing:2px;color:#547460;font-size:.8rem;font-weight:600;margin:0 0 22px;line-height:1.7}
.market-hero h1{font-size:2.85rem;font-weight:600;line-height:1.3;letter-spacing:-1.8px;margin:0 0 25px}.market-intro{font-size:1.05rem;color:#617066;line-height:1.9;max-width:720px;margin:0 auto 32px}
.market-search{max-width:780px;margin:auto;display:flex;align-items:center;gap:12px;padding:10px 10px 10px 22px;border:1px solid #bdccbe;border-radius:12px;background:#fff;box-shadow:0 8px 25px #29422d07;flex-wrap:wrap;text-align:left}.market-search>span{flex-basis:100%;font-size:.75rem;color:#617669}.market-search input{flex:1;min-width:0;border:0;background:none;padding:7px 0;font-size:1rem;color:#243c34}.market-search>a{background:#216a54;color:#fff;padding:12px 24px;border-radius:7px;font-size:.95rem;white-space:nowrap}
.hero-links{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:25px;font-size:.85rem;color:#65786a}.hero-links button{color:#216a54;text-decoration:underline;text-underline-offset:5px}
.market-catalog{padding-top:28px;scroll-margin-top:24px}.market-catalog .sectionhead{align-items:flex-end;margin:0 0 28px}.market-catalog .sectionhead h2{font-size:1.9rem;font-weight:600;letter-spacing:-.8px}.market-catalog .sectionhead .market-kicker{margin:0 0 9px}.market-catalog .sectionhead>p{max-width:410px;line-height:1.8;font-size:.9rem;color:#6d7c70}
.category-filters{border-bottom:1px solid #dfe6da;padding-bottom:15px;gap:12px}.website .chip{font-size:.9rem;padding:10px 16px;color:#52675b}.website .chip.selected{color:#205d44;background:#e3edde;border-color:#cbdcc7}.website .roles{border:0;padding:12px 0 22px;gap:7px}.website .roles .chip{font-size:.8rem;padding:6px 12px}.website .roles>span{margin-right:12px}
.website .grid{gap:26px}.market-card{border-color:#dfe7da;border-radius:12px;box-shadow:none}.appcover{min-height:205px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;color:#385e43}.appcover>span{font-size:.75rem;letter-spacing:1px}.appcover>div{font-size:1.45rem;line-height:1.5;max-width:270px;font-weight:600;letter-spacing:-.5px}.appcover>small{font-size:.75rem;color:#536e56}.market-card:nth-child(2n) .appcover{color:#3a5966}.market-card .cardbody{padding:23px}.market-card .cardbody h3{font-size:1.1rem;line-height:1.6}.market-card .cardbody p{font-size:.9rem;color:#677569;min-height:3.6em}.market-card .cardmeta{font-size:.75rem;color:#59715e}.market-card .creator{font-size:.8rem;color:#6a7c6e}.market-card .price{font-size:.9rem;color:#255d40}.market-card .cardfoot{gap:12px;flex-wrap:wrap}.card-discover{display:block;font-size:.8rem;color:#41634d;margin-top:16px}.market-card:hover{border-color:#9cb398;box-shadow:0 12px 26px #2e49230a}.market-card:focus-visible{outline:3px solid #216a54;outline-offset:4px}
.market-guide{display:grid;grid-template-columns:1fr 1fr;gap:65px;border-top:1px solid #dce4d7;margin-top:82px;padding:64px 0}.market-guide h2,.creator-invite h2{font-size:2.15rem;line-height:1.5;font-weight:550;letter-spacing:-.8px;margin:0 0 24px}.market-guide ol{margin:0;padding-left:25px;display:grid;gap:24px}.market-guide li{padding-left:12px;color:#48604e}.market-guide b{font-size:1rem;font-weight:600}.market-guide li p{font-size:.9rem;line-height:1.9;color:#677b6c;margin:8px 0 0}
.creator-invite{padding:56px;background:#eaf0e3;border-radius:14px;margin:8px 0 80px}.creator-invite p:not(.market-kicker){max-width:700px;font-size:1rem;line-height:1.9;color:#586c59;margin-bottom:28px}.creator-invite .btn{font-size:.9rem;padding:14px 22px}
.site-footer{border-top:1px solid #dfe6d9;background:#f4f6ef;padding:45px max(36px,calc((100vw - 1208px)/2));display:flex;gap:35px;justify-content:space-between;flex-wrap:wrap}.site-footer p{font-size:.85rem;line-height:1.8;color:#667b67;margin-bottom:0}.footer-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font-size:.85rem}.footer-bottom{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;flex-basis:100%;border-top:1px solid #dde4d7;padding-top:22px;color:#62765f;font-size:.75rem}
.member-nav{padding:16px 36px;display:flex;gap:24px;flex-wrap:wrap;justify-content:center;border-bottom:1px solid #e4e9df;background:#f5f7f0}.member-nav button{font-size:.9rem;color:#607360;padding:6px 0;border-bottom:2px solid transparent}.member-nav button.active{color:#216a54;border-color:#216a54}.account-links{display:flex;flex-direction:column;gap:12px;margin-top:22px}.account-links .btn{justify-content:flex-start}
@media(min-width:1151px){.website .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.site-header-inner{gap:20px}.site-tools{flex-basis:100%;justify-content:flex-end}.market-hero{padding-top:65px}.market-guide{gap:35px}.market-hero h1{font-size:2.7rem}}
@media(max-width:800px){.site-header-inner{padding:20px 24px}.site-nav{gap:20px}.site-main{padding-left:24px;padding-right:24px}.site-tools{justify-content:flex-start}.market-hero{padding:48px 0}.market-hero h1{font-size:2.3rem}.market-guide{grid-template-columns:1fr;padding:40px 0;margin-top:50px}.creator-invite{padding:32px;margin-bottom:50px}.market-guide h2,.creator-invite h2{font-size:1.9rem}.member-nav{justify-content:flex-start;padding:15px 24px;gap:18px}.site-footer{padding:35px 24px}.market-search{padding-left:15px}.appcover{padding:22px}.market-catalog .sectionhead>p{margin:0}.hero-links{gap:14px}}
@media(max-width:540px){.site-header-inner{padding:20px;gap:20px}.site-brand{font-size:1.65rem}.site-nav{order:3;width:100%;justify-content:space-between;gap:10px}.site-nav a{font-size:.85rem}.site-tools{order:2;gap:12px}.site-main{padding-left:20px;padding-right:20px}.site-tools .font-setting{font-size:.75rem}.site-tools .lang{font-size:.8rem}.site-tools .btn{font-size:.8rem}.site-account{font-size:.8rem}.market-hero{text-align:left;padding-top:40px}.market-hero h1{font-size:1.8rem;letter-spacing:-1px;text-wrap:balance}.market-hero h1 br{display:none}.market-intro{font-size:.95rem}.market-kicker{font-size:.75rem;letter-spacing:1.5px}.market-search{gap:8px;padding:13px}.market-search input{flex-basis:100%;font-size:.9rem}.market-search>a{text-align:center;flex-basis:100%;padding:11px 14px}.hero-links{justify-content:flex-start;font-size:.8rem}.market-catalog .sectionhead h2{font-size:1.7rem}.website .chip{padding:8px 12px;font-size:.85rem}.website .grid{gap:22px}.appcover{min-height:180px}.market-guide h2,.creator-invite h2{font-size:1.7rem}.creator-invite{padding:27px}.creator-invite .actions{align-items:stretch;flex-direction:column}.site-footer{padding:32px 20px}.footer-links{gap:18px}.member-main{padding-top:30px}.member-nav{gap:14px}.member-nav button{font-size:.8rem}}

/* Keep frequent creation actions in the header, including while browsing lower sections. */
.site-header{position:sticky;top:0;z-index:20}
.site-header-inner{gap:22px}.site-quick-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.site-quick-actions .btn{font-size:.85rem;padding:11px 15px;white-space:nowrap}.quick-publish.current{border-color:#216a54;color:#216a54}
.market-catalog{scroll-margin-top:160px}
@media(max-width:1100px) and (min-width:541px){.site-tools{flex-basis:auto;gap:10px}.site-quick-actions{margin-left:auto}.site-header-inner{gap:16px}}
@media(max-width:540px){.site-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 20px}.site-header-inner>.site-brand{grid-row:1;grid-column:1;font-size:1.45rem}.site-quick-actions{display:contents}.site-quick-actions .btn{font-size:.8rem;padding:10px 12px}.quick-create{grid-row:1;grid-column:2}.quick-publish{grid-row:2;grid-column:2}.site-nav{grid-row:2;grid-column:1;width:auto;justify-content:flex-start}.site-tools{grid-row:3;grid-column:1/-1;margin:0;gap:10px}.market-catalog{scroll-margin-top:240px}}
/* Buyer purchases and creator sales have separate entry points. */
.member-nav{align-items:center;gap:16px 32px}
.member-link-group{min-width:0}.member-link-group h3{font-size:.78rem;letter-spacing:.4px;color:#647867;font-weight:600;margin:0 0 9px}
.member-link-group>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.member-nav .member-link-group{border-right:1px solid #dce5d6;padding-right:28px}.member-nav .member-link-group:last-child{border:0;padding-right:0}
.member-nav a{font-size:.85rem;padding:5px 0;color:#526b57;border-bottom:2px solid transparent}.member-nav a.active{color:#216a54;border-color:#216a54;font-weight:600}
.member-section-label{font-size:.85rem;color:#597b60;font-weight:600;margin:0 0 12px;letter-spacing:1px}.member-page-actions{margin-bottom:24px}
.account-groups{display:grid;gap:22px;margin-top:25px}.account-groups .member-link-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-groups .btn{justify-content:flex-start;text-align:left;line-height:1.6}
.account-bottom{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.order-number{display:inline-block;max-width:18rem;overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:.85em}
@media(max-width:800px){.member-nav{align-items:stretch;justify-content:flex-start;gap:15px}.member-nav .member-link-group{padding-right:18px}.member-link-group>div{gap:12px}}
@media(max-width:540px){.member-nav{display:grid;grid-template-columns:1fr;padding:16px 20px;gap:12px}.member-nav .member-link-group{border:0;padding:0;display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:10px;align-items:start}.member-nav .member-link-group h3{font-size:.75rem;margin:5px 0}.member-nav a{font-size:.8rem}.member-nav .member-link-group>div{gap:6px 16px}.account-groups .btn{font-size:.85rem}}
.intro-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;color:#607766;font-size:.8rem;line-height:1.7}.intro-meta output{white-space:nowrap}#f-introduction{min-height:140px}
.clarification-panel{border-color:#b6ceb2;background:#f8fbf4}.clarification-question{border:0;padding:0;margin:0 0 26px;min-width:0}.clarification-question legend{font-weight:600;line-height:1.7;margin-bottom:14px}.choice-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #d7e3cf;background:#fff;border-radius:8px;padding:14px;margin:10px 0;cursor:pointer;line-height:1.7}.choice-option input{margin:6px 0 0;flex-shrink:0;accent-color:#216a54}.choice-option:has(input:checked){background:#e9f2e3;border-color:#216a54}.clarification-question .field{margin-top:15px;font-size:.85rem}.clarification-question textarea{background:white}.studio details>summary{cursor:pointer;line-height:1.7}

@media(max-width:800px){.studio:has(.clarification-panel)>div{order:-1}}
.review-workspace{width:1180px;max-width:100%;}.review-toolbar{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:-30px;background:#fff;border-bottom:1px solid #e0e7dc;padding:18px 0;z-index:2;margin-bottom:20px}.review-toolbar .btn{flex:1;min-width:100px}
.review-app-frame{height:420px;margin-bottom:20px}.review-app-frame.large-preview{height:70vh}.review-tools{margin-bottom:15px}.review-workspace details{margin:20px 0;line-height:1.8}.review-workspace summary{cursor:pointer;font-weight:600}.review-report-summary{display:flex;flex-direction:column;gap:10px;padding:16px;background:#f2f6ee;border:1px solid #d7e3d0;border-radius:9px}.review-report-summary span{font-size:.85rem}
.similarity-match{border:1px solid #dfe7d9;border-radius:10px;padding:18px;margin-top:16px}.similarity-scores{font-size:.85rem;line-height:1.8}.download-signal{background:#fff0da;color:#865d2b}.review-price-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.review-price-summary>span{background:#f1f6eb;padding:18px;border-radius:8px;font-size:.85rem}.review-price-summary b{display:block;font-size:1.6rem;margin-top:10px}.review-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.review-compare-grid>div{min-width:0}.review-workspace [hidden]{display:none!important}
@media(max-width:800px){.review-compare-grid{grid-template-columns:1fr}.review-price-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.review-toolbar{top:-22px}}
@media(max-width:540px){.review-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.review-toolbar .btn{min-width:0}}

.sponsor-placement{border:1px solid var(--border,#dce5df);border-radius:12px;padding:16px 22px;margin:24px 0;background:#f8faf8;display:flex;align-items:flex-start;gap:22px}.sponsor-label{font-size:.8rem;color:#626f67;border:1px solid #cbd6ce;border-radius:4px;padding:2px 7px;white-space:nowrap}.sponsor-placement a{display:block;color:inherit;text-decoration:none;flex:1}.sponsor-placement strong{font-size:1.15rem}.sponsor-placement p{margin:7px 0;overflow-wrap:anywhere}.sponsor-placement a>span{font-size:.9rem;color:#22664f}.sponsor-placement a:focus-visible{outline:3px solid #22664f;outline-offset:5px}#trace-result{margin-top:24px;overflow-wrap:anywhere}@media(max-width:600px){.sponsor-placement{padding:16px;gap:12px}}

.project-workflow{display:flex;flex-direction:column;gap:22px}.project-workflow .panel{margin:0;min-width:0}.workflow-steps{font-size:.95rem;color:#426252;line-height:1.8}.requirements-details>summary{cursor:pointer;font-size:1.1rem;font-weight:600;padding:8px 0}.requirements-details #project-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.requirements-details #project-form .field{margin:0}.requirements-details #project-form button{align-self:end}.spec-preview{line-height:1.9;padding:22px;background:#f8faf7;border:1px solid #dbe4da;border-radius:8px;margin:18px 0;max-height:65vh;overflow:auto}.spec-preview pre{font-family:inherit;font-size:1rem;margin:0}.spec-actions{margin-top:18px}#spec-content{width:100%;min-height:50vh;padding:18px;line-height:1.8;margin-top:12px}.project-workflow .previewbar{flex-wrap:wrap;gap:18px;margin-bottom:18px}.project-workflow h2{font-size:1.35rem}.project-wide-preview{height:72vh!important;min-height:540px!important;width:100%}.preview-window{width:calc(100vw - 32px)!important;max-width:none!important;height:calc(100dvh - 32px);max-height:none!important;padding:18px!important;display:flex;flex-direction:column;overflow:hidden!important}.preview-window .modalhead{flex-shrink:0;margin-bottom:12px}.preview-window .app-preview{flex:1;height:0;min-height:0;width:100%}.template-options{margin-top:20px}.template-options summary{cursor:pointer;margin-bottom:14px}.app-preview{min-height:400px}.specification-panel [hidden]{display:none!important}@media(max-width:700px){.requirements-details #project-form{grid-template-columns:1fr}.project-wide-preview{min-height:460px!important;height:70vh!important}.preview-window{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px);padding:10px!important}.spec-preview{padding:14px}.project-workflow .previewbar .actions{width:100%}}
.workflow-jumps{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:88px;z-index:5;background:#fff;padding:10px;border:1px solid #e1e8de;border-radius:8px}.project-workflow>section{scroll-margin-top:165px}
@media(max-width:700px){.workflow-jumps{position:static}.project-workflow>section{scroll-margin-top:185px}}
.workflow-step{display:flex;flex-direction:column;gap:18px}.workflow-step>h2{margin:0}.requirements-submit{grid-column:1/-1;padding:20px;background:#f2f7ef;border:1px solid #d9e5d4;border-radius:10px}.model-budget-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.requirements-submit .actions{margin-top:18px}.requirements-submit p{line-height:1.8}.workflow-step>.panel{margin:0}@media(max-width:700px){.model-budget-fields{grid-template-columns:1fr}.requirements-submit{padding:14px}}
.runtime-shell{width:100%;min-width:0}.runtime-shell h1{font-size:1.5rem}.runtime-shell #runtime-frame{width:100%;height:78vh;min-height:540px;border:1px solid #dce5db;border-radius:10px;background:#fff}.runtime-ad .sponsor-placement{margin:14px 0}.runtime-ad video{width:300px;max-width:100%;max-height:180px;display:block;background:#111}.market-card .btn{margin-top:12px}#enterprise-invite-result code{display:block;overflow-wrap:anywhere;padding:18px;background:#f2f6ef}.runtime-shell .previewbar{flex-wrap:wrap}@media(max-width:700px){.runtime-shell #runtime-frame{height:70vh;min-height:430px}}

.workflow-step-link.is-current{background:#226b56;color:#fff;border-color:#226b56;box-shadow:0 0 0 2px #226b5620}.workflow-current-label{font-size:.76em;margin-left:8px;padding:2px 6px;border-radius:4px;background:#ffffff24}.workflow-current-label[hidden]{display:none}#revision-progress{scroll-margin-top:170px}#revision-progress:not(:empty){margin:18px 0}

/* v0.22: one stage at a time, with an explicit next action. */
.journey-workflow [data-workflow-pane][hidden]{display:none!important}.journey-workflow .workflow-steps{display:none}.studio-heading,.journey-project{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.studio-heading p,.journey-project p{margin:8px 0;color:#52675b}.studio-project-picker{display:flex;gap:10px;align-items:center;max-width:50%}.studio-project-picker select{max-width:260px;min-width:140px;padding:10px;background:#fff;border:1px solid #dce5df;border-radius:6px;font:inherit}.studio-project-picker label{white-space:nowrap;font-size:.9rem}.journey-project{margin:0;padding:20px 24px;background:#f0f5ee;border:1px solid #dde7d9;border-radius:12px}.journey-project h2{margin:0}.journey-workflow .workflow-jumps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;top:88px}.journey-workflow .workflow-step-link{position:relative;text-align:left;display:flex;flex-wrap:wrap;align-content:flex-start;justify-content:flex-start;gap:6px;padding:14px;min-width:0;white-space:normal}.workflow-step-link strong{font-size:.98rem;width:100%}.workflow-step-description{display:block;width:100%;font-size:.82rem;font-weight:400;opacity:.85}.journey-workflow .workflow-current-label{margin:0}.workflow-completed-label{font-size:.72rem;font-weight:400;opacity:.85}.journey-pane{padding:26px!important;scroll-margin-top:210px!important}.journey-heading{margin-bottom:22px}.journey-heading h2{margin:6px 0}.journey-heading p{margin:8px 0;line-height:1.65}.journey-workflow .eyebrow{font-size:.8rem;letter-spacing:.06em;font-weight:650;color:#50725d;margin:0 0 6px}.journey-note,.journey-success{padding:20px;background:#f0f6ed;border:1px solid #d7e5d0;border-radius:9px;margin:18px 0;line-height:1.7}.journey-note p,.journey-success p{margin:8px 0}.journey-warning,.revision-submit-error{color:#984827;line-height:1.65}.journey-secondary{margin-top:18px;padding-top:16px;border-top:1px solid #e1e7de}.journey-secondary summary{cursor:pointer;font-weight:600}.journey-nextbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0 0;margin-top:24px;border-top:1px solid #e1e7de}.journey-nextbar p{font-size:.9rem;margin:6px 0;color:#52675b}.requirement-group{border:0;padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid #e1e7de;min-width:0}.requirement-group legend{font-size:1.1rem;font-weight:650}.requirement-group>p{color:#52675b;margin:10px 0 18px}.requirement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.requirement-grid .field{margin:0}.requirement-grid .field:has(#f-introduction){grid-column:1/-1}.guided-requirements textarea{min-height:105px;resize:vertical;line-height:1.7}.guided-requirements #f-introduction{min-height:115px}.requirements-details #project-form.guided-requirements{display:block}.guided-requirements .requirements-submit{background:#fff;border:0;border-top:1px solid #dce5df;border-radius:0;padding:18px 0;position:sticky;bottom:0;z-index:3}.specification-panel .spec-save{display:none}.specification-panel .is-editing .spec-save{display:inline-flex}.journey-workflow .spec-preview{max-height:none;overflow:visible;line-height:1.8}.journey-workflow #spec-content{min-height:420px}.creation-preview-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.creation-result{min-width:0}.creation-revision{background:#f7f9f4;border:1px solid #dce5d7;border-radius:10px;padding:20px;min-width:0}.creation-revision h3{margin-top:0}.creation-revision p{font-size:.92rem;line-height:1.7}.revision-editor fieldset{border:0;padding:0;margin:0;min-width:0}.revision-editor textarea{width:100%;font:inherit;line-height:1.7;padding:12px;min-height:130px;resize:vertical;margin:8px 0 16px}.revision-editor .field{margin:10px 0}.revision-editor .btn{width:100%}.trial-checklist{padding:18px 0;line-height:1.75}.trial-checklist h3{font-size:1rem;margin:0 0 8px}.trial-checklist p{margin:6px 0;color:#52675b}.journey-workflow .project-wide-preview{height:70vh!important;min-height:560px!important}.publication-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px}.publication-choices>div{padding:24px;border:1px solid #dce5d7;border-radius:10px;line-height:1.75}.publication-choices>div:last-child{background:#f0f6ed}.journey-workflow h2:focus{outline:none}.journey-workflow .btn:focus-visible,.workflow-step-link:focus-visible{outline:3px solid #286d57;outline-offset:3px}.journey-workflow .panel .panel{padding:20px}.journey-workflow .revision-progress-card{margin:0 0 20px;padding:18px}.revision-progress-card h3{margin-top:0}.studio-welcome{max-width:760px;margin:36px auto!important;line-height:1.8}
@media(max-width:1100px){.creation-preview-grid{grid-template-columns:minmax(0,1fr) 290px}.studio-project-picker label{display:none}.journey-workflow .workflow-jumps{top:88px}.journey-workflow .workflow-step-link{padding:11px}.workflow-step-description{font-size:.75rem}}
@media(max-width:800px){.creation-preview-grid,.publication-choices{grid-template-columns:1fr}.studio-heading{align-items:flex-start;flex-direction:column}.studio-project-picker{max-width:100%;width:100%}.studio-project-picker select{flex:1;max-width:none}.journey-project{padding:18px}.journey-pane{padding:18px!important;scroll-margin-top:240px!important}.journey-workflow .workflow-jumps{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.requirement-grid{grid-template-columns:1fr}.journey-nextbar{flex-wrap:wrap}.guided-requirements .requirements-submit{position:static}.guided-requirements .requirements-submit .actions{width:100%;display:flex}.journey-workflow .project-wide-preview{height:65vh!important;min-height:460px!important}.creation-revision{padding:18px}}
@media(prefers-reduced-motion:reduce){.journey-workflow *{scroll-behavior:auto!important}}

.journey-workflow .revision-progress-card h3{font-size:1.02rem;margin:0 0 8px}.journey-workflow .revision-progress-card p{font-size:.9rem;line-height:1.65;margin:8px 0}.journey-workflow .revision-progress-card .actions{margin:12px 0 0;gap:8px}.journey-workflow .journey-project>.status{white-space:nowrap}

.journey-project>.status{flex-shrink:0;white-space:nowrap}.journey-project>div{min-width:0}.document-reader h3,.document-reader h4,.document-reader h5{margin:1.2em 0 .5em;font-size:1.05em}.document-reader h3:first-child{margin-top:0}.document-reader p{margin:.6em 0;white-space:pre-wrap;overflow-wrap:anywhere}.document-reader ul{padding-left:1.5em}.document-reader pre{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:800px){.journey-project p:last-child{font-size:.85rem}.journey-workflow .workflow-step-description{font-size:.8rem}}

.publication-editor[hidden],.publication-choices[hidden]{display:none!important}.publication-editor{margin-top:22px;scroll-margin-top:210px}.publication-editor #publish-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.publication-editor #publish-form .field{margin:0;min-width:0}.publication-editor #publish-form .field:has(textarea),.publication-editor #publish-form>.agree,.publication-editor #publish-form>button,.publication-editor #publish-form>p,.publication-editor #publish-form>fieldset{grid-column:1/-1}.publication-editor [data-submit-error]{color:#984827}@media(max-width:800px){.publication-editor #publish-form{grid-template-columns:1fr}}

.course-reference{padding:18px;background:#f0f6ed;border:1px solid #d7e5d0;border-radius:8px;margin:0 0 24px;line-height:1.7}.course-reference p{margin:8px 0 0}.course-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.course-card-grid .course-card{padding:18px;border:1px solid #dce5d7;border-radius:8px;margin:0;min-width:0}.course-card .field{margin:0 0 14px}.course-field-hint{font-size:.86rem;color:#52675b;line-height:1.65;margin:6px 0 10px}.course-requirements textarea{min-height:100px}.revision-editor [data-revision-mode][hidden]{display:none!important}.revision-editor [data-revision-mode] legend{font-size:.92rem;font-weight:600;margin:8px 0}.revision-editor [data-revision-mode] textarea{min-height:82px;margin-bottom:8px}.course-acceptance{margin-top:16px}.course-acceptance summary{cursor:pointer;font-weight:600}.course-acceptance ul{padding-left:1.4em;line-height:1.9}@media(max-width:800px){.course-card-grid{grid-template-columns:1fr}}
/* Screenshot consent is revealed only after a valid attachment is selected. */
.revision-screenshots [hidden]{display:none!important}
.revision-screenshots{margin:16px 0;padding:12px;border:1px solid var(--line,#ddd);border-radius:12px}
.revision-screenshots figure{margin:10px 0}
.revision-screenshots figcaption{overflow-wrap:anywhere}

/* Compact image attachments shared by revision forms and the APP composer. */
.revision-screenshots{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0;border:0;margin:10px 0}
.attachment-add{display:inline-grid!important;place-items:center;cursor:pointer;width:32px;height:32px;border-radius:50%;background:transparent;color:#777;font-size:23px;margin:0!important;flex-shrink:0}
.attachment-add:hover{background:#e8e8e8}
.attachment-preview{display:flex;gap:8px;flex-wrap:wrap}
.attachment-preview:empty{display:none}
.attachment-preview figure{position:relative;margin:0!important;width:56px;height:56px}
.attachment-preview img{width:56px;height:56px;object-fit:cover;border:1px solid #ddd;border-radius:9px}
.attachment-preview button{position:absolute;right:-5px;top:-5px;width:18px;height:18px;border-radius:50%;padding:0;background:#333;color:#fff;line-height:16px;font-size:14px}
.revision-screenshots [data-image-error]:empty{display:none}
.revision-screenshots [data-image-error]{width:100%;margin:0;color:#a23c28;font-size:.78rem}
.revision-import{display:flex;align-items:center;gap:8px;margin:10px 0}
.revision-import .attachment-add{width:auto;border-radius:8px;font-size:.78rem;padding:0 10px}
/* Shared project memory markers: quiet until hovered or opened. */
#project-memory-rail{--memory-left:max(8px,calc((100vw - 1320px)/2 - 30px));position:fixed;left:var(--memory-left);top:0;bottom:0;width:30px;z-index:24;pointer-events:none;color:#333}
#project-memory-rail[hidden],#project-memory-rail [hidden]{display:none!important}
.memory-ticks{position:absolute;top:50%;transform:translateY(-50%);max-height:62vh;width:30px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;pointer-events:auto;padding:4px 0}
.memory-ticks::-webkit-scrollbar{display:none}
.memory-tick{display:flex;align-items:center;justify-content:flex-start;width:30px;height:16px;padding:0 3px;border:0;background:transparent;border-radius:3px;cursor:pointer}
.memory-tick span{display:block;height:2px;background:#b7b7b7;transition:background .12s,height .12s}
.memory-tick:hover span,.memory-tick:focus-visible span,.memory-tick.is-active span{background:#333;height:3px}
.memory-tick:focus-visible{outline:1px solid #aaa;outline-offset:-1px}
.memory-peek{position:fixed;left:calc(var(--memory-left) + 36px);width:340px;max-width:calc(100vw - 60px);padding:14px 16px;border:1px solid #e5e5e5;border-radius:14px;background:#fff;box-shadow:0 6px 28px #00000014;pointer-events:auto}
.memory-peek strong{font-size:.82rem;font-weight:600}.memory-peek small{display:block;color:#888;font-size:.7rem;margin-top:5px}
.memory-peek p{font-size:.82rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:155px;overflow:hidden;margin:10px 0 0}
.memory-drawer{position:fixed;left:calc(var(--memory-left) + 36px);top:90px;bottom:140px;width:420px;max-width:calc(100vw - 60px);background:#fff;border:1px solid #e5e5e5;border-radius:16px;box-shadow:0 8px 40px #00000017;pointer-events:auto;display:flex;flex-direction:column;overflow:hidden}
.memory-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;font-size:.9rem;border-bottom:1px solid #eee}
.memory-drawer-head button{width:28px;height:28px;border:0;border-radius:50%;font-size:22px;color:#777;background:transparent}.memory-drawer-head button:hover{background:#f1f1f1}
.memory-drawer .memory-search{margin:12px 14px;width:calc(100% - 28px);padding:9px 12px;border:1px solid #e5e5e5;border-radius:9px;background:#fafafa;font-size:.8rem}
.memory-entries{overflow:auto;flex:1;padding:0 16px 12px;overscroll-behavior:contain}
.memory-entries article{padding:16px 0;border-top:1px solid #eee;scroll-margin:16px;outline:none}
.memory-entries article:focus{background:#f7f7f7;border-radius:8px;box-shadow:0 0 0 8px #f7f7f7}
.memory-entries header strong{font-size:.82rem}.memory-entries header small{display:block;color:#888;font-size:.68rem;margin-top:4px}
.memory-entries p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82rem;line-height:1.8;margin:10px 0}
.memory-stage-link{font-size:.72rem;color:#777;padding:4px 0;border:0;background:transparent}.memory-stage-link:hover{text-decoration:underline}.memory-empty{color:#999}
html[data-agent-app] #project-memory-rail{--memory-left:254px}
html[data-agent-app]:has(.rail-closed) #project-memory-rail{--memory-left:8px}
html.has-memory-rail:not([data-agent-app]) #studio-body{margin-left:24px}
@media(max-width:1100px){html[data-agent-app] #project-memory-rail{--memory-left:224px}}
@media(max-width:750px){html[data-agent-app] #project-memory-rail{--memory-left:196px}.memory-drawer{top:76px;bottom:130px;width:calc(100vw - var(--memory-left) - 48px)}.memory-peek{width:min(340px,calc(100vw - var(--memory-left) - 48px))}}

.listing-price-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;grid-column:1/-1;margin:12px 0 20px}.listing-price-pair>div{min-width:0}.listing-price-pair [data-price-reference]{display:block;margin-top:6px;color:#888;font-size:.75rem;line-height:1.7}.listing-extra-details{grid-column:1/-1;margin:12px 0 20px}.listing-extra-details>summary{cursor:pointer;color:#777;font-size:.82rem;padding:8px 0}@media(max-width:650px){.listing-price-pair{grid-template-columns:1fr}}

.listing-taxonomy{grid-column:1/-1;margin:10px 0 20px}.taxonomy-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 8px;font-size:.85rem}.taxonomy-heading button{font-size:.76rem;color:#777;padding:4px 8px;border-radius:6px;background:transparent}.taxonomy-heading button:hover{background:#f0f0f0}.listing-taxonomy>.field>label:empty{display:none}.taxonomy-choices{display:flex;flex-wrap:wrap;gap:8px}.taxonomy-choices label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;border:1px solid #e3e3e3;border-radius:9px;padding:7px 10px;margin:0!important;font-size:.8rem;cursor:pointer}.taxonomy-choices label:has(input:checked){background:#f0f0f0;border-color:#aaa}.taxonomy-choices input{width:auto!important;margin:0!important;accent-color:#333}.taxonomy-new-entry{display:flex;align-items:center;gap:8px;margin-top:12px}.taxonomy-new-entry[hidden]{display:none!important}.taxonomy-new-entry input{min-width:0;flex:1}.taxonomy-new-entry button{font-size:.8rem;white-space:nowrap;padding:7px}.taxonomy-error{color:#ba3529;font-size:.76rem;margin:6px 0}.taxonomy-error:empty{display:none}.review-metadata{margin:20px 0;border-top:1px solid #eee;padding-top:16px}.review-metadata>summary{cursor:pointer;font-size:.9rem;font-weight:600}.review-metadata form{margin-top:16px}

.home-catalog .category-filters:empty{display:none}

/* One visible row of personalized occupation choices; all other roles remain selectable. */
.taxonomy-role-line{display:flex;align-items:center;gap:10px;min-width:0}.taxonomy-role-quick{flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.taxonomy-role-quick label{flex:0 0 auto;white-space:nowrap}.taxonomy-role-line>[data-taxonomy-role-toggle]{flex:0 0 auto;white-space:nowrap;padding:7px 10px;border:1px solid #ded8d2;border-radius:8px;background:transparent;font-size:.8rem}.taxonomy-role-extra{margin-top:10px}.taxonomy-role-extra[hidden]{display:none!important}.role-filter-quick{flex-wrap:nowrap!important;overflow-x:auto;justify-content:flex-start}.role-filter-quick .chip{flex:0 0 auto;white-space:nowrap}
