/* SmartCBT 25.32 — appearance only. Entitlements remain enforced by the server. */
.scl-feature-locked.scl-ui-lock:not(.scl-control-locked) {
  min-height:max(264px,var(--scl-ui-fit-height,0px));max-height:max(360px,var(--scl-ui-fit-height,0px));border:1px solid var(--ap-p200)!important;
  border-radius:22px!important;background:var(--ap-surface,#fff);
  box-shadow:0 12px 36px rgba(var(--ap-primary-rgb),.06)!important;
}
.scl-feature-locked.scl-ui-lock:not(.scl-control-locked)>:not(.scl-feature-lock-overlay) {
  filter:blur(2px)!important;opacity:.3;pointer-events:none!important;
}
.scl-ui-lock .scl-feature-lock-overlay {
  display:grid;place-items:center;padding:28px;gap:0;text-align:left;
  color:var(--ap-ink,#25364d)!important;
  background:radial-gradient(ellipse at 8% 10%,rgba(var(--ap-primary-rgb),.14),transparent 58%),
    radial-gradient(ellipse at 100% 95%,rgba(var(--ap-accent-rgb),.1),transparent 45%),
    linear-gradient(125deg,rgba(255,255,255,.89),rgba(255,255,255,.96));
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.scl-ui-lock .scl-feature-lock-overlay::before {
  content:"";position:absolute;right:-62px;bottom:-118px;width:320px;height:320px;
  border:1px solid rgba(var(--ap-primary-rgb),.12);border-radius:50%;pointer-events:none;
  box-shadow:0 0 0 26px rgba(var(--ap-primary-rgb),.024),0 0 0 58px rgba(var(--ap-primary-rgb),.018);
}
.scl-ui-lock .scl-ui-lock-card {
  position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;
  gap:26px;width:100%;max-width:620px;padding:25px 28px;min-width:0;
  border:1px solid rgba(var(--ap-primary-rgb),.18);border-radius:20px;
  background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(255,255,255,.79));
  box-shadow:0 15px 42px rgba(var(--ap-primary-rgb),.075),inset 0 1px 0 #fff;
}
.scl-ui-lock .scl-ui-lock-art {
  position:relative;display:grid;place-items:center;width:104px;height:104px;
  color:var(--ap-link);border-radius:30px;
  background:linear-gradient(145deg,var(--ap-primary-soft),rgba(255,255,255,.85));
  border:1px solid rgba(var(--ap-primary-rgb),.15);
}
.scl-ui-lock .scl-ui-lock-art::before,.scl-ui-lock .scl-ui-lock-art::after {
  content:"";position:absolute;width:78px;height:78px;border:1px solid rgba(var(--ap-primary-rgb),.19);
  border-radius:24px;transform:rotate(18deg);pointer-events:none;
}
.scl-ui-lock .scl-ui-lock-art::after {width:56px;height:56px;border-style:dashed;transform:rotate(-18deg)}
.scl-ui-lock .scl-ui-lock-art>svg {position:relative;width:32px;height:32px;z-index:1}
.scl-ui-lock .scl-ui-lock-copy {min-width:0}
.scl-ui-lock .scl-ui-lock-status {
  display:inline-flex;align-items:center;gap:6px;padding:5px 10px;margin:0 0 10px;
  border:1px solid rgba(var(--ap-primary-rgb),.13);border-radius:99px;
  color:var(--ap-nav-deep)!important;background:var(--ap-p50);font-size:10px;font-weight:750;line-height:1.3;
}
.scl-ui-lock .scl-ui-lock-status>svg {width:11px;height:11px;flex:none}
.scl-ui-lock .scl-ui-lock-copy>h3 {
  margin:0 0 8px!important;font-size:clamp(18px,1.7vw,23px)!important;line-height:1.32!important;
  font-weight:800!important;letter-spacing:-.35px;color:var(--ap-heading,var(--ap-ink,#25364d))!important;
  overflow-wrap:anywhere;
}
.scl-ui-lock .scl-ui-lock-copy>p {
  margin:0!important;max-width:390px;color:var(--ap-theme-muted,#4b5563)!important;
  font-size:12px!important;line-height:1.7!important;
}
.scl-ui-lock .scl-ui-lock-copy>.scl-ui-lock-action {
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;
  padding:10px 15px;margin:16px 0 0;border:0;border-radius:11px;white-space:normal;
  background:var(--ap-link);color:#fff!important;font-size:11px;font-weight:750;text-decoration:none!important;
  box-shadow:0 5px 14px rgba(var(--ap-primary-rgb),.16);transition:box-shadow .18s,transform .18s;
}
.scl-ui-lock .scl-ui-lock-action>svg {width:14px;height:14px;flex:none}
.scl-ui-lock .scl-ui-lock-action:hover {transform:translateY(-1px);box-shadow:0 8px 22px rgba(var(--ap-primary-rgb),.22)}
.scl-ui-lock .scl-ui-lock-action:focus-visible {outline:3px solid var(--ap-link);outline-offset:4px}
.ap18-ai-settings.scl-feature-locked.scl-ui-lock {height:max(320px,var(--scl-ui-fit-height,0px))!important;max-height:max(320px,var(--scl-ui-fit-height,0px))!important}
.ap-security-setting-card.scl-feature-locked.scl-ui-lock {height:max(300px,var(--scl-ui-fit-height,0px))!important;max-height:max(300px,var(--scl-ui-fit-height,0px))!important}
.ap-setting-switch.scl-feature-locked.scl-ui-lock {min-height:max(220px,var(--scl-ui-fit-height,0px))!important;max-height:none!important}
.scl-ui-lock.scl-ui-lock-compact .scl-feature-lock-overlay {padding:14px}
.scl-ui-lock-compact .scl-ui-lock-card {grid-template-columns:40px minmax(0,1fr);gap:14px;padding:16px;border-radius:15px}
.scl-ui-lock-compact .scl-ui-lock-art {width:40px;height:40px;border-radius:12px;align-self:start;margin-top:3px}
.scl-ui-lock-compact .scl-ui-lock-art::before,.scl-ui-lock-compact .scl-ui-lock-art::after {display:none}
.scl-ui-lock-compact .scl-ui-lock-art>svg {width:19px;height:19px}
.scl-ui-lock-compact .scl-ui-lock-copy>h3 {font-size:15px!important}
.scl-ui-lock-compact .scl-ui-lock-copy>p {font-size:11px!important}
.scl-ui-lock-compact .scl-ui-lock-copy>.scl-ui-lock-action {margin-top:10px;padding:7px 11px;min-height:32px}
/* Badges participate in layout. Long labels never sit underneath the status. */
.scl-control-locked.scl-ui-lock {
  display:inline-flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;
  padding:10px 13px!important;min-height:40px;max-width:100%;height:auto!important;
  border:1px solid rgba(var(--ap-primary-rgb),.2)!important;border-radius:12px!important;
  background:linear-gradient(135deg,var(--ap-p50),var(--ap-primary-soft))!important;
  color:var(--ap-theme-muted,#4b5563)!important;text-shadow:none!important;box-shadow:none!important;
}
.scl-control-locked.scl-ui-lock>.scl-locked-control-content {
  display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%;
  filter:none!important;opacity:1!important;font-size:inherit;line-height:1.5;white-space:normal;overflow-wrap:anywhere;
}
.scl-control-locked.scl-ui-lock>.scl-locked-control-content>span {min-width:0;white-space:normal;overflow-wrap:anywhere}
.scl-control-locked.scl-ui-lock .scl-locked-control-content * {color:inherit!important;text-shadow:none!important}
button.scl-control-locked.scl-ui-lock {cursor:not-allowed!important}
.scl-control-locked.scl-ui-lock>.scl-control-lock-badge {
  position:static!important;inset:auto!important;display:inline-flex;align-items:center;justify-content:center;
  gap:5px;flex:none;padding:4px 8px!important;border:1px solid rgba(var(--ap-primary-rgb),.17);
  border-radius:99px;background:rgba(255,255,255,.78);color:var(--ap-nav-deep)!important;
  font-size:9px!important;font-weight:750!important;line-height:1.4;text-shadow:none!important;
}
.scl-control-locked.scl-ui-lock>.scl-control-lock-badge::before {content:none!important}
.scl-control-lock-badge>svg {width:10px;height:10px;flex:none}
.sidebar-menu .scl-control-locked.scl-ui-lock {
  display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;gap:6px;
  padding:11px 13px!important;margin:4px 0!important;min-height:58px;border-radius:12px!important;
  border-color:rgba(var(--ap-primary-rgb),.32)!important;
  background:linear-gradient(120deg,rgba(var(--ap-primary-rgb),.15),rgba(var(--ap-secondary-rgb),.09))!important;
  color:var(--ap-on-sidebar,#fff)!important;
}
.sidebar-menu .scl-control-locked.scl-ui-lock>.scl-locked-control-content {gap:10px;align-items:flex-start;font-size:12px;line-height:1.5}
.sidebar-menu .scl-locked-control-content>i:first-child {display:inline-grid;place-items:center;width:20px;min-height:20px;flex:none;font-size:13px;opacity:.85}
.sidebar-menu .scl-locked-control-content>.pull-right,.sidebar-menu .scl-locked-control-content>.pull-right-container {display:none}
.sidebar-menu .scl-control-locked.scl-ui-lock>.scl-control-lock-badge {
  align-self:flex-start;margin-left:30px;padding:3px 8px!important;
  background:var(--ap-nav-deep);border-color:rgba(var(--ap-primary-rgb),.5);
  color:var(--ap-on-sidebar,#fff)!important;font-size:9px!important;
}
.sidebar-menu .scl-control-locked.scl-ui-lock:hover {border-color:rgba(var(--ap-primary-rgb),.55)!important;background:rgba(var(--ap-primary-rgb),.2)!important}
.scl-control-locked.scl-ui-lock:focus-visible {outline:2px solid var(--ap-accent);outline-offset:3px}
@keyframes scl-lock-orbit {0%,100%{transform:rotate(18deg)}50%{transform:rotate(27deg)}}
@media(prefers-reduced-motion:no-preference) {.scl-ui-lock .scl-ui-lock-art::before{animation:scl-lock-orbit 9s ease-in-out infinite}}
@media(max-width:700px) {
  .scl-ui-lock .scl-feature-lock-overlay {padding:18px}
  .scl-ui-lock .scl-ui-lock-card {grid-template-columns:65px minmax(0,1fr);gap:17px;padding:20px}
  .scl-ui-lock .scl-ui-lock-art {width:65px;height:65px;border-radius:20px}
  .scl-ui-lock .scl-ui-lock-art::before {width:48px;height:48px;border-radius:16px}
  .scl-ui-lock .scl-ui-lock-art::after {width:34px;height:34px;border-radius:12px}
  .scl-ui-lock .scl-ui-lock-art>svg {width:23px;height:23px}
  .scl-ui-lock .scl-ui-lock-copy>h3 {font-size:18px!important}
  .scl-ui-lock-compact .scl-ui-lock-card {grid-template-columns:34px minmax(0,1fr);gap:11px;padding:13px}
  .scl-ui-lock-compact .scl-ui-lock-art {width:34px;height:34px;border-radius:10px}
}
@media(max-width:420px) {
  .scl-ui-lock:not(.scl-ui-lock-compact) .scl-ui-lock-card {grid-template-columns:1fr;gap:12px;padding:19px}
  .scl-ui-lock:not(.scl-ui-lock-compact) .scl-ui-lock-art {width:42px;height:42px;border-radius:13px}
  .scl-ui-lock:not(.scl-ui-lock-compact) .scl-ui-lock-art::before,.scl-ui-lock:not(.scl-ui-lock-compact) .scl-ui-lock-art::after {display:none}
  .ap18-ai-settings.scl-feature-locked.scl-ui-lock {height:max(350px,var(--scl-ui-fit-height,0px))!important;max-height:max(350px,var(--scl-ui-fit-height,0px))!important}
}
@media(prefers-reduced-motion:reduce) {.scl-ui-lock *{animation:none!important;transition:none!important}}
