[hidden]{display:none!important}
:root{--bg:#070706;--panel:#11100e;--panel2:#161411;--text:#f6f1e8;--muted:#a8a096;--gold:#d4af37;--gold2:#f2d779;--line:rgba(255,255,255,.10);--soft:rgba(255,255,255,.045);--sidebar:244px;--sidebar-collapsed:74px;--radius:16px;--max:1480px}*{box-sizing:border-box}body.pmy-app-body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% -10%,rgba(212,175,55,.13),transparent 28%),var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.45}.pmy-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}.pmy-sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;gap:14px;padding:18px 14px;background:linear-gradient(180deg,#080807,#11100e);border-right:1px solid var(--line);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.45) rgba(255,255,255,.04)}.pmy-sidebar::-webkit-scrollbar{width:8px}.pmy-sidebar::-webkit-scrollbar-thumb{background:rgba(212,175,55,.42);border-radius:999px}.pmy-logo-block{text-align:center;border-bottom:1px solid var(--line);padding-bottom:14px}.pmy-logo-block img{width:68px;display:block;margin:0 auto 8px}.pmy-logo-block b{font-size:12px;letter-spacing:.28em}.pmy-side-toggle,.pmy-theme-btn,.pmy-secondary-btn,.pmy-btn-ghost{border:1px solid rgba(212,175,55,.25);background:rgba(255,255,255,.04);color:var(--text);border-radius:10px;cursor:pointer;text-decoration:none}.pmy-side-toggle{height:32px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.pmy-side-section{display:grid;gap:5px}.pmy-side-title{font-size:10px;letter-spacing:.20em;color:var(--muted);margin:8px 0 2px;text-transform:uppercase}.pmy-side-link{min-height:34px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:#d8d1c6;text-decoration:none;border:1px solid transparent}.pmy-side-link:hover,.pmy-side-link.active{background:rgba(212,175,55,.12);border-color:rgba(212,175,55,.30);color:#fff}.pmy-side-icon{width:20px;text-align:center;color:var(--gold)}.pmy-side-user{margin-top:auto;border-top:1px solid var(--line);padding-top:13px;display:flex;gap:10px;align-items:center}.pmy-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#8d6f17);color:#111;font-weight:900}.pmy-side-user b{display:block;font-size:13px}.pmy-side-user small{display:block;color:var(--muted);font-size:12px}.pmy-main{min-width:0}.pmy-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);background:rgba(10,10,9,.78);backdrop-filter:blur(18px);position:sticky;top:0;z-index:5}.pmy-page-kicker{font-size:10px;letter-spacing:.26em;color:var(--gold);text-transform:uppercase;font-weight:900}.pmy-breadcrumb{font-size:12px;color:var(--muted);margin-top:3px}.pmy-breadcrumb a{color:var(--muted);text-decoration:none}.pmy-top-actions,.pmy-actions-row,.pmy-action-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pmy-public-link,.pmy-upgrade{padding:8px 12px;border-radius:10px;text-decoration:none;font-weight:800;font-size:12px}.pmy-public-link{color:#d9d1c8;border:1px solid var(--line)}.pmy-upgrade,.pmy-btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#12100b;border:0}.pmy-theme-btn{width:36px;height:36px}.pmy-content{max-width:var(--max);padding:24px 30px 54px}.pmy-panel,.pmy-metric,.pmy-plan-card{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 18px 44px rgba(0,0,0,.22);margin-bottom:18px}.pmy-panel h1{font-size:clamp(34px,3vw,50px);line-height:1;margin:8px 0 10px;letter-spacing:-.045em}.pmy-panel h2{font-size:22px;margin:0 0 12px}.pmy-panel h3{font-size:15px;margin:0 0 10px}.pmy-muted{color:var(--muted);font-size:14px}.pmy-badge{display:inline-flex;align-items:center;border:1px solid rgba(212,175,55,.28);background:rgba(212,175,55,.08);color:var(--gold2);border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.pmy-compact-hero,.pmy-builder-hero{display:flex;justify-content:space-between;gap:18px;align-items:center}.pmy-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.pmy-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pmy-metric b{display:block;font-size:28px;margin:8px 0 4px;letter-spacing:-.04em}.pmy-two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pmy-btn-gold,.pmy-secondary-btn,.pmy-btn-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:10px;text-decoration:none;font-weight:900;letter-spacing:.06em;font-size:12px}.pmy-secondary-btn,.pmy-btn-ghost{background:rgba(255,255,255,.05);color:var(--text)}.pmy-table{width:100%;border-collapse:separate;border-spacing:0 8px}.pmy-table th{text-align:left;color:var(--muted);font-size:10px;letter-spacing:.15em;text-transform:uppercase;padding:0 12px}.pmy-table td{background:rgba(255,255,255,.04);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px}.pmy-table td:first-child{border-left:1px solid var(--line);border-radius:10px 0 0 10px}.pmy-table td:last-child{border-right:1px solid var(--line);border-radius:0 10px 10px 0}.pmy-empty-inline,.pmy-empty-state{border:1px dashed rgba(212,175,55,.26);border-radius:14px;padding:18px;color:var(--muted);background:rgba(212,175,55,.04)}.pmy-input,.pmy-select{width:100%;height:42px;background:rgba(255,255,255,.055);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:0 12px}.pmy-label{display:block;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:7px}.pmy-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pmy-builder-form-v4{display:grid;gap:18px}.pmy-builder-summary{min-width:280px;border:1px solid rgba(212,175,55,.18);border-radius:14px;padding:16px;background:rgba(0,0,0,.16)}.pmy-builder-summary ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.pmy-builder-summary li{display:flex;justify-content:space-between;gap:14px}.pmy-builder-summary span{color:var(--muted)}.pmy-taxonomy-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.pmy-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:100%;overflow:hidden}.pmy-check-card{display:flex;align-items:flex-start;gap:8px;min-width:0;border:1px solid var(--line);background:rgba(255,255,255,.035);border-radius:10px;padding:9px;color:var(--text);cursor:pointer}.pmy-check-card input{margin-top:2px;flex:0 0 auto}.pmy-check-label{overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:1.25}.pmy-check-card small{display:block;color:var(--muted);font-size:11px}.pmy-subdomain-group{grid-column:1/-1;border:1px solid var(--line);border-radius:12px;padding:12px;background:rgba(255,255,255,.025)}.pmy-subdomain-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pmy-radio-row,.pmy-check-line{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.pmy-check-line{margin:8px 0 14px}.pmy-timing-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}.pmy-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pmy-time-unit{display:grid;grid-template-columns:34px 1fr 34px;grid-template-rows:38px 22px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:rgba(0,0,0,.18)}.pmy-time-input{grid-column:2;grid-row:1;text-align:center;border:0!important;border-radius:0!important;background:transparent!important;font-weight:900;color:var(--text);padding:0}.pmy-time-step{grid-row:1;border:0;background:rgba(212,175,55,.10);color:var(--gold2);cursor:pointer;font-weight:900}.pmy-time-step:hover{background:rgba(212,175,55,.20)}.pmy-time-unit span{grid-column:1/-1;grid-row:2;text-align:center;border-top:1px solid var(--line);font-size:10px;letter-spacing:.13em;color:var(--muted);text-transform:uppercase;line-height:22px}.pmy-time-input::-webkit-outer-spin-button,.pmy-time-input::-webkit-inner-spin-button{appearance:none;margin:0}.pmy-review-time{margin:6px 0 16px}.pmy-builder-footer{display:flex;justify-content:space-between;gap:14px;align-items:center}.pmy-notice{border:1px solid rgba(212,175,55,.30);border-radius:12px;padding:12px 14px;color:var(--muted);flex:1}.pmy-notice.is-error{border-color:rgba(255,100,100,.45);color:#ffd0d0}.pmy-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pmy-plan-card h3{font-size:20px;margin:10px 0}.pmy-plan-featured{border-color:rgba(212,175,55,.45)}.pmy-price strong{font-size:34px;letter-spacing:-.05em}.pmy-price span{color:var(--muted)}.pmy-billed{font-size:12px;color:var(--muted);margin:6px 0 12px}.pmy-plan-card ul{padding-left:18px;color:#dcd5cc}.pmy-current-plan{border:1px solid rgba(212,175,55,.28);border-radius:14px;padding:14px 18px;min-width:220px}.pmy-current-plan b{font-size:22px;display:block}.pmy-bar-row{display:grid;grid-template-columns:170px 1fr 120px;gap:12px;align-items:center;margin:10px 0}.pmy-bar-track,.pmy-progress-track{height:8px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}.pmy-bar-track span,.pmy-progress-fill{display:block;height:100%;background:linear-gradient(90deg,#4ad66d,var(--gold),#ff5c5c)}.pmy-insight{border:1px solid var(--line);border-radius:12px;padding:12px;margin:10px 0}.pmy-admin-content{max-width:1280px;margin:0 auto}.pmy-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pmy-admin-grid a{border:1px solid var(--line);border-radius:12px;padding:16px;color:var(--text);text-decoration:none;background:rgba(255,255,255,.04)}body.pmy-sidebar-collapsed .pmy-shell{grid-template-columns:var(--sidebar-collapsed) 1fr!important}body.pmy-sidebar-collapsed .pmy-sidebar{width:var(--sidebar-collapsed);padding-left:9px;padding-right:9px}body.pmy-sidebar-collapsed .pmy-logo-block b,body.pmy-sidebar-collapsed .pmy-side-title,body.pmy-sidebar-collapsed .pmy-side-text,body.pmy-sidebar-collapsed .pmy-side-user div{display:none!important}body.pmy-sidebar-collapsed .pmy-logo-block img{width:46px}body.pmy-sidebar-collapsed .pmy-side-link{justify-content:center;padding-left:0;padding-right:0}body.pmy-sidebar-collapsed .pmy-side-toggle{font-size:0;padding:0}body.pmy-sidebar-collapsed .pmy-side-toggle:after{content:'☰';font-size:18px}.pmy-light{--bg:#f7f4ee;--panel:#fff;--panel2:#f4efe5;--text:#18140d;--muted:#665f55;--line:rgba(30,24,15,.13);--soft:rgba(0,0,0,.035);background:#f7f4ee;color:var(--text)}.pmy-light .pmy-sidebar{background:linear-gradient(180deg,#fff,#f1ecdf)}.pmy-light .pmy-topbar{background:rgba(255,255,255,.88)}.pmy-light .pmy-side-link:hover,.pmy-light .pmy-side-link.active{background:#1f1a10;color:#fff}.pmy-light .pmy-input,.pmy-light .pmy-select{background:#fff;color:#18140d}.pmy-light .pmy-time-input{color:#18140d}.pmy-light .pmy-table td{background:#fff}@media(max-width:1200px){.pmy-card-grid,.pmy-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pmy-taxonomy-columns,.pmy-two-column,.pmy-timing-grid{grid-template-columns:1fr}.pmy-compact-hero,.pmy-builder-hero{align-items:flex-start;flex-direction:column}.pmy-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.pmy-shell{grid-template-columns:1fr}.pmy-sidebar{position:relative;height:auto;max-height:70vh}.pmy-topbar{height:auto;min-height:64px;padding:14px;gap:10px;flex-wrap:wrap}.pmy-content{padding:18px}.pmy-card-grid,.pmy-plan-grid,.pmy-form-grid,.pmy-checkbox-grid,.pmy-subdomain-options{grid-template-columns:1fr}.pmy-bar-row{grid-template-columns:1fr}.pmy-panel h1{font-size:36px}}


/* PMY v4.0.1 — Builder label + native select contrast fix */
select,
select option,
.pmy-select,
.pmy-select option {
  background-color: #11100e !important;
  color: #f6f1e8 !important;
}
.pmy-light select,
.pmy-light select option,
.pmy-light .pmy-select,
.pmy-light .pmy-select option,
html[data-theme="light"] select,
html[data-theme="light"] select option,
body.light select,
body.light select option {
  background-color: #ffffff !important;
  color: #18140d !important;
}
.pmy-check-card {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  column-gap: 10px !important;
  row-gap: 4px !important;
  min-height: 52px !important;
}
.pmy-check-card input[type="checkbox"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 2px 0 0 0 !important;
  justify-self: start !important;
  align-self: start !important;
}
.pmy-check-card .pmy-check-label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--text) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.pmy-check-card small {
  grid-column: 2 !important;
  display: block !important;
  color: var(--muted) !important;
}
.pmy-check-card:hover,
.pmy-check-card:has(input:checked) {
  border-color: rgba(212,175,55,.46) !important;
  background: rgba(212,175,55,.08) !important;
}
.pmy-light .pmy-check-card .pmy-check-label {
  color: #18140d !important;
}

