/* Home screen after sign-in: app tiles (like Odoo's home menu). */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/static/desk/fonts/inter-latin-wght-normal.woff2) format('woff2'); }
:root, [data-theme="light"] { --ink: #0f172a; --muted: #64748b; --panel: #ffffff; --line: #e3e8ef; --hover: #f1f5f9;
  --bg: radial-gradient(1200px 600px at 15% 0%, #e0f2fe 0%, transparent 60%), radial-gradient(900px 600px at 100% 100%, #ede9fe 0%, transparent 55%), linear-gradient(160deg, #f8fafc, #eef2f7); }
[data-theme="dark"] { --ink: #e6edf3; --muted: #8b98a9; --panel: #11161d; --line: #212a35; --hover: #18202a;
  --bg: radial-gradient(1200px 600px at 15% 0%, #0c2a3a 0%, transparent 60%), radial-gradient(900px 600px at 100% 100%, #1e1638 0%, transparent 55%), linear-gradient(160deg, #0a0e13, #0d1218); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font: 14px/1.45 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); background-attachment: fixed; min-height: 100vh; -webkit-font-smoothing: antialiased; }
button { font: inherit; }
.hbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; }
.hbrand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.hlogo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #10b981, #047857); box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.hme { position: relative; }
.mebtn { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; color: var(--ink); }
.ini { width: 30px; height: 30px; border-radius: 50%; background: #047857; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.18); padding: 6px; min-width: 220px; z-index: 5; }
.menu .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .menu .who small { color: var(--muted); display: block; }
.menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.menu button:hover { background: var(--hover); } .menu .out { color: #c62828; }
.hmain { max-width: 980px; margin: 0 auto; padding: 7vh 24px 40px; text-align: center; }
.hello { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 44px; }
.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 42px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; background: none; border: 0; cursor: pointer; color: var(--ink); text-decoration: none; border-radius: 18px; padding: 10px 4px; transition: transform .12s; }
.app:hover { transform: translateY(-3px); } .app:focus-visible { outline: 3px solid #10b981; outline-offset: 2px; }
.icon { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.25); }
.icon svg { width: 46px; height: 46px; }
.app b { font-size: 15px; font-weight: 600; }
.app small { color: var(--muted); font-size: 12px; margin-top: -6px; }
.badge { font-size: 10.5px; font-weight: 700; background: #fef3c7; color: #92400e; border-radius: 999px; padding: 1px 8px; margin-top: -4px; }
[data-theme="dark"] .badge { background: #3a2b10; color: #fcd34d; }
.none { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; max-width: 460px; margin: 0 auto; color: var(--muted); }
.soon { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 38px 34px; max-width: 520px; margin: 0 auto; box-shadow: 0 12px 40px rgba(15,23,42,.08); }
.soon .icon { margin: 0 auto 18px; }
.soon h1 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.soon p { color: var(--muted); margin: 0 0 8px; }
.soon ul { text-align: left; display: block; width: fit-content; margin: 12px auto 24px; padding-left: 20px; color: var(--ink); }
.back { background: #047857; color: #fff; border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
.loading { color: var(--muted); padding-top: 10vh; }
