/* ae6-only source deltas. Inherits unchanged FND-MINI tokens/kit/frame. */
.ae6-root { color:var(--c-ink); min-width:0; overflow-wrap:anywhere; container-type:inline-size; }
.ae6-root[data-ae6-owner="overlay"] { container-type:normal; }
.ae6-root.ae6-hoisted-top { container-type:normal; width:100%; }
.ae6-root.ae6-hoisted-top .ae6-lessons-head { position:relative; justify-content:center; min-height:48px; box-sizing:border-box; }
.ae6-root.ae6-hoisted-top .ae6-lessons-head h2 { flex:none; max-width:calc(100% - 100px); }
.ae6-root.ae6-hoisted-top .ae6-head-spacer { position:absolute; left:16px; }
.ae6-root.ae6-hoisted-top .ae6-lessons-head > a { position:absolute; right:16px; width:44px; padding:0; }
.ae6-root .ae6-boundary { font-size:var(--fs-xs,12px); color:var(--c-muted,#667085); line-height:1.5; margin:8px 0; }
.ae6-root .ae6-denied { display:flex; flex-direction:column; gap:4px; }
.ae6-root .ae6-denied small { font-size:10px; line-height:1.4; color:var(--c-muted,#667085); }
.ae6-root button:disabled { cursor:not-allowed; }
.ae6-root .ae6-grow { flex:1; min-width:0; }
.ae6-root .ae6-explore-head { position:sticky; top:0; z-index:var(--z-topbar,20); background:#fff; border-bottom:1px solid var(--c-line); padding:16px 16px 12px; }
.ae6-root .ae6-explore-head h2 { margin:0 0 4px; }
.ae6-root [data-ae6-search] { display:flex; gap:8px; margin-top:8px; }
.ae6-root .search-box { flex:1; min-width:0; }
.ae6-root .search-box input { border:0; outline:0; background:transparent; min-width:0; width:100%; font:inherit; }
.ae6-root .ae6-submit { border:0; background:transparent; color:var(--c-primary); font-size:12px; }
.ae6-root .ae6-chips { display:flex; gap:8px; overflow-x:auto; padding:14px 16px 0; white-space:nowrap; }
.ae6-root .ae6-chips > * { flex-shrink:0; }
.ae6-root .ae6-ai { background:var(--grad-ai,linear-gradient(135deg,#7644c0,#a45fda)); border-radius:var(--r-md); padding:16px; color:#fff; }
.ae6-root .ae6-ai > .badge { background:rgba(255,255,255,.22); color:#fff; }
.ae6-root .ae6-ai h3 { margin:10px 0 8px; color:#fff; }
.ae6-root .ae6-ai p { font-size:var(--fs-sm); line-height:1.6; opacity:.85; }
.ae6-root .ae6-ai .ae6-denied { margin-top:14px; }
.ae6-root .ae6-ai .btn-white { background:#fff; color:#6b3fb8; opacity:1; }
.ae6-root .ae6-ai small { color:rgba(255,255,255,.85); }
.ae6-root .ae6-subjects { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:20px; }
.ae6-root .ae6-subject { display:flex; flex-direction:column; justify-content:flex-end; text-align:left; height:88px; border:0; border-radius:var(--r-md); padding:10px; color:#fff; font-weight:600; }
.ae6-root .ae6-subject-tag { opacity:.8; font-size:12px; font-weight:400; margin-bottom:3px; }
.ae6-root .ae6-tone-0 { background:linear-gradient(135deg,#5b54ec,#7079f8); }
.ae6-root .ae6-tone-1 { background:linear-gradient(135deg,#ff7a3d,#f15f1f); }
.ae6-root .ae6-tone-2 { background:linear-gradient(135deg,#16b896,#0f9a7e); }
.ae6-root .ae6-section { margin-top:24px; }
.ae6-root .sec-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.ae6-root .ae6-tutor { display:flex; gap:12px; padding:14px; margin-bottom:12px; }
.ae6-root .ae6-avatar { width:52px; height:52px; border-radius:50%; background:var(--c-surface-2); display:grid; place-items:center; flex-shrink:0; }
.ae6-root .ae6-price { display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end; max-width:110px; text-align:right; }
.ae6-root .ae6-price b { font-size:14px; }
.ae6-root .ae6-trial-slot,.ae6-root .ae6-course { display:flex; gap:12px; padding:12px; margin-bottom:12px; }
.ae6-root .ae6-thumb { display:flex; align-items:center; justify-content:center; width:88px; height:66px; border-radius:var(--r-sm); object-fit:cover; flex-shrink:0; background:var(--c-surface-2); color:var(--c-faint); font-size:12px; }
.ae6-root .ae6-trial-slot p { font-size:12px; color:var(--c-muted,#667085); }
.ae6-root .ae6-feed-slot { width:100%; height:150px; display:grid; place-items:center; background:var(--c-surface-2); border-radius:var(--r-md); color:var(--c-faint); font-size:12px; }
.ae6-root .ae6-lessons-head { display:flex; align-items:center; gap:12px; padding:12px 16px; background:#fff; }
.ae6-root .ae6-lessons-head h2 { flex:1; margin:0; font-size:18px; text-align:center; }
.ae6-root .ae6-head-spacer { width:44px; }
.ae6-root .ae6-row-select { width:100%; border:0; padding:0; color:inherit; font:inherit; background:transparent; text-align:left; }
.ae6-root .ae6-row-select > .row { padding:14px; }
.ae6-root .ae6-book-actions > .btn { flex:1; }
.ae6-root .ae6-folder { padding:14px; }
.ae6-root .ae6-folder-0 > svg { color:#5b54ec; }
.ae6-root .ae6-folder-1 > svg { color:#ff7a3d; }
.ae6-root .ae6-folder-2 > svg { color:#16b896; }
.ae6-root .ae6-tabs { background:#fff; padding:4px 16px 0; }
.ae6-root .ae6-tabs .line-tab { flex:1; }
.ae6-root .ae6-date-strip { display:flex; overflow:auto; gap:8px; margin-bottom:12px; }
.ae6-root .ae6-date-strip > * { flex-shrink:0; }
.ae6-root .ae6-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; min-height:280px; background:var(--c-surface-2); padding:8px; border:1px solid var(--c-line); }
.ae6-root .ae6-day { min-width:0; }
.ae6-root .ae6-source-card { padding:0; margin:8px 0 12px; overflow:hidden; }
.ae6-root .ae6-source-card > .ae6-denied { margin:4px 12px; }
.ae6-root .ae6-source-card > .ae6-row-select { margin:0; padding:0; width:100%; box-sizing:border-box; }
.ae6-root .ae6-row-select > .ae6-lesson,.ae6-root .ae6-row-select > .row { box-sizing:border-box; width:100%; min-width:0; }
.ae6-root .ae6-lesson { display:flex; gap:12px; padding:14px; }
.ae6-root .ae6-time { width:54px; text-align:center; flex-shrink:0; }
.ae6-root .ae6-time small { display:block; font-size:12px; color:var(--c-muted,#667085); }
.ae6-root .ae6-vline { width:1px; background:var(--c-line); flex-shrink:0; }
.ae6-root .ae6-booking { margin-top:12px; }
.ae6-root .ae6-book-flat { background:var(--c-surface-2); padding:10px; margin:12px 0; }
.ae6-root .ae6-book-flat .kv { padding:3px 0; }
.ae6-root .ae6-rec-thumb { display:grid; place-items:center; width:64px; height:48px; border-radius:var(--r-sm); background:var(--grad-dark,#25334d); color:#fff; flex-shrink:0; }
.ae6-root .ae6-source-card > .row { padding:14px; }
.ae6-root .ae6-folder { display:flex; flex-direction:column; gap:8px; }
.ae6-root .ae6-folder:last-child { border-style:dashed; text-align:center; }
.ae6-root .ae6-type-opt { display:flex; width:100%; text-align:left; border:1px solid var(--c-line); border-radius:var(--r-sm); background:var(--c-surface); padding:11px; margin-top:8px; }
.ae6-root .ae6-type-opt[aria-pressed="true"] { border-color:var(--c-primary); color:var(--c-primary); background:var(--c-primary-bg,#f0efff); }
.ae6-root [hidden] { display:none !important; }
@container (min-width:769px) {
  .ae6-root .ae6-week-labels { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); font-size:12px; text-align:center; padding:8px; }
  .ae6-root .ae6-day[data-ae6-day="0"] { grid-column:2; }
  .ae6-root .ae6-day[data-ae6-day="1"] { grid-column:3; }
  .ae6-root .ae6-lesson { flex-wrap:wrap; gap:6px; padding:10px; }
  .ae6-root .ae6-time { width:auto; }
  .ae6-root .ae6-lesson .ae6-grow { flex-basis:100%; }
  .ae6-root .ae6-vline { display:none; }
}
@container (max-width:768px) {
  .ae6-root .ae6-week-labels { display:none; }
  .ae6-root .ae6-week { display:block; background:transparent; padding:0; border:0; }
  .ae6-root .ae6-day + .ae6-day { margin-top:16px; }
  .ae6-root .ae6-lessons-head { align-items:center; }
  .ae6-root .ae6-lessons-head .ae6-denied { max-width:100px; }
}
