/* AOEM Platform - brand colour #ffa04e. Responsive: phone, iPad, laptop/Mac, wide and ultra-wide. */
.aoem-root {
  --aoem-accent: #ffa04e;
  --aoem-accent-ink: #1b1612;
  --aoem-accent-deep: #a54f00;
  --aoem-accent-soft: #fff1e0;
  --aoem-saffron: #d96d00;
  --aoem-bg: #fffaf4;
  --aoem-card: #ffffff;
  --aoem-ink: #1b1612;
  --aoem-mute: #6a5f57;
  --aoem-line: #f0e5d9;
  --aoem-dock: #1b1612;
  --aoem-ok: #1f7a3d;
  --aoem-bad: #b3261e;
  --aoem-radius: 26px;
  --aoem-gap: 16px;
  --aoem-shadow: 0 10px 30px -14px rgba(60, 30, 0, .28);
  --aoem-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --aoem-sans: "Avenir Next", "Segoe UI", "SF Pro Text", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", sans-serif;
  font-family: var(--aoem-sans);
  font-size: clamp(15px, .5vw + 12px, 19px);
  line-height: 1.5;
  color: var(--aoem-ink);
  background: var(--aoem-bg);
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.aoem-root[data-theme="dark"] {
  --aoem-bg: #14110f; --aoem-card: #1f1b18; --aoem-ink: #f7f0e9; --aoem-mute: #b9ada2; --aoem-line: #342d28;
  --aoem-accent-soft: #3a2a1a; --aoem-accent-deep: #ffb878; --aoem-saffron: #ffa04e; --aoem-dock: #2a241f;
  --aoem-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  .aoem-root:not([data-theme="light"]) {
    --aoem-bg: #14110f; --aoem-card: #1f1b18; --aoem-ink: #f7f0e9; --aoem-mute: #b9ada2; --aoem-line: #342d28;
    --aoem-accent-soft: #3a2a1a; --aoem-accent-deep: #ffb878; --aoem-saffron: #ffa04e; --aoem-dock: #2a241f;
    --aoem-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
  }
}
.aoem-root *, .aoem-root *::before, .aoem-root *::after { box-sizing: border-box; }
.aoem-root img { max-width: 100%; height: auto; }
.aoem-root button, .aoem-root input, .aoem-root textarea, .aoem-root select { font: inherit; color: inherit; }
.aoem-root a { color: var(--aoem-accent-deep); }
.aoem-root :focus-visible { outline: 3px solid var(--aoem-accent-deep); outline-offset: 2px; border-radius: 10px; }
.aoem-root [hidden] { display: none !important; }
.aoem-boot { min-height: 160px; display: grid; place-items: center; }
.aoem-boot img { animation: aoem-spin 2.4s linear infinite; }
@keyframes aoem-spin { to { transform: rotate(360deg); } }

/* ---------- full-page app ---------- */
.aoem-full { min-height: 100vh; min-height: 100dvh; width: 100%; position: relative; display: flex; flex-direction: column; }
body.aoem-page { margin: 0; background: #fffaf4; }
body.aoem-page #wpadminbar { z-index: 99999; }
body.aoem-page header.site-header, body.aoem-page #masthead, body.aoem-page .site-footer, body.aoem-page #colophon,
body.aoem-page .elementor-location-header, body.aoem-page .elementor-location-footer, body.aoem-page .entry-header,
body.aoem-page .page-header, body.aoem-page .ast-above-header-wrap, body.aoem-page .site-header { display: none !important; }
body.aoem-page .site-content, body.aoem-page .entry-content, body.aoem-page .content-area, body.aoem-page main,
body.aoem-page .ast-container, body.aoem-page #content, body.aoem-page .site-main, body.aoem-page article, body.aoem-page .post {
  max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important;
}
.aoem-stage { flex: 1; width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 48px) 130px; }
@media (min-width: 1900px) { .aoem-stage { max-width: 2000px; } }
@media (min-width: 2500px) { .aoem-stage { max-width: 2400px; } }

