/* Shared reading and interaction rhythm for commerce work pages. */
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench){max-width:1240px;padding:28px 36px 32px;--ui-surface:#191a1d;--ui-raised:#222326;--ui-border:#ffffff14;--ui-text:#f1f1f3;--ui-secondary:#babac0;--ui-accent:#d8c49f}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .page-heading{margin-bottom:20px;align-items:flex-start}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .page-heading h1{font-size:25px;line-height:1.35}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .page-heading p{font-size:13px;color:var(--ui-secondary);line-height:1.7}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .task-controls{padding:12px 0;gap:10px;align-items:baseline;margin-bottom:12px}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .task-controls>strong{font-size:13px;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .workflow-rail{padding:8px 0 18px;margin-bottom:24px;border-color:var(--ui-border);gap:12px}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .workflow-rail button{font-size:12px;color:#949e99;gap:8px}
.workspace main:has(.conversation-research,.selection-sources,.listing-workbench) .workflow-rail .active{color:var(--ui-accent)}
:is(.conversation-research,.selection-sources,.listing-workbench){color:var(--ui-text);font-size:15px;line-height:1.8}
:is(.conversation-research,.selection-sources,.listing-workbench) [hidden]{display:none!important}
:is(.conversation-research,.selection-sources,.listing-workbench) :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}
:is(.conversation-research,.selection-sources,.listing-workbench) .btn{min-height:40px;border-radius:9px;font-size:13px;padding:9px 16px;line-height:1.5}
:is(.conversation-research,.selection-sources,.listing-workbench) :is(p,li,h2,h3,strong,small){overflow-wrap:anywhere}
:is(.conversation-research,.selection-sources,.listing-workbench) :is(.research-note,.source-hint){font-size:12px;line-height:1.75;color:var(--ui-secondary)}
:is(.conversation-research,.selection-sources,.listing-workbench) details>summary{font-size:13px;line-height:1.6;margin:0;padding:12px 0;color:#c5c9c1;cursor:pointer}
:is(.conversation-research,.selection-sources,.listing-workbench) details[open]>summary{margin-bottom:12px}
:is(.conversation-research,.selection-sources,.listing-workbench) .field{font-size:13px;color:var(--ui-secondary);margin-bottom:18px}
:is(.conversation-research,.selection-sources,.listing-workbench) .field :is(input,textarea,select){font-size:14px;line-height:1.7;padding:11px 13px;border-color:#ffffff22;border-radius:8px;background:#141518;color:var(--ui-text)}
/* The conversation is one reading surface; the composer never overlays it. */
.conversation-research{max-width:880px;margin:8px auto 0!important}
.conversation-research .research-welcome{padding:30px 0 24px;text-align:left}
.conversation-research .research-welcome h2{font-size:32px;line-height:1.4;margin:9px 0 10px;letter-spacing:-.6px}
.conversation-research .research-welcome p{font-size:15px;color:var(--ui-secondary);margin:0}
.conversation-research .research-welcome .output-label{font-size:12px;letter-spacing:.08em;color:var(--ui-accent)}
.conversation-research .card-padding.research-chat-layout{padding:0}
.conversation-research .research-chat-toolbar{padding:0 0 16px;border-color:var(--ui-border)}
.research-chat-toolbar strong{font-size:14px;font-weight:500;color:var(--ui-secondary)}
.research-chat-toolbar .text-link{font-size:13px;color:var(--ui-accent)}
.conversation-research.has-conversation #researchResult{max-height:none;overflow:visible;padding:0}
.conversation-research .research-turn{padding:22px 0 24px;border-bottom:1px solid var(--ui-border)}
.conversation-research .research-turn:last-child{border-bottom:0}
.conversation-research .research-user-message{max-width:78%;padding:12px 18px;border-radius:16px 16px 4px 16px;background:#26272b;border:1px solid #ffffff12;color:#f0eee5;font-size:15px;line-height:1.8}
.conversation-research .research-assistant-message{padding:24px 0 0;color:var(--ui-text);font-size:15px}
.conversation-research .research-assistant-message>.output-label{display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.04em;color:var(--ui-accent);margin-bottom:16px}
.conversation-research .research-assistant-message>.output-label:before{content:'H';width:24px;height:24px;display:grid;place-items:center;background:#d8bf8d1a;border:1px solid #d8bf8d40;border-radius:7px;font-family:Georgia,serif;font-size:14px}
.conversation-research .research-assistant-message>p{margin:0 0 14px;line-height:1.9}
.conversation-research .research-progress{border:0;padding:0;margin:0 0 6px;gap:14px}
.conversation-research .research-progress strong{font-size:13px;font-weight:500;color:var(--ui-secondary)}
.conversation-research .research-progress>span{font-size:11px;color:#9bb49e;background:#85a88b12;padding:2px 8px;border-radius:20px}
.conversation-research .research-document{max-width:none;margin:14px 0 0;color:var(--ui-text)}
.conversation-research .research-report-header{padding:0;border:0}
.conversation-research .research-report-meta{justify-content:flex-start;align-items:center;font-size:11px;gap:12px;margin-bottom:14px;color:#9ca69d}
.conversation-research .research-report-meta>span:last-child{padding:0;border:0;background:none;color:#bfae8e}
.conversation-research .research-lead{padding:18px 22px;border:1px solid #cfb78924;border-radius:12px;background:#cfb78908;margin:0}
.conversation-research .research-kicker{font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--ui-accent)}
.conversation-research .research-document p{font-size:15px;line-height:1.9;margin:12px 0;color:#d1d5ce}
.conversation-research .research-lead p:last-child{margin-bottom:0}
.conversation-research .research-document details{border:0;background:none;padding:0;border-radius:0;margin:12px 0}
.conversation-research .research-full-report>summary{color:var(--ui-accent);border-bottom:1px solid var(--ui-border)}
.conversation-research .research-section{padding:20px 0;border-color:var(--ui-border)}
.conversation-research .research-section h3{font-size:17px;margin:0 0 10px;line-height:1.5}
.conversation-research .research-section-heading{gap:8px;flex-wrap:wrap}
.conversation-research .research-section-heading>span{white-space:normal;font-size:11px}
.conversation-research .research-direction-picker{background:none!important;border-radius:0!important;margin:20px 0 0!important;padding:20px 0 0!important;border-color:var(--ui-border)}
.conversation-research .research-direction-picker>h3{font-size:17px;line-height:1.5;margin:0 0 14px}
.conversation-research .research-choices{gap:12px;margin:0 0 16px;align-items:stretch}
.conversation-research .research-choice{padding:18px;border:1px solid var(--ui-border);border-radius:12px;background:#1b1c20;gap:18px}
.conversation-research .research-choice strong{font-size:15px;line-height:1.6;color:#edeee8}
.conversation-research .research-choice small{font-size:11px;color:#a7b1a8;margin-top:6px}
.conversation-research .research-choice p{font-size:13px;color:#b7c0b6;line-height:1.8;margin:10px 0 0}
.conversation-research .research-choice-actions{border-top:1px solid var(--ui-border);padding-top:12px;justify-content:space-between;gap:8px;align-items:center}
.conversation-research .research-choice-actions .btn{font-size:12px;min-height:36px;padding:7px 10px}
.conversation-research .research-choice-actions .btn:first-child{border-color:transparent;background:transparent;color:#bbc4bb;padding-left:0}
body .conversation-research .research-choice-actions .btn.primary{background:transparent;color:var(--ui-accent);border:1px solid #d7bd883b}
body .conversation-research .research-choice-actions .btn.primary:hover{background:#d7bd8812;border-color:#d7bd8870}
.conversation-research .research-tools{padding:0!important}
.conversation-research .research-skills{justify-content:flex-start;margin:14px 0 8px;gap:7px}
.conversation-research .research-skill{font-size:12px;padding:7px 12px;border-color:var(--ui-border);color:#b8c1b8}
.conversation-research .research-skill-library{border:0;border-radius:0;background:none;margin:0 0 10px;max-width:none}
.conversation-research .research-skill-library>summary{text-align:left;padding:7px 0;font-size:12px;font-weight:400;color:#a8b2a9}
.conversation-research .skill-library-inner{padding:12px 0}
.conversation-research .skill-tile{background:#1b1c20;border-color:var(--ui-border);padding:14px}
.conversation-research .skill-tile strong{font-size:14px}.conversation-research .skill-tile span{font-size:12px}
.conversation-research .research-skill-hint{font-size:12px;text-align:left;margin:8px 0}
.conversation-research.has-conversation #researchBrief{position:static;padding:10px 0 0;background:none;backdrop-filter:none;border-top:1px solid var(--ui-border)}
.conversation-research .research-composer{padding:16px 18px;border-radius:14px;border:1px solid #ffffff26;background:#191a1e;box-shadow:none}
.conversation-research .research-composer:focus-within{border-color:#cfb78988;box-shadow:0 0 0 3px #cfb78909}
.conversation-research .research-composer textarea{font-size:15px;min-height:78px;max-height:180px;line-height:1.8}
.conversation-research.has-conversation .research-composer textarea{min-height:52px}
.conversation-research .research-send{margin-top:10px;gap:12px}
.conversation-research .research-send>span{font-size:12px;color:#a8b2a8;max-width:none}
.conversation-research .research-send .btn{min-height:40px;font-size:13px;padding:9px 18px}
.conversation-research .research-utility{justify-content:flex-end;margin-top:6px;gap:10px}
.conversation-research .research-utility .text-link{font-size:11px;color:#8c978d}
/* Sourcing uses the same type scale and quiet surfaces. */
body .selection-sources{max-width:1000px;margin:0 auto 28px;padding:24px;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface)}
.selection-sources .selection-heading{margin-bottom:20px}.selection-sources .selection-heading h2{font-size:25px;line-height:1.4;margin:6px 0 8px}
.selection-sources .mission-kicker{font-size:11px;letter-spacing:.07em;color:var(--ui-accent)}
.selection-sources .selection-composer{padding:18px;border-color:#ffffff22;border-radius:12px;background:#141518}
.selection-sources .selection-composer textarea{font-size:15px;min-height:76px;line-height:1.8}
.selection-sources .selection-composer>.field{max-width:280px;margin:14px 0 0;font-size:12px}
.selection-sources .selection-answer{font-size:15px;line-height:1.9;margin-top:24px;padding-top:20px;border-color:var(--ui-border)}
.selection-sources .selection-user{display:block!important;max-width:78%;width:fit-content;margin:0 0 22px auto;padding:12px 18px;background:#26272b;border:1px solid #ffffff12;border-radius:14px 14px 3px 14px}
.selection-sources .selection-user small{font-size:11px;color:#a8b2a8}
.selection-sources .selection-user p{font-size:15px;margin:4px 0;line-height:1.8}
.selection-sources .selection-conditions h3{font-size:16px;line-height:1.8;font-weight:500}
.selection-sources .selection-analysis{padding-top:18px;margin-top:18px;border-color:var(--ui-border)}
.selection-sources .selection-analysis h3{font-size:18px;margin:6px 0 12px}
.selection-sources .selection-analysis article{padding:16px 18px;margin:10px 0;background:#202125;border:1px solid var(--ui-border);border-radius:10px}
.selection-sources .selection-analysis article strong{font-size:14px}.selection-sources .selection-analysis p{font-size:14px;line-height:1.9;margin:8px 0}
.selection-sources .selection-analysis small{font-size:12px;color:var(--ui-secondary)}
.selection-sources .product-result{align-items:flex-start;gap:20px;padding:20px;border:1px solid var(--ui-border);border-radius:12px;background:#1b1c20;margin:12px 0}
.selection-sources .product-photo{width:112px;height:112px;object-fit:contain;border-radius:8px;background:#f3f3ed;flex-shrink:0}
.selection-sources .product-body{flex:1;min-width:0}.selection-sources .product-body h3{font-size:16px;line-height:1.6;margin:6px 0 10px}
.selection-sources .product-price{font-size:23px;color:var(--ui-accent);font-variant-numeric:tabular-nums;line-height:1.4;margin:8px 0}
.selection-sources .product-price small{font-size:11px;color:var(--ui-secondary)}
.selection-sources .product-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;border-top:1px solid var(--ui-border);padding-top:12px}
.selection-sources .product-actions a{font-size:12px;margin:0}
.selection-sources :is(.source-options,.selection-economics){margin-top:24px;padding-top:12px;border-color:var(--ui-border)}
.selection-sources :is(.source-options,.selection-economics)>summary{font-size:14px}
.selection-sources .sample-metrics{gap:10px}.selection-sources .sample-metrics article{padding:14px;border-color:var(--ui-border);background:#1b1c20;border-radius:10px}
.selection-sources .sample-metrics strong{font-size:22px;margin-top:8px}.selection-sources .sample-metrics small{font-size:11px}
:is(.selection-sources,.conversation-research) :is(.selection-table,.research-table-wrap){max-width:100%;overflow:auto;border:1px solid var(--ui-border);border-radius:10px;margin:14px 0}
:is(.selection-sources,.conversation-research) :is(.selection-table,.research-table-wrap) table{width:100%;border-collapse:collapse;font-size:13px;min-width:600px}
:is(.selection-sources,.conversation-research) :is(.selection-table,.research-table-wrap) :is(th,td){text-align:left;vertical-align:top;padding:13px 15px;border-bottom:1px solid var(--ui-border);line-height:1.75}
:is(.selection-sources,.conversation-research) :is(.selection-table,.research-table-wrap) th{background:#26272b;font-weight:500;color:#d1dacd}
/* Listing: source sheet alongside a readable writing canvas. */
.listing-workbench{max-width:1120px;margin:auto}.listing-workbench .listing-summary{padding:0 0 20px;align-items:flex-start;gap:20px}
.listing-workbench .listing-summary>div{max-width:780px}.listing-workbench .listing-summary h2{font-size:23px;line-height:1.55;margin:7px 0 10px}
.listing-workbench .listing-summary p{font-size:13px;color:var(--ui-secondary)}
.listing-workbench .listing-summary .output-label{font-size:11px;color:var(--ui-accent)}
.listing-workbench .listing-steps{gap:10px;margin:0 0 24px}.listing-workbench .listing-steps li{padding:14px 18px;font-size:12px;border:1px solid var(--ui-border);border-radius:10px;background:#1b1c20}
.listing-workbench .listing-steps strong{font-size:14px;margin-top:5px;font-weight:500}
.listing-workbench .stage-grid{grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:20px;align-items:start}
body .listing-workbench .card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:14px;overflow:hidden;padding:22px}
.listing-workbench .card-head{padding:0 0 14px;border:0}.listing-workbench .card-head h2{font-size:17px;line-height:1.5}
.listing-workbench .card-padding{padding:0 22px 22px}.listing-workbench .card>p,.listing-workbench .card-padding>p{font-size:13px;line-height:1.85;color:var(--ui-secondary)}
.listing-workbench .stage-form{padding:18px 0 0}.listing-workbench .stage-form textarea{line-height:1.9;min-height:112px;resize:vertical}
.listing-workbench .inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}
.listing-workbench .inline-actions .btn{font-size:12px;min-height:38px}
.listing-workbench .listing-publish{margin-top:24px;padding:22px;background:#202125;border:1px solid var(--ui-border);border-radius:12px;gap:24px;align-items:flex-start}
.listing-workbench .listing-publish h3{font-size:17px;margin:0 0 8px}.listing-workbench .listing-publish p{font-size:13px;line-height:1.85;max-width:560px}
.listing-workbench .listing-publish .inline-actions{margin:0;flex-shrink:1;justify-content:flex-end}
@media(max-width:1000px){.listing-workbench .stage-grid{grid-template-columns:1fr}.listing-workbench .listing-publish{flex-direction:column}.listing-workbench .listing-publish .inline-actions{justify-content:flex-start}}
@media(max-width:700px){.workspace main:has(.conversation-research,.selection-sources,.listing-workbench){padding:22px 16px}.conversation-research .research-welcome{padding:18px 0 22px}.conversation-research .research-welcome h2{font-size:26px}.conversation-research.has-conversation #researchResult{max-height:none;padding-right:0}.conversation-research .research-user-message,.selection-sources .selection-user{max-width:90%;font-size:14px}.conversation-research .research-choices{grid-template-columns:1fr}.conversation-research .research-choice-actions{flex-direction:row;flex-wrap:wrap}.conversation-research .research-lead{padding:15px 16px}.conversation-research .research-document p{font-size:14px}.conversation-research .research-send{flex-wrap:wrap}.conversation-research .research-send>span{flex:1;min-width:120px}.conversation-research .research-composer{padding:14px}.conversation-research .research-skill{padding:7px 10px}.conversation-research .research-utility{justify-content:flex-start}body .selection-sources{padding:16px}.selection-sources .product-result{padding:14px;gap:12px;flex-direction:row}.selection-sources .product-photo{width:72px;height:72px}.selection-sources .product-body h3{font-size:14px}.selection-sources .product-actions{flex-wrap:wrap}.selection-sources .sample-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-workbench .listing-summary{flex-direction:column}.listing-workbench .listing-summary h2{font-size:20px}.listing-workbench .listing-steps{grid-template-columns:1fr;gap:8px}.listing-workbench .listing-steps li{display:flex;justify-content:space-between;gap:12px}.listing-workbench .listing-steps strong{margin:0}.listing-workbench .card-padding{padding:0 16px 18px}.listing-workbench .card-head{padding:0 0 12px}body .listing-workbench .card{padding:16px}.listing-workbench .listing-publish{padding:16px}}
/* Project navigation: projects stay in the rail; conversations stay in context. */
.sidebar .space-name{margin:12px 18px 18px;padding:16px 0;border-bottom:1px solid #ffffff12}
.sidebar .space-name small{color:#8e978e;font-size:11px}
.sidebar .sidebar-research{display:flex;align-items:center;gap:10px;width:calc(100% - 36px);margin:0 18px 16px;padding:12px 15px;border:1px solid #d2b68465;border-radius:9px;background:#dac19414;color:#ead4a6;font-size:14px;font-weight:500;text-align:left}
.sidebar .sidebar-research:hover{background:#dac19425}.sidebar-research svg{width:17px;height:17px}
.sidebar nav{flex:none;padding:0 12px;margin:0 0 24px}.sidebar nav .navitem{margin:0;width:100%;font-size:14px}
.sidebar .project-sidebar{flex:1;min-height:80px;display:flex;flex-direction:column;padding:0 12px;overflow:hidden}
.sidebar .project-sidebar-heading{padding:0 12px 12px;font-size:12px;letter-spacing:.04em;color:#8c978d;display:flex;align-items:center;justify-content:space-between}
.sidebar .project-sidebar-heading small{font-size:11px;font-variant-numeric:tabular-nums;color:#8c978d}
.sidebar .project-list{flex:1;overflow:auto;max-height:none;scrollbar-width:thin;scrollbar-color:#41483e transparent;padding:0 0 12px}
.sidebar .project-item{margin:0 0 6px;padding:12px;border-radius:9px;border:1px solid transparent;gap:10px;align-items:flex-start}
.sidebar .project-item.active{background:#d7bd8812;border-color:#d7bd882b}
.sidebar .project-item strong{font-size:13px;font-weight:500;line-height:1.65;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#d9ded4}
.sidebar .project-item small{font-size:11px;color:#8d998d;margin-top:6px}.sidebar .project-item.active small{color:#bda981}
.sidebar .project-item svg{width:16px;height:16px;color:#a5ad9f;margin-top:3px}
.sidebar .sidebar-bottom{margin-top:auto;flex-shrink:0;padding:10px 12px 0;border-top:1px solid #ffffff12}
.sidebar .sidebar-bottom>.navitem{font-size:13px;margin:0;width:100%}.sidebar .profile{margin:10px 0 0;padding:16px 8px;border-top:1px solid #ffffff0d}
.sidebar-empty{font-size:12px;color:#879287;padding:12px;line-height:1.8}
.compact-market{position:relative;margin:0;z-index:10}.compact-market>summary{list-style:none;display:flex;align-items:center;gap:7px;margin:0;padding:7px 10px;border:1px solid #ffffff18;border-radius:7px;font-size:12px;color:#c7caba;cursor:pointer}.compact-market>summary::-webkit-details-marker{display:none}.compact-market summary svg{width:13px;height:13px}
.compact-market .market-switch{position:absolute;right:0;top:calc(100% + 8px);margin:0;padding:6px;width:200px;background:#1e1f22;border:1px solid #d1b78140;box-shadow:0 10px 30px #0005;border-radius:9px}
.project-context-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.project-context-actions button{display:flex;align-items:center;gap:6px;padding:7px 10px;font-size:12px;color:#b8bdaf;border:1px solid #ffffff15;border-radius:7px;background:none;white-space:nowrap}.project-context-actions svg{width:14px;height:14px}.project-context-actions button:hover{color:#e7cca0;border-color:#d6ba8560}
.workspace .task-controls{flex-wrap:wrap}.workspace main .task-controls>strong{max-width:55%!important}
#projectResearchHistory.project-history-dialog{margin:0;border:0;padding:0;max-height:55vh;overflow:auto}
.project-history-dialog .research-history-item{width:100%;text-align:left;padding:16px;margin:0 0 8px;border:1px solid #ffffff16;border-radius:9px;background:#1e1f22;color:#e1e3d8}
.project-history-dialog .research-history-item span{white-space:normal;font-size:14px;line-height:1.7;display:block}.project-history-dialog .research-history-item small{display:block;font-size:11px;color:#939f92;margin-top:7px}.project-history-dialog .research-history-item:hover{border-color:#d3b98a88}.project-history-dialog .new-research{font-size:13px;padding:12px;color:#d7bd88}
.workbench-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.workbench-links button{display:flex;align-items:center;gap:7px;padding:10px 16px;border:1px solid #ffffff20;border-radius:8px;color:#d2d9cc;font-size:13px}.workbench-links button:first-child{color:#ead4a6;border-color:#d7bd8860}.workbench-links svg{width:15px;height:15px}
@media(max-width:700px){.project-context-actions{width:100%;margin-left:0;margin-top:8px}.workspace main .task-controls>strong{max-width:75%!important}.topbar .topright{gap:6px}.topbar .compact-market>summary{font-size:11px;padding:6px}.topbar .save-state{display:none}.sidebar .project-sidebar{display:flex}.sidebar .sidebar-research{min-height:44px}}
/* Market evidence and purchasing channels have different decision roles. */
.market-results-heading{margin:30px 0 18px}.market-results-heading h3{margin:8px 0}.market-results-heading p{color:var(--muted);font-size:14px}.supplier-section{border-top:1px solid #34353b;margin-top:40px;padding-top:32px;scroll-margin-top:24px}.supply-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}.supply-heading h2{font-size:26px;margin:10px 0}.supply-heading p{font-size:14px;color:#a8aca3;max-width:680px;line-height:1.7}.supply-search{display:flex;align-items:end;gap:12px;margin:24px 0}.supply-search .field{flex:1;max-width:550px}.supply-search input{width:100%}.supply-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 12px}.supply-filters button{border:1px solid #414248;border-radius:99px;padding:10px 16px;color:#bfc2b9;background:transparent;font-size:13px;cursor:pointer}.supply-filters button[aria-pressed=true]{border-color:#bda572;color:#ead4ab;background:#d8c49f14}.supply-filters span{margin-left:8px;opacity:.65}.supply-caption,.supply-note{font-size:12px;color:#9ea397;line-height:1.7}.supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.supplier-card{border:1px solid #34353b;border-radius:18px;background:#1c1d21;overflow:hidden}.supplier-card>header{display:flex;gap:12px;align-items:center;padding:20px;border-bottom:1px solid #34353b}.supplier-avatar{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#303035;color:#d8c295;font-size:16px}.supplier-card h3{font-size:16px!important;margin:0 0 6px!important;line-height:1.5}.supplier-card header p{font-size:12px;color:#9aa393;margin:0}.supplier-offer{padding:20px;border-bottom:1px solid #34353b}.supply-product{display:flex;gap:14px}.supply-product img{width:78px;height:78px;object-fit:cover;border-radius:10px;flex-shrink:0}.supply-product a{font-size:14px;line-height:1.7;color:#e4e4db;text-decoration:none;overflow-wrap:anywhere}.supply-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.supply-badges span{background:#303136;color:#c6c8b8;border-radius:5px;padding:4px 7px;font-size:11px}.supply-badges .positive{color:#b2ecd4;background:#153b30}.supply-badges .negative{color:#e5b2a8;background:#402c27}.supply-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.supply-facts dt{font-size:12px;color:#959f90}.supply-facts dd{font-size:17px;color:#e1d3b4;margin:6px 0 0}.supply-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.supply-actions .btn{font-size:12px;flex:1;padding:10px}.supplier-offer details{font-size:12px;color:#b6bdae}.supplier-store{display:block;padding:14px 20px;color:#c9b98e;font-size:13px}.supply-empty,.supply-state{padding:24px;border:1px dashed #3b4337;border-radius:12px;color:#adb4a7;line-height:1.8;margin:16px 0;font-size:14px}.supply-state .btn{margin-left:16px}.supplier-card>.source-hint{padding:0 20px}@media(max-width:1100px){.supplier-grid{grid-template-columns:1fr}}@media(max-width:600px){.supply-heading,.supply-search{flex-direction:column;align-items:stretch}.supply-heading h2{font-size:22px}.supplier-offer,.supplier-card>header{padding:16px}.supply-filters button{padding:8px 10px;font-size:12px}}

/* 22 · Charcoal / champagne: contrast comes from type and spacing, not tinted panels. */
body[data-market=cn]:not([data-page=home]){background:#101113!important;color:#f2f2f4;--muted:#b9bac0;--line:#34353a;--blue:#d8c49f;font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei','Noto Sans SC',sans-serif;-webkit-font-smoothing:antialiased}
body[data-market=cn] :is(.sidebar,.topbar){background:#141518;border-color:#2e2f34}
body[data-market=cn] .sidebar .project-item{background:transparent}
body[data-market=cn] .sidebar .project-item.active{background:#252428;border-color:#d8c49f45}
body[data-market=cn] .sidebar .project-item strong{font-size:14px;color:#ededef}
body[data-market=cn] .sidebar :is(.project-item small,.space-name small,.project-sidebar-heading,.sidebar-empty){color:#b2b2bb;font-size:12px}
body[data-market=cn] .sidebar .sidebar-research{background:#d8c49f0a;border-color:#d8c49f55;color:#e5d3b0}
body[data-market=cn] :is(.sidebar .navitem,.sidebar .profile,.topbar){color:#cccdd3}
body[data-market=cn] .workspace .btn{color:#e4e4e9;border-color:#4b4c53;background:transparent;box-shadow:none}
body[data-market=cn] .workspace .btn:hover{background:#ffffff09;border-color:#81818a}
body[data-market=cn] .workspace .btn.primary{background:#ddc9a5;border-color:#ddc9a5;color:#221d15;box-shadow:none}
body[data-market=cn] .workspace .btn.primary:hover{background:#eddbba;border-color:#eddbba}
body[data-market=cn] .workspace .field{color:#d0d0d5}
body[data-market=cn] .workspace .field :is(input,select,textarea){background:#17181b;border-color:#4a4b52;color:#f0f0f2;box-shadow:none}
body[data-market=cn] .workspace main:has(.selection-sources,.conversation-research,.listing-workbench){max-width:1320px;--ui-surface:#191a1d;--ui-raised:#222328;--ui-border:#38393f;--ui-text:#f2f2f4;--ui-secondary:#b9bac1;--ui-accent:#ddc9a5}
body[data-market=cn] .workspace .page-heading p{font-size:14px;color:#b9bac1}
body[data-market=cn] .workspace .workflow-rail button{font-size:14px;color:#b8b8c0}
body[data-market=cn] .workspace .workflow-rail b{border-color:#46474e;color:#b6b6c0}
body[data-market=cn] .workspace .workflow-rail .active{color:#ead7b5}
body[data-market=cn] .workspace .workflow-rail .active b{background:#ddc9a5;color:#221d15;border-color:#ddc9a5}
body .selection-sources{max-width:1160px;border:0;border-radius:0;background:transparent;padding:8px 0 24px;box-shadow:none}
.selection-sources{font-size:16px;line-height:1.75}
.selection-sources .selection-heading{margin:10px 0 24px}
.selection-sources .selection-heading h2{font-size:34px;letter-spacing:-.7px;line-height:1.35;margin:10px 0}
.selection-sources .mission-kicker{font-size:13px;letter-spacing:.09em;color:#ddc9a5}
.selection-sources .selection-heading .source-hint{font-size:15px;color:#babac2}
.selection-sources .selection-composer{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:20px;padding:22px 24px;border:1px solid #42434a;border-radius:14px;background:#1b1c20}
.selection-sources .selection-composer textarea{min-height:84px;max-height:200px;resize:vertical;font-size:17px;line-height:1.7;background:transparent;color:#f3f3f5;padding:0}
.selection-sources .selection-composer>.field{margin:0;max-width:none;align-self:start;font-size:13px}
.selection-sources .selection-composer .field select{font-size:15px;padding:10px 12px}
.selection-sources .composer-footer{grid-column:1/-1;margin:0;padding-top:16px;border-top:1px solid #36373d}
.selection-sources .composer-footer span{font-size:13px;color:#b9bac1}
.selection-sources .btn{font-size:14px;min-height:42px;padding:10px 16px;border-radius:8px;white-space:nowrap}
.selection-result-nav{display:flex;gap:0;margin:24px 0 0;border-bottom:1px solid #38393f}
.selection-result-nav button{padding:12px 22px 14px;font-size:16px;color:#e3d2b2;border-bottom:2px solid transparent}
.selection-result-nav button:hover{border-color:#ddc9a5;background:#ddc9a508}
.selection-sources .selection-answer{border-top:0;margin:0;padding-top:14px}
.selection-sources .selection-conditions{padding:0}
.selection-sources details>summary{font-size:14px;color:#c2c3ca}
.selection-sources .selection-analysis{border-top:0;margin-top:12px;padding:20px 24px;background:#191a1e;border:1px solid #34353b;border-radius:12px}
.selection-sources .selection-analysis .output-label{font-size:13px;color:#cab68f;letter-spacing:0}
.selection-sources .selection-analysis h3{font-size:22px;margin:8px 0 12px}
.selection-sources .selection-analysis>p{font-size:15px;line-height:1.9;color:#dbdbe0;max-width:900px}
.selection-sources .selection-analysis article strong{font-size:16px;color:#f0f0f3}
.selection-sources .selection-analysis article p{font-size:15px;color:#d0d1d8}
.selection-sources .selection-analysis small{font-size:13px;line-height:1.8;color:#b9bac1}
.selection-sources .selection-next{font-size:14px;color:#b9bac1;border:0!important;padding:0!important;margin:16px 0}
.selection-sources .product-comparison{margin:10px 0}
.selection-sources [data-source-results],.selection-sources [data-supply-results]{scroll-margin-top:30px}
.selection-sources .section-title{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap}
.selection-sources .section-title h2{font-size:30px;font-weight:650;line-height:1.4;letter-spacing:-.4px;margin:0;color:#f4f4f6}
.section-index{font-size:14px;font-variant-numeric:tabular-nums;color:#e0c9a0;border:1px solid #ddc9a54d;border-radius:8px;width:35px;height:35px;display:grid;place-items:center;background:#ddc9a508}
.section-count{font-size:14px;color:#bcbcc6;font-weight:400;padding:3px 10px;background:#24252b;border-radius:6px}
.selection-sources .market-results-heading{margin:38px 0 20px}
.selection-sources .market-results-heading p,.selection-sources .supply-heading p{font-size:14px;line-height:1.75;color:#b9bac3;margin:10px 0 0}
.selection-sources .product-result{display:grid;grid-template-columns:100px minmax(0,1fr) 142px;align-items:center;gap:20px;padding:20px;margin:10px 0;border:1px solid #36373d;border-radius:12px;background:#1c1d21;box-shadow:none}
.selection-sources .product-result:hover{border-color:#65616a;background:#202125}
.selection-sources .product-photo{width:100px;height:100px;object-fit:cover;border-radius:8px;background:#f0f0f0}
.selection-sources .product-photo-empty{display:grid;place-items:center;color:#777;font-size:14px;background:#292a30}
.selection-sources .product-shop{display:block;font-size:13px;color:#bbbcc5;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selection-sources .product-body h3{font-size:17px;font-weight:600;line-height:1.6;margin:6px 0 12px;color:#f4f4f7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.selection-sources .product-statline{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.selection-sources .product-price{display:flex;align-items:baseline;gap:8px;margin:0;font-size:26px;line-height:1.25;color:#ecd9b6;font-weight:550;letter-spacing:-.3px}
.selection-sources .product-price small{font-size:12px;letter-spacing:0;margin:0;color:#b6b7c0;max-width:170px}
.selection-sources :is(.product-sales,.product-minimum){display:flex;gap:8px;align-items:baseline;margin:0;font-size:16px;font-variant-numeric:tabular-nums;color:#e9e9ee}
.selection-sources :is(.product-sales,.product-minimum) small{font-size:12px;color:#b6b7c0;margin:0}
.selection-sources :is(.product-sales,.product-minimum) strong{font-size:16px;font-weight:500}
.selection-sources .product-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;margin:0;padding:0 0 0 18px;border-top:0;border-left:1px solid #3a3b41}
body[data-market=cn] .selection-sources .product-actions .btn.primary{background:#ddc9a50d;color:#ebd6b2;border-color:#b49d755e;min-height:39px;padding:8px 12px;font-size:13px}
body[data-market=cn] .selection-sources .product-actions .btn.primary:hover{background:#ddc9a524;border-color:#d3bc92}
body[data-market=cn] .selection-sources .product-actions .product-add{border-color:transparent;color:#d2d3dc;font-size:13px;min-height:34px;padding:6px}
.selection-sources .product-actions a{text-align:center;font-size:13px;color:#bdbec8;padding:6px 0;text-decoration:none}
.selection-sources .product-actions a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.result-pagination{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:18px 0;font-size:13px;color:#b8b9c4}
.result-pagination .btn{font-size:13px;border-color:transparent!important}
.selection-sources .supplier-section{margin-top:42px;padding-top:32px;border-color:#42434a}
.selection-sources .supply-heading{align-items:center}
.selection-sources .supply-search{margin:24px 0 18px;align-items:end;gap:12px;max-width:760px}
.selection-sources .supply-search .field{margin:0;max-width:none;font-size:14px}
.selection-sources .supply-search input{font-size:16px;padding:10px 14px;min-height:45px}
.selection-sources .supply-search .btn{height:45px}
.selection-sources .supply-filters{gap:8px;margin:20px 0 12px}
.selection-sources .supply-filters button{border-radius:8px;font-size:14px;padding:10px 15px;color:#d6d6de;border-color:#42434a;background:#1b1c20}
.selection-sources .supply-filters button[aria-pressed=true]{background:#ddc9a512;border-color:#bda57b;color:#f0d9b1}
.selection-sources .supply-filters span{opacity:1;font-size:12px;color:inherit;background:#ffffff0a;border-radius:4px;padding:2px 6px}
.selection-sources :is(.supply-caption,.supply-note,.source-hint){color:#b6b7c0;font-size:13px;line-height:1.75}
.selection-sources .supplier-card{background:#1c1d21;border:1px solid #3a3b41;border-radius:12px}
.selection-sources .supplier-card>header{padding:18px 20px;border-color:#3a3b41;background:#222327;gap:12px}
.selection-sources .supplier-avatar{background:#313035;border:1px solid #ddc9a533;color:#ead4ac;width:38px;height:38px;border-radius:8px}
.selection-sources .supplier-card h3{font-size:18px!important;font-weight:600;color:#f0f0f4}
.selection-sources .supplier-card header p{font-size:13px;color:#bfc0c9}
.selection-sources .supplier-offer{padding:20px;border-color:#3a3b41}
.selection-sources .supply-product a{font-size:16px;line-height:1.7;font-weight:500;color:#eeeeF2}
.selection-sources .supply-product img{width:72px;height:72px;border-radius:8px}
.selection-sources .supply-badges span{font-size:12px;padding:3px 8px;background:#303137;color:#d4d5dd}
body[data-market=cn] .selection-sources .supply-badges .positive{background:#183b32;color:#b2ecd4!important}
body[data-market=cn] .selection-sources .supply-badges .negative{background:#42272b;color:#f5bec4!important}
.selection-sources .supply-facts{gap:16px 22px;margin:20px 0}
.selection-sources .supply-facts>div{display:block;border:0;padding:0}
.selection-sources .supply-facts dt{font-size:13px;color:#bbbcc6}
.selection-sources .supply-facts dd{font-size:20px;color:#f0f0f4;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;margin:5px 0 0}
.selection-sources .supply-facts>div:first-child dd{color:#ecd9b6;font-size:24px}
.selection-sources .supplier-offer details{font-size:14px;color:#d0d1d8}
.selection-sources .supplier-offer details summary{font-size:14px;padding:8px 0}
.selection-sources .supply-actions{gap:10px;margin-top:16px}
.selection-sources .supply-actions .btn{font-size:13px;min-height:40px;padding:8px 12px}
.selection-sources .supplier-store{font-size:14px;color:#e0cba5;padding:14px 20px}
.selection-sources .supplier-store:hover{background:#ddc9a509;text-decoration:underline;text-underline-offset:4px}
.selection-sources :is(.supply-empty,.supply-state){color:#c8c9d2;border-color:#4a4b52;background:#191a1e;font-size:15px}
.selection-sources :is(.source-options,.selection-economics)>summary{font-size:15px;color:#d2d3dc}
.selection-sources :is(.source-options,.selection-economics)>summary>span{font-size:13px;color:#aeb0bc}
body[data-market=cn] :is(.project-context-actions button,.compact-market>summary){color:#c7c8d0;border-color:#414249;font-size:13px}
body[data-market=cn] .compact-market .market-switch{background:#222327;border-color:#4b4c53}
@media(min-width:1150px){.selection-sources .supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.selection-sources .product-result{grid-template-columns:80px minmax(0,1fr);gap:16px}.selection-sources .product-photo{width:80px;height:80px;align-self:start}.selection-sources .product-actions{grid-column:2;flex-direction:row;align-items:center;justify-content:flex-start;border:0;padding:0;flex-wrap:wrap;gap:8px}.selection-sources .product-actions a{margin-left:auto}.selection-sources .product-body h3{font-size:16px}.selection-sources .product-statline{gap:14px}}
@media(max-width:700px){body .selection-sources{padding:0}.selection-sources .selection-heading h2{font-size:28px}.selection-sources .selection-composer{grid-template-columns:1fr;padding:18px;gap:14px}.selection-sources .selection-composer textarea{min-height:80px;font-size:16px}.selection-sources .selection-composer>.field{max-width:100%}.selection-sources .composer-footer{flex-direction:row;align-items:center}.selection-sources .composer-footer span{font-size:12px}.selection-sources .composer-footer .btn{font-size:13px;padding:10px 12px}.selection-sources .section-title h2{font-size:26px}.section-title{gap:10px}.section-count{font-size:12px}.selection-sources .product-result{padding:15px;gap:12px}.selection-sources .product-price{font-size:24px}.selection-sources .product-price small{font-size:12px}.selection-sources .product-actions{grid-column:1/-1;border-top:1px solid #38393f;padding-top:10px}.selection-sources .selection-analysis{padding:18px}.selection-sources .supply-heading{flex-direction:column;align-items:start;gap:12px}.selection-sources .supply-search{flex-direction:row;align-items:end}.selection-sources .supply-search .field{min-width:0}.selection-sources .supply-search .btn{padding:10px;font-size:13px}.selection-sources .supply-filters button{padding:9px 11px;font-size:13px}.selection-sources .supplier-card h3{font-size:17px!important}.selection-sources .supplier-grid{grid-template-columns:1fr}.selection-sources .supply-product a{font-size:15px}.selection-result-nav button{padding:12px 16px;font-size:15px}}

/* Compact supplier filters */
.selection-sources .supply-filters{gap:7px;margin:16px 0 10px}
.selection-sources .supply-filters button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:5px 11px;border-radius:7px;font-size:13px;line-height:22px}
.selection-sources .supply-filters button span{margin-left:0;padding:0 5px;border-radius:4px;font-size:11px;line-height:18px}
/* Compact supplier choices and selected-product advice */
.selection-sources .supply-search{margin:18px 0 12px;max-width:660px}
.selection-sources .supply-search input{min-height:38px;padding:7px 11px;font-size:14px}
.selection-sources .supply-search .btn{height:38px;min-height:38px;padding:7px 12px}
.selection-sources .supplier-grid{align-items:start;gap:12px}
.selection-sources .supplier-card>header{padding:12px 14px;gap:9px}
.selection-sources .supplier-avatar{width:30px;height:30px;flex-basis:30px;font-size:14px}
.selection-sources .supplier-card h3{font-size:16px!important;margin-bottom:3px!important}
.selection-sources .supplier-card header p{font-size:12px;line-height:1.5}
.selection-sources .supplier-offer{padding:14px}
.selection-sources .supply-product{gap:10px}
.selection-sources .supply-product img{width:56px;height:56px}
.selection-sources .supply-product a{font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.selection-sources .supply-badges{margin-top:7px;gap:4px}
.selection-sources .supply-badges span{font-size:11px;padding:2px 6px}
.selection-sources .supply-facts{margin:13px 0;gap:10px 16px}
.selection-sources .supply-facts dt{font-size:12px}
.selection-sources .supply-facts dd{font-size:17px;margin-top:3px}
.selection-sources .supply-facts>div:first-child dd{font-size:21px}
.selection-sources .supply-secondary>div:first-child dd{font-size:17px;color:#f0f0f4}
.selection-sources .supply-extra{margin:0 0 8px}
.selection-sources .supply-extra>summary{font-size:12px;padding:3px 0;margin:0}
.selection-sources .supply-extra details{margin:8px 0}
.selection-sources .supply-actions{gap:7px;margin-top:10px}
.selection-sources .supply-actions .btn{font-size:12px;padding:7px 8px;min-height:34px;flex:auto}
.selection-sources .supplier-store{font-size:12px;padding:9px 14px}
.selection-sources .supply-more-offer{margin:0;border-top:1px solid #36373d}
.selection-sources .supply-more-offer>summary{padding:10px 14px;margin:0;font-size:12px}
@media(min-width:1250px){.selection-sources .supplier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
[data-selling-panel]{scroll-margin-top:30px}
.selection-sources .selling-panel{margin:30px 0;padding:22px;border:1px solid #73664e;background:#1b1c20;border-radius:12px}
.selling-panel>header{display:flex;align-items:start;justify-content:space-between;gap:14px;border-bottom:1px solid #3a3b41;padding-bottom:16px}
.selection-sources .selling-panel h2{font-size:26px;margin:5px 0;line-height:1.4}
.selling-panel header p{font-size:14px;color:#c3c4cc;margin:0;max-width:800px;line-height:1.7}
.selling-summary{display:grid;grid-template-columns:240px 1fr;gap:26px;padding:22px 0}
.selling-summary span,.selling-marketing span{font-size:13px;color:#c7b58f}
.selling-price>strong{display:block;font-size:36px;color:#ecd9b6;line-height:1.5;font-variant-numeric:tabular-nums}
.selling-price>small{font-size:12px;color:#babcc6}
.selling-price p{font-size:13px;line-height:1.7;color:#bfc1cb;margin:9px 0}
.selling-price .selling-caution{color:#f1cc99}
.selection-sources .selling-position h3{font-size:17px;line-height:1.7;margin:7px 0 12px;font-weight:500}
.selling-position ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.selling-position li strong{font-size:14px;color:#f0f1f4;font-weight:550}
.selling-position li small{display:block;font-size:12px;color:#b6b8c2;line-height:1.65;margin-top:2px}
.selling-marketing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-top:1px solid #383940;border-bottom:1px solid #383940;padding:17px 0;margin-bottom:16px}
.selling-marketing p{font-size:14px;line-height:1.8;color:#e2e3e8;margin:7px 0 0}
.selection-sources .selling-details{margin:12px 0;font-size:13px;color:#bfc1cb;line-height:1.8}
.selection-sources .selling-details>summary{font-size:13px;margin:0;padding:5px 0}
.selling-comparables{display:grid;gap:7px;margin:12px 0}
.selling-comparables a{font-size:12px;color:#d2c5a8;overflow-wrap:anywhere}
.selling-comparables b{white-space:nowrap}
.selling-details form{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:10px;margin:16px 0}
.selling-details .field{font-size:12px;margin:0;line-height:1.6}
.selling-details input{font-size:14px;min-height:40px}
.selling-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:14px}
.selling-footer>span{font-size:12px;color:#b6b8c3}
.selling-skip{display:block;font-size:12px;color:#bfc1cc;margin-top:16px;padding:4px 0;text-decoration:underline;text-underline-offset:4px}
.selling-loading{padding:25px 0;font-size:15px;color:#e2cfaa}
@media(max-width:900px){.selling-summary{grid-template-columns:1fr;gap:18px}.selling-marketing{grid-template-columns:1fr;gap:15px}.selling-details form{grid-template-columns:1fr 1fr}.selling-details form .field:first-child{grid-column:1/-1}}
@media(max-width:700px){.selection-sources .selling-panel{padding:16px}.selling-footer{align-items:stretch;flex-direction:column}.selection-sources .supplier-grid{grid-template-columns:1fr}}

/* Research conversation controls remain available while the current turn runs. */
.conversation-research .research-result-button{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:10px 18px;margin:2px 0 0;border:1px solid #a8a0b9;border-radius:10px;background:#f4f1f9;color:#322b41;line-height:1.4;font-family:inherit;font-size:1rem;font-weight:600;cursor:pointer}
.conversation-research .research-result-button:hover{background:#eae5f2;border-color:#756588}
.conversation-research .research-result-button:focus-visible,.research-reader button:focus-visible{outline:3px solid #766392;outline-offset:3px}
.research-wait{padding:16px 18px;background:#f8f7fb;color:#302b39;border:1px solid #dfdce7;border-radius:12px}
.wait-top,.wait-top strong,.reader-toolbar{display:flex;align-items:center;gap:10px}.wait-top,.reader-toolbar{justify-content:space-between;flex-wrap:wrap}
.wait-top strong{font-size:1rem}.wait-top i{width:16px;height:16px;border:2px solid #d6cedf;border-top-color:#66527b;border-radius:50%;animation:research-spin 1s linear infinite}
.research-duration{display:inline-flex;gap:6px;white-space:nowrap;font:500 .9375rem/1.4 system-ui;color:#50455f;font-variant-numeric:tabular-nums}
.research-wait p,.research-track{font-size:.875rem;color:#5d5566}.research-wait p{margin:8px 0}.research-track{display:flex;flex-wrap:wrap;gap:8px 14px;padding:0;margin:12px 0 0;list-style:none}.research-track li{padding-top:5px;border-top:3px solid #ddd9e4}.research-track .current{color:#463552;font-weight:650;border-color:#806a99}.research-track .complete{border-color:#648772}
dialog.research-reader{width:min(820px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:85dvh;margin:auto;padding:0;border:1px solid #e4dfeb;border-radius:16px;overflow:hidden;color:#292630;background:white}
.research-reader[open]{display:flex;flex-direction:column}.research-reader .reader-toolbar{padding:14px 20px;border-bottom:1px solid #dedbe4;flex:none}.reader-toolbar h2{font-size:1.125rem;margin:0}.reader-toolbar button{min-height:44px}.reader-content{overflow:auto;overscroll-behavior:contain;padding:18px 20px 26px}.reader-content>h3{font-size:1.125rem;margin:0 0 16px}.reader-content ul{padding-inline-start:1.25em}
@keyframes research-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.wait-top i{animation:none}}
