
.lopsp-wrap{max-width:1180px;margin:24px auto;padding:0 14px;font-family:Arial,sans-serif;color:#1e293b}
.lopsp-topnav{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}
.lopsp-topnav a{text-decoration:none;color:#1d4ed8;font-weight:600}
.lopsp-hero{background:#fff;border:1px solid #e5e7eb;border-radius:24px;overflow:hidden;box-shadow:0 6px 20px rgba(15,23,42,.05);margin-bottom:18px}
.lopsp-banner{height:180px;background:linear-gradient(135deg,#dbeafe,#fef3c7);background-size:cover;background-position:center;position:relative}
.lopsp-upload-form{position:absolute;right:12px;top:12px}
.lopsp-upload-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:rgba(255,255,255,.92);border-radius:999px;border:1px solid #dbeafe;cursor:pointer;font-size:14px;font-weight:600}
.lopsp-upload-btn.small{font-size:13px;padding:6px 10px}
.lopsp-profilebar{display:flex;gap:20px;align-items:flex-end;padding:18px 18px 18px;position:relative}
.lopsp-avatar-wrap{position:relative;flex:0 0 auto;margin-top:-72px;z-index:2}
.lopsp-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid #fff;background:#f8fafc;box-shadow:0 6px 16px rgba(15,23,42,.12)}
.lopsp-upload-avatar{position:absolute;left:50%;transform:translateX(-50%);bottom:-12px}
.lopsp-identity h2{margin:0 0 6px;font-size:30px;line-height:1.2;color:#0f172a}
.lopsp-sub{color:#64748b;margin-bottom:10px;word-break:break-word}
.lopsp-minirow{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:14px}
.lopsp-grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:18px}
.lopsp-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px 16px;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.lopsp-card-label{font-size:13px;color:#64748b;margin-bottom:8px}
.lopsp-card-value{font-size:24px;font-weight:700}
.lopsp-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:18px}
.lopsp-panel{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:16px 16px 18px;box-shadow:0 4px 14px rgba(15,23,42,.04);margin-bottom:18px}
.lopsp-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.lopsp-panel-head h3{margin:0;font-size:20px}
.lopsp-month-nav{display:flex;align-items:center;gap:12px}
.lopsp-month-nav a{text-decoration:none;font-weight:700;color:#1d4ed8}
.lopsp-calendar{width:100%;border-collapse:separate;border-spacing:6px}
.lopsp-calendar th{font-size:12px;color:#64748b;padding-bottom:6px}
.lopsp-calendar td{height:58px;background:#f8fafc;border-radius:14px;text-align:center;vertical-align:middle;position:relative}
.lopsp-calendar td.has-streak{background:#fff7ed;box-shadow:inset 0 0 0 2px #fdba74}
.lopsp-calendar .num{font-weight:700}
.lopsp-calendar .dot{display:block;font-size:13px;margin-top:4px}
.lopsp-chart-wrap{width:100%;overflow:auto}
.lopsp-chart-svg{width:100%;height:auto;display:block}
.lopsp-note{font-size:13px;color:#64748b;margin:10px 0 0}
.lopsp-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lopsp-add-form label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.lopsp-add-form input[type=text],.lopsp-add-form select,.lopsp-add-form textarea{width:100%;border:1px solid #d1d5db;border-radius:14px;padding:10px 12px;font:inherit;box-sizing:border-box}
.lopsp-add-form input[type=file]{width:100%;padding:8px 0}
.lopsp-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.lopsp-actions button,.lopsp-select-reward{border:none;background:#2563eb;color:#fff;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer}
.lopsp-form-msg{font-size:14px;color:#0f766e}
.lopsp-badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.lopsp-badge{padding:12px;border-radius:18px;text-align:center;border:1px solid #e5e7eb;background:#f8fafc}
.lopsp-badge.unlocked{background:#ecfeff;border-color:#67e8f9}
.lopsp-badge.locked{opacity:.55}
.lopsp-badge-title{font-weight:700;font-size:14px}
.lopsp-badge-sub{font-size:12px;color:#64748b;margin-top:4px}
.lopsp-rewards{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.lopsp-reward{border:1px solid #e5e7eb;border-radius:18px;padding:10px;text-align:center;background:#fff}
.lopsp-reward img{width:88px;height:88px;object-fit:contain;margin:0 auto 8px;display:block}
.lopsp-reward.locked{opacity:.78}
.lopsp-reward-title{font-size:14px;font-weight:700}
.lopsp-reward-sub,.lopsp-locked-note{font-size:12px;color:#64748b;margin-top:4px}
.lopsp-alert{padding:14px 16px;background:#fff7ed;border:1px solid #fdba74;border-radius:16px}
@media (max-width: 900px){
  .lopsp-main-grid{grid-template-columns:1fr}
}
@media (max-width: 700px){
  .lopsp-profilebar{flex-direction:column;align-items:flex-start;padding-top:12px}
  .lopsp-identity h2{font-size:24px}
  .lopsp-field-grid{grid-template-columns:1fr}
  .lopsp-topnav{flex-wrap:wrap}
}

.lopsp-public-body{background:#f8fafc}

.lopsp-identity{min-width:0;position:relative;z-index:2;padding-top:6px}
.lopsp-hero{overflow:visible}

@media (max-width:700px){.lopsp-avatar-wrap{margin-top:-56px}.lopsp-identity h2{font-size:24px}}

.lopsp-public-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.lopsp-public-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;background:#2563eb;color:#fff;text-decoration:none;font-weight:700;border:none;cursor:pointer}
.lopsp-public-btn.secondary{background:#fff;color:#2563eb;border:1px solid #93c5fd}
.lopsp-public-url{margin-top:8px;font-size:13px;color:#64748b;word-break:break-all}
.lopsp-public-url.muted{color:#94a3b8}

.lopsp-activity-list{display:flex;flex-direction:column;gap:10px}
.lopsp-activity-item{border:1px solid #e6edf7;border-radius:14px;padding:12px;background:#fff}.lopsp-activity-main{display:flex;gap:12px;align-items:flex-start}.lopsp-activity-lop{min-width:84px;background:#eef6ff;color:#165dff;border-radius:12px;padding:8px 10px;font-weight:700;text-align:center}.lopsp-activity-title{font-weight:600;color:#1e293b;margin-bottom:4px}.lopsp-activity-meta{font-size:12px;color:#64748b;line-height:1.5}

.lopsp-alert.success{background:#ecfdf3;border:1px solid #86efac;color:#166534;}


.lopsp-timeline{position:relative;display:flex;flex-direction:column;gap:14px}
.lopsp-timeline-item{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}
.lopsp-timeline-dot{width:36px;height:36px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;font-size:16px;position:relative;z-index:2}
.lopsp-timeline-body{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.lopsp-timeline-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.lopsp-timeline-title{font-weight:700;color:#0f172a}
.lopsp-timeline-meta{font-size:12px;color:#64748b;margin-top:4px}
.lopsp-timeline-note{font-size:13px;color:#334155;margin-top:8px;line-height:1.5}
.lopsp-timeline-badge{font-size:12px;font-weight:600;border-radius:999px;padding:5px 10px;white-space:nowrap}
.lopsp-timeline-badge.is-pending{background:#fff7ed;color:#c2410c}
.lopsp-timeline-badge.is-approved{background:#ecfdf5;color:#15803d}
.lopsp-timeline-badge.is-rejected{background:#fef2f2;color:#b91c1c}
.lopsp-timeline-item.pending .lopsp-timeline-dot{background:#fff7ed;border-color:#fdba74}
.lopsp-timeline-item.approved .lopsp-timeline-dot{background:#ecfdf5;border-color:#86efac}
.lopsp-timeline-item.rejected .lopsp-timeline-dot{background:#fef2f2;border-color:#fca5a5}
@media (max-width: 640px){.lopsp-timeline-top{align-items:flex-start}.lopsp-timeline-badge{padding:4px 8px}}

.lopsp-timeline-kicker{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:4px}
.lopsp-timeline-badge.is-activity{background:#eef6ff;color:#165dff}
.lopsp-timeline-item.activity .lopsp-timeline-dot{background:#eef6ff;border-color:#bfdbfe}
.lopsp-timeline-item.entry-activity .lopsp-timeline-body{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}



.lopsp-remind-wrap { max-width: 980px; }
.lopsp-remind-hero { margin-top: 16px; }
.lopsp-remind-form textarea,
.lopsp-remind-form input[type="text"] { width: 100%; }
.lopsp-timeline-item.reminder { border-left-color: #f59e0b; }
.lopsp-timeline-badge.is-reminder { background: #fff7ed; color: #c2410c; }


.lopsp-timeline-note.is-full {
  white-space: normal;
  line-height: 1.65;
}

.lopsp-timeline-actions {
  margin-top: 12px;
}

.lopsp-reminder-done-form {
  margin: 0;
}

.lopsp-reminder-done-btn {
  appearance: none;
  border: 1px solid #16a34a;
  background: #f0fdf4;
  color: #166534;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.lopsp-reminder-done-btn:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.lopsp-timeline-item.entry-reminder .lopsp-timeline-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 14px;
}

.lopsp-timeline-item.entry-reminder.approved .lopsp-timeline-note {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.lopsp-chart-wrap{background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);border:1px solid #e8eef7;border-radius:18px;padding:8px}
.lopsp-rewards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.lopsp-reward{border:1px solid #e5e7eb;border-radius:20px;padding:14px;text-align:center;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 8px 24px rgba(15,23,42,.04)}
.lopsp-reward.unlocked{border-color:#c7ddff;box-shadow:0 10px 26px rgba(37,99,235,.10)}
.lopsp-reward-tag{display:inline-block;margin-top:6px;padding:4px 10px;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-size:11px;font-weight:700}


.lopsp-add-form input[disabled]{background:#f3f4f6;color:#6b7280;cursor:not-allowed}
.lopsp-field-help{margin-top:6px;font-size:12px;color:#6b7280}


/* Reward locked visual fix v2.5.10 */
.lopsp-reward.locked{
  background: linear-gradient(180deg,#fcfcfd 0%,#f4f4f5 100%);
  border-color:#e5e7eb;
  box-shadow:none;
}
.lopsp-reward.locked img{
  filter: grayscale(1) saturate(0) brightness(1.02);
  opacity:.72;
}
.lopsp-reward.locked .lopsp-reward-title,
.lopsp-reward.locked .lopsp-reward-sub,
.lopsp-reward.locked .lopsp-locked-note{
  color:#9ca3af;
}
.lopsp-reward.locked .lopsp-reward-tag{
  background:#f3f4f6;
  color:#9ca3af;
}


.lopsp-mini-reward-board{margin-top:18px;padding:14px 14px 12px;border:1px solid #e8edf7;border-radius:18px;background:linear-gradient(180deg,#fcfdff 0%,#f7f9ff 100%);box-shadow:0 10px 24px rgba(110,124,167,.08)}
.lopsp-mini-reward-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}
.lopsp-mini-reward-sub{margin-top:4px;font-size:12px;line-height:1.55;color:#6f7a92;max-width:540px}
.lopsp-mini-reward-progress{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.lopsp-mini-reward-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg,#5b7cff 0%,#8f7bff 100%);color:#fff;font-weight:700;font-size:12px;box-shadow:0 8px 20px rgba(91,124,255,.24)}
.lopsp-mini-reward-note{font-size:12px;color:#68748d;font-weight:600}
.lopsp-mini-reward-note.is-ready{color:#7c3aed}
.lopsp-mini-reward-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:8px}
.lopsp-mini-reward-icon{position:relative;height:38px;width:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;padding:5px;border:1px solid #e5eaf5;background:#fff;transition:transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;overflow:hidden}
.lopsp-mini-reward-icon img{width:100%;height:100%;object-fit:contain;display:block}
.lopsp-mini-reward-icon.is-unlocked{box-shadow:0 10px 18px rgba(104,125,255,.18);border-color:#d8defc;background:linear-gradient(180deg,#ffffff 0%,#f3f6ff 100%)}
.lopsp-mini-reward-icon.is-unlocked:hover{transform:translateY(-2px) scale(1.03)}
.lopsp-mini-reward-icon.is-locked{filter:grayscale(1);opacity:.4;background:linear-gradient(180deg,#fafbfc 0%,#f1f3f6 100%)}
@media (max-width: 767px){.lopsp-mini-reward-board{padding:12px}.lopsp-mini-reward-grid{grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:7px}.lopsp-mini-reward-icon{height:34px;width:34px;border-radius:10px}.lopsp-mini-reward-progress{align-items:flex-start}}

.lopsp-rescue-panel{border:1px solid #bfdbfe;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)}.lopsp-rescue-form{display:flex;flex-direction:column;gap:14px}.lopsp-rescue-btn{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;box-shadow:0 12px 28px rgba(37,99,235,.22)}.lopsp-field-help{margin-top:5px;font-size:12px;color:#64748b}.lopsp-rescue-panel .lopsp-note strong{color:#b45309}

/* Standalone LOP Admin Portal */
.lop-admin-portal-body{background:#f3f6fb;margin:0}.lop-admin-portal{min-height:100vh;display:grid;grid-template-columns:250px 1fr;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a}.lop-admin-side{background:linear-gradient(180deg,#0f172a,#1e293b);color:#fff;padding:22px 16px;position:sticky;top:0;height:100vh}.lop-admin-brand{font-weight:800;font-size:22px;margin:4px 8px 22px}.lop-admin-nav{display:flex;flex-direction:column;gap:7px}.lop-admin-nav a{color:#dbeafe;text-decoration:none;padding:11px 12px;border-radius:12px;font-weight:650}.lop-admin-nav a:hover,.lop-admin-nav a.active{background:rgba(255,255,255,.13);color:#fff}.lop-admin-main{padding:28px;max-width:1280px;width:100%;box-sizing:border-box}.lop-admin-main h1{font-size:28px;margin:0 0 10px}.lop-admin-muted{color:#64748b}.lop-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:18px 0}.lop-admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 14px 36px rgba(15,23,42,.06)}.lop-admin-card span{display:block;color:#64748b;font-size:13px}.lop-admin-card strong{font-size:30px}.lop-admin-panel{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;margin:16px 0;box-shadow:0 14px 36px rgba(15,23,42,.06)}.lop-admin-panel label{display:block;margin:12px 0 5px;font-weight:700}.lop-admin-panel input[type=text],.lop-admin-panel input[type=date],.lop-admin-panel input[type=number],.lop-admin-panel textarea,.lop-admin-panel select{width:100%;max-width:720px;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;font-size:14px;box-sizing:border-box}.lop-admin-btn{display:inline-flex;align-items:center;gap:8px;background:#2563eb;color:#fff!important;text-decoration:none;border:0;border-radius:12px;padding:10px 14px;font-weight:800;box-shadow:0 12px 24px rgba(37,99,235,.22);cursor:pointer}.lop-admin-btn.secondary{background:#475569}.lop-admin-table{width:100%;border-collapse:collapse;font-size:14px}.lop-admin-table th{background:#f8fafc;text-align:left;color:#334155}.lop-admin-table th,.lop-admin-table td{padding:10px;border-bottom:1px solid #e5e7eb;vertical-align:top}.lop-admin-status{display:inline-flex;border-radius:999px;background:#eef2ff;color:#3730a3;padding:4px 9px;font-size:12px;font-weight:800}@media(max-width:860px){.lop-admin-portal{grid-template-columns:1fr}.lop-admin-side{position:static;height:auto}.lop-admin-nav{flex-direction:row;flex-wrap:wrap}.lop-admin-main{padding:16px}}
.lopsp-required{color:#dc2626;font-weight:800}

/* LOP task wheel - v2.8.0 */
.lopsp-task-wheel-panel { background: linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#fff7ed 100%); border: 1px solid rgba(37,99,235,.10); }
.lopsp-task-wheel { display: grid; gap: 14px; }
.lopsp-wheel-orb { width: 116px; height: 116px; border-radius: 999px; margin: 4px auto 2px; background: radial-gradient(circle at 30% 25%,#fff,#dbeafe 42%,#f97316 100%); display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow: 0 18px 36px rgba(37,99,235,.18), inset 0 0 0 6px rgba(255,255,255,.55); transition: transform .35s ease; }
.lopsp-wheel-orb.is-spinning { animation: lopspSpin 1s linear infinite; }
@keyframes lopspSpin { from{ transform: rotate(0deg) scale(1); } to{ transform: rotate(360deg) scale(1.02); } }
.lopsp-wheel-emoji { font-size: 34px; line-height:1; }
.lopsp-wheel-text { font-size: 12px; font-weight: 800; color:#1e3a8a; margin-top:8px; }
.lopsp-task-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 10px; }
.lopsp-task-card { border:1px solid #e5e7eb; background:#fff; border-radius:18px; padding:12px; text-align:left; cursor:pointer; box-shadow:0 8px 20px rgba(15,23,42,.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lopsp-task-card:hover, .lopsp-task-card.is-picked { transform: translateY(-3px); border-color:#f97316; box-shadow:0 16px 32px rgba(249,115,22,.16); }
.lopsp-task-card.is-picked { background:linear-gradient(135deg,#fff7ed,#eff6ff); }
.lopsp-task-kicker { display:inline-flex; font-size:11px; font-weight:800; color:#2563eb; background:#eff6ff; padding:4px 8px; border-radius:999px; margin-bottom:7px; }
.lopsp-task-card strong { display:block; font-size:14px; color:#111827; margin-bottom:5px; }
.lopsp-task-card em { display:block; font-style:normal; color:#f97316; font-size:11px; font-weight:800; margin-bottom:7px; text-transform:uppercase; letter-spacing:.02em; }
.lopsp-task-card small { display:block; color:#64748b; font-size:12px; line-height:1.35; }
.lopsp-wheel-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; background:rgba(255,255,255,.72); border:1px dashed #fed7aa; border-radius:16px; padding:10px; }
.lopsp-wheel-spin, .lopsp-task-save { border:0; border-radius:999px; padding:10px 15px; font-weight:900; cursor:pointer; }
.lopsp-wheel-spin { background:linear-gradient(135deg,#f97316,#facc15); color:#7c2d12; box-shadow:0 10px 22px rgba(249,115,22,.22); }
.lopsp-task-save { background:#2563eb; color:#fff; }
.lopsp-task-save:disabled { opacity:.45; cursor:not-allowed; }
.lopsp-task-pick-form { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:flex-end; }
.lopsp-task-selected { color:#334155; font-size:13px; font-weight:700; }
.lopsp-empty-task { padding:14px; border-radius:16px; background:#f8fafc; color:#64748b; border:1px dashed #cbd5e1; }

@media (max-width: 640px) { .lopsp-wheel-actions, .lopsp-task-pick-form { justify-content:stretch; } .lopsp-wheel-spin, .lopsp-task-save { width:100%; } .lopsp-task-selected { width:100%; text-align:center; } }

/* True standalone frontend shell for LOP routes - v2.8.11 */
body.lopsp-standalone-body{margin:0!important;background:#f6f8fc!important;min-height:100vh;}
body.lopsp-standalone-body #wpadminbar{display:none!important;visibility:hidden!important;}
body.lopsp-standalone-body:before{display:none!important;content:none!important;}
body.lopsp-standalone-body .lopsp-wrap{box-sizing:border-box;}


/* v2.8.13 - Vietnamese typography, task workflow and rescue calendar polish */
body.lopsp-standalone-body,
.lopsp-wrap {
  font-family: Inter, Roboto, Arial, "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.lopsp-wrap { line-height: 1.55; }
.lopsp-panel-head h3 { letter-spacing: -.01em; }
.lopsp-calendar td.has-streak.is-ontime{background:#fff7ed;box-shadow:inset 0 0 0 2px #fdba74}
.lopsp-calendar td.has-streak.is-rescue{background:#eff6ff;box-shadow:inset 0 0 0 2px #60a5fa}
.lopsp-calendar td.has-streak.is-rescue .dot{color:#2563eb}
.lopsp-calendar td.has-streak.is-ontime .dot{color:#ea580c}
.lopsp-task-card{cursor:default;user-select:none}
.lopsp-task-card:hover{transform:none;box-shadow:0 8px 20px rgba(15,23,42,.06);border-color:#e5e7eb}
.lopsp-task-card.is-picked{transform:translateY(-3px);border-color:#f97316;box-shadow:0 16px 32px rgba(249,115,22,.16);background:linear-gradient(135deg,#fff7ed,#eff6ff)}
.lopsp-task-todo-box,.lopsp-task-done-box{margin-top:14px;padding:14px;border-radius:18px;border:1px solid #e5e7eb;background:rgba(255,255,255,.84)}
.lopsp-task-todo-box h4,.lopsp-task-done-box h4{margin:0 0 10px;font-size:15px;color:#0f172a}
.lopsp-task-todo-list{display:flex;flex-direction:column;gap:10px}
.lopsp-task-todo-item{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px;border-radius:16px;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dbeafe}
.lopsp-task-todo-item strong{display:block;margin:6px 0 4px;color:#111827;font-size:15px}
.lopsp-task-todo-item p{margin:0 0 6px;color:#475569;font-size:13px;line-height:1.55}
.lopsp-task-todo-item small{color:#64748b;font-size:12px}
.lopsp-task-status-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:11px;font-weight:800}
.lopsp-task-done-btn{appearance:none;border:1px solid #16a34a;background:#f0fdf4;color:#166534;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.lopsp-task-done-btn:hover{background:#dcfce7}
.lopsp-task-done-list{display:flex;flex-wrap:wrap;gap:8px}
.lopsp-task-done-list span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#ecfdf5;color:#15803d;font-size:12px;font-weight:700}
.lopsp-timeline-badge.is-task-pending{background:#fff7ed;color:#c2410c}
.lopsp-timeline-item.task-pending .lopsp-timeline-dot{background:#fff7ed;border-color:#fdba74}
.lopsp-timeline-item.entry-task .lopsp-timeline-body{background:linear-gradient(180deg,#ffffff 0%,#fffaf3 100%)}
@media (max-width: 640px){.lopsp-task-todo-item{flex-direction:column}.lopsp-task-done-btn{width:100%;justify-content:center}.lopsp-task-done-form{width:100%}}

/* v2.8.14 - LOP UX polish, plan badge, weekly chart, pricing */
body.lopsp-standalone-body,
.lopsp-wrap{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif !important;
  color:#0f172a;
  font-size:15px;
  line-height:1.55;
}
.lopsp-wrap *{box-sizing:border-box}
.lopsp-panel-head h3{font-size:20px;font-weight:750;letter-spacing:-.02em;color:#0f172a}
.lopsp-card-label,.lopsp-note,.lopsp-sub,.lopsp-timeline-meta{font-size:13px;line-height:1.5}.lopsp-card-value{font-size:26px;letter-spacing:-.03em}
.lopsp-calendar td.has-streak.is-task-done{background:#f0fdf4;box-shadow:inset 0 0 0 2px #86efac}.lopsp-calendar td.has-streak.is-task-done .dot{color:#16a34a}.lopsp-calendar-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:10px;color:#64748b;font-size:13px}.lopsp-calendar-legend span{display:inline-flex;align-items:center;gap:6px}.lopsp-calendar-legend b{width:12px;height:12px;border-radius:4px;display:inline-block}.lopsp-calendar-legend b.ontime{background:#fdba74}.lopsp-calendar-legend b.rescue{background:#60a5fa}.lopsp-calendar-legend b.taskdone{background:#86efac}
.lopsp-week-chart-panel{margin-top:14px;border:1px solid #e5eaf3;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);padding:14px}.lopsp-week-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.lopsp-week-head strong{display:block;font-size:16px}.lopsp-week-head span{display:block;color:#64748b;font-size:13px;margin-top:3px}.lopsp-week-chart-bars{height:170px;display:grid;grid-template-columns:repeat(7,1fr);gap:9px;align-items:end}.lopsp-week-day{text-align:center;min-width:0}.lopsp-week-bar-wrap{height:122px;display:flex;align-items:flex-end;justify-content:center;background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:8px;overflow:hidden}.lopsp-week-bar{width:100%;max-width:44px;min-height:14px;border-radius:999px 999px 8px 8px;background:linear-gradient(180deg,#60a5fa,#2563eb);position:relative;display:flex;align-items:flex-start;justify-content:center;box-shadow:0 10px 20px rgba(37,99,235,.18)}.lopsp-week-bar em{font-style:normal;font-weight:800;color:#fff;font-size:12px;margin-top:5px;text-shadow:0 1px 2px rgba(15,23,42,.25)}.lopsp-week-day strong{display:block;font-size:11px;color:#475569;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lopsp-rescue-note-textarea,.lopsp-rescue-panel textarea{width:100%!important;max-width:none!important;display:block;resize:vertical;min-height:112px}.lopsp-rescue-panel .lopsp-field-grid{grid-template-columns:minmax(220px,.38fr) minmax(260px,.62fr)}
.lopsp-plan-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:10px 12px;border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc}.lopsp-plan-strip.is-vip{background:linear-gradient(135deg,#fff7ed,#eff6ff);border-color:#fed7aa}.lopsp-plan-badge{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.lopsp-plan-strip.is-free .lopsp-plan-badge{background:#e2e8f0;color:#334155}.lopsp-plan-strip.is-vip .lopsp-plan-badge{background:#f97316;color:#fff}.lopsp-plan-text{font-size:13px;color:#475569;flex:1;min-width:220px}.lopsp-upgrade-inline,.lopsp-upgrade-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:10px 14px;background:linear-gradient(135deg,#f97316,#facc15);color:#7c2d12!important;text-decoration:none;font-weight:900;box-shadow:0 10px 22px rgba(249,115,22,.18);cursor:pointer}.lopsp-upgrade-inline:hover,.lopsp-upgrade-btn:hover{transform:translateY(-1px)}.lopsp-pricing-wrap{max-width:1120px}.lopsp-pricing-hero{background:linear-gradient(135deg,#eff6ff,#fff7ed);border:1px solid #dbeafe;border-radius:26px;padding:28px;margin-bottom:18px}.lopsp-pricing-hero h1{font-size:34px;margin:0 0 8px;letter-spacing:-.03em}.lopsp-pricing-hero p{margin:0;color:#475569;font-size:16px}.lopsp-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.lopsp-plan-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:22px;box-shadow:0 18px 42px rgba(15,23,42,.06)}.lopsp-plan-card.is-vip{border-color:#bfdbfe;box-shadow:0 20px 50px rgba(37,99,235,.12)}.lopsp-plan-card h2{margin:0 0 10px;font-size:22px}.lopsp-plan-price{font-size:28px;font-weight:900;letter-spacing:-.03em;margin:8px 0 12px}.lopsp-plan-price small{font-size:13px;color:#64748b;margin-left:4px}.lopsp-plan-card ul{padding-left:18px;color:#334155;line-height:1.8;margin-bottom:18px}.lopsp-payment-box{background:#fff;border:1px solid #bbf7d0;border-radius:22px;padding:18px;margin-bottom:18px;box-shadow:0 16px 36px rgba(22,163,74,.08)}.lopsp-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.lopsp-payment-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:12px}.lopsp-payment-grid span{display:block;color:#64748b;font-size:12px}.lopsp-payment-grid strong{display:block;margin-top:4px}.lop-admin-panel-sub{margin-top:16px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:18px;padding:14px}.lop-admin-panel-sub h3{margin:0 0 10px;font-size:17px}.lop-admin-mini-btn.danger{background:#fee2e2;color:#991b1b!important}
@media(max-width:700px){.lopsp-rescue-panel .lopsp-field-grid{grid-template-columns:1fr}.lopsp-week-chart-bars{gap:5px}.lopsp-week-day strong{font-size:10px}.lopsp-pricing-hero h1{font-size:28px}}

/* Public marketing/subscription pages v2.8.15 */
.lopsp-info-body{margin:0;background:linear-gradient(180deg,#f6f9ff 0%,#ffffff 50%,#f8fbff 100%);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;color:#0f172a}.lopsp-info-wrap{min-height:100vh;display:flex;flex-direction:column}.lopsp-site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(18px,4vw,56px);background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid #e5edf7}.lopsp-site-brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#0f172a}.lopsp-site-brand span{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#38bdf8,#6366f1);color:#fff;font-weight:900}.lopsp-site-brand strong{font-size:18px}.lopsp-site-header nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.lopsp-site-header nav a{padding:9px 11px;border-radius:999px;text-decoration:none;color:#475569;font-size:14px;font-weight:700}.lopsp-site-header nav a:hover,.lopsp-site-header nav a.active{background:#eef4ff;color:#2563eb}.lopsp-site-actions{display:flex;gap:9px;align-items:center}.lopsp-site-actions a,.lopsp-info-cta a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 14px;text-decoration:none;font-weight:800;font-size:14px}.lopsp-site-actions .primary,.lopsp-info-cta .primary{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.22)}.lopsp-site-actions .secondary,.lopsp-info-cta .secondary{background:#f1f5f9;color:#0f172a}.lopsp-info-main{width:min(1120px,calc(100% - 32px));margin:0 auto;flex:1}.lopsp-info-hero{margin:34px 0 22px;padding:clamp(28px,5vw,56px);border:1px solid #e5edf7;border-radius:28px;background:radial-gradient(circle at 20% 0%,#dbeafe 0%,rgba(219,234,254,0) 32%),linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 22px 50px rgba(15,23,42,.08)}.lopsp-info-hero h1{font-size:clamp(30px,5vw,56px);line-height:1.05;margin:10px 0 12px;letter-spacing:-.04em}.lopsp-info-hero p{max-width:760px;font-size:18px;line-height:1.7;color:#475569;margin:0}.lopsp-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#2563eb;font-weight:900;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.lopsp-info-cta{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.lopsp-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0}.lopsp-info-card,.lopsp-info-section,.lopsp-plan-card{background:#fff;border:1px solid #e5edf7;border-radius:22px;padding:20px;box-shadow:0 16px 36px rgba(15,23,42,.06)}.lopsp-info-icon{width:46px;height:46px;border-radius:16px;background:#f1f5ff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:12px}.lopsp-info-card h2,.lopsp-info-section h2{font-size:21px;line-height:1.25;margin:0 0 10px;letter-spacing:-.02em}.lopsp-info-card p,.lopsp-info-section p,.lopsp-clean-list li,.lopsp-steps li{color:#475569;line-height:1.65}.lopsp-info-section{margin:20px 0}.lopsp-steps,.lopsp-clean-list{margin:0;padding-left:22px}.lopsp-steps li,.lopsp-clean-list li{margin:8px 0}.lopsp-faq-list{display:grid;gap:12px;margin:22px 0}.lopsp-faq-list details{background:#fff;border:1px solid #e5edf7;border-radius:18px;padding:16px 18px;box-shadow:0 10px 26px rgba(15,23,42,.04)}.lopsp-faq-list summary{cursor:pointer;font-weight:850}.lopsp-site-footer{margin-top:34px;padding:20px clamp(18px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e5edf7;color:#64748b;background:#fff}.lopsp-site-footer div{display:flex;flex-direction:column}.lopsp-site-footer nav{display:flex;gap:14px;flex-wrap:wrap}.lopsp-site-footer a{color:#475569;text-decoration:none;font-weight:700}.lopsp-plan-grid{width:min(1120px,calc(100% - 32px));margin:20px auto 34px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.lopsp-plan-card h2{font-size:24px;margin:0 0 8px}.lopsp-plan-price{font-size:28px;font-weight:900;color:#0f172a;margin:8px 0 14px}.lopsp-plan-price small{font-size:13px;color:#64748b;margin-left:4px}.lopsp-plan-card ul{padding-left:20px;color:#475569;line-height:1.8}.lopsp-plan-card.is-vip{border-color:#bfdbfe;background:linear-gradient(180deg,#fff,#f8fbff)}.lopsp-upgrade-btn{display:inline-flex;justify-content:center;border:0;border-radius:999px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff!important;text-decoration:none;padding:11px 16px;font-weight:900;cursor:pointer}.lopsp-payment-box{width:min(1120px,calc(100% - 32px));margin:0 auto 22px;background:#fff;border:1px solid #bae6fd;border-radius:22px;padding:20px}.lopsp-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.lopsp-payment-grid div{background:#f8fafc;border-radius:14px;padding:12px}.lopsp-payment-grid span{display:block;color:#64748b;font-size:12px}.lopsp-payment-grid strong{display:block;margin-top:3px}@media(max-width:880px){.lopsp-site-header{position:static;align-items:flex-start;flex-direction:column}.lopsp-site-actions{width:100%;flex-wrap:wrap}.lopsp-site-actions a{flex:1}.lopsp-site-footer{align-items:flex-start;flex-direction:column}.lopsp-info-hero p{font-size:16px}}

/* v2.8.16 - Vietnamese typography and public page polish */
body.lopsp-standalone-body,
body.lopsp-info-body,
body.lopsp-public-body,
.lopsp-wrap,
.lopsp-info-wrap,
.lopsp-site-header,
.lopsp-site-footer,
.lopsp-info-main {
  font-family: Inter, "Be Vietnam Pro", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.lopsp-rich-content {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}
.lopsp-rich-content h2,
.lopsp-rich-content h3 {
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 1.15em;
}
.lopsp-rich-content h2:first-child,
.lopsp-rich-content h3:first-child { margin-top: 0; }
.lopsp-rich-content p { margin: 0 0 1em; }
.lopsp-rich-content ul,
.lopsp-rich-content ol { margin: 0 0 1em 1.2em; padding-left: 1.1em; }
.lopsp-rich-content li { margin: .35em 0; }
.lopsp-rich-content a { color: #2563eb; font-weight: 700; text-decoration: none; }
.lopsp-rich-content a:hover { text-decoration: underline; }
.lopsp-pricing-intro { width: min(1120px, calc(100% - 32px)); margin: 0 auto 18px; }
.lopsp-site-footer a[href*="lophoconline.net"] { color: #2563eb; font-weight: 900; }

/* v2.8.17 - Public SEO pages Vietnamese typography */
.lopsp-info-body,
.lopsp-info-wrap,
.lopsp-site-header,
.lopsp-site-footer,
.lopsp-rich-content{
  font-family: Inter, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.lopsp-rich-content h2,
.lopsp-info-hero h1{letter-spacing:-.02em;}
.lopsp-rich-content p,
.lopsp-rich-content li{line-height:1.75;}

/* v2.8.18 - Brand assets + conversion landing polish */
.lopsp-site-brand img{
  width:44px;height:44px;object-fit:contain;border-radius:14px;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.08);padding:3px;flex:0 0 44px;
}
.lopsp-site-brand strong{white-space:nowrap;color:#0f172a;letter-spacing:-.01em;}
.lopsp-info-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);align-items:center;gap:24px;overflow:hidden;}
.lopsp-info-hero-copy{min-width:0;}
.lopsp-info-hero-art{border:1px solid #e0ebfb;border-radius:26px;background:radial-gradient(circle at 30% 20%,#ecfeff 0%,rgba(236,254,255,0) 42%),linear-gradient(145deg,#fff,#f8fbff);padding:22px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 18px 40px rgba(37,99,235,.08);}
.lopsp-info-hero:not(.lopsp-info-hero-landing) .lopsp-info-hero-art{min-height:160px;}
.lopsp-hero-logo{max-width:280px;width:100%;height:auto;object-fit:contain;display:block;}
.lopsp-info-hero-landing .lopsp-learning-companion-hero-image{width:100%;max-width:none;aspect-ratio:16/9;object-fit:cover;object-position:center;border-radius:22px;box-shadow:0 18px 44px rgba(30,64,175,.14)}
.lopsp-hero-sublogo{max-width:260px;width:86%;height:auto;object-fit:contain;display:block;margin-top:12px;opacity:.92;}
.lopsp-hero-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:14px;}
.lopsp-hero-badges span{font-size:12px;font-weight:900;color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;padding:6px 9px;}
.lopsp-info-hero-landing{background:radial-gradient(circle at 5% 0%,#dbeafe 0%,rgba(219,234,254,0) 34%),radial-gradient(circle at 100% 15%,#dcfce7 0%,rgba(220,252,231,0) 28%),linear-gradient(135deg,#ffffff,#f8fbff);}
.lopsp-landing-pain{border:1px solid #fed7aa;background:linear-gradient(135deg,#fff7ed,#ffffff);border-radius:24px;padding:22px;margin-bottom:22px;box-shadow:0 16px 34px rgba(234,88,12,.07);}
.lopsp-landing-pain h2{margin-top:0!important;color:#9a3412;}
.lopsp-landing-cta{border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8fafc);border-radius:24px;padding:22px;margin-top:24px;}
.lopsp-landing-cta h2{margin-top:0!important;color:#1e3a8a;}
.lopsp-upgrade-btn.secondary{background:#fff!important;color:#1d4ed8!important;border:1px solid #bfdbfe;box-shadow:none;}
.lopsp-site-footer-brand{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;}
.lopsp-site-footer-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.08);padding:3px;}
.lopsp-site-footer-brand span{display:flex;flex-direction:column;}
.lopsp-site-footer-brand em{font-style:normal;color:#64748b;font-size:13px;margin-top:2px;}
@media(max-width:900px){
  .lopsp-info-hero{grid-template-columns:1fr;}
  .lopsp-info-hero-art{min-height:auto;}
  .lopsp-site-brand strong{font-size:16px;}
  .lopsp-hero-logo{max-width:220px;}
}


/* v2.8.20 - Brand settings + spacing polish */
:root{--lop-font:Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;--lop-text:#0f172a;--lop-muted:#64748b;--lop-line:#e5edf7;--lop-soft:#f8fbff;--lop-primary:#2563eb;--lop-radius:22px;}
body.lopsp-standalone-body,body.lopsp-public-body,.lopsp-wrap{font-family:var(--lop-font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;color:var(--lop-text);}
.lopsp-wrap{max-width:1180px;margin:0 auto;padding:20px clamp(14px,3vw,28px) 36px;box-sizing:border-box;}
.lopsp-topnav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;}
.lopsp-topnav a{font-size:14px;line-height:1.25;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid var(--lop-line);text-decoration:none;color:#334155;font-weight:700;box-shadow:0 8px 20px rgba(15,23,42,.04);}
.lopsp-topnav a:hover{color:var(--lop-primary);border-color:#bfdbfe;background:#f8fbff;}
.lopsp-topnav .lopsp-topnav-brand{gap:8px;padding:7px 11px 7px 8px;background:linear-gradient(135deg,#ffffff,#f7fbff);display:inline-flex;align-items:center;color:#0f172a;}
.lopsp-topnav-brand img{width:30px;height:30px;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 6px 16px rgba(15,23,42,.08);}
.lopsp-topnav-brand span{font-weight:900;letter-spacing:-.02em;}
.lopsp-hero,.lopsp-panel,.lopsp-card,.lopsp-info-card,.lopsp-info-section,.lopsp-plan-card{border-color:var(--lop-line);box-shadow:0 14px 34px rgba(15,23,42,.055);}
.lopsp-panel{padding:clamp(16px,2.4vw,24px);border-radius:var(--lop-radius);}
.lopsp-panel-head h3{font-size:clamp(20px,2.2vw,26px);letter-spacing:-.03em;margin:0;line-height:1.18;}
.lopsp-card-label,.lopsp-note,.lopsp-field-help{color:var(--lop-muted);}
.lopsp-card-value{font-size:clamp(24px,3vw,34px);line-height:1.05;}
.lopsp-field-grid{gap:14px;}
.lopsp-add-form input[type=text],.lopsp-add-form input[type=date],.lopsp-add-form textarea,.lopsp-add-form select,.lopsp-rescue-form input[type=text],.lopsp-rescue-form input[type=date],.lopsp-rescue-form textarea{font-family:var(--lop-font);font-size:15px;line-height:1.45;border-radius:14px;border:1px solid #cbd5e1;box-shadow:none;}
.lopsp-add-form textarea,.lopsp-rescue-form textarea{width:100%;box-sizing:border-box;min-height:116px;}
.lopsp-site-header{padding:12px clamp(14px,3vw,44px);gap:14px;}
.lopsp-site-brand img{width:40px;height:40px;object-fit:contain;border-radius:13px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.08);padding:2px;}
.lopsp-info-main{width:min(1120px,calc(100% - 28px));}
.lopsp-info-hero{margin:24px 0 18px;padding:clamp(24px,4.2vw,48px);border-radius:26px;}
.lopsp-info-hero h1{font-size:clamp(30px,4.6vw,52px);letter-spacing:-.045em;}
.lopsp-info-hero p{font-size:clamp(16px,1.6vw,18px);line-height:1.72;}
.lopsp-info-card,.lopsp-info-section,.lopsp-plan-card{padding:clamp(16px,2.2vw,22px);}
.lopsp-rich-content h2{font-size:clamp(22px,2.4vw,30px);letter-spacing:-.03em;}
.lopsp-rich-content h3{font-size:clamp(18px,2vw,23px);}
.lopsp-rich-content p,.lopsp-rich-content li{font-size:16px;line-height:1.75;color:#475569;}
.lopsp-site-footer{padding:18px clamp(14px,3vw,44px);}
@media(max-width:760px){.lopsp-wrap{padding:14px 12px 28px}.lopsp-topnav{gap:8px}.lopsp-topnav a{font-size:13px;padding:8px 10px}.lopsp-topnav .lopsp-topnav-brand{width:100%;justify-content:flex-start}.lopsp-hero{border-radius:20px}.lopsp-profilebar{gap:12px}.lopsp-minirow{gap:7px}.lopsp-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lopsp-card{padding:14px}.lopsp-main-grid{gap:14px}.lopsp-calendar td{height:58px;border-radius:14px}.lopsp-site-header{position:static;align-items:stretch}.lopsp-site-header nav{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.lopsp-site-header nav a{white-space:nowrap}.lopsp-site-actions{width:100%}.lopsp-info-main{width:calc(100% - 24px)}.lopsp-info-hero{padding:22px;border-radius:22px}.lopsp-info-hero-art{margin-top:18px}.lopsp-hero-logo{max-width:210px}.lopsp-hero-sublogo{max-width:210px}.lopsp-site-footer{gap:12px}.lopsp-site-footer nav{gap:10px}}
@media(max-width:760px){.lopsp-info-hero-landing .lopsp-learning-companion-hero-image{max-width:none;min-height:190px;object-position:68% center;border-radius:18px}.lopsp-info-hero-landing .lopsp-info-cta>a{min-height:44px;justify-content:center}}
@media(max-width:430px){.lopsp-info-hero-landing .lopsp-learning-companion-hero-image{aspect-ratio:4/3;object-position:72% center}.lopsp-info-hero-landing .lopsp-info-cta{display:grid;grid-template-columns:1fr}.lopsp-info-hero-landing .lopsp-info-cta>a{width:100%}}


/* v2.8.21 - VIP value & benefit comparison polish */
.lopsp-vip-benefits,.lopsp-vip-value{margin:22px 0;padding:22px;border-radius:24px;border:1px solid #dbeafe;background:linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 16px 36px rgba(15,23,42,.055)}
.lopsp-vip-benefits h2,.lopsp-vip-value h2{margin-top:0!important;color:#1e3a8a;letter-spacing:-.02em}.lopsp-vip-benefits p,.lopsp-vip-value p{color:#475569;line-height:1.7}.lopsp-benefit-table-wrap{overflow-x:auto;margin:16px 0;border-radius:18px;border:1px solid #e5edf7;background:#fff}.lopsp-benefit-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:14px}.lopsp-benefit-table th{background:#eff6ff;color:#1e3a8a;text-align:left;font-weight:900;padding:13px 14px;border-bottom:1px solid #dbeafe}.lopsp-benefit-table td{padding:12px 14px;border-bottom:1px solid #eef2f7;color:#334155;vertical-align:top;line-height:1.55}.lopsp-benefit-table tr:last-child td{border-bottom:0}.lopsp-benefit-table td:first-child{font-weight:850;color:#0f172a;width:28%}.lopsp-benefit-table td:nth-child(3){background:linear-gradient(90deg,rgba(239,246,255,.72),rgba(255,255,255,0))}.lopsp-vip-callout{margin-top:16px;padding:16px;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa}.lopsp-vip-callout h3{margin:0 0 8px;color:#9a3412}.lopsp-plan-tagline{margin:0 0 10px;color:#64748b;font-weight:700;line-height:1.55}@media(max-width:760px){.lopsp-vip-benefits,.lopsp-vip-value{padding:16px;border-radius:20px}.lopsp-benefit-table{font-size:13px;min-width:680px}.lopsp-benefit-table th,.lopsp-benefit-table td{padding:10px 11px}.lopsp-plan-tagline{font-size:13px}}

/* v2.8.22 - pricing page visual polish + compact logo crop support */
.lopsp-site-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.lopsp-site-footer-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#fff}.lopsp-hero-logo{max-width:min(360px,100%);height:auto;object-fit:contain}.lopsp-hero-sublogo{max-width:min(320px,100%);height:auto;object-fit:contain}.lopsp-pricing-hero-plus{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);align-items:center;gap:clamp(18px,4vw,42px);overflow:hidden;position:relative;background:radial-gradient(circle at 80% 10%,rgba(250,204,21,.24),transparent 30%),radial-gradient(circle at 10% 0%,rgba(59,130,246,.2),transparent 36%),linear-gradient(135deg,#ffffff,#f6fbff 56%,#fff7ed);}
.lopsp-pricing-hero-plus:after{content:"";position:absolute;inset:auto -80px -120px auto;width:280px;height:280px;border-radius:50%;background:rgba(37,99,235,.08);pointer-events:none}.lopsp-pricing-hero-copy{position:relative;z-index:1}.lopsp-pricing-hero-plus h1{font-size:clamp(32px,5.2vw,58px);line-height:1.04;margin:10px 0 12px;letter-spacing:-.045em}.lopsp-pricing-hero-plus p{font-size:clamp(16px,2vw,19px);max-width:720px}.lopsp-pricing-hero-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.lopsp-pricing-hero-points span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid #dbeafe;color:#1e3a8a;font-weight:850;font-size:13px;box-shadow:0 10px 22px rgba(15,23,42,.06)}.lopsp-pricing-hero-art{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:260px}.lopsp-pricing-hero-art img{max-width:min(330px,100%);max-height:210px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(37,99,235,.16))}.lopsp-pricing-bubble{position:absolute;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #e5edf7;font-weight:900;color:#0f172a;box-shadow:0 14px 30px rgba(15,23,42,.12);font-size:13px}.lopsp-pricing-bubble.one{left:0;top:22px}.lopsp-pricing-bubble.two{right:0;bottom:30px;background:#fff7ed;border-color:#fed7aa;color:#9a3412}.lopsp-pricing-value-strip{width:min(1120px,calc(100% - 32px));margin:0 auto 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.lopsp-pricing-value-strip>div{border:1px solid #e5edf7;background:#fff;border-radius:20px;padding:14px 16px;box-shadow:0 14px 30px rgba(15,23,42,.05)}.lopsp-pricing-value-strip strong{display:block;font-size:17px;color:#0f172a;margin-bottom:4px}.lopsp-pricing-value-strip span{display:block;color:#64748b;line-height:1.55;font-size:14px}.lopsp-plan-grid-highlight{align-items:stretch}.lopsp-plan-card{position:relative;overflow:hidden}.lopsp-plan-card.is-free-plan{background:linear-gradient(180deg,#fff,#f8fafc)}.lopsp-plan-card.is-featured{transform:translateY(-4px);border-color:#60a5fa;box-shadow:0 26px 60px rgba(37,99,235,.16)}.lopsp-plan-card.is-featured:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#2563eb,#7c3aed,#f97316)}.lopsp-plan-icon{width:56px;height:56px;border-radius:20px;background:#eff6ff;display:flex;align-items:center;justify-content:center;font-size:28px;margin-bottom:12px}.lopsp-plan-card.is-vip .lopsp-plan-icon{background:linear-gradient(135deg,#eff6ff,#fff7ed)}.lopsp-plan-ribbon{position:absolute;right:16px;top:16px;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg,#f97316,#facc15);color:#7c2d12;font-size:12px;font-weight:900}.lopsp-plan-card .lopsp-upgrade-btn.secondary{background:#f1f5f9;color:#0f172a!important;box-shadow:none}.lopsp-plan-compare-wrap{width:min(1120px,calc(100% - 32px));margin:6px auto 34px}.lopsp-section-head{margin:18px 0}.lopsp-section-head span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#2563eb;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.lopsp-section-head h2{font-size:clamp(24px,3.8vw,38px);letter-spacing:-.035em;margin:10px 0 8px}.lopsp-section-head p{color:#64748b;margin:0;line-height:1.65}.lopsp-compare-table{border:1px solid #e5edf7;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.06)}.lopsp-compare-row{display:grid;grid-template-columns:1.5fr .65fr .75fr;align-items:center;border-bottom:1px solid #eef2f7}.lopsp-compare-row:last-child{border-bottom:0}.lopsp-compare-row>div{padding:14px 16px;line-height:1.45}.lopsp-compare-row>div:nth-child(2),.lopsp-compare-row>div:nth-child(3){text-align:center;font-weight:850}.lopsp-compare-row.head{background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;font-weight:900}.lopsp-compare-row:not(.head)>div:first-child{font-weight:760;color:#334155}.lopsp-compare-row:not(.head)>div:nth-child(3){color:#2563eb;background:#f8fbff}.lopsp-compare-row:not(.head)>div:nth-child(2){color:#64748b}@media(max-width:880px){.lopsp-pricing-hero-plus{grid-template-columns:1fr}.lopsp-pricing-hero-art{min-height:180px}.lopsp-pricing-bubble{position:static;margin:5px}.lopsp-pricing-hero-art{flex-wrap:wrap}.lopsp-pricing-value-strip{grid-template-columns:1fr}.lopsp-plan-card.is-featured{transform:none}.lopsp-compare-table{overflow-x:auto}.lopsp-compare-row{min-width:680px}.lopsp-site-brand img{width:38px;height:38px}}

/* v2.8.23 - pricing page centering and Vietnamese CTA polish */
body.lopsp-pricing-body,
body.lopsp-info-body.lopsp-pricing-body {
  overflow-x: hidden;
}
.lopsp-pricing-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-items: stretch;
}
.lopsp-pricing-wrap .lopsp-site-header,
.lopsp-pricing-wrap .lopsp-site-footer {
  width: 100%;
  box-sizing: border-box;
}
.lopsp-pricing-hero,
.lopsp-pricing-value-strip,
.lopsp-pricing-intro,
.lopsp-plan-grid,
.lopsp-plan-compare-wrap,
.lopsp-payment-box,
.lopsp-pricing-wrap > .lopsp-alert {
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.lopsp-pricing-hero {
  margin-top: 26px !important;
  margin-bottom: 18px !important;
}
.lopsp-plan-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}
.lopsp-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.lopsp-plan-card ul {
  flex: 1 1 auto;
  margin-bottom: 18px;
}
.lopsp-plan-order-form {
  margin-top: auto;
  display: flex;
  width: 100%;
}
.lopsp-plan-card .lopsp-upgrade-btn,
.lopsp-plan-order-form .lopsp-upgrade-btn {
  min-height: 46px;
  padding: 12px 18px;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}
.lopsp-plan-order-form .lopsp-upgrade-btn {
  width: auto;
  max-width: 100%;
}
.lopsp-plan-card.is-featured .lopsp-upgrade-btn {
  background: linear-gradient(135deg,#2563eb,#7c3aed);
  color: #fff !important;
}
.lopsp-pricing-wrap .lopsp-section-head {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 980px) {
  .lopsp-plan-grid {
    grid-template-columns: 1fr !important;
  }
  .lopsp-pricing-hero,
  .lopsp-pricing-value-strip,
  .lopsp-pricing-intro,
  .lopsp-plan-grid,
  .lopsp-plan-compare-wrap,
  .lopsp-payment-box,
  .lopsp-pricing-wrap > .lopsp-alert {
    width: min(720px, calc(100% - 28px)) !important;
  }
  .lopsp-plan-card .lopsp-upgrade-btn,
  .lopsp-plan-order-form .lopsp-upgrade-btn {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .lopsp-pricing-hero,
  .lopsp-pricing-value-strip,
  .lopsp-pricing-intro,
  .lopsp-plan-grid,
  .lopsp-plan-compare-wrap,
  .lopsp-payment-box,
  .lopsp-pricing-wrap > .lopsp-alert {
    width: calc(100% - 20px) !important;
  }
  .lopsp-plan-card {
    padding: 18px !important;
    border-radius: 20px !important;
  }
  .lopsp-plan-price {
    font-size: 24px !important;
  }
}


/* LOP Definition content block - v2.8.24 */
.lopsp-lop-definition{
  margin: clamp(18px, 3vw, 34px) auto;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(238,248,255,.96), rgba(255,255,255,.98) 44%, rgba(255,247,236,.96));
  border: 1px solid rgba(72, 132, 255, .16);
  box-shadow: 0 22px 60px rgba(21, 42, 84, .08);
}
.lopsp-lop-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background: rgba(64, 112, 244, .10);
  color:#2557c7;
  font-weight:800;
  letter-spacing:.01em;
  margin-bottom:12px;
}
.lopsp-lop-definition h2{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height:1.08;
  letter-spacing:-.03em;
  color:#0f2147;
}
.lopsp-lop-definition p{
  color:#4d5f7a;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height:1.75;
  margin: 0 0 14px;
}
.lopsp-lop-definition-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}
.lopsp-lop-definition-grid article{
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(15,33,71,.08);
  box-shadow:0 12px 34px rgba(15,33,71,.06);
}
.lopsp-lop-definition-grid span{
  display:inline-flex;
  width:42px;
  height:42px;
  border-radius:16px;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#eef5ff,#fff3dc);
  font-size:22px;
  margin-bottom:10px;
}
.lopsp-lop-definition-grid h3{
  margin:0 0 6px;
  font-size:17px;
  color:#182746;
}
.lopsp-lop-definition-grid p{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:#66738a;
}
.lopsp-lop-definition-note{
  margin-top:18px!important;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(34,197,94,.08);
  color:#185b35!important;
  font-weight:700;
}
@media (max-width: 960px){
  .lopsp-lop-definition-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .lopsp-lop-definition{ padding:20px; border-radius:22px; }
  .lopsp-lop-definition-grid{ grid-template-columns: 1fr; }
}


/* v2.8.25 - Align feature icons inline with titles on public pages */
.lopsp-info-card{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:12px;
  row-gap:8px;
}
.lopsp-info-card .lopsp-info-icon{
  grid-column:1;
  grid-row:1;
  margin:0!important;
  flex:0 0 auto;
}
.lopsp-info-card h2{
  grid-column:2;
  grid-row:1;
  margin:0!important;
  align-self:center;
}
.lopsp-info-card p,
.lopsp-info-card ul,
.lopsp-info-card ol{
  grid-column:1 / -1;
  margin-top:4px;
}
.lopsp-lop-definition-grid article{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:12px;
  row-gap:8px;
}
.lopsp-lop-definition-grid article > span{
  grid-column:1;
  grid-row:1;
  margin:0!important;
}
.lopsp-lop-definition-grid article > h3{
  grid-column:2;
  grid-row:1;
  margin:0!important;
  align-self:center;
}
.lopsp-lop-definition-grid article > p{
  grid-column:1 / -1;
  margin-top:4px;
}
.lopsp-feature-title{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 4px;
}
.lopsp-feature-title span{
  margin:0!important;
  flex:0 0 auto;
}
.lopsp-feature-title h3{
  margin:0!important;
  line-height:1.25;
}
@media (max-width: 640px){
  .lopsp-info-card,
  .lopsp-lop-definition-grid article{
    column-gap:10px;
  }
  .lopsp-info-card .lopsp-info-icon,
  .lopsp-lop-definition-grid article > span,
  .lopsp-feature-title span{
    width:38px;
    height:38px;
    border-radius:14px;
    font-size:20px;
  }
}

/* LOP Support + Study Corner */
.lop-support-main .lopsp-info-section{max-width:1180px;margin-left:auto;margin-right:auto}
.lop-support-hero .lopsp-info-hero-art,.lop-study-hero .lopsp-info-hero-art{align-items:center;justify-content:center}
.lop-support-hero-icon{width:138px;height:138px;border-radius:34px;display:flex;align-items:center;justify-content:center;font-size:64px;background:linear-gradient(135deg,#eff6ff,#fef3c7);box-shadow:0 22px 55px rgba(15,23,42,.12);border:1px solid rgba(255,255,255,.8)}
.lopsp-support-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:18px}
.lopsp-support-card,.lopsp-study-level,.lop-study-task-card{background:#fff;border:1px solid #e6edf6;border-radius:22px;padding:18px;box-shadow:0 16px 42px rgba(15,23,42,.06)}
.lopsp-support-card p,.lopsp-study-level p,.lop-study-task-card p{margin:10px 0 0;color:#475569;line-height:1.65}
.lopsp-support-card .lopsp-feature-title,.lopsp-study-level .lopsp-feature-title{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.lopsp-support-card .lopsp-feature-title span{width:34px;height:34px;border-radius:12px;background:#eff6ff;display:flex;align-items:center;justify-content:center}
.lopsp-support-card h3,.lopsp-study-level h3,.lop-study-task-card h3{font-size:18px;line-height:1.25;margin:0;color:#0f172a}
.lop-support-question-box{background:linear-gradient(135deg,#f8fafc,#eef2ff);border-radius:28px;padding:24px!important;border:1px solid #e0e7ff}
.lop-support-form label{display:block;font-weight:800;color:#334155;margin:12px 0 7px}
.lop-support-form input,.lop-support-form select,.lop-support-form textarea{width:100%;box-sizing:border-box;border:1px solid #dbe3ef;border-radius:14px;padding:12px 14px;background:#fff;font:inherit;color:#0f172a}
.lop-support-form input:focus,.lop-support-form select:focus,.lop-support-form textarea:focus{outline:0;border-color:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.16)}
.lopsp-study-level{position:relative;overflow:hidden}
.lopsp-study-level>span{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-weight:950;font-size:20px;margin-bottom:12px;box-shadow:0 14px 26px rgba(37,99,235,.25)}
.lop-study-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-top:18px}
.lop-study-task-card{position:relative;display:flex;flex-direction:column;min-height:100%;transition:transform .18s ease,box-shadow .18s ease}
.lop-study-task-card:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(15,23,42,.10)}
.lop-study-task-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.lop-study-task-top span{display:inline-flex;border-radius:999px;background:#ecfeff;color:#155e75;padding:5px 10px;font-size:12px;font-weight:900}
.lop-study-task-top em{font-style:normal;border-radius:999px;background:#fef3c7;color:#92400e;padding:5px 10px;font-size:12px;font-weight:900}
.lop-study-task-meta{margin-top:auto;padding-top:14px;color:#64748b;font-size:13px;font-weight:800}
@media(max-width:720px){.lop-support-hero-icon{width:96px;height:96px;font-size:46px}.lopsp-support-guide-grid,.lop-study-task-grid{grid-template-columns:1fr}.lop-support-question-box{padding:18px!important}}

/* v2.8.34 - Study Library / CEFR learning UX */
.lop-study-pro-hero .lopsp-info-hero-copy h1{max-width:840px;}
.lop-study-workflow{margin-top:18px;}
.lop-study-workflow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;}
.lop-study-workflow-steps span{display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#ecfeff);border:1px solid rgba(15,23,42,.08);font-weight:800;color:#0f172a;text-align:center;box-shadow:0 12px 28px rgba(15,23,42,.06);}
.lop-study-filter-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;}
.lop-study-filter-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.lop-study-filter-form select{min-height:42px;border-radius:14px;border:1px solid rgba(15,23,42,.12);padding:0 12px;background:#fff;font-weight:700;color:#0f172a;}
.lop-study-lesson-grid .lop-study-task-card{position:relative;overflow:hidden;}
.lop-study-lesson-grid .lop-study-task-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#22c55e,#06b6d4,#6366f1);}
.lop-study-open-btn,.lopsp-task-open-lesson{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:999px;background:linear-gradient(135deg,#eff6ff,#ecfeff);color:#1e3a8a!important;text-decoration:none;font-weight:950;padding:10px 16px;box-shadow:0 14px 28px rgba(37,99,235,.13);text-shadow:none;letter-spacing:.01em;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;}
.lop-study-open-btn:hover,.lop-study-open-btn:focus-visible,.lopsp-task-open-lesson:hover,.lopsp-task-open-lesson:focus-visible{background:linear-gradient(135deg,#dbeafe,#cffafe);color:#0f3b82!important;border-color:#60a5fa;box-shadow:0 18px 34px rgba(37,99,235,.18);transform:translateY(-1px);outline:0;}
.lop-study-open-btn{margin-top:14px;width:100%;}
.lopsp-task-action-stack{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:150px;}
.lopsp-task-open-lesson{background:linear-gradient(135deg,#2563eb,#7c3aed);font-size:13px;padding:9px 13px;}
.lop-study-lesson-detail{max-width:1060px;margin-left:auto;margin-right:auto;}
.lop-study-lesson-hero{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:24px;align-items:center;padding:28px;border-radius:30px;background:radial-gradient(circle at top left,rgba(34,197,94,.18),transparent 38%),linear-gradient(135deg,#f8fafc,#eff6ff);border:1px solid rgba(15,23,42,.08);box-shadow:0 24px 60px rgba(15,23,42,.08);}
.lop-study-lesson-hero h1{font-size:clamp(28px,4vw,48px);line-height:1.05;margin:8px 0 12px;}
.lop-study-lesson-badge{width:120px;height:120px;border-radius:32px;display:flex;align-items:center;justify-content:center;font-size:58px;background:#fff;box-shadow:0 18px 38px rgba(15,23,42,.12);}
.lop-study-content,.lop-study-quiz,.lop-study-report-box{margin-top:22px;padding:26px;border-radius:24px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 32px rgba(15,23,42,.06);}
.lop-study-content h2,.lop-study-quiz h2,.lop-study-report-box h2{margin-top:0;color:#0f172a;}
.lop-study-content p,.lop-study-content li,.lop-study-quiz li{font-size:16px;line-height:1.75;color:#334155;}
.lop-study-content ul,.lop-study-quiz ul{padding-left:22px;}
.lop-study-quiz ol{padding-left:24px;display:grid;gap:14px;}
.lop-study-report-box{background:linear-gradient(135deg,#f0fdf4,#ecfeff);}
.lop-study-done-inline{margin-top:14px;}
.lopsp-submit-highlight{animation:lopSubmitPulse 1.6s ease-in-out 2;border-color:rgba(34,197,94,.45)!important;box-shadow:0 0 0 4px rgba(34,197,94,.12),0 24px 60px rgba(15,23,42,.1)!important;}
@keyframes lopSubmitPulse{0%{transform:translateY(0)}50%{transform:translateY(-3px)}100%{transform:translateY(0)}}
.lop-support-question-top{background:linear-gradient(135deg,#fff,#f0f9ff);border:1px solid rgba(14,165,233,.16);box-shadow:0 18px 50px rgba(14,165,233,.08);}
.lop-support-form input[readonly]{background:#f8fafc;color:#475569;cursor:not-allowed;}
@media(max-width:860px){.lop-study-workflow-steps{grid-template-columns:1fr 1fr}.lop-study-filter-head{align-items:stretch;flex-direction:column}.lop-study-filter-form{display:grid;grid-template-columns:1fr}.lop-study-lesson-hero{grid-template-columns:1fr;padding:22px}.lop-study-lesson-badge{width:88px;height:88px;border-radius:24px;font-size:42px}.lopsp-task-action-stack{align-items:stretch;width:100%;}.lopsp-task-open-lesson{width:100%;}}
@media(max-width:560px){.lop-study-workflow-steps{grid-template-columns:1fr}.lop-study-lesson-hero h1{font-size:28px}.lop-study-content,.lop-study-quiz,.lop-study-report-box{padding:20px;border-radius:20px}}

/* v2.8.35 Study Library professional workflow */
.lop-study-video{margin-top:22px;border-radius:26px;overflow:hidden;background:#0f172a;box-shadow:0 22px 48px rgba(15,23,42,.18)}
.lop-study-video-frame{position:relative;width:100%;padding-top:56.25%}
.lop-study-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.lop-study-kind-quiz{border-color:rgba(139,92,246,.24);background:linear-gradient(180deg,#fff,#faf7ff)}
.lop-study-kind-external{border-color:rgba(14,165,233,.24);background:linear-gradient(180deg,#fff,#f0f9ff)}
.lop-study-external-box{background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;border:1px solid rgba(14,165,233,.16)!important}
.lop-study-external-item{padding:16px 0;border-bottom:1px solid rgba(15,23,42,.08)}
.lop-study-external-item:last-child{border-bottom:0}
.lop-study-external-item strong{display:block;color:#0f172a;font-size:17px;margin-bottom:4px}
.lop-study-external-item span{display:block;color:#64748b;font-size:13px;margin-bottom:6px}
.lop-study-external-guide{border-color:rgba(14,165,233,.18)!important;background:#f0f9ff!important}
.lop-study-task-card .lop-study-task-top span{max-width:72%;white-space:normal;line-height:1.25}
@media(max-width:720px){.lop-study-filter-form{grid-template-columns:1fr!important}.lop-study-video{border-radius:18px}}

/* v2.8.37 - product UI, goals, learning streak and modal */
.lopsp-focus-dashboard{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;margin:18px 0;}
.lopsp-learning-meter-card,.lopsp-goals-card,.lopsp-trial-panel{border:1px solid rgba(37,99,235,.12);background:linear-gradient(180deg,#fff,#f8fbff);}
.lopsp-learning-meter-main{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:8px 0 12px;}
.lopsp-learning-meter-main strong{font-size:34px;line-height:1;color:#10224e;letter-spacing:-.04em;}
.lopsp-learning-badge{display:inline-flex;padding:8px 12px;border-radius:999px;background:#fff7ed;color:#9a3412;font-weight:850;font-size:13px;}
.lopsp-learning-badge.is-done{background:#ecfdf5;color:#047857;}
.lopsp-learning-progress{height:12px;background:#e7eefb;border-radius:999px;overflow:hidden;margin:8px 0 12px;}
.lopsp-learning-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#22c55e);transition:width .25s ease;}
.lopsp-primary-soft,.lopsp-secondary-soft{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:0;border-radius:15px;padding:11px 15px;font-weight:900;cursor:pointer;}
.lopsp-primary-soft{background:#3157f3;color:#fff;box-shadow:0 14px 28px rgba(49,87,243,.22);}
.lopsp-secondary-soft{background:#eef2ff;color:#3730a3;}
.lopsp-goals-form input,.lopsp-goals-form textarea{width:100%;}
.lopsp-locked-feature{padding:11px 13px;border-radius:14px;background:#fff7ed;color:#9a3412;border:1px solid rgba(249,115,22,.18);font-weight:750;margin:8px 0 12px;}
.lopsp-trial-panel{margin:18px 0;}
.lopsp-trial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.lopsp-trial-item{border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#fff;padding:14px;display:flex;flex-direction:column;gap:8px;min-height:96px;}
.lopsp-trial-item strong{color:#10224e;font-size:15px;}
.lopsp-trial-item span{color:#64748b;font-size:13px;line-height:1.45;}
.lopsp-trial-item.is-locked{background:#f8fafc;opacity:.78;}
.lopsp-trial-item.is-locked strong:after{content:' 🔒';}
.lopsp-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:22px;}
.lopsp-modal[hidden]{display:none!important;}
.lopsp-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(6px);}
.lopsp-modal-panel{position:relative;width:min(820px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:28px;border:1px solid rgba(255,255,255,.55);box-shadow:0 32px 90px rgba(15,23,42,.32);padding:22px;}
.lopsp-modal-close{border:0;background:#f1f5f9;color:#0f172a;border-radius:999px;width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer;font-weight:800;}
html.lopsp-modal-open,html.lopsp-modal-open body{overflow:hidden;}
.lopsp-submit-today-modal .lopsp-add-form{margin-top:8px;}
.lopsp-submit-highlight .lopsp-modal-panel{outline:3px solid rgba(49,87,243,.24);}
@media(max-width:900px){.lopsp-focus-dashboard{grid-template-columns:1fr}.lopsp-trial-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){.lopsp-trial-grid{grid-template-columns:1fr}.lopsp-learning-meter-main strong{font-size:28px}.lopsp-modal{padding:10px}.lopsp-modal-panel{border-radius:22px;padding:16px;}}

/* v2.8.38 - /lop compact title, Rescue Streak modal and active time clock */
.lopsp-identity h2{
  font-size:clamp(19px,2.1vw,22px) !important;
  line-height:1.25 !important;
  letter-spacing:-.018em;
}
.lopsp-panel-head h3{
  font-size:18px !important;
  line-height:1.3;
}
.lopsp-online-clock-box{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:230px;
}
.lopsp-online-clock-label{
  color:#64748b;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.lopsp-online-clock-box strong{
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  font-size:clamp(30px,4vw,42px) !important;
  letter-spacing:-.045em;
  color:#0f172a;
}
.lopsp-online-clock-box small{
  color:#64748b;
  font-size:13px;
  font-weight:750;
}
.lopsp-today-actions{
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.lopsp-rescue-open-btn{
  background:#fff7ed !important;
  color:#9a3412 !important;
  border:1px solid #fed7aa !important;
}
.lopsp-rescue-streak-modal .lopsp-modal-panel{
  border-color:rgba(59,130,246,.18);
  background:linear-gradient(180deg,#fff,#f8fbff);
}
.lopsp-rescue-streak-modal .lopsp-note strong{color:#b45309}
.lopsp-floating-learning-clock{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99990;
  width:min(260px,calc(100vw - 32px));
  border:1px solid rgba(37,99,235,.16);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-radius:22px;
  padding:13px 15px;
  box-shadow:0 18px 44px rgba(15,23,42,.16);
  color:#0f172a;
}
.lopsp-floating-learning-clock span{
  display:block;
  font-size:12px;
  font-weight:900;
  color:#2563eb;
  text-transform:uppercase;
  letter-spacing:.055em;
  margin-bottom:4px;
}
.lopsp-floating-learning-clock strong{
  display:block;
  font-size:26px;
  line-height:1;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.lopsp-floating-learning-clock em{
  display:block;
  margin-top:6px;
  font-style:normal;
  font-size:12px;
  color:#64748b;
  line-height:1.35;
}
@media(max-width:620px){
  .lopsp-identity h2{font-size:19px !important;}
  .lopsp-panel-head h3{font-size:17px !important;}
  .lopsp-online-clock-box{min-width:0;width:100%;}
  .lopsp-online-clock-box strong{font-size:32px !important;}
  .lopsp-floating-learning-clock{left:12px;right:12px;bottom:12px;width:auto;border-radius:18px;padding:11px 13px;}
  .lopsp-floating-learning-clock strong{font-size:23px;}
}

/* v2.8.39 - Pricing plans: Free full-trial message + 7-day/month/year VIP cards */
.lopsp-plan-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.lopsp-plan-list-price{display:flex;align-items:center;gap:6px;color:#64748b;font-size:13px;font-weight:800;margin:6px 0 2px}
.lopsp-plan-list-price del{color:#94a3b8;text-decoration-thickness:2px}
.lopsp-plan-save{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:6px 10px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;font-weight:900;margin:-4px 0 12px}
.lopsp-plan-card.is-free-plan .lopsp-plan-tagline{color:#334155}
.lopsp-plan-grid-four .lopsp-plan-card{min-height:100%;display:flex;flex-direction:column}
.lopsp-plan-grid-four .lopsp-plan-card ul{flex:1}
.lopsp-plan-grid-four .lopsp-plan-order-form{margin-top:auto}
@media(max-width:1180px){.lopsp-plan-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.lopsp-plan-grid-four{grid-template-columns:1fr}.lopsp-plan-save{width:100%;justify-content:center}.lopsp-pricing-hero-points span{width:100%;justify-content:center}}

/* v2.8.40 - Study category links and interactive quiz UX */
.lop-study-category-panel{margin:12px 0 18px;padding:16px;border-radius:22px;background:linear-gradient(135deg,#f8fafc,#eef6ff);border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 32px rgba(15,23,42,.05)}
.lop-study-category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#0f172a}.lop-study-category-head strong{font-size:16px}.lop-study-category-head a{font-size:13px;font-weight:900;color:#2563eb;text-decoration:none}.lop-study-category-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}.lop-study-category-row>span{font-size:12px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-right:4px}.lop-study-category-chip{display:inline-flex;align-items:center;border:1px solid rgba(37,99,235,.18);background:#fff;color:#1e3a8a!important;text-decoration:none;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900;box-shadow:0 8px 20px rgba(15,23,42,.04)}.lop-study-category-chip.is-quiz{border-color:rgba(124,58,237,.2);color:#5b21b6!important;background:#faf5ff}.lop-study-category-chip.is-active{background:#2563eb;color:#fff!important;border-color:#2563eb}.lop-study-task-meta a{color:#2563eb!important;font-weight:900;text-decoration:none}.lop-study-quiz-runner{display:grid;gap:14px}.lop-study-quiz-question{border:1px solid rgba(15,23,42,.10);border-radius:20px;padding:16px 18px;background:#fff;margin:0}.lop-study-quiz-question legend{font-weight:900;color:#0f172a;line-height:1.45;padding:0 4px}.lop-study-quiz-question legend span{display:inline-flex;margin-right:6px;border-radius:999px;background:#eef2ff;color:#3730a3;padding:3px 8px;font-size:12px}.lop-study-quiz-options{display:grid;gap:9px;margin-top:12px}.lop-study-quiz-options label{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-radius:14px;border:1px solid rgba(15,23,42,.10);background:#f8fafc;cursor:pointer;transition:.16s ease}.lop-study-quiz-options label:hover{border-color:#93c5fd;background:#eff6ff}.lop-study-quiz-options input{margin-top:3px}.lop-study-quiz-options span{font-weight:700;color:#334155}.lop-study-quiz-feedback{margin-top:12px;padding:12px 14px;border-radius:14px;background:#f8fafc;color:#334155}.lop-study-quiz-feedback p{margin:6px 0 0!important}.lop-study-quiz-question.is-correct{border-color:#86efac;background:#f0fdf4}.lop-study-quiz-question.is-wrong{border-color:#fecaca;background:#fff7f7}.lop-study-quiz-question.is-unanswered{border-color:#fde68a;background:#fffbeb}.lop-study-quiz-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}.lop-study-quiz-reset{border:0;border-radius:999px;background:#e2e8f0;color:#0f172a;font-weight:900;padding:10px 16px;cursor:pointer}.lop-study-quiz-score{font-weight:900;color:#0f172a;background:#ecfeff;border:1px solid rgba(14,165,233,.18);border-radius:999px;padding:9px 12px}.lop-study-filter-form{max-width:100%}@media(max-width:640px){.lop-study-category-head{align-items:flex-start;flex-direction:column}.lop-study-category-chip{width:100%;justify-content:center}.lop-study-quiz-actions{align-items:stretch;flex-direction:column}.lop-study-quiz-actions .lopsp-upgrade-btn,.lop-study-quiz-reset,.lop-study-quiz-score{width:100%;text-align:center;box-sizing:border-box}}

/* v2.8.41 - Assignment separation, optional wheel and richer lesson media */
.lopsp-required-assignment-box{border:1px solid #fed7aa;background:linear-gradient(180deg,#fff,#fff7ed);border-radius:18px;padding:14px;margin:14px 0}
.lopsp-task-todo-item.is-required{border-color:#fed7aa;background:#fffaf2}
.lopsp-task-todo-item.is-in-progress{border-color:#bfdbfe;background:#f8fbff}
.lopsp-task-open-picked{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between;width:100%}
.lopsp-task-open-picked .lopsp-task-save[aria-disabled="true"]{opacity:.55;pointer-events:none;background:#e2e8f0!important;color:#64748b!important}
.lopsp-task-open-picked .lopsp-task-save.is-ready{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;text-decoration:none}
.lopsp-task-wheel[data-wheel-mode="optional"] .lopsp-task-card{border-color:#dbeafe}
.lopsp-task-wheel[data-wheel-mode="optional"] .lopsp-task-card.is-picked{border-color:#f97316;box-shadow:0 18px 34px rgba(249,115,22,.18)}
.lop-study-vocab-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:16px 0}
.lop-study-vocab-card{border:1px solid #e5edf7;border-radius:18px;padding:14px;background:#fff;display:grid;gap:6px;box-shadow:0 10px 22px rgba(15,23,42,.04)}
.lop-study-vocab-card strong{font-size:20px;color:#0f172a}.lop-study-vocab-card em{font-style:normal;color:#2563eb;font-weight:800}.lop-study-vocab-card span{color:#334155;font-weight:800}.lop-study-vocab-card small{color:#64748b;line-height:1.4}
.lop-study-vocab-card button,.lop-study-speaking-card button{border:0;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:8px 12px;font-weight:900;cursor:pointer;justify-self:start}
.lop-study-rule-table{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}.lop-study-rule-table>div{border:1px solid #e5edf7;border-radius:18px;background:#fff;padding:14px}.lop-study-rule-table strong,.lop-study-rule-table span,.lop-study-rule-table em{display:block}.lop-study-rule-table span{font-size:28px;font-weight:950;color:#2563eb;margin:6px 0}.lop-study-rule-table em{font-style:normal;color:#64748b}
.lop-study-speaking-card,.lop-study-reading-text{border:1px solid #dbeafe;border-radius:18px;background:#f8fbff;padding:16px;line-height:1.8}.lop-study-speaking-card button{margin-top:8px}
.lop-study-media-block{background:#fff;border:1px solid #e5edf7;border-radius:22px;padding:18px;margin:18px 0;box-shadow:0 14px 32px rgba(15,23,42,.05)}.lop-study-media-block h2{margin-top:0}.lop-study-media-block figure{margin:0;display:grid;gap:10px}.lop-study-media-block img,.lop-study-media-block video{max-width:100%;border-radius:18px;border:1px solid #e5edf7}.lop-study-media-block audio{width:100%}.lop-study-media-block figcaption{color:#64748b;font-size:13px}
@media(max-width:640px){.lopsp-task-open-picked{justify-content:stretch}.lopsp-task-open-picked .lopsp-task-save{width:100%;text-align:center}.lop-study-vocab-grid{grid-template-columns:1fr}}


/* v2.8.43 richer lesson content */
.lop-study-objectives,.lop-study-practice-box,.lop-study-speaking-card{border:1px solid rgba(37,99,235,.12);background:linear-gradient(135deg,#f8fbff,#ffffff);border-radius:20px;padding:16px;margin:14px 0;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.lop-study-speaking-card p{font-size:17px;line-height:1.8;margin:0 0 12px;color:#0f172a;font-weight:650}
.lop-study-content h3{margin:10px 0 6px;color:#1e3a8a;font-size:18px}
.lop-study-content ol{padding-left:22px}.lop-study-content strong{color:#0f172a}.lop-study-reading-text{font-size:18px!important;line-height:1.85!important;color:#0f172a!important}
.lop-study-vocab-card button:hover,.lop-study-speaking-card button:hover{background:#dbeafe;transform:translateY(-1px)}
@media(max-width:640px){.lop-study-speaking-card,.lop-study-objectives,.lop-study-practice-box{padding:14px;border-radius:16px}.lop-study-reading-text{font-size:16px!important}}

/* v2.8.45: /lop workflow optimization */
.lopsp-top-study-action{margin:18px 0 20px;}
.lopsp-top-study-action .lopsp-task-wheel-panel{box-shadow:0 22px 60px rgba(37,99,235,.10);}
.lopsp-external-details{margin-top:16px;border:1px solid rgba(37,99,235,.14);border-radius:20px;background:linear-gradient(135deg,#f8fbff,#ffffff);overflow:hidden;}
.lopsp-external-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;font-weight:900;color:#1e3a8a;}
.lopsp-external-details>summary::-webkit-details-marker{display:none;}
.lopsp-external-details>summary:after{content:'＋';display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#e0ecff;color:#1d4ed8;font-weight:900;}
.lopsp-external-details[open]>summary:after{content:'−';}
.lopsp-external-details>summary small{font-weight:700;color:#64748b;margin-left:auto;}
.lopsp-external-details-body{padding:0 16px 16px;}
.lop-study-external-box-profile{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;}
.lop-study-external-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;}
.lop-study-external-form,.lop-study-external-saved{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;}
.lop-study-external-form h4,.lop-study-external-saved h4{margin:0 0 10px;color:#0f172a;font-size:16px;}
.lopsp-plan-strip.is-expired{background:#fff7ed;border-color:#fdba74;}
.lopsp-plan-strip.is-expired .lopsp-plan-badge{background:#ea580c;color:#fff;}
@media(max-width:900px){.lop-study-external-layout{grid-template-columns:1fr}.lopsp-external-details>summary{align-items:flex-start;flex-direction:column}.lopsp-external-details>summary:after{position:absolute;right:16px}.lopsp-top-study-action{margin:14px 0}}


/* v2.8.46 - Student learning flow refinements */
.lopsp-focus-dashboard,
.lopsp-focus-dashboard.lopsp-focus-dashboard-single{display:grid;grid-template-columns:1fr!important;gap:18px;margin:18px 0;}
.lopsp-external-course-panel{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.lopsp-external-course-panel .lopsp-external-details{margin:0;}
.lop-study-external-box-profile .lop-study-external-layout{grid-template-columns:1fr!important;}
.lop-study-external-box-profile .lop-study-external-form,
.lop-study-external-box-profile .lop-study-external-saved{width:100%;}
.lop-study-external-box-profile .lopsp-field-grid{grid-template-columns:1fr!important;}
.lopsp-submit-today-modal select[name="lop_activity_type"]{width:100%;border:1px solid #d8e0ec;border-radius:14px;padding:12px 14px;background:#fff;color:#172033;font-size:15px;line-height:1.35;}
.lop-study-library-title-art{width:min(260px,100%);height:92px;margin:0 auto 14px;position:relative;display:flex;align-items:center;justify-content:center;border-radius:28px;background:radial-gradient(circle at 50% 45%,rgba(37,99,235,.13),rgba(255,255,255,.92) 58%,rgba(248,250,252,.72));overflow:hidden;}
.lop-study-orbit-icon{width:64px;height:64px;border-radius:22px;display:flex;align-items:center;justify-content:center;font-size:38px;background:#fff;box-shadow:0 18px 42px rgba(31,41,55,.12);animation:lopStudyFloat 3.4s ease-in-out infinite;}
.lop-study-orbit-dot{position:absolute;font-weight:900;filter:drop-shadow(0 8px 14px rgba(30,64,175,.14));animation:lopStudyOrbit 4.8s ease-in-out infinite;}
.lop-study-orbit-dot.dot-a{left:38px;top:20px;color:#2563eb;animation-delay:.1s;}
.lop-study-orbit-dot.dot-b{right:42px;top:18px;font-size:22px;animation-delay:.5s;}
.lop-study-orbit-dot.dot-c{right:62px;bottom:18px;color:#f59e0b;animation-delay:.9s;}
@keyframes lopStudyFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-7px) scale(1.03)}}
@keyframes lopStudyOrbit{0%,100%{transform:translateY(0) rotate(0deg);opacity:.8}50%{transform:translateY(-8px) rotate(8deg);opacity:1}}
@media(max-width:700px){.lop-study-library-title-art{height:76px;border-radius:22px}.lop-study-orbit-icon{width:54px;height:54px;font-size:32px}.lopsp-submit-today-modal .lopsp-field-grid{grid-template-columns:1fr!important}}


/* v2.8.48 - external course UX: keep saved courses/report buttons visible; collapse only add form */
.lopsp-external-course-panel{scroll-margin-top:16px;}
.lop-study-external-box-profile{background:linear-gradient(135deg,#f8fbff,#ffffff)!important;border:1px solid rgba(37,99,235,.12)!important;border-radius:22px!important;padding:16px!important;box-shadow:0 18px 45px rgba(15,23,42,.06)!important;}
.lop-study-external-box-profile .lop-study-external-head{margin-bottom:12px;}
.lop-study-external-profile-flow{display:flex;flex-direction:column;gap:14px;}
.lop-study-external-saved-main{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:14px;box-shadow:0 12px 30px rgba(15,23,42,.045);}
.lop-study-external-saved-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;}
.lop-study-external-saved-head h4{margin:0;color:#0f172a;font-size:16px;font-weight:900;}
.lop-study-external-saved-head span{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef2ff;color:#1e3a8a;font-size:12px;font-weight:900;padding:6px 10px;white-space:nowrap;}
.lop-study-external-form-details{border:1px solid rgba(37,99,235,.16);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 26px rgba(37,99,235,.055);}
.lop-study-external-form-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;color:#1e3a8a;font-weight:900;background:linear-gradient(135deg,#f8fbff,#eef4ff);}
.lop-study-external-form-details>summary::-webkit-details-marker{display:none;}
.lop-study-external-form-details>summary small{font-size:12px;color:#64748b;font-weight:800;text-align:right;}
.lop-study-external-form-details>summary:after{content:'＋';flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:900;}
.lop-study-external-form-details[open]>summary:after{content:'−';}
.lop-study-external-form-details-body{padding:14px;}
.lop-study-external-form-details .lop-study-external-form{border:0;padding:0;background:transparent;box-shadow:none;}
.lop-study-external-box-profile .lopsp-field-grid{grid-template-columns:1fr!important;}
@media(max-width:700px){.lop-study-external-box-profile{padding:12px!important;border-radius:18px!important}.lop-study-external-saved-head{align-items:flex-start;flex-direction:column}.lop-study-external-form-details>summary{align-items:flex-start;flex-direction:column}.lop-study-external-form-details>summary:after{position:absolute;right:14px}.lop-study-external-form-details>summary small{padding-right:40px;text-align:left}}
.lop-study-external-form-details>summary{position:relative;}

/* v2.8.49 - /goc-hoc-tap library header: icon block in left column under title/description */
.lop-study-library-head{
  align-items:flex-start!important;
  gap:22px;
}
.lop-study-library-head-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:14px;
  min-width:min(100%,320px);
  max-width:540px;
}
.lop-study-library-head-copy h2{
  margin-top:0;
}
.lop-study-library-head-copy .lopsp-note{
  margin-bottom:0;
}
.lop-study-library-head-copy .lop-study-library-title-art{
  margin:0;
  width:min(220px,100%);
  height:84px;
  align-self:flex-start;
}
.lop-study-library-head .lop-study-filter-form{
  align-self:flex-start;
  justify-content:flex-end;
  padding-top:2px;
}
@media(max-width:860px){
  .lop-study-library-head{
    gap:16px;
  }
  .lop-study-library-head-copy{
    max-width:100%;
  }
  .lop-study-library-head-copy .lop-study-library-title-art{
    width:min(210px,100%);
    height:78px;
  }
  .lop-study-library-head .lop-study-filter-form{
    justify-content:flex-start;
    width:100%;
  }
}

/* v2.8.50: student lesson cards, VIP lock and /lop access notice */
.lop-study-lesson-grid{align-items:stretch;}
.lop-study-lesson-grid .lop-study-task-card h3{min-height:2.5em;}
.lop-study-lesson-grid .lop-study-task-card p{min-height:3.4em;}
.lop-study-vip-lock{margin-top:18px;border:1px solid #bfdbfe;border-radius:26px;background:linear-gradient(135deg,#eff6ff,#ffffff 55%,#ecfeff);padding:24px;box-shadow:0 20px 48px rgba(37,99,235,.10);display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;}
.lop-study-vip-lock-icon{width:58px;height:58px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-size:28px;box-shadow:0 14px 30px rgba(37,99,235,.25);}
.lop-study-vip-lock h2{margin:0 0 8px;color:#1e3a8a;font-size:24px;line-height:1.25;}
.lop-study-vip-lock p{margin:0 0 14px;color:#475569;line-height:1.65;}
.lopsp-lop-access-wrap .lopsp-info-main{padding-top:24px;}
.lopsp-lop-access-card{border:1px solid #dbeafe;border-radius:30px;background:linear-gradient(135deg,#eff6ff,#fff 55%,#ecfeff);box-shadow:0 22px 58px rgba(15,23,42,.10);padding:34px;display:grid;grid-template-columns:1fr auto;gap:26px;align-items:center;}
.lopsp-lop-access-card h1{margin:0 0 12px;color:#0f172a;font-size:clamp(28px,4vw,48px);line-height:1.08;}
.lopsp-lop-access-card p{margin:0 0 18px;color:#475569;font-size:17px;line-height:1.7;max-width:780px;}
.lopsp-lop-access-visual{width:130px;height:130px;border-radius:36px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dbeafe,#ecfeff);font-size:64px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 18px 38px rgba(37,99,235,.14);}
@media(max-width:760px){.lop-study-vip-lock{grid-template-columns:1fr;padding:18px}.lopsp-lop-access-card{grid-template-columns:1fr;padding:22px}.lopsp-lop-access-visual{width:94px;height:94px;font-size:46px}.lop-study-lesson-grid .lop-study-task-card h3,.lop-study-lesson-grid .lop-study-task-card p{min-height:auto}}


/* v2.8.51 - global hero/page title normalization
   Goal: keep hero titles only ~3 font-size steps above normal body text,
   consistent across /lop, public pages, pricing, support, study library and lesson detail.
   CSS-only change: no workflow, permission, database or route logic changed. */
.lopsp-wrap,
.lopsp-info-body,
.lopsp-info-wrap,
.lopsp-info-main,
.lop-study-wrap{
  --lop-title-body-size: 16px;
  --lop-title-hero-size: 21px;
  --lop-title-section-size: 19px;
  --lop-title-sub-size: 17px;
}
.lopsp-hero h1,
.lopsp-hero h2,
.lopsp-info-hero h1,
.lopsp-pricing-hero h1,
.lopsp-pricing-hero-plus h1,
.lop-study-hero h1,
.lop-study-lesson-hero h1,
.lopsp-lop-access-card h1,
.lop-study-pro-hero .lopsp-info-hero-copy h1{
  font-size: var(--lop-title-hero-size) !important;
  line-height: 1.26 !important;
  letter-spacing: -.018em !important;
  font-weight: 850 !important;
  margin-top: 0 !important;
  text-wrap: balance;
}
.lopsp-info-section h1,
.lopsp-info-section > h1,
.lop-study-lesson-detail > h1{
  font-size: var(--lop-title-hero-size) !important;
  line-height: 1.28 !important;
  letter-spacing: -.015em !important;
  font-weight: 850 !important;
}
.lopsp-panel-head h3,
.lopsp-info-card h2,
.lopsp-info-section h2,
.lopsp-vip-benefits h2,
.lopsp-vip-value h2,
.lopsp-section-head h2,
.lop-study-filter-head h2,
.lop-study-library-head-copy h2,
.lop-study-content h2,
.lop-study-quiz h2,
.lop-study-report-box h2,
.lop-study-media-block h2,
.lop-study-external-head h2,
.lop-study-external-box-profile h2,
.lop-study-vip-lock h2,
.lopsp-plan-card h2{
  font-size: var(--lop-title-section-size) !important;
  line-height: 1.3 !important;
  letter-spacing: -.012em !important;
  font-weight: 820 !important;
  text-wrap: balance;
}
.lopsp-info-card h3,
.lopsp-info-section h3,
.lopsp-rich-content h3,
.lop-study-task-card h3,
.lop-study-external-saved-head h4,
.lopsp-vip-callout h3,
.lopsp-feature-title h3{
  font-size: var(--lop-title-sub-size) !important;
  line-height: 1.35 !important;
  letter-spacing: -.008em !important;
  font-weight: 800 !important;
}
.lopsp-rich-content h2{
  font-size: var(--lop-title-section-size) !important;
  line-height: 1.32 !important;
}
.lopsp-info-hero p,
.lopsp-pricing-hero p,
.lopsp-pricing-hero-plus p,
.lopsp-lop-access-card p,
.lop-study-lesson-hero p{
  font-size: var(--lop-title-body-size) !important;
  line-height: 1.68 !important;
}
.lopsp-plan-price{
  font-size: 24px !important;
  line-height: 1.1 !important;
}
.lopsp-card-value{
  font-size: 24px !important;
  line-height: 1.08 !important;
}
@media(max-width:760px){
  .lopsp-wrap,
  .lopsp-info-body,
  .lopsp-info-wrap,
  .lopsp-info-main,
  .lop-study-wrap{
    --lop-title-body-size: 15px;
    --lop-title-hero-size: 20px;
    --lop-title-section-size: 18px;
    --lop-title-sub-size: 16px;
  }
  .lopsp-info-hero,
  .lopsp-pricing-hero,
  .lopsp-pricing-hero-plus,
  .lopsp-lop-access-card{
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
}


/* LOP Content Hub: Blog/Bai viet + Su kien */
.lopsp-contenthub-body .lopsp-info-main{max-width:1180px}.lopsp-hub-hero{align-items:stretch}.lopsp-hub-hero-card{background:linear-gradient(135deg,#eef7ff,#f7fbff);border:1px solid rgba(59,130,246,.16);border-radius:28px;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:10px;box-shadow:0 18px 50px rgba(15,23,42,.08)}.lopsp-hub-hero-card span{font-size:44px}.lopsp-hub-hero-card strong{font-size:22px;color:#172554}.lopsp-hub-hero-card p{margin:0;color:#52627a}.lopsp-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}.lopsp-hub-card{background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:26px;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.08);display:flex;flex-direction:column;min-height:100%}.lopsp-hub-card-image{height:190px;background:linear-gradient(135deg,#e0f2fe,#eef2ff);display:flex;align-items:center;justify-content:center;text-decoration:none;overflow:hidden}.lopsp-hub-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.lopsp-hub-card:hover .lopsp-hub-card-image img{transform:scale(1.04)}.lopsp-hub-card-image span{font-size:46px}.lopsp-hub-card-body{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1}.lopsp-hub-meta{display:flex;gap:8px;flex-wrap:wrap}.lopsp-hub-meta span,.lopsp-hub-detail-meta span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:800}.lopsp-hub-card h2{font-size:21px;line-height:1.32;margin:0;color:#0f172a}.lopsp-hub-card h2 a{color:inherit;text-decoration:none}.lopsp-hub-card p{color:#52627a;margin:0;line-height:1.6}.lopsp-hub-readmore{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:10px 14px;border-radius:999px;background:#e0f2fe;color:#075985;font-weight:900;text-decoration:none}.lopsp-hub-readmore:hover{background:#bae6fd;color:#0c4a6e}.lopsp-hub-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:28px 0}.lopsp-hub-pagination a,.lopsp-hub-pagination span{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid rgba(148,163,184,.28);font-weight:800;text-decoration:none;color:#1e3a8a}.lopsp-hub-detail{max-width:920px;margin:26px auto}.lopsp-hub-breadcrumb{margin-bottom:16px}.lopsp-hub-breadcrumb a{color:#2563eb;font-weight:900;text-decoration:none}.lopsp-hub-detail-head{background:linear-gradient(135deg,#f8fbff,#ffffff);border:1px solid rgba(148,163,184,.22);border-radius:30px;padding:28px;box-shadow:0 20px 55px rgba(15,23,42,.08)}.lopsp-hub-detail-head h1{font-size:var(--lop-title-main-size,32px);line-height:1.18;margin:8px 0 10px;color:#0f172a}.lopsp-hub-detail-head p{font-size:18px;color:#52627a;line-height:1.7}.lopsp-hub-detail-meta{display:flex;gap:8px;flex-wrap:wrap}.lopsp-hub-featured{margin:22px 0;border-radius:28px;overflow:hidden;border:1px solid rgba(148,163,184,.22);background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.08)}.lopsp-hub-featured img{display:block;width:100%;height:auto}.lopsp-hub-content{margin-top:22px}.lopsp-event-panel{margin:22px 0;padding:20px;border-radius:24px;background:#eff6ff;border:1px solid rgba(37,99,235,.18);display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center}.lopsp-event-panel strong{font-size:18px;color:#172554}.lopsp-event-panel p{margin:4px 0 0;color:#1d4ed8;font-weight:800}.lopsp-event-panel span{display:block;color:#52627a;font-weight:700}.lopsp-event-panel b{color:#0f172a}.lopsp-event-action{padding:11px 15px;border-radius:999px;text-decoration:none;font-weight:900;white-space:nowrap}.lopsp-event-action.primary{background:#2563eb;color:#fff}.lopsp-event-action.secondary{background:#fff;color:#1d4ed8;border:1px solid rgba(37,99,235,.22)}.lopsp-event-video{margin:22px 0;background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:26px;padding:20px;box-shadow:0 18px 50px rgba(15,23,42,.07)}.lopsp-video-frame{position:relative;width:100%;padding-top:56.25%;overflow:hidden;border-radius:18px;background:#0f172a}.lopsp-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.lopsp-hub-detail-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0}.lopsp-empty-state{background:#fff;border:1px dashed rgba(148,163,184,.45);border-radius:24px;padding:30px;text-align:center}.lopsp-empty-state strong{font-size:22px;color:#172554}.lopsp-empty-state p{color:#52627a}
@media(max-width:960px){.lopsp-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lopsp-event-panel{grid-template-columns:1fr}.lopsp-event-action{width:100%;justify-content:center;text-align:center}}@media(max-width:640px){.lopsp-hub-grid{grid-template-columns:1fr}.lopsp-hub-card-image{height:170px}.lopsp-hub-detail-head{padding:20px}.lopsp-hub-detail-head p{font-size:16px}.lopsp-hub-detail-actions{flex-direction:column}.lopsp-hub-readmore{width:100%}}


/* v2.8.54 - desktop public menu one-line optimization */
@media (min-width: 881px){
  .lopsp-site-header{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:clamp(8px,1vw,14px) !important;
    padding:10px clamp(12px,2.4vw,34px) !important;
  }
  .lopsp-site-brand{
    flex:0 0 auto !important;
    min-width:0 !important;
    white-space:nowrap !important;
  }
  .lopsp-site-brand img{
    width:36px !important;
    height:36px !important;
    flex:0 0 36px !important;
  }
  .lopsp-site-brand strong{
    font-size:15px !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
  }
  .lopsp-site-header nav{
    justify-self:center !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:3px !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
  }
  .lopsp-site-header nav::-webkit-scrollbar{display:none !important;}
  .lopsp-site-header nav a{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    font-size:12.5px !important;
    line-height:1.05 !important;
    padding:7px 8px !important;
    border-radius:999px !important;
  }
  .lopsp-site-actions{
    justify-self:end !important;
    flex:0 0 auto !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:6px !important;
    min-width:max-content !important;
    white-space:nowrap !important;
  }
  .lopsp-site-actions a{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    font-size:12.5px !important;
    line-height:1.1 !important;
    padding:8px 10px !important;
  }
}
@media (min-width: 1180px){
  .lopsp-site-header{padding:11px clamp(16px,3vw,44px) !important;gap:14px !important;}
  .lopsp-site-brand img{width:38px !important;height:38px !important;flex-basis:38px !important;}
  .lopsp-site-brand strong{font-size:16px !important;}
  .lopsp-site-header nav{gap:5px !important;}
  .lopsp-site-header nav a{font-size:13px !important;padding:8px 10px !important;}
  .lopsp-site-actions{gap:8px !important;}
  .lopsp-site-actions a{font-size:13px !important;padding:9px 12px !important;}
}
@media (min-width: 881px) and (max-width: 1040px){
  .lopsp-site-brand{gap:6px !important;}
  .lopsp-site-brand strong{font-size:14px !important;max-width:82px;overflow:hidden;text-overflow:ellipsis;}
  .lopsp-site-header nav a{font-size:12px !important;padding:7px 7px !important;}
  .lopsp-site-actions a{font-size:12px !important;padding:8px 9px !important;}
}


/* v2.8.55 - editable social links and pricing admin polish */
.lopsp-social-follow-section{width:min(1120px,calc(100% - 32px));margin:-8px auto 22px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:18px;align-items:stretch;border:1px solid #dbeafe;border-radius:24px;background:linear-gradient(135deg,#ffffff,#f0f9ff 55%,#fff7ed);padding:20px;box-shadow:0 18px 42px rgba(15,23,42,.06)}
.lopsp-social-follow-copy h2{font-size:24px;line-height:1.25;margin:10px 0 8px;letter-spacing:-.025em}.lopsp-social-follow-copy p{margin:0;color:#64748b;line-height:1.65}.lopsp-social-links{display:flex;gap:12px;flex-wrap:wrap}.lopsp-social-links-intro{align-items:stretch;justify-content:flex-end}.lopsp-social-link{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #e5edf7;border-radius:18px;background:#fff;text-decoration:none;color:#0f172a;box-shadow:0 12px 26px rgba(15,23,42,.06);min-width:210px;transition:.18s ease}.lopsp-social-link:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(15,23,42,.1)}.lopsp-social-icon{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:1000;color:#fff;flex:0 0 auto}.lopsp-social-link.is-facebook .lopsp-social-icon{background:linear-gradient(135deg,#1877f2,#60a5fa)}.lopsp-social-link.is-youtube .lopsp-social-icon{background:linear-gradient(135deg,#ef4444,#f97316)}.lopsp-social-link strong{display:block;font-size:14px;color:#0f172a}.lopsp-social-link em{display:block;font-style:normal;font-size:12px;color:#64748b;line-height:1.35;margin-top:2px}.lopsp-site-footer-main{display:flex!important;flex-direction:column!important;align-items:flex-end;gap:10px}.lopsp-social-links-footer{justify-content:flex-end}.lopsp-social-links-footer .lopsp-social-link{min-width:auto;padding:8px 10px;border-radius:999px}.lopsp-social-links-footer .lopsp-social-icon{width:30px;height:30px;border-radius:999px}.lopsp-social-links-footer em{display:none}.lopsp-social-links-footer strong{font-size:13px}.lop-admin-pricing-editor h3{margin:22px 0 10px;font-size:16px;color:#0f172a}.lop-admin-pricing-editor textarea{min-height:auto}
@media(max-width:880px){.lopsp-social-follow-section{grid-template-columns:1fr;margin-top:0}.lopsp-social-links-intro{justify-content:flex-start}.lopsp-site-footer-main{align-items:flex-start}.lopsp-social-links-footer{justify-content:flex-start}.lopsp-social-link{width:100%;min-width:0}}

/* v2.8.56 - Pricing: desktop 2x2 plan grid + checkout/payment popup */
.lopsp-pricing-body .lopsp-plan-grid-two-by-two,
.lopsp-pricing-body .lopsp-plan-grid-four.lopsp-plan-grid-two-by-two{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
.lopsp-pricing-body .lopsp-plan-grid-two-by-two .lopsp-plan-card{
  min-height:100%;
  display:flex;
  flex-direction:column;
}
.lopsp-pricing-body .lopsp-plan-grid-two-by-two .lopsp-plan-card ul{flex:1 1 auto;}
.lopsp-pricing-body .lopsp-plan-grid-two-by-two .lopsp-plan-order-form,
.lopsp-pricing-body .lopsp-plan-grid-two-by-two .is-free-plan .lopsp-upgrade-btn{margin-top:auto;}
.lopsp-pricing-checkout-modal .lopsp-modal-panel{
  width:min(760px,96vw);
  padding:0;
  overflow:hidden;
  border-radius:30px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
}
.lopsp-checkout-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:22px 24px 18px;
  background:radial-gradient(circle at 12% 0%,rgba(37,99,235,.18),transparent 34%),linear-gradient(135deg,#eff6ff,#fff7ed);
  border-bottom:1px solid #e5edf7;
}
.lopsp-checkout-modal-head span{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbeafe;
  color:#1d4ed8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.lopsp-checkout-modal-head h2{font-size:25px!important;line-height:1.18;margin:10px 0 6px!important;color:#0f172a;letter-spacing:-.025em;}
.lopsp-checkout-modal-head p{margin:0;color:#475569;line-height:1.55;max-width:580px;}
.lopsp-pricing-checkout-modal .lopsp-payment-box{
  width:calc(100% - 40px)!important;
  margin:18px auto!important;
  box-shadow:none;
  border-color:#bae6fd;
  background:#fff;
}
.lopsp-pricing-checkout-modal .lopsp-payment-box h2{font-size:21px!important;margin-top:0!important;}
.lopsp-checkout-success-note,
.lopsp-checkout-error{
  width:calc(100% - 40px);
  margin:18px auto 0;
  border-radius:18px;
  padding:14px 16px;
  border:1px solid #bbf7d0;
  background:#f0fdf4;
  color:#166534;
}
.lopsp-checkout-error{border-color:#fecaca;background:#fff7f7;color:#991b1b;}
.lopsp-checkout-success-note strong,.lopsp-checkout-success-note span{display:block;}
.lopsp-checkout-success-note span{margin-top:4px;color:#334155;line-height:1.5;}
.lopsp-checkout-error p{margin:6px 0 0;color:#7f1d1d;line-height:1.55;}
.lopsp-checkout-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  width:calc(100% - 40px);
  margin:0 auto 22px;
}
.lopsp-checkout-error .lopsp-checkout-actions{width:100%;margin:14px 0 0;}
@media(max-width:760px){
  .lopsp-pricing-body .lopsp-plan-grid-two-by-two,
  .lopsp-pricing-body .lopsp-plan-grid-four.lopsp-plan-grid-two-by-two{grid-template-columns:1fr!important;}
  .lopsp-checkout-modal-head{padding:18px;}
  .lopsp-pricing-checkout-modal .lopsp-payment-box,
  .lopsp-checkout-success-note,
  .lopsp-checkout-error,
  .lopsp-checkout-actions{width:calc(100% - 28px)!important;}
  .lopsp-checkout-actions .lopsp-upgrade-btn{width:100%;}
}


/* v2.8.57 - intro social equal cards, compact 4-column footer, collapsible floating learning clock */
.lopsp-social-follow-section{
  grid-template-columns:minmax(0,1fr) minmax(340px,.9fr) !important;
  align-items:start !important;
}
.lopsp-social-links-intro{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
  width:100% !important;
  align-content:start !important;
  justify-content:stretch !important;
}
.lopsp-social-links-intro .lopsp-social-link{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  padding:16px 18px !important;
  border-radius:22px !important;
}
.lopsp-social-links-intro .lopsp-social-icon{
  width:58px !important;
  height:58px !important;
  border-radius:20px !important;
  font-size:22px !important;
}
.lopsp-social-links-intro .lopsp-social-link strong{font-size:17px !important;line-height:1.2;}
.lopsp-social-links-intro .lopsp-social-link em{font-size:14px !important;line-height:1.45;}
.lopsp-site-footer-4col{
  display:grid !important;
  grid-template-columns:minmax(220px,1.15fr) minmax(150px,.72fr) minmax(150px,.72fr) minmax(240px,1fr) !important;
  align-items:start !important;
  gap:22px !important;
  padding:24px clamp(18px,4vw,56px) !important;
  background:linear-gradient(180deg,#ffffff,#f8fbff) !important;
}
.lopsp-site-footer-4col .lopsp-site-footer-col{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:9px !important;
  min-width:0 !important;
}
.lopsp-site-footer-4col .lopsp-site-footer-col>strong,
.lopsp-site-footer-4col .lopsp-site-footer-brand strong{
  color:#0f172a !important;
  font-size:15px !important;
  font-weight:950 !important;
  letter-spacing:-.01em;
}
.lopsp-site-footer-4col nav{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:8px !important;
}
.lopsp-site-footer-4col a{font-size:13px !important;line-height:1.25;color:#475569 !important;text-decoration:none !important;font-weight:800 !important;}
.lopsp-site-footer-4col a:hover{color:#2563eb !important;}
.lopsp-site-footer-4col .lopsp-site-footer-brand{flex-direction:row !important;gap:11px !important;}
.lopsp-site-footer-4col .lopsp-site-footer-brand em{max-width:230px;line-height:1.45;}
.lopsp-site-footer-connect .lopsp-social-links-footer{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  justify-content:stretch !important;
}
.lopsp-site-footer-connect .lopsp-social-links-footer .lopsp-social-link{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  justify-content:flex-start !important;
  padding:8px 10px !important;
  border-radius:14px !important;
}
.lopsp-site-footer-connect .lopsp-social-links-footer .lopsp-social-icon{width:28px !important;height:28px !important;border-radius:10px !important;}
.lopsp-site-footer-connect .lopsp-social-links-footer strong{font-size:12px !important;}
.lopsp-floating-learning-clock{
  padding:14px 42px 14px 16px !important;
  transition:width .18s ease,padding .18s ease,border-radius .18s ease,transform .18s ease,box-shadow .18s ease;
}
.lopsp-floating-clock-toggle{
  position:absolute;
  top:10px;
  right:10px;
  width:26px;
  height:26px;
  border:0;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  background:#eaf1ff;
  color:#2563eb;
  font-size:18px;
  line-height:1;
  font-weight:1000;
  box-shadow:0 8px 18px rgba(37,99,235,.12);
  z-index:2;
}
.lopsp-floating-clock-toggle:hover{background:#dbeafe;color:#1d4ed8;transform:translateY(-1px);}
.lopsp-floating-clock-content{display:block;}
.lopsp-floating-clock-mini{display:none;}
.lopsp-floating-learning-clock.is-collapsed{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  padding:0 !important;
  border-radius:999px !important;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 16px 34px rgba(37,99,235,.18);
}
.lopsp-floating-learning-clock.is-collapsed .lopsp-floating-clock-content{display:none !important;}
.lopsp-floating-learning-clock.is-collapsed .lopsp-floating-clock-mini{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:24px;
  color:#2563eb;
  font-weight:1000;
}
.lopsp-floating-learning-clock.is-collapsed .lopsp-floating-clock-toggle{
  top:-7px;
  right:-7px;
  width:24px;
  height:24px;
  font-size:16px;
  background:#2563eb;
  color:#fff;
  border:2px solid #fff;
}
@media(max-width:1020px){.lopsp-site-footer-4col{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:880px){.lopsp-social-follow-section{grid-template-columns:1fr !important}.lopsp-social-links-intro{max-width:none}.lopsp-site-footer-4col{grid-template-columns:1fr !important}.lopsp-site-footer-connect .lopsp-social-links-footer{grid-template-columns:1fr !important}.lopsp-site-footer-4col nav{flex-direction:column !important}.lopsp-site-footer-4col .lopsp-site-footer-brand{width:100%;}}
@media(max-width:620px){.lopsp-floating-learning-clock{padding:12px 40px 12px 14px !important}.lopsp-floating-learning-clock.is-collapsed{left:auto !important;right:12px !important;width:54px !important;height:54px !important;min-width:54px !important;}}


/* v2.8.58 - checkout popup scroll + global compact spacing pass
   Pure CSS polish only: no route, database, billing, learning, Streak or SEO logic changes. */
.lopsp-pricing-checkout-modal{
  align-items:center !important;
  justify-content:center !important;
  padding:clamp(10px,2.4vw,22px) !important;
}
.lopsp-pricing-checkout-modal .lopsp-modal-panel{
  max-height:calc(100dvh - 28px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-gutter:stable both-edges;
}
.lopsp-pricing-checkout-modal .lopsp-modal-panel::-webkit-scrollbar{width:10px;}
.lopsp-pricing-checkout-modal .lopsp-modal-panel::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px;border:3px solid #f8fbff;}
.lopsp-pricing-checkout-modal .lopsp-modal-panel::-webkit-scrollbar-track{background:transparent;}
.lopsp-pricing-checkout-modal .lopsp-checkout-modal-head{
  position:sticky;
  top:0;
  z-index:4;
  padding:18px 20px 15px !important;
}
.lopsp-pricing-checkout-modal .lopsp-modal-close{flex:0 0 auto;}
.lopsp-pricing-checkout-modal .lopsp-payment-box{margin:14px auto !important;padding:16px !important;}
.lopsp-pricing-checkout-modal .lopsp-checkout-success-note,
.lopsp-pricing-checkout-modal .lopsp-checkout-error{margin-top:14px !important;padding:12px 14px !important;}
.lopsp-pricing-checkout-modal .lopsp-checkout-actions{margin-bottom:18px !important;}

body.lopsp-public-body,
body.lopsp-standalone-body{
  --lopsp-page-x:clamp(14px,2.8vw,34px);
  --lopsp-section-gap:clamp(12px,2vw,18px);
  --lopsp-card-pad:clamp(14px,1.9vw,18px);
  --lopsp-card-radius:20px;
}
.lopsp-wrap{margin:18px auto !important;padding-left:var(--lopsp-page-x) !important;padding-right:var(--lopsp-page-x) !important;}
.lopsp-topnav{margin-bottom:10px !important;gap:10px !important;}
.lopsp-hero{border-radius:22px !important;margin-bottom:14px !important;}
.lopsp-profilebar{padding:14px 16px !important;gap:16px !important;}
.lopsp-grid-cards{gap:10px !important;margin-bottom:14px !important;}
.lopsp-card{padding:12px 14px !important;border-radius:16px !important;}
.lopsp-card-label{margin-bottom:5px !important;}
.lopsp-main-grid{gap:14px !important;}
.lopsp-panel{padding:14px !important;border-radius:20px !important;margin-bottom:14px !important;}
.lopsp-panel-head{margin-bottom:10px !important;gap:10px !important;}
.lopsp-field-grid{gap:10px !important;}
.lopsp-add-form label{margin-bottom:5px !important;}
.lopsp-add-form input[type=text],.lopsp-add-form select,.lopsp-add-form textarea{padding:9px 11px !important;border-radius:12px !important;}
.lopsp-actions{gap:10px !important;margin-top:12px !important;}
.lopsp-info-main,
.lopsp-pricing-hero,
.lopsp-pricing-value-strip,
.lopsp-pricing-intro,
.lopsp-plan-grid,
.lopsp-plan-compare-wrap,
.lopsp-payment-box,
.lopsp-blog-wrap,
.lopsp-events-wrap,
.lopsp-content-wrap{width:min(1120px,calc(100% - (var(--lopsp-page-x) * 2))) !important;}
.lopsp-info-hero{margin:18px 0 14px !important;padding:clamp(20px,3vw,34px) !important;border-radius:24px !important;}
.lopsp-info-grid{gap:14px !important;margin:16px 0 !important;}
.lopsp-info-card,.lopsp-info-section,.lopsp-plan-card{padding:var(--lopsp-card-pad) !important;border-radius:var(--lopsp-card-radius) !important;}
.lopsp-info-section{margin:16px 0 !important;}
.lopsp-rich-content h2{margin-top:18px !important;margin-bottom:8px !important;}
.lopsp-rich-content h3{margin-top:16px !important;margin-bottom:7px !important;}
.lopsp-rich-content p,.lopsp-rich-content li{line-height:1.66 !important;}
.lopsp-pricing-hero{margin-top:18px !important;margin-bottom:14px !important;}
.lopsp-pricing-hero-points{margin-top:12px !important;gap:8px !important;}
.lopsp-pricing-value-strip{gap:10px !important;margin-bottom:14px !important;}
.lopsp-pricing-value-strip>div{padding:12px 14px !important;border-radius:18px !important;}
.lopsp-plan-grid{gap:16px !important;margin-top:16px !important;margin-bottom:26px !important;}
.lopsp-plan-card h2{margin-bottom:6px !important;}
.lopsp-plan-icon{width:50px !important;height:50px !important;border-radius:18px !important;margin-bottom:10px !important;}
.lopsp-plan-price{margin:6px 0 10px !important;}
.lopsp-plan-card ul{margin-top:8px !important;margin-bottom:14px !important;line-height:1.62 !important;}
.lopsp-plan-card li{margin:4px 0 !important;}
.lopsp-plan-compare-wrap{margin-bottom:26px !important;}
.lopsp-section-head{margin:14px 0 !important;}
.lopsp-compare-row>div{padding:11px 13px !important;}
.lopsp-social-follow-section{padding:16px !important;margin-bottom:18px !important;border-radius:22px !important;gap:14px !important;}
.lopsp-social-links-intro .lopsp-social-link{padding:13px 15px !important;border-radius:19px !important;}
.lopsp-site-header{padding-top:10px !important;padding-bottom:10px !important;}
.lopsp-site-footer-4col{gap:18px !important;padding-top:20px !important;padding-bottom:20px !important;}
.lopsp-floating-learning-clock{right:16px !important;bottom:16px !important;}
.lop-study-card,.lop-study-quiz-card,.lop-study-item,.lop-study-library-card{border-radius:20px !important;}

@media(max-width:760px){
  body.lopsp-public-body,body.lopsp-standalone-body{
    --lopsp-page-x:12px;
    --lopsp-section-gap:12px;
    --lopsp-card-pad:13px;
    --lopsp-card-radius:18px;
  }
  .lopsp-wrap{margin:12px auto !important;}
  .lopsp-hero{border-radius:18px !important;margin-bottom:12px !important;}
  .lopsp-profilebar{padding:12px 13px !important;gap:12px !important;}
  .lopsp-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px !important;}
  .lopsp-card{padding:11px !important;border-radius:15px !important;}
  .lopsp-panel{padding:12px !important;border-radius:18px !important;margin-bottom:12px !important;}
  .lopsp-info-hero{margin:14px 0 12px !important;padding:18px !important;border-radius:20px !important;}
  .lopsp-info-grid{gap:12px !important;margin:12px 0 !important;}
  .lopsp-pricing-hero,.lopsp-pricing-value-strip,.lopsp-pricing-intro,.lopsp-plan-grid,.lopsp-plan-compare-wrap,.lopsp-payment-box{width:calc(100% - 24px) !important;}
  .lopsp-plan-grid{gap:12px !important;margin-bottom:20px !important;}
  .lopsp-pricing-checkout-modal{padding:8px !important;align-items:flex-start !important;}
  .lopsp-pricing-checkout-modal .lopsp-modal-panel{width:calc(100vw - 16px) !important;max-height:calc(100dvh - 16px) !important;border-radius:22px !important;}
  .lopsp-pricing-checkout-modal .lopsp-checkout-modal-head{padding:15px 16px 13px !important;}
  .lopsp-pricing-checkout-modal .lopsp-checkout-modal-head h2{font-size:21px!important;}
  .lopsp-pricing-checkout-modal .lopsp-payment-box{padding:13px !important;margin:12px auto !important;}
  .lopsp-site-footer-4col{padding:16px 14px !important;gap:14px !important;}
  .lopsp-floating-learning-clock{right:12px !important;bottom:12px !important;}
}


/* v2.8.59 - scoped pricing page re-centering fix
   Fixes /goi-dang-ky/ left-shift caused by compact global margin rules.
   CSS-only, pricing-page scoped: no billing, SePay, route, database or other page logic changes. */
body.lopsp-pricing-body{
  overflow-x:hidden !important;
}
body.lopsp-pricing-body .lopsp-pricing-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  align-items:stretch !important;
}
body.lopsp-pricing-body .lopsp-pricing-hero,
body.lopsp-pricing-body .lopsp-pricing-value-strip,
body.lopsp-pricing-body .lopsp-pricing-intro,
body.lopsp-pricing-body .lopsp-plan-grid,
body.lopsp-pricing-body .lopsp-plan-compare-wrap,
body.lopsp-pricing-body .lopsp-payment-box,
body.lopsp-pricing-body .lopsp-pricing-wrap > .lopsp-alert{
  width:min(1120px, calc(100% - 32px)) !important;
  max-width:1120px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}
body.lopsp-pricing-body .lopsp-pricing-hero{
  margin-top:18px !important;
  margin-bottom:14px !important;
}
body.lopsp-pricing-body .lopsp-pricing-value-strip,
body.lopsp-pricing-body .lopsp-pricing-intro{
  margin-top:0 !important;
  margin-bottom:14px !important;
}
body.lopsp-pricing-body .lopsp-plan-grid{
  margin-top:16px !important;
  margin-bottom:26px !important;
}
body.lopsp-pricing-body .lopsp-plan-grid-two-by-two,
body.lopsp-pricing-body .lopsp-plan-grid-four.lopsp-plan-grid-two-by-two{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:stretch !important;
}
body.lopsp-pricing-body .lopsp-plan-compare-wrap{
  margin-top:0 !important;
  margin-bottom:26px !important;
}
body.lopsp-pricing-body .lopsp-payment-box{
  margin-top:0 !important;
  margin-bottom:18px !important;
}
body.lopsp-pricing-body .lopsp-pricing-checkout-modal .lopsp-payment-box{
  width:calc(100% - 40px) !important;
  max-width:none !important;
  margin:14px auto !important;
}
@media(max-width:760px){
  body.lopsp-pricing-body .lopsp-pricing-hero,
  body.lopsp-pricing-body .lopsp-pricing-value-strip,
  body.lopsp-pricing-body .lopsp-pricing-intro,
  body.lopsp-pricing-body .lopsp-plan-grid,
  body.lopsp-pricing-body .lopsp-plan-compare-wrap,
  body.lopsp-pricing-body .lopsp-payment-box,
  body.lopsp-pricing-body .lopsp-pricing-wrap > .lopsp-alert{
    width:calc(100% - 24px) !important;
    max-width:none !important;
  }
  body.lopsp-pricing-body .lopsp-plan-grid-two-by-two,
  body.lopsp-pricing-body .lopsp-plan-grid-four.lopsp-plan-grid-two-by-two{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  body.lopsp-pricing-body .lopsp-pricing-checkout-modal .lopsp-payment-box{
    width:calc(100% - 28px) !important;
  }
}
@media(max-width:380px){
  body.lopsp-pricing-body .lopsp-pricing-hero,
  body.lopsp-pricing-body .lopsp-pricing-value-strip,
  body.lopsp-pricing-body .lopsp-pricing-intro,
  body.lopsp-pricing-body .lopsp-plan-grid,
  body.lopsp-pricing-body .lopsp-plan-compare-wrap,
  body.lopsp-pricing-body .lopsp-payment-box,
  body.lopsp-pricing-body .lopsp-pricing-wrap > .lopsp-alert{
    width:calc(100% - 18px) !important;
  }
}

/* v2.8.60 - /lop priority flow, self public profile control and inspired wheel UX */
.lopsp-today-flow{margin:12px 0 14px;padding:16px;border:1px solid rgba(37,99,235,.12);border-radius:24px;background:linear-gradient(135deg,#ffffff 0%,#f4f8ff 52%,#ecfeff 100%);box-shadow:0 16px 42px rgba(15,23,42,.07)}
.lopsp-flow-head{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.lopsp-flow-head h3{margin:0;font-size:clamp(19px,2vw,24px);color:#0f172a}.lopsp-flow-head p{margin:0;color:#64748b;line-height:1.5;font-size:14px}.lopsp-flow-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.lopsp-flow-step{position:relative;display:flex;flex-direction:column;gap:10px;min-height:132px;padding:14px;border-radius:20px;text-decoration:none;color:#0f172a;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 24px rgba(15,23,42,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.lopsp-flow-step:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(37,99,235,.12);border-color:#bfdbfe}.lopsp-flow-index{width:30px;height:30px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;background:#eff6ff;color:#2563eb}.lopsp-flow-text{display:flex;flex-direction:column;gap:4px}.lopsp-flow-text b{font-size:14px;line-height:1.25}.lopsp-flow-text small{font-size:12px;line-height:1.45;color:#64748b}.lopsp-flow-status{margin-top:auto;align-self:flex-start;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;background:#f1f5f9;color:#475569}.lopsp-flow-step.is-priority{background:linear-gradient(135deg,#fff7ed,#ffffff);border-color:#fed7aa}.lopsp-flow-step.is-priority .lopsp-flow-index,.lopsp-flow-step.is-priority .lopsp-flow-status{background:#ffedd5;color:#c2410c}.lopsp-flow-step.is-active{background:linear-gradient(135deg,#eff6ff,#ffffff);border-color:#bfdbfe}.lopsp-flow-step.is-active .lopsp-flow-index,.lopsp-flow-step.is-active .lopsp-flow-status{background:#dbeafe;color:#1d4ed8}.lopsp-flow-step.is-ready{background:linear-gradient(135deg,#ecfeff,#ffffff);border-color:#a5f3fc}.lopsp-flow-step.is-ready .lopsp-flow-index,.lopsp-flow-step.is-ready .lopsp-flow-status{background:#cffafe;color:#0e7490}.lopsp-flow-step.is-report{background:linear-gradient(135deg,#f5f3ff,#ffffff);border-color:#ddd6fe}.lopsp-flow-step.is-report .lopsp-flow-index,.lopsp-flow-step.is-report .lopsp-flow-status{background:#ede9fe;color:#6d28d9}.lopsp-flow-step.is-done{background:linear-gradient(135deg,#ecfdf5,#ffffff);border-color:#bbf7d0}.lopsp-flow-step.is-done .lopsp-flow-index,.lopsp-flow-step.is-done .lopsp-flow-status{background:#dcfce7;color:#15803d}.lopsp-flow-step.is-muted{opacity:.82}.lopsp-public-profile-control{margin-top:12px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid #dbeafe;border-radius:18px;padding:12px;background:linear-gradient(135deg,#f8fbff,#fff);box-shadow:0 10px 28px rgba(37,99,235,.07)}.lopsp-public-profile-control.is-on{border-color:#bbf7d0;background:linear-gradient(135deg,#ecfdf5,#ffffff)}.lopsp-public-profile-control.is-off{border-color:#e2e8f0}.lopsp-public-profile-copy{display:flex;flex-direction:column;gap:3px;min-width:220px;flex:1}.lopsp-public-profile-copy strong{font-size:14px;color:#0f172a}.lopsp-public-profile-copy span{font-size:13px;color:#64748b;line-height:1.45}.lopsp-public-profile-copy small{font-size:12px;color:#2563eb;word-break:break-all}.lopsp-public-toggle-form{margin:0}.lopsp-public-btn.success{background:linear-gradient(135deg,#10b981,#06b6d4);color:#fff;border:0}.lopsp-public-btn.danger{background:linear-gradient(135deg,#fff1f2,#fee2e2);color:#be123c;border:1px solid #fecdd3}.lopsp-task-wheel-panel{position:relative;overflow:hidden}.lopsp-task-wheel-panel:before{content:"";position:absolute;inset:-80px -80px auto auto;width:210px;height:210px;border-radius:999px;background:radial-gradient(circle,rgba(14,165,233,.18),rgba(14,165,233,0) 65%);pointer-events:none}.lopsp-task-wheel{position:relative;isolation:isolate}.lopsp-wheel-orb{position:relative;width:168px!important;height:168px!important;border:0;cursor:pointer;overflow:hidden;background:radial-gradient(circle at 30% 22%,#fff 0%,#e0f2fe 32%,#7dd3fc 52%,#6366f1 78%,#f97316 100%)!important;box-shadow:0 24px 60px rgba(37,99,235,.24),0 0 0 10px rgba(219,234,254,.65),inset 0 0 0 7px rgba(255,255,255,.55)!important}.lopsp-wheel-orb:focus-visible{outline:4px solid rgba(37,99,235,.25);outline-offset:6px}.lopsp-wheel-orb:hover{transform:translateY(-3px) scale(1.025)}.lopsp-wheel-orb.is-spinning{animation:lopspSpin .68s linear infinite, lopspPulse 1s ease-in-out infinite}.lopsp-wheel-orb.is-complete{background:radial-gradient(circle at 30% 22%,#fff 0%,#dcfce7 34%,#86efac 56%,#22c55e 82%,#facc15 100%)!important}.lopsp-wheel-emoji{font-size:50px!important;filter:drop-shadow(0 7px 12px rgba(15,23,42,.18))}.lopsp-wheel-text{font-size:14px!important;color:#0f172a!important;background:rgba(255,255,255,.82);padding:5px 9px;border-radius:999px;margin-top:10px!important}.lopsp-wheel-ring{position:absolute;inset:10px;border:2px dashed rgba(255,255,255,.78);border-radius:999px;animation:lopspRing 7s linear infinite;pointer-events:none}@keyframes lopspRing{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lopspPulse{0%,100%{box-shadow:0 24px 60px rgba(37,99,235,.24),0 0 0 10px rgba(219,234,254,.65),inset 0 0 0 7px rgba(255,255,255,.55)}50%{box-shadow:0 30px 74px rgba(249,115,22,.30),0 0 0 14px rgba(254,215,170,.55),inset 0 0 0 7px rgba(255,255,255,.62)}}.lopsp-task-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}.lopsp-task-card{position:relative}.lopsp-task-card.is-picked{border-color:#38bdf8!important;background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;box-shadow:0 18px 40px rgba(14,165,233,.18)!important}.lopsp-task-card.is-final-picked{border-color:#f97316!important;background:linear-gradient(135deg,#fff7ed,#ecfeff)!important;box-shadow:0 22px 50px rgba(249,115,22,.22)!important}.lopsp-task-card.is-final-picked:after{content:"Đã chọn";position:absolute;top:10px;right:10px;border-radius:999px;background:#fb923c;color:#fff;padding:5px 8px;font-size:11px;font-weight:900}.lopsp-wheel-actions{padding:12px 14px!important;background:linear-gradient(135deg,#ffffff,#f8fbff)!important;border:1px solid #dbeafe!important;box-shadow:0 12px 28px rgba(37,99,235,.08)}.lopsp-wheel-spin{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;box-shadow:0 14px 28px rgba(37,99,235,.26)!important;padding:13px 20px!important;font-size:15px!important}.lopsp-wheel-spin:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.lopsp-wheel-spin:disabled{opacity:.72;cursor:not-allowed;filter:grayscale(.12)}.lopsp-task-open-picked{flex:1;justify-content:flex-end}.lopsp-task-open-picked .lopsp-task-selected{font-size:14px;color:#0f172a}.lopsp-task-save[aria-disabled="true"]{opacity:.45;pointer-events:none}.lopsp-task-save.is-ready{background:linear-gradient(135deg,#f97316,#facc15)!important;color:#7c2d12!important;box-shadow:0 14px 28px rgba(249,115,22,.25);font-size:15px;padding:12px 18px}@media(max-width:1100px){.lopsp-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.lopsp-today-flow{padding:12px;border-radius:20px}.lopsp-flow-steps{grid-template-columns:1fr}.lopsp-flow-step{min-height:unset}.lopsp-public-profile-control{align-items:stretch}.lopsp-public-tools{width:100%;justify-content:stretch}.lopsp-public-tools .lopsp-public-btn,.lopsp-public-toggle-form{flex:1}.lopsp-public-toggle-form button{width:100%}.lopsp-wheel-orb{width:142px!important;height:142px!important}.lopsp-wheel-emoji{font-size:42px!important}.lopsp-wheel-actions{align-items:stretch}.lopsp-task-open-picked{justify-content:stretch}.lopsp-task-save.is-ready{width:100%;text-align:center}}


/* v2.8.61 - Keep wheel actions directly under the wheel orb on /lop */
.lopsp-wheel-actions-under-orb{
  margin:-2px auto 8px!important;
  width:min(100%,760px);
  justify-content:center!important;
}
.lopsp-wheel-actions-under-orb .lopsp-wheel-spin{
  min-width:min(100%,260px);
  text-align:center;
}
.lopsp-wheel-actions-under-orb .lopsp-task-open-picked{
  min-width:min(100%,320px);
}
.lopsp-task-wheel .lopsp-task-cards{
  margin-top:2px;
}
@media(max-width:640px){
  .lopsp-wheel-actions-under-orb{
    width:100%;
    margin:0 0 8px!important;
  }
  .lopsp-wheel-actions-under-orb .lopsp-wheel-spin,
  .lopsp-wheel-actions-under-orb .lopsp-task-open-picked{
    min-width:0;
  }
}

/* v2.8.63 - frontend cleanup and compact Blog/Event hero icons */
.lopsp-hub-hero-card{padding:20px!important;min-height:auto!important;display:flex!important;flex-direction:column;justify-content:center;gap:8px}.lopsp-hub-hero-card span{width:54px!important;height:54px!important;border-radius:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:30px!important;line-height:1!important;background:linear-gradient(135deg,#eff6ff,#fff7ed);box-shadow:inset 0 0 0 1px #dbeafe;margin-bottom:4px}.lopsp-hub-hero-card strong{font-size:20px!important;line-height:1.25!important;margin:0!important}.lopsp-hub-hero-card p{font-size:14px!important;line-height:1.55!important;margin:0!important}.lopsp-hub-card-image span{font-size:42px!important;width:78px!important;height:78px!important;border-radius:24px!important}.lopsp-empty-state p code,.lopsp-empty-state code{display:none!important}@media(max-width:760px){.lopsp-hub-hero-card{padding:16px!important}.lopsp-hub-hero-card span{width:48px!important;height:48px!important;font-size:26px!important}.lopsp-hub-hero-card strong{font-size:18px!important}}

/* v2.8.65: Student report, lesson history and compact analytics UI */
.lopsp-student-report-main{max-width:1180px;margin:0 auto;padding:26px 18px 48px}.lopsp-report-hero{background:linear-gradient(135deg,#eef7ff,#fff7ed);border:1px solid #dbeafe;border-radius:28px;padding:26px;margin-bottom:18px;box-shadow:0 18px 50px rgba(30,64,175,.08)}.lopsp-report-hero h1{font-size:clamp(26px,3vw,34px);line-height:1.15;margin:8px 0;color:#14215f}.lopsp-report-hero p{max-width:760px;margin:0;color:#5b6684}.lopsp-report-filter{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:12px;align-items:end;background:#fff;border:1px solid #dfe8f7;border-radius:22px;padding:16px;margin-bottom:18px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.lopsp-report-filter label{font-weight:800;color:#1f2a55;font-size:13px}.lopsp-report-filter select,.lopsp-report-filter input{width:100%;border:1px solid #d8e3f3;border-radius:14px;padding:12px 14px;background:#fff;color:#0f172a}.lopsp-report-filter button{border:0;border-radius:14px;padding:13px 18px;font-weight:900;background:linear-gradient(135deg,#4f7cff,#22c5d6);color:#fff;box-shadow:0 12px 28px rgba(79,124,255,.25)}.lopsp-report-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.lopsp-report-cards>div{background:#fff;border:1px solid #e1e9f7;border-radius:20px;padding:16px;box-shadow:0 12px 28px rgba(15,23,42,.05)}.lopsp-report-cards span{display:block;color:#66728f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.lopsp-report-cards strong{display:block;font-size:24px;line-height:1.2;margin:8px 0 2px;color:#14215f}.lopsp-report-cards em{font-style:normal;color:#72809d;font-size:13px}.lopsp-report-panel{background:#fff;border:1px solid #dfe8f7;border-radius:24px;padding:20px;margin-bottom:18px;box-shadow:0 14px 36px rgba(15,23,42,.06)}.lopsp-report-panel h2{font-size:22px;margin:0 0 4px;color:#14215f}.lopsp-report-panel p{margin:0;color:#64708f}.lopsp-report-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.lopsp-small-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;padding:8px 14px;background:#eef4ff;color:#2445c7;font-weight:900;text-decoration:none}.lopsp-report-chart{min-height:230px}.lopsp-report-chart-grid{height:230px;display:flex;align-items:end;gap:8px;padding:12px 4px 28px;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#fff)}.lopsp-report-bar{flex:1;min-width:18px;height:100%;display:flex;align-items:end;justify-content:center;gap:3px;position:relative}.lopsp-report-bar span{width:8px;border-radius:999px 999px 0 0;display:block;min-height:6px}.lopsp-report-bar .is-record{background:linear-gradient(180deg,#4f7cff,#2941cc)}.lopsp-report-bar .is-time{background:linear-gradient(180deg,#22c5d6,#0e99a8)}.lopsp-report-bar em{position:absolute;bottom:-25px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px;color:#6c7892;white-space:nowrap}.lopsp-report-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px;color:#5d6985;font-weight:800}.lopsp-report-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.lopsp-report-legend .is-record{background:#4f7cff}.lopsp-report-legend .is-time{background:#22c5d6}.lopsp-history-table-wrap{overflow:auto;border:1px solid #e5edf7;border-radius:18px}.lopsp-history-table{width:100%;border-collapse:collapse;background:#fff}.lopsp-history-table th,.lopsp-history-table td{padding:13px 14px;border-bottom:1px solid #edf2f8;text-align:left;vertical-align:top}.lopsp-history-table th{background:#f5f8ff;color:#233064;font-size:13px}.lopsp-history-table td strong{display:block;color:#111d4a}.lopsp-history-table td small{display:block;color:#6a7692;margin-top:3px}.lopsp-history-open{display:inline-flex;margin-top:8px;font-weight:900;color:#3154d4}.lopsp-report-pagination{display:flex;gap:8px;justify-content:center;margin-top:16px}.lopsp-report-pagination a{padding:8px 12px;border-radius:12px;background:#eef4ff;text-decoration:none;color:#2341ad;font-weight:900}.lopsp-report-pagination a.active{background:#3154d4;color:#fff}.lopsp-lesson-history-panel{margin-top:16px}.lopsp-lesson-history-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lopsp-lesson-history-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid #e0e8f6;border-radius:18px;background:#fff;padding:12px}.lopsp-history-date{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:#eef7ff;color:#1f4bd8;font-weight:900}.lopsp-lesson-history-item strong{display:block;color:#101b4d}.lopsp-lesson-history-item small{display:block;color:#66728e}.lopsp-lesson-history-item a{border-radius:999px;background:#ecfdf5;color:#047857;text-decoration:none;font-weight:900;padding:8px 12px}.lopsp-empty-state{grid-column:1/-1;border:1px dashed #cad8ef;border-radius:18px;background:#f8fbff;padding:18px;color:#65718d}.lopsp-empty-state strong{display:block;color:#17215a;margin-bottom:4px}
@media(max-width:900px){.lopsp-report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lopsp-report-filter{grid-template-columns:1fr}.lopsp-lesson-history-list{grid-template-columns:1fr}.lopsp-report-panel-head{align-items:flex-start;flex-direction:column}.lopsp-student-report-main{padding:18px 12px 36px}}@media(max-width:560px){.lopsp-report-cards{grid-template-columns:1fr}.lopsp-report-chart-grid{gap:4px}.lopsp-report-bar span{width:6px}.lopsp-history-table th,.lopsp-history-table td{padding:10px}.lopsp-lesson-history-item{grid-template-columns:1fr}.lopsp-history-date{width:auto;height:auto;padding:8px}}

/* v2.8.67 - logged-in user identity in public top menu */
.lopsp-site-actions .lopsp-user-lop-link{
  max-width:180px !important;
  gap:4px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  border:1px solid #dbeafe !important;
  background:linear-gradient(135deg,#eef6ff,#f8fbff) !important;
  color:#1e3a8a !important;
}
.lopsp-site-actions .lopsp-user-lop-prefix{
  flex:0 0 auto;
  font-weight:950;
  color:#2563eb;
}
.lopsp-site-actions .lopsp-user-lop-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lopsp-site-actions .lopsp-user-lop-link:hover{
  border-color:#93c5fd !important;
  background:linear-gradient(135deg,#dbeafe,#eef6ff) !important;
  color:#1d4ed8 !important;
}
.lopsp-site-actions .lopsp-logout-action{
  width:38px !important;
  min-width:38px !important;
  height:38px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  border:1px solid #fee2e2 !important;
  background:#fff7f7 !important;
  color:#dc2626 !important;
  font-size:18px !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:0 8px 18px rgba(220,38,38,.08) !important;
}
.lopsp-site-actions .lopsp-logout-action:hover{
  background:#fee2e2 !important;
  color:#b91c1c !important;
  transform:translateY(-1px);
}
@media(max-width:880px){
  .lopsp-site-actions .lopsp-user-lop-link{max-width:none !important;flex:1 1 auto !important;justify-content:center !important;}
  .lopsp-site-actions .lopsp-logout-action{flex:0 0 40px !important;height:40px !important;}
}

/* v2.8.68 - move learner quick actions next to Home in public menu */
.lopsp-site-header nav .lopsp-nav-priority,
.lopsp-site-header nav .lopsp-nav-upgrade-action,
.lopsp-site-header nav .lopsp-nav-logout-action{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}
.lopsp-site-header nav .lopsp-user-lop-link,
.lopsp-site-header nav .lopsp-login-link{
  max-width:190px !important;
  gap:4px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  border:1px solid #bfdbfe !important;
  background:linear-gradient(135deg,#eff6ff,#f8fbff) !important;
  color:#1e3a8a !important;
  box-shadow:0 8px 18px rgba(37,99,235,.08) !important;
}
.lopsp-site-header nav .lopsp-user-lop-prefix{
  flex:0 0 auto !important;
  font-weight:950 !important;
  color:#2563eb !important;
}
.lopsp-site-header nav .lopsp-user-lop-name{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.lopsp-site-header nav .lopsp-user-lop-link:hover,
.lopsp-site-header nav .lopsp-login-link:hover{
  border-color:#93c5fd !important;
  background:linear-gradient(135deg,#dbeafe,#eef6ff) !important;
  color:#1d4ed8 !important;
}
.lopsp-site-header nav .lopsp-nav-logout-action{
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  padding:0 !important;
  border-radius:999px !important;
  border:1px solid #fecaca !important;
  background:#fff7f7 !important;
  color:#dc2626 !important;
  font-size:16px !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:0 8px 18px rgba(220,38,38,.08) !important;
}
.lopsp-site-header nav .lopsp-nav-logout-action:hover{
  background:#fee2e2 !important;
  color:#b91c1c !important;
  transform:translateY(-1px);
}
.lopsp-site-header nav .lopsp-nav-upgrade-action{
  border:0 !important;
  background:linear-gradient(135deg,#2563eb,#7c3aed) !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(37,99,235,.22) !important;
  font-weight:950 !important;
}
.lopsp-site-header nav .lopsp-nav-upgrade-action:hover,
.lopsp-site-header nav .lopsp-nav-upgrade-action.active{
  background:linear-gradient(135deg,#1d4ed8,#6d28d9) !important;
  color:#fff !important;
  transform:translateY(-1px);
}
@media (min-width: 881px){
  .lopsp-site-header{
    grid-template-columns:auto minmax(0,1fr) !important;
  }
  .lopsp-site-header nav{
    justify-self:end !important;
  }
}
@media (min-width: 881px) and (max-width: 1040px){
  .lopsp-site-header nav .lopsp-user-lop-link,
  .lopsp-site-header nav .lopsp-login-link{max-width:138px !important;}
  .lopsp-site-header nav .lopsp-nav-logout-action{width:31px !important;min-width:31px !important;height:31px !important;font-size:15px !important;}
  .lopsp-site-header nav .lopsp-nav-upgrade-action{padding-left:8px !important;padding-right:8px !important;}
}
@media(max-width:880px){
  .lopsp-site-header nav .lopsp-user-lop-link,
  .lopsp-site-header nav .lopsp-login-link{max-width:none !important;}
  .lopsp-site-header nav .lopsp-nav-logout-action{width:38px !important;min-width:38px !important;height:38px !important;}
}

/* v2.8.70 - Study library category header polish + expand all */
.lop-study-category-compact{padding:0;overflow:hidden;}
.lop-study-category-compact .lop-study-category-head{list-style:none;cursor:pointer;margin:0;padding:12px 14px;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.lop-study-category-compact .lop-study-category-head::-webkit-details-marker{display:none;}
.lop-study-category-compact .lop-study-category-head:after{content:"⌄";display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;border-radius:999px;background:#dbeafe;color:#1e3a8a;font-weight:950;font-size:18px;box-shadow:0 8px 18px rgba(37,99,235,.12);transition:.18s ease;}
.lop-study-category-compact[open] .lop-study-category-head:after{transform:rotate(180deg);background:#e0f2fe;}
.lop-study-category-title{display:flex!important;align-items:center!important;gap:10px;min-width:0;}
.lop-study-category-title em{width:36px;height:36px;border-radius:14px;background:linear-gradient(135deg,#dbeafe,#ecfeff);display:inline-flex;align-items:center;justify-content:center;font-style:normal;box-shadow:0 10px 22px rgba(37,99,235,.12);}
.lop-study-category-title>span{display:grid;gap:1px;min-width:0;}
.lop-study-category-compact .lop-study-category-head small{font-size:12px;color:#64748b;font-weight:800;line-height:1.25;}
.lop-study-category-actions{display:flex!important;align-items:center!important;gap:8px;margin-left:auto;}
.lop-study-category-actions a,.lop-study-category-expand{border:0;text-decoration:none;border-radius:999px;background:#eef2ff;color:#1e3a8a!important;font-weight:900;font-size:13px;padding:9px 12px;line-height:1;cursor:pointer;white-space:nowrap;}
.lop-study-category-expand{background:#2563eb;color:#fff!important;box-shadow:0 10px 22px rgba(37,99,235,.18);}
.lop-study-category-body{padding:0 14px 14px;display:grid;gap:10px;}
.lop-study-category-compact:not([open]){box-shadow:0 10px 26px rgba(15,23,42,.045);}
.lop-study-category-compact .lop-study-category-row{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:flex-start;gap:10px;margin-top:0;}
.lop-study-category-slider{display:flex;gap:8px;flex-wrap:wrap;max-height:92px;overflow:hidden;padding:3px 2px 4px;transition:max-height .22s ease;}
.lop-study-category-panel.is-expanded .lop-study-category-slider{max-height:none;overflow:visible;}
.lop-study-category-slider .lop-study-category-chip{flex:0 0 auto;}
.lop-study-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 6px;padding:10px 12px;border-radius:18px;background:linear-gradient(135deg,#f8fafc,#eff6ff);border:1px solid rgba(37,99,235,.10);}
.lop-study-list-toolbar strong{font-weight:950;color:#0f172a;}
.lop-study-list-toolbar span{font-size:13px;font-weight:800;color:#64748b;text-align:right;}
.lop-study-paged-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;}
.lop-study-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px;border-radius:20px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 12px 28px rgba(15,23,42,.045);}
.lop-study-page-info{font-size:13px;font-weight:850;color:#64748b;}
.lop-study-page-links{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;}
.lop-study-page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;border:1px solid rgba(37,99,235,.18);background:#eff6ff;color:#1e3a8a!important;text-decoration:none;font-weight:950;box-sizing:border-box;}
.lop-study-page-btn:hover{background:#dbeafe;border-color:#60a5fa;}
.lop-study-page-btn.is-current{background:#2563eb;color:#fff!important;border-color:#2563eb;box-shadow:0 10px 22px rgba(37,99,235,.22);}
.lop-study-page-btn.is-disabled{opacity:.45;cursor:not-allowed;background:#f1f5f9;color:#64748b!important;}
.lop-study-page-ellipsis{font-weight:950;color:#94a3b8;padding:0 3px;}
@media(max-width:1180px){.lop-study-paged-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:860px){.lop-study-paged-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.lop-study-pagination{align-items:stretch;flex-direction:column}.lop-study-page-links{justify-content:center}.lop-study-list-toolbar{align-items:flex-start;flex-direction:column}.lop-study-list-toolbar span{text-align:left}}
@media(max-width:640px){.lop-study-category-compact .lop-study-category-head{align-items:flex-start;flex-wrap:wrap}.lop-study-category-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.lop-study-category-compact .lop-study-category-row{grid-template-columns:1fr}.lop-study-category-slider{max-height:132px}.lop-study-category-slider .lop-study-category-chip{width:auto;max-width:100%;}.lop-study-paged-grid{grid-template-columns:1fr}.lop-study-page-btn{min-width:36px;height:36px;padding:0 10px}.lop-study-page-info{text-align:center}}


/* v2.8.72 - Study menu highlight + clean category selector UI */
.lopsp-site-header nav a.lopsp-nav-study-main.active,
.lopsp-site-header nav a.lopsp-nav-study-main:hover{
  background:linear-gradient(135deg,#e0f2fe,#eef2ff) !important;
  color:#1d4ed8 !important;
  border:1px solid rgba(37,99,235,.18) !important;
  box-shadow:0 10px 24px rgba(37,99,235,.14) !important;
}
.lopsp-site-header nav a.lopsp-nav-study-main.active:before{
  content:"📚";
  margin-right:5px;
  filter:saturate(1.08);
}
.lop-study-category-panel.lop-study-category-compact{
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(37,99,235,.13) !important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
  border-radius:22px !important;
  box-shadow:0 14px 34px rgba(15,23,42,.055) !important;
}
.lop-study-category-compact .lop-study-category-head{
  padding:12px 14px !important;
  background:linear-gradient(135deg,#f0f7ff,#ffffff) !important;
  border-bottom:1px solid rgba(37,99,235,.08) !important;
  border-radius:22px 22px 0 0 !important;
  color:#0f172a !important;
}
.lop-study-category-compact .lop-study-category-head:after{
  content:"⌄" !important;
  background:#ffffff !important;
  border:1px solid rgba(37,99,235,.18) !important;
  color:#2563eb !important;
}
.lop-study-category-title em{
  background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
  color:#fff !important;
  width:34px !important;
  height:34px !important;
  border-radius:12px !important;
  box-shadow:0 10px 22px rgba(37,99,235,.18) !important;
}
.lop-study-category-title strong{
  color:#0f172a !important;
  font-weight:950 !important;
  font-size:16px !important;
  letter-spacing:-.01em;
}
.lop-study-category-compact .lop-study-category-head small{
  color:#64748b !important;
  font-weight:750 !important;
}
.lop-study-category-actions a,
.lop-study-category-expand{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  min-height:34px !important;
  border:1px solid rgba(37,99,235,.14) !important;
  background:#fff !important;
  color:#1e40af !important;
  box-shadow:0 8px 18px rgba(37,99,235,.07) !important;
}
.lop-study-category-actions a:hover,
.lop-study-category-expand:hover{
  transform:translateY(-1px);
  border-color:rgba(37,99,235,.30) !important;
  box-shadow:0 12px 24px rgba(37,99,235,.12) !important;
}
.lop-study-category-reset.is-current{
  background:#eff6ff !important;
  color:#1d4ed8 !important;
}
.lop-study-category-expand{
  background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
  color:#fff !important;
  border-color:transparent !important;
  font-weight:950 !important;
}
.lop-study-category-body{
  padding:12px 14px 14px !important;
  gap:12px !important;
}
.lop-study-category-compact .lop-study-category-row{
  grid-template-columns:78px minmax(0,1fr) !important;
  gap:12px !important;
  align-items:flex-start !important;
}
.lop-study-category-row>span{
  margin:4px 0 0 !important;
  color:#1e3a8a !important;
  background:#eff6ff !important;
  border:1px solid rgba(37,99,235,.10) !important;
  border-radius:999px !important;
  padding:6px 9px !important;
  text-align:center !important;
  line-height:1 !important;
  font-size:11px !important;
}
.lop-study-category-slider{
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  max-height:90px !important;
  overflow:hidden !important;
  padding:1px 2px 5px !important;
}
.lop-study-category-panel.is-expanded .lop-study-category-slider{
  max-height:2000px !important;
  overflow:visible !important;
}
.lop-study-category-chip{
  background:#fff !important;
  color:#1f3b73 !important;
  border-color:rgba(37,99,235,.15) !important;
  box-shadow:0 8px 18px rgba(15,23,42,.04) !important;
  font-size:12.5px !important;
  padding:7px 10px !important;
  line-height:1.15 !important;
}
.lop-study-category-chip:hover{
  background:#eff6ff !important;
  border-color:#93c5fd !important;
  color:#1d4ed8 !important;
  transform:translateY(-1px);
}
.lop-study-category-chip.is-quiz{
  background:#f8fbff !important;
  color:#334155 !important;
  border-color:rgba(6,182,212,.18) !important;
}
.lop-study-category-chip.is-quiz:hover{
  background:#ecfeff !important;
  border-color:#67e8f9 !important;
  color:#0e7490 !important;
}
.lop-study-category-chip.is-active,
.lop-study-category-chip.is-active:hover{
  background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 12px 24px rgba(37,99,235,.20) !important;
}
@media(max-width:640px){
  .lop-study-category-compact .lop-study-category-head{padding:11px 12px !important;}
  .lop-study-category-actions{width:100%;gap:7px !important;}
  .lop-study-category-actions a,.lop-study-category-expand{flex:1 1 auto;min-width:126px;}
  .lop-study-category-compact .lop-study-category-row{grid-template-columns:1fr !important;gap:8px !important;}
  .lop-study-category-row>span{width:max-content;}
  .lop-study-category-slider{max-height:124px !important;}
  .lop-study-category-panel.is-expanded .lop-study-category-slider{max-height:2200px !important;}
}


/* v2.8.74 - Clear category collapse affordance + compact homepage landing spacing */
.lop-study-category-compact .lop-study-category-head:after{
  content:"Thu gọn ▴" !important;
  width:auto !important;
  min-width:86px !important;
  height:34px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#eff6ff,#ffffff) !important;
  border:1px solid rgba(37,99,235,.22) !important;
  color:#1d4ed8 !important;
  font-size:13px !important;
  font-weight:950 !important;
  line-height:1 !important;
  letter-spacing:-.01em !important;
  box-shadow:0 8px 18px rgba(37,99,235,.10) !important;
  transform:none !important;
}
.lop-study-category-compact:not([open]) .lop-study-category-head{
  border-radius:22px !important;
}
.lop-study-category-compact:not([open]) .lop-study-category-head:after{
  content:"Mở ▾" !important;
  min-width:62px !important;
  background:#ffffff !important;
  color:#2563eb !important;
}
.lop-study-category-compact[open] .lop-study-category-head:after{
  transform:none !important;
  background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
  border-color:transparent !important;
  color:#ffffff !important;
}
.lop-study-category-compact .lop-study-category-head:hover:after{
  box-shadow:0 12px 24px rgba(37,99,235,.16) !important;
  transform:translateY(-1px) !important;
}
.lop-study-category-expand span[aria-hidden="true"]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:18px !important;
  height:18px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.22) !important;
  line-height:1 !important;
}
.lop-study-category-panel.is-expanded .lop-study-category-expand span[aria-hidden="true"]{
  background:rgba(15,23,42,.08) !important;
}
.lopsp-info-hero-landing{
  margin-top:16px !important;
  margin-bottom:8px !important;
  padding:clamp(18px,2.6vw,30px) !important;
}
.lopsp-info-hero-landing .lopsp-info-cta{
  margin-top:16px !important;
}
.lopsp-info-hero-landing .lopsp-info-hero-art{
  min-height:170px !important;
  padding:16px !important;
  border-radius:22px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section{
  margin-top:8px !important;
  padding:12px !important;
  border-radius:22px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-lop-definition:first-child{
  margin-top:0 !important;
  margin-bottom:12px !important;
  padding:clamp(16px,2.4vw,28px) !important;
  border-radius:22px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-lop-kicker{
  margin-bottom:8px !important;
  padding:7px 12px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-lop-definition h2{
  margin-bottom:8px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-lop-definition p{
  margin-bottom:10px !important;
  line-height:1.62 !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-lop-definition-grid{
  margin-top:14px !important;
  gap:10px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-lop-definition-grid article{
  padding:14px !important;
  border-radius:18px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-landing-pain{
  margin-top:10px !important;
  margin-bottom:14px !important;
  padding:16px !important;
  border-radius:20px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-info-grid{
  margin:14px 0 !important;
  gap:12px !important;
}
.lopsp-info-hero-landing + .lopsp-info-section .lopsp-info-card{
  padding:14px !important;
  border-radius:18px !important;
}
@media(max-width:640px){
  .lop-study-category-compact .lop-study-category-head:after{
    min-width:78px !important;
    height:32px !important;
    font-size:12px !important;
    padding:0 10px !important;
  }
  .lop-study-category-compact:not([open]) .lop-study-category-head:after{
    min-width:58px !important;
  }
  .lopsp-info-hero-landing{
    margin-top:12px !important;
    padding:16px !important;
  }
  .lopsp-info-hero-landing + .lopsp-info-section{
    margin-top:8px !important;
    padding:10px !important;
  }
}


/* v2.8.77 - Special highlight for Góc học tập frontend menu */
.lopsp-site-header nav a.lopsp-nav-study-main{
  position:relative !important;
  isolation:isolate !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  padding:9px 13px !important;
  border-radius:999px !important;
  border:1px solid rgba(14,165,233,.22) !important;
  background:linear-gradient(135deg,#ecfeff 0%,#eff6ff 52%,#fff7ed 100%) !important;
  color:#1e3a8a !important;
  font-weight:950 !important;
  box-shadow:0 10px 24px rgba(37,99,235,.12), inset 0 1px 0 rgba(255,255,255,.82) !important;
  white-space:nowrap !important;
  overflow:visible !important;
  transform:translateZ(0);
}
.lopsp-site-header nav a.lopsp-nav-study-main:before{
  content:"📚" !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:22px !important;
  height:22px !important;
  border-radius:999px !important;
  background:#ffffff !important;
  box-shadow:0 6px 14px rgba(37,99,235,.13) !important;
  margin-right:0 !important;
  font-size:14px !important;
  line-height:1 !important;
}
.lopsp-site-header nav a.lopsp-nav-study-main:after{
  content:"" !important;
  position:absolute !important;
  inset:-3px !important;
  z-index:-1 !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,rgba(6,182,212,.24),rgba(99,102,241,.18),rgba(251,146,60,.16)) !important;
  opacity:.55 !important;
  filter:blur(10px) !important;
  transition:opacity .18s ease, filter .18s ease !important;
}
.lopsp-site-header nav a.lopsp-nav-study-main:hover,
.lopsp-site-header nav a.lopsp-nav-study-main.active{
  background:linear-gradient(135deg,#2563eb 0%,#06b6d4 62%,#22c55e 100%) !important;
  color:#ffffff !important;
  border-color:transparent !important;
  box-shadow:0 14px 30px rgba(37,99,235,.24), inset 0 1px 0 rgba(255,255,255,.28) !important;
  transform:translateY(-1px) !important;
}
.lopsp-site-header nav a.lopsp-nav-study-main:hover:before,
.lopsp-site-header nav a.lopsp-nav-study-main.active:before{
  background:rgba(255,255,255,.94) !important;
  color:#1d4ed8 !important;
}
.lopsp-site-header nav a.lopsp-nav-study-main:hover:after,
.lopsp-site-header nav a.lopsp-nav-study-main.active:after{
  opacity:.95 !important;
  filter:blur(12px) !important;
}
.lopsp-site-header nav a.lopsp-nav-study-main.active{
  outline:2px solid rgba(255,255,255,.74) !important;
  outline-offset:-4px !important;
}
@media (prefers-reduced-motion:no-preference){
  .lopsp-site-header nav a.lopsp-nav-study-main.active:after{
    animation:lopStudyMenuGlow 2.8s ease-in-out infinite;
  }
  @keyframes lopStudyMenuGlow{
    0%,100%{opacity:.70;transform:scale(.98)}
    50%{opacity:1;transform:scale(1.03)}
  }
}
@media(max-width:760px){
  .lopsp-site-header nav a.lopsp-nav-study-main{
    padding:8px 11px !important;
  }
}

/* v2.8.80 student study split: Lessons and Quiz separated */
.lop-study-split-section{position:relative;overflow:hidden}
.lop-study-split-section:before{content:"";position:absolute;inset:0 auto auto 0;width:5px;height:100%;background:linear-gradient(180deg,#38bdf8,#22c55e);opacity:.9}
.lop-study-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.lop-study-section-head h2{margin:4px 0 4px;color:#0f1f57;font-size:22px;line-height:1.2}
.lop-study-section-head strong{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef8ff;color:#075985;border:1px solid #bae6fd;padding:8px 12px;font-weight:900;white-space:nowrap}
.lop-study-quizzes-section:before{background:linear-gradient(180deg,#8b5cf6,#06b6d4)}
.lop-study-quizzes-section .lop-study-section-head strong{background:#f5f3ff;color:#5b21b6;border-color:#ddd6fe}
.lop-study-quiz-grid .lop-study-task-card{border-color:#ddd6fe;background:linear-gradient(180deg,#fff,#fbf8ff)}
.lop-study-kind-quiz .lop-study-open-btn{background:linear-gradient(135deg,#7c3aed,#06b6d4);color:#fff;border-color:transparent;box-shadow:0 14px 30px rgba(124,58,237,.16)}
@media(max-width:760px){.lop-study-section-head{display:block}.lop-study-section-head strong{margin-top:8px}.lop-study-split-section:before{width:4px}}

/* v2.8.83 - student report shortcut lives inside /lop top menu */
.lopsp-topnav a.lopsp-topnav-report{background:linear-gradient(135deg,#eff6ff,#ecfeff);border-color:#93c5fd;color:#1d4ed8;font-weight:900;box-shadow:0 10px 24px rgba(37,99,235,.12);}
.lopsp-topnav a.lopsp-topnav-report:hover{background:linear-gradient(135deg,#dbeafe,#cffafe);border-color:#38bdf8;color:#0f3aa9;transform:translateY(-1px);}

/* v2.8.84 - Student report pages use the same top menu style as /lop */
.lopsp-student-report-shell{max-width:1180px;margin:24px auto;padding:0 14px;}
.lopsp-student-report-shell .lopsp-student-topnav{margin-bottom:16px;}
.lopsp-student-report-shell .lopsp-topnav a.active{background:linear-gradient(135deg,#dbeafe,#cffafe);border-color:#38bdf8;color:#0f3aa9;box-shadow:0 10px 24px rgba(37,99,235,.14);}
.lopsp-student-report-shell .lopsp-student-report-main{padding:0 0 48px;}
@media(max-width:760px){.lopsp-student-report-shell{margin:14px auto;padding:0 12px}.lopsp-student-report-shell .lopsp-topnav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.lopsp-student-report-shell .lopsp-topnav a{white-space:nowrap}.lopsp-student-report-shell .lopsp-topnav .lopsp-topnav-brand{width:auto;min-width:max-content}}

/* v2.8.93 - lesson unit media */
.lop-study-unit-image{display:block;width:100%;max-height:150px;object-fit:cover;border-radius:18px;margin-bottom:12px;background:#eef7ff;border:1px solid #dbeafe}


/* v2.8.111 - Lesson flashcard slider UI */
.lop-study-lesson-detail .lop-study-builder-lesson{display:grid;gap:18px;}
.lop-study-roadmap-card{border:1px solid rgba(59,130,246,.16);border-radius:24px;padding:18px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 18px 46px rgba(15,23,42,.06);}
.lop-study-roadmap-card h2{margin:4px 0 8px!important;color:#12205b;}
.lop-study-roadmap-card p{margin:0 0 10px;color:#475569;line-height:1.55;}
.lop-study-flash-section{position:relative;overflow:hidden;padding:16px!important;border-radius:26px!important;background:linear-gradient(135deg,#fff 0%,#f6f9ff 100%)!important;}
.lop-study-flash-head,.lop-study-unit-visual-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.lop-study-slider-controls{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;}
.lop-study-slider-btn{width:38px;height:38px;border:0;border-radius:999px;background:#3356d8;color:#fff;font-size:26px;font-weight:900;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 12px 24px rgba(51,86,216,.22);transition:.18s ease;}
.lop-study-slider-btn:hover{transform:translateY(-1px);filter:brightness(1.05);}
.lop-study-slider-btn:active{transform:translateY(0) scale(.98);}
.lop-study-lesson-detail .lop-study-vocab-grid,.lop-study-flash-track{display:flex!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 12px;margin:12px 0 4px;-webkit-overflow-scrolling:touch;}
.lop-study-lesson-detail .lop-study-vocab-grid::-webkit-scrollbar,.lop-study-flash-track::-webkit-scrollbar{height:8px;}
.lop-study-lesson-detail .lop-study-vocab-grid::-webkit-scrollbar-thumb,.lop-study-flash-track::-webkit-scrollbar-thumb{background:#c7d2fe;border-radius:999px;}
.lop-study-lesson-detail .lop-study-vocab-card,.lop-study-flashcard{position:relative;flex:0 0 clamp(238px,32vw,330px);scroll-snap-align:start;border-radius:24px!important;border:1px solid #dbe7ff!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 18px 42px rgba(15,23,42,.08)!important;padding:12px!important;display:flex!important;flex-direction:column;gap:10px;min-height:360px;}
.lop-study-flash-count{position:absolute;top:14px;right:14px;z-index:2;padding:5px 9px;border-radius:999px;background:rgba(15,23,42,.68);color:#fff;font-size:12px;font-weight:900;backdrop-filter:blur(8px);}
.lop-study-unit-thumb-wrap{margin:0!important;border-radius:20px!important;overflow:hidden;border:1px solid #e2e8f0;background:#eef4ff;}
.lop-study-unit-thumb,.lop-study-unit-image{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;border-radius:0!important;margin:0!important;background:#eef4ff;}
.lop-study-unit-thumb-empty{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e0f2fe,#eef2ff);color:#3356d8;font-size:42px;font-weight:1000;}
.lop-study-flash-copy{display:grid;gap:7px;padding:0 2px;}
.lop-study-lesson-detail .lop-study-vocab-card strong,.lop-study-flashcard strong{font-size:21px!important;line-height:1.18;color:#0f1c54;}
.lop-study-lesson-detail .lop-study-vocab-card span,.lop-study-flashcard span{font-size:14px;line-height:1.42;color:#475569;font-weight:800;}
.lop-study-lesson-detail .lop-study-vocab-card button,.lop-study-flashcard button{width:max-content;border:0;border-radius:999px;background:#4f6df5;color:#fff;padding:9px 13px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(79,109,245,.18);}
.lop-study-unit-audio{width:100%;height:36px;margin:2px 0;}
.lop-study-flash-detail{margin-top:auto;border-top:1px dashed #dbe7ff;padding-top:8px;}
.lop-study-flash-detail summary{cursor:pointer;color:#3356d8;font-weight:900;font-size:13px;}
.lop-study-flash-detail div{margin-top:8px;max-height:220px;overflow:auto;color:#334155;line-height:1.5;font-size:14px;padding-right:4px;}
.lop-study-builder-media-accordion{display:grid;gap:10px;margin-top:10px;}
.lop-study-unit-visual-strip.lop-study-flash-strip{overflow:hidden;}
.lop-study-unit-visual-strip .lop-study-unit-visual-grid{display:flex!important;grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:14px;padding:2px 2px 12px;}
.lop-study-unit-visual-strip .lop-study-unit-visual-card{flex:0 0 clamp(210px,28vw,270px);scroll-snap-align:start;border-radius:22px;}
.lop-study-unit-visual-strip .lop-study-unit-visual-card img{aspect-ratio:4/3;}
.lop-study-complete-card ol{margin-bottom:0;}
@media(max-width:720px){.lop-study-flash-head,.lop-study-unit-visual-head{align-items:flex-start}.lop-study-slider-controls{margin-left:auto}.lop-study-lesson-detail .lop-study-vocab-card,.lop-study-flashcard{flex-basis:82vw;min-height:340px}.lop-study-unit-visual-strip .lop-study-unit-visual-card{flex-basis:72vw}.lop-study-slider-btn{width:34px;height:34px;font-size:23px}}


/* v2.8.112 - Polished lesson flashcard UX: spacing, map, arrows, responsive overflow safety */
.lop-study-lesson-detail{max-width:min(1080px,calc(100vw - 28px));overflow-x:clip;box-sizing:border-box;}
.lop-study-lesson-detail *{box-sizing:border-box;}
.lop-study-lesson-hero{max-width:100%;overflow:hidden;gap:clamp(14px,3vw,24px);}
.lop-study-lesson-hero > div:first-child{min-width:0;}
.lop-study-lesson-hero .lopsp-kicker{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%;white-space:normal;line-height:1.45;margin:0 0 10px;}
.lop-study-lesson-hero h1{margin:6px 0 12px!important;overflow-wrap:anywhere;word-break:normal;text-wrap:balance;}
.lop-study-lesson-hero p{margin:10px 0 0!important;line-height:1.68!important;color:#475569;max-width:760px;}
.lop-study-task-meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;line-height:1.45;}
.lop-study-roadmap-card{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr);gap:14px;max-width:100%;overflow:hidden!important;padding:clamp(15px,2.2vw,22px)!important;border-radius:26px!important;}
.lop-study-roadmap-card:before{content:"";position:absolute;right:-70px;top:-80px;width:190px;height:190px;border-radius:999px;background:radial-gradient(circle,rgba(99,102,241,.18),rgba(99,102,241,0) 68%);pointer-events:none;}
.lop-study-roadmap-copy{min-width:0;position:relative;z-index:1;}
.lop-study-roadmap-card .lopsp-kicker{margin:0 0 10px;}
.lop-study-roadmap-card h2{margin:0 0 8px!important;line-height:1.25!important;letter-spacing:-.02em;text-wrap:balance;overflow-wrap:anywhere;}
.lop-study-roadmap-card p{margin:0!important;max-width:760px;line-height:1.68!important;overflow-wrap:anywhere;}
.lop-study-roadmap-stats,.lop-study-builder-tags{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;max-width:100%;margin:12px 0 0!important;}
.lop-study-roadmap-stats span,.lop-study-builder-tags span{display:inline-flex!important;align-items:center!important;min-width:0;max-width:100%;border:1px solid #dbe7ff;background:#f8fbff;color:#1e3a8a;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:900;line-height:1.25;box-shadow:0 8px 18px rgba(15,23,42,.04);}
.lop-study-builder-tags span + span{margin-left:0!important;}
.lop-study-mini-map{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;max-width:100%;}
.lop-study-mini-map span{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:9px;row-gap:2px;align-items:center;padding:10px 11px;border:1px solid #e1eaff;border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 10px 22px rgba(15,23,42,.04);}
.lop-study-mini-map b{grid-row:1/3;display:inline-flex;width:28px;height:28px;border-radius:999px;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:13px;}
.lop-study-mini-map em{min-width:0;font-style:normal;font-weight:900;color:#172554;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lop-study-mini-map small{min-width:0;color:#64748b;font-weight:800;line-height:1.25;}
.lop-study-flash-section{max-width:100%;overflow:hidden!important;padding:clamp(13px,2vw,18px)!important;border-radius:26px!important;}
.lop-study-flash-head,.lop-study-unit-visual-head{align-items:flex-start!important;gap:12px!important;margin-bottom:12px!important;max-width:100%;}
.lop-study-flash-head > div,.lop-study-unit-visual-head > div:first-child{min-width:0;max-width:100%;}
.lop-study-flash-head h2,.lop-study-unit-visual-head span{margin:0!important;font-size:clamp(19px,2.2vw,27px)!important;line-height:1.28!important;letter-spacing:-.02em;overflow-wrap:anywhere;text-wrap:balance;}
.lop-study-session-type{display:inline-flex;align-items:center;max-width:100%;margin:7px 0 0!important;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#3356d8;font-size:12px!important;font-weight:900;line-height:1.25;}
.lop-study-slider-controls{display:inline-flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto;padding:5px!important;border-radius:999px;background:rgba(255,255,255,.86);border:1px solid rgba(37,99,235,.16);box-shadow:0 16px 34px rgba(37,99,235,.13);backdrop-filter:blur(10px);}
.lop-study-slider-btn{width:42px!important;height:42px!important;border-radius:999px!important;border:1px solid rgba(37,99,235,.14)!important;background:linear-gradient(135deg,#2563eb,#635bff)!important;color:#fff!important;font-size:0!important;font-weight:950!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 12px 25px rgba(37,99,235,.22)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,opacity .18s ease!important;}
.lop-study-slider-btn span{font-size:26px!important;line-height:1!important;transform:translateY(-1px);}
.lop-study-slider-btn:hover,.lop-study-slider-btn:focus-visible{transform:translateY(-2px);box-shadow:0 18px 30px rgba(37,99,235,.28)!important;filter:brightness(1.04);outline:0;}
.lop-study-slider-btn.is-disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.15);box-shadow:none!important;transform:none!important;}
.lop-study-lesson-detail .lop-study-vocab-grid,.lop-study-flash-track,.lop-study-unit-visual-strip .lop-study-unit-visual-grid{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-padding-left:6px;padding:8px 5px 16px!important;margin:8px 0 2px!important;}
.lop-study-lesson-detail .lop-study-vocab-card,.lop-study-flashcard{flex:0 0 clamp(258px,30vw,342px)!important;max-width:min(342px,88vw);min-height:auto!important;padding:12px!important;border-radius:26px!important;gap:11px!important;}
.lop-study-unit-visual-strip .lop-study-unit-visual-card{flex-basis:clamp(220px,27vw,292px)!important;}
.lop-study-flash-copy{display:grid!important;gap:8px!important;padding:2px 2px 0!important;min-width:0;}
.lop-study-lesson-detail .lop-study-vocab-card strong,.lop-study-flashcard strong{display:block;line-height:1.22!important;margin:2px 0 0!important;overflow-wrap:anywhere;text-wrap:balance;}
.lop-study-lesson-detail .lop-study-vocab-card span,.lop-study-flashcard span{display:block;margin:0!important;line-height:1.48!important;font-weight:780!important;}
.lop-study-lesson-detail .lop-study-vocab-card button,.lop-study-flashcard button{margin-top:2px;min-height:38px;}
.lop-study-flash-detail{margin-top:10px!important;border-top:1px dashed #dbe7ff!important;padding-top:10px!important;}
.lop-study-flash-detail summary{display:inline-flex!important;align-items:center;gap:6px;width:max-content;max-width:100%;padding:8px 11px;border-radius:999px;background:#eef4ff;color:#1d4ed8!important;line-height:1.2!important;}
.lop-study-flash-detail div{margin-top:10px!important;max-height:260px!important;overflow:auto;padding:11px 12px!important;border-radius:16px;background:#fff;border:1px solid #eef2ff;}
.lop-study-complete-card ol{display:grid;gap:8px;margin:8px 0 0!important;padding-left:20px!important;}
@media(min-width:1100px){.lop-study-lesson-detail .lop-study-vocab-card,.lop-study-flashcard{flex-basis:320px!important;}.lop-study-roadmap-card{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);align-items:start;}}
@media(max-width:760px){.lop-study-lesson-detail{max-width:calc(100vw - 20px);}.lop-study-lesson-hero{padding:18px!important;border-radius:24px!important;}.lop-study-flash-head,.lop-study-unit-visual-head{align-items:stretch!important;flex-direction:column!important;}.lop-study-slider-controls{align-self:flex-end;margin-top:0!important;}.lop-study-slider-btn{width:40px!important;height:40px!important;}.lop-study-lesson-detail .lop-study-vocab-card,.lop-study-flashcard{flex-basis:min(86vw,340px)!important;max-width:min(86vw,340px);}.lop-study-unit-visual-strip .lop-study-unit-visual-card{flex-basis:min(76vw,300px)!important;}.lop-study-mini-map{grid-template-columns:1fr;}.lop-study-roadmap-stats span,.lop-study-builder-tags span{font-size:12px;padding:6px 10px;}}


/* v2.8.114 - Lesson check UX + unified horizontal sliders */
.lop-study-lesson-detail .lop-study-builder-section,
.lop-study-lesson-detail .lop-study-unit-visual-strip,
.lop-study-lesson-detail .lop-study-roadmap-card,
.lop-study-lesson-detail .lop-study-complete-gate{max-width:100%;overflow:hidden;}
.lop-study-lesson-detail .lop-study-vocab-grid,
.lop-study-lesson-detail .lop-study-flash-track,
.lop-study-lesson-detail .lop-study-unit-visual-grid,
.lop-study-lesson-detail .lop-study-mini-map.lop-study-mini-map-slider{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;gap:14px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;padding:6px 4px 16px!important;margin:12px 0 4px!important;max-width:100%;}
.lop-study-lesson-detail .lop-study-vocab-grid::-webkit-scrollbar,
.lop-study-lesson-detail .lop-study-flash-track::-webkit-scrollbar,
.lop-study-lesson-detail .lop-study-unit-visual-grid::-webkit-scrollbar,
.lop-study-lesson-detail .lop-study-mini-map.lop-study-mini-map-slider::-webkit-scrollbar{height:8px;}
.lop-study-lesson-detail .lop-study-vocab-grid::-webkit-scrollbar-track,
.lop-study-lesson-detail .lop-study-flash-track::-webkit-scrollbar-track,
.lop-study-lesson-detail .lop-study-unit-visual-grid::-webkit-scrollbar-track,
.lop-study-lesson-detail .lop-study-mini-map.lop-study-mini-map-slider::-webkit-scrollbar-track{background:rgba(219,234,254,.55);border-radius:999px;}
.lop-study-lesson-detail .lop-study-vocab-grid::-webkit-scrollbar-thumb,
.lop-study-lesson-detail .lop-study-flash-track::-webkit-scrollbar-thumb,
.lop-study-lesson-detail .lop-study-unit-visual-grid::-webkit-scrollbar-thumb,
.lop-study-lesson-detail .lop-study-mini-map.lop-study-mini-map-slider::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#93c5fd,#a5b4fc);border-radius:999px;}
.lop-study-lesson-detail .lop-study-mini-map.lop-study-mini-map-slider span{flex:0 0 clamp(180px,24vw,245px);scroll-snap-align:start;}
.lop-study-lesson-detail .lop-study-vocab-card,
.lop-study-lesson-detail .lop-study-flashcard{scroll-snap-align:start!important;scroll-snap-stop:always!important;}
.lop-study-slider-shell{position:relative;}
.lop-study-slider-shell:before,.lop-study-slider-shell:after{content:"";position:absolute;top:0;bottom:12px;width:28px;z-index:3;pointer-events:none;opacity:.9;}
.lop-study-slider-shell:before{left:0;background:linear-gradient(90deg,rgba(248,251,255,.94),rgba(248,251,255,0));}
.lop-study-slider-shell:after{right:0;background:linear-gradient(270deg,rgba(248,251,255,.94),rgba(248,251,255,0));}
.lop-study-slider-controls{gap:8px!important;padding:6px!important;background:rgba(255,255,255,.94)!important;border:1px solid rgba(37,99,235,.18)!important;box-shadow:0 16px 36px rgba(37,99,235,.14)!important;}
.lop-study-slider-btn{width:44px!important;height:44px!important;background:linear-gradient(135deg,#1d4ed8,#7c3aed)!important;border:1px solid rgba(255,255,255,.58)!important;box-shadow:0 16px 30px rgba(37,99,235,.24)!important;}
.lop-study-slider-btn span{font-size:28px!important;font-weight:950!important;line-height:1!important;}
.lop-study-slider-btn:not(.is-disabled):hover{transform:translateY(-2px) scale(1.03)!important;box-shadow:0 20px 36px rgba(37,99,235,.30)!important;}
.lop-study-slider-btn.is-disabled{opacity:.38!important;background:linear-gradient(135deg,#cbd5e1,#94a3b8)!important;color:#fff!important;cursor:not-allowed!important;box-shadow:none!important;}
.lop-study-unit-check{width:100%!important;margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:12px 14px!important;border-radius:20px!important;background:linear-gradient(135deg,#ffffff,#eef6ff)!important;border:1px solid #cfe0ff!important;box-shadow:0 12px 26px rgba(37,99,235,.09)!important;color:#172554!important;font-weight:950!important;font-size:15px!important;line-height:1.22!important;min-height:58px!important;cursor:pointer!important;}
.lop-study-unit-check:hover{background:linear-gradient(135deg,#eff6ff,#ffffff)!important;border-color:#8eb9ff!important;box-shadow:0 16px 32px rgba(37,99,235,.13)!important;transform:translateY(-1px);}
.lop-study-unit-check input{appearance:none!important;-webkit-appearance:none!important;width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:13px!important;border:2px solid #93b7ff!important;background:#fff!important;display:inline-grid!important;place-content:center!important;box-shadow:inset 0 0 0 4px #fff,0 8px 16px rgba(37,99,235,.10)!important;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;margin:0!important;}
.lop-study-unit-check input:before{content:'✓'!important;font-size:22px!important;font-weight:1000!important;color:#fff!important;line-height:1!important;transform:scale(0)!important;transition:transform .16s ease!important;}
.lop-study-unit-check input:checked{background:linear-gradient(135deg,#16a34a,#22c55e)!important;border-color:#16a34a!important;transform:scale(1.04)!important;box-shadow:inset 0 0 0 3px rgba(255,255,255,.35),0 10px 20px rgba(34,197,94,.18)!important;}
.lop-study-unit-check input:checked:before{transform:scale(1)!important;}
.lop-study-unit-check input:focus-visible{outline:4px solid rgba(59,130,246,.25)!important;outline-offset:3px!important;}
.lop-study-unit-check span{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;min-width:0!important;white-space:nowrap!important;color:inherit!important;font-size:15px!important;line-height:1.22!important;font-weight:950!important;letter-spacing:-.01em!important;}
.lop-study-skill-item.is-checked .lop-study-unit-check{background:linear-gradient(135deg,#ecfdf5,#f7fee7)!important;border-color:#86efac!important;color:#14532d!important;box-shadow:0 14px 28px rgba(34,197,94,.14)!important;}
.lop-study-skill-item.is-checked .lop-study-unit-check span:after{content:'Hoàn tất';display:inline-flex;margin-left:8px;padding:3px 8px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px;font-weight:950;line-height:1;}
.lop-study-complete-missing{overflow-x:auto;flex-wrap:nowrap!important;scroll-snap-type:x proximity;padding-bottom:13px;}
.lop-study-complete-missing span,.lop-study-complete-missing em{flex:0 0 auto;scroll-snap-align:start;}
@media(max-width:760px){
  .lop-study-slider-controls{align-self:flex-start!important;}
  .lop-study-slider-btn{width:42px!important;height:42px!important;}
  .lop-study-unit-check{min-height:56px!important;padding:11px 12px!important;gap:10px!important;font-size:14px!important;border-radius:18px!important;}
  .lop-study-unit-check input{width:32px!important;height:32px!important;flex-basis:32px!important;}
  .lop-study-unit-check span{font-size:14px!important;white-space:normal!important;}
  .lop-study-skill-item.is-checked .lop-study-unit-check span:after{display:none;}
  .lop-study-slider-shell:before,.lop-study-slider-shell:after{width:18px;}
  .lop-study-lesson-detail .lop-study-mini-map.lop-study-mini-map-slider span{flex-basis:min(78vw,270px);}
}

/* v2.8.115 - Lesson completion UI: missing tags + Quiz 100% gate */
.lop-study-complete-reqs{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 14px;}
.lop-study-complete-req{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:20px;background:rgba(255,255,255,.82);border:1px solid #dbeafe;box-shadow:0 12px 28px rgba(37,99,235,.08);min-width:0;}
.lop-study-req-icon{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:linear-gradient(135deg,#eef4ff,#fff);border:1px solid #dbeafe;font-size:20px;}
.lop-study-complete-req strong{display:block;color:#172554;font-size:14px;font-weight:950;line-height:1.2;margin:0 0 3px;}
.lop-study-complete-req em{display:block;color:#64748b;font-size:12.5px;font-style:normal;font-weight:800;line-height:1.35;overflow-wrap:anywhere;}
.lop-study-complete-req.is-done{background:linear-gradient(135deg,#ecfdf5,#ffffff);border-color:#86efac;box-shadow:0 14px 30px rgba(34,197,94,.12);}
.lop-study-complete-req.is-done .lop-study-req-icon{background:linear-gradient(135deg,#16a34a,#22c55e);border-color:#22c55e;color:#fff;}
.lop-study-complete-req.is-todo{background:linear-gradient(135deg,#fff7ed,#ffffff);border-color:#fed7aa;}
.lop-study-complete-req.is-todo .lop-study-req-icon{background:#fff7ed;border-color:#fdba74;color:#c2410c;}
.lop-study-complete-req.is-muted{opacity:.72;}
.lop-study-complete-missing{display:block!important;margin-top:14px!important;padding:14px!important;border-radius:22px!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;border:1px solid #fed7aa!important;color:#9a3412!important;box-shadow:0 12px 28px rgba(251,146,60,.10)!important;overflow:hidden!important;}
.lop-study-complete-missing[hidden]{display:none!important;}
.lop-study-missing-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;}
.lop-study-missing-head strong{display:inline-flex;align-items:center;gap:7px;margin:0!important;font-size:15px;font-weight:950;color:#9a3412;white-space:nowrap;}
.lop-study-missing-head strong:before{content:'⚠';display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:999px;background:#ffedd5;color:#c2410c;font-size:13px;}
.lop-study-missing-head small{display:block;color:#b45309;font-weight:780;font-size:12.5px;line-height:1.35;text-align:right;}
.lop-study-missing-list{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding:2px 1px 8px;}
.lop-study-missing-list::-webkit-scrollbar{height:7px}.lop-study-missing-list::-webkit-scrollbar-track{background:#ffedd5;border-radius:999px}.lop-study-missing-list::-webkit-scrollbar-thumb{background:#fb923c;border-radius:999px}
.lop-study-missing-chip{flex:0 0 auto;scroll-snap-align:start;display:inline-flex!important;align-items:center;gap:7px;max-width:min(310px,70vw);padding:8px 12px!important;border-radius:999px!important;background:#fff!important;border:1px solid #fed7aa!important;color:#7c2d12!important;font-weight:900!important;font-size:13px!important;line-height:1.2!important;white-space:nowrap;box-shadow:0 8px 18px rgba(251,146,60,.10);}
.lop-study-missing-chip i{font-style:normal;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:3px 7px;background:#ffedd5;color:#c2410c;font-size:11px;font-weight:950;}
.lop-study-missing-chip.is-quiz{border-color:#ddd6fe!important;color:#5b21b6!important;background:#f8f7ff!important;}
.lop-study-missing-chip.is-quiz i{background:#ede9fe;color:#6d28d9;}
.lop-study-missing-chip.is-speaking{border-color:#bae6fd!important;color:#075985!important;background:#f0f9ff!important;}
.lop-study-missing-chip.is-speaking i{background:#e0f2fe!important;color:#0369a1!important;}
.lop-study-missing-chip.is-more{background:#f8fafc!important;border-color:#cbd5e1!important;color:#334155!important;}
.lop-study-quiz-runner{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;border-radius:22px;}
.lop-study-quiz-runner.is-need-100{box-shadow:0 0 0 3px rgba(251,146,60,.10);}
.lop-study-quiz-runner.is-passed-100{box-shadow:0 0 0 3px rgba(34,197,94,.13);}
.lop-study-quiz-runner.is-attention{animation:lopStudyAttention115 .9s ease-in-out 0s 2;}
.lop-study-complete-primary.is-locked:after{content:' · còn thiếu điều kiện';font-size:12px;font-weight:900;opacity:.92;}
@keyframes lopStudyAttention115{0%,100%{transform:translateY(0)}35%{transform:translateY(-4px);box-shadow:0 18px 44px rgba(251,146,60,.18)}}
@media(max-width:760px){.lop-study-complete-reqs{grid-template-columns:1fr;gap:9px}.lop-study-complete-req{padding:11px 12px;border-radius:18px}.lop-study-req-icon{width:38px;height:38px;flex-basis:38px}.lop-study-missing-head{flex-direction:column;gap:5px}.lop-study-missing-head small{text-align:left}.lop-study-missing-chip{max-width:78vw;font-size:12.5px!important}}


/* v2.8.117 - Reliable polished lesson Flow Bubble navigation */
body.lop-support-body .lop-study-lesson-flow-bubbles,
.lop-study-lesson-flow-bubbles-v117,
.lop-study-lesson-flow-bubbles{
  position:fixed!important;
  left:max(14px,calc((100vw - 1180px)/2 - 92px))!important;
  top:150px!important;
  bottom:auto!important;
  z-index:9995!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
  width:86px!important;
  max-width:86px!important;
  padding:10px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.94))!important;
  border:1px solid rgba(191,219,254,.92)!important;
  box-shadow:0 22px 55px rgba(15,23,42,.16)!important;
  backdrop-filter:blur(14px)!important;
  list-style:none!important;
  overflow:visible!important;
  font-family:inherit!important;
  color:#172554!important;
  text-align:center!important;
}
body.lop-support-body .lop-study-lesson-flow-bubbles:before,
.lop-study-lesson-flow-bubbles-v117:before,
.lop-study-lesson-flow-bubbles:before{
  content:""!important;
  position:absolute!important;
  inset:14px auto 14px 50%!important;
  width:3px!important;
  transform:translateX(-50%)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#dbeafe,#93c5fd,#dbeafe)!important;
  z-index:-1!important;
}
body.lop-support-body .lop-study-lesson-flow-bubbles:after,
.lop-study-lesson-flow-bubbles-v117:after,
.lop-study-lesson-flow-bubbles:after{display:none!important;content:none!important;}
.lop-study-flow-rail-title{position:relative;z-index:2;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;min-height:52px!important;padding:8px 4px!important;border-radius:20px!important;background:linear-gradient(135deg,#172554,#2563eb)!important;color:#fff!important;box-shadow:0 14px 28px rgba(37,99,235,.24)!important;}
.lop-study-flow-rail-title span{display:block!important;font-size:13px!important;font-weight:950!important;line-height:1.05!important;letter-spacing:.02em!important;color:#fff!important;text-transform:uppercase!important;}
.lop-study-flow-rail-title small{display:block!important;margin-top:2px!important;font-size:10px!important;font-weight:850!important;line-height:1.05!important;color:#dbeafe!important;}
body.lop-support-body .lop-study-lesson-flow-bubbles a,
.lop-study-lesson-flow-bubbles-v117 a,
.lop-study-lesson-flow-bubbles a{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  min-height:72px!important;
  width:100%!important;
  padding:8px 5px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid #dbeafe!important;
  box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
  color:#172554!important;
  text-decoration:none!important;
  line-height:1.05!important;
  white-space:normal!important;
  text-align:center!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
}
body.lop-support-body .lop-study-lesson-flow-bubbles a i,
.lop-study-lesson-flow-bubbles-v117 a i,
.lop-study-lesson-flow-bubbles a i{
  font-style:normal!important;
  flex:0 0 auto!important;
  width:34px!important;
  height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  background:#eef4ff!important;
  color:#1d4ed8!important;
  font-size:15px!important;
  font-weight:950!important;
  box-shadow:none!important;
}
body.lop-support-body .lop-study-lesson-flow-bubbles a span,
.lop-study-lesson-flow-bubbles-v117 a span,
.lop-study-lesson-flow-bubbles a span{display:block!important;margin:0!important;font-size:12.5px!important;font-weight:950!important;line-height:1.08!important;color:#0f172a!important;}
body.lop-support-body .lop-study-lesson-flow-bubbles a small,
.lop-study-lesson-flow-bubbles-v117 a small,
.lop-study-lesson-flow-bubbles a small{display:block!important;margin:0!important;font-size:9.5px!important;font-weight:850!important;line-height:1.05!important;color:#64748b!important;}
body.lop-support-body .lop-study-lesson-flow-bubbles a:hover,
body.lop-support-body .lop-study-lesson-flow-bubbles a.is-active,
.lop-study-lesson-flow-bubbles-v117 a:hover,
.lop-study-lesson-flow-bubbles-v117 a.is-active,
.lop-study-lesson-flow-bubbles a:hover,
.lop-study-lesson-flow-bubbles a.is-active{background:linear-gradient(135deg,#eff6ff,#ffffff)!important;border-color:#93c5fd!important;box-shadow:0 15px 30px rgba(37,99,235,.17)!important;transform:translateY(-2px)!important;}
body.lop-support-body .lop-study-lesson-flow-bubbles a:hover i,
body.lop-support-body .lop-study-lesson-flow-bubbles a.is-active i,
.lop-study-lesson-flow-bubbles-v117 a:hover i,
.lop-study-lesson-flow-bubbles-v117 a.is-active i,
.lop-study-lesson-flow-bubbles a:hover i,
.lop-study-lesson-flow-bubbles a.is-active i{background:linear-gradient(135deg,#4f46e5,#2563eb)!important;color:#fff!important;box-shadow:0 10px 22px rgba(37,99,235,.25)!important;}
.lop-study-lesson-detail{position:relative!important;}
.lop-lesson-flow-section{scroll-margin-top:112px!important;}
@media(max-width:980px){
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  .lop-study-lesson-flow-bubbles-v117,
  .lop-study-lesson-flow-bubbles{left:10px!important;right:10px!important;top:auto!important;bottom:10px!important;flex-direction:row!important;align-items:center!important;width:auto!important;max-width:calc(100vw - 20px)!important;min-width:0!important;padding:8px!important;border-radius:24px!important;overflow-x:auto!important;overflow-y:hidden!important;}
  body.lop-support-body .lop-study-lesson-flow-bubbles:before,
  .lop-study-lesson-flow-bubbles-v117:before,
  .lop-study-lesson-flow-bubbles:before{display:none!important;content:none!important;}
  .lop-study-flow-rail-title{min-width:62px!important;min-height:58px!important;padding:7px 8px!important;}
  body.lop-support-body .lop-study-lesson-flow-bubbles a,
  .lop-study-lesson-flow-bubbles-v117 a,
  .lop-study-lesson-flow-bubbles a{min-width:76px!important;min-height:58px!important;padding:7px 8px!important;}
  body.lop-support-body .lop-study-lesson-flow-bubbles a i,
  .lop-study-lesson-flow-bubbles-v117 a i,
  .lop-study-lesson-flow-bubbles a i{width:28px!important;height:28px!important;border-radius:12px!important;font-size:13px!important;}
  body.lop-support-body .lop-study-lesson-flow-bubbles a small,
  .lop-study-lesson-flow-bubbles-v117 a small,
  .lop-study-lesson-flow-bubbles a small{display:none!important;}
  body.lop-support-body .lop-study-lesson-flow-bubbles a span,
  .lop-study-lesson-flow-bubbles-v117 a span,
  .lop-study-lesson-flow-bubbles a span{font-size:11.5px!important;}
  .lop-lesson-flow-section{scroll-margin-top:92px!important;}
  body.lop-support-body{padding-bottom:96px!important;}
}


/* v2.8.118 - Lesson Flow Bubble: accurate Học anchor to first learning block */
.lop-study-learning-flow-block{display:block!important;position:relative!important;scroll-margin-top:118px!important;}
.lop-study-learning-flow-block > .lop-study-video:first-child,
.lop-study-learning-flow-block > .lop-study-media-block:first-child,
.lop-study-learning-flow-block > .lop-study-unit-visual-strip:first-child,
.lop-study-learning-flow-block > .lop-study-content:first-child{margin-top:0!important;}
@media(max-width:1280px){.lop-study-learning-flow-block{scroll-margin-top:96px!important;}}


/* v2.8.119 - Lesson page visible 4-step flow and editable goal guidance */
.lop-study-lesson-goal-flow{margin:18px 0 22px!important;padding:18px!important;border-radius:30px!important;background:linear-gradient(135deg,#ffffff,#f8fbff 52%,#eff6ff)!important;border:1px solid rgba(191,219,254,.92)!important;box-shadow:0 22px 55px rgba(15,23,42,.08)!important;overflow:hidden!important;}
.lop-study-lesson-goal-card{display:grid!important;grid-template-columns:auto 1fr!important;gap:14px!important;align-items:start!important;margin-bottom:16px!important;padding:16px!important;border-radius:24px!important;background:linear-gradient(135deg,#ecfeff,#fff7ed)!important;border:1px solid rgba(165,243,252,.75)!important;}
.lop-study-lesson-goal-icon{width:54px!important;height:54px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;box-shadow:0 14px 30px rgba(37,99,235,.12)!important;font-size:26px!important;}
.lop-study-lesson-goal-card h2{margin:3px 0 7px!important;font-size:clamp(22px,2.1vw,31px)!important;line-height:1.15!important;color:#06153b!important;font-weight:950!important;letter-spacing:-.03em!important;}
.lop-study-lesson-goal-card p{margin:0!important;color:#334155!important;font-size:15.5px!important;line-height:1.75!important;max-width:980px!important;}
.lop-study-lesson-flow-steps-inline{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
.lop-study-lesson-flow-step-card{position:relative!important;display:flex!important;flex-direction:column!important;gap:7px!important;min-height:158px!important;padding:16px 14px 14px!important;border-radius:24px!important;text-decoration:none!important;background:#fff!important;border:1px solid #dbeafe!important;box-shadow:0 16px 34px rgba(15,23,42,.07)!important;color:#0f172a!important;overflow:hidden!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;}
.lop-study-lesson-flow-step-card:before{content:""!important;position:absolute!important;inset:auto -24px -46px auto!important;width:110px!important;height:110px!important;border-radius:50%!important;background:linear-gradient(135deg,#dbeafe,#ecfeff)!important;opacity:.72!important;}
.lop-study-lesson-flow-step-card i{position:relative!important;z-index:2!important;width:36px!important;height:36px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#4f46e5,#2563eb)!important;color:#fff!important;font-style:normal!important;font-size:15px!important;font-weight:950!important;box-shadow:0 12px 22px rgba(37,99,235,.22)!important;}
.lop-study-lesson-flow-step-card strong{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;gap:7px!important;font-size:18px!important;line-height:1.16!important;color:#06153b!important;font-weight:950!important;}
.lop-study-lesson-flow-step-card strong span{font-size:19px!important;}
.lop-study-lesson-flow-step-card em{position:relative!important;z-index:2!important;font-style:normal!important;display:inline-flex!important;width:max-content!important;max-width:100%!important;border-radius:999px!important;background:#eff6ff!important;color:#1d4ed8!important;font-size:12px!important;font-weight:900!important;padding:6px 9px!important;}
.lop-study-lesson-flow-step-card small{position:relative!important;z-index:2!important;display:block!important;color:#64748b!important;font-size:13px!important;line-height:1.45!important;font-weight:700!important;}
.lop-study-lesson-flow-step-card:hover,.lop-study-lesson-flow-step-card.is-active{transform:translateY(-2px)!important;border-color:#93c5fd!important;box-shadow:0 22px 42px rgba(37,99,235,.13)!important;}
.lop-study-lesson-flow-step-card.is-active em{background:#dbeafe!important;color:#172554!important;}
@media(max-width:980px){.lop-study-lesson-goal-flow{padding:14px!important;border-radius:24px!important}.lop-study-lesson-goal-card{grid-template-columns:1fr!important}.lop-study-lesson-flow-steps-inline{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-bottom:8px!important}.lop-study-lesson-flow-step-card{flex:0 0 min(78vw,280px)!important;scroll-snap-align:start!important;min-height:148px!important}.lop-study-lesson-goal-card p{font-size:14.5px!important}}


/* v2.8.120 - Lesson flow steps stay above editable goal guidance */
.lop-study-lesson-flow-order-v120{display:flex;flex-direction:column;gap:18px;}
.lop-study-lesson-flow-order-v120 .lop-study-lesson-flow-steps-inline{order:1;margin-bottom:0;}
.lop-study-lesson-flow-order-v120 .lop-study-lesson-goal-card{order:2;margin-top:0;}
.lop-study-lesson-goal-card-v120 h2{margin-top:2px;}
.lop-study-lesson-goal-card-v120 p{margin-top:8px;}
@media(max-width:760px){.lop-study-lesson-flow-order-v120{gap:14px}.lop-study-lesson-flow-order-v120 .lop-study-lesson-flow-steps-inline{padding-bottom:4px}}


/* v2.8.121 - Make public menu logout action explicit with Logout label */
.lopsp-site-header nav .lopsp-nav-logout-action{
  width:auto !important;
  min-width:86px !important;
  height:34px !important;
  padding:0 12px !important;
  gap:6px !important;
  font-size:14px !important;
  font-weight:950 !important;
  letter-spacing:.01em !important;
}
.lopsp-site-header nav .lopsp-nav-logout-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  font-size:16px !important;
  transform:translateY(-1px);
}
.lopsp-site-header nav .lopsp-nav-logout-text{
  display:inline-flex !important;
  align-items:center !important;
  line-height:1 !important;
}
@media (min-width: 881px) and (max-width: 1120px){
  .lopsp-site-header nav .lopsp-nav-logout-action{
    min-width:76px !important;
    padding-left:10px !important;
    padding-right:10px !important;
    font-size:13px !important;
  }
}
@media(max-width:880px){
  .lopsp-site-header nav .lopsp-nav-logout-action{
    width:auto !important;
    min-width:88px !important;
    height:38px !important;
    padding:0 12px !important;
    gap:6px !important;
    font-size:13px !important;
  }
}
@media(max-width:430px){
  .lopsp-site-header nav .lopsp-nav-logout-action{
    min-width:42px !important;
    width:42px !important;
    padding:0 !important;
  }
  .lopsp-site-header nav .lopsp-nav-logout-text{display:none !important;}
}


/* v2.8.122 - Lesson journal notes */
.lop-study-flow-note-btn{width:100%;border:1px solid #dbeafe;background:linear-gradient(135deg,#fff7ed,#eff6ff);border-radius:18px;padding:9px 8px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#172554;font-weight:900;box-shadow:0 10px 24px rgba(15,23,42,.08);cursor:pointer;transition:.18s ease;}
.lop-study-flow-note-btn:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(37,99,235,.16);border-color:#93c5fd}.lop-study-flow-note-btn i{font-style:normal;font-size:20px}.lop-study-flow-note-btn span{font-size:12px}.lop-study-flow-note-btn small{font-size:10.5px;color:#64748b;font-weight:800}
.lop-study-note-modal[hidden]{display:none!important}.lop-study-note-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}.lop-study-note-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(8px)}.lop-study-note-dialog{position:relative;width:min(780px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 28px));display:flex;flex-direction:column;background:#fff;border:1px solid #dbeafe;border-radius:28px;box-shadow:0 34px 90px rgba(15,23,42,.28);overflow:hidden}.lop-study-note-head{display:flex;justify-content:space-between;gap:16px;padding:20px 22px;background:linear-gradient(135deg,#eff6ff,#fff7ed)}.lop-study-note-head span{display:inline-flex;font-size:12px;font-weight:950;color:#4f46e5;text-transform:uppercase;letter-spacing:.04em}.lop-study-note-head h2{margin:3px 0 4px!important;color:#06153b!important;font-size:25px!important}.lop-study-note-head p{margin:0;color:#64748b;font-weight:800}.lop-study-note-head button{width:40px;height:40px;border-radius:16px;border:1px solid #dbeafe;background:#fff;color:#172554;font-size:24px;font-weight:900;cursor:pointer}.lop-study-note-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;border-bottom:1px solid #e5edff;background:#f8fbff}.lop-study-note-toolbar button{border:1px solid #dbeafe;background:#fff;border-radius:12px;padding:8px 11px;font-weight:900;color:#1e3a8a;cursor:pointer}.lop-study-note-editor{min-height:260px;max-height:390px;overflow:auto;padding:20px 22px;font-size:16px;line-height:1.65;color:#0f172a;outline:none}.lop-study-note-editor:empty:before{content:attr(data-placeholder);color:#94a3b8}.lop-study-note-editor p{margin:0 0 12px}.lop-study-note-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-top:1px solid #e5edff;background:#fff}.lop-study-note-foot span{color:#64748b;font-weight:800;font-size:13px}.lop-study-note-foot span.is-ok{color:#15803d}.lop-study-note-foot span.is-error{color:#be123c}.lop-study-note-foot span.is-loading{color:#1d4ed8}.lop-study-note-foot div{display:flex;gap:8px}.lop-study-note-save,.lop-study-note-secondary,.lop-study-note-edit-btn{border:0;border-radius:999px;padding:10px 16px;font-weight:950;cursor:pointer}.lop-study-note-save{background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.22)}.lop-study-note-secondary{background:#f1f5f9;color:#334155}.lop-study-note-edit-btn{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;margin-top:10px}.lop-study-note-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.lop-study-note-report-card{border:1px solid #dbeafe;background:linear-gradient(135deg,#ffffff,#f8fbff);border-radius:22px;padding:16px;box-shadow:0 14px 30px rgba(15,23,42,.06)}.lop-study-note-report-card span{display:inline-flex;font-size:12px;font-weight:900;color:#4f46e5;background:#eef2ff;border-radius:999px;padding:5px 9px}.lop-study-note-report-card h3{margin:9px 0 4px!important;color:#06153b!important}.lop-study-note-report-card small{color:#64748b;font-weight:800}.lop-study-note-report-body{margin-top:12px;padding:12px;border-radius:16px;background:#fff;border:1px solid #edf2ff;max-height:180px;overflow:auto;color:#334155}.lop-admin-lesson-note-card{border:1px solid #dbeafe;border-radius:18px;background:#fff;padding:14px;margin:0 0 12px}.lop-admin-lesson-note-card small{display:block;color:#64748b;margin-top:3px}.lop-admin-lesson-note-body{margin-top:10px;background:#f8fbff;border-radius:14px;padding:12px;color:#1f2937;max-height:220px;overflow:auto}
@media(max-width:760px){.lop-study-flow-note-btn{min-width:76px;min-height:58px;padding:7px 8px}.lop-study-flow-note-btn small{display:none}.lop-study-note-dialog{border-radius:22px}.lop-study-note-head{padding:16px}.lop-study-note-editor{min-height:240px}.lop-study-note-foot{align-items:stretch;flex-direction:column}.lop-study-note-foot div{justify-content:flex-end}}


/* v2.8.123 - Journal popup polish + flow rail note button visibility */
body.lop-support-body .lop-study-lesson-flow-bubbles,
.lop-study-lesson-flow-bubbles-v117,
.lop-study-lesson-flow-bubbles{
  top:72px!important;
  max-height:calc(100vh - 92px)!important;
  overflow-y:auto!important;
  overflow-x:visible!important;
  padding-bottom:12px!important;
  z-index:44!important;
}
.lop-study-flow-note-btn{
  min-height:70px!important;
  color:#0f172a!important;
  background:linear-gradient(135deg,#fff7ed,#eff6ff 62%,#ffffff)!important;
  border-color:#bfdbfe!important;
}
.lop-study-flow-note-btn span,
.lop-study-flow-note-btn small,
.lop-study-flow-note-btn i{color:inherit!important;position:relative;z-index:1;}
.lop-study-flow-note-btn:hover,
.lop-study-flow-note-btn:focus-visible{
  background:linear-gradient(135deg,#4f46e5,#2563eb)!important;
  color:#ffffff!important;
  border-color:#4f46e5!important;
  outline:none!important;
}
.lop-study-flow-note-btn:hover small,
.lop-study-flow-note-btn:focus-visible small{color:#dbeafe!important;}
.lop-study-note-head{align-items:flex-start!important;}
.lop-study-note-head button[data-lop-note-close]{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:18px!important;
  border:1px solid #bfdbfe!important;
  background:rgba(255,255,255,.94)!important;
  color:#0f172a!important;
  font-size:28px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:0 12px 26px rgba(15,23,42,.08)!important;
  transition:all .18s ease!important;
}
.lop-study-note-head button[data-lop-note-close]:hover,
.lop-study-note-head button[data-lop-note-close]:focus-visible{
  background:#fee2e2!important;
  border-color:#fecaca!important;
  color:#9f1239!important;
  transform:translateY(-1px)!important;
  outline:none!important;
}
.lop-study-note-foot div{align-items:center!important;}
.lop-study-note-save,
.lop-study-note-secondary{
  min-height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  padding:0 20px!important;
  font-size:15px!important;
  line-height:1!important;
}
.lop-study-note-save,
.lop-study-note-save:hover,
.lop-study-note-save:focus-visible{
  color:#ffffff!important;
  text-shadow:0 1px 0 rgba(15,23,42,.18)!important;
}
.lop-study-note-secondary,
.lop-study-note-secondary:hover,
.lop-study-note-secondary:focus-visible{
  color:#be123c!important;
  background:#ffffff!important;
  border:1px solid #f9a8d4!important;
  box-shadow:none!important;
}
@media(max-width:1280px){
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  .lop-study-lesson-flow-bubbles-v117,
  .lop-study-lesson-flow-bubbles{top:auto!important;max-height:none!important;overflow-y:hidden!important;overflow-x:auto!important;}
}
@media(max-width:760px){
  .lop-study-note-head button[data-lop-note-close]{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:16px!important;font-size:26px!important;}
  .lop-study-note-save,.lop-study-note-secondary{width:100%!important;}
}


/* v2.8.124 - Flow Bubble visibility fix + professional collapse toggle */
body .lop-study-lesson-flow-bubbles,
body.lop-support-body .lop-study-lesson-flow-bubbles,
.lop-study-lesson-flow-bubbles-v117{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.lop-study-flow-toggle{
  position:relative!important;
  z-index:5!important;
  width:100%!important;
  min-height:54px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  border:1px solid #bfdbfe!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#172554,#2563eb)!important;
  color:#ffffff!important;
  cursor:pointer!important;
  box-shadow:0 14px 30px rgba(37,99,235,.22)!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
  padding:7px 6px!important;
}
.lop-study-flow-toggle:hover,
.lop-study-flow-toggle:focus-visible{
  transform:translateY(-1px)!important;
  background:linear-gradient(135deg,#4f46e5,#0f172a)!important;
  box-shadow:0 18px 36px rgba(37,99,235,.30)!important;
  outline:none!important;
}
.lop-study-flow-toggle .lop-study-flow-toggle-icon{
  width:24px!important;
  height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  color:#ffffff!important;
  font-size:22px!important;
  font-weight:950!important;
  line-height:1!important;
}
.lop-study-flow-toggle strong{
  display:block!important;
  color:#ffffff!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1.05!important;
}
.lop-study-flow-toggle small{
  display:block!important;
  color:#dbeafe!important;
  font-size:9.5px!important;
  font-weight:850!important;
  line-height:1.05!important;
}
@media(min-width:981px){
  body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  .lop-study-lesson-flow-bubbles-v117{
    position:fixed!important;
    left:max(12px,calc((100vw - 1180px)/2 - 92px))!important;
    right:auto!important;
    top:86px!important;
    bottom:auto!important;
    width:86px!important;
    min-width:86px!important;
    max-width:86px!important;
    max-height:calc(100vh - 106px)!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    padding:9px!important;
    overflow-y:auto!important;
    overflow-x:visible!important;
    border-radius:28px!important;
    background:rgba(255,255,255,.96)!important;
    border:1px solid rgba(191,219,254,.96)!important;
    box-shadow:0 22px 52px rgba(15,23,42,.16)!important;
    backdrop-filter:blur(14px)!important;
    z-index:99990!important;
    transform:none!important;
  }
  body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    width:74px!important;
    min-width:74px!important;
    max-width:74px!important;
    padding:8px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-rail-title,
  .lop-study-lesson-flow-bubbles.is-collapsed a[data-lop-flow-link],
  .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-note-btn{
    display:none!important;
  }
  .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-toggle{
    min-height:62px!important;
    border-radius:22px!important;
  }
}
@media(max-width:980px){
  .lop-study-flow-toggle{
    min-width:70px!important;
    width:auto!important;
    min-height:58px!important;
    border-radius:18px!important;
    padding:7px 9px!important;
  }
  .lop-study-flow-toggle .lop-study-flow-toggle-icon{display:none!important;}
  .lop-study-flow-toggle small{display:none!important;}
  .lop-study-lesson-flow-bubbles.is-collapsed a[data-lop-flow-link],
  .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-note-btn,
  .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-rail-title{display:none!important;}
}


/* v2.8.125 - Hybrid Speaking Recorder */
.lop-study-flow-speaking-btn{width:100%;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#ecfeff);border-radius:18px;padding:9px 8px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#0f172a!important;font-weight:950;text-decoration:none!important;box-shadow:0 10px 24px rgba(15,23,42,.08);transition:.18s ease}
.lop-study-flow-speaking-btn i{font-style:normal;font-size:20px}.lop-study-flow-speaking-btn span{font-size:12px;color:#0f172a!important}.lop-study-flow-speaking-btn small{font-size:10.5px;color:#64748b!important;font-weight:850}
.lop-study-flow-speaking-btn:hover,.lop-study-flow-speaking-btn.is-active{background:linear-gradient(135deg,#0891b2,#2563eb)!important;color:#fff!important;border-color:#0891b2;transform:translateY(-2px);box-shadow:0 16px 30px rgba(8,145,178,.18)}
.lop-study-flow-speaking-btn:hover span,.lop-study-flow-speaking-btn:hover small,.lop-study-flow-speaking-btn:hover i,.lop-study-flow-speaking-btn.is-active span,.lop-study-flow-speaking-btn.is-active small,.lop-study-flow-speaking-btn.is-active i{color:#fff!important}
.lop-study-speaking-recorder{margin:22px 0!important;border:1px solid #c7d2fe!important;border-radius:28px!important;background:linear-gradient(135deg,#ffffff,#f0f9ff 55%,#fff7ed)!important;box-shadow:0 22px 50px rgba(15,23,42,.08)!important;padding:clamp(18px,3vw,26px)!important;overflow:hidden;position:relative}
.lop-study-speaking-recorder:before{content:"";position:absolute;right:-80px;bottom:-110px;width:260px;height:260px;border-radius:999px;background:rgba(59,130,246,.10);pointer-events:none}.lop-study-speaking-recorder.is-attention{animation:lop-speaking-pulse 1.2s ease 1}
@keyframes lop-speaking-pulse{0%,100%{box-shadow:0 22px 50px rgba(15,23,42,.08)}50%{box-shadow:0 0 0 6px rgba(249,115,22,.18),0 28px 70px rgba(249,115,22,.16)}}
.lop-study-speaking-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;position:relative;z-index:1;margin-bottom:18px}.lop-study-speaking-head h2{margin:4px 0 6px!important;color:#06153b!important;font-size:clamp(24px,3vw,34px)!important}.lop-study-speaking-head p{margin:0!important;color:#526176!important;font-weight:780!important;line-height:1.55}.lop-study-speaking-head em{font-style:normal;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;border-radius:999px;padding:8px 12px;font-weight:950;white-space:nowrap}
.lop-study-speaking-board{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;position:relative;z-index:1}.lop-study-speaking-recorder-card,.lop-study-speaking-checks{background:rgba(255,255,255,.88);border:1px solid #dbeafe;border-radius:22px;padding:16px;box-shadow:0 14px 30px rgba(15,23,42,.06)}
.lop-study-speaking-timer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-radius:18px;background:#f8fbff;border:1px solid #e5edff}.lop-study-speaking-timer strong{font-size:32px;color:#0f172a;letter-spacing:.02em}.lop-study-speaking-timer span{font-weight:900;color:#64748b}
.lop-study-speaking-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.lop-speaking-btn,.lop-speaking-save{border:0;border-radius:16px;padding:12px 16px;font-weight:950;cursor:pointer;transition:.18s ease}.lop-speaking-btn{background:#eef2ff;color:#1d4ed8;border:1px solid #c7d2fe}.lop-speaking-btn.is-record{background:linear-gradient(135deg,#ef4444,#f97316);color:#fff;border-color:#f97316}.lop-speaking-btn.secondary{background:#fff;color:#334155}.lop-speaking-btn:disabled{opacity:.55;cursor:not-allowed}.lop-speaking-save{width:100%;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.22)}
.lop-study-speaking-recorder audio{width:100%;margin:6px 0 8px}.lop-study-speaking-status{margin:8px 0 0;color:#64748b;font-weight:800}.lop-study-speaking-status.is-ok{color:#15803d}.lop-study-speaking-status.is-error{color:#be123c}.lop-study-speaking-status.is-warn{color:#b45309}.lop-study-speaking-status.is-recording{color:#dc2626}.lop-study-speaking-status.is-loading{color:#2563eb}
.lop-study-speaking-checks h3{margin:0 0 12px!important;color:#06153b!important}.lop-study-speaking-checks label{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-weight:900;color:#172554}.lop-study-speaking-checks input[type="checkbox"]{width:24px;height:24px;accent-color:#2563eb}.lop-study-speaking-checks textarea{width:100%;border:1px solid #dbeafe;border-radius:16px;padding:12px 13px;resize:vertical;margin:4px 0 12px;font-weight:700;color:#334155;background:#fff}.lop-study-speaking-last{margin:12px 0 0;color:#64748b;font-weight:800}.lop-study-speaking-last a{color:#1d4ed8;font-weight:950}
.lop-study-speaking-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.lop-study-speaking-report-card{border:1px solid #dbeafe;background:linear-gradient(135deg,#fff,#f8fbff);border-radius:22px;padding:16px;box-shadow:0 14px 30px rgba(15,23,42,.06)}.lop-study-speaking-report-card span{display:inline-flex;font-size:12px;font-weight:900;color:#0891b2;background:#ecfeff;border-radius:999px;padding:5px 9px}.lop-study-speaking-report-card h3{margin:9px 0 4px!important;color:#06153b!important}.lop-study-speaking-report-card small{color:#64748b;font-weight:800}.lop-study-speaking-mini-checks{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.lop-study-speaking-mini-checks em{font-style:normal;border-radius:999px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:6px 9px;font-weight:900;font-size:12px}.lop-study-speaking-mini-checks em.is-ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}.lop-study-speaking-report-card audio{width:100%;margin-top:8px}
@media(max-width:840px){.lop-study-speaking-board{grid-template-columns:1fr}.lop-study-speaking-head{flex-direction:column}.lop-study-speaking-head em{align-self:flex-start}.lop-study-speaking-timer strong{font-size:26px}.lop-study-flow-speaking-btn{min-width:76px;min-height:58px;padding:7px 8px}.lop-study-flow-speaking-btn small{display:none}}


/* v2.8.126 - Speaking recorder button contrast polish */
.lop-study-speaking-recorder .lop-speaking-btn,
.lop-study-speaking-recorder .lop-speaking-save{
  color:#ffffff!important;
  text-shadow:0 1px 1px rgba(15,23,42,.22);
  letter-spacing:.01em;
}
.lop-study-speaking-recorder .lop-speaking-btn:not(.is-record):not(.secondary){
  background:linear-gradient(135deg,#2563eb,#4f46e5)!important;
  border-color:#2563eb!important;
  color:#ffffff!important;
  box-shadow:0 10px 22px rgba(37,99,235,.18);
}
.lop-study-speaking-recorder .lop-speaking-btn.is-record{
  background:linear-gradient(135deg,#dc2626,#f97316)!important;
  border-color:#f97316!important;
  color:#ffffff!important;
  box-shadow:0 12px 24px rgba(249,115,22,.20);
}
.lop-study-speaking-recorder .lop-speaking-btn.secondary{
  background:#ffffff!important;
  color:#172554!important;
  text-shadow:none!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.lop-study-speaking-recorder .lop-speaking-save{
  background:linear-gradient(135deg,#1d4ed8,#4f46e5)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 14px 28px rgba(37,99,235,.26);
}
.lop-study-speaking-recorder .lop-speaking-btn:hover:not(:disabled),
.lop-study-speaking-recorder .lop-speaking-save:hover:not(:disabled){
  filter:saturate(1.06) brightness(1.02);
  transform:translateY(-1px);
}
.lop-study-speaking-recorder .lop-speaking-btn:disabled{
  background:#eef2ff!important;
  color:#64748b!important;
  text-shadow:none!important;
  border-color:#dbeafe!important;
  box-shadow:none!important;
}
.lop-study-speaking-recorder .lop-study-speaking-actions button,
.lop-study-speaking-recorder .lop-study-speaking-checks button{
  -webkit-text-fill-color:currentColor!important;
}

/* v2.8.129 - Lesson image lightbox / zoom */
.lop-study-image-lightbox-trigger{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:18px;overflow:hidden}
.lop-study-image-lightbox-trigger img{display:block;width:100%;height:auto}
.lop-study-lightbox[hidden]{display:none!important}
.lop-study-lightbox{position:fixed;inset:0;z-index:99999;display:flex;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:clamp(64px,8vh,92px) 16px 24px;overflow-y:auto;overscroll-behavior:contain}
.lop-study-lightbox-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.76);backdrop-filter:blur(4px)}
.lop-study-lightbox-dialog{position:relative;z-index:2;width:min(100%,1080px);max-height:calc(100vh - 104px);margin:0 auto;padding:18px;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.28);box-sizing:border-box}
.lop-study-lightbox-dialog figure{margin:0;display:flex;flex-direction:column;gap:12px}
.lop-study-lightbox-dialog img{display:block;max-width:100%;max-height:min(66vh,calc(100vh - 220px));margin:0 auto;border-radius:18px;background:#f8fafc;object-fit:contain}
.lop-study-lightbox-dialog figcaption{display:flex;flex-direction:column;gap:4px;color:#334155}
.lop-study-lightbox-dialog figcaption strong{font-size:20px;color:#0f172a}
.lop-study-lightbox-dialog figcaption span{font-size:14px;line-height:1.6}
.lop-study-lightbox-close{position:absolute;top:12px;right:12px;z-index:5;width:40px;height:40px;border-radius:999px;border:0;background:#eff6ff;color:#1d4ed8;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.16)}
body.lop-lightbox-open{overflow:hidden}
@media(max-width:760px){.lop-study-lightbox{padding:calc(72px + env(safe-area-inset-top,0px)) 10px 18px}.lop-study-lightbox-dialog{max-height:calc(100vh - 96px);padding:12px;border-radius:20px}.lop-study-lightbox-dialog img{max-height:calc(100vh - 210px);border-radius:14px}.lop-study-lightbox-close{top:10px;right:10px;width:42px;height:42px}}

/* v2.8.136 - Student lesson flashcards: compact 3x4 cards */
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard{flex:0 0 clamp(210px,24vw,270px)!important;max-width:min(270px,82vw)!important;aspect-ratio:3/4!important;min-height:0!important;height:auto!important;padding:10px!important;border-radius:22px!important;gap:7px!important;overflow:hidden!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-flash-count{font-size:11px;padding:5px 8px}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-unit-thumb-wrap{margin:0!important;border-radius:16px!important;aspect-ratio:4/3!important;max-height:128px!important;flex:0 0 auto!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-unit-thumb-wrap img,.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-unit-thumb{width:100%!important;height:100%!important;object-fit:cover!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-flash-copy{display:flex!important;flex-direction:column!important;gap:5px!important;min-height:0!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard strong{font-size:17px!important;line-height:1.18!important;margin:0!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard span{font-size:12.5px!important;line-height:1.34!important;font-weight:760!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard audio{width:100%!important;max-height:34px!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard button:not(.lop-study-image-lightbox-trigger){padding:7px 10px!important;min-height:32px!important;font-size:12px!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-flash-detail{max-height:58px!important;overflow:auto!important;font-size:12px!important;margin-top:0!important}
.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard .lop-study-unit-check{margin-top:auto!important;font-size:12px!important;line-height:1.25!important}
.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard{flex:0 0 clamp(180px,22vw,230px)!important;max-width:min(230px,78vw)!important;aspect-ratio:3/4!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard .lop-study-image-lightbox-trigger{flex:1 1 auto!important;min-height:0!important}
.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard img{height:100%!important;aspect-ratio:auto!important;object-fit:cover!important}
.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard figcaption{flex:0 0 auto!important;padding:8px 9px!important}
.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard figcaption strong{font-size:13px!important}.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard figcaption span{font-size:11.5px!important}
@media(max-width:760px){.lop-study-lesson-detail .lop-study-vocab-card.lop-study-flashcard{flex-basis:min(74vw,260px)!important;max-width:min(74vw,260px)!important}.lop-study-unit-visual-strip .lop-study-unit-visual-card.lop-study-flashcard{flex-basis:min(66vw,220px)!important}}

/* v2.8.147 - Frontend Study/Quiz split UI and dedicated quiz flow */
.lop-study-choice-panel{position:relative;overflow:hidden;border:1px solid rgba(37,99,235,.10);background:linear-gradient(135deg,#ffffff 0%,#f8fbff 52%,#f5f3ff 100%)}
.lop-study-choice-panel:before{content:"";position:absolute;inset:0 auto 0 0;width:7px;background:linear-gradient(180deg,#2563eb,#8b5cf6)}
.lop-study-choice-head{padding-left:8px;margin-bottom:18px}.lop-study-choice-head h2{margin:.2rem 0 .35rem;color:#0f172a;font-size:clamp(24px,4vw,38px)}
.lop-study-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lop-study-choice-card{position:relative;display:grid;gap:10px;align-content:start;min-height:210px;padding:24px;border-radius:28px;text-decoration:none!important;border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 44px rgba(15,23,42,.08);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.lop-study-choice-card:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(15,23,42,.13)}.lop-study-choice-card span{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:22px;font-size:34px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.08)}.lop-study-choice-card strong{font-size:28px;line-height:1.1;color:#0f172a}.lop-study-choice-card small{font-size:15px;line-height:1.55;color:#475569;max-width:460px}.lop-study-choice-card em{justify-self:start;margin-top:8px;border-radius:999px;padding:11px 16px;font-style:normal;font-weight:900}.lop-study-choice-card.is-lesson{background:linear-gradient(145deg,#eff6ff,#fff);border-color:#bfdbfe}.lop-study-choice-card.is-lesson em{background:#2563eb;color:#fff}.lop-study-choice-card.is-quiz{background:linear-gradient(145deg,#f5f3ff,#ecfeff);border-color:#ddd6fe}.lop-study-choice-card.is-quiz em{background:#7c3aed;color:#fff}.lop-study-choice-card:after{content:"";position:absolute;right:-38px;bottom:-44px;width:160px;height:160px;border-radius:999px;background:rgba(255,255,255,.55)}
.lop-study-quiz-hub-hero{background:radial-gradient(circle at top right,rgba(139,92,246,.20),transparent 38%),linear-gradient(135deg,#fff,#f5f3ff 58%,#ecfeff)}.lop-study-quiz-hub-hero .lop-support-hero-icon,.lop-study-quiz-hero .lop-study-lesson-badge{background:linear-gradient(135deg,#7c3aed,#06b6d4);color:#fff}.lop-study-quiz-flow,.lop-study-quiz-instructions{border-color:#ddd6fe;background:linear-gradient(180deg,#ffffff,#fbf8ff)}.lop-study-quiz-hub-list{border-top:7px solid #7c3aed}.lop-study-quiz-hub-list .lop-study-section-head strong{background:#f5f3ff;color:#5b21b6;border-color:#ddd6fe}.lop-study-quiz-hub-grid .lop-study-open-btn,.lop-study-kind-quiz .lop-study-open-btn{background:linear-gradient(135deg,#7c3aed,#4f46e5);box-shadow:0 14px 32px rgba(124,58,237,.22)}.lop-study-quiz-detail{background:linear-gradient(180deg,#fff,#faf5ff)}.lop-study-quiz-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:28px;border-radius:28px;background:radial-gradient(circle at top right,rgba(124,58,237,.18),transparent 42%),linear-gradient(135deg,#ffffff,#f5f3ff);border:1px solid #ddd6fe;box-shadow:0 20px 50px rgba(15,23,42,.08)}.lop-study-quiz-hero h1{font-size:clamp(30px,5vw,52px);line-height:1.03;margin:.25rem 0;color:#0f172a}.lop-study-quiz-hero p{font-size:17px;color:#475569;line-height:1.65;max-width:760px}.lop-study-quiz-detail .lop-study-quiz{border-color:#ddd6fe;box-shadow:0 20px 54px rgba(124,58,237,.09)}.lop-study-quiz-complete-gate{border-color:#c4b5fd;background:linear-gradient(180deg,#fff,#f5f3ff)}.lop-study-quiz-complete-gate [data-lop-req-units]{opacity:.55}.lop-study-quiz-complete-gate [data-lop-req-units] strong{font-size:0}.lop-study-quiz-complete-gate [data-lop-req-units] strong:after{content:"Quiz only";font-size:14px}.lop-study-quiz-complete-gate [data-lop-req-units-text]{font-size:0}.lop-study-quiz-complete-gate [data-lop-req-units-text]:after{content:"Không cần check Unit trong flow Quiz";font-size:12px}
@media(max-width:760px){.lop-study-choice-grid{grid-template-columns:1fr}.lop-study-choice-card{min-height:0}.lop-study-quiz-hero{grid-template-columns:1fr}.lop-study-quiz-hero .lop-study-lesson-badge{justify-self:start}}

/* v2.8.148 - Split study hub into dedicated Lesson and Quiz pages. */
.lop-study-hub-hero{background:radial-gradient(circle at top right,rgba(37,99,235,.18),transparent 42%),linear-gradient(135deg,#fff,#eff6ff 52%,#f5f3ff)}
.lop-study-main-choice-panel .lop-study-choice-card b{justify-self:start;margin-top:2px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(15,23,42,.08);font-size:13px;color:#334155}
.lop-study-lesson-hub-hero{background:radial-gradient(circle at top right,rgba(34,197,94,.18),transparent 42%),linear-gradient(135deg,#fff,#eff6ff 56%,#ecfdf5)}
.lop-study-lesson-hub-hero .lop-support-hero-icon{background:linear-gradient(135deg,#2563eb,#22c55e);color:#fff}
.lop-study-lesson-hub-flow,.lop-study-lesson-hub-list{border-color:#bfdbfe;background:linear-gradient(180deg,#fff,#f8fbff)}
.lop-study-lesson-hub-list{border-top:7px solid #2563eb}
.lop-study-hub-latest{position:relative;overflow:hidden}
.lop-study-hub-latest:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:linear-gradient(180deg,#2563eb,#22c55e)}
.lop-study-hub-quizzes:before{background:linear-gradient(180deg,#7c3aed,#06b6d4)}
.lop-study-latest-grid{margin-top:14px}
.lop-study-open-btn.is-outline{background:#fff;color:#1d4ed8;border:1px solid #bfdbfe;box-shadow:0 10px 26px rgba(37,99,235,.10)}
.lop-study-open-btn.is-outline.is-quiz{color:#6d28d9;border-color:#ddd6fe;box-shadow:0 10px 26px rgba(124,58,237,.10)}
.lop-study-quiz-flow-bubbles .lop-study-flow-rail-title span,.lop-study-quiz-flow-bubbles a span{color:#5b21b6}
.lop-study-quiz-flow-order .lop-study-lesson-flow-step-card{border-color:#ddd6fe;background:linear-gradient(180deg,#fff,#fbf8ff)}
.lop-study-quiz-goal-card{border-color:#ddd6fe;background:linear-gradient(135deg,#fff,#f5f3ff)}
@media(max-width:760px){.lop-study-hub-latest .lop-study-section-head{align-items:flex-start;flex-direction:column}.lop-study-main-choice-panel .lop-study-choice-card b{font-size:12px}}

/* v2.8.153 - Student LOP page: cleaner topbar, flow bubbles, parent companion, ordered zones */
.lopsp-private-standalone-body .lopsp-wrap{max-width:1240px!important}
.lopsp-student-topbar{position:sticky;top:10px;z-index:30;display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 18px!important;padding:10px!important;border:1px solid rgba(203,213,225,.72)!important;border-radius:26px!important;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(16px);box-shadow:0 16px 42px rgba(15,23,42,.08)!important}
.lopsp-student-topbar a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:42px!important;padding:10px 15px!important;border-radius:999px!important;font-size:14px!important;font-weight:950!important;letter-spacing:-.01em!important;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease!important}
.lopsp-student-topbar a:hover{transform:translateY(-1px)!important}
.lopsp-student-topbar .lopsp-topnav-home{background:linear-gradient(135deg,#ffffff,#f8fafc)!important;border:1px solid #e2e8f0!important;color:#0f172a!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important}
.lopsp-student-topbar .lopsp-topnav-my-lop{background:linear-gradient(135deg,#eef2ff,#fff)!important;border:1px solid #c7d2fe!important;color:#3730a3!important;box-shadow:0 10px 24px rgba(79,70,229,.10)!important}
.lopsp-student-topbar .lopsp-topnav-my-lop.active{background:linear-gradient(135deg,#4f46e5,#2563eb)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 14px 32px rgba(37,99,235,.22)!important}
.lopsp-student-topbar .lopsp-topnav-study-main{position:relative!important;isolation:isolate!important;background:linear-gradient(135deg,#ecfeff 0%,#eff6ff 50%,#fff7ed 100%)!important;border:1px solid rgba(14,165,233,.24)!important;color:#1e3a8a!important;box-shadow:0 12px 30px rgba(37,99,235,.14),inset 0 1px 0 rgba(255,255,255,.82)!important;overflow:visible!important}
.lopsp-student-topbar .lopsp-topnav-study-main:after{content:"";position:absolute;inset:-3px;z-index:-1;border-radius:999px;background:linear-gradient(135deg,rgba(6,182,212,.24),rgba(99,102,241,.18),rgba(251,146,60,.16));opacity:.65;filter:blur(11px)}
.lopsp-student-topbar .lopsp-topnav-study-main:hover{background:linear-gradient(135deg,#2563eb,#06b6d4 62%,#22c55e)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 16px 36px rgba(37,99,235,.26)!important}
.lopsp-student-topbar .lopsp-topnav-report{background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;border-color:#93c5fd!important;color:#1d4ed8!important}
.lopsp-student-topbar .lopsp-topnav-support{background:#fff!important;border:1px solid #e2e8f0!important;color:#475569!important}
.lopsp-today-flow{position:relative;overflow:hidden;border:1px solid rgba(37,99,235,.13);border-radius:30px;background:radial-gradient(circle at top right,rgba(34,197,94,.14),transparent 38%),linear-gradient(135deg,#fff,#f8fbff 55%,#f5f3ff);box-shadow:0 22px 54px rgba(15,23,42,.08);padding:22px!important;margin:16px 0!important}
.lopsp-today-flow:before{content:"";position:absolute;left:24px;right:24px;top:50%;height:3px;background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e,#f97316);opacity:.16;border-radius:999px;pointer-events:none}
.lopsp-today-flow .lopsp-flow-head{position:relative;z-index:1;margin-bottom:16px!important}.lopsp-today-flow .lopsp-flow-head h3{font-size:clamp(22px,3vw,32px);margin:4px 0;color:#0f172a}.lopsp-today-flow .lopsp-flow-head p{max-width:820px;color:#64748b;font-weight:760;line-height:1.55}
.lopsp-flow-steps{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
.lopsp-flow-step{position:relative;display:grid!important;grid-template-columns:auto 1fr!important;grid-template-areas:"idx text" "status status";gap:8px 10px!important;align-items:flex-start!important;min-height:142px!important;padding:16px!important;border-radius:24px!important;border:1px solid rgba(203,213,225,.72)!important;background:rgba(255,255,255,.86)!important;box-shadow:0 14px 34px rgba(15,23,42,.07)!important;text-decoration:none!important;color:#0f172a!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.lopsp-flow-step:hover{transform:translateY(-3px)!important;box-shadow:0 20px 44px rgba(15,23,42,.11)!important;border-color:#bfdbfe!important}
.lopsp-flow-index{grid-area:idx;width:38px!important;height:38px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;font-weight:1000!important;box-shadow:0 10px 24px rgba(37,99,235,.22)!important}.lopsp-flow-text{grid-area:text;display:block!important}.lopsp-flow-text b{display:block!important;font-size:15px!important;line-height:1.22!important;color:#0f172a!important}.lopsp-flow-text small{display:block!important;margin-top:5px!important;color:#64748b!important;line-height:1.38!important;font-weight:730!important}.lopsp-flow-status{grid-area:status;justify-self:start;margin-top:auto;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000;background:#eef4ff;color:#1d4ed8}.lopsp-flow-step.is-done .lopsp-flow-status{background:#dcfce7;color:#166534}.lopsp-flow-step.is-priority .lopsp-flow-status,.lopsp-flow-step.is-report .lopsp-flow-status{background:#fff7ed;color:#9a3412}.lopsp-flow-step.is-parent .lopsp-flow-status{background:#f5f3ff;color:#6d28d9}.lopsp-flow-step.is-parent .lopsp-flow-index{background:linear-gradient(135deg,#7c3aed,#f97316)!important}
.lopsp-focus-dashboard-single{margin:16px 0!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)!important;gap:16px!important}.lopsp-learning-meter-card{border-color:#bfdbfe!important;background:radial-gradient(circle at right top,rgba(34,197,94,.16),transparent 38%),linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 20px 50px rgba(37,99,235,.08)!important}.lopsp-learning-meter-card .lopsp-panel-head h3{font-size:24px!important}.lopsp-today-actions{margin-top:18px!important}.lopsp-today-actions .lopsp-primary-soft{font-size:17px!important;padding:14px 22px!important;border-radius:999px!important;background:linear-gradient(135deg,#2563eb,#4f46e5)!important;color:#fff!important;box-shadow:0 14px 34px rgba(37,99,235,.22)!important}
.lopsp-parent-companion-panel{margin:16px 0!important;overflow:hidden;border-color:#ddd6fe!important;background:radial-gradient(circle at top right,rgba(124,58,237,.14),transparent 38%),linear-gradient(135deg,#fff,#faf5ff)!important;box-shadow:0 18px 46px rgba(15,23,42,.07)!important}.lopsp-section-pill{display:inline-flex;border:1px solid #ddd6fe;border-radius:999px;padding:7px 11px;background:#fff;color:#6d28d9;font-weight:1000;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.lopsp-parent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.lopsp-parent-card{display:grid;grid-template-columns:auto 1fr;gap:8px 11px;align-items:start;padding:16px;border:1px solid rgba(203,213,225,.76);border-radius:22px;background:rgba(255,255,255,.82);text-decoration:none!important;box-shadow:0 12px 30px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease}.lopsp-parent-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,23,42,.10)}.lopsp-parent-card span{grid-row:1/3;width:42px;height:42px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.08);font-size:22px}.lopsp-parent-card strong{color:#0f172a;font-size:16px;line-height:1.25}.lopsp-parent-card small{color:#64748b;font-weight:740;line-height:1.42}.lopsp-parent-card.is-public{border-color:#bfdbfe}.lopsp-parent-card.is-remind{border-color:#fed7aa}.lopsp-parent-card.is-report{border-color:#ddd6fe}.lopsp-parent-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.lopsp-section-divider{margin:24px 0 12px;padding:16px 18px;border-radius:24px;border:1px solid rgba(203,213,225,.68);background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 12px 30px rgba(15,23,42,.05);display:flex;align-items:center;justify-content:space-between;gap:14px}.lopsp-section-divider span{font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:1000}.lopsp-section-divider strong{font-size:22px;color:#0f172a;line-height:1.15}.lopsp-section-divider-insights{background:linear-gradient(135deg,#fff,#ecfeff)}.lopsp-section-divider-history{background:linear-gradient(135deg,#fff,#eff6ff)}.lopsp-lop-insights-grid>.lopsp-col-left,.lopsp-lop-insights-grid>.lopsp-col-right{display:grid;gap:16px}.lopsp-lop-insights-grid .lopsp-panel{box-shadow:0 16px 42px rgba(15,23,42,.06)}
@media(max-width:980px){.lopsp-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lopsp-focus-dashboard-single{grid-template-columns:1fr!important}.lopsp-parent-grid{grid-template-columns:1fr}.lopsp-today-flow:before{display:none}}
@media(max-width:640px){.lopsp-student-topbar{position:static;overflow-x:auto;flex-wrap:nowrap!important;justify-content:flex-start!important}.lopsp-student-topbar a{white-space:nowrap;min-width:max-content}.lopsp-flow-steps{grid-template-columns:1fr!important}.lopsp-flow-step{min-height:0!important}.lopsp-section-divider{display:block}.lopsp-section-divider strong{display:block;margin-top:4px;font-size:19px}.lopsp-learning-meter-main{display:grid!important;gap:10px!important}.lopsp-today-actions .lopsp-primary-soft,.lopsp-today-actions .lopsp-secondary-soft{width:100%!important;justify-content:center!important}}

/* v2.8.154 - /lop student UX refresh: identity row, Streak Calendar highlight, left Flow Bubble and game-show wheel */
.lopsp-profilebar-v154{
  display:flex!important;
  align-items:flex-start!important;
  gap:18px!important;
  flex-wrap:wrap!important;
  padding-bottom:18px!important;
}
.lopsp-profilebar-v154 .lopsp-avatar-wrap{
  margin-top:-62px!important;
  align-self:flex-start!important;
}
.lopsp-profilebar-v154 .lopsp-identity{
  flex:1 1 520px!important;
  min-width:min(100%,360px)!important;
  padding-top:6px!important;
}
.lopsp-profilebar-v154 .lopsp-identity h2{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:0!important;
  margin-bottom:5px!important;
}
.lopsp-profilebar-v154 .lopsp-sub{margin-bottom:8px!important;}
.lopsp-profilebar-v154 .lopsp-minirow{gap:8px!important;}
.lopsp-profilebar-v154 .lopsp-minirow span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:6px 9px;
  border-radius:999px;
  background:#f8fbff;
  border:1px solid rgba(37,99,235,.10);
}
.lopsp-profilebar-v154 .lopsp-public-profile-control{
  width:100%!important;
  box-sizing:border-box!important;
  margin-top:14px!important;
  flex:1 0 100%!important;
}
.lopsp-profilebar-v154 .lopsp-public-url.muted{
  width:100%!important;
  flex:1 0 100%!important;
}
.lopsp-profilebar-v154 .lopsp-public-profile-copy small{
  display:block!important;
  max-width:100%!important;
  padding:8px 10px;
  border-radius:12px;
  background:#eef6ff;
  word-break:break-all!important;
}

.lopsp-streak-calendar-spotlight{
  position:relative;
  overflow:hidden;
  border-color:rgba(34,197,94,.18)!important;
  background:radial-gradient(circle at 8% 18%,rgba(34,197,94,.12),transparent 32%),linear-gradient(135deg,#ffffff 0%,#f0fdf4 54%,#eff6ff 100%)!important;
  box-shadow:0 22px 62px rgba(16,185,129,.10),0 8px 24px rgba(37,99,235,.06)!important;
}
.lopsp-streak-calendar-spotlight:before{
  content:"";
  position:absolute;
  right:-54px;
  top:-70px;
  width:210px;
  height:210px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(250,204,21,.24),rgba(250,204,21,0) 67%);
  pointer-events:none;
}
.lopsp-streak-spotlight-head{position:relative;z-index:1;align-items:flex-start!important;}
.lopsp-streak-spotlight-head h3{font-size:clamp(22px,2.6vw,30px)!important;letter-spacing:-.03em;color:#06264e;margin:3px 0!important;}
.lopsp-streak-spotlight-body{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(210px,.38fr) minmax(0,1fr);
  gap:16px;
  align-items:stretch;
}
.lopsp-streak-summary-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding:18px;
  border-radius:24px;
  color:#064e3b;
  background:linear-gradient(135deg,#dcfce7,#ffffff);
  border:1px solid rgba(34,197,94,.22);
  box-shadow:0 18px 40px rgba(34,197,94,.12);
}
.lopsp-streak-summary-card span{font-weight:950;text-transform:uppercase;letter-spacing:.06em;font-size:12px;color:#047857;}
.lopsp-streak-summary-card strong{font-size:clamp(30px,5vw,54px);letter-spacing:-.05em;color:#052e16;line-height:.96;}
.lopsp-streak-summary-card small{color:#166534;font-weight:800;line-height:1.45;}
.lopsp-streak-calendar-box{
  border-radius:24px;
  padding:12px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(148,163,184,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.lopsp-streak-calendar-top-table td{height:48px!important;border-radius:16px!important;background:#f8fafc!important;}
.lopsp-streak-calendar-top-table td.has-streak{background:#fff7ed!important;box-shadow:inset 0 0 0 2px #fb923c,0 8px 18px rgba(249,115,22,.10)!important;}
.lopsp-streak-calendar-top-table td.is-rescue{background:#eef2ff!important;box-shadow:inset 0 0 0 2px #818cf8!important;}
.lopsp-streak-calendar-top-table td.is-task-done{background:#ecfdf5!important;box-shadow:inset 0 0 0 2px #34d399!important;}
.lopsp-streak-calendar-legacy-panel{display:none!important;}

.lopsp-today-flow-v154{
  display:grid!important;
  grid-template-columns:260px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
  padding:16px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
  border:1px solid rgba(37,99,235,.12)!important;
  box-shadow:0 20px 54px rgba(37,99,235,.08)!important;
}
.lopsp-today-flow-v154 .lopsp-flow-head,
.lopsp-today-flow-v154 .lopsp-flow-steps{grid-column:2;}
.lopsp-lop-left-flow-bubbles{
  grid-row:1 / span 2;
  position:sticky;
  top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px;
  border-radius:24px;
  background:radial-gradient(circle at top left,rgba(99,102,241,.18),transparent 42%),linear-gradient(180deg,#172554,#0f172a);
  color:#fff;
  box-shadow:0 22px 48px rgba(15,23,42,.18);
}
.lopsp-flow-bubble-label{
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
  color:#dbeafe;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:950;
}
.lopsp-lop-left-flow-bubbles>strong{font-size:18px;line-height:1.15;letter-spacing:-.02em;}
.lopsp-flow-bubble-list{display:grid;gap:8px;margin-top:4px;}
.lopsp-flow-bubble{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-height:48px;
  color:#eff6ff;
  text-decoration:none;
  padding:8px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.lopsp-flow-bubble:hover{transform:translateX(2px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24);}
.lopsp-flow-bubble b{
  width:34px;height:34px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#60a5fa,#a78bfa);color:#fff;font-weight:1000;
}
.lopsp-flow-bubble span{font-size:13px;font-weight:900;line-height:1.25;}
.lopsp-flow-bubble.is-done b{background:linear-gradient(135deg,#22c55e,#14b8a6)}
.lopsp-flow-bubble.is-priority b{background:linear-gradient(135deg,#fb923c,#facc15)}
.lopsp-flow-bubble.is-report b{background:linear-gradient(135deg,#a855f7,#6366f1)}
.lopsp-flow-bubble.is-parent b{background:linear-gradient(135deg,#ec4899,#f97316)}

.lopsp-game-show-wheel{
  gap:18px!important;
}
.lopsp-wheel-show-stage{
  position:relative;
  display:grid;
  grid-template-columns:minmax(180px,.38fr) minmax(190px,.24fr) minmax(240px,.38fr);
  gap:16px;
  align-items:center;
  min-height:230px;
  padding:18px;
  border-radius:30px;
  overflow:hidden;
  background:radial-gradient(circle at 50% 45%,rgba(250,204,21,.22),transparent 28%),linear-gradient(135deg,#1e1b4b 0%,#312e81 42%,#0f766e 100%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 26px 70px rgba(49,46,129,.22);
}
.lopsp-wheel-show-stage:before,
.lopsp-wheel-show-stage:after{
  content:"";
  position:absolute;
  inset:auto;
  width:260px;
  height:260px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 66%);
  pointer-events:none;
}
.lopsp-wheel-show-stage:before{left:-90px;top:-100px;}
.lopsp-wheel-show-stage:after{right:-110px;bottom:-130px;}
.lopsp-wheel-host-card,
.lopsp-wheel-actions-under-orb,
.lopsp-wheel-orb{position:relative;z-index:1;}
.lopsp-wheel-host-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#fff;
  padding:16px;
  border-radius:24px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
}
.lopsp-wheel-show-kicker{
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:#facc15;
  color:#713f12;
  font-weight:1000;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.lopsp-wheel-host-card strong{font-size:clamp(20px,2.6vw,30px);line-height:1.06;letter-spacing:-.04em;}
.lopsp-wheel-host-card small{color:#dbeafe;line-height:1.45;font-weight:760;}
.lopsp-game-show-wheel .lopsp-wheel-orb{
  width:184px!important;
  height:184px!important;
  margin:0 auto!important;
  background:conic-gradient(from 12deg,#f97316,#facc15,#22c55e,#06b6d4,#6366f1,#ec4899,#f97316)!important;
  box-shadow:0 30px 80px rgba(250,204,21,.28),0 0 0 12px rgba(255,255,255,.22),inset 0 0 0 11px rgba(255,255,255,.72)!important;
}
.lopsp-game-show-wheel .lopsp-wheel-orb:before{
  content:"";
  position:absolute;
  inset:22px;
  border-radius:999px;
  background:radial-gradient(circle,#fff,#eff6ff 62%,#dbeafe);
  z-index:-1;
}
.lopsp-wheel-light{position:absolute;width:18px;height:18px;border-radius:999px;background:#fef08a;box-shadow:0 0 18px rgba(254,240,138,.95);}
.lopsp-wheel-light-a{top:10px;left:50%;transform:translateX(-50%);}
.lopsp-wheel-light-b{bottom:10px;right:25px;}
.lopsp-game-show-wheel .lopsp-wheel-actions-under-orb{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:12px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(255,255,255,.52)!important;
  border-radius:24px!important;
  padding:15px!important;
  box-shadow:0 20px 48px rgba(15,23,42,.18)!important;
}
.lopsp-game-show-wheel .lopsp-wheel-spin{
  min-height:50px!important;
  font-size:16px!important;
  background:linear-gradient(135deg,#f97316,#facc15)!important;
  color:#7c2d12!important;
  box-shadow:0 16px 34px rgba(249,115,22,.30)!important;
}
.lopsp-game-show-wheel .lopsp-task-open-picked{display:grid!important;gap:10px!important;justify-content:stretch!important;}
.lopsp-game-show-wheel .lopsp-task-selected{
  display:block;
  width:100%;
  padding:11px 12px;
  border-radius:16px;
  background:#f8fafc;
  border:1px dashed #c7d2fe;
  font-weight:900;
  color:#172554!important;
}
.lopsp-game-show-wheel .lopsp-task-save{
  width:100%;
  text-align:center;
  box-sizing:border-box;
  justify-content:center;
}
.lopsp-game-show-wheel .lopsp-task-cards{
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
}
.lopsp-game-show-wheel .lopsp-task-card{
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
}

@media(max-width:980px){
  .lopsp-streak-spotlight-body{grid-template-columns:1fr;}
  .lopsp-today-flow-v154{grid-template-columns:1fr!important;}
  .lopsp-lop-left-flow-bubbles{position:relative;top:auto;grid-row:auto;}
  .lopsp-today-flow-v154 .lopsp-flow-head,.lopsp-today-flow-v154 .lopsp-flow-steps{grid-column:1;}
  .lopsp-flow-bubble-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lopsp-wheel-show-stage{grid-template-columns:1fr;min-height:unset;}
}
@media(max-width:640px){
  .lopsp-profilebar-v154{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:start!important;}
  .lopsp-profilebar-v154 .lopsp-avatar-wrap{margin-top:-46px!important;grid-column:1;}
  .lopsp-profilebar-v154 .lopsp-avatar{width:84px!important;height:84px!important;}
  .lopsp-profilebar-v154 .lopsp-identity{grid-column:2;min-width:0!important;}
  .lopsp-profilebar-v154 .lopsp-public-profile-control,.lopsp-profilebar-v154 .lopsp-public-url.muted{grid-column:1 / -1;}
  .lopsp-flow-bubble-list{grid-template-columns:1fr;}
  .lopsp-streak-calendar-spotlight{padding:12px!important;border-radius:22px!important;}
  .lopsp-streak-calendar-top-table{border-spacing:4px!important;}
  .lopsp-streak-calendar-top-table td{height:42px!important;border-radius:13px!important;}
  .lopsp-game-show-wheel .lopsp-wheel-orb{width:152px!important;height:152px!important;}
}

/* v2.8.155 - /lop fixed collapsible Flow Bubble rail, scoped to student LOP page only */
.lopsp-today-flow-v154{
  grid-template-columns:minmax(0,1fr)!important;
  padding:clamp(16px,2.4vw,24px)!important;
  position:relative!important;
}
.lopsp-today-flow-v154 .lopsp-flow-head,
.lopsp-today-flow-v154 .lopsp-flow-steps{grid-column:1!important;}
.lopsp-lop-left-flow-bubbles{
  position:fixed!important;
  left:max(12px,calc((100vw - 1180px)/2 - 104px))!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  z-index:99990!important;
  width:96px!important;
  min-width:96px!important;
  max-width:96px!important;
  max-height:calc(100vh - 120px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:9px!important;
  padding:9px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,251,255,.95))!important;
  border:1px solid rgba(191,219,254,.96)!important;
  box-shadow:0 24px 58px rgba(15,23,42,.18)!important;
  backdrop-filter:blur(14px)!important;
  overflow-y:auto!important;
  overflow-x:visible!important;
  color:#172554!important;
  text-align:center!important;
}
.lopsp-lop-left-flow-bubbles:before{
  content:""!important;
  position:absolute!important;
  inset:18px auto 18px 50%!important;
  width:3px!important;
  transform:translateX(-50%)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#dbeafe,#93c5fd,#dbeafe)!important;
  z-index:-1!important;
  pointer-events:none!important;
}
.lopsp-lop-flow-toggle{
  position:relative!important;
  z-index:4!important;
  width:100%!important;
  min-height:58px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  padding:7px 6px!important;
  border:1px solid #bfdbfe!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#172554,#2563eb)!important;
  color:#fff!important;
  cursor:pointer!important;
  box-shadow:0 14px 30px rgba(37,99,235,.24)!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
  font-family:inherit!important;
}
.lopsp-lop-flow-toggle:hover,
.lopsp-lop-flow-toggle:focus-visible{
  transform:translateY(-1px)!important;
  background:linear-gradient(135deg,#4f46e5,#0f172a)!important;
  box-shadow:0 18px 36px rgba(37,99,235,.30)!important;
  outline:none!important;
}
.lopsp-lop-flow-toggle-icon{
  width:24px!important;
  height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-size:22px!important;
  font-weight:950!important;
  line-height:1!important;
}
.lopsp-lop-flow-toggle strong{display:block!important;color:#fff!important;font-size:12px!important;font-weight:950!important;line-height:1.05!important;}
.lopsp-lop-flow-toggle small{display:block!important;color:#dbeafe!important;font-size:9.5px!important;font-weight:850!important;line-height:1.05!important;}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble-label,
.lopsp-lop-left-flow-bubbles>strong{
  position:relative!important;
  z-index:2!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble-label{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:5px 6px!important;
  border-radius:14px!important;
  background:#eef4ff!important;
  border:1px solid #dbeafe!important;
  color:#1d4ed8!important;
  font-size:9.5px!important;
  letter-spacing:.08em!important;
  font-weight:950!important;
}
.lopsp-lop-left-flow-bubbles>strong{
  display:block!important;
  margin:0!important;
  color:#0f172a!important;
  font-size:12.5px!important;
  line-height:1.12!important;
  letter-spacing:-.01em!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble-list{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  gap:8px!important;
  margin:0!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  min-height:72px!important;
  width:100%!important;
  padding:8px 5px!important;
  border-radius:22px!important;
  background:#ffffff!important;
  border:1px solid #dbeafe!important;
  box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
  color:#172554!important;
  text-decoration:none!important;
  line-height:1.05!important;
  white-space:normal!important;
  text-align:center!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble:hover,
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-active{
  background:linear-gradient(135deg,#eff6ff,#ffffff)!important;
  border-color:#93c5fd!important;
  box-shadow:0 15px 30px rgba(37,99,235,.17)!important;
  transform:translateY(-2px)!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble b{
  flex:0 0 auto!important;
  width:34px!important;
  height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  background:#eef4ff!important;
  color:#1d4ed8!important;
  font-size:15px!important;
  font-weight:950!important;
  box-shadow:none!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble:hover b,
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-active b{
  background:linear-gradient(135deg,#4f46e5,#2563eb)!important;
  color:#ffffff!important;
  box-shadow:0 10px 22px rgba(37,99,235,.25)!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble span{
  display:block!important;
  margin:0!important;
  color:#0f172a!important;
  font-size:11.8px!important;
  font-weight:950!important;
  line-height:1.08!important;
}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-done b{background:linear-gradient(135deg,#22c55e,#14b8a6)!important;color:#fff!important;}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-priority b{background:linear-gradient(135deg,#fb923c,#facc15)!important;color:#fff!important;}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-report b{background:linear-gradient(135deg,#a855f7,#6366f1)!important;color:#fff!important;}
.lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-parent b{background:linear-gradient(135deg,#ec4899,#f97316)!important;color:#fff!important;}
.lopsp-lop-left-flow-bubbles.is-collapsed{
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  padding:8px!important;
  max-height:none!important;
  overflow:visible!important;
}
.lopsp-lop-left-flow-bubbles.is-collapsed:before,
.lopsp-lop-left-flow-bubbles.is-collapsed .lopsp-flow-bubble-label,
.lopsp-lop-left-flow-bubbles.is-collapsed>strong,
.lopsp-lop-left-flow-bubbles.is-collapsed .lopsp-flow-bubble-list{display:none!important;}
.lopsp-lop-left-flow-bubbles.is-collapsed .lopsp-lop-flow-toggle{min-height:62px!important;border-radius:22px!important;}
@media(max-width:1280px){
  .lopsp-lop-left-flow-bubbles{
    left:10px!important;
    width:90px!important;
    min-width:90px!important;
    max-width:90px!important;
  }
}
@media(max-width:980px){
  .lopsp-lop-left-flow-bubbles{
    left:10px!important;
    right:10px!important;
    top:auto!important;
    bottom:10px!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 20px)!important;
    max-height:none!important;
    transform:none!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
    padding:8px!important;
    border-radius:24px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .lopsp-lop-left-flow-bubbles:before,
  .lopsp-lop-left-flow-bubbles .lopsp-flow-bubble-label,
  .lopsp-lop-left-flow-bubbles>strong{display:none!important;}
  .lopsp-lop-flow-toggle{min-width:72px!important;width:auto!important;min-height:58px!important;border-radius:18px!important;padding:7px 9px!important;}
  .lopsp-lop-flow-toggle .lopsp-lop-flow-toggle-icon{display:none!important;}
  .lopsp-lop-flow-toggle small{display:none!important;}
  .lopsp-lop-left-flow-bubbles .lopsp-flow-bubble-list{display:flex!important;gap:8px!important;}
  .lopsp-lop-left-flow-bubbles .lopsp-flow-bubble{min-width:78px!important;min-height:58px!important;padding:7px 8px!important;border-radius:18px!important;}
  .lopsp-lop-left-flow-bubbles .lopsp-flow-bubble b{width:28px!important;height:28px!important;border-radius:12px!important;font-size:13px!important;}
  .lopsp-lop-left-flow-bubbles .lopsp-flow-bubble span{font-size:11.5px!important;}
  .lopsp-lop-left-flow-bubbles.is-collapsed .lopsp-flow-bubble-list{display:none!important;}
}


/* v2.8.156 - Shared fixed top student menu for /lop, /lop-bao-cao and /lich-su-bai-hoc */
.lopsp-student-shell-with-fixed-topnav{
  padding-top:96px!important;
}
.lopsp-student-shared-topnav{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(calc(100vw - 18px),1220px)!important;
  max-width:1220px!important;
  z-index:9996!important;
  margin:0!important;
  padding:9px 10px!important;
  border-radius:0 0 26px 26px!important;
  border:1px solid rgba(191,219,254,.76)!important;
  border-top:0!important;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(248,251,255,.94))!important;
  box-shadow:0 18px 48px rgba(15,23,42,.12)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  scrollbar-width:thin;
}
.lopsp-student-shared-topnav::-webkit-scrollbar{height:6px}
.lopsp-student-shared-topnav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.lopsp-student-shared-topnav a{
  min-width:max-content!important;
  white-space:nowrap!important;
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  font-weight:950!important;
}
.lopsp-student-shared-topnav a.active{
  background:linear-gradient(135deg,#4f46e5,#2563eb)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 32px rgba(37,99,235,.24)!important;
}
.lopsp-student-shared-topnav .lopsp-topnav-study-main{
  font-size:15px!important;
  padding-left:16px!important;
  padding-right:16px!important;
}
.lopsp-student-shared-topnav .lopsp-topnav-study-main.active,
.lopsp-student-shared-topnav .lopsp-topnav-study-main:hover{
  background:linear-gradient(135deg,#2563eb 0%,#06b6d4 60%,#22c55e 100%)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 16px 38px rgba(37,99,235,.28)!important;
}
.lopsp-student-shared-topnav .lopsp-topnav-history{
  background:linear-gradient(135deg,#fff7ed,#ffffff)!important;
  border:1px solid #fed7aa!important;
  color:#9a3412!important;
}
.lopsp-student-shared-topnav .lopsp-topnav-history.active{
  background:linear-gradient(135deg,#f97316,#ea580c)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 32px rgba(234,88,12,.20)!important;
}
body.admin-bar .lopsp-student-shared-topnav{top:32px!important;}
body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:128px!important;}
@media(max-width:782px){
  body.admin-bar .lopsp-student-shared-topnav{top:46px!important;}
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:138px!important;}
}
@media(max-width:640px){
  .lopsp-student-shell-with-fixed-topnav{padding-top:92px!important;}
  .lopsp-student-shared-topnav{
    position:fixed!important;
    top:0!important;
    width:calc(100vw - 10px)!important;
    padding:8px 8px!important;
    border-radius:0 0 20px 20px!important;
    gap:7px!important;
  }
  .lopsp-student-shared-topnav a{font-size:13px!important;min-height:38px!important;padding:8px 11px!important;}
}

/* v2.8.157 - Student pages space optimization, compact top spacing, desktop/mobile polish. Scoped only to LOP student/profile/study pages. */
body.lopsp-private-standalone-body,
body.lopsp-report-body,
body.lop-support-body{
  background:linear-gradient(180deg,#f7fbff 0%,#ffffff 54%,#f8fafc 100%)!important;
}
body.lopsp-private-standalone-body .lopsp-wrap,
body.lopsp-report-body .lopsp-wrap{
  width:min(1240px,calc(100vw - 18px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding-left:clamp(8px,1.8vw,18px)!important;
  padding-right:clamp(8px,1.8vw,18px)!important;
  padding-bottom:28px!important;
}
.lopsp-student-shell-with-fixed-topnav{
  padding-top:66px!important;
}
.lopsp-student-shared-topnav{
  width:min(calc(100vw - 10px),1240px)!important;
  max-width:1240px!important;
  min-height:54px!important;
  padding:7px 9px!important;
  gap:7px!important;
  border-radius:0 0 22px 22px!important;
  box-shadow:0 12px 34px rgba(15,23,42,.11)!important;
}
.lopsp-student-shared-topnav a{
  min-height:36px!important;
  padding:8px 12px!important;
  font-size:13.5px!important;
  line-height:1.05!important;
}
.lopsp-student-shared-topnav .lopsp-topnav-study-main{
  font-size:14px!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:96px!important;}

/* /lop hero: keep banner close to fixed menu, remove dead vertical space. */
body.lopsp-private-standalone-body .lopsp-hero{
  margin-top:0!important;
  margin-bottom:12px!important;
  border-radius:22px!important;
  box-shadow:0 12px 34px rgba(15,23,42,.06)!important;
}
body.lopsp-private-standalone-body .lopsp-banner{
  height:128px!important;
  min-height:128px!important;
  border-radius:0!important;
  background-position:center!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar,
body.lopsp-private-standalone-body .lopsp-profilebar-v154{
  padding:12px 16px 14px!important;
  gap:12px!important;
  align-items:center!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar-wrap{
  margin-top:-42px!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar{
  width:92px!important;
  height:92px!important;
  border-width:4px!important;
}
body.lopsp-private-standalone-body .lopsp-identity h1{
  margin:0 0 4px!important;
  font-size:clamp(24px,3.2vw,38px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
body.lopsp-private-standalone-body .lopsp-identity p{
  margin:0!important;
  line-height:1.4!important;
}
body.lopsp-private-standalone-body .lopsp-public-profile-control,
body.lopsp-private-standalone-body .lopsp-public-url.muted{
  padding:10px 12px!important;
  border-radius:16px!important;
  margin-top:4px!important;
}
body.lopsp-private-standalone-body .lopsp-grid-cards{
  gap:10px!important;
  margin:10px 0 12px!important;
}
body.lopsp-private-standalone-body .lopsp-card{
  padding:13px 14px!important;
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
}
body.lopsp-private-standalone-body .lopsp-card span{
  font-size:12px!important;
  line-height:1.15!important;
}
body.lopsp-private-standalone-body .lopsp-card strong{
  font-size:clamp(22px,3vw,34px)!important;
  line-height:1.02!important;
}
body.lopsp-private-standalone-body .lopsp-panel,
body.lopsp-private-standalone-body .lopsp-info-section,
body.lopsp-private-standalone-body .lopsp-report-panel,
body.lopsp-private-standalone-body .lopsp-today-flow,
body.lopsp-private-standalone-body .lopsp-streak-calendar-spotlight{
  margin-top:12px!important;
  margin-bottom:12px!important;
  padding:clamp(14px,2vw,20px)!important;
  border-radius:22px!important;
}
body.lopsp-private-standalone-body .lopsp-streak-calendar-spotlight{
  margin-top:10px!important;
}
body.lopsp-private-standalone-body .lopsp-streak-calendar-spotlight .lopsp-section-divider,
body.lopsp-private-standalone-body .lopsp-section-divider{
  margin-bottom:10px!important;
}
body.lopsp-private-standalone-body .lopsp-learning-meter-card,
body.lopsp-private-standalone-body .lopsp-parent-companion,
body.lopsp-private-standalone-body .lopsp-game-show-wheel{
  margin-top:12px!important;
}
body.lopsp-private-standalone-body .lopsp-today-flow-v154{
  padding:16px!important;
}
body.lopsp-private-standalone-body .lopsp-today-flow .lopsp-flow-head,
body.lopsp-private-standalone-body .lopsp-today-flow .lopsp-flow-head p,
body.lopsp-private-standalone-body .lopsp-today-flow .lopsp-flow-head h3{
  margin-top:0!important;
}
body.lopsp-private-standalone-body .lopsp-flow-steps{
  gap:10px!important;
}
body.lopsp-private-standalone-body .lopsp-flow-step{
  padding:13px!important;
  border-radius:18px!important;
  min-height:0!important;
}
body.lopsp-private-standalone-body .lopsp-main-grid{
  gap:14px!important;
  margin-top:12px!important;
}
body.lopsp-private-standalone-body .lopsp-calendar td{
  height:44px!important;
  border-radius:12px!important;
}
body.lopsp-private-standalone-body .lopsp-streak-calendar-top-table td{
  height:42px!important;
  border-radius:13px!important;
}
body.lopsp-private-standalone-body .lopsp-wheel-show-stage{
  min-height:206px!important;
  padding:14px!important;
  border-radius:24px!important;
  gap:12px!important;
}
body.lopsp-private-standalone-body .lopsp-wheel-host-card,
body.lopsp-private-standalone-body .lopsp-game-show-wheel .lopsp-wheel-actions-under-orb{
  padding:12px!important;
  border-radius:20px!important;
}
body.lopsp-private-standalone-body .lopsp-game-show-wheel .lopsp-wheel-orb{
  width:162px!important;
  height:162px!important;
}
body.lopsp-private-standalone-body .lopsp-task-cards,
body.lopsp-private-standalone-body .lopsp-reward-track,
body.lopsp-private-standalone-body .lopsp-history-list{
  gap:10px!important;
}

/* Report/history student pages: compact top and cards without changing data rendering. */
body.lopsp-report-body .lopsp-student-report-main{
  margin-top:0!important;
  padding-top:0!important;
}
body.lopsp-report-body .lopsp-report-panel,
body.lopsp-report-body .lopsp-info-section,
body.lopsp-report-body .lopsp-lop-access-card{
  margin-top:12px!important;
  margin-bottom:12px!important;
  padding:clamp(14px,2vw,20px)!important;
  border-radius:22px!important;
}
body.lopsp-report-body .lopsp-report-kpi-grid,
body.lopsp-report-body .lopsp-lesson-history-list{
  gap:10px!important;
}
body.lopsp-report-body .lopsp-report-kpi-card,
body.lopsp-report-body .lopsp-lesson-history-item{
  padding:12px!important;
  border-radius:18px!important;
}
body.lopsp-report-body .lopsp-report-panel-head{
  margin-bottom:10px!important;
  gap:10px!important;
}

/* Study/quiz/lesson student routes: tighter hero and content spacing, keeps existing flow logic. */
body.lop-support-body .lopsp-info-main,
body.lop-support-body .lop-support-main{
  width:min(1160px,calc(100vw - 18px))!important;
  margin:0 auto!important;
}
body.lop-support-body .lopsp-info-hero,
body.lop-support-body .lop-study-hero,
body.lop-support-body .lop-study-lesson-hero,
body.lop-support-body .lop-study-quiz-hero{
  margin-top:12px!important;
  margin-bottom:12px!important;
  padding:clamp(18px,3vw,32px)!important;
  border-radius:24px!important;
}
body.lop-support-body .lopsp-info-section,
body.lop-support-body .lop-study-choice-panel,
body.lop-support-body .lop-study-builder-section,
body.lop-support-body .lop-study-unit-visual-strip,
body.lop-support-body .lop-study-roadmap-card,
body.lop-support-body .lop-study-complete-gate,
body.lop-support-body .lop-study-quiz{
  margin-top:12px!important;
  margin-bottom:12px!important;
  padding:clamp(14px,2.2vw,22px)!important;
  border-radius:22px!important;
}
body.lop-support-body .lop-study-section-head{
  margin-bottom:10px!important;
  gap:10px!important;
}
body.lop-support-body .lop-study-choice-grid,
body.lop-support-body .lop-study-grid,
body.lop-support-body .lop-study-latest-grid{
  gap:12px!important;
}
body.lop-support-body .lop-study-card,
body.lop-support-body .lop-study-choice-card{
  border-radius:22px!important;
  padding:18px!important;
}
body.lop-support-body .lop-study-choice-card{
  min-height:178px!important;
}
body.lop-support-body .lop-study-choice-card span{
  width:54px!important;
  height:54px!important;
  border-radius:18px!important;
  font-size:28px!important;
}
body.lop-support-body .lop-study-choice-card strong{
  font-size:clamp(23px,3vw,30px)!important;
}
body.lop-support-body .lop-study-lesson-detail{
  max-width:min(1080px,calc(100vw - 18px))!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-vocab-grid,
body.lop-support-body .lop-study-lesson-detail .lop-study-flash-track,
body.lop-support-body .lop-study-unit-visual-strip .lop-study-unit-visual-grid{
  margin-top:6px!important;
  padding-bottom:12px!important;
}

@media(max-width:980px){
  .lopsp-student-shell-with-fixed-topnav{padding-top:62px!important;}
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:106px!important;}
  body.lopsp-private-standalone-body .lopsp-banner{height:112px!important;min-height:112px!important;}
  body.lopsp-private-standalone-body .lopsp-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.lopsp-private-standalone-body .lopsp-main-grid{grid-template-columns:1fr!important;}
  body.lop-support-body .lopsp-info-hero{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  body.lopsp-private-standalone-body .lopsp-wrap,
  body.lopsp-report-body .lopsp-wrap{width:calc(100vw - 10px)!important;padding-left:5px!important;padding-right:5px!important;padding-bottom:86px!important;}
  .lopsp-student-shell-with-fixed-topnav{padding-top:58px!important;}
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:102px!important;}
  .lopsp-student-shared-topnav{width:calc(100vw - 6px)!important;min-height:50px!important;padding:6px!important;border-radius:0 0 18px 18px!important;}
  .lopsp-student-shared-topnav a{min-height:34px!important;padding:7px 10px!important;font-size:12.5px!important;}
  body.lopsp-private-standalone-body .lopsp-hero{border-radius:18px!important;margin-bottom:10px!important;}
  body.lopsp-private-standalone-body .lopsp-banner{height:92px!important;min-height:92px!important;}
  body.lopsp-private-standalone-body .lopsp-profilebar-v154{grid-template-columns:72px minmax(0,1fr)!important;padding:10px!important;gap:9px!important;}
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar-wrap{margin-top:-38px!important;}
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar{width:72px!important;height:72px!important;}
  body.lopsp-private-standalone-body .lopsp-identity h1{font-size:23px!important;}
  body.lopsp-private-standalone-body .lopsp-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  body.lopsp-private-standalone-body .lopsp-card{padding:11px!important;border-radius:16px!important;}
  body.lopsp-private-standalone-body .lopsp-panel,
  body.lopsp-private-standalone-body .lopsp-info-section,
  body.lopsp-private-standalone-body .lopsp-report-panel,
  body.lopsp-private-standalone-body .lopsp-today-flow,
  body.lopsp-private-standalone-body .lopsp-streak-calendar-spotlight{padding:12px!important;border-radius:18px!important;margin:9px 0!important;}
  body.lopsp-private-standalone-body .lopsp-calendar td,
  body.lopsp-private-standalone-body .lopsp-streak-calendar-top-table td{height:34px!important;border-radius:10px!important;font-size:11px!important;}
  body.lopsp-private-standalone-body .lopsp-wheel-show-stage{padding:12px!important;border-radius:20px!important;}
  body.lopsp-private-standalone-body .lopsp-game-show-wheel .lopsp-wheel-orb{width:136px!important;height:136px!important;}
  body.lop-support-body .lopsp-info-main,
  body.lop-support-body .lop-support-main{width:calc(100vw - 12px)!important;}
  body.lop-support-body .lopsp-info-hero,
  body.lop-support-body .lop-study-hero,
  body.lop-support-body .lop-study-lesson-hero,
  body.lop-support-body .lop-study-quiz-hero{margin-top:8px!important;padding:16px!important;border-radius:20px!important;}
  body.lop-support-body .lopsp-info-section,
  body.lop-support-body .lop-study-choice-panel,
  body.lop-support-body .lop-study-builder-section,
  body.lop-support-body .lop-study-unit-visual-strip,
  body.lop-support-body .lop-study-roadmap-card,
  body.lop-support-body .lop-study-complete-gate,
  body.lop-support-body .lop-study-quiz{padding:12px!important;border-radius:18px!important;margin:9px 0!important;}
  body.lop-support-body .lop-study-choice-card{padding:15px!important;min-height:0!important;}
  body.lop-support-body .lop-study-choice-grid{gap:10px!important;}
}

/* v2.8.158: LOP start/user start cards on /lop */
.lopsp-grid-cards-v158{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  align-items:stretch;
}
.lopsp-card-v158{
  min-height:104px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
.lopsp-card-v158 .lopsp-card-label{
  margin-bottom:2px!important;
  font-weight:800;
  color:#64748b;
}
.lopsp-card-v158 .lopsp-card-value{
  font-size:clamp(25px,2.7vw,35px)!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.045em;
  color:#071129;
}
.lopsp-card-sub{
  margin-top:2px;
  font-size:12.5px;
  line-height:1.25;
  font-weight:800;
  color:#64748b;
  white-space:normal;
}
body.lopsp-private-standalone-body .lopsp-card-v158 .lopsp-card-sub{
  font-size:12px!important;
  line-height:1.25!important;
}
@media(max-width:760px){
  .lopsp-grid-cards-v158{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .lopsp-card-v158{min-height:92px;padding:10px 11px!important;}
  .lopsp-card-v158 .lopsp-card-value{font-size:clamp(22px,8vw,30px)!important;}
  .lopsp-card-sub{font-size:11.5px;}
}


/* v2.8.159 - Student reminder summary and shared remind top menu polish. Scoped to /lop and /lop-remind. */
.lopsp-reminder-overview-panel{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(191,219,254,.88)!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eff6ff 100%)!important;
  box-shadow:0 18px 46px rgba(37,99,235,.09)!important;
}
.lopsp-reminder-overview-panel:before{
  content:"";position:absolute;right:-90px;top:-90px;width:240px;height:240px;border-radius:999px;background:radial-gradient(circle,rgba(79,70,229,.16),rgba(14,165,233,.08),transparent 68%);pointer-events:none;
}
.lopsp-reminder-overview-panel.has-open-reminders{
  border-color:rgba(251,191,36,.92)!important;
  background:linear-gradient(135deg,#fff 0%,#fff7ed 52%,#eff6ff 100%)!important;
}
.lopsp-reminder-overview-head{position:relative;z-index:1;align-items:flex-start!important;}
.lopsp-reminder-open-link{
  display:inline-flex;align-items:center;justify-content:center;min-width:max-content;padding:10px 14px;border-radius:999px;text-decoration:none!important;font-weight:950;color:#1d4ed8!important;background:#fff;border:1px solid #bfdbfe;box-shadow:0 10px 24px rgba(37,99,235,.10);
}
.lopsp-reminder-stat-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;}
.lopsp-reminder-stat-card{padding:14px;border-radius:22px;border:1px solid #dbeafe;background:rgba(255,255,255,.88);box-shadow:0 12px 28px rgba(15,23,42,.05);}
.lopsp-reminder-stat-card span{display:block;color:#64748b;font-weight:900;font-size:13px;}
.lopsp-reminder-stat-card strong{display:block;margin-top:4px;font-size:clamp(30px,4vw,46px);line-height:1;color:#0f172a;font-weight:1000;letter-spacing:-.05em;}
.lopsp-reminder-stat-card small{display:block;margin-top:6px;color:#64748b;font-weight:800;}
.lopsp-reminder-stat-card.is-open{border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#ffffff);}
.lopsp-reminder-stat-card.is-open strong{color:#c2410c;}
.lopsp-reminder-stat-card.is-done{border-color:#bbf7d0;background:linear-gradient(135deg,#f0fdf4,#ffffff);}
.lopsp-reminder-stat-card.is-done strong{color:#15803d;}
.lopsp-reminder-open-list{position:relative;z-index:1;margin-top:14px;padding:12px;border-radius:22px;background:rgba(255,255,255,.72);border:1px dashed #fed7aa;display:grid;gap:8px;}
.lopsp-reminder-open-list>strong{color:#9a3412;font-weight:1000;}
.lopsp-reminder-open-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;padding:9px 10px;border-radius:18px;background:#fff;border:1px solid #ffedd5;}
.lopsp-reminder-open-item>span{width:36px;height:36px;border-radius:14px;background:#fff7ed;display:flex;align-items:center;justify-content:center;}
.lopsp-reminder-open-item b{display:block;color:#0f172a;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lopsp-reminder-open-item small{display:block;margin-top:2px;color:#64748b;font-weight:750;}
.lopsp-student-shared-topnav .lopsp-topnav-remind{background:linear-gradient(135deg,#fff7ed,#ffffff)!important;border:1px solid #fed7aa!important;color:#9a3412!important;}
.lopsp-student-shared-topnav .lopsp-topnav-remind.active{background:linear-gradient(135deg,#f97316,#ea580c)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 14px 32px rgba(234,88,12,.22)!important;}
.lopsp-student-shared-topnav .lopsp-topnav-public{background:linear-gradient(135deg,#ecfeff,#ffffff)!important;border:1px solid #a5f3fc!important;color:#155e75!important;}
.lopsp-remind-body .lopsp-remind-wrap{width:min(1040px,calc(100vw - 18px))!important;max-width:1040px!important;margin:0 auto!important;padding-bottom:34px!important;}
.lopsp-remind-body .lopsp-remind-hero-v159{margin-top:0!important;background:linear-gradient(135deg,#ffffff,#f8fbff 58%,#eef2ff)!important;border:1px solid rgba(191,219,254,.82)!important;box-shadow:0 18px 46px rgba(37,99,235,.10)!important;}
.lopsp-remind-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 8px;}
.lopsp-remind-mini-stats span{padding:12px;border-radius:20px;border:1px solid #dbeafe;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.lopsp-remind-mini-stats b{display:block;font-size:28px;line-height:1;color:#0f172a;font-weight:1000;}
.lopsp-remind-mini-stats small{display:block;margin-top:5px;color:#64748b;font-weight:850;}
.lopsp-remind-mini-stats .is-open{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa;}
.lopsp-remind-mini-stats .is-open b{color:#c2410c;}
.lopsp-remind-mini-stats .is-done{background:linear-gradient(135deg,#f0fdf4,#fff);border-color:#bbf7d0;}
.lopsp-remind-mini-stats .is-done b{color:#15803d;}
@media(max-width:760px){
  .lopsp-reminder-stat-grid,.lopsp-remind-mini-stats{grid-template-columns:1fr!important;}
  .lopsp-reminder-overview-head{display:grid!important;gap:10px!important;}
  .lopsp-reminder-open-link{width:100%;}
}

/* v2.8.160 - /lop Reminder LOP professional cards below Parent Đồng hành */
body.lopsp-private-standalone-body #lop-reminder-overview.lopsp-reminder-overview-v160,
.lopsp-profile-page #lop-reminder-overview.lopsp-reminder-overview-v160{
  margin:14px 0 16px!important;
  padding:18px!important;
  border-radius:28px!important;
  border:1px solid rgba(191,219,254,.92)!important;
  background:
    radial-gradient(circle at 92% 0%,rgba(59,130,246,.16),transparent 38%),
    radial-gradient(circle at 0% 100%,rgba(34,197,94,.12),transparent 34%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 54%,#f5f3ff 100%)!important;
  box-shadow:0 20px 54px rgba(15,23,42,.075)!important;
  overflow:hidden!important;
}
.lopsp-reminder-overview-v160 .lopsp-reminder-v160-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 170px!important;gap:14px!important;align-items:stretch!important;position:relative!important;z-index:1!important;}
.lopsp-reminder-v160-title{display:grid!important;gap:7px!important;align-content:start!important;}
.lopsp-reminder-v160-title h3{margin:0!important;font-size:clamp(22px,2.4vw,32px)!important;line-height:1.12!important;letter-spacing:-.035em!important;color:#0f172a!important;}
.lopsp-reminder-v160-title p{margin:0!important;color:#64748b!important;font-weight:730!important;line-height:1.48!important;max-width:960px!important;}
.lopsp-reminder-pill{width:max-content!important;background:linear-gradient(135deg,#eef2ff,#eff6ff)!important;color:#4f46e5!important;border-color:#dbeafe!important;box-shadow:0 10px 24px rgba(79,70,229,.08)!important;}
.lopsp-reminder-v160-status{border-radius:24px!important;padding:15px!important;display:grid!important;place-items:center!important;text-align:center!important;border:1px solid #dbeafe!important;background:rgba(255,255,255,.86)!important;box-shadow:0 14px 34px rgba(15,23,42,.06)!important;}
.lopsp-reminder-v160-status.is-warning{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}
.lopsp-reminder-v160-status.is-good{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-reminder-v160-status span{font-size:12px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#64748b!important;}
.lopsp-reminder-v160-status strong{font-size:42px!important;line-height:1!important;letter-spacing:-.06em!important;color:#0f172a!important;}
.lopsp-reminder-v160-status.is-warning strong{color:#c2410c!important;}
.lopsp-reminder-v160-status.is-good strong{color:#15803d!important;}
.lopsp-reminder-v160-status small{font-weight:850!important;color:#64748b!important;}
.lopsp-reminder-v160-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important;position:relative!important;z-index:1!important;}
.lopsp-reminder-v160-stat{min-width:0!important;display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:15px!important;border-radius:24px!important;border:1px solid rgba(203,213,225,.88)!important;background:rgba(255,255,255,.86)!important;box-shadow:0 14px 34px rgba(15,23,42,.055)!important;}
.lopsp-reminder-v160-stat.is-total{border-color:#bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;}
.lopsp-reminder-v160-stat.is-open{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}
.lopsp-reminder-v160-stat.is-open.needs-attention{box-shadow:0 16px 38px rgba(249,115,22,.13)!important;}
.lopsp-reminder-v160-stat.is-done{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-reminder-v160-icon{width:52px!important;height:52px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.07)!important;}
.lopsp-reminder-v160-stat span{display:block!important;color:#64748b!important;font-size:13px!important;font-weight:950!important;line-height:1.15!important;}
.lopsp-reminder-v160-stat strong{display:block!important;margin-top:3px!important;color:#0f172a!important;font-size:clamp(30px,3.6vw,46px)!important;line-height:.95!important;font-weight:1000!important;letter-spacing:-.06em!important;}
.lopsp-reminder-v160-stat.is-open strong{color:#c2410c!important;}
.lopsp-reminder-v160-stat.is-done strong{color:#15803d!important;}
.lopsp-reminder-v160-stat small{display:block!important;margin-top:6px!important;color:#64748b!important;font-weight:780!important;line-height:1.32!important;}
.lopsp-reminder-v160-progress{margin-top:13px!important;padding:12px 14px!important;border:1px solid rgba(219,234,254,.95)!important;border-radius:20px!important;background:rgba(255,255,255,.72)!important;position:relative!important;z-index:1!important;}
.lopsp-reminder-v160-progress-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:8px!important;color:#334155!important;font-weight:950!important;}
.lopsp-reminder-v160-progress-head strong{color:#2563eb!important;}
.lopsp-reminder-v160-bar{height:10px!important;border-radius:999px!important;overflow:hidden!important;background:#e2e8f0!important;}
.lopsp-reminder-v160-bar span{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#2563eb,#22c55e)!important;box-shadow:0 0 0 1px rgba(255,255,255,.24) inset!important;}
.lopsp-reminder-v160-open-list{margin-top:13px!important;padding:14px!important;border-radius:24px!important;border:1px solid #fed7aa!important;background:linear-gradient(135deg,rgba(255,247,237,.92),rgba(255,255,255,.92))!important;position:relative!important;z-index:1!important;}
.lopsp-reminder-v160-list-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important;}
.lopsp-reminder-v160-list-head strong{color:#9a3412!important;font-weight:1000!important;font-size:17px!important;}
.lopsp-reminder-v160-list-head a{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:9px 12px!important;background:#fff!important;border:1px solid #fed7aa!important;color:#c2410c!important;text-decoration:none!important;font-weight:950!important;box-shadow:0 8px 18px rgba(249,115,22,.08)!important;}
.lopsp-reminder-v160-items{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
.lopsp-reminder-v160-item{min-width:0!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:12px!important;border-radius:20px!important;border:1px solid #ffedd5!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;}
.lopsp-reminder-v160-item-icon{width:42px!important;height:42px!important;border-radius:16px!important;background:#fff7ed!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;}
.lopsp-reminder-v160-item b{display:block!important;color:#0f172a!important;font-weight:1000!important;line-height:1.24!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.lopsp-reminder-v160-item small{display:block!important;margin-top:4px!important;color:#64748b!important;font-weight:760!important;line-height:1.28!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.lopsp-reminder-v160-clear{margin-top:13px!important;display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:14px!important;border-radius:22px!important;border:1px solid #bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-reminder-v160-clear>span{width:50px!important;height:50px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;font-size:24px!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;}
.lopsp-reminder-v160-clear strong{display:block!important;color:#166534!important;font-weight:1000!important;}.lopsp-reminder-v160-clear small{display:block!important;margin-top:3px!important;color:#64748b!important;font-weight:750!important;}
@media(max-width:1100px){.lopsp-reminder-v160-items{grid-template-columns:1fr!important;}.lopsp-reminder-overview-v160 .lopsp-reminder-v160-hero{grid-template-columns:1fr!important;}.lopsp-reminder-v160-status{justify-items:start!important;text-align:left!important;grid-template-columns:auto 1fr!important;column-gap:12px!important;}.lopsp-reminder-v160-status strong{font-size:34px!important;grid-row:1/3!important;}.lopsp-reminder-v160-status span,.lopsp-reminder-v160-status small{justify-self:start!important;}}
@media(max-width:820px){body.lopsp-private-standalone-body #lop-reminder-overview.lopsp-reminder-overview-v160,.lopsp-profile-page #lop-reminder-overview.lopsp-reminder-overview-v160{padding:14px!important;border-radius:24px!important;margin:12px 0!important;}.lopsp-reminder-v160-grid{grid-template-columns:1fr!important;}.lopsp-reminder-v160-stat{padding:13px!important;grid-template-columns:46px minmax(0,1fr)!important;}.lopsp-reminder-v160-icon{width:46px!important;height:46px!important;border-radius:16px!important;font-size:21px!important;}.lopsp-reminder-v160-title h3{font-size:24px!important;}.lopsp-reminder-v160-list-head{display:grid!important;}.lopsp-reminder-v160-list-head a{width:100%!important;}.lopsp-reminder-v160-item b,.lopsp-reminder-v160-item small{white-space:normal!important;}.lopsp-reminder-v160-status{display:grid!important;grid-template-columns:1fr!important;text-align:left!important;}.lopsp-reminder-v160-status strong{grid-row:auto!important;}}


/* v2.8.161 - Public achievement share UI and language polish. Scoped to LOP student/public pages only. */
.lopsp-public-achievement-panel{
  margin:14px 0 14px!important;
  padding:20px!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 42%,#fff7ed 100%)!important;
  border:1px solid rgba(99,102,241,.16)!important;
  box-shadow:0 22px 60px rgba(15,23,42,.08)!important;
  overflow:hidden!important;
  position:relative!important;
}
.lopsp-public-achievement-panel:before{
  content:"";position:absolute;right:-110px;top:-120px;width:280px;height:280px;border-radius:999px;background:radial-gradient(circle,rgba(79,70,229,.15),rgba(79,70,229,0) 68%);pointer-events:none;
}
.lopsp-public-achievement-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:18px!important;align-items:center!important;position:relative!important;z-index:1!important;}
.lopsp-public-achievement-hero h3{font-size:30px!important;line-height:1.1!important;margin:8px 0 8px!important;color:#061337!important;}
.lopsp-public-achievement-hero p{font-size:17px!important;line-height:1.65!important;color:#667085!important;margin:0!important;max-width:920px!important;}
.lopsp-public-achievement-seal{min-height:150px!important;border-radius:28px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:#fff!important;box-shadow:0 24px 40px rgba(79,70,229,.25)!important;display:grid!important;align-content:center!important;text-align:center!important;padding:18px!important;}
.lopsp-public-achievement-seal span{font-weight:900!important;font-size:13px!important;text-transform:uppercase!important;letter-spacing:.06em!important;opacity:.9!important;}
.lopsp-public-achievement-seal strong{font-size:46px!important;line-height:1!important;margin:7px 0!important;}
.lopsp-public-achievement-seal small{font-weight:800!important;opacity:.9!important;}
.lopsp-public-achievement-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-top:18px!important;position:relative!important;z-index:1!important;}
.lopsp-public-achievement-card{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:16px!important;border-radius:24px!important;background:rgba(255,255,255,.86)!important;border:1px solid rgba(148,163,184,.23)!important;box-shadow:0 15px 34px rgba(15,23,42,.06)!important;}
.lopsp-public-achievement-icon{width:58px!important;height:58px!important;border-radius:20px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#eef2ff,#ecfeff)!important;font-size:27px!important;box-shadow:inset 0 0 0 1px rgba(99,102,241,.12)!important;}
.lopsp-public-achievement-card small{display:block!important;color:#667085!important;font-weight:900!important;font-size:13px!important;letter-spacing:.02em!important;text-transform:uppercase!important;}
.lopsp-public-achievement-card strong{display:block!important;font-size:30px!important;line-height:1.05!important;color:#061337!important;margin:4px 0!important;}
.lopsp-public-achievement-card em{display:block!important;font-style:normal!important;font-weight:800!important;color:#667085!important;font-size:13px!important;line-height:1.35!important;}
.lopsp-public-progress-strip{display:grid!important;grid-template-columns:minmax(0,1fr) 150px!important;gap:14px!important;align-items:center!important;margin-top:14px!important;padding:15px!important;border-radius:24px!important;background:linear-gradient(90deg,rgba(236,253,245,.9),rgba(239,246,255,.9))!important;border:1px solid rgba(16,185,129,.16)!important;position:relative!important;z-index:1!important;}
.lopsp-public-progress-copy strong{display:block!important;color:#065f46!important;font-size:18px!important;margin-bottom:4px!important;}
.lopsp-public-progress-copy span{display:block!important;color:#667085!important;font-weight:800!important;line-height:1.45!important;}
.lopsp-public-progress-mini{border-radius:20px!important;background:#fff!important;border:1px solid rgba(99,102,241,.13)!important;text-align:center!important;padding:12px!important;}
.lopsp-public-progress-mini span{display:block!important;font-size:12px!important;font-weight:900!important;color:#667085!important;text-transform:uppercase!important;}
.lopsp-public-progress-mini b{font-size:26px!important;color:#4f46e5!important;}
.lopsp-public-achievement-note{display:flex!important;gap:12px!important;align-items:flex-start!important;margin-top:14px!important;padding:14px 16px!important;border-radius:22px!important;background:rgba(255,255,255,.72)!important;border:1px dashed rgba(99,102,241,.25)!important;position:relative!important;z-index:1!important;}
.lopsp-public-achievement-note span{font-size:24px!important;line-height:1!important;}
.lopsp-public-achievement-note p{margin:0!important;color:#475467!important;font-weight:800!important;line-height:1.55!important;}
@media(max-width:980px){.lopsp-public-achievement-hero{grid-template-columns:1fr!important;}.lopsp-public-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.lopsp-public-progress-strip{grid-template-columns:1fr!important;}}
@media(max-width:620px){.lopsp-public-achievement-panel{padding:14px!important;border-radius:24px!important;margin:10px 0!important;}.lopsp-public-achievement-hero h3{font-size:24px!important;}.lopsp-public-achievement-hero p{font-size:15px!important;}.lopsp-public-achievement-grid{grid-template-columns:1fr!important;gap:10px!important;}.lopsp-public-achievement-card{padding:13px!important;grid-template-columns:50px minmax(0,1fr)!important;border-radius:20px!important;}.lopsp-public-achievement-icon{width:50px!important;height:50px!important;border-radius:17px!important;}.lopsp-public-achievement-card strong{font-size:26px!important;}.lopsp-public-achievement-seal{min-height:126px!important;border-radius:22px!important;}.lopsp-public-achievement-seal strong{font-size:38px!important;}}


/* v2.8.162 - /lop flow rail no-overlap + reminder search popup. Scoped to student LOP page. */
@media (min-width:981px) and (max-width:1439px){
  body.lopsp-private-standalone-body.lopsp-lop-flow-open .lopsp-wrap.lopsp-student-shell-with-fixed-topnav{
    padding-left:116px!important;
    transition:padding-left .18s ease!important;
  }
  body.lopsp-private-standalone-body.lopsp-lop-flow-collapsed .lopsp-wrap.lopsp-student-shell-with-fixed-topnav{
    padding-left:78px!important;
    transition:padding-left .18s ease!important;
  }
  body.lopsp-private-standalone-body .lopsp-lop-left-flow-bubbles{
    left:10px!important;
  }
  body.lopsp-private-standalone-body .lopsp-lop-left-flow-bubbles:not(.is-collapsed){
    width:92px!important;min-width:92px!important;max-width:92px!important;
  }
}
@media (min-width:1440px){
  body.lopsp-private-standalone-body .lopsp-lop-left-flow-bubbles{
    left:max(12px,calc((100vw - 1240px)/2 - 118px))!important;
  }
}
@media (max-width:980px){
  body.lopsp-private-standalone-body.lopsp-lop-flow-open .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  body.lopsp-private-standalone-body.lopsp-lop-flow-collapsed .lopsp-wrap.lopsp-student-shell-with-fixed-topnav{
    padding-left:5px!important;
  }
}
.lopsp-reminder-v160-modal-open{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  border-radius:999px!important;padding:10px 14px!important;background:#fff!important;border:1px solid #fed7aa!important;
  color:#c2410c!important;text-decoration:none!important;font-weight:950!important;box-shadow:0 8px 18px rgba(249,115,22,.08)!important;
  cursor:pointer!important;font-family:inherit!important;font-size:14px!important;line-height:1.1!important;
}
.lopsp-reminder-v160-modal-open:hover,.lopsp-reminder-v160-modal-open:focus-visible{background:#fff7ed!important;outline:none!important;transform:translateY(-1px)!important;}
.lopsp-reminder-modal[hidden]{display:none!important;}
.lopsp-reminder-modal{position:fixed!important;inset:0!important;z-index:100200!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;}
.lopsp-reminder-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.55)!important;backdrop-filter:blur(8px)!important;}
.lopsp-reminder-modal-card{position:relative!important;z-index:1!important;width:min(920px,calc(100vw - 28px))!important;max-height:min(82vh,760px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:30px!important;background:linear-gradient(135deg,#ffffff,#f8fbff 58%,#fff7ed)!important;border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 34px 90px rgba(15,23,42,.32)!important;}
.lopsp-reminder-modal-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important;padding:22px 22px 14px!important;border-bottom:1px solid rgba(226,232,240,.85)!important;}
.lopsp-reminder-modal-head h3{margin:8px 0 4px!important;font-size:clamp(26px,3vw,38px)!important;line-height:1.05!important;color:#0f172a!important;font-weight:1000!important;letter-spacing:-.04em!important;}
.lopsp-reminder-modal-head p{margin:0!important;color:#64748b!important;font-weight:760!important;line-height:1.45!important;}
.lopsp-reminder-modal-close{width:44px!important;height:44px!important;border-radius:16px!important;border:1px solid #e2e8f0!important;background:#fff!important;color:#0f172a!important;font-size:28px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important;}
.lopsp-reminder-modal-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:14px 22px!important;}
.lopsp-reminder-modal-search{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;border:1px solid #dbeafe!important;border-radius:18px!important;background:#fff!important;padding:0 12px!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;}
.lopsp-reminder-modal-search span{font-size:18px!important;text-align:center!important;}.lopsp-reminder-modal-search input{width:100%!important;border:0!important;outline:0!important;padding:14px 4px!important;background:transparent!important;font:inherit!important;font-weight:820!important;color:#0f172a!important;}
.lopsp-reminder-modal-history-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;border-radius:18px!important;padding:0 14px!important;background:#eef4ff!important;color:#1d4ed8!important;border:1px solid #bfdbfe!important;text-decoration:none!important;font-weight:950!important;white-space:nowrap!important;}
.lopsp-reminder-modal-summary{display:flex!important;gap:10px!important;flex-wrap:wrap!important;padding:0 22px 12px!important;}
.lopsp-reminder-modal-summary span{display:inline-flex!important;align-items:center!important;gap:6px!important;border:1px solid #e2e8f0!important;background:#fff!important;border-radius:999px!important;padding:8px 11px!important;color:#475569!important;font-weight:900!important;}.lopsp-reminder-modal-summary b{font-size:18px!important;color:#0f172a!important;}.lopsp-reminder-modal-summary .is-open{border-color:#fed7aa!important;background:#fff7ed!important;color:#9a3412!important;}.lopsp-reminder-modal-summary .is-done{border-color:#bbf7d0!important;background:#f0fdf4!important;color:#166534!important;}
.lopsp-reminder-modal-list{overflow:auto!important;padding:0 22px 22px!important;display:grid!important;gap:10px!important;}
.lopsp-reminder-modal-item{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:14px!important;border-radius:22px!important;border:1px solid #e2e8f0!important;background:rgba(255,255,255,.86)!important;box-shadow:0 12px 30px rgba(15,23,42,.055)!important;}
.lopsp-reminder-modal-item.is-open{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}.lopsp-reminder-modal-item.is-done{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-reminder-modal-item-icon{width:50px!important;height:50px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;font-size:24px!important;box-shadow:0 10px 24px rgba(15,23,42,.07)!important;}
.lopsp-reminder-modal-item-top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;}.lopsp-reminder-modal-item-top strong{display:block!important;color:#0f172a!important;font-size:18px!important;line-height:1.2!important;font-weight:1000!important;}.lopsp-reminder-modal-item-top span{border-radius:999px!important;padding:7px 10px!important;background:#fff!important;color:#9a3412!important;border:1px solid #fed7aa!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important;}
.lopsp-reminder-modal-item.is-done .lopsp-reminder-modal-item-top span{color:#166534!important;border-color:#bbf7d0!important;background:#f0fdf4!important;}.lopsp-reminder-modal-item small{display:block!important;margin-top:5px!important;color:#64748b!important;font-weight:760!important;}.lopsp-reminder-modal-item p{margin:9px 0 0!important;color:#334155!important;line-height:1.45!important;font-weight:720!important;}.lopsp-reminder-modal-done-form{margin-top:11px!important;}.lopsp-reminder-modal-empty{padding:20px!important;border-radius:22px!important;border:1px dashed #cbd5e1!important;background:#fff!important;color:#64748b!important;font-weight:900!important;text-align:center!important;}
body.lopsp-reminder-modal-open{overflow:hidden!important;}
@media(max-width:760px){.lopsp-reminder-modal{padding:10px!important;align-items:flex-end!important;}.lopsp-reminder-modal-card{width:100%!important;max-height:88vh!important;border-radius:26px 26px 18px 18px!important;}.lopsp-reminder-modal-head,.lopsp-reminder-modal-tools{padding-left:14px!important;padding-right:14px!important;}.lopsp-reminder-modal-tools{grid-template-columns:1fr!important;}.lopsp-reminder-modal-history-link{width:100%!important;}.lopsp-reminder-modal-summary{padding-left:14px!important;padding-right:14px!important;}.lopsp-reminder-modal-list{padding-left:14px!important;padding-right:14px!important;}.lopsp-reminder-modal-item{grid-template-columns:42px minmax(0,1fr)!important;padding:12px!important;}.lopsp-reminder-modal-item-icon{width:42px!important;height:42px!important;border-radius:15px!important;font-size:21px!important;}.lopsp-reminder-modal-item-top{display:grid!important;}.lopsp-reminder-modal-item-top span{justify-self:start!important;}.lopsp-reminder-v160-list-head{gap:8px!important;}.lopsp-reminder-v160-modal-open{width:100%!important;}}

/* v2.8.165 - Private remind code regeneration + hide remind link on public profile */
.lopsp-remind-body .lopsp-remind-hero-v164{
  margin-top:0!important;
  padding:22px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 92% 10%,rgba(251,146,60,.16),transparent 34%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 54%,#eef2ff 100%)!important;
  border:1px solid rgba(191,219,254,.9)!important;
  box-shadow:0 20px 52px rgba(37,99,235,.11)!important;
  overflow:hidden!important;
}
.lopsp-remind-v164-hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:18px!important;align-items:stretch!important;}
.lopsp-remind-v164-copy h3{margin:8px 0 6px!important;font-size:clamp(28px,4vw,46px)!important;line-height:1.05!important;letter-spacing:-.055em!important;color:#020617!important;font-weight:1000!important;}
.lopsp-remind-v164-copy p{margin:0!important;color:#64748b!important;font-size:16px!important;line-height:1.55!important;font-weight:750!important;max-width:860px!important;}
.lopsp-remind-v164-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:14px!important;}
.lopsp-remind-v164-actions a{text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:10px 14px!important;border-radius:999px!important;font-weight:1000!important;}
.lopsp-remind-v164-primary{background:linear-gradient(135deg,#4f46e5,#2563eb)!important;color:#fff!important;box-shadow:0 14px 32px rgba(37,99,235,.22)!important;border:1px solid transparent!important;}
.lopsp-remind-v164-secondary{background:#fff!important;color:#155e75!important;border:1px solid #a5f3fc!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;}
.lopsp-remind-v164-status{border-radius:26px!important;border:1px solid #dbeafe!important;background:rgba(255,255,255,.9)!important;box-shadow:0 16px 40px rgba(15,23,42,.07)!important;display:grid!important;place-items:center!important;text-align:center!important;padding:18px!important;}
.lopsp-remind-v164-status.is-warning{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}
.lopsp-remind-v164-status.is-good{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-remind-v164-status span{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#64748b!important;font-weight:1000!important;}
.lopsp-remind-v164-status strong{font-size:clamp(44px,6vw,74px)!important;line-height:.92!important;letter-spacing:-.08em!important;color:#c2410c!important;font-weight:1000!important;}
.lopsp-remind-v164-status.is-good strong{color:#15803d!important;}
.lopsp-remind-v164-status small{color:#64748b!important;font-weight:850!important;}
.lopsp-remind-v164-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:16px 0 0!important;}
.lopsp-remind-v164-card{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;border-radius:24px!important;padding:15px!important;border:1px solid rgba(203,213,225,.9)!important;background:rgba(255,255,255,.88)!important;box-shadow:0 14px 34px rgba(15,23,42,.055)!important;}
.lopsp-remind-v164-card>span{width:54px!important;height:54px!important;border-radius:18px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:25px!important;box-shadow:0 10px 24px rgba(15,23,42,.07)!important;}
.lopsp-remind-v164-card small{display:block!important;color:#64748b!important;font-weight:950!important;line-height:1.16!important;}
.lopsp-remind-v164-card strong{display:block!important;margin-top:3px!important;font-size:clamp(34px,4.2vw,54px)!important;line-height:.92!important;letter-spacing:-.065em!important;color:#0f172a!important;font-weight:1000!important;}
.lopsp-remind-v164-card em{display:block!important;margin-top:6px!important;color:#64748b!important;font-style:normal!important;font-weight:780!important;line-height:1.28!important;}
.lopsp-remind-v164-card.is-total{border-color:#bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;}
.lopsp-remind-v164-card.is-open{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}
.lopsp-remind-v164-card.is-open strong{color:#c2410c!important;}
.lopsp-remind-v164-card.is-open.needs-attention{box-shadow:0 18px 42px rgba(249,115,22,.15)!important;}
.lopsp-remind-v164-card.is-done{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-remind-v164-card.is-done strong{color:#15803d!important;}
.lopsp-remind-v164-progress{margin-top:14px!important;border-radius:22px!important;border:1px solid #dbeafe!important;background:rgba(255,255,255,.78)!important;padding:13px 15px!important;box-shadow:0 10px 24px rgba(15,23,42,.035)!important;}
.lopsp-remind-v164-progress>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:9px!important;color:#334155!important;font-weight:950!important;}
.lopsp-remind-v164-progress b{color:#2563eb!important;font-size:18px!important;}
.lopsp-remind-v164-progress>span{display:block!important;height:11px!important;border-radius:999px!important;background:#e2e8f0!important;overflow:hidden!important;}
.lopsp-remind-v164-progress i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#2563eb,#22c55e)!important;}
.lopsp-student-shared-topnav .lopsp-topnav-my-lop:not(.active){background:linear-gradient(135deg,#eef2ff,#fff)!important;border-color:#c7d2fe!important;color:#3730a3!important;}
@media(max-width:980px){.lopsp-remind-v164-hero-grid{grid-template-columns:1fr!important}.lopsp-remind-v164-status{justify-items:start!important;text-align:left!important;grid-template-columns:auto 1fr!important;column-gap:14px!important}.lopsp-remind-v164-status strong{grid-row:1/3!important}.lopsp-remind-v164-status span,.lopsp-remind-v164-status small{justify-self:start!important}.lopsp-remind-v164-stats{grid-template-columns:1fr!important}.lopsp-remind-v164-card{grid-template-columns:50px minmax(0,1fr)!important}.lopsp-remind-v164-card>span{width:50px!important;height:50px!important}}
@media(max-width:640px){.lopsp-remind-body .lopsp-remind-hero-v164{padding:15px!important;border-radius:24px!important}.lopsp-remind-v164-copy h3{font-size:28px!important}.lopsp-remind-v164-actions a{width:100%!important}.lopsp-remind-v164-status{display:grid!important;grid-template-columns:1fr!important;text-align:left!important}.lopsp-remind-v164-status strong{grid-row:auto!important}.lopsp-remind-v164-card em{font-size:13px!important}.lopsp-remind-v164-progress>div{display:grid!important}}


/* v2.8.165 - private remind code regeneration controls */
.lopsp-parent-remind-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lopsp-regenerate-remind-form{display:inline-flex;margin:0}
.lopsp-public-btn.warning{background:linear-gradient(135deg,#fff7ed,#ffedd5);border-color:#fdba74;color:#9a3412;box-shadow:0 10px 24px rgba(251,146,60,.14)}
.lopsp-public-btn.warning:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(251,146,60,.2)}
.lopsp-remind-code-note{display:inline-flex;align-items:center;gap:6px;color:#64748b;font-weight:800;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:8px 12px}
.lopsp-remind-code-note code{font-size:12px;color:#4338ca;background:#eef2ff;border-radius:999px;padding:3px 8px}
@media (max-width:640px){.lopsp-parent-remind-actions .lopsp-public-btn,.lopsp-regenerate-remind-form{width:100%}.lopsp-regenerate-remind-form .lopsp-public-btn{width:100%;justify-content:center}.lopsp-remind-code-note{width:100%;justify-content:center}}

/* v2.8.166 - Shorter student/remind menu labels: Trang LOP, Báo cáo. */


/* v2.8.167 - Study/Quiz detail Flow Bubble no-overlap layout guard */
body.lop-support-body.lop-study-has-side-flow{
  --lop-study-flow-open-reserve:116px;
  --lop-study-flow-collapsed-reserve:82px;
}
@media (min-width:981px) and (max-width:1480px){
  body.lop-support-body.lop-study-has-side-flow:not(.lop-study-flow-collapsed) .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow:not(.lop-study-flow-collapsed) .lop-support-main{
    padding-left:var(--lop-study-flow-open-reserve)!important;
  }
  body.lop-support-body.lop-study-has-side-flow.lop-study-flow-collapsed .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow.lop-study-flow-collapsed .lop-support-main{
    padding-left:var(--lop-study-flow-collapsed-reserve)!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117{
    left:14px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    bottom:auto!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-detail{
    width:100%!important;
    max-width:min(1080px, calc(100vw - 36px - var(--lop-study-flow-open-reserve)))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.lop-support-body.lop-study-has-side-flow.lop-study-flow-collapsed .lop-study-lesson-detail{
    max-width:min(1080px, calc(100vw - 36px - var(--lop-study-flow-collapsed-reserve)))!important;
  }
}
@media (min-width:1481px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-left:0!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117{
    top:50%!important;
    transform:translateY(-50%)!important;
  }
}
@media (max-width:980px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-left:0!important;
    padding-bottom:104px!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117{
    transform:none!important;
    z-index:99990!important;
  }
}
@media (max-width:520px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-bottom:92px!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    max-width:calc(100vw - 16px)!important;
  }
}

/* v2.8.174 - Auto Rescue Mission: complete today's streak first, then rescue any missing day */
.lopsp-rescue-mission-card{border:1px solid rgba(59,130,246,.18);background:linear-gradient(135deg,#f8fbff 0%,#fff 58%,#fff7ed 100%);box-shadow:0 18px 42px rgba(15,23,42,.08);position:relative;overflow:hidden}.lopsp-rescue-mission-card:before{content:"";position:absolute;inset:-80px -120px auto auto;width:260px;height:260px;background:radial-gradient(circle,rgba(59,130,246,.18),rgba(59,130,246,0) 62%);pointer-events:none}.lopsp-rescue-mission-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;position:relative;z-index:1}.lopsp-rescue-mission-pill{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}.lopsp-rescue-mission-hero h3{margin:8px 0 6px;font-size:21px;line-height:1.2;color:#0f172a}.lopsp-rescue-mission-hero p{margin:0;color:#475569;line-height:1.55}.lopsp-rescue-mission-status{min-width:142px;border-radius:22px;padding:14px 16px;text-align:center;background:#fff;border:1px solid #dbeafe;box-shadow:0 14px 34px rgba(37,99,235,.11)}.lopsp-rescue-mission-status span{display:block;font-size:12px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.04em}.lopsp-rescue-mission-status strong{display:block;font-size:38px;line-height:1;margin:5px 0;color:#2563eb}.lopsp-rescue-mission-status small{display:block;color:#64748b;font-size:12px}.lopsp-rescue-mission-card.is-ready .lopsp-rescue-mission-status{border-color:#fed7aa;background:linear-gradient(180deg,#fff7ed,#fff)}.lopsp-rescue-mission-card.is-ready .lopsp-rescue-mission-status strong{color:#ea580c}.lopsp-rescue-mission-card.is-clear .lopsp-rescue-mission-status strong{color:#16a34a}.lopsp-rescue-mission-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;position:relative;z-index:1}.lopsp-rescue-mission-step{display:flex;gap:10px;align-items:flex-start;border:1px solid #e2e8f0;border-radius:18px;background:rgba(255,255,255,.88);padding:13px;min-width:0}.lopsp-rescue-mission-step b{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:999px;background:#e2e8f0;color:#475569;font-weight:900}.lopsp-rescue-mission-step span{display:block;font-weight:900;color:#0f172a;font-size:14px}.lopsp-rescue-mission-step small{display:block;color:#64748b;font-size:12px;line-height:1.35;margin-top:3px}.lopsp-rescue-mission-step.is-done b,.lopsp-rescue-mission-step.is-ready b{background:#dcfce7;color:#166534}.lopsp-rescue-mission-step.is-active b{background:#ffedd5;color:#c2410c}.lopsp-rescue-mission-step.is-locked{opacity:.72}.lopsp-rescue-mission-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;position:relative;z-index:1}.lopsp-rescue-mission-actions .lopsp-rescue-btn[disabled]{opacity:.55;cursor:not-allowed;filter:grayscale(.2)}.lopsp-rescue-mission-hint{font-size:13px;color:#64748b;font-weight:700}.lopsp-rescue-auto-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:14px;margin:0 0 12px}.lopsp-rescue-auto-intro strong{display:block;color:#0f172a;font-size:16px}.lopsp-rescue-auto-intro span{display:block;color:#64748b;font-size:13px;margin-top:3px}.lopsp-rescue-auto-intro b{display:grid;place-items:center;min-width:54px;height:54px;border-radius:18px;background:#eef2ff;color:#3730a3;font-size:24px}.lopsp-rescue-auto-intro.is-ready{background:#fff7ed;border-color:#fed7aa}.lopsp-rescue-auto-intro.is-ready b{background:#ffedd5;color:#c2410c}.lopsp-rescue-auto-intro.is-clear{background:#f0fdf4;border-color:#bbf7d0}.lopsp-rescue-auto-intro.is-clear b{background:#dcfce7;color:#166534}.lopsp-rescue-rule-box{border:1px solid #bbf7d0;border-radius:16px;background:#f0fdf4;padding:13px}.lopsp-rescue-rule-box strong,.lopsp-rescue-rule-box span,.lopsp-rescue-rule-box small{display:block}.lopsp-rescue-rule-box strong{color:#166534;font-size:14px}.lopsp-rescue-rule-box span{color:#15803d;font-weight:800;margin-top:6px}.lopsp-rescue-rule-box small{color:#64748b;margin-top:4px;line-height:1.4}.lopsp-rescue-auto-form select{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:11px 12px;background:#fff;font:inherit;color:#0f172a}.lopsp-flow-step.is-ready .lopsp-flow-index,.lopsp-flow-bubble.is-ready b{background:#ffedd5!important;color:#c2410c!important}.lopsp-flow-step.is-muted .lopsp-flow-index,.lopsp-flow-bubble.is-muted b{background:#e2e8f0!important;color:#64748b!important}
@media(max-width:860px){.lopsp-rescue-mission-hero{flex-direction:column}.lopsp-rescue-mission-status{width:100%;min-width:0}.lopsp-rescue-mission-steps{grid-template-columns:1fr}.lopsp-rescue-mission-hero h3{font-size:19px}}

/* v2.8.178 - Button contrast system polish across LOP student/public/remind pages */
:root{
  --lop-btn-blue:#2563eb;
  --lop-btn-blue-2:#4f46e5;
  --lop-btn-sky:#0ea5e9;
  --lop-btn-green:#16a34a;
  --lop-btn-orange:#ea580c;
  --lop-btn-red:#dc2626;
  --lop-btn-dark:#0f172a;
  --lop-btn-muted:#475569;
}
/* Strong action buttons: always white text on saturated backgrounds */
.lopsp-primary-soft,
.lopsp-primary-soft:hover,
.lopsp-primary-soft:focus,
.lopsp-today-actions .lopsp-primary-soft,
.lopsp-today-actions .lopsp-primary-soft:hover,
.lopsp-rescue-btn,
.lopsp-rescue-btn:hover,
.lopsp-rescue-btn:focus,
.lopsp-rescue-open-btn,
.lopsp-rescue-open-btn:hover,
.lopsp-rescue-open-btn:focus,
.lopsp-wheel-spin,
.lopsp-wheel-spin:hover,
.lopsp-public-btn.success,
.lopsp-public-btn.success:hover,
.lopsp-select-reward,
.lopsp-select-reward:hover,
.lopsp-panel button[type="submit"],
.lopsp-panel button[type="submit"]:hover,
.lopsp-modal-panel button[type="submit"],
.lopsp-modal-panel button[type="submit"]:hover,
.lopsp-task-open-lesson,
.lopsp-task-open-lesson:hover{
  color:#ffffff!important;
  text-shadow:none!important;
}
.lopsp-rescue-btn,
.lopsp-rescue-open-btn{
  border:1px solid rgba(255,255,255,.22)!important;
  background:linear-gradient(135deg,var(--lop-btn-blue),var(--lop-btn-blue-2))!important;
  box-shadow:0 14px 30px rgba(37,99,235,.24)!important;
}
.lopsp-rescue-btn:hover:not(:disabled),
.lopsp-rescue-open-btn:hover:not(:disabled){
  background:linear-gradient(135deg,#1d4ed8,#4338ca)!important;
  color:#ffffff!important;
  transform:translateY(-1px);
  box-shadow:0 18px 38px rgba(37,99,235,.30)!important;
}
/* Soft/light buttons: dark text on light surfaces */
.lopsp-secondary-soft,
.lopsp-secondary-soft:hover,
.lopsp-secondary-soft:focus,
.lopsp-public-btn.secondary,
.lopsp-public-btn.secondary:hover,
.lopsp-public-btn.secondary:focus,
.lopsp-public-btn.warning,
.lopsp-public-btn.warning:hover,
.lopsp-task-done-btn,
.lopsp-task-done-btn:hover,
.lopsp-reminder-done-btn,
.lopsp-reminder-done-btn:hover,
.lopsp-task-save.is-ready,
.lopsp-task-save.is-ready:hover,
.lopsp-note-secondary,
.lopsp-note-secondary:hover,
.lop-study-note-secondary,
.lop-study-note-secondary:hover,
.lop-study-note-edit-btn,
.lop-study-note-edit-btn:hover{
  text-shadow:none!important;
}
.lopsp-secondary-soft,
.lopsp-public-btn.secondary{
  background:linear-gradient(135deg,#eef4ff,#ffffff)!important;
  color:#1e3a8a!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 10px 22px rgba(37,99,235,.08)!important;
}
.lopsp-secondary-soft:hover,
.lopsp-public-btn.secondary:hover{
  background:linear-gradient(135deg,#dbeafe,#ffffff)!important;
  color:#172554!important;
  border-color:#93c5fd!important;
}
.lopsp-public-btn.warning,
.lopsp-public-btn.warning:hover{
  color:#7c2d12!important;
}
.lopsp-task-done-btn,
.lopsp-reminder-done-btn{
  color:#14532d!important;
  background:#dcfce7!important;
  border:1px solid #86efac!important;
}
.lopsp-task-done-btn:hover,
.lopsp-reminder-done-btn:hover{
  color:#052e16!important;
  background:#bbf7d0!important;
}
/* Danger/destructive controls keep red text only on very light red background */
.lopsp-public-btn.danger,
.lopsp-public-btn.danger:hover{
  color:#9f1239!important;
  background:linear-gradient(135deg,#fff1f2,#ffe4e6)!important;
  border-color:#fda4af!important;
}
/* Disabled state must remain readable, not invisible */
.lopsp-secondary-soft.is-disabled,
.lopsp-secondary-soft[disabled],
.lopsp-rescue-btn[disabled],
.lopsp-primary-soft[disabled],
.lopsp-public-btn[disabled],
.lopsp-panel button[disabled]{
  color:#475569!important;
  background:#e2e8f0!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
  opacity:.78!important;
  cursor:not-allowed!important;
  transform:none!important;
}
/* Keep nested labels/icons readable and consistent */
.lopsp-primary-soft *,
.lopsp-secondary-soft *,
.lopsp-rescue-btn *,
.lopsp-public-btn *,
.lopsp-task-open-lesson *,
.lopsp-wheel-spin *,
.lopsp-select-reward *{
  color:inherit!important;
}
.lopsp-primary-soft:focus-visible,
.lopsp-secondary-soft:focus-visible,
.lopsp-rescue-btn:focus-visible,
.lopsp-public-btn:focus-visible,
.lopsp-task-done-btn:focus-visible,
.lopsp-reminder-done-btn:focus-visible,
.lopsp-wheel-spin:focus-visible,
.lopsp-select-reward:focus-visible{
  outline:3px solid rgba(37,99,235,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:640px){
  .lopsp-primary-soft,
  .lopsp-secondary-soft,
  .lopsp-rescue-btn,
  .lopsp-public-btn{
    line-height:1.25!important;
  }
}

/* v2.8.179 - /lop profile header full-width stats + concise plan strip + mobile clock right alignment.
   UI/CSS only: no LOP, Streak, quiz, lesson, profile or permission logic changes. */
body.lopsp-private-standalone-body .lopsp-profilebar-v154{
  position:relative!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow{
  justify-content:flex-start!important;
  align-items:center!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-strip{
  align-items:center!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-text{
  font-size:13.5px!important;
  line-height:1.35!important;
  color:#334155!important;
}
body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-text strong{
  color:#0f172a!important;
}
@media(min-width:900px){
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-strip,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-profile-control,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-url.muted{
    width:calc(100% + 144px)!important;
    max-width:calc(100vw - 64px)!important;
    margin-left:-144px!important;
    box-sizing:border-box!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow{
    margin-top:12px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-strip,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-profile-control,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-url.muted{
    margin-top:10px!important;
  }
}
@media(min-width:760px) and (max-width:899px){
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-strip,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-profile-control,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-url.muted{
    width:calc(100% + 92px)!important;
    max-width:calc(100vw - 32px)!important;
    margin-left:-92px!important;
    box-sizing:border-box!important;
  }
}
@media(max-width:640px){
  body.lopsp-private-standalone-body .lopsp-floating-learning-clock{
    left:auto!important;
    right:10px!important;
    bottom:78px!important;
    width:min(258px,calc(100vw - 96px))!important;
    max-width:258px!important;
    min-width:0!important;
    padding:10px 38px 10px 12px!important;
    border-radius:18px!important;
    box-shadow:0 16px 38px rgba(15,23,42,.18)!important;
  }
  body.lopsp-private-standalone-body .lopsp-floating-learning-clock strong{
    font-size:22px!important;
  }
  body.lopsp-private-standalone-body .lopsp-floating-learning-clock span{
    font-size:11px!important;
    margin-bottom:3px!important;
  }
  body.lopsp-private-standalone-body .lopsp-floating-learning-clock em{
    font-size:11px!important;
    line-height:1.25!important;
  }
  body.lopsp-private-standalone-body .lopsp-floating-learning-clock.is-collapsed{
    left:auto!important;
    right:12px!important;
    bottom:78px!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    padding:0!important;
  }
}

/* v2.8.180 - /lop mobile header stats full-left + lesson/quiz Flow Bubble compact no-overlap.
   UI/CSS only: keeps all LOP/Streak/lesson/quiz/admin logic unchanged. */
@media(max-width:759px){
  body.lopsp-private-standalone-body .lopsp-profilebar-v154{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    align-items:start!important;
    column-gap:9px!important;
    row-gap:7px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar-wrap{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    margin-top:-38px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-identity{
    display:contents!important;
    min-width:0!important;
    padding-top:0!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-identity>h2,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-sub{
    grid-column:2!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-identity>h2{
    margin:0 0 2px!important;
    font-size:21px!important;
    line-height:1.08!important;
    overflow-wrap:anywhere!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-sub{
    margin:0!important;
    font-size:12.5px!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-strip,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-profile-control,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-url.muted{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    box-sizing:border-box!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow{
    justify-content:flex-start!important;
    align-items:center!important;
    gap:6px!important;
    margin-top:8px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow span{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:5px 7px!important;
    border-radius:999px!important;
    font-size:12px!important;
    line-height:1.2!important;
    white-space:normal!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow span strong{
    font-size:13px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-strip{
    margin-top:7px!important;
    padding:9px 10px!important;
    border-radius:16px!important;
    gap:8px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-plan-text{
    font-size:12.5px!important;
    line-height:1.32!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-public-profile-control{
    margin-top:7px!important;
  }
}
@media(max-width:420px){
  body.lopsp-private-standalone-body .lopsp-profilebar-v154{
    grid-template-columns:64px minmax(0,1fr)!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar{
    width:64px!important;
    height:64px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar-wrap{
    margin-top:-34px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-identity>h2{
    font-size:19px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-sub{
    font-size:11.8px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow span{
    font-size:11.5px!important;
    padding:5px 6px!important;
  }
}

/* Lesson/quiz floating Flow Bubble: closed button is compact, opened rail stays above the online clock bubble. */
@media(max-width:980px){
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117,
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117{
    left:8px!important;
    right:8px!important;
    bottom:82px!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 16px)!important;
    padding:6px!important;
    gap:6px!important;
    border-radius:20px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    align-items:center!important;
    box-sizing:border-box!important;
    scrollbar-width:thin!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a{
    min-width:64px!important;
    min-height:50px!important;
    padding:6px 7px!important;
    border-radius:16px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a i,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a i{
    width:24px!important;
    height:24px!important;
    border-radius:10px!important;
    font-size:12px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a span,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a span{
    font-size:10.8px!important;
    line-height:1.05!important;
  }
  body.lop-support-body .lop-study-flow-toggle{
    width:auto!important;
    min-width:60px!important;
    max-width:66px!important;
    min-height:50px!important;
    padding:6px 7px!important;
    border-radius:16px!important;
    flex:0 0 auto!important;
  }
  body.lop-support-body .lop-study-flow-toggle strong{
    font-size:10.8px!important;
    line-height:1.05!important;
  }
  body.lop-support-body .lop-study-flow-toggle small,
  body.lop-support-body .lop-study-flow-toggle .lop-study-flow-toggle-icon{
    display:none!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    left:8px!important;
    right:auto!important;
    bottom:12px!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    padding:0!important;
    border:0!important;
    border-radius:18px!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    overflow:visible!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-toggle,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed .lop-study-flow-toggle{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    min-height:52px!important;
    padding:6px!important;
    border-radius:18px!important;
    box-shadow:0 14px 30px rgba(37,99,235,.22)!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-toggle strong,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed .lop-study-flow-toggle strong{
    font-size:10.5px!important;
    line-height:1.05!important;
  }
}
@media(max-width:520px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-bottom:142px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117{
    bottom:76px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    bottom:10px!important;
  }
}


/* v2.8.181 - Mobile lesson/quiz: dock Flow Bubble to bottom and raise Online clock.
   CSS-only, scoped to study/quiz support pages; no LOP/Streak/lesson/quiz/admin logic changes. */
@media(max-width:980px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-bottom:168px!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117,
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117{
    left:8px!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom, 0px))!important;
    top:auto!important;
    transform:none!important;
    width:auto!important;
    max-width:calc(100vw - 16px)!important;
    z-index:99988!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    left:8px!important;
    right:auto!important;
    bottom:calc(8px + env(safe-area-inset-bottom, 0px))!important;
    top:auto!important;
    transform:none!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock{
    left:auto!important;
    right:10px!important;
    bottom:calc(92px + env(safe-area-inset-bottom, 0px))!important;
    width:min(252px,calc(100vw - 24px))!important;
    max-width:252px!important;
    z-index:99991!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock.is-collapsed{
    left:auto!important;
    right:12px!important;
    bottom:calc(92px + env(safe-area-inset-bottom, 0px))!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    z-index:99991!important;
  }
}
@media(max-width:520px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-bottom:176px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117{
    left:7px!important;
    right:7px!important;
    bottom:calc(7px + env(safe-area-inset-bottom, 0px))!important;
    max-width:calc(100vw - 14px)!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    left:7px!important;
    bottom:calc(7px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock{
    right:8px!important;
    bottom:calc(88px + env(safe-area-inset-bottom, 0px))!important;
    width:min(238px,calc(100vw - 20px))!important;
    max-width:238px!important;
    padding:9px 36px 9px 11px!important;
    border-radius:17px!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock strong{font-size:21px!important;}
  body.lop-support-body .lopsp-floating-learning-clock span{font-size:10.5px!important;margin-bottom:3px!important;}
  body.lop-support-body .lopsp-floating-learning-clock em{font-size:10.8px!important;line-height:1.22!important;}
  body.lop-support-body .lopsp-floating-learning-clock.is-collapsed{
    right:9px!important;
    bottom:calc(88px + env(safe-area-inset-bottom, 0px))!important;
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    padding:0!important;
  }
}


/* v2.8.182 - Mobile Study/Quiz Flow Bubble: expanded rail docks to bottom without visual jump.
   CSS-only, scoped to lesson/quiz detail support pages; no learning, quiz, Streak or admin logic changes. */
@media(max-width:980px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-bottom:166px!important;
  }
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-has-side-flow .lop-study-lesson-flow-bubbles-v117,
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117{
    position:fixed!important;
    left:7px!important;
    right:7px!important;
    top:auto!important;
    bottom:calc(6px + env(safe-area-inset-bottom, 0px))!important;
    transform:none!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 14px)!important;
    height:auto!important;
    max-height:68px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    padding:5px!important;
    border-radius:20px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    box-sizing:border-box!important;
    z-index:99988!important;
    transition:box-shadow .16s ease, background .16s ease, border-color .16s ease!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles:not(.is-collapsed) .lop-study-flow-rail-title,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117:not(.is-collapsed) .lop-study-flow-rail-title{
    display:none!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a,
  body.lop-support-body .lop-study-lesson-flow-bubbles .lop-study-flow-note-btn,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 .lop-study-flow-note-btn{
    flex:0 0 auto!important;
    min-width:56px!important;
    min-height:48px!important;
    max-height:56px!important;
    padding:5px 6px!important;
    border-radius:15px!important;
    gap:2px!important;
    box-sizing:border-box!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a i,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a i,
  body.lop-support-body .lop-study-lesson-flow-bubbles .lop-study-flow-note-btn i,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 .lop-study-flow-note-btn i{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    border-radius:9px!important;
    font-size:11px!important;
    line-height:1!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a span,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a span,
  body.lop-support-body .lop-study-lesson-flow-bubbles .lop-study-flow-note-btn span,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 .lop-study-flow-note-btn span{
    font-size:10.4px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a small,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a small,
  body.lop-support-body .lop-study-lesson-flow-bubbles .lop-study-flow-note-btn small,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 .lop-study-flow-note-btn small{
    display:none!important;
  }
  body.lop-support-body .lop-study-flow-toggle{
    flex:0 0 auto!important;
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    min-height:48px!important;
    max-height:56px!important;
    padding:5px!important;
    border-radius:16px!important;
    gap:1px!important;
  }
  body.lop-support-body .lop-study-flow-toggle strong{
    font-size:10.3px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
  body.lop-support-body .lop-study-flow-toggle small,
  body.lop-support-body .lop-study-flow-toggle .lop-study-flow-toggle-icon{
    display:none!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    left:7px!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(6px + env(safe-area-inset-bottom, 0px))!important;
    transform:none!important;
    width:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    height:auto!important;
    max-height:58px!important;
    padding:0!important;
    border:0!important;
    border-radius:17px!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    overflow:visible!important;
    transition:box-shadow .16s ease, background .16s ease, border-color .16s ease!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed .lop-study-flow-toggle,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed .lop-study-flow-toggle{
    width:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    min-height:52px!important;
    border-radius:17px!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock{
    left:auto!important;
    right:9px!important;
    bottom:calc(88px + env(safe-area-inset-bottom, 0px))!important;
    z-index:99991!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock.is-collapsed{
    left:auto!important;
    right:9px!important;
    bottom:calc(88px + env(safe-area-inset-bottom, 0px))!important;
    z-index:99991!important;
  }
}
@media(max-width:520px){
  body.lop-support-body.lop-study-has-side-flow .lopsp-info-main,
  body.lop-support-body.lop-study-has-side-flow .lop-support-main{
    padding-bottom:168px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117{
    left:6px!important;
    right:6px!important;
    bottom:calc(5px + env(safe-area-inset-bottom, 0px))!important;
    max-width:calc(100vw - 12px)!important;
    max-height:66px!important;
    padding:5px!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles.is-collapsed,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117.is-collapsed{
    left:6px!important;
    bottom:calc(5px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.lop-support-body .lop-study-lesson-flow-bubbles a,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 a,
  body.lop-support-body .lop-study-lesson-flow-bubbles .lop-study-flow-note-btn,
  body.lop-support-body .lop-study-lesson-flow-bubbles-v117 .lop-study-flow-note-btn{
    min-width:52px!important;
    min-height:47px!important;
    padding:5px!important;
  }
  body.lop-support-body .lop-study-flow-toggle{
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    min-height:47px!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock{
    right:8px!important;
    bottom:calc(84px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.lop-support-body .lopsp-floating-learning-clock.is-collapsed{
    right:8px!important;
    bottom:calc(84px + env(safe-area-inset-bottom, 0px))!important;
  }
}


/* v2.8.183 - /lop regenerate remind link button contrast hardening.
   CSS only: keeps the existing remind-code regeneration logic untouched. */
body.lopsp-private-standalone-body .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning,
body.lopsp-private-standalone-body .lopsp-profile-page .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning,
body.lopsp-private-standalone-body .lopsp-panel .lopsp-regenerate-remind-form button.lopsp-public-btn.warning[type="submit"]{
  color:#ffffff!important;
  background:linear-gradient(135deg,#f97316,#ea580c)!important;
  border:1px solid #c2410c!important;
  box-shadow:0 14px 30px rgba(234,88,12,.22)!important;
  text-shadow:none!important;
  font-weight:950!important;
}
body.lopsp-private-standalone-body .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning:hover,
body.lopsp-private-standalone-body .lopsp-profile-page .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning:hover,
body.lopsp-private-standalone-body .lopsp-panel .lopsp-regenerate-remind-form button.lopsp-public-btn.warning[type="submit"]:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#ea580c,#c2410c)!important;
  border-color:#9a3412!important;
  box-shadow:0 18px 38px rgba(194,65,12,.28)!important;
  transform:translateY(-1px)!important;
}
body.lopsp-private-standalone-body .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning:focus-visible,
body.lopsp-private-standalone-body .lopsp-profile-page .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning:focus-visible,
body.lopsp-private-standalone-body .lopsp-panel .lopsp-regenerate-remind-form button.lopsp-public-btn.warning[type="submit"]:focus-visible{
  color:#ffffff!important;
  outline:3px solid rgba(249,115,22,.32)!important;
  outline-offset:3px!important;
}
body.lopsp-private-standalone-body .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning *,
body.lopsp-private-standalone-body .lopsp-profile-page .lopsp-parent-remind-actions .lopsp-regenerate-remind-form .lopsp-public-btn.warning *{
  color:inherit!important;
}

/* v2.8.193 - Mobile Streak calendar full-view protection */
@media(max-width:640px){
  body.lopsp-private-standalone-body #lop-streak-calendar-top,
  body.lopsp-private-standalone-body #lop-streak-calendar-top *{box-sizing:border-box!important;}
  body.lopsp-private-standalone-body #lop-streak-calendar-top.lopsp-streak-calendar-spotlight,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-spotlight{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-spotlight-head{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-section-divider-actions{
    width:100%!important;
    display:flex!important;
    justify-content:space-between!important;
    gap:8px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-box{
    width:100%!important;
    max-width:100%!important;
    padding:6px!important;
    border-radius:16px!important;
    overflow:visible!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-spacing:2px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar th,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar td,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table th,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table td{
    width:14.285%!important;
    min-width:0!important;
    max-width:14.285%!important;
    padding:0!important;
    text-align:center!important;
    overflow:hidden!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar th{
    font-size:10px!important;
    line-height:1!important;
    padding-bottom:4px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar td,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table td{
    height:31px!important;
    border-radius:9px!important;
    font-size:10px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar .num{
    display:block!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:950!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar .dot{
    display:block!important;
    font-size:8.5px!important;
    line-height:1!important;
    margin-top:1px!important;
    transform:scale(.96);
    transform-origin:center;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar-legend{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:5px 8px!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    margin-top:8px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar-legend b{
    width:9px!important;
    height:9px!important;
    border-radius:3px!important;
  }
}
@media(max-width:380px){
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar td,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table td{height:28px!important;border-radius:8px!important;}
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar .num{font-size:9.5px!important;}
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar .dot{font-size:7.5px!important;}
}

/* v2.8.195 - Student content feedback buttons and popup */
.lop-content-feedback-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(37,99,235,.18);background:linear-gradient(135deg,#eff6ff,#ffffff);color:#1d4ed8!important;border-radius:999px;padding:9px 12px;font-weight:900;font-size:13px;line-height:1;text-decoration:none;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.08);transition:.16s ease}.lop-content-feedback-btn:hover,.lop-content-feedback-btn:focus{background:#2563eb;color:#fff!important;border-color:#2563eb;transform:translateY(-1px);box-shadow:0 14px 28px rgba(37,99,235,.20)}.lop-content-feedback-btn.is-compact{padding:7px 10px;font-size:12px;margin-top:8px}.lop-content-feedback-btn span{font-size:15px}.lop-quiz-question-feedback-row{display:flex;justify-content:flex-end;margin:8px 0 0}.lop-study-unit-visual-card figcaption .lop-content-feedback-btn,.lop-study-look-say-card figcaption .lop-content-feedback-btn,.lop-study-unit-hero-card figcaption .lop-content-feedback-btn{align-self:flex-start}.lop-content-feedback-modal[hidden]{display:none!important}.lop-content-feedback-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px}.lop-content-feedback-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(6px)}.lop-content-feedback-dialog{position:relative;width:min(560px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;border-radius:26px;background:#fff;box-shadow:0 34px 90px rgba(15,23,42,.28);border:1px solid rgba(226,232,240,.9)}.lop-content-feedback-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 14px;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.lop-content-feedback-head span{display:block;color:#4f46e5;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.lop-content-feedback-head h2{margin:3px 0 5px!important;font-size:24px!important;color:#0f172a}.lop-content-feedback-head p{margin:0!important;color:#64748b;font-weight:700}.lop-content-feedback-head button{border:0;background:#fff;color:#0f172a;border-radius:999px;width:36px;height:36px;font-size:22px;font-weight:900;cursor:pointer;box-shadow:0 10px 20px rgba(15,23,42,.08)}.lop-content-feedback-dialog form{padding:18px 22px 22px;display:grid;gap:14px}.lop-content-feedback-dialog label{display:grid;gap:7px;color:#0f172a;font-weight:900}.lop-content-feedback-dialog select,.lop-content-feedback-dialog textarea{width:100%;border:1px solid rgba(148,163,184,.45);border-radius:16px;padding:12px 14px;font-size:15px;color:#0f172a;background:#fff;box-sizing:border-box}.lop-content-feedback-dialog textarea{resize:vertical;min-height:120px}.lop-content-feedback-status{padding:10px 12px;border-radius:14px;background:#f8fafc;color:#475569;font-weight:800}.lop-content-feedback-status.is-success{background:#ecfdf5;color:#047857}.lop-content-feedback-status.is-error{background:#fff1f2;color:#be123c}.lop-content-feedback-status.is-loading{background:#eff6ff;color:#1d4ed8}.lop-content-feedback-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.lop-content-feedback-actions button{border:0;border-radius:999px;padding:11px 16px;font-weight:900;cursor:pointer}.lop-content-feedback-actions .primary{background:#2563eb;color:#fff}.lop-content-feedback-actions .secondary{background:#e2e8f0;color:#0f172a}@media(max-width:640px){.lop-content-feedback-modal{align-items:end;padding:12px}.lop-content-feedback-dialog{width:100%;border-radius:22px 22px 16px 16px}.lop-content-feedback-head h2{font-size:20px!important}.lop-quiz-question-feedback-row{justify-content:flex-start}.lop-content-feedback-btn.is-compact{width:auto;max-width:100%}}


/* v2.8.198 - Compact content feedback button inside lesson unit hero/cards */
.lop-content-feedback-btn,
.lop-study-unit-hero-card figcaption .lop-content-feedback-btn,
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn,
.lop-study-look-say-card figcaption .lop-content-feedback-btn,
.lop-study-quiz-question .lop-content-feedback-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  min-width:0!important;
  max-width:max-content!important;
  min-height:0!important;
  height:auto!important;
  padding:8px 12px!important;
  margin-top:10px!important;
  border-radius:999px!important;
  border:1px solid rgba(79,70,229,.18)!important;
  background:linear-gradient(135deg,#eef2ff,#ffffff)!important;
  color:#3730a3!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(79,70,229,.10)!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.lop-content-feedback-btn:hover,
.lop-content-feedback-btn:focus,
.lop-study-unit-hero-card figcaption .lop-content-feedback-btn:hover,
.lop-study-unit-hero-card figcaption .lop-content-feedback-btn:focus,
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn:hover,
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn:focus,
.lop-study-look-say-card figcaption .lop-content-feedback-btn:hover,
.lop-study-look-say-card figcaption .lop-content-feedback-btn:focus,
.lop-study-quiz-question .lop-content-feedback-btn:hover,
.lop-study-quiz-question .lop-content-feedback-btn:focus{
  background:linear-gradient(135deg,#4f46e5,#2563eb)!important;
  border-color:#4f46e5!important;
  color:#ffffff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 14px 28px rgba(37,99,235,.20)!important;
}
.lop-content-feedback-btn > span,
.lop-study-unit-hero-card figcaption .lop-content-feedback-btn > span,
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn > span,
.lop-study-look-say-card figcaption .lop-content-feedback-btn > span,
.lop-study-quiz-question .lop-content-feedback-btn > span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  font-size:14px!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.lop-content-feedback-btn > strong,
.lop-study-unit-hero-card figcaption .lop-content-feedback-btn > strong,
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn > strong,
.lop-study-look-say-card figcaption .lop-content-feedback-btn > strong,
.lop-study-quiz-question .lop-content-feedback-btn > strong{
  display:inline!important;
  padding:0!important;
  margin:0!important;
  color:inherit!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.lop-study-unit-hero-card figcaption .lop-content-feedback-btn{margin-top:14px!important;}
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn.is-compact,
.lop-study-look-say-card figcaption .lop-content-feedback-btn.is-compact{padding:7px 10px!important;font-size:12.5px!important;}
.lop-study-unit-visual-card figcaption .lop-content-feedback-btn.is-compact > strong,
.lop-study-look-say-card figcaption .lop-content-feedback-btn.is-compact > strong{font-size:12.5px!important;}
@media(max-width:640px){
  .lop-study-unit-hero-card figcaption .lop-content-feedback-btn,
  .lop-study-unit-visual-card figcaption .lop-content-feedback-btn,
  .lop-study-look-say-card figcaption .lop-content-feedback-btn{
    margin-top:8px!important;
    padding:7px 10px!important;
    font-size:12.5px!important;
  }
}

/* v2.8.201 - /lop mobile no horizontal scroll hardening.
   CSS-only, scoped to the private /lop page; keeps LOP/Streak/Rescue/Report logic unchanged. */
@media(max-width:760px){
  html:has(body.lopsp-private-standalone-body),
  body.lopsp-private-standalone-body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
  }
  body.lopsp-private-standalone-body *,
  body.lopsp-private-standalone-body *:before,
  body.lopsp-private-standalone-body *:after{
    box-sizing:border-box!important;
  }
  body.lopsp-private-standalone-body .lopsp-wrap,
  body.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
  body.lopsp-private-standalone-body .lopsp-hero,
  body.lopsp-private-standalone-body .lopsp-banner,
  body.lopsp-private-standalone-body .lopsp-profilebar,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154,
  body.lopsp-private-standalone-body .lopsp-panel,
  body.lopsp-private-standalone-body .lopsp-info-section,
  body.lopsp-private-standalone-body .lopsp-report-panel,
  body.lopsp-private-standalone-body .lopsp-today-flow,
  body.lopsp-private-standalone-body .lopsp-streak-calendar-spotlight,
  body.lopsp-private-standalone-body .lopsp-main-grid,
  body.lopsp-private-standalone-body .lopsp-lop-insights-grid,
  body.lopsp-private-standalone-body .lopsp-grid-cards,
  body.lopsp-private-standalone-body .lopsp-task-cards,
  body.lopsp-private-standalone-body .lopsp-history-list,
  body.lopsp-private-standalone-body .lopsp-reward-track{
    max-width:100%!important;
    min-width:0!important;
  }
  body.lopsp-private-standalone-body .lopsp-wrap{
    width:100%!important;
    padding-left:6px!important;
    padding-right:6px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow-x:clip!important;
  }
  body.lopsp-private-standalone-body .lopsp-student-shared-topnav{
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100% - 8px)!important;
    max-width:calc(100% - 8px)!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.lopsp-private-standalone-body .lopsp-student-shared-topnav::-webkit-scrollbar{display:none!important;}
  body.lopsp-private-standalone-body .lopsp-profilebar-v154{
    width:100%!important;
    overflow:hidden!important;
    grid-template-columns:minmax(54px,64px) minmax(0,1fr)!important;
    column-gap:8px!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar-wrap,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-identity,
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-identity>*{
    min-width:0!important;
    max-width:100%!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow{
    display:flex!important;
    flex-wrap:wrap!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-minirow span{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    word-break:break-word!important;
  }
  body.lopsp-private-standalone-body .lopsp-plan-strip,
  body.lopsp-private-standalone-body .lopsp-public-profile-control,
  body.lopsp-private-standalone-body .lopsp-parent-remind-actions,
  body.lopsp-private-standalone-body .lopsp-public-actions,
  body.lopsp-private-standalone-body .lopsp-section-divider,
  body.lopsp-private-standalone-body .lopsp-panel-head,
  body.lopsp-private-standalone-body .lopsp-flow-head,
  body.lopsp-private-standalone-body .lopsp-report-actions{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex-wrap:wrap!important;
    overflow:hidden!important;
  }
  body.lopsp-private-standalone-body .lopsp-public-profile-control,
  body.lopsp-private-standalone-body .lopsp-parent-remind-actions,
  body.lopsp-private-standalone-body .lopsp-public-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  body.lopsp-private-standalone-body .lopsp-public-profile-control a,
  body.lopsp-private-standalone-body .lopsp-public-profile-control button,
  body.lopsp-private-standalone-body .lopsp-parent-remind-actions a,
  body.lopsp-private-standalone-body .lopsp-parent-remind-actions button,
  body.lopsp-private-standalone-body .lopsp-public-actions a,
  body.lopsp-private-standalone-body .lopsp-public-actions button,
  body.lopsp-private-standalone-body .lopsp-section-divider a,
  body.lopsp-private-standalone-body .lopsp-section-divider button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.lopsp-private-standalone-body .lopsp-public-url,
  body.lopsp-private-standalone-body .lopsp-public-url.muted,
  body.lopsp-private-standalone-body .lopsp-remind-code-pill,
  body.lopsp-private-standalone-body .lopsp-plan-text,
  body.lopsp-private-standalone-body .lopsp-card-sub,
  body.lopsp-private-standalone-body .lopsp-history-item,
  body.lopsp-private-standalone-body .lopsp-task-card,
  body.lopsp-private-standalone-body .lopsp-reminder-v160-item{
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  body.lopsp-private-standalone-body input,
  body.lopsp-private-standalone-body select,
  body.lopsp-private-standalone-body textarea,
  body.lopsp-private-standalone-body button,
  body.lopsp-private-standalone-body .lopsp-primary-soft,
  body.lopsp-private-standalone-body .lopsp-secondary-soft,
  body.lopsp-private-standalone-body .lopsp-public-btn,
  body.lopsp-private-standalone-body .lopsp-rescue-btn{
    max-width:100%!important;
  }
  body.lopsp-private-standalone-body .lopsp-grid-cards,
  body.lopsp-private-standalone-body .lopsp-grid-cards-v158,
  body.lopsp-private-standalone-body .lopsp-reminder-v160-grid,
  body.lopsp-private-standalone-body .lopsp-public-achievement-grid{
    grid-template-columns:1fr!important;
  }
  body.lopsp-private-standalone-body .lopsp-card,
  body.lopsp-private-standalone-body .lopsp-card-v158,
  body.lopsp-private-standalone-body .lopsp-reminder-v160-stat,
  body.lopsp-private-standalone-body .lopsp-public-achievement-card{
    min-width:0!important;
    width:100%!important;
  }
  body.lopsp-private-standalone-body .lopsp-flow-steps,
  body.lopsp-private-standalone-body .lopsp-rescue-mission-steps{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.lopsp-private-standalone-body .lopsp-flow-step,
  body.lopsp-private-standalone-body .lopsp-rescue-mission-step,
  body.lopsp-private-standalone-body .lopsp-rescue-mission-card,
  body.lopsp-private-standalone-body .lopsp-rescue-auto-intro{
    min-width:0!important;
    max-width:100%!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-box,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top{
    overflow:hidden!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-box{
    overflow:hidden!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table{
    table-layout:fixed!important;
    border-spacing:1px!important;
  }
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar th,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-calendar td,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table th,
  body.lopsp-private-standalone-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table td{
    min-width:0!important;
    max-width:14.285%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.lopsp-private-standalone-body .lopsp-floating-learning-clock{
    max-width:calc(100vw - 96px)!important;
  }
  body.lopsp-private-standalone-body .lopsp-lop-left-flow-bubbles:not(.is-collapsed){
    max-width:calc(100vw - 12px)!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
}
@media(max-width:380px){
  body.lopsp-private-standalone-body .lopsp-wrap{padding-left:4px!important;padding-right:4px!important;}
  body.lopsp-private-standalone-body .lopsp-panel,
  body.lopsp-private-standalone-body .lopsp-info-section,
  body.lopsp-private-standalone-body .lopsp-report-panel,
  body.lopsp-private-standalone-body .lopsp-today-flow,
  body.lopsp-private-standalone-body .lopsp-streak-calendar-spotlight{padding:10px!important;border-radius:16px!important;}
  body.lopsp-private-standalone-body .lopsp-profilebar-v154{grid-template-columns:56px minmax(0,1fr)!important;padding:9px!important;}
  body.lopsp-private-standalone-body .lopsp-profilebar-v154 .lopsp-avatar{width:56px!important;height:56px!important;}
}

/* v2.8.219 - /lop workflow zones by Flow Bubble steps. UI-only, keeps LOP/Streak/Report logic unchanged. */
body.lopsp-private-standalone-body{scroll-behavior:smooth;}
body.lopsp-private-standalone-body .lopsp-today-flow-v154{
  position:sticky!important;
  top:76px!important;
  z-index:30!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
body.lopsp-private-standalone-body .lopsp-today-flow-v154 .lopsp-flow-steps{
  grid-template-columns:repeat(6,minmax(150px,1fr))!important;
  align-items:stretch!important;
}
body.lopsp-private-standalone-body .lopsp-flow-step{
  min-height:116px!important;
  border-radius:24px!important;
}
body.lopsp-private-standalone-body .lopsp-flow-step:focus-visible,
body.lopsp-private-standalone-body .lopsp-flow-bubble:focus-visible{
  outline:4px solid rgba(37,99,235,.20)!important;
  outline-offset:3px!important;
}
body.lopsp-private-standalone-body .lopsp-workflow-section{
  display:block!important;
  margin:18px 0!important;
}
body.lopsp-private-standalone-body .lopsp-workflow-panel{
  padding:22px!important;
  border-radius:32px!important;
  border:1px solid rgba(148,163,184,.20)!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 24px 66px rgba(15,23,42,.08)!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone{
  position:relative!important;
  overflow:hidden!important;
  border-radius:30px!important;
  padding:22px!important;
  margin:18px 0!important;
  border:1px solid rgba(148,163,184,.22)!important;
  box-shadow:0 20px 58px rgba(15,23,42,.075)!important;
  scroll-margin-top:170px!important;
  isolation:isolate!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone:before{
  content:"";
  position:absolute;
  inset:-120px -90px auto auto;
  width:260px;
  height:260px;
  border-radius:999px;
  opacity:.28;
  pointer-events:none;
  z-index:-1;
}
body.lopsp-private-standalone-body .lopsp-flow-zone:after{
  content:"";
  position:absolute;
  left:26px;
  top:88px;
  bottom:22px;
  width:4px;
  border-radius:999px;
  opacity:.45;
  pointer-events:none;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-1{background:linear-gradient(135deg,#fff7ed 0%,#ffffff 56%,#fffaf5 100%)!important;border-color:#fed7aa!important;}
body.lopsp-private-standalone-body .lopsp-flow-zone-1:before{background:radial-gradient(circle,#fb923c 0%,rgba(251,146,60,0) 68%);}
body.lopsp-private-standalone-body .lopsp-flow-zone-1:after{background:#fb923c;}
body.lopsp-private-standalone-body .lopsp-flow-zone-2{background:linear-gradient(135deg,#ecfeff 0%,#ffffff 56%,#f0fdfa 100%)!important;border-color:#a5f3fc!important;}
body.lopsp-private-standalone-body .lopsp-flow-zone-2:before{background:radial-gradient(circle,#06b6d4 0%,rgba(6,182,212,0) 68%);}
body.lopsp-private-standalone-body .lopsp-flow-zone-2:after{background:#06b6d4;}
body.lopsp-private-standalone-body .lopsp-flow-zone-3{background:linear-gradient(135deg,#eff6ff 0%,#ffffff 56%,#f8fbff 100%)!important;border-color:#bfdbfe!important;}
body.lopsp-private-standalone-body .lopsp-flow-zone-3:before{background:radial-gradient(circle,#2563eb 0%,rgba(37,99,235,0) 68%);}
body.lopsp-private-standalone-body .lopsp-flow-zone-3:after{background:#2563eb;}
body.lopsp-private-standalone-body .lopsp-flow-zone-4{background:linear-gradient(135deg,#f5f3ff 0%,#ffffff 56%,#fff7ed 100%)!important;border-color:#ddd6fe!important;}
body.lopsp-private-standalone-body .lopsp-flow-zone-4:before{background:radial-gradient(circle,#7c3aed 0%,rgba(124,58,237,0) 68%);}
body.lopsp-private-standalone-body .lopsp-flow-zone-4:after{background:#7c3aed;}
body.lopsp-private-standalone-body .lopsp-flow-zone-5{background:linear-gradient(135deg,#fff1f2 0%,#ffffff 56%,#fff7ed 100%)!important;border-color:#fecdd3!important;}
body.lopsp-private-standalone-body .lopsp-flow-zone-5:before{background:radial-gradient(circle,#f43f5e 0%,rgba(244,63,94,0) 68%);}
body.lopsp-private-standalone-body .lopsp-flow-zone-5:after{background:#f43f5e;}
body.lopsp-private-standalone-body .lopsp-flow-zone-6{background:linear-gradient(135deg,#fdf2f8 0%,#ffffff 56%,#fef3c7 100%)!important;border-color:#fbcfe8!important;}
body.lopsp-private-standalone-body .lopsp-flow-zone-6:before{background:radial-gradient(circle,#ec4899 0%,rgba(236,72,153,0) 68%);}
body.lopsp-private-standalone-body .lopsp-flow-zone-6:after{background:#ec4899;}
body.lopsp-private-standalone-body .lopsp-flow-zone-head{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin:0 0 16px;
  padding:14px;
  border-radius:24px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(255,255,255,.86);
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}
body.lopsp-private-standalone-body .lopsp-flow-zone-num{
  width:56px;
  height:56px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:1000;
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  box-shadow:0 16px 30px rgba(37,99,235,.22);
}
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-priority .lopsp-flow-zone-num{background:linear-gradient(135deg,#f97316,#facc15);}
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-ready .lopsp-flow-zone-num{background:linear-gradient(135deg,#06b6d4,#22c55e);}
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-done .lopsp-flow-zone-num{background:linear-gradient(135deg,#16a34a,#84cc16);}
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-report .lopsp-flow-zone-num{background:linear-gradient(135deg,#7c3aed,#f97316);}
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-parent .lopsp-flow-zone-num{background:linear-gradient(135deg,#ec4899,#f97316);}
body.lopsp-private-standalone-body .lopsp-flow-zone-copy span{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  border-radius:999px;
  padding:4px 9px;
  background:#eef4ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.04em;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-copy h3{
  margin:7px 0 3px!important;
  font-size:clamp(20px,2.4vw,28px)!important;
  color:#0f172a!important;
  line-height:1.14!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-copy p{
  margin:0!important;
  color:#64748b!important;
  line-height:1.55!important;
  font-weight:750!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-status{
  justify-self:end;
  border-radius:999px;
  padding:9px 13px;
  background:#0f172a;
  color:#fff;
  font-size:12px;
  font-weight:1000;
  white-space:nowrap;
  box-shadow:0 12px 26px rgba(15,23,42,.16);
}
body.lopsp-private-standalone-body .lopsp-flow-zone-empty{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.74);
  border:1px dashed rgba(37,99,235,.24);
  color:#334155;
  font-weight:850;
}
body.lopsp-private-standalone-body .lopsp-report-lop-grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);
  gap:16px;
  align-items:stretch;
}
body.lopsp-private-standalone-body .lopsp-report-lop-copy,
body.lopsp-private-standalone-body .lopsp-report-lop-action{
  border-radius:22px;
  padding:18px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(221,214,254,.8);
  box-shadow:0 14px 30px rgba(124,58,237,.08);
}
body.lopsp-private-standalone-body .lopsp-report-lop-copy h3{margin:0 0 8px;color:#111d4a;font-size:22px;}
body.lopsp-private-standalone-body .lopsp-report-lop-copy p{margin:0;color:#64748b;line-height:1.6;font-weight:740;}
body.lopsp-private-standalone-body .lopsp-report-lop-tips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
body.lopsp-private-standalone-body .lopsp-report-lop-tips span{border-radius:999px;padding:7px 10px;background:#ede9fe;color:#5b21b6;font-weight:900;font-size:12px;}
body.lopsp-private-standalone-body .lopsp-report-lop-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;}
body.lopsp-private-standalone-body .lopsp-report-lop-action .lopsp-primary-soft{font-size:16px!important;padding:14px 18px!important;}
body.lopsp-private-standalone-body .lopsp-report-lop-action small{color:#64748b;font-weight:760;line-height:1.45;}
@media(max-width:1180px){
  body.lopsp-private-standalone-body .lopsp-today-flow-v154 .lopsp-flow-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  body.lopsp-private-standalone-body .lopsp-today-flow-v154{position:relative!important;top:auto!important;}
  body.lopsp-private-standalone-body .lopsp-today-flow-v154 .lopsp-flow-steps{grid-template-columns:1fr!important;}
  body.lopsp-private-standalone-body .lopsp-flow-zone{padding:14px!important;border-radius:22px!important;scroll-margin-top:20px!important;}
  body.lopsp-private-standalone-body .lopsp-flow-zone:after{display:none;}
  body.lopsp-private-standalone-body .lopsp-flow-zone-head{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;border-radius:18px;}
  body.lopsp-private-standalone-body .lopsp-flow-zone-status{grid-column:1/-1;justify-self:start;white-space:normal;}
  body.lopsp-private-standalone-body .lopsp-flow-zone-num{width:46px;height:46px;border-radius:16px;font-size:20px;}
  body.lopsp-private-standalone-body .lopsp-report-lop-grid{grid-template-columns:1fr;}
}

/* v2.8.220 - /lop keep only the existing left Flow Bubble rail and add Step 7 History. UI-only. */
body.lopsp-private-standalone-body .lopsp-today-flow-v154{
  position:relative!important;
  top:auto!important;
  z-index:auto!important;
}
body.lopsp-private-standalone-body .lopsp-today-flow-v154 .lopsp-flow-head,
body.lopsp-private-standalone-body .lopsp-today-flow-v154 .lopsp-flow-steps{
  display:none!important;
}
body.lopsp-private-standalone-body .lopsp-lop-left-flow-bubbles .lopsp-flow-bubble.is-history b{
  background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;
  color:#fff!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-7{
  background:linear-gradient(135deg,#f0f9ff 0%,#ffffff 56%,#eef2ff 100%)!important;
  border-color:#bae6fd!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-7:before{
  background:radial-gradient(circle,#0ea5e9 0%,rgba(14,165,233,0) 68%);
}
body.lopsp-private-standalone-body .lopsp-flow-zone-7:after{
  background:#0ea5e9;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-history .lopsp-flow-zone-num{
  background:linear-gradient(135deg,#0ea5e9,#2563eb);
}

/* v2.8.221 - /lop workflow: remove left vertical guide lines from Flow Bubble rail and step frames. UI-only. */
body.lopsp-private-standalone-body .lopsp-lop-left-flow-bubbles:before,
body.lopsp-private-standalone-body .lopsp-flow-zone:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-1:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-2:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-3:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-4:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-5:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-6:after,
body.lopsp-private-standalone-body .lopsp-flow-zone-7:after{
  display:none!important;
  content:none!important;
  background:none!important;
  width:0!important;
}

/* v2.8.223 - Study hub hero stats; remove duplicated choice cards below hero. */
.lop-study-hub-hero .lop-study-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:620px;
  margin:18px 0 16px;
}
.lop-study-hub-hero .lop-study-hero-stat{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:70px;
  padding:12px 14px;
  border-radius:24px;
  text-decoration:none!important;
  border:1px solid rgba(37,99,235,.16);
  background:rgba(255,255,255,.78);
  box-shadow:0 16px 36px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.88);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lop-study-hub-hero .lop-study-hero-stat:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 44px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.95);
  border-color:rgba(37,99,235,.34);
}
.lop-study-hub-hero .lop-study-hero-stat b{
  font-size:clamp(24px,3.5vw,36px);
  line-height:1;
  color:#1d4ed8;
  letter-spacing:-.04em;
}
.lop-study-hub-hero .lop-study-hero-stat span{
  font-size:13px;
  font-weight:950;
  line-height:1.25;
  color:#475569;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.lop-study-hub-hero .lop-study-hero-stat.is-quiz{
  border-color:rgba(124,58,237,.18);
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(245,243,255,.82));
}
.lop-study-hub-hero .lop-study-hero-stat.is-quiz b{color:#6d28d9;}
.lop-study-hub-hero .lop-study-hero-stat.is-topic{
  border-color:rgba(20,184,166,.20);
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(236,254,255,.82));
}
.lop-study-hub-hero .lop-study-hero-stat.is-topic b{color:#0f766e;}
.lop-study-hub-hero .lop-study-hero-count-badges span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.lop-study-hub-hero .lop-study-hero-count-badges strong{
  font-size:15px;
  color:#1d4ed8;
}
@media(max-width:760px){
  .lop-study-hub-hero .lop-study-hero-stats{grid-template-columns:1fr;gap:10px;margin:14px 0;}
  .lop-study-hub-hero .lop-study-hero-stat{justify-content:flex-start;min-height:58px;border-radius:20px;}
}

/* v2.8.225 - Normalize /bai-hoc and /quiz detail headers into compact numbered workflow parts. */
body.lop-support-body .lop-study-lesson-detail,
body.lop-support-body .lop-study-quiz-detail{
  --lop-detail-title: clamp(19px,2vw,21px);
  --lop-detail-section-title: clamp(18px,1.8vw,20px);
  --lop-detail-copy: 15.5px;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-lesson-hero h1,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-hero h1{
  font-size:var(--lop-detail-title)!important;
  line-height:1.32!important;
  letter-spacing:-.012em!important;
  margin:8px 0 8px!important;
  font-weight:900!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-content h2,
body.lop-support-body .lop-study-lesson-detail .lop-study-quiz h2,
body.lop-support-body .lop-study-lesson-detail .lop-study-report-box h2,
body.lop-support-body .lop-study-quiz-detail .lop-study-content h2,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz h2,
body.lop-support-body .lop-study-quiz-detail .lop-study-report-box h2,
body.lop-support-body .lop-study-quiz-detail .lop-study-workflow-head h2{
  font-size:var(--lop-detail-section-title)!important;
  line-height:1.32!important;
  letter-spacing:-.01em!important;
  font-weight:880!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-lesson-hero p,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-hero p,
body.lop-support-body .lop-study-lesson-detail .lop-study-content p,
body.lop-support-body .lop-study-lesson-detail .lop-study-content li,
body.lop-support-body .lop-study-quiz-detail .lop-study-content p,
body.lop-support-body .lop-study-quiz-detail .lop-study-content li{
  font-size:var(--lop-detail-copy)!important;
}
body.lop-support-body .lop-study-detail-part-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:20px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(191,219,254,.72);
  box-shadow:0 12px 26px rgba(15,23,42,.055);
}
body.lop-support-body .lop-study-detail-part-no{
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:17px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#2563eb,#22c55e);
  color:#fff;
  box-shadow:0 14px 28px rgba(37,99,235,.20);
  position:relative;
}
body.lop-support-body .lop-study-detail-part-no i{
  font-style:normal;
  font-size:20px;
  font-weight:950;
  line-height:1;
}
body.lop-support-body .lop-study-detail-part-no b{
  position:absolute;
  right:-7px;
  bottom:-7px;
  width:23px;
  height:23px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid rgba(191,219,254,.9);
  color:#0f172a;
  font-size:13px;
  line-height:1;
}
body.lop-support-body .lop-study-detail-part-copy em{
  display:inline-flex;
  margin:0 0 3px;
  padding:4px 9px;
  border-radius:999px;
  background:#eef2ff;
  color:#4338ca;
  font-size:11px;
  font-weight:950;
  font-style:normal;
  text-transform:uppercase;
  letter-spacing:.035em;
}
body.lop-support-body .lop-study-detail-part-copy h2{
  margin:0!important;
  color:#0f172a!important;
  font-size:var(--lop-detail-section-title)!important;
  line-height:1.28!important;
}
body.lop-support-body .lop-study-detail-part-copy p{
  margin:5px 0 0!important;
  color:#64748b!important;
  font-size:14.5px!important;
  line-height:1.55!important;
}
body.lop-support-body #lop-lesson-start,
body.lop-support-body #lop-quiz-start{
  background:radial-gradient(circle at top right,rgba(96,165,250,.18),transparent 44%),linear-gradient(135deg,#ffffff,#eff6ff)!important;
  border-color:#bfdbfe!important;
}
body.lop-support-body #lop-lesson-study-start{
  padding:clamp(14px,2.2vw,22px)!important;
  border-radius:24px!important;
  background:radial-gradient(circle at bottom right,rgba(34,197,94,.14),transparent 44%),linear-gradient(135deg,#ffffff,#f0fdf4)!important;
  border:1px solid #bbf7d0!important;
  box-shadow:0 20px 48px rgba(15,23,42,.06)!important;
}
body.lop-support-body #lop-quiz-prepare,
body.lop-support-body .lop-study-quiz-source-card{
  background:radial-gradient(circle at top right,rgba(14,165,233,.12),transparent 42%),linear-gradient(135deg,#ffffff,#ecfeff)!important;
  border-color:#a5f3fc!important;
}
body.lop-support-body #lop-lesson-quiz{
  background:radial-gradient(circle at top right,rgba(124,58,237,.14),transparent 42%),linear-gradient(135deg,#ffffff,#f5f3ff)!important;
  border-color:#ddd6fe!important;
}
body.lop-support-body #lop-lesson-complete,
body.lop-support-body #lop-quiz-complete{
  background:radial-gradient(circle at top right,rgba(245,158,11,.15),transparent 44%),linear-gradient(135deg,#ffffff,#fffbeb)!important;
  border-color:#fde68a!important;
}
body.lop-support-body #lop-lesson-start .lop-study-detail-part-no,
body.lop-support-body #lop-quiz-start .lop-study-detail-part-no{background:linear-gradient(135deg,#2563eb,#06b6d4);}
body.lop-support-body #lop-lesson-study-start .lop-study-detail-part-no{background:linear-gradient(135deg,#16a34a,#22c55e);}
body.lop-support-body #lop-lesson-quiz .lop-study-detail-part-no{background:linear-gradient(135deg,#7c3aed,#4f46e5);}
body.lop-support-body #lop-lesson-complete .lop-study-detail-part-no,
body.lop-support-body #lop-quiz-complete .lop-study-detail-part-no{background:linear-gradient(135deg,#f59e0b,#ef4444);}
body.lop-support-body .lop-study-lesson-detail .lop-study-lesson-flow-steps-inline,
body.lop-support-body .lop-study-quiz-detail .lop-study-lesson-flow-steps-inline{gap:10px!important;}
body.lop-support-body .lop-study-lesson-detail .lop-study-lesson-flow-step-card strong,
body.lop-support-body .lop-study-quiz-detail .lop-study-lesson-flow-step-card strong{font-size:15px!important;}
body.lop-support-body .lop-study-lesson-detail .lop-study-lesson-flow-step-card small,
body.lop-support-body .lop-study-quiz-detail .lop-study-lesson-flow-step-card small{font-size:12.5px!important;line-height:1.45!important;}
@media(max-width:640px){
  body.lop-support-body .lop-study-detail-part-head{padding:10px!important;border-radius:17px!important;gap:9px!important;}
  body.lop-support-body .lop-study-detail-part-no{width:42px;height:42px;border-radius:15px;}
  body.lop-support-body .lop-study-detail-part-no i{font-size:18px;}
  body.lop-support-body .lop-study-detail-part-copy em{font-size:10px;}
  body.lop-support-body .lop-study-detail-part-copy p{font-size:13.5px!important;}
}

/* v2.8.227 - Move lesson objective into Flow step 1 and avoid duplicate objective block below workflow cards. */
body.lop-support-body .lop-study-step-one-goal-note{
  margin:14px 0 0!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#ffffff,#eff6ff 58%,#ecfeff)!important;
  border:1px solid rgba(147,197,253,.82)!important;
  box-shadow:0 14px 30px rgba(37,99,235,.08)!important;
  max-width:min(100%,880px)!important;
}
body.lop-support-body .lop-study-step-one-goal-note > strong{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 8px!important;
  color:#1e3a8a!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:950!important;
}
body.lop-support-body .lop-study-step-one-goal-note p,
body.lop-support-body .lop-study-step-one-goal-note li{
  margin-top:0!important;
  color:#334155!important;
  font-size:15px!important;
  line-height:1.62!important;
  font-weight:650!important;
}
body.lop-support-body .lop-study-step-one-goal-note ul,
body.lop-support-body .lop-study-step-one-goal-note ol{
  margin:6px 0 0 19px!important;
  padding:0!important;
}
body.lop-support-body .lop-study-step-one-goal-note .lop-study-objectives{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.lop-support-body .lop-study-step-one-goal-note h2,
body.lop-support-body .lop-study-step-one-goal-note h3{
  display:none!important;
}
body.lop-support-body .lop-study-lesson-flow-order-v120{
  gap:0!important;
}

/* v2.8.228 - Lesson detail desktop content width polish
   Expand /bai-hoc reading canvas closer to the left Flow Bubble while keeping safe page gutters. */
@media (min-width: 981px){
  .lop-study-lesson-detail:not(.lop-study-quiz-detail){
    max-width:min(1180px, calc(100vw - 180px))!important;
  }
}
@media (min-width: 1320px){
  .lop-study-lesson-detail:not(.lop-study-quiz-detail){
    max-width:min(1220px, calc(100vw - 190px))!important;
  }
}

/* v2.8.230 - Clean up /quiz Flow Step 2 presentation.
   Keep quiz logic unchanged, only normalize the learning instructions and source content layout. */
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean{
  padding:clamp(14px,2.2vw,22px)!important;
  border-radius:24px!important;
  background:radial-gradient(circle at top right,rgba(14,165,233,.12),transparent 44%),linear-gradient(135deg,#ffffff,#ecfeff)!important;
  border:1px solid #a5f3fc!important;
  box-shadow:0 20px 48px rgba(14,165,233,.075)!important;
}
body.lop-support-body .lop-study-quiz-step2-panel{
  display:grid!important;
  grid-template-columns:minmax(280px,.72fr) minmax(320px,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
body.lop-support-body .lop-study-quiz-step2-card{
  min-width:0!important;
  height:100%!important;
  padding:18px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(165,243,252,.92)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.055)!important;
}
body.lop-support-body .lop-study-quiz-step2-card.is-method{
  background:linear-gradient(135deg,#ffffff,#f8fafc 58%,#eef2ff)!important;
  border-color:rgba(199,210,254,.88)!important;
}
body.lop-support-body .lop-study-quiz-step2-card.is-source{
  background:linear-gradient(135deg,#ffffff,#f0fdfa 62%,#ecfeff)!important;
}
body.lop-support-body .lop-study-quiz-step2-card-head{
  margin:0 0 14px!important;
}
body.lop-support-body .lop-study-quiz-step2-card-head h3{
  margin:8px 0 6px!important;
  color:#0f172a!important;
  font-size:clamp(18px,1.8vw,20px)!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
body.lop-support-body .lop-study-quiz-step2-card-head p{
  margin:0!important;
  color:#64748b!important;
  font-size:14.5px!important;
  line-height:1.6!important;
  font-weight:650!important;
}
body.lop-support-body .lop-study-quiz-step2-list{
  display:grid!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  counter-reset:quizStep2!important;
}
body.lop-support-body .lop-study-quiz-step2-list li{
  counter-increment:quizStep2!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  column-gap:10px!important;
  align-items:start!important;
  padding:12px!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(226,232,240,.9)!important;
}
body.lop-support-body .lop-study-quiz-step2-list li:before{
  content:counter(quizStep2)!important;
  width:30px!important;
  height:30px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#4f46e5,#06b6d4)!important;
  color:#fff!important;
  font-weight:950!important;
  font-size:14px!important;
  box-shadow:0 10px 18px rgba(79,70,229,.18)!important;
}
body.lop-support-body .lop-study-quiz-step2-list strong{
  display:block!important;
  color:#0f172a!important;
  font-size:14.5px!important;
  line-height:1.35!important;
  font-weight:900!important;
}
body.lop-support-body .lop-study-quiz-step2-list span{
  display:block!important;
  margin-top:3px!important;
  color:#64748b!important;
  font-size:13.5px!important;
  line-height:1.55!important;
  font-weight:650!important;
}
body.lop-support-body .lop-study-quiz-step2-source-card .lop-study-quiz-source-content{
  margin-top:12px!important;
  padding:16px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
body.lop-support-body .lop-study-quiz-step2-source-card .lop-study-quiz-source-content h1,
body.lop-support-body .lop-study-quiz-step2-source-card .lop-study-quiz-source-content h2,
body.lop-support-body .lop-study-quiz-step2-source-card .lop-study-quiz-source-content h3{
  margin-top:0!important;
  font-size:clamp(17px,1.7vw,19px)!important;
  line-height:1.35!important;
}
body.lop-support-body .lop-study-quiz-step2-source-card .lop-study-quiz-source-content p,
body.lop-support-body .lop-study-quiz-step2-source-card .lop-study-quiz-source-content li{
  font-size:15px!important;
  line-height:1.65!important;
  color:#334155!important;
}
@media(max-width:900px){
  body.lop-support-body .lop-study-quiz-step2-panel{grid-template-columns:1fr!important;}
  body.lop-support-body .lop-study-quiz-step2-card{height:auto!important;padding:15px!important;border-radius:20px!important;}
}


/* v2.8.231 - /quiz Step 2 one-column workflow reading layout.
   This is UI-only: keep source content, quiz checking, completion and LOP reporting logic unchanged. */
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-panel{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  align-items:stretch!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-card{
  height:auto!important;
  width:100%!important;
  max-width:100%!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-card-head{
  max-width:980px!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-list{
  grid-template-columns:1fr!important;
  max-width:980px!important;
}
@media (min-width: 981px){
  body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-list li{
    grid-template-columns:42px minmax(0,1fr)!important;
    padding:14px 16px!important;
  }
  body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-list li:before{
    width:34px!important;
    height:34px!important;
  }
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-source-content{
  max-width:100%!important;
}


/* v2.8.232 - /quiz Step 2 list text uses full content width.
   Fixes the instruction detail wrapping into a narrow numbered column; UI-only, no quiz logic changes. */
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-list li{
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-auto-flow:row!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-list strong,
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-list span{
  grid-column:2 / -1!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}


/* v2.8.233 - /quiz Step 2 method list simplified with outline icons.
   Remove per-item numbering to avoid confusion with the main quiz workflow steps; UI-only. */
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-iconlist{
  display:grid!important;
  gap:10px!important;
  max-width:980px!important;
  margin:0!important;
  padding:0!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-iconitem{
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  padding:13px 15px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.84)!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:0 10px 22px rgba(15,23,42,.045)!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-outline-icon{
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  border:2px solid rgba(79,70,229,.38)!important;
  color:#4f46e5!important;
  font-size:16px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:0 8px 18px rgba(79,70,229,.10)!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-iconitem strong{
  display:block!important;
  margin:1px 0 3px!important;
  color:#0f172a!important;
  font-size:clamp(15px,1.45vw,17px)!important;
  line-height:1.35!important;
  font-weight:900!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-quiz-prepare.lop-study-quiz-step2-clean .lop-study-quiz-step2-iconitem p{
  margin:0!important;
  color:#64748b!important;
  font-size:14.5px!important;
  line-height:1.6!important;
  font-weight:650!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}

/* v2.8.234 - Quiz Step 2: keep source content compact after removing repeated heading copy. */
body.lop-support-body .lop-study-quiz-step2-card-head-compact{
  margin:0 0 12px!important;
}
body.lop-support-body .lop-study-quiz-step2-card-head-compact .lopsp-kicker{
  margin-bottom:0!important;
}

/* v2.8.241 - Quiz detail cover image belongs to Step 1 goal, not source content */
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-hero.has-cover-image{
  grid-template-columns:minmax(0,1.1fr) minmax(260px,420px)!important;
  align-items:stretch!important;
  gap:24px!important;
}
body.lop-support-body .lop-study-quiz-hero-cover{
  margin:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  border:1px solid rgba(219,234,254,.95)!important;
  background:linear-gradient(135deg,#eff6ff,#fff7ed)!important;
  box-shadow:0 22px 54px rgba(15,23,42,.13)!important;
  min-height:260px!important;
  display:flex!important;
  flex-direction:column!important;
}
body.lop-support-body .lop-study-quiz-hero-cover img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:240px!important;
  object-fit:cover!important;
  flex:1 1 auto!important;
}
body.lop-support-body .lop-study-quiz-hero-cover figcaption{
  padding:10px 14px!important;
  font-size:12px!important;
  font-weight:900!important;
  color:#1e3a8a!important;
  background:rgba(255,255,255,.9)!important;
  border-top:1px solid rgba(219,234,254,.9)!important;
}
@media(max-width:900px){
  body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-hero.has-cover-image{grid-template-columns:1fr!important;}
  body.lop-support-body .lop-study-quiz-hero-cover{min-height:auto!important;}
  body.lop-support-body .lop-study-quiz-hero-cover img{min-height:auto!important;max-height:360px!important;}
}

/* v2.8.243 - Quiz option letters and option explanation list */
body.lop-support-body .lop-study-quiz-options label{align-items:flex-start!important;gap:10px!important}
body.lop-support-body .lop-study-quiz-options label .lop-quiz-option-letter{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:1000;border:1px solid #c7d2fe;line-height:1;margin-right:2px}
body.lop-support-body .lop-study-quiz-options label .lop-quiz-option-text{min-width:0;line-height:1.45;padding-top:5px}
body.lop-support-body .lop-quiz-option-explain-list{margin:10px 0 0;padding-left:20px;color:#475569;line-height:1.55}
body.lop-support-body .lop-quiz-option-explain-list b{color:#172554}

/* v2.8.248 - Stabilize frontend Quiz question layout and option alignment.
   UI-only: no scoring, shuffle, completion, Báo LOP or Streak logic changed. */
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-runner{
  gap:18px!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question{
  display:block!important;
  min-inline-size:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  position:relative!important;
  border-radius:24px!important;
  border:1px solid rgba(124,58,237,.16)!important;
  background:linear-gradient(180deg,#ffffff,#fbfffb)!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend{
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
  float:left!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:18px 20px!important;
  border-bottom:1px solid rgba(124,58,237,.12)!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
  color:#0f172a!important;
  font-size:clamp(18px,2vw,22px)!important;
  line-height:1.38!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend span{
  flex:0 0 auto!important;
  margin:0!important;
  transform:none!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend + *{
  clear:both!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-context-card{
  clear:both!important;
  margin:18px 20px 16px!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-feedback-row{
  clear:both!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  margin:0!important;
  padding:0 20px 14px!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options{
  clear:both!important;
  display:grid!important;
  gap:12px!important;
  margin:0!important;
  padding:0 20px 20px!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label{
  display:grid!important;
  grid-template-columns:20px 44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-height:64px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:13px 16px!important;
  border-radius:18px!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label input[type="radio"]{
  grid-column:1!important;
  align-self:center!important;
  justify-self:center!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  flex:none!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-letter{
  grid-column:2!important;
  align-self:center!important;
  justify-self:center!important;
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-text{
  grid-column:3!important;
  align-self:center!important;
  min-width:0!important;
  width:100%!important;
  padding-top:0!important;
  line-height:1.5!important;
  overflow-wrap:anywhere!important;
}
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-feedback{
  clear:both!important;
  margin:0 20px 20px!important;
  box-sizing:border-box!important;
}
@media(max-width:640px){
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend{padding:14px 15px!important;gap:8px!important;font-size:17px!important;}
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-context-card{margin:14px 14px 12px!important;}
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-feedback-row{padding:0 14px 12px!important;justify-content:flex-start!important;}
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options{padding:0 14px 16px!important;gap:10px!important;}
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label{grid-template-columns:18px 38px minmax(0,1fr)!important;gap:9px!important;padding:12px!important;min-height:58px!important;}
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-letter{width:36px!important;min-width:36px!important;height:36px!important;}
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-feedback{margin:0 14px 16px!important;}
}

/* v2.8.260 - Unit content inline TTS button */
.lop-study-content .lop-study-tts-button,
.lop-study-lesson-detail .lop-study-tts-button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:max-content;
  border:0;
  border-radius:999px;
  background:#4f6df5;
  color:#fff;
  padding:9px 14px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(79,109,245,.18);
}
.lop-study-content .lop-study-tts-button:hover,
.lop-study-lesson-detail .lop-study-tts-button:hover{
  transform:translateY(-1px);
}

/* v2.8.277 - Unified main navigation with level-2 Support menu */
.lopsp-site-header-v277{
  align-items:center!important;
}
.lopsp-main-nav{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
}
.lopsp-main-nav a,
.lopsp-main-nav .lopsp-nav-dropdown-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:36px!important;
  border-radius:999px!important;
  border:1px solid transparent!important;
  padding:9px 12px!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease!important;
}
.lopsp-main-nav .lopsp-nav-dropdown-toggle{
  font-family:inherit!important;
  background:#f8fafc!important;
  color:#334155!important;
}
.lopsp-main-nav a:hover,
.lopsp-main-nav a.active,
.lopsp-main-nav .lopsp-nav-dropdown:hover .lopsp-nav-dropdown-toggle,
.lopsp-main-nav .lopsp-nav-dropdown.active .lopsp-nav-dropdown-toggle,
.lopsp-main-nav .lopsp-nav-dropdown.is-open .lopsp-nav-dropdown-toggle,
.lopsp-main-nav .lopsp-nav-dropdown:focus-within .lopsp-nav-dropdown-toggle{
  background:#eef4ff!important;
  color:#1d4ed8!important;
  border-color:#dbeafe!important;
  transform:translateY(-1px);
}
.lopsp-main-nav .lopsp-nav-study-main,
.lopsp-main-nav .lopsp-topnav-study-main{
  background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;
  border-color:#bfdbfe!important;
  color:#1e3a8a!important;
  box-shadow:0 10px 22px rgba(37,99,235,.10)!important;
}
.lopsp-main-nav .lopsp-nav-study-main:hover,
.lopsp-main-nav .lopsp-topnav-study-main:hover,
.lopsp-main-nav .lopsp-nav-study-main.active,
.lopsp-main-nav .lopsp-topnav-study-main.active{
  background:linear-gradient(135deg,#2563eb,#06b6d4)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(37,99,235,.24)!important;
}
.lopsp-main-nav .lopsp-user-lop-link{
  max-width:210px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#eff6ff,#f8fbff)!important;
  color:#1e3a8a!important;
  box-shadow:0 8px 18px rgba(37,99,235,.08)!important;
}
.lopsp-main-nav .lopsp-user-lop-prefix{font-weight:950!important;color:#2563eb!important;flex:0 0 auto!important;}
.lopsp-main-nav .lopsp-user-lop-name{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.lopsp-main-nav .lopsp-nav-logout-action,
.lopsp-main-nav .lopsp-topnav-logout{
  min-width:86px!important;
  background:#fff7f7!important;
  border-color:#fecaca!important;
  color:#dc2626!important;
  box-shadow:0 8px 18px rgba(220,38,38,.08)!important;
}
.lopsp-main-nav .lopsp-nav-logout-action:hover,
.lopsp-main-nav .lopsp-topnav-logout:hover{
  background:#fee2e2!important;
  color:#b91c1c!important;
}
.lopsp-main-nav .lopsp-nav-register-action,
.lopsp-main-nav .lopsp-topnav-register{
  background:linear-gradient(135deg,#fff7ed,#fffbeb)!important;
  border-color:#fed7aa!important;
  color:#9a3412!important;
  box-shadow:0 8px 18px rgba(249,115,22,.08)!important;
}
.lopsp-main-nav .lopsp-nav-register-action:hover,
.lopsp-main-nav .lopsp-topnav-register:hover{
  background:linear-gradient(135deg,#fed7aa,#fef3c7)!important;
  color:#7c2d12!important;
}
.lopsp-main-nav .lopsp-nav-upgrade-action,
.lopsp-main-nav .lopsp-topnav-upgrade{
  border-color:transparent!important;
  background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(37,99,235,.24)!important;
}
.lopsp-main-nav .lopsp-nav-upgrade-action:hover,
.lopsp-main-nav .lopsp-nav-upgrade-action.active,
.lopsp-main-nav .lopsp-topnav-upgrade:hover,
.lopsp-main-nav .lopsp-topnav-upgrade.active{
  background:linear-gradient(135deg,#1d4ed8,#6d28d9)!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.lopsp-nav-dropdown{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  z-index:5!important;
}
.lopsp-nav-dropdown-toggle span{
  font-size:15px!important;
  transition:transform .18s ease!important;
}
.lopsp-nav-dropdown:hover .lopsp-nav-dropdown-toggle span,
.lopsp-nav-dropdown.is-open .lopsp-nav-dropdown-toggle span,
.lopsp-nav-dropdown:focus-within .lopsp-nav-dropdown-toggle span{
  transform:rotate(180deg);
}
.lopsp-nav-submenu{
  position:absolute!important;
  top:calc(100% + 10px)!important;
  right:0!important;
  width:min(310px,calc(100vw - 28px))!important;
  padding:10px!important;
  border:1px solid rgba(191,219,254,.92)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 26px 70px rgba(15,23,42,.18)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  display:grid!important;
  gap:7px!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(8px) scale(.98)!important;
  transform-origin:top right!important;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease!important;
  z-index:10020!important;
}
.lopsp-nav-dropdown:hover .lopsp-nav-submenu,
.lopsp-nav-dropdown.is-open .lopsp-nav-submenu,
.lopsp-nav-dropdown:focus-within .lopsp-nav-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scale(1)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a{
  justify-content:flex-start!important;
  align-items:flex-start!important;
  flex-direction:column!important;
  gap:3px!important;
  min-height:0!important;
  padding:12px 13px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  border:1px solid #e5edf7!important;
  color:#0f172a!important;
  box-shadow:none!important;
  line-height:1.25!important;
  white-space:normal!important;
}
.lopsp-main-nav .lopsp-nav-submenu a strong{font-size:14px!important;font-weight:950!important;color:#0f172a!important;}
.lopsp-main-nav .lopsp-nav-submenu a small{font-size:12px!important;line-height:1.35!important;color:#64748b!important;font-weight:750!important;}
.lopsp-main-nav .lopsp-nav-submenu a:hover{
  background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;
  border-color:#bfdbfe!important;
  transform:translateX(2px)!important;
}
.lopsp-student-main-nav-v277{
  overflow:visible!important;
  flex-wrap:wrap!important;
  align-content:center!important;
}
.lopsp-student-main-nav-v277 .lopsp-nav-submenu{
  top:calc(100% + 8px)!important;
}
.lopsp-student-shell-with-fixed-topnav{
  padding-top:126px!important;
}
body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:150px!important;}
@media (min-width:1020px){
  .lopsp-student-shell-with-fixed-topnav{padding-top:104px!important;}
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:136px!important;}
}
@media(max-width:880px){
  .lopsp-site-header-v277{align-items:stretch!important;}
  .lopsp-site-header-v277 .lopsp-main-nav{width:100%!important;overflow:visible!important;flex-wrap:wrap!important;padding-bottom:0!important;}
  .lopsp-main-nav a,
  .lopsp-main-nav .lopsp-nav-dropdown-toggle{font-size:13px!important;padding:9px 11px!important;}
  .lopsp-main-nav .lopsp-user-lop-link{max-width:100%!important;}
  .lopsp-nav-dropdown{position:static!important;}
  .lopsp-nav-submenu{right:10px!important;left:10px!important;width:auto!important;transform-origin:top right!important;}
}
@media(max-width:640px){
  .lopsp-student-shell-with-fixed-topnav{padding-top:154px!important;}
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:176px!important;}
  .lopsp-student-main-nav-v277{width:calc(100vw - 10px)!important;gap:7px!important;padding:8px!important;border-radius:0 0 22px 22px!important;}
  .lopsp-student-main-nav-v277 a,
  .lopsp-student-main-nav-v277 .lopsp-nav-dropdown-toggle{min-height:34px!important;padding:8px 10px!important;font-size:12.5px!important;}
  .lopsp-student-main-nav-v277 .lopsp-nav-submenu{top:calc(100% + 8px)!important;left:8px!important;right:8px!important;}
}
@media(max-width:430px){
  .lopsp-main-nav .lopsp-nav-logout-action,
  .lopsp-main-nav .lopsp-topnav-logout{min-width:42px!important;width:42px!important;padding:0!important;}
  .lopsp-main-nav .lopsp-nav-logout-text{display:none!important;}
}

/* v2.8.278 - Production fix: reliable Support level-2 menu using <details> + clearer caret icon */
.lopsp-main-nav details.lopsp-nav-dropdown{
  list-style:none!important;
}
.lopsp-main-nav details.lopsp-nav-dropdown > summary{
  list-style:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.lopsp-main-nav details.lopsp-nav-dropdown > summary::-webkit-details-marker,
.lopsp-main-nav details.lopsp-nav-dropdown > summary::marker{
  display:none!important;
  content:""!important;
}
.lopsp-main-nav .lopsp-nav-dropdown-toggle .lopsp-nav-label{
  transform:none!important;
  font-size:inherit!important;
}
.lopsp-main-nav .lopsp-nav-dropdown-toggle .lopsp-nav-caret{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#2563eb,#06b6d4)!important;
  box-shadow:0 8px 18px rgba(37,99,235,.24)!important;
  margin-left:1px!important;
  transform:none!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}
.lopsp-main-nav .lopsp-nav-dropdown-toggle .lopsp-nav-caret-mark{
  width:7px!important;
  height:7px!important;
  display:block!important;
  border-right:2px solid #fff!important;
  border-bottom:2px solid #fff!important;
  transform:translateY(-1px) rotate(45deg)!important;
  transition:transform .18s ease!important;
}
.lopsp-main-nav .lopsp-nav-dropdown:hover .lopsp-nav-dropdown-toggle .lopsp-nav-caret,
.lopsp-main-nav .lopsp-nav-dropdown.is-open .lopsp-nav-dropdown-toggle .lopsp-nav-caret,
.lopsp-main-nav .lopsp-nav-dropdown:focus-within .lopsp-nav-dropdown-toggle .lopsp-nav-caret,
.lopsp-main-nav details.lopsp-nav-dropdown[open] .lopsp-nav-dropdown-toggle .lopsp-nav-caret{
  background:linear-gradient(135deg,#1d4ed8,#7c3aed)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.32)!important;
  transform:rotate(180deg)!important;
}
.lopsp-main-nav .lopsp-nav-dropdown:hover .lopsp-nav-dropdown-toggle .lopsp-nav-caret-mark,
.lopsp-main-nav .lopsp-nav-dropdown.is-open .lopsp-nav-dropdown-toggle .lopsp-nav-caret-mark,
.lopsp-main-nav .lopsp-nav-dropdown:focus-within .lopsp-nav-dropdown-toggle .lopsp-nav-caret-mark,
.lopsp-main-nav details.lopsp-nav-dropdown[open] .lopsp-nav-dropdown-toggle .lopsp-nav-caret-mark{
  transform:translateY(-1px) rotate(45deg)!important;
}
.lopsp-nav-dropdown:hover .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-nav-dropdown.is-open .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-nav-dropdown:focus-within .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-main-nav details.lopsp-nav-dropdown[open] .lopsp-nav-dropdown-toggle .lopsp-nav-label{
  transform:none!important;
}
.lopsp-main-nav details.lopsp-nav-dropdown[open] .lopsp-nav-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scale(1)!important;
}
.lopsp-main-nav details.lopsp-nav-dropdown[open] .lopsp-nav-dropdown-toggle{
  background:#eef4ff!important;
  color:#1d4ed8!important;
  border-color:#dbeafe!important;
  box-shadow:0 10px 24px rgba(37,99,235,.12)!important;
}
@media(max-width:880px){
  .lopsp-main-nav details.lopsp-nav-dropdown{position:static!important;}
  .lopsp-main-nav .lopsp-nav-dropdown-toggle .lopsp-nav-caret{width:20px!important;height:20px!important;flex-basis:20px!important;}
}


/* v2.8.279 - Hard fix: Support submenu must open on click across details/button fallbacks */
.lopsp-nav-dropdown[open] > .lopsp-nav-submenu,
.lopsp-nav-dropdown.is-open > .lopsp-nav-submenu,
.lopsp-main-nav .lopsp-nav-dropdown[open] > .lopsp-nav-submenu,
.lopsp-main-nav .lopsp-nav-dropdown.is-open > .lopsp-nav-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scale(1)!important;
}
.lopsp-nav-dropdown[open] > .lopsp-nav-dropdown-toggle,
.lopsp-nav-dropdown.is-open > .lopsp-nav-dropdown-toggle{
  background:#eef4ff!important;
  color:#1d4ed8!important;
  border-color:#dbeafe!important;
  box-shadow:0 10px 24px rgba(37,99,235,.12)!important;
}
.lopsp-nav-dropdown[open] > .lopsp-nav-dropdown-toggle .lopsp-nav-caret,
.lopsp-nav-dropdown.is-open > .lopsp-nav-dropdown-toggle .lopsp-nav-caret{
  background:linear-gradient(135deg,#1d4ed8,#7c3aed)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.32)!important;
  transform:rotate(180deg)!important;
}
.lopsp-nav-dropdown > .lopsp-nav-dropdown-toggle{
  position:relative!important;
  z-index:2!important;
}
.lopsp-nav-dropdown > .lopsp-nav-submenu{
  z-index:10050!important;
}

/* v2.8.280 - Definitive Support submenu visibility: prevent parent clipping and allow portal positioning */
.lopsp-site-header-v277,
.lopsp-site-header-v277 .lopsp-site-brand,
.lopsp-site-header-v277 nav.lopsp-main-nav,
.lopsp-site-header-v277 .lopsp-nav-dropdown,
.lopsp-student-shared-topnav.lopsp-main-nav,
.lopsp-student-main-nav-v277.lopsp-main-nav,
.lopsp-main-nav .lopsp-support-dropdown{
  overflow:visible!important;
}
.lopsp-site-header-v277 nav.lopsp-main-nav,
.lopsp-student-shared-topnav.lopsp-main-nav,
.lopsp-student-main-nav-v277.lopsp-main-nav{
  overflow-x:visible!important;
  overflow-y:visible!important;
  flex-wrap:wrap!important;
  z-index:10080!important;
}
.lopsp-site-header-v277{z-index:10070!important;}
.lopsp-student-shared-topnav.lopsp-main-nav{z-index:10080!important;}
.lopsp-main-nav .lopsp-support-dropdown{z-index:10090!important;}
.lopsp-main-nav .lopsp-support-dropdown > .lopsp-nav-submenu{
  z-index:2147483000!important;
  min-width:260px!important;
}
.lopsp-main-nav .lopsp-support-dropdown[open] > .lopsp-nav-submenu,
.lopsp-main-nav .lopsp-support-dropdown.is-open > .lopsp-nav-submenu,
.lopsp-main-nav .lopsp-support-dropdown.is-positioned > .lopsp-nav-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  display:grid!important;
}
.lopsp-main-nav .lopsp-support-dropdown.is-positioned > .lopsp-nav-submenu{
  transform:none!important;
  transform-origin:top left!important;
}
@media(max-width:640px){
  .lopsp-main-nav .lopsp-support-dropdown > .lopsp-nav-submenu{
    min-width:0!important;
    width:calc(100vw - 24px)!important;
  }
}


/* v2.8.281 - Main/student menu containment + reliable in-viewport Support submenu placement */
html body.lopsp-info-body,
html body.lopsp-private-standalone-body,
html body.lopsp-report-body,
html body.lop-support-body{
  overflow-x:hidden!important;
}
.lopsp-site-header-v277,
.lopsp-site-header-v277 * ,
.lopsp-student-shared-topnav,
.lopsp-student-shared-topnav *{
  box-sizing:border-box!important;
}
.lopsp-site-header-v277{
  width:100%!important;
  max-width:100vw!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.lopsp-site-header-v277 .lopsp-main-nav{
  max-width:100%!important;
  overflow:visible!important;
}
.lopsp-main-nav .lopsp-support-dropdown{
  position:relative!important;
  overflow:visible!important;
}
.lopsp-main-nav .lopsp-support-dropdown > .lopsp-nav-submenu{
  box-sizing:border-box!important;
  width:min(320px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  left:0!important;
  right:auto!important;
  transform-origin:top left!important;
  overflow:hidden!important;
}
.lopsp-main-nav .lopsp-support-dropdown.is-positioned > .lopsp-nav-submenu{
  position:fixed!important;
  top:var(--lop-support-menu-top, 64px)!important;
  left:var(--lop-support-menu-left, 12px)!important;
  right:auto!important;
  width:var(--lop-support-menu-width, min(320px,calc(100vw - 24px)))!important;
  max-width:calc(100vw - 24px)!important;
  transform:none!important;
  z-index:2147483000!important;
}
.lopsp-main-nav .lopsp-support-dropdown[open] > .lopsp-nav-submenu,
.lopsp-main-nav .lopsp-support-dropdown.is-open > .lopsp-nav-submenu,
.lopsp-main-nav .lopsp-support-dropdown.is-positioned > .lopsp-nav-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  display:grid!important;
}
/* /lop and student pages: keep the fixed menu attached to the very top and remove dead vertical space above content. */
.lopsp-student-shared-topnav.lopsp-main-nav,
.lopsp-student-main-nav-v277.lopsp-main-nav{
  top:0!important;
  left:0!important;
  right:0!important;
  transform:none!important;
  width:min(100vw,1240px)!important;
  max-width:100vw!important;
  margin:0 auto!important;
  border-top:0!important;
  border-radius:0 0 20px 20px!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
}
.lopsp-student-shared-topnav.lopsp-main-nav::-webkit-scrollbar,
.lopsp-student-main-nav-v277.lopsp-main-nav::-webkit-scrollbar{display:none!important;}
.lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
.lopsp-student-shell-with-fixed-topnav{
  padding-top:62px!important;
}
body.admin-bar .lopsp-student-shared-topnav.lopsp-main-nav,
body.admin-bar .lopsp-student-main-nav-v277.lopsp-main-nav{top:32px!important;}
body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:94px!important;}
body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav{
  margin-top:0!important;
}
body.lopsp-private-standalone-body .lopsp-hero{
  margin-top:0!important;
}
@media(max-width:782px){
  body.admin-bar .lopsp-student-shared-topnav.lopsp-main-nav,
  body.admin-bar .lopsp-student-main-nav-v277.lopsp-main-nav{top:46px!important;}
  body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:108px!important;}
}
@media(max-width:640px){
  .lopsp-student-shared-topnav.lopsp-main-nav,
  .lopsp-student-main-nav-v277.lopsp-main-nav{
    width:100vw!important;
    padding:6px!important;
    border-radius:0 0 16px 16px!important;
  }
  .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  .lopsp-student-shell-with-fixed-topnav{padding-top:56px!important;}
  body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:102px!important;}
  .lopsp-main-nav .lopsp-support-dropdown > .lopsp-nav-submenu{
    width:calc(100vw - 18px)!important;
    max-width:calc(100vw - 18px)!important;
  }
}

/* v2.8.290 - Student/public top menu: attach to viewport top and remove dead top space */
html body.lopsp-private-standalone-body,
html body.lopsp-report-body,
html body.lop-support-body,
html body.lopsp-pathway-body,
html body.lopsp-info-body{
  margin-top:0!important;
  padding-top:0!important;
}
html body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
html body.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
html body.lop-support-body .lopsp-student-shell-with-fixed-topnav,
html body.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav{
  margin-top:0!important;
  padding-top:58px!important;
}
html body.lopsp-private-standalone-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.lopsp-report-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.lop-support-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported,
html body .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(100vw,1240px)!important;
  max-width:100vw!important;
  margin:0!important;
  z-index:2147482000!important;
  border-top:0!important;
  border-radius:0 0 20px 20px!important;
}
html body.admin-bar .lopsp-student-shared-topnav.lopsp-main-nav,
html body.admin-bar .lopsp-student-main-nav-v277.lopsp-main-nav,
html body.admin-bar .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported,
html body.admin-bar .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported{
  top:32px!important;
}
html body.admin-bar.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lop-support-body .lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav{
  padding-top:90px!important;
}
html body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav > .lopsp-student-shared-topnav.lopsp-main-nav:first-child,
html body.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav > .lopsp-student-shared-topnav.lopsp-main-nav:first-child,
html body.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav > .lopsp-student-shared-topnav.lopsp-main-nav:first-child{
  margin-top:0!important;
}
html body.lopsp-private-standalone-body .lopsp-hero,
html body.lopsp-report-body .lopsp-student-report-main,
html body.lop-support-body .lopsp-info-main,
html body.lopsp-pathway-body .lop-pathway-main{
  margin-top:0!important;
}
/* Public main header should also stay flush with the top edge. */
html body.lopsp-info-body .lopsp-site-header-v277,
html body.lop-support-body .lopsp-site-header-v277{
  position:sticky!important;
  top:0!important;
  margin-top:0!important;
  z-index:2147481000!important;
}
@media(max-width:782px){
  html body.admin-bar .lopsp-student-shared-topnav.lopsp-main-nav,
  html body.admin-bar .lopsp-student-main-nav-v277.lopsp-main-nav,
  html body.admin-bar .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported,
  html body.admin-bar .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported{top:46px!important;}
  html body.admin-bar.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lop-support-body .lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav{padding-top:104px!important;}
}
@media(max-width:640px){
  html body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-student-shell-with-fixed-topnav,
html body.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav{padding-top:52px!important;}
  html body.lopsp-private-standalone-body .lopsp-student-shared-topnav.lopsp-main-nav,
  html body.lopsp-report-body .lopsp-student-shared-topnav.lopsp-main-nav,
  html body.lop-support-body .lopsp-student-shared-topnav.lopsp-main-nav,
  html body .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported,
  html body .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported{
    width:100vw!important;
    max-width:100vw!important;
    border-radius:0 0 16px 16px!important;
  }
}


/* v2.8.291 - /lop menu LOP identity contrast + Báo LOP CTA polish */
.lopsp-main-nav .lopsp-user-lop-link,
.lopsp-site-header-v277 .lopsp-user-lop-link,
.lopsp-site-actions .lopsp-user-lop-link{
  gap:6px!important;
  border:1px solid #bfdbfe!important;
  background:linear-gradient(135deg,#eff6ff,#ffffff)!important;
  color:#0f172a!important;
  box-shadow:0 10px 24px rgba(37,99,235,.10)!important;
}
.lopsp-main-nav .lopsp-user-lop-link .lopsp-user-lop-prefix,
.lopsp-site-header-v277 .lopsp-user-lop-link .lopsp-user-lop-prefix,
.lopsp-site-actions .lopsp-user-lop-link .lopsp-user-lop-prefix{
  color:#1d4ed8!important;
  opacity:1!important;
  font-weight:1000!important;
  letter-spacing:.01em!important;
  text-shadow:none!important;
}
.lopsp-main-nav .lopsp-user-lop-link .lopsp-user-lop-name,
.lopsp-site-header-v277 .lopsp-user-lop-link .lopsp-user-lop-name,
.lopsp-site-actions .lopsp-user-lop-link .lopsp-user-lop-name{
  color:#172554!important;
  opacity:1!important;
  font-weight:1000!important;
  text-shadow:none!important;
}
.lopsp-main-nav .lopsp-user-lop-link:hover,
.lopsp-main-nav .lopsp-user-lop-link:focus-visible,
.lopsp-main-nav .lopsp-user-lop-link.active,
.lopsp-main-nav .lopsp-user-lop-link[aria-current="page"],
.lopsp-site-header-v277 .lopsp-user-lop-link:hover,
.lopsp-site-header-v277 .lopsp-user-lop-link:focus-visible,
.lopsp-site-header-v277 .lopsp-user-lop-link.active,
.lopsp-site-header-v277 .lopsp-user-lop-link[aria-current="page"],
.lopsp-site-actions .lopsp-user-lop-link:hover,
.lopsp-site-actions .lopsp-user-lop-link:focus-visible,
.lopsp-site-actions .lopsp-user-lop-link.active,
.lopsp-site-actions .lopsp-user-lop-link[aria-current="page"]{
  border-color:transparent!important;
  background:linear-gradient(135deg,#2563eb 0%,#4f46e5 54%,#7c3aed 100%)!important;
  color:#ffffff!important;
  box-shadow:0 16px 34px rgba(37,99,235,.30)!important;
  transform:translateY(-1px);
}
.lopsp-main-nav .lopsp-user-lop-link:hover .lopsp-user-lop-prefix,
.lopsp-main-nav .lopsp-user-lop-link:focus-visible .lopsp-user-lop-prefix,
.lopsp-main-nav .lopsp-user-lop-link.active .lopsp-user-lop-prefix,
.lopsp-main-nav .lopsp-user-lop-link[aria-current="page"] .lopsp-user-lop-prefix,
.lopsp-site-header-v277 .lopsp-user-lop-link:hover .lopsp-user-lop-prefix,
.lopsp-site-header-v277 .lopsp-user-lop-link:focus-visible .lopsp-user-lop-prefix,
.lopsp-site-header-v277 .lopsp-user-lop-link.active .lopsp-user-lop-prefix,
.lopsp-site-header-v277 .lopsp-user-lop-link[aria-current="page"] .lopsp-user-lop-prefix,
.lopsp-site-actions .lopsp-user-lop-link:hover .lopsp-user-lop-prefix,
.lopsp-site-actions .lopsp-user-lop-link:focus-visible .lopsp-user-lop-prefix,
.lopsp-site-actions .lopsp-user-lop-link.active .lopsp-user-lop-prefix,
.lopsp-site-actions .lopsp-user-lop-link[aria-current="page"] .lopsp-user-lop-prefix{
  color:#dbeafe!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(15,23,42,.18)!important;
}
.lopsp-main-nav .lopsp-user-lop-link:hover .lopsp-user-lop-name,
.lopsp-main-nav .lopsp-user-lop-link:focus-visible .lopsp-user-lop-name,
.lopsp-main-nav .lopsp-user-lop-link.active .lopsp-user-lop-name,
.lopsp-main-nav .lopsp-user-lop-link[aria-current="page"] .lopsp-user-lop-name,
.lopsp-site-header-v277 .lopsp-user-lop-link:hover .lopsp-user-lop-name,
.lopsp-site-header-v277 .lopsp-user-lop-link:focus-visible .lopsp-user-lop-name,
.lopsp-site-header-v277 .lopsp-user-lop-link.active .lopsp-user-lop-name,
.lopsp-site-header-v277 .lopsp-user-lop-link[aria-current="page"] .lopsp-user-lop-name,
.lopsp-site-actions .lopsp-user-lop-link:hover .lopsp-user-lop-name,
.lopsp-site-actions .lopsp-user-lop-link:focus-visible .lopsp-user-lop-name,
.lopsp-site-actions .lopsp-user-lop-link.active .lopsp-user-lop-name,
.lopsp-site-actions .lopsp-user-lop-link[aria-current="page"] .lopsp-user-lop-name{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(15,23,42,.20)!important;
}
.lopsp-report-lop-action .lopsp-primary-soft[data-open-lop-modal],
.lopsp-report-lop-action .lopsp-report-lop-cta{
  min-width:150px!important;
  min-height:50px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  border-radius:999px!important;
  padding:14px 24px!important;
  background:linear-gradient(135deg,#2563eb 0%,#4f46e5 58%,#7c3aed 100%)!important;
  color:#ffffff!important;
  font-size:17px!important;
  font-weight:1000!important;
  letter-spacing:.01em!important;
  text-shadow:0 1px 0 rgba(15,23,42,.22)!important;
  box-shadow:0 18px 42px rgba(37,99,235,.30)!important;
}
.lopsp-report-lop-action .lopsp-primary-soft[data-open-lop-modal]:hover,
.lopsp-report-lop-action .lopsp-primary-soft[data-open-lop-modal]:focus-visible,
.lopsp-report-lop-action .lopsp-report-lop-cta:hover,
.lopsp-report-lop-action .lopsp-report-lop-cta:focus-visible{
  background:linear-gradient(135deg,#1d4ed8 0%,#4338ca 58%,#6d28d9 100%)!important;
  color:#ffffff!important;
  transform:translateY(-2px)!important;
  box-shadow:0 22px 50px rgba(37,99,235,.36)!important;
}
@media(max-width:640px){
  .lopsp-report-lop-action .lopsp-primary-soft[data-open-lop-modal],
  .lopsp-report-lop-action .lopsp-report-lop-cta{width:100%!important;}
}


/* v2.8.293 - Pathway pages: flush student menu to viewport top + normalize hero scale */
html body.lopsp-pathway-body{
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
  background:#f3f7ff!important;
}
html body.lopsp-pathway-body .lopsp-student-main-nav-v277.lopsp-main-nav,
html body.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.lopsp-pathway-body .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported,
html body.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(100vw,1240px)!important;
  max-width:100vw!important;
  margin:0!important;
  border-top:0!important;
  border-radius:0 0 20px 20px!important;
  z-index:2147482000!important;
}
html body.admin-bar.lopsp-pathway-body .lopsp-student-main-nav-v277.lopsp-main-nav,
html body.admin-bar.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.admin-bar.lopsp-pathway-body .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported,
html body.admin-bar.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported{top:32px!important;}
html body.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.lopsp-pathway-body .lop-pathway-shell{
  padding-top:58px!important;
  margin-top:0!important;
}
html body.admin-bar.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-pathway-body .lop-pathway-shell{padding-top:90px!important;}
html body.lopsp-pathway-body .lop-pathway-main{
  padding-top:14px!important;
}
html body.lopsp-pathway-body .lop-pathway-hero{
  margin-top:0!important;
}
@media(max-width:782px){
  html body.admin-bar.lopsp-pathway-body .lopsp-student-main-nav-v277.lopsp-main-nav,
  html body.admin-bar.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav,
  html body.admin-bar.lopsp-pathway-body .lopsp-student-main-nav-v277.lopsp-main-nav.lopsp-nav-ported,
  html body.admin-bar.lopsp-pathway-body .lopsp-student-shared-topnav.lopsp-main-nav.lopsp-nav-ported{top:46px!important;}
  html body.admin-bar.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lopsp-pathway-body .lop-pathway-shell{padding-top:104px!important;}
}
@media(max-width:640px){
  html body.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lop-pathway-shell{padding-top:52px!important;}
}

/* v2.8.297 - Unified public/student main menu with level-2 groups */
.lopsp-unified-main-nav-v297{
  gap:10px!important;
  align-items:center!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  border:1px solid #e2e8f0!important;
  background:rgba(255,255,255,.96)!important;
  color:#334155!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:1.15!important;
  cursor:pointer!important;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:hover,
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.active .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown[open] .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-open .lopsp-nav-dropdown-toggle{
  color:#1d4ed8!important;
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#eef6ff,#ffffff)!important;
  box-shadow:0 16px 34px rgba(37,99,235,.15)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-study-dropdown > .lopsp-nav-dropdown-toggle{
  color:#1e3a8a!important;
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#ecfeff,#eff6ff 55%,#ffffff)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
  color:#172554!important;
  border-color:#c7d2fe!important;
  background:linear-gradient(135deg,#eef2ff,#ffffff)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle{
  color:#fff!important;
  border-color:transparent!important;
  background:linear-gradient(135deg,#4f46e5,#2563eb)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-login-dropdown > .lopsp-nav-dropdown-toggle{
  color:#047857!important;
  border-color:#a7f3d0!important;
  background:linear-gradient(135deg,#ecfdf5,#ffffff)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-submenu{
  width:min(350px,calc(100vw - 24px))!important;
  min-width:min(290px,calc(100vw - 24px))!important;
}
.lopsp-unified-main-nav-v297 .lopsp-study-dropdown > .lopsp-nav-submenu,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-submenu{
  width:min(370px,calc(100vw - 24px))!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-positioned > .lopsp-nav-submenu{
  position:fixed!important;
  top:var(--lop-support-menu-top, 64px)!important;
  left:var(--lop-support-menu-left, 12px)!important;
  right:auto!important;
  width:var(--lop-support-menu-width, min(350px,calc(100vw - 24px)))!important;
  max-width:calc(100vw - 24px)!important;
  transform:none!important;
  z-index:2147483000!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown[open] > .lopsp-nav-submenu,
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-open > .lopsp-nav-submenu,
.lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-positioned > .lopsp-nav-submenu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  display:grid!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-submenu a.lopsp-user-lop-link strong,
.lopsp-unified-main-nav-v297 .lopsp-nav-submenu a.lopsp-user-lop-link{
  color:#172554!important;
}
.lopsp-unified-main-nav-v297 .lopsp-nav-submenu a.lopsp-nav-logout-action strong{
  color:#b91c1c!important;
}
html body.lopsp-info-body .lopsp-unified-main-nav-v297{
  position:sticky!important;
  top:0!important;
  z-index:2147481000!important;
  width:min(100vw,1240px)!important;
  max-width:100vw!important;
  margin:0 auto!important;
  border-top:0!important;
  border-radius:0 0 20px 20px!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  scrollbar-width:none!important;
}
html body.lopsp-info-body .lopsp-unified-main-nav-v297::-webkit-scrollbar{display:none!important;}
@media(max-width:760px){
  .lopsp-unified-main-nav-v297{gap:7px!important;padding:7px!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:visible!important;}
  .lopsp-unified-main-nav-v297 a,
  .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{min-height:36px!important;padding:8px 10px!important;font-size:13px!important;white-space:nowrap!important;}
  .lopsp-unified-main-nav-v297 .lopsp-nav-caret{width:20px!important;height:20px!important;flex-basis:20px!important;}
}

/* v2.8.298 - Unified menu keeps old homepage brand/logo at top-left */
.lopsp-unified-site-header-v298{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100vw!important;
  max-width:100vw!important;
  z-index:10080!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:8px clamp(14px,2.4vw,30px)!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid rgba(203,213,225,.72)!important;
  border-radius:0!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  box-shadow:0 14px 35px rgba(15,23,42,.07)!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.lopsp-unified-site-header-v298 *{box-sizing:border-box!important;}
.lopsp-unified-brand-v298{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:190px!important;
  flex:0 0 auto!important;
  color:#0f172a!important;
  text-decoration:none!important;
  border-radius:999px!important;
  padding:4px 8px 4px 4px!important;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease!important;
}
.lopsp-unified-brand-v298:hover{
  background:rgba(239,246,255,.88)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 10px 24px rgba(37,99,235,.10)!important;
}
.lopsp-unified-brand-v298 img{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  object-fit:contain!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid rgba(219,234,254,.95)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.12)!important;
}
.lopsp-unified-brand-v298 strong{
  display:inline-block!important;
  font-size:19px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.025em!important;
  color:#0f172a!important;
  white-space:nowrap!important;
}
.lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
.lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:auto!important;
  max-width:calc(100vw - 230px)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  flex:1 1 auto!important;
  justify-content:flex-end!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
}
.lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav::-webkit-scrollbar,
.lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277::-webkit-scrollbar{display:none!important;}
body.admin-bar .lopsp-unified-site-header-v298{top:32px!important;}
.lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
.lopsp-student-shell-with-fixed-topnav{padding-top:78px!important;}
body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:110px!important;}
@media(max-width:980px){
  .lopsp-unified-site-header-v298{gap:10px!important;padding:7px 10px!important;}
  .lopsp-unified-brand-v298{min-width:auto!important;}
  .lopsp-unified-brand-v298 strong{font-size:17px!important;}
  .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277{max-width:calc(100vw - 170px)!important;}
}
@media(max-width:640px){
  .lopsp-unified-site-header-v298{align-items:flex-start!important;flex-direction:column!important;gap:7px!important;padding:7px 10px!important;}
  .lopsp-unified-brand-v298 img{width:36px!important;height:36px!important;min-width:36px!important;border-radius:12px!important;}
  .lopsp-unified-brand-v298 strong{font-size:16px!important;}
  .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277{width:100%!important;max-width:100%!important;justify-content:flex-start!important;padding-bottom:2px!important;}
  .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  .lopsp-student-shell-with-fixed-topnav{padding-top:108px!important;}
  body.admin-bar .lopsp-unified-site-header-v298{top:46px!important;}
  body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  body.admin-bar .lopsp-student-shell-with-fixed-topnav{padding-top:154px!important;}
}


/* v2.8.299 - Floating portal for all unified level-2 menus.
   UI-only: bypasses scroll/overflow clipping and old handler conflicts, keeps links/routes unchanged. */
.lopsp-nav-floating-menu-v299{
  display:grid!important;
  gap:7px!important;
  padding:10px!important;
  border:1px solid rgba(191,219,254,.96)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 28px 76px rgba(15,23,42,.22)!important;
  backdrop-filter:blur(20px)!important;
  -webkit-backdrop-filter:blur(20px)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(7px) scale(.985)!important;
  transform-origin:top left!important;
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease!important;
  overflow:auto!important;
  z-index:2147483646!important;
  box-sizing:border-box!important;
}
.lopsp-nav-floating-menu-v299.is-visible{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scale(1)!important;
}
.lopsp-nav-floating-menu-v299 a{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  flex-direction:column!important;
  gap:3px!important;
  min-height:0!important;
  padding:12px 13px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  border:1px solid #e5edf7!important;
  color:#0f172a!important;
  box-shadow:none!important;
  line-height:1.25!important;
  white-space:normal!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
.lopsp-nav-floating-menu-v299 a strong{
  font-size:14px!important;
  font-weight:950!important;
  color:#0f172a!important;
}
.lopsp-nav-floating-menu-v299 a small{
  font-size:12px!important;
  line-height:1.35!important;
  color:#64748b!important;
  font-weight:750!important;
}
.lopsp-nav-floating-menu-v299 a:hover,
.lopsp-nav-floating-menu-v299 a:focus-visible{
  background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;
  border-color:#bfdbfe!important;
  transform:translateX(2px)!important;
  outline:none!important;
}
.lopsp-nav-floating-menu-v299 a.lopsp-nav-logout-action strong{color:#b91c1c!important;}
.lopsp-nav-floating-menu-v299 a.lopsp-user-lop-link strong,
.lopsp-nav-floating-menu-v299 a.lopsp-user-lop-link{color:#172554!important;}
.lopsp-unified-site-header-v298,
.lopsp-unified-site-header-v298 .lopsp-main-nav,
.lopsp-unified-site-header-v298 .lopsp-nav-dropdown{
  overflow:visible!important;
}
@media(max-width:640px){
  .lopsp-nav-floating-menu-v299{border-radius:20px!important;padding:8px!important;}
  .lopsp-nav-floating-menu-v299 a{padding:11px 12px!important;border-radius:15px!important;}
}


/* v2.8.300 - Unified menu: show logged-in LOP name in main chip and keep /lop header brand clear */
.lopsp-unified-site-header-v298,
html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298,
html body.lopsp-report-body .lopsp-unified-site-header-v298,
html body.lop-support-body .lopsp-unified-site-header-v298,
html body.lopsp-pathway-body .lopsp-unified-site-header-v298,
html body.lopsp-info-body .lopsp-unified-site-header-v298{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  background:rgba(255,255,255,.985)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  z-index:2147483200!important;
}
.lopsp-unified-site-header-v298:before,
.lopsp-unified-site-header-v298:after{
  display:none!important;
  content:none!important;
}
.lopsp-unified-site-header-v298 .lopsp-unified-brand-v298,
.lopsp-unified-site-header-v298 .lopsp-site-brand,
html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298,
html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298 .lopsp-site-brand{
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  position:relative!important;
  z-index:2147483202!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(219,234,254,.82)!important;
  box-shadow:0 12px 26px rgba(37,99,235,.08)!important;
}
.lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
.lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
.lopsp-unified-site-header-v298 .lopsp-site-brand img,
.lopsp-unified-site-header-v298 .lopsp-site-brand strong{
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  color:#0f172a!important;
  text-shadow:none!important;
}
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
  max-width:230px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#172554!important;
  border-color:#c7d2fe!important;
  background:linear-gradient(135deg,#eef2ff,#ffffff)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{
  display:inline-block!important;
  min-width:0!important;
  max-width:174px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:inherit!important;
  opacity:1!important;
  font-weight:1000!important;
}
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:hover,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:focus-visible{
  color:#ffffff!important;
  border-color:transparent!important;
  background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
  box-shadow:0 18px 38px rgba(37,99,235,.30)!important;
}
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:hover .lopsp-nav-label,
.lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:focus-visible .lopsp-nav-label{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(15,23,42,.20)!important;
}
html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  z-index:2147483201!important;
}
@media(max-width:980px){
  .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{max-width:190px!important;}
  .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{max-width:132px!important;}
}
@media(max-width:640px){
  .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298{background:transparent!important;border-color:transparent!important;box-shadow:none!important;}
  .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{max-width:170px!important;}
  .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{max-width:116px!important;}
}

/* v2.8.304 - Mobile unified menu: same homepage-style header across /lop and student pages.
   On small screens the header participates in document flow (sticky, not fixed overlay),
   menu chips wrap neatly, and page shells no longer reserve the old fixed-nav padding. */
@media (max-width: 782px){
  html body .lopsp-unified-site-header-v298,
  html body .lopsp-unified-site-header-v298.lopsp-nav-ported,
  html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298,
  html body.lopsp-report-body .lopsp-unified-site-header-v298,
  html body.lop-support-body .lopsp-unified-site-header-v298,
  html body.lopsp-pathway-body .lopsp-unified-site-header-v298,
  html body.lopsp-info-body .lopsp-unified-site-header-v298{
    position:sticky!important;
    top:0!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
    padding:10px 12px 12px!important;
    margin:0!important;
    border-radius:0!important;
    border:0!important;
    border-bottom:1px solid rgba(203,213,225,.82)!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    transform:none!important;
    opacity:1!important;
    overflow:visible!important;
    z-index:2147483000!important;
  }
  html body.admin-bar .lopsp-unified-site-header-v298,
  html body.admin-bar .lopsp-unified-site-header-v298.lopsp-nav-ported{top:0!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand{
    display:inline-flex!important;
    align-items:center!important;
    gap:10px!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    padding:2px 4px!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#0f172a!important;
    text-decoration:none!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand img{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:14px!important;
    background:#fff!important;
    border:1px solid rgba(219,234,254,.95)!important;
    box-shadow:0 8px 18px rgba(37,99,235,.13)!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{
    display:inline-block!important;
    font-size:18px!important;
    line-height:1.05!important;
    font-weight:950!important;
    letter-spacing:-.02em!important;
    color:#0f172a!important;
    opacity:1!important;
    text-shadow:none!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-main-nav-v297{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    min-height:42px!important;
    height:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:9px 13px!important;
    margin:0!important;
    border-radius:999px!important;
    font-size:15px!important;
    line-height:1.1!important;
    font-weight:950!important;
    white-space:nowrap!important;
    color:#172554!important;
    background:rgba(255,255,255,.92)!important;
    border:1px solid rgba(219,234,254,.95)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
    opacity:1!important;
    filter:none!important;
    text-shadow:none!important;
    text-decoration:none!important;
  }
  html body .lopsp-unified-main-nav-v297 > a.active,
  html body .lopsp-unified-main-nav-v297 > a:hover,
  html body .lopsp-unified-main-nav-v297 > a:focus-visible,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown[open] > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-open > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.active > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:hover,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:focus-visible{
    opacity:1!important;
    filter:none!important;
    color:#ffffff!important;
    border-color:transparent!important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
    box-shadow:0 14px 28px rgba(37,99,235,.22)!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle .lopsp-nav-label,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{
    max-width:132px!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
    max-width:190px!important;
    background:linear-gradient(135deg,#eef2ff,#ffffff)!important;
    color:#172554!important;
    border-color:#c7d2fe!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:hover,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:focus-visible,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-upgrade-action,
  html body .lopsp-unified-main-nav-v297 .lopsp-topnav-upgrade{
    color:#ffffff!important;
    border-color:transparent!important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-caret{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex:0 0 24px!important;
    box-shadow:0 8px 18px rgba(2,132,199,.20)!important;
  }
  html body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar .lopsp-student-shell-with-fixed-topnav{
    padding-top:0!important;
    margin-top:0!important;
  }
  html body .lopsp-wrap.lopsp-private-shell,
  html body .lopsp-private-shell,
  html body .lopsp-student-report-shell,
  html body .lopsp-remind-wrap,
  html body .lopsp-info-main{
    margin-top:0!important;
  }
}
@media (max-width: 430px){
  html body .lopsp-unified-site-header-v298{padding:9px 10px 11px!important;gap:9px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand img{width:38px!important;height:38px!important;min-width:38px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{font-size:17px!important;}
  html body .lopsp-unified-main-nav-v297{gap:7px!important;}
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{font-size:14px!important;padding:8px 11px!important;min-height:40px!important;}
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{max-width:178px!important;}
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{max-width:112px!important;}
}


/* v2.8.305 - Keep the logged-in LOP menu chip readable when its submenu is open.
   Earlier layered active/open rules could leave the LOP label white on a pale chip on some pages. */
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown > summary.lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  background:linear-gradient(135deg,#eef2ff 0%,#f8fbff 58%,#ffffff 100%)!important;
  border-color:#c7d2fe!important;
  color:#172554!important;
  text-shadow:none!important;
}
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown > summary.lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{
  color:#172554!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  text-shadow:none!important;
  font-weight:1000!important;
}
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown[open] > summary.lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown.is-open > summary.lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown.active > summary.lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:hover,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:focus-visible{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  background:linear-gradient(135deg,#1d4ed8 0%,#4f46e5 56%,#7c3aed 100%)!important;
  border-color:transparent!important;
  color:#ffffff!important;
  text-shadow:none!important;
  box-shadow:0 16px 34px rgba(37,99,235,.26)!important;
}
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown[open] > summary.lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown.is-open > summary.lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown.active > summary.lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:hover .lopsp-nav-label,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:focus-visible .lopsp-nav-label{
  color:#ffffff!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  text-shadow:none!important;
}
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle .lopsp-nav-caret,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle .lopsp-nav-caret,
html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle .lopsp-nav-caret{
  background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
  border-color:rgba(255,255,255,.46)!important;
}
@media(max-width:782px){
  html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 details.lopsp-lop-dropdown > summary.lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
    max-width:min(100%,220px)!important;
  }
}


/* v2.8.306 - Mobile space optimization for unified menu.
   Desktop remains fixed. On mobile/tablet the header scrolls with the page and the menu becomes
   one compact horizontal swipe row, so it no longer consumes persistent screen height. */
@media (max-width: 782px){
  html body .lopsp-unified-site-header-v298,
  html body .lopsp-unified-site-header-v298.lopsp-nav-ported,
  html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298,
  html body.lopsp-report-body .lopsp-unified-site-header-v298,
  html body.lop-support-body .lopsp-unified-site-header-v298,
  html body.lopsp-pathway-body .lopsp-unified-site-header-v298,
  html body.lopsp-info-body .lopsp-unified-site-header-v298{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding:7px 8px!important;
    margin:0!important;
    border-radius:0!important;
    border:0!important;
    border-bottom:1px solid rgba(203,213,225,.78)!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 8px 20px rgba(15,23,42,.07)!important;
    transform:none!important;
    opacity:1!important;
    overflow:visible!important;
    z-index:50!important;
  }
  html body.admin-bar .lopsp-unified-site-header-v298,
  html body.admin-bar .lopsp-unified-site-header-v298.lopsp-nav-ported{top:auto!important;}

  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    width:auto!important;
    max-width:140px!important;
    min-width:0!important;
    padding:2px 4px!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#0f172a!important;
    text-decoration:none!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand img{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:12px!important;
    background:#fff!important;
    border:1px solid rgba(219,234,254,.95)!important;
    box-shadow:0 6px 14px rgba(37,99,235,.12)!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{
    display:inline-block!important;
    max-width:92px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:15px!important;
    line-height:1.05!important;
    font-weight:950!important;
    letter-spacing:-.02em!important;
    color:#0f172a!important;
    opacity:1!important;
    text-shadow:none!important;
  }

  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-main-nav-v297{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    flex:1 1 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    padding:2px 1px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    opacity:1!important;
    filter:none!important;
    scroll-snap-type:x proximity!important;
  }
  html body .lopsp-unified-main-nav-v297::-webkit-scrollbar,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav::-webkit-scrollbar{display:none!important;}

  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    flex:0 0 auto!important;
    scroll-snap-align:start!important;
  }
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    min-height:36px!important;
    height:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:8px 10px!important;
    margin:0!important;
    border-radius:999px!important;
    font-size:13px!important;
    line-height:1.1!important;
    font-weight:950!important;
    white-space:nowrap!important;
    color:#172554!important;
    background:rgba(255,255,255,.94)!important;
    border:1px solid rgba(219,234,254,.95)!important;
    box-shadow:0 8px 18px rgba(15,23,42,.055)!important;
    opacity:1!important;
    filter:none!important;
    text-shadow:none!important;
    text-decoration:none!important;
  }
  html body .lopsp-unified-main-nav-v297 > a.active,
  html body .lopsp-unified-main-nav-v297 > a:hover,
  html body .lopsp-unified-main-nav-v297 > a:focus-visible,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown[open] > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-open > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.active > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:hover,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:focus-visible{
    opacity:1!important;
    filter:none!important;
    color:#ffffff!important;
    border-color:transparent!important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
    box-shadow:0 10px 22px rgba(37,99,235,.20)!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle .lopsp-nav-label,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{
    max-width:112px!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
    max-width:168px!important;
    background:linear-gradient(135deg,#eef2ff,#ffffff)!important;
    color:#172554!important;
    border-color:#c7d2fe!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown[open] > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.is-open > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown.active > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:hover,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle:focus-visible,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-upgrade-action,
  html body .lopsp-unified-main-nav-v297 .lopsp-topnav-upgrade{
    color:#ffffff!important;
    border-color:transparent!important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-caret{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    flex:0 0 22px!important;
    box-shadow:0 7px 15px rgba(2,132,199,.18)!important;
  }

  html body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar .lopsp-student-shell-with-fixed-topnav{
    padding-top:0!important;
    margin-top:0!important;
  }
  html body .lopsp-wrap.lopsp-private-shell,
  html body .lopsp-private-shell,
  html body .lopsp-student-report-shell,
  html body .lopsp-remind-wrap,
  html body .lopsp-info-main,
  html body .lop-pathway-shell{
    margin-top:0!important;
    padding-top:0!important;
  }
}
@media (max-width: 430px){
  html body .lopsp-unified-site-header-v298{padding:6px 7px!important;gap:6px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand{max-width:122px!important;gap:6px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand img{width:32px!important;height:32px!important;min-width:32px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{font-size:14px!important;max-width:78px!important;}
  html body .lopsp-unified-main-nav-v297{gap:5px!important;}
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{font-size:12.5px!important;padding:7px 9px!important;min-height:34px!important;}
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{max-width:152px!important;}
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{max-width:96px!important;}
}


/* v2.8.307 - Mobile horizontal menu affordance.
   Mobile nav remains space-optimized, but now clearly communicates that the menu can be swiped horizontally.
   Desktop/fixed header behavior is untouched. */
@media (max-width: 782px){
  html body .lopsp-unified-site-header-v298{
    position:relative!important;
    isolation:isolate!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav{
    padding-right:62px!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow:not(.lopsp-header-nav-at-end)::before{
    content:"";
    position:absolute!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    width:76px!important;
    pointer-events:none!important;
    z-index:7!important;
    background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.99) 100%)!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow:not(.lopsp-header-nav-at-end)::after{
    content:"Vuốt →";
    position:absolute!important;
    right:8px!important;
    bottom:8px!important;
    z-index:8!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:58px!important;
    height:28px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    color:#ffffff!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.01em!important;
    white-space:nowrap!important;
    pointer-events:none!important;
    background:linear-gradient(135deg,#2563eb 0%,#06b6d4 100%)!important;
    border:1px solid rgba(255,255,255,.86)!important;
    box-shadow:0 10px 22px rgba(37,99,235,.22),0 0 0 5px rgba(239,246,255,.88)!important;
    opacity:.96!important;
    transform:translateX(0)!important;
    animation:lopspMobileSwipeHint 1.45s ease-in-out infinite!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-user-scrolled:not(.lopsp-header-nav-at-end)::after{
    content:"↔";
    min-width:30px!important;
    width:30px!important;
    height:28px!important;
    padding:0!important;
    opacity:.72!important;
    animation:none!important;
    background:linear-gradient(135deg,#38bdf8 0%,#2563eb 100%)!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-at-end::before,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-at-end::after{
    display:none!important;
  }
  html body .lopsp-unified-main-nav-v297.lopsp-nav-has-overflow:not(.lopsp-nav-at-end){
    box-shadow:inset -24px 0 18px -24px rgba(37,99,235,.55)!important;
  }
}
@keyframes lopspMobileSwipeHint{
  0%,100%{transform:translateX(0);}
  50%{transform:translateX(-5px);}
}
@media (max-width: 782px) and (prefers-reduced-motion: reduce){
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow::after{animation:none!important;}
}
@media (max-width: 430px){
  html body .lopsp-unified-site-header-v298 .lopsp-unified-main-nav-v297,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav{
    padding-right:58px!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow:not(.lopsp-header-nav-at-end)::after{
    right:7px!important;
    bottom:7px!important;
    min-width:54px!important;
    height:26px!important;
    font-size:11px!important;
    padding:0 8px!important;
  }
}

/* v2.8.308 - Mobile fixed top menu with toggle button + two-row panel.
   Desktop keeps the existing fixed top behavior. Mobile no longer relies on a subtle swipe hint. */
.lopsp-mobile-menu-toggle-v308,
.lopsp-mobile-header-spacer-v308{display:none!important;}

@media (max-width: 782px){
  html body{--lopsp-mobile-header-h:62px;--lopsp-mobile-admin-top:0px;}
  html body.admin-bar{--lopsp-mobile-admin-top:46px;}

  html body .lopsp-unified-site-header-v298,
  html body .lopsp-unified-site-header-v298.lopsp-nav-ported,
  html body.lopsp-private-standalone-body .lopsp-unified-site-header-v298,
  html body.lopsp-report-body .lopsp-unified-site-header-v298,
  html body.lop-support-body .lopsp-unified-site-header-v298,
  html body.lopsp-pathway-body .lopsp-unified-site-header-v298,
  html body.lopsp-info-body .lopsp-unified-site-header-v298{
    position:fixed!important;
    top:var(--lopsp-mobile-admin-top)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
    min-height:var(--lopsp-mobile-header-h)!important;
    height:var(--lopsp-mobile-header-h)!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:8px 12px!important;
    margin:0!important;
    border-radius:0!important;
    border:0!important;
    border-bottom:1px solid rgba(203,213,225,.82)!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 10px 28px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    transform:none!important;
    opacity:1!important;
    overflow:visible!important;
    isolation:isolate!important;
    z-index:99990!important;
  }
  html body .lopsp-unified-site-header-v298::before,
  html body .lopsp-unified-site-header-v298::after,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow::before,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow::after{
    content:none!important;
    display:none!important;
  }
  html body .lopsp-mobile-header-spacer-v308{
    display:block!important;
    height:calc(var(--lopsp-mobile-header-h) + var(--lopsp-mobile-admin-top))!important;
    min-height:calc(var(--lopsp-mobile-header-h) + var(--lopsp-mobile-admin-top))!important;
    width:100%!important;
    flex:0 0 auto!important;
    pointer-events:none!important;
  }

  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:calc(100vw - 112px)!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:9px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#0f172a!important;
    text-decoration:none!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand img{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:14px!important;
    background:#fff!important;
    border:1px solid rgba(219,234,254,.98)!important;
    box-shadow:0 8px 18px rgba(37,99,235,.14)!important;
  }
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{
    display:inline-block!important;
    max-width:190px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:20px!important;
    line-height:1.05!important;
    font-weight:1000!important;
    letter-spacing:-.025em!important;
    color:#0f172a!important;
    opacity:1!important;
    text-shadow:none!important;
  }

  html body .lopsp-mobile-menu-toggle-v308{
    appearance:none!important;
    -webkit-appearance:none!important;
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-height:44px!important;
    height:44px!important;
    padding:0 13px!important;
    margin:0!important;
    border-radius:999px!important;
    cursor:pointer!important;
    border:1px solid rgba(191,219,254,.96)!important;
    color:#ffffff!important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
    box-shadow:0 12px 24px rgba(37,99,235,.22), inset 0 1px 0 rgba(255,255,255,.24)!important;
    font-family:inherit!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:1000!important;
    text-decoration:none!important;
    opacity:1!important;
    z-index:100005!important;
  }
  html body .lopsp-mobile-menu-toggle-v308:focus-visible{
    outline:3px solid rgba(59,130,246,.32)!important;
    outline-offset:3px!important;
  }
  html body .lopsp-mobile-menu-toggle-v308 .lopsp-mobile-menu-toggle-icon{
    position:relative!important;
    width:19px!important;
    height:15px!important;
    display:inline-flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
  }
  html body .lopsp-mobile-menu-toggle-v308 .lopsp-mobile-menu-toggle-icon span{
    display:block!important;
    height:3px!important;
    border-radius:999px!important;
    background:#fff!important;
    box-shadow:0 1px 0 rgba(15,23,42,.12)!important;
    transform-origin:center!important;
    transition:transform .18s ease, opacity .18s ease!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-mobile-menu-toggle-v308 .lopsp-mobile-menu-toggle-icon span:nth-child(1){transform:translateY(6px) rotate(45deg)!important;}
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-mobile-menu-toggle-v308 .lopsp-mobile-menu-toggle-icon span:nth-child(2){opacity:0!important;}
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-mobile-menu-toggle-v308 .lopsp-mobile-menu-toggle-icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)!important;}
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-mobile-menu-toggle-v308 strong::after{content:" đang mở";position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}

  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-main-nav-v297{
    display:none!important;
    position:fixed!important;
    top:calc(var(--lopsp-mobile-admin-top) + var(--lopsp-mobile-header-h) + 8px)!important;
    left:10px!important;
    right:10px!important;
    bottom:auto!important;
    transform:none!important;
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    min-width:0!important;
    height:auto!important;
    max-height:136px!important;
    grid-template-rows:repeat(2, minmax(38px, auto))!important;
    grid-auto-flow:column!important;
    grid-auto-columns:max-content!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding:10px 12px!important;
    margin:0!important;
    border-radius:22px!important;
    border:1px solid rgba(191,219,254,.98)!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 22px 56px rgba(15,23,42,.18), 0 0 0 9999px rgba(15,23,42,.12)!important;
    backdrop-filter:blur(20px)!important;
    -webkit-backdrop-filter:blur(20px)!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    scroll-snap-type:x proximity!important;
    opacity:1!important;
    filter:none!important;
    z-index:100000!important;
  }
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-site-header-v298.lopsp-mobile-nav-open .lopsp-unified-main-nav-v297{
    display:grid!important;
  }
  html body .lopsp-unified-main-nav-v297::-webkit-scrollbar,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav::-webkit-scrollbar{display:none!important;}

  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    flex:none!important;
    scroll-snap-align:start!important;
    min-width:0!important;
  }
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    min-height:38px!important;
    height:38px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:8px 12px!important;
    margin:0!important;
    border-radius:999px!important;
    font-size:13.5px!important;
    line-height:1.05!important;
    font-weight:1000!important;
    white-space:nowrap!important;
    color:#172554!important;
    background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;
    border:1px solid rgba(219,234,254,.98)!important;
    box-shadow:0 9px 20px rgba(15,23,42,.07)!important;
    opacity:1!important;
    filter:none!important;
    text-shadow:none!important;
    text-decoration:none!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle .lopsp-nav-label,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{
    max-width:128px!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    opacity:1!important;
    filter:none!important;
  }
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{max-width:188px!important;}
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-caret{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    flex:0 0 22px!important;
    background:linear-gradient(135deg,#38bdf8 0%,#2563eb 100%)!important;
    color:#fff!important;
    box-shadow:0 8px 17px rgba(2,132,199,.20)!important;
  }
  html body .lopsp-unified-main-nav-v297 > a.active,
  html body .lopsp-unified-main-nav-v297 > a:hover,
  html body .lopsp-unified-main-nav-v297 > a:focus-visible,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown[open] > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.is-open > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown.active > .lopsp-nav-dropdown-toggle,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:hover,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle:focus-visible,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-upgrade-action,
  html body .lopsp-unified-main-nav-v297 .lopsp-topnav-upgrade{
    opacity:1!important;
    filter:none!important;
    color:#ffffff!important;
    border-color:transparent!important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 55%,#7c3aed 100%)!important;
    box-shadow:0 12px 24px rgba(37,99,235,.22)!important;
  }

  html body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-private-standalone-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-report-body .lopsp-student-shell-with-fixed-topnav,
  html body.lop-support-body .lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-pathway-body .lopsp-student-shell-with-fixed-topnav{
    padding-top:0!important;
    margin-top:0!important;
  }
  html body .lopsp-wrap.lopsp-private-shell,
  html body .lopsp-private-shell,
  html body .lopsp-student-report-shell,
  html body .lopsp-remind-wrap,
  html body .lopsp-info-main,
  html body .lop-pathway-shell{
    margin-top:0!important;
    padding-top:0!important;
  }
}

@media (max-width: 430px){
  html body{--lopsp-mobile-header-h:58px;}
  html body .lopsp-unified-site-header-v298,
  html body .lopsp-unified-site-header-v298.lopsp-nav-ported{padding:7px 10px!important;gap:8px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 img,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand img{width:38px!important;height:38px!important;min-width:38px!important;border-radius:13px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{font-size:18px!important;max-width:156px!important;}
  html body .lopsp-mobile-menu-toggle-v308{height:42px!important;min-height:42px!important;padding:0 12px!important;font-size:13.5px!important;}
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-main-nav-v297{
    left:8px!important;
    right:8px!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:130px!important;
    border-radius:20px!important;
    padding:9px 10px!important;
    gap:7px!important;
    grid-template-rows:repeat(2, minmax(36px, auto))!important;
  }
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{height:36px!important;min-height:36px!important;padding:7px 10px!important;font-size:12.8px!important;}
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-caret{width:20px!important;height:20px!important;min-width:20px!important;}
}

@media (max-width: 360px){
  html body .lopsp-unified-site-header-v298 .lopsp-unified-brand-v298 strong,
  html body .lopsp-unified-site-header-v298 .lopsp-site-brand strong{max-width:124px!important;font-size:17px!important;}
  html body .lopsp-mobile-menu-toggle-v308 strong{display:none!important;}
  html body .lopsp-mobile-menu-toggle-v308{width:44px!important;padding:0!important;}
}

/* v2.8.309 - Mobile menu panel shows all items without horizontal swipe.
   Desktop fixed-top menu is untouched. When the mobile Menu button opens, the nav
   becomes an auto-fit grid so every item is visible in the panel. */
@media (max-width: 782px){
  html body .lopsp-unified-site-header-v298::before,
  html body .lopsp-unified-site-header-v298::after,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow::before,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-has-overflow::after,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-user-scrolled::before,
  html body .lopsp-unified-site-header-v298.lopsp-header-nav-user-scrolled::after{
    content:none!important;
    display:none!important;
  }

  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-main-nav-v297{
    grid-template-columns:repeat(auto-fit, minmax(106px, 1fr))!important;
    grid-template-rows:none!important;
    grid-auto-flow:row!important;
    grid-auto-columns:unset!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    justify-items:stretch!important;
    gap:8px!important;
    padding:11px!important;
    max-height:none!important;
    height:auto!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    scroll-snap-type:none!important;
    -webkit-overflow-scrolling:auto!important;
  }

  html body .lopsp-unified-main-nav-v297.lopsp-nav-has-overflow,
  html body .lopsp-unified-main-nav-v297.lopsp-nav-has-overflow:not(.lopsp-nav-at-end){
    box-shadow:0 22px 56px rgba(15,23,42,.18), 0 0 0 9999px rgba(15,23,42,.12)!important;
  }

  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    scroll-snap-align:none!important;
  }

  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    min-height:40px!important;
    height:auto!important;
    justify-content:center!important;
    padding:9px 9px!important;
    white-space:normal!important;
    text-align:center!important;
    overflow:visible!important;
  }

  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle .lopsp-nav-label,
  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label{
    max-width:100%!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    line-height:1.08!important;
  }

  html body .lopsp-unified-main-nav-v297 .lopsp-lop-dropdown > .lopsp-nav-dropdown-toggle{
    max-width:100%!important;
  }

  html body .lopsp-unified-main-nav-v297 .lopsp-nav-caret{
    flex:0 0 20px!important;
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
  }
}

@media (max-width: 430px){
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-shared-topnav,
  html body .lopsp-unified-site-header-v298 .lopsp-main-nav.lopsp-student-main-nav-v277,
  html body .lopsp-unified-main-nav-v297{
    grid-template-columns:repeat(auto-fit, minmax(96px, 1fr))!important;
    gap:7px!important;
    padding:10px!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
  }
  html body .lopsp-unified-main-nav-v297 > a,
  html body .lopsp-unified-main-nav-v297 .lopsp-nav-dropdown-toggle{
    min-height:38px!important;
    padding:8px 8px!important;
    font-size:12.6px!important;
  }
}


/* v2.8.310 - Fix /goc-hoc-tap lesson/quiz hub workflow cards: keep number, title and subtitle readable. */
.lop-study-lesson-hub-flow .lop-study-workflow-steps,
.lop-study-quiz-flow .lop-study-workflow-steps{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:clamp(12px,1.5vw,18px) !important;
  align-items:stretch !important;
}
.lop-study-lesson-hub-flow .lop-study-workflow-steps > span,
.lop-study-quiz-flow .lop-study-workflow-steps > span{
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  align-items:center !important;
  justify-content:initial !important;
  column-gap:13px !important;
  row-gap:3px !important;
  min-height:90px !important;
  padding:16px 18px !important;
  text-align:left !important;
  overflow:hidden !important;
  white-space:normal !important;
}
.lop-study-lesson-hub-flow .lop-study-workflow-steps > span > i,
.lop-study-quiz-flow .lop-study-workflow-steps > span > i{
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  align-self:center !important;
  justify-self:center !important;
  display:inline-flex !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  border-radius:16px !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#4f46e5,#06b6d4) !important;
  color:#fff !important;
  font-size:18px !important;
  line-height:1 !important;
  font-weight:950 !important;
  font-style:normal !important;
  box-shadow:0 12px 28px rgba(79,70,229,.22) !important;
  text-align:center !important;
}
.lop-study-lesson-hub-flow .lop-study-workflow-steps > span > strong,
.lop-study-quiz-flow .lop-study-workflow-steps > span > strong{
  grid-column:2 !important;
  grid-row:1 !important;
  display:block !important;
  min-width:0 !important;
  margin:0 !important;
  color:#07133f !important;
  font-size:clamp(16px,1.15vw,20px) !important;
  line-height:1.18 !important;
  font-weight:950 !important;
  letter-spacing:-.02em !important;
  white-space:normal !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
}
.lop-study-lesson-hub-flow .lop-study-workflow-steps > span > small,
.lop-study-quiz-flow .lop-study-workflow-steps > span > small{
  grid-column:2 !important;
  grid-row:2 !important;
  display:block !important;
  min-width:0 !important;
  margin:2px 0 0 !important;
  color:#56637a !important;
  font-size:clamp(12.5px,.95vw,14px) !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  white-space:normal !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
}
.lop-study-lesson-hub-flow .lop-study-workflow-steps > span:where(:hover,:focus-within),
.lop-study-quiz-flow .lop-study-workflow-steps > span:where(:hover,:focus-within){
  transform:translateY(-1px);
  box-shadow:0 18px 42px rgba(15,23,42,.08) !important;
}
@media(max-width:1080px){
  .lop-study-lesson-hub-flow .lop-study-workflow-steps,
  .lop-study-quiz-flow .lop-study-workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:640px){
  .lop-study-lesson-hub-flow .lop-study-workflow-steps,
  .lop-study-quiz-flow .lop-study-workflow-steps{grid-template-columns:1fr !important;}
  .lop-study-lesson-hub-flow .lop-study-workflow-steps > span,
  .lop-study-quiz-flow .lop-study-workflow-steps > span{min-height:78px !important;padding:14px 15px !important;grid-template-columns:40px minmax(0,1fr) !important;}
  .lop-study-lesson-hub-flow .lop-study-workflow-steps > span > i,
  .lop-study-quiz-flow .lop-study-workflow-steps > span > i{width:38px !important;height:38px !important;min-width:38px !important;border-radius:14px !important;}
}


/* v2.8.311 - Replace black CTA/status buttons with dark gray gradient for visual consistency */
:root{
  --lop-dark-gray-btn-a:#334155;
  --lop-dark-gray-btn-b:#64748b;
  --lop-dark-gray-btn-c:#475569;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-status,
body.lopsp-private-standalone-body .lopsp-flow-zone-head .lopsp-flow-zone-status,
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-done .lopsp-flow-zone-status,
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-active .lopsp-flow-zone-status,
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-priority .lopsp-flow-zone-status,
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-ready .lopsp-flow-zone-status,
body.lopsp-private-standalone-body .lopsp-flow-zone-head.is-muted .lopsp-flow-zone-status{
  background:linear-gradient(135deg,var(--lop-dark-gray-btn-a),var(--lop-dark-gray-btn-b))!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.20)!important;
  text-shadow:0 1px 1px rgba(15,23,42,.22)!important;
  box-shadow:0 14px 30px rgba(51,65,85,.22)!important;
}
body.lopsp-private-standalone-body .lopsp-flow-zone-status:hover,
body.lopsp-private-standalone-body .lopsp-flow-zone-status:focus-visible{
  background:linear-gradient(135deg,#475569,#94a3b8)!important;
  box-shadow:0 18px 38px rgba(51,65,85,.26)!important;
}
.lop-study-flow-toggle:hover,
.lop-study-flow-toggle:focus-visible,
.lopsp-lop-flow-toggle:hover,
.lopsp-lop-flow-toggle:focus-visible{
  background:linear-gradient(135deg,var(--lop-dark-gray-btn-a),var(--lop-dark-gray-btn-c))!important;
  box-shadow:0 18px 36px rgba(51,65,85,.24)!important;
}
.lop-study-flow-toggle.is-dark,
.lopsp-lop-flow-toggle.is-dark,
.lopsp-public-btn.is-dark,
.lopsp-primary-soft.is-dark{
  background:linear-gradient(135deg,var(--lop-dark-gray-btn-a),var(--lop-dark-gray-btn-b))!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.20)!important;
  box-shadow:0 14px 30px rgba(51,65,85,.22)!important;
}

/* v2.8.314 - Content Hub public admin quick actions + full image cards */
.lopsp-contenthub-body .lopsp-hub-card-image{height:230px!important;background:linear-gradient(135deg,#f8fafc,#ffffff)!important;padding:0!important;border-bottom:1px solid rgba(148,163,184,.18)}
.lopsp-contenthub-body .lopsp-hub-card-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;background:#fff!important;transform:none!important}
.lopsp-contenthub-body .lopsp-hub-card:hover .lopsp-hub-card-image img{transform:none!important}
.lopsp-contenthub-body .lopsp-hub-featured{background:#fff!important}
.lopsp-contenthub-body .lopsp-hub-featured img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;background:#fff!important}
.lopsp-contenthub-body .lopsp-hub-adminbar{margin:18px 0 22px;padding:14px 16px;border:1px solid rgba(37,99,235,.18);border-radius:24px;background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.98));box-shadow:0 18px 45px rgba(15,23,42,.08);display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:5}
.lopsp-contenthub-body .lopsp-hub-adminbar:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;border-radius:24px 0 0 24px;background:linear-gradient(180deg,#2563eb,#7c3aed)}
.lopsp-contenthub-body .lopsp-hub-adminbar>div{padding-left:8px;display:flex;flex-direction:column;gap:3px;min-width:220px}.lopsp-contenthub-body .lopsp-hub-adminbar span{font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.12em;color:#2563eb;font-weight:900}.lopsp-contenthub-body .lopsp-hub-adminbar strong{font-size:15px;color:#0f172a;line-height:1.25}.lopsp-contenthub-body .lopsp-hub-adminbar nav{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.lopsp-contenthub-body .lopsp-hub-adminbar-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border-radius:999px;text-decoration:none;font-size:13px;font-weight:900;color:#1d4ed8;background:#fff;border:1px solid rgba(37,99,235,.2);box-shadow:0 8px 20px rgba(37,99,235,.08)}.lopsp-contenthub-body .lopsp-hub-adminbar-btn.primary{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:transparent}.lopsp-contenthub-body .lopsp-hub-adminbar-btn.ghost{color:#334155;background:rgba(255,255,255,.75);border-color:rgba(148,163,184,.28)}.lopsp-contenthub-body .lopsp-hub-adminbar-btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(37,99,235,.16)}
@media(max-width:760px){.lopsp-contenthub-body .lopsp-hub-card-image{height:200px!important}.lopsp-contenthub-body .lopsp-hub-adminbar{align-items:flex-start;flex-direction:column;border-radius:20px}.lopsp-contenthub-body .lopsp-hub-adminbar nav{width:100%;justify-content:flex-start}.lopsp-contenthub-body .lopsp-hub-adminbar-btn{flex:1 1 150px}}

/* v2.8.326 - Professional unavailable state for /lop-public/{slug}/ */
.lopsp-public-status-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(59,130,246,.16), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(124,58,237,.14), transparent 30%),
    linear-gradient(180deg,#f7fbff 0%,#eef5ff 46%,#f8fafc 100%);
  color:#0f172a;
}
.lopsp-public-status-shell{
  width:min(1120px,calc(100% - 32px));
  margin:clamp(24px,5vw,58px) auto;
  padding-bottom:48px;
}
.lopsp-public-status-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(147,197,253,.58);
  border-radius:34px;
  background:rgba(255,255,255,.9);
  box-shadow:0 28px 80px rgba(30,64,175,.16), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(18px);
}
.lopsp-public-status-glow{
  position:absolute;
  inset:-120px -80px auto auto;
  width:330px;
  height:330px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(37,99,235,.2),rgba(14,165,233,.13),rgba(168,85,247,.14));
  filter:blur(8px);
  pointer-events:none;
}
.lopsp-public-status-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:28px;
  padding:clamp(24px,4vw,46px);
}
.lopsp-public-status-main{
  min-width:0;
}
.lopsp-public-status-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:9px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#e0f2fe,#eef2ff);
  color:#1d4ed8;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.18);
}
.lopsp-public-status-icon{
  display:grid;
  place-items:center;
  width:76px;
  height:76px;
  margin:24px 0 18px;
  border-radius:24px;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  color:#fff;
  font-size:34px;
  box-shadow:0 18px 44px rgba(37,99,235,.26);
}
.lopsp-public-status-main h1{
  margin:0;
  font-size:clamp(32px,5vw,56px);
  line-height:1.02;
  letter-spacing:-.045em;
  color:#0f172a;
}
.lopsp-public-status-message{
  margin:18px 0 22px;
  max-width:760px;
  color:#475569;
  font-size:clamp(16px,2vw,20px);
  line-height:1.7;
}
.lopsp-public-status-url,
.lopsp-public-status-user{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  width:max-content;
  max-width:100%;
  margin:12px 0;
  padding:12px 14px;
  border:1px solid rgba(191,219,254,.85);
  border-radius:18px;
  background:rgba(239,246,255,.72);
  color:#334155;
}
.lopsp-public-status-url span,
.lopsp-public-status-user span{
  color:#64748b;
  font-weight:800;
}
.lopsp-public-status-url code{
  padding:4px 8px;
  border-radius:10px;
  background:#fff;
  color:#1e3a8a;
  font-weight:900;
  white-space:normal;
  word-break:break-word;
}
.lopsp-public-status-user strong{
  color:#0f172a;
  font-weight:950;
}
.lopsp-public-status-user small{
  color:#64748b;
  font-weight:800;
}
.lopsp-public-status-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.lopsp-public-status-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none!important;
  font-weight:950;
  line-height:1.2;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.lopsp-public-status-btn:hover{
  transform:translateY(-1px);
}
.lopsp-public-status-btn.primary{
  color:#fff!important;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  box-shadow:0 16px 34px rgba(37,99,235,.24);
}
.lopsp-public-status-btn.ghost{
  color:#1e3a8a!important;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(147,197,253,.9),0 10px 26px rgba(15,23,42,.08);
}
.lopsp-public-status-btn.soft{
  color:#0f766e!important;
  background:linear-gradient(135deg,#ccfbf1,#ecfeff);
  box-shadow:inset 0 0 0 1px rgba(45,212,191,.42);
}
.lopsp-public-status-btn.admin{
  color:#581c87!important;
  background:linear-gradient(135deg,#f3e8ff,#eef2ff);
  box-shadow:inset 0 0 0 1px rgba(168,85,247,.25);
}
.lopsp-public-status-side{
  align-self:stretch;
  padding:22px;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(248,250,252,.9),rgba(239,246,255,.78));
  border:1px solid rgba(191,219,254,.8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.lopsp-public-status-side h2{
  margin:0 0 14px;
  color:#0f172a;
  font-size:20px;
  letter-spacing:-.02em;
}
.lopsp-public-status-side ul{
  margin:0;
  padding:0;
  list-style:none;
}
.lopsp-public-status-side li{
  position:relative;
  margin:0 0 12px;
  padding:13px 14px 13px 42px;
  border-radius:18px;
  background:#fff;
  color:#475569;
  font-weight:750;
  line-height:1.45;
  box-shadow:0 10px 24px rgba(30,64,175,.07);
}
.lopsp-public-status-side li:before{
  content:'✓';
  position:absolute;
  left:13px;
  top:12px;
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#dbeafe;
  color:#2563eb;
  font-weight:950;
  font-size:13px;
}
.lopsp-public-status-note{
  margin-top:18px;
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.72);
  border:1px dashed rgba(96,165,250,.7);
  color:#64748b;
}
.lopsp-public-status-note strong{
  display:block;
  margin-bottom:6px;
  color:#1e3a8a;
}
.lopsp-public-status-note span{
  display:block;
  line-height:1.55;
}
.lopsp-public-status-private .lopsp-public-status-icon{background:linear-gradient(135deg,#4f46e5,#06b6d4)}
.lopsp-public-status-profile .lopsp-public-status-icon{background:linear-gradient(135deg,#16a34a,#06b6d4)}
.lopsp-public-status-user .lopsp-public-status-icon{background:linear-gradient(135deg,#f97316,#ef4444)}
.lopsp-public-status-inactive .lopsp-public-status-icon{background:linear-gradient(135deg,#64748b,#334155)}
.lopsp-public-status-mismatch .lopsp-public-status-icon{background:linear-gradient(135deg,#7c3aed,#2563eb)}
.lopsp-public-status-missing .lopsp-public-status-icon{background:linear-gradient(135deg,#0f172a,#334155)}
@media (max-width: 860px){
  .lopsp-public-status-shell{width:min(100% - 24px,720px);margin:22px auto 34px;}
  .lopsp-public-status-grid{grid-template-columns:1fr;padding:22px;gap:20px;}
  .lopsp-public-status-card{border-radius:28px;}
  .lopsp-public-status-icon{width:66px;height:66px;border-radius:22px;font-size:30px;}
  .lopsp-public-status-main h1{font-size:clamp(28px,8vw,42px);}
  .lopsp-public-status-actions{display:grid;grid-template-columns:1fr;gap:10px;}
  .lopsp-public-status-btn{width:100%;}
}
@media (max-width: 480px){
  .lopsp-public-status-shell{width:calc(100% - 18px);}
  .lopsp-public-status-grid{padding:18px;}
  .lopsp-public-status-side{padding:16px;border-radius:22px;}
  .lopsp-public-status-url,.lopsp-public-status-user{width:100%;}
}

/* v2.8.337 - Align /lop-public/{slug}/ with /lop layout and mobile dashboard width. UI-only. */
html body.lopsp-public-profile-body{
  margin-top:0!important;
  padding-top:0!important;
  background:linear-gradient(180deg,#f6f8ff 0%,#f8fafc 46%,#ffffff 100%)!important;
}
html body.lopsp-public-profile-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.lopsp-public-profile-body .lopsp-student-shell-with-fixed-topnav{
  width:min(1240px,100vw)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding-top:58px!important;
  padding-left:clamp(10px,2.2vw,24px)!important;
  padding-right:clamp(10px,2.2vw,24px)!important;
  padding-bottom:40px!important;
  box-sizing:border-box!important;
}
html body.admin-bar.lopsp-public-profile-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
html body.admin-bar.lopsp-public-profile-body .lopsp-student-shell-with-fixed-topnav{
  padding-top:90px!important;
}
html body.lopsp-public-profile-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.lopsp-public-profile-body .lopsp-student-main-nav-v277.lopsp-main-nav{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(100vw,1240px)!important;
  max-width:100vw!important;
  margin:0!important;
  z-index:2147482000!important;
  border-top:0!important;
  border-radius:0 0 20px 20px!important;
}
html body.admin-bar.lopsp-public-profile-body .lopsp-student-shared-topnav.lopsp-main-nav,
html body.admin-bar.lopsp-public-profile-body .lopsp-student-main-nav-v277.lopsp-main-nav{
  top:32px!important;
}
body.lopsp-public-profile-body .lopsp-hero{
  margin-top:0!important;
  border-radius:30px!important;
  overflow:hidden!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10)!important;
}
body.lopsp-public-profile-body #lop-streak-calendar-top{
  margin:14px 0 12px!important;
  border-radius:28px!important;
}
body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-spotlight-head{
  gap:12px!important;
}
body.lopsp-public-profile-body .lopsp-grid-cards,
body.lopsp-public-profile-body .lopsp-grid-cards-v158{
  width:100%!important;
  margin:12px 0!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
}
body.lopsp-public-profile-body .lopsp-card-v158{
  min-height:118px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  box-shadow:0 16px 40px rgba(15,23,42,.07)!important;
}
body.lopsp-public-profile-body .lopsp-public-achievement-panel{
  margin:12px 0 14px!important;
  border-radius:28px!important;
}
body.lopsp-public-profile-body .lopsp-main-grid,
body.lopsp-public-profile-body .lopsp-two-col,
body.lopsp-public-profile-body .lopsp-panel{
  max-width:100%!important;
}
body.lopsp-public-profile-body .lopsp-panel{
  border-radius:24px!important;
  box-shadow:0 18px 54px rgba(15,23,42,.07)!important;
}
@media(max-width:980px){
  body.lopsp-public-profile-body .lopsp-grid-cards,
  body.lopsp-public-profile-body .lopsp-grid-cards-v158{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:782px){
  html body.admin-bar.lopsp-public-profile-body .lopsp-student-shared-topnav.lopsp-main-nav,
  html body.admin-bar.lopsp-public-profile-body .lopsp-student-main-nav-v277.lopsp-main-nav{
    top:46px!important;
  }
  html body.admin-bar.lopsp-public-profile-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.admin-bar.lopsp-public-profile-body .lopsp-student-shell-with-fixed-topnav{
    padding-top:104px!important;
  }
}
@media(max-width:640px){
  html body.lopsp-public-profile-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-public-profile-body .lopsp-student-shell-with-fixed-topnav{
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
    margin:0 auto!important;
    padding-top:52px!important;
    padding-left:5px!important;
    padding-right:5px!important;
    padding-bottom:32px!important;
  }
  html body.lopsp-public-profile-body .lopsp-student-shared-topnav.lopsp-main-nav,
  html body.lopsp-public-profile-body .lopsp-student-main-nav-v277.lopsp-main-nav{
    width:100vw!important;
    max-width:100vw!important;
    padding:6px!important;
    border-radius:0 0 16px 16px!important;
  }
  body.lopsp-public-profile-body .lopsp-hero,
  body.lopsp-public-profile-body .lopsp-panel,
  body.lopsp-public-profile-body .lopsp-public-achievement-panel,
  body.lopsp-public-profile-body #lop-streak-calendar-top{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.lopsp-public-profile-body .lopsp-hero{
    border-radius:20px!important;
  }
  body.lopsp-public-profile-body .lopsp-banner{
    min-height:126px!important;
  }
  body.lopsp-public-profile-body .lopsp-profilebar-v154{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:10px!important;
  }
  body.lopsp-public-profile-body .lopsp-profilebar-v154 .lopsp-avatar-wrap{
    grid-column:1!important;
    margin-top:-38px!important;
  }
  body.lopsp-public-profile-body .lopsp-profilebar-v154 .lopsp-avatar{
    width:72px!important;
    height:72px!important;
  }
  body.lopsp-public-profile-body .lopsp-profilebar-v154 .lopsp-identity{
    grid-column:2!important;
    min-width:0!important;
  }
  body.lopsp-public-profile-body .lopsp-profilebar-v154 .lopsp-identity h2{
    font-size:21px!important;
    line-height:1.12!important;
    margin-bottom:5px!important;
  }
  body.lopsp-public-profile-body .lopsp-minirow{
    gap:6px!important;
  }
  body.lopsp-public-profile-body .lopsp-minirow span{
    width:100%!important;
    box-sizing:border-box!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top{
    padding:10px!important;
    border-radius:18px!important;
    margin:8px 0!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-panel-head,
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-spotlight-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-spotlight-head h3{
    font-size:22px!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-note{
    font-size:13px!important;
    line-height:1.4!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-month-nav{
    width:100%!important;
    justify-content:space-between!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-spotlight-body{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-summary-card{
    padding:12px!important;
    border-radius:16px!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-summary-card strong{
    font-size:34px!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-calendar-box{
    padding:6px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-calendar,
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-spacing:1px!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-calendar th,
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-calendar td,
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table th,
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table td{
    min-width:0!important;
    max-width:14.285%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.lopsp-public-profile-body #lop-streak-calendar-top .lopsp-streak-calendar-top-table td{
    height:42px!important;
    border-radius:10px!important;
  }
  body.lopsp-public-profile-body .lopsp-grid-cards,
  body.lopsp-public-profile-body .lopsp-grid-cards-v158{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:8px 0!important;
  }
  body.lopsp-public-profile-body .lopsp-card,
  body.lopsp-public-profile-body .lopsp-card-v158{
    min-height:96px!important;
    padding:11px!important;
    border-radius:16px!important;
  }
  body.lopsp-public-profile-body .lopsp-card-value{
    font-size:25px!important;
    line-height:1.05!important;
  }
  body.lopsp-public-profile-body .lopsp-card-label,
  body.lopsp-public-profile-body .lopsp-card-sub{
    font-size:12px!important;
    line-height:1.25!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-panel{
    padding:12px!important;
    border-radius:18px!important;
    margin:8px 0!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-hero{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-hero h3{
    font-size:22px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-hero p{
    font-size:14px!important;
    line-height:1.45!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-seal{
    min-height:110px!important;
    border-radius:18px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-card{
    display:block!important;
    padding:10px!important;
    border-radius:16px!important;
    min-height:118px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-icon{
    width:42px!important;
    height:42px!important;
    border-radius:14px!important;
    margin-bottom:8px!important;
    font-size:22px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-card strong{
    font-size:24px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-card small,
  body.lopsp-public-profile-body .lopsp-public-achievement-card em{
    font-size:11px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-progress-strip{
    grid-template-columns:1fr!important;
    padding:10px!important;
    border-radius:16px!important;
    gap:8px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-achievement-note{
    padding:10px!important;
    border-radius:16px!important;
  }
}
@media(max-width:380px){
  html body.lopsp-public-profile-body .lopsp-wrap.lopsp-student-shell-with-fixed-topnav,
  html body.lopsp-public-profile-body .lopsp-student-shell-with-fixed-topnav{
    width:calc(100vw - 8px)!important;
    max-width:calc(100vw - 8px)!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
  body.lopsp-public-profile-body .lopsp-grid-cards,
  body.lopsp-public-profile-body .lopsp-grid-cards-v158,
  body.lopsp-public-profile-body .lopsp-public-achievement-grid{
    gap:7px!important;
  }
}

/* v2.8.338 - /lop-public statistics board: full-width card layout aligned with /lop. UI-only. */
body.lopsp-public-profile-body .lopsp-profilebar-v154 .lopsp-minirow{
  display:none!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:14px 0 16px!important;
  padding:18px!important;
  border-radius:32px!important;
  border:1px solid rgba(191,219,254,.82)!important;
  background:
    radial-gradient(circle at 8% 0%,rgba(59,130,246,.15),transparent 34%),
    radial-gradient(circle at 92% 16%,rgba(34,197,94,.14),transparent 36%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef6ff 100%)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.78)!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board:before{
  content:"";
  position:absolute;
  inset:auto -70px -90px auto;
  width:220px;
  height:220px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(99,102,241,.16),rgba(99,102,241,0) 68%);
  pointer-events:none;
  z-index:-1;
}
body.lopsp-public-profile-body .lopsp-public-stats-board-head{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:minmax(0,auto) minmax(0,1fr)!important;
  grid-template-areas:"pill title" "pill desc";
  align-items:center!important;
  gap:2px 12px!important;
  padding:2px 4px 6px!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board-head span{
  grid-area:pill;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(59,130,246,.18)!important;
  background:#fff!important;
  color:#1d4ed8!important;
  font-weight:1000!important;
  box-shadow:0 10px 24px rgba(37,99,235,.08)!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board-head strong{
  grid-area:title;
  display:block!important;
  color:#071129!important;
  font-size:clamp(18px,2.4vw,25px)!important;
  line-height:1.12!important;
  font-weight:1000!important;
  letter-spacing:-.035em!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board-head small{
  grid-area:desc;
  display:block!important;
  color:#64748b!important;
  font-size:13px!important;
  font-weight:780!important;
  line-height:1.45!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-v158{
  position:relative!important;
  overflow:hidden!important;
  min-height:126px!important;
  padding:16px 15px!important;
  border-radius:24px!important;
  border:1px solid rgba(226,232,240,.9)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.94))!important;
  box-shadow:0 16px 38px rgba(15,23,42,.07)!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-v158:after{
  content:"";
  position:absolute;
  right:-34px;
  bottom:-42px;
  width:104px;
  height:104px;
  border-radius:999px;
  background:rgba(219,234,254,.78);
  pointer-events:none;
}
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-label,
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-value,
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-sub{
  position:relative!important;
  z-index:1!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-label{
  color:#334155!important;
  font-size:13px!important;
  font-weight:1000!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-value{
  color:#061337!important;
  font-size:clamp(28px,3vw,42px)!important;
}
body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-sub{
  color:#64748b!important;
  font-size:12.5px!important;
  font-weight:850!important;
}
@media(max-width:1100px){
  body.lopsp-public-profile-body .lopsp-public-stats-board{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  body.lopsp-public-profile-body .lopsp-public-stats-board{
    width:100%!important;
    max-width:100%!important;
    margin:10px 0 12px!important;
    padding:12px!important;
    border-radius:22px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board-head{
    grid-template-columns:1fr!important;
    grid-template-areas:"pill" "title" "desc"!important;
    gap:6px!important;
    padding:2px 2px 4px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board-head span{
    width:max-content!important;
    max-width:100%!important;
    min-height:30px!important;
    padding:7px 10px!important;
    font-size:12px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board-head strong{
    font-size:18px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board-head small{
    font-size:12px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-v158{
    min-height:102px!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-label{
    font-size:11.5px!important;
    line-height:1.2!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-value{
    font-size:clamp(23px,8vw,32px)!important;
  }
  body.lopsp-public-profile-body .lopsp-public-stats-board .lopsp-card-sub{
    font-size:10.8px!important;
    line-height:1.22!important;
  }
}

/* v2.8.348 - Lesson detail: canonical Unit list + linked Quiz flow placement. */
.lop-study-unit-learning-list{margin:18px 0 22px!important;padding:22px!important;border-radius:28px!important;border:1px solid #dbeafe!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;box-shadow:0 20px 52px rgba(15,23,42,.07)!important;}
.lop-study-lesson-unit-list-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:16px!important;margin-top:18px!important;overflow:visible!important;}
.lop-study-lesson-unit-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;min-height:100%!important;padding:16px!important;border:1px solid #dbeafe!important;background:#fff!important;border-radius:24px!important;box-shadow:0 16px 36px rgba(15,23,42,.06)!important;}
.lop-study-lesson-unit-card .lop-study-unit-thumb-wrap{width:100%!important;height:150px!important;border-radius:20px!important;overflow:hidden!important;display:grid!important;place-items:center!important;margin:0!important;background:linear-gradient(135deg,#eff6ff,#f8fafc)!important;border:1px solid #dbeafe!important;}
.lop-study-lesson-unit-card .lop-study-unit-thumb-wrap button{width:100%!important;height:100%!important;border:0!important;background:transparent!important;padding:0!important;cursor:pointer!important;}
.lop-study-lesson-unit-card .lop-study-unit-thumb{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.lop-study-lesson-unit-card .lop-study-unit-thumb-empty span{font-size:14px!important;font-weight:1000!important;letter-spacing:.08em!important;color:#2563eb!important;}
.lop-study-lesson-unit-copy{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;}
.lop-study-lesson-unit-copy small{display:inline-flex!important;align-self:flex-start!important;padding:6px 10px!important;border-radius:999px!important;background:#eef2ff!important;color:#3730a3!important;font-weight:900!important;font-size:12px!important;line-height:1.2!important;}
.lop-study-lesson-unit-copy strong{font-size:19px!important;line-height:1.2!important;color:#0f172a!important;font-weight:1000!important;}
.lop-study-lesson-unit-copy span{font-size:15px!important;line-height:1.5!important;color:#475569!important;font-weight:750!important;}
.lop-study-lesson-unit-copy em{font-style:normal!important;font-size:13px!important;line-height:1.45!important;color:#64748b!important;}
.lop-study-lesson-unit-card .lop-study-unit-audio{width:100%!important;max-width:100%!important;}
.lop-study-unit-youtube-link{width:100%!important;text-align:center!important;justify-content:center!important;}
.lop-study-linked-quizzes-flow{margin:20px 0 24px!important;padding:24px!important;border-radius:30px!important;border:1px solid #dbeafe!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;box-shadow:0 20px 52px rgba(15,23,42,.07)!important;}
@media(max-width:680px){
  .lop-study-unit-learning-list,.lop-study-linked-quizzes-flow{margin-left:-2px!important;margin-right:-2px!important;padding:16px!important;border-radius:24px!important;}
  .lop-study-lesson-unit-list-grid{grid-template-columns:1fr!important;gap:14px!important;}
  .lop-study-lesson-unit-card{padding:14px!important;border-radius:22px!important;}
  .lop-study-lesson-unit-card .lop-study-unit-thumb-wrap{height:132px!important;border-radius:18px!important;}
}

/* v2.8.349 - Lesson Unit detail popup. */
.lop-study-unit-detail-open{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:44px!important;padding:10px 14px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;font-weight:1000!important;font-size:14px!important;box-shadow:0 14px 28px rgba(37,99,235,.22)!important;cursor:pointer!important;text-decoration:none!important;}
.lop-study-unit-detail-open:hover{transform:translateY(-1px)!important;box-shadow:0 18px 34px rgba(37,99,235,.28)!important;}
.lop-study-unit-detail-modal[hidden]{display:none!important;}
.lop-study-unit-detail-modal{position:fixed!important;inset:0!important;z-index:100010!important;display:grid!important;place-items:center!important;padding:22px!important;}
.lop-study-unit-detail-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.74)!important;backdrop-filter:blur(7px)!important;}
.lop-study-unit-detail-dialog{position:relative!important;z-index:2!important;width:min(1040px,94vw)!important;max-height:90vh!important;overflow:auto!important;border-radius:32px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;border:1px solid rgba(219,234,254,.95)!important;box-shadow:0 34px 90px rgba(15,23,42,.32)!important;padding:24px!important;color:#0f172a!important;}
.lop-study-unit-detail-close{position:sticky!important;top:0!important;float:right!important;z-index:4!important;width:44px!important;height:44px!important;border:0!important;border-radius:999px!important;background:#eef2ff!important;color:#1d4ed8!important;font-size:30px!important;line-height:1!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 12px 28px rgba(37,99,235,.15)!important;}
.lop-study-unit-detail-hero{display:grid!important;grid-template-columns:minmax(240px,360px) 1fr!important;gap:22px!important;align-items:stretch!important;margin-bottom:20px!important;clear:both!important;}
.lop-study-unit-detail-media{min-height:260px!important;border-radius:28px!important;overflow:hidden!important;background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;border:1px solid #dbeafe!important;display:grid!important;place-items:center!important;}
.lop-study-unit-detail-media .lop-study-unit-detail-image-btn{width:100%!important;height:100%!important;border-radius:0!important;}
.lop-study-unit-detail-media img{width:100%!important;height:100%!important;min-height:260px!important;object-fit:cover!important;display:block!important;}
.lop-study-unit-detail-media-empty{display:grid!important;place-items:center!important;text-align:center!important;gap:8px!important;color:#2563eb!important;font-weight:1000!important;}
.lop-study-unit-detail-media-empty span{display:grid!important;place-items:center!important;width:84px!important;height:84px!important;border-radius:26px!important;background:#fff!important;box-shadow:0 16px 36px rgba(37,99,235,.16)!important;letter-spacing:.08em!important;}
.lop-study-unit-detail-title{display:flex!important;flex-direction:column!important;gap:12px!important;padding:6px 8px!important;}
.lop-study-unit-detail-title h2{margin:0!important;font-size:clamp(28px,4vw,44px)!important;line-height:1.06!important;color:#0f172a!important;font-weight:1000!important;}
.lop-study-unit-detail-title p{margin:0!important;font-size:17px!important;line-height:1.65!important;color:#475569!important;font-weight:650!important;}
.lop-study-unit-detail-tags{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
.lop-study-unit-detail-tags em{font-style:normal!important;padding:7px 11px!important;border-radius:999px!important;background:#eef2ff!important;color:#3730a3!important;font-weight:900!important;font-size:12px!important;}
.lop-study-unit-detail-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin-top:auto!important;padding-top:8px!important;}
.lop-study-unit-detail-actions audio{width:min(100%,360px)!important;}
.lop-study-unit-detail-check{margin:0!important;}
.lop-study-unit-detail-video,.lop-study-unit-detail-content{margin-top:18px!important;padding:20px!important;border-radius:26px!important;background:#fff!important;border:1px solid #e0edff!important;box-shadow:0 14px 34px rgba(15,23,42,.06)!important;}
.lop-study-unit-detail-video h3,.lop-study-unit-detail-content h3{margin:0 0 14px!important;font-size:20px!important;line-height:1.25!important;color:#0f172a!important;font-weight:1000!important;}
.lop-study-unit-detail-video .lop-content-youtube-frame{position:relative!important;width:100%!important;aspect-ratio:16/9!important;border-radius:22px!important;overflow:hidden!important;background:#0f172a!important;}
.lop-study-unit-detail-video iframe,.lop-study-unit-detail-content iframe{width:100%!important;height:100%!important;border:0!important;display:block!important;}
.lop-study-unit-detail-content{font-size:16px!important;line-height:1.7!important;color:#334155!important;}
.lop-study-unit-detail-content p{margin:0 0 12px!important;}
.lop-study-unit-detail-content img{max-width:100%!important;height:auto!important;border-radius:18px!important;}
.lop-study-unit-detail-footer{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;justify-content:flex-end!important;margin-top:18px!important;padding-top:16px!important;border-top:1px solid #e0edff!important;}
body.lop-unit-detail-open{overflow:hidden!important;}
@media(max-width:760px){
  .lop-study-unit-detail-modal{padding:10px!important;align-items:end!important;}
  .lop-study-unit-detail-dialog{width:100%!important;max-height:92vh!important;border-radius:26px 26px 0 0!important;padding:16px!important;}
  .lop-study-unit-detail-hero{grid-template-columns:1fr!important;gap:14px!important;}
  .lop-study-unit-detail-media{min-height:190px!important;border-radius:22px!important;}
  .lop-study-unit-detail-media img{min-height:190px!important;}
  .lop-study-unit-detail-title h2{font-size:30px!important;}
  .lop-study-unit-detail-title p{font-size:15px!important;}
  .lop-study-unit-detail-video,.lop-study-unit-detail-content{padding:16px!important;border-radius:22px!important;}
  .lop-study-unit-detail-footer{justify-content:flex-start!important;}
}

/* v2.8.358 - Remind schedule calendar + timetable image preview, scoped to LOP pages. */
.lopsp-remind-schedule-fields{display:grid!important;gap:12px!important;margin:14px 0!important;padding:14px!important;border:1px solid #dbeafe!important;border-radius:22px!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;box-shadow:0 12px 28px rgba(15,23,42,.04)!important;}
.lopsp-remind-schedule-fields label{display:block!important;margin:0 0 6px!important;font-weight:900!important;color:#334155!important;font-size:13px!important;}
.lopsp-remind-schedule-fields input,.lopsp-remind-schedule-fields select{width:100%!important;min-height:42px!important;border:1px solid #cbd5e1!important;border-radius:14px!important;padding:9px 11px!important;background:#fff!important;color:#0f172a!important;font:inherit!important;box-sizing:border-box!important;}
.lopsp-reminder-calendar-strip{margin-top:14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:15px!important;border:1px solid #bfdbfe!important;border-radius:24px!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;box-shadow:0 14px 34px rgba(37,99,235,.07)!important;}
.lopsp-reminder-calendar-strip.has-today-reminders{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;box-shadow:0 16px 40px rgba(249,115,22,.12)!important;}
.lopsp-reminder-calendar-strip-copy{display:grid!important;gap:4px!important;min-width:0!important;}
.lopsp-reminder-calendar-strip-copy span{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.05em!important;font-weight:1000!important;color:#2563eb!important;}
.lopsp-reminder-calendar-strip.has-today-reminders .lopsp-reminder-calendar-strip-copy span{color:#c2410c!important;}
.lopsp-reminder-calendar-strip-copy strong{display:block!important;color:#0f172a!important;font-size:17px!important;font-weight:1000!important;line-height:1.22!important;}
.lopsp-reminder-calendar-strip-copy small{display:block!important;color:#64748b!important;font-weight:760!important;line-height:1.35!important;}
.lopsp-reminder-calendar-open{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:42px!important;border-radius:999px!important;border:1px solid #bfdbfe!important;background:#fff!important;color:#1d4ed8!important;font-weight:1000!important;text-decoration:none!important;padding:10px 14px!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;white-space:nowrap!important;}
.lopsp-reminder-calendar-open:hover,.lopsp-reminder-calendar-open:focus-visible{background:#eff6ff!important;outline:none!important;transform:translateY(-1px)!important;}
.lopsp-timetable-card{margin-top:14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(190px,auto)!important;gap:14px!important;align-items:center!important;padding:15px!important;border:1px solid #e2e8f0!important;border-radius:24px!important;background:linear-gradient(135deg,#f8fafc,#fff)!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important;}
.lopsp-timetable-card.has-image{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-timetable-card-copy{display:grid!important;gap:4px!important;min-width:0!important;}
.lopsp-timetable-card-copy span{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.05em!important;font-weight:1000!important;color:#15803d!important;}
.lopsp-timetable-card-copy strong{font-size:17px!important;line-height:1.22!important;color:#0f172a!important;font-weight:1000!important;}
.lopsp-timetable-card-copy small,.lopsp-timetable-empty-note{color:#64748b!important;font-weight:760!important;line-height:1.35!important;}
.lopsp-timetable-card-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
.lopsp-timetable-preview{display:grid!important;grid-template-columns:72px auto!important;gap:10px!important;align-items:center!important;text-align:left!important;border:1px solid #bbf7d0!important;border-radius:18px!important;background:#fff!important;padding:8px 10px!important;color:#166534!important;font-weight:1000!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(22,163,74,.08)!important;}
.lopsp-timetable-preview img{width:72px!important;height:50px!important;object-fit:cover!important;border-radius:12px!important;background:#f8fafc!important;display:block!important;}
.lopsp-timetable-preview span{white-space:nowrap!important;}
.lopsp-timetable-upload-form{margin:0!important;}
.lopsp-timetable-upload-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;border-radius:999px!important;padding:10px 14px!important;background:linear-gradient(135deg,#16a34a,#059669)!important;color:#fff!important;border:0!important;font-weight:1000!important;box-shadow:0 12px 28px rgba(22,163,74,.18)!important;cursor:pointer!important;}

.lopsp-reminder-calendar-inline{margin-top:14px!important;padding:16px!important;border-radius:26px!important;border:1px solid #bfdbfe!important;background:linear-gradient(135deg,#ffffff,#eff6ff 52%,#f8fafc)!important;box-shadow:0 18px 46px rgba(37,99,235,.08)!important;}
.lopsp-reminder-calendar-inline-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin-bottom:14px!important;}
.lopsp-reminder-calendar-inline-head h4{margin:8px 0 4px!important;color:#0f172a!important;font-size:clamp(22px,2.8vw,30px)!important;line-height:1.12!important;font-weight:1000!important;letter-spacing:-.035em!important;}
.lopsp-reminder-calendar-inline-head p{margin:0!important;color:#64748b!important;font-weight:760!important;line-height:1.45!important;max-width:760px!important;}
.lopsp-reminder-calendar-inline-body{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr)!important;gap:16px!important;align-items:start!important;}
.lopsp-reminder-calendar-table-wrap{min-width:0!important;overflow-x:auto!important;padding-bottom:2px!important;}
.lopsp-reminder-calendar-inline .lopsp-reminder-calendar-table{min-width:620px!important;margin:0!important;}
.lopsp-reminder-calendar-inline-today{position:sticky!important;top:92px!important;}
.lopsp-reminder-calendar-inline-today .lopsp-note{margin:0!important;padding:14px!important;border-radius:18px!important;background:#fff!important;border:1px dashed #cbd5e1!important;color:#64748b!important;font-weight:760!important;}
@media(max-width:920px){.lopsp-reminder-calendar-inline-head,.lopsp-reminder-calendar-inline-body{grid-template-columns:1fr!important;display:grid!important;}.lopsp-reminder-calendar-inline-head .lopsp-reminder-calendar-open{width:100%!important;}.lopsp-reminder-calendar-inline-today{position:static!important;}.lopsp-reminder-calendar-inline{padding:12px!important;border-radius:22px!important;}.lopsp-reminder-calendar-inline .lopsp-reminder-calendar-table{min-width:560px!important;}}
.lopsp-reminder-calendar-modal[hidden]{display:none!important;}
.lopsp-reminder-calendar-modal{position:fixed!important;inset:0!important;z-index:100000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;box-sizing:border-box!important;}
.lopsp-reminder-calendar-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.68)!important;backdrop-filter:blur(5px)!important;}
.lopsp-reminder-calendar-card{position:relative!important;z-index:1!important;width:min(1080px,100%)!important;max-height:min(88vh,880px)!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;background:#fff!important;border-radius:30px!important;box-shadow:0 34px 90px rgba(15,23,42,.32)!important;overflow:hidden!important;border:1px solid rgba(219,234,254,.9)!important;}
.lopsp-reminder-calendar-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:20px 22px!important;border-bottom:1px solid #e2e8f0!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;}
.lopsp-reminder-calendar-head h3{margin:7px 0 4px!important;font-size:clamp(22px,3vw,34px)!important;line-height:1.08!important;color:#0f172a!important;font-weight:1000!important;letter-spacing:-.04em!important;}
.lopsp-reminder-calendar-head p{margin:0!important;color:#64748b!important;font-weight:760!important;line-height:1.45!important;}
.lopsp-reminder-calendar-close{flex:0 0 auto!important;width:44px!important;height:44px!important;border-radius:999px!important;border:1px solid #bfdbfe!important;background:#fff!important;color:#1d4ed8!important;font-size:30px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 12px 26px rgba(15,23,42,.08)!important;}
.lopsp-reminder-calendar-body{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)!important;gap:16px!important;padding:18px!important;overflow:auto!important;background:#f8fafc!important;}
.lopsp-reminder-calendar-table{width:100%!important;border-collapse:separate!important;border-spacing:7px!important;table-layout:fixed!important;background:#fff!important;border-radius:22px!important;padding:10px!important;border:1px solid #e2e8f0!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important;}
.lopsp-reminder-calendar-table th{font-size:12px!important;color:#64748b!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:1000!important;padding:6px!important;text-align:center!important;}
.lopsp-reminder-calendar-table td{height:72px!important;vertical-align:top!important;border-radius:18px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;padding:8px!important;position:relative!important;color:#334155!important;}
.lopsp-reminder-calendar-table td b{display:block!important;font-size:14px!important;color:#0f172a!important;}
.lopsp-reminder-calendar-table td span{position:absolute!important;right:7px!important;bottom:7px!important;min-width:24px!important;height:24px!important;border-radius:999px!important;background:#2563eb!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:1000!important;box-shadow:0 8px 18px rgba(37,99,235,.25)!important;}
.lopsp-reminder-calendar-table td.has-reminders{background:#eff6ff!important;border-color:#bfdbfe!important;}
.lopsp-reminder-calendar-table td.has-open{background:#fff7ed!important;border-color:#fed7aa!important;box-shadow:inset 0 0 0 2px rgba(249,115,22,.13)!important;}
.lopsp-reminder-calendar-table td.is-today{outline:3px solid rgba(37,99,235,.2)!important;outline-offset:1px!important;}
.lopsp-reminder-calendar-today-list{display:grid!important;align-content:start!important;gap:10px!important;min-width:0!important;}
.lopsp-reminder-calendar-today-list h4{margin:0!important;color:#0f172a!important;font-size:18px!important;font-weight:1000!important;}
.lopsp-reminder-calendar-today-list article{padding:13px!important;border-radius:18px!important;background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:0 10px 24px rgba(15,23,42,.045)!important;}
.lopsp-reminder-calendar-today-list article.is-open{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}
.lopsp-reminder-calendar-today-list article.is-done{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
.lopsp-reminder-calendar-today-list strong{display:block!important;color:#0f172a!important;font-weight:1000!important;line-height:1.25!important;}
.lopsp-reminder-calendar-today-list small{display:block!important;margin-top:4px!important;color:#64748b!important;font-weight:800!important;line-height:1.35!important;}
.lopsp-reminder-calendar-today-list p{margin:7px 0 0!important;color:#475569!important;line-height:1.45!important;font-weight:650!important;}
body.lopsp-reminder-calendar-open-body{overflow:hidden!important;}
@media(max-width:860px){.lopsp-reminder-calendar-strip,.lopsp-timetable-card{grid-template-columns:1fr!important;}.lopsp-reminder-calendar-open,.lopsp-timetable-card-actions{width:100%!important;justify-content:stretch!important;}.lopsp-reminder-calendar-open{display:flex!important;}.lopsp-timetable-preview{width:100%!important;grid-template-columns:78px minmax(0,1fr)!important;}.lopsp-reminder-calendar-modal{align-items:flex-end!important;padding:10px!important;}.lopsp-reminder-calendar-card{max-height:90vh!important;border-radius:28px 28px 18px 18px!important;}.lopsp-reminder-calendar-body{grid-template-columns:1fr!important;padding:12px!important;}.lopsp-reminder-calendar-table{border-spacing:4px!important;padding:6px!important;}.lopsp-reminder-calendar-table td{height:58px!important;border-radius:14px!important;padding:6px!important;}.lopsp-reminder-calendar-head{padding:16px!important;}.lopsp-reminder-calendar-head p{font-size:13px!important;}}

/* v2.8.359 - /lop settings wheel, timetable upload visibility, avatar button contrast, external course calendar schedule UI. */
.lopsp-timetable-card{overflow:visible!important;position:relative!important;}
.lopsp-timetable-card-actions{position:relative!important;z-index:3!important;align-items:center!important;}
.lopsp-timetable-card .lopsp-timetable-upload-form{position:static!important;inset:auto!important;margin:0!important;display:flex!important;flex:0 0 auto!important;transform:none!important;z-index:4!important;}
.lopsp-timetable-card .lopsp-timetable-upload-btn{position:relative!important;z-index:5!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;min-width:132px!important;min-height:44px!important;background:linear-gradient(135deg,#16a34a,#059669)!important;color:#fff!important;border:0!important;box-shadow:0 14px 30px rgba(22,163,74,.20)!important;}
.lopsp-timetable-card .lopsp-timetable-preview{position:relative!important;z-index:4!important;}
.lopsp-upload-avatar .lopsp-upload-btn.small,
.lopsp-avatar-wrap .lopsp-upload-btn.small{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border:0!important;box-shadow:0 12px 26px rgba(37,99,235,.28)!important;font-weight:1000!important;letter-spacing:.01em!important;min-height:34px!important;}
.lopsp-upload-avatar .lopsp-upload-btn.small:hover,
.lopsp-avatar-wrap .lopsp-upload-btn.small:hover{background:linear-gradient(135deg,#1d4ed8,#6d28d9)!important;color:#fff!important;transform:translateY(-1px)!important;}
.lopsp-rewards .lopsp-select-reward{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:128px!important;min-height:42px!important;margin-top:8px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;font-weight:1000!important;box-shadow:0 12px 26px rgba(37,99,235,.24)!important;opacity:1!important;text-shadow:none!important;}
.lopsp-rewards .lopsp-select-reward:hover{background:linear-gradient(135deg,#1d4ed8,#6d28d9)!important;color:#fff!important;transform:translateY(-1px)!important;}
.lopsp-reward.locked .lopsp-select-reward,.lopsp-rewards .lopsp-select-reward[disabled]{background:#e2e8f0!important;color:#64748b!important;border:1px solid #cbd5e1!important;box-shadow:none!important;opacity:.78!important;cursor:not-allowed!important;transform:none!important;}
.lop-study-external-schedule-card{margin:16px 0!important;padding:16px!important;border:1px solid #bfdbfe!important;border-radius:24px!important;background:linear-gradient(135deg,#eff6ff,#ffffff)!important;box-shadow:0 12px 30px rgba(37,99,235,.06)!important;}
.lop-study-external-schedule-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important;}
.lop-study-external-schedule-head strong{display:block!important;color:#0f172a!important;font-size:16px!important;line-height:1.25!important;font-weight:1000!important;}
.lop-study-external-schedule-head small{display:block!important;color:#64748b!important;font-size:13px!important;line-height:1.35!important;font-weight:750!important;}
.lop-study-external-schedule-options{margin-top:12px!important;}
.lop-study-external-schedule-options>label{display:block!important;margin-bottom:8px!important;color:#334155!important;font-weight:950!important;}
.lop-study-external-daychips{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
.lop-study-external-daychips label{position:relative!important;display:inline-flex!important;margin:0!important;cursor:pointer!important;}
.lop-study-external-daychips input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
.lop-study-external-daychips span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;height:38px!important;padding:0 11px!important;border-radius:999px!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#334155!important;font-weight:1000!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important;}
.lop-study-external-daychips input:checked+span{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 12px 24px rgba(37,99,235,.22)!important;}
.lop-study-external-daychips.month-days span{min-width:36px!important;height:34px!important;padding:0 9px!important;font-size:13px!important;}
.lop-study-external-schedule-card[data-schedule-type="none"] [data-lop-external-schedule-panel]{display:none!important;}
.lop-study-external-schedule-card[data-schedule-type="weekly"] [data-lop-external-schedule-panel="monthly"]{display:none!important;}
.lop-study-external-schedule-card[data-schedule-type="monthly"] [data-lop-external-schedule-panel="weekly"]{display:none!important;}
.lop-study-external-schedule-badge{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:8px!important;padding:7px 10px!important;border-radius:999px!important;background:#eef2ff!important;color:#3730a3!important;font-size:12px!important;line-height:1.25!important;font-weight:1000!important;border:1px solid #c7d2fe!important;}
.lop-study-external-item.has-schedule{border-color:#bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;}
.lopsp-reminder-calendar-today-list article.is-external-course{border-color:#bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;}
.lopsp-reminder-calendar-today-list article.is-external-course strong::before{content:'🌐 ';}
@media(max-width:860px){
  .lopsp-timetable-card .lopsp-timetable-upload-form,.lopsp-timetable-card .lopsp-timetable-upload-btn{width:100%!important;}
  .lop-study-external-schedule-head{display:block!important;}
  .lop-study-external-daychips.month-days span{min-width:34px!important;}
}

/* v2.8.364 - Remind page: collapsible add-reminder form, closed by default. */
.lopsp-remind-body .lopsp-remind-add-details{
  margin-top:16px!important;
  border-radius:26px!important;
  border:1px solid rgba(191,219,254,.95)!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
  box-shadow:0 16px 38px rgba(37,99,235,.08)!important;
  overflow:hidden!important;
}
.lopsp-remind-body .lopsp-remind-add-summary{
  list-style:none!important;
  cursor:pointer!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px 16px!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.75)!important;
  background:
    radial-gradient(circle at 96% 0%,rgba(251,146,60,.24),transparent 32%),
    linear-gradient(135deg,#2563eb 0%,#4f46e5 52%,#0891b2 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 42px rgba(37,99,235,.22)!important;
  user-select:none!important;
  min-height:64px!important;
}
.lopsp-remind-body .lopsp-remind-add-summary::-webkit-details-marker{display:none!important;}
.lopsp-remind-body .lopsp-remind-add-summary::marker{content:""!important;}
.lopsp-remind-body .lopsp-remind-add-summary:hover,
.lopsp-remind-body .lopsp-remind-add-summary:focus-visible{
  outline:none!important;
  transform:translateY(-1px)!important;
  box-shadow:0 22px 50px rgba(37,99,235,.28)!important;
}
.lopsp-remind-body .lopsp-remind-add-icon{
  width:42px!important;
  height:42px!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.18)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:1000!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 22px rgba(15,23,42,.13)!important;
}
.lopsp-remind-body .lopsp-remind-add-copy{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.lopsp-remind-body .lopsp-remind-add-copy strong{
  color:#fff!important;
  font-size:18px!important;
  line-height:1.18!important;
  font-weight:1000!important;
  letter-spacing:-.015em!important;
}
.lopsp-remind-body .lopsp-remind-add-copy small{
  color:rgba(255,255,255,.86)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:780!important;
}
.lopsp-remind-body .lopsp-remind-add-caret{
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.16)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
  font-size:22px!important;
  font-weight:1000!important;
  transition:transform .18s ease!important;
}
.lopsp-remind-body .lopsp-remind-add-details[open] .lopsp-remind-add-summary{
  border-radius:26px 26px 20px 20px!important;
  background:
    radial-gradient(circle at 96% 0%,rgba(251,146,60,.28),transparent 32%),
    linear-gradient(135deg,#1d4ed8 0%,#4338ca 52%,#0e7490 100%)!important;
}
.lopsp-remind-body .lopsp-remind-add-details[open] .lopsp-remind-add-caret{transform:rotate(180deg)!important;}
.lopsp-remind-body .lopsp-remind-add-content{
  padding:16px!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(219,234,254,.74),transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form{
  margin:0!important;
  display:grid!important;
  gap:13px!important;
}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form label{
  display:block!important;
  margin:0 0 6px!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:950!important;
}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form input[type="text"],
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form input[type="date"],
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form input[type="time"],
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form select,
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form textarea{
  width:100%!important;
  min-height:44px!important;
  border:1px solid #cbd5e1!important;
  border-radius:16px!important;
  padding:10px 12px!important;
  background:#fff!important;
  color:#0f172a!important;
  font:inherit!important;
  font-weight:650!important;
  box-sizing:border-box!important;
  box-shadow:inset 0 1px 0 rgba(15,23,42,.02)!important;
}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form textarea{min-height:118px!important;resize:vertical!important;line-height:1.55!important;}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form input:focus,
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form select:focus,
.lopsp-remind-body .lopsp-remind-add-content .lopsp-remind-form textarea:focus{
  outline:none!important;
  border-color:#60a5fa!important;
  box-shadow:0 0 0 4px rgba(96,165,250,.18)!important;
}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-actions{margin-top:2px!important;}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  border:0!important;
  border-radius:999px!important;
  padding:11px 18px!important;
  background:linear-gradient(135deg,#f97316,#ea580c)!important;
  color:#fff!important;
  font-weight:1000!important;
  cursor:pointer!important;
  box-shadow:0 14px 30px rgba(249,115,22,.22)!important;
}
.lopsp-remind-body .lopsp-remind-add-content .lopsp-actions button:hover,
.lopsp-remind-body .lopsp-remind-add-content .lopsp-actions button:focus-visible{
  outline:none!important;
  transform:translateY(-1px)!important;
  box-shadow:0 18px 38px rgba(249,115,22,.28)!important;
}
@media(max-width:640px){
  .lopsp-remind-body .lopsp-remind-add-summary{grid-template-columns:40px minmax(0,1fr) 30px!important;padding:12px!important;min-height:58px!important;}
  .lopsp-remind-body .lopsp-remind-add-icon{width:40px!important;height:40px!important;border-radius:14px!important;font-size:24px!important;}
  .lopsp-remind-body .lopsp-remind-add-copy strong{font-size:17px!important;}
  .lopsp-remind-body .lopsp-remind-add-copy small{font-size:12px!important;}
  .lopsp-remind-body .lopsp-remind-add-content{padding:13px!important;}
  .lopsp-remind-body .lopsp-remind-add-content .lopsp-actions button{width:100%!important;}
}

/* v2.8.365 - Remind page polish: calendar above add form, balanced toggle icons, timetable upload on remind page. */
.lopsp-remind-body .lopsp-remind-add-panel{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.lopsp-remind-body .lopsp-remind-add-panel .lopsp-remind-add-details{
  margin-top:0!important;
}
.lopsp-remind-body .lopsp-remind-add-summary{
  grid-template-columns:44px minmax(0,1fr) 36px!important;
  gap:12px!important;
}
.lopsp-remind-body .lopsp-remind-add-icon,
.lopsp-remind-body .lopsp-remind-add-caret{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
  text-align:center!important;
  flex:0 0 auto!important;
}
.lopsp-remind-body .lopsp-remind-add-icon svg,
.lopsp-remind-body .lopsp-remind-add-caret svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lopsp-remind-body .lopsp-remind-add-icon svg{
  width:21px!important;
  height:21px!important;
}
.lopsp-remind-body .lopsp-remind-add-caret svg{
  width:19px!important;
  height:19px!important;
}
.lopsp-remind-body .lopsp-remind-calendar-panel{
  margin-top:14px!important;
}
.lopsp-remind-body .lopsp-timetable-card-actions .lopsp-timetable-upload-form{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  display:flex!important;
  transform:none!important;
}
.lopsp-remind-body .lopsp-timetable-card-actions .lopsp-timetable-upload-btn{
  position:relative!important;
  z-index:5!important;
}
.lopsp-remind-body .lopsp-timetable-card-actions .lopsp-timetable-empty-note{
  max-width:240px!important;
  text-align:right!important;
}
@media(max-width:640px){
  .lopsp-remind-body .lopsp-remind-add-summary{grid-template-columns:40px minmax(0,1fr) 32px!important;}
  .lopsp-remind-body .lopsp-remind-add-icon svg{width:20px!important;height:20px!important;}
  .lopsp-remind-body .lopsp-remind-add-caret svg{width:18px!important;height:18px!important;}
  .lopsp-remind-body .lopsp-timetable-card-actions .lopsp-timetable-empty-note{text-align:left!important;max-width:none!important;width:100%!important;}
}

/* v2.8.366 - Remind calendar month navigation. */
.lopsp-remind-body .lopsp-reminder-month-nav,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-nav{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:8px 0 8px!important;
}
.lopsp-remind-body .lopsp-reminder-month-btn,
.lopsp-remind-body .lopsp-reminder-month-today,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-btn,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  border-radius:999px!important;
  border:1px solid #bfdbfe!important;
  background:#fff!important;
  color:#1d4ed8!important;
  text-decoration:none!important;
  font-weight:1000!important;
  line-height:1!important;
  box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease!important;
}
.lopsp-remind-body .lopsp-reminder-month-btn,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-btn{
  width:38px!important;
  height:38px!important;
  font-size:26px!important;
  padding:0!important;
}
.lopsp-remind-body .lopsp-reminder-month-today,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today{
  padding:9px 14px!important;
  font-size:13px!important;
  letter-spacing:.01em!important;
}
.lopsp-remind-body .lopsp-reminder-month-today.is-current,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today.is-current{
  background:linear-gradient(135deg,#2563eb,#06b6d4)!important;
  border-color:rgba(37,99,235,.2)!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(37,99,235,.22)!important;
}
.lopsp-remind-body .lopsp-reminder-month-btn:hover,
.lopsp-remind-body .lopsp-reminder-month-btn:focus-visible,
.lopsp-remind-body .lopsp-reminder-month-today:hover,
.lopsp-remind-body .lopsp-reminder-month-today:focus-visible,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-btn:hover,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-btn:focus-visible,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today:hover,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today:focus-visible{
  outline:none!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  transform:translateY(-1px)!important;
  box-shadow:0 14px 30px rgba(37,99,235,.14)!important;
}
.lopsp-remind-body .lopsp-reminder-month-today.is-current:hover,
.lopsp-remind-body .lopsp-reminder-month-today.is-current:focus-visible,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today.is-current:hover,
.lopsp-reminder-calendar-modal .lopsp-reminder-month-today.is-current:focus-visible{
  background:linear-gradient(135deg,#1d4ed8,#0891b2)!important;
  color:#fff!important;
}
@media(max-width:640px){
  .lopsp-remind-body .lopsp-reminder-calendar-inline-head .lopsp-reminder-month-nav{
    width:100%!important;
  }
  .lopsp-remind-body .lopsp-reminder-month-btn,
  .lopsp-reminder-calendar-modal .lopsp-reminder-month-btn{
    width:36px!important;
    height:36px!important;
    font-size:24px!important;
  }
  .lopsp-remind-body .lopsp-reminder-month-today,
  .lopsp-reminder-calendar-modal .lopsp-reminder-month-today{
    min-height:36px!important;
    padding:8px 12px!important;
  }
}

/* v2.8.367 - Multi-image timetable gallery cards/slider, scoped to /lop and /lop-remind. */
.lopsp-timetable-gallery{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin-top:4px!important;border:1px solid #dbeafe!important;border-radius:24px!important;background:linear-gradient(135deg,#eff6ff,#ffffff 62%,#f0fdf4)!important;padding:12px!important;box-shadow:0 14px 34px rgba(37,99,235,.07)!important;overflow:hidden!important;box-sizing:border-box!important;}
.lopsp-timetable-gallery-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:10px!important;}
.lopsp-timetable-gallery-head strong{font-size:14px!important;line-height:1.25!important;color:#0f172a!important;font-weight:1000!important;}
.lopsp-timetable-gallery-nav{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;}
.lopsp-timetable-gallery-nav button{width:34px!important;height:34px!important;border-radius:999px!important;border:1px solid #bfdbfe!important;background:#fff!important;color:#1d4ed8!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;line-height:1!important;font-weight:1000!important;box-shadow:0 8px 18px rgba(37,99,235,.10)!important;cursor:pointer!important;}
.lopsp-timetable-gallery-nav button:hover{transform:translateY(-1px)!important;background:#eff6ff!important;}
.lopsp-timetable-gallery-track{display:flex!important;gap:14px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;padding:2px 2px 10px!important;margin:0!important;}
.lopsp-timetable-gallery-track::-webkit-scrollbar{height:9px!important;}
.lopsp-timetable-gallery-track::-webkit-scrollbar-track{background:#e0f2fe!important;border-radius:999px!important;}
.lopsp-timetable-gallery-track::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#38bdf8,#22c55e)!important;border-radius:999px!important;}
.lopsp-timetable-slide{position:relative!important;flex:0 0 clamp(190px,28vw,270px)!important;min-width:190px!important;scroll-snap-align:start!important;border:1px solid #dbeafe!important;border-radius:22px!important;background:#fff!important;padding:8px!important;text-align:left!important;cursor:pointer!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;overflow:hidden!important;color:#0f172a!important;}
.lopsp-timetable-slide:hover{transform:translateY(-2px)!important;box-shadow:0 18px 38px rgba(37,99,235,.14)!important;border-color:#93c5fd!important;}
.lopsp-timetable-slide img{display:block!important;width:100%!important;height:150px!important;object-fit:cover!important;border-radius:16px!important;background:#f8fafc!important;}
.lopsp-timetable-slide span{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:8px!important;padding:7px 10px!important;border-radius:999px!important;background:#ecfeff!important;color:#155e75!important;font-size:12px!important;font-weight:1000!important;line-height:1.2!important;}
.lopsp-timetable-card.has-image .lopsp-timetable-card-copy small{color:#475569!important;}
.lopsp-timetable-card .lopsp-timetable-upload-btn input[multiple]+span{pointer-events:none!important;}
@media(max-width:860px){.lopsp-timetable-gallery{padding:10px!important;border-radius:22px!important;}.lopsp-timetable-gallery-head{align-items:center!important;}.lopsp-timetable-gallery-nav button{width:32px!important;height:32px!important;font-size:22px!important;}.lopsp-timetable-slide{flex-basis:78vw!important;min-width:220px!important;}.lopsp-timetable-slide img{height:170px!important;}.lopsp-timetable-gallery-track{gap:12px!important;}}

/* v2.8.368 - Remind calendar selectable day panel. */
.lopsp-remind-body .lopsp-reminder-calendar-table td.is-selected,
.lopsp-remind-wrap .lopsp-reminder-calendar-table td.is-selected{
  outline:4px solid rgba(79,70,229,.28)!important;
  outline-offset:2px!important;
  box-shadow:inset 0 0 0 2px rgba(79,70,229,.22),0 12px 26px rgba(79,70,229,.12)!important;
  background:linear-gradient(135deg,#eef2ff,#ffffff)!important;
}
.lopsp-remind-body .lopsp-reminder-calendar-table td.has-open.is-selected,
.lopsp-remind-wrap .lopsp-reminder-calendar-table td.has-open.is-selected{
  background:linear-gradient(135deg,#fff7ed,#eef2ff)!important;
  border-color:#c4b5fd!important;
}
.lopsp-remind-body .lopsp-reminder-calendar-day-link,
.lopsp-remind-wrap .lopsp-reminder-calendar-day-link{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  padding:8px!important;
  border-radius:inherit!important;
  color:inherit!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
.lopsp-remind-body .lopsp-reminder-calendar-day-link:hover,
.lopsp-remind-body .lopsp-reminder-calendar-day-link:focus-visible,
.lopsp-remind-wrap .lopsp-reminder-calendar-day-link:hover,
.lopsp-remind-wrap .lopsp-reminder-calendar-day-link:focus-visible{
  background:rgba(37,99,235,.07)!important;
  outline:2px solid rgba(37,99,235,.24)!important;
  outline-offset:-2px!important;
}
.lopsp-remind-body .lopsp-reminder-calendar-day-link b,
.lopsp-remind-wrap .lopsp-reminder-calendar-day-link b{
  display:block!important;
}
.lopsp-remind-body .lopsp-reminder-selected-date-note,
.lopsp-remind-wrap .lopsp-reminder-selected-date-note{
  display:block!important;
  margin:-4px 0 4px!important;
  color:#64748b!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.lopsp-remind-body .lopsp-reminder-calendar-today-list h4,
.lopsp-remind-wrap .lopsp-reminder-calendar-today-list h4{
  margin-bottom:4px!important;
}

/* v2.8.370: /lop is now a focused daily dashboard; deep LOP features live on dedicated sub-pages. */
.lopsp-private-section-shell .lopsp-lop-action-hub{
  margin:18px 0 18px;
  padding:24px;
  border:1px solid rgba(99,102,241,.18);
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,246,255,.92));
  box-shadow:0 18px 45px rgba(37,99,235,.09);
}
.lopsp-lop-action-hub-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;}
.lopsp-lop-action-hub-head h3{margin:4px 0 6px;font-size:clamp(22px,3vw,34px);line-height:1.1;color:#071735;}
.lopsp-lop-action-hub-head p{margin:0;color:#64748b;font-weight:800;line-height:1.5;max-width:780px;}
.lopsp-lop-action-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.lopsp-lop-action-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:138px;padding:18px;border-radius:24px;text-decoration:none;color:#0f172a;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.24);box-shadow:0 12px 30px rgba(15,23,42,.07);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.lopsp-lop-action-card:before{content:"";position:absolute;inset:auto -20px -40px auto;width:110px;height:110px;border-radius:999px;background:rgba(59,130,246,.08);}
.lopsp-lop-action-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(37,99,235,.14);border-color:rgba(59,130,246,.32);}
.lopsp-lop-action-card span{width:46px;height:46px;border-radius:18px;display:grid;place-items:center;font-size:24px;background:linear-gradient(135deg,#eef2ff,#e0f2fe);box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);}
.lopsp-lop-action-card strong{font-size:17px;line-height:1.25;color:#071735;}
.lopsp-lop-action-card small{font-size:13px;line-height:1.45;color:#64748b;font-weight:800;}
.lopsp-lop-action-card.is-report span{background:linear-gradient(135deg,#fff7ed,#fed7aa);}
.lopsp-lop-action-card.is-rescue span{background:linear-gradient(135deg,#ecfeff,#bae6fd);}
.lopsp-lop-action-card.is-remind span,.lopsp-lop-action-card.is-external span{background:linear-gradient(135deg,#f0fdf4,#bbf7d0);}
.lopsp-lop-action-card.is-rewards span{background:linear-gradient(135deg,#fdf2f8,#fde68a);}
.lopsp-lop-action-card.is-history span{background:linear-gradient(135deg,#f5f3ff,#ddd6fe);}

.lopsp-private-section-shell:not(.lopsp-page-dashboard) .lopsp-lop-action-hub,
.lopsp-private-section-shell:not(.lopsp-page-dashboard) .lopsp-lop-left-flow-bubbles,
.lopsp-private-section-shell:not(.lopsp-page-dashboard) .lopsp-streak-calendar-spotlight{display:none!important;}

.lopsp-page-dashboard > .lopsp-top-study-action,
.lopsp-page-dashboard > .lopsp-focus-dashboard,
.lopsp-page-dashboard > #lop-parent-companion,
.lopsp-page-dashboard > #lop-reminder-overview,
.lopsp-page-dashboard > .lopsp-section-divider-history,
.lopsp-page-dashboard > #lop-lesson-history,
.lopsp-page-dashboard > .lopsp-section-divider-insights,
.lopsp-page-dashboard > .lopsp-main-grid{display:none!important;}

.lopsp-page-study > .lopsp-focus-dashboard,
.lopsp-page-study > #lop-parent-companion,
.lopsp-page-study > #lop-reminder-overview,
.lopsp-page-study > .lopsp-section-divider-history,
.lopsp-page-study > #lop-lesson-history,
.lopsp-page-study > .lopsp-section-divider-insights,
.lopsp-page-study > .lopsp-main-grid{display:none!important;}

.lopsp-page-report > .lopsp-top-study-action,
.lopsp-page-report > #lop-parent-companion,
.lopsp-page-report > #lop-reminder-overview,
.lopsp-page-report > .lopsp-section-divider-history,
.lopsp-page-report > #lop-lesson-history,
.lopsp-page-report > .lopsp-section-divider-insights,
.lopsp-page-report > .lopsp-main-grid,
.lopsp-page-report #lop-learning-meter,
.lopsp-page-report #lop-rescue-mission,
.lopsp-page-report #lop-external-courses{display:none!important;}

.lopsp-page-rescue > .lopsp-top-study-action,
.lopsp-page-rescue > #lop-parent-companion,
.lopsp-page-rescue > #lop-reminder-overview,
.lopsp-page-rescue > .lopsp-section-divider-history,
.lopsp-page-rescue > #lop-lesson-history,
.lopsp-page-rescue > .lopsp-section-divider-insights,
.lopsp-page-rescue > .lopsp-main-grid,
.lopsp-page-rescue #lop-report-lop-zone,
.lopsp-page-rescue #lop-external-courses{display:none!important;}

.lopsp-page-external-courses > .lopsp-top-study-action,
.lopsp-page-external-courses > #lop-parent-companion,
.lopsp-page-external-courses > #lop-reminder-overview,
.lopsp-page-external-courses > .lopsp-section-divider-history,
.lopsp-page-external-courses > #lop-lesson-history,
.lopsp-page-external-courses > .lopsp-section-divider-insights,
.lopsp-page-external-courses > .lopsp-main-grid,
.lopsp-page-external-courses #lop-learning-meter,
.lopsp-page-external-courses #lop-report-lop-zone,
.lopsp-page-external-courses #lop-rescue-mission{display:none!important;}

.lopsp-page-companion > .lopsp-top-study-action,
.lopsp-page-companion > .lopsp-focus-dashboard,
.lopsp-page-companion > .lopsp-section-divider-history,
.lopsp-page-companion > #lop-lesson-history,
.lopsp-page-companion > .lopsp-section-divider-insights,
.lopsp-page-companion > .lopsp-main-grid{display:none!important;}

.lopsp-page-timetable > .lopsp-top-study-action,
.lopsp-page-timetable > .lopsp-focus-dashboard,
.lopsp-page-timetable > #lop-parent-companion,
.lopsp-page-timetable > .lopsp-section-divider-history,
.lopsp-page-timetable > #lop-lesson-history,
.lopsp-page-timetable > .lopsp-section-divider-insights,
.lopsp-page-timetable > .lopsp-main-grid,
.lopsp-page-timetable #lop-reminder-overview > .lopsp-reminder-v160-hero,
.lopsp-page-timetable #lop-reminder-overview > .lopsp-reminder-v160-grid,
.lopsp-page-timetable #lop-reminder-overview > .lopsp-reminder-v160-progress,
.lopsp-page-timetable #lop-reminder-overview > .lopsp-reminder-calendar-strip,
.lopsp-page-timetable #lop-reminder-overview > .lopsp-reminder-v160-open-list,
.lopsp-page-timetable #lop-reminder-overview > .lopsp-reminder-v160-clear{display:none!important;}

.lopsp-page-history > .lopsp-top-study-action,
.lopsp-page-history > .lopsp-focus-dashboard,
.lopsp-page-history > #lop-parent-companion,
.lopsp-page-history > #lop-reminder-overview,
.lopsp-page-history .lopsp-main-grid .lopsp-col-right{display:none!important;}
.lopsp-page-rewards > .lopsp-top-study-action,
.lopsp-page-rewards > .lopsp-focus-dashboard,
.lopsp-page-rewards > #lop-parent-companion,
.lopsp-page-rewards > #lop-reminder-overview,
.lopsp-page-rewards > .lopsp-section-divider-history,
.lopsp-page-rewards > #lop-lesson-history,
.lopsp-page-rewards .lopsp-main-grid .lopsp-col-left{display:none!important;}
.lopsp-page-rewards .lopsp-main-grid{grid-template-columns:1fr!important;}
.lopsp-page-rewards .lopsp-col-right{max-width:1180px;margin:0 auto;width:100%;}

.lopsp-page-study .lopsp-top-study-action,
.lopsp-page-report .lopsp-focus-dashboard,
.lopsp-page-rescue .lopsp-focus-dashboard,
.lopsp-page-external-courses .lopsp-focus-dashboard,
.lopsp-page-companion #lop-parent-companion,
.lopsp-page-companion #lop-reminder-overview,
.lopsp-page-timetable #lop-reminder-overview,
.lopsp-page-history #lop-lesson-history,
.lopsp-page-rewards .lopsp-main-grid{margin-top:22px;}

@media (max-width: 980px){
  .lopsp-lop-action-hub-head{align-items:flex-start;flex-direction:column;}
  .lopsp-lop-action-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px){
  .lopsp-private-section-shell .lopsp-lop-action-hub{padding:16px;border-radius:24px;}
  .lopsp-lop-action-hub-grid{grid-template-columns:1fr;gap:10px;}
  .lopsp-lop-action-card{min-height:112px;padding:15px;}
}
.lopsp-private-section-shell .lopsp-lop-left-flow-bubbles{display:none!important;}

/* v2.8.371: server-side split for /lop sub-pages; each page shows only its own feature area. */
.lopsp-lop-section-hero{
  margin:18px 0 18px!important;
  padding:22px!important;
  border-radius:30px!important;
  border:1px solid rgba(99,102,241,.18)!important;
  background:radial-gradient(circle at top left,rgba(59,130,246,.14),transparent 38%),linear-gradient(135deg,#ffffff,#f8fbff)!important;
  box-shadow:0 18px 46px rgba(37,99,235,.09)!important;
}
.lopsp-lop-section-hero-main{display:flex!important;align-items:flex-start!important;gap:16px!important;margin-bottom:16px!important;}
.lopsp-lop-section-icon{flex:0 0 auto;width:54px!important;height:54px!important;border-radius:22px!important;display:grid!important;place-items:center!important;font-size:28px!important;background:linear-gradient(135deg,#eef2ff,#e0f2fe)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.78),0 12px 28px rgba(37,99,235,.1)!important;}
.lopsp-lop-section-hero h3{margin:4px 0 6px!important;font-size:clamp(24px,3.2vw,38px)!important;line-height:1.06!important;color:#071735!important;letter-spacing:-.04em!important;}
.lopsp-lop-section-hero p{margin:0!important;color:#64748b!important;font-weight:800!important;line-height:1.5!important;max-width:920px!important;}
.lopsp-lop-section-tabs{display:flex!important;gap:9px!important;overflow-x:auto!important;padding:4px 0 2px!important;scrollbar-width:thin!important;}
.lopsp-lop-section-tabs a{flex:0 0 auto;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:10px 13px!important;border-radius:999px!important;text-decoration:none!important;color:#334155!important;background:#fff!important;border:1px solid rgba(148,163,184,.24)!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important;font-weight:900!important;font-size:13px!important;line-height:1!important;}
.lopsp-lop-section-tabs a.is-active{color:#fff!important;background:linear-gradient(135deg,#4f46e5,#2563eb)!important;border-color:rgba(37,99,235,.4)!important;box-shadow:0 12px 28px rgba(37,99,235,.18)!important;}
.lopsp-inline-page-form{margin-top:18px!important;padding:18px!important;border-radius:24px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;border:1px solid rgba(148,163,184,.22)!important;box-shadow:0 14px 32px rgba(15,23,42,.06)!important;}
.lopsp-inline-page-form .lopsp-add-form,.lopsp-inline-page-form .lopsp-rescue-form{display:grid!important;gap:14px!important;}
.lopsp-page-dashboard .lopsp-lop-left-flow-bubbles{display:flex!important;}
.lopsp-page-study > .lopsp-focus-dashboard,
.lopsp-page-report > .lopsp-focus-dashboard,
.lopsp-page-rescue > .lopsp-focus-dashboard{display:block!important;}
.lopsp-page-study #lop-learning-meter,
.lopsp-page-report #lop-report-lop-zone,
.lopsp-page-rescue #lop-rescue-mission{display:block!important;}
.lopsp-page-timetable #lop-reminder-overview{display:block!important;}
.lopsp-page-rewards .lopsp-lop-insights-grid{grid-template-columns:1fr!important;}
.lopsp-page-history .lopsp-lop-insights-grid{grid-template-columns:minmax(0,1fr)!important;}
.lopsp-page-rewards .lopsp-col-right,.lopsp-page-history .lopsp-col-left{max-width:1180px!important;width:100%!important;margin:0 auto!important;}
@media(max-width:860px){
  .lopsp-lop-section-hero{padding:16px!important;border-radius:24px!important;}
  .lopsp-lop-section-hero-main{gap:12px!important;}
  .lopsp-lop-section-icon{width:46px!important;height:46px!important;border-radius:18px!important;font-size:24px!important;}
  .lopsp-lop-section-tabs a{font-size:12px!important;padding:9px 11px!important;}
  .lopsp-page-dashboard .lopsp-lop-left-flow-bubbles{display:none!important;}
}
.lopsp-lop-action-card.is-timetable span{background:linear-gradient(135deg,#ecfeff,#cffafe);}


/* v2.8.372: keep full profile banner/stat summary only on /lop dashboard and /lop-public. Child /lop/* pages start with their own focused section hero. UI-only. */
body.lopsp-private-standalone-body .lopsp-private-section-shell:not(.lopsp-page-dashboard) .lopsp-lop-section-hero{margin-top:16px;}

/* v2.8.378: recurring remind occurrences can be completed per selected day. */
.lopsp-reminder-occurrence-done-form{margin-top:10px!important;}
.lopsp-reminder-done-chip{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:10px!important;padding:8px 12px!important;border-radius:999px!important;background:#ecfdf5!important;color:#15803d!important;border:1px solid rgba(34,197,94,.28)!important;font-weight:900!important;font-size:13px!important;line-height:1!important;}
.lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn{margin-top:10px!important;}


/* v2.8.379 - Trang Đồng hành share panel polish after moving parent companion tools from /lop/companion/. */
body.lopsp-remind-body .lopsp-companion-share-panel{margin:16px 0 18px!important;border-color:#f5c2e7!important;background:radial-gradient(circle at top right,rgba(249,115,22,.18),transparent 34%),radial-gradient(circle at bottom left,rgba(124,58,237,.12),transparent 32%),linear-gradient(135deg,#fff,#fff7ed 58%,#faf5ff)!important;}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-panel-head{align-items:center!important;}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-parent-card{min-height:112px;}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-parent-actions{align-items:center;}
@media(max-width:820px){body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-parent-grid{grid-template-columns:1fr!important;}body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-parent-actions>*{width:100%;justify-content:center;text-align:center;}}

/* v2.8.380 - Trang Đồng hành full-width and button contrast polish.
   UI-only: keeps Đồng hành/Remind logic, codes, calendar, completion, and uploads untouched. */
body.lopsp-remind-body .lopsp-remind-wrap{
  width:min(1240px,calc(100vw - 18px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding-left:clamp(8px,1.8vw,18px)!important;
  padding-right:clamp(8px,1.8vw,18px)!important;
}
body.lopsp-remind-body .lopsp-student-shared-topnav{
  width:min(calc(100vw - 10px),1240px)!important;
  max-width:1240px!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-parent-actions{
  gap:12px!important;
  align-items:center!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn,
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-regenerate-remind-form button,
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-regenerate-remind-form .lopsp-public-btn{
  min-height:48px!important;
  border-radius:14px!important;
  padding:12px 20px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  text-shadow:none!important;
  line-height:1.1!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn.secondary,
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn.secondary:hover,
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn.secondary:focus-visible{
  color:#1e3a8a!important;
  background:linear-gradient(135deg,#ffffff,#eff6ff)!important;
  border:1px solid #93c5fd!important;
  box-shadow:0 10px 24px rgba(37,99,235,.10)!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn.secondary:hover{
  color:#172554!important;
  background:linear-gradient(135deg,#dbeafe,#ffffff)!important;
  transform:translateY(-1px)!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-regenerate-remind-form .lopsp-public-btn.warning,
body.lopsp-remind-body .lopsp-companion-share-panel button.lopsp-public-btn.warning[type="submit"],
body.lopsp-remind-body .lopsp-parent-remind-actions .lopsp-regenerate-remind-form button.lopsp-public-btn.warning[type="submit"]{
  color:#ffffff!important;
  background:linear-gradient(135deg,#f97316,#ea580c)!important;
  border:1px solid #c2410c!important;
  box-shadow:0 14px 30px rgba(234,88,12,.24)!important;
  opacity:1!important;
  filter:none!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-regenerate-remind-form .lopsp-public-btn.warning:hover,
body.lopsp-remind-body .lopsp-companion-share-panel button.lopsp-public-btn.warning[type="submit"]:hover,
body.lopsp-remind-body .lopsp-parent-remind-actions .lopsp-regenerate-remind-form button.lopsp-public-btn.warning[type="submit"]:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#ea580c,#c2410c)!important;
  border-color:#9a3412!important;
  box-shadow:0 18px 38px rgba(194,65,12,.30)!important;
  transform:translateY(-1px)!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn *,
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-regenerate-remind-form .lopsp-public-btn.warning *{
  color:inherit!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-remind-code-note{
  min-height:48px!important;
  border-radius:999px!important;
  color:#475569!important;
  background:linear-gradient(135deg,#f8fafc,#ffffff)!important;
  border-color:#dbeafe!important;
}
body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-remind-code-note code{
  color:#4338ca!important;
  background:#eef2ff!important;
}
@media(max-width:640px){
  body.lopsp-remind-body .lopsp-remind-wrap{width:calc(100vw - 10px)!important;padding-left:5px!important;padding-right:5px!important;}
  body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-public-btn,
  body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-regenerate-remind-form,
  body.lopsp-remind-body .lopsp-companion-share-panel .lopsp-remind-code-note{width:100%!important;justify-content:center!important;text-align:center!important;}
}

/* v2.8.381 - Free/VIP content access labels for Lesson / Quiz cards. */
.lop-study-access-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
  white-space:nowrap;
  border:1px solid rgba(37,99,235,.18);
  background:linear-gradient(135deg,#ecfdf5,#ffffff);
  color:#047857;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.lop-study-access-badge.lop-access-tier-vip{
  border-color:rgba(245,158,11,.34);
  background:linear-gradient(135deg,#fff7ed,#fffbeb 55%,#ffffff);
  color:#b45309;
  box-shadow:0 10px 22px rgba(245,158,11,.15);
}
.lop-study-access-badge.lop-access-context-admin{
  padding:4px 9px;
  font-size:11px;
  box-shadow:none;
}
.lop-study-access-badge.lop-access-context-detail,
.lop-study-access-badge.lop-access-context-lock{
  padding:7px 12px;
  font-size:13px;
}
.lop-study-card-code-row,
.lop-study-detail-code-row,
.lop-admin-title-code-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
.lop-access-card-vip .lop-study-open-btn{
  background:linear-gradient(135deg,#f97316,#f59e0b);
  color:#fff;
  box-shadow:0 14px 28px rgba(249,115,22,.2);
}
.lop-study-lock-badges{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.lop-study-lock-badges > span:first-child{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#eef2ff;
  color:#4338ca;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.lopsp-task-todo-item .lop-study-access-badge,
.lopsp-task-card .lop-study-access-badge{
  margin-left:6px;
  vertical-align:middle;
}
.lopsp-task-card .lop-study-access-badge{
  margin:0 0 6px 0;
}
@media (max-width: 640px){
  .lop-study-access-badge{font-size:11px;padding:5px 8px;}
  .lop-study-card-code-row,.lop-study-detail-code-row,.lop-admin-title-code-row{gap:5px;}
}


/* v2.8.382 - Đồng hành/LOP button contrast audit.
   UI-only: fixes pale text/background collisions on reminder completion and shared student controls. */
body.lopsp-remind-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn,
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-reminder-done-btn,
body.lopsp-private-standalone-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn,
.lopsp-profile-page .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn,
.lopsp-profile-page .lopsp-timeline-actions .lopsp-reminder-done-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:46px!important;
  padding:11px 18px!important;
  border-radius:14px!important;
  color:#ffffff!important;
  background:linear-gradient(135deg,#16a34a,#22c55e)!important;
  border:1px solid #15803d!important;
  box-shadow:0 14px 28px rgba(22,163,74,.22)!important;
  font-weight:950!important;
  line-height:1.15!important;
  letter-spacing:.005em!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
}
body.lopsp-remind-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn:hover,
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-reminder-done-btn:hover,
body.lopsp-private-standalone-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn:hover,
.lopsp-profile-page .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn:hover,
.lopsp-profile-page .lopsp-timeline-actions .lopsp-reminder-done-btn:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#15803d,#16a34a)!important;
  border-color:#166534!important;
  box-shadow:0 18px 34px rgba(22,101,52,.28)!important;
  transform:translateY(-1px)!important;
}
body.lopsp-remind-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn *,
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-reminder-done-btn *,
body.lopsp-private-standalone-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn *,
.lopsp-profile-page .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn *,
.lopsp-profile-page .lopsp-timeline-actions .lopsp-reminder-done-btn *{
  color:inherit!important;
}
body.lopsp-remind-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn:disabled,
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-reminder-done-btn:disabled,
body.lopsp-private-standalone-body .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn:disabled,
.lopsp-profile-page .lopsp-reminder-calendar-today-list article .lopsp-reminder-done-btn:disabled{
  color:#334155!important;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc)!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
  opacity:.88!important;
  cursor:not-allowed!important;
  transform:none!important;
}
body.lopsp-remind-body .lopsp-remind-wrap button,
body.lopsp-remind-body .lopsp-remind-wrap a[class*="btn"],
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-public-btn,
body.lopsp-private-standalone-body .lopsp-private-section-shell button,
body.lopsp-private-standalone-body .lopsp-private-section-shell a[class*="btn"],
.lopsp-profile-page button,
.lopsp-profile-page a[class*="btn"]{
  text-shadow:none!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-primary-soft,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-primary-soft,
.lopsp-profile-page .lopsp-primary-soft{
  color:#ffffff!important;
  background:linear-gradient(135deg,#2563eb,#4f46e5)!important;
  border-color:#1d4ed8!important;
  box-shadow:0 14px 30px rgba(37,99,235,.22)!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-primary-soft:hover,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-primary-soft:hover,
.lopsp-profile-page .lopsp-primary-soft:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#1d4ed8,#4338ca)!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-secondary-soft,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-secondary-soft,
.lopsp-profile-page .lopsp-secondary-soft{
  color:#1e3a8a!important;
  background:linear-gradient(135deg,#ffffff,#eff6ff)!important;
  border-color:#bfdbfe!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-secondary-soft:hover,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-secondary-soft:hover,
.lopsp-profile-page .lopsp-secondary-soft:hover{
  color:#172554!important;
  background:linear-gradient(135deg,#dbeafe,#ffffff)!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-public-btn.warning,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-public-btn.warning,
.lopsp-profile-page .lopsp-public-btn.warning{
  color:#ffffff!important;
  background:linear-gradient(135deg,#f97316,#ea580c)!important;
  border-color:#c2410c!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-public-btn.warning:hover,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-public-btn.warning:hover,
.lopsp-profile-page .lopsp-public-btn.warning:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#ea580c,#c2410c)!important;
  border-color:#9a3412!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-public-btn.danger,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-public-btn.danger,
.lopsp-profile-page .lopsp-public-btn.danger{
  color:#9f1239!important;
  background:linear-gradient(135deg,#fff1f2,#ffe4e6)!important;
  border-color:#fda4af!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-select-reward,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-select-reward,
.lopsp-profile-page .lopsp-select-reward{
  color:#ffffff!important;
  background:linear-gradient(135deg,#2563eb,#4f46e5)!important;
  border-color:#1d4ed8!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.lopsp-remind-body .lopsp-remind-wrap .lopsp-select-reward:disabled,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-select-reward:disabled,
.lopsp-profile-page .lopsp-select-reward:disabled{
  color:#475569!important;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc)!important;
  border-color:#cbd5e1!important;
  opacity:.9!important;
}

/* v2.8.383 - Đồng hành reminder creator edit/delete controls */
.lopsp-reminder-manage{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:flex-start;
}
.lopsp-reminder-manage.is-compact{margin-top:12px}
.lopsp-reminder-edit-details{
  flex:1 1 360px;
  min-width:min(100%,320px);
  border:1px solid rgba(79,70,229,.18);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(239,246,255,.92));
  box-shadow:0 12px 26px rgba(15,23,42,.06);
  overflow:hidden;
}
.lopsp-reminder-edit-details>summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  color:#1e293b;
  font-weight:900;
}
.lopsp-reminder-edit-details>summary::-webkit-details-marker{display:none}
.lopsp-reminder-edit-details>summary span{display:inline-flex;align-items:center;gap:8px;color:#1d4ed8}
.lopsp-reminder-edit-details>summary small{color:#64748b;font-weight:800}
.lopsp-reminder-edit-form{padding:0 14px 14px;display:grid;gap:12px}
.lopsp-reminder-edit-form label{display:block;margin:0 0 6px;color:#334155;font-weight:900}
.lopsp-reminder-edit-form input,
.lopsp-reminder-edit-form textarea,
.lopsp-reminder-edit-form select{
  width:100%;
  border:1px solid rgba(148,163,184,.45);
  border-radius:14px;
  padding:10px 12px;
  background:#fff;
  color:#0f172a;
  font-weight:700;
}
.lopsp-reminder-manage-actions{display:flex;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.lopsp-reminder-save-btn,
.lopsp-reminder-delete-btn{
  appearance:none;
  border:0;
  border-radius:14px;
  padding:11px 16px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(15,23,42,.12);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.lopsp-reminder-save-btn{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff!important}
.lopsp-reminder-delete-btn{background:linear-gradient(135deg,#ef4444,#f97316);color:#fff!important;white-space:nowrap}
.lopsp-reminder-delete-form{margin:0;display:flex;align-items:flex-start}
.lopsp-reminder-save-btn:hover,
.lopsp-reminder-delete-btn:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 16px 32px rgba(15,23,42,.16)}
.lopsp-reminder-save-btn:focus-visible,
.lopsp-reminder-delete-btn:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:3px}
@media (max-width:640px){
  .lopsp-reminder-manage{display:grid;grid-template-columns:1fr}
  .lopsp-reminder-edit-details{min-width:0;width:100%}
  .lopsp-reminder-delete-form,.lopsp-reminder-delete-btn{width:100%}
}

/* v2.8.385 - Chuyen de item cards mirror Study Library lesson/quiz cards. */
.lop-topic-items .lop-study-section-head{align-items:flex-end;}
.lop-topic-task-grid{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  align-items:stretch;
}
.lop-topic-task-grid .lop-topic-task-card{
  position:relative;
  overflow:hidden;
  padding:18px;
  border-radius:24px;
  background:#fff;
  border:1px solid #e6edf6;
  box-shadow:0 16px 42px rgba(15,23,42,.06);
  min-height:100%;
}
.lop-topic-task-grid .lop-topic-task-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,#22c55e,#06b6d4,#6366f1);
}
.lop-topic-task-grid .lop-topic-task-card.lop-study-kind-quiz::before{
  background:linear-gradient(90deg,#8b5cf6,#6366f1,#06b6d4);
}
.lop-topic-task-grid .lop-topic-task-card .lop-study-task-top,
.lop-topic-task-grid .lop-topic-task-card .lop-study-card-code-row,
.lop-topic-task-grid .lop-topic-task-card h3,
.lop-topic-task-grid .lop-topic-task-card p,
.lop-topic-task-grid .lop-topic-task-card .lop-study-task-meta,
.lop-topic-task-grid .lop-topic-task-card .lop-study-open-btn{
  position:relative;
  z-index:1;
}
.lop-topic-task-grid .lop-topic-task-card .lop-study-card-code-row{
  min-height:30px;
  margin:4px 0 10px;
  justify-content:flex-start;
}
.lop-topic-task-grid .lop-topic-task-card h3{
  font-size:18px;
  line-height:1.34;
  margin:4px 0 0;
  color:#0f172a;
}
.lop-topic-task-grid .lop-topic-task-card p{
  color:#475569;
  line-height:1.62;
  min-height:3.2em;
}
.lop-topic-task-grid .lop-topic-task-card .lop-study-task-meta{
  font-size:13px;
  color:#64748b;
  font-weight:850;
}
.lop-topic-task-grid .lop-topic-task-card .lop-study-task-meta a{
  color:#334155;
  text-decoration:none;
}
.lop-topic-task-grid .lop-topic-task-card .lop-study-task-meta a:hover,
.lop-topic-task-grid .lop-topic-task-card .lop-study-task-meta a:focus{
  color:#2563eb;
  text-decoration:underline;
}
@media(max-width:640px){
  .lop-topic-task-grid{grid-template-columns:1fr;gap:14px;}
  .lop-topic-task-grid .lop-topic-task-card{border-radius:22px;padding:16px;}
  .lop-topic-task-grid .lop-topic-task-card h3{font-size:17px;}
  .lop-topic-task-grid .lop-topic-task-card p{min-height:0;}
}

/* v2.8.386 - Unify /chuyen-de card density with Study Library.
   UX target: 4 cards on wide desktop, 3 on compact desktop, 2 on tablet, 1 on mobile. */
.lop-topic-card-grid,
.lop-topic-card-grid-mini,
.lop-topic-task-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:clamp(14px,1.45vw,18px) !important;
  align-items:stretch !important;
}
.lop-topic-task-grid .lop-topic-task-card{
  min-width:0;
}
@media(max-width:1180px){
  .lop-topic-card-grid,
  .lop-topic-card-grid-mini,
  .lop-topic-task-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media(max-width:860px){
  .lop-topic-card-grid,
  .lop-topic-card-grid-mini,
  .lop-topic-task-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:640px){
  .lop-topic-card-grid,
  .lop-topic-card-grid-mini,
  .lop-topic-task-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
}

/* v2.8.387 - Safe full-image display for Study Library and Topic visuals.
   Avoid cropping/covering featured images on /goc-hoc-tap, /bai-hoc, /quiz and /chuyen-de. */
.lop-topic-card-image{
  height:auto!important;
  min-height:clamp(126px,10vw,156px)!important;
  aspect-ratio:16/9!important;
  padding:8px!important;
  box-sizing:border-box!important;
  background:linear-gradient(135deg,#f8fbff,#eef7ff)!important;
}
.lop-topic-card-image img,
.lop-topic-detail-hero .lop-topic-hero-image img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#ffffff!important;
  border-radius:18px!important;
}
.lop-topic-detail-hero .lop-topic-hero-image{
  display:grid!important;
  place-items:center!important;
  min-height:clamp(180px,24vw,320px)!important;
  padding:10px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#f8fbff,#eef7ff)!important;
}
.lop-topic-detail-hero .lop-topic-hero-image img{
  max-height:clamp(180px,24vw,320px)!important;
}
.lop-study-lesson-hero-cover,
.lop-study-quiz-hero-cover,
.lop-study-unit-hero-img,
.lop-study-unit-visual-card,
.lop-study-look-say-card,
.lop-study-lesson-unit-card .lop-study-unit-thumb-wrap,
.lop-study-unit-detail-media{
  background:linear-gradient(135deg,#f8fbff,#eef7ff)!important;
}
.lop-study-lesson-hero-cover .lop-study-image-lightbox-trigger,
.lop-study-quiz-hero-cover .lop-study-image-lightbox-trigger,
.lop-study-unit-hero-img .lop-study-image-lightbox-trigger,
.lop-study-unit-visual-card .lop-study-image-lightbox-trigger,
.lop-study-look-say-card .lop-study-image-lightbox-trigger,
.lop-study-lesson-unit-card .lop-study-image-lightbox-trigger,
.lop-study-unit-detail-media .lop-study-image-lightbox-trigger,
.lop-study-unit-detail-media .lop-study-unit-detail-image-btn{
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
}
.lop-study-lesson-hero-cover img,
.lop-study-quiz-hero-cover img,
.lop-study-unit-hero-img img,
.lop-study-unit-visual-card img,
.lop-study-look-say-card img,
.lop-study-lesson-unit-card .lop-study-unit-thumb,
.lop-study-unit-thumb,
.lop-study-unit-image,
.lop-study-unit-detail-media img{
  object-fit:contain!important;
  object-position:center center!important;
  background:#ffffff!important;
}
.lop-study-lesson-hero-cover img,
.lop-study-quiz-hero-cover img{
  height:auto!important;
  min-height:0!important;
  max-height:min(360px,44vh)!important;
}
.lop-study-lesson-hero-cover .lop-study-image-lightbox-trigger,
.lop-study-quiz-hero-cover .lop-study-image-lightbox-trigger{
  min-height:220px!important;
  padding:10px!important;
  box-sizing:border-box!important;
}
.lop-study-unit-visual-card img,
.lop-study-look-say-card img,
.lop-study-unit-hero-img img,
.lop-study-lesson-unit-card .lop-study-unit-thumb,
.lop-study-unit-thumb,
.lop-study-unit-image{
  padding:6px!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .lop-topic-card-image{min-height:132px!important;padding:7px!important;}
  .lop-topic-detail-hero .lop-topic-hero-image{min-height:170px!important;}
  .lop-topic-detail-hero .lop-topic-hero-image img{max-height:220px!important;}
  .lop-study-lesson-hero-cover .lop-study-image-lightbox-trigger,
  .lop-study-quiz-hero-cover .lop-study-image-lightbox-trigger{min-height:180px!important;}
  .lop-study-lesson-hero-cover img,
  .lop-study-quiz-hero-cover img{max-height:260px!important;}
}


/* v2.8.388 - Compact /chuyen-de detail hero height to match Study Library hub pages. UI-only. */
body.lop-topic-body .lop-topic-detail-hero{
  min-height:0!important;
  margin:16px 0 18px!important;
  padding:clamp(18px,2.6vw,30px)!important;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr)!important;
  align-items:center!important;
  gap:clamp(18px,2.6vw,28px)!important;
}
body.lop-topic-body .lop-topic-detail-hero .lopsp-info-hero-copy{
  align-self:center!important;
  min-width:0!important;
}
body.lop-topic-body .lop-topic-detail-hero .lopsp-info-hero-copy h1{
  font-size:clamp(28px,3.1vw,40px)!important;
  line-height:1.15!important;
  margin:8px 0 10px!important;
  letter-spacing:-.032em!important;
}
body.lop-topic-body .lop-topic-detail-hero .lopsp-info-hero-copy p{
  font-size:clamp(16px,1.35vw,18px)!important;
  line-height:1.62!important;
  max-width:860px!important;
}
body.lop-topic-body .lop-topic-detail-hero .lop-topic-card-chips{
  margin-top:10px!important;
}
body.lop-topic-body .lop-topic-detail-hero .lop-topic-hero-image{
  width:100%!important;
  min-height:0!important;
  height:clamp(210px,22vw,286px)!important;
  max-height:286px!important;
  padding:12px!important;
  border-radius:26px!important;
  box-sizing:border-box!important;
}
body.lop-topic-body .lop-topic-detail-hero .lop-topic-hero-image img{
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  border-radius:20px!important;
}
@media(max-width:980px){
  body.lop-topic-body .lop-topic-detail-hero{
    grid-template-columns:1fr!important;
  }
  body.lop-topic-body .lop-topic-detail-hero .lop-topic-hero-image{
    height:clamp(180px,42vw,260px)!important;
    max-height:260px!important;
  }
}
@media(max-width:640px){
  body.lop-topic-body .lop-topic-detail-hero{
    margin:10px 0 12px!important;
    padding:16px!important;
    border-radius:20px!important;
    gap:14px!important;
  }
  body.lop-topic-body .lop-topic-detail-hero .lopsp-info-hero-copy h1{
    font-size:25px!important;
  }
  body.lop-topic-body .lop-topic-detail-hero .lop-topic-hero-image{
    height:170px!important;
    max-height:170px!important;
    padding:8px!important;
    border-radius:20px!important;
  }
}

/* v2.8.391: Lesson frontend direct Question Bank quiz visibility */
.lop-study-lesson-qbank-wrap{
  margin:26px 0;
  padding:0;
  border:0;
  background:transparent;
}
.lop-study-qbank-quiz-head{
  margin-bottom:14px;
  border:1px solid rgba(79,112,255,.20);
  background:linear-gradient(135deg,rgba(236,247,255,.98),rgba(255,255,255,.98));
  box-shadow:0 18px 48px rgba(35,70,180,.08);
}
.lop-study-qbank-quiz{
  margin-top:0;
  border-color:rgba(79,112,255,.22);
  box-shadow:0 22px 64px rgba(35,70,180,.10);
}
.lop-study-qbank-quiz .lop-study-flow-part-head{
  background:linear-gradient(135deg,rgba(79,112,255,.10),rgba(34,197,94,.08));
}


/* v2.8.393 - Lesson frontend quiz answer alignment polish */
body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options{
  clear:both!important;
  display:grid!important;
  gap:12px!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options label,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options label{
  display:grid!important;
  grid-template-columns:24px 48px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:0!important;
  width:100%!important;
  min-height:72px!important;
  box-sizing:border-box!important;
  padding:14px 18px!important;
  margin:0!important;
  border-radius:18px!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options label input[type="radio"],
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options label input[type="radio"]{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:center!important;
  place-self:center!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  padding:0!important;
  margin:0!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  float:none!important;
  flex:0 0 auto!important;
  vertical-align:middle!important;
  accent-color:#4f46e5!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options label .lop-quiz-option-letter,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options label .lop-quiz-option-letter{
  grid-column:2!important;
  grid-row:1!important;
  display:inline-grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  margin:0!important;
  border-radius:999px!important;
  line-height:1!important;
  text-align:center!important;
  box-sizing:border-box!important;
  font-size:18px!important;
  font-weight:1000!important;
  letter-spacing:0!important;
  background:#eef2ff!important;
  color:#3730a3!important;
  border:1px solid #c7d2fe!important;
}
body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options label .lop-quiz-option-text,
body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options label .lop-quiz-option-text{
  grid-column:3!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:stretch!important;
  display:block!important;
  min-width:0!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  line-height:1.5!important;
  overflow-wrap:anywhere!important;
  color:#1e293b!important;
}
@media(max-width:640px){
  body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options label,
  body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options label{
    grid-template-columns:22px 42px minmax(0,1fr)!important;
    min-height:64px!important;
    column-gap:10px!important;
    padding:12px 13px!important;
  }
  body.lop-support-body .lop-study-lesson-detail .lop-study-quiz-options label .lop-quiz-option-letter,
  body.lop-support-body .lop-study-quiz-detail .lop-study-quiz-options label .lop-quiz-option-letter{
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    font-size:16px!important;
  }
}

/* v2.8.394 - Lesson Báo LOP popup with required summary word count */
.lop-study-lop-modal[hidden]{display:none!important;}
.lop-study-lop-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:flex-start;justify-content:center;padding:clamp(18px,5vh,56px) 16px;background:rgba(15,23,42,.42);backdrop-filter:blur(6px);overflow:auto;}
.lop-study-lop-backdrop{position:fixed;inset:0;background:transparent;}
.lop-study-lop-dialog{position:relative;width:min(960px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:28px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #bfdbfe;box-shadow:0 34px 90px rgba(15,23,42,.24);}
.lop-study-lop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 26px;background:linear-gradient(135deg,#eef2ff,#ecfeff);border-bottom:1px solid #dbeafe;}
.lop-study-lop-head span{display:inline-flex;width:max-content;border-radius:999px;padding:7px 12px;background:#eef2ff;color:#4f46e5;font-weight:950;text-transform:uppercase;letter-spacing:.04em;font-size:12px;}
.lop-study-lop-head h2{margin:10px 0 4px!important;color:#07123a;font-size:clamp(24px,3vw,34px);line-height:1.15;}
.lop-study-lop-head p{margin:0;color:#64748b;font-weight:780;line-height:1.45;}
.lop-study-lop-head button{width:48px;height:48px;border-radius:16px;border:0;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;font-size:26px;font-weight:900;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 14px 30px rgba(79,70,229,.25);cursor:pointer;}
.lop-study-lop-form{display:flex;flex-direction:column;gap:18px;padding:24px 26px 26px;}
.lop-study-lop-field{display:flex;flex-direction:column;gap:8px;}
.lop-study-lop-field label{font-weight:950;color:#1e293b;font-size:15px;}
.lop-study-lop-field label span{color:#dc2626;}
.lop-study-lop-field input[type="text"],.lop-study-lop-field textarea{width:100%;border:1px solid #cbd5e1;border-radius:18px;background:#fff;color:#0f172a;font-size:16px;line-height:1.55;padding:14px 16px;box-shadow:inset 0 1px 2px rgba(15,23,42,.04);}
.lop-study-lop-field textarea{min-height:180px;resize:vertical;}
.lop-study-lop-field input[type="text"]:focus,.lop-study-lop-field textarea:focus{outline:0;border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.15);}
.lop-study-lop-field input[type="file"]{width:100%;border:1px dashed #bfdbfe;border-radius:18px;background:#f8fbff;color:#334155;padding:14px;}
.lop-study-lop-field small{color:#64748b;font-weight:720;}
.lop-study-lop-wordbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-radius:16px;border:1px solid #dbeafe;background:#f8fbff;padding:10px 12px;color:#64748b;font-weight:800;}
.lop-study-lop-wordbar span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:32px;border-radius:999px;background:#fee2e2;color:#b91c1c;font-weight:950;}
.lop-study-lop-wordbar.is-ok span{background:#dcfce7;color:#15803d;}
.lop-study-lop-wordbar strong{color:#334155;}
.lop-study-lop-wordbar em{font-style:normal;margin-left:auto;color:#64748b;}
.lop-study-lop-wordbar.is-ok em{color:#15803d;}
.lop-study-lop-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:4px;}
.lop-study-lop-actions button{border:0;border-radius:16px;padding:13px 18px;font-size:16px;font-weight:950;cursor:pointer;min-height:48px;}
.lop-study-lop-actions .secondary{background:#fff;border:1px solid #cbd5e1;color:#1e3a8a;}
.lop-study-lop-actions .primary{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 16px 34px rgba(37,99,235,.24);}
.lop-study-lop-actions .primary:disabled{background:#e2e8f0!important;color:#475569!important;box-shadow:none!important;cursor:not-allowed;opacity:1;}
body.lop-study-lop-modal-open{overflow:hidden;}
@media(max-width:640px){.lop-study-lop-modal{padding:10px}.lop-study-lop-dialog{border-radius:22px;max-height:calc(100vh - 20px)}.lop-study-lop-head,.lop-study-lop-form{padding:18px}.lop-study-lop-head button{width:44px;height:44px}.lop-study-lop-actions{align-items:stretch}.lop-study-lop-actions button{width:100%;}.lop-study-lop-wordbar em{width:100%;margin-left:0;}}


/* v2.8.395 - Compact professional quiz layout on lesson/quiz frontend.
   UI/CSS only: reduces wasted space around question header/options without changing quiz logic. */
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz{
  padding:clamp(14px,2vw,20px)!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-detail-part-head,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-detail-part-head,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-flow-part-head,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-flow-part-head{
  margin-bottom:14px!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-runner,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-runner{
  gap:14px!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-inline-size:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.055)!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question legend,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  float:left!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:14px 190px 12px 18px!important;
  min-height:auto!important;
  border-bottom:1px solid rgba(226,232,240,.92)!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
  color:#07123a!important;
  font-size:clamp(18px,1.8vw,22px)!important;
  line-height:1.32!important;
  font-weight:950!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question legend span,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend span{
  flex:0 0 auto!important;
  margin:0!important;
  padding:5px 10px!important;
  line-height:1!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question legend + *,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend + *{
  clear:both!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-quiz-question-feedback-row,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-feedback-row{
  position:absolute!important;
  top:10px!important;
  right:14px!important;
  z-index:3!important;
  clear:none!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  width:auto!important;
  max-width:min(45%,320px)!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-quiz-question-feedback-row a,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-quiz-question-feedback-row button,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-feedback-row a,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-feedback-row button{
  min-height:40px!important;
  padding:9px 13px!important;
  border-radius:999px!important;
  font-size:14px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options{
  clear:both!important;
  display:grid!important;
  gap:10px!important;
  margin:0!important;
  padding:14px 18px 18px!important;
  box-sizing:border-box!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label{
  display:grid!important;
  grid-template-columns:20px 40px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 14px!important;
  border-radius:16px!important;
  border-color:rgba(148,163,184,.24)!important;
  background:#f8fafc!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label:hover,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label:hover{
  background:#eff6ff!important;
  border-color:#93c5fd!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label input[type="radio"],
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label input[type="radio"]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  margin:0!important;
  place-self:center!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-letter,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-letter{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  font-size:17px!important;
  line-height:1!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-text,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-text{
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:850!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-feedback,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-feedback{
  margin:0 18px 18px!important;
}
@media(max-width:760px){
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz{
    padding:12px!important;
  }
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question legend,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question legend{
    padding:13px 14px 10px!important;
    align-items:flex-start!important;
    font-size:17px!important;
  }
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-quiz-question-feedback-row,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-feedback-row{
    position:static!important;
    clear:both!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    padding:8px 14px 0!important;
  }
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options{
    padding:10px 14px 14px!important;
    gap:9px!important;
  }
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label{
    grid-template-columns:18px 36px minmax(0,1fr)!important;
    min-height:54px!important;
    gap:9px!important;
    padding:10px 12px!important;
  }
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-letter,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-letter{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    font-size:15px!important;
  }
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-text,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options label .lop-quiz-option-text{
    font-size:15px!important;
  }
}

/* v2.8.398 - Compact Lesson Báo LOP popup UI.
   UI/CSS only: keep title/summary validation and submit logic unchanged. */
.lop-study-lop-modal{
  padding:clamp(10px,3vh,28px) 12px!important;
  align-items:flex-start!important;
}
.lop-study-lop-dialog{
  width:min(860px,100%)!important;
  max-height:calc(100vh - 24px)!important;
  border-radius:22px!important;
}
.lop-study-lop-head{
  padding:14px 18px!important;
  gap:12px!important;
}
.lop-study-lop-head span{
  padding:5px 10px!important;
  font-size:11px!important;
}
.lop-study-lop-head h2{
  margin:6px 0 2px!important;
  font-size:clamp(20px,2.2vw,26px)!important;
  line-height:1.12!important;
}
.lop-study-lop-head p{
  font-size:14px!important;
  line-height:1.35!important;
}
.lop-study-lop-head button{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:14px!important;
  font-size:22px!important;
}
.lop-study-lop-form{
  gap:10px!important;
  padding:14px 18px 16px!important;
}
.lop-study-lop-field{
  gap:5px!important;
}
.lop-study-lop-field label{
  font-size:14px!important;
  line-height:1.25!important;
}
.lop-study-lop-field input[type="text"],
.lop-study-lop-field textarea{
  border-radius:14px!important;
  font-size:15px!important;
  line-height:1.45!important;
  padding:10px 12px!important;
}
.lop-study-lop-field textarea{
  min-height:110px!important;
  max-height:150px!important;
}
.lop-study-lop-field input[type="file"]{
  border-radius:14px!important;
  padding:10px 12px!important;
}
.lop-study-lop-field small{
  font-size:12px!important;
  line-height:1.3!important;
}
.lop-study-lop-wordbar{
  padding:8px 10px!important;
  gap:6px!important;
  border-radius:14px!important;
  font-size:13px!important;
  line-height:1.3!important;
}
.lop-study-lop-wordbar span{
  min-width:34px!important;
  height:26px!important;
  padding:0 8px!important;
}
.lop-study-lop-actions{
  gap:8px!important;
  padding-top:2px!important;
}
.lop-study-lop-actions button{
  min-height:42px!important;
  border-radius:14px!important;
  padding:10px 15px!important;
  font-size:15px!important;
}
@media(max-width:640px){
  .lop-study-lop-modal{padding:8px!important;}
  .lop-study-lop-dialog{max-height:calc(100vh - 16px)!important;border-radius:18px!important;}
  .lop-study-lop-head{padding:12px 14px!important;}
  .lop-study-lop-form{padding:12px 14px 14px!important;gap:9px!important;}
  .lop-study-lop-head h2{font-size:20px!important;}
  .lop-study-lop-head p{font-size:13px!important;}
  .lop-study-lop-head button{width:38px!important;height:38px!important;min-width:38px!important;}
  .lop-study-lop-field textarea{min-height:96px!important;max-height:130px!important;}
}
/* v2.8.399 - Quiz question tools row above question title.
   UI/CSS only: keep quiz scoring, feedback modal and Question Bank edit links unchanged. */
.lop-study-quiz-question .lop-quiz-question-sr,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-sr,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-sr{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  background:transparent!important;
  color:transparent!important;
}
.lop-study-quiz-question .lop-quiz-question-tools-row,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-tools-row,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-tools-row{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  clear:both!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:12px 18px 6px!important;
  box-sizing:border-box!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
}
.lop-study-quiz-question .lop-quiz-question-tools-row:empty,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-tools-row:empty,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-tools-row:empty{
  display:none!important;
  padding:0!important;
}
.lop-study-quiz-question .lop-quiz-question-title-row,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row{
  float:none!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:8px 18px 14px!important;
  box-sizing:border-box!important;
  border-bottom:1px solid rgba(226,232,240,.92)!important;
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
  color:#07123a!important;
  font-size:clamp(18px,1.8vw,22px)!important;
  line-height:1.32!important;
  font-weight:950!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.lop-study-quiz-question .lop-quiz-question-title-row .lop-quiz-question-no,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row .lop-quiz-question-no,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row .lop-quiz-question-no{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#3730a3!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
}
.lop-study-quiz-question .lop-quiz-question-title-row .lop-quiz-question-title-text,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row .lop-quiz-question-title-text,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row .lop-quiz-question-title-text{
  display:block!important;
  min-width:0!important;
  color:inherit!important;
  font:inherit!important;
  letter-spacing:inherit!important;
  overflow-wrap:anywhere!important;
}
.lop-study-quiz-question .lop-quiz-question-tools-row .lop-content-feedback-btn,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-quiz-question-tools-row .lop-content-feedback-btn,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-tools-row .lop-content-feedback-btn,
.lop-study-quiz-question .lop-quiz-question-tools-row .lop-editor-inline-edit,
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-quiz-question-tools-row .lop-editor-inline-edit,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-quiz-question-tools-row .lop-editor-inline-edit{
  min-height:36px!important;
  margin:0!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-options,
body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-options{
  clear:both!important;
}
@media(max-width:760px){
  .lop-study-quiz-question .lop-quiz-question-tools-row,
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-tools-row,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-tools-row{
    justify-content:flex-start!important;
    padding:10px 14px 4px!important;
  }
  .lop-study-quiz-question .lop-quiz-question-title-row,
  body.lop-support-body .lop-study-lesson-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row,
  body.lop-support-body .lop-study-quiz-detail #lop-lesson-quiz .lop-study-quiz-question .lop-quiz-question-title-row{
    align-items:flex-start!important;
    padding:8px 14px 12px!important;
    font-size:17px!important;
  }
  .lop-study-quiz-question .lop-quiz-question-tools-row .lop-content-feedback-btn,
  .lop-study-quiz-question .lop-quiz-question-tools-row .lop-editor-inline-edit{
    min-height:34px!important;
    padding:7px 10px!important;
    font-size:12.5px!important;
  }
}

/* v2.8.400: Event registration popup */
.lopsp-event-action{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;font:inherit;line-height:1.2;box-sizing:border-box}.lopsp-event-action.ghost{background:#eef2ff;color:#3730a3;border:1px solid rgba(79,70,229,.18)}.lopsp-event-register-notice{margin:18px 0;padding:16px 18px;border-radius:22px;border:1px solid rgba(148,163,184,.25);box-shadow:0 14px 36px rgba(15,23,42,.06)}.lopsp-event-register-notice strong{display:block;font-size:17px;margin-bottom:4px}.lopsp-event-register-notice p{margin:0;color:#475569;line-height:1.6}.lopsp-event-register-notice.success{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.lopsp-event-register-notice.error{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.lopsp-event-register-modal[hidden]{display:none!important}.lopsp-event-register-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}.lopsp-event-register-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(8px)}.lopsp-event-register-dialog{position:relative;width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid rgba(219,234,254,.85);border-radius:30px;box-shadow:0 34px 90px rgba(15,23,42,.28);padding:26px}.lopsp-event-register-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:24px;line-height:1;cursor:pointer}.lopsp-event-register-head{padding-right:42px;margin-bottom:18px}.lopsp-event-register-head span{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:900;font-size:13px}.lopsp-event-register-head h2{margin:10px 0 8px;color:#0f172a;font-size:26px;line-height:1.25}.lopsp-event-register-head p{margin:0;color:#52627a;line-height:1.6}.lopsp-event-register-form{display:flex;flex-direction:column;gap:14px}.lopsp-event-register-form label{display:flex;flex-direction:column;gap:7px;color:#0f172a;font-weight:900}.lopsp-event-register-form input,.lopsp-event-register-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(148,163,184,.38);border-radius:16px;padding:13px 14px;font:inherit;color:#0f172a;background:#fff;outline:none}.lopsp-event-register-form input:focus,.lopsp-event-register-form textarea:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}.lopsp-event-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lopsp-event-register-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.lopsp-event-register-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.lopsp-modal-open{overflow:hidden}@media(max-width:640px){.lopsp-event-register-dialog{border-radius:24px;padding:20px}.lopsp-event-register-grid{grid-template-columns:1fr}.lopsp-event-register-actions{flex-direction:column-reverse}.lopsp-event-register-actions .lopsp-event-action{width:100%}}

/* v2.8.401 Event registration open/closed + homepage hero events */
.lopsp-event-register-modal,
.lopsp-event-register-modal *{text-transform:none!important;letter-spacing:normal;}
.lopsp-event-register-head span{font-size:13px;font-weight:900;letter-spacing:0;text-transform:none!important;}
.lopsp-event-status-pill{display:inline-flex!important;align-items:center;width:max-content;margin-top:8px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:900;line-height:1;border:1px solid rgba(148,163,184,.28);background:#fff;color:#475569;}
.lopsp-event-status-pill.is-open{background:#ecfdf5;border-color:#bbf7d0;color:#15803d;}
.lopsp-event-status-pill.is-closed{background:#f1f5f9;border-color:#e2e8f0;color:#64748b;}
.lopsp-event-action.disabled{background:#f1f5f9;color:#64748b;border:1px solid rgba(148,163,184,.28);cursor:not-allowed;box-shadow:none;}
.lopsp-home-open-events{margin-top:22px;padding:14px;border-radius:24px;background:rgba(255,255,255,.78);border:1px solid rgba(37,99,235,.14);box-shadow:0 18px 44px rgba(15,23,42,.07);backdrop-filter:blur(10px);max-width:760px;}
.lopsp-home-open-events-title{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.lopsp-home-open-events-title span{width:34px;height:34px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eff6ff,#fff7ed);}
.lopsp-home-open-events-title strong{font-size:15px;color:#172554;font-weight:950;}
.lopsp-home-open-events-title a{margin-left:auto;font-size:12px;font-weight:900;color:#2563eb;text-decoration:none;}
.lopsp-home-open-events-list{display:grid;gap:9px;}
.lopsp-home-open-event-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 10px 10px 12px;border-radius:18px;background:#fff;border:1px solid rgba(226,232,240,.9);}
.lopsp-home-open-event-title{display:block;color:#0f172a;font-size:14px;font-weight:950;line-height:1.35;text-decoration:none;}
.lopsp-home-open-event-title:hover{color:#2563eb;}
.lopsp-home-open-event-meta{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:750;line-height:1.35;}
.lopsp-home-event-register-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff!important;text-decoration:none;font-size:12px;font-weight:950;white-space:nowrap;box-shadow:0 12px 24px rgba(37,99,235,.18);}
.lopsp-home-event-register-btn:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(37,99,235,.24);}
@media(max-width:760px){.lopsp-home-open-events{padding:12px;border-radius:20px}.lopsp-home-open-event-item{grid-template-columns:1fr}.lopsp-home-event-register-btn{width:100%}.lopsp-home-open-events-title{align-items:flex-start}.lopsp-home-open-events-title a{margin-left:0}.lopsp-home-open-events-title{flex-wrap:wrap}}

/* v2.8.405/2.8.407 - /lop/cai-dat-muc-tieu is the student settings/goals hub; legacy /lop/external-courses redirects here. */
.lopsp-settings-dashboard{display:grid;gap:18px;width:100%;}
.lopsp-settings-intro-card,.lopsp-settings-card{position:relative;overflow:hidden;border:1px solid rgba(37,99,235,.16);background:linear-gradient(135deg,#ffffff 0%,#f8fbff 48%,#eef6ff 100%);border-radius:30px;box-shadow:0 22px 60px rgba(15,23,42,.08);padding:22px;}
.lopsp-settings-intro-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;background:linear-gradient(135deg,#fff 0%,#eff6ff 46%,#fff7ed 100%);}
.lopsp-settings-intro-card h3{margin:5px 0 8px;font-size:clamp(24px,2.4vw,36px);line-height:1.08;font-weight:950;letter-spacing:-.035em;color:#06153b;}
.lopsp-settings-intro-card p{margin:0;color:#334155;line-height:1.7;font-size:15.5px;max-width:940px;}
.lopsp-settings-intro-badge{min-width:160px;border-radius:24px;padding:16px;background:linear-gradient(135deg,#4f46e5,#0ea5e9);color:#fff;text-align:center;box-shadow:0 18px 42px rgba(37,99,235,.22);}
.lopsp-settings-intro-badge strong{display:block;font-size:34px;line-height:1;font-weight:950;}
.lopsp-settings-intro-badge span{display:block;margin-top:5px;font-size:12px;font-weight:800;opacity:.92;}
.lopsp-settings-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#2563eb,#06b6d4,#f97316);opacity:.9;}
.lopsp-settings-card-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;margin-bottom:16px;}
.lopsp-settings-card-head>b{width:42px;height:42px;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:950;background:linear-gradient(135deg,#4f46e5,#0ea5e9);box-shadow:0 14px 30px rgba(37,99,235,.18);font-size:18px;}
.lopsp-settings-card-head h4{margin:0 0 5px;font-size:22px;line-height:1.15;color:#07133c;font-weight:950;letter-spacing:-.02em;}
.lopsp-settings-card-head p{margin:0;color:#475569;line-height:1.6;font-size:14.5px;}
.lopsp-settings-form{display:grid;gap:12px;}
.lopsp-settings-form label{font-weight:900;color:#111827;}
.lopsp-settings-goal-suggestions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:-2px 0 4px;}
.lopsp-settings-goal-suggestions span{font-size:12px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.04em;}
.lopsp-settings-goal-suggestions em{font-style:normal;border:1px solid rgba(37,99,235,.16);background:#fff;border-radius:999px;padding:7px 10px;color:#3730a3;font-size:12.5px;font-weight:800;}
.lopsp-settings-card .lop-study-external-box-profile{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;}
.lopsp-settings-card .lop-study-external-head{display:none!important;}
.lopsp-settings-parent-grid{margin-top:4px;}
.lopsp-settings-card .lopsp-parent-card{min-height:126px;}
.lopsp-settings-card-public{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;}
.lopsp-settings-card-public .lopsp-public-profile-copy,.lopsp-settings-card-public .lopsp-public-tools{position:relative;z-index:1;}
.lopsp-settings-pathway-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin:4px 0 14px;padding:15px;border:1px solid rgba(14,165,233,.18);background:linear-gradient(135deg,#f0f9ff,#ffffff);border-radius:22px;}
.lopsp-settings-pathway-summary>span{width:52px;height:52px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;box-shadow:0 12px 26px rgba(14,165,233,.13);}
.lopsp-settings-pathway-summary strong{display:block;color:#07133c;font-size:18px;font-weight:950;}
.lopsp-settings-pathway-summary small{display:block;margin-top:3px;color:#64748b;line-height:1.45;}
.lopsp-settings-pathway-list{display:grid;gap:9px;margin-bottom:14px;}
.lopsp-settings-pathway-list a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:18px;border:1px solid rgba(37,99,235,.14);background:#fff;color:#0f172a;text-decoration:none;font-weight:850;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.lopsp-settings-pathway-list a:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(37,99,235,.1);}
.lopsp-settings-pathway-list span{color:#2563eb;font-weight:950;white-space:nowrap;}
.lopsp-page-external-courses .lopsp-lop-section-hero{background:linear-gradient(135deg,#fff,#eff6ff 55%,#fff7ed);}
.lopsp-page-external-courses .lopsp-focus-dashboard{max-width:1180px;margin-left:auto;margin-right:auto;}
@media(max-width:900px){.lopsp-settings-intro-card{grid-template-columns:1fr}.lopsp-settings-intro-badge{width:100%;}.lopsp-settings-card{padding:17px;border-radius:24px}.lopsp-settings-card-head{grid-template-columns:1fr}.lopsp-settings-card-head>b{width:38px;height:38px}.lopsp-settings-pathway-list a{align-items:flex-start;flex-direction:column}.lopsp-settings-pathway-list span{white-space:normal}}

/* v2.8.406 - icon-first submenu rows + clearer LOP settings order */
.lopsp-main-nav .lopsp-nav-submenu a .lopsp-nav-submenu-head{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
}
.lopsp-main-nav .lopsp-nav-submenu a .lopsp-nav-submenu-icon{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(135deg,#eef2ff,#ecfeff)!important;
  border:1px solid #dbeafe!important;
  box-shadow:0 8px 18px rgba(37,99,235,.08)!important;
  font-size:15px!important;
  line-height:1!important;
}
.lopsp-main-nav .lopsp-nav-submenu a .lopsp-nav-submenu-head strong{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.lopsp-main-nav .lopsp-nav-submenu a small{
  padding-left:37px!important;
}
@media (max-width:720px){
  .lopsp-main-nav .lopsp-nav-submenu a small{padding-left:0!important;}
}

/* v2.8.408 - /lop/cai-dat-muc-tieu: multi-goal and external course popup management */
.lopsp-settings-card-goals-v2 .lopsp-settings-goal-toolbar,
.lop-study-external-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:14px 0 16px!important;padding:14px!important;border-radius:22px!important;background:linear-gradient(135deg,#eff6ff,#fff7ed)!important;border:1px solid rgba(59,130,246,.18)!important;box-shadow:0 14px 35px rgba(15,23,42,.06)!important;}
.lopsp-settings-goal-toolbar strong,.lop-study-external-toolbar strong{display:block!important;color:#0f172a!important;font-size:16px!important;font-weight:1000!important;line-height:1.25!important;}
.lopsp-settings-goal-toolbar span,.lop-study-external-toolbar span{display:block!important;margin-top:3px!important;color:#64748b!important;font-size:13px!important;font-weight:750!important;line-height:1.35!important;}
.lopsp-settings-goal-list,.lop-study-external-manage-list{display:grid!important;gap:12px!important;}
.lopsp-settings-goal-item,.lop-study-external-manage-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important;padding:15px!important;border-radius:24px!important;background:#fff!important;border:1px solid rgba(203,213,225,.9)!important;box-shadow:0 12px 30px rgba(15,23,42,.055)!important;}
.lopsp-settings-goal-item.status-active,.lop-study-external-manage-item.is-active{border-color:rgba(34,197,94,.28)!important;background:linear-gradient(135deg,#fff,#f0fdf4)!important;}
.lopsp-settings-goal-item.status-done{border-color:rgba(59,130,246,.30)!important;background:linear-gradient(135deg,#fff,#eff6ff)!important;}
.lopsp-settings-goal-item.status-paused,.lop-study-external-manage-item.is-paused{border-color:rgba(148,163,184,.35)!important;background:linear-gradient(135deg,#fff,#f8fafc)!important;}
.lopsp-settings-goal-title,.lop-study-external-item-title{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:6px!important;}
.lopsp-settings-goal-title strong,.lop-study-external-item-title strong{color:#0f172a!important;font-size:16px!important;line-height:1.25!important;font-weight:1000!important;}
.lopsp-settings-goal-title span,.lop-study-external-status{display:inline-flex!important;align-items:center!important;padding:5px 9px!important;border-radius:999px!important;background:#dcfce7!important;color:#166534!important;border:1px solid #bbf7d0!important;font-size:11px!important;font-weight:1000!important;line-height:1!important;}
.lopsp-settings-goal-item.status-done .lopsp-settings-goal-title span{background:#dbeafe!important;color:#1d4ed8!important;border-color:#bfdbfe!important;}
.lopsp-settings-goal-item.status-paused .lopsp-settings-goal-title span,.lop-study-external-status.is-paused{background:#f1f5f9!important;color:#475569!important;border-color:#e2e8f0!important;}
.lopsp-settings-goal-item p,.lop-study-external-manage-item p{margin:6px 0!important;color:#334155!important;font-size:14px!important;line-height:1.55!important;font-weight:700!important;}
.lopsp-settings-goal-meta{display:grid!important;gap:5px!important;margin-top:8px!important;}
.lopsp-settings-goal-meta small{display:block!important;color:#64748b!important;font-size:12px!important;line-height:1.4!important;font-weight:750!important;}
.lopsp-settings-goal-result,.lop-study-external-result{margin-top:10px!important;padding:10px 12px!important;border-radius:16px!important;background:#fffbeb!important;border:1px solid #fde68a!important;color:#92400e!important;font-size:13px!important;line-height:1.45!important;font-weight:800!important;}
.lopsp-settings-goal-actions,.lop-study-external-manage-actions{display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
.lopsp-settings-popup[hidden]{display:none!important;}
.lopsp-settings-popup{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;}
.lopsp-settings-popup-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.58)!important;backdrop-filter:blur(6px)!important;}
.lopsp-settings-popup-dialog{position:relative!important;width:min(760px,calc(100vw - 28px))!important;max-height:calc(100vh - 32px)!important;overflow:auto!important;background:#fff!important;border-radius:28px!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:0 30px 90px rgba(15,23,42,.28)!important;padding:18px!important;}
.lopsp-settings-popup-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:14px!important;padding:14px!important;border-radius:22px!important;background:linear-gradient(135deg,#eff6ff,#fff7ed)!important;border:1px solid rgba(59,130,246,.16)!important;}
.lopsp-settings-popup-head span{display:inline-flex!important;margin-bottom:5px!important;color:#2563eb!important;font-size:12px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
.lopsp-settings-popup-head h3{margin:0!important;color:#0f172a!important;font-size:22px!important;line-height:1.15!important;font-weight:1000!important;}
.lopsp-settings-popup-head p{margin:5px 0 0!important;color:#64748b!important;font-size:13px!important;line-height:1.4!important;font-weight:750!important;}
.lopsp-settings-popup-head button{flex:0 0 auto!important;width:38px!important;height:38px!important;border-radius:14px!important;border:1px solid #e2e8f0!important;background:#fff!important;color:#0f172a!important;font-size:24px!important;line-height:1!important;font-weight:900!important;cursor:pointer!important;}
.lopsp-settings-popup .lopsp-settings-form{display:grid!important;gap:10px!important;margin:0!important;}
.lopsp-settings-popup .lopsp-settings-form label{margin-top:2px!important;margin-bottom:0!important;color:#334155!important;font-weight:950!important;font-size:13px!important;}
.lopsp-settings-popup .lopsp-settings-form input,
.lopsp-settings-popup .lopsp-settings-form select,
.lopsp-settings-popup .lopsp-settings-form textarea{width:100%!important;border:1px solid #cbd5e1!important;border-radius:16px!important;padding:11px 12px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;line-height:1.35!important;box-shadow:none!important;}
.lopsp-settings-popup .lopsp-settings-form textarea{min-height:82px!important;resize:vertical!important;}
.lopsp-settings-popup-foot{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;margin-top:4px!important;padding-top:10px!important;border-top:1px solid #e2e8f0!important;}
.lopsp-settings-delete-form{display:flex!important;justify-content:flex-start!important;margin:10px 0 0!important;padding-top:10px!important;border-top:1px dashed #fecaca!important;}
.lopsp-danger-link{border:0!important;background:transparent!important;color:#dc2626!important;font-weight:950!important;cursor:pointer!important;padding:6px 0!important;}
html.lopsp-settings-popup-open,html.lopsp-settings-popup-open body{overflow:hidden!important;}
.lop-study-external-manage-item .lopsp-info-cta{margin-top:0!important;}
.lop-study-external-manage-item>span{color:#64748b!important;font-size:13px!important;font-weight:750!important;}
@media(max-width:720px){.lopsp-settings-card-goals-v2 .lopsp-settings-goal-toolbar,.lop-study-external-toolbar{display:block!important}.lopsp-settings-card-goals-v2 .lopsp-settings-goal-toolbar .lopsp-upgrade-btn,.lop-study-external-toolbar .lopsp-upgrade-btn,.lop-study-external-toolbar .lopsp-secondary-soft{margin-top:10px!important;width:100%!important;justify-content:center!important}.lopsp-settings-goal-item,.lop-study-external-manage-item{grid-template-columns:1fr!important}.lopsp-settings-goal-actions,.lop-study-external-manage-actions{justify-content:flex-start!important}.lopsp-settings-popup{padding:10px!important;align-items:flex-end!important}.lopsp-settings-popup-dialog{width:100%!important;max-height:94vh!important;border-radius:24px 24px 0 0!important}.lopsp-settings-popup-head{padding:12px!important}.lopsp-settings-popup-head h3{font-size:19px!important}}


/* v2.8.409 - /lop/cai-dat-muc-tieu popup close button alignment polish. */
.lopsp-settings-popup-dialog{
  padding:22px!important;
  scroll-padding-top:18px!important;
}
.lopsp-settings-popup-head{
  align-items:center!important;
  gap:16px!important;
  padding:16px 16px 16px 18px!important;
  margin:2px 0 16px!important;
}
.lopsp-settings-popup-head>div{
  min-width:0!important;
  padding-right:4px!important;
}
.lopsp-settings-popup-head button[data-lop-settings-popup-close]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  padding:0!important;
  margin:0!important;
  position:relative!important;
  top:1px!important;
  transform:none!important;
  font-size:26px!important;
  line-height:1!important;
  text-align:center!important;
  border-radius:16px!important;
}
@media(max-width:720px){
  .lopsp-settings-popup-dialog{padding:16px!important;max-height:92vh!important;}
  .lopsp-settings-popup-head{padding:14px 14px 14px 15px!important;margin:0 0 14px!important;gap:12px!important;}
  .lopsp-settings-popup-head button[data-lop-settings-popup-close]{flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;top:1px!important;}
}

/* v2.8.410 - simplify external course setup and use popup for Companion reminders. */
.lop-study-external-box-profile .lop-study-external-head .lopsp-note{max-width:760px!important;}
.lop-study-external-modal-form .lop-study-external-schedule-card,
.lop-study-external-item .lop-study-external-schedule-badge{display:none!important;}
.lopsp-remind-add-card-v410{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;padding:18px!important;border-radius:28px!important;border:1px solid #bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#fff 58%,#fff7ed)!important;box-shadow:0 18px 48px rgba(37,99,235,.09)!important;}
.lopsp-remind-add-card-copy{display:grid!important;gap:6px!important;min-width:0!important;}
.lopsp-remind-add-card-copy h3{margin:0!important;color:#0f172a!important;font-size:clamp(22px,2.7vw,30px)!important;line-height:1.12!important;font-weight:1000!important;letter-spacing:-.035em!important;}
.lopsp-remind-add-card-copy p{margin:0!important;color:#64748b!important;font-weight:760!important;line-height:1.45!important;max-width:760px!important;}
.lopsp-remind-add-open-v410{white-space:nowrap!important;min-height:46px!important;box-shadow:0 16px 36px rgba(37,99,235,.18)!important;}
.lopsp-remind-add-popup-v410 .lopsp-settings-popup-dialog{width:min(820px,calc(100vw - 28px))!important;}
.lopsp-remind-popup-form-v410 .lopsp-remind-schedule-fields{display:grid!important;gap:12px!important;padding:14px!important;margin:8px 0 0!important;border-radius:22px!important;border:1px solid #dbeafe!important;background:linear-gradient(135deg,#f8fafc,#eff6ff)!important;}
.lopsp-remind-popup-form-v410 textarea[name="content"]{min-height:116px!important;resize:vertical!important;}
@media(max-width:720px){.lopsp-remind-add-card-v410{grid-template-columns:1fr!important;padding:14px!important;border-radius:22px!important;}.lopsp-remind-add-open-v410{width:100%!important;}.lopsp-remind-add-popup-v410 .lopsp-settings-popup-dialog{width:calc(100vw - 18px)!important;max-height:calc(100vh - 18px)!important;}}

/* v2.8.415 - Daily Streak requirement checklist and compact +LOP dashboard chip. */
.lopsp-streak-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 4px;}
.lopsp-streak-req-item{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:'icon title' 'icon meta';align-items:center;gap:2px 10px;padding:12px 14px;border:1px solid rgba(148,163,184,.26);border-radius:18px;background:rgba(255,255,255,.86);box-shadow:0 10px 26px rgba(15,23,42,.05);}
.lopsp-streak-req-item>span{grid-area:icon;width:34px;height:34px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#eff6ff;border:1px solid #bfdbfe;font-size:18px;}
.lopsp-streak-req-item strong{grid-area:title;font-weight:950;color:#0f172a;line-height:1.15;}
.lopsp-streak-req-item small{grid-area:meta;color:#64748b;font-weight:800;line-height:1.35;}
.lopsp-streak-req-item.is-done{border-color:rgba(34,197,94,.28);background:linear-gradient(180deg,#ffffff,#f0fdf4);}
.lopsp-streak-req-item.is-done>span{background:#dcfce7;border-color:#86efac;}
.lopsp-streak-req-item.is-pending{border-color:rgba(249,115,22,.28);background:linear-gradient(180deg,#ffffff,#fff7ed);}
.lopsp-streak-req-item.is-pending>span{background:#ffedd5;border-color:#fed7aa;}
.lopsp-lop-total-chip{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border-radius:999px;background:linear-gradient(135deg,#fff7ed,#eff6ff);border:1px solid rgba(99,102,241,.18);box-shadow:0 12px 28px rgba(79,70,229,.10);font-weight:950;color:#172554;white-space:nowrap;}
.lopsp-lop-total-chip span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;}
.lopsp-lop-total-chip strong{font-size:22px;line-height:1;color:#4f46e5;letter-spacing:-.04em;}
@media(max-width:720px){.lopsp-streak-requirements{grid-template-columns:1fr}.lopsp-lop-total-chip{width:100%;justify-content:center}.lopsp-lop-action-hub-head .lopsp-secondary-soft{width:100%;justify-content:center}}


/* v2.8.416 - Compact daily LOP points inside Streak calendars */
.lopsp-calendar-day-meta{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:3px;line-height:1;}
.lopsp-calendar-day-meta .dot{display:inline-flex!important;align-items:center;justify-content:center;margin-top:0!important;font-size:13px;line-height:1;}
.lopsp-day-lop-compact{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.24);box-shadow:0 4px 10px rgba(15,23,42,.06);color:#0f172a;font-size:10px;font-weight:900;letter-spacing:.01em;line-height:1;}
.lopsp-calendar td.is-ontime .lopsp-day-lop-compact{color:#c2410c;background:#fff7ed;border-color:rgba(251,146,60,.32);}
.lopsp-calendar td.is-rescue .lopsp-day-lop-compact{color:#3730a3;background:#eef2ff;border-color:rgba(129,140,248,.38);}
.lopsp-calendar td.is-task-done .lopsp-day-lop-compact{color:#047857;background:#ecfdf5;border-color:rgba(52,211,153,.36);}
@media(max-width:760px){.lopsp-calendar-day-meta{gap:2px;margin-top:2px}.lopsp-calendar-day-meta .dot{font-size:11px}.lopsp-day-lop-compact{min-width:auto;padding:1px 4px;font-size:8.5px}}


/* v2.8.418 - Highlight core LOP motivation actions without changing text size */
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav .lopsp-nav-highlight-lop,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study{
  position:relative!important;
  overflow:hidden!important;
  font-size:14px!important;
  letter-spacing:0!important;
  border-width:1px!important;
  box-shadow:0 12px 28px rgba(37,99,235,.14), inset 0 0 0 1px rgba(255,255,255,.72)!important;
}
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle{
  background:linear-gradient(135deg,#eef2ff 0%,#ecfeff 48%,#fff7ed 100%)!important;
  border-color:#bfdbfe!important;
  color:#172554!important;
}
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown:hover > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown:focus-within > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown.active > .lopsp-nav-dropdown-toggle{
  background:linear-gradient(135deg,#2563eb 0%,#4f46e5 54%,#06b6d4 100%)!important;
  border-color:transparent!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings{
  background:linear-gradient(135deg,#f0fdf4 0%,#ecfeff 52%,#ffffff 100%)!important;
  border-color:#bbf7d0!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study{
  background:linear-gradient(135deg,#eff6ff 0%,#eef2ff 52%,#ffffff 100%)!important;
  border-color:#c7d2fe!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings:hover,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study:hover,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings:focus-visible,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study:focus-visible{
  transform:translateX(0)!important;
  box-shadow:0 16px 34px rgba(37,99,235,.16)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings strong,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study strong,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings small,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study small{
  font-size:inherit;
  letter-spacing:0!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-priority,
.lopsp-lop-action-card.lopsp-action-priority-settings,
.lopsp-lop-action-card.lopsp-action-priority-study{
  border-color:rgba(79,70,229,.26)!important;
  box-shadow:0 14px 34px rgba(37,99,235,.12)!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-dashboard{
  background:linear-gradient(135deg,#eff6ff,#f5f3ff)!important;
  color:#1e3a8a!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-external-courses{
  background:linear-gradient(135deg,#f0fdf4,#ecfeff)!important;
  color:#14532d!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-study{
  background:linear-gradient(135deg,#fff7ed,#eef2ff)!important;
  color:#7c2d12!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-priority:hover,
.lopsp-lop-section-tabs a.lopsp-section-tab-priority:focus-visible{
  transform:translateY(-1px)!important;
  font-size:13px!important;
  letter-spacing:0!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-priority.is-active{
  color:#fff!important;
  background:linear-gradient(135deg,#4f46e5,#2563eb,#06b6d4)!important;
  border-color:transparent!important;
  box-shadow:0 14px 32px rgba(37,99,235,.22)!important;
}
.lopsp-lop-action-card.lopsp-action-priority-settings{
  background:linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%)!important;
}
.lopsp-lop-action-card.lopsp-action-priority-study{
  background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%)!important;
}
.lopsp-lop-action-card.lopsp-action-priority-settings:hover,
.lopsp-lop-action-card.lopsp-action-priority-study:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 20px 46px rgba(37,99,235,.16)!important;
}
@media (max-width: 720px){
  .lopsp-lop-section-tabs a.lopsp-section-tab-priority:hover,
  .lopsp-lop-section-tabs a.lopsp-section-tab-priority:focus-visible{font-size:12px!important;}
}

/* v2.8.419 - Stronger motivational highlight for 3 core LOP navigation actions */
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav a.lopsp-nav-highlight-lop,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study{
  font-size:14px!important;
  letter-spacing:0!important;
  line-height:1!important;
  isolation:isolate!important;
}
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav a.lopsp-nav-highlight-lop{
  background:linear-gradient(135deg,#1d4ed8 0%,#4f46e5 52%,#06b6d4 100%)!important;
  border-color:rgba(255,255,255,.20)!important;
  color:#fff!important;
  box-shadow:0 14px 34px rgba(37,99,235,.26), inset 0 0 0 1px rgba(255,255,255,.25)!important;
}
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
.lopsp-main-nav a.lopsp-nav-highlight-lop,
.lopsp-main-nav a.lopsp-nav-highlight-lop .lopsp-user-lop-prefix,
.lopsp-main-nav a.lopsp-nav-highlight-lop .lopsp-user-lop-name{
  color:#fff!important;
  font-size:14px!important;
  letter-spacing:0!important;
}
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle:after,
.lopsp-main-nav a.lopsp-nav-highlight-lop:after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.24);
  pointer-events:none;
  z-index:-1;
}
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown:hover > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown:focus-within > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown.active > .lopsp-nav-dropdown-toggle,
.lopsp-main-nav a.lopsp-nav-highlight-lop:hover,
.lopsp-main-nav a.lopsp-nav-highlight-lop.active,
.lopsp-main-nav a.lopsp-nav-highlight-lop:focus-visible{
  background:linear-gradient(135deg,#1e40af 0%,#4338ca 48%,#0891b2 100%)!important;
  color:#fff!important;
  font-size:14px!important;
  letter-spacing:0!important;
  box-shadow:0 16px 38px rgba(37,99,235,.32), inset 0 0 0 1px rgba(255,255,255,.30)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study{
  min-height:72px!important;
  padding:14px 14px!important;
  border-width:2px!important;
  transform:none!important;
  box-shadow:0 14px 34px rgba(15,23,42,.10), inset 0 0 0 1px rgba(255,255,255,.62)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop{
  background:linear-gradient(135deg,#dbeafe 0%,#c7d2fe 48%,#cffafe 100%)!important;
  border-color:#60a5fa!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings{
  background:linear-gradient(135deg,#dcfce7 0%,#bbf7d0 44%,#ecfeff 100%)!important;
  border-color:#4ade80!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study{
  background:linear-gradient(135deg,#ffedd5 0%,#fed7aa 42%,#eef2ff 100%)!important;
  border-color:#fb923c!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop:hover,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings:hover,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study:hover,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop:focus-visible,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings:focus-visible,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study:focus-visible{
  transform:none!important;
  font-size:14px!important;
  letter-spacing:0!important;
  box-shadow:0 18px 42px rgba(37,99,235,.18), inset 0 0 0 1px rgba(255,255,255,.72)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop .lopsp-nav-submenu-icon,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings .lopsp-nav-submenu-icon,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study .lopsp-nav-submenu-icon{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.55)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.14)!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop .lopsp-nav-submenu-icon{background:linear-gradient(135deg,#2563eb,#4f46e5)!important;}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings .lopsp-nav-submenu-icon{background:linear-gradient(135deg,#16a34a,#06b6d4)!important;}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study .lopsp-nav-submenu-icon{background:linear-gradient(135deg,#f97316,#7c3aed)!important;}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop strong,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings strong,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study strong{
  color:#071735!important;
  font-size:14px!important;
  letter-spacing:0!important;
}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-lop small,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-settings small,
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-study small{
  color:#334155!important;
  font-size:12px!important;
  letter-spacing:0!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-dashboard,
.lopsp-lop-section-tabs a.lopsp-section-tab-external-courses,
.lopsp-lop-section-tabs a.lopsp-section-tab-study{
  position:relative!important;
  border-width:2px!important;
  font-size:13px!important;
  letter-spacing:0!important;
  box-shadow:0 12px 28px rgba(37,99,235,.14)!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-dashboard{background:linear-gradient(135deg,#dbeafe,#c7d2fe,#ecfeff)!important;border-color:#60a5fa!important;color:#1e3a8a!important;}
.lopsp-lop-section-tabs a.lopsp-section-tab-external-courses{background:linear-gradient(135deg,#dcfce7,#bbf7d0,#ecfeff)!important;border-color:#4ade80!important;color:#14532d!important;}
.lopsp-lop-section-tabs a.lopsp-section-tab-study{background:linear-gradient(135deg,#ffedd5,#fed7aa,#eef2ff)!important;border-color:#fb923c!important;color:#7c2d12!important;}
.lopsp-lop-section-tabs a.lopsp-section-tab-dashboard:hover,
.lopsp-lop-section-tabs a.lopsp-section-tab-external-courses:hover,
.lopsp-lop-section-tabs a.lopsp-section-tab-study:hover,
.lopsp-lop-section-tabs a.lopsp-section-tab-dashboard:focus-visible,
.lopsp-lop-section-tabs a.lopsp-section-tab-external-courses:focus-visible,
.lopsp-lop-section-tabs a.lopsp-section-tab-study:focus-visible{
  font-size:13px!important;
  letter-spacing:0!important;
  box-shadow:0 14px 34px rgba(37,99,235,.18)!important;
}
.lopsp-lop-section-tabs a.lopsp-section-tab-priority.is-active{
  background:linear-gradient(135deg,#1d4ed8,#4f46e5,#06b6d4)!important;
  border-color:transparent!important;
  color:#fff!important;
}
.lopsp-lop-action-card.lopsp-action-priority-lop,
.lopsp-lop-action-card.lopsp-action-priority-settings,
.lopsp-lop-action-card.lopsp-action-priority-study{
  border-width:2px!important;
  font-size:inherit!important;
  letter-spacing:0!important;
  box-shadow:0 18px 44px rgba(37,99,235,.16), inset 0 0 0 1px rgba(255,255,255,.72)!important;
}
.lopsp-lop-action-card.lopsp-action-priority-lop{
  background:linear-gradient(145deg,#dbeafe 0%,#c7d2fe 42%,#ecfeff 100%)!important;
  border-color:#60a5fa!important;
}
.lopsp-lop-action-card.lopsp-action-priority-settings{
  background:linear-gradient(145deg,#dcfce7 0%,#bbf7d0 42%,#ecfeff 100%)!important;
  border-color:#4ade80!important;
}
.lopsp-lop-action-card.lopsp-action-priority-study{
  background:linear-gradient(145deg,#ffedd5 0%,#fed7aa 42%,#eef2ff 100%)!important;
  border-color:#fb923c!important;
}
.lopsp-lop-action-card.lopsp-action-priority-lop span{background:linear-gradient(135deg,#2563eb,#4f46e5)!important;color:#fff!important;}
.lopsp-lop-action-card.lopsp-action-priority-settings span{background:linear-gradient(135deg,#16a34a,#06b6d4)!important;color:#fff!important;}
.lopsp-lop-action-card.lopsp-action-priority-study span{background:linear-gradient(135deg,#f97316,#7c3aed)!important;color:#fff!important;}
.lopsp-lop-action-card.lopsp-action-priority-lop:hover,
.lopsp-lop-action-card.lopsp-action-priority-settings:hover,
.lopsp-lop-action-card.lopsp-action-priority-study:hover,
.lopsp-lop-action-card.lopsp-action-priority-lop:focus-visible,
.lopsp-lop-action-card.lopsp-action-priority-settings:focus-visible,
.lopsp-lop-action-card.lopsp-action-priority-study:focus-visible{
  font-size:inherit!important;
  letter-spacing:0!important;
  transform:translateY(-2px)!important;
  box-shadow:0 22px 52px rgba(37,99,235,.22), inset 0 0 0 1px rgba(255,255,255,.78)!important;
}
@media(max-width:720px){
  .lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle,
  .lopsp-main-nav a.lopsp-nav-highlight-lop{font-size:13px!important;}
  .lopsp-main-nav details.lopsp-nav-highlight-lop-dropdown > .lopsp-nav-dropdown-toggle .lopsp-nav-label,
  .lopsp-main-nav a.lopsp-nav-highlight-lop,
  .lopsp-main-nav a.lopsp-nav-highlight-lop .lopsp-user-lop-prefix,
  .lopsp-main-nav a.lopsp-nav-highlight-lop .lopsp-user-lop-name{font-size:13px!important;}
  .lopsp-lop-section-tabs a.lopsp-section-tab-dashboard,
  .lopsp-lop-section-tabs a.lopsp-section-tab-external-courses,
  .lopsp-lop-section-tabs a.lopsp-section-tab-study,
  .lopsp-lop-section-tabs a.lopsp-section-tab-dashboard:hover,
  .lopsp-lop-section-tabs a.lopsp-section-tab-external-courses:hover,
  .lopsp-lop-section-tabs a.lopsp-section-tab-study:hover{font-size:12px!important;letter-spacing:0!important;}
}

/* v2.8.425: Required parent companion contact on /lop/cai-dat-muc-tieu/ */
.lopsp-parent-contact-required{background:linear-gradient(135deg,#fff 0%,#ecfeff 46%,#fff7ed 100%);border-color:rgba(14,165,233,.22);}
.lopsp-parent-contact-required.is-missing{border-color:rgba(249,115,22,.32);box-shadow:0 22px 60px rgba(249,115,22,.10);}
.lopsp-parent-contact-required .lopsp-settings-card-head>b{background:linear-gradient(135deg,#0ea5e9,#f97316);font-size:20px;}
.lopsp-parent-contact-form{position:relative;z-index:1;display:grid;gap:14px;}
.lopsp-parent-contact-form label span{color:#ef4444;font-weight:950;}
.lopsp-parent-contact-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.75);border:1px solid rgba(148,163,184,.22);color:#334155;font-weight:850;}
@media(max-width:720px){.lopsp-parent-contact-footer{display:grid;grid-template-columns:1fr}.lopsp-parent-contact-footer .lopsp-upgrade-btn{width:100%;justify-content:center}}

/* v2.8.426 - Blog/Event detail header featured-image preview with lightbox */
.lopsp-contenthub-body .lopsp-hub-detail-head.has-preview-image{padding:24px!important;overflow:hidden}
.lopsp-contenthub-body .lopsp-hub-detail-head-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:22px;align-items:start}
.lopsp-contenthub-body .lopsp-hub-detail-head:not(.has-preview-image) .lopsp-hub-detail-head-grid{display:block}
.lopsp-contenthub-body .lopsp-hub-detail-head-copy{min-width:0}
.lopsp-contenthub-body .lopsp-hub-detail-preview{position:relative;display:block;width:100%;aspect-ratio:4/3;border-radius:24px;overflow:hidden;text-decoration:none;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid rgba(148,163,184,.26);box-shadow:0 18px 45px rgba(15,23,42,.12);cursor:zoom-in;align-self:start}
.lopsp-contenthub-body .lopsp-hub-detail-preview > img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease,filter .25s ease}
.lopsp-contenthub-body .lopsp-hub-detail-preview span{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;font-size:12px;font-weight:900;box-shadow:0 10px 24px rgba(15,23,42,.18)}
.lopsp-contenthub-body .lopsp-hub-detail-preview:hover > img{transform:scale(1.04);filter:saturate(1.05)}
.lopsp-contenthub-body .lopsp-hub-detail-preview:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:4px}
@media(max-width:820px){.lopsp-contenthub-body .lopsp-hub-detail-head-grid{grid-template-columns:1fr}.lopsp-contenthub-body .lopsp-hub-detail-preview{max-width:360px;aspect-ratio:16/10}.lopsp-contenthub-body .lopsp-hub-detail-head.has-preview-image{padding:20px!important}}
@media(max-width:520px){.lopsp-contenthub-body .lopsp-hub-detail-preview{max-width:none;border-radius:20px}.lopsp-contenthub-body .lopsp-hub-detail-preview span{right:10px;bottom:10px}}

/* v2.8.427 - Blog/Event detail header image: show full featured image, no crop/cover. */
.lopsp-contenthub-body .lopsp-hub-detail-head.has-preview-image{overflow:visible!important}
.lopsp-contenthub-body .lopsp-hub-detail-head-grid{grid-template-columns:minmax(0,1fr) minmax(280px,360px)!important;align-items:center!important}
.lopsp-contenthub-body .lopsp-hub-detail-preview{aspect-ratio:16/9!important;background:linear-gradient(135deg,#f8fafc,#eef6ff)!important}
.lopsp-contenthub-body .lopsp-hub-detail-preview > img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important}
.lopsp-contenthub-body .lopsp-hub-detail-preview:hover > img{transform:none!important;filter:saturate(1.03)!important}
@media(max-width:900px){.lopsp-contenthub-body .lopsp-hub-detail-head-grid{grid-template-columns:1fr!important}.lopsp-contenthub-body .lopsp-hub-detail-preview{max-width:560px!important;width:100%!important;margin-top:4px}}
@media(max-width:520px){.lopsp-contenthub-body .lopsp-hub-detail-preview{max-width:none!important;border-radius:20px!important}}

/* v2.8.428 - Blog/Event header preview thumbnail: keep image contained, never scale overlay emoji */
.lopsp-contenthub-body .lopsp-hub-detail-preview{
  max-width:360px!important;
  min-width:0!important;
  justify-self:end!important;
  display:block!important;
  box-sizing:border-box!important;
}
.lopsp-contenthub-body .lopsp-hub-detail-preview > img{
  max-width:100%!important;
  max-height:100%!important;
}
.lopsp-contenthub-body .lopsp-hub-detail-preview span{
  max-width:calc(100% - 24px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.2!important;
}
.lopsp-contenthub-body .lopsp-hub-detail-preview span img,
.lopsp-contenthub-body .lopsp-hub-detail-preview span img.emoji{
  width:16px!important;
  height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  object-fit:contain!important;
  display:inline-block!important;
  vertical-align:-3px!important;
  background:transparent!important;
  margin:0 4px 0 0!important;
}
@media(max-width:900px){
  .lopsp-contenthub-body .lopsp-hub-detail-preview{justify-self:start!important;max-width:min(100%,520px)!important;}
}

/* v2.8.430: upload permission note for Báo LOP */
.lopsp-upload-disabled-note,
.lop-study-lop-upload-disabled {
  border: 1px dashed rgba(99,102,241,.32);
  background: linear-gradient(135deg, rgba(238,242,255,.94), rgba(255,247,237,.86));
  border-radius: 16px;
  padding: 12px 14px;
  color: #475569;
  font-weight: 800;
  line-height: 1.45;
}
.lop-study-lop-upload-disabled small { display:block; color:#475569; font-weight:800; }

/* Reward expansion v2.8.434 */
.lopsp-rewards-mini-panel{background:linear-gradient(135deg,#ffffff 0%,#f5f7ff 55%,#fff7ed 100%);border-color:#dbeafe;box-shadow:0 18px 42px rgba(79,70,229,.08)}
.lopsp-mini-reward-board.is-rewards-page{margin-top:0;background:linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(248,250,255,.95) 100%);border-color:#dbeafe}
.lopsp-page-rewards .lopsp-badges{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));}
.lopsp-page-rewards .lopsp-rewards{grid-template-columns:repeat(auto-fit,minmax(142px,1fr));}
.lopsp-reward.unlocked:nth-child(6n+1){background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%)}
.lopsp-reward.unlocked:nth-child(6n+2){background:linear-gradient(180deg,#ffffff 0%,#fdf2f8 100%)}
.lopsp-reward.unlocked:nth-child(6n+3){background:linear-gradient(180deg,#ffffff 0%,#ecfdf5 100%)}
.lopsp-reward.unlocked:nth-child(6n+4){background:linear-gradient(180deg,#ffffff 0%,#fff7ed 100%)}
.lopsp-reward.unlocked:nth-child(6n+5){background:linear-gradient(180deg,#ffffff 0%,#f5f3ff 100%)}
.lopsp-reward.unlocked:nth-child(6n+6){background:linear-gradient(180deg,#ffffff 0%,#ecfeff 100%)}

/* v2.8.442 - 7-day landing, member/public nav split, quick study actions, locked preview and level goals */
.lopsp-public-site-header-v442,.lopsp-member-site-header-v442{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.78);padding:10px clamp(14px,3vw,28px);box-shadow:0 16px 40px rgba(15,23,42,.06)}
.lopsp-public-main-nav-v442,.lopsp-member-main-nav-v442{align-items:center;gap:8px;margin:0}.lopsp-member-site-header-v442 .lopsp-site-brand em{font-style:normal;font-size:11px;font-weight:1000;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:4px 8px;margin-left:4px}.lopsp-nav-dropdown{position:relative}.lopsp-nav-dropdown summary{list-style:none;cursor:pointer}.lopsp-nav-dropdown summary::-webkit-details-marker{display:none}.lopsp-nav-dropdown-toggle{display:inline-flex;align-items:center;gap:8px;font-size:14px;line-height:1.25;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid #e5edf7;color:#334155;font-weight:900;box-shadow:0 8px 20px rgba(15,23,42,.04)}.lopsp-nav-dropdown.active .lopsp-nav-dropdown-toggle,.lopsp-nav-dropdown[open] .lopsp-nav-dropdown-toggle{color:#1d4ed8;border-color:#bfdbfe;background:#f8fbff}.lopsp-nav-caret-mark{display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px}.lopsp-nav-submenu{position:absolute;top:calc(100% + 10px);left:0;width:min(330px,calc(100vw - 32px));display:grid;gap:8px;padding:10px;border:1px solid #dbe7f5;border-radius:22px;background:#fff;box-shadow:0 24px 60px rgba(15,23,42,.16);z-index:50}.lopsp-nav-submenu a{display:block!important;border-radius:16px!important;padding:11px 12px!important;border:1px solid #edf2fa!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:none!important;text-decoration:none!important}.lopsp-nav-submenu a:hover{border-color:#bfdbfe!important;transform:translateY(-1px)}.lopsp-nav-submenu-head{display:flex;align-items:center;gap:9px}.lopsp-nav-submenu-icon{width:30px;height:30px;border-radius:12px;background:#eef4ff;display:inline-flex;align-items:center;justify-content:center}.lopsp-nav-submenu strong{color:#0f172a;font-size:14px}.lopsp-nav-submenu small{display:block;margin:5px 0 0 39px;color:#64748b;font-weight:750;line-height:1.35}.lopsp-nav-register-main,.lopsp-nav-member-entry{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 14px 28px rgba(37,99,235,.22)!important}.lopsp-nav-login-main{font-weight:1000!important;border-color:#bfdbfe!important;color:#1d4ed8!important;background:#eff6ff!important}.lopsp-topnav-support,.lopsp-nav-logout-action{background:#f8fafc!important}.lopsp-member-main-nav-v442 .lopsp-nav-upgrade-action{background:linear-gradient(135deg,#f97316,#eab308)!important;color:#fff!important;border-color:transparent!important}.lopsp-member-main-nav-v442 .lopsp-topnav-support{background:#ecfeff!important;color:#0369a1!important;border-color:#bae6fd!important}
.lopsp-info-hero-landing .lopsp-info-hero-art{align-items:stretch;padding:18px}.lopsp-landing-7day{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:24px;align-items:center;margin:22px 0;padding:24px;border-radius:30px;border:1px solid #dbeafe;background:radial-gradient(circle at 0 0,#dbeafe 0,rgba(219,234,254,0) 32%),linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 24px 60px rgba(37,99,235,.10)}.lopsp-landing-7day-copy h2{font-size:clamp(26px,4vw,44px)!important;line-height:1.08!important;letter-spacing:-.045em;color:#0f172a;margin:8px 0 12px!important}.lopsp-landing-outcomes{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.lopsp-landing-outcomes span{border-radius:999px;background:#fff;border:1px solid #dbeafe;color:#1e3a8a;font-weight:950;padding:8px 10px;box-shadow:0 8px 20px rgba(37,99,235,.06)}.lopsp-landing-flow{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;margin:22px 0}.lopsp-landing-how{border:1px solid #dcfce7;background:linear-gradient(135deg,#f0fdf4,#ffffff);border-radius:24px;padding:22px;box-shadow:0 16px 34px rgba(22,163,74,.07)}.lopsp-landing-how h2{margin-top:0!important;color:#166534}.lopsp-landing-values{margin:22px 0}.lopsp-landing-values>h2{font-size:30px!important;letter-spacing:-.03em;color:#0f172a}.lopsp-landing-mockup{width:100%;border:1px solid #dbe7f5;border-radius:28px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 24px 60px rgba(15,23,42,.12);padding:14px;display:grid;gap:12px}.lopsp-landing-mockup-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.lopsp-landing-mockup-top strong{color:#0f172a;font-size:18px;letter-spacing:-.02em}.lopsp-landing-mockup-top span{border-radius:999px;background:#dcfce7;color:#166534;font-weight:1000;padding:7px 10px;font-size:12px}.lopsp-landing-mockup-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:12px}.lopsp-landing-phone,.lopsp-landing-report{border:1px solid #e5edf7;border-radius:24px;background:#fff;padding:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.lopsp-landing-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.lopsp-landing-calendar i{display:flex;align-items:center;justify-content:center;min-height:34px;border-radius:12px;background:#f1f5f9;font-style:normal;font-weight:1000;color:#64748b}.lopsp-landing-calendar i.is-done{background:#dcfce7;color:#166534}.lopsp-landing-calendar i.is-missed{background:#fee2e2;color:#b91c1c}.lopsp-landing-timeline{display:grid;gap:8px;margin-top:12px}.lopsp-landing-timeline b{border-left:4px solid #2563eb;background:#eff6ff;border-radius:14px;padding:9px 10px;color:#1e3a8a;font-size:13px}.lopsp-landing-report h4{margin:0 0 10px;color:#0f172a}.lopsp-landing-report ul{margin:0 0 12px;padding:0;list-style:none;display:grid;gap:8px}.lopsp-landing-report li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dashed #e2e8f0;padding-bottom:7px;color:#475569;font-weight:800}.lopsp-landing-report li b{color:#0f172a}.lopsp-landing-popup{border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#fff);padding:10px}.lopsp-landing-popup strong{display:block;color:#1d4ed8}.lopsp-landing-popup p{margin:5px 0 0!important;font-size:13px!important;color:#475569!important}.lopsp-landing-mockup-hero{max-width:520px;margin:auto}.lopsp-landing-mockup-hero .lopsp-landing-mockup-grid{grid-template-columns:1fr}.lopsp-landing-mockup-hero .lopsp-landing-report{display:none}
.lop-study-quick-start-v442{margin:18px 0 22px}.lop-study-quick-start-v442-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:12px}.lop-study-quick-start-v442-head h2{margin:0!important;font-size:24px!important;color:#0f172a;letter-spacing:-.03em}.lop-study-quick-start-v442-head p{margin:3px 0 0;color:#64748b;font-weight:750}.lop-study-quick-start-grid-v442{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lop-study-quick-start-card-v442{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;padding:14px;border:1px solid #dbe7f5;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbff);text-decoration:none!important;box-shadow:0 14px 32px rgba(15,23,42,.06);transition:.18s ease}.lop-study-quick-start-card-v442:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(37,99,235,.14);border-color:#bfdbfe}.lop-study-quick-start-card-v442 span{width:44px;height:44px;border-radius:16px;background:#eef4ff;display:flex;align-items:center;justify-content:center;font-size:22px}.lop-study-quick-start-card-v442 strong{display:block;color:#0f172a;letter-spacing:-.02em}.lop-study-quick-start-card-v442 small{display:block;color:#64748b;font-weight:800;margin-top:2px}.lop-study-locked-preview{border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#fff);border-radius:26px;padding:18px;margin:18px 0;box-shadow:0 18px 44px rgba(37,99,235,.08)}.lop-study-locked-preview-head h2{margin:4px 0 6px!important;color:#0f172a;font-size:25px!important}.lop-study-content-preview-only{position:relative;overflow:hidden;max-height:220px;border:1px solid #dbeafe!important;background:#fff!important}.lop-study-preview-fade{position:absolute;left:0;right:0;bottom:0;height:86px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 58%);display:flex;align-items:flex-end;justify-content:center;padding:0 12px 14px}.lop-study-preview-fade span{border-radius:999px;background:#0f172a;color:#fff;font-weight:1000;padding:9px 13px;box-shadow:0 12px 24px rgba(15,23,42,.20)}
.lopsp-level-overview-v442{display:grid;grid-template-columns:minmax(190px,.6fr) minmax(190px,.45fr) minmax(0,1.6fr);gap:14px;align-items:center;padding:16px;border:1px solid #dbeafe;border-radius:26px;background:radial-gradient(circle at 0 0,#dbeafe 0,rgba(219,234,254,0) 32%),linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 18px 44px rgba(37,99,235,.09);margin:14px 0 16px}.lopsp-level-overview-copy span{display:block;color:#64748b;font-weight:1000;text-transform:uppercase;letter-spacing:.05em;font-size:12px}.lopsp-level-overview-copy strong{display:block;font-size:28px;letter-spacing:-.04em;color:#0f172a}.lopsp-level-overview-copy small{display:block;color:#1d4ed8;font-weight:900;margin-top:2px}.lopsp-level-readiness b{display:block;font-size:30px;color:#0f172a;letter-spacing:-.04em}.lopsp-level-readiness i{display:block;height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin:4px 0}.lopsp-level-readiness i span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#2563eb,#7c3aed)}.lopsp-level-readiness em{font-style:normal;color:#64748b;font-weight:800;font-size:12px}.lopsp-level-ladder-v442{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.lopsp-level-ladder-v442 span{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:74px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0;padding:9px 6px;text-align:center}.lopsp-level-ladder-v442 span:before{content:"";position:absolute;left:-8px;top:24px;width:8px;height:3px;background:#e2e8f0}.lopsp-level-ladder-v442 span:first-child:before{display:none}.lopsp-level-ladder-v442 i{font-style:normal;width:28px;height:28px;border-radius:999px;background:#e2e8f0;color:#475569;display:flex;align-items:center;justify-content:center;font-weight:1000}.lopsp-level-ladder-v442 b{font-size:12px;color:#475569}.lopsp-level-ladder-v442 .is-done,.lopsp-level-ladder-v442 .is-current{background:#ecfdf5;border-color:#bbf7d0}.lopsp-level-ladder-v442 .is-done i,.lopsp-level-ladder-v442 .is-current i{background:#22c55e;color:#fff}.lopsp-level-ladder-v442 .is-current{box-shadow:0 12px 30px rgba(34,197,94,.13);transform:translateY(-2px)}.lopsp-level-ladder-v442 .is-target{background:#eff6ff;border-color:#bfdbfe}.lopsp-level-ladder-v442 .is-target i{background:#2563eb;color:#fff}.lopsp-settings-goal-level-mini{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:9px 0}.lopsp-settings-goal-level-mini span,.lopsp-settings-goal-level-mini em{border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-style:normal;font-weight:900;padding:7px 9px}.lopsp-settings-goal-level-mini em{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.lopsp-settings-goal-level-mini i{font-style:normal;color:#94a3b8;font-weight:1000}.lopsp-level-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lopsp-level-form-grid input[type=number]{width:100%;border:1px solid #dbe5f3;border-radius:14px;padding:10px 12px;background:#fff;box-sizing:border-box}.lopsp-settings-popup .lopsp-level-form-grid select{min-height:44px}
.lop-pathway-ready-head,.lop-pathway-coming-head{margin:18px auto 10px;max-width:1180px;padding:0 2px}.lop-pathway-ready-head h2,.lop-pathway-coming-head h2{margin:0!important;font-size:28px!important;color:#0f172a;letter-spacing:-.035em}.lop-pathway-ready-head p,.lop-pathway-coming-head p{margin:5px 0 0!important;color:#64748b;font-weight:750}.lop-pathway-coming-head{margin-top:30px}.lop-pathway-coming-grid{opacity:.88}.lop-pathway-card.is-coming-soon{background:linear-gradient(180deg,#fff,#f8fafc);border-style:dashed}.lop-pathway-card.is-coming-soon h2{color:#334155}.lop-pathway-card.is-coming-soon .lop-pathway-actions .lopsp-btn-secondary:first-child{background:#fff!important;color:#475569!important;border-color:#e2e8f0!important}
@media(max-width:980px){.lopsp-landing-7day,.lopsp-landing-flow,.lopsp-landing-mockup-grid,.lopsp-level-overview-v442{grid-template-columns:1fr}.lopsp-level-ladder-v442{grid-template-columns:repeat(4,minmax(0,1fr))}.lop-study-quick-start-grid-v442{grid-template-columns:1fr}.lopsp-nav-submenu{position:static;width:100%;box-shadow:none;margin-top:8px}.lopsp-public-main-nav-v442,.lopsp-member-main-nav-v442{align-items:stretch}.lopsp-nav-dropdown-toggle{width:100%;justify-content:space-between}.lopsp-public-main-nav-v442>a,.lopsp-member-main-nav-v442>a{justify-content:center;text-align:center}.lopsp-level-form-grid{grid-template-columns:1fr!important}}
@media(max-width:720px){.lopsp-public-site-header-v442,.lopsp-member-site-header-v442{padding:8px 12px}.lopsp-landing-7day{padding:16px;border-radius:24px}.lopsp-landing-outcomes span{width:100%;box-sizing:border-box}.lopsp-landing-calendar i{min-height:30px}.lopsp-level-ladder-v442{grid-template-columns:repeat(2,minmax(0,1fr))}.lopsp-level-ladder-v442 span:before{display:none}.lop-study-locked-preview{padding:14px}.lop-study-preview-fade span{font-size:12px}.lopsp-info-cta,.lopsp-landing-7day .lopsp-upgrade-btn{width:100%;text-align:center;margin-top:8px}.lopsp-public-main-nav-v442 .lopsp-nav-register-main,.lopsp-public-main-nav-v442 .lopsp-nav-login-main,.lopsp-member-main-nav-v442 .lopsp-topnav-support,.lopsp-member-main-nav-v442 .lopsp-nav-upgrade-action{position:relative;z-index:2}}
/* v2.8.442 alias for quick-start markup emitted by Study Library */
.lop-study-quick-start{margin:18px 0 22px}.lop-study-quick-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:12px}.lop-study-quick-head h2{margin:0!important;font-size:24px!important;color:#0f172a;letter-spacing:-.03em}.lop-study-quick-head p{margin:3px 0 0;color:#64748b;font-weight:750}.lop-study-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lop-study-quick-card{display:grid;grid-template-columns:44px 1fr;gap:4px 11px;align-items:center;padding:14px;border:1px solid #dbe7f5;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbff);text-decoration:none!important;box-shadow:0 14px 32px rgba(15,23,42,.06);transition:.18s ease}.lop-study-quick-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(37,99,235,.14);border-color:#bfdbfe}.lop-study-quick-card span{grid-row:1 / span 2;width:44px;height:44px;border-radius:16px;background:#eef4ff;display:flex;align-items:center;justify-content:center;font-size:22px}.lop-study-quick-card strong{display:block;color:#0f172a;letter-spacing:-.02em}.lop-study-quick-card small{display:block;color:#64748b;font-weight:800;margin-top:2px}@media(max-width:980px){.lop-study-quick-grid{grid-template-columns:1fr}.lop-study-quick-head{display:block}}

/* v2.8.444 - Landing 7 ngày, Thư viện/Học tập tách nghiệp vụ */
.lopsp-landing-pain-v444,
.lopsp-landing-flow,
.lopsp-landing-values,
.lopsp-landing-final-cta-v444,
.lopsp-landing-extra-v444{
  max-width:1180px;
  margin:22px auto;
  padding:24px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef6ff 100%);
  box-shadow:0 18px 50px rgba(15,23,42,.08);
}
.lopsp-landing-pain-v444{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:18px;align-items:stretch;}
.lopsp-landing-pain-v444 h2,
.lopsp-landing-demo-v444 h2,
.lopsp-landing-flow h2,
.lopsp-landing-values h2,
.lopsp-landing-final-cta-v444 h2{margin:8px 0 10px;line-height:1.08;letter-spacing:-.04em;color:#061633;}
.lopsp-landing-pain-v444 p,
.lopsp-landing-demo-v444 p,
.lopsp-landing-flow p,
.lopsp-landing-final-cta-v444 p{font-size:16px;line-height:1.75;color:#334155;margin:0;}
.lopsp-landing-pain-points{display:grid;gap:10px;}
.lopsp-landing-pain-points span{display:flex;align-items:center;gap:9px;padding:12px 13px;border-radius:18px;background:rgba(255,255,255,.86);border:1px solid rgba(191,219,254,.72);font-weight:800;color:#0f172a;box-shadow:0 10px 24px rgba(37,99,235,.07);}
.lopsp-landing-demo-v444{display:grid;grid-template-columns:minmax(0,.84fr) minmax(360px,1.16fr);gap:20px;align-items:center;max-width:1180px;margin:22px auto;padding:26px;border-radius:32px;background:radial-gradient(circle at top left,rgba(37,99,235,.14),transparent 34%),linear-gradient(135deg,#fff 0%,#f7fbff 55%,#eaf5ff 100%);border:1px solid rgba(96,165,250,.26);box-shadow:0 24px 70px rgba(30,64,175,.13);}
.lopsp-landing-outcomes{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;}
.lopsp-landing-outcomes span{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid rgba(191,219,254,.86);font-weight:900;color:#0f172a;box-shadow:0 8px 20px rgba(15,23,42,.05);}
.lopsp-landing-mockup{width:100%;padding:18px;border-radius:30px;background:linear-gradient(145deg,#eff6ff 0%,#ffffff 50%,#f0fdf4 100%);border:1px solid rgba(147,197,253,.48);box-shadow:0 22px 55px rgba(15,23,42,.12);overflow:hidden;}
.lopsp-landing-mockup *{box-sizing:border-box;}
.lopsp-landing-mockup-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.lopsp-landing-mockup-top strong{font-size:18px;font-weight:950;color:#061633;line-height:1.2;}
.lopsp-landing-mockup-top span{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#22c55e);color:#fff;font-weight:950;box-shadow:0 12px 30px rgba(37,99,235,.24);white-space:nowrap;}
.lopsp-landing-mockup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.88fr);gap:14px;align-items:stretch;}
.lopsp-landing-phone,
.lopsp-landing-report{min-width:0;padding:16px;border-radius:24px;background:rgba(255,255,255,.92);border:1px solid rgba(203,213,225,.78);box-shadow:0 14px 32px rgba(15,23,42,.07);}
.lopsp-landing-phone-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
.lopsp-landing-phone-head b{font-size:15px;font-weight:950;color:#0f172a;}
.lopsp-landing-phone-head em{font-style:normal;font-size:12px;font-weight:850;color:#2563eb;background:#dbeafe;border-radius:999px;padding:5px 9px;white-space:nowrap;}
.lopsp-landing-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 12px;}
.lopsp-landing-calendar i{min-height:34px;display:flex;align-items:center;justify-content:center;padding:4px;border-radius:12px;background:#f1f5f9;color:#334155;font-style:normal;font-weight:950;font-size:12px;line-height:1;white-space:nowrap;}
.lopsp-landing-calendar .is-done{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;}
.lopsp-landing-calendar .is-missed{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;}
.lopsp-landing-calendar .is-focus{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe;box-shadow:0 0 0 3px rgba(37,99,235,.11);}
.lopsp-landing-timeline{display:grid;gap:8px;}
.lopsp-landing-timeline b{display:grid;grid-template-columns:auto 1fr;gap:5px 8px;align-items:center;padding:10px 11px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a;line-height:1.25;}
.lopsp-landing-timeline b span{font-size:14px;font-weight:950;}
.lopsp-landing-timeline b small{grid-column:2;font-size:12px;font-weight:750;color:#64748b;line-height:1.35;}
.lopsp-landing-report-label{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:950;font-size:12px;}
.lopsp-landing-report h3{font-size:25px;line-height:1.08;letter-spacing:-.05em;margin:12px 0;color:#07142f;}
.lopsp-landing-report ul{list-style:none;padding:0;margin:0;display:grid;gap:8px;}
.lopsp-landing-report li{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:start;padding:8px 0;border-bottom:1px dashed #e2e8f0;color:#334155;font-weight:750;line-height:1.38;}
.lopsp-landing-report li b{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:10px;background:#ecfeff;color:#0369a1;font-weight:950;}
.lopsp-landing-popup{margin-top:12px;padding:12px;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#fffbeb);border:1px solid #fed7aa;color:#7c2d12;}
.lopsp-landing-popup strong{display:block;font-weight:950;color:#9a3412;margin-bottom:3px;}
.lopsp-landing-popup p{font-size:13px;line-height:1.45;margin:0;color:#7c2d12;}
.lopsp-landing-flow{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:stretch;}
.lopsp-landing-system-card{display:flex;flex-direction:column;justify-content:center;padding:20px;border-radius:24px;background:linear-gradient(135deg,#eff6ff,#ecfdf5);border:1px solid rgba(125,211,252,.55);}
.lopsp-landing-system-card strong{font-size:20px;font-weight:950;color:#0f172a;line-height:1.2;}
.lopsp-landing-system-card p{margin-top:8px;}
.lopsp-landing-final-cta-v444{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;}
.lopsp-landing-final-cta-v444 h2,
.lopsp-landing-final-cta-v444 p{color:#fff;}
.lopsp-landing-final-cta-v444 .lopsp-kicker{color:#bfdbfe;background:rgba(255,255,255,.12);}
.lopsp-landing-final-cta-v444 .lopsp-info-cta{justify-content:flex-end;flex-shrink:0;}
.lopsp-landing-extra-v444{background:#fff;}
.lopsp-member-home-v444{border:1px solid rgba(147,197,253,.55)!important;background:#eff6ff!important;color:#1d4ed8!important;}
/* v2.8.455: harden Library “Chọn bài tự học” buttons against theme hover color bleed. */
.lop-study-card-actions-v444{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;}
.lop-study-select-form{margin:0!important;display:inline-flex;}
.lop-study-select-btn,
button.lop-study-select-btn,
a.lop-study-select-btn,
a.lop-study-select-btn:visited{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:38px!important;padding:9px 13px!important;border-radius:999px!important;border:1px solid rgba(37,99,235,.30)!important;background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%)!important;color:#1d4ed8!important;font-weight:950!important;font-size:13px!important;line-height:1!important;text-decoration:none!important;cursor:pointer!important;box-shadow:0 8px 18px rgba(37,99,235,.08)!important;appearance:none!important;-webkit-appearance:none!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease,border-color .16s ease!important;}
.lop-study-select-btn:hover,
.lop-study-select-btn:focus,
.lop-study-select-btn:focus-visible{background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%)!important;color:#ffffff!important;border-color:#2563eb!important;text-decoration:none!important;transform:translateY(-1px)!important;box-shadow:0 14px 28px rgba(37,99,235,.22)!important;outline:none!important;}
.lop-study-select-btn.is-selected,
a.lop-study-select-btn.is-selected:visited{background:linear-gradient(135deg,#ecfdf5 0%,#ffffff 100%)!important;color:#047857!important;border-color:#a7f3d0!important;box-shadow:0 8px 18px rgba(5,150,105,.10)!important;}
.lop-study-select-btn.is-selected:hover,
.lop-study-select-btn.is-selected:focus,
.lop-study-select-btn.is-selected:focus-visible{background:linear-gradient(135deg,#059669 0%,#10b981 100%)!important;color:#ffffff!important;border-color:#059669!important;box-shadow:0 14px 28px rgba(5,150,105,.22)!important;}
.lop-study-select-login,
a.lop-study-select-login:visited{background:linear-gradient(135deg,#fff7ed 0%,#ffffff 100%)!important;color:#c2410c!important;border-color:#fed7aa!important;box-shadow:0 8px 18px rgba(234,88,12,.10)!important;}
.lop-study-select-login:hover,
.lop-study-select-login:focus,
.lop-study-select-login:focus-visible{background:linear-gradient(135deg,#ea580c 0%,#f97316 100%)!important;color:#ffffff!important;border-color:#ea580c!important;box-shadow:0 14px 28px rgba(234,88,12,.22)!important;}
.lop-study-select-btn:active{transform:translateY(0)!important;box-shadow:0 7px 16px rgba(37,99,235,.16)!important;}
.lop-study-detail-select-v444{margin-top:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.lopsp-flow-zone-selected{border-color:#bae6fd!important;background:linear-gradient(135deg,#f0f9ff 0%,#ffffff 54%,#ecfdf5 100%)!important;}
.lop-my-study-selection-v444{scroll-margin-top:96px;}
.lop-my-study-grid-v444{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px;}
.lop-my-study-card-v444{display:flex;flex-direction:column;gap:8px;min-height:210px;padding:14px;border-radius:20px;background:#fff;border:1px solid rgba(203,213,225,.85);box-shadow:0 12px 30px rgba(15,23,42,.06);}
.lop-my-study-card-v444>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.lop-my-study-card-v444>div:first-child span{font-size:12px;font-weight:950;color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:6px 9px;}
.lop-my-study-card-v444 h4{margin:0;color:#0f172a;font-size:17px;line-height:1.25;letter-spacing:-.02em;}
.lop-my-study-card-v444 p{margin:0;color:#475569;font-size:13px;line-height:1.5;}
.lop-my-study-card-v444 small{display:block;margin-top:auto;color:#64748b;font-weight:800;}
.lop-my-study-actions-v444{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:4px;}
.lop-my-study-actions-v444 .lopsp-task-open-lesson{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border-radius:999px;background:#2563eb;color:#fff;text-decoration:none;font-weight:950;box-shadow:0 8px 20px rgba(37,99,235,.18);}
@media (max-width: 980px){
  .lopsp-landing-pain-v444,.lopsp-landing-demo-v444,.lopsp-landing-flow{grid-template-columns:1fr;}
  .lopsp-landing-mockup-grid{grid-template-columns:1fr;}
  .lopsp-landing-final-cta-v444{align-items:flex-start;flex-direction:column;}
  .lopsp-landing-final-cta-v444 .lopsp-info-cta{justify-content:flex-start;}
}
@media (max-width: 640px){
  .lopsp-landing-pain-v444,.lopsp-landing-flow,.lopsp-landing-values,.lopsp-landing-final-cta-v444,.lopsp-landing-extra-v444,.lopsp-landing-demo-v444{margin:14px 10px;padding:17px;border-radius:24px;}
  .lopsp-landing-mockup{padding:12px;border-radius:24px;}
  .lopsp-landing-calendar{gap:4px;}
  .lopsp-landing-calendar i{min-height:30px;font-size:11px;border-radius:10px;}
  .lopsp-landing-report h3{font-size:22px;}
  .lop-study-card-actions-v444,.lop-my-study-actions-v444{align-items:stretch;}
  .lop-study-card-actions-v444>a,.lop-study-select-form,.lop-study-select-btn,.lop-my-study-actions-v444>a{width:100%;}
}

/* v2.8.445 - Member-only VIP upgrade page and clearer visitor/member separation */
.lopsp-member-vip-body{
    background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 44%,#f8fafc 100%);
    color:#0f172a;
}
.lopsp-member-vip-wrap{
    max-width:none;
    width:100%;
    padding:0;
}
.lopsp-member-vip-main{
    width:min(1180px,calc(100% - 28px));
    margin:0 auto;
    padding:96px 0 42px;
}
.lopsp-member-vip-hero{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr);
    gap:22px;
    align-items:stretch;
    margin-bottom:22px;
}
.lopsp-member-vip-hero > div:first-child,
.lopsp-member-vip-status-card,
.lopsp-member-vip-plans,
.lopsp-member-vip-note{
    background:rgba(255,255,255,.92);
    border:1px solid rgba(148,163,184,.24);
    box-shadow:0 22px 60px rgba(15,23,42,.08);
    border-radius:28px;
}
.lopsp-member-vip-hero > div:first-child{
    padding:30px;
    position:relative;
    overflow:hidden;
}
.lopsp-member-vip-hero > div:first-child:after{
    content:"";
    position:absolute;
    right:-90px;
    top:-120px;
    width:280px;
    height:280px;
    border-radius:999px;
    background:radial-gradient(circle,rgba(37,99,235,.18),rgba(14,165,233,0));
    pointer-events:none;
}
.lopsp-member-vip-hero h1{
    margin:8px 0 10px;
    font-size:clamp(30px,4vw,50px);
    line-height:1.05;
    letter-spacing:-.04em;
}
.lopsp-member-vip-hero p{
    margin:0;
    max-width:760px;
    font-size:16px;
    line-height:1.72;
    color:#475569;
}
.lopsp-member-vip-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}
.lopsp-member-vip-status-card{
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:230px;
    border-color:rgba(59,130,246,.24);
}
.lopsp-member-vip-status-card span{
    display:inline-flex;
    width:max-content;
    padding:7px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#1d4ed8;
    background:#dbeafe;
}
.lopsp-member-vip-status-card strong{
    display:block;
    margin:16px 0 8px;
    font-size:clamp(25px,3vw,36px);
    line-height:1.08;
    letter-spacing:-.035em;
}
.lopsp-member-vip-status-card.is-vip{
    background:linear-gradient(135deg,#ecfeff 0%,#eef2ff 54%,#fff 100%);
}
.lopsp-member-vip-status-card.is-expired{
    background:linear-gradient(135deg,#fff7ed 0%,#fff 66%);
    border-color:rgba(249,115,22,.25);
}
.lopsp-member-vip-plans{
    padding:26px;
}
.lopsp-member-vip-plan-grid{
    margin-top:18px;
}
.lopsp-member-vip-note{
    margin-top:18px;
    padding:18px 22px;
    display:flex;
    gap:12px;
    align-items:flex-start;
}
.lopsp-member-vip-note strong{
    white-space:nowrap;
    color:#1d4ed8;
}
.lopsp-member-vip-note p{
    margin:0;
    color:#475569;
    line-height:1.65;
}
.lopsp-member-main-nav-v442 .lopsp-nav-pricing-main,
.lopsp-public-main-nav-v442 .lopsp-nav-pricing-main{
    font-weight:900;
}
@media (max-width: 860px){
    .lopsp-member-vip-main{width:min(100% - 18px,680px);padding-top:82px;}
    .lopsp-member-vip-hero{grid-template-columns:1fr;gap:14px;}
    .lopsp-member-vip-hero > div:first-child,.lopsp-member-vip-status-card,.lopsp-member-vip-plans{border-radius:22px;padding:20px;}
    .lopsp-member-vip-note{display:block;border-radius:20px;padding:16px;}
    .lopsp-member-vip-note strong{display:block;margin-bottom:6px;}
}

/* v2.8.446 - Free registration / upgrade handoff */
.lopsp-free-register-body{background:linear-gradient(135deg,#f7fbff 0%,#fff7ed 48%,#f8fafc 100%);color:#0f172a;}
.lopsp-free-register-wrap{min-height:100vh;}
.lopsp-free-register-main{max-width:1180px;margin:0 auto;padding:88px 18px 46px;}
.lopsp-free-register-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:stretch;margin-bottom:18px;}
.lopsp-free-register-hero>div,.lopsp-free-register-hero>aside,.lopsp-free-register-card,.lopsp-free-register-form,.lopsp-free-register-side>div,.lopsp-free-register-alert{background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.28);box-shadow:0 22px 60px rgba(15,23,42,.08);border-radius:28px;}
.lopsp-free-register-hero>div{padding:30px;position:relative;overflow:hidden;}
.lopsp-free-register-hero>div:after{content:"";position:absolute;right:-80px;top:-80px;width:210px;height:210px;border-radius:999px;background:radial-gradient(circle,rgba(59,130,246,.18),rgba(249,115,22,.08),transparent 70%);}
.lopsp-free-register-hero h1{margin:8px 0 12px;font-size:clamp(2rem,4vw,4rem);line-height:1.02;letter-spacing:-.055em;color:#08111f;}
.lopsp-free-register-hero p{font-size:1.05rem;line-height:1.72;color:#475569;max-width:780px;margin:0;}
.lopsp-free-register-proof{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.lopsp-free-register-proof span{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:#f1f5f9;border:1px solid rgba(148,163,184,.28);font-weight:800;color:#0f172a;}
.lopsp-free-register-hero>aside{padding:24px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(160deg,#0f172a,#1d4ed8);color:#fff;}
.lopsp-free-register-hero aside strong{font-size:1.25rem;}
.lopsp-free-register-hero aside ol{margin:12px 0 0;padding-left:22px;line-height:1.9;font-weight:750;}
.lopsp-free-register-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start;}
.lopsp-free-register-form{padding:24px;}
.lopsp-free-register-form label{display:block;font-weight:850;color:#0f172a;margin:0 0 14px;}
.lopsp-free-register-form input[type="text"],.lopsp-free-register-form input[type="email"],.lopsp-free-register-form input[type="tel"],.lopsp-free-register-form input[type="password"]{width:100%;margin-top:7px;border:1px solid rgba(148,163,184,.55);background:#fff;border-radius:16px;padding:13px 14px;font-size:1rem;outline:none;transition:border-color .16s ease,box-shadow .16s ease;}
.lopsp-free-register-form input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12);}
.lopsp-free-register-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.lopsp-form-section-title{display:flex;align-items:center;gap:12px;margin:8px 0 14px;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid rgba(148,163,184,.22);}
.lopsp-form-section-title span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#2563eb;color:#fff;font-weight:900;}
.lopsp-form-section-title strong{display:block;font-size:1.02rem;}
.lopsp-form-section-title small{display:block;color:#64748b;margin-top:2px;font-weight:650;}
.lopsp-free-register-upgrade,.lopsp-free-register-terms{display:flex!important;gap:10px;align-items:flex-start;padding:13px 14px;border:1px solid rgba(37,99,235,.18);border-radius:18px;background:#eff6ff;margin-bottom:14px!important;}
.lopsp-free-register-upgrade input,.lopsp-free-register-terms input{margin-top:4px;flex:0 0 auto;}
.lopsp-free-register-plan-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;}
.lopsp-free-register-plan{margin:0!important;}
.lopsp-free-register-plan input{position:absolute;opacity:0;pointer-events:none;}
.lopsp-free-register-plan span{display:flex;flex-direction:column;gap:4px;min-height:86px;padding:14px;border-radius:18px;border:1px solid rgba(148,163,184,.42);background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.045);cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;}
.lopsp-free-register-plan strong{font-size:.98rem;}
.lopsp-free-register-plan em{font-style:normal;color:#2563eb;font-weight:900;}
.lopsp-free-register-plan input:checked+span{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12),0 14px 30px rgba(37,99,235,.12);transform:translateY(-1px);}
.lopsp-free-register-submit{width:100%;border:0;border-radius:18px;padding:15px 18px;background:linear-gradient(135deg,#2563eb,#f97316);color:#fff;font-size:1.06rem;font-weight:950;cursor:pointer;box-shadow:0 18px 36px rgba(249,115,22,.22);}
.lopsp-free-register-login{text-align:center;margin:14px 0 0;color:#64748b;font-weight:750;}
.lopsp-free-register-login a{color:#2563eb;font-weight:900;text-decoration:none;}
.lopsp-free-register-side{display:grid;gap:12px;}
.lopsp-free-register-side>div{padding:20px;}
.lopsp-free-register-side strong{display:block;font-size:1.08rem;margin-bottom:8px;}
.lopsp-free-register-side p{margin:0;color:#475569;line-height:1.65;font-weight:650;}
.lopsp-free-register-alert{padding:14px 18px;margin:0 0 16px;border-color:rgba(239,68,68,.28);background:#fff7f7;}
.lopsp-free-register-alert strong{display:block;color:#b91c1c;}
.lopsp-free-register-alert p{margin:4px 0 0;color:#7f1d1d;}
.lopsp-free-register-card{padding:28px;margin-top:18px;}
.lopsp-free-register-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}
.lopsp-hp-field{position:absolute!important;left:-9999px!important;opacity:0!important;height:0!important;width:0!important;}
@media (max-width: 900px){.lopsp-free-register-main{padding-top:76px}.lopsp-free-register-hero,.lopsp-free-register-grid{grid-template-columns:1fr}.lopsp-free-register-two,.lopsp-free-register-plan-options{grid-template-columns:1fr}.lopsp-free-register-hero h1{font-size:2.2rem}.lopsp-free-register-form{padding:18px}.lopsp-free-register-hero>div{padding:22px}}

/* v2.8.450: /lop/study uses selected Library items instead of the optional wheel and a unified Flow Step 2 header. */
.lopsp-self-selected-study-panel{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#ecfeff 100%);border:1px solid rgba(37,99,235,.10);box-shadow:0 22px 60px rgba(37,99,235,.10);}
.lopsp-self-selected-study-panel:before{content:"";position:absolute;inset:-80px -80px auto auto;width:210px;height:210px;border-radius:999px;background:radial-gradient(circle,rgba(14,165,233,.14),rgba(14,165,233,0) 65%);pointer-events:none;}
.lopsp-self-selected-study-panel>.lopsp-panel-head,.lopsp-self-selected-study-panel>.lopsp-flow-zone,.lopsp-self-selected-study-panel>.lopsp-task-done-box{position:relative;z-index:1;}

/* v2.8.451 - Assessment / Đánh giá level */
/* v2.8.452 extends assessment with coverage and CEFR-safe reporting. */
.lop-assessment-body{background:linear-gradient(180deg,#f7fbff 0%,#f8fafc 46%,#eefdf7 100%)}
.lop-assessment-main{max-width:1180px;margin:0 auto;padding:28px 18px 54px}.lop-assessment-page{display:grid;gap:18px;color:#0f172a}.lop-assessment-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:stretch;border:1px solid rgba(148,163,184,.24);border-radius:32px;padding:28px;background:radial-gradient(circle at top left,rgba(37,99,235,.16),transparent 34%),linear-gradient(135deg,#fff,#f7fbff 54%,#ecfeff);box-shadow:0 26px 70px rgba(15,23,42,.08)}.lop-assessment-hero h1{margin:8px 0 10px;font-size:clamp(30px,4vw,52px);line-height:1.05;letter-spacing:-.04em}.lop-assessment-hero p{margin:0;color:#475569;font-size:17px;line-height:1.65;max-width:820px}.lop-assessment-hero aside{border-radius:26px;padding:22px;background:linear-gradient(160deg,#111827,#334155);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:8px;box-shadow:0 22px 44px rgba(15,23,42,.18)}.lop-assessment-hero aside small{text-transform:uppercase;letter-spacing:.12em;color:#bfdbfe;font-weight:900}.lop-assessment-hero aside strong{font-size:22px;line-height:1.25}.lop-assessment-hero aside em{font-style:normal;color:#d1fae5;font-weight:800}.lop-assessment-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.lop-assessment-hero-actions a,.lop-assessment-section-head>a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 16px;font-weight:900;text-decoration:none}.lop-assessment-hero-actions .primary,.lop-assessment-section-head>a.is-primary{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;box-shadow:0 14px 28px rgba(37,99,235,.22)}.lop-assessment-hero-actions .secondary,.lop-assessment-section-head>a:not(.is-primary){background:#fff;color:#1d4ed8;border:1px solid #bfdbfe}.lop-assessment-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.lop-assessment-kpi{display:flex;gap:14px;align-items:flex-start;border:1px solid rgba(148,163,184,.25);border-radius:24px;padding:18px;background:rgba(255,255,255,.92);box-shadow:0 16px 34px rgba(15,23,42,.06)}.lop-assessment-kpi>span{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#eff6ff;font-size:24px}.lop-assessment-kpi small{display:block;color:#64748b;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.lop-assessment-kpi strong{display:block;font-size:25px;line-height:1.15;margin:4px 0}.lop-assessment-kpi em{display:block;font-style:normal;color:#475569;font-size:13px;line-height:1.35}.lop-assessment-panel{border:1px solid rgba(148,163,184,.24);border-radius:30px;background:rgba(255,255,255,.94);padding:22px;box-shadow:0 18px 44px rgba(15,23,42,.06)}.lop-assessment-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}.lop-assessment-section-head span{display:inline-flex;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:900;color:#4f46e5;background:#eef2ff;border-radius:999px;padding:6px 10px}.lop-assessment-section-head h2{margin:8px 0 5px;font-size:28px;letter-spacing:-.03em}.lop-assessment-section-head p{margin:0;color:#64748b;line-height:1.55}.lop-assessment-level-ladder{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:12px 0 18px}.lop-assessment-level-ladder span{position:relative;border-radius:18px;padding:10px 8px;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-weight:900}.lop-assessment-level-ladder span em{display:block;height:7px;border-radius:999px;background:#e2e8f0;margin-top:8px}.lop-assessment-level-ladder span.is-done{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.lop-assessment-level-ladder span.is-done em{background:#22c55e}.lop-assessment-level-ladder span.is-current{background:linear-gradient(135deg,#dbeafe,#fef3c7);color:#172554;border-color:#93c5fd;box-shadow:0 14px 28px rgba(37,99,235,.12)}.lop-assessment-level-ladder span.is-current em{background:linear-gradient(90deg,#2563eb,#f59e0b)}.lop-assessment-level-ladder span.is-target{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.lop-assessment-level-ladder span.is-target em{background:#fb923c}.lop-assessment-level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.lop-assessment-level-card{border:1px solid #e2e8f0;border-radius:22px;padding:15px;background:#fff}.lop-assessment-level-card.is-current{border-color:#93c5fd;background:#eff6ff}.lop-assessment-level-card.is-target{border-color:#fed7aa;background:#fff7ed}.lop-assessment-level-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.lop-assessment-level-card strong{font-size:18px}.lop-assessment-level-card span{font-size:12px;font-weight:900;color:#475569;background:#f1f5f9;border-radius:999px;padding:5px 8px}.lop-assessment-level-card b{display:block;margin-top:12px;font-size:30px}.lop-assessment-level-card p{margin:4px 0 10px;color:#64748b;font-size:13px}.lop-assessment-level-card em,.lop-assessment-skill-row div{display:block;height:9px;background:#e2e8f0;border-radius:999px;overflow:hidden}.lop-assessment-level-card em i,.lop-assessment-skill-row div i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#22c55e)}.lop-assessment-two-col{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:18px}.lop-assessment-skill-bars{display:grid;gap:12px}.lop-assessment-skill-row{display:grid;grid-template-columns:105px minmax(0,1fr) 48px 76px;gap:10px;align-items:center}.lop-assessment-skill-row span{font-weight:900}.lop-assessment-skill-row strong{font-size:13px}.lop-assessment-skill-row small{color:#64748b}.lop-assessment-timeline-list{display:grid;gap:10px}.lop-assessment-timeline-list article{display:flex;gap:12px;align-items:flex-start;border:1px dashed #cbd5e1;border-radius:18px;padding:12px;background:#f8fafc}.lop-assessment-timeline-list article>span{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#fff}.lop-assessment-timeline-list strong{display:block}.lop-assessment-timeline-list small{display:block;color:#64748b;line-height:1.45}.lop-assessment-empty{margin:0;color:#64748b}.lop-assessment-action-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lop-assessment-action-list article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;border-radius:20px;padding:14px;background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid #e2e8f0}.lop-assessment-action-list b{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:#2563eb;color:#fff}.lop-assessment-action-list p{margin:0;color:#334155;line-height:1.5}.lop-assessment-task-strip{margin-top:18px}.lop-assessment-task-strip h3{margin:0 0 10px}.lop-assessment-task-strip>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lop-assessment-task-strip a{display:block;text-decoration:none;color:#0f172a;border:1px solid #dbeafe;border-radius:20px;padding:14px;background:#fff;transition:.18s ease}.lop-assessment-task-strip a:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(37,99,235,.12)}.lop-assessment-task-strip span{font-size:12px;color:#2563eb;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.lop-assessment-task-strip strong{display:block;margin:6px 0}.lop-assessment-task-strip small{display:block;color:#64748b;line-height:1.45}.lop-assessment-summary textarea{width:100%;border:1px solid #cbd5e1;border-radius:18px;padding:14px;font:500 15px/1.6 ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:#f8fafc;color:#0f172a;resize:vertical}.lop-assessment-context-admin{max-width:1180px}.lop-admin-assessment-table td{vertical-align:top}.lopsp-nav-highlight-assessment strong{color:#4338ca}
@media(max-width:900px){.lop-assessment-hero,.lop-assessment-two-col{grid-template-columns:1fr}.lop-assessment-kpis,.lop-assessment-level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lop-assessment-level-ladder{grid-template-columns:repeat(4,minmax(0,1fr))}.lop-assessment-action-list,.lop-assessment-task-strip>div{grid-template-columns:1fr}}
@media(max-width:560px){.lop-assessment-main{padding:16px 10px 42px}.lop-assessment-hero,.lop-assessment-panel{border-radius:24px;padding:18px}.lop-assessment-kpis,.lop-assessment-level-grid{grid-template-columns:1fr}.lop-assessment-skill-row{grid-template-columns:86px minmax(0,1fr) 42px}.lop-assessment-skill-row small{grid-column:2/4}.lop-assessment-section-head{display:block}.lop-assessment-section-head>a{margin-top:12px}.lop-assessment-level-ladder{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v2.8.452 - Assessment report safety, coverage and level test plan */
.lop-assessment-warning{
  border:1px solid #fde68a;
  background:linear-gradient(135deg,#fffbeb,#fff7ed);
  color:#78350f;
  border-radius:22px;
  padding:14px 16px;
  font-size:14px;
  line-height:1.55;
  box-shadow:0 14px 30px rgba(245,158,11,.10);
}
.lop-assessment-warning strong{font-weight:950;color:#92400e;}
.lop-assessment-disclaimer{
  margin-top:14px;
  border-radius:18px;
  border:1px dashed #cbd5e1;
  background:#f8fafc;
  color:#475569;
  padding:13px 14px;
  line-height:1.55;
  font-size:14px;
}
.lop-assessment-disclaimer strong{color:#0f172a;font-weight:950;}
.lop-assessment-coverage-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid #dbeafe;
  border-radius:24px;
  padding:18px;
  background:linear-gradient(135deg,#eff6ff,#ffffff 58%,#ecfdf5);
  box-shadow:0 16px 36px rgba(37,99,235,.08);
  margin-bottom:14px;
}
.lop-assessment-coverage-hero small{
  display:block;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:11px;
  color:#2563eb;
  font-weight:950;
}
.lop-assessment-coverage-hero strong{
  display:block;
  font-size:42px;
  letter-spacing:-.04em;
  line-height:1;
  margin:5px 0;
}
.lop-assessment-coverage-hero em{
  display:inline-flex;
  font-style:normal;
  font-weight:950;
  color:#047857;
  background:#d1fae5;
  border-radius:999px;
  padding:6px 10px;
}
.lop-assessment-coverage-hero p{margin:0;color:#475569;font-weight:800;}
.lop-assessment-coverage-grid,
.lop-assessment-blueprint-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.lop-assessment-coverage-grid article,
.lop-assessment-blueprint-grid article{
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:#fff;
  padding:15px;
}
.lop-assessment-coverage-grid article.is-current{
  border-color:#93c5fd;
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  box-shadow:0 14px 28px rgba(37,99,235,.10);
}
.lop-assessment-coverage-grid article>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.lop-assessment-coverage-grid b{font-size:18px;}
.lop-assessment-coverage-grid span{
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3;
  padding:5px 8px;
  font-size:12px;
  font-weight:950;
}
.lop-assessment-coverage-grid p{margin:10px 0 3px;font-size:22px;font-weight:950;color:#0f172a;}
.lop-assessment-coverage-grid small,
.lop-assessment-level-card small{display:block;color:#64748b;line-height:1.45;margin-bottom:10px;}
.lop-assessment-coverage-grid em{display:block;height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin-top:10px;}
.lop-assessment-coverage-grid em i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#22c55e);}
.lop-assessment-plan-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.lop-assessment-plan-flow article{
  position:relative;
  border-radius:22px;
  padding:16px;
  background:linear-gradient(135deg,#f8fafc,#eef2ff);
  border:1px solid #dbeafe;
  min-height:150px;
}
.lop-assessment-plan-flow b{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#2563eb;
  color:#fff;
  box-shadow:0 10px 22px rgba(37,99,235,.18);
}
.lop-assessment-plan-flow strong{display:block;margin:12px 0 6px;font-size:17px;}
.lop-assessment-plan-flow p{margin:0;color:#475569;line-height:1.5;}
.lop-assessment-blueprint-grid article span{
  display:inline-flex;
  color:#7c2d12;
  background:#ffedd5;
  border-radius:999px;
  padding:5px 8px;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.lop-assessment-blueprint-grid article strong{display:block;margin:10px 0 8px;font-size:24px;letter-spacing:-.03em;}
.lop-assessment-blueprint-grid article p{margin:0 0 10px;color:#475569;line-height:1.5;}
.lop-assessment-blueprint-grid article em{display:block;font-style:normal;color:#065f46;font-weight:850;line-height:1.45;}
@media(max-width:900px){
  .lop-assessment-coverage-grid,.lop-assessment-blueprint-grid,.lop-assessment-plan-flow{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lop-assessment-coverage-hero{align-items:flex-start;flex-direction:column;}
}
@media(max-width:560px){
  .lop-assessment-coverage-grid,.lop-assessment-blueprint-grid,.lop-assessment-plan-flow{grid-template-columns:1fr;}
  .lop-assessment-coverage-hero strong{font-size:34px;}
}

/* v2.8.453 - Level assessment quiz selector/history on /danh-gia. */
.lop-assessment-level-tests .lop-assessment-test-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.lop-assessment-test-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:260px;
  padding:18px;
  border-radius:24px;
  border:1px solid #dbeafe;
  background:linear-gradient(145deg,#ffffff,#f8fbff 58%,#eef6ff);
  box-shadow:0 18px 48px rgba(15,23,42,.07);
}
.lop-assessment-test-card.is-target{
  border-color:#93c5fd;
  background:linear-gradient(145deg,#eff6ff,#ffffff 54%,#ecfdf5);
}
.lop-assessment-test-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.lop-assessment-test-card-head span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  background:#eef2ff;
  color:#3730a3;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lop-assessment-test-card-head em{
  font-style:normal;
  border-radius:999px;
  padding:6px 9px;
  background:#f1f5f9;
  color:#475569;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.lop-assessment-test-card h3{margin:0;font-size:20px;letter-spacing:-.025em;color:#07132b;}
.lop-assessment-test-card p{margin:0;color:#475569;line-height:1.55;}
.lop-assessment-test-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.lop-assessment-test-meta span{
  border-radius:999px;
  padding:6px 9px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-size:12px;
  font-weight:800;
}
.lop-assessment-test-result{
  border-radius:16px;
  padding:10px 12px;
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  color:#475569;
  line-height:1.45;
}
.lop-assessment-test-result strong{display:block;color:#0f172a;margin-bottom:2px;}
.lop-assessment-test-result.is-ok{background:#ecfdf5;border-color:#86efac;color:#166534;}
.lop-assessment-test-result.is-warn{background:#fff7ed;border-color:#fed7aa;color:#9a3412;}
.lop-assessment-test-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.lop-assessment-test-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  min-height:42px;
  padding:10px 14px;
  background:#2563eb;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 14px 28px rgba(37,99,235,.2);
}
.lop-assessment-test-actions a.secondary{
  background:#fff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  box-shadow:none;
}
.lop-assessment-history{
  margin-top:18px;
  padding:16px;
  border-radius:22px;
  border:1px solid #e2e8f0;
  background:#fff;
}
.lop-assessment-history h3{margin:0 0 10px;font-size:20px;letter-spacing:-.02em;}
.lop-assessment-history-list{display:grid;gap:10px;}
.lop-assessment-history-list article{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.lop-assessment-history-list strong{color:#0f172a;}
.lop-assessment-history-list span{color:#475569;font-weight:750;}
.lop-assessment-history-list em{font-style:normal;color:#64748b;text-align:right;}
@media(max-width:900px){
  .lop-assessment-level-tests .lop-assessment-test-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .lop-assessment-level-tests .lop-assessment-test-grid{grid-template-columns:1fr;}
  .lop-assessment-test-actions a{width:100%;}
  .lop-assessment-history-list article{grid-template-columns:1fr;align-items:flex-start;}
  .lop-assessment-history-list em{text-align:left;}
}
.lop-assessment-test-card > div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.lop-assessment-test-card > div:first-child span{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.lop-assessment-test-card > div:first-child em{font-style:normal;border-radius:999px;padding:6px 9px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:850;white-space:nowrap;}
.lop-assessment-test-card ul{margin:0;padding:0;list-style:none;display:grid;gap:7px;color:#334155;line-height:1.45;}
.lop-assessment-test-card li{position:relative;padding-left:18px;}
.lop-assessment-test-card li:before{content:'•';position:absolute;left:2px;top:0;color:#2563eb;font-weight:950;}
.lop-assessment-test-card > a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;min-height:42px;padding:10px 14px;background:#2563eb;color:#fff;text-decoration:none;font-weight:900;box-shadow:0 14px 28px rgba(37,99,235,.2);}

/* v2.8.456: AJAX select feedback for “Chọn bài tự học” without jumping to top. */
.lop-study-select-form{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;}
.lop-study-select-btn.is-loading{opacity:.72;cursor:wait;filter:saturate(.9);}
.lop-study-select-inline-status{display:inline-flex;align-items:center;min-height:18px;font-size:12px;font-weight:800;line-height:1.35;color:#2563eb;}
.lop-study-select-inline-status.is-error{color:#dc2626;}
@media (max-width: 640px){.lop-study-select-form{width:100%;}.lop-study-select-inline-status{width:100%;}}

/* v2.8.457: contrast guard for selected study buttons on /lop/study/ and shared Library cards.
   Button style rule: every CTA must define readable normal, hover, selected, loading and disabled states. */
.lopsp-profile-page .lop-study-select-form,
body.lopsp-private-standalone-body .lop-study-select-form,
body .lop-study-select-form{
  align-items:center!important;
}
.lopsp-profile-page button.lop-study-select-btn,
.lopsp-profile-page a.lop-study-select-btn,
body.lopsp-private-standalone-body button.lop-study-select-btn,
body.lopsp-private-standalone-body a.lop-study-select-btn,
body button.lop-study-select-btn,
body a.lop-study-select-btn{
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
}
.lopsp-profile-page button.lop-study-select-btn.is-selected,
.lopsp-profile-page a.lop-study-select-btn.is-selected,
body.lopsp-private-standalone-body button.lop-study-select-btn.is-selected,
body.lopsp-private-standalone-body a.lop-study-select-btn.is-selected,
body button.lop-study-select-btn.is-selected,
body a.lop-study-select-btn.is-selected{
  background:linear-gradient(135deg,#dcfce7 0%,#f0fdf4 100%)!important;
  color:#065f46!important;
  border-color:#34d399!important;
  box-shadow:0 10px 22px rgba(5,150,105,.13)!important;
  opacity:1!important;
  filter:none!important;
}
.lopsp-profile-page button.lop-study-select-btn.is-selected:hover,
.lopsp-profile-page button.lop-study-select-btn.is-selected:focus,
.lopsp-profile-page button.lop-study-select-btn.is-selected:focus-visible,
.lopsp-profile-page a.lop-study-select-btn.is-selected:hover,
.lopsp-profile-page a.lop-study-select-btn.is-selected:focus,
body.lopsp-private-standalone-body button.lop-study-select-btn.is-selected:hover,
body.lopsp-private-standalone-body button.lop-study-select-btn.is-selected:focus,
body.lopsp-private-standalone-body button.lop-study-select-btn.is-selected:focus-visible,
body.lopsp-private-standalone-body a.lop-study-select-btn.is-selected:hover,
body.lopsp-private-standalone-body a.lop-study-select-btn.is-selected:focus,
body button.lop-study-select-btn.is-selected:hover,
body button.lop-study-select-btn.is-selected:focus,
body button.lop-study-select-btn.is-selected:focus-visible,
body a.lop-study-select-btn.is-selected:hover,
body a.lop-study-select-btn.is-selected:focus{
  background:linear-gradient(135deg,#047857 0%,#10b981 100%)!important;
  color:#ffffff!important;
  border-color:#047857!important;
  box-shadow:0 14px 30px rgba(5,150,105,.24)!important;
  opacity:1!important;
  filter:none!important;
}
.lopsp-profile-page button.lop-study-select-btn.is-selected:disabled,
body.lopsp-private-standalone-body button.lop-study-select-btn.is-selected:disabled,
body button.lop-study-select-btn.is-selected:disabled{
  background:linear-gradient(135deg,#dcfce7 0%,#f0fdf4 100%)!important;
  color:#065f46!important;
  border-color:#34d399!important;
  opacity:1!important;
  filter:none!important;
  cursor:wait!important;
}
.lopsp-profile-page .lop-study-select-btn.is-loading,
body.lopsp-private-standalone-body .lop-study-select-btn.is-loading,
body .lop-study-select-btn.is-loading{
  opacity:1!important;
  filter:none!important;
}
.lopsp-profile-page .lop-study-select-btn.is-loading:not(.is-selected),
body.lopsp-private-standalone-body .lop-study-select-btn.is-loading:not(.is-selected),
body .lop-study-select-btn.is-loading:not(.is-selected){
  background:linear-gradient(135deg,#dbeafe 0%,#eff6ff 100%)!important;
  color:#1d4ed8!important;
  border-color:#93c5fd!important;
}
.lopsp-profile-page .lop-study-select-btn.is-selected *,
body.lopsp-private-standalone-body .lop-study-select-btn.is-selected *,
body .lop-study-select-btn.is-selected *{
  color:inherit!important;
}
.lop-my-study-actions-v444 .lop-study-select-btn.is-selected{
  min-width:124px!important;
}

/* v2.8.458 - Center assessment content inside admin portal detail view */
body.lop-admin-portal-body .lop-assessment-context-admin{
  width:100% !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* v2.8.459 - Lich tu hoc hero polish + avatar/username, compact responsive layout. */
body.lopsp-remind-body .lopsp-remind-hero-v459{
  padding:clamp(16px,2.4vw,24px)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#ecfeff 100%)!important;
  border:1px solid rgba(186,230,253,.86)!important;
  box-shadow:0 18px 52px rgba(15,23,42,.08)!important;
}
body.lopsp-remind-body .lopsp-remind-v459-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(150px,190px)!important;
  gap:14px!important;
  align-items:stretch!important;
}
body.lopsp-remind-body .lopsp-remind-v459-titleline{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-bottom:8px!important;
}
body.lopsp-remind-body .lopsp-remind-v459-copy h3{
  margin:6px 0 6px!important;
  font-size:clamp(24px,2.8vw,34px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  font-weight:1000!important;
  color:#020617!important;
}
body.lopsp-remind-body .lopsp-remind-v459-copy p{
  font-size:15px!important;
  line-height:1.5!important;
  max-width:780px!important;
  color:#475569!important;
  font-weight:760!important;
}
body.lopsp-remind-body .lopsp-remind-v459-identity{
  display:inline-grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  max-width:min(100%,310px)!important;
  padding:7px 10px!important;
  border:1px solid #dbeafe!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 10px 24px rgba(37,99,235,.08)!important;
  color:#0f172a!important;
}
body.lopsp-remind-body .lopsp-remind-v459-identity img,
body.lopsp-remind-body .lopsp-remind-v459-avatar-fallback{
  width:46px!important;
  height:46px!important;
  border-radius:999px!important;
  border:2px solid #fff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.10)!important;
  background:linear-gradient(135deg,#dbeafe,#ecfeff)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  object-fit:cover!important;
  flex:0 0 46px!important;
}
body.lopsp-remind-body .lopsp-remind-v459-identity div{min-width:0!important;line-height:1.15!important;}
body.lopsp-remind-body .lopsp-remind-v459-identity small{
  display:block!important;
  font-size:10px!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
  color:#64748b!important;
  font-weight:1000!important;
}
body.lopsp-remind-body .lopsp-remind-v459-identity strong{
  display:block!important;
  max-width:210px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#1d4ed8!important;
  font-size:14px!important;
  line-height:1.18!important;
  font-weight:1000!important;
}
body.lopsp-remind-body .lopsp-remind-v459-identity em{
  display:block!important;
  max-width:210px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-style:normal!important;
  color:#334155!important;
  font-size:12px!important;
  font-weight:850!important;
}
body.lopsp-remind-body .lopsp-remind-v459-copy .lopsp-remind-v164-actions{margin-top:12px!important;}
body.lopsp-remind-body .lopsp-remind-v459-copy .lopsp-remind-v164-actions a{min-height:38px!important;padding:9px 13px!important;font-size:14px!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-status{border-radius:22px!important;padding:14px!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-status strong{font-size:clamp(36px,5vw,58px)!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-stats{gap:10px!important;margin-top:14px!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-card{padding:12px!important;border-radius:20px!important;grid-template-columns:46px minmax(0,1fr)!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-card>span{width:46px!important;height:46px!important;border-radius:16px!important;font-size:22px!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-card strong{font-size:clamp(28px,3.6vw,42px)!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-card em{font-size:13px!important;}
body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-progress{margin-top:12px!important;padding:11px 13px!important;border-radius:18px!important;}
@media(max-width:860px){
  body.lopsp-remind-body .lopsp-remind-v459-hero-grid{grid-template-columns:1fr!important;}
  body.lopsp-remind-body .lopsp-remind-v459-identity{max-width:100%!important;}
  body.lopsp-remind-body .lopsp-remind-v459-copy h3{font-size:26px!important;}
  body.lopsp-remind-body .lopsp-remind-v459-copy p{font-size:14px!important;}
  body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-status{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;text-align:left!important;}
  body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-status strong{grid-row:1/3!important;}
}
@media(max-width:560px){
  body.lopsp-remind-body .lopsp-remind-hero-v459{padding:13px!important;border-radius:22px!important;}
  body.lopsp-remind-body .lopsp-remind-v459-titleline{align-items:flex-start!important;}
  body.lopsp-remind-body .lopsp-remind-v459-identity{width:100%!important;border-radius:20px!important;}
  body.lopsp-remind-body .lopsp-remind-v459-copy h3{font-size:23px!important;letter-spacing:-.025em!important;}
  body.lopsp-remind-body .lopsp-remind-v459-copy .lopsp-remind-v164-actions a{width:100%!important;}
  body.lopsp-remind-body .lopsp-remind-hero-v459 .lopsp-remind-v164-stats{grid-template-columns:1fr!important;}
}

/* v2.8.460 - Lich tu hoc compact hero: one right summary box, no wasted header space. */
body.lopsp-remind-body .lopsp-remind-hero-v460{
  padding:clamp(14px,2vw,20px)!important;
  border-radius:26px!important;
}
body.lopsp-remind-body .lopsp-remind-v460-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,350px)!important;
  gap:clamp(14px,2vw,22px)!important;
  align-items:start!important;
}
body.lopsp-remind-body .lopsp-remind-v460-copy{
  min-width:0!important;
  padding:2px 0!important;
}
body.lopsp-remind-body .lopsp-remind-v460-titleline{
  justify-content:flex-start!important;
  margin-bottom:8px!important;
}
body.lopsp-remind-body .lopsp-remind-v460-copy h3{
  margin:4px 0 7px!important;
  font-size:clamp(24px,3vw,38px)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
}
body.lopsp-remind-body .lopsp-remind-v460-copy p{
  margin:0!important;
  max-width:780px!important;
  font-size:15px!important;
  line-height:1.48!important;
}
body.lopsp-remind-body .lopsp-remind-v460-actions{
  margin-top:14px!important;
  gap:10px!important;
}
body.lopsp-remind-body .lopsp-remind-v460-actions a{
  min-height:38px!important;
  padding:9px 14px!important;
  font-size:14px!important;
}
body.lopsp-remind-body .lopsp-remind-v460-summary{
  display:grid!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid rgba(191,219,254,.92)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(239,246,255,.88))!important;
  box-shadow:0 18px 42px rgba(15,23,42,.08)!important;
  min-width:0!important;
}
body.lopsp-remind-body .lopsp-remind-v460-summary .lopsp-remind-v460-identity{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  padding:7px 9px!important;
  border-radius:18px!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.lopsp-remind-body .lopsp-remind-v460-summary .lopsp-remind-v460-identity img,
body.lopsp-remind-body .lopsp-remind-v460-summary .lopsp-remind-v459-avatar-fallback{
  width:44px!important;
  height:44px!important;
  flex-basis:44px!important;
}
body.lopsp-remind-body .lopsp-remind-v460-mini-stats{
  display:grid!important;
  gap:8px!important;
  padding:10px!important;
  border-radius:20px!important;
  border:1px solid rgba(226,232,240,.95)!important;
  background:rgba(255,255,255,.82)!important;
}
body.lopsp-remind-body .lopsp-remind-v460-status{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:4px 12px!important;
  padding:10px 12px!important;
  border-radius:18px!important;
  border:1px solid rgba(187,247,208,.95)!important;
  background:linear-gradient(135deg,#f0fdf4,#ffffff)!important;
}
body.lopsp-remind-body .lopsp-remind-v460-status.is-warning{
  border-color:rgba(253,186,116,.95)!important;
  background:linear-gradient(135deg,#fff7ed,#ffffff)!important;
}
body.lopsp-remind-body .lopsp-remind-v460-status span{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
}
body.lopsp-remind-body .lopsp-remind-v460-status strong{
  grid-row:1/3!important;
  grid-column:2!important;
  color:#15803d!important;
  font-size:34px!important;
  line-height:1!important;
  font-weight:1000!important;
}
body.lopsp-remind-body .lopsp-remind-v460-status.is-warning strong{color:#c2410c!important;}
body.lopsp-remind-body .lopsp-remind-v460-status small{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:800!important;
}
body.lopsp-remind-body .lopsp-remind-v460-stat-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:8px 10px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:850!important;
}
body.lopsp-remind-body .lopsp-remind-v460-stat-row strong{
  color:#0f172a!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:1000!important;
}
body.lopsp-remind-body .lopsp-remind-v460-progress{
  margin:0!important;
  padding:9px 10px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.86)!important;
}
body.lopsp-remind-body .lopsp-remind-v460-progress div{
  margin-bottom:7px!important;
}
@media(max-width:900px){
  body.lopsp-remind-body .lopsp-remind-v460-hero-grid{grid-template-columns:1fr!important;}
  body.lopsp-remind-body .lopsp-remind-v460-summary{grid-template-columns:1fr!important;}
}
@media(max-width:560px){
  body.lopsp-remind-body .lopsp-remind-hero-v460{padding:12px!important;border-radius:22px!important;}
  body.lopsp-remind-body .lopsp-remind-v460-copy h3{font-size:25px!important;}
  body.lopsp-remind-body .lopsp-remind-v460-copy p{font-size:14px!important;}
  body.lopsp-remind-body .lopsp-remind-v460-actions a{width:100%!important;justify-content:center!important;}
  body.lopsp-remind-body .lopsp-remind-v460-status strong{font-size:30px!important;}
}

/* v2.8.461 - Lich tu hoc hero: compact identity on left, attention card in hero whitespace, stats remain in one right box. */
body.lopsp-remind-body .lopsp-remind-hero-v461{
  padding:clamp(12px,1.7vw,18px)!important;
  border-radius:24px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(238px,300px)!important;
  gap:clamp(12px,1.7vw,18px)!important;
  align-items:stretch!important;
}
body.lopsp-remind-body .lopsp-remind-v461-copy{
  display:grid!important;
  grid-template-rows:auto auto auto auto 1fr!important;
  align-content:start!important;
  min-height:0!important;
  padding:0!important;
}
body.lopsp-remind-body .lopsp-remind-v461-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-bottom:8px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-identity{
  width:auto!important;
  max-width:min(100%,310px)!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  padding:5px 10px 5px 6px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.08)!important;
}
body.lopsp-remind-body .lopsp-remind-v461-identity img,
body.lopsp-remind-body .lopsp-remind-v461-identity .lopsp-remind-v459-avatar-fallback{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-identity small{font-size:9px!important;line-height:1!important;}
body.lopsp-remind-body .lopsp-remind-v461-identity strong{font-size:13px!important;max-width:210px!important;}
body.lopsp-remind-body .lopsp-remind-v461-identity em{font-size:11px!important;max-width:210px!important;}
body.lopsp-remind-body .lopsp-remind-v461-copy h3{
  margin:2px 0 4px!important;
  font-size:clamp(24px,2.7vw,34px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
body.lopsp-remind-body .lopsp-remind-v461-copy p{
  max-width:780px!important;
  font-size:14px!important;
  line-height:1.42!important;
}
body.lopsp-remind-body .lopsp-remind-v461-actions{
  margin-top:10px!important;
  gap:8px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-actions a{
  min-height:34px!important;
  padding:8px 12px!important;
  font-size:13px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention{
  align-self:end!important;
  margin-top:12px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;
  gap:10px!important;
  padding:12px!important;
  border-radius:20px!important;
  border:1px solid rgba(186,230,253,.9)!important;
  background:linear-gradient(135deg,rgba(239,246,255,.82),rgba(255,255,255,.94))!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention.is-warning{
  border-color:rgba(253,186,116,.95)!important;
  background:linear-gradient(135deg,#fff7ed 0%,#ffffff 70%)!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention.is-clear{
  border-color:rgba(187,247,208,.95)!important;
  background:linear-gradient(135deg,#f0fdf4 0%,#ffffff 70%)!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention-main span{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin-bottom:4px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#4f46e5!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  font-weight:1000!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention-main strong{
  display:block!important;
  color:#0f172a!important;
  font-size:clamp(17px,1.6vw,22px)!important;
  line-height:1.16!important;
  font-weight:1000!important;
  letter-spacing:-.02em!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention.is-warning .lopsp-remind-v461-attention-main strong{color:#9a3412!important;}
body.lopsp-remind-body .lopsp-remind-v461-attention.is-clear .lopsp-remind-v461-attention-main strong{color:#166534!important;}
body.lopsp-remind-body .lopsp-remind-v461-attention-main small{
  display:block!important;
  margin-top:4px!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:760!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention-list{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  display:grid!important;
  gap:7px!important;
  align-content:center!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention-list li{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
  min-width:0!important;
  padding:8px 9px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.78)!important;
  border:1px dashed rgba(251,146,60,.44)!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention-list li span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:32px!important;
  height:24px!important;
  border-radius:999px!important;
  background:#ffedd5!important;
  color:#9a3412!important;
  font-size:11px!important;
  font-weight:1000!important;
}
body.lopsp-remind-body .lopsp-remind-v461-attention-list li strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.lopsp-remind-body .lopsp-remind-v461-summary{
  align-self:stretch!important;
  padding:10px!important;
  border-radius:22px!important;
  gap:8px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-mini-stats{
  gap:7px!important;
  padding:8px!important;
  border-radius:18px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-status{
  padding:9px 10px!important;
  border-radius:16px!important;
}
body.lopsp-remind-body .lopsp-remind-v461-status strong{font-size:30px!important;}
body.lopsp-remind-body .lopsp-remind-v461-progress{padding:8px 9px!important;border-radius:15px!important;}
@media(max-width:900px){
  body.lopsp-remind-body .lopsp-remind-v461-hero-grid{grid-template-columns:1fr!important;}
  body.lopsp-remind-body .lopsp-remind-v461-copy{display:block!important;}
  body.lopsp-remind-body .lopsp-remind-v461-summary{max-width:none!important;}
}
@media(max-width:640px){
  body.lopsp-remind-body .lopsp-remind-v461-topbar{align-items:flex-start!important;}
  body.lopsp-remind-body .lopsp-remind-v461-identity{width:100%!important;max-width:100%!important;border-radius:18px!important;}
  body.lopsp-remind-body .lopsp-remind-v461-attention{grid-template-columns:1fr!important;}
  body.lopsp-remind-body .lopsp-remind-v461-copy h3{font-size:24px!important;}
  body.lopsp-remind-body .lopsp-remind-v461-actions a{width:100%!important;justify-content:center!important;}
}


/* v2.8.462 - Lich tu hoc: compact copy link button beside Trang tien bo. */
body.lopsp-remind-body .lopsp-remind-v461-actions .lopsp-remind-copy-link,
body.lopsp-remind-body .lopsp-remind-v460-actions .lopsp-remind-copy-link,
body.lopsp-remind-body .lopsp-remind-v164-actions .lopsp-remind-copy-link{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:1px solid rgba(191,219,254,.95)!important;
  background:linear-gradient(135deg,#ffffff,#eff6ff)!important;
  color:#1e40af!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:34px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:950!important;
  text-decoration:none!important;
  cursor:pointer!important;
  box-shadow:0 12px 26px rgba(37,99,235,.08)!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease!important;
}
body.lopsp-remind-body .lopsp-remind-v461-actions .lopsp-remind-copy-link:hover,
body.lopsp-remind-body .lopsp-remind-v461-actions .lopsp-remind-copy-link:focus,
body.lopsp-remind-body .lopsp-remind-v460-actions .lopsp-remind-copy-link:hover,
body.lopsp-remind-body .lopsp-remind-v460-actions .lopsp-remind-copy-link:focus,
body.lopsp-remind-body .lopsp-remind-v164-actions .lopsp-remind-copy-link:hover,
body.lopsp-remind-body .lopsp-remind-v164-actions .lopsp-remind-copy-link:focus{
  background:linear-gradient(135deg,#2563eb,#4f46e5)!important;
  border-color:#2563eb!important;
  color:#ffffff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 16px 32px rgba(37,99,235,.18)!important;
  outline:none!important;
}
body.lopsp-remind-body .lopsp-remind-v461-actions .lopsp-remind-copy-link.is-copied,
body.lopsp-remind-body .lopsp-remind-v460-actions .lopsp-remind-copy-link.is-copied,
body.lopsp-remind-body .lopsp-remind-v164-actions .lopsp-remind-copy-link.is-copied{
  background:linear-gradient(135deg,#16a34a,#22c55e)!important;
  border-color:#16a34a!important;
  color:#ffffff!important;
}
@media(max-width:640px){
  body.lopsp-remind-body .lopsp-remind-v461-actions .lopsp-remind-copy-link,
  body.lopsp-remind-body .lopsp-remind-v460-actions .lopsp-remind-copy-link,
  body.lopsp-remind-body .lopsp-remind-v164-actions .lopsp-remind-copy-link{width:100%!important;}
}


/* v2.8.465 - legacy guest gate styling retained for the unified goal/schedule route */
.lopsp-self-study-gate-wrap{max-width:1180px;margin:0 auto;padding:88px 18px 42px;}
.lopsp-self-study-gate-main{display:flex;flex-direction:column;gap:18px;}
.lopsp-self-study-gate-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px;align-items:stretch;border:1px solid rgba(99,102,241,.18);background:linear-gradient(135deg,#f8fbff 0%,#ffffff 48%,#effdf5 100%);box-shadow:0 24px 70px rgba(30,64,175,.10);}
.lopsp-self-study-gate-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;}
.lopsp-self-study-gate-copy h1{margin:0;font-size:clamp(32px,4.2vw,58px);line-height:1.02;letter-spacing:-.045em;color:#020617;max-width:880px;}
.lopsp-self-study-gate-subtitle{margin:0;max-width:820px;font-weight:800;color:#475569;font-size:clamp(16px,1.5vw,20px);line-height:1.55;}
.lopsp-self-study-gate-bodycopy{max-width:820px;color:#334155;font-weight:650;font-size:15px;line-height:1.65;}
.lopsp-self-study-gate-bodycopy p{margin:0 0 10px;}
.lopsp-self-study-gate-bodycopy ul{margin:6px 0 0 20px;padding:0;}
.lopsp-self-study-gate-note{border:1px solid rgba(245,158,11,.28);background:#fffbeb;color:#92400e;border-radius:18px;padding:12px 14px;font-weight:800;}
.lopsp-self-study-gate-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px;}
.lopsp-self-study-gate-preview{background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.25);border-radius:28px;padding:16px;box-shadow:0 22px 55px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:10px;align-self:stretch;justify-content:center;}
.lopsp-self-study-preview-card,.lopsp-self-study-preview-row,.lopsp-self-study-preview-progress{background:#f8fafc;border-radius:18px;padding:13px 14px;}
.lopsp-self-study-preview-card{border:1px solid rgba(34,197,94,.22);background:linear-gradient(135deg,#f0fdf4,#ffffff);}
.lopsp-self-study-preview-card span,.lopsp-self-study-preview-row span{display:block;color:#64748b;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.04em;}
.lopsp-self-study-preview-card strong{display:block;color:#166534;font-size:24px;line-height:1.1;margin-top:4px;}
.lopsp-self-study-preview-card small{display:block;color:#64748b;font-weight:800;margin-top:6px;}
.lopsp-self-study-preview-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.lopsp-self-study-preview-row strong{font-size:24px;color:#020617;}
.lopsp-self-study-preview-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:900;color:#0f172a;}
.lopsp-self-study-preview-progress b{color:#4f46e5;}
.lopsp-self-study-preview-progress span{display:block;height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:10px;}
.lopsp-self-study-preview-progress i{display:block;width:75%;height:100%;background:linear-gradient(90deg,#4f46e5,#22c55e);border-radius:inherit;}
.lopsp-self-study-gate-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.lopsp-self-study-gate-steps article{background:#fff;border:1px solid rgba(99,102,241,.16);border-radius:24px;padding:18px;box-shadow:0 16px 38px rgba(15,23,42,.06);}
.lopsp-self-study-gate-steps span{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:#4f46e5;color:#fff;font-weight:1000;margin-bottom:12px;}
.lopsp-self-study-gate-steps strong{display:block;font-size:18px;color:#020617;margin-bottom:6px;}
.lopsp-self-study-gate-steps small{display:block;color:#64748b;font-weight:750;line-height:1.45;}
@media(max-width:860px){.lopsp-self-study-gate-wrap{padding:76px 12px 30px}.lopsp-self-study-gate-hero{grid-template-columns:1fr;padding:18px}.lopsp-self-study-gate-copy h1{font-size:34px}.lopsp-self-study-gate-steps{grid-template-columns:1fr}.lopsp-self-study-gate-actions a,.lopsp-self-study-gate-actions button{width:100%;justify-content:center;text-align:center}.lopsp-self-study-gate-preview{border-radius:22px}}


/* v2.8.466 - unified goal/schedule guest CTA button polish */
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:12px!important;
  margin-top:8px!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:50px!important;
  padding:12px 18px!important;
  border-radius:18px!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:1000!important;
  letter-spacing:-.015em!important;
  text-decoration:none!important;
  white-space:normal!important;
  border:1px solid transparent!important;
  box-shadow:0 14px 30px rgba(15,23,42,.08)!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions a:visited{
  text-decoration:none!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-primary,
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-primary:visited{
  background:linear-gradient(135deg,#4f46e5 0%,#2563eb 55%,#0ea5e9 100%)!important;
  color:#ffffff!important;
  border-color:rgba(79,70,229,.34)!important;
  box-shadow:0 18px 42px rgba(37,99,235,.22)!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-primary:hover,
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-primary:focus{
  background:linear-gradient(135deg,#3730a3 0%,#1d4ed8 55%,#0284c7 100%)!important;
  color:#ffffff!important;
  border-color:#2563eb!important;
  transform:translateY(-2px)!important;
  box-shadow:0 22px 48px rgba(37,99,235,.30)!important;
  outline:none!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-secondary,
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-secondary:visited{
  background:rgba(255,255,255,.94)!important;
  color:#1e3a8a!important;
  border-color:#bfdbfe!important;
  box-shadow:0 14px 30px rgba(37,99,235,.09)!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-secondary:hover,
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions .lopsp-remind-v164-secondary:focus{
  background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%)!important;
  color:#1d4ed8!important;
  border-color:#60a5fa!important;
  transform:translateY(-2px)!important;
  box-shadow:0 20px 42px rgba(37,99,235,.16)!important;
  outline:none!important;
}
body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions a:focus-visible{
  outline:3px solid rgba(37,99,235,.24)!important;
  outline-offset:3px!important;
}
@media(max-width:720px){
  body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions{gap:9px!important;width:100%!important;}
  body.lopsp-self-study-gate-body .lopsp-self-study-gate-actions a{width:100%!important;min-height:48px!important;padding:12px 14px!important;border-radius:16px!important;font-size:14px!important;}
}

/* v2.8.468 Class / Family classroom page */
.lop-classroom-body{background:linear-gradient(135deg,#eef7ff 0%,#f7fff8 48%,#fff7ed 100%);min-height:100vh;color:#07112d}
.lop-classroom-page{max-width:1180px;margin:24px auto 56px;padding:0 18px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.lop-classroom-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:stretch;background:rgba(255,255,255,.9);border:1px solid rgba(148,163,184,.25);border-radius:30px;padding:28px;box-shadow:0 22px 60px rgba(30,64,175,.10);backdrop-filter:blur(16px)}
.lop-classroom-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.lop-classroom-hero h1{margin:16px 0 8px;font-size:clamp(32px,5vw,56px);line-height:1.02;font-weight:950;letter-spacing:-.045em;color:#020617}
.lop-classroom-hero p{margin:0;max-width:720px;color:#475569;font-size:17px;line-height:1.65;font-weight:650}
.lop-classroom-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;align-items:center}
.lop-class-btn{appearance:none;border:1px solid rgba(59,130,246,.25);border-radius:999px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;font-weight:900;font-size:15px;line-height:1.1;cursor:pointer;box-shadow:0 12px 28px rgba(37,99,235,.12);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;min-height:44px}
.lop-class-btn.primary,.lop-class-btn.primary:visited{background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff!important;border-color:transparent}
.lop-class-btn.primary:hover,.lop-class-btn.primary:focus{background:linear-gradient(135deg,#3730a3,#1d4ed8);color:#fff!important;transform:translateY(-1px);box-shadow:0 16px 36px rgba(37,99,235,.22)}
.lop-class-btn.secondary,.lop-class-btn.secondary:visited{background:#fff;color:#1e3a8a!important;border-color:#bfdbfe}
.lop-class-btn.secondary:hover,.lop-class-btn.secondary:focus{background:#eff6ff;color:#1d4ed8!important;border-color:#60a5fa;transform:translateY(-1px)}
.lop-class-btn.small{padding:9px 14px;min-height:38px;font-size:13px}
.lop-classroom-hero-card{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border-radius:24px;background:linear-gradient(180deg,#f8fafc,#eef2ff);border:1px solid #dbeafe;padding:20px;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.lop-classroom-hero-card strong{font-size:56px;line-height:1;font-weight:950;color:#2563eb}.lop-classroom-hero-card span{font-weight:900;color:#0f172a}.lop-classroom-hero-card em{font-style:normal;color:#64748b;font-weight:750}.lop-classroom-hero-card b{margin-top:8px;border-radius:999px;padding:7px 12px;background:#dcfce7;color:#166534;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.lop-classroom-hero-card b.is-locked{background:#fff7ed;color:#9a3412}
.lop-classroom-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:18px;margin-top:18px}
.lop-classroom-panel,.lop-classroom-lock,.lop-classroom-guard{background:rgba(255,255,255,.94);border:1px solid rgba(148,163,184,.22);border-radius:26px;padding:22px;box-shadow:0 16px 40px rgba(15,23,42,.07)}
.lop-classroom-lock{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#fff)}
.lop-classroom-lock span{display:inline-flex;background:#ffedd5;color:#9a3412;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.lop-classroom-lock h2{margin:8px 0 6px;font-size:24px}.lop-classroom-lock p{margin:0;color:#64748b;font-weight:650;line-height:1.55}
.lop-classroom-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.lop-classroom-section-head h2{margin:0;font-size:23px;letter-spacing:-.03em;color:#020617}.lop-classroom-section-head p{margin:4px 0 0;color:#64748b;font-weight:650;line-height:1.45}
.lop-class-assignment-card{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #dbeafe;background:linear-gradient(135deg,#fff,#f8fbff);border-radius:20px;padding:18px;margin-bottom:12px}.lop-class-assignment-card.is-done{border-color:#bbf7d0;background:linear-gradient(135deg,#f0fdf4,#fff)}.lop-class-assignment-card span{display:inline-flex;font-size:12px;font-weight:900;color:#4f46e5;text-transform:uppercase;letter-spacing:.06em}.lop-class-assignment-card h3{margin:7px 0 6px;font-size:20px;letter-spacing:-.02em}.lop-class-assignment-card p{margin:0;color:#64748b;font-weight:650;line-height:1.5}.lop-class-done{display:inline-flex;border-radius:999px;background:#dcfce7;color:#166534;padding:10px 14px;font-weight:950;white-space:nowrap}
.lop-class-member-list{display:grid;gap:10px}.lop-class-member-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-decoration:none!important;border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:12px;transition:transform .18s ease,border-color .18s ease,background .18s ease}.lop-class-member-row:hover{transform:translateY(-1px);border-color:#bfdbfe;background:#f8fbff}.lop-class-member-row span{grid-row:1/3;width:34px;height:34px;border-radius:12px;background:#eff6ff;display:grid;place-items:center}.lop-class-member-row strong{color:#0f172a;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis}.lop-class-member-row em{font-style:normal;color:#64748b;font-size:12px;font-weight:800}.lop-class-member-row.is-free{opacity:.72}.lop-class-member-row.is-free span{background:#fff7ed}
.lop-class-note{border:1px solid #e0e7ff;background:#f8fafc;border-radius:16px;padding:14px;margin:10px 0}.lop-class-note strong{color:#3730a3}.lop-class-note span{float:right;color:#64748b;font-size:12px;font-weight:750}.lop-class-note p{clear:both;margin:8px 0 0;color:#334155;line-height:1.55;font-weight:650}
.lop-class-form{display:grid;gap:12px}.lop-class-form label{font-weight:900;color:#0f172a}.lop-class-form input,.lop-class-form select,.lop-class-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px 14px;background:#fff;font:inherit;color:#0f172a}.lop-class-form textarea{resize:vertical}.lop-classroom-empty{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:18px;padding:18px;color:#64748b;font-weight:750}.lop-class-status-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:18px}.lop-class-status-table{width:100%;border-collapse:collapse;min-width:640px}.lop-class-status-table th,.lop-class-status-table td{padding:12px 14px;border-bottom:1px solid #e2e8f0;text-align:left}.lop-class-status-table th{background:#f8fafc;color:#475569;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.lop-class-status-table tr:last-child td{border-bottom:0}.lop-classroom-guard{max-width:720px;margin:60px auto;text-align:center}.lop-classroom-guard h1{font-size:38px;margin:12px 0 8px}.lop-classroom-guard p{color:#64748b;font-weight:650;line-height:1.6}
@media (max-width:900px){.lop-classroom-hero,.lop-classroom-grid{grid-template-columns:1fr}.lop-classroom-hero{padding:22px}.lop-classroom-lock{align-items:flex-start;flex-direction:column}.lop-class-assignment-card{align-items:flex-start;flex-direction:column}.lop-classroom-section-head{display:block}.lop-classroom-page{margin-top:14px;padding:0 12px}.lop-classroom-hero h1{font-size:34px}.lop-class-btn{width:100%}}

/* v2.8.469 - Class/Family standalone class page polish */
.lop-classroom-topbar{max-width:1180px;margin:18px auto 0;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.lop-classroom-topbrand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#0f172a;background:rgba(255,255,255,.88);border:1px solid rgba(191,219,254,.85);border-radius:22px;padding:8px 12px;box-shadow:0 16px 38px rgba(30,64,175,.10)}
.lop-classroom-topbrand img{width:42px;height:42px;border-radius:14px;object-fit:cover;background:#fff;border:1px solid #e2e8f0}.lop-classroom-topbrand strong{display:block;font-size:15px;font-weight:950;line-height:1.1;color:#0f172a}.lop-classroom-topbrand em{display:block;font-style:normal;color:#64748b;font-weight:800;font-size:12px;margin-top:2px}.lop-classroom-topbar nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lop-classroom-topbar nav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid #dbeafe;background:#fff;color:#1e40af!important;text-decoration:none;font-weight:900;box-shadow:0 12px 26px rgba(59,130,246,.09)}.lop-classroom-topbar nav a:hover{background:#2563eb;color:#fff!important;border-color:#2563eb}
.lop-classroom-hero-main{min-width:0}.lop-classroom-brand-block{display:inline-flex;align-items:center;gap:12px;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dbeafe;border-radius:22px;padding:10px 14px;box-shadow:0 14px 34px rgba(30,64,175,.10);margin-bottom:14px}.lop-classroom-brand-block img{width:58px;height:58px;border-radius:18px;object-fit:cover;background:#fff;border:1px solid #e2e8f0}.lop-classroom-brand-block span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:950}.lop-classroom-brand-block strong{display:block;font-size:20px;line-height:1.15;color:#0f172a;font-weight:950;margin-top:2px}.lop-classroom-class-name{margin:0 0 8px!important;color:#334155!important;font-size:14px!important;font-weight:850!important}.lop-classroom-class-name strong{color:#1d4ed8}.lop-classroom-manager-settings{margin-top:14px;background:rgba(255,255,255,.92);border:1px solid rgba(191,219,254,.9);border-radius:22px;padding:14px 16px;box-shadow:0 14px 36px rgba(15,23,42,.06)}.lop-classroom-manager-settings summary{cursor:pointer;font-weight:950;color:#1e40af;list-style:none}.lop-classroom-manager-settings summary::-webkit-details-marker{display:none}.lop-classroom-manager-settings[open] summary{margin-bottom:12px}.lop-class-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lop-class-form input[type="url"]{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px 14px;background:#fff;font:inherit;color:#0f172a}
@media(max-width:900px){.lop-classroom-topbar{margin-top:12px;flex-direction:column;align-items:stretch}.lop-classroom-topbar nav{display:grid;grid-template-columns:1fr 1fr}.lop-classroom-topbrand{justify-content:flex-start}.lop-classroom-brand-block{width:100%;box-sizing:border-box}.lop-class-form-grid{grid-template-columns:1fr}.lop-classroom-topbar nav a{width:100%;box-sizing:border-box}.lop-classroom-hero{grid-template-columns:1fr!important}}
@media(max-width:520px){.lop-classroom-topbar nav{grid-template-columns:1fr}.lop-classroom-brand-block img{width:48px;height:48px}.lop-classroom-brand-block strong{font-size:17px}.lop-classroom-topbrand img{width:38px;height:38px}}

/* v2.8.472 - My Classes / Family hub */
.lop-my-classes-body{background:linear-gradient(135deg,#eef7ff 0%,#f7fff8 52%,#fff7ed 100%);min-height:100vh;color:#07112d;}
.lop-my-classes-page{max-width:1180px;margin:24px auto 60px;padding:0 18px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;}
.lop-my-classes-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:stretch;padding:28px;border-radius:30px;background:rgba(255,255,255,.92);border:1px solid rgba(191,219,254,.82);box-shadow:0 22px 60px rgba(30,64,175,.10);backdrop-filter:blur(16px);}
.lop-my-classes-hero h1{margin:14px 0 8px;font-size:clamp(34px,5vw,58px);line-height:1.02;font-weight:950;letter-spacing:-.045em;color:#020617;}
.lop-my-classes-hero p{margin:0;max-width:780px;color:#475569;font-size:17px;line-height:1.62;font-weight:700;}
.lop-my-classes-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;}
.lop-my-classes-hero aside{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:24px;background:linear-gradient(180deg,#f8fafc,#eef2ff);border:1px solid #dbeafe;padding:18px;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}
.lop-my-classes-hero aside strong{font-size:54px;line-height:1;color:#2563eb;font-weight:950;}
.lop-my-classes-hero aside span{font-weight:950;color:#0f172a;}
.lop-my-classes-hero aside em{font-style:normal;color:#64748b;font-weight:850;font-size:13px;}
.lop-my-classes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:18px;}
.lop-my-class-card{display:flex;flex-direction:column;gap:13px;min-height:310px;padding:18px;border-radius:26px;background:rgba(255,255,255,.95);border:1px solid rgba(203,213,225,.82);box-shadow:0 16px 42px rgba(15,23,42,.07);position:relative;overflow:hidden;}
.lop-my-class-card:before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,#2563eb,#22c55e);}
.lop-my-class-card.is-family:before{background:linear-gradient(90deg,#f97316,#22c55e);}
.lop-my-class-card-head{display:flex;align-items:center;gap:12px;min-width:0;}
.lop-my-class-card-head img{width:58px;height:58px;border-radius:18px;object-fit:cover;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 24px rgba(30,64,175,.12);flex:0 0 auto;}
.lop-my-class-card-head span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:950;}
.lop-my-class-card-head h2{margin:3px 0 0;font-size:22px;line-height:1.18;color:#020617;letter-spacing:-.03em;font-weight:950;}
.lop-my-class-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.lop-my-class-meta span{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:950;}
.lop-my-class-meta b{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;}
.lop-my-class-meta b.is-manager{background:#ecfeff;color:#155e75;border:1px solid #bae6fd;}.lop-my-class-meta b.is-vip{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;}.lop-my-class-meta b.is-free{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;}
.lop-my-class-card p{margin:0;color:#475569;font-weight:650;line-height:1.55;}
.lop-my-class-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;}
.lop-my-class-stats span{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e2e8f0;border-radius:16px;padding:10px 12px;background:#f8fafc;color:#64748b;font-weight:850;}
.lop-my-class-stats strong{color:#0f172a;font-size:20px;font-weight:950;}
.lop-my-class-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px;}
.lop-my-classes-empty{margin-top:18px;padding:34px 24px;text-align:center;border-radius:28px;background:rgba(255,255,255,.94);border:1px solid rgba(191,219,254,.82);box-shadow:0 18px 50px rgba(15,23,42,.07);}
.lop-my-classes-empty-icon{width:70px;height:70px;display:inline-flex;align-items:center;justify-content:center;border-radius:24px;background:#eef2ff;font-size:34px;margin-bottom:12px;box-shadow:0 12px 30px rgba(37,99,235,.12);}
.lop-my-classes-empty h2{margin:0 0 8px;font-size:28px;letter-spacing:-.03em;color:#020617;font-weight:950;}
.lop-my-classes-empty p{margin:0 auto;max-width:680px;color:#64748b;font-weight:700;line-height:1.6;}
.lop-my-classes-empty .lop-my-classes-actions{justify-content:center;}
@media(max-width:900px){.lop-my-classes-page{padding:0 12px;margin-top:14px}.lop-my-classes-hero{grid-template-columns:1fr;padding:22px}.lop-my-classes-hero h1{font-size:36px}.lop-my-classes-hero p{font-size:15px}.lop-my-classes-hero aside{align-items:flex-start;text-align:left}.lop-my-classes-actions .lop-class-btn,.lop-my-class-card-actions .lop-class-btn{width:100%;box-sizing:border-box}.lop-my-class-stats{grid-template-columns:1fr}}

/* v2.8.473 - VietQR checkout and payment copy controls */
.lopsp-payment-box-vietqr{border-color:#bfdbfe!important;background:linear-gradient(135deg,#ffffff,#f8fbff)!important;box-shadow:0 18px 44px rgba(37,99,235,.10)!important;}
.lopsp-payment-main{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start;}
.lopsp-payment-info{min-width:0;}
.lopsp-payment-qr-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px;border:1px solid #dbeafe;border-radius:20px;background:linear-gradient(180deg,#f8fbff,#ffffff);box-shadow:0 12px 28px rgba(15,23,42,.06);}
.lopsp-payment-qr-card span{font-size:13px;font-weight:900;color:#1d4ed8;text-transform:uppercase;letter-spacing:.04em;}
.lopsp-payment-qr-card img{width:210px;max-width:100%;height:auto;border-radius:16px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 24px rgba(15,23,42,.08);}
.lopsp-payment-qr-empty{font-size:13px;line-height:1.55;color:#64748b;text-align:center;padding:18px 10px;}
.lopsp-payment-copy-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.lopsp-payment-copy{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8!important;text-decoration:none!important;padding:10px 14px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.08);}
.lopsp-payment-copy:hover,.lopsp-payment-copy:focus{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;outline:none;transform:translateY(-1px);}
.lopsp-payment-copy.is-copied{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;}
@media(max-width:760px){.lopsp-payment-main{grid-template-columns:1fr;}.lopsp-payment-qr-card{order:-1;}.lopsp-payment-copy-row .lopsp-payment-copy{width:100%;}.lopsp-payment-qr-card img{width:min(220px,88vw);}}

/* v2.8.474 - Compact VIP checkout popup + shorter LOP order code UI */
.lopsp-pricing-checkout-modal .lopsp-modal-panel{
  width:min(700px,96vw)!important;
  border-radius:24px!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-modal-head{
  padding:14px 18px 12px!important;
  gap:12px!important;
  align-items:center!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-modal-head span{
  padding:4px 9px!important;
  font-size:11px!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-modal-head h2{
  font-size:22px!important;
  margin:6px 0 3px!important;
  line-height:1.15!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-modal-head p{
  font-size:14px!important;
  line-height:1.45!important;
  max-width:540px!important;
}
.lopsp-pricing-checkout-modal .lopsp-modal-close{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-success-note{
  width:calc(100% - 28px)!important;
  margin:12px auto 0!important;
  padding:10px 12px!important;
  border-radius:16px!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-success-note span{
  font-size:13px!important;
  line-height:1.42!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-box.lopsp-payment-box-compact{
  width:calc(100% - 28px)!important;
  margin:12px auto!important;
  padding:14px!important;
  border-radius:20px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-main{
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:14px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-info h2{
  font-size:19px!important;
  margin:0 0 10px!important;
}
.lopsp-payment-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 10px;
}
.lopsp-payment-summary>div{
  border:1px solid #dbeafe;
  background:#f8fbff;
  border-radius:14px;
  padding:9px 10px;
  min-width:0;
}
.lopsp-payment-summary span,
.lopsp-payment-grid span{
  display:block;
  color:#64748b;
  font-size:11px!important;
  font-weight:800;
  margin:0 0 3px;
}
.lopsp-payment-summary strong,
.lopsp-payment-grid strong{
  display:block;
  color:#0f172a;
  font-size:15px!important;
  line-height:1.25;
  word-break:break-word;
}
.lopsp-payment-summary code,
.lopsp-payment-grid code{
  font-size:14px!important;
  letter-spacing:.02em;
  white-space:normal;
}
.lopsp-pricing-checkout-modal .lopsp-payment-grid{
  gap:8px!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-grid div{
  border-radius:14px!important;
  padding:9px 10px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-copy-row{
  margin-top:10px!important;
  gap:8px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-copy{
  padding:8px 12px!important;
  font-size:13px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-qr-card{
  padding:10px!important;
  border-radius:18px!important;
  gap:8px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-qr-card span{
  font-size:11px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-qr-card img{
  width:178px!important;
  border-radius:14px!important;
}
.lopsp-pricing-checkout-modal .lopsp-payment-note-compact{
  margin:8px 0 0!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}
.lopsp-pricing-checkout-modal .lopsp-checkout-actions{
  width:calc(100% - 28px)!important;
  margin:0 auto 14px!important;
}
@media(max-width:760px){
  .lopsp-pricing-checkout-modal .lopsp-modal-panel{width:calc(100vw - 18px)!important;border-radius:20px!important;}
  .lopsp-pricing-checkout-modal .lopsp-checkout-modal-head{padding:12px 14px 10px!important;}
  .lopsp-pricing-checkout-modal .lopsp-checkout-modal-head h2{font-size:20px!important;}
  .lopsp-pricing-checkout-modal .lopsp-payment-main{grid-template-columns:1fr!important;}
  .lopsp-pricing-checkout-modal .lopsp-payment-qr-card{order:-1!important;}
  .lopsp-payment-summary,
  .lopsp-pricing-checkout-modal .lopsp-payment-grid{grid-template-columns:1fr!important;}
  .lopsp-pricing-checkout-modal .lopsp-payment-qr-card img{width:min(190px,76vw)!important;}
  .lopsp-pricing-checkout-modal .lopsp-payment-copy-row .lopsp-payment-copy{width:100%;}
}


/* v2.8.479 - Payment modal live status after SePay webhook */
.lopsp-payment-live-status{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid #fed7aa;border-radius:16px;background:linear-gradient(135deg,#fff7ed,#ffffff);color:#9a3412;box-shadow:0 8px 20px rgba(249,115,22,.08)}
.lopsp-payment-live-status strong{display:block;font-size:14px;font-weight:950;letter-spacing:-.01em;color:#9a3412!important}
.lopsp-payment-live-status em{display:block;font-style:normal;font-size:12px;font-weight:750;line-height:1.35;color:#64748b!important;margin-top:2px}
.lopsp-payment-live-dot{width:11px;height:11px;border-radius:999px;background:#f97316;box-shadow:0 0 0 6px rgba(249,115,22,.12);flex:0 0 auto}
.lopsp-payment-live-status.is-paid{border-color:#bbf7d0;background:linear-gradient(135deg,#ecfdf5,#ffffff);color:#166534!important}
.lopsp-payment-live-status.is-paid strong{color:#166534!important}
.lopsp-payment-live-status.is-paid .lopsp-payment-live-dot{background:#16a34a;box-shadow:0 0 0 6px rgba(22,163,74,.14)}
.lopsp-payment-box.is-paid{border-color:#86efac!important;background:linear-gradient(135deg,#f0fdf4,#ffffff)!important;box-shadow:0 18px 44px rgba(22,163,74,.13)!important}
.lopsp-checkout-success-note.is-paid{border-color:#bbf7d0!important;background:linear-gradient(135deg,#ecfdf5,#ffffff)!important;color:#166534!important}
.lopsp-payment-paid-panel{margin-top:12px;padding:12px 14px;border:1px solid #bbf7d0;border-radius:18px;background:#f0fdf4;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#166534;box-shadow:0 10px 24px rgba(22,163,74,.10)}
.lopsp-payment-paid-panel[hidden]{display:none!important}
.lopsp-payment-paid-panel strong{font-size:15px;font-weight:950;color:#166534!important}
.lopsp-payment-paid-panel span{flex:1;min-width:220px;font-size:13px;font-weight:750;color:#166534!important}
.lopsp-payment-paid-panel .lopsp-upgrade-btn{padding:9px 13px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;color:#fff!important;box-shadow:0 12px 24px rgba(22,163,74,.18)!important}
.lopsp-payment-paid-actions{display:flex;gap:10px;flex-wrap:wrap;margin-right:auto}
@media(max-width:760px){.lopsp-payment-paid-panel{align-items:stretch}.lopsp-payment-paid-panel span{min-width:100%}.lopsp-payment-paid-panel .lopsp-upgrade-btn,.lopsp-payment-paid-actions .lopsp-upgrade-btn{width:100%}}

/* v2.8.482 - Shared Cloudflare Turnstile UI for protected public forms. */
.lopstreak-turnstile-wrap{
  width:100%;
  min-width:0;
  margin:12px 0 4px;
  padding:10px 12px;
  border:1px solid #dbeafe;
  border-radius:14px;
  background:#f8fbff;
  box-sizing:border-box;
  overflow:hidden;
}
.lopstreak-turnstile-widget{
  width:100%;
  min-width:0;
  max-width:100%;
}
.lopstreak-turnstile-status{
  margin:5px 0 0!important;
  color:#475569!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.4!important;
}
.lopstreak-turnstile-status[data-state="pending"]{color:#92400e!important;}
.lopstreak-turnstile-status[data-state="success"]{color:#166534!important;}
.lopstreak-turnstile-status[data-state="error"]{color:#b91c1c!important;}
.lopstreak-hp-field{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
form[data-lop-antispam-form] button[type="submit"]:disabled,
form[data-lop-antispam-form] input[type="submit"]:disabled{
  opacity:.76!important;
  cursor:wait!important;
  filter:saturate(.78)!important;
}
form[data-lop-antispam-form] button[type="submit"][aria-busy="true"],
form[data-lop-antispam-form] input[type="submit"][aria-busy="true"]{
  color:#fff!important;
  text-shadow:none!important;
}
@media(max-width:380px){
  .lopstreak-turnstile-wrap{padding:8px;margin-top:10px;overflow-x:auto;}
}

/* v2.8.485: optional integration consent. Scoped so existing form layout and logic remain unchanged. */
.lop-integration-consent{
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  margin:10px 0 12px!important;
  padding:10px 12px!important;
  border:1px solid #dbe4ef!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  color:#334155!important;
  font-size:13px!important;
  line-height:1.45!important;
  cursor:pointer;
}
.lop-integration-consent input[type="checkbox"]{
  flex:0 0 auto!important;
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  margin:2px 0 0!important;
  padding:0!important;
  accent-color:#2563eb;
}
.lop-integration-consent span{display:block;min-width:0}
.lop-integration-consent a{color:#1d4ed8!important;text-decoration:underline;font-weight:700}
.lop-integration-consent:hover{border-color:#bfdbfe!important;background:#eff6ff!important}
.lop-integration-consent:focus-within{outline:3px solid rgba(37,99,235,.18)!important;outline-offset:1px!important;border-color:#2563eb!important}
.lop-integration-consent input:disabled{cursor:not-allowed;opacity:.65}
.lop-integration-consent:has(input:disabled){cursor:not-allowed;opacity:.72;background:#f1f5f9!important}
@media(max-width:640px){.lop-integration-consent{padding:9px 10px!important;margin:8px 0 10px!important;font-size:12.5px!important}}

/* v2.8.486: keep the shared Analytics badge readable inside Content Hub admin bars. */
.lopsp-contenthub-body .lopsp-hub-adminbar .lop-editor-view-stats{min-height:38px;padding:8px 12px;flex:0 0 auto}
.lopsp-contenthub-body .lopsp-hub-adminbar .lop-editor-view-stats i{font-style:normal;line-height:1}
.lopsp-contenthub-body .lopsp-hub-adminbar .lop-editor-view-stats b{font-size:13px;line-height:1.2;color:#0f172a;text-transform:none;letter-spacing:0}
.lopsp-contenthub-body .lopsp-hub-adminbar .lop-editor-view-stats small{font-size:11px;line-height:1.2;color:#0f766e;text-transform:none;letter-spacing:0;font-weight:900}
@media(max-width:760px){.lopsp-contenthub-body .lopsp-hub-adminbar .lop-editor-view-stats{flex:1 1 180px;width:auto;justify-content:flex-start}}

/* v2.8.488 - Split member header brand into independent Home and /lop links. */
.lopsp-member-site-header-v442 .lopsp-member-brand-split-v2488{
  gap:8px!important;
  cursor:default!important;
}
.lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  color:#0f172a!important;
  text-decoration:none!important;
  border-radius:999px!important;
  outline:0!important;
}
.lopsp-member-site-header-v442 .lopsp-member-brand-user-v2488{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  max-width:170px!important;
  padding:6px 11px!important;
  border:1px solid #bfdbfe!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  color:#2563eb!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:950!important;
  font-style:normal!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-shadow:0 6px 16px rgba(37,99,235,.08)!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488:hover,
.lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488:active{
  color:#0f172a!important;
  text-decoration:none!important;
}
.lopsp-member-site-header-v442 .lopsp-member-brand-user-v2488:hover,
.lopsp-member-site-header-v442 .lopsp-member-brand-user-v2488:active{
  border-color:#60a5fa!important;
  background:#dbeafe!important;
  color:#1d4ed8!important;
  text-decoration:none!important;
  transform:translateY(-1px)!important;
  box-shadow:0 9px 20px rgba(37,99,235,.15)!important;
}
.lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488:focus-visible,
.lopsp-member-site-header-v442 .lopsp-member-brand-user-v2488:focus-visible{
  outline:3px solid rgba(37,99,235,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:720px){
  html body .lopsp-member-site-header-v442 .lopsp-member-brand-split-v2488{
    flex:1 1 auto!important;
    max-width:calc(100vw - 98px)!important;
    gap:6px!important;
  }
  .lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488{gap:7px!important;min-width:0!important;}
  .lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488 strong{
    max-width:118px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .lopsp-member-site-header-v442 .lopsp-member-brand-user-v2488{
    min-height:32px!important;
    max-width:112px!important;
    padding:5px 9px!important;
    font-size:12px!important;
  }
}
@media(max-width:390px){
  .lopsp-member-site-header-v442 .lopsp-member-brand-home-v2488 strong{max-width:86px!important;font-size:16px!important;}
  .lopsp-member-site-header-v442 .lopsp-member-brand-user-v2488{max-width:88px!important;padding-inline:7px!important;}
}


/* v2.8.491 - Keep the visible Streak chain and its live status clear and consistent. */
.lopsp-streak-summary-card.is-paused{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border-color:rgba(249,115,22,.28);
  box-shadow:0 18px 40px rgba(249,115,22,.10);
}
.lopsp-streak-summary-card.is-paused span{color:#c2410c;}
.lopsp-streak-summary-card.is-paused strong{color:#7c2d12;}
.lopsp-streak-summary-card.is-paused small{color:#9a3412;}

/* v2.8.493 - Shared minimum-word feedback for every frontend Báo LOP form/popup. */
.lopsp-report-wordbar{margin-top:8px;}
.lopsp-add-form[data-lop-report-word-limit="1"] textarea[data-lop-word-count-source]:focus{
  border-color:#6366f1!important;
  box-shadow:0 0 0 3px rgba(99,102,241,.14)!important;
  outline:0!important;
}
.lopsp-add-form[data-lop-report-word-limit="1"] button[type="submit"]:disabled,
.lopsp-add-form[data-lop-report-word-limit="1"] input[type="submit"]:disabled{
  color:#475569!important;
  background:#e2e8f0!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
  opacity:1!important;
  cursor:not-allowed!important;
  transform:none!important;
}
@media(max-width:640px){
  .lopsp-report-wordbar em{width:100%;margin-left:0;}
}

/* v2.8.495: clickable Lesson/Quiz card titles in the public Study Library. */
.lop-study-task-card .lop-study-task-title-link,
.lop-study-task-card .lop-study-task-title-link:visited{
  color:inherit;
  text-decoration:none;
  border-radius:8px;
  transition:color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
.lop-study-task-card .lop-study-task-title-link:hover{
  color:#2449d8;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.lop-study-task-card .lop-study-task-title-link:focus-visible{
  outline:0;
  color:#1737b8;
  background:#eef2ff;
  box-shadow:0 0 0 3px rgba(79,70,229,.22);
}
.lop-study-task-card .lop-study-task-title-link:active{
  color:#312e81;
}


/* v2.8.496: compact public Study Library hubs and on-demand filters. */
.lop-study-compact-hub-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  min-height:0!important;
  margin:12px 0 14px!important;
  padding:14px 18px!important;
  border-radius:22px!important;
  align-items:center!important;
}
.lop-study-compact-hero-row{
  display:flex;
  align-items:center;
  min-width:0;
  gap:9px;
}
.lop-study-compact-hero-row.is-title .lopsp-kicker{
  flex:0 0 auto;
  margin:0!important;
  padding:5px 9px!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap;
}
.lop-study-compact-hero-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:12px;
  background:rgba(255,255,255,.84);
  box-shadow:0 7px 18px rgba(15,23,42,.09);
  font-size:19px;
}
.lop-study-compact-hub-hero h1{
  min-width:0;
  margin:0!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:clamp(19px,2.4vw,26px)!important;
  line-height:1.16!important;
}
.lop-study-compact-hero-row.is-meta{
  justify-content:space-between;
  gap:14px;
  padding-left:43px;
}
.lop-study-compact-hub-hero p{
  min-width:0;
  margin:0!important;
  color:#52627a!important;
  font-size:14px!important;
  line-height:1.35!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lop-study-compact-hero-actions{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:7px;
}
.lop-study-compact-hero-actions a,
.lop-study-compact-hero-actions a:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  text-decoration:none!important;
  font-size:12px;
  line-height:1;
  font-weight:950;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,color .16s ease,border-color .16s ease;
}
.lop-study-compact-hero-actions .primary,
.lop-study-compact-hero-actions .primary:visited{
  color:#fff!important;
  background:linear-gradient(135deg,#315be8,#6d3df2);
  border:1px solid transparent;
  box-shadow:0 8px 18px rgba(49,91,232,.18);
}
.lop-study-compact-hero-actions .secondary,
.lop-study-compact-hero-actions .secondary:visited{
  color:#233876!important;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(49,91,232,.18);
}
.lop-study-compact-hero-actions a:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(49,91,232,.20);
}
.lop-study-compact-hero-actions a:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px rgba(59,130,246,.25),0 10px 22px rgba(49,91,232,.18);
}
.lop-study-compact-hero-actions a:active{
  transform:translateY(0);
}

.lop-study-library-head-compact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.lop-study-library-head-compact h2{
  margin:2px 0 0!important;
  color:#0f172a;
  font-size:21px!important;
  line-height:1.2!important;
}
.lop-study-library-head-compact>strong,
.lop-study-results-head>strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:34px;
  padding:7px 11px;
  border:1px solid #dbeafe;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
}
.lop-study-quiz-hub-list .lop-study-library-head-compact>strong,
.lop-study-quiz-hub-list .lop-study-results-head>strong{
  border-color:#ddd6fe;
  background:#f5f3ff;
  color:#6d28d9;
}
.lop-study-filter-panel{
  margin:0 0 10px;
  overflow:hidden;
  border:1px solid #dbe7f5;
  border-radius:18px;
  background:linear-gradient(135deg,#fbfdff,#f5f9ff);
  box-shadow:0 9px 24px rgba(15,23,42,.045);
}
.lop-study-filter-panel>summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:10px 48px 10px 13px;
  list-style:none;
  cursor:pointer;
  color:#172554;
  user-select:none;
}
.lop-study-filter-panel>summary::-webkit-details-marker{display:none;}
.lop-study-filter-panel>summary:after{
  content:'⌄';
  position:absolute;
  right:13px;
  top:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:17px;
  font-weight:950;
  transform:translateY(-50%);
  transition:transform .16s ease,background-color .16s ease;
}
.lop-study-filter-panel[open]>summary:after{
  transform:translateY(-50%) rotate(180deg);
  background:#bfdbfe;
}
.lop-study-filter-panel>summary>span{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.lop-study-filter-panel>summary i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:29px;
  height:29px;
  border-radius:10px;
  background:#eef4ff;
  font-style:normal;
}
.lop-study-filter-panel>summary b{
  font-size:14px;
  font-weight:950;
}
.lop-study-filter-panel>summary small{
  overflow:hidden;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lop-study-filter-panel>summary:hover{
  background:rgba(219,234,254,.36);
}
.lop-study-filter-panel>summary:focus-visible{
  outline:0;
  box-shadow:inset 0 0 0 3px rgba(59,130,246,.22);
}
.lop-study-filter-panel-body{
  padding:11px 13px 13px;
  border-top:1px solid #e5edf7;
  background:rgba(255,255,255,.76);
}
.lop-study-filter-panel .lop-study-filter-form{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(150px,1fr)) auto;
  gap:9px!important;
  align-items:center!important;
  width:100%;
}
.lop-study-filter-panel .lop-study-filter-form select{
  width:100%;
  min-width:0;
  min-height:40px;
  border-color:#ccd8e8;
  border-radius:12px;
  background:#fff;
}
.lop-study-filter-panel .lop-study-filter-form select:focus{
  outline:0;
  border-color:#60a5fa;
  box-shadow:0 0 0 3px rgba(59,130,246,.16);
}
.lop-study-filter-actions{
  display:flex;
  align-items:center;
  gap:7px;
}
.lop-study-filter-actions .lopsp-upgrade-btn{
  min-height:40px!important;
  margin:0!important;
  padding:9px 13px!important;
  white-space:nowrap;
}
.lop-study-filter-reset,
.lop-study-filter-reset:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 12px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
  color:#334155!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.lop-study-filter-reset:hover{
  border-color:#94a3b8;
  background:#f8fafc;
  color:#0f172a!important;
}
.lop-study-filter-reset:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px rgba(100,116,139,.18);
}
.lop-study-filter-actions .lopsp-upgrade-btn:disabled{
  color:#64748b!important;
  background:#e2e8f0!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
  cursor:not-allowed;
}
.lop-study-category-panel.lop-study-category-compact{
  margin:0 0 12px!important;
}
.lop-study-category-compact:not([open]) .lop-study-category-head{
  min-height:48px;
}
.lop-study-results-head{
  margin-top:8px!important;
  margin-bottom:12px!important;
}

@media(max-width:860px){
  .lop-study-compact-hub-hero{
    padding:13px 14px!important;
  }
  .lop-study-compact-hero-row.is-meta{
    padding-left:0;
  }
  .lop-study-filter-panel .lop-study-filter-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lop-study-filter-actions{
    grid-column:1 / -1;
  }
}
@media(max-width:640px){
  .lop-study-compact-hub-hero{
    gap:8px!important;
    border-radius:18px!important;
  }
  .lop-study-compact-hero-row.is-title{
    gap:7px;
  }
  .lop-study-compact-hero-row.is-title .lopsp-kicker{
    display:none!important;
  }
  .lop-study-compact-hub-hero h1{
    font-size:19px!important;
  }
  .lop-study-compact-hero-row.is-meta{
    align-items:stretch;
    flex-direction:column;
    gap:8px;
  }
  .lop-study-compact-hub-hero p{
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
  }
  .lop-study-compact-hero-actions{
    width:100%;
  }
  .lop-study-compact-hero-actions a{
    flex:1 1 0;
  }
  .lop-study-library-head-compact{
    align-items:flex-start;
  }
  .lop-study-library-head-compact h2{
    font-size:19px!important;
  }
  .lop-study-filter-panel>summary{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
  .lop-study-filter-panel>summary small{
    padding-left:37px;
    max-width:calc(100% - 4px);
  }
  .lop-study-filter-panel .lop-study-filter-form{
    grid-template-columns:1fr;
  }
  .lop-study-filter-actions{
    grid-column:auto;
    align-items:stretch;
    flex-direction:column;
  }
  .lop-study-filter-actions .lopsp-upgrade-btn,
  .lop-study-filter-reset{
    width:100%;
  }
}
/* Keep the closed category summary unambiguous: expand controls appear only after opening the panel. */
.lop-study-category-compact:not([open]) .lop-study-category-actions{display:none!important;}
@media(max-width:640px){
  .lop-study-compact-hub-hero p{display:none!important;}
}

/* v2.8.498 - /lop/history/ completion-button contrast and state isolation.
   UI-only: keeps action labels readable even when the active theme styles buttons. */
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn,
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:10px 16px!important;
  border:1px solid #15803d!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#15803d,#22c55e)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 10px 22px rgba(22,163,74,.22)!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
  cursor:pointer!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn:hover:not(:disabled),
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn:hover:not(:disabled),
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn:focus-visible:not(:disabled),
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn:focus-visible:not(:disabled){
  border-color:#14532d!important;
  background:linear-gradient(135deg,#14532d,#16a34a)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 14px 28px rgba(20,83,45,.30)!important;
  transform:translateY(-1px)!important;
}
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn:focus-visible,
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn:focus-visible{
  outline:3px solid rgba(37,99,235,.32)!important;
  outline-offset:3px!important;
}
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn:active:not(:disabled),
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn:active:not(:disabled){
  border-color:#14532d!important;
  background:#14532d!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 6px 14px rgba(20,83,45,.24)!important;
  transform:translateY(0)!important;
}
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn:disabled,
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn:disabled,
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn[aria-disabled="true"],
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn[aria-disabled="true"],
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn[aria-busy="true"],
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn[aria-busy="true"]{
  border-color:#94a3b8!important;
  background:#e2e8f0!important;
  color:#334155!important;
  -webkit-text-fill-color:#334155!important;
  box-shadow:none!important;
  opacity:1!important;
  filter:none!important;
  cursor:not-allowed!important;
  transform:none!important;
}
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn *,
.lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}
@media(max-width:640px){
  .lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-form,
  .lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-form,
  .lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-reminder-done-btn,
  .lopsp-profile-page #lop-history-section .lopsp-timeline-actions .lopsp-task-done-btn{
    width:100%!important;
  }
}



/* v2.8.500: highlight lesson cards that include video support. */
.lop-study-task-card.has-video{
  border-color:rgba(59,130,246,.28);
  box-shadow:0 18px 46px rgba(37,99,235,.10);
}
.lop-study-task-card.has-video:hover{
  box-shadow:0 24px 56px rgba(37,99,235,.16);
}
.lop-study-video-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border-radius:999px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe 58%,#ede9fe);
  color:#1d4ed8;
  border:1px solid rgba(59,130,246,.24);
  box-shadow:0 10px 24px rgba(37,99,235,.10);
  font-size:12px;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
}
.lop-study-video-badge-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:linear-gradient(135deg,#2563eb,#4f46e5);
  color:#fff;
  font-size:11px;
  box-shadow:0 8px 16px rgba(79,70,229,.24);
}
.lop-study-task-card.has-video .lop-study-task-meta{
  color:#55677f;
}
@media(max-width:760px){
  .lop-study-video-badge{
    width:100%;
    justify-content:center;
  }
}


/* v2.8.502: compact two-line lesson detail flow cards. */
.lop-study-lesson-detail .lop-study-lesson-flow-order-v120.is-compact-two-line{
  margin:12px 0 16px!important;
  padding:12px!important;
  border-radius:24px!important;
  gap:0!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-order-v120.is-compact-two-line .lop-study-lesson-flow-steps-inline{
  gap:10px!important;
  align-items:stretch!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-step-card.is-compact-two-line{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:0!important;
  min-height:82px!important;
  padding:12px 13px!important;
  border-radius:20px!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-step-card.is-compact-two-line > i{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  margin:0!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-step-copy{
  position:relative!important;
  z-index:2!important;
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  gap:6px!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-step-copy > strong{
  margin:0!important;
  min-width:0!important;
  font-size:16px!important;
  line-height:1.15!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-step-copy > strong > span{
  font-size:18px!important;
}
.lop-study-lesson-detail .lop-study-lesson-flow-step-copy > em{
  margin:0!important;
  padding:5px 9px!important;
  font-size:11.5px!important;
  line-height:1!important;
}
@media(max-width:980px){
  .lop-study-lesson-detail .lop-study-lesson-flow-step-card.is-compact-two-line{
    flex:0 0 min(70vw,250px)!important;
    min-height:78px!important;
  }
}
@media(max-width:560px){
  .lop-study-lesson-detail .lop-study-lesson-flow-order-v120.is-compact-two-line{
    padding:10px!important;
    border-radius:20px!important;
  }
  .lop-study-lesson-detail .lop-study-lesson-flow-step-card.is-compact-two-line{
    flex-basis:min(76vw,240px)!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    min-height:76px!important;
    padding:10px 12px!important;
  }
}

/* v2.8.503: large, playful daily Like card for /lop-public/{username}. */
.lopsp-public-like-card{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,520px);
  align-items:center;
  gap:22px;
  margin:14px 0 18px;
  padding:20px 24px;
  overflow:hidden;
  border:1px solid rgba(236,72,153,.24);
  border-radius:30px;
  background:
    radial-gradient(circle at 8% 10%,rgba(251,207,232,.72),transparent 32%),
    radial-gradient(circle at 92% 78%,rgba(191,219,254,.72),transparent 34%),
    linear-gradient(135deg,#fff7fb 0%,#ffffff 45%,#f5f7ff 100%);
  box-shadow:0 20px 58px rgba(76,29,149,.10),0 8px 24px rgba(236,72,153,.08);
}
.lopsp-public-like-card:before,
.lopsp-public-like-card:after{
  position:absolute;
  z-index:-1;
  pointer-events:none;
  filter:drop-shadow(0 10px 12px rgba(236,72,153,.12));
  animation:lopsp-like-float 3.8s ease-in-out infinite;
}
.lopsp-public-like-card:before{content:"💗";font-size:34px;top:12px;right:38%;transform:rotate(-10deg);}
.lopsp-public-like-card:after{content:"✨";font-size:30px;bottom:10px;left:43%;animation-delay:-1.4s;}
.lopsp-public-like-copy{display:flex;flex-direction:column;gap:6px;min-width:0;}
.lopsp-public-like-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:7px 12px;
  border-radius:999px;
  color:#9d174d;
  background:#fce7f3;
  border:1px solid rgba(236,72,153,.18);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.08em;
}
.lopsp-public-like-copy strong{font-size:clamp(24px,3vw,38px);line-height:1.08;color:#172554;font-weight:1000;letter-spacing:-.025em;}
.lopsp-public-like-copy small{max-width:660px;color:#5b6478;font-size:15px;line-height:1.55;font-weight:750;}
.lopsp-public-like-button,
.lopsp-public-like-button:visited{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  min-height:104px!important;
  margin:0!important;
  padding:15px 18px!important;
  border:0!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ec4899 0%,#f43f5e 48%,#7c3aed 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:0 22px 44px rgba(219,39,119,.28),inset 0 1px 0 rgba(255,255,255,.32)!important;
  transform:translateZ(0);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
  animation:lopsp-like-breathe 2.6s ease-in-out infinite;
}
.lopsp-public-like-button:hover{
  background:linear-gradient(135deg,#db2777 0%,#e11d48 48%,#6d28d9 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-3px) scale(1.015)!important;
  box-shadow:0 28px 54px rgba(219,39,119,.34),inset 0 1px 0 rgba(255,255,255,.34)!important;
  filter:saturate(1.08)!important;
}
.lopsp-public-like-button:focus-visible{
  outline:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 0 0 5px rgba(255,255,255,.96),0 0 0 9px rgba(236,72,153,.38),0 24px 52px rgba(219,39,119,.30)!important;
}
.lopsp-public-like-button:active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(1px) scale(.985)!important;
  box-shadow:0 14px 28px rgba(219,39,119,.24)!important;
}
.lopsp-public-like-mascot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:68px;
  height:68px;
  border-radius:22px;
  background:rgba(255,255,255,.20);
  border:1px solid rgba(255,255,255,.30);
  font-size:42px;
  line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 12px 24px rgba(76,29,149,.16);
  animation:lopsp-like-mascot 1.7s ease-in-out infinite;
}
.lopsp-public-like-button-copy{display:flex;flex-direction:column;gap:4px;min-width:0;}
.lopsp-public-like-button-copy b{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(20px,2.1vw,28px);line-height:1.05;font-weight:1000;}
.lopsp-public-like-button-copy small{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:.92;font-size:13px;font-weight:800;}
.lopsp-public-like-count{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:94px;
  min-height:72px;
  padding:8px 12px;
  border-radius:22px;
  background:rgba(255,255,255,.95);
  color:#831843!important;
  -webkit-text-fill-color:#831843!important;
  box-shadow:0 12px 30px rgba(76,29,149,.15);
}
.lopsp-public-like-count strong{color:#831843!important;-webkit-text-fill-color:#831843!important;font-size:28px;line-height:1;font-weight:1000;}
.lopsp-public-like-count small{margin-top:4px;color:#9d174d!important;-webkit-text-fill-color:#9d174d!important;font-size:11px;font-weight:950;white-space:nowrap;}
.lopsp-public-like-status{grid-column:1/-1;margin:0!important;text-align:center;color:#6b4a62!important;font-size:13px;font-weight:800;line-height:1.45;}
.lopsp-public-like-button:disabled,
.lopsp-public-like-button[disabled]{
  opacity:1!important;
  cursor:default!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:linear-gradient(135deg,#10b981 0%,#14b8a6 50%,#4f46e5 100%)!important;
  box-shadow:0 20px 42px rgba(13,148,136,.22),inset 0 1px 0 rgba(255,255,255,.30)!important;
  transform:none!important;
  filter:none!important;
  animation:none!important;
}
.lopsp-public-like-button.is-loading:disabled{
  background:linear-gradient(135deg,#e879f9,#ec4899,#8b5cf6)!important;
  cursor:wait!important;
}
.lopsp-public-like-button.is-loading .lopsp-public-like-mascot{animation:lopsp-like-spin .9s linear infinite;}
.lopsp-public-like-card.is-liked{border-color:rgba(16,185,129,.28);background:radial-gradient(circle at 10% 8%,rgba(209,250,229,.85),transparent 34%),radial-gradient(circle at 92% 78%,rgba(224,231,255,.85),transparent 34%),linear-gradient(135deg,#f0fdf4,#ffffff 52%,#eef2ff);}
.lopsp-public-like-card.is-celebrating{animation:lopsp-like-card-pop .7s ease both;}
.lopsp-public-like-particles{position:absolute;z-index:5;right:24%;top:64%;width:1px;height:1px;pointer-events:none;}
.lopsp-public-like-particle{position:absolute;left:0;top:0;font-size:25px;opacity:0;animation:lopsp-like-particle 1.25s cubic-bezier(.17,.67,.28,1.2) var(--lop-like-delay,0s) forwards;}
@keyframes lopsp-like-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.008)}}
@keyframes lopsp-like-mascot{0%,100%{transform:rotate(-6deg) scale(1)}50%{transform:rotate(6deg) scale(1.08)}}
@keyframes lopsp-like-float{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-8px) rotate(8deg)}}
@keyframes lopsp-like-spin{to{transform:rotate(360deg)}}
@keyframes lopsp-like-card-pop{0%{transform:scale(1)}40%{transform:scale(1.018)}100%{transform:scale(1)}}
@keyframes lopsp-like-particle{0%{opacity:0;transform:translate(0,0) scale(.55) rotate(0)}18%{opacity:1}100%{opacity:0;transform:translate(var(--lop-like-x),var(--lop-like-y)) scale(1.25) rotate(var(--lop-like-r))}}
@media(max-width:900px){
  .lopsp-public-like-card{grid-template-columns:1fr;padding:18px;gap:15px;border-radius:26px;}
  .lopsp-public-like-copy{text-align:center;align-items:center;}
  .lopsp-public-like-copy small{max-width:620px;}
  .lopsp-public-like-particles{right:50%;top:82%;}
}
@media(max-width:560px){
  .lopsp-public-like-card{margin:10px 0 14px;padding:14px;border-radius:23px;}
  .lopsp-public-like-copy strong{font-size:25px;}
  .lopsp-public-like-button{grid-template-columns:auto minmax(0,1fr)!important;min-height:94px!important;padding:13px!important;border-radius:23px!important;}
  .lopsp-public-like-mascot{width:58px;height:58px;border-radius:19px;font-size:35px;}
  .lopsp-public-like-button-copy b{font-size:20px;}
  .lopsp-public-like-count{grid-column:1/-1;width:100%;min-height:50px;flex-direction:row;gap:8px;border-radius:17px;box-sizing:border-box;}
  .lopsp-public-like-count strong{font-size:23px;}
  .lopsp-public-like-count small{margin:0;font-size:12px;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-public-like-card:before,.lopsp-public-like-card:after,.lopsp-public-like-button,.lopsp-public-like-mascot,.lopsp-public-like-card.is-celebrating{animation:none!important;}
  .lopsp-public-like-button{transition:none!important;}
}

/* v2.8.504: playful "Thắc mắc, hỏi bài" action and shared support popup on /lop/study/. */
.lopsp-study-panel-head-help{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:wrap!important;
}
.lopsp-study-question-trigger{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  min-width:min(100%,390px)!important;
  padding:10px 13px!important;
  border:1px solid rgba(99,102,241,.30)!important;
  border-radius:22px!important;
  background:radial-gradient(circle at 90% 10%,rgba(250,204,21,.26),transparent 31%),linear-gradient(135deg,#eef2ff,#f5f3ff 52%,#ecfeff)!important;
  color:#172554!important;
  -webkit-text-fill-color:#172554!important;
  box-shadow:0 14px 32px rgba(79,70,229,.14)!important;
  cursor:pointer!important;
  text-align:left!important;
  font:inherit!important;
  line-height:1.15!important;
  overflow:hidden!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
}
.lopsp-study-question-trigger:before{
  content:"";
  position:absolute;
  inset:-50% auto auto -18%;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(255,255,255,.58);
  pointer-events:none;
}
.lopsp-study-question-trigger:hover{
  transform:translateY(-2px) rotate(-.25deg)!important;
  border-color:#6366f1!important;
  background:radial-gradient(circle at 90% 10%,rgba(250,204,21,.34),transparent 34%),linear-gradient(135deg,#e0e7ff,#ede9fe 52%,#cffafe)!important;
  box-shadow:0 20px 40px rgba(79,70,229,.20)!important;
  color:#0f1f52!important;
  -webkit-text-fill-color:#0f1f52!important;
}
.lopsp-study-question-trigger:focus-visible{
  outline:0!important;
  border-color:#4338ca!important;
  box-shadow:0 0 0 4px rgba(99,102,241,.22),0 18px 38px rgba(79,70,229,.18)!important;
}
.lopsp-study-question-trigger:active{
  transform:translateY(0) scale(.985)!important;
}
.lopsp-study-question-trigger:disabled,
.lopsp-study-question-trigger[aria-busy="true"]{
  cursor:wait!important;
  opacity:1!important;
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  background:#e2e8f0!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
  transform:none!important;
}
.lopsp-study-question-mascot{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:18px;
  background:linear-gradient(135deg,#fff,#fef3c7);
  border:1px solid rgba(245,158,11,.24);
  box-shadow:0 10px 22px rgba(245,158,11,.18);
  font-size:29px;
  transform-origin:bottom center;
  animation:lop-study-question-curious 2.7s ease-in-out infinite;
}
.lopsp-study-question-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.lopsp-study-question-copy small{
  color:#7c3aed!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}
.lopsp-study-question-copy strong{
  color:#172554!important;
  font-size:16px!important;
  font-weight:1000!important;
}
.lopsp-study-question-copy em{
  color:#64748b!important;
  font-size:12px!important;
  font-style:normal!important;
  font-weight:750!important;
}
.lopsp-study-question-badge{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,#4f46e5,#7c3aed);
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 9px 20px rgba(99,102,241,.24);
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}
@keyframes lop-study-question-curious{
  0%,100%{transform:rotate(0deg) translateY(0)}
  35%{transform:rotate(-6deg) translateY(-2px)}
  65%{transform:rotate(5deg) translateY(-1px)}
}
.lopsp-study-question-modal{
  opacity:0;
  transition:opacity .14s ease;
}
.lopsp-study-question-modal.is-open{opacity:1;}
.lopsp-study-question-panel{
  width:min(900px,96vw)!important;
  background:radial-gradient(circle at 100% 0,rgba(165,180,252,.22),transparent 35%),#fff!important;
  border:1px solid rgba(99,102,241,.18)!important;
}
.lopsp-study-question-modal-head{
  align-items:flex-start!important;
  gap:14px!important;
  margin-bottom:14px!important;
}
.lopsp-study-question-modal-head>div{min-width:0;}
.lopsp-study-question-modal-head h3{
  margin:4px 0 5px!important;
  color:#111c44!important;
  font-size:clamp(22px,3vw,30px)!important;
}
.lopsp-study-question-modal-head p{
  margin:0!important;
  color:#5b6780!important;
  line-height:1.55!important;
  max-width:720px!important;
}
.lopsp-study-question-modal-kicker{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#4338ca;
  font-size:12px;
  font-weight:950;
}
.lopsp-study-question-cheer{
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:10px;
  align-items:center;
  margin:0 0 14px;
  padding:11px 13px;
  border-radius:17px;
  background:linear-gradient(135deg,#fffbeb,#f0fdf4);
  border:1px solid rgba(34,197,94,.18);
}
.lopsp-study-question-cheer>span{
  grid-row:1/3;
  font-size:28px;
}
.lopsp-study-question-cheer strong{color:#14532d;}
.lopsp-study-question-cheer small{color:#64748b;line-height:1.4;}
.lop-study-question-form{
  padding:16px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#f8fafc,#fff)!important;
  border:1px solid #e2e8f0!important;
}
.lop-study-question-form .lopsp-upgrade-btn{
  min-height:48px!important;
  padding:12px 20px!important;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#4f46e5,#7c3aed 58%,#0891b2)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 15px 30px rgba(79,70,229,.24)!important;
  font-weight:1000!important;
}
.lop-study-question-form .lopsp-upgrade-btn:hover,
.lop-study-question-form .lopsp-upgrade-btn:focus-visible{
  background:linear-gradient(135deg,#3730a3,#6d28d9 58%,#0e7490)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 19px 36px rgba(79,70,229,.30)!important;
  outline:0!important;
}
.lop-study-question-form .lopsp-upgrade-btn:focus-visible{
  box-shadow:0 0 0 4px rgba(99,102,241,.22),0 19px 36px rgba(79,70,229,.30)!important;
}
.lop-study-question-form .lopsp-upgrade-btn:active{transform:translateY(0) scale(.99)!important;}
.lop-study-question-form .lopsp-upgrade-btn:disabled,
.lop-study-question-form .lopsp-upgrade-btn[aria-busy="true"]{
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  background:#e2e8f0!important;
  box-shadow:none!important;
  cursor:wait!important;
  transform:none!important;
  opacity:1!important;
}
@media(max-width:760px){
  .lopsp-study-panel-head-help{align-items:stretch!important;}
  .lopsp-study-question-trigger{grid-template-columns:auto minmax(0,1fr)!important;width:100%!important;min-width:0!important;}
  .lopsp-study-question-badge{grid-column:1/-1;width:100%;box-sizing:border-box;}
  .lopsp-study-question-panel{max-height:94vh!important;}
  .lopsp-study-question-cheer{grid-template-columns:auto 1fr;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-study-question-mascot{animation:none!important;}
  .lopsp-study-question-trigger,.lopsp-study-question-modal{transition:none!important;}
}

/* v2.8.505: compact fixed question bubble below the member menu on /lop/study/. */
.lopsp-study-question-bubble{
  --lop-study-question-bubble-top:88px;
  position:fixed!important;
  top:var(--lop-study-question-bubble-top)!important;
  left:14px!important;
  z-index:10070!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  max-width:calc(100vw - 28px)!important;
  pointer-events:none!important;
}
.lopsp-study-question-bubble>*{pointer-events:auto!important;}
.lopsp-study-question-bubble-toggle{
  appearance:none!important;
  -webkit-appearance:none!important;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  width:70px!important;
  min-width:70px!important;
  height:74px!important;
  padding:7px!important;
  border:2px solid rgba(99,102,241,.30)!important;
  border-radius:25px!important;
  background:radial-gradient(circle at 78% 15%,rgba(250,204,21,.40),transparent 29%),linear-gradient(145deg,#ffffff,#eef2ff 55%,#ecfeff)!important;
  color:#312e81!important;
  -webkit-text-fill-color:#312e81!important;
  box-shadow:0 18px 38px rgba(79,70,229,.20)!important;
  cursor:pointer!important;
  font:inherit!important;
  text-align:center!important;
  overflow:visible!important;
  isolation:isolate!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
}
.lopsp-study-question-bubble-toggle:hover{
  transform:translateY(-2px) rotate(-2deg)!important;
  border-color:#6366f1!important;
  background:radial-gradient(circle at 78% 15%,rgba(250,204,21,.52),transparent 31%),linear-gradient(145deg,#fff,#e0e7ff 55%,#cffafe)!important;
  box-shadow:0 23px 44px rgba(79,70,229,.27)!important;
  color:#1e1b4b!important;
  -webkit-text-fill-color:#1e1b4b!important;
}
.lopsp-study-question-bubble-toggle:focus-visible{
  outline:0!important;
  border-color:#4338ca!important;
  box-shadow:0 0 0 4px rgba(99,102,241,.24),0 20px 42px rgba(79,70,229,.23)!important;
}
.lopsp-study-question-bubble-toggle:active{transform:translateY(0) scale(.96)!important;}
.lopsp-study-question-bubble.is-expanded .lopsp-study-question-bubble-toggle{
  border-color:#4f46e5!important;
  background:linear-gradient(145deg,#eef2ff,#e0e7ff)!important;
  box-shadow:0 15px 32px rgba(79,70,229,.20)!important;
}
.lopsp-study-question-bubble-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:39px!important;
  height:39px!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#fff,#fef3c7)!important;
  border:1px solid rgba(245,158,11,.24)!important;
  box-shadow:0 8px 18px rgba(245,158,11,.20)!important;
  font-size:25px!important;
  line-height:1!important;
  transform-origin:bottom center!important;
  animation:lop-study-question-curious 2.7s ease-in-out infinite!important;
}
.lopsp-study-question-bubble-label{
  display:block!important;
  color:#3730a3!important;
  -webkit-text-fill-color:#3730a3!important;
  font-size:11px!important;
  font-weight:1000!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.lopsp-study-question-bubble-ping{
  position:absolute!important;
  top:-7px!important;
  right:-6px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:25px!important;
  height:25px!important;
  border-radius:999px!important;
  border:3px solid #fff!important;
  background:linear-gradient(135deg,#f97316,#facc15)!important;
  color:#7c2d12!important;
  -webkit-text-fill-color:#7c2d12!important;
  box-shadow:0 8px 16px rgba(249,115,22,.28)!important;
  font-size:14px!important;
  font-weight:1000!important;
  animation:lop-study-question-ping 1.8s ease-in-out infinite!important;
}
@keyframes lop-study-question-ping{
  0%,100%{transform:scale(1) rotate(0deg)}
  45%{transform:scale(1.12) rotate(7deg)}
  70%{transform:scale(.98) rotate(-4deg)}
}
.lopsp-study-question-bubble-panel[hidden]{display:none!important;}
.lopsp-study-question-bubble-panel{
  position:relative!important;
  width:min(315px,calc(100vw - 104px))!important;
  box-sizing:border-box!important;
  padding:16px!important;
  border:1px solid rgba(99,102,241,.22)!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 100% 0,rgba(250,204,21,.22),transparent 32%),linear-gradient(145deg,#fff,#f5f3ff 58%,#ecfeff)!important;
  box-shadow:0 24px 58px rgba(30,41,59,.22)!important;
  color:#172554!important;
  -webkit-text-fill-color:#172554!important;
  animation:lop-study-question-panel-in .18s ease-out both!important;
}
@keyframes lop-study-question-panel-in{
  from{opacity:0;transform:translateX(-8px) scale(.96)}
  to{opacity:1;transform:translateX(0) scale(1)}
}
.lopsp-study-question-bubble-panel:before{
  content:""!important;
  position:absolute!important;
  left:-9px!important;
  top:25px!important;
  width:17px!important;
  height:17px!important;
  background:#fff!important;
  border-left:1px solid rgba(99,102,241,.20)!important;
  border-bottom:1px solid rgba(99,102,241,.20)!important;
  transform:rotate(45deg)!important;
}
.lopsp-study-question-bubble-close{
  position:absolute!important;
  top:9px!important;
  right:9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  padding:0!important;
  border:1px solid #dbeafe!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#334155!important;
  -webkit-text-fill-color:#334155!important;
  box-shadow:0 7px 16px rgba(15,23,42,.08)!important;
  cursor:pointer!important;
  font:inherit!important;
  font-size:21px!important;
  font-weight:900!important;
}
.lopsp-study-question-bubble-close:hover{background:#eef2ff!important;color:#312e81!important;-webkit-text-fill-color:#312e81!important;}
.lopsp-study-question-bubble-close:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(99,102,241,.22)!important;}
.lopsp-study-question-bubble-kicker{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 35px 7px 0!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:#ede9fe!important;
  color:#5b21b6!important;
  -webkit-text-fill-color:#5b21b6!important;
  font-size:10px!important;
  font-weight:1000!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
}
.lopsp-study-question-bubble-panel>strong{
  display:block!important;
  margin:0 34px 5px 0!important;
  color:#111c44!important;
  -webkit-text-fill-color:#111c44!important;
  font-size:18px!important;
  font-weight:1000!important;
  line-height:1.2!important;
}
.lopsp-study-question-bubble-panel>p{
  margin:0 0 12px!important;
  color:#5b6780!important;
  -webkit-text-fill-color:#5b6780!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.5!important;
}
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:10px 14px!important;
  border:0!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#4f46e5,#7c3aed 58%,#0891b2)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 13px 26px rgba(79,70,229,.24)!important;
  cursor:pointer!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:1000!important;
  line-height:1.2!important;
  text-align:center!important;
  overflow:visible!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger:before{display:none!important;}
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger:hover{
  transform:translateY(-1px)!important;
  background:linear-gradient(135deg,#3730a3,#6d28d9 58%,#0e7490)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 17px 32px rgba(79,70,229,.30)!important;
}
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 4px rgba(99,102,241,.22),0 17px 32px rgba(79,70,229,.30)!important;
}
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger:active{transform:translateY(0) scale(.985)!important;}
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger:disabled,
.lopsp-study-question-bubble-panel .lopsp-study-question-trigger[aria-busy="true"]{
  background:#e2e8f0!important;
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  box-shadow:none!important;
  cursor:wait!important;
  transform:none!important;
}
@media(max-width:782px){
  .lopsp-study-question-bubble{
    left:10px!important;
    max-width:calc(100vw - 20px)!important;
  }
  .lopsp-study-question-bubble-toggle{
    width:64px!important;
    min-width:64px!important;
    height:68px!important;
    border-radius:22px!important;
  }
  .lopsp-study-question-bubble-icon{width:35px!important;height:35px!important;font-size:22px!important;}
  .lopsp-study-question-bubble-panel{
    width:calc(100vw - 94px)!important;
    max-width:310px!important;
    padding:14px!important;
    border-radius:21px!important;
  }
}
@media(max-width:420px){
  .lopsp-study-question-bubble.is-expanded{
    right:10px!important;
  }
  .lopsp-study-question-bubble.is-expanded .lopsp-study-question-bubble-toggle{display:none!important;}
  .lopsp-study-question-bubble-panel{
    width:calc(100vw - 20px)!important;
    max-width:none!important;
  }
  .lopsp-study-question-bubble-panel:before{display:none!important;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-study-question-bubble-icon,
  .lopsp-study-question-bubble-ping,
  .lopsp-study-question-bubble-panel{animation:none!important;}
  .lopsp-study-question-bubble-toggle,
  .lopsp-study-question-bubble-panel .lopsp-study-question-trigger{transition:none!important;}
}


/* v2.8.508: playful focus/idle reminder shown only on active learning screens. */
.lop-focus-reminder[hidden]{display:none!important}
.lop-focus-reminder{position:fixed;inset:0;z-index:100080;display:flex;align-items:center;justify-content:center;padding:18px}
.lop-focus-reminder-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.lop-focus-reminder-card{position:relative;width:min(520px,100%);border:1px solid rgba(129,140,248,.35);border-radius:34px;padding:30px;background:radial-gradient(circle at 92% 8%,rgba(250,204,21,.22),transparent 24%),radial-gradient(circle at 4% 96%,rgba(34,211,238,.20),transparent 30%),linear-gradient(145deg,#fff,#f5f3ff 58%,#eff6ff);box-shadow:0 34px 100px rgba(15,23,42,.32),0 0 0 8px rgba(255,255,255,.16);overflow:hidden;text-align:center;animation:lopFocusCardIn .34s cubic-bezier(.2,.9,.2,1)}
.lop-focus-reminder-card:before,.lop-focus-reminder-card:after{content:"";position:absolute;border-radius:999px;pointer-events:none}
.lop-focus-reminder-card:before{width:150px;height:150px;right:-70px;bottom:-70px;background:rgba(96,165,250,.14)}
.lop-focus-reminder-card:after{width:90px;height:90px;left:-44px;top:38%;background:rgba(167,139,250,.13)}
.lop-focus-reminder-close{position:absolute;z-index:2;top:14px;right:14px;width:40px;height:40px;border:1px solid #dbeafe;border-radius:999px;background:#fff;color:#334155;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.10);transition:transform .16s ease,background .16s ease,color .16s ease}
.lop-focus-reminder-close:hover{transform:rotate(8deg) scale(1.04);background:#eff6ff;color:#1d4ed8}
.lop-focus-reminder-close:focus-visible{outline:4px solid rgba(79,70,229,.24);outline-offset:2px}
.lop-focus-reminder-visual{position:relative;width:112px;height:112px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;border-radius:36px;background:linear-gradient(145deg,#fef3c7,#fff7ed 50%,#ede9fe);box-shadow:0 18px 42px rgba(124,58,237,.18),inset 0 0 0 5px rgba(255,255,255,.72);transform:rotate(-3deg)}
.lop-focus-reminder-emoji{font-size:62px;filter:drop-shadow(0 9px 10px rgba(15,23,42,.16));animation:lopFocusOwl 2.2s ease-in-out infinite}
.lop-focus-reminder-visual b{position:absolute;right:-5px;top:-7px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,#fb7185,#f97316);color:#fff;font-size:23px;box-shadow:0 10px 22px rgba(244,63,94,.28);animation:lopFocusBadge 1.35s ease-in-out infinite}
.lop-focus-reminder-visual i{position:absolute;left:-5px;bottom:-4px;font-style:normal;font-size:30px;animation:lopFocusSpark 1.8s ease-in-out infinite}
.lop-focus-reminder-badge{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border-radius:999px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:12px;font-weight:950;letter-spacing:.03em;box-shadow:0 12px 26px rgba(79,70,229,.24)}
.lop-focus-reminder-card h2{position:relative;z-index:1;margin:14px auto 8px;color:#0f172a;font-size:clamp(25px,5vw,34px);line-height:1.12;font-weight:1000;max-width:430px}
.lop-focus-reminder-card>p{position:relative;z-index:1;margin:0 auto;color:#53627a;font-size:16px;line-height:1.6;max-width:440px}
.lop-focus-reminder-stats{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 14px}
.lop-focus-reminder-stats>span{display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid rgba(99,102,241,.16);border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 12px 28px rgba(15,23,42,.06)}
.lop-focus-reminder-stats small{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.lop-focus-reminder-stats strong{color:#3730a3;font-size:25px;line-height:1.1;font-weight:1000}
.lop-focus-reminder-stats em{color:#475569;font-size:12px;font-style:normal;font-weight:800}
.lop-focus-reminder-tip{position:relative;z-index:1;display:flex;align-items:flex-start;gap:10px;text-align:left;padding:13px 15px;border:1px dashed rgba(14,165,233,.34);border-radius:18px;background:linear-gradient(135deg,#ecfeff,#f0f9ff)}
.lop-focus-reminder-tip>span{font-size:22px;flex:0 0 auto}
.lop-focus-reminder-tip p{margin:0;color:#0f4c5c;font-size:13px;line-height:1.5}
.lop-focus-reminder-actions{position:relative;z-index:1;display:flex;gap:10px;margin-top:18px}
.lop-focus-reminder-actions button{min-height:50px;border-radius:999px;padding:12px 18px;font-size:15px;font-weight:1000;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,background .16s ease,color .16s ease}
.lop-focus-reminder-primary{flex:1;border:0;background:linear-gradient(135deg,#4f46e5,#2563eb 55%,#06b6d4);color:#fff!important;box-shadow:0 16px 34px rgba(37,99,235,.28)}
.lop-focus-reminder-primary:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 20px 42px rgba(37,99,235,.34)}
.lop-focus-reminder-secondary{border:1px solid #c7d2fe;background:#fff;color:#3730a3!important;box-shadow:0 10px 24px rgba(15,23,42,.07)}
.lop-focus-reminder-secondary:hover{transform:translateY(-1px);background:#eef2ff;color:#312e81!important}
.lop-focus-reminder-actions button:focus-visible{outline:4px solid rgba(79,70,229,.24);outline-offset:3px}
.lop-focus-reminder-actions button:disabled{background:#e2e8f0!important;color:#64748b!important;border-color:#cbd5e1!important;box-shadow:none!important;cursor:not-allowed;transform:none!important}
.lop-focus-reminder-foot{position:relative;z-index:1;display:block;margin-top:12px;color:#64748b;font-size:11px;font-weight:800}
.lop-focus-reminder-open{overflow:hidden}
@keyframes lopFocusCardIn{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lopFocusOwl{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(3deg)}}
@keyframes lopFocusBadge{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
@keyframes lopFocusSpark{0%,100%{transform:rotate(-8deg) scale(.9);opacity:.65}50%{transform:rotate(9deg) scale(1.12);opacity:1}}
@media(max-width:640px){.lop-focus-reminder{padding:10px;align-items:flex-end}.lop-focus-reminder-card{border-radius:30px 30px 18px 18px;padding:24px 16px 20px;max-height:94vh;overflow:auto}.lop-focus-reminder-visual{width:88px;height:88px;border-radius:28px}.lop-focus-reminder-emoji{font-size:49px}.lop-focus-reminder-stats{grid-template-columns:1fr}.lop-focus-reminder-actions{flex-direction:column}.lop-focus-reminder-actions button{width:100%}.lop-focus-reminder-secondary{order:2}}
@media(prefers-reduced-motion:reduce){.lop-focus-reminder-card,.lop-focus-reminder-emoji,.lop-focus-reminder-visual b,.lop-focus-reminder-visual i{animation:none!important}.lop-focus-reminder-actions button,.lop-focus-reminder-close{transition:none!important}}


/* v2.8.511: stack Lesson/Quiz Flow Bubble below the Hỏi bài bubble on detail pages. */
@media(min-width:981px){
  body.lop-support-body.lop-study-question-flow-stack .lop-study-lesson-flow-bubbles,
  body.lop-support-body.lop-study-question-flow-stack .lop-study-lesson-flow-bubbles-v117{
    z-index:9995!important;
    scrollbar-width:thin!important;
    scrollbar-color:#c7d2fe transparent!important;
    overscroll-behavior:contain!important;
  }
  body.lop-support-body.lop-study-question-flow-stack .lop-study-lesson-flow-bubbles::-webkit-scrollbar,
  body.lop-support-body.lop-study-question-flow-stack .lop-study-lesson-flow-bubbles-v117::-webkit-scrollbar{
    width:5px!important;
  }
  body.lop-support-body.lop-study-question-flow-stack .lop-study-lesson-flow-bubbles::-webkit-scrollbar-thumb,
  body.lop-support-body.lop-study-question-flow-stack .lop-study-lesson-flow-bubbles-v117::-webkit-scrollbar-thumb{
    background:#c7d2fe!important;
    border-radius:999px!important;
  }
}


/* v2.8.515 - compact report filters + external-course progress links/badges. */
.lopsp-report-filter.lopsp-report-filter-advanced{
  grid-template-columns:minmax(150px,.72fr) minmax(310px,1.35fr) minmax(210px,1fr) minmax(185px,.85fr) auto;
  gap:12px;
  align-items:stretch;
  padding:14px;
}
.lopsp-report-filter-field,.lopsp-report-date-cluster{min-width:0;margin:0;border:0;padding:0;}
.lopsp-report-filter-field{display:flex;flex-direction:column;gap:7px;justify-content:flex-end;}
.lopsp-report-date-cluster{border:1px solid #dbe6f5;border-radius:16px;background:linear-gradient(135deg,#f8fbff,#fff);padding:7px 10px 10px;}
.lopsp-report-date-cluster legend{padding:0 6px;color:#1f2a55;font-size:12px;line-height:1;font-weight:900;}
.lopsp-report-date-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:end;}
.lopsp-report-date-pair label{display:flex;flex-direction:column;gap:4px;min-width:0;}
.lopsp-report-date-pair label span{font-size:11px;color:#66728f;font-weight:900;}
.lopsp-report-date-pair i{align-self:center;font-style:normal;color:#6b7fa8;font-weight:1000;padding-top:14px;}
.lopsp-report-filter.lopsp-report-filter-advanced select,.lopsp-report-filter.lopsp-report-filter-advanced input{min-height:44px;padding:10px 12px;border-radius:12px;}
.lopsp-report-filter-actions{display:flex;flex-direction:column;gap:7px;justify-content:flex-end;min-width:128px;}
.lopsp-report-filter-actions button{min-height:44px;padding:11px 15px;cursor:pointer;}
.lopsp-report-filter-actions a{display:flex;align-items:center;justify-content:center;min-height:32px;border-radius:10px;background:#f1f5f9;color:#475569;text-decoration:none;font-size:12px;font-weight:900;}
.lopsp-report-filter-actions a:hover,.lopsp-report-filter-actions a:focus-visible{background:#e2e8f0;color:#0f172a;outline:2px solid #93c5fd;outline-offset:2px;}
.lopsp-report-active-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-6px 0 18px;padding:10px 14px;border:1px solid #c7ddff;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#f0fdf4);color:#334155;}
.lopsp-report-active-filter span{font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.05em;color:#4263b6;}
.lopsp-report-active-filter strong{color:#13205b;font-size:14px;}
.lopsp-report-active-filter em{font-style:normal;border-radius:999px;background:#fff;color:#166534;padding:4px 8px;font-size:11px;font-weight:900;}
.lopsp-report-active-filter small{margin-left:auto;color:#64748b;font-weight:800;}
.lop-study-external-course-title-link{display:inline-flex;flex-direction:column;gap:2px;min-width:0;text-decoration:none;border-radius:10px;padding:3px 5px;margin:-3px -5px;}
.lop-study-external-course-title-link strong{transition:color .16s ease;}
.lop-study-external-course-title-link small{font-size:11px;line-height:1.2;color:#3154d4;font-weight:900;}
.lop-study-external-course-title-link:hover,.lop-study-external-course-title-link:focus-visible{background:#eef4ff;outline:2px solid #93c5fd;outline-offset:1px;}
.lop-study-external-course-title-link:hover strong,.lop-study-external-course-title-link:focus-visible strong{color:#2445c7!important;}
.lop-study-external-lop-badge{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:6px 10px!important;border-radius:999px!important;background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;color:#9a3412!important;border:1px solid #fdba74!important;font-size:11px!important;font-weight:900!important;line-height:1!important;box-shadow:0 5px 14px rgba(249,115,22,.12)!important;}
.lop-study-external-lop-badge b{font-size:13px;color:#c2410c;}
@media(max-width:1120px){
  .lopsp-report-filter.lopsp-report-filter-advanced{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lopsp-report-filter-actions{grid-column:1/-1;flex-direction:row;min-width:0;}
  .lopsp-report-filter-actions button{flex:1;}
  .lopsp-report-filter-actions a{min-width:100px;min-height:44px;}
}
@media(max-width:620px){
  .lopsp-report-filter.lopsp-report-filter-advanced{grid-template-columns:1fr;padding:12px;}
  .lopsp-report-date-pair{grid-template-columns:1fr;}
  .lopsp-report-date-pair i{display:none;}
  .lopsp-report-filter-actions{grid-column:auto;}
  .lopsp-report-active-filter{align-items:flex-start;}
  .lopsp-report-active-filter small{width:100%;margin-left:0;}
  .lop-study-external-item-title{align-items:flex-start!important;}
  .lop-study-external-course-title-link{width:100%;}
}

/* v2.8.516: unify learning goals and Báo LOP progress attribution. */
.lopsp-settings-goal-title {
  align-items: flex-start;
  gap: 12px;
}
.lopsp-settings-goal-title-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.lopsp-goal-progress-link {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: #172554;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.lopsp-goal-progress-link small {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}
.lopsp-goal-progress-link:hover,
.lopsp-goal-progress-link:focus-visible {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lopsp-goal-progress-link:focus-visible {
  outline: 3px solid rgba(37,99,235,.25);
  outline-offset: 4px;
  border-radius: 8px;
}
.lopsp-goal-lop-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: linear-gradient(135deg,#fff7ed,#ffedd5);
  color: #9a3412;
  box-shadow: 0 8px 20px rgba(234,88,12,.12);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.lopsp-goal-lop-badge b {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 12px;
}
.lopsp-settings-goal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lopsp-goal-report-btn {
  border-color: #fb923c !important;
  background: linear-gradient(135deg,#f97316,#ea580c) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(234,88,12,.18);
}
.lopsp-goal-report-btn:hover,
.lopsp-goal-report-btn:focus-visible {
  border-color: #c2410c !important;
  background: linear-gradient(135deg,#ea580c,#c2410c) !important;
  color: #fff !important;
}
.lopsp-report-goal-field {
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}
.lopsp-report-goal-field select {
  width: 100%;
  min-height: 44px;
  color: #172554;
  background: #fff;
}
.lopsp-report-filter-advanced {
  grid-template-columns: minmax(150px,.8fr) minmax(300px,1.4fr) minmax(180px,1fr) minmax(180px,1fr) minmax(160px,.9fr) auto;
}
@media (max-width: 1100px) {
  .lopsp-report-filter-advanced { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lopsp-report-date-cluster, .lopsp-report-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lopsp-settings-goal-title { flex-direction: column; }
  .lopsp-goal-lop-badge { align-self: flex-start; }
  .lopsp-settings-goal-actions > * { width: 100%; justify-content: center; }
  .lopsp-report-filter-advanced { grid-template-columns: 1fr; }
  .lopsp-report-date-cluster, .lopsp-report-filter-actions { grid-column: auto; }
}


/* v2.8.522: thank-you English question gift after a valid Public Profile Like. */
.lopsp-public-like-gift-open{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  width:min(100%,680px);
  margin:0 auto!important;
  padding:12px 16px!important;
  border:1px solid rgba(79,70,229,.22)!important;
  border-radius:19px!important;
  background:linear-gradient(135deg,#eef2ff,#ffffff 55%,#ecfeff)!important;
  color:#1e1b4b!important;
  -webkit-text-fill-color:#1e1b4b!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:0 10px 26px rgba(79,70,229,.10)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.lopsp-public-like-gift-open[hidden]{display:none!important;}
.lopsp-public-like-gift-open>span:first-child{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#4f46e5;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:25px;box-shadow:0 10px 22px rgba(79,70,229,.24);}
.lopsp-public-like-gift-open>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0;}
.lopsp-public-like-gift-open strong{color:#312e81!important;-webkit-text-fill-color:#312e81!important;font-size:15px;font-weight:1000;line-height:1.25;}
.lopsp-public-like-gift-open small{color:#5b6478!important;-webkit-text-fill-color:#5b6478!important;font-size:12px;font-weight:750;line-height:1.35;}
.lopsp-public-like-gift-open em{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#4338ca!important;-webkit-text-fill-color:#4338ca!important;font-size:20px;font-style:normal;font-weight:1000;box-shadow:0 6px 16px rgba(79,70,229,.12);}
.lopsp-public-like-gift-open:hover{transform:translateY(-2px)!important;border-color:rgba(79,70,229,.42)!important;box-shadow:0 16px 32px rgba(79,70,229,.16)!important;background:linear-gradient(135deg,#e0e7ff,#ffffff 55%,#cffafe)!important;}
.lopsp-public-like-gift-open:focus-visible{outline:0!important;box-shadow:0 0 0 4px #fff,0 0 0 8px rgba(79,70,229,.34),0 14px 30px rgba(79,70,229,.16)!important;}
.lopsp-public-like-gift-open:active{transform:translateY(0) scale(.99)!important;}
.lopsp-public-like-gift-open:disabled{opacity:.62!important;cursor:wait!important;transform:none!important;}
html.lopsp-like-gift-open,body.lopsp-like-gift-open{overflow:hidden!important;}
.lopsp-like-gift-modal[hidden]{display:none!important;}
.lopsp-like-gift-modal{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:18px;box-sizing:border-box;}
.lopsp-like-gift-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.72);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);}
.lopsp-like-gift-dialog{
  position:relative;
  z-index:1;
  width:min(920px,100%);
  max-height:min(92vh,860px);
  overflow:auto;
  border:1px solid rgba(255,255,255,.72);
  border-radius:34px;
  background:#fff;
  color:#172554;
  box-shadow:0 35px 100px rgba(15,23,42,.36);
  outline:0;
  animation:lopsp-like-gift-enter .34s cubic-bezier(.2,.78,.25,1) both;
}
.lopsp-like-gift-close{
  position:absolute!important;z-index:5;top:14px;right:14px;
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;padding:0!important;
  border:1px solid rgba(255,255,255,.7)!important;border-radius:50%!important;
  background:rgba(15,23,42,.64)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:28px!important;line-height:1!important;font-weight:500!important;cursor:pointer!important;
  box-shadow:0 8px 24px rgba(15,23,42,.22)!important;transition:transform .16s ease,background .16s ease!important;
}
.lopsp-like-gift-close:hover{background:#0f172a!important;transform:rotate(5deg) scale(1.06)!important;}
.lopsp-like-gift-close:focus-visible{outline:0!important;box-shadow:0 0 0 4px rgba(255,255,255,.98),0 0 0 8px rgba(56,189,248,.55)!important;}
.lopsp-like-gift-hero{position:relative;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);align-items:center;gap:28px;min-height:280px;padding:30px 44px;overflow:hidden;background:radial-gradient(circle at 12% 15%,rgba(254,240,138,.96),transparent 24%),radial-gradient(circle at 87% 12%,rgba(196,181,253,.88),transparent 30%),linear-gradient(135deg,#0f766e 0%,#0ea5e9 46%,#4f46e5 100%);}
.lopsp-like-gift-hero:before,.lopsp-like-gift-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none;border:1px solid rgba(255,255,255,.18);}
.lopsp-like-gift-hero:before{width:320px;height:320px;right:-130px;bottom:-210px;box-shadow:0 0 0 42px rgba(255,255,255,.05),0 0 0 84px rgba(255,255,255,.035);}
.lopsp-like-gift-hero:after{width:180px;height:180px;left:-90px;top:-90px;box-shadow:0 0 0 30px rgba(255,255,255,.05);}
.lopsp-like-gift-illustration{position:relative;display:grid;place-items:center;width:min(280px,100%);aspect-ratio:1/.78;margin:auto;isolation:isolate;}
.lopsp-like-gift-book{position:relative;z-index:2;display:grid;place-items:center;width:152px;height:116px;border-radius:24px 24px 30px 30px;background:linear-gradient(145deg,#fff,#dbeafe);color:#3730a3!important;-webkit-text-fill-color:#3730a3!important;font-size:34px;font-weight:1000;letter-spacing:.08em;transform:rotate(-4deg);box-shadow:0 24px 45px rgba(15,23,42,.24),inset 0 -12px 0 rgba(99,102,241,.12);}
.lopsp-like-gift-book:before{content:"";position:absolute;left:50%;top:12px;bottom:12px;width:2px;background:rgba(79,70,229,.18);}
.lopsp-like-gift-book:after{content:"";position:absolute;left:16px;right:16px;bottom:-12px;height:22px;border-radius:50%;background:rgba(15,23,42,.20);filter:blur(10px);z-index:-1;}
.lopsp-like-gift-sun{position:absolute;z-index:0;display:grid;place-items:center;width:90px;height:90px;top:0;left:18px;border-radius:50%;background:#fef08a;color:#a16207!important;-webkit-text-fill-color:#a16207!important;font-size:40px;box-shadow:0 0 0 14px rgba(254,240,138,.17),0 0 40px rgba(254,240,138,.48);animation:lopsp-gift-sun 4s linear infinite;}
.lopsp-like-gift-orbit{position:absolute;z-index:3;display:grid;place-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.94);color:#1e1b4b!important;-webkit-text-fill-color:#1e1b4b!important;font-size:13px;font-weight:1000;box-shadow:0 12px 24px rgba(15,23,42,.18);animation:lopsp-gift-float 2.8s ease-in-out infinite;}
.lopsp-like-gift-orbit.one{top:24px;right:6px;}.lopsp-like-gift-orbit.two{left:4px;bottom:12px;animation-delay:-1s;}.lopsp-like-gift-orbit.three{right:20px;bottom:2px;background:#fce7f3;color:#9d174d!important;-webkit-text-fill-color:#9d174d!important;animation-delay:-1.7s;}
.lopsp-like-gift-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;}
.lopsp-like-gift-kicker{display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(255,255,255,.18);color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px;font-weight:1000;letter-spacing:.08em;}
.lopsp-like-gift-hero-copy h2{margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.04!important;font-weight:1000!important;letter-spacing:-.035em!important;text-shadow:0 3px 18px rgba(15,23,42,.16);}
.lopsp-like-gift-hero-copy p{max-width:600px;margin:0!important;color:#ecfeff!important;-webkit-text-fill-color:#ecfeff!important;font-size:16px!important;line-height:1.6!important;font-weight:700!important;}
.lopsp-like-gift-hero-copy p strong{color:#fef08a!important;-webkit-text-fill-color:#fef08a!important;font-weight:1000!important;}
.lopsp-like-gift-content{padding:28px 42px 24px;background:radial-gradient(circle at 100% 0,rgba(224,231,255,.58),transparent 30%),#fff;}
.lopsp-like-gift-loading{display:flex;align-items:center;justify-content:center;gap:14px;min-height:220px;color:#334155;font-size:16px;font-weight:900;text-align:center;}
.lopsp-like-gift-loading span{width:38px;height:38px;border:4px solid #dbeafe;border-top-color:#4f46e5;border-radius:50%;animation:lopsp-like-spin .8s linear infinite;}
.lopsp-like-gift-error{padding:18px 20px;border:1px solid #fecaca;border-radius:18px;background:#fff1f2;color:#9f1239!important;-webkit-text-fill-color:#9f1239!important;font-weight:850;line-height:1.5;}
.lopsp-like-gift-form{display:flex;flex-direction:column;gap:16px;}
.lopsp-like-gift-meta{display:inline-flex;align-self:flex-start;padding:7px 11px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.06em;}
.lopsp-like-gift-form h3{margin:0!important;color:#172554!important;font-size:clamp(22px,3vw,31px)!important;line-height:1.15!important;font-weight:1000!important;}
.lopsp-like-gift-question{margin:0!important;color:#334155!important;font-size:18px!important;line-height:1.62!important;font-weight:800!important;}
.lopsp-like-gift-media{display:grid;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:20px;background:#f8fafc;}
.lopsp-like-gift-media img{display:block;width:100%;max-height:330px;object-fit:contain;border-radius:14px;background:#fff;}
.lopsp-like-gift-media audio{width:100%;}
.lopsp-like-gift-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.lopsp-like-gift-option{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-height:66px;padding:12px 14px;border:2px solid #e2e8f0;border-radius:18px;background:#fff;color:#334155;cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.055);transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;}
.lopsp-like-gift-option:hover{border-color:#93c5fd;background:#f8fbff;transform:translateY(-1px);box-shadow:0 12px 26px rgba(37,99,235,.10);}
.lopsp-like-gift-option:focus-within{border-color:#4f46e5;box-shadow:0 0 0 4px rgba(99,102,241,.18);}
.lopsp-like-gift-option input{position:absolute;opacity:0;pointer-events:none;}
.lopsp-like-gift-option.is-selected,.lopsp-like-gift-option:has(input:checked){border-color:#4f46e5;background:#eef2ff;box-shadow:0 0 0 3px rgba(99,102,241,.13),0 12px 28px rgba(79,70,229,.12);}
.lopsp-like-gift-option-marker{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eef2ff;color:#4338ca;font-size:14px;font-weight:1000;transition:background .16s ease,color .16s ease,transform .16s ease;}
.lopsp-like-gift-option.is-selected .lopsp-like-gift-option-marker,.lopsp-like-gift-option:has(input:checked) .lopsp-like-gift-option-marker{background:#4f46e5;color:#fff;transform:scale(1.05);}
.lopsp-like-gift-option-copy{color:#334155!important;-webkit-text-fill-color:#334155!important;font-size:15px;font-weight:850;line-height:1.45;}
.lopsp-like-gift-text-answer{display:flex;flex-direction:column;gap:8px;}
.lopsp-like-gift-text-answer span{color:#475569;font-size:13px;font-weight:900;}
.lopsp-like-gift-text-answer input{width:100%;min-height:54px;padding:12px 15px;border:2px solid #cbd5e1;border-radius:16px;background:#fff;color:#172554;font-size:17px;font-weight:800;box-sizing:border-box;}
.lopsp-like-gift-text-answer input:hover{border-color:#93c5fd;}.lopsp-like-gift-text-answer input:focus{outline:0;border-color:#4f46e5;box-shadow:0 0 0 4px rgba(99,102,241,.18);}
.lopsp-like-gift-submit{align-self:flex-start;min-width:210px;min-height:52px;padding:12px 20px!important;border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important;font-weight:1000!important;cursor:pointer!important;box-shadow:0 14px 30px rgba(79,70,229,.25)!important;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;}
.lopsp-like-gift-submit:hover{transform:translateY(-2px)!important;box-shadow:0 18px 36px rgba(79,70,229,.32)!important;filter:saturate(1.1)!important;}.lopsp-like-gift-submit:focus-visible{outline:0!important;box-shadow:0 0 0 4px #fff,0 0 0 8px rgba(79,70,229,.35),0 15px 30px rgba(79,70,229,.28)!important;}.lopsp-like-gift-submit:active{transform:translateY(0) scale(.985)!important;}.lopsp-like-gift-submit:disabled,.lopsp-like-gift-submit.is-loading{cursor:wait!important;opacity:.72!important;transform:none!important;}
.lopsp-like-gift-result-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px;border:1px solid #dbeafe;border-radius:24px;text-align:center;background:linear-gradient(145deg,#f8fafc,#fff);}
.lopsp-like-gift-result-card.is-correct{border-color:#a7f3d0;background:radial-gradient(circle at 50% 0,rgba(167,243,208,.5),transparent 38%),linear-gradient(145deg,#ecfdf5,#fff);}.lopsp-like-gift-result-card.is-incorrect{border-color:#fed7aa;background:radial-gradient(circle at 50% 0,rgba(254,215,170,.5),transparent 38%),linear-gradient(145deg,#fff7ed,#fff);}
.lopsp-like-gift-result-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:24px;background:#fff;font-size:40px;box-shadow:0 14px 34px rgba(15,23,42,.12);}
.lopsp-like-gift-result-card h3{margin:0!important;color:#172554!important;font-size:26px!important;line-height:1.2!important;font-weight:1000!important;}.lopsp-like-gift-result-card>p{max-width:650px;margin:0!important;color:#475569!important;font-size:15px!important;line-height:1.55!important;font-weight:750!important;}
.lopsp-like-gift-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin-top:8px;}.lopsp-like-gift-result-grid>div{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;text-align:left;}.lopsp-like-gift-result-grid span{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}.lopsp-like-gift-result-grid strong{color:#172554!important;-webkit-text-fill-color:#172554!important;font-size:15px;font-weight:1000;line-height:1.45;}
.lopsp-like-gift-explanation{width:100%;padding:14px 16px;border-radius:16px;background:#eff6ff;text-align:left!important;color:#1e3a8a!important;-webkit-text-fill-color:#1e3a8a!important;box-sizing:border-box;}.lopsp-like-gift-result-thanks{margin-top:4px;padding:11px 15px;border-radius:999px;background:#fce7f3;color:#9d174d;font-size:13px;font-weight:1000;}
.lopsp-like-gift-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 28px;border-top:1px solid #e2e8f0;background:#f8fafc;}.lopsp-like-gift-footer span{color:#475569;font-size:13px;font-weight:900;}.lopsp-like-gift-footer button{padding:9px 14px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;color:#334155!important;-webkit-text-fill-color:#334155!important;font-size:13px!important;font-weight:900!important;cursor:pointer!important;}.lopsp-like-gift-footer button:hover{border-color:#818cf8!important;color:#3730a3!important;-webkit-text-fill-color:#3730a3!important;background:#eef2ff!important;}.lopsp-like-gift-footer button:focus-visible{outline:0!important;box-shadow:0 0 0 4px rgba(99,102,241,.22)!important;}
@keyframes lopsp-like-gift-enter{from{opacity:0;transform:translateY(22px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lopsp-gift-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@keyframes lopsp-gift-sun{to{transform:rotate(360deg)}}
@media(max-width:760px){.lopsp-like-gift-modal{padding:8px;align-items:end}.lopsp-like-gift-dialog{max-height:96vh;border-radius:28px 28px 18px 18px}.lopsp-like-gift-hero{grid-template-columns:1fr;gap:12px;min-height:0;padding:24px 20px 22px}.lopsp-like-gift-illustration{width:220px;aspect-ratio:1/.58}.lopsp-like-gift-book{width:120px;height:82px;border-radius:18px 18px 22px 22px;font-size:26px}.lopsp-like-gift-sun{width:68px;height:68px;font-size:30px}.lopsp-like-gift-orbit{padding:6px 9px;font-size:11px}.lopsp-like-gift-hero-copy{align-items:center;text-align:center}.lopsp-like-gift-hero-copy h2{font-size:31px!important}.lopsp-like-gift-hero-copy p{font-size:14px!important}.lopsp-like-gift-content{padding:22px 16px}.lopsp-like-gift-answers{grid-template-columns:1fr}.lopsp-like-gift-submit{width:100%;align-self:stretch}.lopsp-like-gift-footer{padding:14px 16px;flex-direction:column;text-align:center}.lopsp-like-gift-footer button{width:100%}.lopsp-like-gift-close{top:10px;right:10px;width:40px!important;height:40px!important}.lopsp-like-gift-result-grid{grid-template-columns:1fr}.lopsp-like-gift-result-card{padding:20px 14px}.lopsp-like-gift-result-card h3{font-size:22px!important}}
@media(max-width:560px){.lopsp-public-like-gift-open{padding:10px 12px!important;border-radius:16px!important}.lopsp-public-like-gift-open>span:first-child{width:40px;height:40px;border-radius:13px;font-size:22px}.lopsp-public-like-gift-open em{display:none}.lopsp-like-gift-question{font-size:16px!important}.lopsp-like-gift-option{min-height:58px;padding:10px 11px;border-radius:15px}.lopsp-like-gift-option-marker{width:34px;height:34px;border-radius:10px}.lopsp-like-gift-result-thanks{border-radius:16px}}
@media(prefers-reduced-motion:reduce){.lopsp-public-like-gift-open,.lopsp-like-gift-dialog,.lopsp-like-gift-sun,.lopsp-like-gift-orbit,.lopsp-like-gift-loading span,.lopsp-like-gift-option,.lopsp-like-gift-submit,.lopsp-like-gift-close{animation:none!important;transition:none!important}}


/* v2.8.522: optional standalone reading/transcript context for Like gifts. */
.lopsp-like-gift-support{margin:12px 0;padding:12px 14px;border:1px solid rgba(37,99,235,.18);border-radius:14px;background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(248,250,252,.98));color:#1e293b;max-height:180px;overflow:auto}
.lopsp-like-gift-support strong{display:block;margin-bottom:5px;color:#1d4ed8;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.lopsp-like-gift-support p{margin:0;white-space:pre-line;line-height:1.6;font-size:14px}
@media (max-width:640px){.lopsp-like-gift-support{max-height:145px;padding:10px 12px}}


/* v2.8.522: compact, cleaner thank-you popup UI for Public Profile Like gifts. */
.lopsp-like-gift-dialog{
  width:min(760px,100%);
  max-height:min(90vh,780px);
  border-radius:28px;
  box-shadow:0 28px 80px rgba(15,23,42,.32);
}
.lopsp-like-gift-close{
  top:12px;
  right:12px;
  width:40px!important;
  height:40px!important;
  font-size:24px!important;
}
.lopsp-like-gift-hero{
  grid-template-columns:minmax(180px,.72fr) minmax(0,1.28fr);
  gap:20px;
  min-height:0;
  padding:24px 28px 20px;
  background:radial-gradient(circle at 14% 18%,rgba(254,240,138,.94),transparent 20%),radial-gradient(circle at 88% 14%,rgba(196,181,253,.84),transparent 28%),linear-gradient(135deg,#0f766e 0%,#0ea5e9 44%,#4f46e5 100%);
}
.lopsp-like-gift-hero:before{width:240px;height:240px;right:-90px;bottom:-160px;box-shadow:0 0 0 34px rgba(255,255,255,.05),0 0 0 68px rgba(255,255,255,.03);}
.lopsp-like-gift-hero:after{width:132px;height:132px;left:-66px;top:-66px;box-shadow:0 0 0 22px rgba(255,255,255,.05);}
.lopsp-like-gift-illustration{width:min(210px,100%);aspect-ratio:1/.72;}
.lopsp-like-gift-book{width:122px;height:92px;border-radius:20px 20px 24px 24px;font-size:28px;box-shadow:0 18px 34px rgba(15,23,42,.22),inset 0 -10px 0 rgba(99,102,241,.12);}
.lopsp-like-gift-sun{width:72px;height:72px;left:10px;font-size:30px;box-shadow:0 0 0 10px rgba(254,240,138,.17),0 0 28px rgba(254,240,138,.42);}
.lopsp-like-gift-orbit{padding:7px 10px;font-size:11px;box-shadow:0 10px 20px rgba(15,23,42,.16);}
.lopsp-like-gift-kicker{padding:6px 10px;font-size:11px;letter-spacing:.07em;}
.lopsp-like-gift-hero-copy{gap:8px;}
.lopsp-like-gift-hero-copy h2{font-size:clamp(24px,3.1vw,36px)!important;line-height:1.08!important;}
.lopsp-like-gift-hero-copy p{font-size:14px!important;line-height:1.55!important;max-width:520px;}
.lopsp-like-gift-content{
  padding:18px 24px 16px;
  background:radial-gradient(circle at 100% 0,rgba(224,231,255,.54),transparent 26%),#fff;
}
.lopsp-like-gift-loading{min-height:170px;font-size:15px;gap:12px;}
.lopsp-like-gift-loading span{width:34px;height:34px;border-width:3px;}
.lopsp-like-gift-error{padding:14px 16px;border-radius:16px;font-size:14px;}
.lopsp-like-gift-form{
  gap:12px;
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 14px 26px rgba(15,23,42,.05);
}
.lopsp-like-gift-meta{padding:6px 10px;font-size:11px;}
.lopsp-like-gift-form h3{font-size:clamp(20px,2.3vw,26px)!important;line-height:1.18!important;}
.lopsp-like-gift-question{font-size:16px!important;line-height:1.55!important;}
.lopsp-like-gift-media{gap:10px;padding:10px;border-radius:16px;}
.lopsp-like-gift-media img{max-height:260px;border-radius:12px;}
.lopsp-like-gift-support{margin:0;padding:10px 12px;border-radius:14px;max-height:150px;}
.lopsp-like-gift-support strong{margin-bottom:4px;font-size:11px;}
.lopsp-like-gift-support p{font-size:13px;line-height:1.55;}
.lopsp-like-gift-answers{gap:10px;}
.lopsp-like-gift-option{min-height:58px;padding:10px 12px;border-radius:16px;gap:10px;}
.lopsp-like-gift-option-marker{width:34px;height:34px;border-radius:11px;font-size:13px;}
.lopsp-like-gift-option-copy{font-size:14px;line-height:1.4;}
.lopsp-like-gift-text-answer{gap:6px;}
.lopsp-like-gift-text-answer span{font-size:12px;}
.lopsp-like-gift-text-answer input{min-height:48px;padding:10px 13px;border-radius:14px;font-size:16px;}
.lopsp-like-gift-submit{min-width:190px;min-height:46px;padding:10px 18px!important;border-radius:14px!important;font-size:14px!important;box-shadow:0 12px 24px rgba(79,70,229,.24)!important;}
.lopsp-like-gift-result-card{gap:8px;padding:18px;border-radius:20px;}
.lopsp-like-gift-result-icon{width:60px;height:60px;border-radius:20px;font-size:34px;}
.lopsp-like-gift-result-card h3{font-size:22px!important;}
.lopsp-like-gift-result-card>p{font-size:14px!important;line-height:1.5!important;}
.lopsp-like-gift-result-grid{gap:10px;}
.lopsp-like-gift-result-grid>div{gap:4px;padding:12px;border-radius:14px;}
.lopsp-like-gift-result-grid span{font-size:11px;}
.lopsp-like-gift-result-grid strong{font-size:14px;}
.lopsp-like-gift-explanation{padding:12px 14px;border-radius:14px;font-size:14px;}
.lopsp-like-gift-result-thanks{padding:10px 14px;font-size:12px;}
.lopsp-like-gift-footer{padding:12px 20px;border-top-color:#e5e7eb;}
.lopsp-like-gift-footer span{font-size:12px;}
.lopsp-like-gift-footer button{padding:8px 12px!important;border-radius:10px!important;font-size:12px!important;}
@media(max-width:760px){
  .lopsp-like-gift-modal{padding:6px;align-items:end;}
  .lopsp-like-gift-dialog{max-height:95vh;border-radius:24px 24px 16px 16px;}
  .lopsp-like-gift-hero{grid-template-columns:1fr;gap:10px;padding:18px 16px 16px;}
  .lopsp-like-gift-illustration{width:168px;aspect-ratio:1/.62;}
  .lopsp-like-gift-book{width:102px;height:72px;font-size:22px;border-radius:16px 16px 20px 20px;}
  .lopsp-like-gift-sun{width:58px;height:58px;font-size:24px;left:12px;}
  .lopsp-like-gift-hero-copy{align-items:center;text-align:center;}
  .lopsp-like-gift-hero-copy h2{font-size:26px!important;}
  .lopsp-like-gift-hero-copy p{font-size:13px!important;}
  .lopsp-like-gift-content{padding:14px 12px 12px;}
  .lopsp-like-gift-form{padding:12px;border-radius:18px;gap:10px;}
  .lopsp-like-gift-question{font-size:15px!important;}
  .lopsp-like-gift-answers{grid-template-columns:1fr;}
  .lopsp-like-gift-option{min-height:54px;padding:9px 10px;}
  .lopsp-like-gift-submit{width:100%;}
  .lopsp-like-gift-result-grid{grid-template-columns:1fr;}
  .lopsp-like-gift-result-card{padding:16px 12px;}
  .lopsp-like-gift-footer{padding:10px 12px;flex-direction:column;text-align:center;}
  .lopsp-like-gift-footer button{width:100%;}
}
@media(max-width:480px){
  .lopsp-like-gift-dialog{border-radius:22px 22px 14px 14px;}
  .lopsp-like-gift-close{top:10px;right:10px;}
  .lopsp-like-gift-kicker{font-size:10px;}
  .lopsp-like-gift-hero-copy h2{font-size:22px!important;}
  .lopsp-like-gift-media img{max-height:210px;}
  .lopsp-like-gift-support{max-height:132px;}
}


/* v2.8.522: animation + micro-interaction + viewport-fit polish for Like gift popup. */
.lopsp-like-gift-dialog{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
}
.lopsp-like-gift-backdrop{animation:lopsp-like-gift-backdrop-in .24s ease both;}
.lopsp-like-gift-hero{padding-bottom:16px;}
.lopsp-like-gift-hero-topbar{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.lopsp-like-gift-hero-main{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(160px,.68fr) minmax(0,1.32fr);
  align-items:center;
  gap:18px;
}
.lopsp-like-gift-kicker{box-shadow:0 6px 16px rgba(15,23,42,.12);}
.lopsp-like-gift-sound-toggle{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 10px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 10px 18px rgba(15,23,42,.12)!important;
  cursor:pointer!important;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease!important;
}
.lopsp-like-gift-sound-toggle:hover{transform:translateY(-1px)!important;background:rgba(255,255,255,.24)!important;border-color:rgba(255,255,255,.42)!important;box-shadow:0 14px 24px rgba(15,23,42,.15)!important;}
.lopsp-like-gift-sound-toggle:focus-visible{outline:0!important;box-shadow:0 0 0 4px rgba(255,255,255,.9),0 0 0 8px rgba(125,211,252,.42)!important;}
.lopsp-like-gift-sound-toggle.is-muted{background:rgba(15,23,42,.22)!important;border-color:rgba(255,255,255,.2)!important;opacity:.92;}
.lopsp-like-gift-sound-toggle span[aria-hidden="true"]{font-size:15px;line-height:1;}
.lopsp-like-gift-content{
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.lopsp-like-gift-content::-webkit-scrollbar{width:8px;height:8px;}
.lopsp-like-gift-content::-webkit-scrollbar-thumb{background:rgba(148,163,184,.45);border-radius:999px;}
.lopsp-like-gift-content::-webkit-scrollbar-track{background:transparent;}
.lopsp-like-gift-form,
.lopsp-like-gift-result-card{
  animation:lopsp-like-gift-card-in .24s ease both;
}
.lopsp-like-gift-option{overflow:hidden;}
.lopsp-like-gift-option:before{
  content:"";
  position:absolute;
  inset:auto;
  top:50%;left:50%;
  width:0;height:0;
  border-radius:50%;
  background:radial-gradient(circle,rgba(99,102,241,.12),rgba(99,102,241,0));
  transform:translate(-50%,-50%);
  transition:width .26s ease,height .26s ease;
  pointer-events:none;
}
.lopsp-like-gift-option:hover:before,
.lopsp-like-gift-option.is-selected:before,
.lopsp-like-gift-option:has(input:checked):before{width:180px;height:180px;}
.lopsp-like-gift-submit{position:relative;overflow:hidden;}
.lopsp-like-gift-submit:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,rgba(255,255,255,0) 24%,rgba(255,255,255,.24) 48%,rgba(255,255,255,0) 72%);
  transform:translateX(-120%);
  transition:transform .48s ease;
}
.lopsp-like-gift-submit:hover:after{transform:translateX(120%);}
.lopsp-like-gift-result{display:grid;}
.lopsp-like-gift-dialog.is-result-correct .lopsp-like-gift-result-card{box-shadow:0 16px 34px rgba(16,185,129,.14);}
.lopsp-like-gift-dialog.is-result-incorrect .lopsp-like-gift-result-card{box-shadow:0 16px 34px rgba(249,115,22,.14);}
.lopsp-like-gift-result-icon{animation:lopsp-like-gift-bob 1.8s ease-in-out infinite;}
.lopsp-like-gift-footer{
  position:relative;
  z-index:2;
  background:linear-gradient(180deg,rgba(248,250,252,.9),#f8fafc);
}
.lopsp-like-gift-dialog.is-tight{max-height:min(88vh,720px);}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-hero{padding:16px 18px 12px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-hero-topbar{margin-bottom:8px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-hero-main{grid-template-columns:minmax(120px,.58fr) minmax(0,1.42fr);gap:12px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-illustration{width:min(144px,100%);}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-book{width:84px;height:60px;font-size:18px;border-radius:14px 14px 18px 18px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-sun{width:48px;height:48px;font-size:20px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-orbit{padding:4px 7px;font-size:10px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-hero-copy h2{font-size:21px!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-hero-copy p{font-size:13px!important;line-height:1.45!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-content{padding:10px 12px 10px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-form{padding:10px;gap:8px;border-radius:16px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-meta{padding:5px 8px;font-size:10px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-form h3{font-size:18px!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-question{font-size:14px!important;line-height:1.42!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-media{padding:8px;gap:8px;border-radius:14px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-media img{max-height:180px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-support{max-height:100px;padding:8px 10px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-support p{font-size:12px;line-height:1.42;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-option{min-height:48px;padding:8px 10px;gap:8px;border-radius:14px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-option-marker{width:30px;height:30px;font-size:12px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-option-copy{font-size:13px;line-height:1.32;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-text-answer input{min-height:42px;padding:8px 12px;font-size:14px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-submit{min-height:40px;padding:8px 14px!important;font-size:13px!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-result-card{padding:14px;gap:6px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-result-icon{width:50px;height:50px;font-size:28px;border-radius:16px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-result-card h3{font-size:18px!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-result-card>p{font-size:13px!important;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-result-grid>div{padding:10px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-explanation{padding:10px 12px;font-size:13px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-result-thanks{padding:8px 12px;font-size:11px;}
.lopsp-like-gift-dialog.is-tight .lopsp-like-gift-footer{padding:8px 12px;}
.lopsp-like-gift-dialog.is-ultra-tight{max-height:min(86vh,640px);}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-hero-main{grid-template-columns:1fr;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-illustration{display:none;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-hero-copy{text-align:left;align-items:flex-start;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-hero-copy h2{font-size:19px!important;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-hero-copy p{font-size:12px!important;line-height:1.35!important;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-content{padding:8px 10px 8px;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-form{padding:9px;gap:7px;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-answers{gap:8px;}
.lopsp-like-gift-dialog.is-ultra-tight .lopsp-like-gift-result-grid{gap:8px;}
@media(max-width:760px){
  .lopsp-like-gift-dialog{width:min(100vw - 8px, 560px);max-height:min(100dvh - 8px, 760px);}
  .lopsp-like-gift-hero-topbar{margin-bottom:8px;}
  .lopsp-like-gift-hero-main{grid-template-columns:1fr;gap:8px;}
  .lopsp-like-gift-sound-toggle{align-self:flex-start;}
  .lopsp-like-gift-content{padding:10px 10px 8px;}
  .lopsp-like-gift-form{padding:10px;gap:8px;}
  .lopsp-like-gift-support{max-height:96px;}
}
@media(max-width:480px){
  .lopsp-like-gift-modal{padding:4px;}
  .lopsp-like-gift-dialog{width:min(100vw - 4px, 460px);max-height:min(100dvh - 4px, 700px);border-radius:20px 20px 12px 12px;}
  .lopsp-like-gift-hero{padding:12px 12px 10px;}
  .lopsp-like-gift-hero-topbar{gap:8px;align-items:flex-start;}
  .lopsp-like-gift-sound-toggle{padding:6px 8px!important;font-size:10px!important;}
  .lopsp-like-gift-content{padding:8px 8px 6px;}
  .lopsp-like-gift-form{padding:8px;gap:7px;border-radius:14px;}
  .lopsp-like-gift-question{font-size:14px!important;line-height:1.4!important;}
  .lopsp-like-gift-media img{max-height:150px;}
  .lopsp-like-gift-footer{padding:8px 10px;gap:8px;}
}
@keyframes lopsp-like-gift-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes lopsp-like-gift-card-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lopsp-like-gift-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){
  .lopsp-like-gift-backdrop,
  .lopsp-like-gift-form,
  .lopsp-like-gift-result-card,
  .lopsp-like-gift-result-icon,
  .lopsp-like-gift-submit:after,
  .lopsp-like-gift-option:before{animation:none!important;transition:none!important;}
}

/* v2.8.522: visual state for continuously playing Like-gift background music. */
.lopsp-like-gift-modal.is-sound-playing .lopsp-like-gift-sound-toggle{
  background:rgba(255,255,255,.24)!important;
  border-color:rgba(255,255,255,.46)!important;
  box-shadow:0 0 0 4px rgba(125,211,252,.11),0 12px 24px rgba(15,23,42,.16)!important;
}
.lopsp-like-gift-modal.is-sound-playing .lopsp-like-gift-sound-toggle span[aria-hidden="true"]{
  animation:lopsp-like-gift-sound-pulse 1.35s ease-in-out infinite;
}
@keyframes lopsp-like-gift-sound-pulse{
  0%,100%{transform:scale(1);filter:saturate(1)}
  50%{transform:scale(1.13);filter:saturate(1.3) drop-shadow(0 0 5px rgba(255,255,255,.5))}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-like-gift-modal.is-sound-playing .lopsp-like-gift-sound-toggle span[aria-hidden="true"]{animation:none!important;}
}

/* v2.8.533: measurable, priority-based learning goals with automatic Báo LOP progress. */
.lopsp-settings-card-goals-v3 .lopsp-settings-card-head{margin-bottom:12px;}
.lopsp-goal-measure-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px;}
.lopsp-goal-measure-summary>div{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px 14px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbff);}
.lopsp-goal-measure-summary>div>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#2563eb;color:#fff;font-weight:1000;box-shadow:0 8px 18px rgba(37,99,235,.18);}
.lopsp-goal-measure-summary strong{color:#172554;font-size:13px;font-weight:1000;line-height:1.25;}
.lopsp-goal-measure-summary small{color:#64748b;font-size:11.5px;font-weight:750;line-height:1.35;}
.lopsp-settings-card-goals-v3 .lopsp-settings-goal-list{gap:14px!important;}
.lopsp-settings-card-goals-v3 .lopsp-settings-goal-item.lopsp-goal-priority-card{grid-template-columns:auto minmax(0,1fr) auto!important;align-items:stretch!important;gap:14px!important;padding:14px!important;border-radius:22px!important;}
.lopsp-goal-priority-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;padding:10px 8px;border-radius:17px;background:linear-gradient(155deg,#1d4ed8,#4f46e5);color:#fff;text-align:center;box-shadow:0 12px 25px rgba(37,99,235,.22);}
.lopsp-goal-priority-badge span,.lopsp-goal-priority-badge small{font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;opacity:.9;}
.lopsp-goal-priority-badge b{font-size:28px;line-height:1;font-weight:1000;margin:4px 0;}
.lopsp-goal-priority-card.status-done .lopsp-goal-priority-badge{background:linear-gradient(155deg,#059669,#16a34a);}
.lopsp-goal-priority-card.status-paused .lopsp-goal-priority-badge{background:linear-gradient(155deg,#64748b,#475569);}
.lopsp-goal-statement{margin:7px 0 10px!important;color:#334155!important;font-size:13.5px!important;line-height:1.5!important;}
.lopsp-goal-progress-box{padding:12px 14px;border:1px solid #bfdbfe;border-radius:17px;background:linear-gradient(135deg,#eff6ff,#fff);}
.lopsp-goal-progress-box.is-missing-target{border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#fff);}
.lopsp-goal-progress-head,.lopsp-goal-progress-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.lopsp-goal-progress-head strong{color:#172554;font-size:13px;font-weight:1000;}
.lopsp-goal-progress-head span{color:#1d4ed8;font-size:13px;font-weight:1000;}
.lopsp-goal-progress-track{display:block;height:11px;margin:8px 0;border-radius:999px;background:#dbeafe;overflow:hidden;box-shadow:inset 0 1px 2px rgba(15,23,42,.08);}
.lopsp-goal-progress-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#0ea5e9,#4f46e5);transition:width .25s ease;}
.lopsp-goal-progress-foot b{color:#166534;font-size:15px;font-weight:1000;}
.lopsp-goal-progress-foot small{color:#64748b;font-size:11.5px;font-weight:800;}
.lopsp-goal-result-note{margin-top:9px!important;background:#ecfdf5!important;border-color:#a7f3d0!important;color:#166534!important;}
.lopsp-goal-settings-popup .lopsp-settings-popup-dialog{width:min(760px,100%);}
.lopsp-goal-settings-popup .lopsp-settings-form{display:grid;gap:12px;}
.lopsp-goal-form-zone{display:grid;gap:10px;padding:14px;border-radius:20px;}
.lopsp-goal-form-zone.is-goal{border:1px solid #bfdbfe;background:linear-gradient(145deg,#eff6ff,#fff 68%);box-shadow:0 10px 24px rgba(37,99,235,.08);}
.lopsp-goal-form-zone.is-result{border:1px solid #a7f3d0;background:linear-gradient(145deg,#ecfdf5,#fff 68%);box-shadow:0 10px 24px rgba(5,150,105,.08);}
.lopsp-goal-form-zone-head{display:flex;align-items:center;gap:10px;padding-bottom:9px;border-bottom:1px solid rgba(148,163,184,.25);}
.lopsp-goal-form-zone-head>span{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#2563eb;color:#fff;font-size:19px;}
.lopsp-goal-form-zone.is-result .lopsp-goal-form-zone-head>span{background:#059669;}
.lopsp-goal-form-zone-head strong,.lopsp-goal-form-zone-head small{display:block;}
.lopsp-goal-form-zone-head strong{color:#172554;font-size:15px;font-weight:1000;}
.lopsp-goal-form-zone.is-result .lopsp-goal-form-zone-head strong{color:#14532d;}
.lopsp-goal-form-zone-head small{margin-top:2px;color:#64748b;font-size:11.5px;font-weight:750;}
.lopsp-goal-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.lopsp-goal-form-zone label{color:#1e293b!important;font-size:12.5px!important;font-weight:950!important;}
.lopsp-goal-form-zone label small{font-weight:750;color:#64748b;}
.lopsp-goal-form-zone input,.lopsp-goal-form-zone select,.lopsp-goal-form-zone textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:#0f172a;}
.lopsp-goal-form-zone input:focus,.lopsp-goal-form-zone select:focus,.lopsp-goal-form-zone textarea:focus{outline:0;border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.14);}
.lopsp-goal-form-zone.is-result textarea:focus{border-color:#059669;box-shadow:0 0 0 4px rgba(5,150,105,.14);}
.lopsp-goal-form-progress{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;align-items:center;padding:11px 12px;border:1px solid #a7f3d0;border-radius:15px;background:#fff;}
.lopsp-goal-form-progress b{color:#047857;font-size:20px;font-weight:1000;}
.lopsp-goal-form-progress>span{color:#166534;font-size:12px;font-weight:900;}
.lopsp-goal-form-progress i{grid-column:1/-1;display:block;height:9px;border-radius:999px;background:#d1fae5;overflow:hidden;}
.lopsp-goal-form-progress i span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#10b981,#22c55e,#0ea5e9);}
@media(max-width:820px){
  .lopsp-goal-measure-summary{grid-template-columns:1fr;}
  .lopsp-settings-card-goals-v3 .lopsp-settings-goal-item.lopsp-goal-priority-card{grid-template-columns:auto minmax(0,1fr)!important;}
  .lopsp-settings-card-goals-v3 .lopsp-settings-goal-actions{grid-column:1/-1;justify-content:flex-end!important;}
  .lopsp-goal-compact-grid{grid-template-columns:1fr!important;}
}
@media(max-width:560px){
  .lopsp-settings-card-goals-v3 .lopsp-settings-goal-item.lopsp-goal-priority-card{grid-template-columns:1fr!important;}
  .lopsp-goal-priority-badge{min-width:0;flex-direction:row;justify-content:flex-start;gap:8px;padding:9px 12px;}
  .lopsp-goal-priority-badge b{font-size:20px;margin:0;}
  .lopsp-goal-progress-head,.lopsp-goal-progress-foot{align-items:flex-start;flex-direction:column;gap:3px;}
  .lopsp-settings-card-goals-v3 .lopsp-settings-goal-actions{grid-column:auto;justify-content:stretch!important;}
  .lopsp-settings-card-goals-v3 .lopsp-settings-goal-actions>*{width:100%;justify-content:center;}
  .lopsp-goal-settings-popup .lopsp-settings-popup-dialog{max-height:95vh;}
  .lopsp-goal-form-zone{padding:11px;border-radius:16px;}
}

/* v2.8.539: concrete learner action commitment for measurable goals. */
.lopsp-goal-action-commitment{
  display:grid;
  gap:7px;
  padding:12px 13px;
  border:1px solid #93c5fd;
  border-left:4px solid #2563eb;
  border-radius:15px;
  background:linear-gradient(135deg,#dbeafe 0%,#eff6ff 48%,#fff 100%);
}
.lopsp-goal-action-commitment>label{margin:0!important;color:#1e3a8a!important;}
.lopsp-goal-action-commitment>label small{color:#b45309!important;font-weight:900!important;}
.lopsp-goal-action-commitment>small{color:#475569;font-size:11.5px;font-weight:750;line-height:1.45;}
.lopsp-goal-action-commitment textarea{min-height:92px;background:#fff!important;border-color:#93c5fd!important;resize:vertical;}
.lopsp-goal-action-commitment textarea:hover{border-color:#60a5fa!important;}
.lopsp-goal-action-commitment textarea:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.15)!important;}
.lopsp-goal-action-commitment textarea:invalid:not(:placeholder-shown){border-color:#f59e0b!important;box-shadow:0 0 0 3px rgba(245,158,11,.12)!important;}
.lopsp-goal-action-summary{
  margin:9px 0 11px;
  padding:11px 13px;
  border:1px solid #bfdbfe;
  border-radius:15px;
  background:linear-gradient(135deg,#eff6ff,#fff);
}
.lopsp-goal-action-summary strong{display:block;margin-bottom:4px;color:#1e40af;font-size:12px;font-weight:1000;letter-spacing:.02em;}
.lopsp-goal-action-summary p{margin:0!important;color:#334155!important;font-size:13px!important;line-height:1.55!important;white-space:pre-line;}
.lopsp-goal-action-summary.is-missing{border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#fff);}
.lopsp-goal-action-summary.is-missing strong{color:#9a3412;}
.lopsp-goal-action-summary.is-missing p{color:#7c2d12!important;}
@media(max-width:640px){
  .lopsp-goal-action-commitment{padding:10px 11px;border-radius:13px;}
  .lopsp-goal-action-commitment textarea{min-height:104px;}
  .lopsp-goal-action-summary{padding:10px 11px;border-radius:13px;}
}


/* v2.8.544: Báo LOP is independent from the daily Streak time threshold. */
.lopsp-report-independent-note{
  margin:0 0 14px;
  border-color:#a7f3d0!important;
  background:linear-gradient(135deg,#ecfdf5,#f0fdfa)!important;
  color:#065f46!important;
  font-weight:800;
  line-height:1.55;
}

/* v2.8.544: Clean, compact Báo LOP form UI with one guidance message at the top. */
.lopsp-report-clean-form{
  display:grid!important;
  gap:12px!important;
  padding:16px!important;
  border:1px solid #dbeafe;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 16px 38px rgba(30,64,175,.07);
}
.lopsp-report-clean-form .lopsp-field-help,
.lopsp-report-clean-form .lopsp-upload-disabled-note{display:none!important;}
.lopsp-report-top-message{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:14px 16px;
  border:1px solid #a7f3d0;
  border-radius:18px;
  background:linear-gradient(135deg,#ecfdf5 0%,#eff6ff 100%);
  color:#064e3b;
  box-shadow:0 10px 24px rgba(16,185,129,.08);
}
.lopsp-report-top-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:15px;
  background:linear-gradient(135deg,#22c55e,#2563eb);
  color:#fff;
  font-size:23px;
  box-shadow:0 10px 22px rgba(37,99,235,.18);
}
.lopsp-report-top-copy{min-width:0;}
.lopsp-report-top-copy>strong{display:block;color:#064e3b;font-size:16px;font-weight:1000;line-height:1.25;}
.lopsp-report-top-copy>p{margin:4px 0 9px!important;color:#365f57!important;font-size:13px!important;line-height:1.45!important;font-weight:750;}
.lopsp-report-top-badges{display:flex;gap:7px;flex-wrap:wrap;}
.lopsp-report-top-badges span{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid rgba(37,99,235,.13);border-radius:999px;background:rgba(255,255,255,.88);color:#1e3a8a;font-size:11.5px;font-weight:900;line-height:1.2;}
.lopsp-report-clean-form .lopsp-report-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.lopsp-report-field{
  min-width:0;
  padding:12px 13px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.lopsp-report-field:focus-within{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.10);}
.lopsp-report-field>label,
.lopsp-report-label-row>label{margin:0 0 7px!important;color:#172554!important;font-size:13px!important;font-weight:950!important;line-height:1.3!important;}
.lopsp-report-clean-form input[type="text"],
.lopsp-report-clean-form input[type="date"],
.lopsp-report-clean-form select,
.lopsp-report-clean-form textarea{
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #cbd5e1!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  font-size:15px!important;
  line-height:1.4!important;
  box-shadow:none!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.lopsp-report-clean-form input[type="text"],
.lopsp-report-clean-form input[type="date"],
.lopsp-report-clean-form select{min-height:46px!important;padding:10px 12px!important;}
.lopsp-report-clean-form textarea{min-height:126px!important;max-height:240px!important;padding:11px 12px!important;resize:vertical!important;}
.lopsp-report-clean-form input:hover,
.lopsp-report-clean-form select:hover,
.lopsp-report-clean-form textarea:hover{border-color:#94a3b8!important;}
.lopsp-report-clean-form input:focus,
.lopsp-report-clean-form select:focus,
.lopsp-report-clean-form textarea:focus{outline:0!important;border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.13)!important;}
.lopsp-report-clean-form input[disabled]{background:#f1f5f9!important;color:#64748b!important;-webkit-text-fill-color:#64748b!important;opacity:1!important;}
.lopsp-report-clean-form input:invalid:not(:placeholder-shown),
.lopsp-report-clean-form textarea:invalid:not(:placeholder-shown){border-color:#f59e0b!important;}
.lopsp-report-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;}
.lopsp-report-label-row>label{margin:0!important;}
.lopsp-report-word-chip{
  display:inline-flex!important;
  width:auto!important;
  flex:0 0 auto!important;
  align-items:center!important;
  gap:4px!important;
  margin:0!important;
  padding:4px 8px!important;
  border:1px solid #fecaca!important;
  border-radius:999px!important;
  background:#fff7ed!important;
  color:#9a3412!important;
  font-size:11px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.lopsp-report-word-chip span{display:inline!important;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important;color:inherit!important;font-size:12px!important;font-weight:1000!important;}
.lopsp-report-word-chip strong{color:inherit!important;font-size:11px!important;white-space:nowrap;}
.lopsp-report-word-chip.is-ok{border-color:#bbf7d0!important;background:#ecfdf5!important;color:#047857!important;}
.lopsp-report-status-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.lopsp-report-file-field input[type="file"]{width:100%;box-sizing:border-box;padding:9px 10px;border:1px dashed #93c5fd;border-radius:13px;background:#f8fbff;color:#334155;font-size:13px;}
.lopsp-report-clean-form .lopsp-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:2px!important;padding-top:0!important;}
.lopsp-report-clean-form .lopsp-actions button[type="submit"]{min-height:46px!important;padding:11px 20px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#4f46e5)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:950!important;box-shadow:0 12px 26px rgba(37,99,235,.24)!important;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;}
.lopsp-report-clean-form .lopsp-actions button[type="submit"]:hover:not(:disabled){transform:translateY(-1px)!important;box-shadow:0 16px 32px rgba(37,99,235,.30)!important;filter:saturate(1.08);}
.lopsp-report-clean-form .lopsp-actions button[type="submit"]:focus-visible{outline:0!important;box-shadow:0 0 0 4px rgba(255,255,255,.95),0 0 0 8px rgba(37,99,235,.28),0 16px 32px rgba(37,99,235,.24)!important;}
.lopsp-report-clean-form .lopsp-actions button[type="submit"]:active:not(:disabled){transform:translateY(0)!important;box-shadow:0 8px 18px rgba(37,99,235,.22)!important;}
.lopsp-report-clean-form .lopsp-actions button[type="submit"]:disabled{background:#e2e8f0!important;color:#64748b!important;-webkit-text-fill-color:#64748b!important;box-shadow:none!important;cursor:not-allowed!important;}
.lopsp-report-modal-panel{width:min(760px,96vw)!important;max-height:min(92dvh,820px)!important;padding:18px!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;}
.lopsp-report-modal-panel>.lopsp-panel-head{position:sticky;top:-18px;z-index:3;margin:-18px -18px 12px;padding:16px 18px 12px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #e2e8f0;}
.lopsp-report-inline-page-form{border-radius:24px!important;background:linear-gradient(180deg,#f8fbff,#fff)!important;}
@media(max-width:700px){
  .lopsp-report-clean-form{padding:11px!important;border-radius:18px;gap:10px!important;}
  .lopsp-report-top-message{grid-template-columns:40px minmax(0,1fr);padding:12px;border-radius:16px;gap:10px;}
  .lopsp-report-top-icon{width:40px;height:40px;border-radius:13px;font-size:20px;}
  .lopsp-report-top-copy>strong{font-size:15px;}
  .lopsp-report-top-copy>p{font-size:12px!important;margin-bottom:7px!important;}
  .lopsp-report-top-badges{gap:5px;}
  .lopsp-report-top-badges span{padding:4px 7px;font-size:10.5px;}
  .lopsp-report-clean-form .lopsp-report-primary-grid{grid-template-columns:1fr!important;}
  .lopsp-report-field{padding:10px;border-radius:14px;}
  .lopsp-report-label-row{align-items:flex-start;}
  .lopsp-report-clean-form textarea{min-height:116px!important;}
  .lopsp-report-clean-form .lopsp-actions{align-items:stretch;flex-direction:column;}
  .lopsp-report-clean-form .lopsp-actions button[type="submit"]{width:100%;}
  .lopsp-report-modal-panel{width:100%!important;max-height:calc(100dvh - 12px)!important;padding:12px!important;border-radius:20px!important;}
  .lopsp-report-modal-panel>.lopsp-panel-head{top:-12px;margin:-12px -12px 10px;padding:12px;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-report-field,
  .lopsp-report-clean-form input,
  .lopsp-report-clean-form select,
  .lopsp-report-clean-form textarea,
  .lopsp-report-clean-form button{transition:none!important;}
}


/* v2.8.548: keep the Báo LOP popup close control visible in every scroll/viewport state. */
.lopsp-submit-today-modal{
  box-sizing:border-box!important;
  align-items:center!important;
  overflow:hidden!important;
  padding:
    max(12px,env(safe-area-inset-top))
    max(12px,env(safe-area-inset-right))
    max(12px,env(safe-area-inset-bottom))
    max(12px,env(safe-area-inset-left))!important;
}
.lopsp-report-modal-panel{
  isolation:isolate;
  width:min(760px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  scroll-padding-top:76px;
}
.lopsp-report-modal-panel>.lopsp-panel-head{
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  min-height:58px;
  box-sizing:border-box;
  align-items:center!important;
  margin:-18px -18px 12px!important;
  padding:12px 16px!important;
  border-bottom:1px solid #dbe5f1!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
.lopsp-report-modal-panel>.lopsp-panel-head h3{
  min-width:0;
  margin:0!important;
  padding-right:8px;
  overflow-wrap:anywhere;
}
.lopsp-report-modal-panel>.lopsp-panel-head .lopsp-modal-close{
  position:relative!important;
  z-index:90!important;
  display:inline-flex!important;
  flex:0 0 42px!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #cbd5e1!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  font-size:27px!important;
  line-height:1!important;
  font-weight:800!important;
  box-shadow:0 8px 20px rgba(15,23,42,.12)!important;
  cursor:pointer!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.lopsp-report-modal-panel>.lopsp-panel-head .lopsp-modal-close:hover{
  transform:translateY(-1px)!important;
  border-color:#93c5fd!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  -webkit-text-fill-color:#1d4ed8!important;
  box-shadow:0 11px 24px rgba(37,99,235,.16)!important;
}
.lopsp-report-modal-panel>.lopsp-panel-head .lopsp-modal-close:focus-visible{
  outline:0!important;
  border-color:#2563eb!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.18),0 10px 24px rgba(15,23,42,.12)!important;
}
.lopsp-report-modal-panel>.lopsp-panel-head .lopsp-modal-close:active{
  transform:translateY(0)!important;
  box-shadow:0 5px 12px rgba(15,23,42,.10)!important;
}
@media(max-width:700px){
  .lopsp-submit-today-modal{
    align-items:flex-start!important;
    padding:
      max(6px,env(safe-area-inset-top))
      max(6px,env(safe-area-inset-right))
      max(6px,env(safe-area-inset-bottom))
      max(6px,env(safe-area-inset-left))!important;
  }
  .lopsp-report-modal-panel{
    width:100%!important;
    max-height:calc(100dvh - 12px)!important;
    border-radius:20px!important;
    scroll-padding-top:70px;
  }
  .lopsp-report-modal-panel>.lopsp-panel-head{
    top:0!important;
    min-height:56px;
    margin:-12px -12px 10px!important;
    padding:9px 10px 9px 12px!important;
  }
  .lopsp-report-modal-panel>.lopsp-panel-head h3{
    font-size:17px!important;
    line-height:1.25!important;
  }
  .lopsp-report-modal-panel>.lopsp-panel-head .lopsp-modal-close{
    flex-basis:44px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    border-radius:14px!important;
    font-size:28px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .lopsp-report-modal-panel>.lopsp-panel-head .lopsp-modal-close{transition:none!important;}
}

/* v2.8.548: unified compact form surfaces — more usable input space, fewer nested borders. */
.lopsp-report-lop-zone{
  padding:clamp(12px,1.8vw,18px)!important;
}
.lopsp-report-lop-zone .lopsp-report-lop-grid{
  margin-bottom:8px!important;
}
.lopsp-report-lop-zone .lopsp-report-inline-page-form{
  margin-top:8px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.lopsp-report-clean-form{
  gap:10px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.lopsp-report-modal-panel{
  width:min(860px,calc(100vw - 24px))!important;
  padding:12px!important;
  border-radius:22px!important;
  background:#fff!important;
}
.lopsp-report-modal-panel>.lopsp-panel-head{
  margin:-12px -12px 10px!important;
  padding:10px 12px!important;
}
.lopsp-report-top-message{
  grid-template-columns:42px minmax(0,1fr);
  gap:10px;
  padding:11px 13px;
  border-radius:16px;
  box-shadow:none;
}
.lopsp-report-top-icon{
  width:42px;
  height:42px;
  border-radius:13px;
  font-size:20px;
}
.lopsp-report-top-copy>p{margin:3px 0 7px!important;}
.lopsp-report-top-badges span{min-height:25px;padding:4px 8px;}
.lopsp-report-clean-form .lopsp-report-primary-grid{
  gap:10px!important;
}
.lopsp-report-field{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.lopsp-report-field:focus-within{
  border:0!important;
  box-shadow:none!important;
}
.lopsp-report-field>label,
.lopsp-report-label-row>label{
  margin-bottom:5px!important;
}
.lopsp-report-clean-form input[type="text"],
.lopsp-report-clean-form input[type="date"],
.lopsp-report-clean-form select{
  min-height:44px!important;
  padding:9px 11px!important;
  border-radius:12px!important;
}
.lopsp-report-clean-form textarea{
  min-height:112px!important;
  max-height:220px!important;
  padding:10px 11px!important;
  border-radius:12px!important;
}
.lopsp-report-label-row{margin-bottom:5px;}
.lopsp-report-file-field input[type="file"]{
  padding:8px 9px;
  border-radius:12px;
}
.lopsp-report-clean-form .lopsp-actions{
  margin-top:0!important;
  padding-top:2px!important;
}

/* Goal create/edit popup: preserve color sections while removing repeated heavy surfaces. */
.lopsp-goal-settings-popup .lopsp-settings-popup-dialog{
  width:min(900px,calc(100vw - 24px))!important;
  padding:12px!important;
}
.lopsp-goal-settings-popup .lopsp-settings-popup-head{
  margin:-12px -12px 10px!important;
  padding:12px 14px!important;
  position:sticky!important;
  top:-12px!important;
  z-index:8!important;
  background:rgba(255,255,255,.985)!important;
  backdrop-filter:blur(10px);
}
.lopsp-goal-settings-popup .lopsp-settings-form{
  display:grid!important;
  gap:10px!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone{
  gap:8px!important;
  padding:11px!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone.is-goal{
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#f4f8ff,#fff)!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone.is-result{
  border-color:#bbf7d0!important;
  background:linear-gradient(135deg,#f3fdf7,#fff)!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone-head{
  padding-bottom:7px!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone-head>span{
  width:34px!important;
  height:34px!important;
  border-radius:11px!important;
  font-size:17px!important;
}
.lopsp-goal-settings-popup .lopsp-goal-compact-grid{
  gap:8px!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone input,
.lopsp-goal-settings-popup .lopsp-goal-form-zone select{
  min-height:43px!important;
  padding:8px 10px!important;
}
.lopsp-goal-settings-popup .lopsp-goal-form-zone textarea{
  min-height:84px!important;
  padding:9px 10px!important;
  resize:vertical!important;
}
.lopsp-goal-settings-popup .lopsp-goal-action-commitment{
  padding:9px 10px!important;
  border-radius:13px!important;
  box-shadow:none!important;
}
.lopsp-goal-settings-popup .lopsp-settings-popup-foot{
  position:sticky!important;
  bottom:-12px!important;
  z-index:7!important;
  margin:0 -12px -12px!important;
  padding:10px 12px!important;
  border-top:1px solid #e2e8f0!important;
  background:rgba(255,255,255,.985)!important;
  backdrop-filter:blur(10px);
}

/* High-frequency support/question and reminder forms: flatten the form layer, keep controls clear. */
.lopsp-study-question-panel{
  width:min(920px,calc(100vw - 24px))!important;
  padding:14px!important;
}
.lopsp-study-question-modal-head{
  margin:-14px -14px 10px!important;
  padding:12px 14px!important;
  position:sticky!important;
  top:-14px!important;
  z-index:8!important;
  background:rgba(255,255,255,.985)!important;
  border-bottom:1px solid #e2e8f0!important;
}
.lopsp-study-question-cheer{
  margin-bottom:10px!important;
  padding:9px 11px!important;
  border-radius:14px!important;
}
.lop-study-question-form{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.lop-support-question-box{
  padding:clamp(14px,2vw,20px)!important;
  border-radius:22px!important;
}
.lop-support-form{
  display:grid;
  gap:10px;
}
.lop-support-form label{
  margin:0 0 5px!important;
}
.lop-support-form input,
.lop-support-form select{
  min-height:44px;
  padding:9px 11px;
  border-radius:12px;
}
.lop-support-form textarea{
  min-height:118px;
  padding:10px 11px;
  border-radius:12px;
}
.lopsp-remind-add-popup-v410 .lopsp-settings-popup-dialog{
  width:min(900px,calc(100vw - 24px))!important;
  padding:12px!important;
}
.lopsp-remind-add-popup-v410 .lopsp-settings-popup-head{
  margin:-12px -12px 10px!important;
  padding:11px 13px!important;
}
.lopsp-remind-body .lopsp-remind-add-content{
  padding:12px!important;
}

@media(max-width:700px){
  .lopsp-report-lop-zone{
    padding:8px!important;
    border-radius:16px!important;
  }
  .lopsp-report-lop-zone .lopsp-report-lop-grid{
    padding:3px 2px!important;
  }
  .lopsp-report-modal-panel{
    width:100%!important;
    padding:8px!important;
    border-radius:18px!important;
  }
  .lopsp-report-modal-panel>.lopsp-panel-head{
    margin:-8px -8px 8px!important;
    padding:8px 9px 8px 11px!important;
  }
  .lopsp-report-clean-form{
    gap:8px!important;
  }
  .lopsp-report-top-message{
    grid-template-columns:36px minmax(0,1fr);
    gap:8px;
    padding:9px 10px;
    border-radius:14px;
  }
  .lopsp-report-top-icon{
    width:36px;
    height:36px;
    border-radius:11px;
    font-size:18px;
  }
  .lopsp-report-top-copy>strong{font-size:14px;}
  .lopsp-report-top-copy>p{font-size:11.5px!important;line-height:1.38!important;}
  .lopsp-report-top-badges{gap:4px;}
  .lopsp-report-top-badges span{min-height:23px;padding:3px 6px;font-size:10px;}
  .lopsp-report-clean-form .lopsp-report-primary-grid{gap:8px!important;}
  .lopsp-report-clean-form input[type="text"],
  .lopsp-report-clean-form input[type="date"],
  .lopsp-report-clean-form select{
    min-height:42px!important;
    padding:8px 10px!important;
  }
  .lopsp-report-clean-form textarea{
    min-height:108px!important;
    max-height:190px!important;
    padding:9px 10px!important;
  }
  .lopsp-report-clean-form .lopsp-actions{
    position:sticky;
    bottom:-8px;
    z-index:6;
    margin:0 -8px -8px!important;
    padding:8px!important;
    border-top:1px solid #e2e8f0;
    background:rgba(255,255,255,.985);
    backdrop-filter:blur(10px);
  }
  .lopsp-goal-settings-popup{
    padding:4px!important;
    align-items:flex-start!important;
  }
  .lopsp-goal-settings-popup .lopsp-settings-popup-dialog{
    width:100%!important;
    max-height:calc(100dvh - 8px)!important;
    padding:8px!important;
    border-radius:18px!important;
  }
  .lopsp-goal-settings-popup .lopsp-settings-popup-head{
    top:-8px!important;
    margin:-8px -8px 8px!important;
    padding:9px 10px!important;
  }
  .lopsp-goal-settings-popup .lopsp-settings-popup-head p{display:none!important;}
  .lopsp-goal-settings-popup .lopsp-goal-form-zone{
    padding:8px!important;
    border-radius:13px!important;
  }
  .lopsp-goal-settings-popup .lopsp-goal-form-zone-head{
    gap:8px!important;
    padding-bottom:6px!important;
  }
  .lopsp-goal-settings-popup .lopsp-goal-form-zone-head>span{
    width:30px!important;
    height:30px!important;
    font-size:15px!important;
  }
  .lopsp-goal-settings-popup .lopsp-goal-form-zone-head small{display:none!important;}
  .lopsp-goal-settings-popup .lopsp-goal-action-commitment{
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  .lopsp-goal-settings-popup .lopsp-settings-popup-foot{
    bottom:-8px!important;
    margin:0 -8px -8px!important;
    padding:8px!important;
  }
  .lopsp-study-question-panel{
    width:100%!important;
    max-height:calc(100dvh - 8px)!important;
    padding:8px!important;
    border-radius:18px!important;
  }
  .lopsp-study-question-modal-head{
    top:-8px!important;
    margin:-8px -8px 8px!important;
    padding:9px 10px!important;
  }
  .lopsp-study-question-modal-head p{display:none!important;}
  .lopsp-study-question-cheer{display:none!important;}
  .lop-support-question-box{
    padding:10px!important;
    border-radius:16px!important;
  }
  .lopsp-remind-add-popup-v410{
    padding:4px!important;
    align-items:flex-start!important;
  }
  .lopsp-remind-add-popup-v410 .lopsp-settings-popup-dialog{
    width:100%!important;
    max-height:calc(100dvh - 8px)!important;
    padding:8px!important;
    border-radius:18px!important;
  }
  .lopsp-remind-add-popup-v410 .lopsp-settings-popup-head{
    margin:-8px -8px 8px!important;
    padding:9px 10px!important;
  }
  .lopsp-remind-body .lopsp-remind-add-content{
    padding:8px!important;
  }
}

/* v2.8.548: goal-led /lop/study flow and safer vertical offset for the Báo LOP popup. */
.lopsp-study-goals-zone{
  scroll-margin-top:96px;
  border-color:#bbf7d0!important;
  background:linear-gradient(135deg,#f0fdf4 0%,#ffffff 52%,#eff6ff 100%)!important;
}
.lopsp-study-goal-grid{
  display:grid;
  gap:14px;
}
.lopsp-study-goal-card{
  min-width:0;
  padding:0;
  overflow:hidden;
  border:1px solid #c7d2fe;
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 64%,#f0fdf4 100%);
  box-shadow:0 16px 38px rgba(15,23,42,.07);
}
.lopsp-study-goal-head{
  display:grid;
  grid-template-columns:94px minmax(0,1fr) auto;
  gap:18px;
  align-items:stretch;
  padding:16px;
}
.lopsp-study-goal-priority{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:190px;
  padding:14px 10px;
  border-radius:20px;
  background:linear-gradient(180deg,#3157f3,#4f46e5);
  color:#fff;
  box-shadow:0 16px 30px rgba(79,70,229,.20);
  text-align:center;
}
.lopsp-study-goal-priority small,
.lopsp-study-goal-priority em{
  color:#e0e7ff;
  font-size:11px;
  font-style:normal;
  font-weight:950;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.lopsp-study-goal-priority b{
  margin:5px 0;
  color:#fff;
  font-size:36px;
  line-height:1;
  font-weight:1000;
}
.lopsp-study-goal-main{
  display:grid;
  min-width:0;
  gap:10px;
  align-content:start;
}
.lopsp-study-goal-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.lopsp-study-goal-title-row>div{min-width:0;}
.lopsp-study-goal-title-row h4{
  margin:0 0 3px;
  color:#172554;
  font-size:clamp(19px,2vw,25px);
  line-height:1.18;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.lopsp-study-goal-title-row a{
  color:#4f46e5;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}
.lopsp-study-goal-title-row a:hover{text-decoration:underline;}
.lopsp-study-goal-title-row>span{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border:1px solid #bbf7d0;
  border-radius:999px;
  background:#ecfdf5;
  color:#166534;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}
.lopsp-study-goal-description{
  margin:0!important;
  color:#334155!important;
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:750!important;
}
.lopsp-study-goal-plan{
  padding:11px 13px;
  border:1px solid #bfdbfe;
  border-radius:16px;
  background:#f8fbff;
}
.lopsp-study-goal-plan strong{
  display:block;
  margin-bottom:4px;
  color:#3730a3;
  font-size:13px;
  font-weight:950;
}
.lopsp-study-goal-plan p{
  margin:0!important;
  color:#1e293b!important;
  font-size:13px!important;
  line-height:1.5!important;
  white-space:pre-line;
}
.lopsp-study-goal-plan.is-missing{
  border-color:#fed7aa;
  background:#fff7ed;
}
.lopsp-study-goal-plan.is-missing strong,
.lopsp-study-goal-plan.is-missing p{color:#9a3412!important;}
.lopsp-study-goal-progress{
  padding:11px 13px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#fff;
}
.lopsp-study-goal-progress>div,
.lopsp-study-goal-progress footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.lopsp-study-goal-progress>div strong{color:#172554;font-size:14px;font-weight:950;}
.lopsp-study-goal-progress>div b{color:#4f46e5;font-size:14px;font-weight:1000;}
.lopsp-study-goal-progress>i{
  display:block;
  height:11px;
  margin:9px 0;
  overflow:hidden;
  border-radius:999px;
  background:#e0e7ff;
}
.lopsp-study-goal-progress>i>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#2563eb,#22c55e);
}
.lopsp-study-goal-progress footer b{color:#166534;font-size:16px;font-weight:1000;}
.lopsp-study-goal-progress footer span{color:#64748b;font-size:12px;font-weight:850;}
.lopsp-study-goal-progress.is-missing{border-color:#fed7aa;background:#fffbeb;}
.lopsp-study-goal-result{
  margin:0!important;
  padding:9px 11px;
  border:1px solid #bbf7d0;
  border-radius:14px;
  background:#f0fdf4;
  color:#166534!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.lopsp-study-goal-actions{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:9px;
  min-width:170px;
}
.lopsp-study-goal-report,
.lopsp-study-goal-actions>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:10px 14px!important;
  border-radius:13px!important;
  font-size:13px!important;
  font-weight:950!important;
  text-align:center!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease!important;
}
.lopsp-study-goal-report{
  border:0!important;
  background:linear-gradient(135deg,#ea580c,#f97316)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 12px 24px rgba(234,88,12,.22)!important;
}
.lopsp-study-goal-actions>a{
  border:1px solid #c7d2fe!important;
  background:#fff!important;
  color:#3730a3!important;
  -webkit-text-fill-color:#3730a3!important;
}
.lopsp-study-goal-report:hover,
.lopsp-study-goal-actions>a:hover{transform:translateY(-1px)!important;box-shadow:0 14px 28px rgba(37,99,235,.16)!important;}
.lopsp-study-goal-report:focus-visible,
.lopsp-study-goal-actions>a:focus-visible{outline:0!important;box-shadow:0 0 0 4px rgba(37,99,235,.20)!important;}
.lopsp-study-goal-report:active,
.lopsp-study-goal-actions>a:active{transform:translateY(0)!important;}
.lopsp-study-goal-empty{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:14px;
  border:1px dashed #93c5fd;
  border-radius:18px;
  background:#fff;
}
.lopsp-study-goal-empty>span{font-size:30px;}
.lopsp-study-goal-empty strong{display:block;color:#172554;font-size:16px;}
.lopsp-study-goal-empty p{margin:4px 0 0!important;color:#64748b!important;font-size:13px!important;line-height:1.45!important;}
.lopsp-study-goal-empty a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border-radius:12px;background:#3157f3;color:#fff;text-decoration:none;font-weight:950;}

/* Keep the shared Báo LOP popup below the fixed site/member header. */
.lopsp-submit-today-modal{
  align-items:flex-start!important;
  padding-top:max(68px,calc(env(safe-area-inset-top) + 54px))!important;
  padding-bottom:max(10px,env(safe-area-inset-bottom))!important;
}
.lopsp-submit-today-modal .lopsp-report-modal-panel{
  max-height:calc(100dvh - 82px)!important;
}

@media(max-width:980px){
  .lopsp-study-goal-head{grid-template-columns:78px minmax(0,1fr);}
  .lopsp-study-goal-priority{min-height:150px;}
  .lopsp-study-goal-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;}
}
@media(max-width:700px){
  .lopsp-study-goals-zone{padding:9px!important;border-radius:18px!important;}
  .lopsp-study-goal-grid{gap:10px;}
  .lopsp-study-goal-card{border-radius:18px;}
  .lopsp-study-goal-head{grid-template-columns:1fr;gap:10px;padding:10px;}
  .lopsp-study-goal-priority{
    min-height:0;
    flex-direction:row;
    justify-content:flex-start;
    gap:7px;
    padding:8px 11px;
    border-radius:14px;
  }
  .lopsp-study-goal-priority b{margin:0;font-size:22px;}
  .lopsp-study-goal-priority small,
  .lopsp-study-goal-priority em{font-size:10px;}
  .lopsp-study-goal-title-row{display:grid;gap:7px;}
  .lopsp-study-goal-title-row>span{width:max-content;white-space:normal;}
  .lopsp-study-goal-title-row h4{font-size:18px;}
  .lopsp-study-goal-plan,
  .lopsp-study-goal-progress{padding:9px 10px;border-radius:14px;}
  .lopsp-study-goal-progress footer{align-items:flex-start;flex-direction:column;gap:3px;}
  .lopsp-study-goal-actions{grid-template-columns:1fr;gap:7px;}
  .lopsp-study-goal-empty{grid-template-columns:auto minmax(0,1fr);padding:11px;}
  .lopsp-study-goal-empty a{grid-column:1 / -1;width:100%;}
  .lopsp-submit-today-modal{
    padding-top:max(48px,calc(env(safe-area-inset-top) + 38px))!important;
    padding-right:max(4px,env(safe-area-inset-right))!important;
    padding-left:max(4px,env(safe-area-inset-left))!important;
  }
  .lopsp-submit-today-modal .lopsp-report-modal-panel{
    max-height:calc(100dvh - 56px)!important;
  }
}
@media(max-height:680px){
  .lopsp-submit-today-modal{padding-top:max(36px,calc(env(safe-area-inset-top) + 28px))!important;}
  .lopsp-submit-today-modal .lopsp-report-modal-panel{max-height:calc(100dvh - 44px)!important;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-study-goal-report,
  .lopsp-study-goal-actions>a{transition:none!important;}
}

/* v2.8.548: show daily LOP independently from Streak qualification. */
.lopsp-calendar td.has-lop.is-lop-only,
.lopsp-streak-calendar-top-table td.has-lop.is-lop-only{
  background:linear-gradient(180deg,#f8fbff,#eff6ff)!important;
  box-shadow:inset 0 0 0 1.5px rgba(59,130,246,.48),0 7px 16px rgba(37,99,235,.08)!important;
}
.lopsp-calendar td.is-lop-only .lopsp-calendar-day-meta{margin-top:5px;}
.lopsp-calendar td.is-lop-only .lopsp-day-lop-compact{
  color:#1d4ed8!important;
  background:#ffffff!important;
  border-color:rgba(59,130,246,.35)!important;
  box-shadow:0 4px 12px rgba(37,99,235,.10)!important;
}
.lopsp-day-lop-compact{white-space:nowrap;}
.lopsp-calendar-legend b.loponly{background:#93c5fd;border:1px solid #3b82f6;}
@media(max-width:760px){
  .lopsp-calendar td.is-lop-only .lopsp-calendar-day-meta{margin-top:3px;}
  .lopsp-day-lop-compact{font-size:8px!important;padding:2px 4px!important;}
}

/* v2.8.551 Classroom Pro: schedule, submissions, grading, reports and quiz */
.lop-classroom-pro{overflow:hidden}.lop-class-wide{margin-top:18px}.lop-class-count-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:7px 12px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:12px;font-weight:950}.lop-class-chip{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.lop-class-muted{color:#64748b;font-weight:700}.lop-class-inline-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:10px;color:#475569;font-size:13px;font-weight:800}.lop-class-inline-meta a{color:#1d4ed8!important;text-decoration:none}.lop-class-inline-meta a:hover,.lop-class-inline-meta a:focus-visible{color:#1e3a8a!important;text-decoration:underline}.lop-class-file{display:inline-flex;align-items:center;gap:7px;max-width:100%;margin-top:8px;padding:8px 10px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1d4ed8!important;text-decoration:none;font-size:12px;font-weight:900;overflow-wrap:anywhere}.lop-class-file:hover,.lop-class-file:focus-visible{background:#dbeafe;border-color:#60a5fa;color:#1e3a8a!important;outline:3px solid rgba(59,130,246,.18);outline-offset:2px}
.lop-class-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lop-class-schedule-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;align-items:start;padding:16px;border:1px solid #dbeafe;border-radius:20px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 12px 26px rgba(30,64,175,.06)}.lop-class-schedule-card time{display:flex;min-height:78px;flex-direction:column;align-items:center;justify-content:center;border-radius:17px;background:linear-gradient(145deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.22)}.lop-class-schedule-card time strong{font-size:30px;line-height:1;font-weight:950}.lop-class-schedule-card time span{margin-top:5px;font-size:11px;font-weight:900;text-transform:uppercase}.lop-class-schedule-card h3{margin:8px 0 5px;color:#0f172a;font-size:19px;line-height:1.25}.lop-class-schedule-card p{margin:4px 0;color:#64748b;line-height:1.5}.lop-class-manager-box{margin-top:14px;border:1px solid #bfdbfe;border-radius:18px;background:#f8fbff;padding:13px 15px}.lop-class-manager-box>summary{cursor:pointer;color:#1d4ed8;font-weight:950;list-style:none}.lop-class-manager-box>summary::-webkit-details-marker{display:none}.lop-class-manager-box[open]>summary{margin-bottom:14px}.lop-class-time-pair>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lop-class-weekdays{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}.lop-class-weekdays>span{font-weight:900;color:#0f172a}.lop-class-weekdays label{display:inline-flex;align-items:center;gap:4px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font-size:12px;cursor:pointer}.lop-class-weekdays input{width:auto!important;margin:0}.lop-class-admin-list{display:grid;gap:10px}.lop-class-admin-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}.lop-class-admin-list span{min-width:0}.lop-class-admin-list strong,.lop-class-admin-list small{display:block}.lop-class-admin-list small{margin-top:4px;color:#64748b;font-weight:750}.lop-class-admin-list form{flex:0 0 auto}
.lop-class-flow-list{display:grid;gap:11px;margin:0;padding:0;list-style:none}.lop-class-flow-list li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center}.lop-class-flow-list b{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:11px;background:#eef2ff;color:#4338ca;font-weight:950}.lop-class-flow-list span{color:#475569;font-weight:750;line-height:1.45}.lop-class-assignment-pro{margin-top:14px;padding:18px;border:1px solid #dbeafe;border-radius:22px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 12px 28px rgba(30,64,175,.06)}.lop-class-assignment-pro.has-submission{border-color:#bbf7d0;background:linear-gradient(145deg,#fff,#f0fdf4)}.lop-class-assignment-head{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:16px}.lop-class-assignment-head h3{margin:8px 0 6px;font-size:21px;color:#0f172a}.lop-class-assignment-head p{margin:0;color:#475569;line-height:1.55}.lop-class-assignment-head aside{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:17px;background:#fff;border:1px solid #dbeafe;padding:12px}.lop-class-assignment-head aside strong{color:#1d4ed8;font-size:17px}.lop-class-assignment-head aside span,.lop-class-assignment-head aside em{font-style:normal;color:#64748b;font-size:11px;font-weight:800}.lop-class-submission-summary{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px;padding:10px 12px;border-radius:13px;background:#ecfdf5;color:#166534;font-size:12px;font-weight:800}.lop-class-submission-text{margin:12px 0 0!important;color:#334155!important;white-space:pre-wrap}.lop-class-feedback{margin-top:12px;padding:12px 14px;border-left:4px solid #8b5cf6;border-radius:0 14px 14px 0;background:#f5f3ff}.lop-class-feedback strong{color:#5b21b6}.lop-class-feedback p{margin:5px 0 0;color:#4c1d95}.lop-class-submit-box{margin-top:14px}.lop-class-submit-box>summary{display:inline-flex;cursor:pointer;border-radius:12px;padding:9px 12px;background:#2563eb;color:#fff;font-weight:900;list-style:none}.lop-class-submit-box>summary::-webkit-details-marker{display:none}.lop-class-submit-box[open]>summary{margin-bottom:12px;background:#1d4ed8}
.lop-class-members-grid{align-items:start}.lop-class-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lop-class-feature-grid>div{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.lop-class-feature-grid b{grid-row:1/3;display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:12px;background:#fff;font-size:20px}.lop-class-feature-grid strong{color:#0f172a}.lop-class-feature-grid span{color:#64748b;font-size:12px;font-weight:700}
.lop-class-quiz-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;margin-top:14px;border:1px solid #ddd6fe;border-radius:23px;background:linear-gradient(145deg,#fff,#faf5ff);overflow:hidden;box-shadow:0 14px 30px rgba(109,40,217,.08)}.lop-class-quiz-cover{display:flex;min-height:170px;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#7c3aed,#4f46e5);color:#fff;text-align:center}.lop-class-quiz-cover span{font-size:12px;font-weight:950;letter-spacing:.12em}.lop-class-quiz-cover strong{font-size:58px;line-height:1;font-weight:950}.lop-class-quiz-cover em{font-style:normal;font-weight:800}.lop-class-quiz-body{min-width:0;padding:18px 18px 18px 0}.lop-class-quiz-body h3{margin:0 0 7px;color:#0f172a;font-size:22px}.lop-class-quiz-body>p{margin:0;color:#64748b;line-height:1.55}.lop-class-quiz-result{margin:12px 0;padding:12px 14px;border:1px solid #86efac;border-radius:14px;background:#f0fdf4;color:#166534;font-weight:950}.lop-class-quiz-play{margin-top:14px}.lop-class-quiz-play>summary{display:inline-flex;cursor:pointer;border-radius:12px;padding:9px 13px;background:#7c3aed;color:#fff;font-weight:950;list-style:none}.lop-class-quiz-play>summary::-webkit-details-marker{display:none}.lop-class-quiz-play[open]>summary{margin-bottom:12px;background:#6d28d9}.lop-class-quiz-form{padding:14px;border:1px solid #ddd6fe;border-radius:18px;background:#fff}.lop-class-quiz-progress{position:relative;height:10px;margin-bottom:16px;border-radius:999px;background:#ede9fe;overflow:hidden}.lop-class-quiz-progress i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#2563eb);transition:width .25s ease}.lop-class-quiz-progress span{position:absolute;right:6px;top:12px;color:#6d28d9;font-size:11px;font-weight:950}.lop-class-quiz-question{display:none;margin:0;padding:0;border:0}.lop-class-quiz-question.is-active{display:block}.lop-class-quiz-question legend{width:100%;margin-bottom:14px;color:#0f172a;font-size:21px;font-weight:950;line-height:1.35}.lop-class-quiz-question legend small{display:block;margin-bottom:5px;color:#7c3aed;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.lop-class-quiz-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lop-class-quiz-options label{position:relative;cursor:pointer}.lop-class-quiz-options input{position:absolute;opacity:0;pointer-events:none}.lop-class-quiz-options span{display:flex;min-height:54px;align-items:center;gap:10px;padding:10px 12px;border:2px solid #e2e8f0;border-radius:15px;background:#fff;color:#334155;font-weight:850;transition:border-color .16s,background .16s,transform .16s,box-shadow .16s}.lop-class-quiz-options b{display:flex;flex:0 0 32px;width:32px;height:32px;align-items:center;justify-content:center;border-radius:10px;background:#f1f5f9;color:#475569}.lop-class-quiz-options label:hover span{border-color:#a78bfa;background:#faf5ff;transform:translateY(-1px)}.lop-class-quiz-options input:focus-visible+span{outline:3px solid rgba(124,58,237,.2);outline-offset:2px;border-color:#7c3aed}.lop-class-quiz-options input:checked+span{border-color:#7c3aed;background:#f5f3ff;color:#5b21b6;box-shadow:0 8px 18px rgba(124,58,237,.12)}.lop-class-quiz-options input:checked+span b{background:#7c3aed;color:#fff}.lop-class-quiz-hint{margin:9px 0 0;color:#64748b;font-size:12px;font-weight:750}.lop-class-quiz-nav{display:flex;justify-content:space-between;gap:10px;margin-top:15px}.lop-class-question-builder{position:relative;margin-top:13px;padding:16px;border:1px solid #ddd6fe;border-radius:18px;background:#fff}.lop-class-question-number{display:inline-flex;margin-bottom:10px;border-radius:999px;padding:5px 10px;background:#ede9fe;color:#6d28d9;font-size:12px;font-weight:950}.lop-class-question-remove{position:absolute;right:12px;top:12px;width:32px;height:32px;border:0;border-radius:10px;background:#fee2e2;color:#b91c1c;font-size:22px;font-weight:900;cursor:pointer}.lop-class-question-remove:hover,.lop-class-question-remove:focus-visible{background:#dc2626;color:#fff;outline:3px solid rgba(220,38,38,.18);outline-offset:2px}.lop-class-builder-actions{display:flex;justify-content:space-between;gap:12px;margin-top:14px}
.lop-class-period-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:14px;padding:12px;border-radius:15px;background:#f8fafc}.lop-class-period-filter label{display:grid;gap:5px;color:#475569;font-size:12px;font-weight:900}.lop-class-period-filter input{border:1px solid #cbd5e1;border-radius:10px;padding:9px;background:#fff;color:#0f172a}.lop-class-performance-table{min-width:980px}.lop-class-summary-note{max-width:360px;color:#334155;font-size:12px;line-height:1.45}.lop-class-copy-note{margin-top:6px;border:0;border-radius:9px;padding:6px 8px;background:#e0e7ff;color:#3730a3;font-size:11px;font-weight:900;cursor:pointer}.lop-class-copy-note:hover,.lop-class-copy-note:focus-visible{background:#4f46e5;color:#fff;outline:3px solid rgba(79,70,229,.18);outline-offset:2px}.lop-class-trend{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:950}.lop-class-trend.up{background:#dcfce7;color:#166534}.lop-class-trend.down{background:#fee2e2;color:#b91c1c}.lop-class-trend.neutral{background:#f1f5f9;color:#475569}.lop-class-report-assignment{margin-top:12px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;overflow:hidden}.lop-class-report-assignment>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;padding:14px 16px;list-style:none}.lop-class-report-assignment>summary::-webkit-details-marker{display:none}.lop-class-report-assignment>summary:hover{background:#f8fafc}.lop-class-report-assignment>summary strong,.lop-class-report-assignment>summary small{display:block}.lop-class-report-assignment>summary small{margin-top:4px;color:#64748b}.lop-class-report-assignment>summary b{white-space:nowrap;border-radius:999px;padding:6px 9px;background:#eef2ff;color:#4338ca;font-size:11px}.lop-class-report-assignment[open]>summary{border-bottom:1px solid #e2e8f0;background:#f8fafc}.lop-class-grade-form{display:grid;min-width:220px;gap:7px}.lop-class-grade-form>div{display:flex;align-items:center;gap:6px}.lop-class-grade-form input{width:85px;border:1px solid #cbd5e1;border-radius:10px;padding:8px}.lop-class-grade-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:8px;resize:vertical}.lop-class-lop-stack{display:inline-block;white-space:nowrap;border-radius:10px;padding:7px 9px;background:#ecfdf5;color:#166534;font-size:11px;font-weight:900}.lop-class-note-grow{grid-column:span 2}.lop-class-note-form .lop-class-form-grid{grid-template-columns:minmax(220px,.6fr) minmax(0,1.4fr)}
.lop-class-btn.danger{border-color:#fecaca!important;background:#fff!important;color:#b91c1c!important}.lop-class-btn.danger:hover,.lop-class-btn.danger:focus-visible{border-color:#dc2626!important;background:#dc2626!important;color:#fff!important}.lop-class-btn:focus-visible,.lop-class-form input:focus-visible,.lop-class-form select:focus-visible,.lop-class-form textarea:focus-visible,.lop-class-period-filter input:focus-visible,.lop-class-grade-form input:focus-visible,.lop-class-grade-form textarea:focus-visible{outline:3px solid rgba(37,99,235,.2);outline-offset:2px;border-color:#2563eb}.lop-class-btn:active:not(:disabled){transform:translateY(1px)}.lop-class-btn:disabled,.lop-class-btn.is-loading{cursor:not-allowed!important;opacity:.62!important;filter:saturate(.5);box-shadow:none!important;transform:none!important}.lop-class-form input[type=file]{padding:9px;background:#f8fafc}.lop-class-form input[type=file]::file-selector-button{margin-right:10px;border:0;border-radius:9px;padding:7px 10px;background:#e0e7ff;color:#3730a3;font-weight:900;cursor:pointer}.lop-class-form input[type=file]::file-selector-button:hover{background:#4f46e5;color:#fff}
@media(max-width:900px){.lop-class-schedule-grid{grid-template-columns:1fr}.lop-class-quiz-card{grid-template-columns:110px minmax(0,1fr)}.lop-class-quiz-cover{min-height:150px}.lop-class-quiz-cover strong{font-size:44px}.lop-class-quiz-options{grid-template-columns:1fr}.lop-class-note-form .lop-class-form-grid{grid-template-columns:1fr}.lop-class-note-grow{grid-column:auto}.lop-class-admin-list>div{align-items:flex-start}.lop-class-builder-actions{flex-direction:column}.lop-class-builder-actions .lop-class-btn{width:100%}.lop-class-quiz-nav .lop-class-btn{width:auto;flex:1}}
@media(max-width:620px){.lop-classroom-pro{padding-left:10px;padding-right:10px}.lop-class-schedule-card{grid-template-columns:64px minmax(0,1fr);padding:12px;gap:10px}.lop-class-schedule-card time{min-height:68px}.lop-class-schedule-card time strong{font-size:25px}.lop-class-assignment-head{grid-template-columns:1fr}.lop-class-assignment-head aside{align-items:flex-start;text-align:left}.lop-class-feature-grid{grid-template-columns:1fr}.lop-class-quiz-card{grid-template-columns:1fr}.lop-class-quiz-cover{min-height:105px;flex-direction:row;gap:9px}.lop-class-quiz-cover strong{font-size:42px}.lop-class-quiz-body{padding:16px}.lop-class-admin-list>div{flex-direction:column}.lop-class-time-pair>div{grid-template-columns:1fr}.lop-class-report-assignment>summary{align-items:flex-start;flex-direction:column}.lop-class-period-filter{display:grid;grid-template-columns:1fr 1fr}.lop-class-period-filter .lop-class-btn{grid-column:1/-1;width:100%}.lop-class-quiz-nav{display:grid;grid-template-columns:1fr 1fr}.lop-class-quiz-nav [data-quiz-submit]{grid-column:1/-1}.lop-class-question-builder{padding:14px 12px}.lop-class-weekdays>span{width:100%}}
.lop-classroom-pro .lop-class-status-table tr.is-not-assigned td{background:#f8fafc;color:#64748b}
.lop-classroom-pro .lop-class-status-table tr.is-not-assigned strong,.lop-classroom-pro .lop-class-status-table tr.is-not-assigned code{opacity:.78}

/* v2.8.551 Classroom UI/UX: compact hero, quick navigation, lesson picker and modal workflows */
.lop-classroom-pro,.lop-classroom-pro *{box-sizing:border-box}
.lop-classroom-page.lop-classroom-pro{width:min(100%,1180px);overflow:visible;scroll-behavior:smooth}
.lop-classroom-pro .lop-classroom-hero-compact{display:flex!important;grid-template-columns:none!important;align-items:center;gap:15px;min-height:94px;padding:16px 20px;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(239,246,255,.94));border-color:rgba(147,197,253,.62);box-shadow:0 14px 38px rgba(30,64,175,.09)}
.lop-classroom-pro .lop-classroom-hero-compact>div:last-child{min-width:0}
.lop-classroom-pro .lop-classroom-hero-compact h1{margin:0 0 5px!important;font-size:clamp(27px,3.4vw,36px)!important;line-height:1.12!important;letter-spacing:-.035em!important;color:#0f172a!important}
.lop-classroom-pro .lop-classroom-hero-compact p{margin:0!important;max-width:920px!important;font-size:18px!important;line-height:1.48!important;font-weight:720!important;color:#475569!important}
.lop-classroom-hero-icon{position:relative;display:grid;flex:0 0 58px;width:58px;height:58px;place-items:center;border-radius:18px;background:linear-gradient(145deg,#4f46e5,#2563eb);box-shadow:0 12px 28px rgba(37,99,235,.24);isolation:isolate;overflow:hidden}
.lop-classroom-hero-icon b{font-size:27px;line-height:1;filter:drop-shadow(0 3px 7px rgba(15,23,42,.2));animation:lopClassHeroFloat 2.8s ease-in-out infinite}
.lop-classroom-hero-icon span{position:absolute;right:7px;top:5px;color:#fef08a;font-size:14px;animation:lopClassHeroSpark 1.8s ease-in-out infinite}
.lop-classroom-hero-icon i{position:absolute;left:-15px;bottom:-22px;width:70px;height:43px;border-radius:50%;background:rgba(255,255,255,.16);transform:rotate(-12deg)}
@keyframes lopClassHeroFloat{0%,100%{transform:translateY(1px) rotate(-2deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@keyframes lopClassHeroSpark{0%,100%{opacity:.45;transform:scale(.75) rotate(0)}50%{opacity:1;transform:scale(1.18) rotate(16deg)}}

.lop-class-quick-nav{position:sticky;top:8px;z-index:50;display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 2px;padding:8px;border:1px solid rgba(191,219,254,.9);border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(15,23,42,.08);backdrop-filter:blur(16px)}
.lop-class-quick-nav a,.lop-class-quick-nav a:visited{display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:8px 12px;border:1px solid transparent;border-radius:11px;color:#334155!important;background:transparent;text-decoration:none!important;font-size:12px;font-weight:900;line-height:1.15;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.lop-class-quick-nav a:hover,.lop-class-quick-nav a:focus-visible,.lop-class-quick-nav a.is-active{background:#eff6ff;color:#1d4ed8!important;border-color:#bfdbfe;outline:none;transform:translateY(-1px)}
.lop-class-quick-nav a:focus-visible{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.lop-class-quick-nav a:active{transform:translateY(1px)}

.lop-classroom-pro .lop-class-section{position:relative;scroll-margin-top:86px;overflow:hidden}
.lop-classroom-pro .lop-class-section:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#3b82f6,#8b5cf6)}
.lop-classroom-pro .lop-class-section-schedule:before{background:linear-gradient(90deg,#0ea5e9,#2563eb)}
.lop-classroom-pro .lop-class-section-lessons:before{background:linear-gradient(90deg,#10b981,#22c55e)}
.lop-classroom-pro .lop-class-section-assignments:before{background:linear-gradient(90deg,#f59e0b,#f97316)}
.lop-classroom-pro .lop-class-section-quizzes:before{background:linear-gradient(90deg,#8b5cf6,#6366f1)}
.lop-classroom-pro .lop-class-section-members:before{display:none}
.lop-classroom-pro .lop-class-section-notes:before{background:linear-gradient(90deg,#ec4899,#8b5cf6)}
.lop-classroom-pro .lop-class-section-reports:before{background:linear-gradient(90deg,#14b8a6,#0f766e)}
.lop-class-section-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
.lop-class-section-footnote{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:800;line-height:1.45}

.lop-class-lesson-list{display:grid;gap:8px}
.lop-class-lesson-row{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #dcfce7;border-radius:14px;background:linear-gradient(135deg,#fff,#f0fdf4);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.lop-class-lesson-row:hover{border-color:#86efac;box-shadow:0 9px 22px rgba(22,163,74,.09);transform:translateY(-1px)}
.lop-class-lesson-row>a{display:flex;min-width:0;flex:1;align-items:center;gap:10px;padding:12px 14px;color:#14532d!important;text-decoration:none!important}
.lop-class-lesson-row>a span{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:9px;background:#dcfce7;color:#15803d;font-size:11px}
.lop-class-lesson-row>a strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900}
.lop-class-lesson-row>a:focus-visible{outline:3px solid rgba(34,197,94,.22);outline-offset:2px;border-radius:12px}
.lop-class-lesson-row form{flex:0 0 auto;margin:0;padding-right:8px}
.lop-class-lesson-row form button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:9px;background:#fff1f2;color:#be123c;font-size:18px;font-weight:900;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}
.lop-class-lesson-row form button:hover,.lop-class-lesson-row form button:focus-visible{background:#e11d48;color:#fff;outline:3px solid rgba(225,29,72,.18);outline-offset:2px}
.lop-class-lesson-row form button:active{transform:scale(.94)}

body.lop-class-modal-open{overflow:hidden!important}
.lop-class-modal[hidden]{display:none!important}
.lop-class-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.lop-class-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.66);backdrop-filter:blur(7px);animation:lopClassModalFade .18s ease-out both}
.lop-class-modal-dialog{position:relative;z-index:1;display:flex;width:min(720px,100%);max-height:min(88vh,860px);flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.68);border-radius:25px;background:#fff;box-shadow:0 28px 90px rgba(15,23,42,.34);animation:lopClassModalIn .22s cubic-bezier(.2,.8,.2,1) both}
.lop-class-modal-wide .lop-class-modal-dialog{width:min(900px,100%)}
.lop-class-modal-head{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 15px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc,#eff6ff)}
.lop-class-modal-head>div{min-width:0}
.lop-class-modal-head span{display:block;margin-bottom:4px;color:#4f46e5;font-size:10px;font-weight:950;letter-spacing:.12em}
.lop-class-modal-head h2{margin:0;color:#0f172a;font-size:23px;line-height:1.2;letter-spacing:-.025em}
.lop-class-modal-head p{margin:4px 0 0;color:#64748b;font-size:13px;font-weight:700;line-height:1.4}
.lop-class-modal-close{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#475569;font-size:24px;font-weight:800;line-height:1;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.lop-class-modal-close:hover,.lop-class-modal-close:focus-visible{border-color:#fda4af;background:#fff1f2;color:#be123c;outline:3px solid rgba(225,29,72,.14);outline-offset:2px}
.lop-class-modal-close:active{transform:scale(.94)}
.lop-class-modal-body{min-height:0;overflow:auto;padding:18px 20px 20px;overscroll-behavior:contain}
.lop-class-modal-actions{position:sticky;bottom:-20px;display:flex;justify-content:flex-end;gap:9px;margin:5px -20px -20px;padding:14px 20px;border-top:1px solid #e2e8f0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
@keyframes lopClassModalFade{from{opacity:0}to{opacity:1}}
@keyframes lopClassModalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}

.lop-class-scoring-choice{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:15px;background:#eff6ff}
.lop-class-scoring-choice>small{color:#475569;font-weight:720;line-height:1.4}
.lop-class-switch{display:inline-flex!important;flex:0 0 auto;align-items:center;gap:9px;cursor:pointer}
.lop-class-switch input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.lop-class-switch>span{position:relative;display:block;width:44px;height:25px;border-radius:999px;background:#94a3b8;box-shadow:inset 0 0 0 1px rgba(15,23,42,.1);transition:background .18s ease,box-shadow .18s ease}
.lop-class-switch>span:after{content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.25);transition:transform .18s ease}
.lop-class-switch input:checked+span{background:#2563eb}
.lop-class-switch input:checked+span:after{transform:translateX(19px)}
.lop-class-switch input:focus-visible+span{box-shadow:0 0 0 4px rgba(37,99,235,.2)}
.lop-class-switch b{white-space:nowrap;color:#1e3a8a;font-size:13px;font-weight:950}
[data-lop-scoring-fields][hidden]{display:none!important}

.lop-class-lesson-search{position:relative;display:block!important;margin-bottom:12px}
.lop-class-lesson-search span{position:absolute;left:13px;top:50%;z-index:1;transform:translateY(-50%);pointer-events:none}
.lop-class-lesson-search input{padding-left:42px!important}
.lop-class-lesson-picker{display:grid;max-height:430px;gap:7px;overflow:auto;padding:2px 4px 2px 1px;overscroll-behavior:contain}
.lop-class-lesson-picker>label{display:flex!important;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.lop-class-lesson-picker>label:hover{border-color:#93c5fd;background:#eff6ff;transform:translateX(2px)}
.lop-class-lesson-picker>label[hidden]{display:none!important}
.lop-class-lesson-picker>label.is-selected{border-color:#bbf7d0;background:#f0fdf4;cursor:default;opacity:.78}
.lop-class-lesson-picker input{flex:0 0 auto;width:18px!important;height:18px!important;margin:0;accent-color:#2563eb}
.lop-class-lesson-picker span{min-width:0;flex:1;color:#0f172a;font-size:13px;font-weight:850;line-height:1.35}
.lop-class-lesson-picker em{flex:0 0 auto;border-radius:999px;padding:4px 7px;background:#dcfce7;color:#166534;font-size:10px;font-style:normal;font-weight:900}
.lop-class-lesson-picker input:focus-visible{outline:3px solid rgba(37,99,235,.2);outline-offset:2px}

.lop-classroom-pro .lop-class-assignment-list>div{border-radius:14px;background:#fffaf5}
.lop-classroom-pro .lop-classroom-manager-settings{border-radius:17px;padding:11px 14px}
.lop-classroom-pro .lop-class-btn,.lop-class-modal .lop-class-btn{font-family:inherit}
.lop-classroom-pro .lop-class-btn.primary:focus-visible,.lop-class-modal .lop-class-btn.primary:focus-visible{background:linear-gradient(135deg,#3730a3,#1d4ed8)!important;color:#fff!important}
.lop-classroom-pro .lop-class-btn.secondary:focus-visible,.lop-class-modal .lop-class-btn.secondary:focus-visible{background:#eff6ff!important;color:#1d4ed8!important}

@media(max-width:900px){
  .lop-classroom-pro .lop-classroom-section-head{display:flex;align-items:flex-start}
  .lop-class-section-actions .lop-class-btn{width:auto}
  .lop-class-modal .lop-class-form-grid{grid-template-columns:1fr 1fr}
  .lop-class-modal .lop-class-btn{width:auto}
  .lop-class-builder-actions{align-items:stretch}
  .lop-class-builder-actions>div{display:flex;gap:8px}
}
@media(max-width:620px){
  .lop-classroom-page.lop-classroom-pro{width:100%;margin:8px auto 32px!important;padding-left:5px!important;padding-right:5px!important}
  .lop-classroom-pro .lop-classroom-hero-compact{gap:11px;min-height:78px;padding:13px 12px;border-radius:17px}
  .lop-classroom-hero-icon{flex-basis:48px;width:48px;height:48px;border-radius:15px}
  .lop-classroom-hero-icon b{font-size:23px}
  .lop-classroom-pro .lop-classroom-hero-compact h1{font-size:24px!important;line-height:1.14!important}
  .lop-classroom-pro .lop-classroom-hero-compact p{font-size:16px!important;line-height:1.42!important}
  .lop-class-quick-nav{top:4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px;padding:6px;border-radius:14px}
  .lop-class-quick-nav a{width:100%!important;min-height:34px;padding:7px 6px!important;font-size:11px}
  .lop-classroom-pro .lop-classroom-panel{padding:14px 11px;border-radius:18px}
  .lop-classroom-pro .lop-class-wide,.lop-classroom-pro .lop-classroom-grid{margin-top:11px}
  .lop-classroom-pro .lop-classroom-section-head{display:block;margin-bottom:12px}
  .lop-classroom-pro .lop-classroom-section-head h2{font-size:20px}
  .lop-classroom-pro .lop-classroom-section-head p{font-size:13px;line-height:1.4}
  .lop-class-section-actions{justify-content:flex-start;margin-top:9px}
  .lop-class-section-actions .lop-class-btn{width:auto!important;min-height:36px;padding:8px 11px}
  .lop-class-count-pill{padding:6px 9px}
  .lop-class-lesson-row>a{padding:10px 9px}
  .lop-class-lesson-row>a strong{white-space:normal;font-size:13px;line-height:1.35}
  .lop-class-modal{align-items:end;padding:0}
  .lop-class-modal-dialog,.lop-class-modal-wide .lop-class-modal-dialog{width:100%;max-height:94dvh;border-radius:22px 22px 0 0;border-bottom:0;animation-name:lopClassModalMobileIn}
  .lop-class-modal-head{padding:14px 13px 12px}
  .lop-class-modal-head h2{font-size:20px}
  .lop-class-modal-head p{font-size:12px}
  .lop-class-modal-close{flex-basis:36px;width:36px;height:36px}
  .lop-class-modal-body{padding:13px 11px 16px}
  .lop-class-modal .lop-class-form-grid{grid-template-columns:1fr}
  .lop-class-modal-actions{bottom:-16px;margin:3px -11px -16px;padding:11px}
  .lop-class-modal-actions .lop-class-btn{flex:1;width:auto!important;padding-left:10px;padding-right:10px}
  .lop-class-scoring-choice{align-items:flex-start;flex-direction:column;gap:7px;padding:10px}
  .lop-class-lesson-picker{max-height:48dvh}
  .lop-class-builder-actions>div{display:grid;grid-template-columns:1fr 1fr}
  .lop-class-builder-actions .lop-class-btn{width:100%!important}
  .lop-class-question-builder{padding-left:10px;padding-right:10px}
  .lop-classroom-pro .lop-class-status-table-wrap{max-width:100%}
}
@keyframes lopClassModalMobileIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.lop-classroom-hero-icon b,.lop-classroom-hero-icon span{animation:none!important}.lop-class-modal-backdrop,.lop-class-modal-dialog{animation:none!important}.lop-class-quick-nav a,.lop-class-lesson-row,.lop-class-lesson-picker>label{transition:none!important}}

/* v2.8.560: /lop dashboard is a simple five-step navigation flow. */
.lopsp-page-dashboard > .lopsp-hero,
.lopsp-page-dashboard > .lopsp-streak-calendar-spotlight{display:none!important;}
.lopsp-page-dashboard .lopsp-dashboard-overview{
  width:100%;max-width:1320px;margin:18px auto 34px;display:grid;gap:16px;color:#0f172a;
}
.lopsp-page-dashboard .lopsp-dashboard-flow-head{padding:4px 2px 0;}
.lopsp-page-dashboard .lopsp-dashboard-kicker,
.lopsp-page-dashboard .lopsp-dashboard-process-head span,
.lopsp-page-dashboard .lopsp-dashboard-tools-head span{
  display:block;margin-bottom:5px;color:#4f46e5;font-size:11px;line-height:1.2;font-weight:950;letter-spacing:.09em;text-transform:uppercase;
}
.lopsp-page-dashboard .lopsp-dashboard-flow-head h1{margin:0;color:#0b1736;font-size:30px;line-height:1.14;font-weight:950;letter-spacing:-.035em;}
.lopsp-page-dashboard .lopsp-dashboard-flow-head p{max-width:760px;margin:7px 0 0;color:#64748b;font-size:14px;line-height:1.55;font-weight:700;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a{
  min-width:0;min-height:68px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:12px 13px;
  color:#0f172a;text-decoration:none;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04);
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a:hover{color:#0f172a;transform:translateY(-1px);border-color:#c7d2fe;box-shadow:0 11px 24px rgba(79,70,229,.08);}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a:active{transform:none;box-shadow:none;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f1f5f9;font-size:19px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip div{min-width:0;display:flex;flex-direction:column;gap:2px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip small{color:#64748b;font-size:10px;line-height:1.2;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip strong{color:#0b1736;font-size:17px;line-height:1.2;font-weight:950;white-space:normal;overflow-wrap:anywhere;}
.lopsp-page-dashboard .lopsp-dashboard-process{
  padding:20px;border:1px solid #dbe3f0;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);box-shadow:0 16px 38px rgba(15,23,42,.055);
}
.lopsp-page-dashboard .lopsp-dashboard-process-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px;}
.lopsp-page-dashboard .lopsp-dashboard-process-head h2,
.lopsp-page-dashboard .lopsp-dashboard-tools-head h2{margin:0;color:#0b1736;font-size:21px;line-height:1.2;font-weight:950;letter-spacing:-.025em;}
.lopsp-page-dashboard .lopsp-dashboard-process-head>small{color:#64748b;font-size:12px;line-height:1.4;font-weight:750;}
.lopsp-page-dashboard .lopsp-dashboard-process-list{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;counter-reset:none;}
.lopsp-page-dashboard .lopsp-dashboard-process-list::before{content:"";position:absolute;left:8%;right:8%;top:31px;height:2px;background:linear-gradient(90deg,#c7d2fe,#bae6fd,#bbf7d0,#fed7aa,#ddd6fe);z-index:0;}
.lopsp-page-dashboard .lopsp-dashboard-process-list li{position:relative;min-width:0;z-index:1;}
.lopsp-page-dashboard .lopsp-dashboard-process-list a{
  min-height:190px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:13px;color:#0f172a;text-decoration:none;border:1px solid #e2e8f0;border-radius:18px;background:rgba(255,255,255,.96);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.lopsp-page-dashboard .lopsp-dashboard-process-list a:hover{color:#0f172a;transform:translateY(-3px);border-color:#a5b4fc;box-shadow:0 14px 28px rgba(79,70,229,.10);}
.lopsp-page-dashboard .lopsp-dashboard-process-list a:active{transform:translateY(-1px);box-shadow:none;}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-current a{border-color:#6366f1;background:linear-gradient(180deg,#eef2ff,#fff);box-shadow:0 14px 28px rgba(79,70,229,.12);}
.lopsp-page-dashboard .lopsp-dashboard-step-number{position:absolute;top:10px;right:10px;min-width:25px;height:25px;padding:0 6px;display:grid;place-items:center;border-radius:999px;color:#475569;background:#f1f5f9;font-size:11px;font-weight:950;}
.lopsp-page-dashboard li.is-current .lopsp-dashboard-step-number{color:#fff;background:#4f46e5;}
.lopsp-page-dashboard .lopsp-dashboard-step-icon{width:50px;height:50px;display:grid;place-items:center;border:1px solid #e0e7ff;border-radius:16px;background:linear-gradient(135deg,#eef2ff,#ecfeff);font-size:24px;box-shadow:0 7px 16px rgba(79,70,229,.08);}
.lopsp-page-dashboard .lopsp-dashboard-process-list a>div{min-width:0;display:flex;flex:1;flex-direction:column;align-items:flex-start;}
.lopsp-page-dashboard .lopsp-dashboard-process-list strong{color:#0b1736;font-size:16px;line-height:1.25;font-weight:950;}
.lopsp-page-dashboard .lopsp-dashboard-process-list p{margin:5px 0 9px;color:#64748b;font-size:12px;line-height:1.45;font-weight:700;}
.lopsp-page-dashboard .lopsp-dashboard-process-list em{margin-top:auto;padding:5px 7px;border-radius:9px;color:#475569;background:#f1f5f9;font-size:10px;line-height:1.25;font-style:normal;font-weight:900;}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-current em{color:#3730a3;background:#e0e7ff;}
.lopsp-page-dashboard .lopsp-dashboard-process-list a>b{position:absolute;right:11px;bottom:10px;color:#94a3b8;font-size:16px;line-height:1;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar{
  min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 15px;border:1px solid #c7d2fe;border-radius:19px;background:linear-gradient(105deg,#eef2ff,#f8fafc 58%,#ecfeff);box-shadow:0 10px 26px rgba(79,70,229,.07);
}
.lopsp-page-dashboard .lopsp-dashboard-next-bar-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#fff;font-size:22px;box-shadow:0 7px 18px rgba(79,70,229,.11);}
.lopsp-page-dashboard .lopsp-dashboard-next-bar>div{min-width:0;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar small{display:block;color:#4f46e5;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar strong{display:block;margin-top:2px;color:#0b1736;font-size:17px;line-height:1.25;font-weight:950;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar p{margin:3px 0 0;color:#64748b;font-size:12px;line-height:1.4;font-weight:700;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar>a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid #4338ca;border-radius:13px;color:#fff!important;background:#4f46e5;text-decoration:none;font-size:13px;font-weight:950;box-shadow:0 8px 18px rgba(79,70,229,.22);transition:transform .15s ease,background .15s ease,box-shadow .15s ease;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar>a:hover{background:#4338ca;transform:translateY(-1px);box-shadow:0 11px 22px rgba(79,70,229,.27);}
.lopsp-page-dashboard .lopsp-dashboard-next-bar>a:active{transform:none;box-shadow:none;}
.lopsp-page-dashboard .lopsp-dashboard-tools{padding:2px;}
.lopsp-page-dashboard .lopsp-dashboard-tools-head{margin-bottom:10px;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid>a{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;color:#0f172a;text-decoration:none;border:1px solid #e2e8f0;border-radius:15px;background:#fff;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid>a:hover{color:#0f172a;transform:translateY(-1px);border-color:#c7d2fe;box-shadow:0 9px 22px rgba(79,70,229,.08);}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid>a:active{transform:none;box-shadow:none;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid>a>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f8fafc;font-size:19px;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid div{min-width:0;display:flex;flex-direction:column;gap:2px;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid strong{color:#0b1736;font-size:14px;line-height:1.25;font-weight:950;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid small{color:#64748b;font-size:11px;line-height:1.3;font-weight:750;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid b{color:#94a3b8;font-size:15px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a:focus-visible,
.lopsp-page-dashboard .lopsp-dashboard-process-list a:focus-visible,
.lopsp-page-dashboard .lopsp-dashboard-next-bar>a:focus-visible,
.lopsp-page-dashboard .lopsp-dashboard-tools-grid>a:focus-visible{outline:3px solid rgba(59,130,246,.34);outline-offset:3px;}
@media(max-width:1020px){
  .lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:repeat(3,minmax(0,1fr));}
  .lopsp-page-dashboard .lopsp-dashboard-process-list::before{display:none;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:168px;}
  .lopsp-page-dashboard .lopsp-dashboard-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .lopsp-page-dashboard .lopsp-dashboard-overview{margin-top:12px;gap:13px;}
  .lopsp-page-dashboard .lopsp-dashboard-flow-head h1{font-size:25px;}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a{min-height:62px;padding:10px;}
  .lopsp-page-dashboard .lopsp-dashboard-process{padding:15px;border-radius:20px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-head{display:grid;gap:5px;align-items:start;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:1fr;gap:8px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:0;display:grid;grid-template-columns:44px minmax(0,1fr) 18px;grid-template-rows:auto;align-items:center;gap:10px;padding:12px;}
  .lopsp-page-dashboard .lopsp-dashboard-step-number{position:absolute;top:8px;left:8px;right:auto;min-width:21px;height:21px;font-size:9px;z-index:2;}
  .lopsp-page-dashboard .lopsp-dashboard-step-icon{width:44px;height:44px;border-radius:14px;font-size:21px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list p{margin:3px 0 6px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list em{margin-top:0;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a>b{position:static;align-self:center;justify-self:end;}
  .lopsp-page-dashboard .lopsp-dashboard-next-bar{grid-template-columns:42px minmax(0,1fr);padding:13px;}
  .lopsp-page-dashboard .lopsp-dashboard-next-bar-icon{width:42px;height:42px;}
  .lopsp-page-dashboard .lopsp-dashboard-next-bar>a{grid-column:1/-1;width:100%;}
  .lopsp-page-dashboard .lopsp-dashboard-tools-grid{grid-template-columns:1fr;gap:7px;}
}
@media(max-width:390px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-flow-head h1{font-size:23px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-head h2,.lopsp-page-dashboard .lopsp-dashboard-tools-head h2{font-size:19px;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a,
  .lopsp-page-dashboard .lopsp-dashboard-process-list a,
  .lopsp-page-dashboard .lopsp-dashboard-next-bar>a,
  .lopsp-page-dashboard .lopsp-dashboard-tools-grid>a{transition:none!important;transform:none!important;}
}

/* v2.8.561 Dashboard flow refinement */
.lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:repeat(5,minmax(0,1fr));}
.lopsp-page-dashboard .lopsp-dashboard-process-head small{color:#64748b;font-size:12px;line-height:1.45;font-weight:700;}
.lopsp-page-dashboard .lopsp-dashboard-process-list{gap:14px;}
.lopsp-page-dashboard .lopsp-dashboard-process-list::before{left:6%;right:6%;top:38px;height:3px;background:linear-gradient(90deg,#c7d2fe,#bfdbfe,#bbf7d0,#fde68a,#ddd6fe);}
.lopsp-page-dashboard .lopsp-dashboard-process-list li::after{content:"➜";position:absolute;top:26px;right:-12px;width:26px;height:26px;display:grid;place-items:center;border-radius:999px;color:#4f46e5;background:#fff;box-shadow:0 8px 18px rgba(79,70,229,.14);font-size:13px;font-weight:900;z-index:2;}
.lopsp-page-dashboard .lopsp-dashboard-process-list li:last-child::after{display:none;}
.lopsp-page-dashboard .lopsp-dashboard-process-list a{position:relative;min-height:248px;display:flex;align-items:flex-start;gap:14px;padding:20px 18px 18px;border-radius:24px;background:linear-gradient(180deg,#fff,#fcfcff);}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-current a{border-color:#6366f1;background:linear-gradient(180deg,#eef2ff,#ffffff);box-shadow:0 16px 36px rgba(79,70,229,.14);}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-done a{border-color:#86efac;background:linear-gradient(180deg,#f0fdf4,#fff);}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-alert a{border-color:#fdba74;background:linear-gradient(180deg,#fff7ed,#fff);}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-ready a{border-color:#93c5fd;background:linear-gradient(180deg,#eff6ff,#fff);}
.lopsp-page-dashboard .lopsp-dashboard-process-list li.is-soft a{border-color:#e2e8f0;background:linear-gradient(180deg,#fff,#f8fafc);}
.lopsp-page-dashboard .lopsp-dashboard-step-number{position:static;flex:0 0 46px;width:46px;height:46px;padding:0;border-radius:18px;color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);font-size:20px;font-weight:950;box-shadow:0 10px 20px rgba(79,70,229,.22);}
.lopsp-page-dashboard li.is-done .lopsp-dashboard-step-number{background:linear-gradient(135deg,#16a34a,#22c55e);}
.lopsp-page-dashboard li.is-alert .lopsp-dashboard-step-number{background:linear-gradient(135deg,#f97316,#f59e0b);}
.lopsp-page-dashboard li.is-ready .lopsp-dashboard-step-number{background:linear-gradient(135deg,#0ea5e9,#3b82f6);}
.lopsp-page-dashboard li.is-soft .lopsp-dashboard-step-number{background:linear-gradient(135deg,#64748b,#94a3b8);}
.lopsp-page-dashboard .lopsp-dashboard-step-icon{width:56px;height:56px;border-radius:18px;font-size:28px;}
.lopsp-page-dashboard .lopsp-dashboard-step-kicker{display:block;margin-bottom:2px;color:#6366f1;font-size:10px;line-height:1.15;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.lopsp-page-dashboard .lopsp-dashboard-process-list strong{font-size:17px;}
.lopsp-page-dashboard .lopsp-dashboard-process-list p{margin:4px 0 8px;font-size:12px;}
.lopsp-page-dashboard .lopsp-dashboard-process-list em{display:inline-flex;align-items:center;min-height:28px;margin-top:0;padding:6px 8px;border-radius:10px;font-size:11px;line-height:1.3;}
.lopsp-page-dashboard .lopsp-dashboard-step-note{display:block;margin-top:10px;color:#334155;font-size:12px;line-height:1.45;font-weight:700;}
.lopsp-page-dashboard .lopsp-dashboard-step-next{display:block;margin-top:8px;color:#475569;font-size:11px;line-height:1.45;font-weight:800;}
.lopsp-page-dashboard .lopsp-dashboard-step-next b{color:#0f172a;font-weight:900;}
.lopsp-page-dashboard .lopsp-dashboard-step-cta{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:6px 10px;border-radius:999px;color:#3730a3;background:#eef2ff;font-size:10px;line-height:1.2;font-weight:950;letter-spacing:.04em;text-transform:uppercase;}
.lopsp-page-dashboard .lopsp-dashboard-process-list a>b{right:14px;bottom:14px;color:#6366f1;font-size:18px;}
.lopsp-page-dashboard .lopsp-dashboard-guides{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;align-items:stretch;}
.lopsp-page-dashboard .lopsp-dashboard-next-bar{height:100%;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-card{height:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px;border:1px solid #e2e8f0;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 14px 30px rgba(15,23,42,.05);}
.lopsp-page-dashboard .lopsp-dashboard-rescue-card.is-ready{background:linear-gradient(135deg,#fffbeb,#fff7ed);border-color:#fdba74;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-card.is-locked{background:linear-gradient(135deg,#eff6ff,#f8fafc);border-color:#bfdbfe;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-card.is-clear{background:linear-gradient(135deg,#f0fdf4,#fff);border-color:#86efac;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-kicker{display:block;color:#0f766e;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-copy h2{margin:4px 0 6px;color:#0b1736;font-size:21px;line-height:1.25;font-weight:950;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-copy p{margin:0;color:#64748b;font-size:12px;line-height:1.45;font-weight:700;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 0;padding:0;list-style:none;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-points li{display:flex;flex-direction:column;gap:3px;padding:10px 11px;border-radius:14px;background:rgba(255,255,255,.84);border:1px solid rgba(148,163,184,.18);}
.lopsp-page-dashboard .lopsp-dashboard-rescue-points strong{color:#0b1736;font-size:18px;line-height:1.1;font-weight:950;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-points span{color:#64748b;font-size:11px;line-height:1.35;font-weight:800;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-cta{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border:1px solid #4338ca;border-radius:14px;color:#fff!important;background:#4f46e5;text-decoration:none;font-size:13px;font-weight:950;box-shadow:0 10px 22px rgba(79,70,229,.22);transition:transform .15s ease,background .15s ease,box-shadow .15s ease;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-cta:hover{background:#4338ca;transform:translateY(-1px);box-shadow:0 12px 24px rgba(79,70,229,.26);}
.lopsp-page-dashboard .lopsp-dashboard-rescue-cta:active{transform:none;box-shadow:none;}
.lopsp-page-dashboard .lopsp-dashboard-rescue-cta:focus-visible{outline:3px solid rgba(59,130,246,.34);outline-offset:3px;}
.lopsp-page-dashboard .lopsp-dashboard-tools-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1180px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:repeat(3,minmax(0,1fr));}
  .lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:repeat(3,minmax(0,1fr));}
  .lopsp-page-dashboard .lopsp-dashboard-process-list::before{display:none;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list li::after{display:none;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:236px;}
  .lopsp-page-dashboard .lopsp-dashboard-guides{grid-template-columns:1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:1fr 1fr;gap:8px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:1fr;gap:10px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:0;display:grid;grid-template-columns:44px 50px minmax(0,1fr) 16px;gap:10px;padding:14px 12px;border-radius:18px;}
  .lopsp-page-dashboard .lopsp-dashboard-step-number{width:44px;height:44px;border-radius:15px;font-size:18px;}
  .lopsp-page-dashboard .lopsp-dashboard-step-icon{width:50px;height:50px;border-radius:15px;font-size:24px;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a>b{position:static;align-self:center;justify-self:end;}
  .lopsp-page-dashboard .lopsp-dashboard-guides{grid-template-columns:1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-rescue-card{grid-template-columns:1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-rescue-points{grid-template-columns:1fr 1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-tools-grid{grid-template-columns:1fr;}
}
@media(max-width:420px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{grid-template-columns:42px 46px minmax(0,1fr);}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a>b{display:none;}
  .lopsp-page-dashboard .lopsp-dashboard-step-note,.lopsp-page-dashboard .lopsp-dashboard-step-next{font-size:11px;}
  .lopsp-page-dashboard .lopsp-dashboard-rescue-points{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-dashboard .lopsp-dashboard-rescue-cta{transition:none!important;transform:none!important;}
}

/* v2.8.562: inspirational Streak calendar at the top of private Dashboard. */
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar{order:0;min-width:0;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-spotlight{margin:0!important;padding:17px!important;border-radius:24px!important;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-spotlight-head{margin-bottom:12px!important;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-spotlight-head h3{font-size:clamp(20px,2.1vw,26px)!important;line-height:1.18!important;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-spotlight-body{grid-template-columns:minmax(190px,.3fr) minmax(0,1fr);gap:13px;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-summary-card{padding:16px;border-radius:20px;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-summary-card strong{font-size:clamp(34px,4vw,48px);}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-box{padding:10px;border-radius:20px;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-top-table td{height:44px!important;border-radius:13px!important;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-month-nav a{min-width:38px;min-height:38px;display:inline-grid;place-items:center;border-radius:12px;}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-month-nav a:focus-visible{outline:3px solid rgba(59,130,246,.34);outline-offset:2px;}
@media(max-width:760px){
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-spotlight{padding:13px!important;border-radius:20px!important;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-spotlight-head{display:grid!important;grid-template-columns:1fr;gap:10px;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-month-nav{justify-self:start;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-spotlight-body{grid-template-columns:1fr;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-summary-card{padding:14px;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-summary-card strong{font-size:34px;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-box{overflow:visible;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-top-table{width:100%;min-width:0;table-layout:fixed;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-top-table th{font-size:10px;padding:4px 1px;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-top-table td{height:40px!important;padding:2px!important;border-radius:10px!important;}
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-day-lop-compact{font-size:8px!important;}
}
@media(max-width:420px){
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-spotlight-head h3{font-size:20px!important;}
}

/* v2.8.563: keep Dashboard compact and focus attention on today's progress. */
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a{position:relative;overflow:hidden;isolation:isolate;min-height:82px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip div{gap:1px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip em{display:block;margin-top:2px;color:#64748b;font-size:10px;line-height:1.3;font-style:normal;font-weight:800;white-space:normal;overflow-wrap:anywhere;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today{z-index:2;border-width:2px;transform:translateY(-4px);box-shadow:0 18px 38px rgba(249,115,22,.18),0 0 0 4px rgba(251,191,36,.10);}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today::after{content:"Ưu tiên";position:absolute;top:7px;right:8px;padding:4px 7px;border-radius:999px;color:#9a3412;background:rgba(255,255,255,.82);font-size:8px;line-height:1;font-weight:950;letter-spacing:.07em;text-transform:uppercase;box-shadow:0 4px 12px rgba(124,45,18,.08);}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-pending{border-color:#fb923c;background:radial-gradient(circle at 88% 12%,rgba(253,186,116,.30),transparent 30%),linear-gradient(135deg,#fff7ed,#fffbeb 55%,#fff);}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-pending>span{color:#c2410c;background:linear-gradient(135deg,#ffedd5,#fed7aa);box-shadow:0 8px 20px rgba(234,88,12,.15);animation:lopDashboardTodayPulse 2.8s ease-in-out infinite;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-pending small{color:#c2410c;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-pending strong{color:#7c2d12;font-size:20px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-pending em{color:#9a3412;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-complete{border-color:#22c55e;background:radial-gradient(circle at 88% 12%,rgba(134,239,172,.30),transparent 30%),linear-gradient(135deg,#f0fdf4,#ecfdf5 55%,#fff);box-shadow:0 18px 38px rgba(34,197,94,.16),0 0 0 4px rgba(134,239,172,.13);}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-complete::after{content:"Đã xong";color:#166534;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-complete>span{color:#15803d;background:linear-gradient(135deg,#dcfce7,#bbf7d0);}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-complete small,.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-complete em{color:#166534;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-complete strong{color:#14532d;font-size:20px;}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today:hover{transform:translateY(-6px);}
@keyframes lopDashboardTodayPulse{0%,100%{transform:scale(1);box-shadow:0 8px 20px rgba(234,88,12,.14)}50%{transform:scale(1.06);box-shadow:0 10px 25px rgba(234,88,12,.24)}}
@media(max-width:1180px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today{transform:none;}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today:hover{transform:translateY(-1px);}
}
@media(max-width:760px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a{min-height:76px;}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today{grid-column:1/-1;min-height:88px;}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today strong{font-size:21px;}
}
@media(max-width:420px){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today::after{top:6px;right:6px;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today.is-pending>span{animation:none!important;}
}

/* v2.8.570: Vocabulary is part of the shared LOP learning navigation. */
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-vocabulary{background:linear-gradient(135deg,#f5f3ff,#ecfeff)!important;border-color:#c4b5fd!important;}
.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-vocabulary:hover,.lopsp-main-nav .lopsp-nav-submenu a.lopsp-nav-highlight-vocabulary:focus-visible{background:linear-gradient(135deg,#ede9fe,#cffafe)!important;border-color:#8b5cf6!important;}

/* v2.8.573: compact, centered title hierarchy across private /lop/* pages. */
body.lopsp-private-standalone-body .lopsp-private-section-shell{
  --lop-member-body-size:16px;
  --lop-member-page-title-size:20px;
  --lop-member-section-title-size:18px;
}
body.lopsp-private-standalone-body .lopsp-private-section-shell:not(.lopsp-page-dashboard) .lopsp-lop-section-hero-main{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:center!important;
  gap:9px!important;
  text-align:center!important;
}
body.lopsp-private-standalone-body .lopsp-private-section-shell:not(.lopsp-page-dashboard) .lopsp-lop-section-hero-main>div{
  width:min(860px,100%)!important;
  margin-inline:auto!important;
  text-align:center!important;
}
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-lop-section-icon{
  margin-inline:auto!important;
}
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-lop-section-hero h3,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-settings-intro-card h3,
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-flow-head h1{
  margin-inline:auto!important;
  font-size:var(--lop-member-page-title-size)!important;
  line-height:1.3!important;
  letter-spacing:-.012em!important;
  font-weight:850!important;
  text-align:center!important;
  text-wrap:balance;
}
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-lop-section-hero p,
body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-settings-intro-card p,
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-flow-head p{
  max-width:820px!important;
  margin-inline:auto!important;
  font-size:var(--lop-member-body-size)!important;
  line-height:1.55!important;
  text-align:center!important;
}
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-flow-head,
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-process-head,
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-tools-head{
  display:grid!important;
  justify-items:center!important;
  align-items:center!important;
  gap:4px!important;
  text-align:center!important;
}
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-process-head h2,
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-tools-head h2{
  font-size:var(--lop-member-section-title-size)!important;
  line-height:1.35!important;
  letter-spacing:-.008em!important;
  text-align:center!important;
}
body.lopsp-private-standalone-body .lopsp-page-dashboard .lopsp-dashboard-process-head>small{
  max-width:720px;
  text-align:center;
}
body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-settings-intro-card{
  grid-template-columns:1fr!important;
  justify-items:center!important;
  text-align:center!important;
}
body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-settings-intro-card>div:first-child{
  width:min(920px,100%);
  margin-inline:auto;
  text-align:center;
}
body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-settings-intro-badge{
  justify-self:center!important;
}
@media(max-width:760px){
  body.lopsp-private-standalone-body .lopsp-private-section-shell{
    --lop-member-body-size:15px;
    --lop-member-page-title-size:19px;
    --lop-member-section-title-size:17px;
  }
  body.lopsp-private-standalone-body .lopsp-private-section-shell .lopsp-lop-section-hero{
    padding:15px!important;
  }
}

/* v2.8.584: unified /muc-tieu-lich-hoc process and embedded owner Calendar. */
.lopsp-page-external-courses .lopsp-settings-dashboard,
.lopsp-page-external-courses .lopsp-settings-dashboard *{box-sizing:border-box;}
.lopsp-goal-schedule-flow{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  gap:10px;
  align-items:center;
  width:100%;
  min-width:0;
  padding:14px;
  border:1px solid rgba(99,102,241,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#eef2ff,#ffffff 48%,#fff7ed);
  box-shadow:0 14px 36px rgba(15,23,42,.055);
}
.lopsp-goal-schedule-flow>a{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-width:0;
  min-height:68px;
  padding:10px;
  border:1px solid rgba(203,213,225,.86);
  border-radius:18px;
  background:#fff;
  color:#0f172a;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(15,23,42,.045);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.lopsp-goal-schedule-flow>a:hover,
.lopsp-goal-schedule-flow>a:focus-visible{transform:translateY(-1px);border-color:#818cf8;box-shadow:0 14px 28px rgba(79,70,229,.12);outline:3px solid rgba(99,102,241,.18);outline-offset:2px;}
.lopsp-goal-schedule-flow>a>b{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,#4f46e5,#0ea5e9);color:#fff;font-size:16px;font-weight:1000;box-shadow:0 10px 22px rgba(37,99,235,.18);}
.lopsp-goal-schedule-flow>a span{display:block;min-width:0;}
.lopsp-goal-schedule-flow>a strong{display:block;color:#0f172a;font-size:14px;line-height:1.25;font-weight:1000;overflow-wrap:anywhere;}
.lopsp-goal-schedule-flow>a small{display:block;margin-top:3px;color:#64748b;font-size:12px;line-height:1.35;font-weight:750;overflow-wrap:anywhere;}
.lopsp-goal-schedule-flow>i{color:#6366f1;font-size:20px;font-style:normal;font-weight:1000;}
.lopsp-unified-schedule-embed{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.lopsp-unified-schedule-embed>.lopsp-settings-card,
.lopsp-unified-schedule-embed>.lopsp-panel{width:100%!important;max-width:none!important;min-width:0!important;margin:0 0 18px!important;}
.lopsp-unified-schedule-head{display:grid;gap:14px;}
.lopsp-unified-schedule-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr) auto;gap:14px;align-items:center;min-width:0;padding:14px;border-radius:20px;border:1px solid #dbeafe;background:linear-gradient(135deg,#fff,#eff6ff);}
.lopsp-unified-schedule-summary>div{min-width:0;}
.lopsp-unified-schedule-summary span,.lopsp-unified-schedule-summary strong,.lopsp-unified-schedule-summary small{display:block;overflow-wrap:anywhere;}
.lopsp-unified-schedule-summary>div:first-child>span{color:#4f46e5;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;}
.lopsp-unified-schedule-summary>div:first-child>strong{margin-top:3px;color:#0f172a;font-size:18px;line-height:1.2;font-weight:1000;}
.lopsp-unified-schedule-summary>div:first-child>small{margin-top:4px;color:#64748b;font-size:12.5px;line-height:1.4;font-weight:750;}
.lopsp-unified-schedule-progress{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;}
.lopsp-unified-schedule-progress>span{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden;}
.lopsp-unified-schedule-progress>span>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#22c55e);}
.lopsp-unified-schedule-progress>b{color:#2563eb;font-size:16px;font-weight:1000;}
.lopsp-unified-schedule-embed .lopsp-reminder-calendar-table-wrap{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;}
.lopsp-unified-schedule-embed .lopsp-reminder-calendar-inline,
.lopsp-unified-schedule-embed .lopsp-timetable-card,
.lopsp-unified-schedule-embed .lopsp-remind-add-card-v410,
.lopsp-unified-schedule-embed .lopsp-reminder-calendar-strip{max-width:100%;min-width:0;}
.lopsp-unified-schedule-embed .lopsp-remind-add-popup-v410,
.lopsp-unified-schedule-embed .lopsp-reminder-calendar-modal{z-index:10040!important;}
.lopsp-unified-schedule-embed :where(input,select,textarea,button,a){max-width:100%;}
.lopsp-unified-schedule-embed :where(h3,h4,p,strong,small,span,label){overflow-wrap:anywhere;word-break:normal;}

@media(max-width:900px){
  .lopsp-goal-schedule-flow{grid-template-columns:1fr;gap:8px;padding:11px;border-radius:20px;}
  .lopsp-goal-schedule-flow>i{display:none;}
  .lopsp-goal-schedule-flow>a{min-height:58px;padding:9px;}
  .lopsp-unified-schedule-summary{grid-template-columns:1fr;gap:10px;}
  .lopsp-unified-schedule-summary .lopsp-public-btn{width:100%;justify-content:center;text-align:center;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-inline-body{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  .lopsp-page-external-courses .lopsp-settings-dashboard{gap:12px;min-width:0;}
  .lopsp-page-external-courses .lopsp-settings-intro-card,
  .lopsp-page-external-courses .lopsp-settings-card{padding:14px!important;border-radius:21px!important;}
  .lopsp-page-external-courses .lopsp-settings-intro-card h3{font-size:24px!important;}
  .lopsp-page-external-courses .lopsp-settings-intro-card p{font-size:14px!important;line-height:1.55!important;}
  .lopsp-page-external-courses .lopsp-settings-card-head{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;margin-bottom:12px!important;}
  .lopsp-page-external-courses .lopsp-settings-card-head>b{width:38px!important;height:38px!important;border-radius:14px!important;}
  .lopsp-page-external-courses .lopsp-settings-card-head h4{font-size:19px!important;line-height:1.2!important;}
  .lopsp-page-external-courses .lopsp-settings-card-head p{font-size:13.5px!important;line-height:1.5!important;}
  .lopsp-goal-schedule-flow{padding:9px;}
  .lopsp-goal-schedule-flow>a{grid-template-columns:34px minmax(0,1fr);min-height:54px;border-radius:16px;}
  .lopsp-goal-schedule-flow>a>b{width:34px;height:34px;border-radius:12px;}
  .lopsp-unified-schedule-summary{padding:11px;border-radius:17px;}
  .lopsp-unified-schedule-embed>.lopsp-settings-card,
  .lopsp-unified-schedule-embed>.lopsp-panel{margin-bottom:12px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-inline{padding:9px!important;border-radius:18px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-inline-head{gap:9px!important;margin-bottom:9px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-inline-head h4{font-size:19px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-table-wrap{overflow-x:visible!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-spacing:3px!important;padding:3px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-table th{padding:3px 1px!important;font-size:9px!important;letter-spacing:0!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-table td{height:45px!important;padding:3px!important;border-radius:10px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-day-link{min-width:0!important;padding:0!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-day-link b{font-size:11px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-calendar-table td span{right:3px!important;bottom:3px!important;min-width:17px!important;width:17px!important;height:17px!important;font-size:9px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-month-nav{width:100%;display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;}
  .lopsp-unified-schedule-embed .lopsp-reminder-month-btn,
  .lopsp-unified-schedule-embed .lopsp-reminder-month-today{width:100%!important;min-width:0!important;}
  .lopsp-unified-schedule-embed .lopsp-timetable-card,
  .lopsp-unified-schedule-embed .lopsp-remind-add-card-v410{padding:12px!important;border-radius:18px!important;}
  .lopsp-unified-schedule-embed .lopsp-settings-popup-dialog{width:calc(100vw - 14px)!important;max-height:calc(100dvh - 14px)!important;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-goal-schedule-flow>a{transition:none!important;}
  .lopsp-goal-schedule-flow>a:hover,.lopsp-goal-schedule-flow>a:focus-visible{transform:none!important;}
}


/* v2.8.586 — compact, consistent learning-menu surfaces and shared Rescue popup. */
body.lopsp-private-standalone-body .lopsp-page{gap:12px;padding-bottom:32px}
body.lopsp-private-standalone-body .lopsp-panel,
body.lopsp-private-standalone-body .lopsp-settings-card,
body.lopsp-private-standalone-body .lopsp-settings-intro-card{border-radius:18px;padding:14px;box-shadow:0 10px 26px rgba(15,23,42,.05)}
body.lopsp-private-standalone-body .lopsp-section-divider{margin:12px 0 8px}
body.lopsp-private-standalone-body .lopsp-settings-dashboard{gap:12px}
body.lopsp-private-standalone-body .lopsp-settings-card-head{gap:10px;margin-bottom:10px}
body.lopsp-private-standalone-body .lopsp-settings-card-head h4{margin:0 0 3px;font-size:18px;line-height:1.25}
body.lopsp-private-standalone-body .lopsp-settings-card-head p{margin:0;line-height:1.45}
body.lopsp-private-standalone-body .lopsp-field-grid{gap:10px}
body.lopsp-private-standalone-body .lopsp-actions{gap:8px;margin-top:10px}
.lopsp-companion-contact-block{display:grid;gap:10px;margin:10px 0 12px;padding:12px;border:1px solid #dbeafe;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#f0fdf4)}
.lopsp-companion-contact-block .lopsp-settings-card-head{margin:0}
.lopsp-companion-contact-block .lopsp-settings-card-head>b{background:#dbeafe;color:#1d4ed8}
.lopsp-companion-contact-block .lopsp-parent-contact-footer{margin-top:0}

.lopsp-page-dashboard .lopsp-dashboard-overview{gap:12px}
.lopsp-page-dashboard .lopsp-dashboard-flow-head{padding:16px 18px;border-radius:20px}
.lopsp-page-dashboard .lopsp-dashboard-flow-head h1{font-size:clamp(24px,3vw,34px);margin:4px 0 5px}
.lopsp-page-dashboard .lopsp-dashboard-flow-head p{max-width:780px;line-height:1.5}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a,
.lopsp-page-dashboard .lopsp-dashboard-status-strip>button{position:relative;overflow:hidden;isolation:isolate;min-height:72px;border:1px solid #e2e8f0;border-radius:16px;padding:10px;color:#0f172a;background:#fff;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>button:hover,
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a:hover{border-color:#a5b4fc;box-shadow:0 10px 24px rgba(79,70,229,.08)}
.lopsp-page-dashboard .lopsp-dashboard-status-strip>button:focus-visible,
.lopsp-page-dashboard .lopsp-dashboard-status-strip>a:focus-visible{outline:3px solid rgba(59,130,246,.34);outline-offset:3px}
.lopsp-page-dashboard .lopsp-dashboard-process{padding:14px;border-radius:20px}
.lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lopsp-page-dashboard .lopsp-dashboard-process-list::before{left:8%;right:8%;top:31px;height:2px}
.lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:200px;padding:15px 14px;border-radius:18px;gap:10px}
.lopsp-page-dashboard .lopsp-dashboard-process-list li::after{top:21px;right:-10px;width:22px;height:22px;font-size:11px}
.lopsp-page-dashboard .lopsp-dashboard-process-list strong{font-size:16px}
.lopsp-page-dashboard .lopsp-dashboard-step-note{margin-top:7px}
.lopsp-page-dashboard .lopsp-dashboard-step-next{margin-top:7px}

.lopsp-rescue-streak-modal .lopsp-rescue-modal-panel{width:min(620px,calc(100% - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:15px;border-radius:20px}
.lopsp-rescue-modal-head{position:sticky;top:-15px;z-index:2;margin:-15px -15px 12px;padding:13px 15px 10px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #eef2f7}
.lopsp-rescue-modal-head>div{display:grid;gap:2px}
.lopsp-rescue-modal-head h3{margin:0;font-size:21px}
.lopsp-rescue-compact-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-radius:15px;background:#f8fafc;border:1px solid #e2e8f0}
.lopsp-rescue-compact-summary>div{display:grid;gap:3px}
.lopsp-rescue-compact-summary strong{font-size:15px;color:#0f172a}
.lopsp-rescue-compact-summary span{font-size:12px;line-height:1.4;color:#64748b}
.lopsp-rescue-compact-summary>b{min-width:62px;text-align:center;font-size:27px;color:#4f46e5}
.lopsp-rescue-compact-summary>b small{display:block;font-size:10px;color:#64748b;text-transform:uppercase}
.lopsp-rescue-compact-rule{display:grid;gap:6px;margin-top:10px;padding:11px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa}
.lopsp-rescue-compact-rule.is-ready{background:#f0fdf4;border-color:#bbf7d0}
.lopsp-rescue-compact-rule strong{font-size:14px;color:#7c2d12}
.lopsp-rescue-compact-rule.is-ready strong{color:#166534}
.lopsp-rescue-compact-rule span,.lopsp-rescue-compact-rule small{font-size:12px;line-height:1.4;color:#64748b}
.lopsp-rescue-progress{height:8px;overflow:hidden;border-radius:999px;background:#ffedd5}
.lopsp-rescue-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f97316,#22c55e)}
.lopsp-rescue-compact-form{display:grid;gap:10px;margin-top:10px}
.lopsp-rescue-compact-form label{display:grid;gap:5px;font-size:12px;font-weight:900;color:#334155}
.lopsp-rescue-compact-form select,.lopsp-rescue-compact-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:10px 11px;color:#0f172a;background:#fff}
.lopsp-rescue-compact-form textarea{min-height:78px;resize:vertical}

body.lopsp-report-body .lopsp-student-report-main{padding:18px 12px 36px}
body.lopsp-report-body .lopsp-report-hero{padding:18px;border-radius:22px;margin-bottom:12px}
body.lopsp-report-body .lopsp-report-hero h1{font-size:clamp(24px,3vw,32px);margin:5px 0}
body.lopsp-report-body .lopsp-report-filter,
body.lopsp-report-body .lopsp-report-panel{padding:14px;border-radius:18px;margin-bottom:12px}
body.lopsp-report-body .lopsp-report-cards{gap:8px;margin-bottom:12px}
body.lopsp-report-body .lopsp-report-cards>div{padding:12px;border-radius:16px}
body.lopsp-report-body .lopsp-report-cards strong{font-size:21px;margin:4px 0 1px}

body.lop-my-classes-body .lop-my-classes-page{padding:18px 12px 36px;gap:12px}
body.lop-my-classes-body .lop-my-classes-hero{padding:18px;border-radius:22px;gap:14px}
body.lop-my-classes-body .lop-my-classes-hero h1{font-size:clamp(24px,3vw,34px);margin:5px 0}
body.lop-my-classes-body .lop-my-classes-grid{gap:10px}
body.lop-my-classes-body .lop-my-class-card{padding:14px;border-radius:18px}

body.lop-assessment-body .lop-assessment-main{padding:18px 12px 36px}
body.lop-assessment-body .lop-assessment-page{gap:12px}
body.lop-assessment-body .lop-assessment-hero{padding:18px;border-radius:22px;gap:14px}
body.lop-assessment-body .lop-assessment-hero h1{font-size:clamp(25px,3.4vw,38px);margin:5px 0}
body.lop-assessment-body .lop-assessment-hero p{font-size:15px;line-height:1.5}
body.lop-assessment-body .lop-assessment-kpis{gap:9px}
body.lop-assessment-body .lop-assessment-kpi{padding:13px;border-radius:18px}
body.lop-assessment-body .lop-assessment-panel{padding:16px;border-radius:20px}
body.lop-assessment-body .lop-assessment-section-head{margin-bottom:11px}
body.lop-assessment-body .lop-assessment-section-head h2{font-size:23px;margin:5px 0 3px}

@media(max-width:900px){
  .lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lopsp-page-dashboard .lopsp-dashboard-process-list::before,.lopsp-page-dashboard .lopsp-dashboard-process-list li::after{display:none}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:170px}
  body.lop-assessment-body .lop-assessment-hero{grid-template-columns:1fr}
}
@media(max-width:640px){
  body.lopsp-private-standalone-body .lopsp-panel,
  body.lopsp-private-standalone-body .lopsp-settings-card,
  body.lopsp-private-standalone-body .lopsp-settings-intro-card{padding:12px;border-radius:16px}
  .lopsp-companion-contact-block{padding:10px}
  .lopsp-page-dashboard .lopsp-dashboard-flow-head{padding:14px}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip{grid-template-columns:1fr 1fr!important;gap:7px}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a,
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>button{min-height:68px!important;padding:9px!important}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a.is-today{grid-column:1/-1}
  .lopsp-page-dashboard .lopsp-dashboard-process{padding:11px}
  .lopsp-page-dashboard .lopsp-dashboard-process-list{grid-template-columns:1fr;gap:8px}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{min-height:0;display:grid;grid-template-columns:40px 42px minmax(0,1fr);padding:11px;border-radius:15px}
  .lopsp-page-dashboard .lopsp-dashboard-process-list a>b{display:none}
  .lopsp-dashboard-step-note,.lopsp-dashboard-step-next{font-size:11px}
  .lopsp-rescue-streak-modal .lopsp-rescue-modal-panel{width:min(100% - 12px,620px);max-height:calc(100vh - 12px);padding:12px;border-radius:16px}
  .lopsp-rescue-modal-head{top:-12px;margin:-12px -12px 10px;padding:11px 12px 9px}
  .lopsp-rescue-compact-summary{padding:10px}
  body.lopsp-report-body .lopsp-report-hero,
  body.lopsp-report-body .lopsp-report-filter,
  body.lopsp-report-body .lopsp-report-panel,
  body.lop-my-classes-body .lop-my-classes-hero,
  body.lop-assessment-body .lop-assessment-hero,
  body.lop-assessment-body .lop-assessment-panel{padding:13px;border-radius:17px}
  body.lop-assessment-body .lop-assessment-kpis{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>a,
  .lopsp-page-dashboard .lopsp-dashboard-status-strip>button,
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{transition:none!important;transform:none!important}
}


/* v2.8.587 — canonical username goal/schedule page, Public LOP entry and compact workflow. */
body.lopsp-private-standalone-body .lopsp-page-external-courses{
  width:min(1180px,calc(100% - 24px));
  margin-inline:auto;
}
body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-lop-section-hero{
  margin-bottom:10px!important;
  padding:14px 16px!important;
  border-radius:18px!important;
}
body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-lop-section-hero h1{
  margin:2px 0 4px!important;
  font-size:clamp(23px,2.5vw,30px)!important;
  line-height:1.22!important;
}
body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-lop-section-hero p{
  max-width:760px;
  margin:0 auto!important;
  font-size:14px!important;
  line-height:1.48!important;
}
.lopsp-page-external-courses .lopsp-settings-dashboard{gap:10px!important;}
.lopsp-page-external-courses .lopsp-settings-intro-card{
  min-height:0!important;
  padding:13px 15px!important;
  border-radius:18px!important;
}
.lopsp-page-external-courses .lopsp-settings-intro-card h3{
  margin:2px 0 4px!important;
  font-size:21px!important;
  line-height:1.25!important;
}
.lopsp-page-external-courses .lopsp-settings-intro-card p{margin:0!important;font-size:13.5px!important;line-height:1.48!important;}
.lopsp-page-external-courses .lopsp-goal-schedule-flow{
  gap:7px;
  padding:9px;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(15,23,42,.045);
}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a{
  grid-template-columns:32px minmax(0,1fr);
  min-height:54px;
  gap:8px;
  padding:8px;
  border-radius:14px;
  box-shadow:none;
}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a>b{width:32px;height:32px;border-radius:11px;font-size:14px;}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a strong{font-size:13px;}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a small{font-size:11px;line-height:1.3;}
.lopsp-page-external-courses .lopsp-settings-card{
  padding:13px!important;
  border-radius:17px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-head{
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:9px!important;
  margin-bottom:9px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-head>b{width:34px!important;height:34px!important;border-radius:12px!important;font-size:14px!important;}
.lopsp-page-external-courses .lopsp-settings-card-head h4{font-size:17px!important;line-height:1.25!important;}
.lopsp-page-external-courses .lopsp-settings-card-head p{font-size:12.5px!important;line-height:1.42!important;}
.lopsp-page-external-courses .lopsp-companion-contact-block{margin:6px 0 9px;padding:10px;border-radius:13px;}
.lopsp-page-external-courses .lopsp-parent-grid{gap:8px!important;}
.lopsp-page-external-courses .lopsp-parent-card{
  min-width:0;
  min-height:72px!important;
  padding:10px!important;
  border-radius:14px!important;
}
.lopsp-page-external-courses .lopsp-parent-card strong{font-size:13.5px!important;}
.lopsp-page-external-courses .lopsp-parent-card small{font-size:11.5px!important;line-height:1.35!important;overflow-wrap:anywhere;word-break:normal;}
.lopsp-page-external-courses .lopsp-parent-actions,
.lopsp-page-external-courses .lopsp-public-tools{gap:7px!important;margin-top:8px!important;}
.lopsp-page-external-courses .lopsp-public-profile-entry{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  column-gap:9px;
  align-items:center;
  margin:0 0 8px;
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#eff6ff,#f8fafc)!important;
}
.lopsp-page-external-courses .lopsp-public-profile-entry>span{grid-row:1/3;font-size:22px;}
.lopsp-page-external-courses .lopsp-public-profile-copy{padding:10px 11px!important;border-radius:13px!important;}
.lopsp-page-external-courses .lopsp-public-profile-copy small{overflow-wrap:anywhere;word-break:break-word;}
.lopsp-page-external-courses :where(input,select,textarea,button,a){max-width:100%;}
.lopsp-page-external-courses :where(h1,h2,h3,h4,p,strong,small,span,label){overflow-wrap:anywhere;word-break:normal;}
.lopsp-nav-highlight-public-lop .lopsp-nav-submenu-head strong{color:#075985;}
.lopsp-nav-highlight-public-lop:focus-visible{outline:3px solid rgba(14,165,233,.3)!important;outline-offset:2px;}

@media(max-width:760px){
  body.lopsp-private-standalone-body .lopsp-page-external-courses{width:min(100% - 14px,1180px);}
  body.lopsp-private-standalone-body .lopsp-page-external-courses .lopsp-lop-section-hero{padding:12px!important;border-radius:16px!important;}
  .lopsp-page-external-courses .lopsp-goal-schedule-flow{grid-template-columns:1fr!important;padding:7px;border-radius:15px;}
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>i{display:none;}
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>a{min-height:50px;}
  .lopsp-page-external-courses .lopsp-settings-card{padding:11px!important;border-radius:15px!important;}
  .lopsp-page-external-courses .lopsp-settings-card-head{grid-template-columns:31px minmax(0,1fr)!important;gap:8px!important;}
  .lopsp-page-external-courses .lopsp-settings-card-head>b{width:31px!important;height:31px!important;border-radius:10px!important;}
  .lopsp-page-external-courses .lopsp-field-grid,
  .lopsp-page-external-courses .lopsp-parent-grid{grid-template-columns:1fr!important;}
  .lopsp-page-external-courses .lopsp-parent-contact-footer,
  .lopsp-page-external-courses .lopsp-parent-actions,
  .lopsp-page-external-courses .lopsp-public-tools{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important;}
  .lopsp-page-external-courses .lopsp-parent-contact-footer>* ,
  .lopsp-page-external-courses .lopsp-parent-actions>* ,
  .lopsp-page-external-courses .lopsp-public-tools>*{width:100%!important;min-width:0!important;}
  .lopsp-page-external-courses .lopsp-public-btn,
  .lopsp-page-external-courses .lopsp-upgrade-btn,
  .lopsp-page-external-courses .lopsp-secondary-soft{justify-content:center!important;text-align:center!important;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>a,
  .lopsp-nav-highlight-public-lop{transition:none!important;transform:none!important;}
}

/* v2.8.588 — compact shared Mục tiêu & Lịch học workflow with clear hierarchy. */
body.lopsp-private-standalone-body .lopsp-page-external-courses,
body.lopsp-goal-schedule-share-body .lopsp-page-external-courses{
  width:min(1120px,calc(100% - 20px));
}
.lopsp-page-external-courses .lopsp-settings-dashboard{
  gap:9px!important;
}
.lopsp-page-external-courses .lopsp-goal-schedule-heading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
  padding:2px 4px 0;
  text-align:center;
}
.lopsp-page-external-courses .lopsp-goal-schedule-heading>span{
  display:grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:13px;
  background:#e0e7ff;
  color:#3730a3;
  font-size:20px;
}
.lopsp-page-external-courses .lopsp-goal-schedule-heading h1{
  min-width:0;
  margin:0;
  color:#0f172a;
  font-size:clamp(21px,2.2vw,27px);
  line-height:1.2;
  letter-spacing:-.02em;
  font-weight:950;
  overflow-wrap:anywhere;
}
.lopsp-page-external-courses .lopsp-goal-schedule-flow{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;
  padding:7px;
  border-radius:16px;
  background:#f8fafc;
  box-shadow:none;
}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a{
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  gap:4px;
  min-height:52px;
  padding:7px 5px;
  border-radius:12px;
  text-align:center;
  box-shadow:none;
}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a>b{
  width:27px;
  height:27px;
  border-radius:9px;
  background:#eef2ff;
  color:#3730a3;
  font-size:14px;
  box-shadow:none;
}
.lopsp-page-external-courses .lopsp-goal-schedule-flow>a strong{
  font-size:12px;
  line-height:1.2;
}
.lopsp-page-external-courses .lopsp-settings-card{
  padding:12px!important;
  border-radius:15px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-head{
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  margin-bottom:8px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-head>.lopsp-main-step-badge{
  width:auto!important;
  min-width:62px;
  height:28px!important;
  padding:0 9px;
  border-radius:999px!important;
  background:#1d4ed8!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.02em;
  white-space:nowrap;
}
.lopsp-page-external-courses .lopsp-settings-card-head h4{
  font-size:16.5px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-head p{
  font-size:12.5px!important;
  line-height:1.4!important;
}
.lopsp-page-external-courses .lopsp-goal-measure-summary{
  gap:7px;
  margin-bottom:8px;
}
.lopsp-page-external-courses .lopsp-goal-measure-summary>div{
  min-height:0;
  padding:9px;
  border-radius:12px;
}
.lopsp-page-external-courses .lopsp-goal-measure-summary span{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:#f1f5f9;
  color:#334155;
  font-size:14px;
}
.lopsp-page-external-courses .lopsp-goal-priority-badge{
  min-width:66px;
  padding:8px 7px;
  border:1px solid #fde68a;
  background:#fffbeb;
  color:#92400e;
  box-shadow:none;
}
.lopsp-page-external-courses .lopsp-goal-priority-card.status-done .lopsp-goal-priority-badge{
  border-color:#bbf7d0;
  background:#f0fdf4;
  color:#166534;
}
.lopsp-page-external-courses .lopsp-goal-priority-card.status-paused .lopsp-goal-priority-badge{
  border-color:#cbd5e1;
  background:#f8fafc;
  color:#475569;
}
.lopsp-page-external-courses .lopsp-goal-priority-badge b{
  font-size:23px;
}
.lopsp-page-external-courses .lopsp-subsection-head{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  gap:8px;
  align-items:start;
}
.lopsp-page-external-courses .lopsp-subsection-head>span{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:10px;
  background:#f1f5f9;
  font-size:15px;
}
.lopsp-page-external-courses .lopsp-subsection-head h5{
  margin:0 0 2px;
  color:#0f172a;
  font-size:14px;
  line-height:1.3;
}
.lopsp-page-external-courses .lopsp-subsection-head p{
  margin:0;
  color:#64748b;
  font-size:12px;
  line-height:1.4;
}
.lopsp-page-external-courses .lopsp-companion-readonly-status{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border-radius:11px;
  background:#fff;
  color:#334155;
  font-size:12.5px;
}
.lopsp-page-external-courses .lopsp-goal-progress-link.is-readonly{
  color:#0f172a;
  text-decoration:none;
}
.lopsp-page-external-courses .lopsp-pathway-readonly-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  padding:9px 10px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  background:#fff;
}
.lopsp-page-external-courses .lopsp-pathway-readonly-row strong,
.lopsp-page-external-courses .lopsp-pathway-readonly-row span{
  min-width:0;
  overflow-wrap:anywhere;
}
.lopsp-page-external-courses .lopsp-pathway-readonly-row span{
  flex:0 0 auto;
  color:#475569;
  font-size:12px;
  font-weight:800;
}
.lopsp-page-external-courses .lopsp-public-profile-copy{
  margin-top:0!important;
}
body.lopsp-goal-schedule-share-body .lopsp-page-external-courses .lopsp-regenerate-remind-form{
  display:none!important;
}
@media(max-width:760px){
  body.lopsp-private-standalone-body .lopsp-page-external-courses,
  body.lopsp-goal-schedule-share-body .lopsp-page-external-courses{
    width:min(100% - 12px,1120px);
  }
  .lopsp-page-external-courses .lopsp-goal-schedule-heading{
    justify-content:flex-start;
    padding-inline:3px;
    text-align:left;
  }
  .lopsp-page-external-courses .lopsp-goal-schedule-heading>span{
    flex-basis:34px;
    width:34px;
    height:34px;
  }
  .lopsp-page-external-courses .lopsp-goal-schedule-flow{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px;
    padding:6px;
  }
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>a{
    min-height:49px;
    padding:6px 4px;
  }
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>a:last-child{
    grid-column:1/-1;
  }
  .lopsp-page-external-courses .lopsp-settings-card{
    padding:10px!important;
  }
  .lopsp-page-external-courses .lopsp-settings-card-head{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .lopsp-page-external-courses .lopsp-settings-card-head>.lopsp-main-step-badge{
    justify-self:start;
    min-width:58px;
    height:26px!important;
  }
  .lopsp-page-external-courses .lopsp-goal-measure-summary{
    grid-template-columns:1fr!important;
  }
  .lopsp-page-external-courses .lopsp-pathway-readonly-row{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:420px){
  .lopsp-page-external-courses .lopsp-goal-schedule-flow{
    grid-template-columns:1fr!important;
  }
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>a:last-child{
    grid-column:auto;
  }
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-external-courses .lopsp-goal-schedule-flow>a{
    transition:none!important;
    transform:none!important;
  }
}


/* v2.8.589 — compact shared editing, admin context, sharing and unified learning reports */
.lopsp-admin-user-switcher{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:0 0 12px;padding:12px 14px;border:1px solid #c7d2fe;border-radius:17px;
  background:linear-gradient(135deg,#eef2ff,#f8fafc);box-shadow:0 8px 24px rgba(79,70,229,.07);
}
.lopsp-admin-user-switcher>div{min-width:0}.lopsp-admin-user-switcher>div span{display:block;color:#4f46e5;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.lopsp-admin-user-switcher>div strong{display:block;margin-top:2px;color:#172554;font-size:14px;line-height:1.3}
.lopsp-admin-user-switcher form{display:flex;align-items:center;gap:8px;min-width:min(100%,460px)}
.lopsp-admin-user-switcher input{min-width:0;flex:1;height:40px;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px;background:#fff;color:#0f172a;font:700 13px/1.2 inherit}
.lopsp-admin-user-switcher button{flex:0 0 auto;min-height:40px;border:0;border-radius:12px;padding:0 14px;background:#4338ca;color:#fff;font-weight:900;cursor:pointer}
.lopsp-admin-user-switcher input:focus-visible,.lopsp-admin-user-switcher button:focus-visible{outline:3px solid rgba(99,102,241,.25);outline-offset:2px}
.lopsp-admin-user-switcher button:hover{background:#3730a3}.lopsp-admin-user-switcher button:active{transform:translateY(1px)}

.lopsp-share-editor-notice{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:9px 12px;border:1px solid #bae6fd;border-radius:14px;background:#f0f9ff;color:#0c4a6e}
.lopsp-share-editor-notice>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#fff}
.lopsp-share-editor-notice strong,.lopsp-share-editor-notice small{display:block}.lopsp-share-editor-notice strong{font-size:13px}.lopsp-share-editor-notice small{margin-top:2px;font-size:11px;line-height:1.35;color:#0369a1}
.lopsp-share-editor-token-note{display:block;margin-top:8px;padding:8px 10px;border-radius:11px;background:#fff7ed;color:#9a3412;font-size:11.5px;font-weight:700;line-height:1.45}
body.lopsp-goal-schedule-share-body .lopsp-page-external-courses .lopsp-settings-goal-actions{display:flex!important}
body.lopsp-goal-schedule-share-body .lopsp-page-external-courses .lopsp-public-toggle-form{display:block!important}

.lopsp-public-share-strip{display:flex;align-items:center;gap:12px;margin:10px auto 12px;padding:11px 13px;border:1px solid #bfdbfe;border-radius:17px;background:linear-gradient(135deg,#eff6ff,#ecfeff);box-shadow:0 8px 24px rgba(14,116,144,.07)}
.lopsp-public-share-strip>div{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.lopsp-public-share-strip>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fff;font-size:17px}
.lopsp-public-share-strip strong,.lopsp-public-share-strip small{display:block}.lopsp-public-share-strip strong{color:#164e63;font-size:14px}.lopsp-public-share-strip small{margin-top:1px;color:#475569;font-size:11.5px;line-height:1.35}
.lopsp-public-share-button{min-height:40px;border:0;border-radius:12px;padding:0 15px;background:#0369a1;color:#fff;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(3,105,161,.18)}
.lopsp-public-share-button:hover{background:#075985}.lopsp-public-share-button:focus-visible{outline:3px solid rgba(14,165,233,.28);outline-offset:2px}.lopsp-public-share-button:disabled{opacity:.58;cursor:wait}
.lopsp-public-share-status{flex:0 0 auto;color:#0f766e;font-size:11px;font-weight:800}

body.lopsp-report-body .lopsp-report-user-switcher{margin-bottom:10px}
.lopsp-vocabulary-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.lopsp-vocabulary-report-grid>div{min-width:0;padding:11px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.lopsp-vocabulary-report-grid span{display:block;color:#64748b;font-size:11px;font-weight:800}.lopsp-vocabulary-report-grid strong{display:block;margin-top:3px;color:#172554;font-size:20px;line-height:1.15;overflow-wrap:anywhere}
.lopsp-learning-activity-list{display:grid;gap:7px}.lopsp-learning-activity-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:9px 10px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#0f172a;text-decoration:none}
a.lopsp-learning-activity-item:hover{border-color:#a5b4fc;background:#f8faff}.lopsp-learning-activity-item:focus-visible{outline:3px solid rgba(99,102,241,.2);outline-offset:2px}
.lopsp-learning-activity-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eef2ff;font-size:17px}.lopsp-learning-activity-item>div{min-width:0}.lopsp-learning-activity-item strong,.lopsp-learning-activity-item span,.lopsp-learning-activity-item small{display:block;min-width:0;overflow-wrap:anywhere}.lopsp-learning-activity-item strong{font-size:13px}.lopsp-learning-activity-item span{margin-top:1px;color:#475569;font-size:11.5px}.lopsp-learning-activity-item small{margin-top:1px;color:#64748b;font-size:10.5px}.lopsp-learning-activity-item time{color:#64748b;font-size:10.5px;font-weight:800;white-space:nowrap}

body.lop-assessment-body .lopsp-assessment-user-switcher{max-width:1180px;margin:0 auto 10px}
body.lop-assessment-body .lop-assessment-page{gap:12px}.lop-assessment-body .lop-assessment-hero{padding:20px;border-radius:24px}.lop-assessment-body .lop-assessment-panel{padding:16px;border-radius:22px}.lop-assessment-body .lop-assessment-section-head{margin-bottom:11px}.lop-assessment-body .lop-assessment-section-head h2{font-size:23px;margin-top:5px}

.lopsp-page-external-courses .lopsp-goal-pathway-inline{margin-top:10px;padding:10px;border-radius:14px}.lopsp-page-external-courses .lopsp-goal-measure-summary{margin:8px 0}.lopsp-page-external-courses .lopsp-settings-goal-toolbar{margin:8px 0}.lopsp-page-external-courses .lopsp-settings-goal-list{gap:8px}.lopsp-page-external-courses .lopsp-settings-goal-item{padding:10px!important}.lopsp-page-external-courses .lopsp-parent-grid{gap:8px}.lopsp-page-external-courses .lopsp-parent-card{padding:10px!important}

@media(max-width:760px){
  .lopsp-admin-user-switcher{align-items:stretch;flex-direction:column;gap:8px;padding:10px}
  .lopsp-admin-user-switcher form{width:100%;min-width:0}.lopsp-admin-user-switcher input{width:100%}
  .lopsp-public-share-strip{align-items:stretch;flex-wrap:wrap}.lopsp-public-share-button{flex:1 1 120px}.lopsp-public-share-status{flex-basis:100%}
  .lopsp-vocabulary-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lopsp-learning-activity-item{grid-template-columns:34px minmax(0,1fr)}.lopsp-learning-activity-item time{grid-column:2;margin-top:1px}
}
@media(max-width:440px){
  .lopsp-admin-user-switcher form{align-items:stretch;flex-direction:column}.lopsp-admin-user-switcher button{width:100%}
  .lopsp-vocabulary-report-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-admin-user-switcher button,.lopsp-public-share-button,.lopsp-learning-activity-item{transition:none!important;transform:none!important}
}
.lopsp-goal-pathway-context-note{margin-left:auto;font-size:12px;font-weight:700;color:#64748b;white-space:nowrap}
@media (max-width:640px){.lopsp-goal-pathway-context-note{width:100%;margin-left:0;white-space:normal}}

/* v2.8.590 — compact Study, Companion and Rewards surfaces. UI-only. */
.lopsp-page-study .lopsp-lop-section-hero{
  margin:10px 0 12px!important;
  padding:13px 15px!important;
  border-radius:18px!important;
  box-shadow:0 10px 28px rgba(37,99,235,.07)!important;
}
.lopsp-page-study .lopsp-lop-section-hero-main{
  align-items:center!important;
  gap:10px!important;
  margin-bottom:9px!important;
}
.lopsp-page-study .lopsp-lop-section-icon{
  width:40px!important;
  height:40px!important;
  border-radius:13px!important;
  font-size:20px!important;
  box-shadow:none!important;
}
.lopsp-page-study .lopsp-lop-section-hero .lopsp-kicker{font-size:10px!important;line-height:1.2!important;}
.lopsp-page-study .lopsp-lop-section-hero h3{
  margin:1px 0 2px!important;
  font-size:clamp(19px,2.1vw,24px)!important;
  line-height:1.18!important;
  letter-spacing:-.02em!important;
}
.lopsp-page-study .lopsp-lop-section-hero p{
  max-width:720px!important;
  font-size:12.5px!important;
  line-height:1.42!important;
  font-weight:700!important;
}
.lopsp-page-study .lopsp-lop-section-tabs{
  flex-wrap:wrap!important;
  gap:6px!important;
  overflow:visible!important;
  padding:0!important;
}
.lopsp-page-study .lopsp-lop-section-tabs a{
  padding:7px 9px!important;
  font-size:11.5px!important;
  box-shadow:none!important;
}

.lopsp-page-external-courses .lopsp-settings-card-companion{
  padding:11px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-settings-card-head{
  margin-bottom:6px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-contact-block{
  gap:8px!important;
  margin:4px 0 7px!important;
  padding:9px!important;
}
.lopsp-page-external-courses .lopsp-parent-contact-form{gap:9px!important;}
.lopsp-page-external-courses .lopsp-companion-contact-fields{
  grid-template-columns:minmax(230px,360px) minmax(180px,250px)!important;
  justify-content:start!important;
  gap:9px!important;
  max-width:640px;
}
.lopsp-page-external-courses .lopsp-companion-contact-fields>div{min-width:0;}
.lopsp-page-external-courses .lopsp-companion-contact-fields label{
  display:block;
  margin-bottom:4px;
  font-size:12px;
  line-height:1.25;
}
.lopsp-page-external-courses .lopsp-companion-contact-fields input{
  width:100%!important;
  min-height:38px!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  font-size:13px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-contact-footer{
  justify-content:flex-start!important;
  gap:9px!important;
  max-width:640px;
  padding:8px 9px!important;
  border-radius:11px!important;
  font-size:12px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-contact-footer .lopsp-upgrade-btn{
  margin-left:auto;
  min-height:36px!important;
  padding:7px 12px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-grid{
  grid-template-columns:repeat(2,minmax(0,320px))!important;
  justify-content:start;
  margin-top:7px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-card{
  min-height:64px!important;
  padding:8px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-card span{
  width:34px!important;
  height:34px!important;
  border-radius:11px!important;
  font-size:17px!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-actions{
  margin-top:7px!important;
}

.lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs{
  margin:10px 0 10px!important;
  padding:12px 14px!important;
  border-radius:18px!important;
  box-shadow:0 10px 28px rgba(37,99,235,.07)!important;
}
.lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs .lopsp-lop-section-hero-main{
  align-items:center!important;
  gap:10px!important;
  margin-bottom:0!important;
}
.lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs .lopsp-lop-section-icon{
  width:40px!important;
  height:40px!important;
  border-radius:13px!important;
  font-size:20px!important;
  box-shadow:none!important;
}
.lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs h3{
  margin:1px 0 2px!important;
  font-size:clamp(19px,2.1vw,24px)!important;
  line-height:1.18!important;
  letter-spacing:-.02em!important;
}
.lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs p{
  font-size:12.5px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
.lopsp-page-rewards .lopsp-main-grid{margin-top:10px!important;}

@media(max-width:700px){
  .lopsp-page-study .lopsp-lop-section-hero,
  .lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs{padding:11px!important;border-radius:15px!important;}
  .lopsp-page-study .lopsp-lop-section-hero-main,
  .lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs .lopsp-lop-section-hero-main{align-items:flex-start!important;}
  .lopsp-page-study .lopsp-lop-section-hero p,
  .lopsp-page-rewards .lopsp-lop-section-hero.is-compact-no-tabs p{font-size:12px!important;}
  .lopsp-page-study .lopsp-lop-section-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));}
  .lopsp-page-study .lopsp-lop-section-tabs a{min-width:0!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.2!important;}
  .lopsp-page-external-courses .lopsp-companion-contact-fields{grid-template-columns:1fr!important;max-width:none;}
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-contact-footer{display:grid!important;grid-template-columns:1fr!important;max-width:none;}
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-contact-footer .lopsp-upgrade-btn{width:100%!important;margin-left:0!important;justify-content:center!important;}
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-parent-grid{grid-template-columns:1fr!important;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-study .lopsp-lop-section-tabs a,
  .lopsp-page-rewards .lopsp-lop-section-hero,
  .lopsp-page-external-courses .lopsp-settings-card-companion :where(a,button){transition:none!important;transform:none!important;}
}

/* v2.8.591 — two-column Companion, title-only Rewards header and shared member-mobile normalization. UI-only. */
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-desktop-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
  align-items:start;
  gap:12px;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-contact-block{
  min-width:0;
  margin:0!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column{
  display:grid;
  align-content:start;
  gap:8px;
  min-width:0;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-parent-grid{
  grid-template-columns:1fr!important;
  margin:0!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-parent-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0!important;
}
.lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-share-editor-token-note{margin-top:0!important;}

.lopsp-page-rewards .lopsp-lop-section-hero.lopsp-rewards-title-only{
  padding:9px 12px!important;
  min-height:0!important;
}
.lopsp-page-rewards .lopsp-rewards-title-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  margin:0!important;
}
.lopsp-page-rewards .lopsp-rewards-title-row h3{
  margin:0!important;
  color:#172554!important;
  font-size:clamp(19px,2vw,23px)!important;
  line-height:1.15!important;
  font-weight:900!important;
}
.lopsp-page-rewards .lopsp-rewards-title-image{
  width:44px!important;
  height:44px!important;
  flex:0 0 44px!important;
  padding:3px!important;
  overflow:hidden!important;
  border:1px solid #fde68a!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#fff7ed,#fef3c7)!important;
  box-shadow:0 7px 18px rgba(217,119,6,.14)!important;
}
.lopsp-page-rewards .lopsp-rewards-title-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
}

/* Shared mobile guard for member destinations listed in the Học tập menu. */
@media(max-width:760px){
  body.lopsp-private-standalone-body,
  body.lopsp-public-profile-body,
  body.lopsp-report-body,
  body.lop-assessment-body,
  body.lop-my-classes-body,
  body.lop-vocab-body{overflow-x:hidden!important;}

  body.lopsp-private-standalone-body .lopsp-wrap,
  body.lopsp-public-profile-body .lopsp-wrap,
  body.lopsp-report-body .lopsp-info-main,
  body.lop-assessment-body .lopsp-info-main,
  body.lop-my-classes-body main,
  body.lop-vocab-body .lop-vocab-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    box-sizing:border-box!important;
  }

  body.lopsp-private-standalone-body :where(section,article,div,form,fieldset),
  body.lopsp-public-profile-body :where(section,article,div,form,fieldset),
  body.lopsp-report-body :where(section,article,div,form,fieldset),
  body.lop-assessment-body :where(section,article,div,form,fieldset),
  body.lop-my-classes-body :where(section,article,div,form,fieldset),
  body.lop-vocab-body :where(section,article,div,form,fieldset){min-width:0;}

  body.lopsp-private-standalone-body :where(input,select,textarea,button),
  body.lopsp-public-profile-body :where(input,select,textarea,button),
  body.lopsp-report-body :where(input,select,textarea,button),
  body.lop-assessment-body :where(input,select,textarea,button),
  body.lop-my-classes-body :where(input,select,textarea,button),
  body.lop-vocab-body :where(input,select,textarea,button){max-width:100%;}

  body.lopsp-private-standalone-body :where(img,video,canvas,svg),
  body.lopsp-public-profile-body :where(img,video,canvas,svg),
  body.lopsp-report-body :where(img,video,canvas,svg),
  body.lop-assessment-body :where(img,video,canvas,svg),
  body.lop-my-classes-body :where(img,video,canvas,svg),
  body.lop-vocab-body :where(img,video,canvas,svg){max-width:100%;height:auto;}

  body.lopsp-private-standalone-body :where(.lopsp-actions,.lopsp-public-tools,.lopsp-parent-actions,.lopsp-panel-head),
  body.lopsp-public-profile-body :where(.lopsp-actions,.lopsp-public-tools,.lopsp-panel-head),
  body.lopsp-report-body :where(.lopsp-actions,.lopsp-report-actions,.lopsp-panel-head),
  body.lop-assessment-body :where(.lop-assessment-hero-actions,.lop-assessment-section-head),
  body.lop-my-classes-body :where(.lop-class-actions,.lopsp-actions),
  body.lop-vocab-body :where(.lop-vocab-module-actions,.lop-vocab-public-card-actions){flex-wrap:wrap!important;}

  body.lopsp-private-standalone-body :where(h1,h2,h3,h4,p,small,strong,a,button),
  body.lopsp-public-profile-body :where(h1,h2,h3,h4,p,small,strong,a,button),
  body.lopsp-report-body :where(h1,h2,h3,h4,p,small,strong,a,button),
  body.lop-assessment-body :where(h1,h2,h3,h4,p,small,strong,a,button),
  body.lop-my-classes-body :where(h1,h2,h3,h4,p,small,strong,a,button),
  body.lop-vocab-body :where(h1,h2,h3,h4,p,small,strong,a,button){overflow-wrap:anywhere;word-break:normal;}

  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-desktop-grid{grid-template-columns:1fr!important;gap:9px;}
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-parent-actions>*{max-width:100%;}
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-public-btn{flex:1 1 160px;justify-content:center;}

  .lopsp-page-rewards .lopsp-lop-section-hero.lopsp-rewards-title-only{margin:8px 0!important;padding:8px 10px!important;border-radius:14px!important;}
  .lopsp-page-rewards .lopsp-rewards-title-image{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;}
  .lopsp-page-rewards .lopsp-rewards-title-row h3{font-size:19px!important;}

  body.lopsp-report-body .lopsp-vocabulary-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.lop-assessment-body .lop-assessment-two-col,
  body.lop-assessment-body .lop-assessment-coverage-grid,
  body.lop-assessment-body .lop-assessment-level-grid,
  body.lop-assessment-body .lop-assessment-test-grid,
  body.lop-my-classes-body .lop-my-classes-grid,
  body.lop-vocab-body .lop-vocab-summary{grid-template-columns:1fr!important;}
}
@media(max-width:430px){
  body.lopsp-report-body .lopsp-vocabulary-report-grid{grid-template-columns:1fr!important;}
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-public-btn{width:100%;flex-basis:100%;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-rewards .lopsp-rewards-title-image,
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column :where(a,button){transition:none!important;transform:none!important;}
}
@media(max-width:980px){
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-desktop-grid{
    grid-template-columns:1fr!important;
  }
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-parent-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  .lopsp-page-external-courses .lopsp-settings-card-companion .lopsp-companion-actions-column .lopsp-parent-grid{
    grid-template-columns:1fr!important;
  }
}


/* v2.8.592 - Dashboard process card header: number, icon and step label stay on one row. */
.lopsp-page-dashboard .lopsp-dashboard-process-list a{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
.lopsp-page-dashboard .lopsp-dashboard-step-topline{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
  min-width:0!important;
  width:100%!important;
  white-space:nowrap!important;
}
.lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-number,
.lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-icon{
  flex:0 0 auto!important;
}
.lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-kicker{
  display:block!important;
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
.lopsp-page-dashboard .lopsp-dashboard-step-body{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  width:100%!important;
}
@media(max-width:640px){
  .lopsp-page-dashboard .lopsp-dashboard-process-list a{
    display:flex!important;
    grid-template-columns:none!important;
    gap:9px!important;
  }
  .lopsp-page-dashboard .lopsp-dashboard-step-topline{gap:8px!important;}
  .lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-number{
    width:38px!important;
    height:38px!important;
    border-radius:13px!important;
    font-size:16px!important;
  }
  .lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-icon{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
    font-size:21px!important;
  }
  .lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-kicker{font-size:10px!important;}
}
@media(max-width:360px){
  .lopsp-page-dashboard .lopsp-dashboard-step-topline{gap:6px!important;}
  .lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-number{width:34px!important;height:34px!important;font-size:15px!important;}
  .lopsp-page-dashboard .lopsp-dashboard-step-topline .lopsp-dashboard-step-icon{width:38px!important;height:38px!important;font-size:19px!important;}
}

/* v2.8.593 - Per-day cancel and safe recurring-series end controls. */
.lopsp-reminder-occurrence-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:min(100%,540px)!important;
  margin-top:12px!important;
  align-items:stretch!important;
}
.lopsp-reminder-occurrence-actions form{
  display:flex!important;
  width:100%!important;
  margin:0!important;
}
.lopsp-reminder-occurrence-actions .lopsp-reminder-done-btn,
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:48px!important;
  padding:11px 14px!important;
  border-radius:16px!important;
  border:1px solid transparent!important;
  font-weight:950!important;
  line-height:1.15!important;
  text-align:center!important;
  cursor:pointer!important;
  white-space:normal!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease!important;
}
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn{
  color:#9f1239!important;
  background:linear-gradient(135deg,#fff1f2,#fff7ed)!important;
  border-color:#fda4af!important;
  box-shadow:0 10px 22px rgba(190,24,93,.10)!important;
}
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn:hover{
  color:#881337!important;
  background:linear-gradient(135deg,#ffe4e6,#ffedd5)!important;
  border-color:#fb7185!important;
  transform:translateY(-1px)!important;
  box-shadow:0 14px 28px rgba(190,24,93,.16)!important;
}
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn:focus-visible,
.lopsp-reminder-end-btn:focus-visible{
  outline:3px solid rgba(79,70,229,.25)!important;
  outline-offset:3px!important;
}
.lopsp-reminder-cancelled-chip,
.lopsp-reminder-ended-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:900!important;
}
.lopsp-reminder-cancelled-chip{
  margin-top:10px!important;
  color:#9f1239!important;
  background:#fff1f2!important;
  border:1px solid #fecdd3!important;
}
.lopsp-reminder-calendar-today-list article.is-cancelled,
.lopsp-reminder-day-detail article.is-cancelled,
.lopsp-remind-selected-list article.is-cancelled{
  border-color:#fecdd3!important;
  background:linear-gradient(135deg,#fff,#fff1f2)!important;
  opacity:.88!important;
}
.lopsp-reminder-series-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  align-items:flex-start!important;
}
.lopsp-reminder-series-actions form{
  display:flex!important;
  margin:0!important;
}
.lopsp-reminder-end-btn{
  appearance:none!important;
  min-height:45px!important;
  padding:11px 16px!important;
  border-radius:14px!important;
  border:1px solid #f59e0b!important;
  color:#78350f!important;
  background:linear-gradient(135deg,#fef3c7,#fffbeb)!important;
  box-shadow:0 12px 26px rgba(245,158,11,.14)!important;
  font-weight:950!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.lopsp-reminder-end-btn:hover{
  color:#78350f!important;
  background:linear-gradient(135deg,#fde68a,#fef3c7)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 16px 30px rgba(245,158,11,.2)!important;
}
.lopsp-reminder-ended-chip{
  min-height:45px!important;
  color:#475569!important;
  background:#f8fafc!important;
  border:1px solid #cbd5e1!important;
}
@media(max-width:640px){
  .lopsp-reminder-series-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .lopsp-reminder-series-actions form,.lopsp-reminder-series-actions button,.lopsp-reminder-ended-chip{width:100%!important;}
}
@media(max-width:440px){
  .lopsp-reminder-occurrence-actions,
  .lopsp-reminder-series-actions{grid-template-columns:1fr!important;}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-reminder-cancel-btn,.lopsp-reminder-end-btn{transition:none!important;}
  .lopsp-reminder-cancel-btn:hover,.lopsp-reminder-end-btn:hover{transform:none!important;}
}
.lopsp-remind-v460-stat-row.is-cancelled{
  color:#9f1239!important;
  background:#fff1f2!important;
  border-color:#fecdd3!important;
}


/* v2.8.594 - Dashboard 3:1 Streak summary and high-contrast reminder actions. */
.lopsp-page-dashboard .lopsp-dashboard-flow-head{padding-bottom:0!important}
.lopsp-page-dashboard .lopsp-dashboard-summary-layout{
  display:grid!important;
  grid-template-columns:minmax(0,3fr) minmax(230px,1fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  min-width:0!important;
}
.lopsp-page-dashboard .lopsp-dashboard-summary-layout>*,
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar{min-width:0!important}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .lopsp-streak-calendar-spotlight.is-dashboard-summary{height:100%!important;box-sizing:border-box!important}
.lopsp-page-dashboard .lopsp-dashboard-streak-calendar .is-dashboard-summary .lopsp-streak-spotlight-body{grid-template-columns:minmax(150px,.24fr) minmax(0,1fr)!important}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  align-content:stretch!important;
}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked>a{
  min-height:58px!important;
  height:auto!important;
  padding:8px 10px!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:8px!important;
  transform:none!important;
}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked>a>span{width:34px!important;height:34px!important;border-radius:11px!important;font-size:17px!important}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked strong{font-size:15px!important}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked em{font-size:9.5px!important}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked>a.is-today{grid-column:auto!important;transform:none!important}
.lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked>a.is-today::after{top:5px!important;right:6px!important;font-size:7px!important}

.lopsp-reminder-occurrence-actions .lopsp-reminder-done-btn,
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn{
  min-height:54px!important;
  padding:12px 13px!important;
  font-size:15px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}
.lopsp-reminder-occurrence-actions .lopsp-reminder-done-btn,
.lopsp-reminder-occurrence-actions .lopsp-reminder-done-btn:hover,
.lopsp-reminder-occurrence-actions .lopsp-reminder-done-btn:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn,
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn:hover,
.lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn:focus-visible{
  color:#9f1239!important;
  -webkit-text-fill-color:#9f1239!important;
}
.lopsp-reminder-series-actions{width:min(100%,390px)!important;align-items:stretch!important;flex-wrap:nowrap!important}
.lopsp-reminder-series-actions form{flex:1 1 0!important;min-width:0!important;align-items:stretch!important}
.lopsp-reminder-series-actions .lopsp-reminder-end-btn,
.lopsp-reminder-series-actions .lopsp-reminder-delete-btn{
  width:100%!important;
  min-height:48px!important;
  height:100%!important;
  padding:11px 14px!important;
  border-radius:14px!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:950!important;
  white-space:nowrap!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}
.lopsp-reminder-series-actions .lopsp-reminder-end-btn,
.lopsp-reminder-series-actions .lopsp-reminder-end-btn:hover,
.lopsp-reminder-series-actions .lopsp-reminder-end-btn:focus-visible{
  color:#78350f!important;
  -webkit-text-fill-color:#78350f!important;
}
.lopsp-reminder-series-actions .lopsp-reminder-delete-btn,
.lopsp-reminder-series-actions .lopsp-reminder-delete-btn:hover,
.lopsp-reminder-series-actions .lopsp-reminder-delete-btn:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.lopsp-reminder-occurrence-actions button:disabled,
.lopsp-reminder-series-actions button:disabled{
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  background:#f1f5f9!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
  opacity:1!important;
  cursor:not-allowed!important;
}
@media(max-width:980px){
  .lopsp-page-dashboard .lopsp-dashboard-summary-layout{grid-template-columns:1fr!important}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lopsp-page-dashboard .lopsp-dashboard-status-strip.is-stacked>a.is-today{grid-column:1/-1!important}
}
@media(max-width:640px){
  .lopsp-page-dashboard .lopsp-dashboard-streak-calendar .is-dashboard-summary .lopsp-streak-spotlight-body{grid-template-columns:1fr!important}
  .lopsp-reminder-series-actions{width:100%!important}
}
@media(max-width:440px){
  .lopsp-reminder-occurrence-actions .lopsp-reminder-done-btn,
  .lopsp-reminder-occurrence-actions .lopsp-reminder-cancel-btn{white-space:normal!important}
  .lopsp-reminder-series-actions{flex-wrap:wrap!important}
  .lopsp-reminder-series-actions form{flex-basis:100%!important}
}
@media(prefers-reduced-motion:reduce){
  .lopsp-page-dashboard .lopsp-dashboard-summary-layout a,
  .lopsp-reminder-occurrence-actions button,
  .lopsp-reminder-series-actions button{transition:none!important;transform:none!important}
}


/* v2.8.595 — administrator learner context on /lop/; viewing another learner stays read-only for account actions. */
.lopsp-page-dashboard .lopsp-dashboard-user-switcher{margin:0 0 10px}
.lopsp-page-dashboard .lopsp-dashboard-user-switcher>div small{display:block;margin-top:4px;color:#64748b;font-size:11px;font-weight:700;line-height:1.4}
.lopsp-page-dashboard .lopsp-dashboard-user-switcher>div small b{color:#172554}
.lopsp-page-dashboard .lopsp-dashboard-user-switcher>div small a{color:#4338ca!important;font-weight:900;text-decoration:none}
.lopsp-page-dashboard .lopsp-dashboard-user-switcher>div small a:hover{text-decoration:underline}
.lopsp-page-dashboard .lopsp-dashboard-user-switcher.is-viewing-other{border-color:#93c5fd;background:linear-gradient(135deg,#eff6ff,#f8fafc)}
.lopsp-page-dashboard.lopsp-admin-viewing-student .lopsp-dashboard-flow-head:after{content:"Chế độ xem học viên";display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900;white-space:nowrap}
@media(max-width:760px){.lopsp-page-dashboard.lopsp-admin-viewing-student .lopsp-dashboard-flow-head:after{align-self:flex-start}.lopsp-page-dashboard .lopsp-dashboard-user-switcher>div small{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.lopsp-page-dashboard .lopsp-dashboard-user-switcher *{transition:none!important;transform:none!important}}