/* ---------- landing ---------- */
.aoem-landing { text-align: center; padding-top: clamp(24px, 6vh, 72px); }
.aoem-verse { color: var(--aoem-saffron); font-size: clamp(1.05rem, 1.6vw + .5rem, 1.9rem); line-height: 1.35; margin: 0 auto; max-width: 1100px; white-space: pre-line; }
.aoem-verse-ref { color: var(--aoem-saffron); font-size: .85rem; margin-top: 8px; }
.aoem-logo { display: block; margin: clamp(24px, 6vh, 70px) auto 10px; width: min(560px, 82vw); }
.aoem-logo-sub { letter-spacing: .32em; text-transform: uppercase; font-weight: 300; color: var(--aoem-ink); font-size: clamp(.75rem, 1.2vw, 1.15rem); }
.aoem-tagline { font-family: var(--aoem-serif); color: var(--aoem-mute); font-size: clamp(1rem, 1.5vw, 1.7rem); margin: 18px auto 0; max-width: 1100px; }
.aoem-footnav { margin: clamp(30px, 7vh, 80px) auto 0; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.aoem-footnav .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.aoem-footnav a, .aoem-footnav button { background: none; border: 0; color: var(--aoem-ink); text-decoration: none; letter-spacing: .06em; font-size: .85rem; cursor: pointer; padding: 6px 2px; min-height: 36px; }
.aoem-footnav a:hover, .aoem-footnav button:hover { color: var(--aoem-accent-deep); }
.aoem-copy { color: var(--aoem-mute); font-size: .8rem; margin-top: 8px; }

/* ---------- dock (arc on large screens, floating pill on phones) ---------- */
.aoem-dock { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.6vw, 28px); margin: clamp(26px, 5vh, 60px) auto 0; }
.aoem-d { position: relative; border: 0; padding: 0; background: var(--aoem-card); cursor: pointer; border-radius: 50%; display: grid; place-items: center; flex: none;
  box-shadow: var(--aoem-shadow); outline: 3px solid var(--aoem-accent); outline-offset: -3px; transition: transform .18s ease, box-shadow .18s ease; color: var(--aoem-ink); }
