/* Zixin: navy identity, white surfaces, brass accents, editorial content. */
:root{--ink:#1d3037;--blue:#274876;--accent:#274876;--border:#e6e8ea;--muted:#6b798c;--paper:#f3f4f5;--surface:#fff;--soft:#eff0f2;font:15px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#eaebed;font-synthesis:none}
body{background:#eaebed;color:var(--ink)}button{font-weight:500;border-radius:10px;min-height:40px;padding:9px 15px;background:var(--accent);display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.45;letter-spacing:.01em}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button.secondary{background:#fff;border-color:#e0e2e5;color:#264673}button.link{color:var(--accent);padding:6px 0;min-height:34px}button.danger{background:#fff3f1;color:#b74d41;border-color:#f0d7d2}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #34609d;outline-offset:3px}button .ui-icon{flex-shrink:0}.ui-icon{display:inline-block;vertical-align:middle;flex-shrink:0}h1,h2,h3{letter-spacing:-.025em;color:var(--ink)}h1{font-size:26px;line-height:1.35;font-weight:650}h2{font-size:19px;line-height:1.45;font-weight:650}h3{font-size:16px;line-height:1.5;font-weight:600}.muted,small{color:var(--muted)}p{line-height:1.7}a{color:var(--accent)}
input,select,textarea{border:1px solid #e0e2e4;border-radius:9px;padding:11px 12px;color:var(--ink);background:#fff;font-size:14px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:#677486;box-shadow:0 0 0 3px #27487610}label{font-size:13px;font-weight:500;color:#284a79;margin-top:17px}textarea{min-height:120px;line-height:1.7}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
.portal{height:58px;padding:10px 16px;background:#eaebeded;border:0;gap:3px;backdrop-filter:blur(12px)}.portal button{font-size:12px;min-height:32px;min-width:110px;background:transparent;color:#3969ac;border-radius:7px;padding:6px 18px}.portal button.active{background:#fff;color:#1a304f;box-shadow:0 2px 8px #182c470a}.portal .ui-icon{width:15px;height:15px}
#app.member-app{max-width:480px;margin:0 auto;min-height:calc(100dvh - 58px);background:var(--paper);border-radius:22px 22px 0 0;box-shadow:0 10px 70px #15263f08;padding-bottom:88px;overflow:clip}.content{padding:20px}.member-topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:var(--paper)}.brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}.brand-symbol{width:38px;height:38px;border-radius:12px;background:#e6e7e9;color:#223e66;display:flex;align-items:center;justify-content:center;flex-shrink:0}.brand-lockup strong{font-size:14px;font-weight:650;display:block;line-height:1.4}.brand-lockup small{font-size:10px;display:block;letter-spacing:1.5px;color:#6a7789;margin-top:3px}.icon-button{width:36px;height:36px;min-height:36px;padding:0;border:1px solid #dfe1e3;border-radius:50%;background:transparent;color:#24436e}.home-content{padding-top:0}.page-heading{padding:12px 22px 0}.page-heading h1{margin:0}.page-heading p{margin:7px 0 0;color:#6b788a;font-size:12px}.text-back{background:none;color:#677486;font-size:12px;padding:0;margin:0 0 14px;min-height:28px}.page-heading:has(.text-back){padding-top:0}
.feature-story{position:relative;min-height:226px;border-radius:17px;overflow:hidden;background:#172943}.feature-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;border-radius:0}.feature-shade{position:absolute;inset:0;background:linear-gradient(0deg,#122135f2 0%,#16294360 58%,#12203510 100%)}.feature-copy{position:relative;z-index:1;padding:28px 22px 22px;min-height:226px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start}.feature-kicker{color:#e6e7e9;font-size:10px;letter-spacing:2px;margin-bottom:12px;display:flex;align-items:center;gap:9px}.feature-kicker i{width:28px;height:1px;background:#c5cad2}.feature-copy h1{max-width:285px;color:#fff;font-size:24px;line-height:1.55;font-weight:600;letter-spacing:.03em;margin:0 0 12px;text-wrap:balance}.feature-link{background:transparent;padding:0;min-height:30px;color:#ebecee;font-size:11px;gap:8px}.feature-index{position:absolute;bottom:23px;right:20px;color:#cccfd4;font-size:10px;letter-spacing:2px;z-index:1}
.service-panel{margin:16px 0 28px;padding:4px 8px 10px;background:white;border:1px solid #e9eaec;border-radius:16px}.shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:17px 6px;margin:15px 0 4px}.shortcut{display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent;color:#23416a;padding:0;font-size:12px;min-height:70px;font-weight:500}.shortcut .service-icon{display:flex;width:43px;height:43px;border-radius:13px;background:#f0f1f2!important;color:#305890;margin:0;align-items:center;justify-content:center}.shortcut .service-accent{background:#e8e9eb!important;color:#23416a}.shortcut .shortcut-name{display:block;background:none!important;color:#23416a;width:auto;height:auto;border-radius:0;font-size:12px;line-height:1.4;margin:0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px}.section-heading h2{margin:0;font-size:19px}.section-heading p{margin:3px 0 0;font-size:11px;color:#6b788a}.section-more{padding:4px 0;min-height:30px;background:none;color:#6e7b8e;font-size:11px;white-space:nowrap;gap:2px}.card{border:1px solid var(--border);box-shadow:none;background:#fff;border-radius:14px;padding:17px;margin-bottom:14px}.card img{border-radius:10px}.strip{gap:12px;margin-bottom:0;padding-bottom:3px;scrollbar-width:none}.strip::-webkit-scrollbar{display:none}.strip .member-card{flex:0 0 154px;min-width:154px;max-width:154px;padding:0;border:1px solid #e3e5e8;border-radius:13px;background:#fff;text-align:left;box-shadow:none;overflow:hidden;margin-bottom:0}.strip .member-card .member-portrait{display:block;width:100%;height:145px;min-width:0;border-radius:0;border:0;box-shadow:none;object-fit:cover;object-position:center 26%;margin:0}.strip .member-card .member-card-info{padding:10px 12px 9px;align-items:flex-start;gap:0}.strip .member-card h3{font-size:14px;line-height:1.5;margin:0 0 4px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.strip .member-card .member-job{font-size:10px;line-height:1.5;color:#34609d;margin:0 0 3px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strip .member-card .member-company{font-size:10px;line-height:1.5;color:#697688;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strip .member-card .member-headline,.strip .member-card .member-industry{display:none}.strip .member-card .link{font-size:10px;margin:7px 0 0;min-height:26px;padding:3px 0;color:#2c5082}.member-monogram{background:#e5e7e9;color:#315992}
.news-feed{background:#fff;border:1px solid var(--border);border-radius:15px;padding:0 15px}.news-card{display:flex;flex-direction:row-reverse;gap:14px;align-items:center;padding:16px 0;margin:0;border:0;border-bottom:1px solid #ecedee;border-radius:0;background:transparent}.news-card:last-child{border-bottom:0}.news-card .news-cover{width:86px;height:86px;object-fit:cover;border-radius:10px;flex-shrink:0}.news-copy{flex:1;min-width:0}.news-copy>small{display:flex;align-items:center;gap:6px;font-size:10px;color:#697688}.news-copy h3{font-size:14px;line-height:1.65;margin:5px 0 7px;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-text-link{font-size:10px;color:#325c97;background:none;min-height:23px;padding:0;gap:4px}.content>.news-card{background:#fff;border:1px solid var(--border);padding:15px;border-radius:13px;margin-bottom:12px}
.event-card{padding:0;overflow:hidden;border-radius:15px}.event-cover{height:153px;position:relative;overflow:hidden}.event-cover>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.event-date{position:absolute;bottom:12px;left:14px;display:flex;align-items:center;gap:6px;padding:4px 9px;background:#ffffffee;color:#223f67;border-radius:5px;font-size:10px}.event-copy{padding:16px}.tag{color:#345f9c;background:#eeeff1;padding:2px 8px;border-radius:5px;font-size:10px;font-weight:500;line-height:1.8}.tag.warn{background:#f7efd9;color:#957730}.event-copy h3{font-size:16px;margin:7px 0 11px;line-height:1.6}.event-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#687587;margin:5px 0}.event-meta .ui-icon{color:#96a0af}.event-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edeef0;padding-top:13px;margin-top:14px}.event-footer>small{font-size:10px;color:#6a7789}.compact-primary{border-radius:7px;font-size:11px;min-height:32px;padding:7px 12px;background:#274876}.page-signoff{text-align:center;font-size:10px;letter-spacing:3px;margin:32px 0 8px;color:#9ba5b2}.content-card{padding:0;overflow:hidden}.content-card>img{display:block;width:100%;max-height:230px;object-fit:cover;border-radius:0}.content-card-copy{padding:17px}.content-card h3{margin:8px 0}.reward-line{display:flex;align-items:center;gap:7px;color:#305891}.reward-line span{font-size:12px;color:var(--muted)}
.bottom{width:min(480px,100%);border-top:1px solid #e6e7e9;background:#fffffff5;backdrop-filter:blur(16px);padding:10px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #182c4704}.bottom button{flex-direction:column;gap:5px;background:none;color:#8f9aa9;font-size:10px;line-height:1.3;min-height:44px;padding:0;border-radius:8px;font-weight:500}.bottom button .ui-icon{stroke-width:1.65}.bottom button.active{color:#264673}.bottom button.active .ui-icon{stroke-width:2}.bottom button.active:after{content:'';height:3px;width:12px;background:#264673;border-radius:3px;margin-top:-1px}.bottom button:not(.active):after{content:'';height:3px}
.membership-card{position:relative;background:#192d4a;color:#fff;border-radius:17px;padding:23px 20px 18px;overflow:hidden}.membership-card:before{content:'';width:200px;height:200px;border:1px solid #ffffff0d;border-radius:50%;position:absolute;right:-80px;top:-100px;pointer-events:none}.membership-card:after{content:'';width:270px;height:270px;border:1px solid #ffffff08;border-radius:50%;position:absolute;right:-115px;top:-135px;pointer-events:none}.membership-top{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.membership-avatar{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#284a7a;color:#dee0e2;flex-shrink:0}.membership-avatar img{width:100%;height:100%;object-fit:cover;border-radius:18px}.membership-kicker{font-size:10px;color:#b0b7c2;letter-spacing:1px}.membership-top h2{color:#fff;font-size:21px;margin:0 0 5px}.membership-status{font-size:10px;color:#cacdd2;display:inline-flex;align-items:center;gap:4px}.membership-edit{margin-left:auto;align-self:flex-start;background:#ffffff0b;color:#bbc1ca;padding:7px;min-height:30px;border-radius:8px}.membership-numbers{display:flex;align-items:center;gap:34px;padding-top:19px;margin-top:20px;border-top:1px solid #ffffff15;position:relative;z-index:1}.membership-numbers strong{display:block;font-size:25px;font-weight:550;line-height:1.3;letter-spacing:.03em;font-variant-numeric:tabular-nums}.membership-numbers span{font-size:10px;color:#aeb6c1}.membership-numbers button{background:#2c5082;color:#e5e7e9;font-size:10px;padding:6px 9px;min-height:30px;margin-left:auto;border-radius:6px}.my-service-section{margin-top:24px}.my-service-section h2{font-size:16px;margin:0 0 11px}.my-service-grid,.my-service-list{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}.my-service-grid{display:grid;grid-template-columns:1fr 1fr}.my-service-item{display:flex;background:none;color:#264672;justify-content:flex-start;text-align:left;border-radius:0;min-height:65px;padding:14px;gap:10px;font-size:12px}.my-service-item>.ui-icon{margin-left:auto;color:#a7b0bc;width:14px}.my-service-icon{width:33px;height:33px;border-radius:10px;background:#f0f1f2;color:#6c798c;display:flex;align-items:center;justify-content:center;flex-shrink:0}.my-service-list .my-service-item{width:100%;padding:12px 16px;border-bottom:1px solid #ecedee;min-height:59px}.my-service-list .my-service-item:last-child{border-bottom:0}.my-service-grid .my-service-item{border-bottom:1px solid #ecedee}.my-service-grid .my-service-item:nth-child(odd){border-right:1px solid #ecedee}.logout-button{background:transparent;color:#667385;width:100%;font-size:12px;margin-top:22px}
.tabs{gap:6px;padding:10px 0 18px;scrollbar-width:none}.tabs button{font-size:12px;border-color:#e5e6e8;border-radius:7px;padding:7px 14px;min-height:34px;color:#697688}.tabs button.active{background:#e6e8ea;border-color:#dcdfe2;color:#24436e}.row.search{background:white;border:1px solid #e0e2e5;border-radius:10px;padding:4px;gap:4px}.row.search input{border:0;background:none;box-shadow:none;padding:7px 9px;font-size:12px}.row.search button{font-size:11px;border-radius:7px;min-height:34px;padding:7px 12px}.directory{gap:12px;grid-template-columns:78px minmax(0,1fr)}.levels button{border-radius:7px;font-size:11px;min-height:36px}.record{border-color:#e3e5e7}.empty{padding:48px 20px;color:#8b96a5;font-size:13px;line-height:1.8;background:#ffffff70;border:1px dashed #dcdee1;border-radius:12px}.loading{color:#838fa0;font-size:13px;padding:50px 20px}.error{background:#fff4f1;border:1px solid #f4e0d8;border-radius:9px;padding:12px 14px;font-size:13px;color:#ad5141}.error:empty{display:none}.rank{color:#315b94}.pre{line-height:1.85}.content>.member-card{padding:16px}.content>.member-card h3{font-size:17px}.member-company{color:#798698}.member-job{color:#315b94}.member-industry{background:#eeeff0;color:#647182}.member-profile-top{border-bottom:1px solid var(--border);margin-bottom:18px}.member-profile-top h2{font-size:24px}.member-eyebrow{color:#8a95a5}.member-profile .member-quote{background:#eff0f1;color:#3867a9}.member-profile section h3{border-color:#818d9e}.member-facts dt{color:#828e9f}.member-profile p{font-size:14px}.member-admin-card .tag{font-size:11px}
dialog{border:1px solid #e2e4e6;border-radius:19px;box-shadow:0 22px 90px #152f3930;max-width:680px;background:#fff}dialog::backdrop{background:#142f3b69;backdrop-filter:blur(4px)}dialog form{padding:24px}dialog header{top:-24px;background:white;padding:8px 0 15px;gap:15px;border-bottom:1px solid #ebecee;margin-bottom:15px}dialog header h2{font-size:18px;line-height:1.5;margin:0}dialog header button{width:32px;min-height:32px;flex-shrink:0;background:#f0f1f3;border-radius:50%;color:#7b889a}dialog footer{border-top:1px solid #ebecee;padding-top:16px;margin-top:23px}#dialogBody>img{display:block;max-height:330px;width:auto;max-width:100%;object-fit:contain;margin:0 auto 18px;border-radius:12px}#dialogBody .muted{font-size:12px}.article-dialog{max-width:1040px}.article-dialog .article-composer h3{font-size:16px}.article-dialog .ql-toolbar{border-color:#dee0e3;background:#f3f4f5}.article-dialog .ql-container{border-color:#dee0e3}.article-dialog .article-preview{box-shadow:none;border-color:#dee0e2}.article-dialog .rich-body h1{font-size:1.7em}.rich-body{font-size:15px;line-height:1.9}.question{border-color:#e0e2e4;border-radius:10px;background:#f9f9fa}.question label{font-size:13px}.survey-preview{background:#fafafa;border-color:#e0e2e4}#toast{background:#1a304e;box-shadow:0 8px 26px #16284124;font-size:13px;border-radius:9px;padding:11px 18px}.checkin-scanner video{border-radius:13px}
/* Operator workspace */
#app.admin-app{max-width:960px;margin:0 auto 24px;background:#f6f6f7;border:1px solid #dfe1e3;border-radius:16px;overflow:clip;min-height:calc(100dvh - 82px);padding:0;box-shadow:0 10px 45px #182b4606}#app.admin-app.desktop{max-width:1380px;margin-left:24px;margin-right:24px}.admin-layout,.desktop .admin-layout{display:grid;grid-template-columns:208px minmax(0,1fr);min-height:calc(100dvh - 84px)}.admin-sidebar{display:flex;flex-direction:column;background:#fff;border-right:1px solid #e3e5e7;padding:24px 14px 14px}.admin-brand{display:flex;align-items:center;gap:10px;padding:0 10px 24px}.admin-brand strong{display:block;font-size:14px;letter-spacing:.015em}.admin-brand small{display:block;font-size:10px;color:#8a95a5;margin-top:2px}.admin-nav,.desktop .admin-nav{display:flex;flex-direction:column;gap:17px;background:transparent;border:0;padding:0;overflow:visible}.admin-nav-group>p{font-size:10px;color:#8e99a8;letter-spacing:1px;margin:0 0 5px;padding:0 13px}.admin-nav button{width:100%;background:transparent;color:#647183;border:0;display:flex;justify-content:flex-start;gap:11px;padding:9px 13px;font-size:12px;border-radius:8px;min-height:37px;margin-bottom:3px}.admin-nav button .ui-icon{width:17px;height:17px;color:#828e9e}.admin-nav button.active{background:#eaecee;color:#294c7d;font-weight:600}.admin-nav button.active .ui-icon{color:#335d98}.admin-account{display:flex;align-items:center;gap:8px;margin-top:auto;padding:25px 7px 0;color:#6b788b}.admin-account strong{display:block;font-size:11px;font-weight:500}.admin-account small{display:block;max-width:95px;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#8b96a5}.admin-account button{font-size:10px;margin-left:auto}.admin-account button svg{display:none}.admin-main{min-width:0}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 28px;background:#ffffffb0;border-bottom:1px solid #e3e5e8}.admin-breadcrumb{display:flex;gap:10px;align-items:center;font-size:11px;color:#3969ac}.admin-breadcrumb strong{color:#315992;font-weight:500}.admin-topbar button{font-size:10px;min-height:29px;padding:5px 9px;border-radius:6px;background:#fff}.demo-badge{font-size:10px;color:#778497;background:#eeeff0;padding:4px 8px;border-radius:5px}.admin-heading{display:flex;justify-content:space-between;align-items:flex-end;padding:28px 28px 0}.admin-heading p{font-size:10px;letter-spacing:1px;color:#3866a7;margin:0 0 4px}.admin-heading h1{font-size:25px;color:#1e375a;margin:0}.admin-today{font-size:11px;color:#657183}.admin-app .content,.admin-app.desktop .content{padding:24px 28px 32px}.admin-app .card{border-color:#e1e3e5;border-radius:11px}.admin-app .toolbar{flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:16px 0}.admin-app .toolbar button{font-size:11px;min-height:33px}.admin-app .table-wrap{border:1px solid #dfe1e3;border-radius:11px;background:#fff}.admin-app table{font-size:12px}.admin-app th{padding:12px 15px;color:#3867a9;background:#f7f8f9;font-size:11px;border-bottom-color:#e1e3e6}.admin-app td{padding:13px 15px;color:#325c97;border-bottom-color:#eaebed}.admin-app tbody tr:hover{background:#fafafa}.admin-app td button{font-size:10px;min-height:28px;border-radius:6px;padding:5px 8px}.admin-app td.text-cell{min-width:170px}.admin-app .tag{font-size:10px}.admin-app .event-management>p,.admin-app .survey-management>p{font-size:12px;color:#7b889a}.admin-app .stats,.admin-app.desktop .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.admin-app .stat{padding:18px;margin-bottom:0}.dashboard-metrics .stat>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.dashboard-metrics small{font-size:11px;color:#3764a4}.metric-icon{color:#818d9e;background:#f0f1f3;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px}.admin-app .stat strong{font-size:30px;color:#234069;font-weight:550;line-height:1.3;margin:10px 0 4px;font-variant-numeric:tabular-nums}.metric-note{color:#697689;font-size:9px}.admin-welcome{background:#e9eaec;border:1px solid #dbdde0;border-radius:13px;padding:23px 25px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:18px}.admin-welcome span{font-size:10px;color:#3765a5;letter-spacing:1px}.admin-welcome h2{font-size:20px;font-weight:550;margin:6px 0;color:#2b4f81}.admin-welcome p{font-size:11px;color:#3867a8;margin:0}.welcome-emblem{display:flex!important;align-items:center;justify-content:center;width:80px;height:80px;border:1px solid #d5d7db;border-radius:22px;flex-shrink:0;color:#8c97a6!important}.admin-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-quick{background:#fff;border:1px solid #dfe1e3;border-radius:11px;padding:18px;display:flex;justify-content:flex-start;text-align:left;gap:13px;color:#2f568c}.admin-quick>div{flex:1}.admin-quick strong{font-size:12px;font-weight:550}.admin-quick p{font-size:10px;color:#647183;margin:4px 0 0}.admin-quick>.ui-icon{color:#99a3b1}.admin-note{display:flex;gap:12px;padding:19px 2px;color:#8b96a5;margin-top:14px}.admin-note strong{font-size:11px;font-weight:500;color:#6e7c8f}.admin-note p{font-size:11px;margin:4px 0}.admin-app .section-heading h2{font-size:16px;color:#315992}.admin-app .member-admin-card .member-portrait{border-radius:9px;border:0}.admin-app .member-admin-card h3{font-size:15px;color:#2b4e80}.admin-app .member-admin-card p{font-size:11px;color:#3765a5}.admin-app .showcase-management>h2{display:none}.admin-app .showcase-management>p{font-size:12px;color:#3866a6}
@media(min-width:1480px){#app.admin-app.desktop{margin-left:auto;margin-right:auto}}@media(max-width:800px){.admin-layout,.desktop .admin-layout{grid-template-columns:170px minmax(0,1fr)}.admin-sidebar{padding:20px 8px}.admin-brand{gap:7px;padding:0 8px 20px}.admin-brand strong{font-size:12px}.admin-brand .brand-symbol{width:30px;height:30px}.admin-nav button{font-size:11px;padding:9px;gap:8px}.admin-topbar{padding:12px 18px}.admin-heading{padding:22px 18px 0}.admin-app .content,.admin-app.desktop .content{padding:20px 18px}.admin-app .stats,.admin-app.desktop .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-quick-grid{grid-template-columns:1fr}.admin-welcome h2{font-size:17px}.admin-today{display:none}}
@media(max-width:600px){body,.portal{background:var(--paper)}.portal{height:48px;padding:7px 14px}.portal button{flex:0 1 140px;font-size:11px;padding:5px 13px;min-height:29px}.portal button.active{background:#e7e8ea;box-shadow:none}#app.member-app{margin:0;max-width:none;border-radius:0;box-shadow:none;min-height:calc(100dvh - 48px)}.member-topbar{height:75px;padding:14px 20px}.content{padding:18px 20px}.home-content{padding-top:0}.page-heading{padding:10px 20px 0}.brand-lockup strong{font-size:13px}.brand-lockup small{font-size:9px}.feature-story,.feature-copy{min-height:209px}.feature-copy{padding:25px 19px 18px}.feature-copy h1{font-size:23px;max-width:265px}.bottom{width:100%}.section-heading{margin-top:25px}.section-heading h2{font-size:18px}.strip .member-card{min-width:145px;max-width:145px;flex-basis:145px}.strip .member-card .member-portrait{height:138px}.event-cover{height:148px}.feature-index{bottom:21px;font-size:9px}.membership-numbers{gap:28px}.my-service-item{padding:12px;font-size:11px;gap:8px}.my-service-icon{width:30px;height:30px}.my-service-item>.ui-icon{width:12px}dialog{width:calc(100% - 20px);max-height:90dvh;border-radius:16px}dialog form{padding:19px}dialog header{top:-19px}.article-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.article-dialog form{padding:16px}.admin-app,.admin-app.desktop,#app.admin-app.desktop,#app.admin-app{max-width:none;margin:0;border-radius:0;border:0}.admin-layout,.desktop .admin-layout{display:flex;flex-direction:column}.admin-sidebar{border-right:0;border-bottom:1px solid #e3e5e8;padding:12px 14px 7px}.admin-brand{padding:0 2px 12px}.admin-brand strong{font-size:13px}.admin-brand small{display:none}.admin-brand .brand-symbol{width:27px;height:27px;border-radius:7px}.admin-nav,.desktop .admin-nav{flex-direction:row;overflow-x:auto;gap:5px;scrollbar-width:none;padding:0}.admin-nav-group{display:contents}.admin-nav-group>p{display:none}.admin-nav button{width:auto;flex-shrink:0;font-size:11px;min-height:34px;padding:7px 10px;margin:0}.admin-nav button svg{width:15px;height:15px}.admin-account{display:none}.admin-topbar{padding:10px 18px;min-height:46px}.admin-breadcrumb{font-size:10px;gap:5px}.admin-heading{padding:20px 18px 0}.admin-heading h1{font-size:23px}.admin-app .content,.admin-app.desktop .content{padding:18px}.admin-welcome{padding:18px;margin-bottom:16px}.admin-welcome h2{font-size:16px}.welcome-emblem{width:48px;height:48px;border-radius:14px}.welcome-emblem svg{width:30px;height:30px}.admin-app .stats,.admin-app.desktop .stats{gap:10px}.admin-app .stat{padding:14px}.admin-app .stat strong{font-size:26px}.admin-app .table-wrap{overflow-x:auto}.admin-app .table-wrap table{min-width:520px}.admin-app .mall-table .table-wrap table{min-width:0}.admin-quick{padding:15px}.admin-topbar button .ui-icon{display:none}}
@media(max-width:350px){.content{padding-left:14px;padding-right:14px}.member-topbar{padding-left:14px;padding-right:14px}.feature-copy h1{font-size:21px}.my-service-grid{grid-template-columns:1fr}.membership-numbers{gap:22px}.my-service-item{font-size:12px}.brand-lockup strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}button:active{transform:none}}

/* Reading sizes tuned at 390px and desktop widths. */
.shortcut .shortcut-name,.shortcut{font-size:13px}.my-service-item{font-size:13px}.strip .member-card .member-job{font-size:11px}.strip .member-card .member-company{font-size:11px}.strip .member-card .link{font-size:11px}.news-copy>small,.card-text-link,.event-meta,.event-footer>small{font-size:12px}.event-date,.tag{font-size:11px}.admin-nav button{font-size:13px}.admin-app table{font-size:13px}.admin-app th{font-size:12px}.dashboard-metrics small,.admin-quick strong{font-size:13px}.admin-quick p,.admin-note p,.admin-today{font-size:12px}.metric-note{font-size:11px}.my-service-section h2{font-size:17px}.membership-status,.membership-numbers span{font-size:12px}@media(max-width:600px){.my-service-item{font-size:13px}.admin-nav button{font-size:12px}.membership-numbers{gap:24px}}

/* Preserve native hidden semantics for read-only dialogs and async states. */
[hidden]{display:none!important}.admin-mobile-exit{display:none}@media(max-width:600px){.admin-mobile-exit{display:inline-flex}.admin-topbar .row{gap:6px}.admin-topbar button{padding:5px 7px}}

:root{--ink:#19293d;--blue:#123760;--accent:#123760;--border:#e3e6eb;--muted:#697382;--paper:#fff;--soft:#f3f5f8;background:#edf0f4;color:var(--ink)}
body{background:#edf0f4}h1,h2,h3{letter-spacing:0;font-weight:600}button{border-radius:4px;letter-spacing:0}button.secondary{color:#253c59;border-color:#dbe0e6}button:focus-visible,a:focus-visible{outline-color:#b79149}input,select,textarea{border-radius:4px;border-color:#dbe0e6}input:focus,select:focus,textarea:focus{border-color:#496785;box-shadow:0 0 0 2px #12376010}label{color:#26384d}small,.muted{color:#697382}a,button.link{color:#163c68}
.portal{height:42px;padding:0 18px;gap:30px;background:#fff;border-bottom:1px solid #e5e8ed;backdrop-filter:none}.portal button{height:42px;min-height:42px;min-width:0;padding:0 6px;background:none;border-radius:0;color:#757d89;font-size:12px;position:relative}.portal button.active{background:none;box-shadow:none;color:#163c68}.portal button.active:after{content:'';position:absolute;bottom:0;left:6px;right:6px;height:2px;background:#b49352}
#app.member-app{border-radius:0;box-shadow:none;background:#fff;min-height:calc(100dvh - 42px);padding-bottom:80px}.member-topbar{height:98px;background:white;padding:20px 22px;border-bottom:0}.brand-lockup{gap:12px}.brand-mark{position:relative;width:44px;height:44px;display:block;overflow:hidden;flex-shrink:0;background:white;border-radius:0}.brand-mark img{position:absolute;max-width:none!important;width:86px!important;height:86px!important;left:-20px;top:-10px;border-radius:0!important;object-fit:fill!important}.brand-lockup strong{font-size:23px;letter-spacing:2px;font-weight:750;color:#102f56;line-height:1.4}.brand-lockup small{font-size:8px;letter-spacing:2px;color:#8b744b;margin-top:3px}.icon-button{border:0;border-radius:0;color:#163c68;width:32px;background:none}.page-heading{padding-top:14px;padding-bottom:2px}.page-heading h1{font-size:25px;line-height:1.3}.text-back{color:#697382}.content{padding:20px 22px}.home-content{padding-top:0}
.feature-story{border-radius:0;background:#102f56;min-height:0;overflow:hidden}.feature-story>img{display:block;position:static;width:100%;height:185px;object-fit:cover;object-position:center 45%}.feature-copy{min-height:0;padding:13px 18px 19px;display:block}.feature-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;min-height:24px}.feature-caption>span{font-size:11px;color:#e7cc92;letter-spacing:2px}.feature-link{min-height:24px;height:24px;color:#e7cc92;padding:0}.feature-copy h1{font-size:21px;line-height:1.5;max-width:none;margin:0;color:#fff;font-weight:600;letter-spacing:.015em;text-wrap:initial}.service-panel{margin:0 0 26px;padding:22px 0 21px;border:0;border-bottom:1px solid #e1e6ed;border-radius:0;background:white}.shortcuts{gap:20px 8px;margin:0}.shortcut{min-height:61px;gap:8px}.shortcut .service-icon{width:34px;height:31px;border-radius:0;background:transparent!important;color:#173c67}.shortcut .service-accent{background:transparent!important;color:#98712f}.shortcut .shortcut-name{font-size:13px;color:#293b51}.shortcut:hover{background:#f5f7fa}
.section-heading{margin:30px 0 16px;align-items:center}.section-heading h2{font-size:20px;font-weight:650;color:#152f4f;line-height:1.3}.section-heading h2:before{content:'';width:3px;height:16px;background:#bc995b;display:inline-block;margin-right:9px;vertical-align:-1px}.section-more{font-size:12px;color:#6c7684;min-height:32px}.strip{gap:12px}.strip .member-card{border:0;border-radius:0;background:#fff;flex-basis:152px;min-width:152px;max-width:152px}.strip .member-card .member-portrait{height:152px;border-radius:0;object-position:center 25%;background:#e6eaf0}.strip .member-card .member-card-info{padding:11px 0 8px}.strip .member-card h3{font-size:15px;margin-bottom:3px}.strip .member-card .member-job{font-size:12px;color:#384a61;font-weight:400}.strip .member-card .member-company{font-size:11px;color:#78818c}.strip .member-card .link{font-size:11px;color:#8f713a;margin-top:4px;min-height:24px}.member-job{color:#334d6c}.member-company{color:#697382}.member-industry{color:#695730;background:#f6f2e9}.member-profile .member-quote{background:#f6f7f9;border-left:2px solid #b49352;border-radius:0;color:#48566a}.member-profile section h3{border-color:#b49352}.member-facts dt,.member-eyebrow{color:#737e8d}
.news-feed{border:0;border-radius:0;padding:0;background:#fff}.news-card{padding:16px 0;border-bottom:1px solid #e5e8ed;gap:16px}.news-card:first-child{padding-top:0}.news-card:last-child{border-bottom:1px solid #e5e8ed}.news-card .news-cover{border-radius:2px;width:100px;height:83px}.news-copy>small{font-size:11px;color:#777f8b}.news-copy h3{font-size:15px;line-height:1.65;font-weight:550;margin:6px 0}.card-text-link{font-size:11px;color:#826c46;min-height:24px}.card-text-link svg{display:none}.event-card{border:1px solid #e4e8ee;border-radius:4px}.event-cover{height:170px}.event-date{border-radius:2px;color:#183b63;font-size:11px;background:#fff;padding:4px 8px}.event-copy{padding:16px}.event-copy h3{font-size:16px;margin:6px 0 12px}.event-meta{font-size:12px;color:#667487}.event-meta .ui-icon{color:#8391a2}.tag{border-radius:2px;background:#f1f4f8;color:#4c6583}.event-footer{border-color:#e8ecf0}.event-footer>small{color:#777f8b;font-size:11px}.compact-primary{border-radius:3px;background:#143b66;font-size:12px}.brand-footer{padding:35px 0 12px;text-align:center;color:#102f56;font-size:13px;letter-spacing:2px}.brand-footer span{display:block;color:#a48a5d;font-size:8px;letter-spacing:1.8px;margin-top:6px}
.card,.content-card{border-radius:4px;border-color:#e3e7ed}.card img{border-radius:2px}.content-card>img{border-radius:0}.content-card-copy{padding:17px}.bottom{background:white;border-top:1px solid #e2e6ec;box-shadow:none;backdrop-filter:none;padding-top:8px}.bottom button{color:#7b8491;font-size:11px;border-radius:0;gap:4px}.bottom button.active{color:#143b66}.bottom button.active:after{background:#ba9651;border-radius:0;width:18px;height:2px}.bottom button:not(.active):after{height:2px}.bottom button.active .ui-icon{stroke-width:1.9}.tabs button{border-radius:3px;color:#667487}.tabs button.active{background:#143b66;color:white;border-color:#143b66}.row.search{border-radius:4px}.row.search button{border-radius:3px}.levels button{border-radius:3px}.empty{background:#f8f9fb;border:0;border-radius:3px;color:#748092}.loading{color:#748092}.rank{color:#143b66}
.membership-card{background:#fff;color:#172c48;border-radius:0;border-top:2px solid #b49352;border-bottom:1px solid #e2e6ed;padding:22px 0 20px}.membership-card:before,.membership-card:after{display:none}.membership-avatar{background:#f0f3f7;color:#224a74;border-radius:4px;width:56px;height:56px}.membership-avatar img{border-radius:4px}.membership-kicker{color:#7c8490;font-size:11px;letter-spacing:0}.membership-top h2{color:#16365e;font-size:22px;font-weight:600}.membership-status{color:#92733d;font-size:11px}.membership-edit{background:none;color:#667487}.membership-numbers{border-color:#e6eaf0;padding-top:19px;margin-top:23px}.membership-numbers strong{font-family:Arial,sans-serif;font-size:28px;color:#16365e;font-weight:500;letter-spacing:0}.membership-numbers span{font-size:11px;color:#758091}.membership-numbers button{background:#102f56;border-radius:3px;color:#fff;font-size:11px;padding:7px 10px}.my-service-section{margin-top:27px}.my-service-section h2{font-size:16px;color:#243a55;margin-bottom:10px}.my-service-grid,.my-service-list{border-radius:0;border:0;border-top:1px solid #e4e8ed}.my-service-item{font-size:14px;color:#283d57}.my-service-icon{background:none;color:#204c7a;border-radius:0}.my-service-grid .my-service-item,.my-service-list .my-service-item{border-bottom:1px solid #edf0f4}.my-service-grid .my-service-item:nth-child(odd){border-right-color:#edf0f4}.my-service-item>.ui-icon{color:#9ca6b4}.logout-button{color:#717d8e}.reward-line{color:#153c67}
dialog{border-radius:6px;border-color:#dce2e9;box-shadow:0 16px 60px #0b23432b}dialog::backdrop{background:#0e203b80;backdrop-filter:none}dialog header button{border-radius:3px;background:#f3f5f8;color:#667487}dialog header,dialog footer{border-color:#e6eaf0}.article-dialog .ql-toolbar{background:#f6f8fa;border-color:#dfe5ed}.article-dialog .ql-container,.article-dialog .article-preview{border-color:#dfe5ed}.question,.survey-preview{border-radius:4px;background:#f8fafc;border-color:#e0e6ed}#toast{background:#102f56;border-radius:4px}.error{border-radius:4px}
#app.admin-app,#app.admin-app.desktop{border-radius:0;border:0;background:#f4f6f9;box-shadow:none;margin-top:0;min-height:calc(100dvh - 42px)}#app.admin-app.desktop{max-width:1440px;margin-left:auto;margin-right:auto}.admin-layout,.desktop .admin-layout{grid-template-columns:220px minmax(0,1fr);min-height:calc(100dvh - 42px)}.admin-sidebar{background:#102f56;border:0;padding:26px 14px 18px}.admin-brand{padding:0 8px 26px;gap:10px}.admin-brand .brand-mark{width:36px;height:36px;border-radius:50%}.admin-brand .brand-mark img{width:70px!important;height:70px!important;left:-16px;top:-8px}.admin-brand strong{font-size:17px;letter-spacing:1px;color:#fff}.admin-brand small{font-size:10px;color:#b6c5d7;margin-top:4px}.admin-nav-group>p{color:#8da4c0;font-size:10px}.admin-nav button{border-radius:2px;color:#d2dceb;font-size:13px;min-height:39px;border-left:2px solid transparent}.admin-nav button .ui-icon{color:#a7bdd6}.admin-nav button.active{background:#ffffff12;color:#f2d495;border-left-color:#d1ab61}.admin-nav button.active .ui-icon{color:#e0c38c}.admin-nav button:hover{background:#ffffff0c}.admin-account{color:#b9cae1}.admin-account strong,.admin-account button{color:#d9e3ef}.admin-account small{color:#91a9c5}.admin-topbar{background:#fff;border-color:#e2e7ee;height:58px}.admin-breadcrumb,.admin-breadcrumb strong{font-size:12px;color:#66758a}.demo-badge{background:#f5f0e7;color:#8a7247;border-radius:2px;font-size:10px}.admin-topbar button{border-radius:3px;color:#324a67}.admin-heading{padding-top:28px}.admin-heading h1{font-size:25px;color:#193557}.admin-today{color:#7b8797;font-size:12px}.admin-app .content,.admin-app.desktop .content{padding-top:22px}.admin-app .card,.admin-app .table-wrap{border-radius:4px;border-color:#e2e7ed}.admin-app th{background:#f7f9fc;color:#687a91;border-color:#e4e9ef;font-size:12px}.admin-app td{color:#344b68;border-color:#ebeff4}.admin-app tbody tr:hover{background:#f8fafc}.admin-app .stat{padding:20px;border-top:2px solid #173e6b}.dashboard-metrics small{font-size:13px;color:#60718a}.metric-icon{background:none;border-radius:0;color:#b39660}.admin-app .stat strong{font-family:Arial,sans-serif;font-size:34px;color:#173b66;margin:16px 0 0;font-weight:400}.admin-app .section-heading h2{font-size:18px;color:#233f60}.admin-quick{border-radius:4px;padding:21px;border-color:#e2e7ed;color:#254363}.admin-quick strong{font-size:14px;font-weight:550}.admin-quick p{font-size:12px;color:#7e8b9d}.admin-quick>.ui-icon{color:#9cabbd}.admin-app .member-admin-card h3{font-size:16px;color:#233f60}.admin-app .member-admin-card p,.admin-app .showcase-management>p{font-size:13px;color:#687a91}.admin-app .toolbar button{font-size:12px}.admin-app td button{border-radius:3px;font-size:11px}.admin-app .event-management>p,.admin-app .survey-management>p{color:#718197}
@media(max-width:800px){.admin-layout,.desktop .admin-layout{grid-template-columns:190px minmax(0,1fr)}.admin-brand strong{font-size:14px}.admin-brand .brand-mark{flex-shrink:0}.admin-sidebar{padding:24px 10px}.admin-quick-grid{grid-template-columns:1fr}}
@media(max-width:600px){body{background:#fff}.portal{background:#fff;height:38px;padding:0;gap:30px}.portal button{min-height:38px;height:38px;font-size:11px;flex:0 0 auto;padding:0 7px}.portal button.active{background:none;box-shadow:none}#app.member-app{min-height:calc(100dvh - 38px)}.member-topbar{height:92px;padding:18px 20px}.brand-lockup strong{font-size:22px}.brand-lockup small{font-size:8px;letter-spacing:1.7px}.brand-mark{width:42px;height:42px}.brand-mark img{width:82px!important;height:82px!important;left:-19px;top:-10px}.content{padding:18px 20px}.home-content{padding-top:0}.feature-story,.feature-copy{min-height:0}.feature-story>img{height:162px}.feature-copy{padding:11px 16px 16px}.feature-copy h1{font-size:20px;max-width:none}.service-panel{padding:20px 0;margin-bottom:24px}.section-heading{margin-top:28px}.section-heading h2{font-size:19px}.strip .member-card{min-width:145px;max-width:145px;flex-basis:145px}.strip .member-card .member-portrait{height:145px}.event-cover{height:155px}.my-service-item{font-size:13px}.membership-numbers{gap:26px}.page-heading{padding:12px 20px 0}.admin-layout,.desktop .admin-layout{display:flex}.admin-sidebar{padding:17px 14px 10px}.admin-brand{padding-bottom:15px}.admin-brand strong{font-size:17px}.admin-brand .brand-mark{width:36px;height:36px;border-radius:50%}.admin-nav button{border-left:0;border-bottom:2px solid transparent;min-height:37px;padding:7px 10px;font-size:12px}.admin-nav button.active{border-bottom-color:#d1ab61}.admin-topbar{height:auto}.admin-heading h1{font-size:23px}.admin-app .stat{padding:16px}.admin-app .stat strong{font-size:29px}.admin-app .content,.admin-app.desktop .content{padding:18px}dialog{border-radius:6px}.article-dialog{border-radius:0}.admin-mobile-exit{display:inline-flex}}
@media(max-width:350px){.brand-lockup{gap:8px}.brand-lockup strong{font-size:19px}.brand-lockup small{font-size:7px}.member-topbar,.content{padding-left:16px;padding-right:16px}.feature-copy h1{font-size:18px}.shortcut .shortcut-name{font-size:12px}.my-service-grid{grid-template-columns:1fr}}

.feature-story{cursor:pointer}.feature-link{width:36px;min-width:36px;min-height:32px;height:32px}.feature-caption{margin-top:-4px}.feature-link:hover{background:#ffffff0c}

/* Layout refinement: consistent gutters, section rhythm and control alignment. */
:root{--page-gutter:22px;--section-space:28px;--item-space:16px}
#app.member-app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.member-topbar{height:84px;padding:16px var(--page-gutter)}
.member-app .content{padding:20px var(--page-gutter)}
.member-app .home-content{padding-top:0;padding-bottom:12px}
.member-app .page-heading{padding:8px var(--page-gutter) 0}
.page-heading h1{font-size:24px;line-height:1.4}
.page-heading .text-back{margin-bottom:10px;min-height:36px}
.brand-lockup{gap:10px}
/* Inner pages keep a compact brand row above their page title. */
.member-app:has(>.page-heading) .member-topbar{height:56px;padding:8px var(--page-gutter)}
.member-app:has(>.page-heading) .brand-lockup{gap:8px}
.member-app:has(>.page-heading) .brand-lockup strong{font-size:16px;line-height:1.4;letter-spacing:1px}
.member-app:has(>.page-heading) .brand-lockup small{display:none}
.member-app:has(>.page-heading) .brand-mark{width:28px;height:28px}
.member-app:has(>.page-heading) .brand-mark img{width:55px!important;height:55px!important;left:-13px;top:-7px}
.icon-button{width:40px;height:40px;min-height:40px;flex-shrink:0;margin-right:-6px}
.feature-story>img{height:auto;aspect-ratio:1.8/1}
.feature-copy{padding:2px 16px 4px}
.feature-caption{margin:0;min-height:20px;line-height:16px}
.feature-copy h1{font-size:20px;line-height:1.3;transform:translateY(-2px)}
.feature-link{align-self:center;margin-right:-6px;height:20px;min-height:20px}
.service-panel{padding:18px 0;margin:0;border-bottom:1px solid var(--border)}
.shortcuts{gap:16px 8px}
.shortcut{min-height:56px;gap:6px;border-radius:4px}
.shortcut .service-icon{height:30px;margin:0}
.shortcut .shortcut-name{line-height:20px}
.shortcut:hover{background:transparent}
.member-app .section-heading{margin:var(--section-space) 0 12px;min-height:32px;gap:12px}
.section-heading h2{display:flex;align-items:center;line-height:1.4}
.section-heading h2:before{flex-shrink:0;vertical-align:initial}
.section-more{min-height:36px;padding:6px 0 6px 8px;gap:4px}
.member-strip{align-items:stretch;scroll-padding-inline:0;padding-bottom:0}
.strip .member-card{flex:0 0 calc((100% - 24px)/2.15);min-width:140px;max-width:174px;display:flex;flex-direction:column}
.strip .member-card .member-portrait{height:auto;aspect-ratio:1.04;flex-shrink:0}
.strip .member-card .member-card-info{padding:10px 0 0;flex:1;min-width:0}
.strip .member-card h3{line-height:22px;margin:0 0 3px}
.strip .member-card .member-job,.strip .member-card .member-company{max-width:100%;line-height:18px;font-size:12px}
.strip .member-card .member-job{margin:0 0 2px}
.strip .member-card .link{min-height:32px;margin-top:4px;padding:4px 0;line-height:20px}
.news-card{gap:16px;padding:16px 0;align-items:center}
.news-copy{min-width:0}
.news-copy>small{display:flex;align-items:center;gap:6px;line-height:18px;font-size:12px}
.news-copy>small span{margin:0}
.news-copy h3{font-size:15px;line-height:1.6;margin:5px 0 3px}
.news-card .news-cover{width:96px;height:88px;flex:0 0 96px;align-self:center}
.card-text-link{font-size:12px;line-height:20px;min-height:32px;padding:4px 0}
.events-feed{display:grid;gap:16px}
.events-feed .event-card{margin:0}
.event-card{margin-bottom:16px}
.event-cover{height:auto;aspect-ratio:2.1}
.event-copy{padding:16px}
.event-copy h3{line-height:1.55;margin:8px 0 12px}
.event-meta{align-items:flex-start;line-height:20px;margin:4px 0;gap:8px}
.event-meta>.ui-icon{margin-top:2px}
.event-meta>span{min-width:0;overflow-wrap:anywhere}
.event-footer{margin-top:16px;padding-top:12px;gap:12px}
.compact-primary{min-height:38px;padding:8px 12px;white-space:nowrap}
.brand-footer{padding:28px 0 8px;font-size:12px}
.brand-footer span{margin-top:4px;line-height:16px}
.member-app .row.search{margin:0 0 18px;padding:4px;gap:4px}
.member-app .row.search input{font-size:14px;min-height:36px;padding:8px 10px}
.member-app .row.search button{min-height:36px;font-size:13px;padding:8px 14px}
.member-app .row.search+.news-card{padding-top:0}
.member-app .content>.card:last-child{margin-bottom:0}
.membership-card{padding:20px 0 18px}
.membership-top{gap:12px;align-items:center}
.membership-top .grow{min-width:0}
.membership-top h2{font-size:22px;line-height:1.45;overflow-wrap:anywhere;margin:2px 0 4px}
.membership-edit{min-width:40px;min-height:40px;margin-right:-8px}
.membership-numbers{gap:32px;margin-top:20px;padding-top:16px}
.membership-numbers>div{min-width:56px}
.membership-numbers strong{line-height:1.25;margin-bottom:4px}
.membership-numbers button{min-height:36px;padding:8px 12px}
.my-service-section{margin-top:28px}
.my-service-section h2{margin:0 0 12px;line-height:24px}
.my-service-item{gap:10px;min-height:62px;padding:12px;font-size:14px}
.my-service-list .my-service-item{min-height:58px;padding:12px 0;gap:12px}
.my-service-icon{width:30px;height:30px}
.my-service-list .my-service-item>.ui-icon{margin-right:4px}
.my-service-grid .my-service-item:last-child:nth-child(odd){grid-column:1/-1;border-right:0}
.logout-button{margin:20px 0 0;min-height:44px}
.bottom{padding:8px 8px calc(8px + env(safe-area-inset-bottom))}
.bottom button{min-height:46px;gap:4px}
.member-profile-top{gap:16px;padding-bottom:18px;margin-bottom:20px;align-items:center}
.member-profile section{margin-top:24px}
.member-profile section h3{margin-bottom:12px;line-height:24px}
.member-profile p{line-height:1.85}
dialog{scroll-padding-block:64px 20px}
dialog form{padding:24px}
dialog header{top:-24px;padding:8px 0 16px;margin-bottom:20px;align-items:center}
dialog header button{width:40px;height:40px;min-height:40px}
dialog footer{gap:10px;margin-top:24px;padding-top:16px;flex-wrap:wrap}
dialog footer button{min-height:42px;min-width:84px}
dialog label{margin-top:18px;margin-bottom:6px;line-height:20px}
dialog input:not([type=checkbox]):not([type=radio]),dialog select{min-height:42px}
dialog #dialogBody>label:first-child{margin-top:0}
.admin-topbar{padding:12px 28px;min-height:58px}
.admin-heading{padding:28px 28px 0;align-items:center;gap:16px}
.admin-heading h1{line-height:1.4}
.admin-app .content,.admin-app.desktop .content{padding:20px 28px 32px}
.admin-app .stats,.admin-app.desktop .stats{gap:16px}
.admin-app .stat{padding:20px;min-height:124px}
.dashboard-metrics .stat>div{min-height:28px;align-items:center}
.admin-app .stat strong{margin:12px 0 0;line-height:1.2}
.admin-app .section-heading{margin:28px 0 16px;min-height:28px}
.admin-quick-grid{gap:16px}
.admin-quick{padding:20px;gap:16px;min-height:96px;align-items:center}
.admin-quick strong{display:block;line-height:22px}
.admin-quick p{line-height:20px;margin:4px 0 0}
.admin-app .toolbar{margin:0 0 16px;gap:8px;align-items:center}
.admin-app .toolbar button{min-height:36px;padding:8px 12px}
.admin-app th,.admin-app td{padding:14px 16px;line-height:22px;vertical-align:middle}
.admin-app td button{min-height:32px;padding:5px 10px;margin:2px 4px 2px 0}
.admin-app .member-admin-card{padding:18px;margin-bottom:16px}
.admin-app .member-admin-card p{margin:4px 0;line-height:21px}
.admin-app .member-admin-actions{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f4;gap:12px}
.admin-app .member-admin-actions button{min-height:36px}
@media(min-width:801px){
  .admin-sidebar{position:sticky;top:42px;align-self:start;height:calc(100dvh - 42px);overflow-y:auto;padding:22px 14px 16px;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
  .admin-brand{padding-bottom:22px}
  .admin-nav,.desktop .admin-nav{gap:12px}
  .admin-nav-group>p{margin-bottom:6px}
  .admin-nav button{min-height:36px;padding:8px 12px;line-height:20px;margin-bottom:2px}
  .admin-account{padding-top:20px}
}
@media(hover:hover) and (pointer:fine){.shortcut:hover,.my-service-item:hover{background:#f6f8fb}.section-more:hover,.card-text-link:hover{color:#173c67;text-decoration:underline;text-underline-offset:4px}}
@media(max-width:800px){.admin-app .content,.admin-app.desktop .content{padding:20px}.admin-heading{padding:24px 20px 0}.admin-topbar{padding:12px 20px}}
@media(max-width:600px){
  :root{--page-gutter:20px;--section-space:24px}
  .member-topbar{height:80px;padding:14px var(--page-gutter)}
  .brand-lockup strong{font-size:22px}
  .feature-copy h1{font-size:20px}
  .member-app .content{padding-top:18px}
  .member-app .home-content{padding-top:0}
  .strip .member-card{min-width:138px;max-width:166px}
  .news-card .news-cover{width:92px;height:84px;flex-basis:92px}
  .my-service-item{font-size:13px}
  .membership-numbers{gap:24px}
  .admin-heading{padding:20px 18px 0}
  .admin-topbar{padding:10px 18px;gap:8px;flex-wrap:wrap}
  .admin-app .content,.admin-app.desktop .content{padding:18px}
  .admin-app .stats,.admin-app.desktop .stats{gap:12px}
  .admin-app .stat{padding:16px;min-height:112px}
  .admin-quick{min-height:84px;padding:16px}
  dialog form{padding:20px}
  dialog header{top:-20px;margin-bottom:16px}
}
@media(max-width:350px){
  :root{--page-gutter:16px}
  .brand-lockup strong{font-size:19px}
  .brand-lockup{gap:8px}
  .feature-copy h1{font-size:18px}
  .news-card{gap:12px}
  .news-card .news-cover{width:80px;height:80px;flex-basis:80px}
  .membership-numbers{gap:16px}
  .membership-numbers button{padding:8px}
}

/* Keep the full news list aligned with the home feed. */
.member-app .content>.news-card{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:16px 0;margin:0;background:#fff}.member-app .content>.news-card:last-of-type{border-bottom:0}

/* Context and essential actions for content and business managers. */
.manager-tabs{padding:0 0 20px;gap:8px;margin:0}.manager-tabs button{min-height:38px;padding:9px 16px;font-size:13px}.manager-intro{margin-bottom:22px;padding:0 0 18px;border-bottom:1px solid var(--border)}.manager-intro h2{font-size:18px;line-height:1.5;margin:0 0 6px;color:#183b64}.manager-intro p{font-size:13px;line-height:1.7;color:#63748a;margin:0 0 8px}.manager-location{font-size:12px;color:#866e42}.manager-toolbar{justify-content:space-between!important;gap:12px}.manager-toolbar>.muted{font-size:12px}.manager-primary{background:#143b66}.manager-item-title{display:flex;gap:12px;align-items:center;min-width:180px}.manager-item-title img{width:64px;height:48px;object-fit:cover;flex-shrink:0;border-radius:3px}.manager-item-title span{overflow-wrap:anywhere;line-height:1.6}.manager-status{font-size:12px;color:#778397;white-space:nowrap}.manager-status.is-published{color:#284e76}.manager-status.is-pending{color:#8c6427;background:#fbf3e2;padding:4px 8px;border-radius:3px}.manager-actions{white-space:nowrap}.manager-actions button{margin-right:8px!important}.content-manager td.text-cell{max-width:440px;min-width:240px}.content-manager .table-wrap{margin-bottom:16px}@media(max-width:600px){.manager-tabs{padding-bottom:16px}.manager-tabs button{font-size:12px;padding:8px 12px}.manager-intro{margin-bottom:18px}.manager-toolbar{align-items:flex-start!important}.content-manager td.text-cell{min-width:210px}.manager-item-title img{width:52px;height:42px}}
