/* Nepzaa Tools & Calendar shell: slim Nepzaa header, no Saathi sidebar or bottom bar. */
body.tools-shell { padding-bottom: 24px; }
.tshell-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 8px 16px; min-height: 58px; background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--crimson), #fff 50%, var(--blue)) 1; }
.tshell-logo { display: flex; align-items: center; flex: none; }
.tshell-logo img { height: 34px; width: auto; }
.tshell-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.tshell-nav a { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); text-decoration: none; }
.tshell-nav a:hover { background: color-mix(in srgb, var(--blue) 9%, transparent); color: var(--text); }
.tshell-nav a.on { color: #fff; background: linear-gradient(135deg, var(--crimson), var(--blue)); }
body.tools-shell .shell { margin-left: 0; max-width: 1180px; margin-inline: auto; }
body.tools-shell .datebar { top: 58px; border-radius: 0 0 16px 16px; }
body.tools-shell .bottom-nav, body.tools-shell .sidebar { display: none !important; }
@media (max-width: 560px) { .tshell-bar { gap: 8px; padding: 6px 10px; } .tshell-nav a { padding: 6px 10px; font-size: .88rem; } .tshell-logo img { height: 24px; } }

/* Full-screen editors (cards, collage, photo, video) need the whole screen: hide the site bar and date bar while editing so their Back / Export buttons are reachable. */
body.editor-mode .tshell-bar, body.editor-mode .datebar { display: none; }
body.editor-mode .topbar { top: 0; }

/* The floating Saathi AI button (same as on Home and in the Store). Hidden only inside the full-screen editors, where it would cover their Export button. */
.ai-fab { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 72px; height: 72px; border-radius: 50%; display: block; box-shadow: 0 10px 26px -8px rgb(11 31 77 / .55); background: #fff; transition: transform .15s; }
.ai-fab:hover { transform: scale(1.06); }
.ai-fab:focus-visible { outline: 3px solid #003893; outline-offset: 3px; }
.ai-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
@media (max-width: 560px) { .ai-fab { width: 64px; height: 64px; } }
body.editor-mode .ai-fab { display: none; }
