.crwx{--cr-bg:#06131B;--cr-panel:#0A2231;--cr-panel2:#0F344A;--cr-text:#F4FCFF;--cr-muted:#A8C9D5;--cr-cyan:#18D5E8;--cr-blue:#2E8FFF;--cr-gold:#E4B86A;--cr-line:#1D5B71;--cr-success:#45D49D;--cr-danger:#FF718D;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--cr-text);background:var(--cr-bg);border-radius:24px;overflow:hidden;margin:24px auto;max-width:1200px;box-shadow:0 20px 60px rgba(3,18,27,.16)}
.crwx *{box-sizing:border-box}.crwx a{text-decoration:none}.crwx-hero{padding:clamp(22px,5vw,54px);background:radial-gradient(circle at 85% 10%,rgba(24,213,232,.18),transparent 35%),linear-gradient(145deg,#06131B,#0A2231 65%,#0F344A)}.crwx-kicker{font-size:12px;font-weight:900;letter-spacing:1.7px;color:var(--cr-gold);text-transform:uppercase}.crwx h1,.crwx h2,.crwx h3{color:var(--cr-text);margin:8px 0}.crwx h1{font-size:clamp(30px,5vw,58px);line-height:1.03;max-width:900px}.crwx h2{font-size:clamp(25px,3.4vw,40px)}.crwx h3{font-size:19px}.crwx p{color:var(--cr-muted);line-height:1.65}.crwx-hero>p{max-width:800px;font-size:17px}.crwx-userbar{display:inline-flex;gap:9px;align-items:center;margin-top:16px;border:1px solid var(--cr-line);background:rgba(6,19,27,.58);padding:9px 12px;border-radius:999px;color:var(--cr-muted);font-size:13px}.crwx-dot{width:8px;height:8px;border-radius:50%;background:var(--cr-success);box-shadow:0 0 0 4px rgba(69,212,157,.13)}
.crwx-body,.crwx-home-inner{padding:clamp(18px,4vw,42px)}.crwx-loading,.crwx-empty,.crwx-error,.crwx-notice{padding:22px;border:1px solid var(--cr-line);background:var(--cr-panel);border-radius:16px;color:var(--cr-muted)}.crwx-error{border-color:#8d4a52;color:#ffd7db}.crwx-notice{border-style:dashed;border-color:rgba(228,184,106,.5);background:rgba(228,184,106,.06)}.crwx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crwx-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.crwx-card{background:linear-gradient(180deg,var(--cr-panel),#081b25);border:1px solid var(--cr-line);border-radius:18px;padding:18px;min-width:0}.crwx-card-link{display:block;transition:transform .18s ease,border-color .18s ease}.crwx-card-link:hover{transform:translateY(-2px);border-color:var(--cr-cyan)}.crwx-card-link span,.crwx-link{color:var(--cr-cyan);font-weight:800}.crwx-pills{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.crwx-pill{display:inline-flex;border:1px solid var(--cr-line);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:850;color:var(--cr-muted)}.crwx-pill.gold{color:var(--cr-gold);border-color:rgba(228,184,106,.45)}.crwx-pill.green{color:#9bf0ca;border-color:rgba(69,212,157,.45)}.crwx-pill.blue{color:#8fc6ff;border-color:rgba(46,143,255,.5)}
.crwx-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.crwx-tab,.crwx-btn{appearance:none;border:1px solid var(--cr-line);background:var(--cr-panel);color:var(--cr-text);border-radius:12px;padding:11px 14px;font-weight:800;cursor:pointer}.crwx-tab.active,.crwx-btn.primary{background:var(--cr-cyan);border-color:var(--cr-cyan);color:#06131B}.crwx-btn.gold{background:var(--cr-gold);border-color:var(--cr-gold);color:#06131B}.crwx-btn:disabled{opacity:.55;cursor:not-allowed}.crwx-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.crwx-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#102934}.crwx-book{display:grid;grid-template-columns:92px 1fr;gap:14px}.crwx-book .crwx-cover{aspect-ratio:3/4}.crwx-price{font-weight:900;color:var(--cr-gold)}
.crwx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.crwx-metric{border:1px solid var(--cr-line);background:rgba(15,52,74,.45);border-radius:14px;padding:14px}.crwx-metric strong{display:block;font-size:24px;color:var(--cr-text)}.crwx-metric span{font-size:12px;color:var(--cr-muted)}
.crwx input,.crwx textarea,.crwx select{width:100%;border:1px solid var(--cr-line);border-radius:12px;background:#f7fbfd;color:#0a1720;padding:12px 13px;font:inherit}.crwx textarea{min-height:110px;resize:vertical}.crwx-chat{display:flex;flex-direction:column;gap:10px;min-height:280px;max-height:560px;overflow:auto;padding:8px}.crwx-msg{max-width:84%;padding:11px 13px;border-radius:15px;white-space:pre-wrap;line-height:1.55}.crwx-msg.ai{background:var(--cr-panel);align-self:flex-start}.crwx-msg.me{background:#123b48;align-self:flex-end}.crwx-chat-form{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:12px}.crwx-chat-form textarea{min-height:52px;max-height:130px}.crwx-feed{display:grid;gap:12px}.crwx-post{border:1px solid var(--cr-line);border-radius:16px;background:var(--cr-panel);padding:15px}.crwx-post-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.crwx-post-author{font-weight:900;color:var(--cr-text)}.crwx-post-time{font-size:11px;color:var(--cr-muted)}.crwx-post-content{white-space:pre-wrap;color:var(--cr-text);margin:10px 0}.crwx-home-strip{max-width:none;border-radius:0;margin:38px 0 0}.crwx-home-inner{max-width:1200px;margin:auto}.crwx-lead{max-width:760px;font-size:17px}
@media(max-width:900px){.crwx-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crwx-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.crwx{border-radius:18px;margin:16px 0}.crwx-grid,.crwx-grid-3,.crwx-metrics{grid-template-columns:1fr}.crwx-book{grid-template-columns:74px 1fr}.crwx-chat-form{grid-template-columns:1fr}.crwx-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.crwx-card-link{transition:none}}
.crwx-form{display:grid;gap:12px}.crwx-form label{display:grid;gap:6px;color:var(--cr-muted);font-size:13px;font-weight:800}.crwx-success{margin-top:10px;padding:12px;border:1px solid rgba(69,212,157,.45);background:rgba(69,212,157,.08);border-radius:12px;color:#9bf0ca}.crwx-profile-hero{border:1px solid var(--cr-line);border-radius:18px;overflow:hidden;background:var(--cr-panel)}.crwx-profile-cover{width:100%;height:220px;object-fit:cover;background:linear-gradient(135deg,#0F344A,#123b48)}.crwx-cover-empty{display:block}.crwx-profile-row{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:end;padding:0 20px 20px;margin-top:-44px}.crwx-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;border:5px solid var(--cr-panel);background:#102934}.crwx-avatar-empty{display:block}.crwx-author-row{display:flex;align-items:center;gap:9px}.crwx-mini-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover}.crwx-post-image{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin-top:10px}.crwx-reaction-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;color:var(--cr-muted);font-size:12px}.crwx-mini-btn{appearance:none;border:1px solid var(--cr-line);background:#0b2634;color:var(--cr-text);border-radius:999px;padding:7px 10px;font-weight:800;cursor:pointer}.crwx-mini-btn.active{border-color:var(--cr-cyan);color:var(--cr-cyan)}.crwx-mini-btn.danger{border-color:rgba(255,113,141,.45);color:#ff9bad;margin-top:12px}.crwx-comments{display:grid;gap:7px;margin-top:12px}.crwx-comment{background:#081b25;border-radius:10px;padding:9px 11px;color:var(--cr-muted)}.crwx-comment strong{color:var(--cr-text)}.crwx-comment-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.crwx-pre{white-space:pre-wrap}
@media(max-width:680px){.crwx-profile-row{grid-template-columns:82px 1fr;margin-top:-30px}.crwx-avatar{width:82px;height:82px}.crwx-profile-cover{height:150px}.crwx-comment-form{grid-template-columns:1fr}}
.crwx-subnav{display:flex;gap:8px;overflow-x:auto;padding:14px 0 2px;margin-top:8px;scrollbar-width:thin}.crwx-subnav-link{flex:0 0 auto;border:1px solid var(--cr-line);border-radius:999px;padding:8px 11px;color:var(--cr-muted);font-size:12px;font-weight:850;background:rgba(6,19,27,.48)}.crwx-subnav-link:hover,.crwx-subnav-link.active{color:#06131B;background:var(--cr-cyan);border-color:var(--cr-cyan)}.crwx-member-list{display:grid;gap:10px;margin-top:12px}.crwx-member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--cr-line);border-radius:12px;background:#081b25}.crwx-member-row strong{color:var(--cr-text)}
@media(max-width:680px){.crwx-subnav{margin-left:-4px;margin-right:-4px;padding-bottom:6px}.crwx-member-row{align-items:flex-start;flex-direction:column}.crwx-member-row .crwx-mini-btn{width:100%}}


/* Responsive edge-to-edge upgrade */
.crwx{position:relative;width:100vw;max-width:none;margin:0 calc(50% - 50vw) 28px;border-radius:0;box-shadow:none;overflow:hidden}
.crwx-hero,.crwx-body,.crwx-home-inner{width:min(100%,1600px);margin-left:auto;margin-right:auto}
.crwx-hero{padding:clamp(20px,4vw,56px)}
.crwx-body,.crwx-home-inner{padding:clamp(18px,3vw,42px)}
.crwx-home-strip{margin:42px calc(50% - 50vw) 0;border-radius:0}
.crwx-home-inner{max-width:none}
.crwx h1{max-width:1100px}
.crwx-hero>p,.crwx-lead{max-width:950px}
.crwx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.crwx-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.crwx-card{height:100%}
.crwx-book{grid-template-columns:110px 1fr;align-items:start}
.crwx-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.crwx-post{padding:18px}
.crwx-subnav{gap:10px;padding:16px 0 2px}
.crwx-subnav-link{padding:10px 13px;font-size:12px}
.crwx-userbar{max-width:100%;flex-wrap:wrap}
.crwx img{max-width:100%;height:auto}

/* Try to neutralize extra theme padding around our full-width pages */
.entry-content > .crwx:first-child,
.site-main .crwx:first-child,
article .crwx:first-child{margin-top:0}
.entry-content > .crwx:last-child,
.site-main .crwx:last-child,
article .crwx:last-child{margin-bottom:0}

/* Wider desktop */
@media(min-width:1400px){
  .crwx-hero,.crwx-body,.crwx-home-inner{width:min(100%,1680px)}
  .crwx-grid-3{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Tablet */
@media(max-width:1024px){
  .crwx{margin:0 calc(50% - 50vw) 22px}
  .crwx-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crwx-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crwx-book{grid-template-columns:90px 1fr}
}

/* Phone */
@media(max-width:680px){
  .crwx{margin:0 calc(50% - 50vw) 18px;border-radius:0}
  .crwx-hero,.crwx-body,.crwx-home-inner{width:100%;padding:16px}
  .crwx h1{font-size:clamp(30px,10vw,42px);line-height:1.06}
  .crwx h2{font-size:clamp(24px,8vw,32px)}
  .crwx p,.crwx-hero>p,.crwx-lead{font-size:15px;line-height:1.55}
  .crwx-grid,.crwx-grid-3,.crwx-metrics{grid-template-columns:1fr}
  .crwx-book{grid-template-columns:76px 1fr;gap:12px}
  .crwx-card,.crwx-post,.crwx-metric,.crwx-loading,.crwx-empty,.crwx-error,.crwx-notice{padding:14px}
  .crwx-subnav{margin:4px -4px 0;padding:4px 0 8px;overflow-x:auto;scrollbar-width:thin}
  .crwx-subnav-link{padding:10px 12px;font-size:12px}
  .crwx-tabs,.crwx-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .crwx-tab,.crwx-btn{width:100%;min-height:44px;padding:11px 12px}
  .crwx-chat-form,.crwx-comment-form{grid-template-columns:1fr}
  .crwx-profile-row{grid-template-columns:84px 1fr;gap:12px;padding:0 16px 16px;margin-top:-28px}
  .crwx-avatar{width:84px;height:84px}
  .crwx-profile-cover{height:150px}
  .crwx-post-head,.crwx-member-row{flex-direction:column;align-items:flex-start}
  .crwx-member-row .crwx-mini-btn{width:100%}
  .crwx-post-image{max-height:320px}
}

/* Small phone */
@media(max-width:420px){
  .crwx-hero,.crwx-body,.crwx-home-inner{padding:14px}
  .crwx-tabs,.crwx-actions{grid-template-columns:1fr}
  .crwx-userbar{font-size:12px;padding:8px 10px}
}

/* R1.3.1 — generated-page shell cleanup. Keeps the existing WordPress backend,
   but removes theme chrome that collides with the app-style member experience. */
body.crwx-member-page{background:#06131B!important}
body.crwx-member-page #main-container,
body.crwx-member-page .site-main,
body.crwx-member-page main,
body.crwx-member-page .content-area,
body.crwx-member-page .entry-content,
body.crwx-member-page article,
body.crwx-member-page .ct-container,
body.crwx-member-page .ct-container-full{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;background:transparent!important}

/* Hide duplicate page-title/share/related/trending chrome on the generated member pages. */
body.crwx-member-page .entry-header,
body.crwx-member-page .page-title,
body.crwx-member-page .ct-breadcrumbs,
body.crwx-member-page .post-navigation,
body.crwx-member-page .entry-footer,
body.crwx-member-page .sharedaddy,
body.crwx-member-page .sd-sharing-enabled,
body.crwx-member-page .jp-relatedposts,
body.crwx-member-page .ct-related-posts,
body.crwx-member-page .ct-trending-block,
body.crwx-member-page .comments-area{display:none!important}

/* Blocksy/transparent-header rows were visually crossing the ChoiceRoyals hero.
   Keep the normal website header out of the generated app-style member screens;
   the ChoiceRoyals member sub-navigation remains available inside the experience. */
body.crwx-member-page #header,
body.crwx-member-page header#header,
body.crwx-member-page .ct-header{display:none!important}

body.crwx-member-page .crwx{min-height:calc(100svh - 32px);margin-top:0!important;margin-bottom:0!important}
body.admin-bar.crwx-member-page .crwx{min-height:calc(100svh - 32px)}

/* Prevent theme wrappers from reintroducing gutters at common breakpoints. */
@media(max-width:1024px){
  body.crwx-member-page #main-container,
  body.crwx-member-page .site-main,
  body.crwx-member-page .content-area,
  body.crwx-member-page .entry-content{padding-left:0!important;padding-right:0!important}
}
@media(max-width:680px){
  body.crwx-member-page .crwx{min-height:100svh}
}


/* R1.4 web-companion design: website-first, not an app clone */
.crwx{
  --cr-bg:#f5f9fb;
  --cr-panel:#ffffff;
  --cr-panel2:#edf7fa;
  --cr-text:#102a36;
  --cr-muted:#5e7480;
  --cr-cyan:#16bfd0;
  --cr-blue:#2e8fff;
  --cr-gold:#c8943e;
  --cr-line:#d4e6ec;
  --cr-success:#169b6c;
  --cr-danger:#d8536a;
  color:var(--cr-text);
  background:var(--cr-bg);
}
.crwx-hero{
  background:
    radial-gradient(circle at 88% 12%,rgba(22,191,208,.18),transparent 34%),
    radial-gradient(circle at 15% 0%,rgba(46,143,255,.10),transparent 28%),
    linear-gradient(135deg,#fbfdff,#eef8fb 70%,#e9f7f8);
  border-bottom:1px solid var(--cr-line);
}
.crwx h1,.crwx h2,.crwx h3{color:var(--cr-text)}
.crwx p,.crwx-hero>p{color:var(--cr-muted)}
.crwx-userbar{background:#fff;border-color:var(--cr-line);color:var(--cr-muted);box-shadow:0 8px 24px rgba(21,63,79,.06)}
.crwx-card,.crwx-post,.crwx-profile-hero,.crwx-metric{
  background:#fff;
  border-color:var(--cr-line);
  box-shadow:0 10px 28px rgba(22,64,81,.055);
}
.crwx-card-link:hover{border-color:rgba(22,191,208,.75);box-shadow:0 15px 34px rgba(22,64,81,.09)}
.crwx-card-link span,.crwx-link{color:#0aa8ba}
.crwx-subnav-link{background:#fff;color:#49636f;border-color:var(--cr-line)}
.crwx-subnav-link:hover,.crwx-subnav-link.active{background:#16bfd0;border-color:#16bfd0;color:#062a32}
.crwx-tab,.crwx-btn{background:#fff;color:#173441;border-color:var(--cr-line)}
.crwx-tab.active,.crwx-btn.primary{background:#16bfd0;border-color:#16bfd0;color:#062a32}
.crwx-btn.gold{background:#d6a656;border-color:#d6a656;color:#2d210d}
.crwx-loading,.crwx-empty,.crwx-error,.crwx-notice{background:#fff;color:var(--cr-muted);border-color:var(--cr-line)}
.crwx-notice{background:#fffaf1;border-color:#ead7ad}
.crwx-error{background:#fff5f6;color:#a83d50;border-color:#efc5cc}
.crwx-pill{color:#58717d;border-color:var(--cr-line);background:#fff}
.crwx-pill.gold{color:#94651e;border-color:#e3c78f}
.crwx-pill.green{color:#137a58;border-color:#adddca}
.crwx-pill.blue{color:#256ba8;border-color:#b7d6f2}
.crwx-mini-btn{background:#fff;color:#173441;border-color:var(--cr-line)}
.crwx-comment{background:#f5f9fb;color:#526d79}
.crwx-post-content{color:var(--cr-text)}
.crwx-msg.ai{background:#fff;border:1px solid var(--cr-line)}
.crwx-msg.me{background:#e0f6f8;color:#12323b}
.crwx-member-row{background:#fff;border-color:var(--cr-line)}
.crwx-profile-cover{background:linear-gradient(135deg,#dceff5,#e8f8f8)}
.crwx-avatar{border-color:#fff}
.crwx-app-promo,.crwx-app-hero-card{
  margin-top:18px;
  padding:clamp(20px,3vw,36px);
  border-radius:22px;
  border:1px solid #cbe4ea;
  background:
    radial-gradient(circle at 90% 10%,rgba(22,191,208,.16),transparent 35%),
    linear-gradient(135deg,#ffffff,#edf8fb);
  box-shadow:0 14px 34px rgba(22,64,81,.07);
}
.crwx-app-promo{display:grid;grid-template-columns:minmax(0,1.6fr) auto;gap:24px;align-items:center}
.crwx-device-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.crwx-device-card{padding:18px;border:1px solid var(--cr-line);border-radius:16px;background:#fff}
.crwx-device-card strong{display:block;font-size:17px;color:var(--cr-text)}
.crwx-device-card span{display:block;margin-top:6px;color:var(--cr-muted);font-size:13px}
@media(max-width:900px){
  .crwx-app-promo{grid-template-columns:1fr}
  .crwx-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .crwx-device-grid{grid-template-columns:1fr}
}


/* R1.5 shop visibility without product overload */
.crwx-shop-promo{margin-top:18px;padding:clamp(20px,3vw,34px);display:grid;grid-template-columns:minmax(0,1.6fr) auto;gap:24px;align-items:center;border:1px solid #ead7ad;border-radius:22px;background:linear-gradient(135deg,#fffaf0,#ffffff 58%,#eef9fb);box-shadow:0 14px 34px rgba(22,64,81,.06)}
.crwx-shop-promo h2{margin-top:6px}
.crwx-shop-promo p{max-width:820px}
@media(max-width:900px){.crwx-shop-promo{grid-template-columns:1fr}}


/* R1.6 richer web dashboard + academy discovery */
.crwx-section{margin-bottom:24px}
.crwx-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:14px}
.crwx-section-head h2{margin:5px 0 4px}
.crwx-section-head p{margin:0;max-width:820px}
.crwx-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.crwx-discover-section{padding-top:8px}
.crwx-section-actions{margin-top:16px}
@media(max-width:1180px){.crwx-grid-4{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.crwx-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.crwx-section-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.crwx-grid-4{grid-template-columns:1fr}.crwx-section{margin-bottom:20px}}


/* R1.7 Profile + Community polish */
.crwx-profile-polished{overflow:visible}
.crwx-profile-cover.crwx-cover-empty{display:flex;align-items:center;justify-content:center;color:#79a8b5;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.crwx-profile-copy{padding-bottom:4px;min-width:0}
.crwx-profile-copy p{max-width:820px;margin:6px 0}
.crwx-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.crwx-profile-summary>div{padding:16px 18px;border:1px solid var(--cr-line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(22,64,81,.045)}
.crwx-profile-summary strong{display:block;font-size:22px;color:var(--cr-text)}
.crwx-profile-summary span{display:block;margin-top:3px;font-size:12px;color:var(--cr-muted)}
.crwx-profile-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:16px;align-items:start}
.crwx-profile-edit,.crwx-profile-media-card{padding:22px}
.crwx-field-help{justify-self:end;color:var(--cr-muted);font-size:11px;font-weight:700}
.crwx-media-control{padding:16px 0;border-top:1px solid var(--cr-line)}
.crwx-media-control:first-of-type{border-top:0}
.crwx-media-label{display:flex;flex-direction:column;gap:2px;margin-bottom:9px}
.crwx-media-label strong{color:var(--cr-text)}
.crwx-media-label span{color:var(--cr-muted);font-size:12px}

.crwx-community-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.crwx-community-toolbar h2{margin-bottom:4px}
.crwx-community-toolbar p{margin:0}
.crwx-community-toolbar .crwx-tabs{margin:0}
.crwx-community-composer{padding:18px;margin-bottom:16px}
.crwx-composer-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.crwx-composer-head>div{display:flex;flex-direction:column}
.crwx-composer-head span{font-size:12px;color:var(--cr-muted)}
.crwx-composer-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.crwx-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dff5f7,#d7ebf8);color:#176777;font-weight:900;border:1px solid #c7e3e8}
.crwx-community-composer textarea{min-height:100px;background:#f9fcfd}
.crwx-composer-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.crwx-file-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border:1px solid var(--cr-line);border-radius:12px;background:#fff;color:var(--cr-text);font-weight:800;cursor:pointer}
.crwx-privacy-select{display:flex;align-items:center;gap:8px;margin-left:auto;color:var(--cr-muted);font-size:12px;font-weight:800}
.crwx-privacy-select select{width:auto;min-width:110px;padding:9px 11px}
.crwx-composer-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.crwx-composer-preview:empty{display:none}
.crwx-composer-preview img{width:100%;height:110px;object-fit:cover;border-radius:12px;border:1px solid var(--cr-line)}
.crwx-community-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.crwx-community-side{display:grid;gap:14px;position:sticky;top:24px}
.crwx-community-side .crwx-card{padding:18px}
.crwx-post{padding:18px}
.crwx-post-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.crwx-post-content{font-size:15px;line-height:1.65;margin:14px 0}
.crwx-post-media{display:grid;gap:6px;margin-top:12px;border-radius:16px;overflow:hidden}
.crwx-post-media img{display:block;width:100%;height:100%;max-height:520px;object-fit:cover;background:#eef5f7}
.crwx-post-media.crwx-media-2{grid-template-columns:1fr 1fr}
.crwx-post-media.crwx-media-2 img{height:330px}
.crwx-post-media.crwx-media-3,.crwx-post-media.crwx-media-4{grid-template-columns:1fr 1fr}
.crwx-post-media.crwx-media-3 img,.crwx-post-media.crwx-media-4 img{height:240px}
.crwx-reaction-row{border-top:1px solid var(--cr-line);padding-top:12px;margin-top:14px}
.crwx-comment-count{margin-left:auto}
.crwx-comments{border-top:1px solid var(--cr-line);padding-top:10px}
.crwx-comment{display:flex;gap:9px;align-items:flex-start;background:#f6fafb;padding:10px 12px}
.crwx-comment p{margin:2px 0 0;color:var(--cr-muted)}
.crwx-comment-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 auto;font-size:10px}
.crwx-comment-form{border-top:1px solid var(--cr-line);padding-top:10px}
.crwx-people-shell{display:grid;gap:14px}
.crwx-member-search{padding:20px}
.crwx-member-search input{max-width:620px}
.crwx-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.crwx-member-card{display:flex;flex-direction:column;gap:16px;justify-content:space-between;padding:18px;border:1px solid var(--cr-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(22,64,81,.045)}
.crwx-member-card-top{display:flex;gap:12px;align-items:flex-start}
.crwx-member-card-top strong{display:block;color:var(--cr-text)}
.crwx-member-card-top p{margin:4px 0 0;font-size:13px}
.crwx-member-avatar{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:0 0 auto}

@media(max-width:1100px){
  .crwx-profile-layout{grid-template-columns:1fr}
  .crwx-community-columns{grid-template-columns:1fr}
  .crwx-community-side{grid-template-columns:1fr 1fr;position:static}
  .crwx-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .crwx-profile-summary{grid-template-columns:1fr}
  .crwx-community-toolbar{align-items:flex-start;flex-direction:column}
  .crwx-community-toolbar .crwx-tabs{width:100%}
  .crwx-community-side{grid-template-columns:1fr}
  .crwx-composer-footer{display:grid;grid-template-columns:1fr 1fr}
  .crwx-composer-footer .crwx-btn{grid-column:1/-1}
  .crwx-privacy-select{margin-left:0;justify-content:space-between}
  .crwx-composer-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crwx-member-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .crwx-profile-edit,.crwx-profile-media-card,.crwx-community-composer,.crwx-post{padding:14px}
  .crwx-composer-footer{grid-template-columns:1fr}
  .crwx-composer-footer .crwx-btn{grid-column:auto}
  .crwx-privacy-select{display:grid;grid-template-columns:auto 1fr}
  .crwx-privacy-select select{width:100%}
  .crwx-post-media.crwx-media-2,.crwx-post-media.crwx-media-3,.crwx-post-media.crwx-media-4{grid-template-columns:1fr}
  .crwx-post-media.crwx-media-2 img,.crwx-post-media.crwx-media-3 img,.crwx-post-media.crwx-media-4 img{height:auto;max-height:360px}
  .crwx-comment-count{width:100%;margin-left:0}
}


/* R1.8 Membership + Shop + Listen & Learn polish */
.crwx-library-overview{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:22px;align-items:center;padding:clamp(20px,3vw,34px);margin-bottom:18px;border:1px solid var(--cr-line);border-radius:22px;background:linear-gradient(135deg,#fff,#edf8fb)}
.crwx-library-overview h2{margin:5px 0}.crwx-library-overview p{margin:0;max-width:760px}
.crwx-library-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.crwx-library-stats>div{padding:14px;border:1px solid var(--cr-line);border-radius:14px;background:#fff}.crwx-library-stats strong{display:block;font-size:23px;color:var(--cr-text)}.crwx-library-stats span{display:block;margin-top:3px;color:var(--cr-muted);font-size:11px}
.crwx-library-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.crwx-library-tab{appearance:none;text-align:left;padding:16px 18px;border:1px solid var(--cr-line);border-radius:16px;background:#fff;color:var(--cr-text);cursor:pointer;box-shadow:0 7px 20px rgba(22,64,81,.04)}.crwx-library-tab strong{display:block;font-size:15px}.crwx-library-tab span{display:block;margin-top:3px;font-size:11px;color:var(--cr-muted)}.crwx-library-tab.active{border-color:#16bfd0;background:#eafafb;box-shadow:0 9px 26px rgba(22,191,208,.12)}
.crwx-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crwx-learning-media-card{display:grid;grid-template-columns:150px 1fr;gap:18px;overflow:hidden;border:1px solid var(--cr-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(22,64,81,.045);padding:16px}.crwx-learning-cover{width:150px;aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:#eaf4f7}.crwx-cover-fallback{display:flex;align-items:center;justify-content:center;color:#6d9aa6;font-weight:900;letter-spacing:.12em}.crwx-learning-copy{min-width:0}.crwx-learning-copy h3{margin-top:8px}.crwx-learning-copy p{font-size:13px}.crwx-learning-copy audio{width:100%;margin-top:10px}
.crwx-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crwx-book-card{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:16px;border:1px solid var(--cr-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(22,64,81,.045)}.crwx-book-cover{width:120px;aspect-ratio:3/4;object-fit:cover;border-radius:12px;background:#eef5f7}.crwx-book-author{font-size:12px;font-weight:800;color:#66808b;margin:3px 0 8px}
.crwx-library-footer,.crwx-shop-intro,.crwx-membership-actions{display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:20px;align-items:center;margin-top:18px;padding:22px;border:1px solid var(--cr-line);border-radius:18px;background:#fff}.crwx-shop-intro{margin:0 0 16px;background:#fffaf3;border-color:#ecd8ae}
.crwx-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.crwx-product-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.crwx-product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--cr-line);border-radius:18px;background:#fff;text-decoration:none!important;box-shadow:0 8px 24px rgba(22,64,81,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.crwx-product-card:hover{transform:translateY(-2px);border-color:#a9dfe5;box-shadow:0 12px 30px rgba(22,64,81,.08)}.crwx-product-media{aspect-ratio:16/10;background:#edf5f7;overflow:hidden}.crwx-product-media img{display:block;width:100%;height:100%;object-fit:cover}.crwx-product-placeholder{display:flex;align-items:center;justify-content:center;color:#6d9aa6;font-weight:900;letter-spacing:.08em}.crwx-product-copy{display:flex;flex-direction:column;flex:1;padding:16px}.crwx-product-copy h3{margin:5px 0 7px}.crwx-product-copy p{font-size:13px;margin:0 0 14px}.crwx-product-category{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#9a6a28}.crwx-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid #edf2f4}.crwx-product-bottom span{color:#0aa8ba;font-size:12px;font-weight:850}.crwx-product-bottom .crwx-price{font-size:15px}
.crwx-membership-current{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;margin-bottom:18px;padding:clamp(20px,3vw,34px);border:1px solid var(--cr-line);border-radius:22px;background:linear-gradient(135deg,#fff,#eef9fb)}.crwx-membership-current h2{margin:5px 0}.crwx-membership-current p{margin:0;max-width:820px}.crwx-membership-badge{display:flex;align-items:center;justify-content:center;min-width:120px;min-height:120px;border-radius:50%;background:#16bfd0;color:#062a32;font-size:18px;font-weight:950;text-transform:uppercase;box-shadow:0 12px 30px rgba(22,191,208,.18)}
.crwx-membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.crwx-membership-plan{position:relative;padding:24px;border:1px solid var(--cr-line);border-radius:20px;background:#fff;box-shadow:0 9px 26px rgba(22,64,81,.05)}.crwx-membership-plan.current{border-color:#16bfd0;box-shadow:0 12px 32px rgba(22,191,208,.12)}.crwx-membership-price{font-size:27px;font-weight:950;color:var(--cr-text);margin:12px 0 4px}.crwx-membership-alt{font-size:12px;font-weight:800;color:var(--cr-muted);margin-bottom:12px}.crwx-membership-plan ul{padding-left:19px;margin:16px 0 0;color:var(--cr-muted)}.crwx-membership-plan li{margin:8px 0;line-height:1.45}.crwx-current-pill{display:inline-flex;margin-top:16px;padding:7px 10px;border-radius:999px;background:#e4f9f5;color:#11795a;border:1px solid #b8e6d7;font-size:11px;font-weight:900}
@media(max-width:1100px){.crwx-library-overview{grid-template-columns:1fr}.crwx-media-grid,.crwx-book-grid{grid-template-columns:1fr}}
@media(max-width:900px){.crwx-library-tabs{grid-template-columns:1fr}.crwx-product-grid,.crwx-product-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.crwx-membership-grid{grid-template-columns:1fr}.crwx-library-footer,.crwx-shop-intro,.crwx-membership-actions{grid-template-columns:1fr}}
@media(max-width:680px){.crwx-library-stats{grid-template-columns:1fr}.crwx-learning-media-card{grid-template-columns:92px 1fr}.crwx-learning-cover{width:92px}.crwx-book-card{grid-template-columns:82px 1fr}.crwx-book-cover{width:82px}.crwx-product-grid,.crwx-product-grid-3{grid-template-columns:1fr}.crwx-membership-current{grid-template-columns:1fr}.crwx-membership-badge{min-width:94px;min-height:94px;width:94px;height:94px}}
@media(max-width:460px){.crwx-learning-media-card,.crwx-book-card{grid-template-columns:1fr}.crwx-learning-cover,.crwx-book-cover{width:100%;max-width:180px}}


/* R1.9 navigation + app gateway + app-first cleanup */
.crwx-app-first-note{
  display:flex;
  align-items:center;
  gap:10px 14px;
  flex-wrap:wrap;
  margin-top:14px;
  padding:12px 14px;
  border:1px solid #d7e8ed;
  border-radius:14px;
  background:rgba(255,255,255,.72);
  color:#5b717b;
  font-size:12px;
}
.crwx-app-first-note strong{color:#173441}
.crwx-app-first-note a{
  margin-left:auto;
  color:#078f9e;
  font-weight:900;
  text-decoration:none;
}
.crwx-app-main{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);
  gap:26px;
  align-items:center;
  padding:clamp(24px,4vw,46px);
  border:1px solid var(--cr-line);
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 18%,rgba(22,191,208,.18),transparent 36%),
    linear-gradient(135deg,#fff,#edf9fb);
}
.crwx-app-main h2{font-size:clamp(27px,4vw,44px);max-width:780px}
.crwx-app-main p{max-width:780px}
.crwx-app-device-art{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.crwx-app-device-art span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:110px;
  padding:18px;
  border:1px solid #cfe5ea;
  border-radius:18px;
  background:#fff;
  color:#173441;
  font-size:14px;
  font-weight:900;
  box-shadow:0 10px 26px rgba(22,64,81,.055);
}
.crwx-platform-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.crwx-platform-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px;
  border:1px solid var(--cr-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 24px rgba(22,64,81,.045);
}
.crwx-platform-copy{min-width:0}
.crwx-platform-copy h3{margin:5px 0 6px}
.crwx-platform-copy p{margin:0;font-size:13px}
.crwx-coming-soon{
  flex:0 0 auto;
  display:inline-flex;
  padding:8px 11px;
  border:1px solid #e2d6b8;
  border-radius:999px;
  background:#fff9ec;
  color:#8d6628;
  font-size:11px;
  font-weight:900;
}
.crwx-app-benefits{
  display:grid;
  grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);
  gap:24px;
  align-items:start;
  margin-top:18px;
  padding:24px;
  border:1px solid var(--cr-line);
  border-radius:20px;
  background:#fff;
}
.crwx-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.crwx-benefit-grid>div{padding:16px;border-radius:14px;background:#f5fafb;border:1px solid #e0edf0}
.crwx-benefit-grid strong{display:block;color:#173441}
.crwx-benefit-grid span{display:block;margin-top:6px;color:#607883;font-size:12px;line-height:1.5}

@media(max-width:900px){
  .crwx-app-main{grid-template-columns:1fr}
  .crwx-platform-grid{grid-template-columns:1fr}
  .crwx-app-benefits{grid-template-columns:1fr}
  .crwx-benefit-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .crwx-app-first-note a{margin-left:0;width:100%}
  .crwx-app-device-art{grid-template-columns:1fr 1fr}
  .crwx-app-device-art span{min-height:82px}
  .crwx-platform-card{align-items:flex-start;flex-direction:column}
}
@media(max-width:400px){
  .crwx-app-device-art{grid-template-columns:1fr}
}


/* R2.0 final navigation consistency + safe homepage/member entry */
.crwx-subnav{
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.crwx-subnav-link{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  scroll-snap-align:start;
}
.crwx a:focus-visible,
.crwx button:focus-visible,
.crwx-entry a:focus-visible{
  outline:3px solid rgba(22,191,208,.35);
  outline-offset:3px;
}
.crwx-member-footer{
  width:min(100%,1600px);
  margin:0 auto;
  padding:22px clamp(18px,3vw,42px) 28px;
  border-top:1px solid var(--cr-line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px 30px;
}
.crwx-member-footer>div{min-width:0}
.crwx-member-footer strong{
  display:block;
  color:#173441;
  font-size:14px;
}
.crwx-member-footer span{
  display:block;
  margin-top:4px;
  color:#667d87;
  font-size:12px;
  line-height:1.5;
}
.crwx-member-footer nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px 14px;
  flex-wrap:wrap;
}
.crwx-member-footer a{
  color:#40616d;
  font-size:12px;
  font-weight:850;
}
.crwx-member-footer a:hover{color:#078f9e}

.crwx-entry{
  --cr-entry-line:#d4e6ec;
  --cr-entry-text:#102a36;
  --cr-entry-muted:#5e7480;
  position:relative;
  width:100%;
  max-width:1320px;
  margin:28px auto;
  padding:clamp(22px,4vw,38px);
  display:grid;
  grid-template-columns:minmax(0,1.4fr) auto;
  align-items:center;
  gap:24px;
  border:1px solid var(--cr-entry-line);
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 10%,rgba(22,191,208,.15),transparent 34%),
    linear-gradient(135deg,#ffffff,#eef9fb);
  box-shadow:0 14px 36px rgba(22,64,81,.07);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.crwx-entry *{box-sizing:border-box}
.crwx-entry .crwx-kicker{
  color:#9a6a28;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.crwx-entry h2{
  margin:7px 0;
  color:var(--cr-entry-text);
  font-size:clamp(24px,3.3vw,38px);
  line-height:1.1;
}
.crwx-entry p{
  margin:0;
  max-width:820px;
  color:var(--cr-entry-muted);
  line-height:1.6;
}
.crwx-entry-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  flex-wrap:wrap;
}
.crwx-entry .crwx-btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 14px;
  border:1px solid var(--cr-entry-line);
  border-radius:12px;
  background:#fff;
  color:#173441;
  text-decoration:none!important;
  font-weight:850;
}
.crwx-entry .crwx-btn.primary{background:#16bfd0;border-color:#16bfd0;color:#062a32}
.crwx-entry .crwx-btn.gold{background:#d6a656;border-color:#d6a656;color:#2d210d}
.crwx-entry.compact{
  padding:18px 20px;
  border-radius:18px;
}
.crwx-entry.compact h2{font-size:clamp(21px,2.5vw,30px)}
.crwx-entry.compact p{font-size:13px}

@media(max-width:900px){
  .crwx-member-footer{align-items:flex-start;flex-direction:column}
  .crwx-member-footer nav{justify-content:flex-start}
  .crwx-entry{grid-template-columns:1fr}
  .crwx-entry-actions{justify-content:flex-start}
}
@media(max-width:620px){
  .crwx-member-footer{padding-left:16px;padding-right:16px}
  .crwx-member-footer nav{
    display:grid;
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .crwx-member-footer a{
    display:flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    padding:9px;
    border:1px solid #dce9ed;
    border-radius:11px;
    background:#f8fbfc;
    text-align:center;
  }
  .crwx-entry{
    margin:20px auto;
    padding:18px;
    border-radius:18px;
  }
  .crwx-entry-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .crwx-entry .crwx-btn{width:100%}
}


/* R2.1 visual QA + performance + accessibility polish */
html{scroll-behavior:smooth}
body.crwx-member-page{
  background:#f5f9fb!important;
  overflow-x:clip;
}
body.crwx-member-page #main-container,
body.crwx-member-page .site-main,
body.crwx-member-page main,
body.crwx-member-page .content-area,
body.crwx-member-page .entry-content,
body.crwx-member-page article{
  min-width:0!important;
}
.crwx{
  min-height:100svh;
  background:#f5f9fb;
}
.crwx-hero{
  padding-top:clamp(22px,3.6vw,48px);
  padding-bottom:clamp(18px,3vw,36px);
}
.crwx-hero h1{
  max-width:980px;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.crwx-hero>p{
  max-width:860px;
  text-wrap:pretty;
}
.crwx-body{
  padding-top:clamp(22px,3vw,36px);
  padding-bottom:clamp(28px,4vw,52px);
}
.crwx-section{
  margin-bottom:clamp(24px,3vw,38px);
}
.crwx-section-head{
  margin-bottom:18px;
}
.crwx-section-head h2{
  text-wrap:balance;
}
.crwx-section-head p,
.crwx-card p,
.crwx-product-copy p,
.crwx-learning-copy p,
.crwx-book-copy p{
  text-wrap:pretty;
}
.crwx-grid{
  align-items:stretch;
}
.crwx-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:188px;
}
.crwx-card h3{
  line-height:1.25;
}
.crwx-card p{
  margin-bottom:16px;
}
.crwx-card-link>span{
  margin-top:auto;
}
.crwx-btn,
.crwx-tab,
.crwx-mini-btn,
.crwx-library-tab{
  min-height:44px;
}
.crwx-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.crwx input,
.crwx textarea,
.crwx select{
  min-height:44px;
  font-size:16px;
}
.crwx textarea{min-height:120px}
.crwx a,
.crwx button,
.crwx input,
.crwx textarea,
.crwx select{
  -webkit-tap-highlight-color:rgba(22,191,208,.12);
}
.crwx img{
  max-width:100%;
}
.crwx-loading{
  position:relative;
  overflow:hidden;
  min-height:72px;
  display:flex;
  align-items:center;
}
.crwx-loading::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(22,191,208,.08),transparent);
  animation:crwx-shimmer 1.35s ease-in-out infinite;
  pointer-events:none;
}
@keyframes crwx-shimmer{to{transform:translateX(100%)}}
.crwx-error,.crwx-empty,.crwx-notice{
  line-height:1.55;
}
.crwx-userbar{
  line-height:1.4;
}
.crwx-userbar a{
  overflow-wrap:anywhere;
}
.crwx-subnav{
  margin-bottom:0;
  padding-bottom:8px;
}
.crwx-subnav-link{
  white-space:nowrap;
}
.crwx-member-footer{
  box-shadow:0 -10px 28px rgba(22,64,81,.025);
}
.crwx-product-card,
.crwx-learning-media-card,
.crwx-book-card,
.crwx-membership-plan,
.crwx-post,
.crwx-profile-hero{
  content-visibility:auto;
  contain-intrinsic-size:1px 360px;
}
.crwx-product-media img,
.crwx-learning-cover,
.crwx-book-cover,
.crwx-cover,
.crwx-post-media img{
  background:#edf5f7;
}
.crwx-price,
.crwx-product-bottom,
.crwx-membership-price{
  overflow-wrap:anywhere;
}
.crwx-profile-copy,
.crwx-product-copy,
.crwx-learning-copy,
.crwx-book-copy{
  min-width:0;
}
.crwx-profile-copy a,
.crwx-post-content a,
.crwx-comment a{
  overflow-wrap:anywhere;
}
.crwx-skip-link{
  position:absolute;
  left:12px;
  top:8px;
  z-index:999;
  transform:translateY(-160%);
  padding:10px 14px;
  border-radius:10px;
  background:#102a36;
  color:#fff!important;
  font-size:13px;
  font-weight:900;
  transition:transform .15s ease;
}
.crwx-skip-link:focus{
  transform:translateY(0);
}
@media(min-width:1280px){
  .crwx-hero,.crwx-body,.crwx-member-footer{
    width:min(100%,1540px);
  }
}
@media(max-width:900px){
  .crwx-card{min-height:170px}
  .crwx-section-head{gap:14px}
}
@media(max-width:680px){
  html{scroll-behavior:auto}
  .crwx-hero{
    padding-top:18px;
    padding-bottom:14px;
  }
  .crwx-body{
    padding-top:18px;
    padding-bottom:30px;
  }
  .crwx-card{
    min-height:0;
    padding:16px;
  }
  .crwx-section{
    margin-bottom:24px;
  }
  .crwx-subnav{
    margin-left:-2px;
    margin-right:-2px;
  }
  .crwx-member-footer nav{
    grid-template-columns:1fr;
  }
  .crwx-profile-row{
    align-items:center;
  }
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .crwx-loading::after{animation:none}
}


/* R2.2 customer identity + profile/community polish */
.crwx-profile-name-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.crwx-profile-name-row h2{margin:0}
.crwx-setup-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border:1px solid #e6d29f;
  border-radius:999px;
  background:#fff8e8;
  color:#8b6425;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.crwx-profile-setup-notice{
  display:grid;
  gap:5px;
  padding:13px 14px;
  border:1px solid #e7d39e;
  border-radius:13px;
  background:#fff9ea;
}
.crwx-profile-setup-notice strong{color:#644919}
.crwx-profile-setup-notice span{
  color:#7b6742;
  font-size:12px;
  line-height:1.5;
}
.crwx-profile-polished .crwx-profile-cover{
  height:190px;
}
.crwx-cover-empty{
  display:flex!important;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 70% 25%,rgba(22,191,208,.15),transparent 30%),
    linear-gradient(135deg,#edf7fa,#f9fcfd)!important;
  color:#87a5ae;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.crwx-community-composer{
  border-color:#cfe6eb;
}
.crwx-composer-head strong{
  color:#173441;
}
.crwx-post-author,
.crwx-member-card strong{
  overflow-wrap:anywhere;
}
.crwx-post{
  border-color:#dbe9ed;
}
.crwx-post-head{
  align-items:flex-start;
}
.crwx-post-meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.crwx-comments{
  border-top:1px solid #edf2f4;
  padding-top:10px;
}
.crwx-comment{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:9px;
  align-items:start;
}
.crwx-community-side .crwx-card{
  min-height:0;
}
.crwx-member-card{
  transition:border-color .18s ease,box-shadow .18s ease;
}
.crwx-member-card:hover{
  border-color:#b8dde4;
  box-shadow:0 9px 24px rgba(22,64,81,.055);
}
@media(max-width:680px){
  .crwx-profile-polished .crwx-profile-cover{height:135px}
  .crwx-profile-name-row{align-items:flex-start;flex-direction:column}
  .crwx-post-meta{justify-content:flex-start}
}


/* R2.3 premium navigation, brand placement and Royal assistant */
.crwx-main-menu-hub>a{border:1px solid rgba(22,191,208,.30)!important;border-radius:999px!important;padding-left:14px!important;padding-right:14px!important;background:linear-gradient(135deg,rgba(22,191,208,.08),rgba(46,143,255,.06))!important}
.crwx-main-menu-hub>a:hover{border-color:rgba(22,191,208,.62)!important;color:#078f9e!important}

.crwx-brand-lockup{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.crwx-brand-lockup img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 7px 12px rgba(69,46,9,.16))}
.crwx-brand-lockup strong{display:block;color:#142e39;font-size:17px;line-height:1.1}
.crwx-brand-lockup span{display:block;margin-top:4px;color:#9a6a28;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}

.crwx-premium-hub-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 79% 28%,rgba(24,213,232,.18),transparent 27%),radial-gradient(circle at 18% -5%,rgba(228,184,106,.14),transparent 29%),linear-gradient(135deg,#ffffff 0%,#f3fbfd 50%,#eef8fb 100%)}
.crwx-premium-hub-hero::after{content:"";position:absolute;width:520px;height:520px;right:-220px;bottom:-330px;border:1px solid rgba(22,191,208,.16);border-radius:50%;box-shadow:0 0 0 60px rgba(22,191,208,.025),0 0 0 125px rgba(46,143,255,.018);pointer-events:none}
.crwx-premium-hub-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:42px;align-items:center}
.crwx-premium-hub-copy h1{max-width:900px;margin:8px 0 14px;font-size:clamp(42px,5.5vw,76px);line-height:.98;letter-spacing:-.045em;background:linear-gradient(120deg,#102a36 0%,#244f63 58%,#078f9e 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.crwx-premium-hub-copy>p{max-width:780px;font-size:clamp(16px,1.5vw,19px)}
.crwx-premium-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.crwx-premium-orbit{position:relative;min-height:330px;border:1px solid rgba(22,191,208,.20);border-radius:28px;background:rgba(255,255,255,.72);box-shadow:0 20px 55px rgba(22,64,81,.09);backdrop-filter:blur(16px)}
.crwx-premium-orbit::before,.crwx-premium-orbit::after{content:"";position:absolute;border:1px solid rgba(22,191,208,.22);border-radius:50%;inset:42px}
.crwx-premium-orbit::after{inset:86px;border-color:rgba(228,184,106,.28)}
.crwx-orbit-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:86px;height:86px;border-radius:28px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#102a36,#183f50);color:#e9c67a;font-size:28px;font-weight:950;letter-spacing:-.06em;box-shadow:0 16px 35px rgba(16,42,54,.22);z-index:2}
.crwx-orbit-node{position:absolute;display:flex;align-items:center;justify-content:center;min-width:72px;min-height:36px;padding:7px 11px;border:1px solid #d7e8ed;border-radius:999px;background:#fff;color:#46616c;font-size:11px;font-weight:900;box-shadow:0 8px 20px rgba(22,64,81,.07);z-index:3}
.crwx-orbit-node.n1{left:18%;top:22%}.crwx-orbit-node.n2{right:15%;top:28%}.crwx-orbit-node.n3{left:17%;bottom:21%}.crwx-orbit-node.n4{right:17%;bottom:18%}

.crwx-royal-workspace{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:18px;min-height:620px}
.crwx-royal-side,.crwx-royal-chat-card{border:1px solid var(--cr-line);border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(22,64,81,.06)}
.crwx-royal-side{padding:24px}.crwx-royal-side-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}.crwx-royal-side-brand img{width:58px;height:58px;object-fit:contain}.crwx-royal-side-brand h2{margin:2px 0 0}.crwx-royal-side>p{font-size:14px}
.crwx-royal-side-prompts{display:grid;gap:8px;margin-top:20px}.crwx-royal-side-prompts button{appearance:none;text-align:left;min-height:46px;padding:11px 13px;border:1px solid #dbe9ed;border-radius:12px;background:#f8fbfc;color:#244451;font-weight:800;cursor:pointer}.crwx-royal-side-prompts button:hover{background:#eef9fb;border-color:#b9dde4}
.crwx-royal-privacy{display:grid;gap:4px;margin-top:22px;padding:13px;border:1px dashed #d7e6ea;border-radius:13px;background:#fbfdfd}.crwx-royal-privacy strong{color:#244451;font-size:12px}.crwx-royal-privacy span{color:#71838b;font-size:11px;line-height:1.5}
.crwx-royal-chat-card{display:flex;flex-direction:column;overflow:hidden}.crwx-royal-chat-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e6eef1;background:#fbfdfe}.crwx-royal-chat-card>header>a{font-size:12px;font-weight:900;color:#078f9e}
.crwx-royal-chat-identity{display:flex;align-items:center;gap:10px}.crwx-royal-avatar{width:46px;height:46px;border-radius:15px;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #d7e7eb;background:#fff}.crwx-royal-avatar img{width:100%;height:100%;object-fit:contain;padding:4px}.crwx-royal-chat-identity strong{display:block;color:#173441}.crwx-royal-chat-identity span{display:flex;align-items:center;gap:6px;color:#6f828b;font-size:11px}.crwx-royal-chat-identity i{width:7px;height:7px;border-radius:50%;background:#24b982}
.crwx-royal-chat-stream{flex:1;min-height:420px;max-height:620px;padding:22px;background:#f6fafb}.crwx-royal-chat-stream .crwx-msg{display:grid;gap:4px;max-width:min(78%,680px);box-shadow:0 6px 18px rgba(22,64,81,.035)}.crwx-royal-chat-stream .crwx-msg.ai{background:#fff;border:1px solid #dce9ed}.crwx-royal-chat-stream .crwx-msg.ai strong{font-size:10px;color:#a07127;text-transform:uppercase;letter-spacing:.08em}.crwx-royal-chat-stream .crwx-msg.ai span{color:#2c4650}.crwx-royal-chat-stream .crwx-msg.me{background:#dff8fa;color:#12333d}.crwx-royal-chat-form{padding:15px;border-top:1px solid #e5eef0;background:#fff}.crwx-royal-chat-form textarea{background:#f8fbfc;border-color:#d9e8ec}
.crwx-typing-line{display:flex!important;align-items:center;gap:4px!important;color:#6e8189!important;font-size:12px}.crwx-typing-line i,.crwx-royal-bubble.typing i{width:5px;height:5px;border-radius:50%;background:#16aebd;animation:crwxRoyalDot 1.05s infinite ease-in-out}.crwx-typing-line i:nth-child(2),.crwx-royal-bubble.typing i:nth-of-type(2){animation-delay:.14s}.crwx-typing-line i:nth-child(3),.crwx-royal-bubble.typing i:nth-of-type(3){animation-delay:.28s}@keyframes crwxRoyalDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}

.crwx-royal-launcher{position:fixed;right:22px;bottom:22px;z-index:99990;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.crwx-royal-fab{appearance:none;display:flex;align-items:center;gap:10px;min-height:58px;padding:7px 16px 7px 7px;border:1px solid rgba(201,151,62,.45);border-radius:999px;background:linear-gradient(135deg,#102a36,#173f50);color:#fff;box-shadow:0 16px 40px rgba(11,39,52,.25);cursor:pointer}.crwx-royal-fab-mark{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(228,184,106,.55);overflow:hidden}.crwx-royal-fab-mark img{width:42px;height:42px;object-fit:contain}.crwx-royal-fab-copy{text-align:left}.crwx-royal-fab-copy strong{display:block;font-size:13px}.crwx-royal-fab-copy small{display:block;margin-top:1px;color:#bcd1d9;font-size:10px}
.crwx-royal-panel{position:absolute;right:0;bottom:70px;width:min(390px,calc(100vw - 28px));max-height:min(650px,calc(100vh - 110px));display:none;flex-direction:column;overflow:hidden;border:1px solid #d7e7eb;border-radius:22px;background:#fff;box-shadow:0 25px 70px rgba(11,39,52,.26)}.crwx-royal-launcher.open .crwx-royal-panel{display:flex}
.crwx-royal-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid #e4edf0;background:linear-gradient(135deg,#fbfefe,#eef9fb)}.crwx-royal-identity{display:flex;align-items:center;gap:9px}.crwx-royal-identity>div>strong{display:block;color:#173441;font-size:14px}.crwx-royal-identity>div>span{display:flex;align-items:center;gap:5px;color:#6a7e87;font-size:10px}.crwx-royal-identity i{width:6px;height:6px;border-radius:50%;background:#24b982}.crwx-royal-close{appearance:none;width:36px;height:36px;border:1px solid #d9e7eb;border-radius:50%;background:#fff;color:#34505c;font-size:20px;cursor:pointer}
.crwx-royal-mini-chat{flex:1;min-height:220px;overflow:auto;padding:14px;background:#f7fafb}.crwx-royal-bubble{max-width:84%;margin:7px 0;padding:10px 12px;border-radius:14px;font-size:12px;line-height:1.5;white-space:pre-wrap}.crwx-royal-bubble.royal{background:#fff;border:1px solid #dce9ed;color:#2c4650}.crwx-royal-bubble.me{margin-left:auto;background:#dff8fa;color:#12333d}.crwx-royal-bubble.typing{display:flex;align-items:center;gap:4px;width:max-content;color:#6f8189}
.crwx-royal-suggestions{display:flex;gap:6px;overflow-x:auto;padding:9px 12px;border-top:1px solid #e8eff1;background:#fff}.crwx-royal-suggestions button{flex:0 0 auto;appearance:none;padding:7px 9px;border:1px solid #d9e7eb;border-radius:999px;background:#f8fbfc;color:#48636e;font-size:10px;font-weight:800;cursor:pointer}
.crwx-royal-mini-form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px 12px;border-top:1px solid #e8eff1;background:#fff}.crwx-royal-mini-form textarea{width:100%;min-height:42px;max-height:110px;padding:10px 11px;border:1px solid #d9e7eb;border-radius:12px;background:#f8fbfc;color:#173441;font:inherit;resize:vertical}.crwx-royal-mini-form button{appearance:none;min-width:62px;border:0;border-radius:12px;background:#16bfd0;color:#062a32;font-weight:900;cursor:pointer}.crwx-royal-panel-foot{padding:8px 12px 10px;text-align:center;background:#fff}.crwx-royal-panel-foot a{color:#078f9e;font-size:10px;font-weight:900;text-decoration:none}
@media(max-width:980px){.crwx-premium-hub-grid{grid-template-columns:1fr}.crwx-premium-orbit{min-height:260px}.crwx-royal-workspace{grid-template-columns:1fr}.crwx-royal-side{order:2}}
@media(max-width:680px){.crwx-brand-lockup img{width:52px;height:52px}.crwx-premium-hub-copy h1{font-size:clamp(38px,12vw,55px)}.crwx-premium-actions{display:grid;grid-template-columns:1fr}.crwx-premium-actions .crwx-btn{width:100%}.crwx-premium-orbit{display:none}.crwx-royal-chat-stream{min-height:360px}.crwx-royal-chat-stream .crwx-msg{max-width:92%}.crwx-royal-launcher{right:12px;bottom:12px}.crwx-royal-fab{padding-right:9px}.crwx-royal-fab-copy{display:none}.crwx-royal-panel{right:0;bottom:62px;width:calc(100vw - 24px);max-height:calc(100dvh - 92px)}}
@media(prefers-reduced-motion:reduce){.crwx-typing-line i,.crwx-royal-bubble.typing i{animation:none}}


/* R2.4 robust Shop -> My ChoiceRoyals bridge */

/* Always-visible access shortcut on normal public pages */
.crwx-member-dock{
  position:fixed;
  left:18px;
  bottom:20px;
  z-index:99980;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:54px;
  max-width:min(270px,calc(100vw - 36px));
  padding:6px 14px 6px 6px;
  border:1px solid rgba(22,191,208,.38);
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#173441!important;
  text-decoration:none!important;
  box-shadow:0 14px 34px rgba(21,57,72,.18);
  backdrop-filter:blur(14px);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.crwx-member-dock:hover{
  transform:translateY(-2px);
  border-color:#16bfd0;
  box-shadow:0 18px 40px rgba(21,57,72,.22);
}
.crwx-member-dock-logo{
  width:42px;height:42px;flex:0 0 42px;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;border:1px solid #ead7ac;border-radius:50%;
  background:#fff;
}
.crwx-member-dock-logo img{width:40px;height:40px;object-fit:contain}
.crwx-member-dock-copy{min-width:0}
.crwx-member-dock-copy strong{
  display:block;
  color:#173441;
  font-size:12px;
  line-height:1.15;
}
.crwx-member-dock-copy small{
  display:block;
  margin-top:2px;
  color:#6d818a;
  font-size:9px;
  line-height:1.2;
  white-space:nowrap;
}

/* WooCommerce Shop / Product breadcrumb-style bridge */
.crwx-shop-bridge{
  width:min(100%,1480px);
  margin:16px auto 28px;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px 24px;
  border:1px solid #d9e8ec;
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 0%,rgba(22,191,208,.12),transparent 38%),
    linear-gradient(135deg,#ffffff,#f4fbfc);
  box-shadow:0 9px 26px rgba(22,64,81,.055);
  box-sizing:border-box;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.crwx-shop-bridge-brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.crwx-shop-bridge-brand img{
  width:48px;height:48px;object-fit:contain;flex:0 0 48px;
}
.crwx-shop-bridge-brand span{
  display:block;
  color:#9a6a28;
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
}
.crwx-shop-bridge-brand strong{
  display:block;
  margin-top:3px;
  color:#173441;
  font-size:13px;
  line-height:1.35;
}
.crwx-shop-bridge-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.crwx-shop-bridge-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 12px;
  border:1px solid #d8e7eb;
  border-radius:11px;
  background:#fff;
  color:#385864!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
}
.crwx-shop-bridge-actions a.crwx-shop-bridge-primary{
  background:#16bfd0;
  border-color:#16bfd0;
  color:#062a32!important;
}

@media(max-width:780px){
  .crwx-shop-bridge{
    align-items:flex-start;
    flex-direction:column;
    margin:12px 12px 22px;
    width:auto;
  }
  .crwx-shop-bridge-actions{width:100%}
  .crwx-shop-bridge-actions a{flex:1}
}
@media(max-width:680px){
  .crwx-member-dock{
    left:10px;
    bottom:10px;
    padding-right:7px;
  }
  .crwx-member-dock-copy small{display:none}
  .crwx-member-dock-copy strong{font-size:10px}
  .crwx-member-dock-logo{width:40px;height:40px;flex-basis:40px}
  .crwx-member-dock-logo img{width:38px;height:38px}
}


/* R2.5 public website links inside the ChoiceRoyals member navigation */
.crwx-public-nav{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:9px;
  padding:9px 11px;
  border:1px solid rgba(207,226,232,.92);
  border-radius:14px;
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(10px);
}
.crwx-public-nav-label{
  margin-right:3px;
  color:#9a6a28;
  font-size:9px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.crwx-public-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:6px 9px;
  border-radius:9px;
  color:#59717b;
  text-decoration:none!important;
  font-size:10px;
  font-weight:850;
  transition:background .15s ease,color .15s ease;
}
.crwx-public-nav a:hover{
  background:#edf9fb;
  color:#078f9e;
}
@media(max-width:680px){
  .crwx-public-nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    margin-left:-2px;
    margin-right:-2px;
  }
  .crwx-public-nav-label,
  .crwx-public-nav a{
    flex:0 0 auto;
    white-space:nowrap;
  }
}


/* R2.6 logo placement / brand lockup refinement */
.crwx-brand-lockup{
  display:inline-flex!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 22px!important;
  padding:10px 12px 10px 8px!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.84)!important;
  border:1px solid rgba(214,228,233,.98)!important;
  box-shadow:0 14px 36px rgba(16,46,57,.08)!important;
  backdrop-filter:blur(12px)!important;
  width:auto!important;
  max-width:100%!important;
}
.crwx-brand-lockup img{
  width:72px!important;
  height:72px!important;
  min-width:72px!important;
  border-radius:18px!important;
  object-fit:contain!important;
  background:#0d1218!important;
  border:1px solid #e6d3ab!important;
  box-shadow:0 8px 22px rgba(45,35,13,.14)!important;
  padding:3px!important;
  filter:none!important;
}
.crwx-brand-lockup > div{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
}
.crwx-brand-lockup strong{
  display:block!important;
  color:#16333f!important;
  font-size:28px!important;
  line-height:1.03!important;
  letter-spacing:-.02em!important;
  font-weight:950!important;
}
.crwx-brand-lockup span{
  display:block!important;
  margin-top:5px!important;
  color:#86612a!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}

.crwx-premium-hub-hero .crwx-brand-lockup,
.crwx-hero .crwx-brand-lockup{
  position:relative!important;
  z-index:4!important;
}

@media (max-width: 900px){
  .crwx-brand-lockup{
    gap:11px!important;
    padding:8px 10px 8px 6px!important;
    border-radius:16px!important;
  }
  .crwx-brand-lockup img{
    width:60px!important;
    height:60px!important;
    min-width:60px!important;
    border-radius:15px!important;
  }
  .crwx-brand-lockup strong{
    font-size:23px!important;
  }
  .crwx-brand-lockup span{
    font-size:9px!important;
  }
}
@media (max-width: 640px){
  .crwx-brand-lockup{
    align-items:center!important;
    width:100%!important;
    max-width:320px!important;
  }
  .crwx-brand-lockup img{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    border-radius:13px!important;
  }
  .crwx-brand-lockup strong{
    font-size:19px!important;
  }
  .crwx-brand-lockup span{
    letter-spacing:.1em!important;
  }
}


/* R2.7 unified global navigation + round premium branding + login cleanup */

/* Premium circular crest treatment inside the member experience */
.crwx-brand-lockup{
  position:relative!important;
  padding-left:92px!important;
  min-height:78px!important;
  overflow:visible!important;
}
.crwx-brand-lockup img{
  display:none!important;
}
.crwx-brand-lockup::before{
  content:"";
  position:absolute;
  left:8px;
  top:50%;
  width:70px;
  height:70px;
  transform:translateY(-50%);
  border-radius:50%;
  background-color:#0b1116;
  background-image:url('brand-logo.png?crwx=2.8.3');
  background-repeat:no-repeat;
  background-size:150%;
  background-position:center 7%;
  border:2px solid #d6ad56;
  box-shadow:0 10px 25px rgba(18,35,43,.18), inset 0 0 0 3px rgba(255,255,255,.78);
}
.crwx-brand-lockup strong{font-size:26px!important}
.crwx-brand-lockup span{font-size:9px!important}

/* Round the public theme logo where Blocksy exposes its normal logo selectors */
header .site-logo-container img,
header img.custom-logo,
[data-id="logo"] img,
.ct-header [class*="logo"] img{
  border-radius:50%!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center 12%!important;
  background:#0b1116!important;
  border:2px solid #d4ad5b!important;
  padding:3px!important;
  box-shadow:0 9px 22px rgba(20,37,46,.14)!important;
}

/* Member page compact navigation */
.crwx-member-toolbar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding:9px 10px;
  border:1px solid #d7e7eb;
  border-radius:15px;
  background:rgba(255,255,255,.80);
  box-shadow:0 8px 24px rgba(22,64,81,.045);
}
.crwx-member-home-link{
  color:#52707b!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.crwx-member-current{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
  color:#173441;
  font-size:12px;
  font-weight:950;
}
.crwx-member-menu-button{
  appearance:none;
  display:grid;
  grid-template-columns:18px auto;
  grid-template-rows:repeat(3,3px);
  align-items:center;
  column-gap:7px;
  min-height:42px;
  padding:8px 11px;
  border:1px solid #cfe3e8;
  border-radius:12px;
  background:#fff;
  color:#173441;
  cursor:pointer;
}
.crwx-member-menu-button span{
  grid-column:1;
  display:block;
  width:18px;
  height:2px;
  border-radius:99px;
  background:#173441;
}
.crwx-member-menu-button b{
  grid-column:2;
  grid-row:1/4;
  align-self:center;
  font-size:11px;
}
.crwx-get-app-under-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  margin-top:9px;
  padding:10px 14px;
  border-radius:13px;
  background:linear-gradient(135deg,#102a36,#18485c);
  color:#fff!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:900;
  box-shadow:0 9px 22px rgba(16,42,54,.14);
}
.crwx-get-app-under-nav span{color:#ebc571}

/* Remove old horizontal chip navigation from any cached/legacy markup */
.crwx-subnav,
.crwx-public-nav{
  display:none!important;
}

/* Global right-side hamburger */
.crwx-global-menu-fab{
  position:fixed;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  z-index:99975;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid rgba(214,173,86,.62);
  border-radius:16px;
  background:linear-gradient(145deg,#102a36,#173f50);
  box-shadow:0 14px 35px rgba(11,39,52,.22);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.crwx-global-menu-fab span{
  width:20px;height:2px;border-radius:99px;background:#f2d28b;
}
.crwx-member-page .crwx-global-menu-fab{display:none}

/* Drawer */
.crwx-global-menu-layer{
  position:fixed;
  inset:0;
  z-index:100000;
  pointer-events:none;
  visibility:hidden;
}
.crwx-global-menu-layer.open{
  pointer-events:auto;
  visibility:visible;
}
.crwx-global-menu-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(5,15,20,.46);
  opacity:0;
  transition:opacity .22s ease;
}
.crwx-global-menu-layer.open .crwx-global-menu-backdrop{opacity:1}
.crwx-global-menu{
  position:absolute;
  top:0;
  right:0;
  width:min(430px,92vw);
  height:100dvh;
  display:flex;
  flex-direction:column;
  background:#f7fafb;
  border-left:1px solid #d8e7eb;
  box-shadow:-24px 0 70px rgba(8,30,40,.28);
  transform:translateX(104%);
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.crwx-global-menu-layer.open .crwx-global-menu{transform:translateX(0)}
html.crwx-menu-open{overflow:hidden}

.crwx-global-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 16px 14px;
  border-bottom:1px solid #dce9ed;
  background:linear-gradient(135deg,#fff,#eef9fb);
}
.crwx-global-menu-brand{
  display:flex;align-items:center;gap:11px;min-width:0;
}
.crwx-global-menu-brand strong{
  display:block;color:#173441;font-size:18px;line-height:1.05;
}
.crwx-global-menu-brand span{
  display:block;margin-top:3px;color:#74868e;font-size:10px;
}
.crwx-round-brand{
  position:relative;
  width:56px;height:56px;flex:0 0 56px;
  border-radius:50%;
  overflow:hidden;
  background:#0b1116;
  border:2px solid #d6ad56;
  box-shadow:0 8px 20px rgba(16,42,54,.16);
}
.crwx-round-brand img{
  position:absolute;
  width:145%;
  height:145%;
  max-width:none!important;
  left:50%;
  top:44%;
  transform:translate(-50%,-50%);
  object-fit:contain;
}
.crwx-round-brand.large{width:78px;height:78px;flex-basis:78px}
.crwx-global-menu-close{
  appearance:none;
  width:40px;height:40px;
  border:1px solid #d6e5e9;
  border-radius:50%;
  background:#fff;
  color:#244650;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}
.crwx-global-menu-scroll{
  flex:1;
  overflow-y:auto;
  padding:13px 14px 24px;
}
.crwx-drawer-section{margin-bottom:20px}
.crwx-drawer-label{
  margin:0 0 8px 4px;
  color:#956b27;
  font-size:9px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.crwx-drawer-links{
  display:grid;
  gap:5px;
}
.crwx-drawer-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:43px;
  padding:9px 11px 9px 13px;
  border:1px solid #dce9ed;
  border-radius:12px;
  background:#fff;
  color:#284955!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:850;
  box-shadow:0 4px 12px rgba(22,64,81,.025);
}
.crwx-drawer-links a:hover{border-color:#b9dce3;background:#f0fafb}
.crwx-drawer-links a span{color:#8ca1a9;font-size:18px}
.crwx-drawer-links.compact a{min-height:39px;font-size:11px}
.crwx-drawer-app-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  margin-top:9px;
  padding:11px 14px;
  border-radius:13px;
  background:linear-gradient(135deg,#16bfd0,#2199b6);
  color:#062a32!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:950;
  box-shadow:0 10px 22px rgba(22,191,208,.16);
}
.crwx-social-icons{
  display:flex;
  align-items:center;
  gap:9px;
}
.crwx-social-icons a{
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #d9e7eb;
  border-radius:50%;
  background:#fff;
  color:#173441!important;
  box-shadow:0 5px 14px rgba(22,64,81,.04);
}
.crwx-social-icons svg{width:20px;height:20px;fill:currentColor}
.crwx-social-icons a:hover{background:#173441;color:#fff!important;border-color:#173441}
.crwx-global-menu-foot{
  padding:12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top:1px solid #dce9ed;
  background:#fff;
}
.crwx-drawer-logout,
.crwx-drawer-login{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border-radius:12px;
  text-decoration:none!important;
  font-size:12px;
  font-weight:900;
}
.crwx-drawer-logout{background:#fff1f1;color:#9b3c45!important;border:1px solid #ecc9cd}
.crwx-drawer-login{background:#173f50;color:#fff!important}

/* Login page cleanup */
body.crwx-account-login-page{
  background:#f5f9fb!important;
}
body.crwx-account-login-page .entry-header{
  display:none!important;
}
body.crwx-account-login-page .crwx-member-dock,
body.crwx-account-login-page .crwx-royal-launcher{
  display:none!important;
}
.crwx-login-legacy-banner{
  display:none!important;
}
.crwx-login-intro{
  width:min(100%,1080px);
  margin:18px auto 20px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px;
  border:1px solid #d7e7eb;
  border-radius:22px;
  background:
    radial-gradient(circle at 90% 0%,rgba(22,191,208,.12),transparent 35%),
    linear-gradient(135deg,#fff,#f0f9fb);
  box-shadow:0 14px 38px rgba(22,64,81,.07);
}
.crwx-login-kicker{
  color:#9a6a28;
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.crwx-login-intro h1{
  margin:5px 0 7px;
  color:#173441;
  font-size:clamp(28px,4vw,44px);
  line-height:1.02;
}
.crwx-login-intro p{
  margin:0;
  color:#617982;
  line-height:1.6;
  max-width:760px;
}
body.crwx-account-login-page .woocommerce{
  width:min(100%,1080px);
  margin-left:auto!important;
  margin-right:auto!important;
}
body.crwx-account-login-page #customer_login{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px!important;
  margin-top:0!important;
}
body.crwx-account-login-page #customer_login .u-column1,
body.crwx-account-login-page #customer_login .u-column2{
  width:auto!important;
  float:none!important;
  margin:0!important;
  padding:22px!important;
  border:1px solid #dce9ed!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(22,64,81,.055)!important;
}
body.crwx-account-login-page .woocommerce h2{
  color:#173441!important;
  font-size:24px!important;
}
body.crwx-account-login-page .woocommerce form.login,
body.crwx-account-login-page .woocommerce form.register{
  border:0!important;
  padding:0!important;
  margin:0!important;
}
body.crwx-account-login-page .woocommerce form .form-row{
  margin-bottom:12px!important;
}
body.crwx-account-login-page .woocommerce label{
  color:#39545f!important;
  font-weight:800!important;
  font-size:12px!important;
}
body.crwx-account-login-page .woocommerce input.input-text{
  min-height:48px!important;
  border:1px solid #d4e4e8!important;
  border-radius:12px!important;
  background:#f9fcfd!important;
  padding:10px 12px!important;
  font-size:16px!important;
  box-shadow:none!important;
}
body.crwx-account-login-page .woocommerce button.button{
  min-height:46px!important;
  border-radius:12px!important;
  background:#16bfd0!important;
  color:#062a32!important;
  font-weight:950!important;
}
body.crwx-account-login-page .woocommerce-LostPassword{
  margin-top:10px!important;
}
.crwx-google-login-clean{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  width:min(100%,520px)!important;
  margin:14px auto!important;
  border:1px solid #d4e2e6!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#263f49!important;
  box-shadow:0 7px 20px rgba(22,64,81,.05)!important;
  text-decoration:none!important;
  font-weight:850!important;
}

/* Remove some extra login clutter where the theme injects a sidebar/trending block */
body.crwx-account-login-page .widget-area,
body.crwx-account-login-page aside#secondary{
  display:none!important;
}
body.crwx-account-login-page .content-area{
  width:100%!important;
  max-width:none!important;
}

@media(max-width:760px){
  .crwx-brand-lockup{
    padding-left:78px!important;
  }
  .crwx-brand-lockup::before{
    width:58px;height:58px;
  }
  .crwx-brand-lockup strong{font-size:21px!important}
  .crwx-member-toolbar{
    grid-template-columns:auto 1fr auto;
  }
  .crwx-member-menu-button b{display:none}
  .crwx-member-menu-button{
    grid-template-columns:18px;
    width:42px;
    padding:8px 10px;
  }
  .crwx-global-menu-fab{
    right:9px;
    width:44px;height:44px;
    border-radius:14px;
  }
  body.crwx-account-login-page #customer_login{
    grid-template-columns:1fr!important;
  }
  .crwx-login-intro{
    margin:12px 10px 16px;
    width:auto;
    padding:18px;
    align-items:flex-start;
  }
  .crwx-round-brand.large{width:62px;height:62px;flex-basis:62px}
}
@media(max-width:480px){
  .crwx-member-home-link{display:none}
  .crwx-member-toolbar{grid-template-columns:1fr auto}
  .crwx-member-current{text-align:left;padding-left:2px}
  .crwx-global-menu{width:94vw}
  .crwx-login-intro{
    flex-direction:column;
  }
}
@media(prefers-reduced-motion:reduce){
  .crwx-global-menu,
  .crwx-global-menu-backdrop{
    transition:none!important;
  }
}


/* R2.8 one-menu architecture + preferred login + controlled Google sign-in */

/* Desktop: remove the old horizontal link row. Keep logo/account/cart/search. */
@media(min-width:1000px){
  header .crwx-hide-old-desktop-nav,
  #header .crwx-hide-old-desktop-nav,
  .ct-header .crwx-hide-old-desktop-nav{
    display:none!important;
  }
}

/* Our fallback trigger belongs in the header corner, never mid-screen. */
.crwx-global-menu-fab{
  top:18px!important;
  right:22px!important;
  transform:none!important;
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
}
body.admin-bar .crwx-global-menu-fab{
  top:50px!important;
}
/* On mobile/tablet, reuse the theme's existing hamburger and remove our duplicate. */
@media(max-width:999px){
  body.crwx-theme-trigger-found .crwx-global-menu-fab{
    display:none!important;
  }
}
/* Member experience has its own compact top Menu button. */
body.crwx-member-page .crwx-global-menu-fab{
  display:none!important;
}

/* Give the original theme hamburger the premium gold/ink language once it controls our drawer. */
.crwx-theme-menu-trigger{
  border-color:#cfa751!important;
}
.crwx-theme-menu-trigger span,
.crwx-theme-menu-trigger i,
.crwx-theme-menu-trigger [class*="line"]{
  border-color:#cfa751!important;
}

/* Google Sign-In is allowed only in our drawer or login page. */
.googlesitekit-sign-in-with-google__frontend-output-button{
  display:none!important;
}
.crwx-controlled-google-slot .googlesitekit-sign-in-with-google__frontend-output-button,
body.crwx-account-login-page .googlesitekit-sign-in-with-google__frontend-output-button{
  display:block!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0 auto!important;
  max-width:100%!important;
}
.crwx-google-suppressed,
.crwx-google-wrapper-suppressed{
  display:none!important;
}
body.logged-in .googlesitekit-sign-in-with-google__frontend-output-button,
body.logged-in .crwx-controlled-google-slot{
  display:none!important;
}
.crwx-drawer-google{
  padding:12px;
  border:1px solid #dce9ed;
  border-radius:14px;
  background:#fff;
}
.crwx-controlled-google-slot{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.crwx-drawer-login-secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin-top:8px;
  border:1px solid #d9e7eb;
  border-radius:11px;
  background:#f7fafb;
  color:#31505b!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:850;
}

/* Preferred frontend login page: clean, contained, no old hero or floating clutter. */
body.crwx-account-login-page .crwx-global-menu-fab{
  display:none!important;
}
body.crwx-account-login-page .crwx-theme-menu-trigger{
  display:flex!important;
}
body.crwx-account-login-page .crwx-login-legacy-banner{
  display:none!important;
}
body.crwx-account-login-page .googlesitekit-sign-in-with-google__frontend-output-button:not(.crwx-controlled-google-button){
  margin:12px auto!important;
}
body.crwx-account-login-page .crwx-login-intro{
  margin-top:18px!important;
}
.crwx-login-google-slot{
  justify-content:flex-start;
  margin-top:14px;
}
.crwx-login-google-slot .googlesitekit-sign-in-with-google__frontend-output-button{
  margin:0!important;
}
body.crwx-account-login-page .crwx-member-dock,
body.crwx-account-login-page .crwx-royal-launcher{
  display:none!important;
}

/* The native WordPress login page is no longer used by ChoiceRoyals web links. */


/* R2.9 precise menu placement + true one-hamburger layout */

/* The new ChoiceRoyals experience menu sits exactly at the top-right corner of its hero. */
.crwx .crwx-hero{
  position:relative!important;
}
.crwx-member-corner-menu{
  position:absolute!important;
  top:22px!important;
  right:24px!important;
  z-index:30!important;
  width:48px!important;
  height:48px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:0!important;
  border:1px solid rgba(205,165,79,.72)!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,#102a36,#173f50)!important;
  box-shadow:0 12px 28px rgba(10,37,49,.20)!important;
  cursor:pointer!important;
}
.crwx-member-corner-menu span{
  display:block!important;
  width:21px!important;
  height:2px!important;
  border-radius:99px!important;
  background:#efcb7a!important;
}
.crwx-member-corner-menu:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 16px 34px rgba(10,37,49,.24)!important;
}

/* Give the brand room so the new corner menu never overlaps it. */
.crwx-hero .crwx-brand-lockup{
  max-width:calc(100% - 74px)!important;
}

/* Lower context strip no longer contains a hamburger. */
.crwx-member-toolbar-context{
  grid-template-columns:auto minmax(0,1fr)!important;
}
.crwx-member-toolbar-context .crwx-member-current{
  text-align:right!important;
}
.crwx-member-menu-button{
  display:none!important;
}

/*
 * Public/legacy pages already have the real Blocksy hamburger in the upper-right.
 * Never render the plugin's second floating hamburger there again.
 */
.crwx-global-menu-fab{
  display:none!important;
}

/* The native site hamburger remains the single public-site trigger. */
.crwx-theme-menu-trigger{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Keep only the existing theme hamburger on public pages and our corner menu on new pages. */
body.crwx-member-page .crwx-theme-menu-trigger{
  display:none!important;
}

/* Desktop old horizontal menu stays suppressed; account/cart/search are untouched. */
@media(min-width:1000px){
  .crwx-hide-old-desktop-nav{
    display:none!important;
  }
}

@media(max-width:760px){
  .crwx-member-corner-menu{
    top:14px!important;
    right:14px!important;
    width:44px!important;
    height:44px!important;
    border-radius:14px!important;
  }
  .crwx-member-corner-menu span{
    width:19px!important;
  }
  .crwx-hero .crwx-brand-lockup{
    max-width:calc(100% - 58px)!important;
  }
  .crwx-member-toolbar-context{
    grid-template-columns:1fr!important;
    gap:3px!important;
  }
  .crwx-member-toolbar-context .crwx-member-home-link{
    display:block!important;
  }
  .crwx-member-toolbar-context .crwx-member-current{
    text-align:left!important;
  }
}


/* R3.0 — definitive one-hamburger architecture */

/* Never show the old separate member-corner button again. */
.crwx-member-corner-menu{
  display:none!important;
}

/* The plugin's global trigger is the ONE ChoiceRoyals hamburger everywhere. */
.crwx-global-menu-fab{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:5px!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(205,165,79,.78)!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#102a36,#173f50)!important;
  box-shadow:0 10px 26px rgba(10,37,49,.19)!important;
  transform:none!important;
  cursor:pointer!important;
  z-index:99980!important;
}
.crwx-global-menu-fab span{
  width:20px!important;
  height:2px!important;
  min-height:2px!important;
  border-radius:99px!important;
  background:#efcb7a!important;
}

/* Public website: occupy the SAME layout slot as Blocksy's original hamburger. */
.crwx-global-menu-fab.crwx-mounted-header{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  flex:0 0 46px!important;
}

/* New My ChoiceRoyals pages: top-right corner of the generated design. */
.crwx-global-menu-fab.crwx-mounted-member{
  position:absolute!important;
  top:20px!important;
  right:22px!important;
  bottom:auto!important;
  left:auto!important;
}

/* Emergency fallback while a theme header is still loading. */
.crwx-global-menu-fab.crwx-mounted-fallback{
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  bottom:auto!important;
  left:auto!important;
}

/* The old Blocksy trigger is hidden because our working trigger occupies its spot. */
.crwx-native-trigger-hidden{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Member hero needs room for the menu at the top-right. */
.crwx[data-crwx-mode] .crwx-hero{
  position:relative!important;
}
.crwx[data-crwx-mode] .crwx-brand-lockup{
  max-width:calc(100% - 74px)!important;
}

/* The old desktop menu itself is gone. */
.crwx-hide-old-desktop-nav{
  display:none!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
}

/*
 * This removes the thick empty white strip left behind after the old desktop
 * navigation links disappeared.
 */
#header [data-row].crwx-collapse-menu-only-row,
header [data-row].crwx-collapse-menu-only-row{
  display:none!important;
  --height:0px!important;
  --shrink-height:0px!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
#header [data-row].crwx-collapse-menu-only-row > div,
header [data-row].crwx-collapse-menu-only-row > div{
  min-height:0!important;
  height:0!important;
  padding:0!important;
  margin:0!important;
}

/* If logo/cart/search share that row, make it a compact header instead of a blank slab. */
#header [data-row].crwx-compact-header-row,
header [data-row].crwx-compact-header-row{
  --height:82px!important;
  --shrink-height:82px!important;
}
#header [data-row].crwx-compact-header-row > div,
header [data-row].crwx-compact-header-row > div{
  min-height:82px!important;
  height:auto!important;
}

/* Old lower hamburger is gone; lower context bar stays simple. */
.crwx-member-menu-button{
  display:none!important;
}
.crwx-member-toolbar-context{
  grid-template-columns:auto minmax(0,1fr)!important;
}

/* Explicitly undo prior releases that hid the global button on member/mobile pages. */
body.crwx-member-page .crwx-global-menu-fab.crwx-mounted-member,
body.crwx-theme-trigger-found .crwx-global-menu-fab.crwx-mounted-header,
body.crwx-native-menu-found .crwx-global-menu-fab.crwx-mounted-header{
  display:flex!important;
}

/* Keep the account/login page clean but still allow its normal unified header menu. */
body.crwx-account-login-page .crwx-global-menu-fab.crwx-mounted-header{
  display:flex!important;
}

@media(max-width:999px){
  #header [data-row].crwx-compact-header-row,
  header [data-row].crwx-compact-header-row{
    --height:72px!important;
    --shrink-height:72px!important;
  }
  #header [data-row].crwx-compact-header-row > div,
  header [data-row].crwx-compact-header-row > div{
    min-height:72px!important;
  }

  .crwx-global-menu-fab.crwx-mounted-member{
    top:14px!important;
    right:14px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
}

@media(max-width:480px){
  .crwx-global-menu-fab.crwx-mounted-header{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
  }
}


/* R3.1 eBook library compression + details experience */
.crwx-book-card-compact{
  min-height:0!important;
  align-items:start!important;
}
.crwx-book-card-compact .crwx-book-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.crwx-book-card-compact h3{
  margin:5px 0 5px!important;
  line-height:1.22!important;
}
.crwx-book-summary{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  line-height:1.5!important;
  max-height:4.5em!important;
  margin:0 0 10px!important;
  color:#506873!important;
  font-size:13px!important;
}
.crwx-book-lockline{
  margin:0 0 11px;
  color:#8e6b31;
  font-size:10px;
  font-weight:850;
  letter-spacing:.02em;
}
.crwx-book-actions{
  margin-top:auto!important;
}
.crwx-book-actions .crwx-btn{
  min-height:40px!important;
  padding:8px 11px!important;
  font-size:11px!important;
}

.crwx-ebook-detail-hero{
  display:grid;
  grid-template-columns:minmax(190px,260px) minmax(0,1fr);
  gap:28px;
  align-items:start;
  padding:24px;
  border:1px solid var(--cr-line);
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#f3fbfc);
  box-shadow:0 15px 42px rgba(22,64,81,.07);
}
.crwx-ebook-detail-media img,
.crwx-ebook-detail-media .crwx-book-cover{
  width:100%;
  max-width:250px;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 14px 34px rgba(22,42,51,.16);
}
.crwx-ebook-detail-copy h2{
  margin:7px 0 5px;
  color:#153440;
  font-size:clamp(30px,4.5vw,52px);
  line-height:1.02;
  letter-spacing:-.035em;
}
.crwx-ebook-detail-author{
  margin-bottom:16px;
  color:#617a84;
  font-size:14px;
  font-weight:800;
}
.crwx-ebook-detail-lead{
  max-width:800px;
  color:#526c76;
  font-size:16px;
  line-height:1.65;
}
.crwx-ebook-access-box{
  display:grid;
  gap:4px;
  margin:18px 0 14px;
  padding:14px 15px;
  border-radius:14px;
}
.crwx-ebook-access-box.locked{
  border:1px solid #ead4aa;
  background:#fff9ee;
}
.crwx-ebook-access-box.unlocked{
  border:1px solid #bce6d7;
  background:#f1fbf7;
}
.crwx-ebook-access-box strong{
  color:#264652;
  font-size:12px;
}
.crwx-ebook-access-box span{
  color:#687e86;
  font-size:11px;
  line-height:1.45;
}
.crwx-ebook-detail-actions{
  flex-wrap:wrap;
}
.crwx-ebook-detail-sections{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
.crwx-ebook-detail-sections article{
  padding:22px;
  border:1px solid var(--cr-line);
  border-radius:18px;
  background:#fff;
}
.crwx-ebook-detail-sections h3{
  margin:5px 0 9px;
  color:#173441;
}
.crwx-ebook-detail-sections p{
  margin:0;
  color:#536d77;
  line-height:1.7;
}
.crwx-ebook-detail-footer,
.crwx-web-billing-status{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) auto;
  gap:20px;
  align-items:center;
  margin-top:18px;
  padding:20px 22px;
  border:1px solid var(--cr-line);
  border-radius:18px;
  background:#fff;
}
.crwx-ebook-detail-footer strong{
  display:block;
  color:#173441;
  margin-bottom:3px;
}
.crwx-ebook-detail-footer span{
  color:#697f87;
  font-size:12px;
}
.crwx-web-billing-status{
  background:linear-gradient(135deg,#fffaf3,#fff);
  border-color:#ebd8b1;
}
.crwx-web-billing-status h3{
  margin:4px 0 6px;
}
.crwx-web-billing-status p{
  margin:0;
  max-width:850px;
  color:#657a83;
}
.crwx-web-billing-badge{
  max-width:260px;
  padding:10px 12px;
  border:1px solid #e6cf9e;
  border-radius:999px;
  background:#fff;
  color:#8a6426;
  font-size:10px;
  font-weight:900;
  text-align:center;
}

@media(max-width:760px){
  .crwx-book-grid{
    grid-template-columns:1fr!important;
  }
  .crwx-book-card{
    grid-template-columns:86px minmax(0,1fr)!important;
    gap:12px!important;
    padding:13px!important;
  }
  .crwx-book-cover{
    width:86px!important;
  }
  .crwx-ebook-detail-hero{
    grid-template-columns:1fr;
    padding:18px;
  }
  .crwx-ebook-detail-media{
    display:flex;
    justify-content:center;
  }
  .crwx-ebook-detail-media img,
  .crwx-ebook-detail-media .crwx-book-cover{
    max-width:180px;
  }
  .crwx-ebook-detail-sections{
    grid-template-columns:1fr;
  }
  .crwx-ebook-detail-footer,
  .crwx-web-billing-status{
    grid-template-columns:1fr;
  }
  .crwx-web-billing-badge{
    max-width:none;
  }
}


/* R3.2 browser-billing readiness display */
.crwx-billing-checks{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}
.crwx-billing-checks span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #e2d5b8;
  background:#fffaf0;
  color:#7c652f;
  font-size:10px;
  font-weight:850;
}
.crwx-billing-checks span.ok{
  border-color:#b8e2d2;
  background:#f0fbf6;
  color:#237057;
}
.crwx-billing-checks b{
  font-size:12px;
}
.crwx-web-billing-badge.ready{
  border-color:#b8e2d2;
  background:#f0fbf6;
  color:#237057;
}


/* R3.3 multi-source entitlement shadow foundation */
.crwx-entitlement-shadow{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);
  gap:18px;
  align-items:center;
  margin-top:14px;
  padding:18px 20px;
  border:1px solid #cfe5dd;
  border-radius:18px;
  background:linear-gradient(135deg,#f4fbf8,#fff);
}
.crwx-entitlement-shadow h3{
  margin:4px 0 6px;
  color:#173441;
}
.crwx-entitlement-shadow p{
  margin:0;
  color:#617982;
  line-height:1.55;
}
.crwx-shadow-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.crwx-shadow-summary span{
  display:grid;
  gap:3px;
  min-width:0;
  padding:10px;
  border:1px solid #d5e8e1;
  border-radius:12px;
  background:#fff;
  text-align:center;
}
.crwx-shadow-summary small{
  color:#73878e;
  font-size:9px;
  font-weight:800;
}
.crwx-shadow-summary strong{
  color:#1d6955;
  font-size:11px;
}
@media(max-width:760px){
  .crwx-entitlement-shadow{
    grid-template-columns:1fr;
  }
  .crwx-shadow-summary{
    grid-template-columns:1fr;
  }
}


/* R3.5 Royal intelligence bridge + sign-in action */
.crwx-royal-signin-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:36px;
  margin-top:8px;
  padding:8px 11px;
  border-radius:10px;
  background:#16bfd0;
  color:#062a32!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
}


/* R3.5.1 — exactly one Google Sign-In button */
html body .googlesitekit-sign-in-with-google__frontend-output-button{
  display:none!important;
}
html body .crwx-google-primary-slot .googlesitekit-sign-in-with-google__frontend-output-button.crwx-google-primary-button{
  display:block!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  float:none!important;
  margin:0!important;
  max-width:100%!important;
  width:auto!important;
  z-index:auto!important;
}
.crwx-google-primary-slot{
  min-height:0!important;
}
.crwx-google-primary-slot.crwx-google-slot-empty{
  display:none!important;
}
.crwx-google-suppressed,
.crwx-google-wrapper-suppressed{
  display:none!important;
}
.crwx-login-google-slot{
  margin-top:14px!important;
  justify-content:flex-start!important;
}

/* Truthful learning-path presentation: no invented completion percentages. */
.crwx-truthful-learning-path [class*="progress"],
.crwx-truthful-learning-path [class*="meter"],
.crwx-truthful-learning-path [role="progressbar"],
.crwx-truthful-learning-path progress,
.crwx-truthful-learning-path meter{
  display:none!important;
}
.crwx-truthful-path-label{
  color:#6b8088!important;
  font-size:12px!important;
  font-weight:800!important;
}


/* R3.6 account continuity, Google login, access gate and freshness polish */
a[href*="loginSocial=google"].crwx-google-auto-duplicate{display:none!important}
.crwx-google-signin{
  display:inline-flex!important;align-items:center;justify-content:center;gap:12px;
  min-height:50px;padding:10px 18px;border:1px solid #cad9de;border-radius:13px;
  background:#fff;color:#1e3742!important;text-decoration:none!important;
  font-size:14px;font-weight:850;box-shadow:0 7px 20px rgba(22,64,81,.06)
}
.crwx-google-g{
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font:900 18px/1 Arial,sans-serif;color:#4285f4;background:#fff
}
.crwx-login-google-slot{display:flex!important;margin-top:18px!important}
body.logged-in .crwx-google-signin{display:none!important}

.crwx-access-gate{
  max-width:760px;margin:10px auto;padding:34px;border:1px solid #d6e7eb;border-radius:24px;
  background:linear-gradient(135deg,#fff,#eefafb);box-shadow:0 18px 45px rgba(22,64,81,.08);text-align:center
}
.crwx-access-gate h2{margin:8px 0 10px;font-size:clamp(32px,5vw,52px);color:#173441}
.crwx-access-gate p{max-width:620px;margin:0 auto 20px;color:#617982;line-height:1.65}
.crwx-access-gate .crwx-actions{justify-content:center}
.crwx-access-lock{width:66px;height:66px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#123b4b;color:#f0c96e;font-size:29px;box-shadow:0 10px 24px rgba(18,59,75,.16)}
.crwx-access-note{margin-top:18px;padding:12px 14px;border-radius:12px;background:#fff;color:#71858d;font-size:11px;line-height:1.5}

/* Login/account pages must never be served as a fake logged-out state from visual cache. */
body.crwx-account-login-page .crwx-login-intro{position:relative}

@media(max-width:640px){
  .crwx-google-signin{width:100%;max-width:100%}
  .crwx-access-gate{padding:24px 18px}
}


/* R3.6.2 non-disruptive freshness notice */
.crwx-update-notice{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:100120;
  width:min(720px,calc(100vw - 28px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 14px 13px 16px;
  border:1px solid #cfe2e7;
  border-radius:16px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 55px rgba(14,45,57,.18);
  backdrop-filter:blur(12px);
  color:#173441;
}
.crwx-update-notice > div:first-child{
  display:grid;
  gap:2px;
  min-width:0;
}
.crwx-update-notice strong{
  font-size:12px;
}
.crwx-update-notice span{
  color:#687f88;
  font-size:10px;
  line-height:1.35;
}
.crwx-update-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.crwx-update-actions button{
  appearance:none;
  min-height:36px;
  padding:7px 12px;
  border:0;
  border-radius:10px;
  background:#173f50;
  color:#fff;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.crwx-update-actions button.quiet{
  border:1px solid #d6e5e9;
  background:#fff;
  color:#48636e;
}
@media(max-width:620px){
  .crwx-update-notice{
    align-items:flex-start;
    flex-direction:column;
  }
  .crwx-update-actions{
    width:100%;
  }
  .crwx-update-actions button{
    flex:1;
  }
}


/* R3.7 payment direction */
.crwx-billing-checks span.off{
  border-color:#dfe6e9;
  background:#f7f9fa;
  color:#7a8a90;
}
.crwx-billing-next{
  margin:12px 0 0!important;
  font-size:11px!important;
  color:#687f88!important;
}

/* Reduce paint cost of long generated pages without changing layout. */
.crwx-body .crwx-section,
.crwx-body .crwx-card,
.crwx-body .crwx-platform-card{
  content-visibility:auto;
  contain-intrinsic-size:auto 260px;
}


/* R3.8 administrator-only Stripe TEST checkout */
.crwx-test-checkout{
  margin-top:14px;
  padding:13px;
  border:1px dashed #d6b868;
  border-radius:14px;
  background:#fffaf0;
}
.crwx-test-checkout > div:first-child{
  display:grid;
  gap:2px;
  margin-bottom:9px;
}
.crwx-test-checkout strong{color:#6e5419;font-size:11px}
.crwx-test-checkout span{color:#8a7748;font-size:9px}
.crwx-test-checkout-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.crwx-test-checkout button{
  appearance:none;
  min-height:38px;
  padding:8px 10px;
  border:1px solid #d8c48e;
  border-radius:10px;
  background:#fff;
  color:#173441;
  font:inherit;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.crwx-test-checkout button:disabled{opacity:.65;cursor:wait}
@media(max-width:620px){.crwx-test-checkout-grid{grid-template-columns:1fr}}


/* R3.9 performance-friendly metrics */
.crwx-metrics[data-crwx-metrics]{min-height:72px}

/* R3.9 protected eBook reader */
.crwx-reader-shell{display:grid;gap:14px}
.crwx-reader-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid #d7e6ea;border-radius:18px;background:#fff}
.crwx-reader-head h2{margin:4px 0!important}.crwx-reader-head span{color:#70858d;font-size:12px}
.crwx-reader-page{display:flex;justify-content:center;padding:14px;border:1px solid #d7e6ea;border-radius:20px;background:#eef5f7;min-height:300px}
.crwx-reader-page img{display:block;width:min(100%,980px);height:auto;border-radius:8px;box-shadow:0 14px 40px rgba(16,47,59,.12)}
.crwx-reader-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.crwx-reader-nav button{min-height:44px;border:1px solid #cfe0e5;border-radius:12px;background:#fff;color:#173441;font-weight:900;cursor:pointer}.crwx-reader-nav button:last-child{justify-self:stretch}.crwx-reader-nav button:disabled{opacity:.4;cursor:not-allowed}.crwx-reader-nav span{text-align:center;color:#607882;font-weight:800;font-size:12px}
.crwx-reader-upgrade{display:grid;gap:5px;padding:16px;border:1px solid #e5c875;border-radius:16px;background:#fff9e9}.crwx-reader-upgrade strong{color:#6e5419}.crwx-reader-upgrade span{color:#7c6c45}
.crwx-reader-audio{display:grid;gap:8px;padding:13px;border:1px solid #d7e6ea;border-radius:15px;background:#fff}.crwx-reader-audio audio{width:100%}

/* R3.9 community full-post actions */
.crwx-post-more{appearance:none;border:0;background:transparent;color:#087f96;font-weight:900;padding:0 14px 12px;cursor:pointer}
.crwx-article-open{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 14px 12px;padding:12px 14px;border:1px solid #cfe0e5;border-radius:13px;background:#f8fbfc;color:#0d6f83!important;font-weight:900;text-decoration:none!important}
.crwx-book-lockline.unlocked{color:#16803c}

/* R3.9 Technology Lab — web translation of the ChoiceRoyals app experience */
.crwx-tech-hero{padding:20px;border:1px solid #d8b85c;border-radius:24px;background:linear-gradient(145deg,#f7fbfc,#edf8fb)}
.crwx-tech-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #cfe0e5;border-radius:999px;color:#9a7221;font-size:10px;font-weight:900;letter-spacing:1.2px}.crwx-tech-pill i{width:8px;height:8px;border-radius:50%;background:#20b486;box-shadow:0 0 0 4px rgba(32,180,134,.12)}
.crwx-tech-hero>h2{font-size:clamp(30px,5vw,50px)!important;margin:14px 0 4px!important;color:#12313e!important}.crwx-tech-hero>h3{margin:0!important;color:#0e93ad!important;font-size:clamp(18px,2vw,25px)!important}.crwx-tech-hero>p{max-width:820px;color:#647b84;font-size:15px;line-height:1.7}
.crwx-tech-standard{margin-top:16px;padding:14px;border:1px solid #d7e6ea;border-radius:18px;background:#fff}.crwx-tech-standard-head{display:flex;gap:10px;align-items:center}.crwx-tech-standard-head>span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#fff4d4;color:#9a7221;font-weight:900}.crwx-tech-standard-head div{display:grid}.crwx-tech-standard-head strong{font-size:10px;letter-spacing:1.2px;color:#9a7221}.crwx-tech-standard-head b{font-size:13px;color:#173441;margin-top:2px}.crwx-tech-standard-row{display:grid;grid-template-columns:8px 120px 1fr;align-items:center;gap:8px;border-top:1px solid #edf2f4;margin-top:8px;padding-top:8px}.crwx-tech-standard-row i,.crwx-tech-evidence i{width:7px;height:7px;border-radius:50%}.crwx-tech-standard-row i.green,.crwx-tech-evidence.green i{background:#20b486}.crwx-tech-standard-row i.blue,.crwx-tech-evidence.blue i{background:#14a5c2}.crwx-tech-standard-row i.gold,.crwx-tech-evidence.gold i{background:#c9972c}.crwx-tech-standard-row strong{font-size:10px;color:#173441}.crwx-tech-standard-row span{font-size:11px;color:#71858d}.crwx-tech-standard>small{display:block;margin-top:10px;color:#0e93ad;font-weight:800}
.crwx-tech-bench{margin-top:14px;padding:16px;border:1px solid #0e93ad;border-radius:22px;background:#071821;color:#fff}.crwx-tech-bench-head{display:flex;justify-content:space-between;gap:12px}.crwx-tech-bench-head strong{font-size:10px;letter-spacing:1.4px;color:#e4bf65}.crwx-tech-bench-head span{font-size:10px;font-weight:900;color:#3ed29e}.crwx-tech-bench-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:13px}.crwx-tech-bench-grid>div{display:grid;gap:3px;padding:13px;border:1px solid #24404c;border-radius:15px;background:#102630}.crwx-tech-bench-grid b{color:#23bdd2;font-size:22px}.crwx-tech-bench-grid strong{font-size:13px}.crwx-tech-bench-grid span{font-size:10px;color:#9bb0b8}
.crwx-tech-experiences-title{margin:22px 0 10px}.crwx-tech-experiences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crwx-tech-card{display:flex;flex-direction:column;padding:16px;border:1px solid #d7e6ea;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(18,49,62,.05)}.crwx-tech-card-top{display:flex;justify-content:space-between;gap:8px}.crwx-tech-evidence{display:flex;align-items:center;gap:7px;margin-top:12px;font-size:9px;font-weight:900;letter-spacing:.8px}.crwx-tech-evidence.green{color:#16805b}.crwx-tech-evidence.blue{color:#087f96}.crwx-tech-evidence.gold{color:#996b12}.crwx-tech-card h3{margin:9px 0 5px!important}.crwx-tech-card p{color:#647b84;line-height:1.6}.crwx-tech-mini{display:flex;gap:11px;align-items:center;margin-top:auto;padding:12px;border-radius:14px;background:#f4f8fa}.crwx-tech-mini>b{min-width:56px;color:#0e93ad;font-size:11px}.crwx-tech-mini>div{display:grid;gap:2px}.crwx-tech-mini strong{font-size:11px;color:#173441}.crwx-tech-mini span{font-size:10px;color:#70858d}.crwx-tech-open{display:flex;justify-content:space-between;gap:10px;margin-top:10px;color:#0e93ad!important;font-weight:900;text-decoration:none!important}
@media(max-width:760px){.crwx-tech-bench-grid{grid-template-columns:repeat(2,1fr)}.crwx-tech-experiences{grid-template-columns:1fr}.crwx-tech-standard-row{grid-template-columns:8px 94px 1fr}.crwx-reader-head{flex-direction:column}.crwx-reader-nav{grid-template-columns:1fr 1fr}.crwx-reader-nav span{grid-column:1/-1;grid-row:1}.crwx-reader-nav button{grid-row:2}}


/* R3.9.1 — fail-fast reader and visual Technology Lab */
.crwx-reader-fast-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  margin:18px 0;
  padding:20px;
  border:1px solid #d8e6ea;
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#f2fbfd);
}
.crwx-reader-fast-icon{
  width:72px;height:86px;border-radius:16px;
  display:grid;place-items:center;
  background:#173f50;color:#fff;font-weight:950;letter-spacing:.08em;
  box-shadow:0 14px 30px rgba(16,58,74,.15);
}
.crwx-reader-fast-card h3{margin:0 0 6px;font-size:20px}
.crwx-reader-fast-card p{margin:0;color:#657d87;line-height:1.55}
.crwx-reader-page-loading,
.crwx-reader-page-error{
  min-height:56vh;
  display:grid;
  place-items:center;
  align-content:center;
  gap:9px;
  text-align:center;
  padding:30px;
  border:1px solid #dbe9ed;
  border-radius:18px;
  background:#f8fcfd;
}
.crwx-reader-page-loading span{
  width:34px;height:34px;border:4px solid #d7ebef;border-top-color:#1eb7c6;
  border-radius:50%;animation:crwxSpin .8s linear infinite;
}
.crwx-reader-page-loading small,.crwx-reader-page-error span{color:#71848b}
@keyframes crwxSpin{to{transform:rotate(360deg)}}

.crwx-tech-bench-grid > div{
  overflow:hidden;
}
.crwx-tech-bench-grid svg{
  width:100%;
  height:auto;
  max-height:105px;
  margin-bottom:8px;
}
.crwx-tech-card-visual .crwx-tech-art{
  margin:-4px -4px 14px;
  border-radius:18px;
  overflow:hidden;
  background:#f7fbfc;
  border:1px solid #e2edf0;
}
.crwx-tech-card-visual .crwx-tech-art svg{
  display:block;width:100%;height:auto;
}
.crwx-tech-fallback{
  padding:28px;
  border:1px solid #dbe9ed;
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#effafd);
}
@media(max-width:720px){
  .crwx-reader-fast-card{grid-template-columns:1fr;text-align:center}
  .crwx-reader-fast-icon{margin:auto}
  .crwx-reader-open-pdf{width:100%;justify-content:center}
}


/* =========================================================
   R3.10 BOOK VIEW
   ========================================================= */
.crwx[data-crwx-mode="reader"] > .crwx-hero,
.crwx[data-crwx-mode="reader"] > .crwx-member-footer{
  display:none!important;
}
.crwx[data-crwx-mode="reader"] .crwx-body{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
}
.crwx[data-crwx-mode="reader"]{
  background:#07131a;
  min-height:100svh;
  margin-bottom:0;
}
.crwx-book-reader{
  --book-paper:#fffdf8;
  min-height:100svh;
  display:grid;
  grid-template-rows:auto 1fr auto;
  background:
    radial-gradient(circle at 50% 0,rgba(52,105,125,.28),transparent 36%),
    linear-gradient(180deg,#081923,#041017);
  color:#f8fdff;
}
.crwx-book-toolbar{
  position:sticky;
  top:0;
  z-index:30;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:10px clamp(12px,2vw,24px);
  background:rgba(5,18,25,.92);
  border-bottom:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(14px);
}
.crwx-book-title{
  min-width:0;
  text-align:center;
  display:grid;
}
.crwx-book-title strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
.crwx-book-title span{font-size:10px;color:#9bb3bd}
.crwx-book-tools{display:flex;gap:8px}
.crwx-book-tool{
  appearance:none;
  border:1px solid rgba(255,255,255,.15);
  background:#102c39;
  color:#fff!important;
  border-radius:999px;
  min-height:38px;
  padding:8px 12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:850;
  font-size:11px;
  cursor:pointer;
}
.crwx-book-stage{
  position:relative;
  min-height:0;
  display:grid;
  place-items:center;
  padding:18px clamp(42px,5vw,82px);
  overflow:hidden;
  outline:none;
  perspective:1800px;
  touch-action:pan-y;
}
.crwx-book-spread{
  width:min(1180px,100%);
  height:min(76svh,900px);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
  align-items:stretch;
  transform-style:preserve-3d;
  transition:transform .18s ease,opacity .18s ease;
}
.crwx-book-spread.single{
  grid-template-columns:minmax(0,720px);
  justify-content:center;
}
.crwx-book-spread.turning-next{transform:translateX(-2%) rotateY(-2deg);opacity:.72}
.crwx-book-spread.turning-prev{transform:translateX(2%) rotateY(2deg);opacity:.72}
.crwx-book-page{
  position:relative;
  min-width:0;
  min-height:0;
  background:var(--book-paper);
  border-radius:8px;
  overflow:hidden;
  display:grid;
  place-items:center;
  box-shadow:0 28px 80px rgba(0,0,0,.34),inset 0 0 0 1px rgba(27,61,73,.10);
}
.crwx-book-spread:not(.single) .crwx-book-page:first-child{
  border-radius:10px 2px 2px 10px;
  box-shadow:-18px 24px 60px rgba(0,0,0,.28),inset -18px 0 28px rgba(31,38,40,.05);
}
.crwx-book-spread:not(.single) .crwx-book-page:last-child{
  border-radius:2px 10px 10px 2px;
  box-shadow:18px 24px 60px rgba(0,0,0,.28),inset 18px 0 28px rgba(31,38,40,.05);
}
.crwx-book-page img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:var(--book-paper);
  user-select:none;
  -webkit-user-drag:none;
}
.crwx-book-page-number{
  position:absolute;
  bottom:8px;
  right:12px;
  color:#7a8486;
  font-size:10px;
  background:rgba(255,255,255,.8);
  border-radius:999px;
  padding:3px 7px;
}
.crwx-book-page-loading,
.crwx-book-page-error{
  display:grid;
  place-items:center;
  align-content:center;
  gap:9px;
  color:#53656d;
  text-align:center;
  padding:24px;
}
.crwx-book-page-loading span{
  width:32px;height:32px;border:4px solid #d9e6e9;border-top-color:#17b7c6;
  border-radius:50%;animation:crwxSpin .8s linear infinite;
}
.crwx-book-page-error button{
  border:0;background:#173f50;color:#fff;border-radius:10px;padding:9px 13px;font-weight:850;
}
.crwx-book-edge{
  position:absolute;
  top:50%;
  translate:0 -50%;
  width:50px;height:70px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  background:rgba(15,45,58,.88);
  color:#e8c576;
  font-size:38px;
  cursor:pointer;
  z-index:10;
}
.crwx-book-edge-prev{left:10px}
.crwx-book-edge-next{right:10px}
.crwx-book-edge:disabled{opacity:.25;cursor:default}
.crwx-book-footer{
  display:grid;
  grid-template-columns:auto minmax(180px,420px) auto;
  gap:18px;
  align-items:center;
  padding:10px 18px 14px;
  background:#06131b;
}
.crwx-book-footer>button{
  appearance:none;border:1px solid #244b5c;background:#0f2f3e;color:#fff;border-radius:12px;
  padding:10px 14px;font-weight:850;cursor:pointer;
}
.crwx-book-footer>button:disabled{opacity:.35}
.crwx-book-progress{display:grid;gap:6px;text-align:center}
.crwx-book-progress strong{font-size:11px;color:#c9dce3}
.crwx-book-progress>div{height:5px;border-radius:99px;background:#173542;overflow:hidden}
.crwx-book-progress>div>span{display:block;height:100%;background:linear-gradient(90deg,#17b8ca,#e0b15b);border-radius:99px}
.crwx-book-preview-note{
  position:fixed;
  left:50%;
  bottom:72px;
  translate:-50% 0;
  z-index:24;
  display:flex;
  align-items:center;
  gap:10px;
  max-width:min(92vw,680px);
  padding:8px 10px 8px 14px;
  border:1px solid rgba(224,177,91,.45);
  border-radius:999px;
  background:rgba(7,26,35,.94);
  backdrop-filter:blur(12px);
}
.crwx-book-preview-note>span{font-size:10px;color:#e8c576;font-weight:900;text-transform:uppercase}
.crwx-book-preview-note>strong{font-size:11px}
.crwx-book-preview-note .crwx-btn{width:auto!important;min-height:36px;padding:8px 12px;font-size:10px}
.crwx-book-reader:fullscreen{
  width:100vw;height:100vh;min-height:100vh;
}
.crwx-book-reader:fullscreen .crwx-book-stage{height:calc(100vh - 112px)}
.crwx-book-reader:fullscreen .crwx-book-spread{height:min(82vh,1100px)}
@media(max-width:899px), (orientation:portrait){
  .crwx-book-toolbar{grid-template-columns:auto minmax(0,1fr) auto;padding:8px}
  .crwx-book-tool span{display:none}
  .crwx-book-stage{padding:8px 26px 12px}
  .crwx-book-spread,.crwx-book-spread.single{
    width:100%;
    height:calc(100svh - 138px);
    grid-template-columns:1fr!important;
  }
  .crwx-book-edge{width:38px;height:58px;border-radius:14px;font-size:30px}
  .crwx-book-edge-prev{left:2px}.crwx-book-edge-next{right:2px}
  .crwx-book-footer{grid-template-columns:auto 1fr auto;gap:8px;padding:8px}
  .crwx-book-footer>button{font-size:10px;padding:9px}
  .crwx-book-preview-note{
    bottom:62px;
    width:calc(100% - 20px);
    border-radius:14px;
    justify-content:space-between;
  }
  .crwx-book-preview-note>strong{display:none}
}

/* =========================================================
   R3.10 MEMBERSHIP
   ========================================================= */
.crwx-membership-premium{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);
  gap:18px;
  padding:26px;
  margin-bottom:18px;
  border:1px solid #d7e8ec;
  border-radius:26px;
  background:
    radial-gradient(circle at 85% 10%,rgba(26,191,207,.18),transparent 30%),
    linear-gradient(135deg,#fff,#eefbfd);
}
.crwx-membership-premium h2{
  color:#092735!important;
  max-width:780px;
}
.crwx-membership-premium p{color:#617982!important;max-width:780px}
.crwx-membership-wallets{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.crwx-membership-wallets span{
  padding:8px 11px;border:1px solid #d7e5e8;border-radius:10px;background:#fff;
  color:#173441;font-size:10px;font-weight:900;
}
.crwx-membership-wallets span.optional{color:#7b6a3d;background:#fffaf0;border-color:#ead9aa}
.crwx-membership-current-card{
  align-self:stretch;
  display:grid;
  align-content:center;
  gap:7px;
  padding:22px;
  border-radius:22px;
  background:#0c3546;
  color:#fff;
  box-shadow:0 20px 45px rgba(8,48,64,.14);
}
.crwx-membership-current-card small{color:#dfba6a;font-weight:900;letter-spacing:.12em}
.crwx-membership-current-card strong{font-size:34px}
.crwx-membership-current-card span{font-size:12px;color:#b8d1da}
.crwx-membership-cycle{
  width:max-content;
  max-width:100%;
  display:flex;
  gap:4px;
  margin:0 auto 18px;
  padding:4px;
  border:1px solid #d5e5e9;
  border-radius:999px;
  background:#f4f9fa;
}
.crwx-membership-cycle button{
  appearance:none;border:0;background:transparent;color:#536c76;border-radius:999px;
  padding:10px 16px;font-weight:900;cursor:pointer;
}
.crwx-membership-cycle button.active{background:#103c4d;color:#fff;box-shadow:0 8px 18px rgba(16,60,77,.12)}
.crwx-membership-cycle button span{display:block;font-size:8px;font-weight:700;opacity:.72}
.crwx-membership-new-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.crwx-membership-new-plan{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:22px;
  border:1px solid #d9e6e9;
  border-radius:24px;
  background:#fff;
  color:#153340;
  box-shadow:0 14px 36px rgba(14,55,71,.06);
}
.crwx-membership-new-plan.featured{border:2px solid #20b9c9;transform:translateY(-5px)}
.crwx-membership-new-plan.premium{background:linear-gradient(180deg,#fffdf7,#fff)}
.crwx-membership-new-plan.current{box-shadow:0 0 0 3px rgba(31,185,200,.13),0 14px 36px rgba(14,55,71,.08)}
.crwx-membership-ribbon{
  position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:999px;
  background:#18b8c8;color:#062b36;font-size:8px;font-weight:950;letter-spacing:.08em;
}
.crwx-membership-ribbon.gold{background:#e3b65f}
.crwx-membership-plan-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.crwx-membership-plan-head small{color:#9a6d21;font-weight:900;letter-spacing:.11em}
.crwx-membership-plan-head h3{color:#102f3c!important;font-size:26px!important;margin:3px 0!important}
.crwx-membership-tier-icon{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  background:#eef7f9;color:#173f50;font-weight:950;font-size:20px;
}
.crwx-membership-tier-icon.plus{background:#dff9fc;color:#087c89}
.crwx-membership-tier-icon.coach{background:#fff2cf;color:#7d5917}
.crwx-membership-new-price{
  margin:16px 0 4px;
  font-size:32px;font-weight:950;color:#0e3443;
}
.crwx-membership-new-price small{font-size:11px;color:#778b93}
.crwx-membership-new-plan>p{color:#687f88!important;min-height:50px}
.crwx-membership-new-plan ul{
  display:grid;gap:9px;padding:0;margin:12px 0 20px;list-style:none;color:#3f5963;font-size:12px;
}
.crwx-membership-new-plan li{position:relative;padding-left:20px}
.crwx-membership-new-plan li:before{content:"✓";position:absolute;left:0;color:#16aa78;font-weight:950}
.crwx-plan-action{margin-top:auto;display:grid;gap:6px}
.crwx-plan-current,.crwx-plan-muted{
  min-height:44px;display:grid;place-items:center;border-radius:12px;font-size:11px;font-weight:900;
}
.crwx-plan-current{background:#e6fbf3;color:#137b58;border:1px solid #bcebd9}
.crwx-plan-muted{background:#f4f7f8;color:#78898f;border:1px solid #e1e8ea}
.crwx-test-caption{font-size:8px;color:#8a7748;text-align:center}
.crwx-membership-payment-card,.crwx-membership-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin-top:20px;
  padding:22px;
  border:1px solid #d7e6ea;
  border-radius:22px;
  background:#f8fcfd;
}
.crwx-membership-payment-card h3,.crwx-membership-bottom h3{color:#123542!important}
.crwx-membership-payment-card p,.crwx-membership-bottom p{color:#667f88!important}
@media(max-width:900px){
  .crwx-membership-premium{grid-template-columns:1fr}
  .crwx-membership-new-grid{grid-template-columns:1fr}
  .crwx-membership-new-plan.featured{transform:none}
  .crwx-membership-payment-card,.crwx-membership-bottom{grid-template-columns:1fr}
}

.crwx-test-caption.error{color:#b42318!important;font-weight:850!important;background:#fff0ee;border:1px solid #f2c6c0;border-radius:9px;padding:7px 9px;text-align:left!important}


/* R3.11 performance + navigation + account/shop polish */
.crwx-global-menu-fab.crwx-mounted-fixed{
  position:fixed!important;right:clamp(14px,2.2vw,28px)!important;top:clamp(82px,11vh,118px)!important;
  left:auto!important;bottom:auto!important;margin:0!important;z-index:2147482000!important;
}
body.admin-bar .crwx-global-menu-fab.crwx-mounted-fixed{top:clamp(112px,14vh,150px)!important}
.crwx-native-trigger-hidden{display:none!important}
@media(max-width:782px){body.admin-bar .crwx-global-menu-fab.crwx-mounted-fixed{top:92px!important}.crwx-global-menu-fab.crwx-mounted-fixed{top:92px!important;right:14px!important}}

.crwx-member-pager{display:flex;justify-content:center;gap:10px;margin:18px 0 4px}
.crwx-member-pager button{border:1px solid #cfe0e5;background:#fff;color:#173441;border-radius:999px;padding:10px 16px;font-weight:900;cursor:pointer}
.crwx-member-pager button:disabled{opacity:.35;cursor:default}

.crwx-payment-return{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 16px;padding:13px 16px;border:1px solid #e7d7a7;background:#fff9e8;border-radius:15px;color:#6d5a2b}
.crwx-payment-return.success{border-color:#b8e4d4;background:#eefbf6;color:#156649}.crwx-payment-return span{font-size:12px}

.crwx-app-power{align-items:start}.crwx-app-power>div:first-child p{max-width:760px;color:#657d87;line-height:1.65}.crwx-app-power-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}

/* Premium WooCommerce account area */
body.woocommerce-account .site-main{max-width:1180px;margin-inline:auto;padding-inline:clamp(14px,3vw,34px)}
body.woocommerce-account .woocommerce{display:grid;grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:24px;align-items:start}
body.woocommerce-account .woocommerce-MyAccount-navigation{margin:0!important;padding:12px;border:1px solid #d8e7eb;border-radius:22px;background:linear-gradient(180deg,#fff,#f4fbfd);box-shadow:0 12px 32px rgba(18,54,69,.06)}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:0!important;list-style:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:4px 0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation a{display:flex!important;align-items:center;min-height:48px;padding:11px 14px!important;border-radius:13px;color:#173441!important;font-weight:800;text-decoration:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:linear-gradient(135deg,#15bdd0,#3f74ef)!important;color:#fff!important}
body.woocommerce-account .woocommerce-MyAccount-content{margin:0!important;padding:clamp(18px,3vw,32px)!important;border:1px solid #d8e7eb;border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(18,54,69,.055);min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content p{line-height:1.7}
@media(max-width:820px){body.woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important}}
@media(max-width:520px){.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr}}

/* Cleaner ChoiceRoyals shop/product presentation without changing WooCommerce data */
body.post-type-archive-product .products,body.tax-product_cat .products,body.tax-product_tag .products{gap:clamp(16px,2vw,26px)!important}
body.post-type-archive-product ul.products li.product,body.tax-product_cat ul.products li.product,body.tax-product_tag ul.products li.product{padding:14px!important;border:1px solid #d9e7eb;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(18,54,69,.05);overflow:hidden}
body.post-type-archive-product ul.products li.product img,body.tax-product_cat ul.products li.product img,body.tax-product_tag ul.products li.product img{border-radius:14px!important}
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,body.tax-product_tag ul.products li.product .woocommerce-loop-product__title{font-weight:900!important;color:#173441!important}
body.post-type-archive-product ul.products li.product .button,body.tax-product_cat ul.products li.product .button,body.tax-product_tag ul.products li.product .button{border-radius:12px!important;background:#16bfd0!important;color:#071d24!important;font-weight:900!important}

/* My Academy heading polish */
.crwx[data-crwx-mode="academy"] .crwx-hero h1{font-size:clamp(34px,5.5vw,68px)!important;line-height:.98!important;letter-spacing:-.04em!important;max-width:780px}
.crwx[data-crwx-mode="academy"] .crwx-hero p{max-width:840px}


/* Stronger book-like page turn feel; pages remain image-only and non-download UI. */
.crwx-book-stage{perspective:1800px!important;background:radial-gradient(circle at 50% 35%,#edf8fa 0,#dbe9ed 55%,#cadadd 100%)!important}
.crwx-book-spread{transform-style:preserve-3d;will-change:transform,opacity;transition:transform .32s cubic-bezier(.2,.78,.2,1),opacity .26s ease,filter .26s ease!important}
.crwx-book-spread.turning-next{transform:translateX(-3%) rotateY(-9deg)!important;opacity:.78!important;filter:drop-shadow(18px 16px 16px rgba(18,49,62,.18))}
.crwx-book-spread.turning-prev{transform:translateX(3%) rotateY(9deg)!important;opacity:.78!important;filter:drop-shadow(-18px 16px 16px rgba(18,49,62,.18))}
.crwx-book-page{position:relative;backface-visibility:hidden;box-shadow:0 18px 38px rgba(15,45,57,.16)!important}
.crwx-book-page:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(20,44,54,.08),transparent 7%,transparent 93%,rgba(20,44,54,.07));border-radius:inherit}
.crwx-book-spread:not(.single):before{content:"";position:absolute;z-index:4;top:1%;bottom:1%;left:50%;width:18px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(15,40,50,.14),rgba(255,255,255,.35),rgba(15,40,50,.12),transparent);pointer-events:none;border-radius:50%}

/* R3.12 navigation visibility, compact progress, bookshelf collections and app nudges */

/* One always-visible ChoiceRoyals menu trigger. It sits on the same visual line
   as the page logo at the top, then remains fixed while the visitor scrolls. */
.crwx-global-menu-fab.crwx-mounted-fixed{
  display:flex!important;
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  z-index:2147482000!important;
}
body.crwx-member-page .crwx-global-menu-fab.crwx-mounted-fixed{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
body.admin-bar .crwx-global-menu-fab.crwx-mounted-fixed{top:54px!important}
@media(max-width:782px){
  .crwx-global-menu-fab.crwx-mounted-fixed,
  body.admin-bar .crwx-global-menu-fab.crwx-mounted-fixed{
    top:14px!important;
    right:14px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
  body.admin-bar .crwx-global-menu-fab.crwx-mounted-fixed{top:60px!important}
}
.crwx[data-crwx-mode] .crwx-hero{padding-right:clamp(68px,8vw,92px)!important}

/* Compact, premium learning snapshot instead of four tall progress cards. */
.crwx-learning-snapshot{
  margin:0 0 18px;
  padding:14px;
  border:1px solid #d8e7eb;
  border-radius:20px;
  background:linear-gradient(135deg,#ffffff 0%,#f2fbfd 100%);
  box-shadow:0 10px 28px rgba(18,54,69,.045);
}
.crwx-learning-snapshot-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  padding:0 2px 10px;
}
.crwx-learning-snapshot-head>div{display:grid;gap:2px}
.crwx-learning-snapshot-head span{
  font-size:9px;
  font-weight:950;
  letter-spacing:.15em;
  color:#b57a27;
}
.crwx-learning-snapshot-head strong{font-size:16px;color:#143542}
.crwx-learning-snapshot-head small{font-size:10px;color:#768b93}
.crwx-learning-snapshot .crwx-metrics,
.crwx-metrics[data-crwx-metrics]{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important;
  min-height:0!important;
}
.crwx-learning-snapshot .crwx-metric{
  display:grid!important;
  grid-template-columns:30px auto 1fr!important;
  align-items:center!important;
  gap:8px!important;
  min-height:54px!important;
  padding:9px 10px!important;
  border:1px solid #dce9ed!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.crwx-learning-snapshot .crwx-metric i{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;
  font-style:normal;font-size:11px;font-weight:950;color:#0e8190;background:#e8fafc;
}
.crwx-learning-snapshot .crwx-metric strong{
  display:block!important;margin:0!important;font-size:20px!important;line-height:1!important;color:#133542!important;
}
.crwx-learning-snapshot .crwx-metric span{
  margin:0!important;font-size:10px!important;line-height:1.2!important;color:#6d858e!important;
}
@media(max-width:760px){
  .crwx-learning-snapshot-head{align-items:start;flex-direction:column;gap:3px}
  .crwx-learning-snapshot .crwx-metrics,.crwx-metrics[data-crwx-metrics]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .crwx-learning-snapshot .crwx-metric{grid-template-columns:28px auto 1fr!important;min-height:50px!important;padding:8px!important}
  .crwx-learning-snapshot .crwx-metric i{width:28px;height:28px}
  .crwx-learning-snapshot .crwx-metric strong{font-size:18px!important}
}

/* Collection-based eBook shelves. */
.crwx-bookshelf-browser{display:grid;gap:14px}
.crwx-bookshelf-head{
  display:flex;justify-content:space-between;gap:18px;align-items:end;
  padding:18px 20px;border:1px solid #d8e7eb;border-radius:20px;
  background:linear-gradient(135deg,#fff,#f0fafc)
}
.crwx-bookshelf-head h3{margin:4px 0!important;color:#143542!important}
.crwx-bookshelf-head p{margin:0!important;max-width:720px;color:#6d858e!important}
.crwx-bookshelf-tabs{
  display:flex;gap:9px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:thin;
}
.crwx-bookshelf-tabs button{
  flex:0 0 auto;min-width:165px;text-align:left;padding:12px 14px;border:1px solid #d7e5e9;
  border-radius:15px;background:#fff;color:#173441;cursor:pointer;box-shadow:0 7px 20px rgba(18,54,69,.035)
}
.crwx-bookshelf-tabs button strong{display:block;font-size:12px}
.crwx-bookshelf-tabs button span{display:block;margin-top:3px;font-size:9px;color:#7a8e95}
.crwx-bookshelf-tabs button.active{border-color:#16bfd0;background:#eafafb;box-shadow:0 8px 22px rgba(22,191,208,.12)}
.crwx-bookshelf-current{font-size:18px;font-weight:950;color:#143542;padding:2px 2px 0}
@media(max-width:680px){
  .crwx-bookshelf-head{padding:15px}
  .crwx-bookshelf-tabs button{min-width:145px}
}

/* App reminder is intentionally inline, never a third floating obstruction. */
.crwx-member-app-nudge,
.crwx-sitewide-app-nudge{
  width:min(1180px,calc(100% - 28px));
  margin:22px auto;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid #cfe3e8;
  border-radius:20px;
  background:linear-gradient(135deg,#f8fdfe,#eaf8fb);
  box-shadow:0 10px 28px rgba(18,54,69,.045);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.crwx-member-app-nudge>div{display:grid;gap:3px}
.crwx-member-app-nudge>div>strong{font-size:16px;color:#143542}
.crwx-member-app-nudge>div>span{font-size:11px;color:#6e858e;max-width:720px}
.crwx-member-app-nudge>a,
.crwx-sitewide-app-nudge>a{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;
  padding:10px 15px;border-radius:12px;background:linear-gradient(135deg,#14bfd0,#3e76ee);color:#071d24!important;
  text-decoration:none!important;font-size:11px;font-weight:950;
}
.crwx-sitewide-app-brand{display:flex;align-items:center;gap:11px;min-width:0}
.crwx-sitewide-app-brand img{width:42px;height:42px;object-fit:contain;border-radius:50%;background:#0a1115;border:1px solid #d6ad56}
.crwx-sitewide-app-brand strong{display:block;font-size:15px;color:#143542}
.crwx-sitewide-app-brand span{display:block;margin-top:3px;font-size:10px;color:#6e858e}
@media(max-width:680px){
  .crwx-member-app-nudge,.crwx-sitewide-app-nudge{align-items:stretch;flex-direction:column;padding:14px}
  .crwx-member-app-nudge>a,.crwx-sitewide-app-nudge>a{width:100%}
}


/* R3.14 Royal web parity: persistent chats, evidence cards, long-running research */
.crwx-royal-chat-tools{display:grid;gap:10px;margin-top:16px}
.crwx-royal-new-chat{appearance:none;width:100%;min-height:42px;padding:9px 12px;border:1px solid #16bfd0;border-radius:12px;background:#eafcff;color:#0b4a55;font-weight:900;cursor:pointer;text-align:left}
.crwx-royal-chat-list-head{display:grid;gap:2px;margin-top:4px}.crwx-royal-chat-list-head strong{color:#234754;font-size:12px}.crwx-royal-chat-list-head span{color:#7b8d94;font-size:10px}
.crwx-royal-chat-list{display:grid;gap:7px;max-height:250px;overflow:auto;padding-right:2px}
.crwx-royal-chat-list-item{appearance:none;display:grid;gap:3px;width:100%;padding:10px;border:1px solid #dce9ed;border-radius:11px;background:#f8fbfc;text-align:left;cursor:pointer}
.crwx-royal-chat-list-item:hover,.crwx-royal-chat-list-item.active{border-color:#16bfd0;background:#eefbfc}
.crwx-royal-chat-list-item strong{color:#274a56;font-size:11px;line-height:1.3}.crwx-royal-chat-list-item span{color:#71858d;font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crwx-royal-chat-list-item small{color:#a07127;font-size:9px;font-weight:800}
.crwx-royal-chat-list-empty{padding:10px;border:1px dashed #dce9ed;border-radius:10px;color:#758991;font-size:10px;background:#fbfdfd}
.crwx-royal-evidence{display:grid;gap:7px;margin-top:9px;padding-top:9px;border-top:1px solid #e5eef0}.crwx-royal-evidence>strong{font-size:9px!important;letter-spacing:.06em!important;color:#078f9e!important}
.crwx-royal-source-list{display:grid;gap:5px}.crwx-royal-source-list a{display:grid;gap:1px;padding:7px 8px;border:1px solid #d9e8ec;border-radius:9px;background:#f8fbfc;color:#1e5664!important;text-decoration:none!important;font-size:10px;font-weight:800}.crwx-royal-source-list a:hover{border-color:#16bfd0;background:#eefbfc}.crwx-royal-source-list small{display:block;color:#7b8d94;font-size:8px;font-weight:600}
.crwx-royal-bubble .crwx-royal-evidence{margin-top:8px}.crwx-royal-bubble .crwx-royal-source-list a{font-size:9px;padding:6px 7px}
@media(max-width:980px){.crwx-royal-side{order:0}.crwx-royal-chat-list{max-height:180px}}
@media(max-width:680px){.crwx-royal-side{padding:16px}.crwx-royal-chat-list{display:flex;overflow-x:auto;max-height:none}.crwx-royal-chat-list-item{min-width:220px}.crwx-royal-workspace{gap:12px}.crwx-royal-chat-card>header{padding:14px}.crwx-royal-chat-stream{padding:14px}}

/* Royal web parity R2 — app capability surface, verified research and resilient chat */
.crwx-royal-capabilities{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 4px}.crwx-royal-capabilities span{padding:6px 8px;border:1px solid #d9e8ec;border-radius:999px;background:#f8fbfc;color:#4b6872;font-size:9px;font-weight:850}
.crwx-royal-inline-link{color:#078f9e!important;text-decoration:underline!important;text-underline-offset:2px;overflow-wrap:anywhere}
.crwx-royal-evidence{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #e5eef0;white-space:normal}.crwx-royal-evidence-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.crwx-royal-evidence-head strong{font-size:9px!important;letter-spacing:.06em!important;color:#078f9e!important;text-transform:uppercase}.crwx-royal-evidence-head span{display:inline-flex!important;width:auto!important;padding:3px 6px;border-radius:999px;background:#e9faf6;color:#16805f!important;font-size:8px!important;font-weight:850}
.crwx-royal-source-list{display:grid;gap:6px}.crwx-royal-source-card{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px!important;border:1px solid #d9e8ec!important;border-radius:10px!important;background:#f8fbfc!important;color:#1e5664!important;text-decoration:none!important}.crwx-royal-source-card:hover{border-color:#16bfd0!important;background:#eefbfc!important}.crwx-royal-source-card>img{width:28px;height:28px;border-radius:7px;background:#fff;object-fit:contain;border:1px solid #e2ecef}.crwx-royal-source-copy{display:grid!important;gap:2px!important;min-width:0}.crwx-royal-source-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#264b57;font-size:10px;line-height:1.25}.crwx-royal-source-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8d94;font-size:8px;font-weight:650}.crwx-royal-source-card em{font-style:normal;color:#078f9e;font-size:8px;font-weight:900;white-space:nowrap}
.crwx-royal-response-actions,.crwx-royal-response-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.crwx-royal-action-link,.crwx-royal-listen{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 9px;border:1px solid #cde2e7;border-radius:999px;background:#f8fbfc;color:#176070!important;font-size:9px;font-weight:900;text-decoration:none!important;cursor:pointer}.crwx-royal-listen.playing{border-color:#16bfd0;background:#eafafc}.crwx-royal-listen:disabled{opacity:.65;cursor:wait}.crwx-royal-tool-error{align-self:center;color:#9b4e3e;font-size:8px}.crwx-royal-attachment-proof{margin-top:8px;padding:7px 8px;border:1px solid #caeadf;border-radius:9px;background:#effbf7;color:#27745d;font-size:9px;font-weight:800}.crwx-royal-history-files{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.crwx-royal-history-files span{padding:4px 6px;border:1px solid #d9e8ec;border-radius:8px;background:#fff;color:#6b7f87;font-size:8px;font-weight:800}
.crwx-royal-chat-form{grid-template-columns:42px minmax(0,1fr) auto!important;align-items:end;gap:8px!important}.crwx-royal-file-tray,.crwx-royal-attach-note{grid-column:1/-1}.crwx-royal-file-tray{display:flex;flex-wrap:wrap;gap:6px}.crwx-royal-file-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 7px;border:1px solid #d9e8ec;border-radius:9px;background:#f7fbfc;color:#4f6973;font-size:9px;font-weight:800}.crwx-royal-file-chip button{appearance:none;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#e8f1f3;color:#3c5964;font-weight:900;cursor:pointer}.crwx-royal-attach-note{min-height:15px;color:#778b93;font-size:9px;line-height:1.35}.crwx-royal-attach{appearance:none;width:42px;height:42px;border:1px solid #cfe2e7;border-radius:12px;background:#f8fbfc;color:#078f9e;font-size:22px;font-weight:700;cursor:pointer}.crwx-royal-attach:disabled{opacity:.45;cursor:not-allowed}.crwx-royal-chat-form textarea{min-width:0;margin:0!important}.crwx-royal-chat-form>[data-royal-send]{min-width:78px;height:42px;padding:8px 13px!important}
.crwx-royal-engineering{display:grid;gap:6px;margin-top:14px;padding:11px;border:1px solid #ead9b7;border-radius:12px;background:#fffaf0}.crwx-royal-engineering[hidden]{display:none!important}.crwx-royal-engineering strong{color:#674b1e;font-size:11px}.crwx-royal-engineering span{color:#78684e;font-size:9px;line-height:1.45}.crwx-royal-engineering button{appearance:none;padding:7px 9px;border:1px solid #dfbd79;border-radius:9px;background:#fff;color:#79571c;font-size:9px;font-weight:900;cursor:pointer}.crwx-royal-engineering small{color:#816f53;font-size:8px}.crwx-royal-handoff-badge{display:inline-flex;width:max-content;margin-top:7px;padding:4px 7px;border-radius:999px;background:#fff4da;color:#805d20;font-size:8px;font-weight:900}
.crwx-royal-bubble .crwx-royal-evidence{margin-top:8px}.crwx-royal-bubble .crwx-royal-source-card{grid-template-columns:22px minmax(0,1fr);padding:6px!important}.crwx-royal-bubble .crwx-royal-source-card>img{width:22px;height:22px}.crwx-royal-bubble .crwx-royal-source-card em{display:none}.crwx-royal-bubble .crwx-royal-source-copy b{font-size:9px}.crwx-royal-bubble .crwx-royal-source-copy small{font-size:7px}.crwx-royal-bubble .crwx-royal-response-tools,.crwx-royal-bubble .crwx-royal-response-actions{margin-top:6px}
@media(max-width:680px){.crwx-royal-chat-form{grid-template-columns:40px minmax(0,1fr) 72px!important}.crwx-royal-chat-form>[data-royal-send]{min-width:72px;padding:8px!important}.crwx-royal-source-card{grid-template-columns:26px minmax(0,1fr)}.crwx-royal-source-card em{display:none}.crwx-royal-side .crwx-royal-capabilities{margin-bottom:8px}}


/* Royal Web Parity R3 — app-style full-page chat, edge-to-edge layout, portrait identity */
body:has(.crwx-royal-focus-shell){overflow-x:hidden}
.crwx-royal-focus-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#071e2a!important;min-height:100dvh}
.crwx-royal-focus-body{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:100dvh;background:#071e2a}
.crwx-royal-focus-shell .crwx-loading{min-height:70dvh;display:grid;place-items:center;color:#c9d8de}
.crwx-royal-app-shell{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;width:100%;max-width:none;min-height:100dvh;background:linear-gradient(180deg,#081f2b 0,#0b2836 100%);color:#f5fbfd;overflow:hidden}
.crwx-royal-app-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(72px,1fr) minmax(0,2fr) minmax(92px,1fr);align-items:center;gap:12px;padding:12px clamp(12px,2.5vw,30px);border-bottom:1px solid rgba(81,174,192,.32);background:rgba(6,25,35,.96);backdrop-filter:blur(18px)}
.crwx-royal-back{justify-self:start;color:#2fe1df!important;text-decoration:none!important;font-weight:900;font-size:14px}.crwx-royal-app-title{justify-self:center;display:flex;align-items:center;gap:10px;min-width:0}.crwx-royal-app-title>div{display:grid;gap:1px;min-width:0}.crwx-royal-app-title strong{font-size:21px;line-height:1;color:#fff}.crwx-royal-app-title span:not(.crwx-royal-avatar){font-size:10px;color:#cfdae0;white-space:nowrap}.crwx-royal-app-actions{justify-self:end;display:grid;gap:3px}.crwx-royal-app-actions button{appearance:none;border:0;background:transparent;color:#dca84e;font-weight:900;font-size:11px;padding:2px 0;cursor:pointer}.crwx-royal-app-actions button+button{color:#26d8d4}
.crwx-royal-avatar-photo{width:42px!important;height:42px!important;border-radius:50%!important;overflow:hidden;border:2px solid #c9973e!important;background:#102c38!important;box-shadow:0 0 0 2px rgba(25,198,207,.15)}.crwx-royal-avatar-photo img,.crwx-royal-fab-mark img,.crwx-royal-identity .crwx-royal-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 34%!important}
.crwx-royal-app-thread{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px clamp(14px,4vw,64px) 24px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}.crwx-royal-app-thread .crwx-msg{display:grid;gap:7px;max-width:min(820px,82%);padding:14px 16px;border-radius:20px;font-size:15px;line-height:1.62;white-space:pre-wrap;box-shadow:none}.crwx-royal-app-thread .crwx-msg.ai{align-self:flex-start;background:linear-gradient(180deg,#103947,#0e3340);border:1px solid rgba(83,192,207,.26);color:#edf7f9}.crwx-royal-app-thread .crwx-msg.me{align-self:flex-end;background:linear-gradient(135deg,#178ed7,#1f6bf2);color:#fff}.crwx-royal-app-thread .crwx-msg.ai>strong{color:#e2aa4d;font-size:9px;letter-spacing:.14em;text-transform:uppercase}.crwx-royal-app-thread .crwx-msg.ai .crwx-royal-answer{color:#eff8fa;white-space:pre-wrap}.crwx-royal-app-thread .crwx-royal-inline-link{color:#47e4df!important}.crwx-royal-app-thread .crwx-royal-evidence{border-top-color:rgba(167,214,223,.2)}.crwx-royal-app-thread .crwx-royal-source-card{background:#0b2e3a!important;border-color:rgba(90,183,199,.3)!important;color:#eff8fa!important}.crwx-royal-app-thread .crwx-royal-source-copy b{color:#eff8fa}.crwx-royal-app-thread .crwx-royal-source-copy small{color:#abc2cb}.crwx-royal-app-thread .crwx-royal-listen,.crwx-royal-app-thread .crwx-royal-action-link{background:#0b2d39;color:#66ece6!important;border-color:#2b8ea0}.crwx-royal-app-thread .crwx-royal-tool-error{display:block!important;color:#e6b3a8!important;font-size:10px!important;line-height:1.4}.crwx-royal-listen.ready{border-color:#dca84e!important;color:#f3c86f!important}
.crwx-royal-quickbar{display:flex;flex-wrap:wrap;gap:8px;padding:8px clamp(12px,3vw,40px);border-top:1px solid rgba(81,174,192,.25);background:#082430}.crwx-royal-quickbar button,.crwx-royal-quickbar a{appearance:none;border:1px solid rgba(66,189,199,.5);border-radius:999px;background:#092b37;color:#e9f6f8!important;text-decoration:none!important;padding:8px 12px;font-size:11px;font-weight:850;cursor:pointer}
.crwx-royal-app-composer{position:sticky;bottom:0;z-index:18;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:end;gap:9px;padding:10px clamp(12px,3vw,40px) calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(81,174,192,.3);background:rgba(6,25,35,.98);backdrop-filter:blur(18px)}.crwx-royal-app-composer textarea{width:100%;min-height:50px;max-height:150px;margin:0!important;padding:13px 15px;border:1px solid rgba(89,177,192,.55)!important;border-radius:17px!important;background:#0b2d39!important;color:#f4fbfc!important;font:inherit;resize:none}.crwx-royal-app-composer textarea::placeholder{color:#8ea5ae}.crwx-royal-app-composer .crwx-royal-attach{width:50px;height:50px;border-radius:15px;background:#0c3040;color:#39e0db;border:1px solid rgba(65,191,203,.56);font-size:26px}.crwx-royal-send{appearance:none;min-width:82px;height:50px;border:0;border-radius:15px;background:#23c9b5;color:#052b2e;font-weight:950;font-size:14px;padding:0 18px;cursor:pointer}.crwx-royal-send:disabled{opacity:.55;cursor:wait}.crwx-royal-app-composer .crwx-royal-file-tray,.crwx-royal-app-composer .crwx-royal-attach-note{grid-column:1/-1}.crwx-royal-app-composer .crwx-royal-attach-note{min-height:0;color:#91aab2;font-size:9px}.crwx-royal-app-composer .crwx-royal-file-chip{background:#0b2d39;border-color:rgba(89,177,192,.4);color:#dcecef}
.crwx-royal-chat-drawer{position:absolute;z-index:30;top:70px;right:14px;width:min(390px,calc(100vw - 28px));max-height:70dvh;overflow:auto;padding:14px;border:1px solid rgba(81,174,192,.4);border-radius:18px;background:#0a2936;box-shadow:0 28px 70px rgba(0,0,0,.42)}.crwx-royal-chat-drawer[hidden]{display:none!important}.crwx-royal-chat-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.crwx-royal-chat-drawer-head>div{display:grid;gap:2px}.crwx-royal-chat-drawer-head strong{font-size:17px;color:#fff}.crwx-royal-chat-drawer-head span{font-size:9px;color:#9bb0b8}.crwx-royal-chat-drawer-head button{appearance:none;width:34px;height:34px;border:1px solid rgba(104,189,201,.3);border-radius:50%;background:#0e3442;color:#fff;font-size:20px;cursor:pointer}.crwx-royal-chat-drawer .crwx-royal-new-chat{margin-bottom:10px;background:#0c3543;border-color:#2bb9c4;color:#ddf9fb}.crwx-royal-chat-drawer .crwx-royal-chat-list{max-height:none}.crwx-royal-chat-drawer .crwx-royal-chat-list-item{background:#0b303d;border-color:rgba(89,177,192,.3)}.crwx-royal-chat-drawer .crwx-royal-chat-list-item strong{color:#eff8fa}.crwx-royal-chat-drawer .crwx-royal-chat-list-item span{color:#9fb4bc}.crwx-royal-chat-drawer .crwx-royal-chat-list-item small{color:#dca84e}.crwx-royal-chat-drawer .crwx-royal-chat-list-item.active{background:#0e3d4b;border-color:#33d5d0}.crwx-royal-engineering-inline{margin:0 clamp(12px,3vw,40px) 8px;background:#173327;border-color:#816c33;color:#e8d79f}.crwx-royal-engineering-inline span,.crwx-royal-engineering-inline small{color:#cabf9d}
.crwx-royal-fab-mark,.crwx-royal-identity .crwx-royal-avatar{background:#0b2b38!important}.crwx-royal-fab-mark img,.crwx-royal-identity .crwx-royal-avatar img{object-fit:cover!important}
@media(min-width:900px){.crwx-royal-app-shell{min-height:calc(100dvh - 1px)}.crwx-royal-app-thread .crwx-msg{font-size:16px}.crwx-royal-app-header{padding-inline:40px}.crwx-royal-app-thread{padding-inline:max(46px,8vw)}}
@media(max-width:680px){.crwx-royal-app-header{grid-template-columns:58px 1fr 72px;padding:9px 10px}.crwx-royal-back{font-size:12px}.crwx-royal-app-title{gap:7px}.crwx-royal-app-title strong{font-size:19px}.crwx-royal-app-title span:not(.crwx-royal-avatar){font-size:8px;max-width:190px;overflow:hidden;text-overflow:ellipsis}.crwx-royal-avatar-photo{width:36px!important;height:36px!important}.crwx-royal-app-actions button{font-size:10px}.crwx-royal-app-thread{padding:12px 10px 18px}.crwx-royal-app-thread .crwx-msg{max-width:88%;font-size:14px;padding:12px 13px}.crwx-royal-quickbar{overflow-x:auto;flex-wrap:nowrap;padding:7px 9px}.crwx-royal-quickbar>*{flex:0 0 auto}.crwx-royal-app-composer{grid-template-columns:46px minmax(0,1fr) 72px;padding:8px 9px calc(8px + env(safe-area-inset-bottom))}.crwx-royal-app-composer .crwx-royal-attach{width:46px;height:46px}.crwx-royal-app-composer textarea{min-height:46px;padding:11px 12px}.crwx-royal-send{height:46px;min-width:72px;padding:0 10px}.crwx-royal-chat-drawer{top:60px;right:8px;width:calc(100vw - 16px);max-height:75dvh}}

/* ================================================================
   R4 — Responsive sitewide consistency + Royal polish
   ================================================================ */

/* Sitewide: make ChoiceRoyals layouts use the available screen width without
   forcing cart/checkout/payment screens into a risky layout change. */
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart){overflow-x:hidden}
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) .ct-container,
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) .ct-container-full,
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) #main,
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) .site-main,
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) .content-area{
  width:100%!important;
  max-width:none!important;
}
body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) .ct-container{
  padding-left:clamp(12px,2vw,30px)!important;
  padding-right:clamp(12px,2vw,30px)!important;
}
body.crwx-member-page .ct-container,
body.crwx-member-page .ct-container-full,
body.crwx-member-page #main,
body.crwx-member-page .site-main,
body.crwx-member-page .content-area{
  padding-left:0!important;
  padding-right:0!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Keep the legacy/theme logo compact and consistent across phones, tablets
   and desktop while leaving its natural aspect ratio intact. */
body.crwx-sitewide-responsive .custom-logo-link img,
body.crwx-sitewide-responsive .site-logo-container img,
body.crwx-sitewide-responsive .site-branding img,
body.crwx-sitewide-responsive .ct-header-branding img{
  max-height:56px!important;
  width:auto!important;
  object-fit:contain!important;
}
@media(max-width:680px){
  body.crwx-sitewide-responsive .custom-logo-link img,
  body.crwx-sitewide-responsive .site-logo-container img,
  body.crwx-sitewide-responsive .site-branding img,
  body.crwx-sitewide-responsive .ct-header-branding img{max-height:46px!important}
}

/* Plugin-generated pages already carry their own ChoiceRoyals brand lockup.
   Make it compact instead of the oversized Academy card seen in testing. */
.crwx[data-crwx-mode] .crwx-brand-lockup{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:min(100%,420px)!important;
  min-height:0!important;
  gap:10px!important;
  margin:0 0 18px!important;
  padding:8px 12px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(36,98,117,.14)!important;
  box-shadow:0 8px 24px rgba(19,67,84,.06)!important;
}
.crwx[data-crwx-mode] .crwx-brand-lockup::before{display:none!important}
.crwx[data-crwx-mode] .crwx-brand-lockup img{
  display:block!important;
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  object-fit:contain!important;
  border-radius:50%!important;
  filter:none!important;
}
.crwx[data-crwx-mode] .crwx-brand-lockup strong{font-size:18px!important;line-height:1.08!important;color:#143542!important}
.crwx[data-crwx-mode] .crwx-brand-lockup span{font-size:8px!important;letter-spacing:.12em!important;color:#9a6a28!important}
@media(max-width:680px){
  .crwx[data-crwx-mode] .crwx-brand-lockup{padding:7px 10px!important;gap:8px!important;margin-bottom:14px!important}
  .crwx[data-crwx-mode] .crwx-brand-lockup img{width:40px!important;height:40px!important;flex-basis:40px!important}
  .crwx[data-crwx-mode] .crwx-brand-lockup strong{font-size:16px!important}
}

/* If a theme page has no visible logo at all, JavaScript adds this small,
   non-invasive ChoiceRoyals fallback mark rather than leaving a blank header. */
.crwx-global-brand-fallback{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:5px 8px;
  color:#143542!important;text-decoration:none!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.crwx-global-brand-fallback img{width:40px;height:40px;object-fit:contain;border-radius:50%}
.crwx-global-brand-fallback span{font-size:15px;font-weight:900;white-space:nowrap}
@media(max-width:680px){.crwx-global-brand-fallback img{width:34px;height:34px}.crwx-global-brand-fallback span{font-size:13px}}

/* On Web Experience pages, the plugin has its own header/hero. Hiding an empty
   Blocksy/theme header removes the large blank band shown in mobile testing. */
body.crwx-member-page #header,
body.crwx-member-page .site-header{display:none!important}
body.crwx-member-page #main-container,
body.crwx-member-page .site-main{margin-top:0!important;padding-top:0!important}

/* Full Royal page: match ChoiceRoyals' light blue/white website language while
   preserving the app-style conversation layout. */
body.crwx-royal-page{background:#eef8fb!important}
.crwx-royal-focus-shell,
.crwx-royal-focus-body{
  background:linear-gradient(180deg,#f7fcfd 0%,#edf8fb 50%,#f8fbfc 100%)!important;
  min-height:100svh!important;
}
.crwx-royal-app-shell{
  min-height:100svh!important;
  background:linear-gradient(180deg,#eff9fb 0%,#f8fcfd 50%,#edf7fa 100%)!important;
  color:#153844!important;
}
.crwx-royal-app-header{
  grid-template-columns:minmax(110px,1fr) minmax(0,2fr) minmax(88px,1fr)!important;
  border-bottom:1px solid #d3e7ec!important;
  background:rgba(250,253,254,.96)!important;
  box-shadow:0 5px 22px rgba(17,68,83,.045)!important;
}
.crwx-royal-left-group{display:flex;align-items:center;gap:10px;min-width:0}
.crwx-royal-brand{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#0a1c24;border:1px solid #d6ad56;overflow:hidden;flex:0 0 38px}
.crwx-royal-brand img{width:100%;height:100%;object-fit:contain}
.crwx-royal-back{color:#078f9e!important;font-size:13px!important}
.crwx-royal-app-title strong{color:#153844!important}
.crwx-royal-app-title span:not(.crwx-royal-avatar){color:#6b838d!important}
.crwx-royal-app-actions button{color:#9a6a28!important}.crwx-royal-app-actions button+button{color:#078f9e!important}
.crwx-royal-avatar-photo{background:#07323d!important;border-color:#d5a54b!important;box-shadow:0 0 0 2px rgba(10,143,158,.08)!important}
.crwx-royal-avatar-photo img,.crwx-royal-fab-mark img,.crwx-royal-identity .crwx-royal-avatar img{object-position:center!important}
.crwx-royal-app-thread{padding-bottom:28px!important}
.crwx-royal-app-thread .crwx-msg{white-space:normal!important;box-shadow:0 8px 24px rgba(26,77,92,.045)!important}
.crwx-royal-app-thread .crwx-msg.ai{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #cfe3e8!important;
  color:#173844!important;
}
.crwx-royal-app-thread .crwx-msg.me{
  background:linear-gradient(135deg,#168fa8,#2876e8)!important;
  color:#fff!important;
}
.crwx-royal-app-thread .crwx-msg.ai>strong{color:#9a6a28!important}
.crwx-royal-app-thread .crwx-msg.ai .crwx-royal-answer{color:#173844!important;white-space:normal!important}
.crwx-royal-app-thread .crwx-royal-inline-link{color:#067e8c!important}
.crwx-royal-app-thread .crwx-royal-evidence{border-top-color:#dce9ed!important}
.crwx-royal-app-thread .crwx-royal-source-card{background:#f8fbfc!important;border-color:#d9e8ec!important;color:#1e5664!important}
.crwx-royal-app-thread .crwx-royal-source-copy b{color:#264b57!important}.crwx-royal-app-thread .crwx-royal-source-copy small{color:#72878f!important}
.crwx-royal-app-thread .crwx-royal-listen,.crwx-royal-app-thread .crwx-royal-action-link{background:#f8fbfc!important;color:#176070!important;border-color:#cde2e7!important}
.crwx-royal-app-thread .crwx-royal-tool-error{color:#8d5547!important}
.crwx-royal-quickbar{border-top:1px solid #d5e8ec!important;background:rgba(248,252,253,.96)!important}
.crwx-royal-quickbar button,.crwx-royal-quickbar a{border-color:#bddbe2!important;background:#fff!important;color:#315560!important}
.crwx-royal-app-composer{
  bottom:0!important;
  border-top:1px solid #d5e8ec!important;
  background:rgba(250,253,254,.98)!important;
  padding-bottom:max(12px,calc(10px + env(safe-area-inset-bottom)))!important;
  box-shadow:0 -8px 25px rgba(19,71,87,.05)!important;
}
.crwx-royal-app-composer textarea{border-color:#bddbe2!important;background:#fff!important;color:#173844!important}
.crwx-royal-app-composer textarea::placeholder{color:#81959d!important}
.crwx-royal-app-composer .crwx-royal-attach{background:#073d48!important;color:#f0c46f!important;border-color:#0b6978!important}
.crwx-royal-send{background:linear-gradient(135deg,#11bfc7,#2d7be8)!important;color:#fff!important}
.crwx-royal-app-composer .crwx-royal-attach-note{color:#70858e!important;font-size:10px!important}
.crwx-royal-app-composer .crwx-royal-file-chip{background:#fff!important;border-color:#d5e5e9!important;color:#4c6872!important}
.crwx-royal-chat-drawer{border-color:#cde2e7!important;background:#fff!important;box-shadow:0 28px 70px rgba(24,65,79,.18)!important}
.crwx-royal-chat-drawer-head strong{color:#173844!important}.crwx-royal-chat-drawer-head span{color:#748991!important}.crwx-royal-chat-drawer-head button{background:#f0f7f9!important;color:#173844!important;border-color:#d1e4e8!important}
.crwx-royal-chat-drawer .crwx-royal-new-chat{background:#eafcff!important;border-color:#16bfd0!important;color:#0b4a55!important}
.crwx-royal-chat-drawer .crwx-royal-chat-list-item{background:#f8fbfc!important;border-color:#dce9ed!important}.crwx-royal-chat-drawer .crwx-royal-chat-list-item strong{color:#274a56!important}.crwx-royal-chat-drawer .crwx-royal-chat-list-item span{color:#71858d!important}.crwx-royal-chat-drawer .crwx-royal-chat-list-item.active{background:#eefbfc!important;border-color:#16bfd0!important}

/* Safe structured Royal answer rendering — no visible raw ** / * markdown. */
.crwx-royal-richtext{display:block!important;white-space:normal!important}
.crwx-royal-richtext p{margin:0 0 12px!important;color:inherit!important;line-height:1.68!important}
.crwx-royal-richtext p:last-child{margin-bottom:0!important}
.crwx-royal-richtext h2,.crwx-royal-richtext h3{margin:16px 0 8px!important;color:inherit!important;line-height:1.22!important;letter-spacing:0!important;text-transform:none!important}
.crwx-royal-richtext h2{font-size:clamp(20px,2.2vw,28px)!important}.crwx-royal-richtext h3{font-size:clamp(16px,1.7vw,21px)!important}
.crwx-royal-richtext ul,.crwx-royal-richtext ol{margin:8px 0 14px 1.25em!important;padding:0!important;display:grid;gap:6px}
.crwx-royal-richtext li{padding-left:3px;line-height:1.6}
.crwx-royal-richtext strong{font-weight:850;color:inherit}.crwx-royal-richtext em{font-style:italic}

/* Floating Royal: the new PNG avatar must be visible; never render an empty
   circle if a stale browser image fails. */
.crwx-royal-fab-mark,.crwx-royal-avatar,.crwx-royal-avatar-photo{overflow:hidden!important;background:#07323d!important}
.crwx-royal-fab-mark img,.crwx-royal-avatar img,.crwx-royal-avatar-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}

/* Responsive refinements for small phones / tablets / wide desktops. */
@media(max-width:900px){
  .crwx-royal-app-header{grid-template-columns:minmax(96px,1fr) minmax(0,1.8fr) minmax(76px,.8fr)!important}
  .crwx-royal-app-thread .crwx-msg{max-width:90%!important}
}
@media(max-width:680px){
  body.crwx-sitewide-responsive:not(.woocommerce-checkout):not(.woocommerce-cart) .ct-container{padding-left:0!important;padding-right:0!important}
  .crwx-royal-app-header{grid-template-columns:88px minmax(0,1fr) 68px!important;padding:8px 9px!important;gap:7px!important}
  .crwx-royal-left-group{gap:6px}.crwx-royal-brand{width:32px;height:32px;flex-basis:32px}.crwx-royal-back{font-size:11px!important}
  .crwx-royal-app-title{gap:6px!important;justify-self:start!important}.crwx-royal-app-title strong{font-size:18px!important}.crwx-royal-app-title span:not(.crwx-royal-avatar){display:none!important}
  .crwx-royal-avatar-photo{width:34px!important;height:34px!important}
  .crwx-royal-app-thread{padding:12px 9px 20px!important}.crwx-royal-app-thread .crwx-msg{max-width:94%!important;font-size:14px!important;padding:12px 13px!important;border-radius:17px!important}
  .crwx-royal-quickbar{padding:7px 9px!important;overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}.crwx-royal-quickbar::-webkit-scrollbar{display:none}.crwx-royal-quickbar>*{flex:0 0 auto}
  .crwx-royal-app-composer{grid-template-columns:46px minmax(0,1fr) 68px!important;gap:7px!important;padding:8px 8px max(14px,calc(9px + env(safe-area-inset-bottom)))!important}
  .crwx-royal-app-composer .crwx-royal-attach{width:46px!important;height:46px!important}.crwx-royal-send{height:46px!important;min-width:68px!important;padding:0 9px!important}.crwx-royal-app-composer textarea{min-height:46px!important;padding:11px!important}
}
@media(max-width:390px){
  .crwx-royal-app-header{grid-template-columns:76px minmax(0,1fr) 58px!important}.crwx-royal-brand{width:28px;height:28px;flex-basis:28px}.crwx-royal-back{font-size:10px!important}.crwx-royal-app-actions button{font-size:9px!important}
  .crwx-royal-app-thread .crwx-msg{max-width:97%!important}.crwx-royal-app-composer{grid-template-columns:44px minmax(0,1fr) 62px!important}.crwx-royal-send{min-width:62px!important;font-size:12px!important}
}
@media(min-width:1200px){
  .crwx-royal-app-thread{padding-inline:max(70px,10vw)!important}.crwx-royal-app-thread .crwx-msg{max-width:min(980px,76%)!important}
  .crwx[data-crwx-mode]:not([data-crwx-mode="royal"]) .crwx-hero,.crwx[data-crwx-mode]:not([data-crwx-mode="royal"]) .crwx-body{width:min(100%,1760px)!important}
}
body>.crwx-global-brand-fallback{position:fixed;top:max(10px,env(safe-area-inset-top));left:12px;z-index:9998;background:rgba(255,255,255,.96);border:1px solid #d8e8ec;border-radius:999px;box-shadow:0 8px 24px rgba(20,62,77,.12)}

/* ================================================================
   R4.1 — Reader resilience + full Royal conversations everywhere
   ================================================================ */

/* Floating Royal always uses the Royal avatar. A text fallback is only used
   if the packaged avatar itself cannot load; never swap it to the brand logo. */
.crwx-royal-avatar-fallback{
  display:grid!important;place-items:center!important;
  background:linear-gradient(135deg,#073d48,#0e6b78)!important;
  color:#f1c66d!important;font-weight:950!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
.crwx-royal-fab-mark.crwx-royal-avatar-fallback{font-size:18px!important}
.crwx-royal-avatar.crwx-royal-avatar-fallback,.crwx-royal-avatar-photo.crwx-royal-avatar-fallback{font-size:15px!important}

/* Copy control on both user and Royal messages. */
.crwx-msg-tools{display:flex;justify-content:flex-end;gap:6px;margin-top:6px}
.crwx-msg-copy{
  appearance:none;border:1px solid #cfe0e5;border-radius:999px;background:#f7fbfc;
  color:#476772;padding:5px 9px;font:700 10px/1 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;min-height:28px
}
.crwx-msg-copy:hover,.crwx-msg-copy:focus-visible{border-color:#16aebb;color:#0b7581;outline:none}
.crwx-royal-app-thread .crwx-msg.me .crwx-msg-copy{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.34);color:#fff}
.crwx-royal-bubble .crwx-msg-tools{margin-top:7px}
.crwx-royal-bubble.me .crwx-msg-copy{background:rgba(255,255,255,.28);border-color:rgba(16,92,104,.18);color:#174653}

/* Full page chat list: show the complete retained recent-chat list vertically,
   including on phones. */
.crwx-royal-chat-drawer .crwx-royal-chat-list{
  display:grid!important;grid-template-columns:1fr!important;gap:7px!important;
  max-height:calc(70dvh - 118px)!important;overflow-y:auto!important;overflow-x:hidden!important;
}
.crwx-royal-chat-drawer .crwx-royal-chat-list-item{min-width:0!important;width:100%!important}

/* Mini Royal now supports Chats + New chat without forcing the full page. */
.crwx-royal-mini-toolbar{
  display:flex;gap:7px;padding:8px 12px;border-bottom:1px solid #e5eef1;background:#fbfefe
}
.crwx-royal-mini-toolbar button{
  appearance:none;border:1px solid #cfe3e8;border-radius:999px;background:#fff;color:#315966;
  padding:7px 11px;font-size:10px;font-weight:900;cursor:pointer
}
.crwx-royal-mini-toolbar button:last-child{border-color:#12b6c4;color:#087984;background:#effcfd}
.crwx-royal-mini-drawer{
  flex:0 0 auto;padding:10px 12px;border-bottom:1px solid #e4edf0;background:#f8fcfd;
  max-height:min(310px,42dvh);overflow:auto
}
.crwx-royal-mini-drawer[hidden]{display:none!important}
.crwx-royal-mini-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.crwx-royal-mini-drawer-head strong{font-size:12px;color:#234754}
.crwx-royal-mini-drawer-head button{
  appearance:none;width:30px;height:30px;border:1px solid #d8e7eb;border-radius:50%;
  background:#fff;color:#365965;font-size:18px;line-height:1;cursor:pointer
}
.crwx-royal-mini-chat-list{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;max-height:250px;overflow:auto}
.crwx-royal-mini-chat-list .crwx-royal-chat-list-item{min-width:0!important;width:100%!important}
.crwx-royal-mini-chat-list .crwx-royal-chat-list-item.active{border-color:#15bdc9;background:#ecfafc}

/* Reader: keep retry/error controls touch-friendly while the first PDF page is
   being rendered and cached server-side. */
.crwx-book-page-error{padding:clamp(18px,5vw,34px)!important;text-align:center!important}
.crwx-book-page-error strong{font-size:clamp(17px,4vw,24px)!important}
.crwx-book-page-error span{max-width:520px;margin-inline:auto!important;line-height:1.5!important}
.crwx-book-page-error button{min-width:128px;min-height:44px!important}

@media(max-width:680px){
  .crwx-royal-mini-toolbar{padding:7px 10px}
  .crwx-royal-mini-drawer{max-height:44dvh;padding:9px 10px}
  .crwx-royal-mini-chat-list{display:grid!important;max-height:230px!important;overflow-y:auto!important;overflow-x:hidden!important}
  .crwx-royal-mini-chat-list .crwx-royal-chat-list-item{min-width:0!important}
  .crwx-msg-copy{min-height:30px;padding:6px 10px;font-size:10px}
}

/* ================================================================
   R4.2 — consistency, journey/certification parity, Royal scrolling
   ================================================================ */

/* Full Royal page: keep the viewport shell fixed while the conversation
   itself remains the vertical scroll surface. This prevents iOS/Safari
   from trapping the thread between the header and composer. */
body.crwx-royal-page{
  height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.crwx-royal-page .crwx-royal-focus-shell,
body.crwx-royal-page .crwx-royal-focus-body,
body.crwx-royal-page .crwx-royal-app-shell{
  height:100dvh!important;
  min-height:0!important;
  max-height:100dvh!important;
  overflow:hidden!important;
}
body.crwx-royal-page .crwx-royal-app-thread{
  min-height:0!important;
  height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  overscroll-behavior-y:contain!important;
  scroll-behavior:smooth!important;
}
body.admin-bar.crwx-royal-page,
body.admin-bar.crwx-royal-page .crwx-royal-focus-shell,
body.admin-bar.crwx-royal-page .crwx-royal-focus-body,
body.admin-bar.crwx-royal-page .crwx-royal-app-shell{
  height:calc(100dvh - 32px)!important;
  max-height:calc(100dvh - 32px)!important;
}
@media(max-width:782px){
  body.admin-bar.crwx-royal-page,
  body.admin-bar.crwx-royal-page .crwx-royal-focus-shell,
  body.admin-bar.crwx-royal-page .crwx-royal-focus-body,
  body.admin-bar.crwx-royal-page .crwx-royal-app-shell{
    height:calc(100dvh - 46px)!important;
    max-height:calc(100dvh - 46px)!important;
  }
}

/* Learning metrics never pretend an unloaded account is zero. */
.crwx-learning-snapshot .crwx-metric strong{font-variant-numeric:tabular-nums}

/* Certification Pathways — carry the native app's provider, issuer,
   duration, requirements, official destination and My Journey bridge. */
.crwx-cert-intro{margin-bottom:18px;padding:clamp(18px,3vw,30px);border:1px solid #d7e8ec;border-radius:24px;background:linear-gradient(135deg,#f8fcfd,#eef9fb);box-shadow:0 12px 34px rgba(18,67,82,.05)}
.crwx-cert-intro h2{margin:6px 0 8px;font-size:clamp(28px,4vw,50px);line-height:1.03;letter-spacing:-.035em;color:#173844}
.crwx-cert-intro p{max-width:900px;margin:0;color:#657d87;line-height:1.7}
.crwx-cert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.crwx-cert-card{display:grid;align-content:start;gap:10px;padding:16px;border:1px solid #d9e8ec;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(19,68,82,.045)}
.crwx-cert-image{width:100%;height:190px;border-radius:15px;object-fit:cover;background:#eef7f9}
.crwx-cert-card h3{margin:0;color:#173844;font-size:20px;line-height:1.25}
.crwx-cert-card>p{margin:0;color:#657d87;line-height:1.6}
.crwx-cert-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 0}
.crwx-cert-facts>div{padding:10px;border:1px solid #e0ebee;border-radius:12px;background:#f8fbfc}
.crwx-cert-facts dt{color:#9a6a28;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.crwx-cert-facts dd{margin:4px 0 0;color:#284b57;font-size:12px;font-weight:800;line-height:1.45;overflow-wrap:anywhere}
.crwx-cert-requirements{border:1px solid #e0ebee;border-radius:12px;background:#fbfdfd;padding:9px 11px}
.crwx-cert-requirements summary{cursor:pointer;color:#315862;font-weight:900}
.crwx-cert-requirements p{margin:8px 0 0;color:#657d87;line-height:1.55}
.crwx-cert-disclosure{font-size:10px!important;color:#7d8f96!important;line-height:1.5!important}

/* My Journey — web parity with the accepted native planning model. */
.crwx-journey-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:18px;align-items:center;margin-bottom:16px;padding:clamp(18px,3vw,30px);border:1px solid #d4e6ea;border-radius:24px;background:linear-gradient(135deg,#f7fcfd,#ecf8fb);box-shadow:0 12px 34px rgba(17,68,83,.05)}
.crwx-journey-hero h2{margin:5px 0 8px;color:#173844;font-size:clamp(28px,4.2vw,54px);line-height:1.02;letter-spacing:-.04em}
.crwx-journey-hero p{margin:0;color:#637b85;line-height:1.65}
.crwx-journey-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.crwx-journey-status-grid>div{display:grid;gap:4px;padding:11px;border:1px solid #d8e7eb;border-radius:13px;background:#fff;min-width:0}
.crwx-journey-status-grid span,.crwx-journey-mini span{color:#9a6a28;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.crwx-journey-status-grid strong{color:#274a56;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.crwx-journey-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.4fr);gap:16px;align-items:start}
.crwx-journey-summary,.crwx-journey-edit,.crwx-journey-sessions{border-radius:20px!important}
.crwx-journey-summary h3{margin:5px 0;color:#173844;font-size:21px}
.crwx-journey-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.crwx-journey-mini>div{display:grid;gap:4px;padding:10px;border:1px solid #e0eaed;border-radius:12px;background:#f8fbfc}
.crwx-journey-mini strong{color:#274a56;font-size:12px;overflow-wrap:anywhere}.crwx-journey-mini small{color:#71858d;font-size:10px}
.crwx-journey-edit select,.crwx-journey-session-form select{width:100%;min-height:44px;padding:10px 11px;border:1px solid #d4e4e8;border-radius:11px;background:#fff;color:#173844;font:inherit}
.crwx-journey-sessions{margin-top:16px}
.crwx-journey-session-form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.4fr;gap:9px;align-items:end;margin-top:12px}
.crwx-journey-session-form label{display:grid;gap:5px;color:#526d77;font-size:10px;font-weight:850}
.crwx-journey-session-form input,.crwx-journey-session-form select{min-width:0;width:100%;min-height:42px;padding:9px 10px;border:1px solid #d4e4e8;border-radius:10px;background:#fff;color:#173844}
.crwx-journey-session-form .crwx-check{display:flex;align-items:center;gap:6px;align-self:center;min-height:42px}.crwx-journey-session-form .crwx-check input{width:auto;min-height:auto}
.crwx-journey-session-form>[data-session-status]{grid-column:1/-1}
.crwx-journey-session-list{display:grid;gap:8px;margin-top:14px}
.crwx-journey-session{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dde9ec;border-radius:14px;background:#f9fcfd}
.crwx-journey-session>div:first-child{display:grid;gap:3px;min-width:0}.crwx-journey-session strong{color:#274a56}.crwx-journey-session span{color:#607983;font-size:11px}.crwx-journey-session small{color:#9a6a28;font-size:9px;font-weight:850}

@media(max-width:980px){
  .crwx-journey-hero{grid-template-columns:1fr}.crwx-journey-grid{grid-template-columns:1fr}.crwx-journey-session-form{grid-template-columns:repeat(2,minmax(0,1fr))}.crwx-journey-session-form>[data-session-status]{grid-column:1/-1}
}
@media(max-width:680px){
  .crwx-cert-grid{grid-template-columns:1fr}.crwx-cert-facts{grid-template-columns:1fr}.crwx-cert-image{height:170px}
  .crwx-journey-status-grid{grid-template-columns:1fr}.crwx-journey-mini{grid-template-columns:1fr}.crwx-journey-session-form{grid-template-columns:1fr}.crwx-journey-session{align-items:flex-start;flex-direction:column}.crwx-journey-session .crwx-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
}