/* PMY v4.0.2 — Builder timing density and single duration control */
.pmy-timing-mode-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
.pmy-timing-mode-row label,
.pmy-check-line-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.025) !important;
  color: var(--text) !important;
  font-weight: 700 !important;
}
.pmy-timing-mode-row input,
.pmy-check-line-inline input {
  flex: 0 0 auto !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}
.pmy-single-time-control {
  max-width: 760px !important;
  margin-top: 8px !important;
  padding: 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: rgba(0,0,0,.14) !important;
}
.pmy-single-time-control h3 {
  margin: 0 0 2px !important;
}
.pmy-single-time-control .pmy-muted {
  margin: 0 0 12px !important;
  font-size: 12px !important;
}
.pmy-single-time-control.is-disabled {
  opacity: .55 !important;
}
.pmy-single-time-control.is-disabled .pmy-time-step,
.pmy-single-time-control.is-disabled .pmy-time-input {
  cursor: not-allowed !important;
}
.pmy-time-grid {
  max-width: 720px !important;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) !important;
}
.pmy-time-unit {
  grid-template-columns: 36px minmax(48px, 1fr) 36px !important;
  grid-template-rows: 36px 20px !important;
}
.pmy-review-time {
  max-width: 720px !important;
  margin: 10px 0 16px !important;
}
.pmy-check-line-inline + .pmy-review-time {
  margin-top: 10px !important;
}
@media (max-width: 900px) {
  .pmy-timing-mode-row { grid-template-columns: 1fr !important; }
  .pmy-time-grid { grid-template-columns: 1fr !important; }
}


