/* Marketplace reading hierarchy: neutral surfaces, legible text, restrained brand red. */
:root{--paper:#f7f8fa;--soft:#f0f1f3;--line:#e4e6e9;--ink:#24262a;--muted:#646870;--rose:#f8edef;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","PingFang HK","Microsoft YaHei",Arial,sans-serif;font-size:14px;line-height:1.5;letter-spacing:0}
body{color:var(--ink)}h1,h2,h3{letter-spacing:0;font-weight:600}button,input,select,textarea{letter-spacing:0}input,textarea{line-height:1.5}button{font-weight:500}
.page-heading h1,.home-intro h1,.profile-banner h1,.wf-heading h1{font-size:28px;letter-spacing:0;font-weight:600;line-height:1.35}
.page-heading p,.home-intro p,.wf-heading p{font-size:14px;color:var(--muted);line-height:1.65}
.page-heading{margin-bottom:18px}.home-intro{gap:20px}.header-inner{height:72px}.desktop-nav{font-size:14px}.language-control select,.feedback-entry,.profile-link{font-size:13px}
.button{border-radius:7px;font-size:14px;font-weight:600}.button.primary{box-shadow:none}.field,input.field,select.field,textarea.field{font-size:14px;border-color:#d9dce1;border-radius:7px}
.search-bar{border-radius:8px;border-color:#ced1d6}.search-bar input{font-size:15px}.search-hints{font-size:12px;color:var(--muted)}.search-hints button{font-size:12px;color:#4f545c}
.catalog-tabs button{font-size:15px}.filter-label,.free-check{font-size:13px;color:#565b64}.filter-label select{font-size:13px}.filter-help,.catalog-note-row .catalog-note,.feed-top span,.wanted-count{font-size:12px;color:#646870}.filter-row .chip{font-size:13px}.chip[aria-pressed=true]{background:#e9ebee;color:#24262a}
.product-photo{border-radius:8px;background:#eef0f2}.product-photo img{background:#f0f1f3}.product-card h3{font-size:15px;line-height:1.45;font-weight:500;min-height:44px;margin-top:10px;color:#24262a}.product-card .price{font-size:21px;line-height:1.3;font-weight:650;letter-spacing:0;color:#24262a}.price small{font-size:12px}
.product-card .condition{font-size:12px;color:#686c74}.product-card .item-place{font-size:12px;color:#646870}.seller-row{font-size:12px;color:#686c74;border-top:0;padding-top:2px;margin-top:7px}.seller-row .avatar{width:21px;height:21px;font-size:10px}.media-count{font-size:11px}
.rail-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px}.rail-card .eyebrow{display:none}.rail-card h3{font-size:18px;font-weight:600;margin:0 0 9px}.rail-card p,.rail-brief{font-size:13px;color:var(--muted)}.rail-help{background:#fff}.rail-card .button{margin-top:16px}
.wanted-card,.wf-task,.member-hero{border-color:var(--line);border-radius:9px}.wanted-card h3,.wf-task h3{font-weight:600}.wanted-card p,.wf-description{font-size:14px;color:var(--muted)}.wanted-card .wanted-foot,.wf-meta{font-size:12px;color:#656a72}
.wf-task-top,.wf-person,.wf-status{font-size:12px}.wf-school,.wf-meta,.wf-description{color:#646870}.wf-route{font-size:14px}.wf-task-actions .wf-text-button{font-size:12px}.wf-bottom-note{font-size:12px;color:var(--muted)}.wf-task .wf-task-bottom strong{color:#24262a;font-size:20px}
.wf-thread-list{background:#f8f9fa}.wf-thread.is-active{background:#f7ecee}.wf-thread-content strong{font-size:14px}.wf-last-message,.wf-thread-content>b{font-size:12px;color:#686c74}.wf-thread-content small{color:#747982}.wf-chat-header span{color:#747982}.wf-context-bar{background:#fafbfc}.wf-context-bar>div>span{color:#646870;font-size:12px}.wf-messages .wf-message>span{color:#646870;font-size:12px}.wf-message p{background:#f0f1f3;color:#30343a;font-size:14px}.wf-message.is-mine p{background:#f7e9ec;color:#6d2837}.wf-message time{font-size:11px;color:#747982}.wf-system-message{font-size:12px;color:#686c74}.wf-messenger-heading .wf-demo-label{color:#6e7279}.wf-chat-note{color:#747982}
.wf-confirm-details,.wf-state-note,.wf-task-context p,.wf-product-context p{color:#646870}.wf-details-title{font-size:14px;color:#4f545c}
.member-hero h1{font-size:27px;font-weight:600;letter-spacing:0}.member-bio,.member-hero p,.member-empty p{font-size:14px;color:var(--muted)}.member-tabs button{font-size:14px}.member-account-gate{background:#fff;border-color:var(--line);box-shadow:none}.member-account-gate h1{font-size:25px;letter-spacing:0}.member-account-gate>p{font-size:14px}
.dialog-heading h2,.wf-dialog-heading h2{font-size:23px;font-weight:600;letter-spacing:0}.dialog-heading p,.form-hint,.member-edit .member-edit-note{font-size:12px;color:#686c74;line-height:1.6}.form-grid label{font-size:14px}.member-privacy-settings label{font-size:13px}
.fb-compose{background:#f8f9fb;border-color:var(--line)}.fb-compose-actions{background:#f8f9fb}.fb-policy{background:#fbf4f5;border-color:#ead9dd}.fb-item h3{font-size:16px;font-weight:600}.fb-body,.fb-comment-body{font-size:14px;color:#444a52;line-height:1.65}.fb-meta,.fb-optional summary,.fb-policy p{font-size:12px;color:#646870}.fb-policy>strong{font-size:14px}.fb-field>span{font-size:13px}
.id-detail-heading h2{font-size:23px;font-weight:600;letter-spacing:0}.id-description{font-size:14px;line-height:1.75}.id-detail-meta,.id-member-copy small{font-size:12px;color:#646870}
@media(max-width:900px){.header-inner{height:66px}body[data-page="messages"]>.mobile-nav{position:static;flex:none;backdrop-filter:none;padding:6px 7px calc(6px + env(safe-area-inset-bottom))}}
@media(max-width:700px){
 .header-inner{height:62px}.page-heading h1,.home-intro h1,.profile-banner h1,.wf-heading h1{font-size:24px}.page-heading p,.home-intro p,.wf-heading p{font-size:13px}.home-intro{gap:12px}
 .catalog-tabs button{font-size:14px}.filter-label,.free-check,.filter-label select,.filter-row .chip{font-size:12px}.filter-help,.catalog-note-row .catalog-note,.wanted-count{font-size:12px}.catalog-note-row .catalog-note{max-width:70%}.catalog-note-row .text-link{font-size:12px}
 .product-card h3{font-size:14px;min-height:41px}.product-card .price{font-size:20px}.product-card .condition{font-size:11px}.product-card .item-place,.seller-row{font-size:12px}.price small{font-size:11px}.product-grid{gap:22px 13px}.item-place span{overflow:hidden;text-overflow:ellipsis}
 .field,input.field,select.field,textarea.field{font-size:16px}.form-grid label{font-size:13px}.button{font-size:14px}.rail-card h3{font-size:17px}.rail-card p{font-size:13px}.rail-card{padding:17px}.rail-brief{font-size:12px}
 .member-hero h1,.member-account-gate h1{font-size:23px}.member-tabs button{font-size:14px}.member-account-gate>p{font-size:14px}.member-edit .form-actions .button{font-size:13px}.member-empty p{font-size:13px}
 .wf-context-bar>div>span{font-size:11px}.wf-chat-header span{font-size:11px}.wf-context-bar strong{font-size:13px}.wf-chat-note{font-size:10px}.wf-thread-content>b,.wf-last-message{font-size:13px}.wf-confirm-details{font-size:12px!important}
 .fb-compose,.fb-compose-actions{background:#fff}.fb-policy p{font-size:11px;line-height:1.6}.fb-body,.fb-comment-body{font-size:14px}.fb-meta{font-size:12px}.id-detail-heading h2{font-size:21px}.id-description{font-size:14px}
}
.shared-state{font-size:12px;color:#747982;padding:5px 0 9px;line-height:1.4}.shared-state .text-link{min-height:28px;font-size:12px}
.catalog-filter-panel{min-width:0}.catalog-filter-panel>.catalog-filter-toggle{display:none}
@media(min-width:701px){.catalog-filter-panel[data-expanded="false"]>.catalog-controls{display:flex}.catalog-filter-panel[data-expanded="false"]>.filter-help{display:block}}
@media(max-width:700px){
 .home-intro{flex-direction:column;align-items:flex-start;margin-bottom:14px;gap:10px}.home-intro h1{font-size:23px;white-space:normal}.home-intro p{display:block;margin:5px 0 0}.home-intro .campus-select{align-self:flex-start;max-width:165px;padding:3px 7px}.home-intro .campus-select select{max-width:125px;font-size:12px}.home-intro .campus-select svg{width:14px}
 .catalog-filter-panel{margin:0 0 12px;border-bottom:1px solid var(--line)}.catalog-filter-panel>.catalog-filter-toggle{display:flex;align-items:center;gap:7px;padding:4px 0 12px;min-height:40px;font-size:13px;font-weight:500;cursor:pointer;list-style:none}.catalog-filter-panel>.catalog-filter-toggle::after{content:'+';margin-left:auto;font-size:17px;color:#646870}.catalog-filter-panel[data-expanded="true"]>summary::after{content:'−'}.catalog-filter-panel>.catalog-filter-toggle::-webkit-details-marker{display:none}.catalog-filter-panel>.catalog-filter-toggle svg{width:15px;height:15px}.catalog-filter-panel[data-expanded="true"]>.catalog-controls{padding:0 0 10px}.catalog-filter-panel .filter-help{font-size:12px}
 .catalog-note-row{margin-bottom:12px}.feed-top{margin-top:10px}
}

.catalog-filter-toggle{border:0;background:transparent;width:100%;color:var(--ink);text-align:left}
@media(max-width:700px){.catalog-filter-panel[data-expanded="false"]>.catalog-controls,.catalog-filter-panel[data-expanded="false"]>.filter-help{display:none}}

.home-intro .home-tagline{display:block;font-size:11px;line-height:1.4;letter-spacing:.08em;margin-bottom:7px;color:var(--red,#902438)}html[lang="en"] .home-intro .home-tagline{display:none}

/* Cross-tab refresh appears only when needed; it is not a persistent product banner. */
.sync-notice{position:fixed;right:24px;top:82px;z-index:90;background:#fff;color:var(--red);border:1px solid var(--line);border-radius:8px;padding:11px 15px;font-size:12px;box-shadow:0 5px 18px #24262a12}.sync-notice[hidden]{display:none}.site-footer{flex-wrap:wrap}
@media(max-width:700px){.sync-notice{top:70px;right:14px;left:14px;font-size:12px;text-align:center}}
