:root{--muted:var(--sub)}
*{box-sizing:border-box}.hidden{display:none!important}body{background:radial-gradient(ellipse at 10% 0,#eee8ff 0,transparent 40%),#f7f8fb}.site-wrap{max-width:1280px;margin:auto;padding:24px 24px 100px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 34px}.header-actions{display:flex;align-items:center;gap:10px}.quiet-button{background:transparent;border:0;color:var(--muted);padding:10px;cursor:pointer;font-size:14px;border-radius:10px}.quiet-button:hover{background:#ede8fa;color:var(--ink)}.identity-button{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:30px;padding:5px 12px 5px 5px;font-weight:700;color:var(--ink);cursor:pointer;max-width:230px}.identity-button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;display:block;background:#ece5ff;border:1px solid #e1d7f7}.avatar-fallback{display:grid;place-items:center;color:#775cc4;font-size:13px;font-weight:800}.avatar-large{width:72px;height:72px;font-size:22px}.person-heading{display:flex;align-items:center;gap:12px;min-width:0}.person-heading h1{margin:0;font-size:26px;overflow-wrap:anywhere}.person-heading h2{margin:0;font-size:20px}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.contacts-panel{padding:20px;position:sticky;top:16px;min-width:0}.contacts-panel h2{font-size:19px;margin:0}.contact-form{display:flex;gap:8px;margin-top:18px}.contact-form input{min-width:0}.contact-form button{padding:10px 14px}.contact-list{display:grid;gap:7px;margin-top:16px}.contact-button{width:100%;display:flex;align-items:center;gap:10px;padding:12px 9px;background:transparent;border:1px solid transparent;border-radius:13px;cursor:pointer;text-align:left;color:var(--ink)}.contact-button.active{background:#f1ebff;border-color:#e0d3fc}.contact-button:hover{background:#f7f3ff}.contact-label{min-width:0;flex:1}.contact-label strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.contact-label small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;margin-top:4px}.count-badge,.tiny-count{display:inline-block;background:#b5356f;color:white;font-size:11px;padding:2px 6px;border-radius:20px}.main-panel{min-width:0}.welcome-card{padding:55px 38px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 15px 40px #33415a08}.welcome-card h1{font-size:44px;line-height:1.3;letter-spacing:-1px;margin:20px 0}.welcome-card em{color:var(--brand);font-style:normal;overflow-wrap:anywhere}.welcome-card p{color:var(--muted);line-height:1.7}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--brand)!important}.contact-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.sync-label{font-size:12px;color:#239875}.sync-label.offline{color:#b05645}.tab-bar{display:flex;gap:6px;margin:0 0 24px;background:#ececf5;border-radius:13px;padding:5px;overflow:auto}.tab-bar button{background:transparent;border:0;color:var(--muted);font-weight:700;font-size:14px;padding:12px 17px;border-radius:10px;flex:1;white-space:nowrap;cursor:pointer}.tab-bar button.active{background:#fff;color:var(--brand);box-shadow:0 4px 12px #3a305d0d}.page{min-width:0}.composer{padding:20px;margin-bottom:22px}.composer summary{font-size:16px;font-weight:800;color:var(--brand);cursor:pointer}.composer form{margin-top:24px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.product-card{padding:22px;min-width:0}.product-card h3{font-size:20px;margin:12px 0;overflow-wrap:anywhere}.product-card .price{font-size:26px;color:var(--brand);font-weight:800}.product-photo{width:100%;height:210px;object-fit:contain;border-radius:14px;background:#f5f3f9;display:block;margin-bottom:16px}.order-photo{width:100px;height:80px;object-fit:contain;background:#f5f3f9;border-radius:12px}.product-description{white-space:pre-wrap;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.purchase-controls{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;margin:16px 0}.purchase-controls input,.purchase-controls select{min-width:0}.photo-preview img{display:block;max-width:100%;max-height:180px;margin:16px 0;object-fit:contain}.small,.hint,p{overflow-wrap:anywhere}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.line-space{display:flex;align-items:center;justify-content:space-between;gap:12px}.item-list{display:grid;gap:16px}.item-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;min-width:0}.item-card h3{font-size:19px;margin:12px 0;overflow-wrap:anywhere}.item-card p{white-space:pre-wrap}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:18px}.section-heading h2{margin:0}.order-total{font-size:25px;font-weight:800;color:var(--brand);margin:15px 0}.order-price-form{display:flex;align-items:center;gap:8px;margin:15px 0}.order-price-form input{max-width:160px}.chat-card{padding:24px;min-width:0}.messages{height:400px;overflow:auto;overscroll-behavior:contain;margin:24px 0 18px;padding:14px;background:#f7f7fc;border:1px solid #eeeef5;border-radius:15px}.message{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px;min-width:0}.message.own-message{flex-direction:row-reverse}.message-body{max-width:80%;min-width:0}.message-meta{font-size:11px;color:var(--muted);margin:0 0 6px}.own-message .message-meta{text-align:right}.message-bubble{padding:12px 15px;border-radius:0 15px 15px 15px;border:1px solid var(--line);background:#fff;overflow-wrap:anywhere}.own-message .message-bubble{background:#eee8ff;border-color:#dfd5fa;border-radius:15px 0 15px 15px}.message-bubble p{margin:0;white-space:pre-wrap}.message-image{max-width:100%;max-height:260px;object-fit:contain;border-radius:9px;display:block}.message audio{max-width:100%;width:280px;height:44px}.chat-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}.chat-tools .outline,.chat-tools .quiet-button{font-size:13px;padding:9px 12px}.chat-tools .primary{padding:10px 24px}.attachment-preview{background:#f5f0ff;border:1px solid #e6dff8;padding:12px;border-radius:12px;margin-bottom:10px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.attachment-preview img{max-width:160px;max-height:140px;object-fit:contain}.attachment-preview audio{max-width:100%}.recording{color:#c12d50;border-color:#eaaeb9!important;background:#fff0f1!important}.finance-card{padding:26px}.finance-card h2{margin:0}.direction-tabs{display:flex;gap:8px;margin:24px 0 18px}.direction-tabs button{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);padding:10px 18px;cursor:pointer;font-size:14px}.direction-tabs button.active{color:var(--brand);background:#f2edff;border-color:#d8cbf8}.debt-overview{background:#f8f5fd;border-radius:17px;padding:22px;margin:20px 0}.debt-overview>span{font-size:13px;color:var(--muted)}.debt-overview strong{display:block;font-size:36px;color:#8857bf;margin:8px 0}.finance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.finance-metrics>div{font-size:12px;color:var(--muted);background:#f7f7fa;border-radius:12px;padding:14px;min-width:0}.finance-metrics strong{display:block;font-size:17px;color:var(--ink);margin-top:8px;overflow-wrap:anywhere}.compact-form{border:1px solid var(--line);padding:18px;border-radius:15px;margin-top:20px}.compact-form h3{font-size:17px;margin:0 0 16px}.compact-form>.input{margin-bottom:12px}.compact-form .row{margin-top:12px}.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.history-details{margin-top:22px}.history-details summary{cursor:pointer;margin-bottom:18px;font-weight:700}.finance-card .item-list{margin-top:18px}#reviewsPage{display:grid;gap:20px}#reviewsPage>.card{padding:26px}.site-footer{text-align:center;color:#9996aa;font-size:11px;margin-top:44px}.hosting-note{text-align:center;color:#945d34;font-size:12px;padding:9px;background:#fff5e5}.subtle-note{padding:12px;background:#f0edf8;border-radius:12px;color:var(--muted);font-size:13px;margin-bottom:18px}.agreement{max-width:720px;margin:20px auto;padding:30px}.check-line{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.7}.check-line input{flex:none;margin-top:6px}.agreement button{margin-top:20px}.debt-chip{position:fixed;bottom:18px;right:18px;z-index:12;border:1px solid #e5c4ce;background:#fff0f3;color:#af3055;box-shadow:0 8px 24px #993a551c;border-radius:14px;padding:12px 16px;font-size:13px;font-weight:800;max-width:calc(100vw - 24px);cursor:pointer}.toast{bottom:82px}.danger-text{color:#b2385b!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--line);border-radius:22px;padding:26px;width:min(460px,calc(100vw - 28px));box-shadow:0 25px 90px #19243540;color:var(--ink)}dialog::backdrop{background:#19243565}dialog h2{font-size:21px;margin:0 0 15px}.profile-summary{display:flex;gap:18px;align-items:center;margin:26px 0}.profile-summary strong{overflow-wrap:anywhere}.file-button{display:inline-block;cursor:pointer}#textDialogForm .input{margin:15px 0}#error{position:sticky;top:12px;z-index:15;margin-bottom:18px}#historySection{font-size:13px;color:var(--muted);margin-top:24px}button:disabled{opacity:.48;cursor:not-allowed}.form input,.form textarea,.form select{font-size:16px}.signin-link{display:inline-block;text-decoration:none}
@media(max-width:900px){.workspace{grid-template-columns:220px minmax(0,1fr);gap:18px}.site-wrap{padding:18px 16px 100px}.contacts-panel{padding:16px}.product-grid{grid-template-columns:1fr}.tab-bar button{padding:12px 9px}.finance-metrics{grid-template-columns:1fr}.contact-heading .row{gap:4px}}
@media(max-width:640px){.site-header{margin:5px 0 25px;gap:10px;align-items:flex-start;flex-wrap:wrap}.brand{font-size:20px}.header-actions{gap:2px;flex:1;justify-content:flex-end}.header-actions .quiet-button{font-size:11px;padding:7px}.identity-button{max-width:150px;font-size:12px;padding-right:9px}.identity-button .avatar{width:30px;height:30px;font-size:11px}.workspace{display:block}.contacts-panel{position:static;margin-bottom:22px;padding:17px}.contact-list{display:flex;overflow:auto;gap:7px}.contact-button{min-width:170px;max-width:220px;flex-shrink:0}.contact-form{max-width:100%;margin-top:14px}.contact-list .empty{padding:5px}.contacts-panel .link-btn{font-size:12px}.contact-heading{gap:8px;margin:20px 0}.person-heading h1{font-size:23px}.contact-heading>.row{width:100%;justify-content:flex-end}.welcome-card{padding:32px 23px}.welcome-card h1{font-size:32px}.tab-bar{margin-bottom:18px}.tab-bar button{font-size:13px;padding:11px 8px}.product-card,.item-card,.chat-card{padding:18px}.finance-card{padding:20px}.messages{height:380px;padding:10px}.message{gap:6px}.message>.avatar,.message>span>.avatar{width:30px;height:30px}.message-body{max-width:calc(100% - 36px)}.message-bubble{padding:10px}.message audio{width:240px;max-width:100%}.two-fields{grid-template-columns:1fr;gap:10px}.chat-tools{gap:8px}.chat-tools .row{gap:4px}.chat-tools .outline,.chat-tools .quiet-button{padding:8px;font-size:12px}.chat-tools .primary{padding:9px 16px}.order-price-form{flex-wrap:wrap}.debt-chip{bottom:12px;right:12px;padding:10px 12px}.agreement{padding:22px}.site-footer{line-height:1.6}.site-wrap{padding-inline:12px}}

.select,.textarea{width:100%;border:1.5px solid #e0e4ef;border-radius:12px;background:#fcfcff;color:var(--ink);padding:12px 13px;font:inherit;min-height:48px;min-width:0}.textarea{resize:vertical}.brand{text-decoration:none}.select:focus,.textarea:focus{outline:2px solid #b8aaf3;outline-offset:1px}

.password-control{position:relative;display:flex;align-items:center}.password-control .input{padding-right:66px}.password-toggle{position:absolute;right:4px;top:4px;bottom:4px;min-width:52px;min-height:44px;border:0;background:transparent;color:var(--brand);font-size:13px;cursor:pointer;border-radius:9px}.password-toggle:focus-visible{outline:2px solid var(--brand)}.code-controls{display:flex;gap:9px}.code-controls .input{min-width:0;flex:1}.code-controls .outline{flex:none;white-space:nowrap;font-size:13px;padding:10px 13px}

/* Fixed contact workspace; only the active page or chat history scrolls. */
.contact-open{height:var(--app-height,100dvh);overflow:hidden}.contact-open .site-wrap{height:100%;max-width:1120px;padding:12px 24px 0;display:flex;flex-direction:column;overflow:hidden}.contact-open .site-header{margin:0 0 10px;flex:none;min-height:52px}.contact-open .workspace{display:flex;flex:1;min-height:0;overflow:hidden;gap:0}.contact-open .contacts-panel{display:none}.contact-open .main-panel{width:100%;height:100%;min-height:0}.contact-open #contactWorkspace{height:100%;display:flex;flex-direction:column;min-height:0}.contact-open .contact-heading{flex:none;margin:0;padding:12px 0 16px;gap:12px;flex-wrap:nowrap;border-bottom:1px solid var(--line)}.contact-open .contact-heading>.person-heading{flex:1;min-width:0}.contact-open .contact-heading h1{font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.back-button{color:var(--brand);font-weight:800;white-space:nowrap;padding-left:0}.contact-open .page{order:4;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 4px 20px 0}.contact-open .tab-bar{order:10;flex:none;border:1px solid #e6e1f3;border-bottom:0;margin:0 -24px;border-radius:18px 18px 0 0;background:#fff;padding:6px 14px max(6px,env(safe-area-inset-bottom));overflow:hidden}.contact-open .tab-bar button{color:#8b869c;min-height:58px;border-radius:14px;font-size:13px;padding:6px}.contact-open .tab-bar button::before{display:block;font-size:20px;line-height:1.3;font-weight:600}.tab-bar button[data-tab=products]::before{content:'▦'}.tab-bar button[data-tab=orders]::before{content:'▤'}.tab-bar button[data-tab=messages]::before{content:'◌'}.tab-bar button[data-tab=finance]::before{content:'¥'}.tab-bar button[data-tab=reviews]::before{content:'☆'}.contact-open .tab-bar button.active{background:#f1ecff;color:var(--brand);box-shadow:none}.contact-open .site-footer{display:none}.contact-open #error{position:absolute;top:68px;left:50%;transform:translateX(-50%);width:min(1000px,calc(100% - 24px));z-index:40;max-height:100px;overflow:auto}.contact-open .toast{bottom:90px}.toast:not(.hidden){opacity:1;transform:translateX(-50%) translateY(0)}.contact-open .debt-chip{bottom:82px}body[data-view=messages] .debt-chip{display:none!important}.contact-open .historyNotice{flex:none}.contact-list{max-height:55vh;overflow-y:auto;overscroll-behavior:contain}.contact-button{min-height:64px}.contact-heading .row{flex-wrap:nowrap}.contact-heading .quiet-button{white-space:nowrap}
.fee-banner{order:2;flex:none;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f2edff;border:1px solid #dfd4fa;border-radius:14px;padding:10px 16px;margin-top:10px}.fee-banner strong{display:block;font-size:14px;color:#6c52b8}.fee-banner span{font-size:12px;color:var(--muted)}.fee-banner .primary{min-height:38px;padding:7px 14px;font-size:13px}.fee-banner .row{flex-wrap:nowrap;flex:none}.fee-banner .quiet-button{font-size:12px}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{padding:0;border-radius:18px;overflow:hidden;box-shadow:0 6px 25px #45337108}.product-cover{display:block;width:100%;aspect-ratio:1/1;border:0;padding:0;background:#eee9f8;cursor:pointer;overflow:hidden}.product-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0;transition:transform .25s}.product-cover:hover .product-photo{transform:scale(1.025)}.no-photo{height:100%;display:grid;place-content:center;gap:3px;font-size:40px;color:#b3a3d1}.no-photo small{font-size:12px}.product-info{padding:15px}.product-info h3{font-size:17px;margin:0 0 6px;line-height:1.4}.product-description{font-size:13px;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:1.5;height:39px}.product-person{gap:7px;color:var(--muted);font-size:12px;margin:12px 0}.product-person .avatar{width:24px;height:24px;font-size:10px}.product-person span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-card .price{font-size:24px}.price-line{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}.price-line del{color:#a8a1b4;font-size:13px;order:2}.price-line .price-change{font-size:10px;color:#d5744f;background:#fff2e8;border-radius:4px;padding:1px 5px;order:3}.price-line strong{order:1}.product-edit{width:100%;min-height:40px;font-size:13px}.purchase-options{font-size:11px;color:#8a829f;margin:10px 0}.purchase-options summary{cursor:pointer}.purchase-options .purchase-controls{margin:8px 0;grid-template-columns:58px minmax(0,1fr)}.purchase-options .input,.purchase-options .select{font-size:12px;padding:9px 6px;min-height:40px}.product-card .primary{min-height:40px;padding:8px;font-size:14px;box-shadow:none}.product-detail #detailImage{width:100%;height:auto;max-height:60vh;object-fit:contain;margin-top:12px;border-radius:13px}.product-detail #detailDescription{white-space:pre-wrap}.order-summary{display:flex;gap:16px;align-items:center;margin-top:14px}.order-photo{object-fit:cover;width:100px;height:100px;flex:none}.order-summary h3{margin:0}.order-summary p{margin:6px 0}.order-summary .order-total{margin:0}.order-card small{color:var(--muted)}.order-fees{padding-top:12px;border-top:1px solid #f1eef6;margin-bottom:0}.order-actions .primary,.order-actions .outline{font-size:13px}.empty-state{text-align:center;background:white;border-radius:20px;padding:40px;grid-column:1/-1}
.contact-open #messagesPage{overflow:hidden;padding:14px 0}.chat-card{height:100%;padding:0;background:transparent;border:0;box-shadow:none;display:flex;flex-direction:column;min-height:0}.chat-card>.line-space{display:none}.chat-money{display:flex;gap:22px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 18px;align-items:center;flex:none}.chat-money>div{display:flex;gap:10px;align-items:baseline;min-width:0}.chat-money span{font-size:12px;color:var(--muted)}.chat-money strong{font-size:20px;color:#6654b4;white-space:nowrap}.chat-money strong.has-debt{color:#bc4569}.chat-money small{color:#a7a0b4;font-size:10px;margin-left:auto;white-space:nowrap}.messages{flex:1;min-height:0;height:auto;border:0;background:transparent;padding:14px 4px;margin:0;overflow-y:auto}.message{margin-bottom:20px}.message-body{max-width:75%}.message-bubble{box-shadow:0 2px 4px #48376905;padding:12px 16px}.message-caption{white-space:pre-wrap!important}.message-image{max-height:320px}.chat-card #messageForm{flex:none;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 14px;margin-top:4px}.chat-card textarea{border:0;background:transparent;min-height:48px;padding:4px 0;resize:none;max-height:120px;box-shadow:none}.chat-card textarea:focus{outline:none}.chat-tools{margin-top:3px;flex-wrap:nowrap;gap:6px}.chat-tools .row{flex-wrap:nowrap}.chat-tools .outline,.chat-tools .quiet-button{font-size:12px;min-height:36px;padding:6px 10px}.chat-tools .primary{font-size:13px;min-height:36px;padding:7px 22px;box-shadow:none}.keyboard-hint{margin:4px 0 0;font-size:10px;color:#aaa3b4}.chat-card #recordingStatus:empty{display:none}.chat-card #recordingStatus{margin:5px 0;font-size:12px}.voice-play{width:var(--voice-width);max-width:100%;display:flex;align-items:center;gap:15px;background:transparent;border:0;color:var(--ink);cursor:pointer;padding:2px 0;min-height:36px}.voice-action{font-size:10px;color:var(--muted);margin-left:auto}.voice-waves{display:flex;align-items:center;gap:3px;height:24px}.voice-waves i{display:block;width:3px;border-radius:3px;background:#6c5a98}.voice-waves i:nth-child(1){height:7px}.voice-waves i:nth-child(2){height:14px}.voice-waves i:nth-child(3){height:22px}.playing .voice-waves i{animation:voice-wave .7s infinite alternate}.playing .voice-waves i:nth-child(2){animation-delay:.15s}.playing .voice-waves i:nth-child(3){animation-delay:.3s}@keyframes voice-wave{to{opacity:.3;transform:scaleY(.5)}}.voice-audio{display:none}.voice-transcript .link-btn{font-size:11px;padding:4px 0;color:#8d789f}.voice-transcript p{font-size:13px;border-top:1px solid #e5ddef;padding-top:8px;margin-top:4px}.transfer-message .message-bubble{padding:0;border:0;background:none;box-shadow:none}.transfer-card{background:linear-gradient(120deg,#ffbd70,#ffa155);color:#633820;border-radius:14px;padding:15px 18px;min-width:245px;max-width:100%}.transfer-title{display:flex;align-items:center;gap:13px}.transfer-title strong{font-size:23px;letter-spacing:-.5px}.transfer-symbol{font-size:27px;color:#fff9ef}.transfer-card p{font-size:12px;margin:10px 0!important;line-height:1.5}.transfer-card small{display:block;font-size:10px;padding-top:9px;border-top:1px solid #ad66202c}.credit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.credit-card{padding:20px}.credit-card h3{color:#6654b4;margin:14px 0}.credit-counts{display:flex;gap:14px;font-size:12px;color:#7d738f}.credit-counts b{font-size:18px;color:var(--ink);margin-left:4px}.credit-card details{max-width:100%;font-size:12px}.review-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-filters .select{width:auto;flex:1;min-width:150px}.review-filters .outline{font-size:12px;min-height:44px;padding:8px 12px}.review-filters .active{background:#f0eafa;color:var(--brand);border-color:#dcd0f6}.review-type{margin-left:auto;padding:3px 8px;border-radius:6px;font-size:11px}.review-type.good{color:#39846b;background:#eff9f3}.review-type.bad{color:#bf4964;background:#ffeff3}.review-delete{border-top:1px solid #f0edf5;margin-top:10px;padding-top:8px}.review-delete .link-btn{font-size:11px}.review-card .person-heading{flex-wrap:wrap;gap:8px}.review-card p{font-size:14px}.followup-text{background:#f7f4fc;padding:12px;border-radius:12px}.preset-reviews{padding:18px!important}.preset-reviews summary{cursor:pointer;color:#8e819f;font-size:13px}.preset-reviews .item-list{max-height:320px;overflow-y:auto}.preset-item{padding:12px;border-bottom:1px solid #eee9f5}.preset-item span{color:#d6b16b}.preset-item p{margin:5px 0;font-size:13px}.preset-item small{color:#aaa0b6;font-size:11px}.complaint-card .link-btn{font-size:12px}.finance-card .finance-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-open .site-wrap{padding:8px 16px 0}.contact-open .tab-bar{margin-inline:-16px}.credit-grid{gap:10px}.credit-card{padding:16px}.chat-money{gap:16px}.contact-open .contact-heading h1{font-size:20px}}
@media(max-width:640px){.contact-list{display:grid;overflow-y:auto;max-height:none}.contact-button{min-width:0;max-width:none}.workspace .contacts-panel{margin-bottom:14px}.contact-open .site-wrap{padding:5px 10px 0}.contact-open .site-header{min-height:44px;flex-wrap:nowrap;margin-bottom:4px;align-items:center}.contact-open .site-header .brand{font-size:15px;gap:6px;white-space:nowrap}.contact-open .logo{width:30px;height:30px;font-size:16px;border-radius:10px}.contact-open .identity-button{max-width:122px}.contact-open .header-actions{flex:initial;min-width:0}.contact-open #logout{font-size:10px;padding:6px}.contact-open #soundToggle{font-size:10px;padding:5px}.contact-open .contact-heading{padding:8px 0 10px;gap:7px;align-items:center}.contact-open .contact-heading>.person-heading{gap:7px}.contact-open .contact-heading .avatar{width:30px;height:30px}.contact-open .contact-heading h1{font-size:17px}.contact-open .contact-heading .small{font-size:10px}.contact-open .contact-heading>.row{width:auto;gap:0;margin-left:auto}.contact-heading #syncState{display:none}.contact-heading #refresh{display:none}.contact-heading #unlinkContact{font-size:10px;padding:6px}.back-button{font-size:12px;padding:6px 2px}.contact-open .tab-bar{margin-inline:-10px;padding:4px 6px max(4px,env(safe-area-inset-bottom));border-radius:14px 14px 0 0}.contact-open .tab-bar button{min-height:53px;font-size:11px;padding:3px}.contact-open .tab-bar button::before{font-size:19px}.contact-open .page{padding:12px 0}.contact-open .composer{padding:14px;margin-bottom:12px}.product-grid{gap:10px}.product-card{border-radius:14px;padding:0}.product-info{padding:11px}.product-info h3{font-size:15px}.product-description{font-size:11px;line-height:1.5;height:33px;margin-bottom:6px}.product-card .price{font-size:21px}.product-person{font-size:10px;margin:8px 0}.product-card .primary{font-size:13px;min-height:38px}.product-info .price-line del{font-size:10px}.fee-banner{padding:8px 10px;gap:8px}.fee-banner span{font-size:10px}.fee-banner strong{font-size:12px}.fee-banner .row{gap:2px}.fee-banner .primary{font-size:11px;min-height:34px;padding:5px 10px}.fee-banner .quiet-button{font-size:10px;padding:4px}.contact-open #messagesPage{padding:9px 0}.chat-money{border-radius:12px;padding:10px 12px;gap:20px}.chat-money>div{display:block}.chat-money span{display:block;font-size:10px}.chat-money strong{font-size:20px}.chat-money small{font-size:9px}.messages{padding:12px 0}.message{gap:7px}.message-body{max-width:calc(100% - 38px)}.message-meta{font-size:9px}.message-bubble{padding:10px 12px;font-size:14px}.transfer-card{min-width:220px;padding:12px 15px}.transfer-title strong{font-size:22px}.transfer-card p{font-size:11px}.transfer-card small{font-size:9px}.chat-card #messageForm{padding:8px 10px}.chat-card textarea{font-size:16px;min-height:46px}.chat-tools .row{gap:3px}.chat-tools .outline,.chat-tools .quiet-button{padding:5px 7px;font-size:11px;min-height:36px}.chat-tools .primary{padding:6px 16px;min-height:36px;font-size:12px}.keyboard-hint{display:none}.credit-card{padding:14px}.credit-card .person-heading{gap:6px;font-size:12px}.credit-card .avatar{width:28px;height:28px;font-size:10px}.credit-card h3{font-size:16px;margin:12px 0}.credit-counts{gap:8px;font-size:10px;flex-wrap:wrap}.credit-counts b{font-size:15px}.credit-card .small{font-size:10px}.order-summary{gap:12px}.order-photo{width:70px;height:85px}.order-summary h3{font-size:16px}.order-summary .price-line del{font-size:10px}.order-card{padding:16px}.order-actions .primary,.order-actions .outline{font-size:12px;min-height:42px;padding:8px 12px}.finance-card .finance-metrics{gap:6px}.finance-metrics>div{padding:10px;font-size:10px}.finance-metrics strong{font-size:14px}.review-filters{gap:5px}.review-filters .select{font-size:12px;min-width:100%;min-height:42px}.review-filters .outline{min-height:40px;font-size:12px}.review-card .person-heading{font-size:13px}.review-card .person-heading .small{font-size:10px}}
/* Trade comments and money terms share the fixed workspace layout. */
.credit-highlights{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;margin:22px 0}.credit-highlights>div{min-width:0}.credit-highlights span{display:block;font-size:13px;color:var(--muted,#728094);margin-bottom:8px}.credit-highlights strong{display:block;color:#7258e7;font-size:clamp(20px,2vw,29px);line-height:1.3;overflow-wrap:anywhere}.credit-highlights strong small{font-size:13px;color:#9199aa}.preset-credit-note{font-size:12px;color:#897038;background:#fff8e9;border-radius:10px;padding:9px 11px}.thread-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid #ebe8f4}.thread-heading>strong{white-space:nowrap;color:#7258e7}.trade-comment{padding:18px 0 8px;border-bottom:1px solid #eeeaf7}.trade-comment:last-child{border-bottom:0}.trade-comment .person-heading{flex-wrap:wrap;gap:8px}.trade-comment .avatar{width:32px;height:32px;font-size:12px}.trade-comment .comment-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.unreviewed{opacity:.65}.fee-term{display:grid;grid-template-columns:minmax(120px,1fr) 135px 130px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eeedf6;font-size:14px}.fee-value{position:relative;display:block}.fee-value .input{padding-right:32px}.fee-value b{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#8c87a0}.fee-rule{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:6px 0;line-height:1.5}.fee-rule b{font-weight:600;white-space:nowrap}.product-fee-settings,.product-terms{font-size:13px}.product-terms{margin:10px 0}.price-steps{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.price-steps button{font-size:13px;padding:7px 12px}.multiplier-label{color:#7258e7;font-weight:700;font-size:13px}.deadline-label{font-size:12px;color:#8a8799}.deadline-label.late{color:#d65e54}.order-fees{font-size:12px;margin-top:14px}.order-fees p{margin:8px 0}.sticker-picker{flex:0 0 auto;max-height:240px;overflow:auto;padding:12px;background:#f6f4fc;border-radius:14px;border:1px solid #e9e4f9}.sticker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.sticker-choice{width:100%;background:none;border:0;min-width:0;border-radius:10px;padding:8px 4px;cursor:pointer}.sticker-choice:hover{background:#eae4ff}.sticker-choice>span{display:block;font-size:34px;line-height:1.3}.sticker-choice img{width:64px;height:64px;max-width:100%;object-fit:contain}.sticker-choice small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#867e99;font-size:11px}.saved-sticker{position:relative}.sticker-remove{position:absolute;right:0;top:0;border:0;background:#eee8fc;color:#9075c6;border-radius:50%;font-size:15px;cursor:pointer}.sticker-message .message-bubble{background:transparent!important;border:0!important;padding:4px!important}.sticker-message .message-image{width:150px;max-width:100%;object-fit:contain}.builtin-sticker{font-size:64px;line-height:1.3}.voice-hold{width:100%;height:56px;border:1px solid #dbd5f0;background:#f7f5fc;border-radius:13px;color:#6c6285;font-weight:700;font-size:16px;user-select:none;-webkit-user-select:none;touch-action:none;-webkit-touch-callout:none}.voice-hold.recording{background:#ebe5ff;border-color:#8569ef;color:#7857e4}.voice-hold.cancel-hold{background:#fff0f1;color:#d15665;border-color:#e4a4ab}.voice-options{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.voice-options .select{width:105px;min-height:26px;padding:4px 6px;font-size:12px;display:inline-block}.voice-options .keyboard-hint{margin:5px 0}.payment-request-card{min-width:190px;background:#fff4df;border-radius:13px;padding:15px;border:1px solid #f3dba3}.payment-request-card strong{font-size:24px;color:#bd8134}.payment-request-card p{white-space:pre-wrap;overflow-wrap:anywhere}.payment-request-card button{width:100%;margin-top:8px;font-size:13px}.payment-request-card small{color:#a4855d}.chat-tools>.row{flex-wrap:wrap;gap:6px}.chat-tools .row>button{font-size:12px;padding:7px 10px}.voice-transcript .transcribe-retry{margin-left:10px;font-size:11px;color:#9281af}#feesDialog,#termsDialog,#transferDialog{max-height:86dvh;overflow:auto}#feesDialog{width:min(650px,94vw)}
@media(max-width:600px){.credit-highlights{grid-template-columns:1fr 1fr}.credit-highlights>div:first-child{grid-column:1/-1}.credit-highlights strong{font-size:25px}.fee-term{grid-template-columns:minmax(80px,1fr) 98px 96px;font-size:12px;gap:6px}.fee-term .select,.fee-term .input{padding:9px 7px;font-size:12px;min-height:38px}.fee-value .input{padding-right:27px}.sticker-picker{max-height:190px}.sticker-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.sticker-choice>span{font-size:29px}.sticker-choice img{height:50px}.voice-options .keyboard-hint{font-size:10px}.voice-options>label{font-size:10px}.chat-tools{gap:6px}.chat-tools>button{font-size:13px;padding:9px 15px}.price-steps{gap:5px}.order-summary>div{min-width:0}}
@media(max-width:600px){.credit-grid{grid-template-columns:minmax(0,1fr)}.credit-highlights{grid-template-columns:1.3fr 1fr 1fr;gap:10px;margin:17px 0}.credit-highlights>div:first-child{grid-column:auto}.credit-highlights strong{font-size:23px}.credit-highlights>div:not(:first-child) strong{white-space:nowrap}.credit-highlights strong small{font-size:11px}.credit-highlights span{font-size:12px}.credit-card .preset-credit-note{margin-bottom:8px}.credit-card{padding:18px}}

.blocked-notice{order:2;flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff0f3;border:1px solid #ecd0d8;border-radius:10px;color:#a83f5e;padding:7px 12px;font-size:12px;margin-top:8px}.blocked-notice button{font-size:12px;white-space:nowrap}#accessDialog{max-height:85dvh;overflow:auto;width:min(550px,94vw)}#accessRequests{margin-top:20px}.access-request{padding:16px}.access-request strong{font-size:15px}.access-request .pill{font-size:11px}.access-request .primary,.access-request .outline{font-size:13px;padding:8px 12px}.access-quote-form{display:flex;align-items:flex-end;gap:10px;margin:12px 0}.access-quote-form label{flex:1;font-size:12px}.access-quote-form .input{margin-top:5px}.access-fee{font-weight:700;color:#7859c6}@media(max-width:640px){.contact-heading #manageAccess{font-size:10px;padding:6px}.blocked-notice{font-size:10px;padding:5px 8px}.blocked-notice button{font-size:11px}.access-quote-form{gap:6px}}
.trade-comment{padding:14px 0 10px}.trade-comment p{margin:8px 0;font-size:14px}.trade-comment p.stars{font-size:16px;line-height:1.3}.trade-comment small{font-size:11px;color:var(--muted)}.trade-comment .link-btn{font-size:12px;padding:5px 0}.thread-heading p{margin:8px 0 0}

.tab-bar button[data-tab=complaints]::before{content:"⚖"}#complaintsPage{display:flex;flex-direction:column;gap:16px}.floor-heading{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#8a82a0;padding-top:12px}.floor-heading small{white-space:nowrap}.comment-floor{border-bottom:1px solid #efedf6}.comment-floor:last-child{border-bottom:0}.floor-reply{margin-left:22px;padding-left:18px;border-left:2px solid #e9e0fc;background:#faf8ff;border-radius:0 10px 10px 0}.comment-floor .trade-comment{border:0;padding:10px 0 12px}.comment-floor .person-heading{font-size:13px}.comment-floor .avatar{width:28px;height:28px;font-size:11px}.thread-actions{margin-top:16px}.thread-actions button{font-size:12px;padding:8px 12px}.followup-floor .comment-content{line-height:1.6}.message-body{position:relative}.message-rejected .message-body{max-width:calc(100% - 68px)}.rejected-mark{position:absolute;left:-23px;top:33px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e94959;color:#fff;font-size:13px;font-weight:800}.delivery-error{display:block;text-align:right;color:#c84a5b;font-size:10px;margin-top:6px}.checkout-amount{display:block;font-size:35px;color:#7756e9;margin:16px 0 22px}#accessPaymentDialog{max-height:85dvh;overflow:auto}#directBlockSetup .access-quote-form{align-items:flex-end}@media(max-width:640px){.floor-reply{margin-left:12px;padding-left:12px}.floor-heading{font-size:10px}.comment-floor .person-heading{font-size:12px}.comment-floor .trade-comment p{font-size:13px}.contact-open .tab-bar button{font-size:10px;min-width:0}.checkout-amount{font-size:30px}}

/* Real checkout and recording readiness */
.real-payment-item{border-left:3px solid #19a47c}.payment-reference{overflow-wrap:anywhere;font-family:inherit}#realPaymentDialog{max-width:540px}#realPaymentDialog .form{margin-top:18px}#realPayerActions{margin:18px 0}#realPayerActions a{text-align:center;text-decoration:none}#openRealPayments{white-space:nowrap}#saveProduct:disabled{cursor:wait;opacity:.75}@media(max-width:600px){#realPayerActions{display:grid;grid-template-columns:1fr}#realPaymentDialog .primary{width:100%}#openRealPayments{font-size:10px;padding:6px 4px}}

/* Account receiving code, shared product and private display reset. */
.alipay-profile{border-top:1px solid var(--border,#e6e4ed);margin-top:20px;padding-top:12px}.alipay-profile .input{margin:10px 0}.alipay-code{display:block;width:220px;max-width:100%;max-height:280px;object-fit:contain;margin:14px auto;border-radius:12px;background:#fff}.alipay-code.hidden{display:none}.product-share{margin-top:8px}.shared-product{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;min-width:180px;max-width:340px}.shared-product>img,.shared-product-placeholder{width:76px;height:86px;object-fit:cover;border-radius:10px;flex-shrink:0}.shared-product>span:last-child{display:flex;flex-direction:column;gap:5px;min-width:0}.shared-product strong{overflow-wrap:anywhere}.shared-product b{color:#7660e6;font-size:20px}.shared-product small{color:#7f8a9e;font-size:12px}#resetTransferDisplay{font-size:12px;margin-left:8px;white-space:nowrap}#resetTotalsDialog{max-width:420px}.chat-money>div{flex-wrap:wrap}

#imageViewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#101018;color:#fff;overflow:hidden}#imageViewer[open]{display:flex;flex-direction:column}#imageViewer::backdrop{background:#101018}.image-viewer-tools{height:58px;display:flex;justify-content:center;align-items:center;gap:12px;flex-shrink:0;padding:max(8px,env(safe-area-inset-top)) 14px 8px}.image-viewer-tools button{background:#30303b;border:0;color:white;border-radius:8px;padding:8px 12px;font-size:16px}.image-viewer-tools button:last-child{margin-left:auto}#imageViewerStage{flex:1;min-height:0;display:grid;place-items:center;overflow:auto;padding:12px}#fullImage{display:block;max-width:100%;max-height:calc(100dvh - 100px);object-fit:contain;border-radius:0;touch-action:pan-x pan-y pinch-zoom;cursor:zoom-in}#fullImage.image-zoomed{max-width:none;max-height:none;cursor:zoom-out;justify-self:start;align-self:start}.message-image,.product-photo,.order-photo,#detailImage,.alipay-code{cursor:zoom-in}.save-received-sticker{display:block;font-size:12px;padding:5px 3px;margin-top:3px}.complaint-payment{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:#f7f4ff;margin:10px 0}.complaint-payment .primary{flex-shrink:0}

.payment-channel{display:flex;align-items:center;gap:6px;font-size:12px}.payment-channel .select{padding:6px 10px;width:130px;min-height:32px}#imageViewerCaption{padding:0 14px;color:#eee;text-align:center;font-size:16px;margin:0}#imageViewerCaption:empty{display:none}.image-viewer-tools a{color:#fff;font-size:13px;cursor:pointer}.complaint-payment small{display:block;font-size:12px;color:#8790a3}.message-rejected .save-received-sticker{display:none}

.contact-heading .payment-channel{margin:0 3px}.contact-heading .payment-channel .select{max-width:126px;font-size:12px}@media(max-width:600px){.contact-heading .row{gap:4px}.contact-heading .payment-channel{font-size:0}.contact-heading .payment-channel .select{font-size:11px;width:112px;max-width:112px}}

@media(max-width:500px){.image-viewer-tools{gap:6px;flex-wrap:wrap;height:auto;min-height:58px}.image-viewer-tools button{padding:7px 9px;font-size:14px}#imageZoomLevel{font-size:12px}}
.contact-list{grid-template-columns:minmax(0,1fr)}.contact-button{min-width:0;max-width:100%;overflow:hidden}.contact-button>.avatar,.contact-button>.count-badge{flex-shrink:0}
@media(max-width:640px){.contact-open .contact-heading{flex-wrap:wrap;row-gap:6px}.contact-open .contact-heading>.person-heading{flex:1;min-width:0}.contact-open .contact-heading>.row{flex:0 0 100%;width:100%;justify-content:flex-end;flex-wrap:wrap}.contact-open .contact-heading .person-heading .small{white-space:nowrap}.contact-open .contact-heading h1{max-width:calc(100vw - 132px)}}