/* PMY Academy v4.2 Professional Release */
.pmy-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:16px}.pmy-admin-grid a{border:1px solid rgba(212,175,55,.22);border-radius:18px;padding:18px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.02));color:inherit;text-decoration:none;font-weight:700}.pmy-admin-grid a:hover{border-color:rgba(212,175,55,.55);transform:translateY(-1px)}.pmy-status-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.pmy-status-list li{border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:14px;background:rgba(255,255,255,.035);display:grid;gap:5px}.pmy-status-list span{color:var(--pmy-muted,#9ca3af);font-size:.92rem}.pmy-release-ribbon{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(212,175,55,.35);border-radius:999px;padding:8px 12px;background:rgba(212,175,55,.08);color:#d4af37;font-weight:800;letter-spacing:.03em}.pmy-taxonomy-columns{align-items:start}.pmy-check-card small{display:block;color:var(--pmy-muted,#9ca3af);margin-top:4px}.pmy-single-time-control.is-disabled{opacity:.55}.pmy-light .pmy-admin-grid a,.pmy-light .pmy-status-list li{background:rgba(0,0,0,.025);border-color:rgba(0,0,0,.08)}

/* PMY Academy v6.4 Admin SaaS Console */
.pmy-admin-hero{background:radial-gradient(circle at 90% 0%,rgba(212,175,55,.14),transparent 32%),linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.022));}
.pmy-admin-section{margin-bottom:18px}.pmy-section-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.pmy-admin-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pmy-admin-mini-grid div{border:1px solid var(--line);border-radius:14px;padding:14px;background:rgba(255,255,255,.035)}.pmy-admin-mini-grid span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:6px}.pmy-admin-mini-grid b{font-size:24px;letter-spacing:-.04em}.pmy-table-wrap{width:100%;overflow-x:auto}.pmy-admin-content .pmy-card-grid{margin-top:10px}.pmy-admin-content .pmy-metric{min-height:150px}.pmy-admin-content .pmy-metric b{font-size:34px}.pmy-status-list b{color:var(--text)}@media(max-width:760px){.pmy-admin-mini-grid{grid-template-columns:1fr}.pmy-section-header{align-items:flex-start;flex-direction:column}}

