/* PMY Academy V10 — final object-level theme contract. Load last. */
:root{color-scheme:dark;--pmy-bg:#090a0c;--pmy-surface:#111318;--pmy-surface-2:#171a20;--pmy-surface-3:#1d2129;--pmy-text:#f7f4eb;--pmy-muted:#b7b1a5;--pmy-border:rgba(214,173,73,.24);--pmy-gold:#d6ad49;--pmy-shadow:0 16px 40px rgba(0,0,0,.28);--pmy-card:var(--pmy-surface);--card:var(--pmy-surface);--surface:var(--pmy-surface);--panel:var(--pmy-surface)}
html.pmy-light{color-scheme:light;--pmy-bg:#f4f0e7;--pmy-surface:#fffdf8;--pmy-surface-2:#f8f3e8;--pmy-surface-3:#eee7d8;--pmy-text:#18140d;--pmy-muted:#62594e;--pmy-border:rgba(72,55,20,.20);--pmy-shadow:0 14px 34px rgba(72,55,20,.10);--pmy-card:var(--pmy-surface);--card:var(--pmy-surface);--surface:var(--pmy-surface);--panel:var(--pmy-surface)}
html,body{background:var(--pmy-bg)!important;color:var(--pmy-text)!important}
body,body *{box-sizing:border-box}
/* Every page surface follows the same tokens. */
body :is(main,section,article,aside,header,footer,nav,form,fieldset,dialog,.pmy-main,.pmy-content,.pmy-page,.pmy-page-card,.pmy-card,.pmy-panel,.pmy-section,.pmy-block,.pmy-box,.pmy-modal,.modal,.card,.panel,.box,.surface,.widget,.tile,.stat,.metric,.notice,.alert,.table-wrap,.table-card,.chart-card,.summary-card,.review-card,.question-card,.option-card,.builder-card,.v10-card,.v10-panel,.v10-shell-card,.auth-card,.pricing-card,.plan-card,.feature-card,.content-card,.admin-card,.dashboard-card,.glass,.glass-card){color:var(--pmy-text)}
body:not(.pmy-light) :is(.pmy-page-card,.pmy-card,.pmy-panel,.pmy-section,.pmy-block,.pmy-box,.pmy-modal,.modal,.card,.panel,.box,.surface,.widget,.tile,.stat,.metric,.notice,.alert,.table-wrap,.table-card,.chart-card,.summary-card,.review-card,.question-card,.option-card,.builder-card,.v10-card,.v10-panel,.v10-shell-card,.auth-card,.pricing-card,.plan-card,.feature-card,.content-card,.admin-card,.dashboard-card,.glass,.glass-card){background:var(--pmy-surface)!important;border-color:var(--pmy-border)!important;box-shadow:var(--pmy-shadow)}
body.pmy-light :is(.pmy-page-card,.pmy-card,.pmy-panel,.pmy-section,.pmy-block,.pmy-box,.pmy-modal,.modal,.card,.panel,.box,.surface,.widget,.tile,.stat,.metric,.notice,.alert,.table-wrap,.table-card,.chart-card,.summary-card,.review-card,.question-card,.option-card,.builder-card,.v10-card,.v10-panel,.v10-shell-card,.auth-card,.pricing-card,.plan-card,.feature-card,.content-card,.admin-card,.dashboard-card,.glass,.glass-card){background:var(--pmy-surface)!important;color:var(--pmy-text)!important;border-color:var(--pmy-border)!important;box-shadow:var(--pmy-shadow)}
/* Inline white/legacy surfaces are neutralized in dark mode. */
body:not(.pmy-light) [style*="background: white" i],body:not(.pmy-light) [style*="background:white" i],body:not(.pmy-light) [style*="background: #fff" i],body:not(.pmy-light) [style*="background:#fff" i],body:not(.pmy-light) [style*="background-color: white" i],body:not(.pmy-light) [style*="background-color:#fff" i]{background:var(--pmy-surface)!important;color:var(--pmy-text)!important;border-color:var(--pmy-border)!important}
body:not(.pmy-light) :is(input,select,textarea,option,.pmy-input,.pmy-select){background:#0d0f13!important;color:#f7f4eb!important;border-color:rgba(214,173,73,.27)!important;caret-color:#f7f4eb!important}
body.pmy-light :is(input,select,textarea,option,.pmy-input,.pmy-select){background:#fffdf8!important;color:#18140d!important;border-color:rgba(72,55,20,.24)!important;caret-color:#18140d!important}
input::placeholder,textarea::placeholder{color:var(--pmy-muted)!important;opacity:1!important}
table,thead,tbody,tr,th,td{border-color:var(--pmy-border)!important}th{background:var(--pmy-surface-2)!important;color:var(--pmy-text)!important}td{background:transparent!important;color:var(--pmy-text)!important}
/* Canonical buttons: never white-on-white or black-on-black. */
body :is(button,.btn,.pmy-btn,.pmy-public-link,.pmy-secondary-btn,.pmy-theme-btn){color:var(--pmy-text);border-color:var(--pmy-border)}
body:not(.pmy-light) :is(button,.btn,.pmy-btn,.pmy-public-link,.pmy-secondary-btn,.pmy-theme-btn):not(.gold):not(.pmy-btn-gold):not([data-shell-logout]):not(.pmy-canonical-logout){background:var(--pmy-surface-2)!important;color:var(--pmy-text)!important;border-color:var(--pmy-border)!important}
body.pmy-light :is(button,.btn,.pmy-btn,.pmy-public-link,.pmy-secondary-btn,.pmy-theme-btn):not(.gold):not(.pmy-btn-gold):not([data-shell-logout]):not(.pmy-canonical-logout){background:#fff!important;color:#18140d!important;border-color:rgba(72,55,20,.22)!important}
body :is([data-shell-logout],[data-logout],.pmy-logout,.logout-btn,.pmy-canonical-logout),body.pmy-light :is([data-shell-logout],[data-logout],.pmy-logout,.logout-btn,.pmy-canonical-logout){background:linear-gradient(135deg,#e4c260,#c99b2d)!important;color:#100d08!important;border:1px solid #e4c260!important;font-weight:800!important;opacity:1!important;text-shadow:none!important;box-shadow:none!important}
body :is([data-shell-logout],[data-logout],.pmy-logout,.logout-btn,.pmy-canonical-logout):hover{background:#f0d47e!important;color:#080705!important}
/* Language controls always show real flags. */
.lang-switch,.pmy-rc1-language-switch,.pmy-language-switch{display:flex!important;align-items:center!important;gap:7px!important;background:transparent!important}
.lang-switch button,.pmy-rc1-language-switch button,.pmy-language-switch button{display:grid!important;place-items:center!important;width:36px!important;height:30px!important;padding:5px!important;border-radius:8px!important;background:var(--pmy-surface-2)!important;border:1px solid var(--pmy-border)!important;color:var(--pmy-text)!important;overflow:hidden!important}
.lang-switch img,.pmy-rc1-language-switch img,.pmy-language-switch img{display:block!important;width:24px!important;height:16px!important;min-width:24px!important;min-height:16px!important;object-fit:cover!important;visibility:visible!important;opacity:1!important;border-radius:2px!important}
.lang-switch .active,.lang-switch .is-active,.pmy-rc1-language-switch .active,.pmy-rc1-language-switch .is-active,.pmy-language-switch .active,.pmy-language-switch .is-active{border-color:var(--pmy-gold)!important;box-shadow:0 0 0 2px rgba(214,173,73,.20)!important}
/* Fixed typography and readable secondary text. */
html,body,button,input,select,textarea{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif!important}
:is(p,small,label,legend,.muted,.pmy-muted,.subtitle,.description,.hint,.help-text){color:var(--pmy-muted)}
a{color:inherit}a:hover{color:var(--pmy-gold)}
/* Sidebar/topbar must follow theme too. */
body:not(.pmy-light) :is(.pmy-sidebar,.pmy-topbar,.site-header,.client-header){background:#0d0f13!important;color:#f7f4eb!important;border-color:var(--pmy-border)!important}
body.pmy-light :is(.pmy-sidebar,.pmy-topbar,.site-header,.client-header){background:#fffdf8!important;color:#18140d!important;border-color:var(--pmy-border)!important}
/* Native dialogs/popovers and overlays. */
dialog::backdrop,.modal-backdrop,.overlay{background:rgba(0,0,0,.72)!important}
@media(max-width:760px){.lang-switch button,.pmy-rc1-language-switch button,.pmy-language-switch button{width:34px!important;height:29px!important}}

/* V10.9.3 — explicit coverage for dynamically generated and legacy-named objects. */
body:not(.pmy-light) :is(.li-card,.pmy-metric,.pmy-kpi,.dash-card,.deep-card,.v96-mini-card,.pmy-plan-card,.pmy-access-card,.acs-field,.acs-scope-summary,.qe-summary,.qe-list-card,.qe-editor-card,.settings-card,.stripe-card,.form-card,.hero-card,.content-hero,.admin-hero){background:var(--pmy-surface)!important;color:var(--pmy-text)!important;border-color:var(--pmy-border)!important;box-shadow:var(--pmy-shadow)!important}
body.pmy-light :is(.li-card,.pmy-metric,.pmy-kpi,.dash-card,.deep-card,.v96-mini-card,.pmy-plan-card,.pmy-access-card,.acs-field,.acs-scope-summary,.qe-summary,.qe-list-card,.qe-editor-card,.settings-card,.stripe-card,.form-card,.hero-card,.content-hero,.admin-hero){background:var(--pmy-surface)!important;color:var(--pmy-text)!important;border-color:var(--pmy-border)!important;box-shadow:var(--pmy-shadow)!important}
body:not(.pmy-light) :is(.li-card,.pmy-metric,.pmy-kpi,.dash-card,.deep-card,.v96-mini-card,.pmy-plan-card,.pmy-access-card) :is(small,span,p){color:var(--pmy-muted)!important}
body.pmy-light :is(.li-card,.pmy-metric,.pmy-kpi,.dash-card,.deep-card,.v96-mini-card,.pmy-plan-card,.pmy-access-card) :is(small,span,p){color:var(--pmy-muted)!important}
body:not(.pmy-light) :is([class*="card"],[class*="panel"],[class*="metric"],[class*="stat"],[class*="tile"])[style*="#fff" i]{background:var(--pmy-surface)!important;color:var(--pmy-text)!important}
html.pmy-light body,body.pmy-light{background:var(--pmy-bg)!important;color:var(--pmy-text)!important}
html:not(.pmy-light) body{background:var(--pmy-bg)!important;color:var(--pmy-text)!important}


/* V10.9.4 — selected-state, casing and readability contract. */
:is(.v10-pill,.level-badge,[data-project-type],.pricing-path-toggle button,.pricing-frequency button,[data-ai-mode]){text-transform:none!important}
.v10-pill,.level-badge{font-variant-caps:normal!important}
.pricing-path-toggle button.active,.pricing-frequency button.active,[data-billing-toggle].active,[data-sub-path].active,[data-ai-mode].is-active{background:linear-gradient(135deg,#f8dc72,#d7a928)!important;color:#100d08!important;border-color:#f3d56c!important;box-shadow:0 0 0 2px rgba(214,173,73,.22)!important}
.level-badge{color:#171109!important;background:linear-gradient(90deg,#f5dc7a,#d9a92b)!important;font-weight:900!important;opacity:1!important;text-shadow:none!important}
.v10-segmented{display:flex!important;gap:10px!important;flex-wrap:wrap!important}.v10-segmented button{margin:0!important;min-width:120px!important}
body:not(.pmy-light) .pricing-note,body:not(.pmy-light) .pmy-plan-card small{color:#d8d0c0!important}
body.pmy-light .level-badge{color:#171109!important}

/* A8.3.1 — Responsive desktop density for 13–15 inch laptops.
   Uses typography and spacing scaling instead of CSS zoom, preserving layout,
   pointer coordinates, accessibility and simulator behavior. */
:root{
  --pmy-density-font:16px;
  --pmy-density-space:.94;
  --pmy-density-control:42px;
}

@media (min-width:900px) and (max-width:1536px),
       (min-width:900px) and (max-height:900px){
  :root{
    --pmy-density-font:14px;
    --pmy-density-space:.86;
    --pmy-density-control:38px;
  }
  html{font-size:var(--pmy-density-font)!important}

  /* Application shell */
  .pmy-sidebar{width:232px!important}
  .pmy-main{margin-left:232px!important;width:calc(100% - 232px)!important}
  .pmy-topbar{min-height:64px!important;padding:10px 20px!important}
  .pmy-content,.pmy-admin-content{padding:20px!important}
  .pmy-side-link{min-height:38px!important;padding:8px 10px!important}
  .pmy-side-section{margin-bottom:12px!important}
  .pmy-side-user{padding:12px 10px!important}

  /* Global cards, grids and page rhythm */
  .v10-page,.pmy-page{gap:14px!important}
  .v10-grid,.pmy-card-grid,.pmy-dashboard-grid,.pmy-two-column{gap:14px!important}
  :is(.v10-card,.pmy-card,.pmy-panel,.pmy-page-card,.pmy-metric,.pricing-card,.plan-card){
    padding:18px!important;
    border-radius:16px!important;
  }
  .v10-hero-main,.pmy-compact-hero,.pmy-admin-hero{padding:22px!important}
  .v10-title{font-size:clamp(1.9rem,3.8vw,3.7rem)!important}
  h1{line-height:1.04}
  h2{line-height:1.12}
  p{line-height:1.5}

  /* Controls remain comfortably clickable while using less vertical space. */
  :is(button,.btn,.pmy-btn,.pmy-btn-gold,.pmy-secondary-btn,.pmy-public-link,input,select){
    min-height:var(--pmy-density-control)!important;
  }
  :is(input,select,textarea){padding:9px 11px!important}
  textarea{min-height:86px}
  .v10-primary,.v10-secondary{min-height:40px!important;padding-inline:14px!important}

  /* Tables and data-heavy administration pages */
  :is(.pmy-table,.qe-table,table) :is(th,td){padding:9px 10px!important}
  .pmy-table-wrap,.table-wrap,.admin-table-wrap{border-radius:14px!important}

  /* Learning Copilot */
  .v10-ai-learning-hero{gap:18px!important;align-items:center!important}
  .v10-ai-learning-hero .v10-title{font-size:clamp(1.85rem,3.1vw,3rem)!important}
  .v10-ai-kpis{gap:8px!important;min-width:min(460px,48%)!important}
  .v10-ai-kpis>div{min-height:86px!important;padding:11px!important}
  .v10-learning-tabs{top:64px!important}
  .v10-learning-tabs button{min-height:38px!important;padding:0 12px!important}
  .v10-ai-chat{min-height:500px!important}
  .v10-chat-log{max-height:min(52vh,520px)!important}

  /* Simulator and builder density */
  body:has(.simulation-shell) .pmy-content,
  body:has(.simulator-shell) .pmy-content,
  body:has([data-simulation]) .pmy-content{padding:14px 18px!important}
  :is(.question-card,.builder-card,.review-card,.option-card){padding:16px!important}
  :is(.simulation-option,.answer-option,.question-option){padding:11px 13px!important}
}

/* Slightly roomier desktop displays keep the standard 16px scale. */
@media (min-width:1537px) and (min-height:901px){
  html{font-size:16px!important}
}

/* Mobile remains independent from desktop density. */
@media (max-width:899px){
  html{font-size:16px!important}
}


/* A8.3.2 — Typography & component system */
:root{
  --pmy-type-xs:clamp(.72rem,.69rem + .12vw,.79rem);
  --pmy-type-sm:clamp(.82rem,.78rem + .15vw,.90rem);
  --pmy-type-md:clamp(.94rem,.89rem + .18vw,1.02rem);
  --pmy-type-lg:clamp(1.08rem,1.00rem + .32vw,1.24rem);
  --pmy-type-xl:clamp(1.28rem,1.13rem + .58vw,1.62rem);
  --pmy-type-2xl:clamp(1.62rem,1.32rem + 1.12vw,2.30rem);
  --pmy-type-3xl:clamp(2.05rem,1.50rem + 2.15vw,3.35rem);
  --pmy-line-tight:1.08;
  --pmy-line-title:1.16;
  --pmy-line-body:1.52;
  --pmy-radius-sm:10px;
  --pmy-radius-md:14px;
  --pmy-radius-lg:18px;
  --pmy-space-1:6px;
  --pmy-space-2:10px;
  --pmy-space-3:14px;
  --pmy-space-4:18px;
  --pmy-space-5:24px;
  --pmy-space-6:32px;
  --pmy-content-max:1680px;
}
body{font-size:var(--pmy-type-md);line-height:var(--pmy-line-body);text-rendering:optimizeLegibility}
h1,.v10-title{font-size:var(--pmy-type-3xl)!important;line-height:var(--pmy-line-tight)!important;letter-spacing:-.035em}
h2{font-size:var(--pmy-type-2xl)!important;line-height:var(--pmy-line-title)!important;letter-spacing:-.022em}
h3{font-size:var(--pmy-type-xl)!important;line-height:var(--pmy-line-title)!important}
h4,h5,h6{font-size:var(--pmy-type-lg)!important;line-height:var(--pmy-line-title)!important}
:is(p,li,td,th,input,select,textarea,button){font-size:var(--pmy-type-md)}
:is(small,.pmy-muted,.muted,.hint,.help-text,.caption,.pmy-page-kicker,.eyebrow){font-size:var(--pmy-type-sm)}
:is(.pmy-page-kicker,.eyebrow,.pmy-side-title,.pmy-badge){letter-spacing:.11em}
:is(button,.btn,.pmy-btn,.pmy-primary-btn,.pmy-secondary-btn,.pmy-btn-gold,.v10-primary,.v10-secondary,.pmy-public-link){
  min-height:40px;padding:8px 14px;border-radius:var(--pmy-radius-sm);line-height:1.18;display:inline-flex;align-items:center;justify-content:center;gap:8px
}
:is(input,select,.pmy-input,.pmy-select){min-height:40px;border-radius:var(--pmy-radius-sm);padding:8px 11px}
textarea{border-radius:var(--pmy-radius-sm);padding:10px 11px;line-height:1.45;resize:vertical}
label,legend{font-size:var(--pmy-type-sm);font-weight:750;line-height:1.25}
:is(.pmy-card,.pmy-panel,.v10-card,.card,.panel){border-radius:var(--pmy-radius-lg)}
:is(.pmy-table,.qe-table,table){font-size:var(--pmy-type-sm);border-collapse:separate;border-spacing:0}
:is(.pmy-table,.qe-table,table) :is(th,td){padding:10px 12px;vertical-align:middle;line-height:1.35}
:is(.pmy-table,.qe-table,table) th{font-size:var(--pmy-type-xs);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}

/* A8.3.3 — Layout, grid and overflow contract */
.pmy-content,.pmy-admin-content,.v10-page,.pmy-page{width:100%;max-width:var(--pmy-content-max);margin-inline:auto}
:is(.pmy-card-grid,.pmy-dashboard-grid,.v10-grid,.v10-kpi-grid,.pmy-kpi-grid,.pmy-admin-grid,.pmy-form-grid,.v10-form-grid,.academic-grid,.acs-grid,.deep-grid,.client-grid,.contact-grid,.pmy-guide-grid){
  display:grid;gap:clamp(12px,1.2vw,20px);align-items:stretch
}
.pmy-dashboard-grid,.pmy-kpi-grid,.v10-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.pmy-card-grid,.v10-grid,.pmy-admin-grid{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))}
.pmy-form-grid,.v10-form-grid,.academic-grid,.acs-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.pmy-two-column{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:clamp(14px,1.5vw,24px);align-items:start}
:is(.pmy-panel,.pmy-card,.v10-card,.player-card,.qe-list-card,.qe-editor-card){min-width:0;overflow-wrap:anywhere}
:is(.pmy-table-wrap,.table-wrap,.admin-table-wrap){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
img,video,canvas,svg,object,iframe{max-width:100%}
.pmy-actions-row,.v10-hero-actions,.player-actions,.question-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pmy-actions-row>*{flex:0 0 auto}
.pmy-compact-hero,.pmy-admin-hero,.v10-hero-main{display:flex;justify-content:space-between;gap:clamp(16px,2vw,32px);align-items:center}
.pmy-compact-hero>div:first-child,.pmy-admin-hero>div:first-child,.v10-hero-main>div:first-child{min-width:0;flex:1 1 620px}
.pmy-compact-hero .pmy-actions-row,.pmy-admin-hero .pmy-actions-row,.v10-hero-actions{flex:0 1 auto;justify-content:flex-end}

/* A8.3.4 — Simulator and builder experience */
body.player-shell{min-height:100dvh;overflow-x:hidden}
body.player-shell .player-main{width:min(1180px,calc(100% - 28px));margin-inline:auto;padding:clamp(12px,2vh,22px) 0 26px}
body.player-shell .player-top{margin-bottom:clamp(12px,1.8vh,20px);align-items:flex-start}
body.player-shell .player-top h1{margin:.2em 0 0;font-size:clamp(1.55rem,2.4vw,2.35rem)!important}
body.player-shell .player-actions{justify-content:flex-end}
body.player-shell .player-actions .btn{min-height:38px;padding:7px 12px!important}
body.player-shell .player-card{padding:clamp(16px,2.2vw,26px)!important}
body.player-shell #scenario{font-size:clamp(.92rem,1.2vw,1.08rem)!important;line-height:1.45;margin:10px 0}
body.player-shell #question{font-size:clamp(1.22rem,1.8vw,1.65rem)!important;line-height:1.28;margin:10px 0 16px}
body.player-shell :is(.option-btn,.simulation-option,.answer-option,.question-option){min-height:44px;padding:10px 13px!important;line-height:1.35}
body.player-shell .question-actions{margin-top:14px;position:sticky;bottom:10px;z-index:6;padding:8px;border:1px solid var(--pmy-border);border-radius:14px;background:color-mix(in srgb,var(--pmy-bg) 88%,transparent);backdrop-filter:blur(10px)}
body.player-shell .question-media-slot{margin:12px 0 16px;padding:10px}
body.player-shell .media-preview-btn img{max-height:min(42vh,360px)}
body.player-shell .review-nav{margin:12px 0;gap:6px}
body.player-shell .review-pill{padding:6px 10px}
body:has(.builder-auth) :is(.pmy-content,.v10-page),body:has(.learning-builder) :is(.pmy-content,.v10-page){max-width:1500px}
:is(.builder-mode-grid,.radio-grid,.learning-path-choice-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}
:is(.builder-mode-choice,.radio-card,.learning-path-choice-card){padding:14px!important;min-height:0!important}

/* Responsive refinements */
@media (max-width:1100px){
  .pmy-two-column{grid-template-columns:1fr}
  .pmy-compact-hero,.pmy-admin-hero,.v10-hero-main{align-items:flex-start;flex-direction:column}
  .pmy-compact-hero .pmy-actions-row,.pmy-admin-hero .pmy-actions-row,.v10-hero-actions{justify-content:flex-start;width:100%}
}
@media (max-width:899px){
  :root{--pmy-content-max:100%}
  .pmy-content,.pmy-admin-content{padding:14px!important}
  :is(.pmy-card,.pmy-panel,.v10-card,.player-card){padding:15px!important}
  .pmy-card-grid,.pmy-dashboard-grid,.v10-grid,.pmy-admin-grid,.pmy-form-grid,.v10-form-grid{grid-template-columns:1fr}
  body.player-shell .player-top{flex-direction:column}
  body.player-shell .player-actions{width:100%;justify-content:flex-start}
  body.player-shell .question-actions{position:static}
}
@media (max-width:560px){
  h1,.v10-title{font-size:clamp(1.75rem,9vw,2.35rem)!important}
  .pmy-actions-row>* ,.v10-hero-actions>*{flex:1 1 100%}
  body.player-shell .player-actions .btn{flex:1 1 auto}
}

/* Motion and accessibility remain first-class after density changes. */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media (forced-colors:active){:is(button,input,select,textarea,.pmy-card,.pmy-panel){border:1px solid CanvasText!important}}


/* WBS8 player top-gap and empty progress correction */
body.player-shell .player-card>h1:first-child{margin-top:0!important}
body.player-shell.player-error .gauge-wrap{display:none!important}

/* WBS8 responsive Builder mode labels */
@media(max-width:899px){.builder-mode-choice{flex-direction:column;align-items:flex-start;gap:8px}}
