/* An inspectable workspace for people and their agents, in the Golubev visual language. */
.agent-entry-hero { display:grid; grid-template-columns:1.2fr 1fr; gap:7%; align-items:center; }
.agent-entry-hero>div { min-width:0; }
.agent-entry-hero figure { min-width:0; }
.agent-entry-hero figure img { width:100%; }
.agent-entry-hero figcaption { font-size:.875rem; line-height:1.7; color:var(--muted); margin-top:1rem; }
.agent-entry-hero .expert-lead { font-size:1.2rem; }
.agent-entry-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.75rem; }
.agent-starter { background:var(--soft); padding:2.5rem; border:1px solid var(--line); margin-block:2rem 4rem; }
.agent-starter h2 { font-size:2rem; margin-block:.75rem 1.25rem; }
.agent-prompt { width:100%; min-height:180px; font:inherit; line-height:1.8; background:var(--paper); border:1px solid var(--line); border-radius:3px; padding:1.25rem; resize:vertical; color:var(--ink); }
.agent-starter .button { margin-top:1rem; }
.agent-starter [role=status] { font-size:.875rem; color:var(--muted); margin-top:.75rem; }
.agent-connection { border-block:1px solid var(--line); margin-block:2rem; }
.agent-connection summary { padding:1.25rem 0; cursor:pointer; font-size:1.25rem; font-weight:500; }
.agent-connection>div { padding-bottom:2rem; }
.agent-connection h3 { font-size:1.25rem; margin-block:1.5rem .75rem; }
.agent-connection p { line-height:1.8; margin-block:.75rem; }
.agent-connection code,.agent-connection pre { overflow-wrap:anywhere; white-space:pre-wrap; font-size:.9375rem; }
.agent-connection pre { border:1px solid var(--line); background:var(--soft); padding:1.25rem; }
.agent-capability-list { padding-block:1rem 3rem; }
.agent-capability-list p:not(.eyebrow) { color:var(--muted); }
.agent-invitation { display:grid; grid-template-columns:1.2fr 1fr; gap:8%; padding-block:4rem; border-top:1px solid var(--line); }
.agent-invitation h2 { font-size:clamp(2.2rem,3.7vw,3.3rem); margin-block:1rem; }
.agent-invitation>div>p:not(.eyebrow) { max-width:550px; color:var(--muted); line-height:1.8; }
.agent-invitation-visual { display:flex; flex-direction:column; justify-content:center; }
.agent-invitation-visual img { width:100%; height:230px; object-fit:contain; }
.agent-invitation-visual p { text-align:center; font-size:.875rem; color:var(--muted); }
.agent-invitation .intro-actions { margin-top:1.5rem; }
.desk-hero { padding-block:2rem 3rem; }
.desk-hero .expert-breadcrumb { margin-bottom:1.5rem; }
.desk-hero>.eyebrow { margin-bottom:1.25rem; }
.desk-hero-grid { display:grid; grid-template-columns:1.8fr 1fr; gap:6%; align-items:center; }
.desk-hero h1 { font-size:clamp(3rem,4.8vw,4.5rem); line-height:1.08; max-width:850px; }
.desk-hero h1 em { font-style:normal; color:#a23e19; }
.desk-lead { font-size:1.2rem; color:var(--muted); max-width:650px; line-height:1.8; margin-top:1.5rem; }
.desk-hero-note { display:flex; align-items:center; gap:.5rem; }
.desk-hero-note img { width:55%; max-height:210px; }
.desk-hero-note p { font-size:.875rem; color:var(--muted); line-height:1.7; }
.desk-intro-bar { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding-block:1.5rem; border-block:1px solid var(--line); }
.desk-intro-bar>p { max-width:750px; font-size:.9375rem; line-height:1.7; color:var(--muted); }
.desk-intro-bar .text-link { font-size:.875rem; flex-shrink:0; }
.desk-loading { padding-block:2rem; }
.desk-workspace { display:grid; grid-template-columns:215px minmax(0,1fr); gap:7%; padding-block:3rem 4rem; align-items:start; }
.desk-workspace[hidden],.desk-result[hidden] { display:none; }
.desk-main { min-width:0; }
.desk-rail { position:sticky; top:2rem; }
.desk-rail>.eyebrow { color:var(--muted); font-size:.8125rem; }
.desk-progress { padding:0; margin:1.5rem 0; list-style:none; }
.desk-progress li { display:flex; align-items:center; gap:1rem; padding-block:1rem; border-bottom:1px solid var(--line); }
.stage-symbol { font-size:1.8rem; width:35px; text-align:center; line-height:1; color:#77766d; }
.desk-progress li[aria-current] .stage-symbol,.desk-progress li.is-complete .stage-symbol { color:#b8471e; }
.desk-progress li[aria-current] strong { color:#a23e19; }
.desk-progress strong { display:block; font-size:1rem; font-weight:600; }
.desk-progress div>span { display:block; font-size:.8125rem; color:var(--muted); }
.desk-agent-state { margin-top:2.25rem; }
.desk-agent-state>p:not(.small-label) { margin-block:.6rem; font-size:.875rem; line-height:1.7; color:var(--muted); }
.desk-agent-state .text-link { font-size:.875rem; }
.desk-local-note { border-top:1px solid var(--line); margin-top:1.5rem; padding-top:1.5rem; font-size:.8125rem; color:var(--muted); line-height:1.7; }
.desk-local-note p { margin-top:.5rem; }
.desk-form-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; margin-bottom:2rem; }
.desk-form-heading h2 { font-size:2.3rem; margin-top:.75rem; }
.desk-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.25rem; }
.desk-field { display:flex; flex-direction:column; gap:.6rem; min-width:0; margin-bottom:1.5rem; }
.desk-field>span { display:block; font-size:1rem; font-weight:500; line-height:1.5; }
.desk-field small { font-size:.875rem; color:var(--muted); line-height:1.6; font-weight:400; }
.desk-field>input,.desk-field>select,.desk-field>textarea { width:100%; min-width:0; min-height:52px; border:1px solid #a7a69e; border-radius:3px; background:#fffdfa; color:var(--ink); padding:.85rem 1rem; font:inherit; font-size:1rem; line-height:1.5; }
.desk-field>textarea { resize:vertical; }
.desk-field>select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23252421' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.75rem; }
.desk-field input:focus-visible,.desk-field select:focus-visible,.desk-field textarea:focus-visible,.agent-prompt:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.desk-commercial { margin-top:1.75rem; }
.desk-commercial .desk-field:first-child { grid-column:1/-1; }
.desk-quiet-button { color:var(--ink); background:none; border:0; padding:.5rem 0; min-height:44px; font:inherit; font-size:.9375rem; text-decoration:underline; text-underline-offset:4px; cursor:pointer; text-align:left; }
.desk-quiet-button:hover { color:#a23e19; }
.desk-quiet-button:focus-visible,.desk-workspace button:focus-visible { outline:2px solid var(--ink); outline-offset:4px; }
.desk-detail { border-block:1px solid var(--line); margin-block:1.5rem; }
.desk-detail summary { padding:1.1rem 0; cursor:pointer; font-weight:500; font-size:1rem; }
.desk-detail summary>span { color:var(--muted); font-size:.875rem; font-weight:400; margin-left:.5rem; }
.desk-detail-body { padding-block:.5rem 1.5rem; }
.desk-detail-body>p { color:var(--muted); line-height:1.8; margin-bottom:1.25rem; }
.desk-option { border-top:1px solid var(--line); padding-block:1.4rem; }
.desk-check { display:flex; align-items:flex-start; gap:.7rem; font-size:1rem; font-weight:500; line-height:1.6; cursor:pointer; }
.desk-check>input { accent-color:#b8471e; width:20px; height:20px; flex:0 0 20px; margin:3px 0 0; }
.desk-option>p { color:var(--muted); font-size:.9375rem; line-height:1.7; margin:.5rem 0 0 1.95rem; }
.desk-option fieldset { border:0; border-left:2px solid var(--orange); padding:1.5rem 0 0 1.5rem; margin:1.5rem 0 0; min-width:0; }
.desk-option legend { font-size:1rem; font-weight:500; padding:0 .5rem 0 0; }
.desk-form-actions { padding-top:1.5rem; border-top:1px solid var(--line); }
.desk-form-actions>p { font-size:.875rem; color:var(--muted); max-width:630px; line-height:1.7; margin-top:1rem; }
.desk-form-actions .button,.desk-review-box .button { cursor:pointer; font-family:inherit; }
.desk-error,.desk-warning,.desk-example-note { padding:1rem 1.25rem; border-left:3px solid #b8471e; background:#fff0e5; color:#633019; font-size:.9375rem; line-height:1.75; margin-block:1.5rem; }
.desk-result { border-top:2px solid var(--ink); margin-top:3rem; padding-top:2rem; scroll-margin-top:2rem; }
.desk-result:focus { outline:none; }
.desk-result-heading { display:flex; align-items:start; justify-content:space-between; gap:1.5rem; }
.desk-result-heading h2 { font-size:2.6rem; margin-block:.75rem .5rem; }
.desk-result-heading #draft-business { color:var(--muted); overflow-wrap:anywhere; }
.draft-badge { display:inline-block; padding:.45rem .7rem; border:1px solid #c8b096; color:#713e1d; background:#fff3e5; border-radius:3px; font-size:.8125rem; line-height:1.5; }
.draft-fit { padding:1.75rem; margin-top:1.75rem; border:1px solid var(--line); background:var(--soft); }
.draft-fit h3 { font-size:1.9rem; margin-block:.75rem 1rem; }
.draft-fit>p:not(.small-label):not(.draft-fee) { font-size:1rem; line-height:1.75; }
.draft-fit ul { font-size:1rem; line-height:1.8; padding-left:1.2rem; margin-block:1rem; }
.draft-fit .draft-fee { font-size:1.9rem; font-weight:500; line-height:1.4; margin-block:1.25rem .5rem; }
.draft-caption { font-size:.875rem!important; line-height:1.7; color:var(--muted); }
.draft-callout { padding-top:.75rem; border-top:1px solid var(--line); }
.desk-receipt { padding-block:1.75rem; border-bottom:1px solid var(--line); }
.desk-receipt ol { list-style:none; padding:0; margin:.75rem 0 0; }
.desk-receipt li { padding:.4rem 0 .4rem 1.6rem; position:relative; font-size:.875rem; line-height:1.6; color:var(--muted); }
.desk-receipt li::before { content:'✓'; position:absolute; left:0; color:#49624a; font-weight:600; }
#draft-body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.75rem; }
.draft-section { padding-block:1.75rem; border-bottom:1px solid var(--line); min-width:0; }
.draft-section h3 { font-size:1.35rem; margin-bottom:1rem; line-height:1.3; }
.draft-section .small-label { margin-bottom:.75rem; }
.draft-section ul { padding-left:1.1rem; margin:0; }
.draft-section li,.draft-section>p { color:var(--muted); font-size:.9375rem; line-height:1.8; margin-bottom:.6rem; overflow-wrap:anywhere; }
.draft-section:has(.draft-metrics) { grid-column:1/-1; }
.draft-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-bottom:1.5rem; }
.draft-metrics strong { display:block; font-size:1.7rem; font-weight:500; letter-spacing:-.04em; overflow-wrap:anywhere; }
.draft-metrics span { display:block; font-size:.8125rem; color:var(--muted); margin-top:.5rem; }
.draft-evidence+.draft-evidence { margin-top:.8rem; }
.draft-approval { grid-column:1/-1; border-left:3px solid var(--orange); padding:1rem 1.5rem; margin-top:1.5rem; background:var(--soft); }
.draft-approval p { color:var(--muted); font-size:.9375rem; line-height:1.8; margin-top:.5rem; }
.draft-document,.agent-result-json { font-family:var(--body); font-size:.9375rem; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; max-height:600px; overflow:auto; padding:1.25rem; border:1px solid var(--line); background:#fffdfa; }
.desk-export-actions { display:flex; align-items:center; gap:.75rem 1.5rem; flex-wrap:wrap; }
.desk-export-actions button { font-family:inherit; cursor:pointer; }
.desk-tool-status { font-size:.875rem; color:var(--muted); line-height:1.7; margin-top:1rem; }
.desk-review-box { margin-top:2rem; padding:2rem; background:#252421; color:var(--paper); }
.desk-review-box h3 { font-size:1.8rem; margin-block:1rem; }
.desk-review-box>p:not(.eyebrow) { color:#d6d3ca; font-size:1rem; line-height:1.8; }
.desk-review-box .desk-check { margin-block:1.5rem; font-size:.875rem; font-weight:400; color:#e1dfd7; }
.desk-review-box .text-link { display:table; margin-top:.75rem; font-size:.9375rem; }
.desk-workspace button:disabled { opacity:.5; cursor:not-allowed; }
.desk-boundary { display:grid; grid-template-columns:1fr 1.5fr; gap:10%; border-top:1px solid var(--line); padding-block:3rem 4rem; }
.desk-boundary h2 { font-size:2.4rem; margin-top:1rem; }
.desk-boundary>div>p:not(.eyebrow) { font-size:1rem; color:var(--muted); line-height:1.8; margin-bottom:1rem; }
.desk-agent-output { background:var(--soft); padding:1.5rem; margin-block:2rem; border:1px solid var(--line); }
.desk-agent-output h3 { font-size:1.3rem; margin-top:.75rem; text-transform:capitalize; }
.desk-agent-output .agent-result-json { max-height:350px; }
@media(max-width:1000px) {
 .desk-workspace { grid-template-columns:175px minmax(0,1fr); gap:4%; }
 .desk-hero h1 { font-size:3.2rem; }
 .desk-intro-bar { align-items:start; }
 .desk-intro-bar .text-link { flex-shrink:1; }
 .desk-form-heading { align-items:start; flex-direction:column; gap:.5rem; }
 .desk-result-heading { flex-wrap:wrap; }
 .agent-entry-hero { gap:4%; }
}
@media(max-width:760px) {
 .desk-hero-grid { grid-template-columns:1fr; }
 .desk-hero-note { display:none; }
 .desk-hero h1 { font-size:clamp(2.45rem,8vw,3.5rem); }
 .desk-hero { padding-block:1.25rem 2rem; }
 .desk-hero .expert-breadcrumb { margin-bottom:1rem; }
 .desk-lead { font-size:1.0625rem; margin-top:1.25rem; }
 .desk-intro-bar { display:block; }
 .desk-intro-bar .text-link { margin-top:.6rem; }
 .desk-workspace { grid-template-columns:1fr; gap:1.75rem; padding-block:1.5rem 3rem; }
 .desk-rail { position:static; }
 .desk-rail>.eyebrow,.desk-local-note { display:none; }
 .desk-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; margin:0; }
 .desk-progress li { display:block; padding:.5rem 0 1rem; }
 .stage-symbol { display:block; font-size:1.6rem; text-align:left; margin-bottom:.7rem; }
 .desk-progress strong { font-size:.9375rem; }
 .desk-progress div>span { font-size:.75rem; }
 .desk-agent-state { margin-top:1rem; padding-bottom:1rem; border-bottom:1px solid var(--line); }
 .desk-agent-state>.small-label,.desk-agent-state>.text-link { display:none; }
 .desk-agent-state>p:not(.small-label) { font-size:.8125rem; margin:0; }
 .desk-form-heading h2 { font-size:2rem; }
 .desk-fields,#draft-body { grid-template-columns:1fr; gap:0; }
 .desk-form-heading { margin-bottom:1.5rem; }
 .desk-option fieldset { padding-left:1rem; }
 .desk-form-actions>.button { width:100%; }
 .draft-fit { padding:1.25rem; }
 .draft-fit h3 { font-size:1.6rem; }
 .draft-fit .draft-fee { font-size:1.7rem; }
 .desk-result-heading h2 { font-size:2.2rem; }
 .draft-metrics { grid-template-columns:1fr; gap:1.25rem; }
 .draft-metrics strong { font-size:1.9rem; }
 .desk-review-box { padding:1.5rem; }
 .desk-review-box .button { width:100%; }
 .desk-review-box h3 { font-size:1.6rem; }
 .desk-boundary { grid-template-columns:1fr; gap:1.5rem; padding-block:2.5rem; }
 .desk-boundary h2 { font-size:2rem; }
 .agent-entry-hero { grid-template-columns:1fr; }
 .agent-entry-hero figure { max-width:500px; }
 .agent-starter { padding:1.5rem; margin-block:1.5rem 2.5rem; }
 .agent-starter h2 { font-size:1.6rem; }
 .agent-prompt { font-size:1rem; min-height:260px; padding:1rem; }
 .agent-entry-actions .button { width:100%; }
 .agent-invitation { grid-template-columns:1fr; gap:1rem; padding-block:3rem; }
 .agent-invitation-visual img { height:160px; }
 .agent-invitation h2 { font-size:2.35rem; }
 .agent-invitation .button { width:100%; }
}
@media print {
 .desk-hero,.desk-intro-bar,.desk-rail,#engagement-form,.desk-export-actions,.desk-review-box,.desk-import,.desk-boundary,.desk-agent-output { display:none!important; }
 .desk-workspace,.desk-main,#draft-body { display:block; }
 .desk-workspace { width:100%; padding:0; }
 .desk-result { border:0; margin:0; padding:0; }
 .draft-section,.draft-fit { break-inside:avoid; }
 .draft-document { max-height:none; overflow:visible; }
}
