/* homepage.css */
/* Home proportions follow the supplied reference; other screens retain their layout. */
.shell{max-width:860px}.nav{max-width:860px}.shell .top{padding:20px 18px;gap:18px;background:linear-gradient(110deg,#e0efff,#eef6ff);min-height:91px}.brand{gap:9px;flex:none}.brand-mark{width:58px;height:58px;color:#0064d9;display:grid;place-items:center;transform:rotate(-14deg)}.brand-mark svg{width:100%;height:100%}.brand b{font-family:Georgia,"Songti SC","SimSun",serif;font-size:28px;color:#10254a;letter-spacing:2px;white-space:nowrap}.brand small{font-size:10px;letter-spacing:2px;color:#69788c;margin-top:5px;white-space:nowrap}.home-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:#f1f7ff;border:1px solid #cbdcee;border-radius:30px;padding:10px 13px;box-shadow:inset 0 1px 3px #163d5a08}.home-search svg{width:22px;height:22px;color:#98a4b0;flex:none}.home-search input{width:100%;min-width:0;border:0;background:none;outline:none;font-size:15px;color:#254361}.header-actions{display:flex;gap:16px;flex:none}.header-actions button{position:relative;padding:0;background:none;border:0;display:flex;gap:5px;align-items:center;color:#1c2937;white-space:nowrap}.header-actions svg{height:26px;width:26px}.header-actions i{position:absolute;width:8px;height:8px;background:#ff514b;border:1px solid white;border-radius:50%;top:4px;right:0}.header-actions span{font-size:14px}.warning{font-size:10px;padding:5px 15px;background:#eff6ff;color:#657d97;border:0;text-align:center}.content{padding:0 14px 14px}.shell{background:linear-gradient(#e6f1ff,#f6f9fd 38%,#f7f9fc);box-shadow:none}.shell.home-view .helpfloat{display:none}.home-hero.hero{height:auto;aspect-ratio:3.36;border-radius:20px;padding:0;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#073a65d4 0%,#0630521c 66%,#132c532b),url('/static/images/port.jpg') center 54%/cover;margin-bottom:13px}.hero-copy{padding:25px 32px;min-width:0}.home-hero h1{font-size:clamp(20px,4.55vw,40px);line-height:1.27;letter-spacing:1px;margin:0 0 15px;text-shadow:0 2px 6px #14294b55}.home-hero p{font-size:clamp(9px,1.9vw,17px);line-height:1.65;letter-spacing:.5px;margin:0;color:#f1f6ff}.hero-assurance{width:23%;flex:none;border:1px solid #ffffff8a;background:linear-gradient(135deg,#ffffff36,#243450a8);backdrop-filter:blur(7px);border-radius:15px;padding:14px 17px;margin-right:25px;box-shadow:0 3px 15px #1723331a}.hero-assurance>div{display:flex;align-items:center;gap:12px;padding:8px 0;white-space:nowrap;font-size:clamp(8px,1.85vw,16px);font-weight:600;color:#fff}.hero-assurance svg{width:25px;height:25px;flex:none}.hero-dots{position:absolute;bottom:13px;left:50%;display:flex;gap:9px;transform:translateX(-50%)}.hero-dots i{width:8px;height:8px;border-radius:50%;background:#ffffff66}.hero-dots .active{background:white}.home-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-radius:18px;padding:16px 8px 13px;gap:3px;margin-bottom:13px}.home-shortcuts button{padding:0 2px;border:0;background:none;display:flex;flex-direction:column;align-items:center;min-width:0;color:#202b3b}.home-shortcuts i{width:61px;height:61px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ffba70,#ff7939);box-shadow:inset 0 2px 3px #ffffff66;margin-bottom:10px;color:white}.home-shortcuts i svg{width:29px;height:29px}.home-shortcuts button:nth-child(2) i{background:linear-gradient(135deg,#00a2ff,#0063ff)}.home-shortcuts button:nth-child(3) i{background:linear-gradient(135deg,#05d6a5,#00a67d)}.home-shortcuts button:nth-child(4) i{background:linear-gradient(135deg,#b881ff,#663bff)}.home-shortcuts button:nth-child(5) i{background:linear-gradient(135deg,#ffad78,#ff6440)}.home-shortcuts b{font-size:18px;font-weight:600;margin-bottom:4px;white-space:nowrap}.home-shortcuts small{font-size:14px;color:#78818e;white-space:nowrap}.home-announcement{display:flex;align-items:center;gap:12px;text-align:left;background:linear-gradient(90deg,#e0efff,#edf5ff);border:0;border-radius:14px;width:100%;padding:11px 20px;color:#344155;font-size:15px}.home-announcement svg{color:#0678ff;width:26px;height:26px;flex:none}.home-announcement span{flex:1}.home-announcement b{color:#006bff;font-size:21px}.home-announcement strong{font-size:27px;font-weight:400;color:#0879ff}.home-section-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 4px 14px}.home-section-heading h2{font-size:24px;color:#101c2c;margin:0;border-left:5px solid #006aff;padding-left:12px;line-height:1.1}.home-section-heading h2 span{font-size:10px;color:#6983a0;font-weight:400;margin-left:9px;vertical-align:middle}.home-section-heading button{border:0;background:none;color:#697787;font-size:14px;padding:0}.home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.home-project{border-radius:12px;margin:0;box-shadow:0 3px 15px #55739208;min-width:0}.home-project .photo{height:auto;aspect-ratio:1.82}.home-project .photo strong{font-size:clamp(10px,2.05vw,18px);bottom:32px;left:12px;right:6px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-project .tag{padding:5px 11px;font-size:14px;border-radius:0 0 11px 0}.home-project .status-1{background:#00ba8d}.home-project .status-2{background:#0783ff}.project-location{display:flex;position:absolute;z-index:3;left:10px;right:6px;bottom:7px;align-items:center;justify-content:space-between;gap:3px;color:white;font-size:13px}.project-location span{display:flex;gap:3px;align-items:center;white-space:nowrap}.project-location svg{width:13px;height:13px}.project-location span:last-child{color:#a1f1df}.home-project-body{padding:9px 13px 14px}.project-amount{font-size:34px;color:#ff401f;font-weight:750;line-height:1.2}.project-amount small{font-size:19px}.project-progress{display:flex;align-items:center;gap:7px;margin-top:2px}.project-progress>span{height:9px;background:#ebeff4;border-radius:10px;flex:1;overflow:hidden}.project-progress i{height:100%;display:block;background:linear-gradient(90deg,#ff9f66,#ff4934);border-radius:10px}.project-progress small{font-size:11px;color:#748092}.home-project:nth-child(2) .project-progress i{background:linear-gradient(90deg,#00d6aa,#00a88e)}.home-project:nth-child(3) .project-progress i{background:linear-gradient(90deg,#00b9ff,#0070ff)}.amount-caption{font-size:11px;color:#7f8a99;margin-top:4px}.project-metrics{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:3px;margin:15px 0 13px}.project-metrics>div{display:flex;flex-direction:column;white-space:nowrap;gap:4px}.project-metrics b{font-size:18px;color:#151f2a}.project-metrics>div:first-child b{color:#ff401f}.project-metrics b small{font-size:12px}.project-metrics span{font-size:11px;color:#7f8793}.home-project .btn{padding:9px 2px;font-size:16px;min-height:41px;border-radius:8px;background:linear-gradient(100deg,#1688ff,#0062ff)}.home-partners{margin-top:20px;padding:12px 8px 10px;border-radius:16px;background:linear-gradient(#f0f6fc,#ffffff99)}.partners-heading{display:flex;align-items:center;gap:10px;color:#2b3645;font-size:15px;margin:0 2px 13px}.partners-heading svg{width:25px;height:25px;flex:none;color:#ffb300}.partners-heading b{white-space:nowrap}.partners-heading>span{font-size:12px;color:#7b8593;border-left:1px solid #a3aab3;padding-left:10px;flex:1}.partners-heading button{border:0;background:none;color:#3c4653;font-size:12px;white-space:nowrap;padding:0}.partner-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.partner-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;background:white;border-radius:9px;min-height:61px;box-shadow:0 1px 7px #47759e07;overflow:hidden}.partner-logo small{font-size:12px;color:#2f5463;font-weight:bold}.partner-logo b{font-size:19px;font-style:italic;color:#008c9a;line-height:1.1}.partner-1 b{color:#00a9ef;font-family:Georgia,serif}.partner-2 b{color:#e60020;font-style:normal}.partner-3 b{color:#e4252f;font-size:16px;font-style:normal}.partner-4 b,.partner-5 b{color:#12427d;font-size:16px}.home-disclaimer{font-size:10px;text-align:center;color:#8293a9;margin:10px 0 0}.home-view .footer{display:none}.home-view~.helpfloat{display:none}.nav{padding:10px 0 max(10px,env(safe-area-inset-bottom));box-shadow:0 -3px 14px #43678f05}.nav button{font-size:14px;color:#677787}.nav b{display:block;height:30px;margin-bottom:5px}.nav svg{width:27px;height:27px}.nav .on svg{fill:#006aff18;stroke:#006aff}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.home-hero.hero{background-size:cover,112% 100%;background-position:center,right center;background-image:linear-gradient(90deg,#073a65ee 0%,#073a6590 37%,#06305200 68%,#132c532b),url('/static/images/port.jpg')}.home-project .photo{background-size:135% auto;background-position:center bottom}
@media(min-width:768px){.shell{margin:0 auto;min-height:100dvh;border-radius:0}}
@media(max-width:600px){.shell .top{min-height:65px;padding:12px 10px;gap:8px}.brand-mark{width:32px;height:36px}.brand{gap:4px}.brand b{font-size:16px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:.6px;margin-top:3px}.home-search{padding:7px;gap:3px}.home-search svg{height:15px;width:15px}.home-search input{font-size:10px}.header-actions{gap:7px}.header-actions svg{height:19px;width:19px}.header-actions span{font-size:9px}.header-actions i{width:5px;height:5px;top:6px}.warning{font-size:8px;padding:4px 8px}.content{padding:0 7px 10px}.home-hero.hero{border-radius:11px;margin-bottom:7px;aspect-ratio:3.1}.hero-copy{padding:12px 13px}.home-hero h1{font-size:21px;margin-bottom:8px;letter-spacing:0}.home-hero p{font-size:8px;letter-spacing:0;line-height:1.6}.hero-assurance{width:24%;padding:5px 7px;margin-right:11px;border-radius:9px}.hero-assurance>div{padding:4px 0;gap:4px;font-size:8px}.hero-assurance svg{height:14px;width:14px}.hero-dots{gap:5px;bottom:7px}.hero-dots i{width:4px;height:4px}.home-shortcuts{border-radius:10px;padding:10px 3px;margin-bottom:7px}.home-shortcuts i{width:34px;height:34px;margin-bottom:6px}.home-shortcuts i svg{width:19px;height:19px}.home-shortcuts b{font-size:11px;margin-bottom:3px}.home-shortcuts small{font-size:8px}.home-announcement{border-radius:8px;padding:5px 9px;gap:7px;font-size:9px;min-height:30px}.home-announcement svg{width:17px;height:17px}.home-announcement b{font-size:13px}.home-announcement strong{font-size:20px}.home-section-heading{margin:13px 2px 8px}.home-section-heading h2{font-size:15px;padding-left:7px;border-left-width:3px}.home-section-heading h2 span{font-size:7px;margin-left:5px}.home-section-heading button{font-size:9px;min-height:24px}.home-project-grid{gap:6px}.home-project{border-radius:7px}.home-project .photo{aspect-ratio:1.7}.home-project .photo strong{font-size:9px;left:5px;bottom:20px}.home-project .tag{font-size:8px;padding:3px 6px;border-radius:0 0 6px 0}.project-location{font-size:7px;left:4px;right:4px;bottom:5px;gap:1px}.project-location svg{width:8px;height:8px}.project-location span{gap:1px}.home-project-body{padding:5px 7px 8px}.project-amount{font-size:23px}.project-amount small{font-size:11px}.project-progress{gap:3px}.project-progress>span{height:5px}.project-progress small{font-size:7px}.amount-caption{font-size:7px;margin-top:3px}.project-metrics{gap:1px;margin:8px 0}.project-metrics b{font-size:10px}.project-metrics b small{font-size:7px}.project-metrics span{font-size:6px}.project-metrics>div{gap:3px}.home-project .btn{font-size:10px;min-height:28px;padding:5px 0;border-radius:5px}.home-partners{margin-top:11px;padding:7px 3px;border-radius:9px}.partners-heading{gap:5px;font-size:9px;margin-bottom:7px}.partners-heading svg{width:16px;height:16px}.partners-heading>span{font-size:7px;padding-left:5px}.partners-heading button{font-size:8px;min-height:22px}.partner-logos{gap:5px}.partner-logo{min-height:35px;border-radius:5px}.partner-logo small{font-size:7px}.partner-logo b{font-size:11px}.partner-3 b,.partner-4 b,.partner-5 b{font-size:8px}.home-disclaimer{font-size:7px;margin-top:7px}.nav button{font-size:10px}.nav b{height:24px}.nav svg{height:23px;width:23px}.home-view{padding-bottom:85px}.home-view .warning{font-size:7px}.home-view .content{padding-top:0}}
@media(max-width:360px){.home-hero h1{font-size:18px}.home-hero p{font-size:7px}.hero-assurance>div{font-size:7px;gap:3px}.hero-assurance svg{width:12px;height:12px}.brand b{font-size:14px}.brand small{font-size:5px}.brand-mark{width:28px}.home-search input{font-size:9px}.header-actions span{display:none}.home-project .photo strong{font-size:8px}.project-amount{font-size:20px}.project-metrics b{font-size:9px}.project-metrics span{font-size:5.5px}}

/* workflows.css */
.shell:not(.home-view){max-width:440px;background:#f6f8fc}.shell:not(.home-view) .content{padding:14px}.shell:not(.home-view) .nav{max-width:440px}.shell:not(.home-view) .home-search{display:none}.shell:not(.home-view) .top{min-height:70px;padding:13px}.shell:not(.home-view) .brand b{font-size:21px}.shell:not(.home-view) .brand-mark{width:38px;height:38px}.shell:not(.home-view) .brand small{font-size:7px}.shell:not(.home-view) .header-actions{gap:12px}.shell:not(.home-view) .header-actions svg{width:21px;height:21px}.shell:not(.home-view) .header-actions span{font-size:11px}.shell:not(.home-view) .warning{font-size:10px;padding:7px}.shell:not(.home-view) .helpfloat{right:12px}.return-number{color:#fa453e}.payment-summary>h1{font-size:34px;text-align:center;margin:16px 0 24px}.payment-summary>small{display:block;text-align:center;color:#7d8ca2}.payment-option{display:flex;justify-content:space-between;padding:15px 10px;background:#f5f9ff;border:1px solid #dce7fb;border-radius:9px;margin-bottom:10px;color:#1670ea}.payment-summary .row b{max-width:65%}.profile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-radius:12px;margin-bottom:13px;padding:15px 3px;text-align:center}.profile-metrics div{font-size:11px;color:#7789a0}.profile-metrics b{display:block;color:#1d3553;font-size:19px;margin-bottom:8px}.asset-chart{width:145px;height:145px;border-radius:50%;background:conic-gradient(#096bff 0 60%,#ffc552 60% 80%,#40cfbf 80%);display:grid;place-items:center;margin:0 auto 14px}.asset-chart>div{display:grid;place-items:center;background:white;border-radius:50%;width:110px;height:110px;font-size:14px;color:#204977}.shell:not(.home-view) .btn+.btn{margin-top:10px}.test-environment{font-size:10px;color:#617f9b;text-align:center;padding:6px 10px;background:#edf5ff}.shell:not(.home-view) .project-location{position:static}.shell:not(.home-view) .footer{font-size:10px;color:#8d9bae}

.project-controls{display:flex;gap:12px;margin-top:12px}.project-controls label{flex:1;min-width:0;font-size:12px;color:#61758c}.project-controls select{display:block;width:100%;padding:9px 3px;border:1px solid #dce7fb;border-radius:7px;background:#fff;color:#24486a;margin-top:5px}.order-details{padding-top:14px;color:#096bff}.order-details summary{cursor:pointer}.request-record{padding-bottom:12px}.request-record small{overflow-wrap:anywhere;display:block}

/* home-exact.css */
.reference-crop{position:relative;display:block;width:100%;overflow:hidden;isolation:isolate}.reference-crop>img{position:absolute;max-width:none;height:auto;display:block;user-select:none}.reference-hero.hero{background:none;aspect-ratio:825/245}.reference-hero>.reference-crop{height:100%;width:100%}.home-project .photo{aspect-ratio:272/147;background:none;overflow:hidden}.home-project .photo>.reference-crop{height:100%}.project-cover{width:100%;height:100%;object-fit:cover}.brand-mark{transform:none!important;overflow:hidden}.brand-mark>.reference-crop{width:100%}.home-view .warning,.home-view .footer,.home-view .home-disclaimer{display:none}.home-view .top{min-height:120px;position:relative;padding-top:40px;padding-bottom:14px;gap:18px}.home-view .brand-mark{width:66px;height:57px}.home-view .brand b{font-weight:700;font-size:28px;letter-spacing:2px}.home-view .brand small{font-size:10px;letter-spacing:2px}.home-view .home-search{max-width:330px;margin-left:auto}.home-view .header-actions{gap:23px}.home-view .home-hero{margin-bottom:12px}.home-view .home-shortcuts{min-height:140px;padding:13px 8px 12px;margin-bottom:12px}.home-view .home-shortcuts i{width:62px;height:62px;margin-bottom:10px}.home-view .home-announcement{min-height:52px;padding:8px 20px}.home-view .home-section-heading{margin:20px 4px 14px}.home-view .home-project-grid{margin-left:5px;grid-template-columns:272fr 260fr 260fr;gap:14px}.home-project-body{height:211px;display:grid;grid-template-rows:42px 32px minmax(0,1fr)44px;padding:8px 14px 15px}.project-amount{font-size:35px;align-self:center}.project-amount small{font-size:20px}.funding-line{display:grid;grid-template-columns:85px minmax(0,1fr);gap:20px}.amount-caption{margin:0;display:flex;flex-direction:column;gap:5px;font-size:12px}.amount-caption>i{display:block;height:9px;width:78px;border-radius:7px;background:linear-gradient(90deg,#ffbd8a,#ff9568)}.project-progress{margin-top:0;gap:6px;align-self:start}.project-progress>span{height:9px}.project-progress small{font-size:11px}.project-metrics{margin:13px 0 11px;grid-template-columns:1.3fr 1fr 1fr}.project-metrics b{font-size:18px}.project-metrics span{font-size:11px}.home-project .btn{height:44px;min-height:0;padding:8px 1px;font-size:17px}.home-view .home-partners{margin-top:18px;padding:12px 15px 15px}.home-view .partners-heading{min-height:30px;margin:0 0 12px;gap:12px}.home-view .partners-heading>span{font-size:14px}.home-view .partners-heading b{font-size:16px}.home-view .partners-heading button{font-size:13px}.home-view .partner-logos{gap:14px}.home-view .partner-logo{padding:0;min-height:0;aspect-ratio:122/66}.partner-logo>.reference-crop{height:100%;width:100%}.home-view .nav{height:105px;padding:10px 0 25px}.home-view .nav button{font-size:16px}.home-view .nav b{height:32px;margin-bottom:5px}.home-view .nav svg{width:29px;height:29px}.home-view .nav .on svg{fill:#006aff;stroke:#006aff}.home-view .nav:after{content:'';position:absolute;bottom:13px;left:50%;transform:translateX(-50%);width:240px;height:7px;border-radius:9px;background:#111}.home-view{padding-bottom:105px}.home-status{position:absolute;top:0;left:0;right:0;pointer-events:none;height:auto}.shell:not(.home-view) .home-status{display:none}
.reference-photo:after{display:none!important}.brand-wordmark{width:195px;height:50px}.brand-wordmark>.reference-crop{height:100%}.home-view .top{display:grid;grid-template-columns:306px 330px minmax(0,1fr);gap:14px;padding:50px 20px 13px 30px}.home-view .home-search{width:330px;margin:0}.home-view .header-actions{justify-content:flex-end}.home-view .home-section-heading{margin-top:18px}.home-view .home-section-heading button{min-height:28px}.home-view .home-shortcuts i>.reference-crop{height:100%}
@media(max-width:600px){.home-view .top{display:flex;min-height:55px;padding:19px 10px 7px;gap:7px}.brand-wordmark{width:89px;height:23px}.home-view .brand-mark{width:30px;height:27px}.home-view .brand b{font-size:14px;letter-spacing:1px}.home-view .brand small{font-size:5px;letter-spacing:1px}.home-view .header-actions{gap:8px}.home-view .home-search{width:auto;max-width:none;margin-left:3px;padding:5px 7px}.home-view .header-actions svg{height:17px;width:17px}.home-view .header-actions span{font-size:9px}.home-view .home-hero{margin-bottom:6px;aspect-ratio:825/245}.home-view .home-shortcuts{min-height:64px;padding:6px 3px;margin-bottom:6px}.home-view .home-shortcuts i{height:28px;width:28px;margin-bottom:5px}.home-view .home-shortcuts i svg{width:17px;height:17px}.home-view .home-shortcuts b{font-size:9px;margin-bottom:2px}.home-view .home-shortcuts small{font-size:7px}.home-view .home-announcement{min-height:24px;padding:4px 9px;font-size:7px;gap:6px}.home-view .home-announcement svg{width:14px;height:14px}.home-view .home-announcement b{font-size:11px}.home-view .home-section-heading{margin:9px 2px 7px}.home-view .home-section-heading h2{font-size:13px}.home-view .home-section-heading button{font-size:8px;min-height:16px}.home-view .home-project-grid{margin-left:2px;gap:6px}.home-view .home-project-body{height:99px;padding:4px 6px 7px;grid-template-rows:20px 15px minmax(0,1fr)21px}.project-amount{font-size:19px}.project-amount small{font-size:10px}.funding-line{grid-template-columns:35px minmax(0,1fr);gap:9px}.amount-caption{font-size:6px;gap:2px}.amount-caption>i{width:34px;height:4px}.project-progress{gap:3px}.project-progress>span{height:4px}.project-progress small{font-size:6px}.project-metrics{margin:6px 0 5px;gap:1px}.project-metrics b{font-size:9px}.project-metrics b small{font-size:7px}.project-metrics span{font-size:5.5px}.home-project .btn{font-size:9px;height:21px;min-height:0;padding:3px 0;border-radius:4px}.home-view .home-partners{margin-top:9px;padding:6px 7px 7px}.home-view .partners-heading{min-height:15px;margin-bottom:6px;gap:5px}.home-view .partners-heading b{font-size:8px}.home-view .partners-heading>span{font-size:6px;padding-left:5px}.home-view .partners-heading button{font-size:7px;min-height:15px}.home-view .partner-logos{gap:6px}.home-view .nav{height:64px;padding:8px 0 15px}.home-view .nav button{font-size:10px;min-height:0}.home-view .nav b{height:23px;margin-bottom:2px}.home-view .nav svg{width:22px;height:22px}.home-view .nav:after{width:110px;height:4px;bottom:5px}.home-view{padding-bottom:65px}}
@media(max-width:360px){.home-view .brand b{font-size:12px}.home-view .brand-mark{width:26px;height:24px}.home-view .brand small{font-size:4px}.home-view .home-search input{font-size:8px}.home-view .header-actions{gap:5px}.home-view .top{gap:5px}.home-view .home-announcement{font-size:6px}.home-view .project-metrics b{font-size:8px}.home-view .project-metrics span{font-size:5px}.home-view .funding-line{grid-template-columns:29px minmax(0,1fr);gap:6px}.home-view .amount-caption>i{width:29px}}
@media(min-width:601px) and (max-width:850px){.home-view .top{grid-template-columns:minmax(220px,1fr) minmax(150px,1.2fr) 110px;gap:12px;padding-left:20px;padding-right:20px}.home-view .brand-mark{width:50px;height:44px}.home-view .brand-wordmark{width:160px;height:41px}.home-view .home-search{width:100%}.home-view .header-actions{gap:13px}}
/* User-requested emphasis: ticker icon/count and partner heading only. */
#main.home-view .home-announcement>svg{width:22px;height:22px;flex:0 0 22px}
#main.home-view .home-announcement .announcement-copy>b{font-size:20px;font-weight:700;line-height:1.2}
#main.home-view #homePartners .partners-heading>b{font-size:18px;line-height:1.5;white-space:normal}

/* home-carousel.css */
.home-view .top{min-height:80px;padding-top:calc(16px + env(safe-area-inset-top,0px))}.home-view .nav:after{display:none}.home-view .nav{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));height:auto;min-height:76px}.home-view{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
.home-view .trade-carousel{padding:0;height:auto;aspect-ratio:825/245;background:#072c50;touch-action:pan-y}.banner-slides,.banner-slide{position:absolute;inset:0}.banner-slide{opacity:0;transition:opacity .65s ease;pointer-events:none}.banner-slide.active{opacity:1}.banner-slide img{width:100%;height:100%;object-fit:cover;display:block}.banner-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:3% 4%;background:linear-gradient(90deg,#031c4340,transparent 75%)}.trade-carousel .banner-copy h1{font-size:clamp(17px,4vw,38px);line-height:1.35;color:#fff;margin:0 0 12px;letter-spacing:1px}.trade-carousel .banner-copy p{font-size:clamp(8px,1.6vw,16px);margin:0;color:#e5f3ff}.banner-dots{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);display:flex;gap:2px}.banner-dots button{border:0;min-height:24px;width:24px;padding:0;background:transparent;display:grid;place-items:center}.banner-dots button:after{content:'';height:7px;width:7px;border-radius:50%;background:#ffffff70}.banner-dots button[aria-pressed=true]:after{background:white;width:17px;border-radius:6px}.banner-pause{position:absolute;bottom:8px;right:12px;min-height:26px;width:30px;border:0;border-radius:5px;background:#06244280;color:#fff}.trade-carousel:focus-visible{outline:3px solid #0875ed;outline-offset:3px}
@media(max-width:600px){.home-view .top{min-height:51px;padding-top:calc(9px + env(safe-area-inset-top,0px))}.home-view .nav{min-height:59px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}.home-view{padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))}.banner-copy{padding-bottom:16px}.trade-carousel .banner-copy h1{margin-bottom:5px}.banner-dots{bottom:0}.banner-dots button{width:20px;min-height:20px}.banner-dots button:after{width:5px;height:5px}.banner-dots button[aria-pressed=true]:after{width:12px}.banner-pause{bottom:3px;right:6px;min-height:20px;width:24px;font-size:10px}}
.original-banner>.reference-crop{height:100%}.original-banner>.reference-crop>img{height:auto;width:auto}.trade-carousel:has(.original-banner.active) .banner-dots{background:#173d56;border-radius:12px}

/* companies.css */
.company-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.company-card{background:#fff;border:1px solid #e8eff7;border-radius:9px;min-width:0;overflow:hidden}.company-card summary{list-style:none;cursor:pointer;padding-bottom:8px}.company-card summary::-webkit-details-marker{display:none}.company-picture{display:block;aspect-ratio:122/66;overflow:hidden;background:#f5f9ff}.company-picture>img{width:100%;height:100%;object-fit:cover}.company-card b,.company-card small{display:block;padding:0 6px;text-align:center;overflow-wrap:anywhere}.company-card b{font-size:12px;margin:7px 0 4px;color:#183b62}.company-card small{font-size:9px;color:#738498}.company-description{padding:0 8px 10px;font-size:11px;color:#61758b}.company-description a{color:#076be9}.company-card:focus-within{outline:2px solid #0875ed}.company-card[open]{grid-column:span 2}.company-card summary:focus-visible{outline:2px solid #0875ed;outline-offset:-2px}
@media(max-width:600px){.company-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.company-card b{font-size:10px}.company-card small{font-size:8px}.company-description{font-size:10px}}

.company-grid.company-compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.company-logo-only{background:#fff;border-radius:9px;aspect-ratio:122/66;overflow:hidden}.company-logo-only>.reference-crop{height:100%}.company-logo-only>img{width:100%;height:100%;object-fit:cover}@media(max-width:600px){.company-grid.company-compact{gap:6px}.company-logo-only{border-radius:5px}}

/* chat-composer.css */
.chat-composer{margin-top:14px;border-top:1px solid #e7edf5;padding:12px 0 0;min-width:0}
.chat-compose-row{display:flex;align-items:center;gap:10px;min-width:0}
.chat-compose-row .chat-plus{flex:0 0 36px;width:36px;height:36px;min-width:36px;border:1.5px solid #a5b1c2;border-radius:50%;background:#fff;color:#617187;font:28px/1 sans-serif;padding:0;box-shadow:none}
.chat-compose-row .chat-plus[aria-expanded=true]{background:#eaf2ff;border-color:#1677ff;color:#1677ff}
.chat-compose-row input:not([type=file]),.chat-compose-row textarea{flex:1 1 0;width:0;min-width:0;box-sizing:border-box;border:1px solid #e4eaf2;background:#f5f7fa;border-radius:20px;padding:11px 14px;font:inherit;font-size:14px;line-height:20px;resize:vertical;margin:0;color:#24354b;max-height:120px}
.chat-compose-row .chat-send{flex:0 0 auto;border:0;background:#1677ff;color:#fff;border-radius:18px;padding:10px 17px;font-size:14px;margin:0;min-width:0}
.chat-composer .chat-attachments{margin-top:12px;padding:18px;background:#f5f7fb;border-radius:12px}
.chat-composer [hidden]{display:none!important}
.chat-composer .chat-album{display:flex;flex-direction:column;align-items:center;gap:7px;background:transparent;color:#53647a;border:0;padding:0;font-size:12px;min-width:64px;box-shadow:none}
.chat-album span{display:grid;place-items:center;width:52px;height:52px;background:white;border:1px solid #e7edf5;border-radius:14px;font-size:32px;color:#1677ff}
.chat-album svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body:has(#chatInput) .helpfloat{display:none}
.chat-attachments p{font-size:12px;color:#8794a6;margin:14px 0 0}
.chat-upload-status{font-size:12px;color:#65758b;line-height:1.5;margin-top:6px}
.chat-upload-status:empty{display:none}
.chat-image-load{padding:4px;border:0;background:transparent;max-width:100%;cursor:zoom-in}
#chat11History{max-height:480px;overflow:auto;padding:8px;background:#f7f9fc;border-radius:12px}
@media(max-width:400px){.chat-compose-row{gap:7px}.chat-compose-row .chat-send{padding:10px 13px}}

/* page-layout.css */
/* Match the established home viewport on every route. */
.shell:not(.home-view){max-width:860px;width:100%;padding-bottom:105px}
.shell:not(.home-view) .nav{max-width:860px;height:auto;min-height:76px;padding:10px 0 calc(12px + env(safe-area-inset-bottom,0px))}
.shell:not(.home-view) .nav button{font-size:16px}
.shell:not(.home-view) .nav b{height:32px;margin-bottom:5px}
.shell:not(.home-view) .nav svg{width:29px;height:29px}
.shell:not(.home-view) .content{padding:18px}
.shell:not(.home-view) .menu{width:100%;background:transparent;border:0;border-bottom:1px solid #edf2f8;text-align:left;color:#243951;cursor:pointer;padding:17px 4px;font-size:15px;min-height:54px}
.shell:not(.home-view) .menu:last-child{border-bottom:0}
.menu .menu-arrow{font-size:24px;color:#8494a9;line-height:1}
.menu:hover{background:#f4f8ff!important}
.menu:active{background:#eaf2ff!important}
.profile-metrics button{border:0;background:transparent;color:#7789a0;font-size:12px;cursor:pointer}
@media(max-width:600px){
 .shell:not(.home-view){padding-bottom:80px}
 .shell:not(.home-view) .content{padding:14px}
 .shell:not(.home-view) .nav{height:auto;min-height:59px;padding:8px 0 calc(8px + env(safe-area-inset-bottom,0px))}
 .shell:not(.home-view) .nav button{font-size:10px;min-height:0}
 .shell:not(.home-view) .nav b{height:23px;margin-bottom:2px}
 .shell:not(.home-view) .nav svg{width:22px;height:22px}
}

/* mobile-responsive.css */
:root{--app-safe-top:env(safe-area-inset-top,0px);--app-safe-bottom:env(safe-area-inset-bottom,0px);--app-safe-left:env(safe-area-inset-left,0px);--app-safe-right:env(safe-area-inset-right,0px)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-bottom:100px}
.shell{width:100%;min-height:100vh;min-height:100dvh;padding-left:var(--app-safe-left);padding-right:var(--app-safe-right)}
.shell:not(.home-view){padding-bottom:calc(100px + var(--app-safe-bottom))}
.shell:not(.home-view) .top{padding-top:calc(13px + var(--app-safe-top))}
.shell.home-view .nav,.shell:not(.home-view) .nav{padding-left:var(--app-safe-left);padding-right:var(--app-safe-right);padding-top:10px;padding-bottom:calc(12px + var(--app-safe-bottom));height:auto}
.shell.home-view .nav button,.shell:not(.home-view) .nav button{min-height:44px;min-width:0;overflow-wrap:anywhere}
.shell:not(.home-view) .panel,.shell:not(.home-view) .itemmain,.shell:not(.home-view) .row>*{min-width:0}
.shell:not(.home-view) .row b{overflow-wrap:anywhere;max-width:70%}
.shell:not(.home-view) .profile b{overflow-wrap:anywhere}
.shell:not(.home-view) .profile-metrics button{min-width:0;overflow-wrap:anywhere}
.shell:not(.home-view) .profile-metrics b{font-size:clamp(14px,4.8vw,19px);overflow-wrap:anywhere}
.shell:not(.home-view) .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.shell:not(.home-view) .choices button{min-width:0;overflow-wrap:anywhere;min-height:44px}
.shell:not(.home-view) .tabs button{min-height:44px}
.shell:not(.home-view) input,.shell:not(.home-view) textarea,.shell:not(.home-view) select{font-size:16px}
.shell:not(.home-view) .pagebar button{min-width:44px;min-height:44px}
.shell:not(.home-view) .account strong{font-size:clamp(24px,7.5vw,34px);overflow-wrap:anywhere}
.shell:not(.home-view) .chat-compose-row{min-width:0}
.shell:not(.home-view) .chat-plus{flex-basis:44px;width:44px;height:44px}
.shell:not(.home-view) .chat-send{min-height:44px}
.shell:not(.home-view) #chat{max-height:min(42dvh,360px)!important}
.keyboard-open .shell .nav{display:none}
.keyboard-open .shell{padding-bottom:20px}
.keyboard-open .chat-composer{scroll-margin-bottom:20px}
@media(max-width:600px){.shell.home-view .nav,.shell:not(.home-view) .nav{padding-top:8px;padding-bottom:calc(8px + var(--app-safe-bottom))}}
@media(max-width:359px){
 .shell:not(.home-view) .content{padding:10px}
 .shell:not(.home-view) .panel{padding:12px}
 .shell:not(.home-view) .brand-wordmark{width:80px;height:21px}
 .shell:not(.home-view) .header-actions{gap:8px}
 .shell:not(.home-view) .profile{padding:20px 14px}
 .shell:not(.home-view) .quick{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-view .home-project-body{padding-left:4px;padding-right:4px}
 .home-view .project-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home-view .project-metrics b{font-size:8px}
}
@media(orientation:landscape) and (max-height:600px){
 .shell.home-view .top{display:flex;min-height:52px;gap:8px;padding:calc(8px + var(--app-safe-top)) 12px 8px}
 .shell.home-view .brand-mark{width:32px;height:30px}
 .shell.home-view .brand-wordmark{width:100px;height:26px}
 .shell.home-view .home-search{width:auto;max-width:none;flex:1;margin:0;padding:7px}
 .shell.home-view .header-actions{gap:10px}
 .shell.home-view .header-actions svg{width:21px;height:21px}
 .shell:not(.home-view) .top{min-height:52px;padding-bottom:7px}
 .shell.home-view .nav,.shell:not(.home-view) .nav{min-height:54px;padding-top:3px;padding-bottom:calc(3px + var(--app-safe-bottom))}
 .shell.home-view .nav button,.shell:not(.home-view) .nav button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px}
 .shell.home-view .nav b,.shell:not(.home-view) .nav b{margin:0;height:24px}
 .shell.home-view .nav svg,.shell:not(.home-view) .nav svg{width:22px;height:22px}
 .shell:not(.home-view) .content{padding:12px 18px}
 .shell:not(.home-view) .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* notification-badge.css */
.shell .header-actions .notification-count{position:absolute;top:-5px;right:-8px;display:flex;align-items:center;justify-content:center;width:auto;height:auto;min-width:17px;min-height:17px;padding:1px 4px;border:1.5px solid white;border-radius:12px;background:#ff454f;color:#fff;font:600 10px/1.2 sans-serif;font-style:normal;white-space:nowrap;pointer-events:none}
.shell .header-actions .notification-count[hidden]{display:none}

/* form-experience.css */
.submission-feedback{padding:12px 14px;margin:10px 0;background:#edf5ff;color:#285b91;border-radius:10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.submission-feedback.error{background:#fff0f0;color:#b53636}
.submission-feedback.success{background:#eaf9f3;color:#14734c}
.notice-action{border:0;background:#eef5ff;color:#1466c5;padding:8px 12px;border-radius:8px;font-size:12px;min-height:40px;margin-top:8px}

/* Notification cards: separate messages and give the action its own clear row. */
#notifications.panel{padding:0;background:transparent;border:0;box-shadow:none}
#notifications .notice-card{display:block;margin:0 0 14px;padding:18px;border:1px solid #e5ecf6;border-radius:16px;background:#fff;box-shadow:0 3px 12px #23467505}
#notifications .notice-card .itemmain{min-width:0;width:100%}
#notifications .notice-title{display:block;font-size:16px;line-height:1.55;color:#172f50;overflow-wrap:anywhere}
#notifications .notice-body{margin:10px 0 16px;color:#657991;font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
#notifications .notice-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #f0f3f8;padding-top:12px}
#notifications .notice-time{font-size:12px;line-height:1.6;color:#8b9bb0;overflow-wrap:anywhere}
#notifications .notice-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:40px;margin:0;padding:9px 14px;border:1px solid #dce8ff;border-radius:22px;background:#f1f6ff;color:#3266ce;font-size:13px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-align:center;box-shadow:none;transition:background .15s,border-color .15s}
#notifications .notice-action::after{content:'›';font-size:21px;font-weight:400;line-height:1;flex:none}
#notifications .notice-action:hover{background:#e7f0ff;border-color:#b9d1ff}
#notifications .notice-action:active{background:#dce9ff}
html[dir=rtl] #notifications .notice-action::after{transform:rotate(180deg)}
@media(max-width:360px){#notifications .notice-card{padding:16px}#notifications .notice-footer{align-items:flex-start;flex-direction:column}#notifications .notice-action{align-self:flex-end}}

/* trade-news.css */
.trade-news-heading{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,#e2efff,#f3f8ff);padding:22px;border-radius:16px;margin-bottom:16px;color:#143660}
#industryArticleFrame{display:block;border:0;width:100%;height:calc(100dvh - 230px);min-height:360px;background:white;border-radius:12px}
.trade-news-pagination{padding:14px 0;position:static!important;width:100%;height:auto!important;background:transparent!important;border:0!important;display:block!important}.trade-news-page-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}.trade-news-page-controls>span{text-align:center;font-size:12px}.trade-news-page-controls button{min-height:44px;flex-shrink:0}.trade-news-page-controls button:disabled{opacity:.4;cursor:default;background:#edf1f6;color:#8390a1;box-shadow:none}.trade-news-pagination>p{text-align:center;font-size:12px;margin:10px 0 0}
#tradeArticleStatus h3{font-size:17px;line-height:1.6;margin:0 0 8px}
button.trade-news-card{width:100%;text-align:left;font:inherit;cursor:pointer}
.trade-news-heading h2{margin:8px 0;font-size:25px}.trade-news-heading span{font-size:10px;letter-spacing:2px;color:#4878ae}.trade-news-heading p{font-size:13px;margin:0;color:#637f9d}.trade-news-heading .trade-news-symbol{font-size:54px;color:#77a7df;letter-spacing:0}
.trade-news-search{display:flex;gap:8px;margin-bottom:14px}.trade-news-search input{min-width:0;flex:1;border:1px solid #dce7f3;border-radius:10px;padding:12px;font-size:16px;background:white}.trade-news-search button{border:0;background:#1677ff;color:white;border-radius:10px;padding:0 18px;min-height:44px}
.trade-news-card{display:block;background:#fff;border:1px solid #e8eef6;border-radius:14px;padding:18px;margin-bottom:12px;color:#193655;text-decoration:none}.trade-news-card:hover{border-color:#91bafa}.trade-news-card h3{font-size:17px;line-height:1.65;margin:12px 0 16px}.trade-news-card-top{display:flex;justify-content:space-between;color:#8fa7c1}.trade-news-category{font-size:11px;color:#2272c5;background:#edf5ff;border-radius:5px;padding:4px 8px}.trade-news-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#8492a5;font-size:11px}.trade-news-stale{color:#9a7331;font-size:12px;line-height:1.7}.trade-news-card small{display:block;margin-top:10px}.trade-news-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px 0;font-size:10px;color:#8a9aab}.trade-news-footer button{border:0;background:none;color:#1677ff;min-height:44px}.platform-news-heading{font-size:17px;margin:26px 0 12px;color:#264361}

/* Long localized controls must fit narrow screens without clipping. */
.trade-news-tabs{flex-wrap:wrap}.trade-news-page-controls{flex-wrap:wrap}.trade-news-page-controls button{flex:1 1 0;min-width:0;white-space:normal;overflow-wrap:anywhere}.trade-news-page-controls>span{flex:0 0 100%;order:3}.trade-news-footer{flex-wrap:wrap}.trade-news-card h3{overflow-wrap:anywhere}

/* Reader height already reserves the bottom navigation area. */
#view:has(#industryArticleFrame){padding-bottom:0!important;margin-bottom:0!important;min-height:0!important}

/* conversation.css */
#chat,#chat11History{background:#f5f7fb;border-radius:12px;padding:12px;overflow-x:hidden}
.conversation-message-row{display:flex;align-items:flex-start;gap:8px;width:100%;margin:14px 0;box-sizing:border-box}
.conversation-message-row.outgoing{justify-content:flex-end}
.conversation-message-row.incoming{justify-content:flex-start}
.conversation-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#e3ebf5;color:#546e8b;font-size:12px;margin-top:20px}
.outgoing .conversation-avatar{order:2;background:#d9eaff;color:#146fe0}
.conversation-message{max-width:calc(82% - 30px);min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.outgoing .conversation-message{align-items:flex-end}
.conversation-meta{font-size:10px;line-height:1.6;color:#8796a8;margin-bottom:4px;overflow-wrap:anywhere}
.outgoing .conversation-meta{text-align:right}
.conversation-bubble{padding:10px 13px;background:#fff;border:1px solid #e6ecf4;border-radius:2px 12px 12px 12px;color:#263b52;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;box-sizing:border-box}
.outgoing .conversation-bubble{background:#dceeff;border-color:#cce3fc;border-radius:12px 2px 12px 12px}
.conversation-bubble .chat-image-load{padding:0;display:block;margin:0;min-height:0}
.conversation-bubble img{max-width:100%!important;height:auto}
.message-read-state{font-size:10px;color:#8c98a8;line-height:1.5;margin-top:4px}.message-read-state.is-read{color:#238878}
.deleted-message{color:#95a0ad;background:transparent!important;border-style:dashed;font-size:12px}
.conversation-select{flex:0 0 18px;margin:24px 0 0!important;padding:0!important;display:block!important}.conversation-select input{width:16px!important;height:16px;margin:0!important;min-height:0}
.outgoing .conversation-select{order:3}
.chat-management{margin:12px 0;padding:12px;border:1px solid #e1e9f3;border-radius:10px;background:#fafcff;font-size:13px}
.chat-management summary{cursor:pointer;color:#4c6585}.chat-management textarea{width:100%;min-height:80px}
.chat-management [hidden]{display:none!important}
@media(max-width:400px){.conversation-message{max-width:calc(90% - 30px)}#chat,#chat11History{padding:8px}.conversation-bubble{padding:9px 10px}}

#chat11History{max-height:55vh;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none}

/* nickname.css */
.shell:not(.home-view) .nickname-card{padding:22px 20px;margin:16px 0 22px;border:1px solid #e4ecf7;border-radius:20px;background:linear-gradient(155deg,#f1f7ff 0,#fff 43%);box-shadow:0 8px 24px #234e8c08;color:#23354e;text-align:left}
.nickname-heading{display:flex;align-items:center;gap:12px;margin-bottom:25px;min-width:0}
.nickname-heading>div{flex:1;min-width:0}.nickname-heading h3{margin:0 0 5px;font-size:18px;letter-spacing:.2px;font-weight:650;color:#1d304b}.nickname-heading p{margin:0;color:#8190a5;font-size:12px;line-height:1.6}
.nickname-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:15px;background:linear-gradient(140deg,#237fff,#0e5ce5);box-shadow:0 5px 12px #1677ff26;color:#fff}.nickname-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.nickname-badge{flex:none;align-self:flex-start;padding:5px 8px;border-radius:20px;background:#e8f1ff;color:#3679ce;font-size:10px;white-space:nowrap}
.nickname-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.nickname-label label{font-size:13px;font-weight:600;color:#42536a}.nickname-label>span{font-size:11px;color:#9ba8b8;font-variant-numeric:tabular-nums}
.nickname-input-wrap{position:relative}.shell:not(.home-view) .nickname-input-wrap input{box-sizing:border-box;width:100%;height:52px;margin:0;padding:0 42px 0 15px;border:1px solid #e2e9f3;border-radius:13px;background:#f7f9fc;outline:0;box-shadow:none;font:inherit;font-size:16px;color:#23364f;transition:border-color .18s,box-shadow .18s,background .18s}
.nickname-input-wrap input::placeholder{color:#a3afbd;font-size:14px}.shell:not(.home-view) .nickname-input-wrap input:focus{border-color:#6ca6ff;background:#fff;box-shadow:0 0 0 3px #1677ff10}.nickname-input-wrap>span{position:absolute;right:16px;top:16px;color:#7e9ac0;font-size:18px;pointer-events:none}.shell:not(.home-view) .nickname-input-wrap input:disabled{opacity:1;color:#60738c;-webkit-text-fill-color:#60738c;background:#f2f5f9}
.nickname-note{display:flex;align-items:flex-start;gap:7px;margin:13px 0 21px;color:#8a98ab}.nickname-note>span{font-size:13px;line-height:1.8}.nickname-note p{margin:0;font-size:11px;line-height:1.8;color:inherit}
.shell:not(.home-view) button.nickname-save{display:flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:13px 18px;border:0;border-radius:13px;background:linear-gradient(100deg,#2382ff,#1265ee);box-shadow:0 5px 12px #1470ef20;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}.nickname-save>span{font-size:18px;font-weight:400}.nickname-save:focus-visible{outline:3px solid #a8ceff;outline-offset:3px}.nickname-save:active:not(:disabled){transform:translateY(1px)}.shell:not(.home-view) button.nickname-save:disabled{background:#eaf1fa;color:#8199ba;box-shadow:none;cursor:default;opacity:1}
.nickname-card .nickname-status{margin:12px 0 0;font-size:11px;line-height:1.8;color:#8a99ac;text-align:center;overflow-wrap:anywhere}.nickname-status:empty{display:none}.nickname-card .nickname-status.is-error{color:#ce4d50;text-align:left}
@media(max-width:360px){.shell:not(.home-view) .nickname-card{padding:18px 14px}.nickname-heading{gap:9px}.nickname-heading h3{font-size:17px}.nickname-heading p{font-size:11px}.nickname-badge{font-size:9px;padding:5px 6px}.nickname-icon{width:40px;height:40px}}

/* Account entry is visible before the identity page has ever been visited. */
.identity-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:20px;border:1px solid #dce7ff;border-radius:18px;background:linear-gradient(120deg,#eef4ff,#fff);text-align:left;width:100%;color:#243b60;cursor:pointer}
.identity-entry strong{display:block;font-size:17px}
.identity-entry small{display:block;color:#75849a;margin-top:7px}

/* auth-entry.css */
.shell.auth-gate{background:radial-gradient(ellipse at 15% 0,#dceaff,transparent 55%),linear-gradient(160deg,#eef5ff,#f8faff 70%);min-height:100vh;min-height:100dvh;padding:0!important}.auth-gate>.top,.auth-gate>.nav,.auth-gate>.warning,.auth-gate .helpfloat{display:none!important}.auth-gate>.content{padding:0!important}.auth-entry{max-width:420px;margin:auto;padding:46px 22px 25px;box-sizing:border-box;color:#263b59}.auth-entry-brand{text-align:center;margin-bottom:30px}.auth-entry-logo{display:grid;place-items:center;width:88px;height:88px;border-radius:0;margin:0 auto 15px;color:#1769df;background:transparent;box-shadow:none}.auth-entry-logo svg{width:38px;height:38px;stroke:currentColor}.auth-entry-brand strong{display:block;font-size:23px;letter-spacing:2px}.auth-entry-brand small{display:block;margin-top:9px;color:#8a9bb2;font-size:12px}.auth-entry-card{padding:28px 25px;border:1px solid #e5edf8;border-radius:24px;background:#fff;box-shadow:0 15px 45px #315d980a}.auth-entry-heading>span{font-size:11px;letter-spacing:1px;color:#8ca1be}.auth-entry-heading h1{margin:9px 0 10px;font-size:24px;color:#233956;font-weight:650}.auth-entry-heading p{font-size:12px;color:#9aa8ba;margin:0 0 27px}.auth-entry-card label{display:block;font-size:12px;font-weight:600;color:#62758e;margin:18px 0 9px}.auth-entry-card input{box-sizing:border-box;width:100%;height:49px;margin:0;border:1px solid #e3eaf4;background:#f7f9fc;border-radius:12px;padding:0 14px;font:inherit;font-size:16px;color:#294260;outline:0;box-shadow:none}.auth-entry-card input:focus{border-color:#78aafa;box-shadow:0 0 0 3px #1677ff0a;background:white}.auth-entry-card input::placeholder{font-size:12px;color:#a5b1c1}.auth-entry-password{position:relative}.auth-entry-password input{padding-right:45px}.auth-entry-password button{position:absolute;right:5px;top:4px;width:40px;height:41px;display:grid;place-items:center;padding:0;margin:0;border:0;background:transparent;color:#91a5bf;border-radius:9px;box-shadow:none}.auth-entry-password svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5}.auth-entry-card .auth-entry-submit{display:flex;align-items:center;justify-content:center;gap:20px;box-sizing:border-box;width:100%;min-height:49px;border-radius:12px;background:linear-gradient(100deg,#2d87ff,#1466e8);color:#fff;border:0;box-shadow:0 5px 14px #166eea20;font:inherit;font-size:15px;font-weight:600;margin:24px 0 0;padding:13px}.auth-entry-submit:disabled{opacity:.65;cursor:wait}.auth-entry-submit span{font-size:20px;font-weight:400}.auth-entry-switch{text-align:center;font-size:12px;color:#9aa8ba;margin-top:23px}.auth-entry-switch button{background:transparent;color:#2879e6;border:0;padding:3px 5px;margin:0;font-size:12px;box-shadow:none}.auth-entry-error{font-size:12px;line-height:1.7;color:#cd555a;margin:12px 0 0;overflow-wrap:anywhere}.auth-entry-error:empty{display:none}.auth-entry-note{font-size:11px;color:#a1aebe;line-height:1.7}.auth-entry-footer{text-align:center;font-size:11px;color:#a7b5c8;margin-top:26px}.auth-entry button:focus-visible{outline:3px solid #a6c9ff;outline-offset:2px}.auth-gate #interfaceExtraBlocks{display:none}.auth-gate .footer{display:none}
@media(max-width:360px){.auth-entry{padding:30px 16px 20px}.auth-entry-card{padding:24px 19px}.auth-entry-brand{margin-bottom:23px}.auth-entry-heading h1{font-size:22px}}


/* Compact sign-in only. Registration retains its existing layout and scrolling. */
.auth-entry:not(.auth-entry-register){padding:52px 20px 12px}
.auth-entry:not(.auth-entry-register) .auth-entry-brand{margin-bottom:14px}
.auth-entry:not(.auth-entry-register) .auth-entry-logo{width:58px;height:58px;margin-bottom:7px}
.auth-entry:not(.auth-entry-register) .auth-entry-logo img{width:56px!important;height:56px!important}
.auth-entry:not(.auth-entry-register) .auth-entry-brand small{margin-top:5px}
.auth-entry:not(.auth-entry-register) .auth-entry-card{padding:18px 22px;border-radius:20px}
.auth-entry:not(.auth-entry-register) .auth-entry-heading h1{margin:5px 0 7px;font-size:23px}
.auth-entry:not(.auth-entry-register) .auth-entry-heading p{margin-bottom:12px;line-height:1.5}
.auth-entry:not(.auth-entry-register) .auth-entry-card label{margin:12px 0 6px}
.auth-entry:not(.auth-entry-register) .auth-entry-submit{margin-top:16px}
.auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:12px}
.auth-entry:not(.auth-entry-register) .auth-entry-footer{margin:12px 0 0;line-height:1.5}
@media(max-height:660px){
 .auth-entry:not(.auth-entry-register){padding-top:45px;padding-bottom:8px}
 .auth-entry:not(.auth-entry-register) .auth-entry-brand{margin-bottom:10px}
 .auth-entry:not(.auth-entry-register) .auth-entry-logo{width:44px;height:44px;margin-bottom:4px}
 .auth-entry:not(.auth-entry-register) .auth-entry-logo img{width:44px!important;height:44px!important}
 .auth-entry:not(.auth-entry-register) .auth-entry-card{padding:14px 20px}
 .auth-entry:not(.auth-entry-register) .auth-entry-heading p{margin-bottom:8px}
 .auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:9px}
}

.auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:12px;padding-top:8px}
@media(max-height:660px){
 .auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:6px;padding-top:4px}
 .auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:6px}
 .auth-entry:not(.auth-entry-register) .auth-entry-footer{margin-top:6px}
}
@media(max-height:600px){
 .auth-entry:not(.auth-entry-register) .auth-entry-brand small,
 .auth-entry:not(.auth-entry-register) .auth-entry-heading>span{display:none}
 .auth-entry:not(.auth-entry-register) .auth-entry-logo{height:36px;margin-bottom:2px}
 .auth-entry:not(.auth-entry-register) .auth-entry-logo img{width:36px!important;height:36px!important}
 .auth-entry:not(.auth-entry-register) .auth-entry-brand{margin-bottom:6px}
 .auth-entry:not(.auth-entry-register) .auth-entry-card{padding-top:10px;padding-bottom:10px}
}

/* Sign-in has three zones: centered brand, flexible form, bottom service line. */
.auth-entry:not(.auth-entry-register){display:flex;flex-direction:column;min-height:100dvh;box-sizing:border-box;padding:54px var(--login-side,20px) 18px;gap:12px}
.auth-entry:not(.auth-entry-register) .auth-entry-brand{display:block;text-align:center;margin:0;flex:none}
.auth-entry:not(.auth-entry-register) .auth-entry-logo{margin:0 auto 7px;width:52px;height:52px}
.auth-entry:not(.auth-entry-register) .auth-entry-logo img{width:52px!important;height:52px!important}
.auth-entry:not(.auth-entry-register) .auth-entry-brand strong{font-size:var(--login-brand,23px);line-height:1.25;letter-spacing:var(--login-tracking,0px)}
.auth-entry:not(.auth-entry-register) .auth-entry-brand small{font-size:13px;line-height:1.35;margin-top:5px}
.auth-entry:not(.auth-entry-register) .auth-entry-card{flex:none;width:100%;box-sizing:border-box;margin:auto 0;padding:var(--login-pad,16px) var(--login-inner,20px)}
.auth-entry:not(.auth-entry-register) .auth-entry-heading h1{font-size:var(--login-title,23px);line-height:var(--login-leading,1.25);margin:5px 0 7px}
.auth-entry:not(.auth-entry-register) .auth-entry-heading p{font-size:12px;line-height:1.4;margin-bottom:10px}
.auth-entry:not(.auth-entry-register) .auth-entry-card label{margin:10px 0 6px;line-height:1.3}
.auth-entry:not(.auth-entry-register) .auth-entry-submit{margin-top:14px;padding:11px;min-height:48px}
.auth-entry:not(.auth-entry-register) .auth-entry-switch{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 6px;margin-top:10px;line-height:1.4}
.auth-entry:not(.auth-entry-register) .china-sms-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:10px;padding-top:8px}
.auth-entry:not(.auth-entry-register) .china-sms-entry button{font-size:var(--login-links,12px);line-height:1.4;min-height:44px;padding:4px 0;white-space:normal;overflow-wrap:anywhere}
.auth-entry:not(.auth-entry-register) .auth-entry-footer{flex:none;margin:0;text-align:center;font-size:11px;line-height:1.35}
/* Language-specific line lengths and scripts, rather than a shared compact preset. */
html[lang="en"] .auth-entry:not(.auth-entry-register){--login-side:18px;--login-inner:20px;--login-brand:23px;--login-title:23px;--login-pad:16px;--login-leading:1.25}
html[lang="de"] .auth-entry:not(.auth-entry-register){--login-side:16px;--login-inner:16px;--login-brand:22px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="fr"] .auth-entry:not(.auth-entry-register){--login-side:16px;--login-inner:17px;--login-brand:22px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="es"] .auth-entry:not(.auth-entry-register){--login-side:16px;--login-inner:16px;--login-brand:22px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="ms"] .auth-entry:not(.auth-entry-register){--login-side:14px;--login-inner:14px;--login-brand:22px;--login-title:21px;--login-pad:12px;--login-leading:1.25}
html[lang="ru"] .auth-entry:not(.auth-entry-register){--login-side:14px;--login-inner:14px;--login-brand:22px;--login-title:21px;--login-pad:12px;--login-leading:1.25}
html[lang="pl"] .auth-entry:not(.auth-entry-register){--login-side:15px;--login-inner:15px;--login-brand:22px;--login-title:21px;--login-pad:13px;--login-leading:1.25}
html[lang="vi"] .auth-entry:not(.auth-entry-register){--login-side:15px;--login-inner:15px;--login-brand:22px;--login-title:21px;--login-pad:13px;--login-leading:1.35}
html[lang="th"] .auth-entry:not(.auth-entry-register){--login-side:16px;--login-inner:16px;--login-brand:23px;--login-title:22px;--login-pad:13px;--login-leading:1.45}
html[lang="hi"] .auth-entry:not(.auth-entry-register){--login-side:16px;--login-inner:16px;--login-brand:23px;--login-title:22px;--login-pad:13px;--login-leading:1.45}
html[lang="ar"] .auth-entry:not(.auth-entry-register){--login-side:18px;--login-inner:18px;--login-brand:24px;--login-title:23px;--login-pad:14px;--login-leading:1.5}
html[lang="tr"] .auth-entry:not(.auth-entry-register){--login-side:15px;--login-inner:15px;--login-brand:22px;--login-title:22px;--login-pad:13px;--login-leading:1.25}
html[lang="da"] .auth-entry:not(.auth-entry-register){--login-side:17px;--login-inner:17px;--login-brand:23px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="sv"] .auth-entry:not(.auth-entry-register){--login-side:17px;--login-inner:17px;--login-brand:23px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="nl"] .auth-entry:not(.auth-entry-register){--login-side:16px;--login-inner:16px;--login-brand:22px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="id"] .auth-entry:not(.auth-entry-register){--login-side:17px;--login-inner:17px;--login-brand:23px;--login-title:22px;--login-pad:14px;--login-leading:1.3}
html[lang="it"] .auth-entry:not(.auth-entry-register){--login-side:18px;--login-inner:18px;--login-brand:23px;--login-title:23px;--login-pad:15px;--login-leading:1.25}
html[lang="pt-BR"] .auth-entry:not(.auth-entry-register){--login-side:17px;--login-inner:17px;--login-brand:23px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="pt-PT"] .auth-entry:not(.auth-entry-register){--login-side:17px;--login-inner:17px;--login-brand:23px;--login-title:22px;--login-pad:14px;--login-leading:1.25}
html[lang="zh-HK"] .auth-entry:not(.auth-entry-register){--login-side:20px;--login-inner:20px;--login-brand:23px;--login-title:23px;--login-pad:16px;--login-leading:1.25}
html[lang="zh-TW"] .auth-entry:not(.auth-entry-register){--login-side:20px;--login-inner:20px;--login-brand:23px;--login-title:23px;--login-pad:16px;--login-leading:1.25}
@media(max-height:700px){
.auth-entry:not(.auth-entry-register){padding-top:46px;padding-bottom:12px;gap:7px}
.auth-entry:not(.auth-entry-register) .auth-entry-logo{width:40px;height:40px;margin-bottom:4px}
.auth-entry:not(.auth-entry-register) .auth-entry-logo img{width:40px!important;height:40px!important}
.auth-entry:not(.auth-entry-register) .auth-entry-card{padding-top:10px;padding-bottom:10px}
.auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:7px}
.auth-entry:not(.auth-entry-register) .auth-entry-heading p{margin-bottom:6px}
.auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:5px}
.auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:5px;padding-top:5px}
.auth-entry:not(.auth-entry-register) .auth-entry-submit{margin-top:10px}
}

/* Keep the sign-in brand caption independent of the account-page small-text scale. */
#main.auth-gate #view .auth-entry:not(.auth-entry-register) .auth-entry-brand small{font-size:13px;line-height:1.35}
@media(max-height:700px){
.auth-entry:not(.auth-entry-register){gap:4px}
.auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:4px}
.auth-entry:not(.auth-entry-register) .auth-entry-card input{height:46px}
.auth-entry:not(.auth-entry-register) .auth-entry-heading h1{margin-top:3px;margin-bottom:4px}
.auth-entry:not(.auth-entry-register) .auth-entry-submit{padding:8px;min-height:48px}
}

html[lang="ru"] .auth-entry:not(.auth-entry-register){--login-pad:10px}
@media(max-height:700px){
html[lang="es"] .auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:2px}
html[lang="es"] .auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:2px;padding-top:2px}
html[lang="es"] .auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:3px}
html[lang="fr"] .auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:2px}
html[lang="fr"] .auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:2px;padding-top:2px}
html[lang="fr"] .auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:3px}
html[lang="ms"] .auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:2px}
html[lang="ms"] .auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:2px;padding-top:2px}
html[lang="ms"] .auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:3px}
html[lang="ru"] .auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:2px}
html[lang="ru"] .auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:2px;padding-top:2px}
html[lang="ru"] .auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:3px}
html[lang="vi"] .auth-entry:not(.auth-entry-register) .auth-entry-switch{margin-top:2px}
html[lang="vi"] .auth-entry:not(.auth-entry-register) .china-sms-entry{margin-top:2px;padding-top:2px}
html[lang="vi"] .auth-entry:not(.auth-entry-register) .auth-entry-card label{margin-top:3px}
}

/* auth-tools.css */
.auth-entry{position:relative;padding-top:86px}.auth-entry-tools{position:absolute;top:19px;right:22px;display:flex;gap:10px}.auth-entry-tools button{position:relative;display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;color:#4e709e;padding:5px;margin:0;box-shadow:none;border-radius:10px}.auth-entry-tools button:hover{background:#fff8}.auth-entry-tools svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.auth-entry-tools .auth-language-globe{color:#929da9}.auth-entry-tools #authGuestBadge{position:absolute;top:-2px;right:-5px;min-width:17px;height:17px;line-height:17px;padding:0 3px;border-radius:10px;background:#f15161;color:white;font-size:10px;text-align:center;box-sizing:border-box}.auth-entry-tools [hidden]{display:none!important}.auth-tools-dialog{box-sizing:border-box;width:min(92vw,420px);max-height:88dvh;border:1px solid #e2eaf4;border-radius:20px;padding:23px;color:#30455f;font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif;box-shadow:0 20px 70px #203c6c30}.auth-tools-dialog::backdrop{background:#213c5c55;backdrop-filter:blur(3px)}.auth-tools-dialog h2{font-size:19px;margin:0 0 16px}.auth-tools-dialog button{border:0;border-radius:10px;padding:10px 14px;background:#eef4fd;color:#2d6cc5;font:inherit;cursor:pointer}.auth-language-option{display:flex;justify-content:space-between;align-items:center;width:100%;margin:7px 0;background:#f5f8fc!important;text-align:left}.auth-dialog-close{display:block;margin:18px auto 0}.auth-guest-title{display:flex;justify-content:space-between;align-items:center}.auth-guest-title h2{margin:0}.auth-guest-title button{background:transparent;color:#8e9eb3;font-size:24px;padding:0 5px}.auth-guest-note{font-size:11px;color:#91a0b4;line-height:1.8}.auth-guest-history{height:35dvh;min-height:190px;overflow:auto;background:#f7f9fc;border-radius:12px;padding:12px}.auth-guest-message{max-width:88%;width:fit-content;margin:12px 0}.auth-guest-message.own{margin-left:auto}.auth-guest-message small{display:block;font-size:10px;color:#98a7bb}.auth-guest-message>div{white-space:pre-wrap;overflow-wrap:anywhere;background:white;border:1px solid #e5ecf6;padding:9px 12px;border-radius:12px;font-size:13px}.auth-guest-message.own>div{background:#e9f2ff;border-color:#d9e8ff;color:#25578f}.auth-guest-message>span{font-size:10px;color:#8c99a9}.auth-guest-message>button{font-size:12px;margin-top:6px}.auth-guest-compose{display:flex;gap:8px;margin-top:13px}.auth-tools-dialog input{box-sizing:border-box;border:1px solid #e1e8f1;background:#f7f9fc;color:#30455f;border-radius:10px;padding:11px;font:inherit;min-width:0;width:100%;font-size:16px}.auth-guest-compose input{flex:1;width:0}.auth-guest-compose button{flex:none;background:#2278ee;color:white}.auth-guest-dialog [role=status]{font-size:11px;color:#ad6470;white-space:pre-wrap}.auth-guest-dialog label{display:block;font-size:12px;margin:10px 0 5px}.auth-guest-dialog #guestResetSave{margin-top:12px}.auth-guest-dialog h3{font-size:15px}@media(max-width:360px){.auth-entry{padding-top:75px}.auth-entry-tools{top:13px;right:16px}.auth-tools-dialog{padding:17px}}

/* auth-phone.css */
.phone-number,.phone-code{display:flex;gap:10px;align-items:center}.phone-number{border:1px solid #dce5f1;border-radius:14px;background:#f7faff;padding:0 14px}.phone-number span{color:#64748b;font-weight:600;flex:none}.phone-number input{border:0!important;background:transparent!important;padding-left:3px!important;min-width:0}.phone-code input{min-width:0;flex:1}.phone-code button{flex:none;border:0;border-radius:12px;padding:14px 12px;background:#e9f1ff;color:#1764d5;font-weight:600;font-size:12px}.phone-code button:disabled{opacity:.5}.phone-status{color:#64748b;font-size:12px;line-height:1.6;margin:10px 0 16px}#phoneRegistration[hidden]{display:none}
.auth-entry [hidden]{display:none!important}.auth-entry-card select{width:100%;min-height:48px;border:1px solid #dce5f1;border-radius:14px;padding:10px 14px;color:#263a57;background:#f7faff;font:inherit;box-sizing:border-box;margin-bottom:12px}.auth-entry-card select:focus{outline:2px solid #8bb5ff;outline-offset:2px}#phoneMethodBox{margin-top:8px}#phoneRegistration{margin-top:8px}

/* navigation-lock.css */
/* One viewport-based navigation geometry shared by every signed-in route. */
html{overflow-y:scroll;scrollbar-gutter:stable}
:root{--app-nav-height:82px;--app-nav-pad:10px;--app-nav-font:14px;--app-nav-icon:29px;--app-nav-gap:4px}
#main.shell:not(.auth-gate){width:100%;max-width:860px;min-width:0;padding-bottom:calc(var(--app-nav-height) + var(--app-safe-bottom) + 16px)}
#main.shell>#nav{
 position:fixed;inset:auto auto 0 50%;transform:translateX(-50%);
 width:100%;max-width:860px;min-width:0;
 height:calc(var(--app-nav-height) + var(--app-safe-bottom));min-height:0;max-height:calc(var(--app-nav-height) + var(--app-safe-bottom));
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;
 padding:var(--app-nav-pad) var(--app-safe-right) calc(var(--app-nav-pad) + var(--app-safe-bottom)) var(--app-safe-left);
 margin:0;border:0;border-top:1px solid #e6edf5;border-radius:0;box-sizing:border-box;
 background:#fff;z-index:30;transition:none;animation:none;
}
#main.shell>#nav>button{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--app-nav-gap);
 min-width:0;width:100%;min-height:0;height:100%;max-height:100%;padding:0 2px;margin:0;
 font-size:var(--app-nav-font);line-height:1.2;white-space:nowrap;overflow:hidden;overflow-wrap:normal;
 border:0;box-sizing:border-box;transition:none;animation:none;
}
#main.shell>#nav b{display:flex;align-items:center;justify-content:center;flex:none;width:var(--app-nav-icon);height:var(--app-nav-icon);margin:0;line-height:1}
#main.shell>#nav svg{display:block;flex:none;width:var(--app-nav-icon);height:var(--app-nav-icon)}
#main.shell>#nav:after{display:none}
html.keyboard-open #main.shell>#nav{display:none}
@media(max-width:600px){:root{--app-nav-height:64px;--app-nav-pad:8px;--app-nav-font:10px;--app-nav-icon:23px;--app-nav-gap:2px}}
@media(orientation:landscape) and (max-height:600px){
 :root{--app-nav-height:54px;--app-nav-pad:5px;--app-nav-font:12px;--app-nav-icon:22px;--app-nav-gap:6px}
 #main.shell>#nav>button{flex-direction:row}
}

/* readability.css */
/* Typography and reachability only; no changes to amounts or business rules. */
html:lang(ja){font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
html:lang(ko){font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
#view :is(h1,h2,h3,p,.menu,.panel){overflow-wrap:anywhere}
#view :is(.panel,.grid,.row,.profile-metrics)>*{min-width:0}
#view :is(.btn,.smallbtn,.menu,.choices button,.pagebar button){white-space:normal;line-height:1.5}
#view :is(.btn,.menu){height:auto;min-height:44px}
#view :is(input,select,textarea){max-width:100%;box-sizing:border-box}
#main.shell>#nav{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
dialog :is(input,select,textarea,iframe){max-width:100%;box-sizing:border-box}
dialog :is(p,h2,h3,button){overflow-wrap:anywhere}
.auth-entry-tools{gap:6px;top:14px;right:16px}
.auth-entry-tools button{width:44px;height:44px;min-width:44px}
.auth-entry-card input::placeholder{font-size:14px;color:#64748b}
.auth-entry :is(.auth-entry-note,.auth-entry-footer,.auth-entry-heading p,.auth-entry-switch){color:#64748b;line-height:1.7}
.auth-entry-switch button{min-height:44px;font-size:14px}
.conversation-meta,.message-read-state{font-size:12px;color:#617286}
.home-view .home-project{display:flex;flex-direction:column}
.home-view .home-project>.photo{flex:0 0 auto}
.home-view .home-project-body{height:auto;flex:1;min-height:211px;grid-template-rows:auto auto 1fr auto;row-gap:6px}
.home-view .home-project-body>.btn{grid-row:4}
.home-view .home-project .btn{height:auto;min-height:44px;line-height:1.5}
@media(max-width:600px){
 .home-view .home-project-body{padding:8px 5px;min-height:220px}
 .home-view .project-metrics{margin:6px 0;align-items:start;grid-template-columns:minmax(0,1fr);gap:7px}
 .home-view .project-metrics>div{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px}
 .home-view .project-metrics b{font-size:12px;white-space:nowrap;overflow-wrap:normal}
 .home-view .project-metrics span{font-size:10px;white-space:normal;line-height:1.5;overflow-wrap:normal}
 .home-view .project-metrics b small{font-size:10px}
 .home-view .project-progress small,.home-view .amount-caption{font-size:10px}
 .home-view .funding-line{grid-template-columns:minmax(0,1fr);gap:4px}
 .home-view .home-announcement{font-size:12px;line-height:1.6;min-height:44px}
 .home-view .home-shortcuts b{font-size:11px;line-height:1.5}
 .home-view .home-shortcuts small{font-size:10px;line-height:1.5}
 .home-view .home-shortcuts>*{min-width:0}
 .home-view .home-shortcuts :is(b,small){white-space:normal;overflow-wrap:anywhere;max-width:100%}
 .home-view .home-project .photo strong{font-size:11px;line-height:1.4;bottom:20px;max-width:calc(100% - 10px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:359px){.home-view .project-metrics b{font-size:11px;white-space:normal}.home-view .project-metrics span{font-size:10px;white-space:normal;line-height:1.5}.home-view .project-metrics{column-gap:3px}.home-view .project-metrics small{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#view *{scroll-behavior:auto}}

/* comfortable-layout.css */
/* Let content extend vertically rather than compress text into fixed boxes. */
#main.shell:not(.home-view):not(.auth-gate) #view{font-size:16px;line-height:1.65}
#main.shell:not(.home-view) #view :is(.panel,.account,.profile,.item,.native-wallet){height:auto;max-height:none}
#main.shell:not(.home-view) #view :is(.row,.itemmain b,.itemmain em,.choices button,.tabs button,.quick button){font-size:15px;line-height:1.6}
#main.shell:not(.home-view) #view :is(small,.itemmain small,.profile-metrics button,.muted,.notice){font-size:14px;line-height:1.7}
#main.shell:not(.home-view) #view .panel h3{font-size:18px;line-height:1.5}
#main.shell:not(.home-view) #view .accountline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;font-size:15px;line-height:1.6}
#main.shell:not(.home-view) #view .accountline b{font-size:20px;overflow-wrap:anywhere}
#main.shell:not(.home-view) #view .asset-chart>div{padding:12px;box-sizing:border-box;overflow-wrap:anywhere;line-height:1.5}
#main.shell:not(.home-view) #view .quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#main.shell:not(.home-view) #view .quick button{height:auto;min-height:94px;padding:14px 8px;white-space:normal}
#main.shell:not(.home-view) #view .item{align-items:flex-start;gap:12px}
#main.shell:not(.home-view) #view :is(.row b,.itemmain b){max-width:100%;white-space:normal;overflow-wrap:anywhere}
#view .footer{font-size:12px;line-height:1.6}
#main.shell:not(.home-view) #view :is(.trade-news-meta,.badge,.message-read-state,.conversation-meta){font-size:12px;line-height:1.6}
#main.shell{scroll-padding-bottom:calc(var(--app-nav-height) + var(--app-safe-bottom) + 24px)}
#view :is(button,input,textarea,select,a,summary){scroll-margin-block:24px calc(var(--app-nav-height) + var(--app-safe-bottom) + 24px)}
@media(max-width:600px){
 :root{--app-nav-height:80px;--app-nav-font:12px;--app-nav-icon:24px;--app-nav-gap:4px}
 #main.shell>#nav>button{white-space:normal;line-height:1.3}
 #main.shell:not(.home-view) #view .row{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;align-items:start;padding:14px 0}
 #main.shell:not(.home-view) #view .row b{text-align:left;max-width:100%}
 #main.shell:not(.home-view) #view .choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 #main.shell:not(.home-view) #view .profile-metrics{grid-template-columns:minmax(0,1fr);gap:0;padding:8px 16px}
 #main.shell:not(.home-view) #view .profile-metrics button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;min-height:62px;padding:12px 0;border-bottom:1px solid #edf2f8;font-size:15px}
 #main.shell:not(.home-view) #view .profile-metrics button:last-child{border-bottom:0}
 #main.shell:not(.home-view) #view .profile-metrics b{font-size:20px;margin:0}
}
@media(max-width:420px){#main.shell:not(.home-view) #view .accountline{grid-template-columns:minmax(0,1fr)}}
@media(orientation:landscape) and (max-height:600px){
 :root{--app-nav-height:64px;--app-nav-pad:4px;--app-nav-font:12px;--app-nav-icon:20px;--app-nav-gap:2px}
 #main.shell>#nav>button{flex-direction:column;white-space:normal;line-height:1.3}
}

/* home-layout-review.css */
/* Home layout, reviewed against the supplied JA screenshot. */
#main.home-view>.top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 16px;min-height:0;padding:calc(18px + var(--app-safe-top)) 18px 16px;align-items:center}
#main.home-view .top>.brand{grid-column:1;grid-row:1;min-width:0;max-width:100%;gap:8px}
#main.home-view .top .brand-custom-copy{min-width:0;max-width:100%}
#main.home-view .top .brand-custom-copy b{font-family:inherit;font-size:clamp(18px,3.4vw,26px);white-space:normal;line-height:1.4;letter-spacing:.02em;overflow-wrap:anywhere}
#main.home-view .top .brand-custom-copy small{white-space:normal;font-size:12px;line-height:1.5;letter-spacing:0}
#main.home-view .top>.header-actions{grid-column:2;grid-row:1;gap:8px;min-width:0}
#main.home-view .header-actions button{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:5px}
#main.home-view .header-actions span{font-size:13px}
#main.home-view .top>.home-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin:0;padding:11px 14px;box-sizing:border-box}
#main.home-view .home-search input{font-size:16px;min-width:0;width:100%}
#main.home-view .home-shortcuts{align-items:stretch;height:auto;padding:18px 10px;gap:16px 8px}
#main.home-view .home-shortcuts button{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 3px;height:auto}
#main.home-view .home-shortcuts i{flex:none;width:48px;height:48px;margin-bottom:10px}
#main.home-view .home-shortcuts b{font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-align:center;margin:0 0 6px}
#main.home-view .home-shortcuts small{font-size:12px;line-height:1.65;white-space:normal;overflow-wrap:anywhere;text-align:center;margin:0;max-width:100%}
#main.home-view .home-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-left:0;align-items:stretch}
#main.home-view .home-project>.photo{aspect-ratio:1.7;flex:none;height:auto;min-height:0}
#main.home-view .home-project .project-cover{display:block;width:100%;height:100%;object-fit:cover}
#main.home-view .home-project-body{display:flex;flex-direction:column;gap:12px;min-height:0;height:auto;max-height:none;padding:16px;flex:1}
#main.home-view .project-card-title{font-size:17px;line-height:1.55;font-weight:650;margin:0;color:#203755;white-space:normal;overflow-wrap:anywhere}
#main.home-view .project-card-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;line-height:1.6;color:#617286;position:static}
#main.home-view .project-card-meta span{display:inline-flex;align-items:center;gap:4px;min-width:0;overflow-wrap:anywhere}
#main.home-view .project-card-meta svg{width:15px;height:15px;flex:none}
#main.home-view .project-amount{font-size:26px;line-height:1.5;align-self:stretch;overflow-wrap:anywhere}
#main.home-view .project-amount small{font-size:14px}
#main.home-view .project-metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0}
#main.home-view .project-metrics>div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px}
#main.home-view .project-metrics b{font-size:16px;white-space:normal}
#main.home-view .project-metrics :is(span,small){font-size:13px;line-height:1.6}
#main.home-view .funding-line{grid-template-columns:minmax(0,1fr);gap:8px}
#main.home-view :is(.amount-caption,.project-progress small){font-size:12px;line-height:1.5}
#main.home-view .home-project .btn{margin-top:auto;min-height:46px;height:auto;font-size:15px;line-height:1.5;padding:11px 12px;width:100%;box-sizing:border-box}
#main.home-view [data-currency-available=false] .project-amount{font-size:14px!important;line-height:1.7!important;background:#f5f8fc;border-radius:8px;padding:10px 12px;color:#617286}
#main.home-view [data-currency-available=false] .home-project-body{flex:1;min-height:0}
#main.home-view .foreign-carousel{width:100%;min-width:0;min-height:220px;aspect-ratio:auto;box-sizing:border-box}
#main.home-view .foreign-carousel .banner-copy{padding:24px 24px 42px;justify-content:center}
#main.home-view .foreign-carousel .banner-copy h1{font-size:clamp(18px,3vw,28px);line-height:1.5;letter-spacing:0;margin-bottom:10px;max-width:95%;overflow-wrap:anywhere}
#main.home-view .foreign-carousel .banner-copy p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){
 #main.home-view>.top{padding:calc(14px + var(--app-safe-top)) 12px 14px;gap:12px}
 #main.home-view .top .brand-mark{width:34px;height:34px;flex:none}
 #main.home-view .header-actions span{display:none}
 #main.home-view .home-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #main.home-view .home-project-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 #main.home-view .home-project>.photo{aspect-ratio:2}
 #main.home-view .home-project-body{padding:16px;gap:12px}
 #main.home-view .project-card-title{font-size:18px}
 #main.home-view .foreign-carousel{min-height:200px}
 #main.home-view .foreign-carousel .banner-copy{padding:20px 18px 38px}
}

#main.home-view .home-shortcuts [data-interface-shortcut="announcements"] i{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#22b8bb,#2496b8);color:#fff}#main.home-view .home-shortcuts [data-interface-shortcut="announcements"] i svg{width:25px;height:25px}

/* Keep English words intact within the three-column mobile shortcut grid. */
html:lang(en) #main.home-view .home-shortcuts b{font-size:14px!important;white-space:normal;overflow-wrap:normal!important;word-break:normal}
html:lang(en) #main.home-view .home-shortcuts small{font-size:11px!important;white-space:normal;overflow-wrap:normal!important;word-break:normal}

/* font-trial-c.css */
/* C: one small step above B, with an independently readable brand tagline. */
html[data-font-preview=C] #main.home-view .home-shortcuts b{font-size:17px}
html[data-font-preview=C] #main.home-view .home-shortcuts small{font-size:15px}
html[data-font-preview=C] #main.home-view .project-card-title{font-size:21px}
html[data-font-preview=C] #main.home-view .project-card-meta{font-size:16px}
html[data-font-preview=C] #main.home-view .home-project .btn{font-size:18px}
html[data-font-preview=C] #main.home-view [data-currency-available=false] .project-amount{font-size:17px!important}
html[data-font-preview=C] #main.shell:not(.home-view):not(.auth-gate) #view{font-size:19px}
html[data-font-preview=C] #main.shell:not(.home-view) #view :is(.row,.itemmain b,.itemmain em,.choices button,.tabs button,.quick button,.menu){font-size:18px}
html[data-font-preview=C] #main.shell:not(.home-view) #view :is(small,.itemmain small,.profile-metrics button,.muted,.notice){font-size:17px}
html[data-font-preview=C] #main .top .brand-custom-copy small{font-size:16px;line-height:1.65;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;display:block;margin-top:5px}
html[data-font-preview=C] #main .top .brand-custom-copy{min-width:0}
html[data-font-preview=C] #main .top .brand-custom-copy b{font-family:inherit;font-size:clamp(18px,3.4vw,26px);line-height:1.4;letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}
html[data-font-preview=C] #main:not(.home-view)>.top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;height:auto}
html[data-font-preview=C] #main:not(.home-view) .top>.brand{min-width:0;max-width:100%}
html[data-font-preview=C] #main .top .brand-custom-copy{flex:1}

/* banner-type-preview.css */
/* All slides share their tallest natural text height; larger text cannot clip. */
#main.home-view .readable-carousel{width:100%;min-width:0;height:auto;min-height:0;aspect-ratio:auto}
#main.home-view .readable-carousel .banner-slides{position:relative;inset:auto;display:grid;grid-template-columns:minmax(0,1fr)}
#main.home-view .readable-carousel .banner-slide{position:relative;inset:auto;grid-area:1/1;min-width:0}
#main.home-view .readable-carousel .banner-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#main.home-view .readable-carousel .banner-copy{position:relative;inset:auto;min-height:250px;padding:30px 28px 48px;box-sizing:border-box;justify-content:center}
#main.home-view .readable-carousel .banner-copy h1{font-size:clamp(24px,4vw,34px);line-height:1.5;letter-spacing:0;margin:0 0 12px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#main.home-view .readable-carousel .banner-copy p{font-size:16px;line-height:1.7;margin:0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){#main.home-view .readable-carousel .banner-copy{min-height:240px;padding:24px 20px 44px}}
html:lang(zh-CN) #main.home-view .readable-carousel .banner-slides{width:100%;min-width:0;flex:1}
/* Every slide shares one frame. Keep the wide original intact, not stretched. */
#main.home-view .readable-carousel .original-banner{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#072c50}
#main.home-view .readable-carousel .original-banner:before{content:'';position:absolute;inset:-12px;background:url('/static/images/banners/trade-1.png') center/cover;filter:blur(8px) brightness(.5);pointer-events:none}
#main.home-view .readable-carousel .original-banner>.reference-crop{position:relative;z-index:1;flex:0 0 100%;width:100%;height:auto;aspect-ratio:825/245}
/* Cover the reference's baked-in dots with the working indicator row. */
@supports(width:1cqw){
 #main.home-view .readable-carousel:has(.original-banner){container-type:inline-size}
 #main.home-view .readable-carousel:has(.original-banner.active) .banner-dots{top:calc(50% + 14.848485cqw - 31px);bottom:auto;z-index:2}
 @media(max-width:600px){#main.home-view .readable-carousel:has(.original-banner.active) .banner-dots{top:calc(50% + 14.848485cqw - 20px)}}
}

/* banner-layout.css */
/* A shared natural-height frame; all artwork and editable text are separate. */
#main.home-view .managed-carousel{height:auto;aspect-ratio:auto;padding:0;overflow:hidden;background:#082641}
#main.home-view .managed-carousel .banner-slides{position:relative;inset:auto;display:grid;grid-template-columns:minmax(0,1fr)}
#main.home-view .managed-carousel .managed-banner{position:relative;inset:auto;grid-area:1/1;min-width:0;display:block}
#main.home-view .managed-carousel .managed-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
#main.home-view .managed-carousel .banner-copy{position:relative;inset:auto;min-height:250px;padding:28px var(--banner-inset) 46px;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(90deg,#021b4666,transparent 85%)}
#main.home-view .managed-carousel .banner-main-copy{width:var(--banner-width);flex:0 1 var(--banner-width);min-width:0;text-align:var(--banner-align)}
#main.home-view .managed-carousel .banner-copy h1{font-size:var(--banner-title);line-height:1.3;margin:0 0 12px;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:0;color:white}
#main.home-view .managed-carousel .banner-copy p{font-size:var(--banner-subtitle);line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#eff6ff;margin:0}
#main.home-view .managed-carousel .banner-features{min-width:0;flex:1;padding:14px 10px;border:1px solid #ffffff70;border-radius:10px;background:#09284666;backdrop-filter:blur(5px);color:white;font-size:var(--banner-feature)}
#main.home-view .managed-carousel .banner-features>div{display:flex;align-items:center;gap:8px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}
#main.home-view .managed-carousel .banner-features>div:last-child{margin-bottom:0}
#main.home-view .managed-carousel .banner-features svg{width:20px;height:20px;flex:none}
#main.home-view .managed-carousel .banner-dots{top:auto;bottom:8px;left:50%;transform:translateX(-50%);height:28px;padding:0 6px;align-items:center;border-radius:20px;background:#09284666;z-index:3}
#main.home-view .managed-carousel .banner-dots button{width:24px;height:28px;min-height:28px;padding:0}
#main.home-view .managed-carousel .banner-dots button:after{height:6px;width:6px}
#main.home-view .managed-carousel .banner-dots button[aria-pressed=true]:after{height:6px;width:18px}
#main.home-view .managed-carousel .banner-pause{bottom:8px;top:auto;right:10px;height:28px;min-height:28px;z-index:3}
@media(max-width:480px){#main.home-view .managed-carousel .banner-copy{min-height:240px;gap:12px;padding-top:22px}#main.home-view .managed-carousel .banner-copy h1{font-size:min(var(--banner-title),6.2vw)}#main.home-view .managed-carousel .banner-features{padding:10px 6px}#main.home-view .managed-carousel .banner-features svg{width:16px;height:16px}#main.home-view .managed-carousel .banner-features>div{gap:5px}}

/* One full-width track and one mobile layout for every locale. */
#main.home-view .managed-carousel .banner-slides{width:100%;min-width:0;flex:1 1 100%}
@media(max-width:480px){
 #main.home-view .managed-carousel .banner-copy{gap:10px;flex-wrap:wrap;align-content:center;padding:22px 16px 46px;min-height:240px}
 #main.home-view .managed-carousel .banner-main-copy{width:100%;flex:1 1 100%}
 #main.home-view .managed-carousel .banner-copy h1{font-size:min(var(--banner-title),6vw);line-height:1.35;margin-bottom:10px}
 #main.home-view .managed-carousel .banner-copy p{font-size:min(var(--banner-subtitle),max(12px,3.4vw));line-height:1.65}
 #main.home-view .managed-carousel .banner-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;flex:1 1 100%;padding:8px 10px;font-size:min(var(--banner-feature),max(12px,3.2vw))}
 #main.home-view .managed-carousel .banner-features>div{margin:0;gap:6px;line-height:1.5;word-break:normal}
 html:lang(zh-CN) #main.home-view .managed-carousel .banner-copy p{font-size:min(var(--banner-subtitle),3.4vw)}
 html:lang(zh-CN) #main.home-view .managed-carousel .banner-features{font-size:min(var(--banner-feature),3.2vw)}
}

/* invite-design.css */
.invite-page{display:flex;flex-direction:column;gap:18px;padding-bottom:12px;--invite-blue:#2664eb;--invite-ink:#19314e}.invite-page *{box-sizing:border-box}.invite-page .panel{margin:0;border:1px solid #e4ebf5;border-radius:20px;padding:22px;background:#fff;box-shadow:0 6px 24px #17365c06;min-width:0}.invite-hero{position:relative;overflow:hidden;border-radius:22px;padding:30px 26px;color:white;background:radial-gradient(ellipse at 100% 0%,#7fb7ff70,transparent 62%),linear-gradient(120deg,#123c86,#2869e6);min-height:195px}.invite-hero h2{font-size:26px;line-height:1.45;margin:10px 0;max-width:75%;color:white}.invite-hero>p{position:relative;z-index:1;font-size:14px;line-height:1.7;margin:0;max-width:75%}.invite-hero .invite-eyebrow{font-size:11px;letter-spacing:.12em;color:#c6ddff}.invite-hero-orbit{position:absolute;right:18px;top:45px;width:102px;height:102px;border:1px solid #ffffff40;border-radius:50%;display:grid;place-items:center}.invite-hero-orbit>svg{width:39px;height:39px;color:#e8f3ff}.invite-hero-orbit>span{position:absolute;display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#ffffff22;border:1px solid #ffffff50;font-size:11px}.invite-hero-orbit>span:nth-child(2){top:-12px;left:36px}.invite-hero-orbit>span:nth-child(3){bottom:2px;left:-8px}.invite-hero-orbit>span:nth-child(4){bottom:2px;right:-8px}.invite-section-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.invite-page h3,.invite-page h4{font-size:18px;line-height:1.5;margin:0;color:var(--invite-ink)}.invite-section-title>svg{width:24px;height:24px;color:#7d93b3}.invite-page .invite-caption{font-size:13px;color:#7b8da6;line-height:1.8;margin:8px 0 16px;overflow-wrap:anywhere}.invite-code-chip{display:inline-flex;gap:8px;align-items:center;padding:6px 10px;border-radius:9px;background:#eff5ff;color:#587298;font-size:12px}.invite-code-chip b{font-size:14px;color:#2158c8}.invite-link-row{display:flex;align-items:stretch;gap:10px}.invite-page .invite-link-row input{margin:0;min-width:0;flex:1;font-size:13px;background:#f7f9fd;border:1px solid #e3eaf5;color:#6b7e99;border-radius:12px}.invite-page .invite-link-row .btn{width:auto;flex:none;padding:12px 18px;border-radius:12px}.invite-page .profile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 0;text-align:center}.invite-page .profile-metrics>div{display:flex;flex-direction:column;gap:6px;min-width:0}.invite-page .profile-metrics b{font-size:23px;color:#213d65;overflow-wrap:anywhere;line-height:1.4}.invite-page .profile-metrics small{font-size:11px;color:#8997ad;line-height:1.65}.invite-overview>.profile-metrics+.profile-metrics{border-top:1px solid #eef2f8;padding-top:18px}.invite-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:20px;background:#f2f4f8;color:#8b98ad;font-size:11px}.invite-status:before{content:'';height:5px;width:5px;border-radius:50%;background:currentColor}.invite-status.is-on{background:#e9f9f1;color:#219467}.invite-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 22px}.invite-tier{position:relative;display:flex;flex-direction:column;gap:5px;padding:18px 10px 16px;border:1px solid #e2ecfd;background:linear-gradient(155deg,#f1f6ff,#fff);border-radius:15px;text-align:center;min-width:0;overflow:hidden}.invite-tier:nth-child(2){background:linear-gradient(155deg,#f4f1ff,#fff);border-color:#ebe5fb}.invite-tier:nth-child(3){background:linear-gradient(155deg,#fff7e9,#fff);border-color:#f4ead6}.invite-tier-number{align-self:center;font-size:10px;font-weight:700;letter-spacing:.1em;padding:3px 8px;border-radius:7px;color:#6090da;background:#e6efff;margin-bottom:5px}.invite-tier small{font-size:12px;line-height:1.6;color:#6c7d98}.invite-tier strong{font-size:28px;line-height:1.4;color:#235ecb;overflow-wrap:anywhere}.invite-tier>span:last-child{font-size:11px;color:#93a0b5}.invite-points-wallet{padding:22px;border-radius:17px;background:linear-gradient(125deg,#153b79,#2463ca);color:white}.invite-wallet-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#c7dbff;font-size:13px}.invite-currency{font-size:11px;border:1px solid #ffffff30;padding:3px 8px;border-radius:6px;letter-spacing:.1em}.invite-wallet-value{display:block;font-size:42px;line-height:1.4;margin:10px 0 18px;overflow-wrap:anywhere;letter-spacing:.01em}.invite-wallet-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid #ffffff24;padding-top:16px}.invite-wallet-stats>div{display:flex;flex-direction:column;gap:6px}.invite-wallet-stats span{font-size:11px;color:#bed5fc}.invite-wallet-stats b{font-size:18px;overflow-wrap:anywhere}.invite-convert{padding:24px 0 8px}.invite-convert label{font-size:13px;color:#667d9b}.invite-page .invite-convert input{border-radius:12px;background:#f8faff;font-size:16px}.invite-page .invite-convert .btn{border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;background:linear-gradient(100deg,#3478fa,#245cda);box-shadow:0 5px 14px #2463d51c;font-size:14px;line-height:1.6;white-space:normal}.invite-rate{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 14px;border-radius:10px;background:#f3f7fe;font-size:12px;color:#7d90ab;margin:12px 0 18px}.invite-rate b{color:#315f9e}.invite-page .btn:disabled{box-shadow:none;opacity:.48}.invite-records{border-top:1px solid #edf1f7;padding:18px 0}.invite-records summary{cursor:pointer;font-size:15px;font-weight:650;color:#304967;line-height:1.7}.invite-records summary>span{float:right;font-size:11px;font-weight:400;background:#f1f5fa;padding:0 8px;border-radius:10px;color:#8192aa;margin-right:4px}.invite-record{display:flex;gap:10px;align-items:center;padding:16px 0;border-bottom:1px solid #f0f3f8;min-width:0}.invite-record:last-child{border:0}.invite-record-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#eef4ff;color:#4779ca;font-size:12px;font-weight:700}.invite-record>div{flex:1;min-width:0}.invite-record strong{display:block;font-size:13px;font-weight:550;line-height:1.7;color:#4c6280}.invite-record small{display:block;font-size:11px;color:#96a3b7;line-height:1.8;overflow-wrap:anywhere}.invite-record>b{font-size:15px;color:#2079ab;overflow-wrap:anywhere;max-width:40%}.invite-empty{display:flex;flex-direction:column;align-items:center;gap:8px;color:#a4b1c4;padding:24px 8px}.invite-empty svg{width:30px;height:30px;opacity:.65}.invite-empty p{font-size:12px;margin:0;line-height:1.7}.invite-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px}.invite-pagination>span{font-size:12px;color:#8b9db5}.invite-page .invite-pagination .btn{font-size:12px;width:auto;border-radius:9px;min-height:36px}.invite-footnote{font-size:11px;color:#95a4b9;line-height:1.9;margin:20px 0 0}.invite-page .invite-parent h3{font-size:15px}.invite-page .invite-parent p{font-size:13px;line-height:1.8;color:#8091aa}.invite-page .invite-people .item{padding:16px 0}.invite-page .invite-people .itemmain b{font-size:14px;color:#49627f}.invite-page .invite-people .itemmain small{font-size:11px;line-height:1.8}.invite-page .invite-people .empty{font-size:12px;background:#f9fbfe;border-radius:12px;padding:25px 10px}.invite-page .invite-people .flex{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#93a2b7}.invite-page .invite-people .btn{width:auto;font-size:12px}.invite-page .invite-overview>.muted{font-size:11px;color:#9aa8bb;line-height:1.8;margin-bottom:0}@media(max-width:380px){.invite-page .panel{padding:17px}.invite-hero{padding:24px 20px}.invite-hero h2{font-size:23px;max-width:72%}.invite-hero-orbit{right:14px;width:84px;height:84px}.invite-hero>p{max-width:70%}.invite-page .invite-link-row{flex-direction:column}.invite-page .invite-link-row .btn{width:100%}.invite-tier strong{font-size:24px}.invite-tier small{font-size:11px}.invite-page .profile-metrics{gap:7px}.invite-page .profile-metrics b{font-size:20px}}@media(prefers-reduced-motion:reduce){.invite-page *{scroll-behavior:auto}}

/* Override older non-home page layout rules only inside this page. */
#main.shell:not(.home-view) #view .invite-page .profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;margin:20px 0 0}
#main.shell:not(.home-view) #view .invite-page .profile-metrics b{font-size:23px;line-height:1.4;margin:0}
#main.shell:not(.home-view) #view .invite-page .profile-metrics small{font-size:11px;line-height:1.7}
#main.shell:not(.home-view) #view .invite-page .invite-overview>.profile-metrics+.profile-metrics{padding-top:18px}
#main.shell:not(.home-view) #view .invite-page .invite-tier{padding:18px 6px 16px;margin:0}
#main.shell:not(.home-view) #view .invite-page .invite-tier small{font-size:11px;line-height:1.6;word-break:normal}
#main.shell:not(.home-view) #view .invite-page .invite-tier strong{font-size:28px;line-height:1.4}
#main.shell:not(.home-view) #view .invite-page .invite-tier>span:last-child{font-size:11px;line-height:1.6}
#main.shell:not(.home-view) #view .invite-page .invite-hero h2{font-size:25px;line-height:1.4;max-width:calc(100% - 92px);margin:12px 0;color:white}
#main.shell:not(.home-view) #view .invite-page .invite-hero>p{font-size:12px;line-height:1.7;max-width:calc(100% - 90px)}
#main.shell:not(.home-view) #view .invite-page .invite-caption{font-size:13px;line-height:1.8}
#main.shell:not(.home-view) #view .invite-page .invite-overview>.muted{font-size:11px;line-height:1.8}

#main #view .invite-page #tierConvertButton:disabled:not([aria-busy="true"]){cursor:not-allowed}
#main #view .invite-page #tierConvertButton[aria-busy="true"]{cursor:progress}

/* company-catalog.css */
#homePartners.partners-expanded{background:linear-gradient(145deg,#f0f6ff,#fff);border:1px solid #e6edf8;border-radius:18px;padding:18px}
#homePartners .company-catalog-tools{display:flex;gap:10px;margin:14px 0 8px;align-items:center}
#homePartners .company-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:#fff;border:1px solid #e1e9f4;border-radius:10px;padding:8px 12px;color:#8394aa}
#homePartners .company-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:#253b58}
#homePartners .company-catalog-tools select{max-width:140px;background:#fff;border:1px solid #e1e9f4;border-radius:10px;padding:9px;font-size:12px;color:#45607e;min-width:0}
.company-catalog-meta{display:flex;gap:7px;align-items:center;font-size:12px;color:#8594a9;margin:12px 0}.company-catalog-meta b{font-size:11px;background:#e6effd;color:#4971ab;border-radius:20px;padding:2px 7px}
#homePartners .company-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#homePartners .company-tile{border:1px solid #e9eef6;background:white;border-radius:12px;padding:0 0 12px;overflow:hidden;min-width:0;color:#253e60;box-shadow:0 3px 10px #20477704;transition:transform .15s,box-shadow .15s;text-align:center}
#homePartners .company-tile:hover{transform:translateY(-2px);box-shadow:0 8px 20px #24477812;border-color:#cbdcf5}
.company-tile-logo{display:block;aspect-ratio:122/66;margin:10px 8px 8px;background:#fff;border-radius:7px;overflow:hidden}.company-tile-logo>img{width:100%;height:100%;object-fit:contain}.company-tile-logo>.reference-crop{height:100%;width:100%}
#homePartners .company-tile strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;height:36px;padding:0 8px;font-weight:600;overflow-wrap:anywhere}
.company-catalog-empty{grid-column:1/-1;text-align:center;padding:30px 10px;font-size:13px;color:#8b9ab0}.company-catalog-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:18px;font-size:12px;color:#7287a3}.company-catalog-pagination button{background:#fff;border:1px solid #dfe8f5;border-radius:9px;width:34px;color:#3d69a7;font-size:20px}.company-catalog-pagination button:disabled{opacity:.35}
.company-profile-dialog{width:min(520px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:0;border-radius:22px;padding:32px 24px 26px;color:#233d60;box-shadow:0 24px 90px #11294d35}.company-profile-dialog::backdrop{background:#10284470;backdrop-filter:blur(4px)}.company-profile-close{position:absolute;right:12px;top:10px;width:34px;border:0;background:#f0f5fc;border-radius:50%;color:#6f86a4;font-size:24px}.company-profile-logo{width:164px;aspect-ratio:122/66;margin:14px auto 22px;overflow:hidden;background:#fff}.company-profile-logo>img{width:100%;height:100%;object-fit:contain}.company-profile-logo>.reference-crop{height:100%;width:100%}.company-profile-dialog h2{font-size:21px;margin:0 0 12px;line-height:1.5;overflow-wrap:anywhere}.company-profile-industry{background:#edf4ff;color:#4b75ac;border-radius:7px;padding:5px 10px;font-size:12px}.company-profile-description{white-space:pre-wrap;font-size:14px;line-height:1.9;color:#657b96;margin:22px 0;overflow-wrap:anywhere}.company-profile-status{font-size:12px;color:#94a1b2}.company-profile-link{display:inline-block;color:#276cce;font-size:13px}
@media(min-width:800px){#homePartners .company-catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:600px){#homePartners.partners-expanded{padding:12px}#homePartners .company-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#homePartners .company-catalog-tools{gap:6px}#homePartners .company-search{padding:8px}#homePartners .company-search input{font-size:11px}#homePartners .company-catalog-tools select{max-width:100px;font-size:11px;padding:9px 5px}#homePartners .company-tile strong{font-size:11px;height:33px}.company-tile-logo{margin:8px 5px}.company-profile-dialog{padding:28px 20px 22px}}
#homePartners .company-catalog-pagination button[aria-disabled="true"]{opacity:.4;cursor:default!important}
.company-profile-dialog button.company-profile-link{border:0;border-radius:9px;background:#edf4ff;padding:10px 14px;cursor:pointer;text-align:left}
.company-reading-back{border:0;background:transparent;color:#5c7ea9;padding:4px 0;margin:0 0 28px;cursor:pointer;font-size:13px}.company-reading-article h2{margin:18px 0 8px;font-size:24px;line-height:1.5}.company-reading-label{font-size:12px;color:#9aa9bb;margin:0 0 26px}.company-reading-copy{white-space:pre-wrap;font-size:15px;line-height:2.1;color:#4b6382;overflow-wrap:anywhere}.company-reading-source{background:#f4f7fc;border:1px solid #e6edf6;border-radius:12px;padding:16px;margin-top:30px;display:grid;gap:9px;font-size:12px;overflow-wrap:anywhere;color:#6d829e}.company-reading-source b{color:#415f86;font-size:12px}.company-reading-source small{color:#9aa8ba;font-size:11px}

/* global-companies.css */
#homePartners.global-company-home .partners-heading select{margin-left:auto;max-width:115px;min-height:30px;border:1px solid #dfE8f5;border-radius:9px;background:#fff;padding:4px 7px;color:#4a6b93;font-size:12px}#homePartners.global-company-home .partners-heading button{margin-left:4px}#homePartners .company-logo-only{border:0;padding:0;min-height:0}#globalCompanyHomeStatus:empty{display:none}
.global-directory-hero{background:linear-gradient(120deg,#153a6c,#3478bc);padding:24px;border-radius:18px;margin:0 0 16px;color:white}.global-directory-hero>span{font-size:10px;letter-spacing:2.5px;color:#b8d5f6}.global-directory-hero h2{font-size:24px;margin:12px 0 22px;line-height:1.5}.global-directory-hero label{display:flex;align-items:center;gap:10px;font-size:12px;color:#d7e7fb}.global-directory-hero select{background:#ffffff19;border:1px solid #ffffff60;color:white;border-radius:8px;padding:7px;max-width:180px}.global-directory-hero select option{color:#203957;background:white}
.global-directory-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.global-directory-filters input,.global-directory-filters select{width:100%;min-width:0;padding:10px;border:1px solid #dfE8f5;border-radius:9px;background:white;font-size:12px;color:#3c587b}.global-directory-count{font-size:12px;color:#8495ac;margin:20px 0 14px}.global-directory-count b{background:#ebf3ff;color:#426da5;padding:3px 7px;border-radius:10px}.global-directory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.global-directory-grid .company-tile{display:block;min-width:0;border:1px solid #e7eef7;border-radius:12px;padding:5px 4px 12px;background:white;text-align:center;color:#294465;transition:box-shadow .2s}.global-directory-grid .company-tile:hover{box-shadow:0 7px 20px #24477816}.global-directory-grid .company-tile strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.6;min-height:38px;overflow-wrap:anywhere;padding:0 3px}.global-directory-grid .company-tile>small{display:block;font-size:10px;color:#8d9eb4;margin-top:7px}#globalCompanyDirectory .company-catalog-pagination button[aria-disabled=true]{cursor:default!important;opacity:.4}#globalCompanyDirectory .company-tile-logo{aspect-ratio:122/66;margin:8px 4px}
@media(max-width:600px){.global-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.global-directory-filters{grid-template-columns:1fr 1fr}.global-directory-filters input{grid-column:1/-1}.global-directory-hero{padding:20px}.global-directory-hero h2{font-size:21px}.global-directory-grid .company-tile strong{font-size:11px;min-height:35px}#homePartners.global-company-home .partners-heading b{font-size:11px}#homePartners.global-company-home .partners-heading select{font-size:10px;max-width:90px;min-height:26px}}
