.apa-menu-search-item{position:relative;display:flex!important;align-items:center}.apa-public-search{position:relative;max-width:680px}.apa-public-search--compact{width:240px;margin:0 12px}.apa-public-search .dashicons-search{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:2;color:#667085}.apa-public-search input[type=search]{box-sizing:border-box;width:100%;height:44px;padding:0 42px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;font-size:14px;outline:none}.apa-public-search input[type=search]:focus{border-color:#ed1c24;box-shadow:0 0 0 3px rgba(237,28,36,.12)}.apa-public-search-results{position:absolute;z-index:9999;top:calc(100% + 8px);left:0;right:0;min-width:320px;max-height:420px;overflow:auto;padding:8px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 18px 45px rgba(16,24,40,.18)}.apa-search-result{display:grid;grid-template-columns:42px 1fr 22px;align-items:center;gap:10px;padding:9px;border-radius:8px;text-decoration:none!important;color:#101828!important}.apa-search-result:hover{background:#f6f7f9}.apa-search-result img,.apa-search-placeholder{width:42px;height:42px;border-radius:7px;object-fit:cover;background:#f2f4f7;display:flex;align-items:center;justify-content:center}.apa-search-empty{padding:14px;color:#667085;font-size:13px}.apa-menu-account{display:inline-flex!important;align-items:center;justify-content:center;padding:11px 18px!important;border:1px solid #ed1c24!important;border-radius:6px!important;color:#ed1c24!important;font-weight:700!important;white-space:nowrap}.apa-menu-account:hover{background:#ed1c24!important;color:#fff!important}.apa-login-page{min-height:68vh;display:flex;align-items:center;justify-content:center;padding:48px 20px;background:linear-gradient(145deg,#f5f6f8,#fff)}.apa-login-card{width:100%;max-width:460px;padding:42px;background:#fff;border:1px solid #e4e7ec;border-radius:18px;box-shadow:0 24px 60px rgba(16,24,40,.12)}.apa-login-kicker{display:block;margin-bottom:12px;color:#ed1c24;font-size:12px;font-weight:800;letter-spacing:.12em}.apa-login-card h1{margin:0 0 10px;font-size:32px;line-height:1.15;color:#101828}.apa-login-card>p{margin:0 0 28px;color:#667085}.apa-login-card label{display:block;margin:0 0 7px;color:#344054;font-weight:600}.apa-login-card input[type=text],.apa-login-card input[type=password]{box-sizing:border-box;width:100%;height:48px;padding:0 14px;border:1px solid #d0d5dd;border-radius:8px;font-size:15px}.apa-login-card .login-remember label{display:flex;gap:8px;align-items:center;font-weight:400}.apa-login-card .login-submit{margin:22px 0 0}.apa-login-card input[type=submit],.apa-login-submit{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border:0;border-radius:8px;background:#ed1c24;color:#fff!important;font-size:15px;font-weight:800;text-decoration:none;cursor:pointer}.apa-login-links{display:flex;justify-content:space-between;gap:16px;margin-top:20px;font-size:13px}.apa-login-links a{color:#475467}.apa-login-error{margin:0 0 18px;padding:12px 14px;border-radius:8px;background:#fff1f2;color:#b42318;font-size:14px}@media(max-width:900px){.apa-menu-search-item{display:none!important}.apa-login-card{padding:28px}.apa-login-links{flex-direction:column}}

/* Mobile header tools: public course search + account access. */
.apa-mobile-public-tools{display:none}
@media(max-width:900px){
  .apa-mobile-public-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 16px;background:#fff;border-top:1px solid #eef0f2;border-bottom:1px solid #e4e7ec;position:relative;z-index:90}
  .apa-mobile-public-tools .apa-public-search{max-width:none;width:100%}
  .apa-mobile-public-tools .apa-public-search input[type=search]{height:42px;font-size:14px}
  .apa-mobile-public-tools .apa-public-search-results{position:fixed;top:145px;left:12px;right:12px;min-width:0;max-height:55vh}
  .apa-mobile-account{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 13px;border:1px solid #ed1c24;border-radius:8px;color:#ed1c24!important;text-decoration:none!important;font-size:13px;font-weight:800;white-space:nowrap}
  .apa-mobile-account .dashicons{font-size:18px;width:18px;height:18px}
}
@media(max-width:520px){
  .apa-mobile-public-tools{grid-template-columns:1fr;padding:10px 14px}
  .apa-mobile-account{width:100%}
  body.page-id-0 .apa-mobile-public-tools{display:grid}
}

/* v1.0.3: mobile frontend for students */
@media (max-width:900px){
  .apa-mobile-public-tools{display:grid!important;width:100%;box-sizing:border-box}
  .apa-mobile-public-tools .apa-public-search{display:block!important}
  .apa-mobile-public-tools .apa-mobile-account{display:flex!important}
  .apa-cabinet{width:100%;max-width:100%;box-sizing:border-box;padding-left:14px;padding-right:14px}
  .apa-cabinet-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  .apa-cabinet-tab{min-height:64px;justify-content:flex-start}
  .apa-cabinet-mobile-nav{display:grid!important}
}
@media (max-width:520px){
  .apa-cabinet-tabs{grid-template-columns:1fr}
  .apa-cabinet-hero{padding:22px 18px}
  .apa-cabinet-user{align-items:flex-start}
}


/* v1.0.4 — mobile stability, responsive cabinet and media embeds */
.apa-cabinet,
.apa-cabinet *{box-sizing:border-box}
.apa-cabinet img,
.apa-cabinet video,
.apa-cabinet iframe,
.apa-cabinet embed,
.apa-cabinet object{max-width:100%}

/* Keep course content and embeds inside the mobile viewport. */
.entry-content iframe,
.tutor-course-content iframe,
.tutor-lesson-content iframe,
.tutor-course-spotlight-wrapper iframe,
.entry-content video,
.tutor-course-content video,
.tutor-lesson-content video,
.entry-content embed,
.entry-content object{
  display:block;
  width:100%!important;
  max-width:100%!important;
  border:0;
}
.entry-content iframe,
.tutor-course-content iframe,
.tutor-lesson-content iframe,
.tutor-course-spotlight-wrapper iframe{
  aspect-ratio:16/9;
  height:auto!important;
  min-height:220px;
}

.apa-drive-mobile-fallback{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  min-height:250px;
  padding:28px 20px;
  border-radius:18px;
  background:#1f2429;
  color:#fff;
  text-align:center;
}
.apa-drive-mobile-fallback .dashicons{
  width:48px;
  height:48px;
  font-size:48px;
  color:#ed1c24;
}
.apa-drive-mobile-fallback strong{font-size:20px;line-height:1.25}
.apa-drive-mobile-fallback span{max-width:360px;color:#d0d5dd;line-height:1.5}
.apa-drive-mobile-fallback a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 20px;
  border-radius:10px;
  background:#ed1c24;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
}

@media(max-width:640px){
  html,body{overflow-x:hidden}
  .apa-cabinet{width:100%;max-width:100%;padding:0 14px;margin:12px auto 92px}
  .apa-cabinet-hero{
    display:block!important;
    min-height:0;
    padding:18px!important;
    overflow:visible;
  }
  .apa-cabinet-user{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr);
    align-items:start!important;
    gap:13px!important;
    width:100%;
  }
  .apa-cabinet-user img{width:58px!important;height:58px!important;min-width:58px;object-fit:cover}
  .apa-cabinet-user>div{min-width:0;padding-right:0}
  .apa-cabinet-hero h1{margin:4px 0 7px!important;font-size:24px!important;line-height:1.12!important;overflow-wrap:anywhere}
  .apa-cabinet-user p{margin:0!important;font-size:14px!important;line-height:1.45!important}
  .apa-cabinet-hero-tools{
    position:static!important;
    display:flex!important;
    justify-content:flex-end;
    width:100%;
    margin-top:14px;
    gap:8px;
  }
  .apa-notification-toggle,.apa-cabinet-logout{flex:0 0 auto}
  .apa-cabinet-hero-action{width:100%;margin-top:14px!important}
  .apa-cabinet-hero-action .apa-cabinet-primary{width:100%;min-height:48px;white-space:normal;text-align:center}
  .apa-cabinet-tabs{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:14px 0!important}
  .apa-cabinet-tab{width:100%;min-height:62px}
  .apa-cabinet-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .apa-cabinet-stat{min-width:0}
  .apa-cabinet-stat strong,.apa-cabinet-stat span{overflow-wrap:anywhere}
  .apa-cabinet-section,.apa-next-steps{overflow:hidden}
  .apa-cabinet-course-grid{grid-template-columns:1fr!important}
  .apa-cabinet-course{min-width:0}
  .apa-cabinet-course-footer{width:100%}
  .apa-cabinet-course-footer .apa-cabinet-primary{width:100%}
  .apa-notification-panel{z-index:10001}
  .apa-mobile-public-tools{padding-left:16px!important;padding-right:16px!important}
  .apa-public-search,.apa-mobile-account{width:100%;max-width:100%}
  .entry-content iframe,
  .tutor-course-content iframe,
  .tutor-lesson-content iframe,
  .tutor-course-spotlight-wrapper iframe{min-height:210px}
}

@media(max-width:380px){
  .apa-cabinet{padding:0 10px}
  .apa-cabinet-hero{padding:15px!important}
  .apa-cabinet-user{grid-template-columns:50px minmax(0,1fr);gap:10px!important}
  .apa-cabinet-user img{width:50px!important;height:50px!important;min-width:50px}
  .apa-cabinet-hero h1{font-size:21px!important}
  .apa-cabinet-stats{grid-template-columns:1fr!important}
}

/* v1.1.0 — Mesaje interne */
.apa-inbox-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;min-height:480px}.apa-inbox-contacts,.apa-inbox-thread{border:1px solid #e5e7eb;border-radius:18px;background:#fff;overflow:hidden}.apa-inbox-contacts{padding:10px}.apa-inbox-contact{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px;text-decoration:none;color:#111827}.apa-inbox-contact:hover,.apa-inbox-contact.is-active{background:#fff1f2}.apa-inbox-contact img,.apa-inbox-contact .avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}.apa-inbox-contact span{display:flex;flex-direction:column;min-width:0;flex:1}.apa-inbox-contact strong,.apa-inbox-contact small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-inbox-contact small{color:#6b7280}.apa-inbox-contact b{background:#e5232f;color:#fff;border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center;font-size:12px}.apa-inbox-thread{display:flex;flex-direction:column}.apa-inbox-thread-head{padding:16px 18px;border-bottom:1px solid #e5e7eb}.apa-inbox-thread-head h3{margin:0}.apa-message-bubbles{padding:18px;display:flex;flex-direction:column;gap:10px;max-height:460px;overflow:auto;flex:1}.apa-message-bubble{max-width:78%;padding:12px 14px;border-radius:16px;background:#f3f4f6;align-self:flex-start}.apa-message-bubble.is-mine{background:#e5232f;color:#fff;align-self:flex-end}.apa-message-bubble p{margin:0 0 5px;line-height:1.45}.apa-message-bubble small{opacity:.72}.apa-message-compose{display:flex;gap:10px;padding:14px;border-top:1px solid #e5e7eb}.apa-message-compose textarea{flex:1;resize:vertical;min-height:48px;border:1px solid #d1d5db;border-radius:12px;padding:12px;font:inherit}.apa-message-empty{padding:24px;color:#6b7280;text-align:center}.apa-messages-admin-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px}.apa-message-users,.apa-message-thread{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:18px}.apa-message-users select{width:100%}
@media(max-width:720px){.apa-inbox-layout{grid-template-columns:1fr;min-height:0}.apa-inbox-contacts{display:flex;overflow-x:auto;gap:6px}.apa-inbox-contact{min-width:220px}.apa-message-bubbles{max-height:360px}.apa-message-compose{flex-direction:column}.apa-message-compose button{width:100%}.apa-messages-admin-grid{grid-template-columns:1fr}.apa-cabinet-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-cabinet-mobile-nav{grid-template-columns:repeat(5,1fr)}}

/* v1.1.1 — Messenger cursant */
.apa-inbox-layout{box-shadow:0 8px 24px rgba(15,23,42,.05)}.apa-inbox-thread-head{display:flex;align-items:center;min-height:62px;background:#fff}.apa-inbox-contact{transition:.18s ease}.apa-inbox-contact:hover{transform:translateX(2px)}.apa-message-bubble{box-shadow:0 1px 2px rgba(15,23,42,.06)}.apa-message-compose{background:#fff}.apa-message-compose textarea{resize:none;max-height:120px}
@media(max-width:720px){.apa-inbox-layout{box-shadow:none}.apa-inbox-contacts{scroll-snap-type:x mandatory}.apa-inbox-contact{scroll-snap-align:start;min-width:210px}.apa-message-bubbles{min-height:300px}.apa-message-bubble{max-width:88%}}

/* v1.1.2 — grupuri și conversații */
.apa-inbox-label{padding:10px 10px 5px;color:#6b7280;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.apa-group-avatar{width:44px;height:44px;border-radius:50%;background:#fee2e2;color:#e5232f;display:grid;place-items:center;flex:0 0 44px}.apa-group-avatar .dashicons{font-size:22px;width:22px;height:22px}.apa-message-author{display:block;font-size:12px;margin-bottom:4px;opacity:.78}.apa-message-compose-sticky{position:sticky;bottom:0;z-index:3;background:#fff;box-shadow:0 -8px 20px rgba(15,23,42,.04)}

/* v1.2.0 — Feed mobil + Messenger pentru toți utilizatorii */
.apa-social-feed{max-width:760px;margin:24px auto 0;display:grid;gap:18px}
.apa-feed-title{display:flex;align-items:center;justify-content:space-between;padding:4px 2px}
.apa-feed-title span:first-child{display:block;color:#e5232f;font-size:11px;font-weight:900;letter-spacing:.1em}
.apa-feed-title h2{margin:2px 0 0;font-size:22px;color:#101828}
.apa-feed-title>.dashicons{width:32px;height:32px;font-size:32px;color:#e5232f}
.apa-feed-card{overflow:hidden;border:1px solid #e7e9ee;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.apa-feed-card-head{display:flex;align-items:center;gap:10px;padding:14px 16px}
.apa-feed-brand{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#e5232f;color:#fff;font-weight:900;font-size:20px}
.apa-feed-card-head>div{display:flex;flex-direction:column;min-width:0;flex:1}
.apa-feed-card-head strong{color:#101828}.apa-feed-card-head small{color:#667085}
.apa-feed-card-head>.dashicons{color:#98a2b3}
.apa-feed-media{display:block;background:#f2f4f7;aspect-ratio:16/9;overflow:hidden}
.apa-feed-media img{display:block;width:100%;height:100%;object-fit:cover}
.apa-feed-content{padding:16px}.apa-feed-content h3{margin:0 0 8px;font-size:20px;line-height:1.25}
.apa-feed-content h3 a{color:#101828;text-decoration:none}.apa-feed-content p{margin:0 0 12px;color:#475467;line-height:1.55}
.apa-feed-event-date{display:flex;align-items:center;gap:7px;color:#e5232f!important;font-weight:700}
.apa-feed-actions{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #eef0f3}
.apa-feed-actions a,.apa-feed-actions button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:#344054;text-decoration:none;font-weight:700;cursor:pointer}
.apa-feed-actions a:hover,.apa-feed-actions button:hover{background:#f8f9fb;color:#e5232f}
.apa-feed-empty{padding:32px;text-align:center}.apa-feed-empty>.dashicons{font-size:44px;width:44px;height:44px;color:#e5232f}
.apa-message-head-actions{display:flex;align-items:center;gap:10px}.apa-message-head-actions>span{color:#667085;font-size:13px}
.apa-cabinet-group-form{padding:18px;display:grid;gap:14px}
.apa-cabinet-group-form>label>span{display:block;margin-bottom:6px;font-weight:800;color:#344054}
.apa-cabinet-group-form input[type=text],.apa-cabinet-group-form input[type=search]{width:100%;min-height:46px;border:1px solid #d0d5dd;border-radius:12px;padding:0 13px}
.apa-group-search{position:relative}.apa-group-search>.dashicons{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#98a2b3}.apa-group-search input{padding-left:40px!important}
.apa-cabinet-group-members{display:grid;gap:6px;max-height:390px;overflow:auto;padding:4px}
.apa-cabinet-group-members>label{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;cursor:pointer}
.apa-cabinet-group-members>label:hover{background:#f8f9fb}.apa-cabinet-group-members img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.apa-cabinet-group-members>label>span{display:flex;flex-direction:column;min-width:0;flex:1}.apa-cabinet-group-members small{color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apa-chat-back{display:none;color:#101828;text-decoration:none}.apa-activity-mobile-list{display:grid;gap:10px}
.apa-activity-mobile-item{display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #e7e9ee;border-radius:14px;background:#fff;text-align:left;cursor:pointer}
.apa-activity-mobile-item>span:first-child{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff1f2;color:#e5232f}
.apa-activity-mobile-item>span:nth-child(2){display:flex;flex-direction:column}.apa-activity-mobile-item small{color:#667085}
.apa-mobile-tab{position:relative}.apa-mobile-tab>b{position:absolute;top:4px;right:calc(50% - 22px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e5232f;color:#fff;font-size:10px;display:grid;place-items:center}

@media(max-width:720px){
  body{padding-bottom:74px}
  .apa-cabinet{padding:0 10px;margin-bottom:88px}
  .apa-cabinet-tabs{display:none!important}
  .apa-cabinet-hero{border-radius:16px!important;margin-top:8px}
  .apa-cabinet-stats{display:none!important}
  .apa-next-steps{margin-top:12px}
  .apa-social-feed{margin-top:14px;gap:12px}
  .apa-feed-title{padding:0 4px}.apa-feed-title h2{font-size:20px}
  .apa-feed-card{border-radius:16px;box-shadow:none}
  .apa-feed-card-head{padding:12px}.apa-feed-content{padding:13px}.apa-feed-content h3{font-size:18px}
  .apa-feed-actions{justify-content:space-between}.apa-feed-actions a{flex:1;justify-content:center}
  .apa-cabinet-mobile-nav{position:fixed!important;left:0;right:0;bottom:0;z-index:99999;display:grid!important;grid-template-columns:repeat(5,1fr)!important;padding:7px max(7px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-right));background:rgba(255,255,255,.97);border-top:1px solid #e7e9ee;box-shadow:0 -8px 24px rgba(15,23,42,.08);backdrop-filter:blur(12px)}
  .apa-mobile-tab{min-width:0;min-height:52px;padding:5px 2px;border:0;background:transparent;color:#667085;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
  .apa-mobile-tab .dashicons{font-size:23px;width:23px;height:23px}.apa-mobile-tab small{font-size:10px;line-height:1;white-space:nowrap}
  .apa-mobile-tab.is-active{color:#e5232f}
  .apa-messages-head{align-items:flex-start}.apa-message-head-actions{flex-direction:column;align-items:flex-end}.apa-message-head-actions .apa-cabinet-secondary{padding:8px 10px;font-size:12px}
  .apa-inbox-layout{display:block!important;min-height:0;border:0}
  .apa-inbox-contacts{display:block!important;overflow:visible!important;padding:0;border:0;border-radius:0}
  .apa-inbox-contact{min-width:0!important;width:100%;padding:12px 4px;border-radius:0;border-bottom:1px solid #eef0f3}
  .apa-inbox-contact:hover{transform:none}.apa-inbox-label{padding-left:4px}
  .apa-inbox-thread{display:none;border:0;border-radius:0;min-height:calc(100vh - 220px)}
  .apa-inbox-layout.has-thread .apa-inbox-contacts{display:none!important}
  .apa-inbox-layout.has-thread .apa-inbox-thread{display:flex!important}
  .apa-mobile-chat-head{position:sticky;top:0;z-index:8;padding:10px 4px!important;background:#fff;gap:9px}
  .apa-chat-back{display:inline-grid;width:38px;height:38px;place-items:center;border-radius:50%}.apa-chat-back:hover{background:#f2f4f7}
  .apa-mobile-chat-head img{width:40px!important;height:40px!important;border-radius:50%}
  .apa-message-bubbles{max-height:none!important;min-height:calc(100vh - 390px);padding:12px 4px 18px;gap:8px;background:#fff}
  .apa-message-bubble{max-width:84%;padding:9px 12px;border-radius:18px;background:#f1f2f4}
  .apa-message-bubble.is-mine{background:#e5232f}.apa-message-bubble p{font-size:14px}
  .apa-message-compose-sticky{position:sticky!important;bottom:66px;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px 0;background:#fff;box-shadow:0 -7px 18px rgba(15,23,42,.05)}
  .apa-message-compose textarea{min-height:44px!important;max-height:100px;border-radius:22px!important;padding:11px 14px!important}
  .apa-message-compose button{width:auto!important;min-width:48px;min-height:44px;border-radius:22px;padding:8px 15px}
  .apa-cabinet-group-form{padding:12px 0}.apa-cabinet-group-members{max-height:52vh}
}

/* v1.2.7 — Cabinet compact, notificări sus, profil cu ieșire și Messenger tip Telegram */
.apa-cabinet-topbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;padding:14px 16px;border:1px solid #e5e8ed;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(15,23,42,.07);backdrop-filter:blur(14px)}
.apa-cabinet-topbar-brand{display:flex;align-items:center;gap:11px;min-width:210px}.apa-cabinet-topbar-brand>span:last-child{display:flex;flex-direction:column}.apa-cabinet-topbar-brand strong{color:#171d24;font-size:16px;line-height:1.2}.apa-cabinet-topbar-brand small{color:#7a8492;font-size:11px;margin-top:2px}
.apa-cabinet-topbar-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#f12b36,#bd111d);color:#fff;font-size:19px;font-weight:900;box-shadow:0 8px 18px rgba(229,35,47,.24)}
.apa-cabinet-topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex:1}.apa-cabinet-topbar-actions .apa-public-search{width:min(440px,100%);margin:0}.apa-cabinet-topbar-actions .apa-public-search input{min-height:44px;border-radius:14px;background:#f7f8fa;border-color:#e2e6eb}
.apa-notification-toggle-light{flex:0 0 46px;width:46px;height:46px;border-color:#e1e5ea;background:#fff;color:#1d2733;box-shadow:0 5px 16px rgba(15,23,42,.06)}.apa-notification-toggle-light:hover{background:#fff1f2;color:#e5232f;border-color:#ffc9ce}.apa-notification-toggle-light .apa-notification-count{border-color:#fff}
.apa-notification-panel-topbar{top:68px;right:16px}
.apa-profile-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:18px;border-top:1px solid #eceff3}.apa-profile-logout{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border-radius:12px;background:#1d2329;color:#fff!important;text-decoration:none;font-weight:800}.apa-profile-logout:hover{background:#e5232f;color:#fff}
.apa-inbox-search-wrap{position:sticky;top:0;z-index:6;padding:10px;background:#fff;border-bottom:1px solid #edf0f3}.apa-inbox-search{position:relative;display:block}.apa-inbox-search>.dashicons{position:absolute;z-index:2;left:12px;top:50%;transform:translateY(-50%);color:#7d8794}.apa-inbox-search input{width:100%;min-height:44px;padding:0 13px 0 40px;border:1px solid #dde2e8;border-radius:14px;background:#f5f6f8;font:inherit;outline:0}.apa-inbox-search input:focus{background:#fff;border-color:#e5232f;box-shadow:0 0 0 3px rgba(229,35,47,.09)}
.apa-inbox-layout{overflow:hidden;border:1px solid #e3e7ec;border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.07)}.apa-inbox-contacts{max-height:690px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7ccd3 transparent}.apa-inbox-contacts::-webkit-scrollbar{width:7px}.apa-inbox-contacts::-webkit-scrollbar-thumb{background:#c7ccd3;border-radius:20px}.apa-inbox-contacts::-webkit-scrollbar-track{background:transparent}.apa-inbox-contact{border-radius:13px;margin:3px 7px;padding:10px}.apa-inbox-contact.is-active{background:#fff0f1;box-shadow:inset 3px 0 0 #e5232f}.apa-inbox-contact:hover{background:#f7f8fa;transform:none}.apa-inbox-thread{background:linear-gradient(180deg,#fff,#fafbfc)}.apa-inbox-thread-head{border-bottom:1px solid #e9edf1}.apa-message-bubbles{background-image:radial-gradient(circle at 1px 1px,rgba(21,32,44,.045) 1px,transparent 0);background-size:18px 18px}.apa-message-bubble{border-radius:17px 17px 17px 5px}.apa-message-bubble.is-mine{border-radius:17px 17px 5px 17px;background:linear-gradient(145deg,#ef2b36,#cc1824)}.apa-message-compose textarea{background:#f6f7f9;border-color:#dfe3e8}.apa-message-compose button{background:linear-gradient(145deg,#ef2b36,#c91622);box-shadow:0 7px 16px rgba(229,35,47,.22)}

/* Tutor LMS: navigarea înainte este ascunsă până când lecția este finalizată. */
.apa-next-unavailable{opacity:.42!important;filter:grayscale(.35);cursor:not-allowed!important;pointer-events:auto!important;position:relative}.apa-next-unavailable::after{content:"\f160";font-family:dashicons;margin-left:8px;font-size:16px;vertical-align:-2px}.apa-next-unavailable:hover{transform:none!important;box-shadow:none!important}.apa-lesson-lock-toast{position:fixed;z-index:100000;left:50%;bottom:28px;display:flex;align-items:center;gap:10px;width:min(520px,calc(100vw - 28px));padding:13px 16px;border-radius:14px;background:#1d2329;color:#fff;box-shadow:0 18px 48px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translate(-50%,18px);transition:.2s ease}.apa-lesson-lock-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}.apa-lesson-lock-toast>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e5232f;color:#fff;flex:0 0 34px}.apa-lesson-lock-toast strong{color:#ffbdc2}

@media(max-width:720px){
  .apa-cabinet-topbar{position:sticky;top:0;z-index:60;margin:0 0 12px;padding:10px 8px;border-radius:0 0 16px 16px;box-shadow:0 9px 24px rgba(15,23,42,.08)}
  .apa-cabinet-topbar-brand{display:none}.apa-cabinet-topbar-actions{width:100%;gap:7px}.apa-cabinet-topbar-actions .apa-public-search{flex:1;width:auto}.apa-cabinet-topbar-actions .apa-public-search label{display:none}.apa-cabinet-topbar-actions .apa-public-search input{min-height:43px;font-size:14px}.apa-notification-toggle-light{width:43px;height:43px;flex-basis:43px;border-radius:13px}
  .apa-notification-panel-topbar{position:fixed;top:62px;right:10px;width:calc(100vw - 20px);max-width:390px}
  .apa-profile-actions{justify-content:stretch}.apa-profile-logout{width:100%;min-height:50px}
  .apa-messages-head{display:none!important}.apa-inbox-layout{border:0;border-radius:0;box-shadow:none;background:#fff}.apa-inbox-contacts{max-height:calc(100vh - 190px)!important;overflow-y:auto!important;padding-bottom:92px!important}.apa-inbox-search-wrap{padding:8px 2px 10px}.apa-inbox-search input{min-height:46px;border-radius:16px}
  .apa-inbox-contact{margin:0;padding:11px 4px;border-radius:0}.apa-inbox-contact.is-active{box-shadow:none;background:#fff4f5}.apa-inbox-thread{min-height:calc(100vh - 150px)!important}.apa-mobile-chat-head{top:61px!important}.apa-message-bubbles{min-height:calc(100vh - 315px)!important;background-size:16px 16px}.apa-message-compose-sticky{bottom:66px!important}
  .apa-lesson-lock-toast{bottom:88px;font-size:13px}
}

/* v1.2.9 — confirmare vizuală după finalizarea lecției */
.apa-lesson-lock-toast.is-success{background:#067647}.apa-lesson-lock-toast.is-success>.dashicons{background:#12b76a}.apa-lesson-lock-toast.is-success strong{color:#fff}

/* v1.3.1 — Messenger mobil centralizat, inspirat de aplicațiile de chat moderne */
.apa-messenger-app{padding:0!important;overflow:hidden;border-radius:22px;background:#fff}
.apa-messenger-brandbar{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #e8edf2;background:linear-gradient(135deg,#ffffff 0%,#fff8f8 100%)}
.apa-messenger-brandmark{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:linear-gradient(145deg,#f22f3a,#c91521);color:#fff;box-shadow:0 10px 24px rgba(229,35,47,.24)}
.apa-messenger-brandmark .dashicons{font-size:25px;width:25px;height:25px}
.apa-messenger-brandcopy{display:flex;flex-direction:column;min-width:0}.apa-messenger-brandcopy small{color:#e5232f;font-size:10px;font-weight:900;letter-spacing:.18em}.apa-messenger-brandcopy h2{margin:2px 0 0;color:#17202a;font-size:25px;line-height:1.05}
.apa-messenger-brand-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.apa-messenger-unread{padding:7px 10px;border-radius:999px;background:#f3f5f7;color:#667085;font-size:12px;font-weight:800}.apa-messenger-new-group{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e5232f;color:#fff!important;text-decoration:none;box-shadow:0 8px 18px rgba(229,35,47,.22)}
.apa-contact-copy{display:flex!important;flex-direction:column!important;min-width:0;flex:1}.apa-contact-row{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.apa-contact-row strong{font-size:14px;color:#17202a}.apa-contact-row time{margin-left:auto;color:#8b95a3;font-size:11px;font-weight:700}.apa-contact-copy small{margin-top:3px;color:#7c8795;font-size:12px}
.apa-inbox-contact img,.apa-inbox-contact .avatar{width:52px!important;height:52px!important;flex:0 0 52px}.apa-inbox-contact b{margin-left:6px}
.apa-message-send{display:grid;place-items:center;width:48px;height:48px;min-width:48px;padding:0!important;border:0;border-radius:50%!important;background:linear-gradient(145deg,#f22f3a,#c91521)!important;color:#fff!important;cursor:pointer;box-shadow:0 8px 18px rgba(229,35,47,.25)}.apa-message-send .dashicons{font-size:22px;width:22px;height:22px}
.apa-telegram-empty{margin:auto;display:flex;min-height:360px;flex-direction:column;align-items:center;justify-content:center;gap:8px}.apa-telegram-empty>.dashicons{font-size:48px;width:48px;height:48px;color:#e5232f}.apa-telegram-empty strong{font-size:20px;color:#17202a}.apa-telegram-empty p{margin:0;color:#7b8490}
.apa-message-bubbles{scroll-behavior:smooth}.apa-message-compose-sticky{align-items:end}.apa-message-compose textarea{line-height:1.35}

@media(max-width:720px){
  .apa-cabinet-panel[data-apa-panel="messages"] .apa-cabinet-section{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  .apa-messenger-brandbar{position:sticky;top:0;z-index:20;padding:12px 14px;background:#fff;box-shadow:0 1px 0 #e9edf1}
  .apa-messenger-brandmark{width:42px;height:42px;flex-basis:42px;border-radius:14px}.apa-messenger-brandcopy h2{font-size:22px}.apa-messenger-brandcopy small{font-size:9px}.apa-messenger-unread{display:none}.apa-messenger-new-group{width:40px;height:40px}
  .apa-inbox-layout{display:block!important;min-height:calc(100vh - 132px)!important;background:#fff!important}
  .apa-inbox-contacts{display:block!important;max-height:calc(100vh - 206px)!important;overflow-y:auto!important;padding:0 12px 110px!important;background:#fff}
  .apa-inbox-search-wrap{position:sticky;top:0;z-index:12;padding:12px 0;background:#fff;border:0}.apa-inbox-search input{height:48px;border:0!important;border-radius:18px!important;background:#f1f3f6!important;font-size:15px;padding-left:44px}.apa-inbox-search>.dashicons{left:14px}
  .apa-inbox-label{padding:12px 4px 6px;font-size:10px;letter-spacing:.12em}
  .apa-inbox-contact{display:flex!important;width:100%;min-width:0!important;margin:0!important;padding:10px 2px!important;border:0!important;border-radius:0!important;background:#fff!important}.apa-inbox-contact+.apa-inbox-contact{border-top:1px solid #f0f2f5!important}.apa-inbox-contact.is-active{box-shadow:none!important}.apa-inbox-contact img,.apa-inbox-contact .avatar{width:56px!important;height:56px!important;flex-basis:56px}.apa-contact-row strong{font-size:16px}.apa-contact-row time{font-size:12px}.apa-contact-copy small{font-size:13px}
  .apa-inbox-layout.has-thread .apa-inbox-contacts{display:none!important}.apa-inbox-layout.has-thread .apa-inbox-thread{display:flex!important}
  .apa-inbox-thread{display:none!important;position:relative;min-height:calc(100vh - 132px)!important;border:0!important;border-radius:0!important;background:#fff!important}
  .apa-mobile-chat-head{top:0!important;min-height:64px;padding:10px 12px!important;border-bottom:1px solid #eceff3!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(12px)}.apa-mobile-chat-head h3{font-size:17px}.apa-mobile-chat-head small{font-size:12px}
  .apa-chat-back{width:40px;height:40px;flex:0 0 40px}
  .apa-message-bubbles{min-height:calc(100vh - 286px)!important;padding:16px 12px 96px!important;background-color:#f6f7f9!important;background-image:radial-gradient(circle at 1px 1px,rgba(20,31,43,.035) 1px,transparent 0)!important;background-size:18px 18px!important}
  .apa-message-bubble{max-width:82%!important;padding:9px 12px!important;border-radius:18px 18px 18px 5px!important;font-size:14px}.apa-message-bubble.is-mine{border-radius:18px 18px 5px 18px!important}
  .apa-message-compose-sticky{position:fixed!important;left:0;right:0;bottom:66px!important;z-index:40;display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;gap:9px!important;padding:9px 12px!important;border-top:1px solid #e8ebef!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -8px 24px rgba(15,23,42,.08)!important;backdrop-filter:blur(12px)}
  .apa-message-compose textarea{min-height:48px!important;max-height:110px!important;padding:12px 16px!important;border:0!important;border-radius:22px!important;background:#f0f2f5!important;box-shadow:none!important;font-size:15px!important}.apa-message-send{width:48px!important;height:48px!important;min-width:48px!important}
  .apa-telegram-empty{min-height:calc(100vh - 250px);padding:30px 20px}.apa-telegram-empty strong{font-size:19px}.apa-telegram-empty p{text-align:center}
}

/* v2.0.0 — Academia PROFMET Messenger */
.apa-messenger-app{background:#f7f8fa!important;border:1px solid #e5e9ef!important}
.apa-messenger-brandbar{background:linear-gradient(135deg,#17202b 0%,#202b38 70%,#e5232f 180%)!important;color:#fff!important;border-bottom:0!important}
.apa-messenger-brandcopy h2,.apa-messenger-brandcopy small{color:#fff!important}.apa-messenger-brandcopy small{opacity:.72}
.apa-messenger-brandmark{background:#e5232f!important;box-shadow:0 12px 30px rgba(229,35,47,.32)!important}
.apa-messenger-unread{background:rgba(255,255,255,.13)!important;color:#fff!important}
.apa-inbox-layout{background:#eef1f5!important}
.apa-inbox-contacts{background:#fff!important;border-right:1px solid #e5e9ef!important}
.apa-inbox-search-wrap{background:#fff!important}.apa-inbox-search input{background:#f1f3f6!important;border:1px solid transparent!important}
.apa-inbox-search input:focus{background:#fff!important;border-color:#e5232f!important;box-shadow:0 0 0 3px rgba(229,35,47,.10)!important}
.apa-inbox-contact{transition:background .16s ease,transform .16s ease!important}.apa-inbox-contact:hover{background:#f7f8fa!important}.apa-inbox-contact.is-active{background:#fff1f2!important;box-shadow:inset 4px 0 #e5232f!important}
.apa-inbox-contact>b,.apa-messenger-badge{background:#e5232f!important;color:#fff!important}
.apa-inbox-thread{background:#eef1f5!important}.apa-inbox-thread-head{background:#fff!important;box-shadow:0 1px 0 #e5e9ef!important}
.apa-message-bubbles{background-color:#eef1f5!important;background-image:radial-gradient(circle at 1px 1px,rgba(23,32,43,.035) 1px,transparent 0)!important;background-size:20px 20px!important}
.apa-message-bubble{box-shadow:0 3px 10px rgba(15,23,42,.07)!important}.apa-message-bubble.is-mine{background:#e5232f!important;color:#fff!important}.apa-message-bubble.is-mine small,.apa-message-bubble.is-mine .apa-message-author{color:rgba(255,255,255,.74)!important}.apa-message-bubble.is-theirs{background:#fff!important;color:#17202b!important}
.apa-message-compose-sticky{background:#fff!important}.apa-message-compose textarea{background:#f2f4f7!important}.apa-message-send{background:#e5232f!important;box-shadow:0 9px 22px rgba(229,35,47,.25)!important}.apa-message-send:disabled{opacity:.55;cursor:wait}.apa-live-message-form.has-error{animation:apaMessengerShake .28s linear 2}
@keyframes apaMessengerShake{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}

@media(max-width:720px){
  body:has(.apa-cabinet-panel[data-apa-panel="messages"]:not([hidden])){background:#fff!important}
  .apa-cabinet-panel[data-apa-panel="messages"]{position:relative;z-index:35;background:#fff!important}
  .apa-messenger-app{min-height:calc(100dvh - 66px)!important;background:#fff!important;border:0!important}
  .apa-messenger-brandbar{position:sticky!important;top:0!important;min-height:72px!important;padding:12px 16px!important;background:#17202b!important;color:#fff!important;box-shadow:none!important}
  .apa-messenger-brandcopy h2{font-size:24px!important}.apa-messenger-brandmark{border-radius:50%!important}
  .apa-inbox-layout{min-height:calc(100dvh - 138px)!important;background:#fff!important}
  .apa-inbox-contacts{max-height:calc(100dvh - 138px)!important;padding:0 14px 88px!important;background:#fff!important}
  .apa-inbox-search-wrap{top:0!important;padding:12px 0 8px!important}.apa-inbox-search input{height:52px!important;border-radius:18px!important;background:#eef1f5!important;font-size:16px!important}
  .apa-inbox-contact{min-height:72px!important;padding:8px 2px!important}.apa-inbox-contact img,.apa-inbox-contact .avatar{width:58px!important;height:58px!important;flex-basis:58px!important}.apa-contact-row strong{font-size:17px!important}.apa-contact-copy small{font-size:14px!important;color:#7a8491!important}.apa-contact-row time{color:#e5232f!important}
  .apa-inbox-contact.is-active{background:#fff!important;box-shadow:none!important}
  .apa-inbox-thread{min-height:calc(100dvh - 66px)!important;background:#eef1f5!important}
  .apa-mobile-chat-head{position:sticky!important;top:0!important;z-index:30!important;min-height:68px!important;padding:10px 12px!important;background:#17202b!important;color:#fff!important;border:0!important}.apa-mobile-chat-head h3,.apa-mobile-chat-head small{color:#fff!important}.apa-mobile-chat-head small{opacity:.68}.apa-chat-back{color:#fff!important;background:rgba(255,255,255,.08)!important}
  .apa-message-bubbles{height:calc(100dvh - 200px)!important;min-height:0!important;padding:16px 12px 92px!important;overflow-y:auto!important;background:#eef1f5!important}
  .apa-message-compose-sticky{bottom:66px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}.apa-message-compose textarea{font-size:16px!important}
  .apa-telegram-empty{min-height:calc(100dvh - 230px)!important}
}


/* v2.0.1 — Pe mobil, pagina Mesaje începe direct de la antetul Messenger. */
@media(max-width:720px){
  html.apa-mobile-messenger-focus,
  body.apa-mobile-messenger-focus{scroll-padding-top:0!important;background:#fff!important}

  body.apa-mobile-messenger-focus .apa-mobile-public-tools,
  body.apa-mobile-messenger-focus header.site-header,
  body.apa-mobile-messenger-focus #masthead,
  body.apa-mobile-messenger-focus .tutor-header,
  body.apa-mobile-messenger-focus .header-mobile,
  body.apa-mobile-messenger-focus .mobile-header,
  body.apa-mobile-messenger-focus .site-breadcrumbs,
  body.apa-mobile-messenger-focus .breadcrumbs,
  body.apa-mobile-messenger-focus .breadcrumb,
  body.apa-mobile-messenger-focus .tutor-breadcrumb,
  body.apa-mobile-messenger-focus .apa-cabinet-topbar,
  body.apa-mobile-messenger-focus footer.site-footer,
  body.apa-mobile-messenger-focus #colophon,
  body.apa-mobile-messenger-focus .site-footer,
  body.apa-mobile-messenger-focus .footer-widgets,
  body.apa-mobile-messenger-focus .newsletter-section,
  body.apa-mobile-messenger-focus .subscribe-section{display:none!important}

  body.apa-mobile-messenger-focus .apa-cabinet{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 0 66px!important;
  }

  body.apa-mobile-messenger-focus .apa-cabinet-panel[data-apa-panel="messages"]{
    margin:0!important;
    padding:0!important;
  }

  body.apa-mobile-messenger-focus .apa-messenger-brandbar{
    margin:0!important;
    border-radius:0!important;
  }

  body.apa-mobile-messenger-focus .apa-cabinet-tabs{
    z-index:100!important;
  }
}


/* v2.0.2 — Messenger mobil pe ecran complet: conversația și composerul formează un singur ecran. */
@media (max-width:720px){
  html.apa-mobile-messenger-focus,
  body.apa-mobile-messenger-focus{
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    background:#fff!important;
  }

  body.apa-mobile-messenger-focus .apa-cabinet-panel[data-apa-panel="messages"]{
    position:fixed!important;
    inset:0 0 66px 0!important;
    z-index:99980!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important;
  }

  body.apa-mobile-messenger-focus .apa-cabinet-panel[data-apa-panel="messages"] .apa-messenger-app{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#fff!important;
  }

  body.apa-mobile-messenger-focus .apa-messenger-brandbar{
    position:relative!important;
    top:auto!important;
    flex:0 0 auto!important;
    width:100%!important;
    margin:0!important;
    border-radius:0!important;
  }

  body.apa-mobile-messenger-focus .apa-inbox-layout{
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }

  body.apa-mobile-messenger-focus .apa-inbox-contacts,
  body.apa-mobile-messenger-focus .apa-inbox-thread{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  body.apa-mobile-messenger-focus .apa-inbox-contacts{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 14px 18px!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }

  body.apa-mobile-messenger-focus .apa-inbox-thread{
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    background:#eef1f5!important;
  }

  body.apa-mobile-messenger-focus .apa-mobile-chat-head{
    position:relative!important;
    top:auto!important;
    flex:0 0 auto!important;
    width:100%!important;
  }

  body.apa-mobile-messenger-focus .apa-message-bubbles{
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:14px 12px 18px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }

  body.apa-mobile-messenger-focus .apa-message-compose-sticky{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    flex:0 0 auto!important;
    width:100%!important;
    margin:0!important;
    padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important;
    border-top:1px solid #e6e9ee!important;
    background:#fff!important;
    box-shadow:0 -8px 22px rgba(15,23,42,.08)!important;
  }

  body.apa-mobile-messenger-focus .apa-message-compose textarea{
    min-height:50px!important;
    max-height:110px!important;
    margin:0!important;
  }

  /* Footerul și orice conținut al temei rămân în spatele ecranului fix de Messenger. */
  body.apa-mobile-messenger-focus footer,
  body.apa-mobile-messenger-focus .footer,
  body.apa-mobile-messenger-focus [class*="footer"],
  body.apa-mobile-messenger-focus [id*="footer"],
  body.apa-mobile-messenger-focus .newsletter,
  body.apa-mobile-messenger-focus [class*="newsletter"],
  body.apa-mobile-messenger-focus [class*="subscribe"]{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}


/* v2.0.3 — Activitate mobilă în mod focus, fără antetul și footerul site-ului. */
.apa-activity-mobile-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.apa-activity-mobile-head small{display:block;margin-bottom:4px;color:#e5232f;font-size:11px;font-weight:800;letter-spacing:.16em}
.apa-activity-mobile-head h2{margin:0;color:#111827;font-size:28px;line-height:1.1}
.apa-activity-mobile-head>span{display:inline-flex;align-items:center;min-height:32px;padding:6px 12px;border-radius:999px;background:#f1f3f6;color:#667085;font-weight:700;white-space:nowrap}
.apa-activity-search{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;padding:0 16px;border:1px solid #dfe3e8;border-radius:18px;background:#f3f5f8;box-sizing:border-box}
.apa-activity-search .dashicons{color:#667085}
.apa-activity-search input{width:100%;height:50px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:16px;color:#111827}
.apa-activity-subtitle{margin:12px 0 18px;color:#667085;font-size:15px;line-height:1.5}
.apa-activity-no-results{padding:28px 18px;text-align:center;color:#667085}

@media(max-width:720px){
  html.apa-mobile-activity-focus,
  body.apa-mobile-activity-focus{width:100%!important;height:100%!important;overflow:hidden!important;background:#fff!important}

  body.apa-mobile-activity-focus .apa-mobile-public-tools,
  body.apa-mobile-activity-focus header.site-header,
  body.apa-mobile-activity-focus #masthead,
  body.apa-mobile-activity-focus .tutor-header,
  body.apa-mobile-activity-focus .header-mobile,
  body.apa-mobile-activity-focus .mobile-header,
  body.apa-mobile-activity-focus .site-breadcrumbs,
  body.apa-mobile-activity-focus .breadcrumbs,
  body.apa-mobile-activity-focus .breadcrumb,
  body.apa-mobile-activity-focus .tutor-breadcrumb,
  body.apa-mobile-activity-focus .apa-cabinet-topbar,
  body.apa-mobile-activity-focus footer,
  body.apa-mobile-activity-focus .footer,
  body.apa-mobile-activity-focus [class*="footer"],
  body.apa-mobile-activity-focus [id*="footer"],
  body.apa-mobile-activity-focus .newsletter,
  body.apa-mobile-activity-focus [class*="newsletter"],
  body.apa-mobile-activity-focus [class*="subscribe"]{display:none!important}

  body.apa-mobile-activity-focus .apa-cabinet{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 66px!important}
  body.apa-mobile-activity-focus .apa-cabinet-panel[data-apa-panel="activity"]{position:fixed!important;inset:0 0 66px 0!important;z-index:99980!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}
  body.apa-mobile-activity-focus .apa-cabinet-panel[data-apa-panel="activity"] .apa-activity-app{width:100%!important;height:100%!important;margin:0!important;padding:18px 18px 26px!important;border:0!important;border-radius:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;background:#fff!important;box-sizing:border-box!important}
  body.apa-mobile-activity-focus .apa-activity-mobile-head{position:sticky;top:0;z-index:3;margin:-18px -18px 14px;padding:18px 18px 12px;background:#fff}
  body.apa-mobile-activity-focus .apa-activity-search{position:sticky;top:76px;z-index:3;background:#f3f5f8;box-shadow:0 8px 18px rgba(15,23,42,.04)}
  body.apa-mobile-activity-focus .apa-cabinet-tabs{z-index:100000!important}
  body.apa-mobile-activity-focus .apa-activity-mobile-list{padding-bottom:18px}
}


/* v2.0.5 — Antet compact pentru Cursurile mele, fără suprapunere la derulare. */
@media(max-width:720px){
  html.apa-mobile-courses-focus,
  body.apa-mobile-courses-focus{width:100%!important;height:100%!important;overflow:hidden!important;background:#fff!important}

  body.apa-mobile-courses-focus .apa-mobile-public-tools,
  body.apa-mobile-courses-focus header.site-header,
  body.apa-mobile-courses-focus #masthead,
  body.apa-mobile-courses-focus .tutor-header,
  body.apa-mobile-courses-focus .header-mobile,
  body.apa-mobile-courses-focus .mobile-header,
  body.apa-mobile-courses-focus .site-breadcrumbs,
  body.apa-mobile-courses-focus .breadcrumbs,
  body.apa-mobile-courses-focus .breadcrumb,
  body.apa-mobile-courses-focus .tutor-breadcrumb,
  body.apa-mobile-courses-focus .apa-cabinet-topbar,
  body.apa-mobile-courses-focus footer,
  body.apa-mobile-courses-focus .footer,
  body.apa-mobile-courses-focus [class*="footer"],
  body.apa-mobile-courses-focus [id*="footer"],
  body.apa-mobile-courses-focus .newsletter,
  body.apa-mobile-courses-focus [class*="newsletter"],
  body.apa-mobile-courses-focus [class*="subscribe"]{display:none!important}

  body.apa-mobile-courses-focus .apa-cabinet{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 66px!important}
  body.apa-mobile-courses-focus .apa-cabinet-panel[data-apa-panel="courses"]{position:fixed!important;inset:0 0 66px 0!important;z-index:99980!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}
  body.apa-mobile-courses-focus .apa-cabinet-panel[data-apa-panel="courses"]>.apa-cabinet-section{width:100%!important;height:100%!important;margin:0!important;padding:18px 18px 28px!important;border:0!important;border-radius:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;background:#fff!important;box-sizing:border-box!important}
  body.apa-mobile-courses-focus .apa-cabinet-panel[data-apa-panel="courses"] .apa-cabinet-section-head{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;padding:8px 2px 12px!important;background:#fff!important;border-bottom:1px solid #eef0f3!important;box-shadow:none!important}
  body.apa-mobile-courses-focus .apa-courses-heading{min-width:0!important}
  body.apa-mobile-courses-focus .apa-courses-eyebrow{display:block!important;margin:0 0 3px!important;color:#ed1c24!important;font-size:10px!important;font-weight:800!important;line-height:1.15!important;letter-spacing:1.7px!important;text-transform:uppercase!important}
  body.apa-mobile-courses-focus .apa-cabinet-panel[data-apa-panel="courses"] .apa-cabinet-section-head h2{margin:0!important;color:#171b22!important;font-size:25px!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.5px!important}
  body.apa-mobile-courses-focus .apa-cabinet-panel[data-apa-panel="courses"] .apa-cabinet-section-head p{display:none!important}
  body.apa-mobile-courses-focus .apa-courses-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:34px!important;padding:7px 12px!important;border-radius:999px!important;background:#f3f4f6!important;color:#5f6876!important;font-size:13px!important;font-weight:750!important;white-space:nowrap!important}
  body.apa-mobile-courses-focus .apa-cabinet-tabs{z-index:100000!important}
}


/* v2.0.6 — cardurile cursurilor se deschid prin apăsare oriunde pe card. */
.apa-cabinet-course-clickable{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.apa-cabinet-course-clickable:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(15,23,42,.10);border-color:rgba(237,28,36,.24)}
.apa-cabinet-course-clickable:focus-visible{outline:3px solid rgba(237,28,36,.28);outline-offset:3px}
.apa-cabinet-course-clickable .apa-cabinet-primary{position:relative;z-index:2}
@media(max-width:720px){
  .apa-cabinet-course-clickable:active{transform:scale(.992);background:#fffafb}
}

/* v2.0.7 — acces direct la lecție din cardul cursului. */
.apa-cabinet-course-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-top:18px!important}
.apa-cabinet-course-footer .apa-cabinet-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;padding:11px 18px!important;border-radius:12px!important;background:linear-gradient(135deg,#ed1c24,#c9151c)!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;box-shadow:0 9px 22px rgba(237,28,36,.22)!important}
.apa-cabinet-course-footer .apa-cabinet-primary:hover{transform:translateY(-1px)!important;box-shadow:0 12px 26px rgba(237,28,36,.28)!important}
@media(max-width:720px){
  .apa-cabinet-course-footer{display:block!important;margin-top:16px!important}
  .apa-cabinet-course-footer>small{display:none!important}
  .apa-cabinet-course-footer .apa-cabinet-primary{width:100%!important;min-height:50px!important;font-size:16px!important}
}

/* v2.0.8 — în lecții/cursuri ascunde instrumentele publice de căutare și Cabinet personal. */
@media(max-width:720px){
  html[data-apa-course-context="1"] .apa-mobile-public-tools,
  body.single-lesson .apa-mobile-public-tools,
  body.single-courses .apa-mobile-public-tools,
  body[class*="single-lesson"] .apa-mobile-public-tools,
  body[class*="single-courses"] .apa-mobile-public-tools{
    display:none!important;
  }
}


/* v2.0.9 — Acasă în mod focus: fluxul de noutăți începe primul. */
.apa-home-feed-head{position:relative;z-index:4;background:#fff}
.apa-home-feed-tools{display:flex;align-items:center;gap:10px;margin:12px 0 18px}
.apa-home-feed-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:54px;padding:0 16px;border:1px solid #dfe3e8;border-radius:17px;background:#f3f5f8;box-sizing:border-box}
.apa-home-feed-search .dashicons{color:#667085}
.apa-home-feed-search input{width:100%;height:50px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#111827;font-size:16px}
.apa-home-notification-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;padding:0;border:1px solid #dfe3e8;border-radius:17px;background:#fff;color:#17202b;cursor:pointer}
.apa-home-notification-toggle .apa-notification-count{position:absolute;right:-5px;top:-7px;display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border:3px solid #fff;border-radius:999px;background:#ed1c24;color:#fff;font-size:11px;font-weight:800;box-sizing:border-box}
.apa-home-notification-panel{position:absolute;right:0;top:100%;z-index:30;width:min(360px,calc(100vw - 36px));margin-top:8px;padding:10px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 20px 48px rgba(15,23,42,.18)}
.apa-home-feed-no-results{padding:38px 20px;text-align:center;color:#667085}

@media(max-width:720px){
  html.apa-mobile-home-focus,
  body.apa-mobile-home-focus{width:100%!important;height:100%!important;overflow:hidden!important;background:#fff!important}

  body.apa-mobile-home-focus .apa-mobile-public-tools,
  body.apa-mobile-home-focus header.site-header,
  body.apa-mobile-home-focus #masthead,
  body.apa-mobile-home-focus .tutor-header,
  body.apa-mobile-home-focus .header-mobile,
  body.apa-mobile-home-focus .mobile-header,
  body.apa-mobile-home-focus .site-breadcrumbs,
  body.apa-mobile-home-focus .breadcrumbs,
  body.apa-mobile-home-focus .breadcrumb,
  body.apa-mobile-home-focus .tutor-breadcrumb,
  body.apa-mobile-home-focus .apa-cabinet-topbar,
  body.apa-mobile-home-focus footer,
  body.apa-mobile-home-focus .footer,
  body.apa-mobile-home-focus [class*="footer"],
  body.apa-mobile-home-focus [id*="footer"],
  body.apa-mobile-home-focus .newsletter,
  body.apa-mobile-home-focus [class*="newsletter"],
  body.apa-mobile-home-focus [class*="subscribe"]{display:none!important}

  body.apa-mobile-home-focus .apa-cabinet{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 66px!important}
  body.apa-mobile-home-focus .apa-cabinet-panel[data-apa-panel="overview"]{position:fixed!important;inset:0 0 66px 0!important;z-index:99980!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}
  body.apa-mobile-home-focus .apa-cabinet-panel[data-apa-panel="overview"]>.apa-cabinet-stats,
  body.apa-mobile-home-focus .apa-cabinet-panel[data-apa-panel="overview"]>.apa-next-steps{display:none!important}
  body.apa-mobile-home-focus .apa-social-feed{position:relative!important;width:100%!important;height:100%!important;margin:0!important;padding:0 18px 28px!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;background:#fff!important;box-sizing:border-box!important}
  body.apa-mobile-home-focus .apa-home-feed-head{position:sticky!important;top:0!important;z-index:12!important;margin:0 -18px 12px!important;padding:16px 18px 8px!important;border-bottom:1px solid #eef0f3!important;background:#fff!important}
  body.apa-mobile-home-focus .apa-feed-title{margin:0!important;padding:0!important}
  body.apa-mobile-home-focus .apa-feed-title>div>span{font-size:10px!important;letter-spacing:1.7px!important}
  body.apa-mobile-home-focus .apa-feed-title h2{font-size:26px!important;line-height:1.1!important}
  body.apa-mobile-home-focus .apa-feed-title>.dashicons{font-size:30px!important;width:30px!important;height:30px!important}
  body.apa-mobile-home-focus .apa-home-feed-tools{margin:12px 0 0!important}
  body.apa-mobile-home-focus .apa-home-feed-search{min-height:50px!important;border-radius:16px!important}
  body.apa-mobile-home-focus .apa-home-notification-toggle{flex-basis:50px!important;width:50px!important;height:50px!important;border-radius:16px!important}
  body.apa-mobile-home-focus .apa-home-notification-panel{position:fixed!important;left:18px!important;right:18px!important;top:126px!important;width:auto!important;max-height:55vh!important;overflow-y:auto!important}
  body.apa-mobile-home-focus .apa-cabinet-tabs{z-index:100000!important}
}

/* v2.0.10 — Acasă: antet compact, elegant și fără clopoțel. */
.apa-home-feed-brand{display:block;margin:0 0 12px}
.apa-home-feed-brand>span{display:block;margin:0 0 5px;color:#ed1c24;font-size:11px;font-weight:850;line-height:1.2;letter-spacing:1.9px;text-transform:uppercase}
.apa-home-feed-brand h2{margin:0;color:#171b22;font-size:30px;font-weight:850;line-height:1.08;letter-spacing:-.7px}
.apa-home-feed-head>.apa-home-feed-search{width:100%;margin:0}
.apa-home-feed-tools,.apa-home-notification-toggle,.apa-home-notification-panel{display:none!important}

@media(max-width:720px){
  body.apa-mobile-home-focus .apa-home-feed-head{
    position:static!important;
    margin:0 0 14px!important;
    padding:18px 0 14px!important;
    border-bottom:1px solid #eef0f3!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  body.apa-mobile-home-focus .apa-home-feed-brand{margin:0 0 13px!important}
  body.apa-mobile-home-focus .apa-home-feed-brand>span{font-size:10px!important;letter-spacing:1.8px!important}
  body.apa-mobile-home-focus .apa-home-feed-brand h2{font-size:27px!important;line-height:1.08!important}
  body.apa-mobile-home-focus .apa-home-feed-head>.apa-home-feed-search{
    display:flex!important;
    width:100%!important;
    min-height:52px!important;
    padding:0 15px!important;
    border:1px solid #dfe3e8!important;
    border-radius:16px!important;
    background:#f4f6f8!important;
    box-shadow:none!important;
  }
  body.apa-mobile-home-focus .apa-home-feed-search input{height:50px!important;font-size:16px!important}
  body.apa-mobile-home-focus .apa-social-feed{padding-top:0!important}
}

/* v2.0.11 — carduri de noutăți mai ample și pagină de articol curată pe mobil. */
@media(max-width:720px){
  /* Cardurile din flux afișează clar imaginea, titlul și o descriere scurtă. */
  body.apa-mobile-home-focus .apa-feed-card{
    display:block!important;
    min-height:0!important;
    overflow:hidden!important;
    border:1px solid #e5e8ed!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(15,23,42,.07)!important;
  }
  body.apa-mobile-home-focus .apa-feed-card-head{
    min-height:70px!important;
    padding:14px 16px!important;
  }
  body.apa-mobile-home-focus .apa-feed-media{
    display:block!important;
    width:100%!important;
    height:220px!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:#f1f3f5!important;
  }
  body.apa-mobile-home-focus .apa-feed-media img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.apa-mobile-home-focus .apa-feed-content{
    display:block!important;
    padding:17px 16px 15px!important;
    background:#fff!important;
  }
  body.apa-mobile-home-focus .apa-feed-content h3{
    display:-webkit-box!important;
    margin:0 0 10px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    font-size:19px!important;
    line-height:1.35!important;
  }
  body.apa-mobile-home-focus .apa-feed-content>p:not(.apa-feed-event-date){
    display:-webkit-box!important;
    margin:0 0 12px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    color:#667085!important;
    font-size:14px!important;
    line-height:1.55!important;
  }
  body.apa-mobile-home-focus .apa-feed-actions{
    margin-top:4px!important;
    padding-top:11px!important;
  }

  /* Articolul se deschide direct de la titlu, fără antetul comercial și fără footer. */
  body.single-post .apa-mobile-public-tools,
  body.single-post header.site-header,
  body.single-post #masthead,
  body.single-post .tutor-header,
  body.single-post .header-mobile,
  body.single-post .mobile-header,
  body.single-post .site-breadcrumbs,
  body.single-post .breadcrumbs,
  body.single-post .breadcrumb,
  body.single-post .tutor-breadcrumb,
  body.single-post footer,
  body.single-post .footer,
  body.single-post [class*="footer"],
  body.single-post [id*="footer"],
  body.single-post .newsletter,
  body.single-post [class*="newsletter"],
  body.single-post [class*="subscribe"]{
    display:none!important;
  }
  body.single-post{
    padding-bottom:0!important;
    background:#fff!important;
  }
  body.single-post main,
  body.single-post #primary,
  body.single-post .site-main,
  body.single-post .content-area{
    margin-top:0!important;
    padding-top:0!important;
  }
  body.single-post article{
    margin-top:0!important;
    padding-top:18px!important;
  }
  body.single-post .entry-header,
  body.single-post .post-header,
  body.single-post .single-post-header{
    margin-top:0!important;
    padding-top:0!important;
  }
  body.single-post .entry-title,
  body.single-post h1{
    margin-top:0!important;
  }
}

/* v2.1.0 — Modern News Feed: carduri ample, lizibile și acțiune clară Detalii. */
@media(max-width:720px){
  body.apa-mobile-home-focus .apa-social-feed{
    gap:20px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.apa-mobile-home-focus .apa-feed-card{
    border-radius:22px!important;
    box-shadow:0 12px 34px rgba(15,23,42,.09)!important;
  }
  body.apa-mobile-home-focus .apa-feed-card-head{
    min-height:76px!important;
    padding:15px 17px!important;
  }
  body.apa-mobile-home-focus .apa-feed-brand{
    width:48px!important;
    height:48px!important;
    font-size:22px!important;
  }
  body.apa-mobile-home-focus .apa-feed-card-head strong{
    font-size:17px!important;
    line-height:1.2!important;
  }
  body.apa-mobile-home-focus .apa-feed-card-head small{
    margin-top:3px!important;
    font-size:13px!important;
  }
  body.apa-mobile-home-focus .apa-feed-media{
    height:245px!important;
  }
  body.apa-mobile-home-focus .apa-feed-content{
    padding:18px 18px 17px!important;
  }
  body.apa-mobile-home-focus .apa-feed-content h3{
    -webkit-line-clamp:3!important;
    margin-bottom:11px!important;
    font-size:21px!important;
    line-height:1.32!important;
  }
  body.apa-mobile-home-focus .apa-feed-content>p:not(.apa-feed-event-date){
    -webkit-line-clamp:3!important;
    margin-bottom:16px!important;
    font-size:15px!important;
    line-height:1.55!important;
  }
  body.apa-mobile-home-focus .apa-feed-actions-primary{
    display:block!important;
    padding-top:14px!important;
    border-top:1px solid #edf0f3!important;
  }
  body.apa-mobile-home-focus .apa-feed-actions-primary a{
    display:flex!important;
    width:100%!important;
    min-height:48px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:11px 16px!important;
    border-radius:13px!important;
    background:#ed1c24!important;
    color:#fff!important;
    font-size:16px!important;
    font-weight:800!important;
    box-sizing:border-box!important;
  }
  body.apa-mobile-home-focus .apa-feed-actions-primary a:hover,
  body.apa-mobile-home-focus .apa-feed-actions-primary a:focus{
    background:#cc151c!important;
    color:#fff!important;
  }
  body.apa-mobile-home-focus .apa-feed-actions-primary .dashicons{
    color:#fff!important;
  }
}


/* v2.1.1 — Feed tip Facebook: text extins/restrâns în interiorul cardului. */
.apa-feed-story{position:relative;margin:0 0 14px}
.apa-feed-story-short,.apa-feed-story-full{margin:0;color:#303640;font-size:15px;line-height:1.55}
.apa-feed-story-full p{margin:0 0 12px}
.apa-feed-story-full p:last-child{margin-bottom:0}
.apa-feed-story-toggle{display:inline-flex;margin:7px 0 0;padding:0;border:0;background:transparent;color:#596170;font:inherit;font-weight:800;cursor:pointer}
.apa-feed-story-toggle:hover,.apa-feed-story-toggle:focus{color:#ed1c24;text-decoration:underline;outline:none}
.apa-feed-story.is-expanded .apa-feed-story-short{display:none}

@media(max-width:720px){
  body.apa-mobile-home-focus .apa-social-feed{gap:22px!important}
  body.apa-mobile-home-focus .apa-feed-card{overflow:hidden!important;border:1px solid #e6e9ed!important;border-radius:20px!important;background:#fff!important;box-shadow:0 7px 24px rgba(15,23,42,.08)!important}
  body.apa-mobile-home-focus .apa-feed-card-head{min-height:68px!important;padding:13px 15px!important}
  body.apa-mobile-home-focus .apa-feed-brand{width:44px!important;height:44px!important;font-size:20px!important}
  body.apa-mobile-home-focus .apa-feed-media{height:270px!important;background:#eef1f4!important}
  body.apa-mobile-home-focus .apa-feed-media img{width:100%!important;height:100%!important;object-fit:cover!important}
  body.apa-mobile-home-focus .apa-feed-content{padding:17px 16px 16px!important}
  body.apa-mobile-home-focus .apa-feed-content h3{display:block!important;margin:0 0 10px!important;font-size:21px!important;line-height:1.28!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  body.apa-mobile-home-focus .apa-feed-story-short,
  body.apa-mobile-home-focus .apa-feed-story-full{display:block!important;font-size:15px!important;line-height:1.52!important;color:#343a44!important}
  body.apa-mobile-home-focus .apa-feed-story-full[hidden]{display:none!important}
  body.apa-mobile-home-focus .apa-feed-story-toggle{font-size:15px!important}
  body.apa-mobile-home-focus .apa-feed-actions-primary{margin-top:13px!important;padding-top:12px!important}
  body.apa-mobile-home-focus .apa-feed-actions-primary a{min-height:45px!important;border-radius:12px!important;font-size:15px!important}
}

/* v2.1.2 — Carduri de noutăți complete + conversații desktop cu scroll real. */
.apa-feed-card{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
  min-height:520px!important;
  overflow:hidden!important;
}
.apa-feed-card-head{flex:0 0 auto!important}
.apa-feed-media{
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
}
.apa-feed-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.apa-feed-content{
  display:block!important;
  flex:1 0 auto!important;
  height:auto!important;
  min-height:220px!important;
  overflow:visible!important;
  padding:20px!important;
  background:#fff!important;
}
.apa-feed-content h3{
  display:block!important;
  overflow:visible!important;
  margin:0 0 12px!important;
  font-size:23px!important;
  line-height:1.28!important;
  -webkit-line-clamp:unset!important;
}
.apa-feed-story,
.apa-feed-story-short,
.apa-feed-story-full{
  display:block!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.apa-feed-story-short{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:4!important;
  font-size:16px!important;
  line-height:1.55!important;
}
.apa-feed-story.is-expanded .apa-feed-story-short{display:none!important}
.apa-feed-story-full[hidden]{display:none!important}
.apa-feed-story-full:not([hidden]){display:block!important}
.apa-feed-story-toggle{font-size:15px!important;color:#d71920!important}
.apa-feed-actions-primary{display:block!important;margin-top:14px!important}
.apa-feed-actions-primary a{display:flex!important;width:100%!important;justify-content:center!important}

/* Messenger desktop: zona de mesaje trebuie să se ruleze independent. */
.apa-messenger-shell{overflow:hidden!important}
.apa-messenger-thread{
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.apa-messenger-thread .apa-messenger-scroll,
.apa-messenger-thread .apa-message-bubbles{
  flex:1 1 auto!important;
  min-height:0!important;
  height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:auto!important;
  scrollbar-color:#aeb5bf #eef1f4!important;
}
.apa-messenger-thread .apa-messenger-scroll::-webkit-scrollbar,
.apa-messenger-thread .apa-message-bubbles::-webkit-scrollbar{width:10px!important}
.apa-messenger-thread .apa-messenger-scroll::-webkit-scrollbar-track,
.apa-messenger-thread .apa-message-bubbles::-webkit-scrollbar-track{background:#eef1f4!important}
.apa-messenger-thread .apa-messenger-scroll::-webkit-scrollbar-thumb,
.apa-messenger-thread .apa-message-bubbles::-webkit-scrollbar-thumb{background:#aeb5bf!important;border-radius:999px!important;border:2px solid #eef1f4!important}
.apa-messenger-thread .apa-message-compose{flex:0 0 auto!important}

@media(max-width:720px){
  body.apa-mobile-home-focus .apa-feed-card{
    min-height:590px!important;
    border-radius:22px!important;
  }
  body.apa-mobile-home-focus .apa-feed-media{
    height:280px!important;
    min-height:280px!important;
  }
  body.apa-mobile-home-focus .apa-feed-content{
    min-height:250px!important;
    padding:18px 17px 17px!important;
  }
  body.apa-mobile-home-focus .apa-feed-content h3{
    display:block!important;
    font-size:22px!important;
    line-height:1.3!important;
    -webkit-line-clamp:unset!important;
  }
  body.apa-mobile-home-focus .apa-feed-story-short{
    -webkit-line-clamp:4!important;
    font-size:16px!important;
  }
}


/* v2.1.5 — Premium Home + Accessibility (PROFMET red / white / black) */
:root{
  --apa-red:#ed1c24;
  --apa-red-dark:#c81018;
  --apa-black:#171b20;
  --apa-charcoal:#22272e;
  --apa-ink:#111827;
  --apa-muted:#667085;
  --apa-line:#e5e7eb;
  --apa-soft:#f5f6f8;
  --apa-white:#fff;
  --apa-radius:22px;
  --apa-shadow:0 18px 50px rgba(17,24,39,.10);
  --apa-shadow-hover:0 24px 70px rgba(17,24,39,.16);
}

body.apa-premium-home{
  color:var(--apa-ink);
  background:
    radial-gradient(circle at 88% 8%,rgba(237,28,36,.075),transparent 28rem),
    linear-gradient(180deg,#fff 0%,#fafafa 60%,#f4f5f7 100%);
}
body.apa-premium-home *{box-sizing:border-box}
body.apa-premium-home main,
body.apa-premium-home #primary,
body.apa-premium-home .site-main{overflow:clip}

/* Header desktop: compact, sticky and readable. */
body.apa-premium-home .apa-premium-site-header,
body.apa-premium-home header.site-header,
body.apa-premium-home #masthead{
  position:sticky!important;
  top:32px;
  z-index:999;
  background:rgba(255,255,255,.93)!important;
  border-bottom:1px solid rgba(17,24,39,.08)!important;
  box-shadow:0 10px 35px rgba(17,24,39,.06)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
body.apa-premium-home.admin-bar .apa-premium-site-header,
body.apa-premium-home.admin-bar header.site-header,
body.apa-premium-home.admin-bar #masthead{top:32px}
body.apa-premium-home nav a{
  position:relative;
  color:var(--apa-black)!important;
  font-weight:650;
  text-decoration:none!important;
  transition:color .2s ease;
}
body.apa-premium-home nav a:hover,
body.apa-premium-home nav a:focus-visible{color:var(--apa-red)!important}
body.apa-premium-home nav a:not(.apa-menu-account)::after{
  content:"";position:absolute;left:14%;right:86%;bottom:-7px;height:2px;
  border-radius:999px;background:var(--apa-red);transition:right .22s ease;
}
body.apa-premium-home nav a:not(.apa-menu-account):hover::after,
body.apa-premium-home nav a:not(.apa-menu-account):focus-visible::after{right:14%}

/* Main spacing and section rhythm. */
body.apa-premium-home .apa-home-section{
  position:relative;
  scroll-margin-top:130px;
}
body.apa-premium-home .apa-home-section + .apa-home-section{margin-top:clamp(34px,5vw,78px)!important}
body.apa-premium-home .apa-home-section h1,
body.apa-premium-home .apa-home-section h2,
body.apa-premium-home .apa-home-section h3{
  color:var(--apa-black);
  letter-spacing:-.025em;
  text-wrap:balance;
}
body.apa-premium-home .apa-home-section p{color:#404754;line-height:1.7}

/* Hero surface and brand accent. */
body.apa-premium-home .apa-home-hero{
  overflow:hidden;
  border-radius:30px!important;
  box-shadow:var(--apa-shadow);
  background:
    linear-gradient(112deg,#f4f5f7 0%,#f4f5f7 57%,rgba(237,28,36,.96) 57.2%,rgba(237,28,36,.96) 65%,#fff 65.2%)!important;
}
body.apa-premium-home .apa-home-hero::before{
  content:"ACADEMIA PROFMET";
  position:absolute;left:clamp(24px,4vw,58px);top:clamp(20px,3vw,38px);
  color:var(--apa-red);font-size:12px;font-weight:900;letter-spacing:.18em;
  z-index:2;
}

/* Cards identified safely by JS. */
body.apa-premium-home .apa-enhanced-card{
  position:relative;
  height:100%;
  padding:clamp(22px,2.3vw,34px)!important;
  border:1px solid rgba(17,24,39,.07)!important;
  border-radius:var(--apa-radius)!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 32px rgba(17,24,39,.06);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
body.apa-premium-home .apa-enhanced-card::before{
  content:"";display:block;width:38px;height:4px;margin:0 0 20px;
  border-radius:999px;background:var(--apa-red);
}
body.apa-premium-home .apa-enhanced-card:hover{
  transform:translateY(-5px);
  border-color:rgba(237,28,36,.28)!important;
  box-shadow:var(--apa-shadow-hover);
}
body.apa-premium-home .apa-enhanced-card h3,
body.apa-premium-home .apa-enhanced-card h4{margin-top:0;font-weight:800}

/* Dark solution cards remain on brand. */
body.apa-premium-home .apa-dark-card{
  color:#fff!important;
  background:linear-gradient(145deg,#151a20,#252b33)!important;
  border-color:rgba(255,255,255,.08)!important;
}
body.apa-premium-home .apa-dark-card h2,
body.apa-premium-home .apa-dark-card h3,
body.apa-premium-home .apa-dark-card h4,
body.apa-premium-home .apa-dark-card p{color:#fff!important}
body.apa-premium-home .apa-dark-card::before{background:linear-gradient(90deg,var(--apa-red),#ff7378)}

/* Buttons and links. */
body.apa-premium-home a.wp-block-button__link,
body.apa-premium-home button:not(.apa-a11y-toggle):not(.apa-a11y-button),
body.apa-premium-home input[type=submit],
body.apa-premium-home .button,
body.apa-premium-home .elementor-button{
  min-height:48px;
  border-radius:10px!important;
  border:1px solid var(--apa-red)!important;
  background:var(--apa-red)!important;
  color:#fff!important;
  font-weight:800!important;
  box-shadow:0 8px 24px rgba(237,28,36,.18);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
body.apa-premium-home a.wp-block-button__link:hover,
body.apa-premium-home button:not(.apa-a11y-toggle):not(.apa-a11y-button):hover,
body.apa-premium-home input[type=submit]:hover,
body.apa-premium-home .button:hover,
body.apa-premium-home .elementor-button:hover{
  transform:translateY(-2px);
  background:var(--apa-red-dark)!important;
  box-shadow:0 13px 30px rgba(237,28,36,.28);
}

/* Forms: higher contrast, better labels and touch targets. */
body.apa-premium-home form{
  border-radius:24px;
}
body.apa-premium-home input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.apa-premium-home select,
body.apa-premium-home textarea{
  min-height:50px;
  border:1px solid #cfd4dc!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111827!important;
  padding:12px 15px!important;
  font-size:16px!important;
}
body.apa-premium-home textarea{min-height:120px}
body.apa-premium-home input:focus,
body.apa-premium-home select:focus,
body.apa-premium-home textarea:focus{
  outline:0!important;
  border-color:var(--apa-red)!important;
  box-shadow:0 0 0 4px rgba(237,28,36,.13)!important;
}

/* Images / video. */
body.apa-premium-home .apa-home-section img,
body.apa-premium-home .apa-home-section video,
body.apa-premium-home .apa-home-section iframe{
  border-radius:18px;
}
body.apa-premium-home .apa-media-premium{
  overflow:hidden;
  border-radius:22px!important;
  box-shadow:var(--apa-shadow);
}

/* Cleaner footer. */
body.apa-premium-home footer,
body.apa-premium-home .site-footer{
  margin-top:72px;
  color:#d7dce3!important;
  background:linear-gradient(145deg,#15191e,#242a31)!important;
  border-top:4px solid var(--apa-red)!important;
}
body.apa-premium-home footer a,
body.apa-premium-home .site-footer a{color:#fff!important}
body.apa-premium-home footer a:hover,
body.apa-premium-home .site-footer a:hover{color:#ff7b80!important}

/* Skip link and visible focus. */
.apa-skip-link{
  position:fixed;left:18px;top:-90px;z-index:100000;
  padding:12px 18px;border-radius:0 0 10px 10px;background:#111;color:#fff!important;
  font-weight:800;text-decoration:none;transition:top .2s ease;
}
.apa-skip-link:focus{top:32px}
body.apa-premium-home :focus-visible{
  outline:3px solid #111!important;
  outline-offset:3px!important;
}

/* Accessibility widget. */
.apa-a11y-widget{position:fixed;left:18px;bottom:18px;z-index:100000;font-family:inherit}
.apa-a11y-toggle{
  display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;
  border:0;border-radius:50%;background:var(--apa-black);color:#fff;cursor:pointer;
  box-shadow:0 12px 32px rgba(17,24,39,.28);font-size:24px;
}
.apa-a11y-toggle:hover{background:var(--apa-red)}
.apa-a11y-panel{
  position:absolute;left:0;bottom:64px;width:min(310px,calc(100vw - 36px));padding:18px;
  border:1px solid #e5e7eb;border-radius:18px;background:#fff;color:#111827;
  box-shadow:0 20px 60px rgba(17,24,39,.24);
}
.apa-a11y-panel[hidden]{display:none!important}
.apa-a11y-panel h2{margin:0 0 14px;font-size:18px}
.apa-a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.apa-a11y-button{
  min-height:44px;padding:9px 11px;border:1px solid #d0d5dd;border-radius:9px;
  background:#fff;color:#111827;font-weight:700;cursor:pointer;text-align:left;
}
.apa-a11y-button:hover,.apa-a11y-button[aria-pressed=true]{border-color:var(--apa-red);background:#fff1f2;color:#b42318}
.apa-a11y-reset{grid-column:1/-1;text-align:center}

html.apa-font-large{font-size:112.5%}
html.apa-font-xlarge{font-size:125%}
html.apa-high-contrast body{background:#fff!important;color:#000!important}
html.apa-high-contrast body *{text-shadow:none!important}
html.apa-high-contrast body a{text-decoration:underline!important;text-decoration-thickness:2px!important}
html.apa-high-contrast body.apa-premium-home .apa-enhanced-card{border:2px solid #000!important;box-shadow:none!important}
html.apa-reduce-motion *,
html.apa-reduce-motion *::before,
html.apa-reduce-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}

@media(max-width:900px){
  body.apa-premium-home .apa-premium-site-header,
  body.apa-premium-home header.site-header,
  body.apa-premium-home #masthead{top:0}
  body.apa-premium-home.admin-bar .apa-premium-site-header,
  body.apa-premium-home.admin-bar header.site-header,
  body.apa-premium-home.admin-bar #masthead{top:46px}
  body.apa-premium-home .apa-home-section + .apa-home-section{margin-top:34px!important}
  body.apa-premium-home .apa-home-hero{border-radius:22px!important;background:#f4f5f7!important}
  body.apa-premium-home .apa-home-hero::before{position:static;display:block;padding:20px 20px 0}
  body.apa-premium-home .apa-enhanced-card{padding:22px!important}
  .apa-a11y-widget{left:12px;bottom:84px}
}
@media(prefers-reduced-motion:reduce){
  body.apa-premium-home *,body.apa-premium-home *::before,body.apa-premium-home *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* v2.1.6 — Lecții blocate până la finalizarea pasului anterior. */
.apa-sequential-locked-item{position:relative!important;opacity:.62!important;background:#f3f4f6!important;cursor:not-allowed!important}
.apa-sequential-locked-link{pointer-events:auto!important;cursor:not-allowed!important;color:#667085!important;text-decoration:none!important}
.apa-sequential-lock-icon{position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:9px!important;background:#eef0f3!important;color:#5f6670!important;font-size:16px!important;line-height:1!important;box-shadow:inset 0 0 0 1px rgba(17,24,39,.08)!important;z-index:5!important}
.apa-sequential-locked-item input[type="checkbox"],.apa-sequential-locked-item [class*="check"]{opacity:.45!important}
.apa-sequential-just-unlocked{animation:apaSequentialUnlock 1.6s ease both}
@keyframes apaSequentialUnlock{0%{background:#dcfce7;box-shadow:0 0 0 0 rgba(22,163,74,.28)}55%{box-shadow:0 0 0 8px rgba(22,163,74,0)}100%{background:inherit}}
.apa-sequential-lock-toast{position:fixed;z-index:100001;left:50%;bottom:30px;display:flex;align-items:center;gap:12px;width:min(520px,calc(100vw - 30px));padding:14px 17px;border-radius:15px;background:#171b21;color:#fff;box-shadow:0 20px 55px rgba(0,0,0,.3);opacity:0;visibility:hidden;transform:translate(-50%,18px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.apa-sequential-lock-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.apa-sequential-lock-toast>.dashicons{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#ed1c2e;color:#fff;font-size:20px}
.apa-sequential-lock-toast strong{color:#fff;font-size:14px}.apa-sequential-lock-toast span:last-child{font-size:13px;line-height:1.45;color:#e5e7eb}
@media(max-width:782px){.apa-sequential-lock-icon{right:9px!important;width:25px!important;height:25px!important;border-radius:8px!important}.apa-sequential-lock-toast{bottom:88px}}

.apa-a11y-widget{display:none!important;}

/* v2.3.0 — Learning & Development Center */
.apa-development-hub{margin-top:24px;border:1px solid #eceff3;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#fafbfc 100%);overflow:hidden;box-shadow:0 18px 50px rgba(17,24,39,.07)}
.apa-development-hub-head{display:flex;align-items:center;gap:14px;padding:22px 24px;background:linear-gradient(135deg,#17191d 0%,#262a31 100%);color:#fff;border-bottom:4px solid #d71920}
.apa-development-hub-head>.dashicons{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#d71920;font-size:22px}
.apa-development-hub-head small{display:block;color:#ffb7ba;font-size:11px;font-weight:800;letter-spacing:.12em}.apa-development-hub-head h3{margin:3px 0 0;color:#fff;font-size:22px}
.apa-development-block{border-bottom:1px solid #eceff3}.apa-development-block:last-child{border-bottom:0}.apa-development-block>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 24px;cursor:pointer;background:#fff}.apa-development-block>summary::-webkit-details-marker{display:none}.apa-development-block>summary>span{display:flex;align-items:center;gap:10px;font-size:16px;color:#17191d}.apa-development-block>summary .dashicons{color:#d71920}.apa-development-block>summary em{font-style:normal;min-width:28px;height:28px;padding:0 9px;border-radius:999px;display:grid;place-items:center;background:#f3f4f6;color:#111827;font-weight:800;font-size:12px}.apa-development-block[open]>summary{background:#fff7f7}.apa-development-content{padding:22px 24px 26px}
.apa-certificate-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.apa-certificate-summary>div{padding:16px;border:1px solid #eceff3;border-radius:16px;background:#fff;text-align:center}.apa-certificate-summary strong{display:block;font-size:25px;color:#d71920}.apa-certificate-summary span{font-size:12px;color:#6b7280;font-weight:700}
.apa-certificate-portfolio{display:grid;gap:12px}.apa-portfolio-certificate{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid #e7e9ed;border-radius:16px;background:#fff}.apa-portfolio-certificate>.dashicons{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-size:22px;background:#fff1f2;color:#d71920}.apa-portfolio-certificate h4{margin:2px 0 4px;font-size:16px;color:#111827}.apa-portfolio-certificate p,.apa-portfolio-certificate small{margin:0;color:#6b7280;font-size:12px}.apa-portfolio-certificate>a{padding:9px 13px;border-radius:11px;background:#17191d;color:#fff;text-decoration:none;font-weight:800;font-size:12px}.apa-portfolio-certificate i{font-style:normal;font-weight:800}.apa-portfolio-certificate .status-valid{color:#16803d}.apa-portfolio-certificate .status-soon{color:#b45309}.apa-portfolio-certificate .status-expired{color:#b91c1c}
.apa-request-type{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.apa-request-type label{position:relative}.apa-request-type input{position:absolute;opacity:0}.apa-request-type span{display:block;padding:15px 16px;border:2px solid #e5e7eb;border-radius:15px;background:#fff;cursor:pointer}.apa-request-type b,.apa-request-type small{display:block}.apa-request-type small{margin-top:3px;color:#6b7280}.apa-request-type input:checked+span{border-color:#d71920;background:#fff4f4;box-shadow:0 0 0 3px rgba(215,25,32,.08)}
.apa-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.apa-request-grid>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;color:#374151}.apa-request-grid .wide{grid-column:1/-1}.apa-request-grid input,.apa-request-grid select,.apa-request-grid textarea{width:100%;border:1px solid #d9dde3;border-radius:12px;padding:11px 12px;background:#fff;font:inherit;color:#111827;box-sizing:border-box}.apa-request-grid input:focus,.apa-request-grid select:focus,.apa-request-grid textarea:focus{outline:0;border-color:#d71920;box-shadow:0 0 0 3px rgba(215,25,32,.1)}.apa-money-field{display:grid;grid-template-columns:1fr 84px;gap:8px}.apa-submit-request{margin-top:18px;border:0;cursor:pointer}.apa-front-notice{padding:12px 14px;border-radius:12px;margin-bottom:16px;font-weight:800}.apa-front-notice.is-success{background:#ecfdf3;color:#16743b;border:1px solid #b7efca}
.apa-my-requests{margin-top:24px;padding-top:20px;border-top:1px solid #eceff3}.apa-my-requests h4{margin:0 0 12px}.apa-my-requests>div{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #f0f1f3}.apa-my-requests>div:last-child{border-bottom:0}.apa-my-requests small{color:#6b7280}.apa-request-status{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900;background:#f3f4f6;color:#4b5563}.apa-request-status.status-approved,.apa-request-status.status-completed{background:#dcfce7;color:#166534}.apa-request-status.status-rejected{background:#fee2e2;color:#991b1b}.apa-request-status.status-review{background:#fef3c7;color:#92400e}.apa-compact-empty{padding:26px!important}
@media(max-width:720px){.apa-development-hub{margin:18px -2px 0;border-radius:18px}.apa-development-hub-head{padding:18px}.apa-development-hub-head h3{font-size:18px}.apa-development-block>summary{padding:16px 18px}.apa-development-content{padding:16px}.apa-certificate-summary{gap:8px}.apa-certificate-summary>div{padding:12px 6px}.apa-certificate-summary strong{font-size:21px}.apa-portfolio-certificate{grid-template-columns:38px 1fr;gap:11px}.apa-portfolio-certificate>a{grid-column:2;width:max-content}.apa-portfolio-certificate>.dashicons{width:38px;height:38px}.apa-request-grid,.apa-request-type{grid-template-columns:1fr}.apa-request-grid .wide{grid-column:auto}.apa-my-requests>div{grid-template-columns:1fr}.apa-money-field{grid-template-columns:1fr 76px}}

/* v2.3.1 — Profil mobil curat: un singur search global, fără blocuri comerciale/footer. */
.apa-search-result-copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.apa-search-result-copy strong{overflow:hidden;color:#101828;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.apa-search-result-copy small{color:#8a94a3;font-size:11px;line-height:1.2}
@media(max-width:900px){
  .apa-mobile-public-tools{grid-template-columns:minmax(0,1fr)!important;padding:10px 18px!important;background:#fff!important}
  .apa-mobile-public-tools .apa-public-search{width:100%!important;max-width:none!important}
  .apa-mobile-public-tools .apa-public-search input[type=search]{height:52px!important;padding-left:48px!important;border:1px solid #dfe3e8!important;border-radius:16px!important;background:#f7f8fa!important;font-size:16px!important;box-shadow:0 8px 22px rgba(15,23,42,.055)!important}
  .apa-mobile-public-tools .apa-public-search .dashicons-search{left:17px!important;color:#657184!important;font-size:22px!important;width:22px!important;height:22px!important}
  .apa-mobile-public-tools .apa-mobile-account,
  .apa-menu-account-item{display:none!important}
}
@media(max-width:720px){
  body.apa-mobile-profile-focus .apa-cabinet-topbar{display:none!important}
  body.apa-mobile-profile-focus footer,
  body.apa-mobile-profile-focus .site-footer,
  body.apa-mobile-profile-focus .footer,
  body.apa-mobile-profile-focus [class*="footer"],
  body.apa-mobile-profile-focus [id*="footer"],
  body.apa-mobile-profile-focus .newsletter,
  body.apa-mobile-profile-focus [class*="newsletter"],
  body.apa-mobile-profile-focus .breadcrumbs,
  body.apa-mobile-profile-focus .breadcrumb,
  body.apa-mobile-profile-focus .woocommerce-breadcrumb,
  body.apa-mobile-profile-focus .tutor-breadcrumb{display:none!important}
  body.apa-mobile-profile-focus .apa-cabinet{margin:0!important;padding:0 14px 86px!important}
  body.apa-mobile-profile-focus .apa-cabinet-panel[data-apa-panel="profile"]{display:block!important;margin:0!important;padding:0!important;background:#fff!important}
  body.apa-mobile-profile-focus .apa-cabinet-panel[data-apa-panel="profile"]>.apa-cabinet-section{margin:12px 0 0!important;padding:20px!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.07)!important}
}

/* v2.3.2 — Același antet PROFMET + căutare adaptată pe toate paginile mobile. */
@media(max-width:720px){
  html.apa-unified-mobile-cabinet,
  body.apa-unified-mobile-cabinet{height:100%!important;overflow:hidden!important;background:#fff!important}

  body.apa-unified-mobile-cabinet .apa-unified-site-header{
    display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:100120!important;margin:0!important;background:#fff!important;box-shadow:0 1px 0 rgba(15,23,42,.08)!important
  }
  body.admin-bar.apa-unified-mobile-cabinet .apa-unified-site-header{top:0!important}
  body.apa-unified-mobile-cabinet .apa-unified-mobile-tools{
    display:grid!important;position:fixed!important;top:var(--apa-unified-header-h,96px)!important;left:0!important;right:0!important;z-index:100115!important;margin:0!important;padding:12px 22px!important;background:#fff!important;border-bottom:1px solid #eef0f3!important;box-sizing:border-box!important
  }
  body.apa-unified-mobile-cabinet .apa-unified-mobile-tools .apa-public-search{display:block!important;width:100%!important;max-width:none!important}
  body.apa-unified-mobile-cabinet .apa-unified-mobile-tools .apa-public-search input[type=search]{height:54px!important;border-radius:18px!important;background:#f6f7f9!important;font-size:16px!important}

  body.apa-unified-mobile-cabinet .apa-cabinet-topbar,
  body.apa-unified-mobile-cabinet footer,
  body.apa-unified-mobile-cabinet .site-footer,
  body.apa-unified-mobile-cabinet .footer,
  body.apa-unified-mobile-cabinet [class*="newsletter"]{display:none!important}

  body.apa-unified-mobile-cabinet .apa-cabinet{width:100%!important;max-width:none!important;height:100%!important;margin:0!important;padding:0 0 66px!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel.is-active:not([hidden]){
    position:fixed!important;inset:var(--apa-unified-shell-top,170px) 0 66px 0!important;z-index:99980!important;display:block!important;margin:0!important;padding:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;background:#fff!important;box-sizing:border-box!important
  }

  /* Anulăm ascunderea antetului din modurile focus mai vechi. */
  body.apa-mobile-home-focus header.site-header,
  body.apa-mobile-home-focus #masthead,
  body.apa-mobile-home-focus .tutor-header,
  body.apa-mobile-home-focus .header-mobile,
  body.apa-mobile-home-focus .mobile-header,
  body.apa-mobile-home-focus .apa-mobile-public-tools,
  body.apa-mobile-courses-focus header.site-header,
  body.apa-mobile-courses-focus #masthead,
  body.apa-mobile-courses-focus .tutor-header,
  body.apa-mobile-courses-focus .header-mobile,
  body.apa-mobile-courses-focus .mobile-header,
  body.apa-mobile-courses-focus .apa-mobile-public-tools,
  body.apa-mobile-activity-focus header.site-header,
  body.apa-mobile-activity-focus #masthead,
  body.apa-mobile-activity-focus .tutor-header,
  body.apa-mobile-activity-focus .header-mobile,
  body.apa-mobile-activity-focus .mobile-header,
  body.apa-mobile-activity-focus .apa-mobile-public-tools,
  body.apa-mobile-messenger-focus header.site-header,
  body.apa-mobile-messenger-focus #masthead,
  body.apa-mobile-messenger-focus .tutor-header,
  body.apa-mobile-messenger-focus .header-mobile,
  body.apa-mobile-messenger-focus .mobile-header,
  body.apa-mobile-messenger-focus .apa-mobile-public-tools{display:block!important}

  /* Căutarea de sus înlocuiește câmpurile duplicate din fiecare pagină. */
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="messages"] .apa-messenger-search,
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="activity"] .apa-activity-search,
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="overview"] .apa-home-feed-search{display:none!important}

  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="overview"] .apa-social-feed,
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="courses"]>.apa-cabinet-section,
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="activity"] .apa-activity-app,
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="profile"]>.apa-cabinet-section{height:auto!important;min-height:100%!important;overflow:visible!important}

  body.apa-unified-mobile-cabinet .apa-cabinet-tabs{z-index:100200!important}
}

/* v2.6.0 — Evaluare 360° în Cabinet */
.apa-360-task-list{display:grid;gap:14px}.apa-360-task{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid #e4e8ee;border-radius:18px;background:#fff}.apa-360-task>.dashicons{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:#ffe9eb;color:#e21b2d;font-size:22px}.apa-360-task small,.apa-360-task h3,.apa-360-task p{display:block;margin:0}.apa-360-task small{color:#c51d29;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.apa-360-task h3{margin-top:3px;font-size:18px}.apa-360-task p{margin-top:4px;color:#7a8492}.apa-360-task a{padding:11px 16px;border-radius:12px;background:#eb1c2a;color:#fff;text-decoration:none;font-weight:800}.apa-360-task.is-done{opacity:.78}.apa-360-task.is-done>.dashicons{background:#e9f8ee;color:#159044}
.apa-360-eval-head{padding:20px 22px;margin-bottom:16px;border-radius:20px;background:linear-gradient(120deg,#151d2a,#6b1d28);color:#fff}.apa-360-eval-head h3{color:#fff;font-size:25px;margin:5px 0}.apa-360-eval-head p{margin:0;color:#d7dde6}.apa-360-evaluation-form{display:grid;gap:14px}.apa-360-question{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:18px;border:1px solid #e2e7ed;border-radius:18px;background:#fff}.apa-360-qno{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:#151d2a;color:#fff;font-weight:800}.apa-360-question h4{margin:3px 0 14px;font-size:17px;line-height:1.4}.apa-rating-five{display:grid;grid-template-columns:repeat(5,minmax(52px,1fr));gap:8px;max-width:520px}.apa-rating-five label{cursor:pointer}.apa-rating-five input{position:absolute;opacity:0}.apa-rating-five span{display:flex;align-items:center;justify-content:center;height:46px;border:1px solid #dce3ea;border-radius:13px;background:#f7f9fb;font-size:17px;font-weight:800;color:#313c4c;transition:.18s}.apa-rating-five input:checked+span{background:#eb1c2a;border-color:#eb1c2a;color:#fff;box-shadow:0 8px 20px rgba(235,28,42,.2)}.apa-360-question textarea{width:100%;margin-top:10px;padding:11px 13px;border:1px solid #dfe5ec;border-radius:12px;resize:vertical}.apa-360-scale-legend{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px;border-radius:14px;background:#f3f6f9;color:#657080;font-size:12px}.apa-360-scale-legend span{padding-right:10px;border-right:1px solid #d9e0e7}.apa-360-scale-legend span:last-child{border-right:0}
@media(max-width:640px){.apa-360-task{grid-template-columns:42px 1fr}.apa-360-task a,.apa-360-task>b{grid-column:1/-1;text-align:center}.apa-360-question{grid-template-columns:1fr}.apa-rating-five{grid-template-columns:repeat(5,1fr);gap:5px}.apa-rating-five span{height:42px}.apa-360-qno{width:34px;height:34px}}


/* v2.6.1 — Experiență ghidată pentru evaluatorii 360° */
.apa-360-eval-shell{max-width:980px;margin:0 auto}.apa-360-eval-head-v261{display:flex;align-items:center;justify-content:space-between;gap:20px}.apa-360-head-progress{display:flex;min-width:108px;flex-direction:column;align-items:center;justify-content:center;padding:12px 16px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.08)}.apa-360-head-progress strong{font-size:24px;line-height:1}.apa-360-head-progress span{margin-top:4px;color:#d7dde6;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.apa-360-progressbar{height:8px;margin:-5px 8px 14px;overflow:hidden;border-radius:99px;background:#e9edf2}.apa-360-progressbar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e51f2e,#ff5662);transition:width .25s ease}.apa-360-scale-sticky{margin-bottom:14px}.apa-360-question-stage{min-height:355px}.apa-360-step-question{display:none!important;min-height:330px;padding:28px}.apa-360-step-question.is-active{display:grid!important}.apa-360-step-meta{display:flex;flex-direction:column;align-items:center;gap:8px}.apa-360-step-meta small{color:#8792a0;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.apa-360-step-question h4{max-width:760px;margin:0 0 20px;font-size:22px;line-height:1.42;color:#152033}.apa-360-rating-hint{margin:0 0 10px;color:#7b8796;font-size:13px;font-weight:700}.apa-360-evaluation-stepper .apa-rating-five{max-width:760px}.apa-360-evaluation-stepper .apa-rating-five span{height:70px;flex-direction:column;gap:3px}.apa-360-evaluation-stepper .apa-rating-five span b{font-size:22px}.apa-360-evaluation-stepper .apa-rating-five span small{font-size:10px;font-weight:700;color:#7d8794}.apa-360-evaluation-stepper .apa-rating-five input:checked+span small{color:#fff}.apa-360-comment{display:block;max-width:760px;margin-top:16px}.apa-360-comment>span{display:block;margin-bottom:7px;color:#394657;font-size:13px;font-weight:800}.apa-360-comment em{color:#8a95a3;font-weight:500}.apa-360-step-actions{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-top:14px;padding-top:16px;border-top:1px solid #e7ebef}.apa-360-nav-button{min-height:44px;padding:0 17px;border:1px solid #dce2e9;border-radius:12px;background:#fff;color:#344052;font-weight:800;cursor:pointer}.apa-360-nav-button.is-primary{border-color:#152033;background:#152033;color:#fff}.apa-360-nav-button:disabled{opacity:.42;cursor:not-allowed}.apa-360-step-dots{display:flex;justify-content:center;gap:6px}.apa-360-step-dots button{width:34px;height:34px;padding:0;border:1px solid #dfe4ea;border-radius:10px;background:#f7f9fb;color:#7d8794;font-weight:800;cursor:pointer}.apa-360-step-dots button.is-answered{border-color:#b9dfc5;background:#eaf8ee;color:#11843b}.apa-360-step-dots button.is-active{border-color:#eb1c2a;background:#eb1c2a;color:#fff;box-shadow:0 5px 14px rgba(235,28,42,.22)}.apa-360-submit-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px;padding:15px;border-radius:16px;background:#f4f7fa}.apa-360-save-draft{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px;border:1px solid #d8dfe7;border-radius:12px;background:#fff;color:#334054;font-weight:800;cursor:pointer}.apa-360-final-submit{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-width:190px}.apa-360-final-submit:disabled{opacity:.45!important;cursor:not-allowed!important}.apa-360-task.is-progress>.dashicons{background:#fff3df;color:#c87600}.apa-360-task.is-progress a{background:#151d2a}
@media(max-width:720px){.apa-360-eval-head-v261{align-items:flex-start}.apa-360-head-progress{min-width:82px;padding:10px}.apa-360-step-question{padding:20px 15px}.apa-360-step-question h4{font-size:18px}.apa-360-evaluation-stepper .apa-rating-five{grid-template-columns:repeat(5,1fr)}.apa-360-evaluation-stepper .apa-rating-five span{height:58px}.apa-360-evaluation-stepper .apa-rating-five span small{display:none}.apa-360-step-actions{grid-template-columns:1fr 1fr}.apa-360-step-dots{grid-column:1/-1;grid-row:1;flex-wrap:wrap}.apa-360-nav-button{grid-row:2}.apa-360-submit-row{flex-direction:column}.apa-360-save-draft,.apa-360-final-submit{width:100%}}

/* v2.7.0 Development cabinet */
.apa-dev-cabinet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}.apa-dev-cabinet-grid article{background:#fff;border:1px solid #e8e8ec;border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.04)}.apa-dev-card-head{display:flex;gap:12px;align-items:flex-start}.apa-dev-card-head>.dashicons{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#111;color:#fff;font-size:20px}.apa-dev-card-head small{font-size:11px;font-weight:800;letter-spacing:.08em;color:#e30613}.apa-dev-card-head h3{margin:4px 0 0;font-size:18px}.apa-dev-score{display:flex;justify-content:space-between;gap:12px;margin:18px 0 10px}.apa-dev-score span{color:#666;font-size:13px}.apa-dev-score b{display:block;color:#111;font-size:22px}.apa-dev-progress{display:block;height:7px;background:#eee;border-radius:999px;overflow:hidden}.apa-dev-progress b{display:block;height:100%;background:linear-gradient(90deg,#111,#e30613);border-radius:999px}.apa-dev-cabinet-grid article>p{margin:16px 0 8px;color:#444;line-height:1.6}.apa-dev-cabinet-grid article>em{display:block;color:#777;font-style:normal;font-size:13px;margin-bottom:14px}.apa-dev-cabinet-grid form{display:flex;gap:10px;align-items:center;margin-top:16px}.apa-dev-cabinet-grid select{min-width:150px}@media(max-width:700px){.apa-dev-cabinet-grid{grid-template-columns:1fr}.apa-dev-cabinet-grid form{align-items:stretch;flex-direction:column}.apa-dev-cabinet-grid select{width:100%}}

/* v2.7.3 Development progress sync */
.apa-dev-card-head{gap:10px}.apa-dev-card-head .apa-dev-action-badge{margin-left:auto}.apa-dev-action-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:10px;font-weight:800}.apa-dev-live-progress{display:flex;align-items:center;gap:10px;margin:12px 0}.apa-dev-live-progress i{display:block;flex:1;height:8px;border-radius:999px;background:#eef1f5;overflow:hidden}.apa-dev-live-progress i b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e31e24,#ff5d67)}.apa-dev-live-progress strong{font-size:12px;min-width:36px;text-align:right}.apa-dev-auto-sync{display:block;color:#667085;margin:-4px 0 10px}.apa-dev-overdue{color:#b42318!important;font-weight:800}.apa-dev-cabinet-grid article.is-overdue{border-color:#fda29b!important}

/* v2.8.0 — Cabinet personal mai ergonomic pe mobil */
@media(max-width:720px){
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="evaluations"]>.apa-cabinet-section{padding:12px!important;margin:0!important;border-radius:0!important;box-shadow:none!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="evaluations"] .apa-cabinet-section-head{padding:8px 2px 12px!important;margin:0 0 8px!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="evaluations"] .apa-cabinet-section-head h2{font-size:26px!important;line-height:1.05!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="evaluations"] .apa-cabinet-section-head p{font-size:13px!important;line-height:1.4!important;margin-top:6px!important}
  .apa-360-eval-shell{max-width:none!important}
  .apa-360-eval-head-v261{padding:14px 15px!important;margin-bottom:9px!important;border-radius:16px!important;gap:10px!important}
  .apa-360-eval-head-v261 small{font-size:10px!important}.apa-360-eval-head-v261 h3{font-size:19px!important;line-height:1.2!important;margin:4px 0!important}.apa-360-eval-head-v261 p{font-size:12px!important}
  .apa-360-head-progress{min-width:66px!important;padding:8px!important;border-radius:12px!important}.apa-360-head-progress strong{font-size:20px!important}.apa-360-head-progress span{font-size:9px!important}
  .apa-360-progressbar{margin:0 0 9px!important;height:6px!important}.apa-360-scale-sticky{display:none!important}
  .apa-360-question-stage{min-height:0!important}.apa-360-step-question{min-height:0!important;padding:16px 14px!important;border-radius:16px!important}.apa-360-step-meta{align-items:flex-start!important;flex-direction:row!important}.apa-360-step-question h4{margin:6px 0 14px!important;font-size:18px!important;line-height:1.35!important}
  .apa-360-rating-hint{font-size:12px!important;margin-bottom:7px!important}.apa-360-evaluation-stepper .apa-rating-five span{height:54px!important;border-radius:12px!important}.apa-360-evaluation-stepper .apa-rating-five span b{font-size:21px!important}.apa-360-comment{margin-top:12px!important}.apa-360-comment textarea{min-height:88px!important;padding:11px!important;font-size:14px!important}
  .apa-360-step-actions{position:sticky!important;bottom:70px!important;z-index:5!important;margin-top:10px!important;padding:10px 0 4px!important;background:#fff!important}.apa-360-step-dots{gap:4px!important;overflow-x:auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;padding-bottom:3px!important}.apa-360-step-dots button{flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:9px!important}.apa-360-nav-button{min-height:40px!important}
  .apa-360-submit-row{margin-top:10px!important;padding:10px!important;border-radius:13px!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="profile"]>.apa-cabinet-section{padding:14px!important;margin:0!important;border-radius:0!important;box-shadow:none!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="profile"] .apa-cabinet-section-head{padding:6px 2px 12px!important;margin:0!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="profile"] .apa-cabinet-section-head h2{font-size:26px!important;line-height:1.05!important}
  body.apa-unified-mobile-cabinet .apa-cabinet-panel[data-apa-panel="profile"] .apa-cabinet-section-head p{font-size:13px!important;line-height:1.4!important;margin-top:5px!important}
  body.apa-unified-mobile-cabinet .apa-profile-card{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;padding:14px!important;border-radius:16px!important}
  body.apa-unified-mobile-cabinet .apa-profile-avatar{width:72px!important;height:72px!important;margin:0!important}
  body.apa-unified-mobile-cabinet .apa-profile-avatar img,body.apa-unified-mobile-cabinet .apa-profile-avatar .avatar{width:72px!important;height:72px!important;max-width:72px!important;border-radius:50%!important;object-fit:cover!important}
  body.apa-unified-mobile-cabinet .apa-profile-data{min-width:0!important}.apa-profile-data>div{padding:8px 0!important}.apa-profile-data strong{font-size:12px!important}.apa-profile-data span,.apa-profile-data a{font-size:13px!important;overflow-wrap:anywhere!important}
}


/* =========================================================
   v2.9.1 — Cabinet desktop ergonomic / interactive
   Mobile layout remains unchanged.
   ========================================================= */
.apa-desktop-cabinet-hero{display:none}
.apa-stat-arrow{display:none}

@media (min-width:901px){
  .apa-cabinet{
    width:min(1480px,calc(100vw - 64px))!important;
    max-width:none!important;
    margin:24px 50% 64px!important;
    padding:0 8px!important;
    transform:translateX(-50%);
    --apa-desktop-shadow:0 16px 42px rgba(15,23,42,.07);
    --apa-desktop-soft:#f7f8fa;
    --apa-desktop-ink:#142033;
  }

  .apa-cabinet-topbar{
    margin:0 0 16px!important;
    padding:15px 18px!important;
    border-radius:20px!important;
    box-shadow:0 10px 30px rgba(15,23,42,.055)!important;
  }
  .apa-cabinet-topbar-brand strong{font-size:17px!important}
  .apa-cabinet-topbar-actions .apa-public-search{width:min(520px,100%)!important}

  .apa-desktop-cabinet-hero{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(280px,.72fr) minmax(260px,.68fr);
    gap:14px;
    align-items:stretch;
    margin:0 0 16px;
  }
  .apa-desktop-welcome,
  .apa-desktop-progress-card,
  .apa-desktop-quick-actions{
    border:1px solid #e6e9ee;
    border-radius:22px;
    background:#fff;
    box-shadow:0 10px 30px rgba(15,23,42,.045);
  }
  .apa-desktop-welcome{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    gap:18px;
    padding:22px 24px;
    background:
      radial-gradient(circle at 94% 8%,rgba(237,28,36,.10),transparent 30%),
      linear-gradient(135deg,#fff 0%,#fffafa 100%);
  }
  .apa-desktop-welcome::after{
    content:"";
    position:absolute;
    width:180px;height:180px;
    right:-80px;bottom:-120px;
    border-radius:50%;
    border:1px solid rgba(237,28,36,.12);
  }
  .apa-desktop-welcome img,
  .apa-desktop-welcome .avatar{
    width:66px!important;height:66px!important;flex:0 0 66px;
    border-radius:20px!important;
    object-fit:cover;
    border:3px solid #fff;
    box-shadow:0 8px 22px rgba(15,23,42,.12);
  }
  .apa-desktop-welcome>div:last-child{min-width:0;position:relative;z-index:1}
  .apa-desktop-welcome>div>span{
    display:block;margin-bottom:5px;color:#e31b23;
    font-size:10px;font-weight:900;letter-spacing:.14em;
  }
  .apa-desktop-welcome h1{
    margin:0 0 5px!important;
    color:#121c2b!important;
    font-size:24px!important;
    line-height:1.15!important;
    letter-spacing:-.45px;
  }
  .apa-desktop-welcome p{
    margin:0!important;color:#657184!important;font-size:13px!important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }

  .apa-desktop-progress-card{
    display:flex;align-items:center;gap:16px;padding:18px;
  }
  .apa-desktop-progress-ring{
    --p:calc(var(--apa-progress) * 1%);
    position:relative;
    display:grid;place-items:center;
    width:76px;height:76px;flex:0 0 76px;
    border-radius:50%;
    background:conic-gradient(#ed1c24 var(--p),#eef1f5 0);
  }
  .apa-desktop-progress-ring::before{
    content:"";position:absolute;inset:7px;border-radius:50%;background:#fff;
  }
  .apa-desktop-progress-ring>span{position:relative;z-index:1;text-align:center}
  .apa-desktop-progress-ring strong{display:block;font-size:18px;color:#111827;line-height:1}
  .apa-desktop-progress-ring small{display:block;margin-top:3px;font-size:9px;color:#7b8492}
  .apa-desktop-progress-card>div:last-child{min-width:0}
  .apa-desktop-progress-card>div:last-child>small{
    display:block;color:#8a94a3;font-size:9px;font-weight:900;letter-spacing:.11em;margin-bottom:5px
  }
  .apa-desktop-progress-card>div:last-child>strong{
    display:block;color:#17202e;font-size:15px;line-height:1.25
  }
  .apa-desktop-progress-card>div:last-child>span{
    display:block;margin-top:4px;color:#738093;font-size:11px
  }

  .apa-desktop-quick-actions{display:grid;grid-template-rows:repeat(3,1fr);overflow:hidden}
  .apa-desktop-quick-actions button{
    display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;
    width:100%;padding:9px 13px;border:0;border-bottom:1px solid #edf0f3;
    background:#fff;color:#17202d;text-align:left;cursor:pointer;transition:.17s ease;
  }
  .apa-desktop-quick-actions button:last-child{border-bottom:0}
  .apa-desktop-quick-actions button:hover{background:#fff6f6;padding-left:16px}
  .apa-desktop-quick-actions button>.dashicons{
    display:grid;place-items:center;width:34px;height:34px;border-radius:10px;
    background:#fff0f1;color:#e31d26;font-size:18px;
  }
  .apa-desktop-quick-actions button>span:last-child{display:flex;flex-direction:column;min-width:0}
  .apa-desktop-quick-actions strong{font-size:12px}
  .apa-desktop-quick-actions small{color:#8791a0;font-size:10px;margin-top:1px}

  .apa-cabinet-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0 0 16px!important;
    padding:10px!important;
    border:1px solid #e5e9ef;
    border-radius:20px;
    background:rgba(255,255,255,.92);
    box-shadow:0 10px 28px rgba(15,23,42,.045);
  }
  .apa-cabinet-tab{
    min-height:58px!important;padding:10px 13px!important;border-color:transparent!important;
    background:#f8f9fb!important;border-radius:14px!important;
    transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
  }
  .apa-cabinet-tab:hover{transform:translateY(-1px);background:#fff!important;box-shadow:0 7px 18px rgba(15,23,42,.07)}
  .apa-cabinet-tab>.dashicons{width:34px!important;height:34px!important;border-radius:10px!important}
  .apa-cabinet-tab.is-active{
    background:linear-gradient(135deg,#192433 0%,#252d3b 76%,#6d1720 150%)!important;
    color:#fff!important;box-shadow:0 10px 24px rgba(20,29,42,.16)!important;
  }
  .apa-cabinet-tab.is-active span:not(.dashicons){color:#fff!important}
  .apa-cabinet-tab.is-active b{background:rgba(255,255,255,.13)!important;color:#fff!important}

  .apa-cabinet-panel[data-apa-panel="overview"].is-active{
    display:grid!important;
    grid-template-columns:minmax(320px,.78fr) minmax(0,1.52fr);
    gap:16px;
    align-items:start;
  }
  .apa-cabinet-panel[data-apa-panel="overview"]>.apa-cabinet-stats{
    grid-column:1/-1;
    margin:0!important;
    gap:10px!important;
  }
  .apa-cabinet-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .apa-cabinet-stat-button{
    position:relative;width:100%;min-height:82px;margin:0;
    border:1px solid #e6e9ee!important;
    color:#182230!important;text-align:left;
    cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.035);
    transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;
  }
  .apa-cabinet-stat-button:hover{
    transform:translateY(-2px);
    border-color:#ffc7cb!important;
    box-shadow:0 13px 30px rgba(15,23,42,.075);
  }
  .apa-cabinet-stat-button:focus-visible{outline:3px solid rgba(237,28,36,.22);outline-offset:2px}
  .apa-cabinet-stat-button .apa-stat-arrow{
    display:block;margin-left:auto;color:#abb2bd;font-size:16px;width:16px;height:16px;
    transition:transform .17s ease,color .17s ease;
  }
  .apa-cabinet-stat-button:hover .apa-stat-arrow{transform:translateX(3px);color:#ed1c24}
  .apa-cabinet-stat-button>div{min-width:0}
  .apa-cabinet-stat-button strong{font-size:25px!important}
  .apa-cabinet-stat-button small{font-size:11px!important}

  .apa-cabinet-panel[data-apa-panel="overview"]>.apa-next-steps{
    grid-column:1;
    margin:0!important;
    padding:20px!important;
    border-radius:20px!important;
    box-shadow:var(--apa-desktop-shadow);
    position:sticky;top:18px;
  }
  .apa-next-steps .apa-cabinet-section-head{margin-bottom:13px!important}
  .apa-next-steps .apa-cabinet-section-head h2{font-size:20px!important}
  .apa-next-steps .apa-cabinet-section-head p{font-size:12px!important}
  .apa-next-list button{
    padding:12px!important;border-color:#eceef2!important;
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important;
  }
  .apa-next-list button:hover{transform:translateX(3px);background:#fff!important;border-color:#ffcbd0!important;box-shadow:0 8px 18px rgba(15,23,42,.045)}
  .apa-next-empty{min-height:88px;justify-content:center;text-align:center}

  .apa-cabinet-panel[data-apa-panel="overview"]>.apa-social-feed{
    grid-column:2;
    max-width:none!important;
    margin:0!important;
    gap:14px!important;
  }
  .apa-home-feed-head{
    padding:19px 20px!important;
    border:1px solid #e6e9ee;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(15,23,42,.04);
  }
  .apa-home-feed-brand{display:flex!important;align-items:end;justify-content:space-between;gap:18px;margin:0 0 13px!important}
  .apa-home-feed-brand h2{font-size:24px!important}
  .apa-home-feed-head>.apa-home-feed-search{min-height:48px!important;border-radius:14px!important}
  .apa-feed-card{
    border-radius:20px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
    transition:transform .18s ease,box-shadow .18s ease;
  }
  .apa-feed-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(15,23,42,.08)!important}
  .apa-feed-media{max-height:330px!important}
  .apa-feed-content{padding:18px 20px!important}

  .apa-cabinet-section{
    border-radius:20px!important;
    box-shadow:0 10px 30px rgba(15,23,42,.045);
  }

  .apa-cabinet-mobile-nav{display:none!important}
}

@media (min-width:901px) and (max-width:1180px){
  .apa-cabinet{width:calc(100vw - 36px)!important}
  .apa-desktop-cabinet-hero{grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)}
  .apa-desktop-quick-actions{grid-column:1/-1;grid-template-columns:repeat(3,1fr);grid-template-rows:none}
  .apa-desktop-quick-actions button{border-bottom:0;border-right:1px solid #edf0f3}
  .apa-desktop-quick-actions button:last-child{border-right:0}
  .apa-cabinet-panel[data-apa-panel="overview"].is-active{grid-template-columns:1fr}
  .apa-cabinet-panel[data-apa-panel="overview"]>.apa-next-steps,
  .apa-cabinet-panel[data-apa-panel="overview"]>.apa-social-feed{grid-column:1}
  .apa-cabinet-panel[data-apa-panel="overview"]>.apa-next-steps{position:static}
}
