/* support-layout.css */
.support-chat-open #nav,.support-chat-open .helpfloat{display:none!important}.support-chat-open body{overflow:hidden;overscroll-behavior:none}.support-chat-panel{position:fixed;left:var(--support-left);top:var(--support-top);width:var(--support-width);height:var(--support-height);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e5edf7;border-radius:17px;box-shadow:0 5px 22px #17385c08;z-index:32;box-sizing:border-box}.support-chat-panel #chat{flex:1;min-height:0!important;max-height:none!important;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:18px 14px;scroll-padding-bottom:12px}.support-chat-panel .chat-composer{flex:none;margin:0!important;padding:12px 10px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e8eef7;background:#fff;position:relative!important;bottom:auto!important}.support-chat-panel .chat-compose-row{align-items:center}.support-chat-panel #chatInput{min-width:0;font-size:16px;min-height:44px;box-sizing:border-box}.support-chat-panel .chat-send{min-height:44px}.support-chat-panel .chat-attachments{max-height:150px;overflow:auto}.support-chat-panel .support-connection{flex:none;background:#fff7e9;color:#ad7536;padding:8px 12px;font-size:12px}.support-chat-panel .support-connection[hidden]{display:none}.support-ticket-link{margin-left:auto;border:0;border-radius:10px;background:#edf3ff;color:#4c70a4;font-size:12px;padding:9px 12px;cursor:pointer}.support-chat-open .pagebar h2{white-space:nowrap}.support-chat-open .pagebar{position:relative;z-index:33}.keyboard-open .support-chat-panel .chat-composer{padding-bottom:10px}

.support-chat-open .shell:not(.home-view) .support-chat-panel #chat{max-height:none!important;height:auto!important;flex:1 1 0!important;min-height:0!important}.support-chat-panel .support-ticket-action{display:inline-flex;vertical-align:top;margin-left:14px}.support-chat-panel .support-ticket-action svg{fill:none;stroke:currentColor;stroke-width:1.7}

.support-chat-panel .chat-attachments{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:16px}.support-chat-panel .chat-attachments>.chat-album{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:0 0 72px;margin:0!important;gap:7px}.support-chat-panel .chat-attachments>p{flex:0 0 100%;margin:0}



/* community-layout.css */
.community-chat-open body{overflow:hidden;overscroll-behavior:none}.community-chat-open #communityRoom[data-staff="0"]{position:fixed;top:var(--community-top);left:var(--community-left);width:var(--community-width);height:var(--community-height);display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:0;border:1px solid #e6edf7;border-radius:16px;overflow:hidden;background:white}.community-chat-open #communityRoom .community-messages-area{flex:1 1 0;min-height:0;overflow:hidden}.community-chat-open .shell:not(.home-view) #communityRoom #communityHistory{height:100%!important;min-height:0!important;max-height:none!important;box-sizing:border-box}.community-chat-open #communityComposer{flex:none;margin:0;padding:12px 10px;border-top:1px solid #e7edf5;background:white}.community-chat-open #communityText{font-size:16px}.community-chat-open #communityFeedback{flex:none;margin:0;padding:0 12px;font-size:12px;line-height:1.7}.community-chat-open #communityFeedback:not(:empty){padding-bottom:5px}.community-chat-open #communityStatus{flex:none;padding:8px 12px;font-size:12px;color:#8392a7}.community-chat-open #communityStatus:empty{display:none}.community-chat-open #communityPinned{flex:none;max-height:22%;overflow:auto}.community-chat-open #communityOlder{flex:none}.community-chat-open #communityRoom [hidden]{display:none!important}
.community-chat-open #main.shell:not(.home-view) #view #communityRoom[data-staff="0"]{height:var(--community-height)!important;min-height:0!important;max-height:none!important}