/* PMY v7.5.6 taxonomy controls */
.pmy-taxonomy-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px;align-items:center}
.pmy-taxonomy-actions-inline{margin:0}
.pmy-mini-btn{border:1px solid rgba(218,165,32,.45);background:rgba(218,165,32,.08);color:#f5d36b;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;letter-spacing:.025em;text-transform:uppercase;cursor:pointer;max-width:132px;white-space:normal;line-height:1.15;text-align:center}
.pmy-mini-btn:hover{background:rgba(218,165,32,.16)}
.pmy-subdomain-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.pmy-subdomain-group-head h4{margin:0}
@media (max-width:900px){.pmy-subdomain-group-head{align-items:flex-start;flex-direction:column}.pmy-mini-btn{font-size:9px;padding:5px 7px;max-width:120px}}

/* PMY v7.8.0 — light mode contrast hardening */
body.pmy-light,
body.pmy-light .pmy-main,
body.pmy-light .pmy-content,
body.pmy-light .pmy-panel,
body.pmy-light .pmy-metric,
body.pmy-light .pmy-plan-card,
body.pmy-light .pmy-table td,
body.pmy-light .pmy-check-card,
body.pmy-light .pmy-subdomain-group,
body.pmy-light .pmy-builder-summary,
body.pmy-light .pmy-current-plan,
body.pmy-light .pmy-admin-grid a {
  color:#18140d !important;
}
body.pmy-light .pmy-muted,
body.pmy-light .pmy-breadcrumb,
body.pmy-light .pmy-breadcrumb a,
body.pmy-light .pmy-panel p,
body.pmy-light .pmy-empty-inline,
body.pmy-light .pmy-empty-state,
body.pmy-light .pmy-table th,
body.pmy-light .pmy-builder-summary span,
body.pmy-light .pmy-plan-card ul,
body.pmy-light .pmy-check-card small,
body.pmy-light .pmy-time-unit span {
  color:#4f4638 !important;
}
body.pmy-light .pmy-panel,
body.pmy-light .pmy-metric,
body.pmy-light .pmy-plan-card,
body.pmy-light .pmy-check-card,
body.pmy-light .pmy-subdomain-group,
body.pmy-light .pmy-table td {
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,243,232,.96)) !important;
  border-color:rgba(72,55,20,.18) !important;
}
body.pmy-light .pmy-secondary-btn,
body.pmy-light .pmy-btn-ghost,
body.pmy-light .pmy-public-link,
body.pmy-light .pmy-theme-btn,
body.pmy-light .pmy-side-toggle {
  color:#18140d !important;
  background:rgba(255,255,255,.78) !important;
  border-color:rgba(72,55,20,.18) !important;
}
body.pmy-light .pmy-side-link { color:#2a241a !important; }
body.pmy-light .pmy-side-title { color:#6f5b1e !important; }

/* v7.8.8 QA tools */
.pmy-danger-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(220,38,38,.45);background:rgba(220,38,38,.12);color:#fecaca;border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer;text-decoration:none}
body.pmy-light .pmy-danger-btn{color:#991b1b;background:#fee2e2;border-color:#fecaca}
.pmy-ok{color:#22c55e}.pmy-error{color:#ef4444}

.pmy-logo-home-link{cursor:pointer;border-radius:12px;outline:none}.pmy-logo-home-link:focus-visible{box-shadow:0 0 0 2px var(--gold)}

/* PMY Academy v9.0.2 — Content Production action controls */
.pmy-production-actions{display:grid;grid-template-columns:84px auto minmax(112px,auto);gap:12px;align-items:center;justify-content:start;min-width:310px}
.pmy-production-count{width:84px!important;min-width:84px}
.pmy-production-media{margin:0!important;white-space:nowrap;display:inline-flex!important;gap:7px!important;align-items:center!important}
.pmy-production-media input{width:auto!important;margin:0!important}
.pmy-production-generate{appearance:none!important;-webkit-appearance:none!important;min-width:112px!important;height:42px!important;padding:0 18px!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,var(--gold2),var(--gold))!important;color:#12100b!important;font-family:inherit!important;font-size:12px!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(212,175,55,.14)!important}
.pmy-production-generate:hover{filter:brightness(1.05);transform:translateY(-1px)}
.pmy-production-generate:disabled{opacity:.55!important;cursor:wait!important;transform:none!important}
@media(max-width:900px){.pmy-production-actions{grid-template-columns:84px 1fr;min-width:0}.pmy-production-generate{grid-column:1/-1;width:100%}}
/* v9.2.0 AI Review Center */
.pmy-review-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:16px 0}.pmy-review-rule{border:1px solid var(--pmy-border,#36332a);border-radius:12px;padding:12px;background:rgba(255,255,255,.025);display:flex;flex-direction:column;gap:5px}.pmy-review-rule.is-pass b{color:#50d890}.pmy-review-rule.is-fail{border-color:rgba(255,96,96,.45);background:rgba(255,60,60,.05)}.pmy-review-rule.is-fail b{color:#ff7272}.pmy-review-rule small{color:var(--pmy-muted,#b8ae9a);line-height:1.45}.pmy-review-card{padding:20px}.pmy-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.pmy-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:end}.pmy-form-grid label{display:flex;flex-direction:column;gap:8px}.pmy-form-grid input,.pmy-form-grid select{min-height:48px;border:1px solid var(--pmy-border,#3a3629);border-radius:12px;background:#111;color:#fff;padding:0 14px}.pmy-light .pmy-form-grid input,.pmy-light .pmy-form-grid select{background:#fff;color:#111}

/* v9.7.1 Content Studio information architecture */
.pmy-side-subtitle{margin:18px 14px 7px;color:#d8bd62;font-size:.63rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase;opacity:.9}
.pmy-sidebar-collapsed .pmy-side-subtitle{display:none}

/* RC2.025.1 — canonical logout button visual consistency */
.pmy-top-actions button[data-shell-logout],
.pmy-top-actions button[data-shell-logout]:hover,
.pmy-top-actions button[data-shell-logout]:focus,
.pmy-top-actions button[data-shell-logout]:active,
.pmy-top-actions button[data-shell-logout]:disabled {
  -webkit-appearance:none !important;
  appearance:none !important;
  font:inherit !important;
  line-height:1.2 !important;
  background:rgba(255,255,255,.035) !important;
  color:var(--text,#f6f1e8) !important;
  border:1px solid var(--line,rgba(255,255,255,.10)) !important;
  box-shadow:none !important;
  opacity:1 !important;
  filter:none !important;
  cursor:pointer !important;
}
.pmy-top-actions button[data-shell-logout]:hover,
.pmy-top-actions button[data-shell-logout]:focus-visible {
  background:rgba(212,175,55,.10) !important;
  border-color:rgba(212,175,55,.35) !important;
}
body.pmy-light .pmy-top-actions button[data-shell-logout],
body.pmy-light .pmy-top-actions button[data-shell-logout]:disabled {
  background:rgba(24,20,13,.04) !important;
  color:#18140d !important;
  border-color:rgba(72,55,20,.22) !important;
}

/* RC2.025.2 — complete light-mode system, audited across the workspace */
body.pmy-light{
  --bg:#f4f0e7;
  --panel:#ffffff;
  --panel2:#f8f4ec;
  --text:#1b1710;
  --muted:#5f574c;
  --line:rgba(49,39,24,.16);
  --soft:rgba(49,39,24,.045);
  background:radial-gradient(circle at 12% -8%,rgba(212,175,55,.13),transparent 30%),linear-gradient(180deg,#faf8f3,#eee8dd 72%,#e8e0d3) !important;
  color:var(--text) !important;
  color-scheme:light;
}
body.pmy-light .pmy-main,
body.pmy-light .pmy-content,
body.pmy-light .v10-page,
body.pmy-light .v96-section,
body.pmy-light .section,
body.pmy-light .app-main,
body.pmy-light .client-wrap{
  background:transparent !important;
  color:var(--text) !important;
}

/* Keep the navigation rail intentionally dark and fully legible. */
body.pmy-light .pmy-sidebar{
  background:linear-gradient(180deg,#0b0b09,#17140f) !important;
  border-right-color:rgba(212,175,55,.18) !important;
  color:#f7f2e9 !important;
}
body.pmy-light .pmy-sidebar .pmy-logo-block,
body.pmy-light .pmy-sidebar .pmy-side-link,
body.pmy-light .pmy-sidebar .pmy-side-text,
body.pmy-light .pmy-sidebar .pmy-side-user b{
  color:#f7f2e9 !important;
}
body.pmy-light .pmy-sidebar .pmy-side-title,
body.pmy-light .pmy-sidebar .pmy-side-user small{
  color:#aaa194 !important;
}
body.pmy-light .pmy-sidebar .pmy-side-link:hover,
body.pmy-light .pmy-sidebar .pmy-side-link.active,
body.pmy-light .pmy-sidebar .pmy-side-link.is-active{
  background:rgba(212,175,55,.15) !important;
  border-color:rgba(212,175,55,.34) !important;
  color:#fff !important;
}

body.pmy-light .pmy-topbar{
  background:rgba(255,255,255,.94) !important;
  border-bottom-color:rgba(49,39,24,.14) !important;
  box-shadow:0 8px 26px rgba(57,43,19,.07) !important;
  color:var(--text) !important;
}
body.pmy-light .pmy-breadcrumb,
body.pmy-light .pmy-breadcrumb a{color:#62594d !important}

/* Every visual surface uses the same light palette. */
body.pmy-light :is(
  .pmy-panel,.pmy-metric,.pmy-plan-card,.pmy-current-plan,.pmy-builder-summary,
  .pmy-check-card,.pmy-subdomain-group,.pmy-admin-grid a,.pmy-insight,
  .v10-card,.v10-hero-main,.v10-kpi,.v10-empty,.v10-university,.v10-mode,
  .v96-mini-card,.v96-path,.v96-trust-note,.card,.dash-card,.deep-card,
  .client-status,.sim-panel,.question-card,.result-card,.pricing-panel,
  .learning-path-choice-card,.pmy-access-card,.pmy-access-config,
  .pmy-entitlement-card,.pmy-plan-state,.pmy-guide-card,.rc-guide-link,.rc-step,
  .pmy-review-kpi,.pmy-review-card,.pmy-review-rule,.pmy-soft-card,.pmy-kpi
){
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,242,232,.98)) !important;
  border-color:rgba(74,57,25,.17) !important;
  box-shadow:0 18px 44px rgba(55,41,15,.09) !important;
  color:var(--text) !important;
}

body.pmy-light :is(
  h1,h2,h3,h4,h5,h6,
  .v10-title,.v10-card strong,.v10-card b,.v96-mini-card strong,
  .pmy-panel strong,.pmy-panel b,.card strong,.card b,.dash-card strong,.dash-card b
){color:#18140d !important}

body.pmy-light :is(
  p,.muted,.pmy-muted,.v10-muted,.v10-copy,.lead,
  .card p,.dash-card p,.v10-card p,.v96-mini-card p,
  .pmy-panel p,.pmy-metric small,.pmy-plan-card p,
  .pmy-plan-card ul,.pmy-check-card small,.pmy-builder-summary span,
  .pmy-empty-inline,.pmy-empty-state,.pmy-table th
){color:#5b5348 !important}

body.pmy-light :is(.eyebrow,.v10-eyebrow,.pmy-page-kicker,.pmy-badge,.gold,.v96-path-label){
  color:#8b6711 !important;
}

body.pmy-light :is(input,select,textarea,.pmy-input,.pmy-select){
  background:#fff !important;
  color:#18140d !important;
  border-color:rgba(74,57,25,.20) !important;
  box-shadow:none !important;
}
body.pmy-light :is(input,textarea)::placeholder{color:#80776a !important;opacity:1}
body.pmy-light select option{background:#fff !important;color:#18140d !important}

body.pmy-light :is(.pmy-table td,.usage-row,.summary-line){
  background:rgba(255,255,255,.88) !important;
  color:#18140d !important;
  border-color:rgba(74,57,25,.14) !important;
}
body.pmy-light :is(.pmy-bar-track,.pmy-progress-track,.progress){background:rgba(48,38,20,.12) !important}

body.pmy-light :is(.pmy-secondary-btn,.pmy-btn-ghost,.pmy-public-link,.pmy-theme-btn,.pmy-side-toggle,.btn:not(.gold)){
  background:#fff !important;
  color:#18140d !important;
  border-color:rgba(74,57,25,.20) !important;
  box-shadow:none !important;
}
body.pmy-light :is(.pmy-secondary-btn,.pmy-btn-ghost,.pmy-public-link,.pmy-theme-btn,.pmy-side-toggle,.btn:not(.gold)):hover{
  background:#f3ecdf !important;
  border-color:rgba(139,103,17,.45) !important;
}
body.pmy-light :is(.pmy-btn-gold,.pmy-upgrade,.btn.gold,.pmy-commercial-btn){
  color:#12100b !important;
}

body.pmy-light .pmy-rc1-language-switch,
body.pmy-light .lang-switch{
  background:rgba(255,255,255,.72) !important;
  border-color:rgba(74,57,25,.18) !important;
}

/* Page-specific legacy surfaces that previously stayed dark. */
body.pmy-light :is(.auth-page,.auth-wrap,.auth-grid,.auth-hero,.client-body,.player-body){
  background:#f4f0e7 !important;
  color:#18140d !important;
}
body.pmy-light :is(.builder-auth,.pmy-auth-gate,.notice,.acs-summary,.pmy-import-card,.question-media-slot){
  background:#fffaf0 !important;
  color:#3f3525 !important;
  border-color:rgba(139,103,17,.28) !important;
}
body.pmy-light .site-header,
body.pmy-light .client-header{
  background:rgba(255,255,255,.95) !important;
  color:#18140d !important;
  border-color:rgba(74,57,25,.15) !important;
}
body.pmy-light .site-header :is(.menu>a,.drop>button),
body.pmy-light .client-header nav a{color:#2b251c !important}
body.pmy-light .drop-menu{background:#fff !important;border-color:rgba(74,57,25,.18) !important}
body.pmy-light .drop-menu a{color:#2b251c !important}
body.pmy-light .footer{color:#5b5348 !important;border-color:rgba(74,57,25,.15) !important}

/* Never inherit dark text into a dark media/player canvas. */
body.pmy-light :is(.media-preview-btn img,.media-object){background:#f7f4ee !important}

/* Logout remains a normal dark-text ghost button in light mode. */
body.pmy-light .pmy-top-actions button[data-shell-logout],
body.pmy-light .pmy-top-actions button[data-shell-logout]:hover,
body.pmy-light .pmy-top-actions button[data-shell-logout]:focus,
body.pmy-light .pmy-top-actions button[data-shell-logout]:active,
body.pmy-light .pmy-top-actions button[data-shell-logout]:disabled{
  background:#fff !important;
  color:#18140d !important;
  border-color:rgba(74,57,25,.20) !important;
  opacity:1 !important;
}

/* PMY RC2.025 — light-mode visual consistency and accessibility */
body.pmy-light .pmy-sidebar {
  background:linear-gradient(180deg,#fbfaf6 0%,#f1ecdf 100%) !important;
  border-right-color:rgba(72,55,20,.16) !important;
  color:#18140d !important;
}
body.pmy-light .pmy-logo-block {
  border-bottom-color:rgba(72,55,20,.16) !important;
  color:#18140d !important;
}
body.pmy-light .pmy-logo-block b,
body.pmy-light .pmy-side-user b { color:#18140d !important; }
body.pmy-light .pmy-side-user {
  border-top-color:rgba(72,55,20,.16) !important;
}
body.pmy-light .pmy-side-user small { color:#5c5448 !important; }
body.pmy-light .pmy-side-link {
  color:#292218 !important;
  border-color:transparent !important;
}
body.pmy-light .pmy-side-link:hover,
body.pmy-light .pmy-side-link.active,
body.pmy-light .pmy-side-link.is-active {
  background:rgba(212,175,55,.16) !important;
  border-color:rgba(151,111,18,.30) !important;
  color:#18140d !important;
}
body.pmy-light .pmy-side-icon { color:#9b7419 !important; }
body.pmy-light .pmy-avatar {
  color:#18140d !important;
  background:linear-gradient(135deg,#f2d779,#c59628) !important;
}

/* All controls must remain readable on light backgrounds. */
body.pmy-light input,
body.pmy-light select,
body.pmy-light textarea,
body.pmy-light .pmy-input,
body.pmy-light .pmy-select,
body.pmy-light .v10-search,
body.pmy-light .v10-form-stack textarea,
body.pmy-light .v10-chat-form input,
body.pmy-light .v10-chat-form textarea {
  background:#fffdf8 !important;
  color:#1b1711 !important;
  border-color:rgba(72,55,20,.24) !important;
  caret-color:#1b1711 !important;
}
body.pmy-light input::placeholder,
body.pmy-light textarea::placeholder,
body.pmy-light .pmy-input::placeholder,
body.pmy-light .v10-search::placeholder,
body.pmy-light .v10-chat-form input::placeholder,
body.pmy-light .v10-chat-form textarea::placeholder {
  color:#6b6257 !important;
  opacity:1 !important;
}
body.pmy-light select option { color:#1b1711 !important;background:#fffdf8 !important; }
body.pmy-light input:disabled,
body.pmy-light select:disabled,
body.pmy-light textarea:disabled {
  color:#62594e !important;
  background:#eee9de !important;
  opacity:1 !important;
}

/* Segmented choices must not retain the dark-mode black container. */
body.pmy-light .v10-segmented {
  background:#eee7d8 !important;
  border-color:rgba(72,55,20,.22) !important;
}
body.pmy-light .v10-segmented button {
  color:#554c40 !important;
  background:transparent !important;
}
body.pmy-light .v10-segmented button:hover { color:#18140d !important; }
body.pmy-light .v10-segmented button.is-active {
  color:#18140d !important;
  background:linear-gradient(135deg,#f2d779,#d4af37) !important;
  box-shadow:0 2px 8px rgba(72,55,20,.14) !important;
}

/* Legacy toggles and tab groups used by older pages. */
body.pmy-light [role="tablist"],
body.pmy-light .segmented,
body.pmy-light .mode-switch,
body.pmy-light .billing-toggle {
  border-color:rgba(72,55,20,.22) !important;
}
body.pmy-light [role="tablist"] button:not(.is-active):not(.active),
body.pmy-light .segmented button:not(.is-active):not(.active),
body.pmy-light .mode-switch button:not(.is-active):not(.active) {
  color:#554c40 !important;
}

/* Breadcrumb: visible separation between product and current page. */
.pmy-breadcrumb {
  display:flex !important;
  align-items:center !important;
  gap:.55rem !important;
  flex-wrap:wrap !important;
}
.pmy-breadcrumb > span[data-pmy-breadcrumb-separator] {
  color:var(--gold) !important;
  font-weight:700 !important;
}
