html[data-theme=aurora]{color-scheme:dark;--bg:#111526;--ink:#f2efff;--muted:#b7bfd8;--line:#424963;--green:#9fdfd0;--panel:#1b2237;--soft:#161d30;--selected:#334558;--card:#252d48;--hero-wash:17,21,38;--shadow:#0005}
html[data-theme=aurora] .sidebar,html[data-theme=aurora] .login-card,html[data-theme=aurora] .settings-dialog{background:var(--panel);color:var(--ink)}
html[data-theme=aurora] .hero:before{background-image:linear-gradient(110deg,rgba(17,21,38,.96),rgba(17,21,38,.55)),radial-gradient(ellipse at 75% 15%,#a583bf80,transparent 65%),var(--wallpaper)}
html[data-theme=aurora] .task-card{background:linear-gradient(140deg,#283650,#262840);border-color:var(--line)}
html[data-theme=aurora] .image-card{background:linear-gradient(140deg,#3b304d,#292a44)}
html[data-theme=aurora] .notebook-card{background:linear-gradient(140deg,#22474b,#252f43)}
html[data-theme=aurora] .task-card p,html[data-theme=aurora] .hero p,html[data-theme=aurora] .field-hint,html[data-theme=aurora] .card-tag,html[data-theme=aurora] .login-card p,html[data-theme=aurora] .gpu-note p{color:#c3cbe3}
html[data-theme=aurora] .primary-button{background:#a4e0ce;color:#122b2b}
html[data-theme=aurora] em,html[data-theme=aurora] .eyebrow{color:#b4e6d9}
html[data-theme=aurora] input,html[data-theme=aurora] textarea,html[data-theme=aurora] select{background:var(--soft);color:var(--ink)}
html[data-theme=aurora] .login-overlay{background:#111526ed}
html[data-theme=aurora] nav a,html[data-theme=aurora] .nav-label,html[data-theme=aurora] .crumb,html[data-theme=aurora] .system-pill,html[data-theme=aurora] .page-title p,html[data-theme=aurora] .under-cards small,html[data-theme=aurora] .login-card small,html[data-theme=aurora] footer{color:var(--muted)}
html[data-theme=aurora] nav a.active,html[data-theme=aurora] nav a:hover{color:var(--ink)}
html[data-theme=aurora] .avatar,html[data-theme=aurora] .card-icon{background:var(--selected);color:var(--ink);border-color:var(--line)}
.companion-launcher{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:18;display:flex;align-items:center;gap:8px;padding:8px 14px 8px 7px;border:1px solid var(--line);border-radius:40px;background:var(--panel);color:var(--ink);box-shadow:0 8px 30px #0003;font:600 12px var(--sans,Arial,sans-serif);cursor:pointer}
.companion-launcher svg{width:53px;height:53px;overflow:visible}.companion-launcher:hover .cat-head{transform:rotate(-5deg);transform-origin:32px 32px}
.cat-eyes{animation:felix-blink 9s infinite;transform-origin:32px 30px}.cat-tail{animation:felix-tail 5s ease-in-out infinite;transform-origin:46px 52px}
@keyframes felix-blink{0%,44%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.08)}}
@keyframes felix-tail{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(9deg)}}
.companion-panel{position:fixed;inset:auto max(18px,env(safe-area-inset-right)) max(99px,calc(env(safe-area-inset-bottom) + 85px)) auto;width:min(365px,calc(100vw - 32px));max-height:calc(100dvh - 135px);overflow:auto;margin:0;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--ink);box-shadow:0 16px 65px #0004;z-index:19;font:14px/1.6 var(--sans,Arial,sans-serif)}
.companion-panel:not([open]){display:none}.companion-panel h2{font-size:21px;margin:0 30px 6px 0}.companion-panel p{margin:8px 0 15px;color:var(--muted)}
.companion-close{position:absolute;right:13px;top:11px;width:36px;height:36px;border:0;background:transparent;color:var(--ink);font-size:22px;cursor:pointer}
.companion-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.companion-actions button{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.companion-actions button:hover{background:var(--selected)}.companion-panel .companion-note{font-size:11px;margin:14px 0 0}.companion-launcher:focus-visible,.companion-panel button:focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.cat-eyes,.cat-tail{animation:none}.cat-head{transform:none!important}}
@media(max-width:650px){.companion-launcher{padding:5px 10px 5px 5px}.companion-launcher svg{width:43px;height:43px}.companion-panel{bottom:83px}.companion-launcher span{font-size:11px}}