/* stable-header.css */
#main.shell:not(.auth-gate){overflow:visible}#main.shell:not(.auth-gate)>.top{position:sticky;top:0;z-index:45;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:1fr!important;align-items:center!important;gap:10px!important;height:calc(88px + env(safe-area-inset-top,0px))!important;min-height:calc(88px + env(safe-area-inset-top,0px))!important;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px!important;box-sizing:border-box;background:linear-gradient(110deg,#e4efff,#edf5ff)}#main.shell:not(.auth-gate)>.top>.brand{grid-column:1!important;grid-row:1!important;display:flex;align-items:center;gap:8px!important;min-width:0;max-width:100%;margin:0}#main.shell:not(.auth-gate)>.top .brand-mark{width:40px!important;height:38px!important;flex:0 0 40px}#main.shell:not(.auth-gate)>.top .brand-custom-copy{min-width:0;flex:1}#main.shell:not(.auth-gate)>.top .brand-custom-copy b{display:block;font-size:20px!important;line-height:1.4!important;letter-spacing:.02em!important;white-space:nowrap!important}#main.shell:not(.auth-gate)>.top .brand-custom-copy small{display:block;margin-top:4px!important;font-size:12px!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}#main.shell:not(.auth-gate)>.top .brand-wordmark{width:150px!important;height:40px!important;flex:0 1 150px}#main.shell:not(.auth-gate)>.top .header-actions{grid-column:2!important;grid-row:1!important;display:flex;gap:4px!important;align-items:center;margin:0}#main.shell:not(.auth-gate)>.top .header-actions button{min-width:36px!important;height:44px!important;min-height:44px!important;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 3px!important}#main.shell:not(.auth-gate)>.top .header-actions svg{width:21px!important;height:21px!important}#main.shell:not(.auth-gate)>.top .header-actions span{font-size:12px!important}.stable-home-search{padding:0 16px 12px;background:#edf5ff}.stable-home-search .home-search{display:flex!important;width:100%!important;max-width:none!important;margin:0!important;padding:10px 14px!important;box-sizing:border-box}.stable-home-search input{min-width:0;flex:1;font-size:16px!important}@media(max-width:360px){#main.shell:not(.auth-gate)>.top{padding-left:10px!important;padding-right:10px!important;gap:6px!important}#main.shell:not(.auth-gate)>.top .brand-custom-copy b{font-size:18px!important}#main.shell:not(.auth-gate)>.top .brand-custom-copy small{font-size:11px!important}}

#main.shell:not(.auth-gate)>.top{height:calc(104px + env(safe-area-inset-top,0px))!important;min-height:calc(104px + env(safe-area-inset-top,0px))!important;padding-right:26px!important}#main.shell:not(.auth-gate)>.top .brand-custom-copy b{font-size:25px!important;line-height:1.3!important;overflow:hidden;text-overflow:ellipsis}#main.shell:not(.auth-gate)>.top .brand-custom-copy small{font-size:16px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:47px}#main.shell:not(.auth-gate)>.top .header-actions{gap:6px!important}#main.shell:not(.auth-gate)>.top .header-actions span{max-width:72px;overflow-wrap:anywhere;line-height:1.4}@media(max-width:360px){#main.shell:not(.auth-gate)>.top .brand-custom-copy b{font-size:23px!important}#main.shell:not(.auth-gate)>.top .brand-custom-copy small{font-size:15px!important}#main.shell:not(.auth-gate)>.top{padding-right:20px!important}}