.aoem-d svg, .aoem-d img.av { width: 58%; height: 58%; }
.aoem-d img.av { border-radius: 50%; object-fit: cover; width: 86%; height: 86%; }
.aoem-d:hover { transform: translateY(-4px) scale(1.04); }
.aoem-d.on { background: var(--aoem-accent); color: var(--aoem-accent-ink); }
.aoem-d .dot { position: absolute; top: 6%; right: 6%; width: 12px; height: 12px; border-radius: 50%; background: #e0301e; border: 2px solid var(--aoem-card); }
.aoem-d .tip { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font-size: .72rem; white-space: nowrap; color: var(--aoem-mute); opacity: 0; transition: opacity .15s; pointer-events: none; }
.aoem-d:hover .tip, .aoem-d:focus-visible .tip { opacity: 1; }
.aoem-dock .s0 { width: clamp(120px, 11vw, 220px); height: clamp(120px, 11vw, 220px); }
.aoem-dock .s1 { width: clamp(84px, 7.4vw, 150px); height: clamp(84px, 7.4vw, 150px); }
.aoem-dock .s2 { width: clamp(76px, 6.6vw, 134px); height: clamp(76px, 6.6vw, 134px); }
.aoem-dock .s3 { width: clamp(64px, 5.6vw, 118px); height: clamp(64px, 5.6vw, 118px); }
.aoem-dock .s0 { outline-width: 6px; outline-offset: -6px; }
.aoem-dock .y3 { transform: translateY(14px); } .aoem-dock .y2 { transform: translateY(-6px); }
.aoem-dock .y3:hover, .aoem-dock .y2:hover { transform: translateY(-6px) scale(1.04); }

/* compact dock inside screens */
.aoem-top { position: sticky; top: 0; z-index: 30; padding: 14px 0 6px; display: grid; grid-template-columns: 56px 1fr 56px; align-items: start; gap: 8px; background: linear-gradient(var(--aoem-bg) 78%, transparent); }
.aoem-round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--aoem-accent); color: var(--aoem-accent-ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--aoem-shadow); padding: 0; }
.aoem-round svg { width: 26px; height: 26px; } .aoem-round img { width: 34px; height: 34px; border-radius: 50%; }
.aoem-round.sun { background: var(--aoem-card); outline: 3px solid var(--aoem-accent); outline-offset: -3px; }
.aoem-center { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.aoem-minidock { display: flex; gap: 10px; align-items: center; }
.aoem-minidock .aoem-d { width: 46px; height: 46px; box-shadow: none; outline-width: 2px; outline-offset: -2px; }
.aoem-minidock .aoem-d.me { width: 64px; height: 64px; outline-width: 4px; outline-offset: -4px; }
.aoem-minidock .aoem-d .tip { display: none; }

/* ---------- tabs ---------- */
.aoem-tabs { display: flex; gap: 4px; background: var(--aoem-card); border-radius: 999px; padding: 5px; box-shadow: var(--aoem-shadow); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.aoem-tabs::-webkit-scrollbar { display: none; }
.aoem-tab { border: 0; background: none; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--aoem-mute); white-space: nowrap; font-weight: 500; min-height: 44px; position: relative; }
.aoem-tab.on { background: var(--aoem-accent); color: var(--aoem-accent-ink); font-weight: 600; }
.aoem-tab .pip { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e0301e; margin-left: 6px; vertical-align: middle; }

/* ---------- cards and typography ---------- */
.aoem-view { padding-top: clamp(18px, 3vh, 34px); }
.aoem-h { font-size: clamp(1.5rem, 2vw + .6rem, 2.6rem); line-height: 1.12; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.aoem-h.lite { font-weight: 300; }
.aoem-sub { color: var(--aoem-mute); margin: 0 0 18px; }
.aoem-p { margin: 0 0 10px; }
.aoem-p.mute { color: var(--aoem-mute); }
.aoem-grid { display: grid; gap: var(--aoem-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; }
.aoem-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.aoem-grid.dash { grid-template-columns: 1.1fr 1.1fr 1fr 1fr; }
@media (max-width: 1100px) { .aoem-grid.dash { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .aoem-grid.dash { grid-template-columns: 1fr; } }
.aoem-card { background: var(--aoem-card); border-radius: var(--aoem-radius); padding: clamp(16px, 2vw, 28px); box-shadow: var(--aoem-shadow); min-width: 0; }
.aoem-card.tint { background: var(--aoem-accent-soft); }
.aoem-card.slim { padding: 14px 18px; border-radius: calc(var(--aoem-radius) * .7); }
.aoem-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.aoem-card .meta { color: var(--aoem-mute); font-size: .85rem; }
.aoem-card .price { font-size: 1.4rem; font-weight: 700; }
.aoem-thumb { aspect-ratio: 4/3; border-radius: calc(var(--aoem-radius) * .6); background: var(--aoem-accent-soft) center/cover no-repeat; margin-bottom: 12px; display: grid; place-items: center; overflow: hidden; }
.aoem-thumb img { width: 100%; height: 100%; object-fit: cover; }
.aoem-thumb .ph { width: 38%; opacity: .9; }
.aoem-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.aoem-chip { border: 0; padding: 8px 16px; border-radius: 999px; background: var(--aoem-card); cursor: pointer; color: var(--aoem-mute); min-height: 40px; box-shadow: var(--aoem-shadow); }
.aoem-chip.on { background: var(--aoem-ink); color: var(--aoem-bg); }
.aoem-tag { display: inline-block; font-size: .72rem; padding: 3px 10px; border-radius: 999px; background: var(--aoem-accent-soft); color: var(--aoem-accent-deep); font-weight: 600; text-transform: capitalize; }
.aoem-tag.ok { background: #dff3e5; color: #17622f; } .aoem-tag.bad { background: #fbe1de; color: #8c1d16; }
[data-theme="dark"] .aoem-tag.ok { background: #1b3a26; color: #8fe0a8; } [data-theme="dark"] .aoem-tag.bad { background: #43211e; color: #ffb4ab; }

/* ---------- buttons and fields ---------- */
.aoem-btn { border: 0; background: var(--aoem-accent); color: var(--aoem-accent-ink); padding: 12px 24px; border-radius: 999px; font-weight: 600; cursor: pointer; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .12s ease, filter .12s ease; }
.aoem-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.aoem-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.aoem-btn.ghost { background: transparent; color: var(--aoem-ink); box-shadow: inset 0 0 0 2px var(--aoem-line); }
.aoem-btn.dark { background: var(--aoem-ink); color: var(--aoem-bg); }
.aoem-btn.bad { background: var(--aoem-bad); color: #fff; }
.aoem-btn.sm { padding: 7px 16px; min-height: 36px; font-size: .88rem; }
.aoem-btn.block { width: 100%; }
.aoem-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.aoem-row.between { justify-content: space-between; }
.aoem-label { display: block; font-size: .85rem; color: var(--aoem-mute); margin: 12px 0 4px; }
.aoem-input, .aoem-root textarea.aoem-input, .aoem-root select.aoem-input { width: 100%; padding: 12px 16px; border-radius: 18px; border: 2px solid var(--aoem-line); background: var(--aoem-card); min-height: 48px; }
.aoem-input:focus { border-color: var(--aoem-accent); outline: none; box-shadow: 0 0 0 4px rgba(255, 160, 78, .3); }
.aoem-root textarea.aoem-input { resize: none; overflow: hidden; min-height: 56px; }
.aoem-hint { font-size: .8rem; color: var(--aoem-mute); margin-top: 4px; }
.aoem-err { color: var(--aoem-bad); font-size: .9rem; margin: 8px 0 0; min-height: 1.2em; }
.aoem-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.aoem-switch input { width: 48px; height: 28px; accent-color: var(--aoem-accent); }

/* ---------- consciousness score ---------- */
.aoem-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--aoem-accent) calc(var(--p) * 1%), var(--aoem-line) 0); display: grid; place-items: center; flex: none; }
.aoem-ring span { background: var(--aoem-card); width: 98px; height: 98px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.aoem-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.aoem-bar { background: var(--aoem-bg); border-radius: 18px; padding: 14px 14px 10px; text-align: center; }
.aoem-bar b { display: block; font-weight: 600; } .aoem-bar small { color: var(--aoem-mute); display: block; text-align: right; font-size: .7rem; }
.aoem-meter { height: 3px; background: var(--aoem-line); border-radius: 3px; margin-top: 8px; } .aoem-meter i { display: block; height: 100%; background: var(--aoem-accent); border-radius: 3px; }
.aoem-exists h4 { margin: 0 0 8px; font-size: 1.1rem; }
.aoem-exists .scroll { max-height: 280px; overflow: auto; padding-right: 8px; }
.aoem-exists dt { color: var(--aoem-accent-deep); font-weight: 600; margin-top: 8px; } .aoem-exists dd { margin: 0; color: var(--aoem-mute); font-size: .9rem; }
.aoem-exists .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .aoem-exists .pills button { border: 0; background: var(--aoem-bg); border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--aoem-mute); font-size: .8rem; } .aoem-exists .pills button.on { background: var(--aoem-accent); color: var(--aoem-accent-ink); }

/* ---------- lists, chat, steps, tables ---------- */
.aoem-list { display: grid; gap: 10px; }
.aoem-li { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--aoem-card); border-radius: 20px; padding: 14px 18px; box-shadow: var(--aoem-shadow); text-align: left; border: 0; width: 100%; cursor: default; }
button.aoem-li { cursor: pointer; }
.aoem-li .t { font-weight: 600; } .aoem-li .m { color: var(--aoem-mute); font-size: .85rem; }
.aoem-badge { background: var(--aoem-accent); color: var(--aoem-accent-ink); border-radius: 999px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 700; padding: 0 7px; }
.aoem-chat { display: grid; grid-template-rows: 1fr auto; height: min(70vh, 640px); background: var(--aoem-card); border-radius: var(--aoem-radius); box-shadow: var(--aoem-shadow); overflow: hidden; }
.aoem-msgs { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.aoem-msg { max-width: 78%; padding: 10px 14px; border-radius: 18px; background: var(--aoem-bg); align-self: flex-start; word-wrap: break-word; overflow-wrap: anywhere; white-space: pre-wrap; }
.aoem-msg.me { align-self: flex-end; background: var(--aoem-accent); color: var(--aoem-accent-ink); }
.aoem-msg small { display: block; opacity: .7; font-size: .7rem; margin-bottom: 2px; }
.aoem-compose { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--aoem-line); align-items: flex-end; }
.aoem-compose textarea { flex: 1; }
.aoem-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; counter-reset: s; }
.aoem-step { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--aoem-card); color: var(--aoem-mute); font-size: .88rem; box-shadow: var(--aoem-shadow); }
.aoem-step::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--aoem-line); font-weight: 700; }
.aoem-step.done::before { content: "\2713"; background: var(--aoem-accent); color: var(--aoem-accent-ink); }
.aoem-step.on { color: var(--aoem-ink); font-weight: 600; box-shadow: inset 0 0 0 2px var(--aoem-accent), var(--aoem-shadow); }
.aoem-step.on::before { background: var(--aoem-accent); color: var(--aoem-accent-ink); }
.aoem-secret { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--aoem-ink); color: var(--aoem-bg); padding: 14px 16px; border-radius: 16px; word-break: break-all; font-size: .85rem; }
.aoem-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.aoem-table th { text-align: left; color: var(--aoem-mute); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--aoem-line); }
.aoem-table td { padding: 10px; border-bottom: 1px solid var(--aoem-line); vertical-align: top; }
.aoem-scroll-x { overflow-x: auto; }
.aoem-stat { text-align: left; } .aoem-stat .n { font-size: 2.2rem; font-weight: 700; line-height: 1; } .aoem-stat .l { color: var(--aoem-mute); font-size: .9rem; margin-top: 6px; }
.aoem-empty { text-align: center; color: var(--aoem-mute); padding: 34px 10px; }
.aoem-empty img { width: 54px; opacity: .8; margin-bottom: 8px; }

