@charset "UTF-8";
/* /styles.css */
@font-face{font-family:SUIT;src:url("/v/ba8fffcc083e2619/assets/vendor/suit-v2.0.5/SUIT-Variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--page:#F7F8FA;--surface:#FFFFFF;--ink:#171C27;--body:#3C4554;--muted:#626B7A;--line:#E4E7ED;--brand:#712F55;--brand-hover:#5D2546;--brand-soft:#F5E8EF;--green:#226A4B;--green-soft:#EAF5EF;--amber:#8A5A14;--amber-soft:#FFF4DB;--red:#A33142;--red-soft:#FCEDEF;--paper:var(--page);--white:var(--surface);--blue:var(--brand);--blue-soft:var(--brand-soft);--sans:SUIT,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;--serif:var(--sans);--radius:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--body);font-family:var(--sans);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{color:var(--ink);line-height:1.3;letter-spacing:-.035em}h1{font-weight:760}h2,h3,h4{font-weight:700}p{word-break:keep-all;overflow-wrap:anywhere}ul,ol{padding-left:24px}i.ph{flex-shrink:0;vertical-align:-.1em}button i.ph,a i.ph{font-size:20px}::selection{background:#E7C9DB;color:var(--ink)}:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--brand);outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:16px;padding:12px 20px;background:var(--brand);color:white;border-radius:8px;z-index:100}.skip-link:focus{top:12px}#main:focus{outline:0}.container{max-width:1408px;padding:0 64px;margin:0 auto;min-width:0}.content-area{padding-bottom:80px;min-height:400px}.small-label,.eyebrow{display:block;color:var(--muted);font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;margin-bottom:12px}.muted,.helper{color:var(--muted)}.helper{font-size:14px;line-height:1.75}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;overflow-wrap:anywhere}.metadata-pre{white-space:pre-wrap;overflow-wrap:anywhere}.provider-bio,.proposal-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.provider-bio{margin:12px 0}.helper-space{margin-top:24px}.external-link{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.site-header{max-width:1408px;min-height:80px;padding:16px 64px;margin:0 auto;display:flex;align-items:center;gap:24px;position:relative;z-index:10}.wordmark{display:inline-flex;align-items:center;gap:12px;color:var(--ink);font-size:32px;font-weight:800;letter-spacing:-1.8px;line-height:1;white-space:nowrap}.brand-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:var(--brand);border-radius:6px;color:white}.brand-icon .ph{font-size:30px}.brand-dot{color:var(--brand)}.site-header nav{display:flex;align-items:center;gap:28px;margin-left:28px;min-width:0}.site-header nav a{font-weight:600;font-size:16px;white-space:nowrap;padding:8px 0}.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--brand)}.header-action{flex-shrink:0}.header-login{margin-left:auto;font-weight:600;max-width:150px;overflow-wrap:anywhere;font-size:14px}.header-context{margin-left:auto;display:flex;flex-direction:column;gap:3px;min-width:0;max-width:220px}.header-context:not(.hidden)+.header-login{margin-left:0}.header-context label{font-size:12px;color:var(--muted);font-weight:600}.header-context select{min-width:0;max-width:100%;width:100%;padding:8px 28px 8px 10px;background:var(--surface);color:var(--body);border:1px solid var(--line);border-radius:8px;font-size:14px}.menu-toggle{display:none;align-items:center;justify-content:center;gap:6px;min-height:44px;background:transparent;color:var(--ink);padding:8px;font-size:14px}.menu-toggle .ph{font-size:24px}.site-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;max-width:1408px;padding:48px 64px;margin:0 auto;border-top:1px solid var(--line)}.site-footer p{font-size:14px;color:var(--muted);margin-top:18px;line-height:1.8}.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:14px}.footer-links a:hover{text-decoration:underline;text-underline-offset:4px}.footer-note{font-size:13px;color:var(--muted)}.footer-note>strong{font-size:14px;color:var(--body)}.footer-note>span{display:block;margin-top:24px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;background:var(--brand);color:white;border:1px solid transparent;border-radius:8px;font-size:16px;line-height:1.4;font-weight:650;text-align:center;max-width:100%;overflow-wrap:anywhere}.button:hover:not(:disabled){background:var(--brand-hover)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--body)}.button.secondary:hover:not(:disabled){background:var(--brand-soft);border-color:#D4B3C6;color:var(--brand)}.button.dark{background:var(--ink)}.button.small{min-height:42px;padding:10px 16px;font-size:14px}.button.danger{background:var(--red-soft);color:var(--red);border-color:#EBC7CF}.button.danger:hover:not(:disabled){background:#F6DCE3}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:4px}.subtle-button,.receipt-download{background:transparent;color:var(--brand);font-size:14px;font-weight:650;padding:10px 0;text-align:left}.receipt-download{display:block;margin-top:18px;text-decoration:underline;text-underline-offset:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--body);flex-shrink:0}
/* Selected comparison-studio landing: actual form controls, explicitly illustrative proposals. */
.home-hero{padding-top:48px;padding-bottom:20px}.home-hero h1{font-size:64px;line-height:1.18;letter-spacing:-.045em;max-width:1150px}.home-intro{font-size:20px;line-height:1.6;margin-top:22px;max-width:1120px;color:var(--muted)}#home-request-form{margin-top:28px}.home-composer{display:grid;grid-template-columns:90px minmax(0,1fr) 240px;align-items:center;gap:16px;background:var(--surface);padding:16px 20px;border-radius:12px}.home-composer label{font-size:16px;font-weight:700;color:var(--ink)}.home-composer textarea{width:100%;min-width:0;min-height:56px;max-height:260px;resize:vertical;padding:14px 18px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--body);font-size:18px;line-height:1.5}.home-composer textarea::placeholder{color:var(--muted);opacity:1}.home-composer>.button{min-height:56px;font-size:18px}.home-composer-notes{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:14px;color:var(--muted);margin:6px 4px 0}.home-comparison-band{background:var(--surface);padding:20px 0}.home-comparison{background:#FBF4F8;border-radius:12px;padding:24px 28px 16px}.comparison-heading h2{font-size:28px;line-height:1.3}.comparison-heading p{font-size:15px;color:var(--muted);margin-top:4px}.comparison-heading p strong{font-weight:600}.comparison-proposals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.comparison-proposal{min-width:0}.comparison-proposal h3{font-size:18px;padding:12px 20px;text-align:center;background:#F0E6EC;border-radius:8px 8px 0 0;line-height:1.4}.comparison-proposal:first-child h3{color:var(--brand);background:#EEDCE7}.comparison-proposal dl{margin:0}.comparison-fact{display:grid;grid-template-columns:36% minmax(0,1fr);min-height:44px;background:#FFF9FC}.comparison-fact dt,.comparison-fact dd{padding:10px 16px;font-size:15px;line-height:1.5;border-bottom:1px solid var(--line);min-width:0;overflow-wrap:anywhere}.comparison-fact dt{color:var(--ink);background:#F0F0F4;font-weight:600}.comparison-fact dd{margin:0;color:var(--body);word-break:keep-all;overflow-wrap:anywhere}.comparison-fact:first-child dd{font-size:18px;font-weight:700;color:var(--ink)}.comparison-disclaimer{margin-top:10px;font-size:14px;color:var(--muted)}.home-principles{padding-top:24px;padding-bottom:40px;background:var(--surface)}.home-principles h2{font-size:24px}.home-principle-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:18px}.home-principle-list article{display:flex;align-items:flex-start;gap:16px;min-width:0}.home-principle-list h3{font-size:18px}.home-principle-list p{font-size:15px;line-height:1.55;color:var(--muted);margin-top:6px}.principle-icon{display:inline-flex;align-items:center;justify-content:center;background:var(--brand-soft);color:var(--brand);border-radius:50%;width:56px;height:56px;flex-shrink:0}.principle-icon .ph{font-size:30px}.home-process{padding-top:48px;padding-bottom:64px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.section-heading h2{font-size:30px}.section-heading p{color:var(--muted);font-size:16px;margin-top:12px}.home-process-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0;gap:32px}.home-process-list li{min-width:0}.home-process-list li>span{font-size:14px;color:var(--brand);font-weight:700}.home-process-list h3{font-size:20px;margin:10px 0}.home-process-list p{font-size:15px;line-height:1.8;color:var(--muted)}.home-role-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px}.home-role-links>a{display:flex;align-items:center;gap:18px;padding:24px;background:var(--surface);border-radius:12px}.home-role-links>a>.ph{font-size:26px;color:var(--brand)}.home-role-links>a>.ph:last-child{margin-left:auto;font-size:20px}.home-role-links strong{display:block;color:var(--ink)}.home-role-links small{display:block;font-size:14px;color:var(--muted);margin-top:4px}.home-role-links>a:hover{background:var(--brand-soft)}
.page-head{padding:48px 0 32px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-width:0}.page-head>div{min-width:0}.page-head h1{font-size:36px;line-height:1.3}.page-head p{font-size:16px;max-width:840px;color:var(--muted);margin-top:12px}.page-head>.button{flex-shrink:0}.two-column{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}.two-column>*{min-width:0}.two-column>div>.panel+.panel{margin-top:24px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:28px;min-width:0}.panel+.panel{margin-top:24px}.panel h2{font-size:24px}.panel h3{font-size:19px}.panel h4{font-size:17px}.panel p+p{margin-top:12px}.panel .helper{font-size:14px;line-height:1.75;margin-top:8px}.panel-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.panel-head h2{font-size:22px}.label-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-width:0}.hint-panel{padding:24px 0 24px 24px;border-left:1px solid var(--line);min-width:0}.hint-panel .small-label{color:var(--brand)}.hint-panel h3{font-size:25px;line-height:1.45}.hint-panel p,.hint-panel li{font-size:15px;line-height:1.85;color:var(--muted);margin-top:14px}.hint-panel .text-link{margin-top:20px}.hint-rule{height:1px;background:var(--line);margin:24px 0}.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:6px;background:#EEF0F4;color:#4E5868;font-size:13px;font-weight:600;line-height:1.5;max-width:100%;overflow-wrap:anywhere}.pill.blue{background:var(--brand-soft);color:var(--brand)}.pill.green{background:var(--green-soft);color:var(--green)}.pill.amber{background:var(--amber-soft);color:var(--amber)}.pill.gray{background:#EEF0F4;color:var(--muted)}.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.tag{background:#F0F2F6;color:var(--body);padding:5px 10px;border-radius:6px;font-size:13px}.workspace-notice{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px;padding:12px 16px;background:#EFF1F5;color:var(--muted);border-radius:8px;font-size:14px;line-height:1.65}.workspace-notice>.ph{font-size:20px;margin-top:2px;color:var(--muted)}.workspace-notice a{text-decoration:underline}.workspace-notice strong{color:var(--body);font-weight:600}.review-banner,.callout{padding:20px;margin:20px 0;border-radius:10px;background:var(--brand-soft);color:var(--body);font-size:15px;line-height:1.8;overflow-wrap:anywhere}.review-banner strong,.callout>strong{display:block;color:var(--ink);font-weight:700;margin-bottom:6px}.review-banner p,.callout p{margin-top:6px}.callout{background:#F0F3F8}.callout ul{margin:12px 0}.callout li+li{margin-top:6px}.balance-strip{display:flex;flex-wrap:wrap;gap:20px;padding:20px;border-radius:10px;background:var(--brand-soft);margin:20px 0}.balance-strip strong{font-size:22px;color:var(--ink)}
/* Forms, native disabled states and explicit consent. */
.field{margin:22px 0;min-width:0}.field label,.field legend{font-size:15px;display:block;font-weight:650;color:var(--ink);margin-bottom:8px}.field input:not([type=checkbox]),.field textarea,.field select{display:block;width:100%;min-width:0;max-width:100%;padding:12px 14px;background:var(--surface);border:1px solid #C9CFD9;border-radius:8px;font-size:16px;color:var(--body);line-height:1.5}.field textarea{min-height:136px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:1}.field .helper{margin-top:8px}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.field-row>*{min-width:0}.field-row .field{margin-top:16px;margin-bottom:16px}.check-field{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.75;margin:18px 0;color:var(--body)}.check-field input{accent-color:var(--brand);width:18px;height:18px;flex-shrink:0;margin:5px 0 0}.check-field>span{min-width:0;overflow-wrap:anywhere}.field-error{font-size:14px;color:var(--red);line-height:1.7;margin-top:12px;white-space:pre-line;overflow-wrap:anywhere}.field-error:empty{margin:0}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:24px;margin-top:28px;border-top:1px solid var(--line)}.form-actions>.button{margin-left:auto}.form-actions>.button+.button{margin-left:0}.form-result{font-size:14px;margin-top:16px}.form-result:empty{margin:0}.scope-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}.scope-list .mono{font-size:13px}.key-value{display:block;width:100%;max-width:100%;padding:14px;border:1px solid var(--line);border-radius:8px;font-family:ui-monospace,Consolas,monospace;font-size:14px;line-height:1.8;color:var(--ink);background:white;overflow-wrap:anywhere}.key-result{margin-top:24px}.key-result:empty{margin:0}.key-limit-fields{min-width:0;padding:20px;border:1px solid var(--line);border-radius:10px;margin:24px 0}.key-limit-fields legend{font-weight:650;font-size:15px;padding:0 8px;color:var(--ink)}.key-scope-hint{font-size:14px;color:var(--red);line-height:1.7;margin-top:12px}.key-scope-hint:empty{display:none}.key-record-list{list-style:none;padding:0;margin:0}.key-record-list>li{padding:24px 0;border-top:1px solid var(--line);min-width:0}.key-record-list article,.key-record-list h3{min-width:0;overflow-wrap:anywhere}.key-record-summary{margin:16px 0}.key-record-scope{display:block;overflow-wrap:anywhere}.key-record-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;align-items:center}.key-record-actions .button{max-width:100%;white-space:normal}.key-limit-status{margin:20px 0 28px;font-size:15px;line-height:1.75}.key-limit-status p{margin-top:12px}.key-limit-reasons{padding-left:20px;margin:14px 0}.key-limit-reasons li+li{margin-top:8px}.key-usage-summary dd{display:flex;flex-wrap:wrap;gap:4px 16px}.key-usage-summary dd>span{max-width:100%}.key-usage-summary dd>span:last-child:not(:first-child){color:var(--muted)}
/* Role workspaces and the public directory share labelled, grouped records. */
.tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;background:#EDEFF4;border-radius:10px;margin:24px 0}.tab{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px 18px;color:var(--muted);font-weight:600;font-size:15px;background:transparent;border-radius:7px;white-space:normal}.tab.active{color:var(--brand);background:var(--surface)}.tab .count{font-size:12px;background:var(--brand-soft);padding:2px 6px;border-radius:5px}.tabs-content{min-width:0}.filter-bar{display:flex;align-items:center;gap:12px;margin-bottom:24px;min-width:0}.filter-bar input,.filter-bar select{padding:12px 14px;border:1px solid #C9CFD9;border-radius:8px;background:white;color:var(--body);font-size:16px;min-width:0;max-width:100%}.filter-bar input{flex:1}.filter-bar input::placeholder{color:var(--muted);opacity:1}.request-list{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 24px;min-width:0}.request-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:24px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line);min-width:0}.request-row:last-child{border-bottom:0}.request-row>div{min-width:0}.request-row h3{font-size:19px;overflow-wrap:anywhere}.request-row p{font-size:13px;margin-top:6px;color:var(--muted);overflow-wrap:anywhere}.amount{font-variant-numeric:tabular-nums;font-size:23px;font-weight:700;color:var(--ink);white-space:nowrap}.amount small{display:block;font-size:13px;color:var(--muted);font-weight:500}.request-deadline{font-size:14px;line-height:1.75;margin:12px 0;overflow-wrap:anywhere}.request-row .request-deadline{font-size:14px}.request-deadline.deadline-elapsed{color:var(--red)}#request-closes-at{min-width:0;max-width:100%}.contract-item{padding:22px 0;border-top:1px solid var(--line);min-width:0}.contract-item h3{font-size:19px}.contract-item h4{font-size:17px}.contract-item>p{margin-top:10px}.contract-item .dialog-actions{margin-top:18px}.empty-state{padding:64px 32px;text-align:center;border-radius:12px;background:var(--surface);border:1px solid var(--line)}.empty-state h2{font-size:24px;margin-top:16px}.empty-state p{max-width:560px;margin:14px auto 24px;color:var(--muted)}.empty-symbol{font-size:36px;color:var(--brand)}.table-empty{text-align:center;color:var(--muted);padding:24px}.partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.partner-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:26px}.partner-card h2,.partner-card h3{font-size:22px;margin-top:18px}.partner-sub{color:var(--muted);margin:10px 0;font-size:15px}.partner-card p{font-size:15px;color:var(--muted)}.partner-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.sample-section{margin-top:56px;padding-top:32px;border-top:1px solid var(--line)}.sample-section>h2{font-size:25px}.sample-section>.helper{margin:12px 0 24px}.partner-symbol{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--brand-soft);color:var(--brand);border-radius:10px;font-size:24px}.price-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.price-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:32px;min-width:0}.price-panel h2{font-size:27px;line-height:1.4}.price-panel p,.price-panel li{color:var(--muted);font-size:16px;line-height:1.85;margin-top:14px}.price-panel ul{margin:24px 0}.faq{margin-top:40px}.faq details{border-top:1px solid var(--line);padding:22px 0}.faq summary{font-size:18px;color:var(--ink);font-weight:650;cursor:pointer}.faq p{font-size:16px;color:var(--muted);padding:16px 0 0;max-width:920px;line-height:1.85}.prose{font-size:16px;line-height:1.9;max-width:100%;overflow-wrap:anywhere}.prose h2{font-size:25px;margin:36px 0 14px}.prose h2:first-child{margin-top:0}.prose h3{font-size:21px;margin:28px 0 12px}.prose p{max-width:960px;margin:16px 0;color:var(--body)}.prose a{text-decoration:underline;text-underline-offset:4px;color:var(--brand)}.prose li+li{margin-top:14px}.code-block{background:#1B2230;color:#F2F5FA;border-radius:10px;padding:24px;font-family:ui-monospace,Consolas,monospace;font-size:14px;line-height:1.8;overflow:auto;max-width:100%;min-width:0}.code-comment{color:#A8C2B7}.section-divider{border:0;border-top:1px solid var(--line);margin:28px 0}.status-line{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0}
/* Draft wizard, evidence and frozen agreement facts. */
.wizard-progress{display:flex;list-style:none;padding:6px;margin:0 0 24px;background:#EDEFF4;border-radius:10px;gap:6px;min-width:0}.wizard-progress li{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;font-size:14px;color:var(--muted);border-radius:7px}.wizard-progress li.active{background:var(--surface);font-weight:700;color:var(--brand)}.wizard-progress li.done{color:var(--green)}.step-dot{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:50%;font-size:13px;flex-shrink:0}.step-dot .ph{font-size:16px}.deliverable-fieldset{padding:20px;margin:24px 0;border:1px solid var(--line);border-radius:10px;min-width:0}.deliverable-fieldset legend{font-weight:700;font-size:16px;color:var(--ink);padding:0 8px}.deliverable-fieldset input:not([type=checkbox]){display:block;width:100%;min-width:0;max-width:100%;border:1px solid #C9CFD9;border-radius:8px;padding:12px 14px;background:white;font-size:16px;color:var(--body)}.deliverable-fieldset>label,.deliverable-fieldset .label-row>label{font-size:15px;font-weight:650;margin-bottom:8px;display:block}.field-spaced-label{margin-top:18px}.criteria-list{display:flex;flex-direction:column;gap:12px}.criterion-row{display:flex;align-items:center;gap:12px}.criterion-row input{flex:1;min-width:0}.terms-editor,.specification-integrity,.key-technical-details,.advanced-member-management{margin-top:24px;border-top:1px solid var(--line);padding-top:20px;font-size:14px}.terms-editor>summary,.specification-integrity>summary,.key-technical-details>summary,.advanced-member-management>summary{cursor:pointer;font-size:15px;font-weight:650;line-height:1.6;color:var(--body);padding:4px 0}.terms-fields{border:0;padding:0;margin:0;min-width:0}.terms-fields:disabled{opacity:.65}.terms-editor .field textarea{min-height:104px}.terms-summary{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.terms-summary h3{font-size:21px}.terms-summary li+li{margin-top:12px}.summary-list{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px 24px;font-size:15px;line-height:1.75;margin:24px 0;min-width:0}.summary-list dt{color:var(--muted);font-weight:500}.summary-list dd{margin:0;min-width:0;white-space:pre-line;overflow-wrap:anywhere;color:var(--body)}.summary-list dd strong{color:var(--ink)}.summary-list dd ul{margin:0;padding-left:20px;white-space:normal}.summary-list dd p{margin-top:8px}.file-metadata{margin:16px 0;font-size:14px}.file-metadata summary{font-size:14px;cursor:pointer;font-weight:600}.file-metadata .summary-list,.specification-integrity .summary-list,.key-technical-details .summary-list{grid-template-columns:120px minmax(0,1fr)}.file-metadata .summary-list dd,.specification-integrity .mono{overflow-wrap:anywhere}.agreement-review{margin-top:24px}.agreement-review h3{margin-top:32px;font-size:22px}.agreement-review>h3:first-child{margin-top:0}.agreement-review h4{font-size:17px}.agreement-review>.helper,.agreement-consents .helper{font-size:14px;line-height:1.8}.agreement-unresolved{background:var(--amber-soft);color:var(--amber)}.agreement-unresolved ul{padding-left:22px}.agreement-unresolved li+li{margin-top:8px}.agreement-consents{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.agreement-consents h3{font-size:21px}.agreement-review .contract-item{padding:20px 0}.deliverable-replacement-review{margin:28px 0;padding:24px;background:#F5F1F7;border-radius:10px}.deliverable-replacement-review h4{margin-top:24px}.change-deliverables-editor{margin:24px 0}.organization-member-list{margin-top:24px}.organization-role-form .dialog-actions{flex-wrap:wrap}.organization-invitations{padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid var(--line)}
/* Wide operational data remains inside its own scroll area. */
.data-table-wrap{overflow:auto;min-width:0;max-width:100%;width:100%;border:1px solid var(--line);border-radius:8px}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.6}.data-table th{background:#F1F3F7;color:var(--muted);font-size:13px;font-weight:650;padding:14px 16px;white-space:nowrap;border-bottom:1px solid var(--line)}.data-table td{padding:18px 16px;border-bottom:1px solid var(--line);white-space:nowrap;vertical-align:top}.data-table tr:last-child td{border-bottom:0}.data-table td:last-child{text-align:right}.table-actions{display:flex;gap:10px;justify-content:flex-end}.admin-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0}.admin-stack>.panel+.panel{margin:0}.admin-stack>*{min-width:0}.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:8px}.stat{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:0;overflow-wrap:anywhere}.stat p{font-size:14px;color:var(--muted)}.stat strong{font-size:36px;font-weight:750;line-height:1.5;color:var(--ink);font-variant-numeric:tabular-nums}.stat small{font-size:14px;color:var(--muted);margin-left:6px}.admin-status-reason{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-width:280px;min-width:140px}.event-list{list-style:none;padding:0}.event-list li{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.event-dot{width:8px;height:8px;border-radius:50%;background:var(--brand);margin-top:8px;flex-shrink:0}
/* Modals retain native focus, disabled and one-time secret lifecycles. */
dialog{background:var(--surface);color:var(--body);border:1px solid var(--line);padding:36px;border-radius:16px;width:760px;max-width:calc(100% - 40px);max-height:88dvh;box-shadow:0 24px 80px #171C2733;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#171C2766;backdrop-filter:blur(3px)}#dialog-content{min-width:0}dialog h2{font-size:28px;line-height:1.4;margin:8px 32px 20px 0;overflow-wrap:anywhere}dialog h3{font-size:21px;line-height:1.45;margin:24px 0 12px}dialog h4{font-size:18px;margin:18px 0 10px}dialog p{font-size:15px;line-height:1.8;color:var(--body)}dialog .helper{font-size:14px;color:var(--muted)}dialog h2:focus{outline:0}.dialog-close{position:absolute;right:16px;top:16px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:transparent;color:var(--muted)}.dialog-close:hover{background:var(--page)}.dialog-close .ph{font-size:24px}.dialog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:flex-end;margin-top:28px}.dialog-actions>.button{max-width:100%}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,16px);background:var(--ink);color:white;padding:16px 22px;border-radius:10px;box-shadow:0 8px 30px #171C2722;font-size:14px;line-height:1.7;max-width:min(90vw,680px);width:max-content;opacity:0;visibility:hidden;z-index:50;transition:opacity .16s ease,transform .16s ease}.toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
/* Desktop comparison has one shared visual criteria column; each proposal keeps its own semantic labels. */
.comparison-proposals{grid-template-columns:30% minmax(0,1fr) minmax(0,1fr);gap:0;margin-top:16px}.comparison-criteria{padding-top:50px}.comparison-criteria p{min-height:46px;display:flex;align-items:center;padding:10px 16px;font-size:15px;font-weight:600;color:var(--ink);background:#F0F0F4;border-bottom:1px solid var(--line)}.comparison-proposal h3{min-height:50px}.comparison-proposal:nth-child(2) h3{color:var(--brand);background:#EEDCE7}.comparison-fact{grid-template-columns:minmax(0,1fr);min-height:46px}.comparison-fact dt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);padding:0;margin:-1px;border:0;white-space:nowrap}.comparison-fact dd{min-height:46px}.comparison-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 24px;align-items:start}.comparison-heading h2{grid-row:1/3}.comparison-heading p{margin-top:0;font-size:14px;line-height:1.7}
/* Responsive reflow preserves all facts, actions and disclosure content. */
@media(max-width:1200px){.site-header{gap:18px}.site-header nav{gap:20px;margin-left:12px}.header-context{max-width:180px}.site-header:has(.header-context:not(.hidden)){flex-wrap:wrap}.site-header:has(.header-context:not(.hidden)) nav{margin-right:auto}.site-header:has(.header-context:not(.hidden)) .header-context{margin-left:0;max-width:300px}.two-column{grid-template-columns:minmax(0,1fr) 260px;gap:24px}.request-row{gap:16px}.home-hero h1{font-size:56px}}
@media(max-width:1000px){.container,.site-header,.site-footer{padding-left:32px;padding-right:32px}.site-header nav{gap:16px}.site-header nav a{font-size:14px}.home-composer{grid-template-columns:80px minmax(0,1fr) 200px}.home-composer>.button{font-size:16px}.home-hero h1{font-size:50px}.home-intro{font-size:18px}.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{gap:28px}.home-principle-list{gap:20px}.principle-icon{width:46px;height:46px}.principle-icon .ph{font-size:26px}.comparison-fact dd,.comparison-criteria p{font-size:14px;min-height:68px}.comparison-criteria p{padding:12px}.comparison-fact dd{padding:12px}.comparison-heading{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.site-header{min-height:72px;flex-wrap:wrap;gap:16px;padding-top:14px;padding-bottom:14px}.wordmark{font-size:29px}.brand-icon{width:30px;height:30px}.brand-icon .ph{font-size:26px}.menu-toggle{display:inline-flex;order:4}.site-header nav{display:none;order:6;flex-basis:100%;margin:0;padding:16px 0 8px;gap:16px;flex-wrap:wrap}.site-header nav.open{display:flex}.site-header nav a{font-size:16px;padding:8px}.header-login{margin-left:auto;max-width:140px}.header-action{font-size:14px}.header-context,.site-header:has(.header-context:not(.hidden)) .header-context{order:5;flex:1 1 100%;max-width:none;margin:0}.header-context:not(.hidden)+.header-login{margin-left:auto}.two-column{grid-template-columns:minmax(0,1fr)}.hint-panel{padding:24px;border:0;background:#F0F2F7;border-radius:12px}.hint-panel h3{font-size:24px}.page-head{padding:36px 0 28px;align-items:flex-start}.page-head h1{font-size:32px}.home-hero{padding-top:40px}.home-hero h1{font-size:44px}.home-composer{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px}.home-composer textarea{min-height:88px;font-size:16px}.home-composer>.button{width:100%}.home-composer-notes{align-items:flex-start;margin-left:0}.home-comparison{padding:24px}.comparison-heading{display:block}.comparison-heading p{margin-top:8px}.comparison-proposals{grid-template-columns:minmax(0,1fr);gap:24px}.comparison-criteria{display:none}.comparison-proposal h3{text-align:left;min-height:0}.comparison-fact{grid-template-columns:120px minmax(0,1fr);min-height:0}.comparison-fact dt{position:static;width:auto;height:auto;overflow:visible;clip:auto;padding:12px 14px;margin:0;border-bottom:1px solid var(--line);white-space:normal;font-size:15px}.comparison-fact dd{padding:12px 14px;min-height:0;font-size:15px}.home-principle-list{grid-template-columns:minmax(0,1fr);gap:24px}.home-principles{padding-bottom:32px}.home-process-list{grid-template-columns:minmax(0,1fr);gap:28px}.home-process-list li{padding-bottom:24px;border-bottom:1px solid var(--line)}.home-role-links{grid-template-columns:minmax(0,1fr)}.home-process{padding-top:32px}.section-heading{align-items:flex-start;flex-direction:column;gap:16px}.request-row{grid-template-columns:minmax(0,1fr) auto;gap:16px}.request-row>div:first-child{grid-column:1/-1}.request-row>.amount{grid-column:1}.request-row>.pill{justify-self:end}.request-row>.button{grid-column:1/-1;justify-self:start}.site-footer{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-note{grid-column:1/-1}.price-columns{grid-template-columns:minmax(0,1fr)}.tabs{gap:4px}.tab{font-size:14px;padding:10px 14px}.scope-list{grid-template-columns:minmax(0,1fr)}.stats-row{gap:12px}.stat{padding:18px}.stat strong{font-size:30px}dialog{width:720px;max-width:calc(100% - 32px);padding:28px}}
@media(max-width:600px){.container,.site-header,.site-footer{padding-left:20px;padding-right:20px}.site-header{gap:12px}.header-action{padding:10px 12px}.header-login{font-size:14px;max-width:120px}.site-header .menu-toggle{gap:4px;padding:4px}.menu-toggle span{font-size:13px}.home-hero{padding-top:32px;padding-bottom:24px}.home-hero h1{font-size:36px;line-height:1.25;letter-spacing:-.04em}.home-intro{font-size:16px;margin-top:20px}.home-composer{padding:18px;gap:10px}.home-composer textarea{padding:12px;min-height:100px}.home-composer>.button{min-height:48px}.home-composer-notes{font-size:14px;margin-top:12px;gap:8px}.home-comparison-band{padding:12px 0}.home-comparison{padding:22px 18px 18px}.comparison-heading h2{font-size:25px}.comparison-heading p{font-size:14px;line-height:1.7}.comparison-proposals{margin-top:22px}.comparison-proposal h3{font-size:18px;padding:14px}.comparison-fact{grid-template-columns:90px minmax(0,1fr)}.comparison-fact dt,.comparison-fact dd{font-size:14px;padding:12px 10px}.comparison-fact:first-child dd{font-size:18px}.comparison-disclaimer{font-size:14px;line-height:1.8}.home-principles{padding-top:28px}.home-principles h2,.home-process h2{font-size:25px}.home-principle-list p{font-size:15px}.home-role-links>a{padding:20px;gap:12px}.home-role-links strong{font-size:16px}.home-role-links small{font-size:14px}.home-role-links>a>.ph{font-size:24px}.page-head{flex-wrap:wrap;gap:20px;padding:30px 0 24px}.page-head h1{font-size:28px;line-height:1.4}.page-head p{font-size:15px}.content-area{padding-bottom:48px}.panel{padding:22px}.panel h2{font-size:22px}.panel h3{font-size:19px}.panel-head{gap:14px;margin-bottom:20px}.panel-head h2{font-size:21px}.hint-panel{padding:22px}.field-row{grid-template-columns:minmax(0,1fr);gap:0}.field-row .field{margin-top:18px;margin-bottom:18px}.field{margin:22px 0}.button{padding:12px 18px;font-size:16px}.button.small{font-size:14px;min-height:44px}.form-actions{gap:12px}.form-actions .button{margin-left:0}.dialog-actions{gap:10px;justify-content:flex-start}.summary-list{grid-template-columns:100px minmax(0,1fr);gap:14px 16px;font-size:14px}.file-metadata .summary-list,.specification-integrity .summary-list,.key-technical-details .summary-list{grid-template-columns:90px minmax(0,1fr)}.summary-list dd .mono{font-size:12px}.review-banner,.callout{padding:18px;font-size:14px}.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:5px}.tab{font-size:14px;min-height:48px}.filter-bar{flex-wrap:wrap}.filter-bar input{flex-basis:100%;width:100%}.filter-bar .button{margin-left:auto}.request-list{padding:0 20px}.request-row{padding:22px 0;gap:14px}.request-row h3{font-size:18px}.request-row .amount{font-size:23px}.request-row .request-deadline{font-size:14px}.partner-grid{grid-template-columns:minmax(0,1fr)}.partner-card{padding:24px}.empty-state{padding:40px 24px}.empty-state h2{font-size:22px}.empty-state p{font-size:15px}.price-panel{padding:24px}.price-panel h2{font-size:24px}.deliverable-fieldset{padding:16px;margin:22px 0}.wizard-progress{padding:5px;gap:3px}.wizard-progress li{font-size:13px;padding:10px 4px;gap:6px;flex-direction:column}.step-dot{width:22px;height:22px;font-size:12px}.key-limit-fields{padding:16px}.key-record-actions .button{font-size:14px}.key-record-summary,.key-usage-summary{grid-template-columns:84px minmax(0,1fr);gap:12px}.stats-row{gap:8px}.stat{padding:16px 12px}.stat p{font-size:14px;line-height:1.6}.stat strong{font-size:28px}.stat small{margin-left:3px}.admin-stack{gap:24px}.data-table th,.data-table td{padding:14px 12px}.deliverable-replacement-review{padding:18px}.site-footer{padding-top:36px;padding-bottom:36px;gap:28px;grid-template-columns:minmax(0,1fr)}.footer-note{grid-column:auto}.site-footer p{font-size:14px}.footer-links{gap:14px}.toast{padding:14px 18px;max-width:calc(100vw - 32px);bottom:16px}dialog{padding:24px 20px;max-width:calc(100% - 24px);max-height:90dvh;border-radius:12px}dialog h2{font-size:24px;margin-right:28px}dialog h3{font-size:20px}dialog p{font-size:15px}.dialog-close{right:10px;top:10px;width:36px;height:36px}.code-block{font-size:13px;padding:18px}}
@media(max-width:359px){.container,.site-header,.site-footer{padding-left:16px;padding-right:16px}.site-header{gap:10px}.wordmark{font-size:26px;gap:8px}.brand-icon{width:27px;height:27px}.brand-icon .ph{font-size:24px}.header-login{order:5;max-width:none;flex:1 1 100%;margin:0}.header-context:not(.hidden)+.header-login{margin-left:0;order:6}.site-header .header-action{font-size:14px;padding:10px 12px;margin-left:auto}.menu-toggle{order:3}.home-hero h1{font-size:32px}.home-composer{padding:16px}.home-comparison{padding:20px 14px}.comparison-fact{grid-template-columns:76px minmax(0,1fr)}.comparison-fact dt,.comparison-fact dd{padding:12px 8px}.panel{padding:20px}.summary-list{grid-template-columns:82px minmax(0,1fr);gap:12px}.summary-list .mono{font-size:12px}.file-metadata .summary-list,.specification-integrity .summary-list,.key-technical-details .summary-list{grid-template-columns:78px minmax(0,1fr)}.stats-row{grid-template-columns:minmax(0,1fr)}.stat{display:flex;align-items:center;justify-content:space-between;gap:12px}.stat small{margin-left:6px}.dialog-actions .button{max-width:100%;font-size:14px}.key-record-actions{gap:8px}.home-role-links>a{flex-wrap:wrap}.home-role-links>a>span{flex:1;min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Source comparison: keep the three acceptance principles in the desktop first view. */
@media(min-width:1001px){.home-hero{padding-bottom:8px}.home-intro{margin-top:18px}#home-request-form{margin-top:24px}.home-composer{padding-top:12px;padding-bottom:12px}.home-composer-notes{flex-direction:row;justify-content:flex-end;align-items:flex-start;gap:16px}.comparison-heading{display:block}.comparison-heading p{display:inline;margin-right:12px;line-height:1.7}.comparison-heading h2{margin-bottom:6px}.comparison-proposals{margin-top:12px}.comparison-fact,.comparison-fact dd,.comparison-criteria p{min-height:44px}.comparison-fact dd,.comparison-criteria p{padding-top:8px;padding-bottom:8px}.home-comparison{padding-bottom:12px}.home-principles{padding-top:12px;padding-bottom:24px}.home-principle-list{margin-top:8px}}

/* Connected workspaces keep current identity visible and supporting identifiers available. */
h1,h2,h3,h4{word-break:keep-all;overflow-wrap:anywhere}.workspace-page .page-head{padding-bottom:24px}.context-banner{display:flex;align-items:flex-start;gap:14px;background:var(--surface);border:1px solid #DCC8D5;border-radius:10px;padding:18px 20px;margin-bottom:12px;min-width:0}.context-banner>.ph{font-size:24px;color:var(--brand);margin-top:3px}.context-banner>div{min-width:0}.context-banner strong{color:var(--ink);font-size:16px}.context-banner p{font-size:14px;color:var(--muted);margin-top:4px}.context-explainer{font-size:14px;line-height:1.75;margin:0 0 20px;color:var(--muted)}.context-explainer summary{cursor:pointer;font-size:14px}.context-explainer p{padding:12px 0;max-width:860px}.record-identifiers{font-size:13px;margin:12px 0 0;color:var(--muted);overflow-wrap:anywhere}.record-identifiers>summary{cursor:pointer;line-height:1.7}.record-identifiers .mono{display:block;margin-top:8px}.record-identifiers .summary-list{font-size:13px;margin:12px 0}.auth-page{max-width:1180px}.auth-page .two-column{grid-template-columns:minmax(0,1fr) 280px}.auth-page .panel{padding:32px}.agreement-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.agreement-party{padding:20px;background:#F4F5F8;border-radius:10px;min-width:0}.agreement-party h4{margin:0 0 12px;font-size:14px;color:var(--muted)}.agreement-party .party-name{font-size:19px;color:var(--ink);overflow-wrap:anywhere}.agreement-party p{margin-top:8px;font-size:14px}.agreement-financials{background:#F6F4F8;padding:24px;border-radius:10px}.agreement-financials>dt:first-child+dd strong{font-size:24px;font-weight:750}.consent-record{padding:20px 0;border-bottom:1px solid var(--line)}.consent-record>strong{display:block;font-size:16px;color:var(--ink)}.consent-record>p{margin-top:8px}.receipt-meta{font-size:14px!important;color:var(--muted)!important;overflow-wrap:anywhere}.loading-state{padding:32px 0;color:var(--muted);font-size:15px}
@media(max-width:800px){.auth-page .two-column,.agreement-parties{grid-template-columns:minmax(0,1fr)}.agreement-parties{gap:12px}.agreement-financials{padding:20px}}
@media(max-width:600px){.site-header{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"brand menu" "login workspace";gap:10px 16px}.site-header .wordmark{grid-area:brand;justify-self:start}.site-header .menu-toggle{grid-area:menu;justify-self:end}.site-header #main-navigation{grid-area:navigation;width:100%;padding:8px 0}.site-header .header-context{grid-area:context}.site-header .header-login{grid-area:login;margin:0;max-width:none;min-height:44px;padding:10px 14px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:14px}.site-header .header-action{grid-area:workspace;margin:0;width:100%;min-height:44px}.site-header:has(#main-navigation.open){grid-template-areas:"brand menu" "navigation navigation" "login workspace"}.site-header:has(.header-context:not(.hidden)){display:grid;grid-template-areas:"brand menu" "context context" "login workspace"}.site-header:has(.header-context:not(.hidden)):has(#main-navigation.open){grid-template-areas:"brand menu" "context context" "navigation navigation" "login workspace"}.header-context:not(.hidden)+.header-login{margin-left:0}.context-banner{padding:16px;gap:12px}.auth-page .panel{padding:22px}.agreement-party{padding:18px}.agreement-financials{padding:16px}.agreement-financials>dt:first-child+dd strong{font-size:22px}}

.wizard-session-fields{min-width:0;margin:0;padding:0;border:0}
.proposal-expiry{min-width:0;margin:16px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px;line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}.proposal-expiry>strong{display:block;color:var(--ink);font-size:16px}.proposal-expiry>p{margin-top:8px}.proposal-expiry .expiry-elapsed{color:var(--red);font-weight:600}#proposal-expires-at{min-width:0;max-width:100%}

/* AiREQ outcome comparison and recorded transaction progress. */
.proposal-view-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:16px 0 24px;border-bottom:1px solid var(--line)}
.proposal-view-controls [aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:#fff}
.proposal-view-controls [role=status]{font-size:13px;color:var(--muted);margin-left:auto}
.proposal-record{padding:24px 0;border:0;border-bottom:1px solid var(--line);border-radius:0}
.proposal-record .label-row h3{font-size:19px;max-width:36ch}
.proposal-revision{display:block;color:var(--muted);font-size:13px;margin:6px 0 18px}
.proposal-numbers{display:flex;gap:40px;margin:16px 0 20px;font-variant-numeric:tabular-nums}
.proposal-numbers p{display:grid;gap:4px}.proposal-numbers p>span{font-size:13px;color:var(--muted)}
.proposal-numbers strong{font-size:28px;color:var(--ink);font-weight:700;letter-spacing:-.04em}.proposal-numbers small{font-size:14px;font-weight:500;margin-left:5px}
.proposal-record-evidence{margin:18px 0}.proposal-record-evidence summary{cursor:pointer;color:var(--brand);font-size:14px}
.offer-diff{margin:24px 0;border-top:2px solid var(--brand);padding-top:18px;overflow-wrap:anywhere}
.offer-diff-heading{margin-bottom:16px}.offer-diff-heading h3{font-size:18px}.offer-diff-heading p{font-size:13px;color:var(--muted);margin-top:8px}
.offer-diff table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.offer-diff th,.offer-diff td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}
.offer-diff th:first-child{width:22%}.offer-diff thead th{background:var(--page);font-weight:650}.offer-diff tr[data-changed=true] td:last-child{background:var(--brand-soft)}
.change-caption{display:block;color:var(--brand);font-size:12px;margin-top:8px;font-weight:650}
.expiry-choice{border:1px solid var(--line);border-radius:8px;padding:16px;margin:20px 0}.expiry-choice legend{font-weight:650;padding:0 6px}.expiry-choice label{display:flex;align-items:center;gap:8px;padding:7px 0;cursor:pointer}
.quote-visual{margin:20px 0 28px;padding:20px;background:var(--page);border-radius:12px}
.quote-visual figcaption{display:grid;gap:4px;font-size:14px;margin-bottom:20px}.quote-visual figcaption span{font-size:13px;color:var(--muted)}
.quote-bars{display:grid;gap:16px}.quote-bar-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(40px,2fr) auto;align-items:center;gap:12px;font-size:14px}.quote-bar-row>span{overflow-wrap:anywhere}.quote-bar-row strong{font-variant-numeric:tabular-nums;font-weight:650}
.quote-bar-track{display:block;width:100%;height:8px;appearance:none;background:var(--line);border:0;border-radius:4px;overflow:hidden}.quote-bar-track::-webkit-meter-bar{height:8px;background:var(--line);border:0;border-radius:4px;box-shadow:none}.quote-bar-track::-webkit-meter-optimum-value{background:var(--brand);border-radius:4px}.quote-bar-track::-moz-meter-bar{background:var(--brand);border-radius:4px}
.transaction-progress{padding:24px;margin:0 0 28px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.transaction-progress ol{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 0;margin:20px 0;gap:16px}
.transaction-progress li{position:relative;display:flex;gap:10px;align-items:flex-start}.transaction-progress li p{font-size:13px;color:var(--muted);margin-top:5px}
.progress-node{flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;background:var(--page);border:1px solid var(--line);border-radius:50%;font-size:12px;color:var(--muted)}
.transaction-progress .done .progress-node{background:var(--green-soft);color:var(--green);border-color:var(--green)}.transaction-progress .current .progress-node{background:var(--brand);color:white;border-color:var(--brand)}
.comparison-proposal [aria-pressed=true]{background:var(--brand);color:#fff}.comparison-proposal[data-selected=true]{outline:2px solid var(--brand);outline-offset:-2px}.comparison-proposal>.button{margin:10px 12px 16px}.sample-insight{padding-top:18px}.sample-insight>p{font-size:14px;color:var(--body);margin:8px 0}.sample-insight .quote-visual{margin-bottom:12px;background:#fff}
@media(max-width:760px){.transaction-progress ol{grid-template-columns:1fr;gap:0}.transaction-progress li{padding-bottom:18px}.transaction-progress li:not(:last-child):before{content:'';position:absolute;left:13px;top:29px;bottom:2px;width:1px;background:var(--line)}.transaction-progress li p{margin:0}.offer-diff th,.offer-diff td{padding:12px 8px}.quote-visual{padding:16px}.quote-bar-row{grid-template-columns:minmax(65px,1fr) minmax(30px,1.2fr) auto;gap:8px}.proposal-view-controls [role=status]{flex-basis:100%;margin:5px 0 0}.proposal-numbers{gap:28px}.transaction-progress{padding:20px}}
@media(max-width:390px){.offer-diff th:first-child{width:26%}.offer-diff table{font-size:13px}.offer-diff th,.offer-diff td{padding:10px 6px}.proposal-numbers strong{font-size:25px}.proposal-record .dialog-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){.quote-bar-track>div{transition:none}}@media(max-width:760px){.offer-diff thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.offer-diff table,.offer-diff tbody,.offer-diff tr{display:block}.offer-diff tr{padding:12px 0;border-bottom:1px solid var(--line)}.offer-diff th:first-child{display:block;width:100%;border:0;padding:8px 10px;font-size:14px}.offer-diff td{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;border:0;padding:10px;font-size:14px}.offer-diff td:before{font-size:12px;color:var(--muted);font-weight:600}.offer-diff td:nth-child(2):before{content:'이전 조건'}.offer-diff td:last-child:before{content:'새 조건'}.offer-diff td .change-caption{grid-column:2;margin:0}}
@media(min-width:1000px){.proposal-workbench .proposal-record{position:relative;padding-right:240px}.proposal-workbench .proposal-record>.proposal-numbers{position:absolute;right:0;top:42px;gap:24px}.proposal-workbench .proposal-record>.summary-list{max-width:520px}.proposal-workbench .proposal-record .label-row{justify-content:flex-start;gap:16px}.proposal-workbench .proposal-record .proposal-copy{max-width:70ch}}

/* Private recruitment questions and independently authored shared notices. */
.request-qa-workbench{min-width:0;color:var(--body)}
.request-qa-workbench :where(h2,h3,h4,p,li,section,article,aside,form,fieldset,div){min-width:0}
.request-qa-workbench .qa-context-note{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;background:#EFF1F5;border-radius:8px;font-size:14px;line-height:1.75}
.request-qa-workbench .qa-context-note>.ph{font-size:21px;margin-top:3px;color:var(--muted)}
.request-qa-workbench .qa-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:24px 0}
.request-qa-workbench .qa-view-switch{display:flex;gap:4px;padding:5px;background:#EDEFF4;border-radius:9px;max-width:100%}
.request-qa-workbench .qa-view-switch button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:0;padding:10px 16px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:normal;word-break:keep-all}
.request-qa-workbench .qa-view-switch button[aria-pressed=true]{background:var(--surface);color:var(--brand);border-color:var(--line)}
.request-qa-workbench .qa-view-switch button>.ph{font-size:20px}
.request-qa-workbench .qa-read-only-note{font-size:14px;color:var(--muted);margin:-8px 0 20px;max-width:80ch}
.request-qa-workbench .qa-feedback{padding:14px 18px;background:var(--green-soft);color:var(--green);border-radius:8px;margin-bottom:16px;font-size:15px}
.request-qa-workbench .qa-grid{display:grid;grid-template-columns:minmax(250px,32%) minmax(0,1fr);border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:clip;align-items:stretch}
.request-qa-workbench .qa-list-pane{display:flex;flex-direction:column;border-right:1px solid var(--line);padding:24px 0 20px;min-width:0;max-height:min(640px,70dvh)}
.request-qa-workbench .qa-list-heading{padding:0 20px 20px;flex-shrink:0}
.request-qa-workbench .qa-list-heading h2{font-size:20px;line-height:1.4}
.request-qa-workbench .qa-list-heading>span{display:block;color:var(--muted);font-size:12px;margin-top:6px;line-height:1.7}
.request-qa-workbench .qa-question-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line);min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.request-qa-workbench .qa-question-list:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
.request-qa-workbench .qa-question-list li{margin:0;border-bottom:1px solid var(--line)}
.request-qa-workbench .qa-list-item{display:block;text-align:left;width:100%;background:transparent;border:0;border-left:3px solid transparent;color:var(--body);padding:18px 17px;line-height:1.6}
.request-qa-workbench .qa-list-item:hover:not(:disabled){background:#F8F7FA}
.request-qa-workbench .qa-list-item[aria-pressed=true]{border-left-color:var(--brand);background:var(--brand-soft)}
.request-qa-workbench .qa-list-item:focus-visible{outline-offset:-4px}
.request-qa-workbench .qa-list-item:disabled{opacity:.7}
.request-qa-workbench .qa-list-item-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.request-qa-workbench .qa-list-item-top time{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.request-qa-workbench .qa-list-item-top .pill{font-size:12px;padding:3px 8px}
.request-qa-workbench .qa-list-excerpt{display:block;font-size:15px;line-height:1.75;margin-top:10px;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}
.request-qa-workbench .qa-answer-state{display:block;font-size:12px;color:var(--muted);margin-top:10px}
.request-qa-workbench .qa-pagination{padding:20px 20px 0;flex-shrink:0}
.request-qa-workbench .qa-pagination>.button{width:100%}
.request-qa-workbench .qa-page-note{font-size:12px;color:var(--muted);padding:16px 20px 0;line-height:1.75;flex-shrink:0}
.request-qa-workbench .qa-reading-pane{padding:28px;min-width:0}
.request-qa-workbench .qa-thread-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.request-qa-workbench .qa-thread-heading h2{font-size:21px}
.request-qa-workbench .qa-thread-heading>.button{font-size:13px;min-height:40px;padding:9px 12px}
.request-qa-workbench .qa-back-to-list{display:none;min-height:44px;padding:8px 0;color:var(--brand);background:transparent;font-size:14px;font-weight:650;align-items:center;gap:8px}
.request-qa-workbench .qa-record{padding:24px 0;border-bottom:1px solid var(--line)}
.request-qa-workbench .qa-record-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;margin-bottom:16px}
.request-qa-workbench .qa-record-meta strong{color:var(--ink);font-size:15px}
.request-qa-workbench .qa-record-meta time{font-size:12px;color:var(--muted);flex-basis:100%}
.request-qa-workbench .qa-copy{font-size:16px;line-height:1.85;max-width:74ch;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}
.request-qa-workbench .qa-record-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.request-qa-workbench .qa-record-actions:empty{margin:0}
.request-qa-workbench .qa-record-actions>.button{font-size:13px;min-height:40px;padding:9px 12px}
.request-qa-workbench .qa-suppressed{display:flex;align-items:flex-start;gap:9px;font-size:15px;color:var(--muted);padding:16px;background:#F3F4F7;border-radius:8px}
.request-qa-workbench .qa-suppressed>.ph{font-size:20px;margin-top:3px}
.request-qa-workbench .qa-empty{padding:20px}
.request-qa-workbench .qa-empty h3{font-size:16px;margin-bottom:10px}
.request-qa-workbench .qa-empty p,.request-qa-workbench .qa-answer-empty p{font-size:14px;color:var(--muted);line-height:1.8}
.request-qa-workbench .qa-reading-empty{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:14px;min-height:300px;padding:32px 0;max-width:52ch}
.request-qa-workbench .qa-reading-empty>.ph{font-size:30px;color:var(--brand)}
.request-qa-workbench .qa-reading-empty h2{font-size:21px;line-height:1.5}
.request-qa-workbench .qa-reading-empty p{color:var(--muted);font-size:15px}
.request-qa-workbench .qa-answer-empty{padding:24px 0}
.request-qa-workbench .qa-answer-empty h3{font-size:17px;margin-bottom:10px}
.request-qa-workbench .qa-answer-empty>.button{margin-top:18px}
.request-qa-workbench .qa-loading{color:var(--muted);font-size:14px;line-height:1.8;padding:20px 0}
.request-qa-workbench .qa-list-pane>.qa-loading,.request-qa-workbench .qa-list-pane>.qa-inline-error{margin:0 20px}
.request-qa-workbench .qa-list-pane>.button{margin:8px 20px 16px;width:calc(100% - 40px)}
.request-qa-workbench .qa-inline-error{padding:12px 0;font-size:14px;color:var(--red);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.request-qa-workbench .qa-composer{margin-top:28px;padding-top:24px;border-top:2px solid var(--brand)}
.request-qa-workbench .qa-composer-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.request-qa-workbench .qa-composer-heading h3{font-size:21px;line-height:1.5}
.request-qa-workbench .qa-composer-heading>.button{font-size:13px;min-height:40px;padding:8px 12px}
.request-qa-workbench .qa-audience{display:flex;align-items:flex-start;gap:9px;font-size:14px;font-weight:650;color:var(--brand);line-height:1.8;margin:0 0 12px}
.request-qa-workbench .qa-audience>.ph{font-size:20px;margin-top:3px}
.request-qa-workbench .qa-form-fields{margin:0;padding:0;border:0;min-width:0}
.request-qa-workbench .qa-form-fields:disabled textarea,.request-qa-workbench .qa-form-fields:disabled input{background:#F2F3F6;color:var(--muted);opacity:1}
.request-qa-workbench .qa-form-fields .field{margin:20px 0}
.request-qa-workbench .qa-form-fields textarea{min-height:170px;max-height:520px}
.request-qa-workbench .qa-character-count{text-align:right;color:var(--muted);font-size:12px;margin-top:8px;font-variant-numeric:tabular-nums}
.request-qa-workbench .qa-compose-actions{display:flex;justify-content:flex-end;padding-top:8px}
.request-qa-workbench .qa-command-status{font-size:14px;color:var(--muted);line-height:1.8;margin-top:16px;max-width:72ch}
.request-qa-workbench .qa-command-status:empty{margin:0}
.request-qa-workbench .qa-recovery{margin-top:16px;padding:18px;border:1px solid #DAC8D3;background:#FBF7FA;border-radius:8px}
.request-qa-workbench .qa-recovery .helper{margin-top:10px}
.request-qa-workbench .qa-notice-preview{margin:24px 0 16px;padding:20px;background:#F8F4F7;border:1px solid #DDCBD6;border-radius:8px}
.request-qa-workbench .qa-notice-preview h4{font-size:17px;margin-bottom:10px}
.request-qa-workbench .qa-preview-audience{font-size:14px;color:var(--brand);font-weight:650;margin-bottom:18px}
.request-qa-workbench .qa-notice-preview .check-field{margin-bottom:0;border-top:1px solid #DDCBD6;padding-top:18px}
.request-qa-workbench .qa-admin-gate{padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.request-qa-workbench .qa-admin-gate h2{font-size:23px;margin-bottom:16px}
.request-qa-workbench .qa-admin-gate p{color:var(--muted);margin-bottom:20px;max-width:74ch}
.request-qa-workbench .qa-admin-gate>.button+.button{margin-left:12px}
.request-qa-workbench .qa-evidence-note{font-size:13px;color:var(--amber);background:var(--amber-soft);padding:12px 14px;border-radius:6px;margin-bottom:16px}
.request-qa-workbench .qa-admin-metadata{font-size:13px;color:var(--muted);margin:24px 0}
.request-qa-workbench .qa-admin-metadata summary{cursor:pointer;color:var(--brand);padding:8px 0}
.request-qa-workbench .qa-admin-metadata dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 16px;margin:12px 0}
.request-qa-workbench .qa-admin-metadata dd{margin:0;overflow-wrap:anywhere}
@media(max-width:1000px){.request-qa-workbench .qa-grid{grid-template-columns:minmax(230px,34%) minmax(0,1fr)}.request-qa-workbench .qa-reading-pane{padding:24px}.request-qa-workbench .qa-view-switch button{padding:10px 12px}}
@media(max-width:800px){.request-qa-workbench .qa-grid{grid-template-columns:minmax(0,1fr)}.request-qa-workbench .qa-list-pane{border-right:0;max-height:min(560px,68dvh)}.request-qa-workbench .qa-grid:not(.qa-has-selection) .qa-reading-pane{display:none}.request-qa-workbench .qa-has-selection .qa-list-pane{display:none}.request-qa-workbench .qa-back-to-list{display:inline-flex;flex-basis:100%}.request-qa-workbench .qa-thread-heading{gap:10px;padding-bottom:18px}.request-qa-workbench .qa-toolbar{margin:20px 0;gap:14px}.request-qa-workbench .qa-reading-empty{min-height:180px;padding:20px 0}.request-qa-workbench .qa-record-meta time{flex-basis:auto}.request-qa-workbench .qa-composer{margin-top:24px}}
@media(max-width:600px){.request-qa-workbench .qa-context-note{padding:14px;font-size:13px;gap:10px}.request-qa-workbench .qa-view-switch{width:100%}.request-qa-workbench .qa-view-switch button{flex:1;font-size:14px;padding:9px 8px}.request-qa-workbench .qa-toolbar>.button{width:100%}.request-qa-workbench .qa-reading-pane{padding:20px}.request-qa-workbench .qa-thread-heading h2{font-size:20px}.request-qa-workbench .qa-thread-heading>.button{font-size:12px}.request-qa-workbench .qa-record{padding:20px 0}.request-qa-workbench .qa-copy{font-size:16px;line-height:1.85}.request-qa-workbench .qa-composer-heading h3{font-size:20px}.request-qa-workbench .qa-composer .check-field{font-size:14px;gap:10px}.request-qa-workbench .qa-notice-preview{padding:16px}.request-qa-workbench .qa-compose-actions>.button{width:100%}.request-qa-workbench .qa-recovery{padding:16px}.request-qa-workbench .qa-recovery>.button{width:100%}.request-qa-workbench .qa-admin-metadata dl{grid-template-columns:minmax(0,1fr);gap:4px}.request-qa-workbench .qa-admin-metadata dd{margin-bottom:12px}.request-qa-workbench .qa-admin-gate{padding:22px}.request-qa-workbench .qa-admin-gate>.button{width:100%}.request-qa-workbench .qa-admin-gate>.button+.button{margin:12px 0 0}}
@media(max-width:359px){.request-qa-workbench .qa-reading-pane{padding:16px}.request-qa-workbench .qa-thread-heading>.button{width:100%}.request-qa-workbench .qa-list-item{padding:16px 13px}.request-qa-workbench .qa-list-heading{padding-left:16px;padding-right:16px}.request-qa-workbench .qa-record-meta{gap:8px}.request-qa-workbench .qa-record-meta time{flex-basis:100%}.request-qa-workbench .qa-view-switch button{gap:6px;font-size:13px}.request-qa-workbench .qa-form-fields textarea{min-height:160px}}
@media(prefers-reduced-motion:reduce){.request-qa-workbench *{scroll-behavior:auto;animation:none;transition:none}}
.contract-file-selection,.contract-file-record{overflow-wrap:anywhere}
.contract-file-selection:empty{display:none}
.file-retention{border-top:1px solid var(--line);margin-top:18px;padding-top:16px;overflow-wrap:anywhere}
.file-retention form{margin:10px 0}
.file-retention [data-retention-status]{color:var(--muted)}
.retention-row h4{min-width:0;overflow-wrap:anywhere}
.retention-row dd{min-width:0;overflow-wrap:anywhere}
.retention-row time span{display:inline-block;white-space:nowrap}
.delivery-verification time span{display:inline-block;white-space:nowrap}
.delivery-verification{border-top:1px solid var(--line);margin:12px 0 0;padding:4px 0;min-width:0;overflow-wrap:anywhere}
.delivery-verification summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--brand);font-weight:650}
.delivery-verification [data-verification-status]:empty{display:none}
.verification-criterion{border-top:1px solid var(--line);padding:0 10px}
.verification-fields,.stage-reading .verification-fields{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,2fr);gap:6px 12px;margin:0 0 12px}
.verification-fields dd{margin:0;min-width:0;overflow-wrap:anywhere}
.verification-claim{white-space:pre-wrap}
.verification-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.verification-toolbar button,.verification-criterion button{min-height:44px;max-width:100%}
.verification-history{padding-left:20px;margin:8px 0}
.verification-history>li{padding:8px 0;border-top:1px solid var(--line)}
.verification-observation{border-top:1px solid var(--line);padding-top:10px;margin:8px 0}
.verification-observation p{margin:4px 0 8px}
.independent-review,#independent-review-command{overflow-wrap:anywhere}
.independent-review .panel{margin:0 0 14px}
.independent-review button,#independent-review-command button{min-height:44px}
.independent-review-queue{list-style:none;margin:8px 0 16px;padding:0}
.independent-review-queue li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-top:1px solid var(--line)}
.independent-review-queue li>div{flex:1 1 15rem;min-width:0}
.independent-review-queue li>a{min-height:44px}
.independent-review-queue time span{display:inline-block;white-space:nowrap}
.commercial-review-summary{overflow-wrap:anywhere}
.commercial-review-summary>ul{list-style:none;margin:10px 0 0;padding:0}
.commercial-review-summary .verification-fields{margin:8px 0 0}
#independent-review-command fieldset{min-width:0}
#delivery-verification-finding-form fieldset{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){
  .verification-fields,.stage-reading .verification-fields{grid-template-columns:minmax(0,1fr);row-gap:3px}
  .verification-fields dt:not(:first-child){margin-top:6px}
}
@media(max-width:480px){
  #specification-integrity-result .summary-list{grid-template-columns:minmax(0,1fr);row-gap:4px}
  #specification-integrity-result .summary-list dt:not(:first-child){margin-top:8px}
  #specification-integrity-result .summary-list dd{min-width:0;overflow-wrap:anywhere;word-break:normal}
}

.request-prefunding {
  margin-block: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.request-prefunding [role="status"]:empty {
  display: none;
}
.request-prefunding [hidden],
[data-action="accept-contract"][hidden] {
  display: none;
}
.request-prefunding .button,
.request-prefunding summary {
  min-height: 44px;
}
.request-prefunding [data-prefund-queue] ul {
  list-style: none;
  padding-inline-start: 0;
}
.request-prefunding [data-prefund-request] {
  max-width: 100%;
  text-align: left;
}
.request-prefunding summary {
  align-content: center;
  cursor: pointer;
}
.request-prefunding time span {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .request-prefunding .summary-list {
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem;
  }
  .request-prefunding .summary-list dd {
    margin: 0 0 .5rem;
  }
}

.accounting-export {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  min-width: 0;
  overflow-wrap: anywhere;
}
.accounting-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.accounting-export :is(.button, summary) {
  min-height: 44px;
}
.accounting-export [hidden] {
  display: none;
}
.accounting-export summary {
  cursor: pointer;
  align-content: center;
}
.accounting-export-events {
  padding-inline-start: 1.25rem;
}
.accounting-export-events > li {
  border-top: 1px solid var(--line);
  padding-block: .5rem;
}
.accounting-export time span {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .accounting-export :is(.field-row,.summary-list) {
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem;
  }
  .accounting-export .summary-list dd {
    margin: 0 0 .5rem;
  }
}
.locale-switch{display:inline-flex;margin-top:20px;border:1px solid var(--line);border-radius:8px;padding:3px;gap:2px}.locale-switch button{min-height:36px;padding:6px 14px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.locale-switch button:hover{color:var(--ink)}.locale-switch button[aria-pressed="true"]{background:var(--brand-soft);color:var(--brand)}.locale-switch button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* D86 email-first sign-up: the "check your mail" panel and the link page */
.signup-mail-sent{display:grid;gap:12px;outline:none;scroll-margin-top:120px}.signup-mail-sent h2{margin:4px 0 0}.signup-mail-sent p{margin:0;color:var(--body)}.signup-mail-sent strong{color:var(--ink);overflow-wrap:anywhere}.signup-mail-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:24px}.signup-mail-notes{margin:4px 0 0;padding-left:18px;color:var(--muted);display:grid;gap:4px;font-size:.92rem}.signup-mail-sent .form-actions{margin-top:8px}
.signup-confirm{max-width:620px;margin:40px auto;display:grid;gap:12px}.signup-confirm h1{font-size:clamp(1.5rem,3vw,2rem);margin:0}.signup-confirm p{margin:0}.signup-confirm[aria-busy="true"] h1::after{content:"";display:inline-block;width:.8em;height:.8em;margin-left:.4em;border:2px solid var(--line);border-top-color:var(--brand);border-radius:50%;vertical-align:middle;animation:signup-spin .9s linear infinite}@keyframes signup-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.signup-confirm[aria-busy="true"] h1::after{animation:none}}
[data-scope-manual-form]{scroll-margin-top:120px}

/* /contract-progress.css */
.transaction-progress .panel-head{align-items:flex-start;gap:12px}
.transaction-progress .panel-head .pill{flex-shrink:0}
.transaction-progress .progress-next{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px 0 24px;border-bottom:1px solid var(--line)}
.transaction-progress .progress-current-label{margin:0 0 8px;color:var(--brand);font-size:12px;font-weight:700;line-height:1.5}
.transaction-progress .progress-next h3{margin:0;font-size:23px;line-height:1.4;letter-spacing:-.035em;overflow-wrap:anywhere}
.transaction-progress .progress-next-description{margin:9px 0 0;max-width:640px;color:var(--body);font-size:14px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.transaction-progress .progress-next button{min-height:48px;white-space:nowrap}
.transaction-progress .progress-mobile-trace{display:none}
.transaction-progress .progress-mobile-trace summary{min-height:44px;padding:14px 0;color:var(--body);font-size:14px;font-weight:700;cursor:pointer}
.transaction-progress .progress-mobile-trace summary::marker{color:var(--brand)}
@media(max-width:760px){
  .transaction-progress .panel-head{flex-wrap:wrap}
  .transaction-progress .progress-next{grid-template-columns:1fr;gap:18px;padding:20px 0}
  .transaction-progress .progress-next h3{font-size:21px}
  .transaction-progress .progress-next button{width:100%;white-space:normal;line-height:1.5}
  .transaction-progress .progress-desktop-trace{display:none}
  .transaction-progress .progress-mobile-trace{display:block;border-bottom:1px solid var(--line);margin-bottom:16px}
  .transaction-progress .progress-mobile-trace ol{margin:4px 0 0}
}

/* /home-premium.css */
/* AiREQ's existing plum comparison studio, refined around original outcome imagery. */
.home-page .premium-hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.premium-hero-copy { min-width: 0; }
.premium-hero-context { color: var(--brand); font-size: 15px; font-weight: 650; margin-bottom: 22px; }
.home-page .premium-hero h1 { font-size: clamp(38px, 3.8vw, 56px); line-height: 1.24; letter-spacing: -.055em; font-weight: 720; }
.home-page .premium-hero .home-intro { font-size: 17px; line-height: 1.8; margin-top: 24px; max-width: 440px; }
.home-page .premium-hero #home-request-form { margin-top: 30px; }
.home-page .premium-composer { display: block; border: 1px solid #DCD5DE; border-radius: 16px; padding: 20px; box-shadow: 0 12px 32px #24152B07; }
.home-page .premium-composer label { display: block; font-size: 14px; font-weight: 650; }
.home-page .premium-composer textarea { display: block; min-height: 76px; padding: 12px 0; margin-top: 4px; border: 0; border-radius: 0; resize: vertical; font-size: 16px; line-height: 1.6; background: transparent; }
.home-page .premium-composer textarea:focus-visible { outline-offset: 4px; border-radius: 3px; }
.premium-composer-actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 12px; }
.premium-composer-actions p { font-size: 13px; color: var(--muted); }
.premium-composer-actions .button { min-height: 46px; padding: 11px 16px; font-size: 14px; border-radius: 7px; flex-shrink: 0; }
.premium-preview-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.premium-preview-note .ph { font-size: 16px; margin-top: 1px; }
.premium-hero-visual { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.premium-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.45; object-fit: cover; object-position: 58% center; border-radius: 22px; }
.premium-hero-visual figcaption { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; margin-top: 13px; color: var(--body); font-size: 13px; }
.premium-hero-visual figcaption small { color: var(--muted); font-size: 12px; }
.premium-outcome-strip { display: flex; align-items: center; gap: 56px; padding-top: 28px; padding-bottom: 34px; border-top: 1px solid var(--line); }
.premium-outcome-strip > p { flex-shrink: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.premium-outcome-strip > p strong { color: var(--ink); font-weight: 600; }
.premium-outcome-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; list-style: none; margin: 0; padding: 0; gap: 28px; }
.premium-outcome-strip li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--body); }
.premium-outcome-strip .ph { color: var(--brand); font-size: 25px; }
.home-page .home-comparison-band { padding: 64px 0 44px; background: white; border-top: 1px solid var(--line); }
.home-page .home-comparison { background: transparent; padding: 0; border-radius: 0; }
.home-page .comparison-heading { max-width: 760px; margin-bottom: 30px; }
.home-page .comparison-heading h2 { font-size: 34px; font-weight: 680; letter-spacing: -.045em; margin-bottom: 13px; }
.home-page .comparison-heading p { display: block; font-size: 15px; line-height: 1.8; }
.home-page .comparison-heading p strong { font-size: 13px; font-weight: 500; }
.home-page .comparison-proposals { margin-top: 0; }
.home-page .comparison-proposal { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: white; }
.home-page .comparison-proposal h3 { border-radius: 0; font-size: 17px; padding-top: 18px; padding-bottom: 18px; }
.home-page .comparison-proposal:first-of-type h3 { background: #EFE4EC; }
.home-page .comparison-fact { background: white; }
.home-page .comparison-fact dt { background: #F7F8FA; }
.home-page .comparison-fact :is(dt,dd) { padding-top: 14px; padding-bottom: 14px; }
.home-page .comparison-proposal > .button { margin: 18px; }
.home-page .comparison-disclaimer { margin-top: 20px; }
.home-page .home-principles { padding-top: 36px; padding-bottom: 64px; }
.home-page .home-principles h2 { font-size: 26px; font-weight: 650; }
.home-page .home-principle-list { margin-top: 26px; gap: 40px; }
.home-page .principle-icon { background: transparent; border-radius: 0; width: 32px; height: 36px; }
.home-page .home-process { padding-top: 64px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.home-page .home-process-list { margin-top: 36px; }
.home-page .home-process-list li { padding-top: 22px; border-top: 2px solid #DDD0DA; }
.home-page .home-process-list h3 { font-weight: 650; }
.home-page .home-role-links { margin-top: 56px; }
.home-page .home-role-links > a { border: 1px solid var(--line); background: white; }
@media (max-width: 1100px) {
  .home-page .premium-hero { gap: 36px; padding-top: 44px; }
  .home-page .premium-hero h1 { font-size: 44px; }
  .premium-hero-visual img { aspect-ratio: 4 / 5.4; }
  .premium-outcome-strip { gap: 32px; }
  .premium-outcome-strip ul { gap: 18px; }
  .premium-outcome-strip li { flex-direction: column; gap: 8px; font-size: 14px; }
  .premium-hero-visual figcaption { flex-direction: column; gap: 3px; }
}
@media (max-width: 800px) {
  .home-page .premium-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 36px; }
  .home-page .premium-hero h1 { font-size: 48px; max-width: 600px; }
  .home-page .premium-hero .home-intro { max-width: 520px; }
  .premium-hero-visual img { aspect-ratio: 16 / 8; object-position: center 56%; border-radius: 16px; }
  .premium-hero-visual figcaption { flex-direction: row; }
  .premium-outcome-strip { gap: 24px; flex-direction: column; align-items: flex-start; }
  .premium-outcome-strip > p br { display: none; }
  .premium-outcome-strip li { flex-direction: row; justify-content: flex-start; }
  .premium-outcome-strip ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .home-page .home-comparison-band { padding: 44px 0 32px; }
  .home-page .comparison-heading h2 { font-size: 30px; }
  .home-page .home-principles { padding-top: 24px; padding-bottom: 40px; }
  .home-page .home-principle-list { gap: 24px; }
  .home-page .home-process { padding-top: 40px; padding-bottom: 48px; }
  .home-page .home-process-list li { padding-bottom: 0; border-bottom: 0; }
}
@media (max-width: 480px) {
  .home-page .premium-hero h1 { font-size: 38px; line-height: 1.25; }
  .premium-hero-context { font-size: 13px; margin-bottom: 18px; }
  .home-page .premium-hero .home-intro { font-size: 16px; margin-top: 20px; }
  .home-page .premium-hero #home-request-form { margin-top: 24px; }
  .home-page .premium-composer { padding: 18px; }
  .premium-composer-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 6px; }
  .premium-composer-actions .button { width: 100%; min-height: 48px; }
  .premium-preview-note { font-size: 12px; }
  .premium-hero-visual img { aspect-ratio: 4 / 3; }
  .premium-hero-visual figcaption { font-size: 12px; flex-direction: column; gap: 4px; }
  .premium-outcome-strip ul { gap: 20px 10px; }
  .premium-outcome-strip li { font-size: 13px; gap: 8px; }
  .premium-outcome-strip .ph { font-size: 22px; }
  .home-page .comparison-heading h2 { font-size: 27px; }
  .home-page .comparison-fact { grid-template-columns: 105px minmax(0,1fr); }
  .home-page .comparison-fact :is(dt,dd) { font-size: 14px; padding: 12px; }
  .home-page .home-principles h2 { font-size: 24px; }
}

/* 2026-11-17 first-visit pass: the hero shows the actual thing a visitor gets (a sample automation plan),
   drawn as a work sheet in the existing plum system. Plain-language copy lives in home-premium.js. */
.home-page .premium-hero h1 { font-size: clamp(34px, 3.1vw, 46px); line-height: 1.3; letter-spacing: -.045em; }
.home-page .premium-hero .home-intro { max-width: 520px; font-size: 16px; }
.home-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.home-examples > span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.home-example { font: inherit; font-size: 14px; color: var(--brand); background: var(--brand-soft); border: 1px solid transparent; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.home-example:hover { border-color: var(--brand); }
.home-example:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.home-sample { margin: 0; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 6px 6px 16px 16px; padding: 26px 28px 24px; min-width: 0; }
.home-sample-head { font-size: 13px; color: var(--muted); }
.home-sample h2 { font-size: 22px; line-height: 1.4; margin-top: 8px; color: var(--ink); }
.home-sample-trigger { font-size: 14px; color: var(--body); margin-top: 4px; }
.home-sample h3 { font-size: 14px; color: var(--muted); font-weight: 650; margin: 20px 0 10px; }
.home-sample-steps { list-style: none; counter-reset: sample-step; margin: 0; padding: 0; display: grid; gap: 8px; }
.home-sample-steps li { counter-increment: sample-step; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); min-width: 0; }
.home-sample-steps li::before { content: counter(sample-step); flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); }
.home-sample-steps .tag { flex-shrink: 0; margin: 0; }
.home-sample-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.home-sample-checks li { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; color: var(--body); }
.home-sample-checks .ph { color: var(--green); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.home-sample-cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--line); }
.home-sample-cost dt { font-size: 13px; color: var(--muted); }
.home-sample-cost dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--ink); }

.home-audience { padding-bottom: 72px; }
.home-audience h2 { font-size: 24px; }
.home-audience .home-role-links { margin-top: 20px; }
.home-audience .home-role-links small { display: block; margin-top: 4px; line-height: 1.6; }

@media (max-width: 800px) {
  .home-page .premium-hero h1 { font-size: 32px; }
  .home-sample { padding: 22px 20px; }
}

/* Quick starts switch the sample plan beside them (2026-11-17). The chosen chip is filled. */
.home-sample-slot { min-width: 0; }
.home-example[aria-pressed="true"] { color: #fff; background: var(--brand); }
.home-example[aria-pressed="true"]:hover { border-color: transparent; }

/* Plan page, signed out: sign-up / login prompt above the form. */
.scope-signin { margin-bottom: 16px; }
.scope-signin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* /role-journeys.css */
.role-journeys { min-width: 0; }
.journey-intro { max-width: 880px; margin-bottom: 30px; }
.journey-intro h2 { font-size: 32px; font-weight: 680; line-height: 1.4; }
.journey-intro > p { max-width: 690px; color: var(--muted); margin-top: 18px; font-size: 16px; line-height: 1.85; }
.journey-roles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.journey-role { display: flex; align-items: center; gap: 16px; padding: 20px; text-align: left; border: 1px solid var(--line); border-radius: 10px; color: var(--body); background: var(--surface); min-width: 0; }
.journey-role > .ph { font-size: 30px; color: var(--brand); }
.journey-role > span { min-width: 0; }
.journey-role strong { display: block; color: var(--ink); font-size: 17px; font-weight: 650; }
.journey-role small { display: block; margin-top: 7px; font-size: 13px; line-height: 1.6; }
.journey-role[aria-pressed=true] { background: var(--brand-soft); border: 2px solid var(--brand); padding: 19px; }
.journey-role:hover { border-color: var(--brand); }
.journey-role:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.journey-authority { font-size: 14px; line-height: 1.85; color: var(--body); margin: 20px 0 32px; max-width: 960px; min-height: 52px; }
.journey-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; gap: 28px; }
.journey-steps > li { position: relative; min-width: 0; padding-top: 22px; border-top: 2px solid #DCD5DE; }
.journey-phase-icon { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.journey-phase-icon .ph { font-size: 29px; }
.journey-phase-icon > span { font-size: 13px; font-weight: 700; }
.journey-phase-caption { font-size: 12px; color: var(--muted); margin-top: 18px; }
.journey-steps h3 { font-size: 18px; line-height: 1.5; font-weight: 650; margin-top: 6px; }
.journey-step-copy { font-size: 14px; line-height: 1.85; margin-top: 14px; color: var(--body); }
.journey-step-arrow { position: absolute; right: -23px; top: 28px; color: var(--muted); font-size: 17px; }
.journey-preview { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border-left: 3px solid var(--brand); padding: 18px 20px; margin: 30px 0 48px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.journey-preview .ph { font-size: 22px; color: var(--brand); margin-top: 2px; }
.journey-preview strong { font-weight: 650; color: var(--body); }
.journey-review { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 48px; border-top: 1px solid var(--line); padding-top: 36px; }
.journey-review h2 { font-size: 25px; line-height: 1.5; font-weight: 650; }
.journey-review header > p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 14px; }
.journey-review dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; padding: 0; margin: 0; }
.journey-review dl > div { min-width: 0; }
.journey-review dt { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink); font-weight: 650; }
.journey-review dt .ph { color: var(--brand); font-size: 23px; }
.journey-review dd { margin: 14px 0 0; font-size: 14px; line-height: 1.85; color: var(--body); }
.journey-next { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 32px; }
.journey-next > p { font-size: 13px; line-height: 1.85; color: var(--muted); max-width: 780px; }
.journey-next p strong { color: var(--body); font-weight: 600; }
.journey-next p a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.journey-next > .button { flex-shrink: 0; }
@media(max-width:1050px) {
  .journey-role { padding: 18px 15px; gap: 12px; }
  .journey-role[aria-pressed=true] { padding: 17px 14px; }
  .journey-role > .ph { font-size: 25px; }
  .journey-steps { gap: 20px; }
  .journey-step-arrow { right: -18px; font-size: 14px; }
  .journey-steps h3 { font-size: 16px; }
  .journey-review { grid-template-columns: 210px minmax(0,1fr); gap: 28px; }
}
@media(max-width:800px) {
  .journey-intro h2 { font-size: 28px; }
  .journey-roles { gap: 10px; }
  .journey-role { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .journey-role[aria-pressed=true] { padding: 15px; }
  .journey-role strong { font-size: 16px; }
  .journey-authority { min-height: 0; }
  .journey-steps { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .journey-steps > li { padding: 0 0 0 52px; border-top: 0; border-left: 2px solid #DCD5DE; margin-left: 17px; }
  .journey-phase-icon { position: absolute; left: -18px; top: 0; background: var(--page); padding: 4px 0; }
  .journey-phase-icon > span { display: none; }
  .journey-phase-icon .ph { font-size: 32px; }
  .journey-phase-caption { margin-top: 0; }
  .journey-steps h3 { font-size: 20px; }
  .journey-step-copy { margin-top: 10px; max-width: 600px; }
  .journey-step-arrow { display: none; }
  .journey-review { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .journey-review h2 br { display: none; }
  .journey-preview { margin-bottom: 34px; }
  .journey-next { gap: 24px; flex-direction: column; align-items: flex-start; }
}
@media(max-width:480px) {
  .journey-intro h2 { font-size: 25px; }
  .journey-intro > p { font-size: 15px; }
  .journey-roles { grid-template-columns: minmax(0,1fr); }
  .journey-role { flex-direction: row; align-items: center; gap: 14px; }
  .journey-role small { margin-top: 4px; }
  .journey-role > .ph { font-size: 28px; }
  .journey-authority { font-size: 13px; margin-bottom: 26px; }
  .journey-steps > li { padding-left: 34px; }
  .journey-preview { padding: 16px; gap: 9px; }
  .journey-review dl { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .journey-review dd { margin-top: 8px; }
  .journey-next > .button { width: 100%; }
}

/* /developer-guide.css */
.developer-guide{min-width:0;padding-bottom:72px;color:var(--body);overflow-wrap:anywhere}
.developer-guide :where(div,section,dl,li){min-width:0}
.developer-guide-head{align-items:center;gap:24px}
.developer-guide-head h1{font-size:clamp(30px,3.3vw,44px);line-height:1.35;letter-spacing:-.045em}
.developer-guide-head p{max-width:55ch}
.developer-guide-head>.button{flex-shrink:0}
.developer-guide-environment{display:flex;gap:16px;align-items:flex-start;background:#EFF1F5;border-radius:8px;padding:14px 18px;margin-bottom:28px;font-size:14px;line-height:1.7}
.developer-guide-environment strong{flex-shrink:0;color:var(--ink)}
.developer-guide-start{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}
.developer-guide-roles,.developer-guide-example{padding:32px}
.developer-guide h2{font-size:24px;line-height:1.45;letter-spacing:-.03em;color:var(--ink)}
.developer-guide-roles{border-right:1px solid var(--line)}
.developer-guide-roles dl{margin:24px 0 0;display:grid;gap:24px}
.developer-guide-roles dt{font-size:18px;font-weight:700;color:var(--ink)}
.developer-guide-roles dt>span{font-size:13px;font-weight:500;color:var(--muted);margin-left:8px}
.developer-guide-roles dd{margin:8px 0 0;font-size:15px;line-height:1.85;max-width:43ch}
.developer-guide-role-links{display:flex;align-items:flex-start;flex-direction:column;gap:12px;margin-top:28px}
.developer-guide-example-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px}
.developer-guide-example-head>span{color:var(--muted);font-size:13px}
.developer-guide-adapters{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--page);border:1px solid var(--line);border-radius:8px;margin:20px 0 16px;width:fit-content;max-width:100%}
.developer-guide-adapters button{min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:5px;background:transparent;font-size:14px;color:var(--muted);font-weight:650;line-height:1.5}
.developer-guide-adapters button[aria-pressed=true]{background:var(--surface);color:var(--brand);border-color:var(--line)}
.developer-guide-example .helper{font-size:14px;line-height:1.8;min-height:76px}
.developer-guide-example .code-block{margin:16px 0 12px;padding:22px;font-size:13px;line-height:1.9;min-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}
.developer-guide-example-boundary{font-size:12px;line-height:1.8;color:var(--muted)}
.developer-guide-reference-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px}
.developer-guide-flow,.developer-guide-permissions,.developer-guide-compatibility{padding-top:40px;margin-top:40px;border-top:1px solid var(--line)}
.developer-guide-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}
.developer-guide-section-head>p{font-size:14px;line-height:1.85;color:var(--muted);max-width:52ch}
.developer-guide-flow ol{list-style:none;counter-reset:developer-step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}
.developer-guide-flow li{counter-increment:developer-step;padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-rows:auto 1fr auto;gap:12px}
.developer-guide-flow li:nth-child(3n){border-right:0}
.developer-guide-flow li:nth-last-child(-n+1){grid-column:1 / -1;border-bottom:0;border-right:0;background:var(--brand-soft)}
.developer-guide-flow h3{font-size:17px;line-height:1.6;color:var(--ink);font-weight:700;display:flex;align-items:baseline;gap:10px}
.developer-guide-flow h3:before{content:counter(developer-step) '.';font-size:15px;color:var(--brand);font-variant-numeric:tabular-nums;font-weight:650}
.developer-guide-flow li>p{font-size:14px;line-height:1.85;max-width:60ch}
.developer-guide-flow li>span{font-size:12px;color:var(--muted);line-height:1.8}
.developer-guide-scope-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.developer-guide table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;line-height:1.7;table-layout:fixed}
.developer-guide th,.developer-guide td{padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:top}
.developer-guide thead{background:var(--page);color:var(--muted)}
.developer-guide thead th{font-weight:600}
.developer-guide tbody th{font-weight:600;color:var(--ink)}
.developer-guide tbody tr:last-child>*{border-bottom:0}
.developer-guide th:first-child{width:25%}.developer-guide th:nth-child(2){width:40%}
.developer-guide tbody code{font-size:13px}
.developer-guide-key-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:24px}
.developer-guide-key-notes p{font-size:14px;line-height:1.85;max-width:68ch}.developer-guide-key-notes strong{display:block;color:var(--ink);margin-bottom:6px}
.developer-guide-compatibility dl{margin:24px 0 0;display:grid;gap:0}
.developer-guide-compatibility dl>div{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;border-bottom:1px solid var(--line);padding:20px 0}
.developer-guide-compatibility dt{font-size:15px;font-weight:650;color:var(--ink)}
.developer-guide-compatibility dd{font-size:14px;line-height:1.85;margin:0;max-width:76ch}
.developer-guide-bottom-links{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin-top:28px}
.developer-guide :focus-visible{outline:3px solid var(--brand);outline-offset:3px}
@media(max-width:1000px){.developer-guide-start{grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr)}.developer-guide-roles,.developer-guide-example{padding:24px}.developer-guide-example-head>span{display:none}.developer-guide-section-head{display:block}.developer-guide-section-head>p{margin-top:10px}.developer-guide th,.developer-guide td{padding:14px}.developer-guide-flow li{padding:20px}}
@media(max-width:760px){.developer-guide-head{align-items:flex-start}.developer-guide-head>.button{margin:0}.developer-guide-start{grid-template-columns:minmax(0,1fr)}.developer-guide-roles{border-right:0;border-bottom:1px solid var(--line)}.developer-guide-roles h2 br{display:none}.developer-guide-roles dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.developer-guide-role-links{flex-direction:row;flex-wrap:wrap}.developer-guide-flow ol{grid-template-columns:repeat(2,minmax(0,1fr))}.developer-guide-flow li:nth-child(3n){border-right:1px solid var(--line)}.developer-guide-flow li:nth-child(2n){border-right:0}.developer-guide th:first-child{width:30%}.developer-guide-compatibility dl>div{grid-template-columns:160px minmax(0,1fr);gap:16px}}
@media(max-width:540px){.developer-guide{padding-bottom:48px}.developer-guide h2{font-size:22px}.developer-guide-environment{display:block;padding:16px}.developer-guide-environment p{margin-top:4px}.developer-guide-roles dl,.developer-guide-key-notes,.developer-guide-flow ol{grid-template-columns:minmax(0,1fr)}.developer-guide-roles,.developer-guide-example{padding:22px}.developer-guide-flow li,.developer-guide-flow li:nth-child(3n){border-right:0}.developer-guide-key-notes{gap:20px}.developer-guide-flow,.developer-guide-permissions,.developer-guide-compatibility{padding-top:28px;margin-top:28px}.developer-guide-example .helper{min-height:0}.developer-guide-example .code-block{padding:16px;min-height:0;font-size:12px}.developer-guide-adapters{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.developer-guide-adapters button{padding:10px 8px}.developer-guide-role-links{flex-direction:column}.developer-guide-compatibility dl>div{grid-template-columns:minmax(0,1fr);gap:8px}.developer-guide th:first-child{width:auto}.developer-guide table,.developer-guide tbody,.developer-guide tr{display:block}.developer-guide thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.developer-guide tbody tr{padding:16px 20px;border-bottom:1px solid var(--line)}.developer-guide tbody tr:last-child{border-bottom:0}.developer-guide tbody th,.developer-guide tbody td{display:block;padding:0;border:0;width:auto}.developer-guide tbody td{margin-top:6px}.developer-guide tbody td:last-child{font-size:12px;color:var(--muted)}.developer-guide-bottom-links{align-items:flex-start;flex-direction:column}.developer-guide-head>.button{width:100%}}

/* D26 rewrite: requester AI assistant tools under the builder flow */
.developer-guide-requester-section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.developer-guide-requester { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.developer-guide-requester li { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.developer-guide-requester code { overflow-wrap: anywhere; }
/* Contrast (WCAG AA): the method line on the tinted last step */
.developer-guide-flow li:nth-last-child(-n+1)>span { color: #4F566A; }

/* /budget-allocation.css */
.budget-allocation { min-width: 0; margin: 0 0 36px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.budget-allocation [hidden] { display: none; }
.allocation-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 28px; }
.allocation-heading > div > p { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
.allocation-heading h2 { font-size: 28px; line-height: 1.45; font-weight: 650; }
.allocation-heading > p { max-width: 450px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.allocation-workspace { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.allocation-inputs { min-width: 0; }
.allocation-inputs .field { margin: 0 0 18px; }
.allocation-inputs label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.allocation-inputs label span { color: var(--muted); font-size: 12px; font-weight: 400; }
.allocation-inputs input { width: 100%; max-width: 100%; min-width: 0; font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.allocation-inputs > p:not(.field-error) { font-size: 12px; color: var(--muted); line-height: 1.75; }
.allocation-inputs .field-error { font-size: 13px; margin-top: 14px; }
.allocation-inputs .field-error:empty { display: none; }
.allocation-results { min-width: 0; }
.allocation-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.allocation-total > span { color: var(--muted); font-size: 13px; }
.allocation-total > strong { color: var(--ink); font-size: 23px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.allocation-line + .allocation-line { margin-top: 22px; }
.allocation-line > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; }
.allocation-line label { font-size: 14px; font-weight: 600; color: var(--body); }
.allocation-line strong { font-size: 18px; font-weight: 650; color: var(--brand); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.allocation-line meter { display: block; width: 100%; height: 16px; border: 0; border-radius: 3px; overflow: hidden; background: var(--brand-soft); }
.allocation-line meter::-webkit-meter-bar { background: var(--brand-soft); border: 0; border-radius: 3px; }
.allocation-line meter::-webkit-meter-optimum-value { background: var(--brand); border-radius: 3px; }
.allocation-line meter::-moz-meter-bar { background: var(--brand); }
.allocation-refund meter::-webkit-meter-optimum-value { background: #B8A3B3; }
.allocation-refund meter::-moz-meter-bar { background: #B8A3B3; }
.allocation-refund strong { color: var(--body); }
.allocation-line > p { color: var(--muted); font-size: 12px; line-height: 1.75; margin-top: 9px; }
.allocation-boundary { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 26px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.allocation-boundary > .ph { color: var(--brand); font-size: 20px; margin-top: 2px; }
.allocation-boundary strong { color: var(--body); font-weight: 600; }
@media(max-width:800px) {
  .budget-allocation { padding: 24px; }
  .allocation-heading { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .allocation-heading h2 { font-size: 26px; }
  .allocation-heading h2 br { display: none; }
  .allocation-heading > p { max-width: 620px; }
  .allocation-workspace { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .allocation-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .allocation-inputs .field { margin-bottom: 0; }
  .allocation-inputs > p { grid-column: 1 / -1; }
  .allocation-inputs > p br { display: none; }
}
@media(max-width:480px) {
  .budget-allocation { padding: 20px; }
  .allocation-heading h2 { font-size: 24px; }
  .allocation-heading > p { font-size: 14px; }
  .allocation-inputs { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .allocation-total > strong { font-size: 21px; }
  .allocation-line strong { font-size: 17px; }
}

/* /provider-bundle-preview.css */
.provider-bundle-preview { background: var(--page); border: 1px solid var(--line); border-radius: 8px; margin-top: 22px; padding: 16px; min-width: 0; }
.partner-card .provider-bundle-preview h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 650; color: var(--body); line-height: 1.5; }
.provider-bundle-preview h3 > .ph { font-size: 20px; color: var(--brand); }
.provider-bundle-preview ul { list-style: none; margin: 14px 0 0 9px; padding: 0 0 0 16px; border-left: 1px solid #D3C7D0; }
.provider-bundle-preview li { display: flex; align-items: center; gap: 9px; position: relative; padding: 7px 0; min-width: 0; font-size: 13px; color: var(--body); line-height: 1.6; }
.provider-bundle-preview li::before { content: ''; position: absolute; width: 9px; height: 1px; left: -16px; top: 50%; background: #D3C7D0; }
.provider-bundle-preview li > .ph { font-size: 18px; color: var(--muted); }
.provider-bundle-preview li > span { min-width: 0; overflow-wrap: anywhere; }
.partner-card .provider-bundle-preview > p { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
@media(max-width:480px) { .provider-bundle-preview { padding: 14px; }.provider-bundle-preview li { padding: 8px 0; } }

/* /request-guide.css */
.request-guide { min-width: 0; color: var(--body); }
.request-draft-context strong { word-break: keep-all; overflow-wrap: anywhere; }
.request-guide-bundle summary small { word-break: keep-all; overflow-wrap: anywhere; }
.request-guide-context { font-size: 12px; line-height: 1.7; color: var(--brand); margin-bottom: 14px; }
.request-guide h2 { font-size: 25px; font-weight: 650; line-height: 1.45; }
.request-guide-current { margin-top: 16px; font-size: 14px; line-height: 1.85; }
.request-guide-next { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 8px; }
.request-guide-entry { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--muted); }
.request-guide-bundle { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.request-guide-bundle > summary { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; min-height: 44px; list-style: none; }
.request-guide-bundle > summary::marker { content: ''; }
.request-guide-bundle > summary::-webkit-details-marker { display: none; }
.request-guide-bundle > summary > .ph { font-size: 23px; color: var(--brand); margin-top: 2px; }
.request-guide-bundle > summary > .request-guide-toggle { margin-left: auto; font-size: 17px; }
.request-guide-bundle[open] > summary > .request-guide-toggle { transform: rotate(180deg); }
.request-guide-bundle summary strong { display: block; font-size: 15px; font-weight: 650; color: var(--ink); }
.request-guide-bundle summary small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.request-guide-bundle-body { padding-top: 18px; }
.request-guide-bundle h3 { font-size: 15px; line-height: 1.7; font-weight: 650; }
.request-guide-bundle ul { list-style: none; padding: 0 0 0 14px; margin: 16px 0; border-left: 1px solid #D3C7D0; }
.request-guide-bundle li { margin: 16px 0; font-size: 13px; line-height: 1.8; }
.request-guide-bundle li strong { color: var(--ink); font-weight: 600; }
.request-guide-bundle li p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.request-guide-missing { color: var(--muted); }
.request-guide-bundle dl { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 9px 12px; padding-top: 16px; border-top: 1px solid var(--line); margin: 0; font-size: 12px; line-height: 1.8; }
.request-guide-bundle dt { color: var(--muted); }
.request-guide-bundle dd { margin: 0; overflow-wrap: anywhere; }
.request-guide-rights { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.request-guide-rights > p { font-size: 12px; line-height: 1.85; margin-top: 8px; }
.request-guide-rights strong { color: var(--body); font-weight: 600; }
.request-guide-edit { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0; background: transparent; color: var(--brand); font-size: 13px; font-weight: 600; text-align: left; }
.request-guide-edit > .ph { font-size: 17px; }
.request-guide-edit:hover { text-decoration: underline; text-underline-offset: 4px; }
.request-guide-unresolved { margin-top: 22px; font-size: 12px; line-height: 1.85; color: var(--amber); }
.request-guide-review { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.request-guide-export { margin-top: 12px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.request-guide-flow { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.request-guide-flow h3 { font-size: 14px; line-height: 1.6; font-weight: 600; }
.request-guide-flow ol { margin: 14px 0; padding-left: 20px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.request-guide-flow li { padding-left: 4px; margin: 5px 0; }
.request-guide-flow li[aria-current] { color: var(--brand); font-weight: 650; }
.request-guide-flow > p,.request-guide-note { color: var(--muted); font-size: 12px; line-height: 1.8; }
.request-guide-note { margin-top: 20px; }
.request-guide :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.request-drafting-layout > .request-guide-panel { min-width: 0; padding: 24px 0 0 24px; border-left: 1px solid var(--line); align-self: start; }
.request-drafting-layout .request-review-edit { display: flex; flex-wrap: wrap; gap: 10px 22px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.request-drafting-layout .request-review-edit > button { min-height: 44px; padding: 8px 0; background: transparent; font-size: 14px; }
.request-drafting-layout .request-full-terms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 24px 0 12px; }
.request-drafting-layout .request-full-terms > summary { cursor: pointer; min-height: 48px; padding: 14px 0; color: var(--ink); font-size: 15px; line-height: 1.6; font-weight: 650; }
.request-drafting-layout .request-full-terms[open] > summary { margin-bottom: 12px; }
.request-drafting-layout .request-conditions-edit { background: transparent; min-height: 44px; padding: 9px 0; margin-bottom: 16px; font-size: 14px; }
.request-drafting-layout :is(.request-review-edit button,.request-full-terms summary,.request-conditions-edit):focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media(max-width:800px) { .request-guide { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }.request-guide h2 { font-size: 22px; }.request-guide-flow ol { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-left: 18px; }.request-guide-flow li { margin: 0; }.request-guide-bundle summary small { font-size: 12px; } }
@media(max-width:800px) {
  .request-drafting-layout > .request-guide-panel { grid-row: 1; padding: 0; border-left: 0; }
  .request-drafting-layout > section { grid-row: 2; }
  .request-guide :is(.request-guide-context,.request-guide-current,.request-guide-next,.request-guide-entry,.request-guide-flow,.request-guide-note,.request-guide-review,.request-guide-export) { display: none; }
  .request-guide-bundle { margin-top: 16px; padding-top: 14px; }
  .request-guide-unresolved { margin-top: 12px; }
  .request-drafting-layout .request-review-edit { gap: 6px 18px; }
}
@media(max-width:480px) { .request-guide { padding: 18px; }.request-guide h2 { font-size: 21px; }.request-guide-bundle dl { grid-template-columns: 76px minmax(0,1fr); gap: 8px; }.request-guide-review .request-guide-edit { width: 100%; } }

/* /stage-workbench.css */
.stage-page .page-head{padding:22px 0 10px;align-items:center;gap:12px}
.stage-page .page-head h1{font-size:clamp(1.55rem,3vw,2.12rem);overflow-wrap:anywhere}
.stage-page-context{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;margin-top:8px;color:var(--muted);font-size:.87rem}
.stage-preview-label{color:var(--brand);font-weight:650}
.stage-contract-id{margin:0 0 8px;color:var(--muted);overflow-wrap:anywhere}
.stage-contract-id summary{display:list-item;cursor:pointer;min-height:44px;padding:10px 0}
.stage-contract-id p{margin:0 0 8px}
.stage-workbench{display:grid;gap:10px;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.stage-workbench-banner{margin:0;padding:12px 16px;border-left:3px solid var(--amber);background:var(--amber-soft);color:var(--ink)}
.stage-dependencies,.stage-joined{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.stage-dependencies>summary{padding:10px 14px;min-height:44px;font-weight:700;cursor:pointer}
.stage-dependency-strip,.stage-selector-list,.stage-scope,.stage-timeline{list-style:none;margin:0;padding:0}
.stage-dependency-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:7px;padding:0 13px 10px;max-height:132px;overflow-y:auto}
.stage-dependency-strip>li{display:flex}
.stage-selector{font:inherit;color:var(--ink);border:1px solid transparent;background:transparent;border-radius:9px;cursor:pointer;text-align:left;min-height:44px;display:grid;grid-template-columns:27px minmax(0,1fr);align-items:start;gap:9px;width:100%;padding:10px}
.stage-selector>span:last-child{min-width:0}
.stage-dependency-strip .stage-selector{border-color:var(--line);padding:7px 9px}
.stage-selector:hover{background:var(--page)}
.stage-selector[aria-pressed="true"]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-hover)}
.stage-index{font-size:.78rem;font-weight:700;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:24px;height:24px}
.stage-state,.stage-predecessors{display:block;font-size:.84rem;margin-top:3px;color:var(--muted)}
.stage-state-accepted{color:var(--green)}
.stage-state-waiting{color:var(--amber)}
.stage-predecessors{padding-top:4px;border-top:1px solid var(--line)}
.stage-predecessors-mobile{display:none}
.stage-joined{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,3fr);align-items:start}
.stage-joined>nav{padding:18px 12px;min-width:0}
.stage-joined>nav h2{font-size:1rem;margin:0 8px 12px}
.stage-joined [data-stage-list]{max-height:min(68vh,560px);overflow-y:auto;padding:3px}
.stage-reading{border-left:1px solid var(--line);min-width:0}
.stage-reading-head,.stage-reading>section{padding:15px clamp(14px,3vw,30px)}
.stage-reading-head{background:var(--page);border-radius:0 var(--radius) 0 0}
.stage-reading-head h2{margin:0 0 8px}
.stage-reading-head p{margin:8px 0 0;color:var(--muted)}
.stage-reading>section{border-top:1px solid var(--line)}
.stage-reading h3{font-size:1.08rem;margin:0 0 10px}
.stage-reading dl{display:grid;grid-template-columns:minmax(7rem,1fr) minmax(0,2fr);gap:7px 16px;margin:8px 0 0}
.stage-reading dt,.stage-timeline time{color:var(--muted)}
.stage-reading dd{margin:0;min-width:0}
.stage-reading details summary{cursor:pointer;padding:11px 0;min-height:44px}
.stage-scope li{border-left:2px solid var(--brand);padding:6px 12px;margin-bottom:10px}
.stage-scope p,.stage-timeline p{margin:4px 0;white-space:pre-wrap}
.stage-wait{background:var(--amber-soft);padding:10px 12px;white-space:pre-wrap}
.stage-payment-note{font-weight:700;color:var(--brand);margin:0 0 8px}
.stage-money dd{font-variant-numeric:tabular-nums;font-weight:700}
.stage-contract-money>p,.stage-contract-money>dl{margin:0 16px 12px}
.stage-contract-money>dl{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,2fr);gap:6px 14px}
.stage-contract-money dd{margin:0}
.stage-authoring{margin:16px 0;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow-wrap:anywhere}
.stage-authoring fieldset{min-width:0}
.stage-authoring h3,.stage-authoring h4{margin:0 0 8px}
.stage-authoring .check-field{min-height:44px}
.stage-history-status{color:var(--muted);margin-bottom:8px}
.stage-timeline{border-left:2px solid var(--line);padding-left:14px;margin-bottom:10px}
.stage-timeline li{padding:7px 0 12px}
.stage-timeline li+li{border-top:1px solid var(--line)}
.stage-timeline li>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 14px}
.stage-workbench .stage-back{display:none}
.stage-workbench button:focus-visible,.stage-workbench summary:focus-visible,.stage-workbench [tabindex="-1"]:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media(max-width:760px){
  .stage-page .page-head{padding:16px 0 6px}
  .stage-joined{grid-template-columns:minmax(0,1fr)}
  .stage-joined [data-stage-list]{max-height:none;overflow:visible}
  .stage-reading{display:none;border:0}
  .stage-detail-open .stage-reading{display:block}
  .stage-detail-open .stage-joined>nav,.stage-order{display:none}
  .stage-detail-open .stage-back{display:inline-flex;margin:12px 14px}
  .stage-reading-head{border-radius:0}
  .stage-predecessors-mobile{display:block}
}
@media(max-width:380px){
  .stage-reading dl{grid-template-columns:minmax(0,1fr)}
  .stage-reading dd+dt{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){
  .stage-workbench,.stage-workbench *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* /dispute-workbench.css */
.case-page{overflow-wrap:anywhere}
.case-page .page-head{margin-bottom:6px}
.case-top{border-left:3px solid var(--brand);background:var(--surface);padding:10px 15px;margin-bottom:10px}
.case-top h2{font-size:1.2rem}
.case-top p{margin:4px 0;color:var(--body)}
.case-toolbar{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:6px}
.case-top .case-toolbar:not(:empty){margin-top:8px}
.case-reading-toolbar{margin:0 0 8px}
.case-reading-toolbar [aria-pressed="true"]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}
.case-joined{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,3fr);border:1px solid var(--line);background:var(--surface);border-radius:var(--radius)}
.case-joined>nav,.case-reading{padding:12px 14px;min-width:0}
.case-joined>nav{max-height:68vh;overflow:auto}
.case-reading{border-left:1px solid var(--line)}
.case-reading h3,.case-reading h4{margin:6px 0}
.case-amounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:12px;margin:12px 0}
.case-amounts article{border:1px solid var(--line);padding:10px 12px;border-radius:8px}
.case-amounts h4{margin:0 0 8px}
.case-amounts dl,.case-reviewers{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:5px 10px;margin:0}
.case-amounts dd,.case-reviewers dd{margin:0}
.case-amounts dd{text-align:right;font-weight:650;font-variant-numeric:tabular-nums}
.case-amounts dt{color:var(--muted)}
.case-prose{white-space:pre-wrap}
.case-identifiers{padding:12px 0}
.case-page summary,.case-form summary{min-height:44px;cursor:pointer;padding:10px 0}
.case-page button,.case-form button,.case-form .check-field{min-height:44px}
.case-form{display:grid;gap:10px;overflow-wrap:anywhere}
.case-form>label:not(.check-field){font-weight:650;color:var(--body)}
.case-form>input,.case-form>select,.case-form>textarea{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;padding:12px 14px;background:var(--surface);border:1px solid #C9CFD9;border-radius:8px;font-size:16px;color:var(--body);line-height:1.5}
.case-form>textarea{min-height:84px;resize:vertical}
.case-form fieldset{max-height:230px;overflow:auto;min-width:0}
.case-form .case-amounts{margin:0}
.case-form button[type=submit]{justify-self:start}
.case-page [data-case-action="return-events"]{display:none}
@media(max-width:760px){
 .case-page [data-case-action="return-events"]{display:inline-flex}
 .case-joined{display:flex;flex-direction:column}
 .case-reading{order:-1;border:0;border-bottom:1px solid var(--line)}
 .case-joined>nav{max-height:none}
}
@media(prefers-reduced-motion:reduce){.case-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* /support-cases.css */
.support-cases { min-width: 0; overflow-wrap: anywhere; }
.support-cases [hidden] { display: none; }
.support-case-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .75rem; }
.support-cases :is(.button,summary) { min-height: 44px; }
.support-cases summary { cursor: pointer; align-content: center; }
.support-cases .support-case-title { text-align: start; }
.support-case-list,.support-case-timeline { list-style: none; padding: 0; }
.support-case-list > li,.support-case-timeline > li { border-top: 1px solid var(--line); padding-block: .75rem; }
.support-case-body { max-inline-size: 78ch; white-space: pre-wrap; }
.support-cases h2[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.support-cases time span { white-space: nowrap; }
.support-cases [role="status"]:empty { display: none; }
.support-cases h3,.support-cases h4 { margin-top: 1rem; }
.support-cases textarea { min-height: 7rem; }
.support-workspace-entry {
  display: flex;
  justify-content: flex-end;
  margin-block: .75rem;
}


/* /commercial-disclosure.css */
.commercial-disclosure,.commercial-allocation{min-width:0;margin-block:1.5rem;padding-block:1.25rem;border-block:1px solid var(--line);overflow-wrap:anywhere}
.commercial-disclosure h3,.commercial-allocation h3{font-size:20px;margin:0 0 1rem}.commercial-allocation h4{font-size:16px;margin:1rem 0}
.commercial-source{color:var(--brand);font-size:14px;font-weight:650;margin-block:.75rem}.commercial-values{font-size:14px;line-height:1.8}.commercial-values dd{font-variant-numeric:tabular-nums;word-break:normal}
.commercial-source-details>summary{min-height:44px;padding-block:.7rem;cursor:pointer;color:var(--brand);word-break:keep-all}.commercial-source-details:focus-within{outline:2px solid var(--brand);outline-offset:3px}
.commercial-split{display:block;width:100%;height:12px;background:var(--line);margin-block:1rem;overflow:hidden}.commercial-split>.commercial-fee{fill:var(--brand)}.commercial-split>.commercial-net{fill:var(--green)}
#contract-commercial-fees > button[hidden]{display:none}
@media(max-width:480px){.commercial-disclosure,.commercial-allocation{padding-block:1rem}.commercial-values{display:block}.commercial-values dt{margin-top:.75rem}.commercial-values dd{margin-inline:0}}

/* /content-view.css */
.content-language { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-block: 12px; }
.content-language label { font-weight: 650; word-break: keep-all; }
.content-language select { width: auto; min-width: 100px; }
.content-language [data-public-content-status] { flex: 1 1 100%; font-size: 14px; }
.content-language [data-public-content-status]:empty { display: none; }
.cms-public-panel, .registration-terms:not(:empty) { min-width: 0; margin-block: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.cms-public-panel { flex: 1 1 100%; }
.content-document :is(h1,h2,h3,h4,h5,h6,p,li) { white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.content-document > * + * { margin-top: 10px; }
.registration-terms .check-field { margin-top: 16px; }
#home-title[lang], .home-intro[lang] { white-space: pre-line; overflow-wrap: anywhere; }
.content-page { max-width: 800px; margin: 0 auto; padding: clamp(24px, 6vw, 64px) clamp(18px, 5vw, 48px); }
.content-page header { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.content-page article { margin-block: 24px; }
.content-page :is(header,article,footer) > * + * { margin-top: 12px; }
.content-page footer { padding-top: 16px; border-top: 1px solid var(--line); }
.content-page footer a { text-decoration: underline; text-underline-offset: 4px; }
.content-language select { padding: 8px 12px; min-height: 44px; color: var(--ink); background: var(--surface); border: 1px solid #c9cfd9; border-radius: 8px; }

/* /scope-workspace.css */
/* P1 Scope and Workspace screens. Uses the shared tokens from styles.css. */
.scope-page .content-area,.workspace-page .content-area{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0}
.scope-form .field{margin-top:0}

.scope-form>.button{margin-top:8px}
.scope-result h3{font-size:18px;margin-top:32px}
.scope-result>h2{margin-top:6px}
.scope-summary{font-size:16px;line-height:1.8;margin-top:12px;color:var(--body)}
.scope-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 0}
.scope-facts>div{padding:16px;border:1px solid var(--line);border-radius:10px;min-width:0}
.scope-facts dt{font-size:13px;color:var(--muted)}
.scope-facts dd{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere}
.scope-facts dd strong{font-size:20px}
.scope-steps{list-style:none;counter-reset:scope-step;padding:0;margin:12px 0 0;display:grid;gap:12px}
.scope-steps>li{counter-increment:scope-step;position:relative;padding:14px 16px 14px 52px;border:1px solid var(--line);border-radius:10px;min-width:0}
.scope-steps>li::before{content:counter(scope-step);position:absolute;left:16px;top:14px;width:24px;height:24px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:13px;font-weight:700;display:grid;place-items:center}
.scope-steps p{margin-top:6px;overflow-wrap:anywhere}
.scope-steps .helper{margin-top:4px}
.tag.scope-ai{background:var(--brand-soft);color:var(--brand)}
.scope-result .data-table-wrap{margin-top:12px}
.scope-tests{width:100%;border-collapse:collapse;font-size:14px;line-height:1.65}
.scope-tests th,.scope-tests td{padding:10px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);min-width:160px}
.scope-tests th{background:#F4F5F8;color:var(--ink);font-weight:650}
.scope-tests tr:last-child td{border-bottom:0}
.scope-result .scope-list,.workspace-page .scope-list{grid-template-columns:minmax(0,1fr);padding-left:20px;margin-top:8px;gap:6px}
.scope-result .scope-list li{line-height:1.7;overflow-wrap:anywhere}
.scope-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}
.scope-actions:empty{display:none}
.scope-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1 1 360px;min-width:0}
.scope-share label{flex-basis:100%;font-size:14px;font-weight:650;color:var(--ink)}
.scope-share input{flex:1 1 220px;min-width:0;padding:10px 12px;border:1px solid #C9CFD9;border-radius:8px;font-size:14px;background:var(--surface);color:var(--body)}

.workspace-money-note{padding:12px 16px;border-radius:8px;background:#EFF1F5}
.workspace-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.workspace-list>li{min-width:0}
.workspace-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;min-width:0}
.workspace-row>.field{flex:1 1 160px;margin:12px 0}
.workspace-milestones{border:1px solid var(--line);border-radius:10px;padding:16px 20px;margin:20px 0;min-width:0}
.workspace-milestones legend{font-weight:650;color:var(--ink);padding:0 8px}
.workspace-milestone{padding:12px 0;border-bottom:1px solid var(--line)}
.workspace-milestone:last-of-type{border-bottom:0}
.workspace-terms{padding-left:20px;margin:12px 0;display:grid;gap:8px;line-height:1.7}
.workspace-milestone-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:16px}
.workspace-milestone-card h3{overflow-wrap:anywhere}
.workspace-evidence{margin-top:12px;padding:14px 16px;border-radius:8px;background:#F4F5F8;min-width:0;overflow-wrap:anywhere}
.workspace-evidence code{font-size:13px}
.workspace-evidence a{color:var(--brand);text-decoration:underline;overflow-wrap:anywhere}
.workspace-delivery,.workspace-decision{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.workspace-delivery h4{font-size:16px}

@media(max-width:800px){
  .scope-facts{grid-template-columns:minmax(0,1fr)}
  .scope-steps>li{padding-left:48px}
  .scope-actions{align-items:stretch}
  .scope-actions>.button{width:100%}
  .workspace-row>.button{width:100%}
}

/* Agent connect approval (#/connect, D37): the phishing warning leads, acting permissions carry an amber rule, and
   the agent's own words read as quoted, unchecked text. */
.connect-page .connect-panel,.connect-page .connect-code-form{max-width:760px}
.connect-warning{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;padding:14px 16px;border-radius:10px;background:var(--amber-soft);border:1px solid #F1D9A6;color:var(--body);font-size:15px;line-height:1.7}
.connect-warning>.ph{font-size:22px;color:var(--amber);margin-top:2px;flex-shrink:0}
.connect-warning strong{color:var(--ink)}
.connect-facts dd{overflow-wrap:anywhere}
.connect-untrusted{font-weight:600;color:var(--ink)}
.connect-scopes legend{font-weight:700;color:var(--ink)}
.connect-scope{padding:8px 0 8px 12px;border-left:3px solid var(--line)}
.connect-scope+.connect-scope{margin-top:6px}
.connect-scope-acting{border-left-color:var(--amber)}
.connect-scope-name{color:var(--ink);font-weight:600}
.connect-orgs .check-field+.check-field{margin-top:6px}
.connect-limits{margin:20px 0}

/* D53 (2026-11-25): plans are reviewed inside AiREQ only. Plan text cannot be selected (form fields still can) and
   plans are hidden when printed; app.js blocks copy/cut on them. Screenshots cannot be blocked and are not claimed. */
.scope-protected { -webkit-user-select: none; user-select: none; }
.scope-protected input, .scope-protected textarea, .scope-protected select, .scope-protected [contenteditable] { -webkit-user-select: text; user-select: text; }
.scope-protect-note { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.field-required { margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: #F5E8EF; color: #712F55; font-size: 12px; font-weight: 700; vertical-align: middle; }
/* D98: plan attachments and links */
.scope-files input[type=file]{max-width:100%;font-size:14px}
.scope-file-list{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:6px}
.scope-file{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;min-width:0}
.scope-file-name{font-weight:600;color:var(--ink);overflow-wrap:anywhere;min-width:0}
.scope-file .icon-button,.scope-file .button{margin-left:auto}
.scope-materials{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.plan-links li,.scope-summary a{overflow-wrap:anywhere}
@media print {
  .scope-protected { display: none !important; }
  .scope-page .content-area::before, .market-page .content-area::before { content: "계획서는 AiREQ 안에서만 볼 수 있어요. / Plans can be reviewed on AiREQ only."; display: block; padding: 24px 0; font-weight: 600; }
}

/* /automation-pipe.css */
/* Automation pipe: tool tiles joined by a line (see web/automation-pipe.js). Existing plum system tokens only. */
.pipe { --tile: 46px; --icon: 22px; list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; min-width: 0; }
.pipe-step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pipe-step + .pipe-step::before { content: ''; position: absolute; top: calc(var(--tile) / 2 - 1px); right: calc(50% + var(--tile) / 2 + 2px); left: calc(-50% + var(--tile) / 2 + 2px); height: 2px; background: #CDB3C3; }
.pipe-step + .pipe-step::after { content: ''; position: absolute; top: calc(var(--tile) / 2 - 5px); right: calc(50% + var(--tile) / 2 + 1px); border: 5px solid transparent; border-left: 6px solid #CDB3C3; border-right: 0; }
.pipe-tile { position: relative; z-index: 1; width: var(--tile); height: var(--tile); flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font-size: var(--icon); }
.pipe-label { margin-top: 8px; padding: 0 4px; font-size: 13px; line-height: 1.4; color: var(--body); word-break: keep-all; overflow-wrap: anywhere; }
.pipe-trigger .pipe-tile { border: 2px solid var(--brand); color: var(--brand); }
.pipe-ai .pipe-tile { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.pipe-out .pipe-tile, .pipe-done .pipe-tile { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.pipe-waiting .pipe-tile { background: var(--amber-soft); border: 2px solid var(--amber); color: var(--amber); }
.pipe-open .pipe-tile { color: var(--muted); border-style: dashed; }
.pipe-done + .pipe-step::before, .pipe-done + .pipe-step::after { background: var(--green); border-left-color: var(--green); }
.pipe-done + .pipe-step::after { background: transparent; }

.pipe-mini { --tile: 32px; --icon: 16px; }
.pipe-mini .pipe-tile { border-radius: 9px; }
.pipe-mini .pipe-label { font-size: 12px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* One orchestrated moment: the hero pipe lights up once, step by step. */
.pipe-animate .pipe-tile { animation: pipe-light .5s ease-out both; animation-delay: 200ms; }
.pipe-animate .pipe-step:nth-child(2) .pipe-tile { animation-delay: 360ms; }
.pipe-animate .pipe-step:nth-child(3) .pipe-tile { animation-delay: 520ms; }
.pipe-animate .pipe-step:nth-child(4) .pipe-tile { animation-delay: 680ms; }
.pipe-animate .pipe-step:nth-child(5) .pipe-tile { animation-delay: 840ms; }
@keyframes pipe-light { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pipe-animate .pipe-tile { animation: none; } }

/* Narrow screens: a long full pipe turns vertical so labels stay readable. */
@media (max-width: 560px) {
  .pipe-full { flex-direction: column; align-items: stretch; gap: 14px; }
  .pipe-full .pipe-step { flex-direction: row; align-items: center; text-align: left; gap: 12px; }
  .pipe-full .pipe-label { margin-top: 0; padding: 0; font-size: 14px; }
  .pipe-full .pipe-step + .pipe-step::before { top: calc(-14px - 1px); bottom: auto; left: calc(var(--tile) / 2 - 1px); right: auto; width: 2px; height: 14px; }
  .pipe-full .pipe-step + .pipe-step::after { display: none; }
}

/* Price range on a scale from zero. */
.price-range { margin-top: 14px; }
.price-range-track { display: block; width: 100%; height: 10px; }
.price-range-base { fill: var(--line); }
.price-range-fill { fill: var(--brand); }
.price-range-ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Example catalog: one panel of rows (pipe · request · action), filtered by field. Not a card grid. */
.example-catalog { padding: 56px 0 24px; }
.example-catalog h2 { font-size: 24px; }
.example-intro { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 640px; }
.example-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.example-category { font: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--body); font-size: 14px; cursor: pointer; }
.example-category .ph { font-size: 16px; color: var(--brand); }
.example-category small { font-size: 12px; color: var(--muted); }
.example-category[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.example-category[aria-pressed="true"] .ph, .example-category[aria-pressed="true"] small { color: #FFFFFF; }
.example-category:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.example-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.example-row { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 22px 24px; }
.example-row + .example-row { border-top: 1px solid var(--line); }
.example-copy h3 { font-size: 17px; color: var(--ink); }
.example-copy p { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.example-row > .button { white-space: nowrap; }
.scope-page .example-catalog { padding: 8px 0 0; }
.scope-pipe { margin: 12px 0 18px; padding: 18px 12px; border-radius: 12px; background: #FAF7F9; }
.workspace-track { margin: 12px 0 20px; padding: 18px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.workspace-track > .helper { margin: 0 0 12px 4px; }
@media (max-width: 900px) {
  .example-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .example-row > .button { justify-self: start; }
}

/* /site-header.css */
/* Header alignment pass (2026-11-17): one row of equally centred controls on desktop, a flag language
   switch instead of the separate "안내 언어" row, and a compact workspace selector. Loaded after styles.css. */
.site-header { min-height: 72px; padding-top: 12px; padding-bottom: 12px; align-items: center; }
.site-header > * { flex-shrink: 0; }
.site-header nav { flex-shrink: 1; }

.header-locale { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.header-locale button { display: grid; place-items: center; width: 34px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; opacity: .5; filter: saturate(.6); }
.header-locale button img { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(23, 28, 39, .18); }
.header-locale button:hover { opacity: .85; filter: none; }
.header-locale button[aria-pressed="true"] { opacity: 1; filter: none; background: var(--brand-soft); }
.header-locale button:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }

/* Workspace selector: same height as the other controls; the label stays for screen readers only. */
.header-context, .site-header:has(.header-context:not(.hidden)) .header-context { margin-left: 0; flex-direction: row; align-items: center; max-width: 220px; }
.header-context label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.header-context select { height: 36px; padding: 6px 28px 6px 10px; font-size: 14px; }
.header-login, .header-context:not(.hidden) + .header-login { margin-left: 0; }
.header-action { min-height: 36px; display: inline-flex; align-items: center; }

/* The old rule wrapped the header as soon as the workspace selector appeared; keep one row while it fits. */
@media (min-width: 1001px) {
  .site-header:has(.header-context:not(.hidden)) { flex-wrap: nowrap; }
  .site-header:has(.header-context:not(.hidden)) nav { margin-right: 0; }
}

@media (max-width: 800px) {
  .header-locale { order: 2; margin-left: auto; }
  .site-header .menu-toggle { order: 3; }
  .header-login, .header-context:not(.hidden) + .header-login { order: 7; margin-left: 0; }
  .header-action { order: 8; }
  .header-context, .site-header:has(.header-context:not(.hidden)) .header-context { order: 5; flex: 1 1 100%; max-width: none; }
  .header-context select { width: 100%; }
}

/* Published notices follow the page language; their status line only takes space when it says something. */
.content-language:has([data-public-content-status]:empty) { display: none; }

/* Phones (styles.css switches the header to a grid at 600px): logo · flags · menu on the first row. */
@media (max-width: 600px) {
  .site-header { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "brand brand locale menu" "login login workspace workspace"; column-gap: 8px; }
  .site-header:has(#main-navigation.open) { grid-template-areas: "brand brand locale menu" "navigation navigation navigation navigation" "login login workspace workspace"; }
  .site-header:has(.header-context:not(.hidden)) { grid-template-areas: "brand brand locale menu" "context context context context" "login login workspace workspace"; }
  .site-header:has(.header-context:not(.hidden)):has(#main-navigation.open) { grid-template-areas: "brand brand locale menu" "context context context context" "navigation navigation navigation navigation" "login login workspace workspace"; }
  .header-locale { grid-area: locale; justify-self: end; margin-left: 0; }
  .header-locale button { width: 30px; }
}
@media (max-width: 360px) {
  .header-locale button { width: 26px; }
  .header-locale button img { width: 20px; height: 14px; }
}

/* Tablets with the workspace selector: when the row must wrap, the account controls sit on the right. */
@media (min-width: 801px) and (max-width: 1100px) {
  .header-context, .site-header:has(.header-context:not(.hidden)) .header-context { max-width: 170px; }
}
@media (min-width: 801px) and (max-width: 1000px) {
  /* Not enough room for links, selector and account together: the links move into the menu, as on phones. */
  .site-header:has(.header-context:not(.hidden)) { flex-wrap: wrap; }
  .site-header:has(.header-context:not(.hidden)) .menu-toggle { display: inline-flex; order: 5; }
  .site-header:has(.header-context:not(.hidden)) nav { display: none; order: 6; flex-basis: 100%; margin: 0; padding: 8px 0; }
  .site-header:has(.header-context:not(.hidden)) nav.open { display: flex; }
  .site-header:has(.header-context:not(.hidden)) .header-locale { order: 1; }
  .site-header:has(.header-context:not(.hidden)) .header-context { order: 2; }
  .site-header:has(.header-context:not(.hidden)) .header-login { order: 3; }
  .site-header:has(.header-context:not(.hidden)) .header-action { order: 4; }
}

/* Audit P0: the unread-notice bell sits on the first phone row, between the flags and the menu. */
@media (max-width: 600px) {
  .site-header { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto auto; grid-template-areas: "brand brand locale notices menu" "login login workspace workspace workspace"; }
  .site-header:has(#main-navigation.open) { grid-template-areas: "brand brand locale notices menu" "navigation navigation navigation navigation navigation" "login login workspace workspace workspace"; }
  .site-header:has(.header-context:not(.hidden)) { grid-template-areas: "brand brand locale notices menu" "context context context context context" "login login workspace workspace workspace"; }
  .site-header:has(.header-context:not(.hidden)):has(#main-navigation.open) { grid-template-areas: "brand brand locale notices menu" "context context context context context" "navigation navigation navigation navigation navigation" "login login workspace workspace workspace"; }
  .site-header .header-notices { grid-area: notices; }
}

/* Account button and menu (owner feedback 2026-11-25). Signed in, the bar keeps one compact control: initials in the
   brand gradient and the name capped at 12 characters. Everything about the account — who is signed in, the
   workspace selector, account links and log-out — opens from it, so nothing else in the bar gets pushed aside. */
.header-account { position: relative; }
.account-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.account-trigger:hover, .account-trigger[aria-expanded="true"] { border-color: #C9CDD8; background: #F6F7FA; }
.account-trigger:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.account-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #712F55 0%, #5B4BDB 100%); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.account-name { max-width: 12ch; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-trigger .ph-caret-down { font-size: 14px; color: var(--muted); transition: transform .15s ease; }
.account-trigger[aria-expanded="true"] .ph-caret-down { transform: rotate(180deg); }

.account-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: 288px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 1px 0 rgba(14, 18, 32, .03), 0 24px 48px -20px rgba(14, 18, 32, .35); }
.account-menu[hidden] { display: none; }
.account-menu-who { display: grid; gap: 2px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-menu-name { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.account-menu-email { font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-menu-role { justify-self: start; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600; }
.account-context { display: grid; gap: 4px; padding: 4px 12px 10px; }
.account-context label { font-size: 12px; font-weight: 600; color: var(--muted); }
.account-context select { width: 100%; height: 38px; padding: 6px 28px 6px 10px; font-size: 14px; }
.account-menu-links { display: grid; }
.account-menu-links a, .account-logout { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.account-menu-links a .ph, .account-logout .ph { font-size: 18px; color: var(--muted); }
.account-menu-links a:hover, .account-menu-links a:focus-visible, .account-logout:hover, .account-logout:focus-visible { background: #F0F2F7; outline: none; }
.account-menu-links a:focus-visible, .account-logout:focus-visible { box-shadow: inset 0 0 0 2px var(--brand); }
.account-logout { width: 100%; margin-top: 6px; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
@media (prefers-reduced-motion: reduce) { .account-trigger .ph-caret-down { transition: none; } }

@media (max-width: 800px) {
  .header-account { order: 7; }
}
/* Builders have four links (D43). Below 1100px the account button shows initials only, and the links never shrink
   under their own width, so they cannot slide under the language switch (browser check 2026-11-25). */
@media (max-width: 1100px) { .account-name { display: none; } .account-trigger { padding-right: 8px; gap: 4px; } }
@media (min-width: 801px) { .site-header nav#main-navigation { min-width: max-content; } }
/* Phones: the button shrinks to the initials; the menu opens under it at nearly full width. */
@media (max-width: 600px) {
  .site-header .header-account { grid-area: login; justify-self: start; }
  .account-name { display: none; }
  .account-trigger { padding-right: 8px; gap: 4px; }
  .account-menu { left: 0; right: auto; width: min(320px, calc(100vw - 40px)); }
}

/* Owner feedback 2026-11-25: the current page in the top menu was hard to tell apart. A soft violet pill and a
   slightly heavier weight mark it without shouting; hover gets a lighter version of the same pill. Phones (menu
   panel) use a left bar instead of a pill. */
.site-header nav#main-navigation a { padding: 6px 10px; border-radius: 999px; transition: background-color .15s ease, color .15s ease; }
.site-header nav#main-navigation a:hover { background: #F4F3FE; color: #0E1220; }
.site-header nav#main-navigation a[aria-current="page"] { background: #EFEDFD; color: #4636C9; font-weight: 650; }
.site-header nav#main-navigation a:focus-visible { outline: 3px solid #5B4BDB; outline-offset: 2px; }
@media (max-width: 800px) {
  .site-header nav#main-navigation a { border-radius: 10px; }
  .site-header nav#main-navigation a[aria-current="page"] { box-shadow: inset 3px 0 0 #5B4BDB; }
}
@media (prefers-reduced-motion: reduce) { .site-header nav#main-navigation a { transition: none; } }
/* Browser check 2026-11-25: with four links, the bell, the account button and the call to action the bar overflowed
   between 801 and 1100px. Tighter spacing there, and below 1000px the builder's "내 작업실" button (also in the
   account menu) steps aside; the requester's "요청하기" always stays. */
@media (min-width: 801px) and (max-width: 1100px) {
  .site-header { column-gap: 12px; gap: 12px; }
  .site-header nav#main-navigation { gap: 2px; margin-left: 4px; }
  .site-header nav#main-navigation a { padding: 6px 8px; font-size: 14px; }
}
@media (min-width: 801px) and (max-width: 1000px) { .site-header .header-action[href="#/workspace"] { display: none; } }

/* D88: the hub sub-navigation under the page head (요청 시장 · 작업실 · 내 프로필). Quieter than the top menu: plain
   links on one rule, the current page carries the same violet as the top-menu pill, as an underline. It never widens
   the page: on phones the row scrolls inside itself, with a fade on the right edge hinting at more items. */
.hub-nav { position: relative; min-width: 0; max-width: 100%; margin: -12px 0 28px; }
.hub-nav-track { display: flex; gap: 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.hub-nav-track::-webkit-scrollbar { display: none; }
.hub-nav-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .15s ease, box-shadow .15s ease; }
.hub-nav-link:hover { color: var(--ink); box-shadow: inset 0 -2px 0 #D9D5FB; }
.hub-nav-link[aria-current="page"] { color: #4636C9; box-shadow: inset 0 -2px 0 #5B4BDB; }
.hub-nav-link:focus-visible { outline: 3px solid #5B4BDB; outline-offset: -3px; border-radius: 8px; }
@media (max-width: 600px) {
  .hub-nav { margin: -8px 0 20px; }
  .hub-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 24px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--page, #fff)); pointer-events: none; }
  .hub-nav-link { padding: 0 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hub-nav-link { transition: none; } }

/* 내 프로필 sections: the moved account panels stack with one even gap (slots that stay empty take no space). */
.profile-section { display: grid; gap: 20px; min-width: 0; }
.profile-section > * { min-width: 0; margin: 0; }
.profile-section > :empty { display: none; }
.profile-section > * > .panel { margin: 0; }

/* /skeleton.css */
/* Loading placeholders (owner report 2026-11-26). The page shell ships a skeleton inside <main> that shows before any
   module has loaded; skeleton(kind) in skeleton.js draws the same shapes while a page fetches its data. While the
   session check is pending the header shows a neutral placeholder instead of the sign-in link or the account button.
   Loaded before grid-lab.css, which stays last. */
.page-skeleton { padding: 48px 0 72px; }
.page-skeleton > .container, .skeleton-shapes { display: grid; gap: 14px; }
.skeleton { padding: 8px 0; }
.skeleton-bar, .skeleton-card, .header-session-pending {
  display: block; border-radius: 8px;
  background: linear-gradient(90deg, var(--line) 25%, var(--page) 50%, var(--line) 75%);
  background-size: 200% 100%; animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.skeleton-bar { height: 14px; width: min(720px, 100%); }
.skeleton-eyebrow { width: 120px; height: 12px; }
.skeleton-title { width: min(560px, 80%); height: 40px; border-radius: 10px; }
.skeleton-short { width: min(420px, 70%); }
.skeleton-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.skeleton-card { height: 160px; border-radius: 12px; }
.skeleton-wide { height: 220px; margin-top: 10px; }
.skeleton-row { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@keyframes skeleton-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Header while the session check is pending: no sign-in link, no account button, one quiet pill. */
.site-header[data-session="pending"] .header-login, .site-header[data-session="pending"] .header-account { display: none !important; }
.header-session-pending { display: inline-flex; align-items: center; flex-shrink: 0; width: 92px; height: 36px; padding: 4px; border-radius: 999px; }
.site-header:not([data-session="pending"]) .header-session-pending { display: none; }
.header-session-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--body); font-size: 12px; font-weight: 700; line-height: 1; }
.header-session-avatar:empty { visibility: hidden; }

@media (max-width: 800px) {
  .skeleton-cards { grid-template-columns: minmax(0, 1fr); }
  .skeleton-cards .skeleton-card:nth-child(n + 2) { display: none; }
  .page-skeleton { padding: 32px 0 48px; }
}
@media (max-width: 600px) {
  .site-header .header-session-pending { grid-area: login; width: 100%; min-height: 44px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-bar, .skeleton-card, .header-session-pending { animation: none; }
}

/* Loading rows inside market lists (board, builders, my requests): one full-width item. */
.skeleton-item { list-style: none; grid-column: 1 / -1; border: 0; background: none; box-shadow: none; padding: 0; }

/* Boot guard message (web/boot-guard.js) when the app could not load. */
.boot-failed { padding: 64px 0; display: grid; gap: 12px; justify-items: start; }
.boot-failed h1 { margin: 0; font-size: 24px; }

/* /illustrations.css */
/* Grid Lab illustrations (2026-11-25, web/illustrations.js): the deal route and its spot art. Colours follow the
   Grid Lab tokens (violet route, plum-to-violet AI station, green accepted stages, dashed mint direct payment).
   Only the deal route moves: one comet travels the route and each station answers it once, and nothing moves for
   people who ask for reduced motion. */
.ill-g { --ill-ink: var(--violet, #5B4BDB); fill: none; stroke: var(--ill-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ill-g .ill-gf { fill: var(--ill-ink); stroke: none; }
.ill-g .ill-gw { fill: #fff; }
.ill-g .ill-seal { fill: var(--brand, #712F55); stroke: #fff; stroke-width: 1.2; }
.ill-g-light { --ill-ink: #fff; }
.ill-g-light .ill-gw { fill: transparent; }
.ill-g-ok { --ill-ink: #1E8A52; }
.ill-g-direct { --ill-ink: #1F7046; }
.ill-g-mint { --ill-ink: #B9F0CF; }
.ill-icon { width: 24px; height: 24px; flex: none; overflow: visible; }

.ill-st { fill: #fff; stroke: #D9D4FA; stroke-width: 1.5; }
.ill-st-ai { stroke: rgba(255, 255, 255, .9); stroke-width: 2; }
.ill-st-ok { fill: #F1FAF4; stroke: #8FD3AB; }
.ill-st-direct { fill: #EAF8F0; stroke: #6FCF97; stroke-width: 1.5; }
.ill-st-dark { fill: #0E1220; stroke: #2B2F45; stroke-width: 1.5; }
.ill-line { fill: none; stroke: var(--violet, #5B4BDB); stroke-width: 2.2; stroke-linecap: round; }
.ill-line-faint { stroke: #C9C1F5; stroke-dasharray: 4 6; stroke-width: 1.8; }
.ill-line-soft { stroke: #C9C1F5; stroke-width: 1.6; }
.ill-line-light { stroke: rgba(233, 231, 255, .55); stroke-width: 1.6; }
.ill-line-direct { fill: none; stroke: #3FAF74; stroke-width: 2.2; stroke-dasharray: 6 6; stroke-linecap: round; }
.ill-line-mint { fill: none; stroke: #B9F0CF; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.ill-line-grey { fill: none; stroke: #B8BDCA; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.ill-arrow { fill: var(--violet, #5B4BDB); }
.ill-arrow-direct { fill: #3FAF74; }
.ill-arrow-mint { fill: #B9F0CF; }
.ill-frame { fill: rgba(241, 239, 253, .45); stroke: #CFC8F6; stroke-width: 1.4; stroke-dasharray: 3 6; }
.ill-mark-line { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ill-mark-dot { fill: #fff; }
.ill-mark-end { fill: #B9F0CF; }
.ill-orbit { fill: none; stroke: #CFC8F6; stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.ill-orbit-dark { stroke: rgba(201, 193, 245, .45); }
.ill-dot { fill: #CFC8F6; }
.ill-card { fill: #fff; stroke: #DCDFE7; stroke-width: 1.2; }
.ill-card-hot { fill: #F6F4FE; stroke: var(--violet, #5B4BDB); stroke-width: 1.6; }
.ill-card-dark { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; }
.ill-bar { fill: #E7E9EF; }
.ill-bar-hot { fill: #CFC8F6; }
.ill-bar-dark { fill: rgba(255, 255, 255, .16); }
.ill-bar-mint { fill: #B9F0CF; }
.ill-ok { fill: #E3F6EA; stroke: #34A26A; stroke-width: 1.2; }
.ill-ok-mint { fill: #B9F0CF; stroke: none; }
.ill-ok-solid { fill: #2F8F5B; }
.ill-ok-mark { fill: none; stroke: #1E8A52; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill-ok-mint + .ill-ok-mark { stroke: #0E1220; }
.ill-ok-mark-light { stroke: #fff; stroke-width: 2.4; }
.ill-track { fill: none; stroke: #E1E4EB; stroke-width: 4; stroke-linecap: round; }
.ill-track-done { stroke: var(--violet, #5B4BDB); }
.ill-node { fill: #fff; stroke: #C6CAD5; stroke-width: 2; }
.ill-node-now { fill: #fff; stroke: var(--violet, #5B4BDB); stroke-width: 3; }
.ill-node-dark { fill: none; stroke: rgba(233, 231, 255, .55); stroke-width: 2; }
.ill-node-grey { fill: #C6CAD5; }
.ill-node-open { fill: #fff; stroke: #C6CAD5; stroke-width: 2; stroke-dasharray: 3 3; }
.ill-dot-grey { fill: #9AA0AE; }
.ill-node-violet { fill: var(--violet, #5B4BDB); }
.ill-key { fill: #fff; stroke: #CFC8F6; stroke-width: 1.2; }
.ill-ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.2; }
.ill-ring-dash { stroke-dasharray: 3 7; stroke: rgba(201, 193, 245, .35); }
.ill-band-core { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .18); }
.ill-token { fill: #C9C1F5; }
.ill-token-mint { fill: #B9F0CF; }

/* The deal route: the wide drawing from 720px, the compact one below. */
.ill-route { margin: 40px 0 0; }
.ill-route svg { display: block; width: 100%; height: auto; }
.ill-route-compact { display: none !important; }
@media (max-width: 719px) {
  .ill-route-wide { display: none !important; }
  .ill-route-compact { display: block !important; }
}
.ill-comet { fill: none; stroke: none; }
.ill-pulse { fill: none; stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .ill-comet { stroke: var(--violet, #5B4BDB); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 3 200; stroke-dashoffset: 3; opacity: 0;
    animation: ill-comet 9s linear infinite; }
  .ill-pulse { stroke: var(--violet, #5B4BDB); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ill-pulse 9s ease-out infinite; }
  .ill-pulse-1 { animation-delay: 1.3s; } .ill-pulse-2 { animation-delay: 2.6s; } .ill-pulse-3 { animation-delay: 3.9s; }
  .ill-pulse-4 { animation-delay: 5.2s; } .ill-pulse-5 { animation-delay: 7s; stroke: #3FAF74; }
}
@keyframes ill-comet { 0% { stroke-dashoffset: 3; opacity: 0; } 3% { opacity: 1; } 75% { opacity: 1; } 78% { stroke-dashoffset: -100; opacity: 0; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes ill-pulse { 0% { opacity: .55; transform: scale(1); } 14% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; transform: scale(1.5); } }

/* Gentle motion for every illustration (owner request 2026-11-26: the pictures felt static). One vocabulary, each move
   meaning something: the art settles in once; solid routes draw themselves; checks land after the route reaches them;
   the AI's orbit turns and its station breathes while it works; the stage in progress pulses; the dashed direct
   payment keeps flowing toward the builder. transform/opacity/stroke-dashoffset only. Below-the-fold home art waits
   paused until it scrolls into view and pauses again when it leaves (web/living-visuals.js mountReveal toggles
   .ill-paused). Reduced motion: nothing here applies, so every drawing is static and complete. */
.ill-rider { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .page-visual svg, .ill-spot, .ill-why, .ill-route svg { animation: ill-enter .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ill-hero, .ill-band { animation: ill-fade 1s ease-out both; }
  .ill-draw { stroke-dasharray: 1 1; animation: ill-draw 1.1s cubic-bezier(.45, 0, .2, 1) .3s both; }
  .ill-draw-late { animation-delay: .8s; }
  .ill-ok, .ill-ok + .ill-ok-mark, .pv-ok, .pv-ok + .pv-ok-mark { transform-box: fill-box; transform-origin: center; animation: ill-pop .5s cubic-bezier(.3, 1.45, .5, 1) 1.1s both; }
  .ill-orbit, .ill-ring-dash { transform-box: fill-box; transform-origin: center; animation: ill-spin 60s linear infinite; }
  .ill-spin-band { transform-box: view-box; transform-origin: 200px 130px; animation: ill-spin 90s linear infinite; }
  .ill-node-now, .pv-node-now { transform-box: fill-box; transform-origin: center; animation: ill-now 2.4s ease-in-out infinite; }
  .ill-line-direct { animation: ill-march-12 1.2s linear infinite; }
  .ill-line-mint { animation: ill-march-11 1.2s linear infinite; }
  .pv-dash, .ill-send { animation: ill-march-9 1.4s linear infinite; }
  .ill-send { stroke-dasharray: 4 5; }
  .pv-twinkle, .pv-spark { transform-box: fill-box; transform-origin: center; animation: ill-twinkle 3.2s ease-in-out infinite; }
  .pv-spark { animation-delay: 1.6s; }
  /* Hero orbit: stations bob, the agent glows, its dots type, the accepted stage pings, riders carry request and coin. */
  .ill-bob { animation: ill-bob 6s ease-in-out infinite; }
  .ill-bob-late { animation-delay: -3s; }
  .ill-glow { transform-box: fill-box; transform-origin: center; animation: ill-glow 3.2s ease-in-out infinite; }
  .ill-blink { animation: ill-blink 1.5s ease-in-out infinite; }
  .ill-blink-2 { animation-delay: .2s; } .ill-blink-3 { animation-delay: .4s; }
  .ill-ping { fill: none; stroke: #34A26A; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ill-ping 3.2s ease-out 1.4s infinite; }
  .ill-rider { display: inline; }
  .ill-rider circle { stroke: #fff; stroke-width: 2; }
  .ill-rider-req circle { fill: var(--violet, #5B4BDB); }
  .ill-rider-pay circle { fill: #3FAF74; }
  .ill-paused, .ill-paused * { animation-play-state: paused !important; }
}
.ill-ping { fill: none; stroke: none; }
@keyframes ill-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ill-fade { from { opacity: 0; } }
@keyframes ill-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ill-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ill-spin { to { transform: rotate(360deg); } }
@keyframes ill-now { 0%, 100% { transform: none; } 50% { transform: scale(1.18); } }
@keyframes ill-march-12 { to { stroke-dashoffset: -12; } }
@keyframes ill-march-11 { to { stroke-dashoffset: -11; } }
@keyframes ill-march-9 { to { stroke-dashoffset: -9; } }
@keyframes ill-twinkle { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .55; transform: scale(.82) rotate(20deg); } }
@keyframes ill-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-7px); } }
@keyframes ill-glow { 0%, 100% { transform: none; opacity: 1; } 50% { transform: scale(1.06); opacity: .92; } }
@keyframes ill-blink { 0%, 100% { opacity: .35; } 40% { opacity: 1; } }
@keyframes ill-ping { 0% { opacity: .7; transform: scale(1); } 40% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; transform: scale(1.6); } }

/* Home "how it works": the route answers the step list. Hovering or tapping a part (or choosing a step below) lights
   that step's parts and dims the rest; web/home-premium.js mountProcess keeps the list and the picture in step. */
.ill-route [data-step] { cursor: pointer; transition: opacity .2s ease; }
.home-process[data-active] .ill-route [data-step] { opacity: .2; }
.home-process[data-active="plan"] .ill-route [data-step="plan"], .home-process[data-active="request"] .ill-route [data-step="request"],
.home-process[data-active="compare"] .ill-route [data-step="compare"], .home-process[data-active="project"] .ill-route [data-step="project"] { opacity: 1; }
.home-process[data-active="request"] .ill-route .ill-line-faint[data-step="request"] { stroke: var(--violet, #5B4BDB); }
.home-process[data-active="request"] .ill-route .ill-line[data-step="request"], .home-process[data-active="compare"] .ill-route .ill-line[data-step="compare"],
.home-process[data-active="project"] .ill-route .ill-line[data-step="project"] { stroke-width: 3.4; }
.home-process[data-active="plan"] .ill-stop[data-step="plan"] .ill-st, .home-process[data-active="compare"] .ill-stop[data-step="compare"] .ill-st { stroke: var(--violet, #5B4BDB); stroke-width: 2.6; }
@media (prefers-reduced-motion: reduce) { .ill-route [data-step] { transition: none; } }

/* Spot art sizes. */
.ill-spot { display: block; width: 100%; height: auto; max-height: 132px; }
.ill-why { display: block; width: 100%; height: auto; }
.ill-art svg .ill-st-ai { stroke-width: 2.4; }

/* Home placements. */
.gl-hero { position: relative; isolation: isolate; }
.ill-hero { position: absolute; z-index: -1; left: 50%; top: 40px; width: 1200px; max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; display: none; }
@media (min-width: 1180px) { .ill-hero { display: block; } }
.home-route { margin-top: 36px; }
.gl-side-art { margin: -6px -6px 4px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #FBFAFF, #F4F1FE); border: 1px solid #ECE8FC; }
.gl-side-builder .gl-side-art { background: radial-gradient(120% 120% at 80% 0%, rgba(91, 75, 219, .35), transparent 60%), rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.gl-why-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: end; }
.gl-why-head .ill-why { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.ill-band { position: absolute; z-index: -1; right: 216px; top: 50%; width: 320px; height: auto; transform: translateY(-50%); pointer-events: none; }
@media (max-width: 1179px) { .ill-band { display: none; } }
@media (max-width: 760px) { .gl-why-head { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
/* Builder start page steps and pricing plans: a glyph in the corner of each step or plan. */
.builder-flow-glyph { display: block; width: 26px; height: 26px; margin-bottom: 14px; padding: 8px; box-sizing: content-box; border-radius: 12px; background: linear-gradient(135deg, #F7EEF3, #ECE9FD); box-shadow: inset 0 0 0 1px #E3DEFB; }
.price-panel { position: relative; }
.ill-plan { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; }
/* Kind tiles: a dotted corner and a two-tone icon tile. */
.gl-kind { position: relative; overflow: hidden; }
.gl-kind::after { content: ""; position: absolute; top: 0; right: 0; width: 96px; height: 96px; pointer-events: none;
  background-image: radial-gradient(#D9D4FA 1.2px, transparent 1.5px); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 72%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 72%); }
.gl-kinds .gl-kind-icon { background: linear-gradient(135deg, #F7EEF3, #ECE9FD); box-shadow: inset 0 0 0 1px #E3DEFB; }

/* /market-discovery.css */
/* Request audience and discovery screens (D40–D46, 2026-11-25): the audience choice on the posting form, the builder
   request board (#/market/requests) and the builder list (#/market/builders). Loaded before grid-lab.css. */
.market-audience { display: grid; gap: 10px; margin: 6px 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.market-audience legend { padding: 0 6px; font-weight: 700; }
.market-invited { display: grid; gap: 10px; margin: 4px 0 0 28px; }
.market-invited[hidden] { display: none; }
.market-invited-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.market-invited-list li:not(.helper) { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: #F1EFFD; color: #2E2580; font-size: 14px; font-weight: 600; }
.chip-remove { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.chip-remove:hover, .chip-remove:focus-visible { background: rgba(46, 37, 128, .12); outline: none; }
.chip-remove:focus-visible { box-shadow: 0 0 0 2px #5B4BDB; }

.market-tabs { display: flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 12px; background: #F0F2F7; width: max-content; max-width: 100%; }
.market-tab { padding: 8px 14px; border-radius: 9px; color: #3A4152; font-weight: 600; font-size: 14px; text-decoration: none; }
.market-tab[aria-current="page"] { background: #fff; color: #0E1220; box-shadow: 0 1px 2px rgba(14, 18, 32, .08); }
.market-board-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.market-board-notice > span { flex: 1 1 280px; }
.market-board-filters { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.market-board .market-section + .market-section { margin-top: 24px; }
.market-invited-tag { background: #F1EFFD; color: #2E2580; }
.market-fit-tag { background: #EAF5EF; color: #1D5C40; }
.market-unfit-tag { background: #F3F4F7; color: #4A5163; }

.market-directory-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.market-directory-bar select { min-height: 40px; }
.builder-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.builder-card-head h3 { margin: 0; font-size: 17px; }
.builder-card-headline { margin: 0; color: #3A4152; }
.builder-card-types { display: flex; flex-wrap: wrap; gap: 6px; }
.builder-card .button { justify-self: start; position: relative; z-index: 1; }
.market-verified-tag { background: #EAF5EF; color: #1D5C40; }
/* D73: subscribed builder mark, calmer than the identity mark. */
.market-subscribed-tag { background: #EEF1F8; color: #2A3A66; }
.market-proposal-head .market-subscribed-tag { margin-left: 6px; }
.builder-card-about summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.market-audience-line { margin: 10px 0 0; }
.market-audience-line p { margin: 0 0 6px; }
.market-invited-names { margin: 0 0 10px; padding-left: 20px; }
@media (max-width: 600px) { .market-invited { margin-left: 0; } .market-tabs { width: 100%; } .market-tab { flex: 1; text-align: center; } }

/* D49 project counterparts and message thread; D50 my plans. */
.project-counterparts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 8px 0 0; color: #3A4152; }
.project-messages h2 { margin-top: 0; }
.project-message-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; max-height: 480px; overflow-y: auto; }
.project-message { max-width: min(560px, 92%); padding: 10px 14px; border-radius: 14px; background: #F3F4F7; }
.project-message-mine { justify-self: end; background: #F1EFFD; }
.project-message-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; font-size: 13px; color: #646C7E; }
.project-message-meta strong { color: #0E1220; }
.project-message-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.project-message-form { display: grid; gap: 8px; }
.project-message-form label { font-weight: 600; }
.p1-plans li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.p1-plans li .button { margin-left: auto; }

/* Buttons styled with display set by .button still honour the hidden attribute on these pages. */
[data-board-more][hidden], [data-builders-more][hidden], [data-messages-older][hidden], [data-invited-section][hidden] { display: none !important; }

/* Proposal blockers shown before the form (journey audit P1). */
.market-blockers { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 10px; }
.market-blockers li { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #FFF7EC; border: 1px solid #F3D9B1; }
.market-blockers .button { justify-self: start; margin-top: 4px; }

/* Builder profile page. */
.builder-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.builder-profile-grid h2 { font-size: 17px; margin: 18px 0 8px; }
.builder-profile-about { white-space: pre-wrap; }
.builder-profile-facts { display: grid; gap: 10px; }
.builder-reviews { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.builder-reviews li { padding: 10px 12px; border-radius: 12px; background: #F6F7FA; }
.builder-reviews p { margin: 4px 0; }
.builder-stars { color: #B7791F; letter-spacing: 1px; }
.builder-card-profile { font-weight: 600; font-size: 14px; }
@media (max-width: 800px) { .builder-profile-grid { grid-template-columns: 1fr; } }

/* D59 payment methods. */
.payment-wallet-address { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; }
.payment-wallet-address code { padding: 6px 10px; border-radius: 8px; background: #F3F4F7; font-size: 14px; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.payment-wallet-warn { color: #8A4B08; }
.payment-bank { white-space: pre-wrap; margin: 6px 0; }
.payment-link-form [hidden] { display: none !important; }

/* D56 activity feed: real records only. The dot pulses once per load, not forever (reduced motion respected). */
.activity-feed { margin-top: 28px; margin-bottom: 8px; padding: 22px 24px; border: 1px solid #E6E8EE; border-radius: 18px; background: #fff; }
.activity-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.activity-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; background: #2F9E6B; box-shadow: 0 0 0 0 rgba(47, 158, 107, .45); animation: activity-pulse 1.6s ease-out 2; }
@keyframes activity-pulse { to { box-shadow: 0 0 0 10px rgba(47, 158, 107, 0); } }
@media (prefers-reduced-motion: reduce) { .activity-dot { animation: none; } }
.activity-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.activity-totals div { padding: 10px 12px; border-radius: 12px; background: #F6F7FA; }
.activity-totals dt { font-size: 13px; color: #646C7E; }
.activity-totals dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; color: #0E1220; }
.activity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.activity-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #F0F2F7; font-size: 15px; }
.activity-list li:last-child { border-bottom: 0; }
.activity-list .ph { font-size: 18px; color: #5B4BDB; }
.activity-list time { font-size: 13px; color: #646C7E; white-space: nowrap; }
.activity-empty { margin: 8px 0 0; }
@media (max-width: 600px) { .activity-feed { padding: 16px; } .activity-list li { grid-template-columns: 20px minmax(0, 1fr); } .activity-list time { grid-column: 2; } }

/* D57 references and D61 review scores. */
.builder-ref-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 4px 0 8px; font-weight: 600; color: #3A4152; }
.builder-references { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.builder-references li { padding: 12px 14px; border: 1px solid #E6E8EE; border-radius: 12px; }
.builder-ref-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.builder-ref-head time { margin-left: auto; font-size: 13px; color: #646C7E; }
.review-score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 14px; }
.review-scores { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 6px; font-size: 14px; color: #3A4152; }

/* D67 request steps above the plan page, the post form and the comparison (markup: web/request-steps.js). */
.request-steps { margin: 0 0 20px; }
@media (max-width: 600px) { .request-steps li { text-align: center; } }
/* D70 builder start: six steps read as two rows of three on wide screens (grid-lab.css keeps the narrow layouts). */
@media (min-width: 901px) { .builder-start .builder-flow ol.builder-steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p1-quick-links { margin: 0 0 16px; }

/* D58 secure handoff and private materials. */
.handoff-panel h2, .project-materials h2 { display: flex; align-items: center; gap: 8px; }
.handoff-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.handoff-key code { padding: 2px 8px; border-radius: 6px; background: #F3F4F7; font-size: 14px; letter-spacing: .04em; }
.handoff-form { display: grid; gap: 10px; margin: 12px 0; padding: 14px; border: 1px dashed #C9C1F5; border-radius: 14px; background: #FAFAFF; }
.handoff-form [hidden] { display: none !important; }
.handoff-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.handoff-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 12px; border: 1px solid #E6E8EE; border-radius: 12px; }
.handoff-item p { margin: 2px 0 0; }
.handoff-reveal { margin-top: 12px; padding: 14px; border: 2px solid #5B4BDB; border-radius: 14px; background: #fff; }
.handoff-reveal[hidden] { display: none; }
.handoff-secret { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; border-radius: 10px; background: #0E1220; color: #E8ECF5; font-size: 14px; -webkit-user-select: text; user-select: text; }
.project-materials-body { white-space: pre-wrap; overflow-wrap: anywhere; }

/* D60 provider ID check and connect caps. */
.identity-provider { margin: 12px 0; padding: 16px; border: 1px solid #C9C1F5; border-radius: 14px; background: #FAFAFF; }
.identity-provider h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.connect-caps summary { cursor: pointer; font-weight: 600; }
.connect-cap-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; }

/* D77-D81 (2026-11-26): request count beside the title, the builder step strip, guidance dialogs, basic builder
   entries, the directory setting on my profile and the invitation-only project start. */
.board-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.board-title h1 { margin: 0; }
.board-count { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; background: #F0F2F7; color: #3A4152; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.board-count:empty { display: none; }

.builder-strip { margin: 0 0 18px; padding: 14px 16px 16px; border: 1px solid #E6E8EE; border-radius: 16px; background: #fff; }
.builder-strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.builder-strip-head h2 { margin: 0; font-size: 16px; }
.builder-strip-head .text-link { font-size: 14px; font-weight: 600; }
.builder-strip ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.builder-strip li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 8px; row-gap: 2px;
  padding: 8px 10px; border-radius: 12px; background: #F6F7FA; color: #3A4152; }
.builder-strip-glyph { grid-row: 1 / span 2; width: 20px; height: 20px; padding: 6px; box-sizing: content-box; border-radius: 10px; background: linear-gradient(135deg, #F7EEF3, #ECE9FD); }
.builder-strip-n { display: inline-flex; align-items: center; gap: 2px; font: 700 12px/1 var(--mono, ui-monospace, monospace); color: #646C7E; }
.builder-strip-name { font-size: 14px; font-weight: 600; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
.builder-strip li.done { background: #EEF7F2; }
.builder-strip li.done .builder-strip-n { color: #1D5C40; }
.builder-strip li.current { background: #F1EFFD; box-shadow: inset 0 0 0 1.5px #5B4BDB; }
.builder-strip li.current .builder-strip-n { color: #5B4BDB; }
.builder-strip li.current .builder-strip-name { color: #0E1220; }
@media (max-width: 1100px) { .builder-strip ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .builder-strip { padding: 12px; }
  .builder-strip ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .builder-strip li { padding: 7px 8px; column-gap: 6px; }
  .builder-strip-glyph { width: 16px; height: 16px; padding: 5px; }
  .builder-strip-name { font-size: 13px; }
}

.market-board-readonly .ph-eye { color: #5B4BDB; }
.market-board .market-section > h2 { font-size: 18px; margin: 0; }

.guide-dialog { width: 480px; padding: 26px 26px 22px; }
.guide-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.guide-head .ph { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #F1EFFD; color: #5B4BDB; font-size: 22px; }
.guide-head h2 { margin: 0; font-size: 20px; line-height: 1.35; }
.guide-now { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #F6F7FA; }
.guide-now h3 { margin: 0 0 6px; font-size: 13px; color: #646C7E; font-weight: 700; }
.guide-request { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; color: #0E1220; }
.guide-now .market-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 6px; }
.guide-now .helper { margin: 0; }
.guide-time { display: flex; align-items: flex-start; gap: 6px; }
.guide-time .ph { margin-top: 3px; }
.guide-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
@media (max-width: 520px) { .guide-dialog { padding: 20px 18px 18px; } .guide-actions { flex-direction: column-reverse; align-items: stretch; } .guide-actions .button { justify-content: center; text-align: center; } }

.builder-card-pending { display: flex; align-items: flex-start; gap: 6px; margin: 0; padding: 8px 10px; border-radius: 10px; background: #F6F7FA; color: #4A5163; font-size: 14px; }
.builder-card-pending .ph { margin-top: 3px; color: #8A5A14; }
.builder-card { grid-template-rows: auto; }
.builder-card .builder-card-profile { justify-self: start; position: relative; z-index: 1; }
.builder-card .market-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.market-directory-bar { justify-content: space-between; padding: 12px 14px; border: 1px solid #E6E8EE; border-radius: 14px; background: #fff; }
.market-directory-filter { display: flex; align-items: center; gap: 10px; }
.market-directory-filter label { font-weight: 700; }
.market-directory-bar .helper { margin: 0; }
.market-directory-bar [data-invite-count]:empty { display: none; }
.builder-hidden-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; }
.builder-hidden-note > span { flex: 1 1 260px; }

.market-profile-summary { display: grid; gap: 4px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid #E6E8EE; border-radius: 14px; background: #fff; }
.market-profile-summary .market-credits, .market-profile-summary .market-demand { margin: 0; }
.market-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.market-profile-grid .market-profile { margin: 0; }
.market-profile-grid .market-profile h2, .market-listing h2 { margin-top: 0; font-size: 19px; }
.market-profile-money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.market-profile .market-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 4px 12px; }
.market-profile .market-types legend { grid-column: 1 / -1; }
.market-profile-side { position: sticky; top: 96px; }
.market-listing { margin: 0; }
.market-listing-state { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.market-listing-state .ph { font-size: 20px; color: #1D5C40; }
.market-listing-state[data-listing-state="hidden"] .ph { color: #8A5A14; }
.market-listing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.market-listing-actions .text-link { font-weight: 600; font-size: 14px; }
@media (max-width: 960px) { .market-profile-grid { grid-template-columns: minmax(0, 1fr); } .market-profile-side { position: static; } }
@media (max-width: 520px) { .market-profile-money { grid-template-columns: minmax(0, 1fr); } }

.project-origin-tag { margin-left: 6px; background: #F1EFFD; color: #2E2580; }
.workspace-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.workspace-invite-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.workspace-invite-grid form h2 { margin-top: 0; font-size: 19px; }
.workspace-invite-rules h3 { margin-top: 0; }
.workspace-invite-note { margin: -8px 0 16px; }
.invite-steps { margin-bottom: 20px; }
@media (max-width: 960px) { .workspace-invite-grid { grid-template-columns: minmax(0, 1fr); } }

/* D81 layout pass (rendered at 1440, 1024, 768 and 375). */
.market-list > .market-card > .tag { justify-self: start; }
.market-directory-bar select { padding: 8px 34px 8px 12px; border: 1px solid var(--line, #E6E8EE); border-radius: 10px; background-color: #fff; font: inherit; color: var(--ink, #0E1220); }
.market-list > li.builder-card { display: flex; flex-direction: column; align-items: stretch; }
.market-list > li.builder-card > .builder-card-profile { margin-top: auto; align-self: flex-start; }
.market-list > li.builder-card > .button { align-self: flex-start; }
.builder-profile .hint-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.builder-profile .hint-panel h3, .builder-profile .hint-panel p { margin: 0; }
.market-profile .market-types .check-field { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border: 1px solid var(--line, #E6E8EE); border-radius: 10px; background: #fff; line-height: 1.4; }
.market-profile .market-types .check-field input { margin: 0; }
.market-profile .market-types .check-field:has(input:checked) { border-color: #C9C1F5; background: #F7F5FE; }
.market-profile .market-types legend { margin-bottom: 10px; }
.workspace-page .workspace-list > li.panel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 18px 22px; min-height: 0; align-self: start; }
.workspace-page .workspace-list > li.panel > a { flex: 1 1 240px; min-width: 0; }
.workspace-page .workspace-list > li.panel > p { flex-basis: 100%; margin: 0; }
.workspace-invite-rules, .builder-profile .hint-panel, .market-listing { word-break: keep-all; overflow-wrap: anywhere; }

/* D93: the signed-out 요청 시장 - the twelve kinds of work with their recent public request counts, the public
   activity panel, then the way in. Kinds with requests read in ink and violet; empty ones stay quiet. */
.guest-market-kinds h2 { font-size: 20px; }
.guest-market-kinds > .helper { margin-top: 6px; }
.guest-market-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.guest-market-grid li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; color: var(--muted); font-size: 14px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.guest-market-grid .ph { font-size: 20px; color: #A2A8B6; }
.guest-market-grid strong { font-size: 18px; font-weight: 700; color: #6F7688; font-variant-numeric: tabular-nums; }
.guest-market-grid li.has-requests { color: var(--ink); background: #FBFAFF; }
.guest-market-grid li.has-requests .ph, .guest-market-grid li.has-requests strong { color: var(--violet); }
.guest-market-empty { margin-top: 12px; }
.guest-market-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 28px; padding: 24px 28px; border: 1px solid #DCD6FA; border-radius: 18px; background: linear-gradient(135deg, #FFFFFF 0%, #F7F5FF 100%); }
.guest-market-join > div:first-child { flex: 1 1 320px; min-width: 0; }
.guest-market-join h2 { font-size: 20px; }
.guest-market-join p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.guest-market-join-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.guest-market-join-actions .button:first-child, .guest-market .page-head-action .button:first-child { background: var(--grad); border-color: transparent; }
@media (max-width: 1000px) { .guest-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .guest-market-grid { grid-template-columns: minmax(0, 1fr); }
  .guest-market-join { padding: 20px; }
  .guest-market-join-actions, .guest-market-join-actions .button { width: 100%; }
}

/* /living-visuals.css */
/* Living visuals (owner request 2026-11-25): the network of requesters and builder AIs in motion, and the drifting
   rows of work examples. Illustrations only - real numbers are in the activity feed beside the network. Motion is
   gentle, never blocks reading, pauses on hover/focus and stops under prefers-reduced-motion. */
.home-live { margin-top: 28px; }
.home-live-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.home-live-grid .activity-feed { margin: 0; }
.net-figure { margin: 0; padding: 18px 18px 14px; border: 1px solid #E6E8EE; border-radius: 18px; background: radial-gradient(120% 90% at 50% 0%, #F7F6FF 0%, #FFFFFF 60%); display: grid; gap: 8px; }
.net-svg { width: 100%; height: auto; display: block; }
.net-route { fill: none; stroke: #C9C1F5; stroke-width: 1.6; stroke-dasharray: 3 6; animation: net-dash 1.6s linear infinite; }
.net-pay { fill: none; stroke: #3FAF74; stroke-width: 2; stroke-dasharray: 6 6; opacity: .85; animation: net-dash 1.2s linear infinite; }
@keyframes net-dash { to { stroke-dashoffset: -18; } }
.net-hub-halo { fill: #EFEDFD; opacity: .9; transform-box: fill-box; transform-origin: center; animation: net-breathe 4s ease-in-out infinite; }
@keyframes net-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: .55; } }
.net-hub { filter: drop-shadow(0 6px 14px rgba(70, 54, 201, .28)); }
.net-hub-label { fill: #fff; font: 700 17px/1 system-ui, sans-serif; letter-spacing: .02em; }
.net-node-ring { fill: none; stroke: #E0DCFB; stroke-width: 1.5; }
.net-asker .net-node-core { fill: #fff; stroke: #C9C1F5; stroke-width: 1.5; }
.net-doer .net-node-core { fill: #5B4BDB; }
.net-doer .net-node-ring { stroke: #C9C1F5; animation: net-ring 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.net-doer:nth-of-type(2) .net-node-ring { animation-delay: 1s; } .net-doer:nth-of-type(3) .net-node-ring { animation-delay: 2s; }
@keyframes net-ring { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.net-packet-bg { fill: #fff; stroke: #5B4BDB; stroke-width: 1.4; }
.net-packet-accept .net-packet-bg { stroke: #2F9E6B; }
.net-packet-coins .net-packet-bg { stroke: #2F9E6B; fill: #EAF7F0; }
.net-side-label { fill: #4A5163; font: 600 17px/1 system-ui, sans-serif; }
.net-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: #3A4152; }
.net-legend::before { content: ""; display: inline-block; width: 18px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2px dashed #8E80F0; }
.net-legend-pay::before { border-top-color: #3FAF74; }
.net-caption .helper { margin: 0; width: 100%; font-size: 13px; }

.work-marquee { margin: 36px 0 8px; }
.work-marquee h2 { margin: 0 0 4px; font-size: 22px; }
.work-marquee .helper { margin: 0 0 14px; }
/* 2026-11-26 fix: the chips stay inside the page's content width, aligned with the heading, at every screen size; their
   moving rows never widen the page (contain: inline-size keeps their max-content width out of the layout). */
.work-rows { display: grid; gap: 10px; overflow: hidden; padding: 4px 0; min-width: 0; max-width: 100%; contain: inline-size; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.work-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; width: max-content; animation: work-drift 48s linear infinite; }
.work-row-b { animation-direction: reverse; animation-duration: 56s; }
.work-rows:hover .work-row, .work-rows:focus-within .work-row, .work-rows:focus .work-row { animation-play-state: paused; }
.work-row li { display: inline-flex; padding: 0; border: 0; background: none; box-shadow: none; }
.work-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #E6E8EE; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: #0E1220; white-space: nowrap; box-shadow: 0 1px 0 rgba(14, 18, 32, .03); }
.work-chip .ph { font-size: 18px; color: #5B4BDB; }
.work-chip { cursor: pointer; font: inherit; transition: border-color .15s ease, transform .15s ease; }
.work-chip:hover, .work-chip:focus-visible { border-color: #8E80F0; transform: translateY(-1px); outline: none; box-shadow: 0 0 0 3px rgba(91, 75, 219, .18); }
@keyframes work-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.work-rows:focus-visible { outline: 3px solid #5B4BDB; outline-offset: 4px; border-radius: 12px; }

/* New activity items slide in once (the list re-renders only when real data changes). */
.activity-list li { animation: activity-in .5s ease-out both; }
.activity-list li:nth-child(2) { animation-delay: .05s; } .activity-list li:nth-child(3) { animation-delay: .1s; }
@keyframes activity-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) { .home-live-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .work-chip { padding: 8px 12px; font-size: 14px; } .net-figure { padding: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .net-route, .net-pay, .net-hub-halo, .net-doer .net-node-ring, .activity-list li { animation: none; }
  .net-packet { display: none; }
  .work-rows { -webkit-mask-image: none; mask-image: none; }
  .work-row { animation: none; width: auto; flex-wrap: wrap; }
  .work-row li[aria-hidden="true"] { display: none; }
}
/* Static (reduced motion) rows wrap inside the content width. */
@media (prefers-reduced-motion: reduce) { .work-rows { contain: none; } .work-row { max-width: 100%; } }

/* Interactive network: parts of the selected step light up, the rest dims; the explanation names the step. */
.net-svg [data-step] { cursor: pointer; transition: opacity .2s ease; }
.net-figure[data-active] .net-svg [data-step] { opacity: .22; }
.net-figure[data-active="request"] .net-svg [data-step="request"], .net-figure[data-active="propose"] .net-svg [data-step="propose"],
.net-figure[data-active="select"] .net-svg [data-step="select"], .net-figure[data-active="deliver"] .net-svg [data-step="deliver"],
.net-figure[data-active="pay"] .net-svg [data-step="pay"] { opacity: 1; }
.net-figure[data-active="request"] .net-route[data-step="request"], .net-figure[data-active="propose"] .net-route[data-step="propose"] { stroke: #5B4BDB; stroke-width: 2.6; }
.net-figure[data-active="pay"] .net-pay { stroke-width: 3; }
.net-figure[data-active="select"] .net-hub-halo { opacity: 1; }
.net-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.net-step { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px 6px 6px; border: 1px solid #E0DCFB; border-radius: 999px; background: #fff; color: #2E2580; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.net-step-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EFEDFD; font-size: 12px; }
.net-step:hover, .net-step[aria-pressed="true"] { background: #5B4BDB; border-color: #5B4BDB; color: #fff; }
.net-step[aria-pressed="true"] .net-step-num, .net-step:hover .net-step-num { background: rgba(255, 255, 255, .25); }
.net-step:focus-visible { outline: 3px solid #5B4BDB; outline-offset: 2px; }
.net-explain { margin: 2px 0 0; min-height: 3em; font-size: 14px; color: #3A4152; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .net-svg [data-step] { transition: none; } }

/* "이렇게 거래돼요" (owner request 2026-11-26): the step titles are toggle buttons stretched over their card; the chosen
   step gets a gradient rule and the others step back, while the route above lights the same step (illustrations.css). */
.home-process-explain { margin: 14px 0 0; min-height: 3.2em; max-width: 760px; font-size: 15px; line-height: 1.6; color: var(--body, #3A4152); }
.home-process-list li { position: relative; transition: opacity .2s ease; }
.home-process-list li::before { content: ""; position: absolute; top: -1px; left: 0; right: 32px; height: 2px; border-radius: 2px; background: var(--grad, #5B4BDB); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.home-process-list li.is-active::before { transform: scaleX(1); }
.home-process[data-active] .home-process-list li:not(.is-active) { opacity: .5; }
.home-process-step { margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: pointer; }
.home-process-step::after { content: ""; position: absolute; inset: -9px -12px -9px -12px; /* 26px label + 18px = a 44px touch target */ border-radius: 14px; }
.home-process-step:focus-visible { outline: none; }
.home-process-step:focus-visible::after { outline: 3px solid var(--violet, #5B4BDB); outline-offset: 0; }
.home-process-list li.is-active h3 { color: var(--violet, #5B4BDB); }
/* One column on phones: the rule runs down the left edge of the chosen step instead of along its top. */
@media (max-width: 600px) {
  .home-process-list li::before { top: 26px; bottom: 0; left: -12px; right: auto; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
  .home-process-list li.is-active::before { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { .home-process-list li, .home-process-list li::before { transition: none; } }

/* Activity panel: one short clause at the end of the title row; the privacy line sits at the foot of the panel. */
.activity-note { margin: 0; font-size: 13px; font-weight: 600; color: #2F7A55; white-space: nowrap; }
.activity-foot { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #646C7E; }
/* Five facts: one row when the panel is wide (tablet, market page), three-and-two beside the network, pairs on phones. */
.activity-feed .activity-totals { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.home-live-feed[data-loaded] { display: flex; flex-direction: column; }
.home-live-feed[data-loaded] .activity-foot { margin-top: auto; padding-top: 14px; }

/* /billing.css */
/* D89/D90 (2026-11-26): the pricing page in detail and 내 프로필 › 요금제·결제. Existing tokens only (styles.css :root);
   plan cards keep .price-panel and Grid Lab's highlighted Builder card. The one emphasis is the seats / open-projects
   pair at the top of each card, which is what builders compare first. No inline styles (CSP). */

.pricing-page .pricing-note { margin-top: 0; }
.pricing-page .pricing-note:empty { display: none; }
.pricing-requester p { margin-top: 4px; }
.pricing-requester .text-link { margin-top: 4px; }

/* Seats and open projects: two quiet tiles under the price. */
.plan-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; }
.plan-facts > div { background: var(--page); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-width: 0; }
.plan-facts dt { color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
.plan-facts dd { margin: 2px 0 0; color: var(--ink); font-size: 20px; font-weight: 760; letter-spacing: -.02em; line-height: 1.35; overflow-wrap: anywhere; }
.plan-facts dd [data-free-projects] { display: inline; }
.price-panel.plan-card ul { margin: 20px 0 24px; }

/* D95: a plan card answers the pointer and keyboard focus inside it - it rises a little with a stronger border and
   shadow. People who ask for reduced motion get the border and shadow without the movement. (Grid Lab's highlighted
   Builder card loads later, so these selectors carry the page class to win.) */
.pricing-page .pricing-plans .plan-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pricing-page .pricing-plans .plan-card:hover, .pricing-page .pricing-plans .plan-card:focus-within {
  transform: translateY(-4px); border-color: #C9C1F5; box-shadow: 0 0 0 1px #C9C1F5, 0 28px 56px -30px rgba(91, 75, 219, .5); }
.pricing-page .pricing-plans .plan-card:nth-child(2):hover, .pricing-page .pricing-plans .plan-card:nth-child(2):focus-within {
  border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 30px 60px -28px rgba(91, 75, 219, .6); }
@media (prefers-reduced-motion: reduce) {
  .pricing-page .pricing-plans .plan-card { transition: none; }
  .pricing-page .pricing-plans .plan-card:hover, .pricing-page .pricing-plans .plan-card:focus-within { transform: none; }
}

/* D95: the seat tip - a small info button; hover, keyboard focus or a tap shows the text below it. */
.info-tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 2px; }
.info-tip-button { display: inline-grid; place-items: center; width: 24px; height: 24px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 16px; line-height: 1; cursor: help; }
.info-tip-button:hover, .info-tip.is-open .info-tip-button { color: var(--violet); background: var(--violet-soft); }
.info-tip-button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.info-tip-text { position: absolute; z-index: 20; left: -6px; top: calc(100% + 8px); width: max-content; max-width: min(260px, 62vw); padding: 10px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: 0; text-align: left; white-space: normal; word-break: keep-all; overflow-wrap: anywhere;
  box-shadow: 0 12px 30px -12px rgba(14, 18, 32, .5); opacity: 0; visibility: hidden; transform: translateY(-2px); transition: opacity .15s ease, transform .15s ease, visibility .15s; pointer-events: none; }
.info-tip-button:hover + .info-tip-text, .info-tip-button:focus-visible + .info-tip-text, .info-tip.is-open .info-tip-text { opacity: 1; visibility: visible; transform: none; }
.info-tip.is-dismissed .info-tip-text { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .info-tip-text { transition: none; transform: none; } }

/* Comparison table: fits a 375px screen without sideways scrolling (fixed layout, wrapping labels). */
.pricing-section { margin-top: 56px; }
.pricing-section > h2, .pricing-faq > h2 { font-size: 24px; margin-bottom: 16px; }
.plan-compare-wrap { max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.plan-compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.55; }
.plan-compare th, .plan-compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; word-break: keep-all; }
.plan-compare tr:last-child th, .plan-compare tr:last-child td { border-bottom: 0; }
.plan-compare thead th { background: #F1F3F7; color: var(--ink); font-weight: 700; text-align: center; }
.plan-compare thead th:first-child { width: 40%; }
.plan-compare tbody th { color: var(--body); font-weight: 600; text-align: left; }
.plan-compare td { color: var(--ink); text-align: center; font-weight: 650; }
.plan-compare thead th:nth-child(3), .plan-compare td:nth-child(3) { background: #F7F5FF; }
.plan-compare thead th:nth-child(3) { background: #ECE8FC; }
.plan-compare .ph-check { color: var(--green); font-size: 20px; }
.pricing-section .helper { margin-top: 12px; }

/* Credit pack beside the project-money note. */
.pricing-pair { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; margin-top: 56px; align-items: start; }
.pricing-pair > .callout { margin: 0; }
.credit-pack-card h2 { font-size: 24px; }
.credit-pack-price { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.price-panel .credit-pack-price { margin-top: 8px; }
.credit-pack-price strong { color: var(--ink); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.credit-pack-price span { color: var(--brand); font-size: 22px; font-weight: 760; }
.credit-pack-card ul { margin: 16px 0 8px; }
.pricing-faq { margin-top: 56px; }

/* 내 프로필 › 요금제·결제 */
.billing-center .billing-not-ready { margin: 16px 0 0; }
.billing-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; margin-top: 20px; align-items: start; }
.billing-plan .small-label { margin-bottom: 4px; }
.billing-plan-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink); font-size: 24px; font-weight: 760; letter-spacing: -.02em; line-height: 1.35; }
.billing-credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.billing-credits > div { background: var(--page); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-width: 0; }
.billing-credits dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.billing-credits dd { margin: 2px 0 0; color: var(--ink); font-size: 20px; font-weight: 760; }
.billing-credits dd.helper { margin-top: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.billing-center .billing-actions { margin-top: 20px; padding-top: 20px; flex-wrap: wrap; justify-content: flex-start; }
.billing-center .text-link { margin-top: 12px; }
.billing-history-title { margin-top: 32px; margin-bottom: 12px; font-size: 18px; }
.billing-history-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.billing-history { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; text-align: left; }
.billing-history th { background: #F1F3F7; color: var(--muted); font-size: 13px; font-weight: 650; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.billing-history td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--body); vertical-align: top; overflow-wrap: anywhere; }
.billing-history tr:last-child td { border-bottom: 0; }
.billing-history td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.billing-history td:nth-child(3) { font-variant-numeric: tabular-nums; color: var(--ink); }
.billing-history tr.is-failed td:nth-child(2) { color: var(--red); font-weight: 650; }
.billing-empty { padding: 20px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; font-size: 15px; }

@media (max-width: 800px) {
  .pricing-pair { grid-template-columns: minmax(0, 1fr); }
  .billing-summary { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pricing-section, .pricing-pair, .pricing-faq { margin-top: 40px; }
  .plan-compare { font-size: 13px; }
  .plan-compare th, .plan-compare td { padding: 10px 6px; }
  .plan-compare tbody th { padding-left: 12px; }
  .plan-compare thead th:first-child { width: 34%; }
  .plan-compare .ph-check { font-size: 18px; }
  .plan-facts dd { font-size: 18px; }
  .billing-history { font-size: 13px; }
  .billing-history th, .billing-history td { padding: 10px 8px; }
  .billing-history td:first-child { white-space: normal; }
}

/* In 내 프로필 the page head already names the section; the panel title stays for screen readers only. */
.profile-billing .billing-center > h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* /grid-lab.css */
/* Grid Lab visual system (owner-selected option 1, 2026-11-17; mockup in var/design-qa/2026-11-17-redesign/).
   Light page with a faint engineering grid, a floating glass header, a plum-to-violet gradient for the one
   primary action per view, mono labels for the technical voice. Loaded after every other stylesheet so it
   re-tunes the shared tokens and components without touching their behaviour. */
:root {
  --page: #FAFAFB; --surface: #FFFFFF; --ink: #0E1220; --body: #3A4152; --muted: #646C7E; --line: #E6E8EE;
  --violet: #5B4BDB; --violet-soft: #F1EFFD;
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--violet) 100%);
  --mono: ui-monospace, "Cascadia Code", SFMono-Regular, Consolas, "Malgun Gothic", monospace;
  --shadow-card: 0 1px 0 rgba(14, 18, 32, .03), 0 18px 40px -28px rgba(14, 18, 32, .35);
}
body { position: relative; overflow-x: clip; }
/* The grid fades out below the first screen; a soft violet glow sits behind the hero. */
body::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 980px; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 0%, #000 25%, transparent 78%); mask-image: radial-gradient(75% 65% at 50% 0%, #000 25%, transparent 78%); }
body::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 360px; width: min(1000px, 100%); height: 420px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 75, 219, .14), transparent), radial-gradient(closest-side at 30% 60%, rgba(113, 47, 85, .10), transparent); filter: blur(24px); }
h1, h2, h3, h4 { color: var(--ink); }
::selection { background: #DCD6FA; color: var(--ink); }

/* Header: a floating glass bar. */
.site-header { position: sticky; top: 12px; z-index: 30; width: min(1180px, calc(100% - 32px)); max-width: none; min-height: 60px; margin: 12px auto 0;
  padding: 8px 10px 8px 18px; border: 1px solid rgba(14, 18, 32, .08); border-radius: 16px; background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -22px rgba(14, 18, 32, .35); }
.site-header .wordmark { font-size: 21px; letter-spacing: -.03em; gap: 9px; }
.site-header .brand-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); }
.site-header .brand-icon .ph { font-size: 18px; }
.site-header nav a { font-size: 15px; font-weight: 500; color: var(--body); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.header-login { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.header-login:hover { background: rgba(14, 18, 32, .05); }
.site-header .header-action { min-height: 40px; padding: 8px 15px; border-radius: 10px; background: var(--ink); box-shadow: none; }
.site-header .header-action:hover:not(:disabled) { background: #232838; filter: none; }
.header-locale { background: #fff; }
@media (max-width: 800px) { .site-header { position: relative; top: 0; } }

/* Buttons: one gradient primary; secondary is a quiet white control. */
.button { background: var(--grad); border: 1px solid transparent; border-radius: 10px; font-weight: 700; box-shadow: 0 8px 20px -12px rgba(91, 75, 219, .7); transition: filter .15s ease, box-shadow .15s ease; }
.button:hover:not(:disabled) { background: var(--grad); filter: brightness(1.08); }
.button.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: none; }
.button.secondary:hover:not(:disabled) { background: #F4F5F8; border-color: #D3D7E0; color: var(--ink); filter: none; }
.button.dark { background: var(--ink); box-shadow: none; }
.button.danger { background: var(--red-soft); box-shadow: none; }
.button.danger:hover:not(:disabled) { background: #F6DCE3; filter: none; }

/* Shared surfaces. */
.panel { border-radius: 16px; box-shadow: var(--shadow-card); }
.page-head { padding-top: 56px; }
.page-head h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.context-banner { border-color: #DCD6FA; border-radius: 14px; }
.context-banner > .ph { color: var(--violet); }
.field input:not([type=checkbox]), .field textarea, .field select { border-color: #D5D9E2; border-radius: 10px; }
.field input:not([type=checkbox]):focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-color: var(--violet); }
.gl-label { font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.gl-label::before { content: "// "; }
.gl-sub { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 560px; }

/* ---------- Home ---------- */
.home-page .container { max-width: 1264px; }
.home-page .gl-hero { padding-top: 80px; padding-bottom: 8px; }
.gl-hero-copy { text-align: center; max-width: 880px; margin: 0 auto; }
.gl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--brand);
  border: 1px solid rgba(113, 47, 85, .18); background: #fff; padding: 8px 13px; border-radius: 999px; }
.gl-live { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.home-page .gl-hero h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
.gl-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-page .gl-hero .home-intro { margin: 22px auto 0; max-width: 660px; font-size: 18px; line-height: 1.7; color: var(--muted); }
/* Hero motion (owner request 2026-11-26): a slow light field drifts behind the headline and the accent line catches
   the light once on arrival; the request box types examples (web/home-premium.js) and the side art plays the deal
   (web/illustrations.css). Transform-only drift; nothing moves under reduced motion. */
.home-page .gl-hero::before { content: ""; position: absolute; z-index: -2; top: -20px; left: 50%; width: min(1100px, 100%); height: 560px; margin-left: calc(min(1100px, 100%) / -2); pointer-events: none;
  background: radial-gradient(36% 44% at 30% 40%, rgba(91, 75, 219, .15), transparent 70%), radial-gradient(32% 40% at 72% 34%, rgba(113, 47, 85, .10), transparent 70%),
    radial-gradient(28% 34% at 54% 72%, rgba(63, 175, 116, .07), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .home-page .gl-hero::before { animation: gl-drift 18s ease-in-out infinite alternate; will-change: transform; }
  .home-page .gl-hero .gl-accent { background-image: linear-gradient(100deg, var(--brand) 0%, var(--violet) 40%, #9D90F5 50%, var(--violet) 60%, var(--brand) 100%);
    background-size: 250% 100%; animation: gl-sweep 2.6s cubic-bezier(.4, 0, .2, 1) .35s both; }
}
@keyframes gl-drift { 0% { transform: translate3d(-4%, 0, 0) scale(1); } 50% { transform: translate3d(2%, 3%, 0) scale(1.06); } 100% { transform: translate3d(4%, -2%, 0) scale(1.02); } }
@keyframes gl-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }

.gl-workbench { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 48px; }
.home-page #home-request-form.gl-console { margin: 0; background: #fff; border: 1px solid rgba(14, 18, 32, .1); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(14, 18, 32, .04), 0 30px 70px -32px rgba(91, 75, 219, .45); }
.gl-console-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); background: #FCFCFD; }
.gl-console-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E3E5EB; }
.gl-console-bar span { margin-left: auto; }
.home-page .gl-console .premium-composer { border: 0; border-radius: 0; box-shadow: none; padding: 18px 20px 16px; background: transparent; }
.home-page .gl-console .premium-composer label { font: 600 12px var(--mono); letter-spacing: .04em; color: var(--muted); }
.home-page .gl-console .premium-composer textarea { min-height: 104px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.gl-console .home-examples { margin-top: 6px; gap: 6px; }
.gl-console .home-examples > span { font: 600 12px var(--mono); color: var(--muted); margin-right: 2px; }
.home-example { font-size: 13px; font-weight: 600; color: var(--body); background: #FAFAFB; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.home-example:hover { border-color: #C9CDD8; }
.home-example[aria-pressed="true"] { color: var(--brand); background: #F7EEF3; border-color: var(--brand); }
.home-example[aria-pressed="true"]:hover { border-color: var(--brand); }
.home-example-more { background: transparent; border-style: dashed; color: var(--violet); }
.home-page .gl-console .premium-composer-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.home-page .gl-console .premium-composer-actions .button { min-height: 44px; border-radius: 10px; }
.gl-console .field-error { padding: 0 20px 16px; margin: 0; }
.gl-console .field-error:empty { padding: 0; }
/* D92: the console column is as tall as the sample beside it; the space under the console shows how a request
   continues (plan, sealed proposals, the builder's AI, stages checked). Hidden where the columns stack. */
.gl-workbench-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home-page .home-next { display: none; }
@media (min-width: 1001px) {
  .home-page .gl-workbench { align-items: stretch; }
  .home-page .home-next { display: block; flex: 1 1 0; min-height: 168px; padding: 0; border-radius: 18px; }
  .home-page .home-next svg { position: absolute; inset: 18px 20px; width: calc(100% - 40px); height: calc(100% - 36px); }
}

/* Sample plan: an output panel beside the console. */
.home-page .home-sample { padding: 0 0 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: var(--shadow-card); }
.home-page .home-sample > :not(.home-sample-head) { margin-left: 22px; margin-right: 22px; }
.home-page .home-sample-head { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FCFCFD; font: 600 12px var(--mono); color: var(--violet); }
.home-page .home-sample-head::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.home-page .home-sample h2 { margin-top: 18px; font-size: 21px; letter-spacing: -.02em; }
.home-page .home-sample h3 { font: 600 12px var(--mono); letter-spacing: .04em; color: var(--muted); }
.home-page .home-sample-cost dd { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }

/* What can be built: one bordered strip, cells separated by hairlines. */
.gl-kinds-wrap { margin-top: 56px; }
.gl-kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gl-kind { display: block; width: 100%; height: 100%; text-align: left; padding: 22px 22px 24px; background: #fff; color: var(--body); border: 0; cursor: pointer; transition: background .15s ease; }
.gl-kind:hover { background: #FBFAFF; }
.gl-kind:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; }
.gl-kind-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--violet-soft); color: var(--violet); }
.gl-kind-icon .ph { font-size: 20px; }
.gl-kind strong { display: block; margin-top: 14px; font-size: 17px; color: var(--ink); }
.gl-kind small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Section rhythm. */
.home-page .home-process { padding-top: 104px; padding-bottom: 0; border-top: 0; }
.home-page .section-heading { margin-bottom: 0; }
.home-page .section-heading h2, .home-page .example-catalog h2, .gl-section h2, .home-page .home-audience h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.18; }
.home-page .home-process-list { margin-top: 36px; gap: 0; border-top: 1px solid var(--line); }
.home-page .home-process-list li { padding: 28px 32px 0 0; border-top: 0; }
.home-page .home-process-list li > span { font: 600 13px var(--mono); color: var(--violet); }
.home-page .home-process-list h3 { font-size: 20px; letter-spacing: -.02em; }
/* Four steps under the four parts of the route (one row on wide screens, two on tablets). */
@media (min-width: 1000px) { .home-page .home-process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 601px) and (max-width: 999px) { .home-page .home-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-page .example-catalog { padding-top: 104px; }
.gl-section { padding-top: 104px; }
.gl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.gl-split .text-link { margin-top: 22px; color: var(--violet); }
.gl-term { margin: 0; background: #0E1220; color: #C9CEDB; border-radius: 16px; padding: 22px 24px; font: 14px/1.85 var(--mono); white-space: pre; overflow-x: auto;
  box-shadow: 0 30px 60px -30px rgba(14, 18, 32, .6); }
.gl-term .k { color: #B794F6; } .gl-term .s { color: #7EE2B8; } .gl-term .c { color: #8B93A6; }
.home-page .home-audience { padding-top: 104px; padding-bottom: 0; }
.home-page .home-role-links > a { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); transition: border-color .15s ease; }
.home-page .home-role-links > a:hover { background: #fff; border-color: #C9C1F5; }
.home-page .home-role-links > a > .ph:first-child { color: var(--violet); }

/* Why a builder: a plain comparison; the builder column is the highlighted one. */
.gl-compare { width: 100%; margin-top: 36px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); table-layout: fixed; }
.gl-compare th, .gl-compare td { padding: 18px 22px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.6; border-top: 1px solid var(--line); }
.gl-compare thead th { border-top: 0; padding-top: 16px; padding-bottom: 16px; font: 600 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); background: #FCFCFD; }
.gl-compare thead th:last-child { color: var(--violet); background: var(--violet-soft); }
.gl-compare th[scope="row"] { width: 18%; }
.gl-compare tbody th { font-size: 15px; font-weight: 700; color: var(--ink); }
.gl-compare td { color: var(--muted); }
.gl-compare td:last-child { color: var(--ink); background: #FBFAFF; font-weight: 600; }
.gl-compare td .ph { color: var(--violet); font-size: 18px; margin-right: 8px; vertical-align: -3px; }
.gl-compare thead th:first-child { width: 18%; }
.gl-cell-label { display: none; }
.gl-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.gl-note .ph { color: var(--amber); font-size: 18px; margin-top: 2px; }

/* Pricing band: dark, with the grid carried over. */
.gl-band-wrap { padding-top: 104px; padding-bottom: 24px; }
.gl-band { position: relative; overflow: hidden; display: flex; align-items: center; gap: 40px; padding: 52px 56px; border-radius: 24px; background: #0E1220; color: #AEB4C3; isolation: isolate; }
.gl-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.gl-band::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -140px; width: 440px; height: 440px; background: radial-gradient(closest-side, rgba(155, 63, 116, .55), transparent); }
.gl-band h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.gl-band p { margin-top: 10px; font-size: 16px; line-height: 1.7; max-width: 620px; }
.gl-plans { display: flex; flex-wrap: wrap; gap: 8px 26px; font: 13px var(--mono); }
.gl-plans b { color: #fff; }
.gl-band .button { margin-left: auto; flex-shrink: 0; background: #fff; color: var(--ink); box-shadow: none; }
.gl-band .button:hover:not(:disabled) { background: #fff; filter: brightness(.95); }

/* Example catalog: squared filters, one list surface. */
.example-category { border-radius: 10px; }
.example-category[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.example-list { border-radius: 16px; box-shadow: var(--shadow-card); }

/* Flow diagram: AI steps carry the gradient. */
.pipe-ai .pipe-tile { background: var(--grad); border-color: transparent; }

/* Page width follows the header so every page lines up under it. */
.container { max-width: 1264px; }
.site-header { width: min(1168px, calc(100% - 32px)); }

/* Pricing: three plans side by side; the middle plan is the one most builders pick. */
.pricing-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-panel { border-radius: 16px; box-shadow: var(--shadow-card); }
.pricing-plans .price-panel:nth-child(2) { border-color: #C9C1F5; box-shadow: 0 0 0 1px #C9C1F5, 0 24px 50px -30px rgba(91, 75, 219, .45); }
.price-panel .plan-price { font-weight: 800; letter-spacing: -.02em; }
.price-panel li::marker { color: var(--violet); }

/* Footer. */
.site-footer { max-width: 1264px; margin-top: 88px; }

@media (max-width: 1000px) {
  .pricing-plans { grid-template-columns: minmax(0, 1fr); }
  .gl-workbench { grid-template-columns: minmax(0, 1fr); }
  .gl-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gl-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gl-band { flex-direction: column; align-items: flex-start; padding: 40px; }
  .gl-band .button { margin-left: 0; }
}
@media (max-width: 600px) {
  .site-header { width: calc(100% - 20px); margin-top: 10px; padding: 10px 12px; }
  .home-page .gl-hero { padding-top: 44px; }
  .home-page .gl-hero h1 { font-size: 34px; }
  .home-page .gl-hero .home-intro { font-size: 16px; }
  .gl-workbench { margin-top: 32px; }
  .home-page .gl-console .premium-composer-actions { flex-direction: column; align-items: stretch; }
  .home-page .gl-console .premium-composer-actions .button { width: 100%; }
  .gl-kinds { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-process, .home-page .example-catalog, .gl-section, .home-page .home-audience, .gl-band-wrap { padding-top: 72px; }
  .home-page .home-process-list li { padding-right: 0; }
  .gl-term { font-size: 12px; padding: 18px; }
  .gl-compare, .gl-compare tbody, .gl-compare tr, .gl-compare th, .gl-compare td, .gl-compare th[scope="row"] { display: block; width: 100%; }
  .gl-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .gl-compare tr + tr { border-top: 1px solid var(--line); }
  .gl-compare th, .gl-compare td { border-top: 0; padding: 6px 18px; }
  .gl-compare tbody th { padding-top: 18px; }
  .gl-compare td:last-child { padding-bottom: 16px; margin-top: 4px; }
  .gl-compare .gl-cell-label { display: block; font: 600 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
  .gl-compare td:last-child .gl-cell-label { color: var(--violet); }
  .gl-band { padding: 32px 24px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .button, .gl-kind, .home-page .home-role-links > a { transition: none; } }

/* Plan versions (D21): version badge, change panel, history and the direct editor. */
.scope-version { display: inline-block; font: 600 12px/1.6 var(--mono); color: var(--violet); background: var(--violet-soft); border-radius: 6px; padding: 0 6px; margin-left: 6px; }
.scope-version-source { font-size: 12px; color: var(--muted); }
.scope-change { margin-top: 32px; padding: 22px; border: 1px solid #DCD6FA; border-radius: 16px; background: #FBFAFF; }
.scope-change h3 { margin: 0; font-size: 17px; }
.scope-change-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; margin-top: 16px; }
.scope-change-manual p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }
.scope-change-manual .button .ph, .scope-revise .button .ph { font-size: 16px; }
.scope-revise label { display: block; font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.scope-revise textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #D5D9E2; border-radius: 10px; font-size: 15px; line-height: 1.6; resize: vertical; background: #fff; }
.scope-revise-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.scope-history { margin-top: 16px; padding-top: 14px; border-top: 1px solid #E5E1FA; }
.scope-history .text-link { background: none; border: 0; padding: 0; font-size: 14px; color: var(--violet); }
.scope-history-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.scope-history-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.scope-history-list li > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.scope-history-list li[aria-current="true"] { border-color: #C9C1F5; }
.scope-history-list .scope-version { margin-left: 0; }
.scope-editor .scope-edit-test { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; margin-bottom: 8px; }
.scope-editor .scope-edit-test input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #D5D9E2; border-radius: 10px; font-size: 14px; background: #fff; }
.scope-editor fieldset { border: 0; padding: 0; }
@media (max-width: 760px) {
  .scope-change-grid { grid-template-columns: minmax(0, 1fr); }
  .scope-editor .scope-edit-test { grid-template-columns: minmax(0, 1fr) auto; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
  .scope-editor .scope-edit-test input { grid-column: 1; }
  .scope-editor .scope-edit-test .icon-button { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* Request market (D20): builder search hub, comparison cards, proposal and profile forms. Facts as chips, one
   gradient action per view (post, send, select), no ranking badges. */
.scope-market-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 22px 24px; border-radius: 16px;
  border: 1px solid #DCD6FA; background: linear-gradient(135deg, #FFFFFF 0%, #F4F1FE 100%); box-shadow: var(--shadow-card); }
.scope-market-cta h3 { margin: 2px 0 6px; font-size: 18px; }
.scope-market-cta p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 640px; }
.scope-market-cta .button { flex: none; }
.market-page .page-head .small-label { font-family: var(--mono); letter-spacing: .04em; }
.market-how { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.market-how li { position: relative; display: grid; gap: 4px; padding: 16px 16px 16px 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; line-height: 1.55; color: var(--muted); }
.market-how li .ph { position: absolute; left: 16px; top: 16px; font-size: 22px; color: var(--violet); }
.market-how strong { color: var(--ink); font-size: 15px; }
.market-money-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.market-money-note .ph { color: var(--violet); margin-top: 3px; }
.market-section { margin-top: 32px; }
.market-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.market-section-head h2 { margin: 0; font-size: 20px; }
.market-org, .market-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.market-org select, .market-sort select { padding: 7px 10px; border: 1px solid #D5D9E2; border-radius: 10px; background: #fff; font-size: 14px; }
.market-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.market-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); transition: border-color .15s, transform .15s; }
.market-card:hover, .market-card:focus-within { border-color: #C9C1F5; transform: translateY(-1px); }
.market-card-link { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.45; }
.market-card-link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.market-card-link:focus-visible { outline: none; }
.market-card:has(.market-card-link:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.market-state, .market-proposed { justify-self: start; }
.market-state-open { background: #E9F7EF; color: #17663A; border-color: #BFE6CD; }
.market-state-closed { background: #FFF6E5; color: #8A5300; border-color: #F3D9A6; }
.market-state-awarded { background: var(--violet-soft); color: var(--violet); border-color: #DCD6FA; }
.market-state-withdrawn, .market-state-expired { background: #F2F3F6; color: var(--muted); }
.market-proposed { background: var(--violet-soft); color: var(--violet); }
.market-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px 16px; margin: 0; }
.market-mini div { min-width: 0; }
.market-mini dt { font: 600 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.market-mini dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.market-empty { list-style: none; padding: 22px; border: 1px dashed #D5D9E2; border-radius: 16px; background: rgba(255, 255, 255, .7); }
.market-empty p { margin: 0 0 6px; }
.market-empty .button { margin-top: 8px; }
.market-credits { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; font-size: 14px; color: var(--body); }
.market-credits .ph { color: var(--violet); font-size: 18px; }
.market-demand { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; margin: 8px 0 0; font-size: 14px; color: var(--body); }
.market-demand .ph { color: var(--violet); font-size: 18px; }
.market-quiet { justify-self: start; background: #FFF6E5; color: #8A5300; border-color: #F3D9A6; }
.market-quiet-note { border-style: solid; border-color: #F3D9A6; background: #FFFBF2; }
.market-demand-advice { flex-basis: 100%; padding-left: 28px; color: var(--muted); }
.market-summary { margin-bottom: 8px; }
.market-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.market-proposals { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }
.market-proposal { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.market-proposal-head { display: flex; justify-content: space-between; gap: 10px; }
.market-proposal-head h3 { margin: 0; font-size: 17px; }
.market-proposal-head .helper { margin: 2px 0 0; }
.market-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.market-price strong { font-size: 24px; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.market-fit-within { background: #E9F7EF; color: #17663A; border-color: #BFE6CD; }
.market-fit-below { background: #EAF2FE; color: #1F4E9A; border-color: #C6DAF8; }
.market-fit-above { background: #FFF1EC; color: #9A3412; border-color: #F6CDBD; }
.market-facts { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.market-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--body); }
.market-facts .ph { flex: none; font-size: 18px; color: var(--violet); margin-top: 1px; }
.market-message { margin: 0; padding: 12px 14px; border-radius: 12px; background: #F7F8FA; font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.market-terms summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--violet); }
.market-terms[open] summary { margin-bottom: 8px; }
.market-proposal > .button { justify-self: start; background: var(--grad); border-color: transparent; }
.market-confirm { margin-top: 16px; border-color: #C9C1F5; background: #FBFAFF; }
.market-confirm h3 { margin-top: 0; }
.market-new, .market-opp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.market-opp { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.market-rules .prose { padding-left: 18px; }
.market-rules .prose li { margin-bottom: 6px; }
.market-types { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.market-types legend { font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.market-new form[data-post] > .button:not(.secondary), .market-opp form[data-propose] > .button:not(.secondary), .market-profile > .button:not(.secondary) { background: var(--grad); border-color: transparent; }
@media (max-width: 900px) {
  .market-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-new, .market-opp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .market-how { grid-template-columns: minmax(0, 1fr); }
  .scope-market-cta { flex-direction: column; align-items: stretch; }
  .market-price strong { font-size: 21px; }
}
.market-sections { display: flex; flex-direction: column; }
.market-builder-first [data-builder-hub] { order: -1; }
.market-opp .market-mini, .market-summary .market-mini { margin: 14px 0 16px; }
.market-card .market-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Market trust layer (D24): notifications, verified mark, ratings, reports, reviews. */
.market-inbox { margin-bottom: 24px; padding: 18px 20px; border: 1px solid #DCD6FA; border-radius: 16px; background: #FBFAFF; }
.market-inbox h2 { display: flex; align-items: center; gap: 8px; }
.market-notices { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.market-notices li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.market-notices li.unread { border-color: #C9C1F5; box-shadow: inset 3px 0 0 var(--violet); }
.market-notice-kind { font-weight: 650; color: var(--ink); }
.market-notice-title { flex: 1; min-width: 0; color: var(--body); overflow-wrap: anywhere; }
.market-notices time { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.market-verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: var(--violet-soft); color: var(--violet); border-color: #DCD6FA; }
.market-report { margin-top: 4px; font-size: 14px; }
.market-report summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.market-report form { margin-top: 10px; padding: 12px; border-radius: 12px; background: #F7F8FA; }
.market-facts-inline { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; color: var(--body); }
.market-facts-inline .ph { color: var(--violet); }
.market-credits .helper { margin: 0; }
.market-review { margin-bottom: 20px; border-color: #DCD6FA; }
.market-stars { color: #C98A00; letter-spacing: 1px; }
.market-rating { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.market-rating legend { font-weight: 650; margin-bottom: 8px; color: var(--ink); }
@media (max-width: 560px) {
  .market-notices li { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .market-notice-kind, .market-notice-title { grid-column: 1 / -1; }
  .market-notices time { grid-column: 1; }
  .market-notices .text-link { grid-column: 2; grid-row: 3; justify-self: end; }
  .market-inbox { padding: 14px; }
}

/* Brand mark (2026-11-18): an "A" drawn as a flow from an idea node to a result node, on the brand gradient.
   "Ai" in ink and "REQ" in violet, in one display face. */
.wordmark { gap: 10px; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 9px; box-shadow: 0 6px 16px -8px rgba(91, 75, 219, .65); }
.site-header .brand-mark { width: 30px; height: 30px; }
.wordmark-text { display: inline-flex; align-items: baseline; letter-spacing: -.035em; }
.wordmark-req { color: var(--violet); }
.site-footer .brand-mark { width: 28px; height: 28px; }
.site-footer .wordmark { font-size: 22px; }

/* Page visuals: one decorative illustration beside the title of each main page. */
.page-head.has-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center; gap: 40px; }
.page-head.has-visual .page-head-action { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-visual { margin: 0; position: relative; padding: 18px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 100% 0%, rgba(91, 75, 219, .10), transparent 60%), linear-gradient(180deg, #FFFFFF, #FAFAFD); box-shadow: var(--shadow-card); }
.page-visual::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%); }
.page-visual svg { position: relative; display: block; width: 100%; height: auto; }
.pv-card { fill: #fff; stroke: #DCDFE7; stroke-width: 1.2; }
.pv-card-hot { fill: #F6F4FE; stroke: var(--violet); stroke-width: 1.6; }
.pv-bar { fill: #E7E9EF; }
.pv-label { font: 700 10px var(--mono); letter-spacing: .08em; fill: var(--violet); }
.pv-mini { font: 600 9px var(--mono); letter-spacing: .08em; fill: #8A90A0; }
.pv-on-dark { fill: rgba(255, 255, 255, .85); }
.pv-chip { fill: var(--violet-soft); }
.pv-chip-text { font: 700 11px var(--mono); fill: var(--violet); }
.pv-price { font: 800 20px var(--sans); letter-spacing: -.02em; fill: var(--ink); }
.pv-flow { fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; }
.pv-dash { stroke-dasharray: 4 5; opacity: .5; }
.pv-ok { fill: #E3F6EA; stroke: #34A26A; stroke-width: 1.2; }
.pv-ok-mark { fill: none; stroke: #1E8A52; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-ok-big { stroke: #fff; stroke-width: 5; }
.pv-lock { fill: #C6CAD5; }
.pv-lock-loop { fill: none; stroke: #C6CAD5; stroke-width: 1.8; }
.pv-track { fill: none; stroke: #E1E4EB; stroke-width: 4; stroke-linecap: round; }
.pv-track-done { stroke: var(--violet); }
.pv-node { fill: #fff; stroke: #C6CAD5; stroke-width: 2; }
.pv-node-now { fill: #fff; stroke: var(--violet); stroke-width: 3; }
.pv-stamp { fill: #E3F6EA; stroke: #34A26A; stroke-width: 1.2; }
.pv-stamp-text { font: 700 10px var(--mono); letter-spacing: .06em; fill: #1E8A52; }
.pv-token { fill: var(--violet-soft); stroke: #C9C1F5; stroke-width: 1.2; }
.pv-token-light { fill: rgba(255, 255, 255, .9); }
.pv-spark { fill: #C9C1F5; }
.pv-term { fill: #0E1220; }
.pv-dot-r { fill: #FF6B6B; } .pv-dot-y { fill: #FFC145; } .pv-dot-g { fill: #3DD68C; }
.pv-term-text { font: 600 12px var(--mono); fill: #E9E7FF; }
.pv-term-dim { font: 500 12px var(--mono); fill: #8B93A7; }
.pv-term-ok { font: 600 12px var(--mono); fill: #3DD68C; }
.pv-cursor { fill: #8C7CF0; }
.pv-input { fill: #F7F8FA; stroke: #DCDFE7; }
/* D94 hub sub-page visuals: a stacked card behind, a highlighted bar, the board's lens. */
.pv-card-back { fill: #F7F8FA; stroke: #E3E5EB; }
.pv-bar-hot { fill: #CFC8F6; }
.pv-lens { fill: rgba(255, 255, 255, .88); stroke: #DCDFE7; stroke-width: 1.2; }

/* Signed-out gate: copy, benefits and both actions together, the page's visual beside them. */
.signin-gate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 48px; margin: 48px 0 88px; padding: 40px;
  border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, #FFFFFF 0%, #FBFAFF 60%, #F4F1FE 100%); box-shadow: var(--shadow-card); }
.signin-gate h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.signin-gate-text { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 560px; }
.signin-gate-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.signin-gate-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--body); }
.signin-gate-points .ph { font-size: 20px; color: var(--violet); margin-top: 1px; }
.signin-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.signin-gate-actions .button:first-child { background: var(--grad); border-color: transparent; }
.signin-gate-visual .page-visual { box-shadow: none; }
@media (max-width: 900px) {
  .page-head.has-visual { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .page-head.has-visual .page-visual { max-width: 420px; }
  .signin-gate { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .signin-gate-visual { order: -1; max-width: 420px; }
}
/* D96: sign-in and sign-up put the form first. A compact head sits right above the form; the visual and what an
   account is for sit in the side column on wide screens and below the form on narrow ones (web/auth-page.js). */
.auth-page .auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; align-items: start; max-width: 1080px; margin: 0 auto; padding-top: 40px; }
.auth-page .auth-head { display: block; padding: 0 0 18px; }
.auth-page .auth-head h1 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; }
.auth-page .auth-head p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.auth-page .auth-panel { margin: 0; }
.auth-side { display: grid; gap: 20px; min-width: 0; }
.auth-side .page-visual { box-shadow: none; }
.auth-side .hint-panel h3 { font-size: 22px; }
.auth-forgot { display: inline-flex; align-items: center; gap: 4px; margin: -6px 0 16px; font-size: 14px; }
.auth-mfa { margin: 0 0 18px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); }
.auth-mfa > summary { padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; }
.auth-mfa > summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.auth-mfa[open] { padding-bottom: 14px; }
.auth-mfa .field-row { margin-top: 2px; }
@media (min-width: 901px) { .auth-side { position: sticky; top: 96px; } }
@media (max-width: 900px) {
  .auth-page .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .auth-side .page-visual { max-width: 420px; }
}
@media (max-width: 560px) {
  .auth-page .auth-layout { padding-top: 16px; }
  .auth-side .page-visual { padding: 10px; }
}

/* D94: hub sub-pages (a head followed by the hub sub-navigation) keep the visual beside the title on tablets, in a
   narrower column, so every sub-page head keeps one height; phones drop it like every other page head. */
@media (min-width: 701px) and (max-width: 900px) {
  .page-head.has-visual:has(+ .hub-nav) { grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: 24px; }
  .page-head.has-visual:has(+ .hub-nav) .page-visual { padding: 10px; border-radius: 16px; }
}
@media (max-width: 700px) {
  .page-head.has-visual:has(+ .hub-nav) .page-visual { display: none; }
}
@media (max-width: 560px) {
  .page-head.has-visual .page-visual { display: none; }
  .signin-gate { margin: 24px 0 48px; padding: 22px; }
  .signin-gate-visual .page-visual { padding: 10px; }
}

/* D25 positioning: the hero promises the marketplace; trust facts, a builder entrance, and two-sided value. */
.gl-trust { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.gl-trust li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #DCD6FA; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; color: var(--ink); }
.gl-trust .ph { color: var(--violet); font-size: 16px; }
.gl-builder-entry { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.gl-builder-entry:hover, .gl-builder-entry:focus-visible { border-color: #C9C1F5; transform: translateY(-1px); }
.gl-builder-entry > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.gl-builder-entry strong { font-size: 16px; }
.gl-builder-entry small { font-size: 14px; color: var(--muted); line-height: 1.6; }
.gl-builder-entry-icon { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #0E1220; color: #B9F0CF; }
.gl-builder-entry-icon .ph { font-size: 22px; }
.gl-builder-entry-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--violet); white-space: nowrap; }
.gl-sides { padding-top: 72px; }
.gl-sides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.gl-side { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); }
.gl-side-builder { background: linear-gradient(160deg, #0E1220 0%, #1C1840 100%); border-color: #1C1840; color: #E9E7FF; }
.gl-side-builder h3, .gl-side-builder strong { color: #fff; }
.gl-side-builder small { color: #B6B3D6; }
.gl-side-builder .ph { color: #B9F0CF; }
.gl-side-kicker { font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.gl-side-builder .gl-side-kicker { color: #B9F0CF; }
.gl-side h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.gl-side ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 14px; }
.gl-side li { display: flex; gap: 12px; align-items: flex-start; }
.gl-side li .ph { flex: none; font-size: 22px; color: var(--violet); margin-top: 2px; }
.gl-side li span { display: grid; gap: 2px; }
.gl-side li strong { font-size: 16px; }
.gl-side li small { font-size: 14px; line-height: 1.65; color: var(--muted); }
.gl-side > .button { align-self: flex-start; margin-top: auto; }
.gl-side-customer > .button { background: var(--grad); border-color: transparent; }
.gl-side-builder > .button.secondary { background: #fff; color: var(--ink); border-color: #fff; }
.builder-start .page-head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.builder-start .page-head-action .button:first-child { background: var(--grad); border-color: transparent; }
.builder-gains { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.builder-gains li { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.builder-gains .ph { font-size: 26px; color: var(--violet); }
.builder-gains strong { font-size: 16px; color: var(--ink); }
.builder-gains span { font-size: 14px; line-height: 1.65; color: var(--muted); }
.builder-flow { margin-top: 48px; }
.builder-flow h2 { margin-bottom: 18px; }
.builder-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.builder-flow li { padding: 20px; border-top: 3px solid var(--violet); background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow-card); }
.builder-flow li span { font: 700 12px var(--mono); color: var(--violet); }
.builder-flow li h3 { margin: 6px 0 6px; font-size: 17px; }
.builder-flow li p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.builder-founding { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 22px 24px; border-radius: 18px; border: 1px solid #DCD6FA; background: linear-gradient(135deg, #FFFFFF, #F4F1FE); }
.builder-founding > .ph { flex: none; font-size: 30px; color: var(--violet); }
.builder-agents + .builder-founding { margin-top: 16px; }
.builder-founding strong { font-size: 17px; color: var(--ink); }
.builder-founding p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--body); }
.builder-founding .text-link { display: inline-flex; margin-top: 10px; align-items: center; gap: 6px; color: var(--violet); font-weight: 600; }
@media (max-width: 900px) {
  .gl-sides-grid { grid-template-columns: minmax(0, 1fr); }
  .builder-gains, .builder-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gl-builder-entry { flex-wrap: wrap; }
  .gl-builder-entry-cta { margin-left: 58px; }
  .gl-side { padding: 22px; }
  .builder-gains, .builder-flow ol { grid-template-columns: minmax(0, 1fr); }
}
.market-founding { padding: 2px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-weight: 600; font-size: 13px; }
/* D31: illustrative example times and real AiREQ turnaround medians */
.example-time { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.example-time .ph { color: var(--violet); font-size: 15px; }
.example-time-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.turnaround { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.turnaround > .ph { color: var(--violet); font-size: 20px; }
.turnaround ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.turnaround li { font-size: 14px; color: var(--body); }
.turnaround strong { color: var(--ink); }
.turnaround small { flex-basis: 100%; padding-left: 30px; color: var(--muted); font-size: 12px; }
.turnaround-compact { margin: 8px 0 12px; padding: 10px 12px; }
/* D28: completion criteria detail and plain criteria list */
.scope-detail { border: 0; padding: 0; margin: 0 0 16px; }
.scope-detail legend { font-weight: 600; margin-bottom: 8px; }
.scope-detail-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 8px; }
.scope-detail-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.scope-detail-option:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet) inset; }
.scope-detail-option span { display: grid; gap: 2px; }
.scope-detail-option small { color: var(--muted); font-size: 13px; }
.scope-criteria { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.scope-criteria li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.scope-criteria li > .ph { color: var(--violet); font-size: 20px; margin-top: 1px; }
.scope-criteria p { margin: 0; color: var(--ink); }
.scope-criteria details { margin-top: 6px; font-size: 13px; color: var(--muted); }
.scope-criteria dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 6px 0 0; }
.scope-criteria dt { font-weight: 600; }
.scope-criteria dd { margin: 0; }
/* D29: builder payment links */
.payment-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.workspace-page .payment-links .scope-list { list-style: none; padding-left: 0; gap: 0; }
.payment-link + .payment-link { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.payment-link .helper { margin: 2px 0 0; }
.payment-link-unchecked { color: #8A5300; }
.payment-link-form { flex-wrap: wrap; align-items: flex-end; }
/* Commercial-readiness audit P0: unread notices in the header */
.header-notices { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14px; }
.header-notices.hidden { display: none; }
.header-notices .ph { font-size: 20px; }
.header-notices span { background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 12px; line-height: 18px; }
.header-notices:hover, .header-notices:focus-visible { background: #F0F2F7; }
@media(max-width:800px){.site-header .header-notices{order:2;padding:0 4px;min-width:40px;gap:2px}}
/* Audit P0-3: automatic mail switch in the admin mail section */
.admin-mail-auto { margin: 16px 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.admin-mail-auto h3 { margin: 0; font-size: 18px; }
.admin-mail-auto-form { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-end; }
.admin-mail-auto-form .field { margin: 12px 0; min-width: 160px; }
.admin-mail-auto-form .form-actions { border-top: 0; padding-top: 0; margin-top: 0; flex-basis: 100%; }
/* Audit P0-3: digest email choice */
.notification-mail .choice-row { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.notification-mail .check-field { margin: 8px 0; }
/* Audit P1-4: my data and closing the account */
.account-closure .form-actions { border-top: 0; padding-top: 0; margin-top: 8px; justify-content: flex-start; }
.account-closure .form-actions > .button { margin-left: 0; }
.account-close-form, .account-close-blocked { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.account-close-form h3, .account-close-blocked h3 { font-size: 18px; margin: 0 0 8px; }
/* Audit P1-6: operator business details */
.footer-business { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.footer-business[hidden] { display: none; }
/* Policy page principles (D26) */
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.principle-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); }
.principle-card .ph { font-size: 26px; color: var(--brand); }
.principle-card h2 { font-size: 20px; margin: 12px 0 8px; }
.principle-card p { margin: 0; line-height: 1.75; }
/* What needs me now */
.p1-todo { margin-bottom: 24px; }
.p1-todo-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 0; }
.p1-todo-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; }
.p1-todo-list li + li { border-top: 1px solid var(--line); }
.p1-todo-list .ph { font-size: 22px; color: var(--brand); }
.p1-todo-list .helper { margin: 2px 0 0; }
.p1-todo-wait { color: #8A5300; white-space: nowrap; }
@media (max-width: 600px) { .p1-todo-list li { grid-template-columns: auto minmax(0, 1fr); } .p1-todo-list li > .button { grid-column: 2; justify-self: start; } }
/* GTM §8: founding seat counter */
.founding-seats { font-weight: 650; color: var(--brand); margin: 4px 0 8px; }
/* Builder follow-up: sent proposals */
.sent-proposals-head { margin: 20px 0 8px; font-size: 1rem; }
.sent-proposals { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sent-proposal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sent-proposal-title { font-weight: 600; flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.sent-proposal[data-outcome="selected"] .tag { background: var(--brand); color: var(--on-brand, #fff); }
.sent-proposal[data-outcome="declined"], .sent-proposal[data-outcome="ended"], .sent-proposal[data-outcome="withdrawn"] { opacity: .78; }
/* Builder activation: create the builder organization in place */
.builder-org-start { display: grid; gap: 10px; max-width: 560px; }
.builder-org-start .button { justify-self: start; }
/* Requester follow-up: widen a quiet request */
.market-widen summary { cursor: pointer; font-weight: 650; }
.market-widen form { display: grid; gap: 10px; margin-top: 10px; }
.market-widen .button { justify-self: start; }
/* Activation: verify email before the first scope */
.scope-verify { margin-bottom: 16px; }
.scope-verify .button { margin-top: 8px; }
/* Partnership and investment inquiries */
.partners-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.partners-fact-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 18px; }
.partners-fact-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.partners-fact-list i.ph { font-size: 24px; color: var(--brand); }
.partners-fact-list h3 { font-size: 16px; margin-bottom: 4px; }
.partners-fact-list p { font-size: 14px; color: var(--body); }
.partners-form { display: grid; gap: 14px; }
.partners-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.partners-kind { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.partners-kind:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.partners-kind span { display: grid; gap: 2px; }
.partners-kind small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.partners-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.partners-done { display: grid; gap: 10px; justify-items: start; }
.admin-partnership-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.admin-partnership-message { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; }
@media (max-width: 860px) { .partners-layout { grid-template-columns: minmax(0, 1fr); } }
.partners-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.partners-form legend { padding: 0; font-weight: 650; color: var(--ink); }
.partners-kind input[type="radio"] { width: auto; min-height: 0; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--brand); }
.partners-more { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.partners-form .partners-kind { display: flex; flex-direction: row; gap: 8px; align-items: flex-start; margin: 0; }
.partners-form .partners-kind input[type="radio"] { display: inline-block; }
/* Errors of forms owned by page modules: not cleared by the app-wide submit handler (which resets .field-error). */
.module-form-error { font-size: 14px; color: var(--red); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.module-form-error:empty { display: none; }
/* Payment protection step 1: upfront share */
.workspace-upfront { font-weight: 650; color: var(--brand); }
.workspace-upfront-wait { color: var(--ink); }
.workspace-upfront-ready i.ph { color: var(--green, #1f8a5a); }
/* Payment protection step 1: project problem report */
.project-report { margin-top: var(--space-4, 16px); }
.project-report > summary { cursor: pointer; font-weight: 650; }
.project-report fieldset { border: 0; padding: 0; margin: 12px 0; }
.project-report legend { font-weight: 650; margin-bottom: 6px; }
.project-report-list { padding-left: 18px; }
/* Built-in Terms of Service and Privacy Policy */
.legal-page { padding-top: 32px; padding-bottom: 48px; }
.legal-document { max-width: 760px; }
.legal-document h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 8px; }
.legal-document h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.legal-document ol { padding-left: 20px; line-height: 1.7; }
.legal-document li + li { margin-top: 6px; }
.legal-links { margin: 8px 0 4px; }
.legal-consent { margin-top: 8px; }
/* Written-by-hand plan */
.scope-manual { margin-top: 16px; }
.scope-manual > summary { cursor: pointer; font-weight: 650; }
.scope-manual-size { border: 0; padding: 0; margin: 8px 0 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.scope-manual-size legend { font-weight: 650; margin-bottom: 6px; }

/* Design pass 2026-11-25 (phones): the builder entry squeezed its text to a 1-2 character column because the text
   span had flex-basis 0 next to a no-wrap call to action. The text now takes a full row and the action sits below. */
@media (max-width: 560px) {
  .gl-builder-entry > span:nth-child(2) { flex: 1 1 calc(100% - 58px); }
  .gl-builder-entry-cta { margin-left: 58px; }
  .gl-term { overflow-x: auto; }
}
/* Phones: the eight kinds stay two per row as compact tiles instead of eight full-width cards. */
@media (max-width: 600px) {
  .gl-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gl-kind { padding: 16px 14px 18px; }
  .gl-kind strong { margin-top: 10px; font-size: 15px; }
  .gl-kind small { font-size: 13px; line-height: 1.5; }
}

/* /polish.css */
/* D101 visual polish (quality round 1, 2026-11-26). Findings and before/after measurements are in
   docs/superpowers/specs/2026-11-26-quality-round-1-design.md ("D101 findings"). Loaded after grid-lab.css so it can
   correct the shared components without rewriting them; every rule names the problem it fixes. Existing tokens only.
   Spacing scale 4/8/12/16/24/32/48/64; type scale 12/13/14/15/16/18/20/22/24/28+ (half-pixel sizes were removed). */

/* ---------- Page structure ---------- */
/* The plan / workspace content area is a grid with a 400px minimum height: with little content its rows stretched to
   fill it, so the identity banner grew to 116px with an empty bottom and the gap under it doubled (작업실, 1440 and 390). */
.content-area { align-content: start; }

/* The soft violet glow sits behind the hero on the home page; on every other page it landed between content cards as
   a grey-violet smudge (작업실 / 요청 시장 empty states). Elsewhere it moves up behind the page head and softens. */
body:has(#main:not([data-page="home"]))::after { top: 40px; opacity: .6; }

/* ---------- 요청 시장 ---------- */
/* "How it works" cards: the description floated at a different height in each card because the card's grid rows
   stretched to the tallest neighbour (1440: 473 / 451 / 462 / 451px). */
.market-how li { align-content: start; }
/* Phones: four separate cards took ~420px before the list itself. One grouped card with rules between the steps. */
@media (max-width: 600px) {
  .market-how { gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
  .market-how li { border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 14px 16px 14px 48px; }
  .market-how li:first-child { border-top: 0; }
  .market-how li .ph { top: 15px; left: 16px; font-size: 20px; }
}
/* A lone empty-state card filled one 300px column of the auto-fill grid and left the rest of the row blank. */
.market-list > .market-empty { grid-column: 1 / -1; }
/* Buttons inside notices inherited the notice's link underline ("신원 확인 신청", "빌더로 시작하기"). */
.workspace-notice a.button, .callout a.button { text-decoration: none; }

/* ---------- 작업실 ---------- */
/* The empty list's call to action stretched to the full card width (1090px at 1440). */
.workspace-page .workspace-list > li.panel > a.button { flex: 0 0 auto; }

/* ---------- Pricing plan cards ---------- */
/* Each card ended at a different height: "현재 요금제" sat right under the list while the other cards' buttons sat at
   the bottom on a rule, and the buttons were small and right-aligned. One column per card, the action pinned to the
   foot on the same rule in every card, full-width buttons. */
.pricing-plans > .plan-card { position: relative; display: flex; flex-direction: column; }
.pricing-plans > .plan-card > ul { flex: 1 0 auto; }
.pricing-plans > .plan-card > .plan-checkout { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.pricing-plans > .plan-card > .plan-checkout:empty { display: none; }
.pricing-plans .plan-checkout .form-actions { margin: 0; padding: 0; border: 0; justify-content: stretch; }
.pricing-plans .plan-checkout .form-actions > .button { flex: 1 1 auto; width: 100%; margin: 0; min-height: 44px; }
.pricing-plans .plan-checkout .plan-current { margin: 0; display: flex; align-items: center; min-height: 44px; }

/* ---------- Tables ---------- */
/* Korean cells broke between syllables in narrow columns (운영 콘솔 › 회원 at 390: "운/영/자" in three lines). Words stay
   whole; long tokens such as e-mail addresses still wrap. Wide tables scroll inside their own frame. */
table th, table td { word-break: keep-all; overflow-wrap: break-word; }

/* ---------- Deal network step buttons ---------- */
/* Five pill buttons wrapped 4 + 1 beside the network ("5 대금은 직접" alone on a second row). When the figure is wide
   enough they become five equal steps (number above the label); narrower, the rows fill the width evenly. */
.net-figure { container-type: inline-size; }
.net-steps > li { display: flex; }
.net-step { flex: 1 1 auto; justify-content: center; }
@media (max-width: 600px) { .net-step { min-height: 44px; } }
/* Narrow figure: two equal columns (rows of different widths left the seam between buttons crooked), step 5 spans. */
@container (max-width: 519px) {
  .net-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .net-steps > li:last-child { grid-column: 1 / -1; }
  /* The drawing scales to about half size here, so its 17-unit labels read as 9px; larger units keep them near 12px. */
  .net-side-label { font-size: 24px; }
  .net-hub-label { font-size: 22px; }
}
@container (min-width: 520px) {
  .net-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .net-step { flex-direction: column; justify-content: flex-start; gap: 6px; width: 100%; min-height: 72px; padding: 10px 8px 12px; border-radius: 14px; text-align: center; line-height: 1.3; word-break: keep-all; }
}

/* ---------- Smallest text ---------- */
/* 10.8px chart labels in the operations console (browser default "smaller" inside 13px captions). */
.ops small { font-size: 12px; }

/* ---------- Touch targets (phones) ---------- */
/* Header controls were 40px (account button, call to action) and 28px (flags); the seat info button is 24px. The
   visible size stays where the design needs it, the touchable area reaches 44px. */
/* Desktop: "로그인/가입" was 39px beside the 40px call to action and the 40px account button. */
.site-header .header-login { display: inline-flex; align-items: center; min-height: 40px; }
.header-locale button { position: relative; }
.header-locale button::after { content: ""; position: absolute; inset: -8px -1px; }
.info-tip-button { position: relative; }
.info-tip-button::after { content: ""; position: absolute; inset: -10px; }
.example-category { min-height: 40px; }
.home-example { position: relative; }
.home-example::after { content: ""; position: absolute; inset: -3px 0; }
@media (max-width: 600px) {
  .site-header .account-trigger, .site-header .header-action, .site-header .header-login { min-height: 44px; }
  .home-example { min-height: 40px; }
  .example-category, .work-chip, main select { min-height: 44px; }
  /* Operations console filters and the period switch were 36-37px. */
  .ops .ops-field input:not([type="checkbox"]):not([type="radio"]), .ops .ops-field select, .ops .ops-segment button { min-height: 44px; }
}

/* ==========================================================================================================
   D103 visual polish (quality round 2, 2026-11-26). Findings and before/after numbers are in
   docs/superpowers/specs/2026-11-26-quality-round-2-design.md ("D103 findings"). Same rules as D101: existing
   tokens, the 4/8/12/16/24/32 spacing scale, every rule names the problem it fixes.
   ========================================================================================================== */

/* ---------- Page-head kicker (round 2 item 3) ---------- */
/* The hub name above the title (요청 시장 / 작업실 / 내 프로필) was mono and letter-spaced on 요청 시장 only. One style
   for every hub: the page's own sans, small and violet, no tracking. */
.page-head .small-label, .market-page .page-head .small-label { margin: 0 0 8px; font-family: var(--sans); font-size: 14px; font-weight: 650; letter-spacing: 0; color: var(--violet); }

/* ---------- Request board cards (items 1 and 2) ---------- */
/* Cards in one row were the same height but their tags floated at different heights under facts of different
   lengths. Each card is a column; the tags sit in a foot pinned to the bottom of every card on one rule. */
.market-card { display: flex; flex-direction: column; gap: 10px; }
.market-card > .tag { align-self: flex-start; }
.market-card > .market-mini { margin: 0; }
.market-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.market-card-foot:empty { display: none; }
.market-card-foot .tag { margin: 0; }
/* Requester record facts (D102: one span per fact, a dot between): they wrap as whole facts instead of running off as
   one line, and the dots keep an even, quiet spacing. */
.market-requester-record { position: relative; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; padding-left: 24px; line-height: 1.6; }
.market-requester-record > .ph { position: absolute; left: 0; top: .2em; font-size: 16px; }
.market-requester-record > span[aria-hidden="true"] { color: var(--muted); }
.market-requester-record > span:not([aria-hidden]) { white-space: nowrap; }
@media (max-width: 360px) { .market-requester-record > span:not([aria-hidden]) { white-space: normal; } }

/* ---------- Proposal comparison (request detail, requester) ---------- */
/* Two proposals side by side had different heights, and their "이 빌더 선택" buttons sat 40px apart because one
   builder name took two lines. Cards stretch to the row; with subgrid the price, facts, message, terms and action
   rows line up across the cards, and the action stays at the bottom without subgrid too. */
.market-proposals { align-items: stretch; }
.market-proposal { align-content: start; }
@supports (grid-template-rows: subgrid) {
  .market-proposal { grid-row: span 7; grid-template-rows: subgrid; row-gap: 12px; }
}
.market-proposal > .market-terms { align-self: end; }
.market-proposal > .button { align-self: end; }
/* The identity tag's icon touched its label ("[icon]신원 확인됨"); the subscribed tag beside it has a space. */
.market-identity { display: inline-flex; align-items: center; gap: 4px; }
/* The comparison sort and organization selects were 36px beside 40px buttons (desktop minimum). */
@media (min-width: 601px) { .market-org select, .market-sort select { min-height: 40px; } }
@media (max-width: 600px) { .market-org select, .market-sort select { min-height: 44px; } }

/* ---------- Operations console (desktop) ---------- */
/* The filter row mixed a 40px search field, 36px selects and a 40px button, and the period switch (7일 / 30일 / 전체) and
   the audit filter were 36px: one 40px control height on desktop (phones already get 44px). */
@media (min-width: 601px) {
  .ops .ops-field input:not([type="checkbox"]):not([type="radio"]), .ops .ops-field select, .ops .ops-segment button { min-height: 40px; }
}

/* ---------- 내 제안 (builder) ---------- */
/* Each row wrapped on its own, so the state tags, the price · days · date line and the links started at a different
   x in every row. From 768px the rows share one set of columns (title | state | facts | link). */
@media (min-width: 768px) {
  @supports (grid-template-columns: subgrid) {
    .sent-proposals { grid-template-columns: minmax(0, 1fr) auto auto auto; column-gap: 16px; }
    .sent-proposal { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 16px; align-items: center; }
    .sent-proposal > .tag { justify-self: start; }
    .sent-proposal > .text-link { justify-self: end; }
  }
}

/* ---------- Proposal form (builder) ---------- */
/* The two columns started 24px apart (the form panel kept a stacked-panel top margin beside the request). */
.market-opp > .panel + .panel, .market-new > .panel + .panel { margin-top: 0; }
/* Budgets such as "1,500 – 4,000 USD" broke before the currency in the four-column fact row, leaving "USD" alone. */
.market-mini dd { text-wrap: balance; }

/* ---------- Forms ---------- */
/* A select was 48px beside a 50px input, so labels in one row sat 2px apart (결제 수단 / 금액, 결제 기록). */
.field select { min-height: 50px; }
/* Inline workspace rows: the button sat 12px lower than the inputs it belongs to (the fields carry a 12px bottom
   margin, the button none). Centred on the 50px inputs now. */
.workspace-row > .button { margin-bottom: 16px; }
/* Secure handoff form: a grid with a 10px gap around fields that keep their 22px margins (54px between fields), and
   a submit bar stretched to the full width. Even 16px rhythm; the button keeps its own width. */
.handoff-form { gap: 16px; padding: 16px; }
.handoff-form .field { margin: 0; }
.handoff-form .field .helper { margin-top: 8px; }
.handoff-form > .button { justify-self: start; }
/* New helper lines (D102) in the terms form, terms to confirm, result decision, change orders, payment records and
   sent proposals: a heading straight above a helper read as one block, a helper straight above a button touched it. */
.workspace-page .panel > h2 + .helper, .workspace-page .panel > h2 + p { margin-top: 8px; }
.workspace-page .panel > .helper + .workspace-row, .workspace-page .panel > .helper + .button, .workspace-page .panel > .helper + form { margin-top: 12px; }
.workspace-milestone-card .helper + .workspace-row { margin-top: 8px; }
/* Builder forms on a project (단계 결과 보내기, 결제 수단 추가) stretched a "충족" select and short inputs to 1078px. */
.workspace-delivery > *, .payment-link-form > * { max-width: 760px; }
/* Prose in the 1136px project column ran to 150+ characters a line; paragraphs and term lines stop near 80. */
.workspace-page .panel > p, .workspace-page .workspace-terms li, .workspace-page .workspace-milestone-card p { max-width: 75ch; }

/* Stage cards: "요청자 확인 대기", "승인 완료" and "진행 중" were the same grey tag, so the one stage waiting for a decision
   did not stand out on a 3,000px page. Waiting is amber with an amber edge, accepted is green (the board's colours). */
.workspace-milestone-card[data-state="delivered"] { border-color: #F3D9A6; box-shadow: inset 3px 0 0 #E0A43A, var(--shadow-card); }
.workspace-milestone-card[data-state="delivered"] > .panel-head > .tag { background: #FFF6E5; color: #8A5300; border-color: #F3D9A6; }
.workspace-milestone-card[data-state="accepted"] > .panel-head > .tag { background: #E9F7EF; color: #17663A; border-color: #BFE6CD; }

/* Reviews on a finished project: "내가 쓴 평가" touched the helper above it and "빌더가 남긴 평가" touched the comment
   above it, so the two reviews read as one block. Each review is its own group now. */
.market-review > h3 { margin: 24px 0 4px; font-size: 16px; }
.market-review > h3 + p { margin: 0 0 8px; }
.market-review > .market-message { max-width: 64ch; }

/* ---------- 내 계획서: one-line to-do (D102) ---------- */
/* The single line inside the 지금 할 일 panel kept the full panel padding: a tall box around one sentence. */
.p1-todo:has(.p1-todo-line) { padding: 12px 16px; }
.p1-todo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 15px; }
.p1-todo-line .ph { font-size: 20px; color: var(--brand); }

/* ---------- Password reset step markers (item 8) ---------- */
/* The two steps sat in a 1fr / 300px layout, and the "mail is off" notice took the first cell, pushing step 1 into
   the narrow column and step 2 under the notice. The notice spans the row; the steps are two equal columns, and the
   step number that starts each heading ("1.", "2.") becomes a marker. */
.two-column > .callout { grid-column: 1 / -1; }
.two-column:has(#password-reset-request-form) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.two-column:has(#password-reset-request-form) > .panel { margin: 0; }
.two-column:has(#password-reset-request-form) > .panel > h2::first-letter { padding: 1px 9px; margin-right: 10px; border-radius: 8px; background: var(--grad); color: #fff; font-size: .8em; font-weight: 700; }
@media (max-width: 800px) { .two-column:has(#password-reset-request-form) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer groups (item 7) ---------- */
/* Eleven links ran as one column (desktop) or one tall list (768, phones). Three titled groups: 서비스 안내, 문의·개발자,
   약관·정책. Wide desktop: brand | three groups | note. Up to 1200px (at 1024 the groups' column was too narrow and
   "이용 · 개인정보 원칙" broke before its last syllable): brand and note above, the groups in three columns below.
   Phones: two columns of groups. */
.site-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.2fr); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.footer-heading { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--ink); }
.footer-group a { color: var(--body); font-size: 14px; line-height: 1.5; }
@media (max-width: 1200px) {
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-links { grid-column: 1 / -1; grid-row: 2; }
  .site-footer .footer-note { grid-column: 2; grid-row: 1; }
}
@media (max-width: 600px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-links { grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .site-footer .footer-note { grid-column: auto; grid-row: auto; }
  .footer-group { gap: 4px; }
  .footer-group a { display: inline-flex; align-items: center; min-height: 36px; }
}

/* ---------- Card body text (item 6) ---------- */
/* Desktop card bodies were 14px (requester facts, sent-proposal lines, project list lines, notice titles, proposal
   facts). 15px from 768px up; phones keep 14px. */
@media (min-width: 768px) {
  .market-card .market-requester-record, .sent-proposal .helper, .workspace-list > li .helper, .market-notice-title, .market-facts li, .p1-todo-list .helper { font-size: 15px; }
}

/* ---------- Phone header (item 5) ---------- */
/* Two rows took 116-121px. One row now: logo, (bell), account or 로그인/가입, the role button, the menu. The language
   flags move into the open menu panel (the footer keeps its own switch), the menu button shows its icon only (the
   label stays for screen readers), the bell's count sits on the bell, and the account button is the initials. */
@media (max-width: 600px) {
  .site-header, .site-header:has(#main-navigation.open), .site-header:has(.header-context:not(.hidden)), .site-header:has(.header-context:not(.hidden)):has(#main-navigation.open) {
    grid-template-columns: auto minmax(0, 1fr) auto auto auto auto; column-gap: 6px; row-gap: 8px; min-height: 0; padding: 8px 8px 8px 12px; }
  .site-header { grid-template-areas: "brand . notices login workspace menu"; }
  .site-header:has(#main-navigation.open) { grid-template-areas: "brand . notices login workspace menu" "navigation navigation navigation navigation navigation navigation" "locale locale locale locale locale locale"; }
  .site-header:has(.header-context:not(.hidden)) { grid-template-areas: "brand . notices login workspace menu" "context context context context context context"; }
  .site-header:has(.header-context:not(.hidden)):has(#main-navigation.open) { grid-template-areas: "brand . notices login workspace menu" "context context context context context context" "navigation navigation navigation navigation navigation navigation" "locale locale locale locale locale locale"; }
  .site-header .header-locale { display: none; }
  .site-header:has(#main-navigation.open) .header-locale { display: inline-flex; justify-self: start; }
  .site-header:has(#main-navigation.open) .header-locale button { width: 44px; height: 36px; }
  .site-header .menu-toggle { width: 44px; min-width: 44px; padding: 0; }
  .site-header .menu-toggle > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .site-header .header-login { width: auto; padding: 8px 10px; border: 0; background: transparent; }
  .site-header .header-action { width: auto; padding: 8px 12px; }
  /* Longer labels (English "Log in / Sign up", "Ask for work") break onto two balanced lines inside the 44px control
     instead of pushing the row wider than the phone. */
  .site-header .header-login, .site-header .header-action { padding-block: 4px; line-height: 1.2; text-align: center; text-wrap: balance; word-break: keep-all; }
  .site-header .header-notices { position: relative; min-width: 44px; padding: 0; }
  .site-header .header-notices [data-notice-count] { position: absolute; top: 3px; right: 0; min-width: 18px; padding: 0 5px; font-size: 12px; line-height: 18px; text-align: center; }
  .site-header .header-notices [data-notice-count]:empty { display: none; }
  .site-header .account-trigger { padding: 3px; gap: 0; min-width: 44px; justify-content: center; }
  .site-header .account-trigger .ph-caret-down { display: none; }
  /* The account menu opens under the whole bar instead of under the button, so it never runs off either edge. */
  .site-header .header-account { position: static; }
  .site-header .account-menu { top: calc(100% + 8px); left: 8px; right: 8px; width: auto; }
  /* Inside the account menu: the 활동 명의 select was 38px and the links 42px. */
  .account-context select { height: 44px; }
  .account-menu-links a, .account-logout { min-height: 44px; }
}
/* Below 380px the row is tighter. Signed out (로그인/가입 + role button + menu) the name still fits; signed in with the
   bell there are four controls and no room for it, so the mark stays alone and keeps its "AiREQ 홈" label. */
@media (max-width: 379px) {
  .site-header, .site-header:has(#main-navigation.open), .site-header:has(.header-context:not(.hidden)), .site-header:has(.header-context:not(.hidden)):has(#main-navigation.open) { column-gap: 4px; }
  .site-header .header-login { padding: 8px 6px; }
  .site-header .wordmark { font-size: 18px; gap: 6px; }
  .site-header .brand-mark { width: 28px; height: 28px; }
  .site-header:has(.header-notices:not(.hidden)) .wordmark-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* ---------- Touch targets (phones) ---------- */
/* Disclosure rows on project and request pages ("기록 지문(해시) 보기", "제안 조건 자세히 보기", 신고하기) were 22-26px. */
@media (max-width: 600px) {
  main summary { min-height: 44px; padding-block: 10px; box-sizing: border-box; }
}

/* /motion.css */
/* D101 motion (quality round 1, 2026-11-26). Four showcase places, each telling part of the request -> proposal ->
   work -> payment story: the home hero arrives in one orchestrated sequence, the deal network walks through its five
   steps by itself, the pricing plans rise in when they come into view, and the empty 요청 시장 / 작업실 lists show what
   will happen there (web/motion-art.js). Rules:
   - transform and opacity only; nothing changes layout, so nothing shifts;
   - every moving rule sits inside @media (prefers-reduced-motion: no-preference): with reduced motion each drawing is
     its finished, static picture;
   - loops pause off screen (.ill-paused, web/illustrations.css) and while a person is pointing at or has chosen a step;
   - CSP-safe: classes and selectors only, no inline styles. Loaded last in /app.css. */

/* ---------- Empty-state drawings (static = the finished picture) ---------- */
.motion-art { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 0 14px; overflow: visible; }
.has-empty-art > .motion-art { flex: 0 0 100%; }
/* Wide screens: the drawing sits to the right of the message instead of above it, so the empty card is not a tall box
   with a blank right half (작업실 at 1440: a 1136px-wide card). Phones and tablets keep it above the message. */
@media (min-width: 900px) {
  .has-empty-art, .workspace-page .workspace-list > li.panel.has-empty-art { display: block; }
  .has-empty-art > .motion-art { float: right; width: 300px; margin: 0 0 8px 32px; }
  .has-empty-art::after { content: ""; display: block; clear: both; }
  .has-empty-art > p + p { margin-top: 6px; }
  .has-empty-art > .button { margin-top: 14px; }
}
/* Home activity panel with no public requests yet: the drawing fills the panel's free space under the message. */
.activity-feed .activity-empty-wrap > .motion-art { float: none; width: 100%; max-width: 340px; margin: 18px auto 4px; }
.ma-ring { fill: none; stroke: #D9D3FB; stroke-width: 1.4; opacity: .55; }
.ma-ring-2 { opacity: 0; }
.ma-link { fill: none; stroke: #C9C1F5; stroke-width: 1.5; stroke-dasharray: 3 6; stroke-linecap: round; }
.ma-card-bg { fill: #fff; stroke: #DCD6FA; stroke-width: 1.5; }
.ma-card-title { fill: var(--violet, #5B4BDB); }
.ma-card-line { fill: #E6E8EE; }
.ma-card-pill { fill: var(--violet-soft, #F1EFFD); stroke: #DCD6FA; }
.ma-env-bg { fill: #fff; stroke: var(--violet, #5B4BDB); stroke-width: 1.5; }
.ma-pick-bg { fill: #2F9E6B; stroke: #fff; stroke-width: 2; }
.ma-pick-mark, .mw-check-mark { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mw-doc-bg { fill: #fff; stroke: #DCD6FA; stroke-width: 1.5; }
.mw-doc-title { fill: var(--violet, #5B4BDB); }
.mw-line { fill: #E1DDFB; }
.mw-doc-pill { fill: #EAF7F0; }
.mw-track { fill: none; stroke: #E6E8EE; stroke-width: 4; stroke-linecap: round; }
.mw-progress { fill: none; stroke: var(--violet, #5B4BDB); stroke-width: 4; stroke-linecap: round; }
.mw-stage { fill: #fff; stroke: #C9C1F5; stroke-width: 2; }
.mw-check-bg { fill: #2F9E6B; }
.mw-seal-bg { fill: #EAF7F0; stroke: #2F9E6B; stroke-width: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .ma-ring, .ma-card, .ma-env, .ma-pick, .mw-line, .mw-progress, .mw-check, .mw-seal { transform-box: fill-box; transform-origin: center; }
  /* 요청 시장: the request calls out; three sealed proposals arrive one after another; one is chosen. */
  .ma-ring { animation: ma-ring 3.2s ease-out infinite; }
  .ma-ring-2 { animation-delay: -1.6s; }
  .ma-card { animation: ma-card 6.4s ease-in-out infinite; }
  .ma-env-1 { animation: ma-env-1 6.4s cubic-bezier(.2, .7, .2, 1) infinite; }
  .ma-env-2 { animation: ma-env-2 6.4s cubic-bezier(.2, .7, .2, 1) infinite; }
  .ma-env-3 { animation: ma-env-3 6.4s cubic-bezier(.2, .7, .2, 1) infinite; }
  .ma-pick { animation: ma-pick 6.4s ease-out infinite; }
  /* 작업실: the plan writes itself, the work runs through three stages, each is accepted, the result is sealed. */
  .mw-line { transform-origin: left center; }
  .mw-line-1 { animation: mw-line-1 7.2s ease-out infinite; }
  .mw-line-2 { animation: mw-line-2 7.2s ease-out infinite; }
  .mw-line-3 { animation: mw-line-3 7.2s ease-out infinite; }
  .mw-progress { transform-origin: left center; animation: mw-progress 7.2s cubic-bezier(.45, 0, .3, 1) infinite; }
  .mw-check-1 { animation: mw-check-1 7.2s ease-out infinite; }
  .mw-check-2 { animation: mw-check-2 7.2s ease-out infinite; }
  .mw-check-3 { animation: mw-check-3 7.2s ease-out infinite; }
  .mw-seal { animation: mw-seal 7.2s cubic-bezier(.3, 1.4, .5, 1) infinite; }
}
@keyframes ma-ring { 0% { transform: scale(.55); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes ma-card { 0%, 100% { transform: none; } 3% { transform: scale(.97); } 7% { transform: none; } }
@keyframes ma-env-1 { 0%, 6% { opacity: 0; transform: translateX(44px); } 16%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ma-env-2 { 0%, 16% { opacity: 0; transform: translateX(44px); } 26%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ma-env-3 { 0%, 26% { opacity: 0; transform: translateX(44px); } 36%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ma-pick { 0%, 46% { opacity: 0; transform: scale(.3); } 52% { opacity: 1; transform: scale(1.2); } 56%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes mw-line-1 { 0%, 3% { transform: scaleX(0); opacity: 1; } 10%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-line-2 { 0%, 9% { transform: scaleX(0); opacity: 1; } 16%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-line-3 { 0%, 15% { transform: scaleX(0); opacity: 1; } 22%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-progress { 0%, 24% { transform: scaleX(0); opacity: 1; } 76%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-check-1 { 0%, 36% { transform: scale(.2); opacity: 0; } 40% { transform: scale(1.15); opacity: 1; } 43%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-check-2 { 0%, 51% { transform: scale(.2); opacity: 0; } 55% { transform: scale(1.15); opacity: 1; } 58%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-check-3 { 0%, 66% { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 73%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes mw-seal { 0%, 76% { transform: scale(.4); opacity: 0; } 82%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }

/* ---------- Home hero: one orchestrated arrival (eyebrow, headline, intro, promises, then the workbench) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .home-page .gl-hero-copy > *, .home-page .gl-hero .gl-trust > li, .home-page .gl-hero .gl-workbench, .home-page .gl-hero .gl-builder-entry {
    animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .home-page .gl-hero-copy > h1 { animation-delay: .08s; }
  .home-page .gl-hero-copy > .home-intro { animation-delay: .2s; }
  .home-page .gl-hero-copy > .gl-trust { animation: none; }
  .home-page .gl-hero .gl-trust > li { animation-duration: .6s; animation-delay: .3s; }
  .home-page .gl-hero .gl-trust > li:nth-child(2) { animation-delay: .36s; }
  .home-page .gl-hero .gl-trust > li:nth-child(3) { animation-delay: .42s; }
  .home-page .gl-hero .gl-trust > li:nth-child(4) { animation-delay: .48s; }
  .home-page .gl-hero .gl-workbench { animation-duration: 1s; animation-delay: .46s; }
  .home-page .gl-hero .gl-builder-entry { animation-delay: .62s; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- The deal network walks through its five steps by itself ----------
   While nobody points at it or has chosen a step, each step's parts light up in turn (2.5 s each) and a thin bar fills
   under that step's button. The explanation line does not change, so screen readers are not interrupted. Choosing a
   step (data-active) stops the walk; the walk pauses with the rest of the drawing off screen. */
.net-step { position: relative; }
.net-step::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--violet, #5B4BDB); transform: scaleX(0); transform-origin: left center; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .net-figure:not([data-active]) .net-svg [data-step] { animation: net-tour 12.5s ease-in-out infinite; }
  .net-figure:not([data-active]) .net-svg .net-route { animation: net-dash 1.6s linear infinite, net-tour 12.5s ease-in-out infinite; }
  .net-figure:not([data-active]) .net-svg .net-pay { animation: net-dash 1.2s linear infinite, net-tour 12.5s ease-in-out infinite; }
  .net-figure:not([data-active]) .net-svg [data-step="propose"] { animation-delay: -10s; }
  .net-figure:not([data-active]) .net-svg [data-step="select"] { animation-delay: -7.5s; }
  .net-figure:not([data-active]) .net-svg [data-step="deliver"] { animation-delay: -5s; }
  .net-figure:not([data-active]) .net-svg [data-step="pay"] { animation-delay: -2.5s; }
  .net-figure:not([data-active]) .net-svg .net-route[data-step="propose"] { animation-delay: 0s, -10s; }
  .net-figure:not([data-active]) .net-svg .net-pay { animation-delay: 0s, -2.5s; }
  .net-figure:not([data-active]) .net-step::after { animation: net-tour-bar 12.5s linear infinite; }
  .net-figure:not([data-active]) .net-steps li:nth-child(2) .net-step::after { animation-delay: -10s; }
  .net-figure:not([data-active]) .net-steps li:nth-child(3) .net-step::after { animation-delay: -7.5s; }
  .net-figure:not([data-active]) .net-steps li:nth-child(4) .net-step::after { animation-delay: -5s; }
  .net-figure:not([data-active]) .net-steps li:nth-child(5) .net-step::after { animation-delay: -2.5s; }
  .net-figure.ill-paused .net-step::after, .net-figure.ill-paused .net-svg [data-step] { animation-play-state: paused; }
}
@keyframes net-tour { 0%, 17% { opacity: 1; } 23%, 94% { opacity: .3; } 100% { opacity: 1; } }
@keyframes net-tour-bar { 0% { transform: scaleX(0); opacity: 1; } 19% { transform: none; opacity: 1; } 23%, 100% { transform: none; opacity: 0; } }

/* ---------- Pricing: the three plans rise in, in order, the first time they come into view ----------
   web/motion-art.js adds .reveal-armed only when motion is allowed and IntersectionObserver exists, so without it the
   cards are simply there. The featured Builder card glows once after it lands; each plan's icon pops on arrival. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-armed > * { opacity: 0; transform: translateY(24px); }
  .reveal-armed.is-revealed > * { opacity: 1; transform: none; animation: plan-rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .reveal-armed.is-revealed > :nth-child(2) { animation-delay: .12s; }
  .reveal-armed.is-revealed > :nth-child(3) { animation-delay: .24s; }
  .reveal-armed.is-revealed .ill-plan { transform-box: fill-box; transform-origin: center; animation: plan-icon .6s cubic-bezier(.3, 1.5, .5, 1) .45s both; }
  .reveal-armed.is-revealed > :nth-child(2) .ill-plan { animation-delay: .57s; }
  .reveal-armed.is-revealed > :nth-child(3) .ill-plan { animation-delay: .69s; }
  .pricing-plans > .plan-card:nth-child(2)::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 2px var(--violet, #5B4BDB), 0 0 36px rgba(91, 75, 219, .45); opacity: 0; pointer-events: none; }
  .reveal-armed.is-revealed > .plan-card:nth-child(2)::after { animation: plan-glow 1.8s ease-out 1s both; }
}
@keyframes plan-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes plan-icon { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes plan-glow { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
