/* Dashou product surfaces: light, precise and map-led. Loaded after legacy styles. */
:root,#marketplace.runtime,#form-dialog{--primary:#4f46e5;--accent:#4f46e5;--ink:#182238;--muted:#64748b;--line:#e2e7ef;--surface:#f5f7fa;--soft:#f1f4f9;--green:#087f5b}
body,#marketplace.runtime,#form-dialog{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif!important;-webkit-font-smoothing:antialiased;color:#182238}
#marketplace.runtime{background:#f5f7fa;font-size:14px;line-height:1.6}
#original-header.network-header{position:relative;z-index:25;min-height:76px;padding:0 32px;gap:40px;border-bottom:1px solid #e2e7ef;background:#fff;box-shadow:0 1px 8px #15254103}
.network-brand{display:flex;align-items:center;gap:10px;color:#182238;font-weight:750;letter-spacing:-1px;font-size:23px}
.network-brand:before{content:"";display:block;width:30px;height:30px;border-radius:9px;background:#4f46e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='none' viewBox='0 0 30 30'%3E%3Cpath d='M9 19V11l6 4 6-4v8l-6-4-6 4Z' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center;box-shadow:0 3px 8px #4f46e520}
.network-brand span{letter-spacing:.08em;color:#7d8798;font-size:10px;margin-left:4px;padding-left:14px;border-left:1px solid #e2e7ef}
#original-header.network-header nav{gap:6px;align-self:stretch;align-items:center}
#original-header.network-header nav a{padding:11px 17px;border-radius:8px;color:#64748b!important;font-size:13px;font-weight:550;transition:background .15s,color .15s;white-space:nowrap}
#original-header.network-header nav a:hover{background:#f5f7fa;color:#182238!important}
#original-header.network-header nav a[aria-current=page]{background:#eef0ff;color:#4338ca!important}
#original-header.network-header>div{gap:20px;font-weight:550}
#original-header.network-header button{min-height:40px;padding:9px 16px;border:1px solid #dce2eb;border-radius:8px;color:#334155;background:#fff}
.prototype-strip{background:#f1f4f8!important;color:#64748b!important;border-bottom:1px solid #e5eaf1!important;font-size:11px!important;line-height:1.7;min-height:30px}
#marketplace.runtime .page{max-width:1160px;padding:40px 32px 64px;margin:auto}
#marketplace.runtime h1{font-size:28px;line-height:1.35;font-weight:700;letter-spacing:-.04em;color:#182238}
#marketplace.runtime h2{font-size:18px;letter-spacing:-.02em;font-weight:650;color:#182238}
#marketplace.runtime h3{font-size:15px;line-height:1.6;font-weight:650}
#marketplace.runtime .page-heading{margin-bottom:28px;align-items:center}
#marketplace.runtime .page-heading p{margin-top:10px;max-width:680px;color:#64748b;font-size:13px;line-height:1.8}
#marketplace.runtime .muted{font-size:12px;color:#64748b;line-height:1.8}
#marketplace.runtime .card{border:1px solid #e2e7ef;border-radius:12px;padding:24px;box-shadow:0 2px 4px #18223803;background:#fff}
#marketplace.runtime .stack{gap:16px}
#marketplace.runtime .columns{gap:24px}
#marketplace.runtime button,#form-dialog button{min-height:40px;border-radius:8px;border:1px solid #dce2eb;background:#fff;padding:10px 15px;font-weight:550;line-height:1.4;color:#334155;transition:background .15s,border-color .15s,box-shadow .15s}
#marketplace.runtime button:hover,#form-dialog button:hover{background:#f6f8fb;border-color:#aab7cb}
#marketplace.runtime .primary,#form-dialog .primary{background:#4f46e5;color:white;border-color:#4f46e5;box-shadow:0 3px 7px #4f46e518}
#marketplace.runtime .primary:hover,#form-dialog .primary:hover{background:#4338ca;border-color:#4338ca;color:white}
#marketplace.runtime .danger,#form-dialog .danger{color:#b42318}
#marketplace.runtime :is(button,a,input,select,textarea):focus-visible,#form-dialog :is(button,a,input,select,textarea):focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}
#marketplace.runtime :is(input:not([type=checkbox]),textarea,select),#form-dialog :is(input:not([type=checkbox]),textarea,select){background:#fff;border:1px solid #dce2eb;border-radius:8px;padding:12px 13px;color:#182238;line-height:1.6;box-shadow:0 1px 2px #18223803}
#marketplace.runtime :is(input,textarea)::placeholder,#form-dialog :is(input,textarea)::placeholder{color:#8792a3}
#marketplace.runtime label,#form-dialog label{font-weight:550;color:#334155;font-size:13px}
#marketplace.runtime .scope{background:#f6f8fb;border:1px solid #edf0f5;border-radius:8px;padding:16px;color:#475569;line-height:1.9}
#marketplace.runtime .tag{background:#eef0ff;color:#4338ca;padding:5px 9px;border-radius:5px;font-size:11px}
#marketplace.runtime .tag.green{background:#eaf7f1;color:#087f5b}
#marketplace.runtime .price{color:#182238;font-size:24px;font-variant-numeric:tabular-nums}
#marketplace.runtime .note-box{background:#f4f5ff;border-left:3px solid #818cf8;color:#4c5674;border-radius:0 8px 8px 0}
#marketplace.runtime .journey-progress{border-top:3px solid #6366f1}
#marketplace.runtime .journey-progress ol{gap:8px;margin-top:20px}
#marketplace.runtime .journey-progress li{background:#f4f6f9;border-radius:7px;padding:9px 13px;color:#64748b;font-size:12px}
#marketplace.runtime .journey-progress [aria-current=step]{outline:0;background:#eef0ff;color:#4338ca;box-shadow:inset 0 0 0 1px #c7d2fe}
#marketplace.runtime .timeline li{border-color:#e2e7ef}
#marketplace.runtime .timeline li:before{background:#818cf8;box-shadow:0 0 0 4px #f1f3ff}
#marketplace.runtime .empty{padding:64px 24px;background:white;border:1px solid #e2e7ef;border-radius:12px}
#marketplace.runtime .empty h2{font-size:17px}
#marketplace.runtime .empty .material-symbols-outlined{background:#f1f4f9;border:1px solid #e2e7ef;color:#64748b;border-radius:16px;padding:15px;margin-bottom:18px}
#form-dialog{border:1px solid #e2e7ef;border-radius:16px;box-shadow:0 24px 90px #14213826;padding:28px;color:#182238;background:white}
#form-dialog::backdrop{background:#15233d66;backdrop-filter:blur(5px)}
#form-dialog .dialog-head{padding-bottom:18px;border-bottom:1px solid #edf0f5;margin-bottom:20px}
#form-dialog .dialog-head button{padding:6px 12px;min-height:36px}
#status{background:#1e293b;border:1px solid #334155;border-radius:10px;box-shadow:0 12px 35px #15254125}
/* Map is the working surface, with the results panel as its companion. */
#marketplace.map-market-root{background:#f5f7fa}
.map-market{min-height:640px;height:calc(100dvh - 106px)}
.map-market-toolbar{padding:20px 28px;gap:24px;background:#fff;border-bottom:1px solid #e2e7ef}
#marketplace .map-market-toolbar h1{font-size:20px!important;font-weight:650}
.map-market-toolbar p{color:#64748b;font-size:12px;max-width:440px}
.map-cities{padding:3px;border:1px solid #e7ebf2;background:#f5f7fa;border-radius:8px}
#marketplace .map-cities button{border:0;min-height:34px;padding:7px 13px;background:transparent;font-size:12px}
#marketplace .map-cities [aria-pressed=true]{background:#fff;color:#4338ca;box-shadow:0 1px 4px #18223812}
.map-workspace{grid-template-columns:350px minmax(0,1fr)}
.map-results{padding:20px;background:#fff;border-color:#e2e7ef;scrollbar-width:thin;scrollbar-color:#d5dce7 transparent}
.map-mode-tabs{padding:4px;background:#f1f4f9;border-radius:10px;gap:4px;margin-bottom:22px}
#marketplace .map-mode-tabs button{border:0;background:transparent;font-size:13px;min-height:42px;padding:10px 8px}
#marketplace .map-mode-tabs button[aria-pressed=true]{background:#4f46e5;color:#fff;box-shadow:0 2px 6px #4f46e525}
#marketplace .map-mode-tabs button[data-map-mode=demands][aria-pressed=true]{background:#087f5b}
.map-results h2{font-size:12px!important;color:#64748b!important;font-weight:550!important;margin:22px 0 14px}
.map-service-card{border-color:#e2e7ef;border-radius:10px;padding:16px;transition:border-color .15s,box-shadow .15s}
.map-service-card:hover{border-color:#c0c9d9;box-shadow:0 4px 12px #18223807}
.map-service-card.is-selected{border-color:#818cf8;background:#f6f7ff;box-shadow:0 0 0 1px #818cf822}
.map-person{border-radius:10px;background:#eef0ff;border:1px solid #e1e5fc;color:#4f46e5;width:38px;height:38px}
.map-select-service{min-height:40px!important}.map-select-service strong{font-size:14px;font-weight:650;color:#182238}
.map-select-service small,.map-service-card>p{color:#64748b}
.map-service-card>div{padding-top:12px;border-top:1px solid #edf0f5;margin-top:12px}
#marketplace .map-service-card>div>button{min-height:32px;padding:6px 10px;font-size:11px}
.map-stage{background:#e9eef3}
.map-status-strip span,.map-legend{border:1px solid #dfe5ed;background:#ffffffed;box-shadow:0 3px 12px #18223809;color:#526079;border-radius:8px}
.map-selected{border:1px solid #dce2eb;border-radius:14px;box-shadow:0 12px 40px #15254120;padding:24px}
.map-detail-top{color:#64748b}.map-selected h2{font-size:20px!important;line-height:1.5}.map-delivery{color:#526079;line-height:1.9}
.map-price{border-top:1px solid #edf0f5;padding-top:18px;font-size:20px;color:#182238;font-weight:650}
.network-record:last-child{border-bottom:0}.network-record{border-color:#e2e7ef;padding:22px 0}
/* Activity inbox: one consistent row, with time and a clear destination. */
#marketplace.runtime .inbox-page{max-width:1060px}
.inbox-topline{font-size:11px;letter-spacing:.12em;color:#64748b;margin-bottom:10px;font-weight:600}
.inbox-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start}
.inbox-list{background:#fff;border:1px solid #e2e7ef;border-radius:12px;overflow:hidden}
.inbox-list-head{padding:16px 22px;border-bottom:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;color:#64748b}
.notice-row{display:flex;align-items:center;gap:16px;padding:22px;border-bottom:1px solid #edf0f5;transition:background .15s;color:#182238!important}
.notice-row:last-child{border-bottom:0}.notice-row:hover{background:#f8f9fd}
.notice-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:#eef0ff;color:#4f46e5;border-radius:11px}.notice-icon svg{width:19px;height:19px}
.notice-content{min-width:0;flex:1}.notice-content strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.7}
.notice-content time{display:block;color:#64748b;font-size:12px;margin-top:5px;font-variant-numeric:tabular-nums}.notice-arrow{color:#94a3b8;font-size:20px}
#marketplace.runtime .inbox-list .empty{border:0;border-radius:0;padding:60px 22px}
#marketplace.runtime .inbox-aside{padding:22px}.inbox-aside h2{font-size:14px!important}.inbox-aside p{font-size:12px;color:#64748b;margin:12px 0 20px;line-height:1.9}
.inbox-aside a{display:flex;justify-content:space-between;padding:13px 0;border-top:1px solid #edf0f5;font-size:13px;color:#475569}
@media(max-width:1100px){#original-header.network-header{padding:0 22px;gap:20px}.network-brand span{display:none}#original-header.network-header nav a{padding:10px 12px}.map-market-toolbar{gap:14px}.map-entry-actions{flex-wrap:wrap}.map-workspace{grid-template-columns:320px minmax(0,1fr)}}
@media(max-width:760px){#original-header.network-header{padding:14px 16px;gap:12px;min-height:0;flex-wrap:wrap}.network-brand{font-size:21px}#original-header.network-header>div{padding:0!important;min-height:0;gap:14px!important;margin-left:auto}#original-header.network-header nav{order:3;width:100%;justify-content:space-between!important;gap:4px!important;padding:6px 0 0}#original-header.network-header nav a{padding:10px 12px;font-size:12px}#marketplace.runtime .page{padding:28px 18px 48px}#marketplace.runtime h1{font-size:24px}#marketplace.runtime .card{padding:20px}.inbox-layout{grid-template-columns:1fr}.inbox-aside{order:2}.notice-row{padding:18px;gap:12px}.inbox-list-head{padding:14px 18px}.map-market{height:auto;min-height:0}.map-market-toolbar{padding:18px 16px;flex-wrap:wrap}.map-market-toolbar>div:first-child{width:100%}.map-workspace{display:flex;flex-direction:column}.map-stage{order:0;height:55dvh;min-height:380px}.map-results{order:1;overflow:visible;border:0}.map-selected{right:12px;bottom:65px;width:calc(100% - 24px);padding:18px}.map-cities{margin-left:0}.map-entry-actions{margin-left:0;gap:8px;white-space:normal}.map-entry-actions a{padding:8px}.map-status-strip{gap:6px}#marketplace .map-status-strip button{min-height:36px;padding:7px 9px}.map-results form>div{min-width:0}#form-dialog{padding:22px}.prototype-strip{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.inbox-empty-action{text-align:center;padding:0 20px 28px;color:#4f46e5;font-size:13px}
/* Task-oriented publishing and cooperation views. */
.product-footer{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:18px 28px!important;background:#fff;border-top:1px solid #e2e7ef;color:#7b8799;font:11px/1.7 Inter,"PingFang SC",sans-serif;flex-wrap:wrap}
.product-footer>span{margin:0}.product-footer nav{display:flex;gap:20px;flex-wrap:wrap}.product-footer a:hover{color:#4f46e5}
#marketplace.runtime .publish-page{max-width:1180px}
.publish-page .columns{grid-template-columns:minmax(0,1fr) 280px!important}
#marketplace.runtime .publish-page .columns>section.card{padding:0;overflow:hidden}
.publish-stepper{display:flex;gap:4px;padding:20px 24px;border-bottom:1px solid #e2e7ef;background:#fafbfd;scroll-margin-top:16px}
#marketplace .publish-stepper button{flex:1;display:flex;align-items:center;gap:10px;justify-content:flex-start;padding:8px 4px;border:0;background:transparent;color:#64748b;box-shadow:none;min-height:40px;font-size:12px}
.publish-stepper button span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #dce2eb;background:#fff;border-radius:50%;font-size:11px;flex-shrink:0}
#marketplace .publish-stepper [aria-current=step]{color:#4338ca;font-weight:650}.publish-stepper [aria-current=step] span{color:#fff;background:#4f46e5;border-color:#4f46e5;box-shadow:0 0 0 4px #eef0ff}
.publish-step{padding:28px 30px;min-height:340px}.publish-step>h2{margin-bottom:24px}.publish-step>label:first-of-type{margin-top:0}
.publish-controls{display:flex;gap:14px;align-items:center;padding:20px 30px;background:#fafbfd;border-top:1px solid #e2e7ef}.publish-controls>span{margin-right:auto}
#publish-form>.form-error{padding:0 30px}#publish-form>.form-error:empty{display:none}
.publish-preview{border:1px solid #e2e7ef;border-radius:12px;padding:24px;margin-top:24px;background:white;box-shadow:0 8px 30px #18223806}
.publish-preview-label{font-size:11px;color:#64748b;margin-bottom:16px}.publish-preview h3{font-size:21px!important;line-height:1.5!important}.publish-preview>strong{display:block;margin-top:20px;color:#4338ca;font-size:19px}.publish-preview h4{font-size:12px;font-weight:600;color:#64748b;margin:18px 0 8px}.publish-preview>p{font-size:13px;color:#475569}.review-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}
#marketplace .publish-page .inquiry-panel{background:#f9faff;border-color:#e1e5f6;box-shadow:none}.publish-page .inquiry-panel h2{font-size:16px!important}.publish-page .inquiry-panel p{font-size:13px;color:#64748b}
.cooperation-filters{display:flex;gap:8px;margin:0 0 24px;padding-bottom:16px;border-bottom:1px solid #e2e7ef;flex-wrap:wrap}
#marketplace .cooperation-filters button{background:transparent;border-color:transparent;padding:9px 14px;color:#64748b;font-size:13px;gap:10px}.cooperation-filters button span{font-size:11px;padding:1px 7px;background:#e8edf4;border-radius:5px;font-variant-numeric:tabular-nums}
#marketplace .cooperation-filters button[aria-pressed=true]{background:#fff;border-color:#dce2eb;color:#4338ca;box-shadow:0 2px 4px #18223804}.cooperation-filters button[aria-pressed=true] span{background:#eef0ff;color:#4338ca}
.filter-empty{padding:64px 20px;text-align:center;border:1px dashed #dce2eb;border-radius:12px;background:#fff;color:#64748b;font-size:13px}
#marketplace[data-page=orders] .grid>.card{display:flex;flex-direction:column}#marketplace[data-page=orders] .grid>.card[hidden]{display:none!important}#marketplace[data-page=orders] .grid>.card>.actions{margin-top:auto;padding-top:18px}#marketplace[data-page=orders] .grid>.card>p.muted{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:16px}
#marketplace[data-page=order] .page-heading{padding-bottom:24px;border-bottom:1px solid #e2e7ef}
#marketplace[data-page=order] .timeline{margin-top:28px}#marketplace[data-page=order] .timeline p{background:#f7f9fc;border:1px solid #edf0f5;padding:14px 16px;border-radius:0 10px 10px 10px}
@media(max-width:800px){.publish-page .columns{grid-template-columns:1fr!important}.publish-page .inquiry-panel{position:static!important}.publish-stepper{padding:16px;gap:10px}#marketplace .publish-stepper button{flex-direction:column;align-items:flex-start;gap:9px;font-size:11px}.publish-step{padding:24px 20px;min-height:0}.publish-controls{padding:18px 20px;gap:10px}.publish-controls>span{font-size:10px}.product-footer{padding:18px!important}.product-footer nav{gap:12px}.cooperation-filters{gap:3px}#marketplace .cooperation-filters button{padding:9px;font-size:12px;gap:6px}.publish-preview{padding:20px}}
/* Free matching: clarify the fee boundary and preserve multiline task details. */
.matching-fee{font-size:12px;line-height:1.7;color:#64748b;margin:14px 0 10px}.matching-fee a{margin-left:6px;color:#475569}.matching-review{margin:18px 0}.matching-review .network-record{padding:16px 0;border-top:1px solid #e7ebf0}.matching-review h3{font-size:15px}.matching-steps{padding-left:21px;line-height:2;color:#64748b}.map-delivery,.network-record>p{white-space:pre-wrap;overflow-wrap:anywhere}.map-category-tabs{flex-wrap:wrap}.map-ai-layer[hidden]{display:none!important}
