/* Keep native-style navigation visible; membership belongs to app content. */
.wechat-bar.is-home{height:46px;padding:0 22px;justify-content:flex-start}
.wechat-bar.is-home #wechat-title{font-size:20px;line-height:1.05;gap:8px;max-width:calc(100% - 104px);letter-spacing:1px}
.wechat-bar.is-home #wechat-title small{font-size:7px;letter-spacing:1.9px;margin-top:4px}
.wechat-bar.is-home .home-brand-logo{width:33px;height:33px;flex-shrink:0}
.wechat-bar.is-home>.wechat-capsule{display:flex;top:7px;right:19px}
.home-service-row{display:flex;justify-content:space-between;align-items:center;min-height:39px;margin:0 22px;gap:12px}
.home-service-row>span{font-size:10px;letter-spacing:1px;color:var(--muted)}
.home-membership-link{display:flex;align-items:center;gap:5px;min-height:39px;padding:0;color:var(--gold);font-size:11px;white-space:nowrap}
.home-membership-link .icon{width:15px;height:15px;stroke-width:1.8}.home-membership-link .icon:last-child{width:12px;height:12px}
.midnight-hero {
  padding-top: 7px;
  background: linear-gradient(90deg, #092541 4%, rgba(9,37,65,.73) 42%, rgba(9,37,65,.06) 90%),
              url('./assets/editorial-market.webp') right center / cover no-repeat;
}
/* Same deep-blue surfaces and gold detail, with each page given a clear task. */
.sp-heading{margin:1px 0 5px}.sp-heading h2{font-size:23px;line-height:1.35;margin-top:5px}.sp-heading small{font-size:9px;letter-spacing:.7px}
.sp-heading>.icon-button{color:var(--muted);border:1px solid var(--line);border-radius:10px}
.sp-snapshot-line{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;margin:0 0 12px;line-height:1.5}
.sp-snapshot-line>span:first-child{display:flex;align-items:center;gap:5px;min-width:0}
.sp-snapshot-line .icon{width:13px;height:13px}
.sp-snapshot-badge{padding:3px 6px;border:1px solid #3D5C78;border-radius:4px;color:#D0DDEB;white-space:nowrap;font-size:9px}
.sp-view-tabs{background:#102E4D;border:1px solid #2E4E6E;border-radius:10px;padding:3px;gap:4px}
.sp-view-tabs>button{min-height:36px;border-radius:7px;background:transparent;font-size:12px}
.sp-view-tabs>button.active{background:#21476B;color:#FFE0A9;box-shadow:none}
.sp-view-tabs>button.active:after{display:none}
.sp-overview-compact .sp-metric{padding:11px 7px;min-height:66px;gap:8px}
.sp-overview-compact .sp-metric small{font-size:10px}.sp-overview-compact .sp-metric strong{font-size:18px}
.sp-market-controls>button{font-size:11px;min-height:40px}
.sp-type-tabs>button{font-size:11px;min-height:44px}.sp-search-row input{font-size:12px}
.sp-quote-table tbody th strong{font-size:13px;line-height:1.4}.sp-quote-table tbody th small{font-size:10px}.sp-quote-table tbody th>button{min-height:55px}
.sp-quote-labels{font-size:11px}.sp-quote-labels.sp-quote-trend>div:not(:first-child){font-size:9px}
.sp-result-heading{font-size:11px}.sp-result-heading strong{font-size:12px;color:#FFE0A9}
.sp-table-hint,.sp-source-note{font-size:10px;line-height:1.8}
.sp-filter-grid select,.sp-sort-row select{font-size:12px}.sp-pagination>button{min-height:44px;font-size:11px}
.sp-saved-mark .icon{width:10px;height:10px;fill:currentColor;vertical-align:-1px}
/* Learning: resume first, progress second, catalogue third. */
.learning-heading{margin:2px 0 18px}.learning-heading small{font-size:9px;letter-spacing:1px;color:var(--muted)}
.learning-heading h2{font-size:23px;font-weight:650;line-height:1.4;margin-top:8px;letter-spacing:0}
.learning-resume{background:#123556 url('./assets/hero-background.webp') right center / cover no-repeat;border-color:#37618A;padding:18px;border-radius:14px}
.learning-resume .eyebrow{color:#FFCB78;font-size:10px;letter-spacing:.3px}.learning-resume-count{font-size:11px;color:#D7E3EF}
.learning-resume h3{font-size:19px;font-weight:650;line-height:1.5;margin:14px 0 8px;letter-spacing:0}
.learning-resume p{font-size:12px;color:#C7D7E7;line-height:1.65;margin:0 0 14px;overflow-wrap:anywhere}
.learning-resume .progress{height:5px;background:#355573}
.learning-resume .primary-button{min-height:46px;font-size:14px;margin-top:18px;background:#C93630}
.learning-resume .primary-button .icon{width:17px;height:17px;fill:currentColor}
.learning-stats{padding:20px 0;margin:0;border-bottom:1px solid var(--line)}
.learning-stats strong{font-family:var(--font);font-variant-numeric:tabular-nums;font-size:26px;font-weight:600;line-height:1.2}
.learning-stats strong em{font-size:12px;font-style:normal;font-weight:400;color:var(--muted);margin-left:3px}
.learning-stats small{font-size:11px;margin-top:6px}
.learning-path-link{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;padding:14px 0;text-align:left;min-height:64px;border-bottom:1px solid var(--line)}
.learning-path-link>span{display:grid;grid-template-columns:20px 1fr;align-items:center;column-gap:8px;font-size:12px;font-weight:500;line-height:1.6}
.learning-path-link>span>.icon{width:18px;height:18px;color:#FFCB78;grid-row:1 / 3}
.learning-path-link small{font-size:10px;color:var(--muted);grid-column:2;font-weight:400;line-height:1.7;margin-top:2px}
.learning-path-link>.icon{width:16px;height:16px;color:#A9C0D8}
.course-catalog-heading{margin:18px 0 9px;min-height:28px}.course-catalog-heading h3{font-size:16px;gap:8px}
.catalog-count{font-size:11px;font-weight:400;border:1px solid #4B6A86;padding:2px 6px;border-radius:5px;color:#C1D1E1}
.course-catalog-heading>span{font-size:10px;color:var(--muted)}
.course-filter{gap:6px;background:#0D2B49;border:1px solid var(--line);border-radius:9px;padding:3px}
.course-filter button{flex:1;padding:0 6px;min-height:38px;font-size:12px;color:#BBCDE0}
.course-filter button.active{background:#24496E;color:#FFE0A9;border-radius:6px}
.course-list{margin-top:14px;gap:12px}
.course-item{padding:14px;gap:13px;align-items:center;border-radius:12px}
.course-item .course-cover{height:92px;width:72px;min-width:72px;border-radius:7px;padding:10px}
.course-item .course-cover small{font-size:6px;letter-spacing:.5px}.course-item .course-cover strong{font-size:30px;line-height:1}
.course-item-content{min-width:0;justify-content:flex-start}
.course-item-labels{display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.5}
.course-item-content .course-category{font-size:10px;white-space:nowrap}
.course-state{font-size:9px;color:var(--muted);white-space:nowrap}.course-state.learning{color:#FFCB78}.course-state.complete{color:#8CDAC5}
.course-item-content h3{font-size:14px;line-height:1.5;font-weight:600;margin:6px 0;color:#F7F8FA}
.course-meta{font-size:10px;line-height:1.5}.course-item-content .progress{margin-top:11px;height:4px}
.course-bottom{font-size:10px;line-height:1.5;gap:8px;margin-top:8px}.course-bottom>span:last-child{display:flex;align-items:center;gap:2px;white-space:nowrap;color:#FFCB78}.course-bottom .icon{width:12px;height:12px}
.empty-state h3{font-size:15px;color:#E4EEF7}.empty-state p{font-size:12px}.empty-state .secondary-button{width:auto;padding:10px 18px}
/* Account: membership and three principal rights, followed by grouped service rows. */
.profile-header{padding:4px 0 18px;gap:12px}.profile-header h2{font-size:20px;font-weight:650;line-height:1.3;margin-bottom:5px}.profile-header small{font-size:10px;line-height:1.7}
.profile-header>.icon-button{border:1px solid #365675;border-radius:10px;color:#BDD0E4}
.membership-card{padding:19px 18px;border-color:#9E8051;border-radius:14px}
.membership-card .card-top>span{font-size:9px;letter-spacing:1.5px}.membership-card .card-top>small{font-size:9px;padding:4px 6px;border-radius:4px;background:#142F46;white-space:nowrap}
.membership-card h3{display:flex;align-items:center;gap:9px;font-size:25px;letter-spacing:1px;line-height:1.3;margin:17px 0 9px}
.membership-card h3 .icon{width:26px;height:26px;color:#FFCB78;stroke-width:1.6}
.membership-card p{font-size:11px;line-height:1.6;color:#D0DDEB}
.member-card-bottom{margin-top:16px;padding-top:10px;gap:10px;align-items:center}
.member-card-bottom>button.member-rights-link{background:transparent;color:#FFE0A9;display:flex;align-items:center;gap:5px;padding:0;min-height:40px;font-size:12px;font-weight:500}
.member-rights-link .icon{width:14px;height:14px}.member-card-bottom>button:not(.member-rights-link){background:#FFBB47;color:#251B11;font-size:11px;padding:7px 12px;min-height:36px}
.rights{border:1px solid var(--line);border-radius:12px;background:#102E4D;margin:16px 0 23px;padding:14px 0}
.rights button{font-size:12px;gap:9px;padding:0 6px;min-height:65px;border-right:1px solid #355370}.rights button:last-child{border:0}
.rights button .icon{width:23px;height:23px;color:#D8E9FA}.rights small{font-size:10px;line-height:1.4;color:#B4C9DD}
.profile-section-title{margin:20px 0 10px;font-size:14px;letter-spacing:.4px;font-weight:650}
.menu-card{border-radius:12px;margin-bottom:20px}
.menu-row{padding:13px 14px;min-height:57px;gap:11px}.menu-row>span{font-size:13px;font-weight:450}.menu-row>.icon:first-child{width:20px;height:20px;color:#B5D4F4}
.menu-row>small{font-size:10px;max-width:43%;line-height:1.7}.menu-row>.icon:last-child{width:13px;height:13px;color:#8FACC8}
.logout-button{font-size:12px;min-height:44px;color:#B3C6DB}
/* Secondary screens: legible titles, comfortable copy, persistent native-style controls. */
.secondary-navbar{border-bottom:1px solid #274662}
.secondary-navbar-title{font-size:13px;color:#E7F0F8}
.sheet-layer.secondary-page .sheet{padding:20px 21px 28px}
.sheet-heading{margin-bottom:10px}.sheet-heading h2{font-size:22px;font-weight:650;line-height:1.5;text-wrap:wrap;overflow-wrap:anywhere}
.sheet-desc{font-size:12px;line-height:1.85}.sheet-paragraph{font-size:13px;line-height:1.95}
.sheet h3{font-size:15px;line-height:1.6}.sheet .info-box{font-size:11px;line-height:1.9;padding:14px}
.sheet .key-value{font-size:12px;line-height:1.9;padding:8px 0}.sheet .sheet-fineprint{font-size:10px}
.sheet .lesson-row{min-height:58px;padding:14px 12px}.sheet .lesson-row>span:nth-child(2){font-size:12px;line-height:1.65}.sheet .lesson-row small{font-size:10px}
.sheet .sp-detail-summary strong{font-size:24px}.sheet .sp-detail-grid strong{font-size:18px}
.sheet .sp-detail-summary small,.sheet .sp-detail-grid small{font-size:11px}
.sheet .form-input,.sheet .sp-filter-grid select{font-size:14px}.sheet .faq>button{font-size:13px;line-height:1.7}.sheet .faq p{font-size:12px;line-height:1.9}
@media(max-width:360px){
 .wechat-bar.is-home{padding-left:16px}.wechat-bar.is-home #wechat-title{font-size:18px;gap:6px}.wechat-bar.is-home .home-brand-logo{width:30px;height:30px}.wechat-bar.is-home #wechat-title small{font-size:6px;letter-spacing:1.6px}
 .home-service-row{margin-left:18px;margin-right:18px}.home-service-row>span{font-size:9px}.home-membership-link{font-size:10px}
 .sp-heading h2{font-size:21px}.sp-heading small{font-size:8px}.sp-snapshot-line{font-size:9px;gap:4px}.sp-snapshot-line .icon{display:none}.sp-snapshot-badge{font-size:8px;padding:3px 5px}
 .sp-overview-compact .sp-metric{padding:10px 5px}.sp-overview-compact .sp-metric small{font-size:9px}.sp-overview-compact .sp-metric strong{font-size:16px}.sp-quote-table tbody th strong{font-size:12px}.sp-quote-table tbody th small{font-size:9px}
 .learning-heading h2{font-size:21px}.learning-resume{padding:16px}.learning-resume h3{font-size:17px}.learning-resume p{font-size:11px}.learning-stats strong{font-size:24px}
 .course-catalog-heading>span{font-size:9px}.course-item{padding:12px;gap:11px}.course-item .course-cover{width:60px;min-width:60px;height:86px;padding:8px}.course-item-content h3{font-size:13px}.course-state{font-size:8px}.course-meta,.course-bottom{font-size:9px}
 .membership-card{padding:17px 15px}.membership-card h3{font-size:23px}.membership-card .card-top>span{font-size:8px;letter-spacing:1px}.membership-card .card-top>small{font-size:8px}.rights button{font-size:11px}.rights small{font-size:9px}.menu-row{padding:12px}.menu-row>span{font-size:12px}.menu-row>small{font-size:9px;max-width:42%}
 .sheet-layer.secondary-page .sheet{padding-left:17px;padding-right:17px}
}

/* UI/UX review: comfortable touch areas, complete home content and mobile forms. */
.home-service-row,.home-membership-link{min-height:44px}
.midnight-hero p{margin-top:12px}
.midnight-primary{margin-top:22px}
.sp-home-overview{margin-top:22px;padding-bottom:16px}
.sp-home-main{margin-top:12px;margin-bottom:12px}
.sp-home-metrics{padding-top:12px}
.midnight-learning{margin-top:20px}
.midnight-learning>.midnight-section-title,.midnight-section-title>button{min-height:44px}
.midnight-continue{margin-top:12px}
.midnight-home{padding-bottom:16px}
.course-filter button,.sp-quote-modes>button{min-height:44px}
.sp-snapshot-line{font-size:11px}.sp-snapshot-badge{font-size:10px}
.sp-search-row .sp-search{min-height:44px;padding-top:0;padding-bottom:0;align-items:center}
.sp-search-row #sp-search{height:44px;min-height:44px;font-size:16px;flex:1}
.sheet .form-input,.sheet .form-input.textarea,.sp-filter-grid select,.sp-sort-row select{font-size:16px}
.sheet .form-label{font-size:12px}
.form-input[aria-invalid=true]{border-color:#FF9E94;outline-color:#FF9E94}
@media(max-width:480px) and (max-height:830px){
 .midnight-hero h1{font-size:42px}
 .midnight-hero p{font-size:15px}
 .midnight-primary{height:60px;min-height:60px}
 .sp-home-main{height:56px}
 .sp-home-metrics strong{font-size:24px}
 .midnight-learning{margin-top:18px}
 .midnight-continue{min-height:60px}
 .midnight-continue .course-cover{width:60px;min-width:60px;height:60px}
}

/* Keep advanced column labels aligned as the table grows in landscape. */
.sp-quote-labels.sp-quote-ma,.sp-quote-labels.sp-quote-breadth{width:100%;min-width:412px;grid-template-columns:124px repeat(4,minmax(72px,1fr))}
.sp-quote-labels.sp-quote-trend{width:100%;min-width:454px;grid-template-columns:124px repeat(7,minmax(0,1fr))}
.sp-sticky-quote-head{top:calc(45px - var(--sp-sticky-offset))}

/* Course reading and practice */
.learning-resume .resume-question {
  margin: 12px 0;
  padding-left: 10px;
  border-left: 2px solid #ffbb47;
  color: #d7e4ef;
  font-size: 13px;
  line-height: 1.65;
}
.resume-question b, .practice-pick small {
  display: block;
  color: #ffcc78;
  font-size: 11px;
  letter-spacing: .04em;
}
.practice-shelf { margin-top: 25px; }
.practice-pick {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  text-align: left;
}
.practice-pick + .practice-pick { border-top: 1px solid #314a64; }
.practice-pick strong { display: block; margin-top: 4px; font-size: 15px; }
.practice-pick .icon { width: 16px; height: 16px; flex-shrink: 0; color: #b3c6db; }
.lesson-practice { margin: 14px 0 18px; padding: 16px; background: #102e4d; border-radius: 12px; }
.lesson-practice h3 { margin: 0 0 5px; color: #ffcc78; font-size: 14px; }
.lesson-practice p { margin: 0; color: #e3edf6; font-size: 15px; line-height: 1.75; }
.lesson-practice p + h3 { margin-top: 15px; }
.lesson-practice details { margin-top: 10px; border-top: 1px solid #314a64; }
.lesson-practice summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: #a9cfff; font-size: 14px; }
.lesson-practice summary:focus-visible { outline: 2px solid #ffbb47; outline-offset: 2px; }

/* The home briefing uses the market panel's existing signal palette. */
.home-brief-jump, .home-section-heading button {
  display: inline-flex; gap: 5px; align-items: center; min-height: 44px; padding: 0;
  font-size: 13px; color: #c9dcf0;
}
.home-brief-jump .icon, .home-section-heading .icon { width: 14px; height: 14px; }
.home-feed { margin: 28px 16px 8px; scroll-margin-top: 8px; }
.home-feed:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.home-feed section + section { margin-top: 26px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.home-section-heading .midnight-section-title { font-size: 19px; }
.home-section-heading > span, .home-source { font-size: 12px; color: var(--muted); }
.home-source { margin: 10px 0 14px; line-height: 1.5; }
.home-sector-brief { padding: 16px 14px; border-radius: 12px; background: var(--surface); }
.home-sector-strip { display: flex; height: 6px; gap: 2px; border-radius: 4px; overflow: hidden; }
.home-tone-up { --signal-ink: var(--sp-up); }
.home-tone-down { --signal-ink: var(--sp-down); }
.home-tone-unknown { --signal-ink: var(--sp-neutral); }
.home-sector-strip i { background: var(--signal-ink); flex-basis: 0; }
.home-sector-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); margin-top: 12px; gap: 12px; }
.home-sector-group { padding: 3px 0; min-width: 0; text-align: left; }
.sector-count { display: flex; align-items: baseline; gap: 6px; color: var(--signal-ink); }
.sector-count strong { font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sector-count small { font-size: 13px; }
.sector-count .icon { width: 13px; height: 13px; align-self: center; }
.sector-examples { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.home-sector-entry { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; width: 100%; border-bottom: 1px solid var(--line); text-align: left; }
.home-sector-entry small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.home-sector-entry .icon { width: 16px; height: 16px; color: var(--muted); }
.home-feed-top { display: block; min-height: 44px; margin: 15px auto 0; padding: 0 18px; color: var(--muted); font-size: 13px; }

/* Illustrated homepage product guide */
.guide-cover {
  overflow: hidden; border: 1px solid #335574; border-radius: 12px; background: #102e4b;
}
.guide-spread {
  isolation: isolate; position: relative; display: grid; align-content: space-between;
  min-height: 157px; padding: 17px 18px; background: #102540;
}
.guide-spread::after {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(5,20,38,.84), rgba(5,20,38,.48) 41%, transparent 76%);
}
.guide-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-kicker { display: flex; gap: 7px; align-items: center; color: #ffcf82; font-size: 12px; letter-spacing: .05em; }
.guide-kicker i { width:16px; height:2px; background:#edab44; }
.guide-kicker span { padding-left: 8px; border-left: 1px solid #75839a; }
.guide-cover h2 { margin: 18px 0 0; color: #fff8eb; font-size: 26px; line-height: 1.28; letter-spacing: .02em; }
.guide-caption { display: flex; align-items: center; gap: 12px; padding: 12px 15px; }
.guide-caption p { margin: 0; flex: 1; color: #dae5ef; font-size: 13px; line-height: 1.65; }
.guide-caption button { display: inline-flex; flex: none; align-items: center; gap: 4px; min-height: 44px; padding: 0 9px; border-radius: 5px; background: #ffd188; color: #172f47; font-size: 12px; font-weight: 650; }
.guide-caption .icon { width: 14px; height: 14px; }
.guide-section-label { color: #ffbf68; font-size: 12px; letter-spacing: .10em; }
.guide-uses h2 { margin: 5px 0 12px; color: var(--ink); font-size: 22px; line-height: 1.35; }
.guide-use { width: 100%; display: grid; grid-template-columns: 76px minmax(0,1fr) 12px; gap: 12px; align-items: center; padding: 13px 1px; text-align: left; border-top: 1px solid var(--line); }
.guide-use-image { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 6px; }
.guide-use-body { display: grid; gap: 3px; }
.guide-use-body small { color: #d7b47d; font-size: 11px; letter-spacing: .06em; }
.guide-use-body strong { color: var(--ink); font-size: 16px; line-height: 1.4; }
.guide-use-body > span { color: #bbcee0; font-size: 13px; line-height: 1.6; }
.guide-use .guide-chevron { width: 13px; height: 13px; color: #a7bfd5; }
.trend-reader .reader-intro { padding: 16px; border-left: 3px solid var(--gold); background: #123151; border-radius: 0 8px 8px 0; }
.trend-reader .reader-intro span { color: #ffce83; font-size: 12px; }
.trend-reader .reader-intro h3 { margin: 6px 0; }
.trend-reader > h3 { margin: 20px 0 6px; font-size: 16px; }
.trend-reader p { margin: 0; color: #d0e0ed; font-size: 14px; line-height: 1.8; }
.trend-reader .primary-button { margin-top: 22px; }
@media (max-width: 350px) {
  .guide-use { grid-template-columns: 62px minmax(0,1fr) 10px; gap: 8px; }
  .guide-use-image { width: 62px; height: 72px; }
  .guide-spread { min-height: 144px; padding: 14px; }
  .guide-cover h2 { font-size: 23px; }
}

/* Sector observations: an editorial note, then aligned, directly labelled counts. */
.industry-note { display:grid; grid-template-columns:minmax(0,1fr) 66px; gap:4px 12px; align-items:center; padding:20px 0 17px; border-bottom:1px solid var(--line); }
.industry-byline { grid-column:1; align-self:end; color:var(--gold); font-size:12px; letter-spacing:.1em; }
.sheet .industry-note h3 { grid-column:1; align-self:start; margin:0; font-size:18px; line-height:1.45; }
.industry-note img { grid-column:2; grid-row:1 / 3; display:block; width:66px; height:66px; border-radius:8px; }
.industry-note p { grid-column:1 / -1; margin:3px 0 0; font-size:14px; line-height:1.75; color:var(--muted); }
.industry-compare { margin:17px 0 0; --industry-cols:minmax(0,1fr) 50px 50px 16px; }
.industry-compare.has-unknown { --industry-cols:minmax(0,1fr) 39px 39px 48px 14px; }
.industry-compare header { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.sheet .industry-compare h3 { margin:0; font-size:18px; line-height:1.45; }
.industry-compare header > span,.industry-compare > p,.industry-columns,.industry-footnote { color:var(--muted); font-size:12px; }
.industry-compare > p { margin:4px 0 12px; line-height:1.6; }
.industry-columns,.industry-row { display:grid; grid-template-columns:var(--industry-cols); align-items:center; gap:4px; width:100%; text-align:center; }
.industry-columns { font-size:12px; background:var(--surface); border-radius:5px; min-height:30px; padding:3px 8px; }
.industry-columns > :first-child,.industry-name { text-align:left; }
.industry-row { padding:8px; min-height:48px; border-bottom:1px solid var(--line); }
.industry-row:active,.industry-more summary:active,.industry-directory button:active { background:var(--surface); }
.industry-name { font-size:15px; font-weight:600; }
.industry-mini-strip { display:flex; gap:1px; margin-top:5px; width:64px; height:3px; border-radius:3px; overflow:hidden; }
.industry-mini-strip i { background:var(--signal-ink); }
.industry-number { color:var(--signal-ink); font-size:17px; font-variant-numeric:tabular-nums; font-weight:600; }
.industry-row .icon,.industry-more .icon,.industry-symbol .icon { width:14px; height:14px; color:var(--muted); }
.industry-more summary { min-height:46px; display:flex; justify-content:center; align-items:center; gap:6px; color:var(--muted); cursor:pointer; font-size:13px; }
.industry-more summary::-webkit-details-marker { display:none; }
.industry-more .less-label,.industry-more[open] .more-label { display:none; }
.industry-more[open] .less-label { display:inline; }
.industry-more summary .icon { transform:rotate(90deg); }
.industry-more[open] summary .icon { transform:rotate(-90deg); }
.industry-more summary:focus-visible { outline:2px solid var(--gold); outline-offset:-2px; }
.industry-footnote { margin:8px 0 0; border-top:1px solid var(--line); padding-top:12px; line-height:1.7; }
.industry-directory { margin-top:18px; }
.sheet .industry-directory h3 { color:var(--signal-ink); margin:0 0 4px; font-size:15px; }
.industry-directory h3 span { margin-left:4px; font-variant-numeric:tabular-nums; }
.industry-directory button { min-height:48px; }
.industry-symbol { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }

/* Keep the permanent identity above the dated entitlement and the two distinct offers. */
.profile-pass.membership-card { background:linear-gradient(112deg,#173851 2%,#102d48 68%,#1c3d58); }
.profile-pass .card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.profile-pass h3 { margin:15px 0 5px; }
.profile-pass p { font-size:13px; }
.member-term { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; margin-top:15px; }
.member-term > span { width:100%; color:var(--muted); font-size:12px; }
.member-term strong { color:var(--ink); font-size:20px; font-weight:600; font-variant-numeric:tabular-nums; line-height:1.35; }
.member-term small { color:var(--muted); font-size:11px; }
.profile-pass .member-card-bottom { margin-top:12px; padding-top:6px; }
.profile-pass .member-card-bottom > button { min-height:44px; }
.member-pricing { display:grid; grid-template-columns:1fr 1fr; margin:12px 0 16px; padding:13px 0; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.member-pricing > div { display:grid; align-content:start; gap:3px; min-width:0; padding:0 14px; }
.member-pricing > div + div { border-left:1px solid #47617b; }
.member-pricing span,.member-pricing small { color:var(--muted); font-size:12px; line-height:1.55; }
.member-pricing span { color:var(--ink); font-weight:600; }
.member-pricing strong,.member-quote strong { color:#ffe1a5; font-size:22px; line-height:1.4; font-variant-numeric:tabular-nums; }
.member-pricing em { font-style:normal; font-size:12px; font-weight:400; white-space:nowrap; }
.member-facts { padding:12px 14px; }
.member-facts .key-value { gap:9px; flex-wrap:wrap; }
.member-facts .key-value strong { color:var(--ink); font-size:13px; font-weight:550; text-align:right; font-variant-numeric:tabular-nums; }
.member-quote { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; padding-bottom:8px; border-bottom:1px solid var(--line); }
.member-quote > span,.member-meta { color:var(--muted); font-size:12px; line-height:1.65; }
.member-meta { margin:9px 0 0; }
.member-order + .member-order { margin-top:10px; }
.profile-directory { margin-top:20px; }
.profile-directory .profile-section-title { display:flex; align-items:center; gap:9px; margin:0 0 9px; font-size:15px; color:var(--ink); }
.profile-directory .profile-section-title::before { content:""; width:3px; height:14px; background:var(--gold); border-radius:2px; }
.profile-directory .menu-card { margin:0; }
.profile-directory .menu-row { min-height:48px; padding:10px 13px; }
.profile-directory .menu-row > small { font-size:11px; white-space:normal; overflow:visible; line-height:1.45; text-align:right; }
.profile-directory .group-remaining { display:block; }
.profile-directory .menu-row:active { background:var(--deep); }
@media(max-width:350px) { .member-pricing > div { padding:0 9px; } .member-pricing strong { font-size:20px; } }

/* Course desk: a training pass, an appointment slip and a short field guide. */
.training-heading { margin:2px 0 16px; }
.training-heading > span { color:var(--gold); font-size:12px; letter-spacing:.12em; }
.training-heading h2 { margin:4px 0; color:var(--ink); font-size:26px; }
.training-heading p,.training-pass > p,.training-footnote { color:var(--muted); font-size:13px; line-height:1.6; }
.training-heading p,.training-pass > p { margin:5px 0 0; }
.training-pass { padding:17px 16px 2px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(115deg,#183b60,#102e4d 75%); }
.training-pass header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.training-pass h3,.training-section h3 { margin:0; color:var(--ink); font-size:18px; }
.training-pass header small,.tr-status { color:#ffe1a5; font-size:12px; font-weight:550; }
.training-numbers { display:grid; grid-template-columns:repeat(3,1fr); margin-top:18px; }
.training-numbers > div { display:grid; gap:3px; text-align:center; }
.training-numbers > div + div { border-left:1px solid #40607e; }
.training-numbers b { color:var(--ink); font-size:28px; font-variant-numeric:tabular-nums; line-height:1.1; }
.training-numbers > :first-child b { color:#ffdb91; }
.training-numbers span { color:var(--muted); font-size:12px; }
.training-pass > .training-caption { margin:14px 0 8px; font-size:12px; }
.training-pass .primary-button { margin:8px 0 0; min-height:46px; }
.training-link { display:flex; align-items:center; justify-content:center; gap:4px; width:100%; min-height:44px; color:var(--muted); font-size:13px; }
.training-link .icon,.training-row > .icon,.tr-slot .icon { width:16px; height:16px; }
.training-section { margin:21px 0 10px; }
.training-section .menu-card { margin:10px 0; }
.training-row,.tr-slot,.training-next { display:flex; align-items:center; text-align:left; width:100%; gap:12px; padding:12px; min-height:52px; color:var(--ink); }
.training-row + .training-row,.tr-slot + .tr-slot { border-top:1px solid var(--line); }
.training-row > span:not(.tr-index),.tr-slot > span:nth-child(2),.training-next > span { display:grid; flex:1; min-width:0; gap:3px; }
.training-row strong,.tr-slot strong,.training-next strong { font-size:15px; line-height:1.45; font-weight:600; }
.training-row small,.tr-slot small,.training-next small { color:var(--muted); font-size:12px; line-height:1.5; }
.tr-index { color:var(--gold); font-size:13px; font-variant-numeric:tabular-nums; }
.training-next,.tr-schedule,.tr-staff { margin-top:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.training-footnote { margin:13px 0 16px; text-align:center; font-size:12px; }
.tr-date { display:grid; gap:2px; text-align:center; min-width:50px; border-right:1px solid var(--line); padding-right:9px; }
.tr-date strong { color:#ffe1a5; font-variant-numeric:tabular-nums; }
.tr-slot:disabled,.sheet .primary-button:disabled { opacity:.65; cursor:default; }
.tr-steps { padding-left:25px; line-height:1.65; }
.tr-steps li { padding-left:3px; margin:16px 0; }
.tr-steps li::marker { color:var(--gold); }
.tr-steps p { margin:4px 0; color:var(--muted); font-size:14px; }
.tr-passcode { display:grid; gap:8px; text-align:center; margin:15px 0; padding:18px 12px; border:1px dashed #7190ac; border-radius:12px; }
.tr-passcode strong { font:700 24px/1.2 ui-monospace,monospace; color:#ffe1a5; letter-spacing:.1em; }
.tr-passcode small,.tr-passcode span,.tr-staff > small { color:var(--muted); font-size:12px; }
.tr-staff { text-align:center; padding-top:10px; }
.tr-home-icon { display:grid; place-items:center; width:55px; min-height:55px; border-radius:12px; background:var(--deep); color:var(--gold); }
.midnight-continue-content > small { display:block; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.5; }

.tabbar button{position:relative}.tr-tab-count{position:absolute;top:1px;left:calc(50% + 6px);border-radius:12px;padding:0 5px;line-height:17px;font-size:11px;background:#b53835;color:white}.tr-notice{display:grid;width:100%;gap:5px;text-align:left;padding:14px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;margin-bottom:9px;line-height:1.55}.tr-notice small{color:var(--muted);font-size:12px}.tr-notice span{overflow-wrap:anywhere;font-size:14px}