/* Longer localized brand names stay readable without changing the Chinese header. */
html:lang(en) #main.shell:not(.auth-gate)>.top{height:auto!important;min-height:104px!important}
html:lang(en) #main.shell:not(.auth-gate)>.top .brand-custom-copy b{white-space:normal!important;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
html:lang(en) #main.shell:not(.auth-gate)>.top .brand-custom-copy small{display:block!important;max-height:none!important;-webkit-line-clamp:unset;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
@media(max-width:480px){html:is(:lang(ja),:lang(ko)) #main.shell:not(.auth-gate)>.top .brand-custom-copy b{font-size:20px!important;line-height:1.2!important;white-space:normal!important;overflow:visible;text-overflow:clip}html:is(:lang(ja),:lang(ko)) #main.shell:not(.auth-gate)>.top .brand-custom-copy small{font-size:14px!important;line-height:1.35!important;max-height:38px}}
@media(max-width:360px){html:is(:lang(ja),:lang(ko)) #main.shell:not(.auth-gate)>.top .brand-custom-copy b{font-size:18px!important}html:is(:lang(ja),:lang(ko)) #main.shell:not(.auth-gate)>.top .brand-custom-copy small{font-size:12px!important;max-height:33px}}

/* Home brand mark: logical inset follows LTR/RTL without mirroring the artwork. */
#main.shell.home-view:not(.auth-gate)>.top .brand-mark{width:46px!important;height:44px!important;flex:0 0 46px;margin-inline-start:4px}

/* Complete localized brand copy; Chinese geometry remains the confirmed baseline. */
html:not(:lang(zh)) #main.shell:not(.auth-gate)>.top{height:auto!important;min-height:104px!important}
html:not(:lang(zh)) #main.shell:not(.auth-gate)>.top .brand-custom-copy b{white-space:normal!important;overflow:visible!important;text-overflow:clip;overflow-wrap:anywhere;word-break:normal}
html:not(:lang(zh)) #main.shell:not(.auth-gate)>.top .brand-custom-copy small{display:block!important;max-height:none!important;-webkit-line-clamp:unset!important;overflow:visible!important;text-overflow:clip;overflow-wrap:anywhere;word-break:normal}

/* customer-experience.css */
/* Keep the existing palette, with compact summaries and readable controls. */
[hidden]{display:none!important}
#view[data-customer-page="profile"] .profile-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0;padding:16px 4px}
.profile-metrics>button{min-width:0;background:transparent;color:#718098;border:0;padding:6px 2px;font-size:12px;overflow-wrap:anywhere}
.profile-metrics>button+button{border-left:1px solid #edf1f7}
.profile-metrics>button b{font-size:clamp(15px,4vw,20px);font-variant-numeric:tabular-nums}
.account .accountline{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.accountline>div{min-width:0}.accountline b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.asset-reference-date{display:block;font-size:11px;opacity:.85;margin-top:3px}
.customer-record{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:17px 0;border-bottom:1px solid #edf1f7}.customer-record>div{min-width:0}.customer-record strong{font-size:14px}.customer-record small,.customer-ticket small{display:block;font-size:11px;color:#8794a9;margin-top:6px}.customer-record>b{flex-shrink:0;font-size:14px;font-variant-numeric:tabular-nums;color:#294466}.customer-record>b.positive{color:#ef6548}.customer-record details{font-size:12px;margin-top:8px;color:#728198}.customer-record details p{overflow-wrap:anywhere}.customer-records+.btn{margin-top:16px}
.customer-ticket{padding:16px 0;border-bottom:1px solid #edf1f7}.customer-ticket summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer}.customer-ticket summary>span{min-width:0}.customer-ticket summary b{overflow-wrap:anywhere;font-size:14px}.customer-ticket em{font-size:11px;font-style:normal;background:#edf3ff;padding:5px 8px;border-radius:6px;white-space:nowrap;color:#5374bd}.customer-prewrap{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.ticket-reply{border-left:3px solid #d5e3ff;padding:4px 12px;background:#f6f9ff;margin:10px 0;border-radius:0 8px 8px 0}
.customer-guide article{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid #edf1f7}.customer-guide article>span{font-size:24px;font-weight:700;color:#a8b9ec}.customer-guide h4{margin:0 0 8px}.customer-guide p{font-size:13px;line-height:1.8;color:#7b89a0}.customer-guide .btn{font-size:12px;padding:9px 16px;min-height:38px}
.customer-payment-summary .row{display:flex!important;justify-content:space-between;align-items:flex-start;gap:14px;padding:10px 0}.customer-payment-summary .row>b{max-width:66%;text-align:right;overflow-wrap:anywhere}.customer-payment-summary>h1{margin:14px 0 18px}.customer-pay-action{position:sticky;bottom:calc(var(--app-nav-height,80px) + var(--app-safe-bottom,0px) + 24px);z-index:4;box-shadow:0 6px 20px #415ed82b}.customer-payment-actions{overflow:visible}.success-order-info{text-align:left;margin:20px 0}.success-order-info .row{display:flex!important;justify-content:space-between;gap:12px}.success-order-info .row b{max-width:65%;text-align:right}
.profile-identity-state{margin-left:auto;padding:0 12px;font-size:11px;color:#8597b6}.identity-approved-details summary{padding:14px 0;color:#5274c8;cursor:pointer}.identity-approved-details #identityForm{padding-top:8px}.quote-clock{font-size:13px;color:#4566ba}.customer-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:18px}.customer-pagination button:disabled{cursor:default}
.customer-invite-more{padding:16px;background:white;border:1px solid #e5ebf8;border-radius:12px;margin:12px 0}.customer-invite-more>summary{cursor:pointer;color:#5971a7}.withdrawal-destination{line-height:1.8}.withdrawal-destination strong{display:block;color:#2c466b}.withdrawal-destination small{display:block;color:#8192a8}.withdrawal-confirm{border:0;border-radius:20px;padding:24px;width:min(88vw,380px);color:#253e63}.withdrawal-confirm::backdrop{background:#182c4f70}.withdrawal-confirm .confirm-actions{display:flex;gap:12px;margin-top:24px}.withdrawal-confirm .confirm-actions button{flex:1}
.trade-news-card img{aspect-ratio:16/9;object-fit:cover}.customer-sensitive{border:1px solid #f1dedb!important}.customer-sensitive h3{color:#ac5c58}.investment-balance{font-size:12px;line-height:1.8}.choices button:disabled{cursor:default!important}
@media(max-width:360px){.customer-record>b{font-size:12px}.profile-identity-state{max-width:115px;font-size:10px;padding:0 4px}.customer-payment-summary .row>b{max-width:61%}}

.customer-invite-rules,.customer-invite-stats{padding:14px 0;color:#6179ad}.customer-invite-rules>summary,.customer-invite-stats>summary{cursor:pointer;font-size:13px}.customer-invite-rules .invite-tier-grid{margin-top:18px}.customer-danger-action{color:#a95b57!important;border:1px solid #f0d9d5!important;background:#fff9f8!important}.customer-danger-action::before{content:"⚠ ";}.invite-hero{padding-top:24px!important;padding-bottom:24px!important}.trade-news-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

#main.shell:not(.home-view) #view .account .accountline{grid-template-columns:repeat(2,minmax(0,1fr))!important}#main.shell:not(.home-view) #view[data-customer-page="profile"] .profile-metrics>button{display:flex;flex-direction:column;justify-content:center;gap:6px;border-bottom:0;font-size:12px}#main.shell:not(.home-view) #view .customer-payment-summary .row b{max-width:66%;text-align:right}#main.shell:not(.home-view) #view .profile-identity-state{font-size:11px}#main.shell:not(.home-view) #view .asset-reference-date{font-size:11px}#main.shell:not(.home-view) #view .customer-guide p{font-size:13px}

.announcement-date{display:block;font-size:12px;color:#8b99b0;font-weight:400;margin-top:6px}#platformAnnouncements>details{padding:16px 0;border-bottom:1px solid #edf1f7}#platformAnnouncements>details>summary{cursor:pointer}

#view button:disabled:not([aria-busy="true"]){cursor:default!important}

.customer-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.customer-empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:32px 16px;color:#74829a}.customer-empty strong{color:#35455e;font-size:16px}.customer-empty>span:not(.customer-empty-icon){font-size:13px;line-height:1.7;max-width:28em}.customer-empty-icon{display:grid;place-items:center;background:#edf3ff;color:#5475d8;border-radius:20px;width:62px;height:62px}.customer-empty-icon svg{width:28px;height:28px}.customer-empty button{margin-top:6px}

.phone-unavailable-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 14px}.phone-unavailable-actions button{flex:1;min-height:40px}

.customer-guide article>span{white-space:nowrap;flex-shrink:0;min-width:2ch}.customer-guide article>div{min-width:0;flex:1}

/* community-controls.css */
.community-mode-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #dce6f5;border-radius:12px;background:#f4f8ff;margin:12px 0}.community-mode-controls small{flex-basis:100%;color:#71839c}.community-mode-controls button:disabled{cursor:default;opacity:.45}

/* Community-only gutters: keep outgoing text and images against the right edge. */
#communityRoom #communityHistory{padding:10px 12px 18px!important;overflow-x:hidden}#communityRoom .conversation-message-row.outgoing{justify-content:flex-end;margin-left:0;margin-right:0}#communityRoom .conversation-message-row.outgoing>.conversation-message{margin-left:auto;align-items:flex-end}#communityMuteAll{background:#fff1f0;color:#b53737;border:1px solid #f0b9b5}#communityMuteAll:disabled{cursor:default}

/* Staff avatars are siblings of the bubble: keep them beside outgoing messages. */
#communityRoom[data-staff="1"] .conversation-message-row.outgoing>span[aria-hidden="true"]{order:2;margin-left:0;margin-right:0}#communityRoom[data-staff="1"] .conversation-message-row.outgoing>.conversation-message{order:1;margin-left:0}#communityRoom[data-staff="1"] .conversation-message-row.outgoing{justify-content:flex-end;gap:8px}

.support-context{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:6px 14px;padding:10px 0;color:#536783;font-size:13px;overflow-wrap:anywhere}

/* account-navigation.css */
#main.shell:not(.home-view)>.top{display:none!important}#main.shell:not(.home-view){padding-top:var(--app-safe-top,0px)}.bank-account-list{display:grid;gap:12px;margin-bottom:18px}.bank-account-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border:1px solid #dfe7f4;border-radius:16px;background:linear-gradient(120deg,#fff,#f1f6ff)}.bank-account-card strong,.bank-account-card small{display:block}.bank-account-card small{margin-top:8px;color:#738098}.bank-list-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.bank-list-heading h3{margin:0}#noticeTargetDetail summary{cursor:pointer;font-weight:600}#withdrawalBankSelect{width:100%;margin:12px 0}.bank-editor-toggle{margin-bottom:12px}
/* china-sms.css */
.china-sms-entry{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #e4eaf5}.china-sms-entry button{border:0;background:transparent;color:#4268cf;padding:6px 0;font-size:14px}.china-sms-dialog{width:min(430px,calc(100vw - 24px));box-sizing:border-box;border:0;border-radius:22px;padding:24px;max-height:90dvh;overflow:auto;color:#263854;box-shadow:0 18px 80px #10234440}.china-sms-dialog::backdrop{background:#12203b66}.china-sms-dialog label{display:block;margin:15px 0 7px;font-weight:600}.china-sms-dialog .field{width:100%;box-sizing:border-box}.china-sms-dialog .phone-code{display:flex;gap:10px}.china-sms-dialog .phone-code input{min-width:0;flex:1}.china-sms-dialog .phone-code button{white-space:nowrap;padding:10px;border:1px solid #d9e3f6;background:#eef4ff;border-radius:12px;color:#3e62c5}.china-sms-dialog .btn{width:100%;margin-top:12px}.china-sms-dialog button:disabled{opacity:.5;cursor:default}

/* project-status-visibility.css */
.home-project .photo>.tag{font-size:16px!important;font-weight:800;line-height:1.25;padding:8px 14px!important;letter-spacing:.5px;color:#fff!important;background:linear-gradient(110deg,#df5b15,#c5430b)!important;border-radius:0 0 14px 0!important;border-right:1px solid #ffffff60;border-bottom:1px solid #ffffff60;box-shadow:0 3px 10px #44200940;text-shadow:0 1px 1px #6a260d40;white-space:nowrap}
@media(max-width:420px){.home-project .photo>.tag{font-size:14px!important;padding:7px 10px!important;border-radius:0 0 11px 0!important}}

.home-project .photo>.tag.project-phase-pending{background:linear-gradient(110deg,#3674dd,#2456af)!important}
.home-project .photo>.tag.project-phase-paused,.home-project .photo>.tag.project-phase-ended{background:linear-gradient(110deg,#758296,#526075)!important}
.home-project .photo>.tag.project-phase-full{background:linear-gradient(110deg,#168273,#0b6357)!important}

/* project-gallery.css */
.project-media{position:relative;width:100%;aspect-ratio:272/147;overflow:hidden;background:#e7edf5;border-radius:12px;touch-action:pan-y}.project-media .project-media-slide{display:none;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.project-media .project-media-slide.is-current{display:block}.photo>.project-media{position:absolute;inset:0;height:100%;aspect-ratio:auto;border-radius:inherit}.project-media-controls{position:absolute;bottom:8px;right:8px;display:flex;align-items:center;gap:4px;color:white;background:#102f50b8;border-radius:18px;padding:2px 4px;z-index:5}.project-media-controls button{border:0;background:transparent;color:white;width:32px;height:30px;min-height:30px;padding:0;font-size:23px;cursor:pointer}.project-media-controls output{font-size:12px;min-width:38px;text-align:center;font-variant-numeric:tabular-nums}.project-image-stack{display:flex;flex-direction:column;gap:10px}.project-image-stack img{display:block;width:100%;height:auto;max-width:100%;border-radius:10px}.project-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 12px}.project-gallery-heading span{font-size:13px;white-space:nowrap;color:#c65019}.project-detail-gallery .project-image-stack{padding:0 10px 10px}.native-project-card>.project-media{margin-bottom:14px}
.cms-guide-body{color:#65758e;line-height:1.9;overflow-wrap:anywhere}.cms-guide-body h4{font-size:1.08em;color:#243b5a;line-height:1.65;margin:28px 0 12px}.cms-guide-body p{margin:0 0 18px}.cms-guide-body strong{color:#304c70}#nativeAssetUsdReference{display:block;color:#deebff;font-size:14px;line-height:1.6;margin:-3px 0 16px;font-weight:400}.asset-chart>div{max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

.card .stats>div>small{display:block;line-height:1.5;text-wrap:balance;overflow-wrap:anywhere}.card .photo>strong{right:12px;line-height:1.45;overflow-wrap:anywhere}

/* locale-parity.css */
.message-sound-settings{border:1px solid #e6edf9;background:linear-gradient(140deg,#fff,#f5f8ff);padding:18px!important}.message-sound-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.message-sound-heading>svg{width:24px;height:24px;color:#426cf1}.message-sound-heading h3{margin:0!important;font-size:17px!important}.message-sound-controls{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}.message-sound-controls button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:52px;border-radius:13px;padding:12px;font-size:14px!important;font-weight:600;line-height:1.45;transition:background .2s}.message-sound-toggle{border:1px solid #dce6fb;background:#fff;color:#486080}.message-sound-toggle.is-on{background:#edf3ff;color:#285ee5;border-color:#c5d5ff}.sound-switch{flex-shrink:0;width:34px;height:20px;border-radius:20px;background:#cad4e4;padding:3px}.sound-switch i{display:block;width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #172e4930;transition:transform .2s}.is-on .sound-switch{background:#4579f6}.is-on .sound-switch i{transform:translateX(14px)}.message-sound-test{border:1px solid #cfddff;background:#eaf1ff;color:#285ee5}.message-sound-test:hover{background:#dce8ff}.message-sound-test svg{width:20px;height:20px;flex-shrink:0}.message-sound-settings>p{margin:14px 0 0;font-size:12px!important;line-height:1.7;color:#7c8ba3}
html:lang(ja) .home-shortcuts b,html:lang(ko) .home-shortcuts b{text-wrap:balance;font-size:clamp(13px,3.6vw,17px)!important;line-height:1.65;min-height:3.3em;display:flex;align-items:center;justify-content:center}html:lang(ja) #nav button,html:lang(ko) #nav button{font-size:clamp(11px,3.4vw,16px)!important;padding-inline:2px;line-height:1.45;word-break:keep-all;overflow-wrap:normal!important}html:lang(ja) #nav button>span,html:lang(ko) #nav button>span{white-space:nowrap}html:lang(ja) .home-shortcuts small,html:lang(ko) .home-shortcuts small{text-wrap:balance;font-size:clamp(11px,3.1vw,14px)!important}
.native-request-detail .row{align-items:flex-start}.native-request-detail .row b{overflow-wrap:anywhere}.native-request-detail h4{margin-top:24px}.request-record summary{cursor:pointer;padding:12px 0}.request-record+.request-record{border-top:1px solid #edf1f7}.payment-summary h1{font-variant-numeric:tabular-nums}.quote-clock{font-variant-numeric:tabular-nums;line-height:1.6}
@media(max-width:350px){.message-sound-controls{gap:8px}.message-sound-controls button{padding:10px 8px;font-size:12px!important;gap:6px}}
html:lang(ja) .message-sound-controls,html:lang(ko) .message-sound-controls{grid-template-columns:repeat(2,minmax(0,1fr))}html:lang(ja) .message-sound-test>span,html:lang(ko) .message-sound-test>span,html:lang(ja) [data-sound-label],html:lang(ko) [data-sound-label]{white-space:nowrap;word-break:keep-all}

/* Money forms grow with translated labels and actions. */
#view form .btn,#view .request-record summary,#view [data-native-request-history] label{white-space:normal;height:auto;overflow-wrap:anywhere;line-height:1.55}
#view form label,#view form .muted{overflow-wrap:anywhere}

#view .panel:has(#requestAmount)>.btn{white-space:normal;height:auto;overflow-wrap:anywhere;line-height:1.55}

/* responsive-images.css */
img[data-public-original]{max-width:100%}img[data-public-original]:not([data-public-loaded]){background-color:#eef2f7}img[data-public-failed]{object-fit:contain;background:linear-gradient(135deg,#eef2f7,#e3eaf3)}.public-image-retry{position:relative;z-index:6;padding:8px 12px;border-radius:8px;white-space:normal}.project-image-stack img[data-public-original]{height:auto;cursor:zoom-in}.reference-crop>img.public-crop{width:100%;height:100%;left:0;top:0;object-fit:fill}.banner-slides>div>img[data-public-src]{visibility:hidden}

#communityHistory [data-community-image]{inline-size:min(190px,48vw);aspect-ratio:19/20;display:grid;place-items:center;overflow:hidden}#communityHistory [data-community-image] img{max-inline-size:100%;max-block-size:200px;object-fit:contain}