/* ---------- sheet / toast ---------- */
.aoem-sheet-bg { position: fixed; inset: 0; background: rgba(20, 12, 4, .5); z-index: 9998; display: flex; align-items: flex-end; justify-content: center; }
.aoem-sheet { background: var(--aoem-bg); color: var(--aoem-ink); width: min(680px, 100%); max-height: 92vh; overflow: auto; border-radius: 30px 30px 0 0; padding: 24px clamp(18px, 3vw, 34px) calc(24px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .aoem-sheet-bg { align-items: center; } .aoem-sheet { border-radius: 30px; } }
.aoem-toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--aoem-ink); color: var(--aoem-bg); padding: 12px 22px; border-radius: 999px; z-index: 9999; max-width: 92vw; box-shadow: var(--aoem-shadow); }
.aoem-login { max-width: 460px; margin: clamp(20px, 8vh, 90px) auto; }
.aoem-login .aoem-logo { width: min(260px, 70%); margin: 0 auto 22px; }

/* ---------- phones and tablets: floating dock, sun toggle ---------- */
.aoem-fab { display: none; }
@media (max-width: 899px) {
  .aoem-dock.home { display: none; }
  .aoem-minidock { display: none; }
  .aoem-top { grid-template-columns: 52px 1fr 52px; }
  .aoem-bottomdock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; background: var(--aoem-dock); border-radius: 999px; padding: 8px 10px; display: flex; gap: 6px; align-items: center; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); max-width: calc(100vw - 20px); transition: transform .25s ease, opacity .2s ease; }
  .aoem-bottomdock.shut { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
  .aoem-bottomdock .aoem-d { width: 44px; height: 44px; background: transparent; color: #f7f0e9; box-shadow: none; outline: 0; }
  .aoem-bottomdock .aoem-d.on { background: var(--aoem-accent); color: var(--aoem-accent-ink); }
  .aoem-bottomdock .aoem-d.me { width: 54px; height: 54px; margin-top: -22px; background: var(--aoem-card); outline: 3px solid var(--aoem-accent); outline-offset: -3px; }
  .aoem-bottomdock .aoem-d .tip { display: none; }
  .aoem-fab { display: grid; position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 51; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--aoem-card); outline: 3px solid var(--aoem-accent); outline-offset: -3px; box-shadow: var(--aoem-shadow); place-items: center; cursor: pointer; padding: 0; }
  .aoem-fab img { width: 36px; height: 36px; }
  .aoem-landing .mobile-open { display: inline-flex; }
  .aoem-bars { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) { .aoem-bottomdock { display: none; } .aoem-landing .mobile-open { display: none; } }
@media (min-width: 900px) and (max-width: 1180px) {
  .aoem-dock .s0 { width: 150px; height: 150px; } .aoem-dock .s1 { width: 92px; height: 92px; } .aoem-dock .s2 { width: 84px; height: 84px; } .aoem-dock .s3 { width: 74px; height: 74px; }
}
@media (max-width: 480px) {
  .aoem-card { padding: 16px; } .aoem-msg { max-width: 90%; } .aoem-tab { padding: 10px 14px; }
  .aoem-grid { grid-template-columns: 1fr; }
}

/* ---------- admin app layout ---------- */
.aoem-adminroot .aoem-stage { padding-bottom: 60px; }
.aoem-admin { display: grid; grid-template-columns: 230px 1fr; gap: var(--aoem-gap); padding-top: 22px; align-items: start; }
.aoem-side { position: sticky; top: 16px; display: grid; gap: 6px; background: var(--aoem-card); border-radius: var(--aoem-radius); padding: 14px; box-shadow: var(--aoem-shadow); }
.aoem-side button { border: 0; background: none; text-align: left; padding: 11px 14px; border-radius: 16px; cursor: pointer; color: var(--aoem-mute); display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.aoem-side button.on { background: var(--aoem-accent); color: var(--aoem-accent-ink); font-weight: 600; }
.aoem-side .brandline { display: flex; align-items: center; gap: 10px; padding: 6px 8px 12px; font-weight: 700; }
.aoem-side .brandline img { width: 34px; height: 34px; }
@media (max-width: 899px) { .aoem-admin { grid-template-columns: 1fr; } .aoem-side { position: static; grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; padding: 8px; } .aoem-side .brandline { display: none; } }

@media (prefers-reduced-motion: reduce) { .aoem-root * { animation: none !important; transition: none !important; } }
@media print { .aoem-bottomdock, .aoem-fab, .aoem-top { display: none; } }

/* embedded module widgets (not the full app) */
.aoem-root:not(.aoem-full) { border-radius: var(--aoem-radius); padding: clamp(14px, 2vw, 28px); }
