/* Identidade ZoFarm. Escala, layout e componentes vêm do CSS original ZoPragas. */
.zf-brand { display:inline-flex; align-items:center; gap:.6rem; font-family:Inter,ui-sans-serif,system-ui,sans-serif; font-size:1.6rem; font-weight:750; letter-spacing:-.065rem; color:#1f2937; }
.zf-brand img { height:2rem; width:2rem; }
.zf-brand-accent { color:#059669; }
.dark .zf-brand { color:#f3f4f6; }
.zf-login-brand { text-align:center; margin:0 auto .5rem; }
.zf-login-brand .zf-brand { color:#1f2937; font-size:2.25rem; gap:.65rem; }
.zf-login-brand .zf-brand img { width:2.7rem; height:2.7rem; }
.zf-login-brand p { font-size:.8125rem; color:#6b7280; margin-top:.5rem; }
.zf-welcome { display:flex; align-items:center; gap:1rem; }
.zf-welcome-icon { flex-shrink:0; display:grid; place-items:center; width:3rem; height:3rem; border-radius:.75rem; background:#ecfdf5; color:#059669; }
.zf-welcome-icon svg { width:1.65rem; height:1.65rem; }
.zf-welcome h2 { font-size:1.125rem; font-weight:600; }
.zf-welcome p { color:#6b7280; margin-top:.25rem; font-size:.875rem; }
.zf-modules { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.zf-module { display:flex; gap:.75rem; align-items:center; padding:1rem; border:1px solid #e1e5ec; border-radius:.5rem; font-weight:500; font-size:.875rem; }
.zf-module:hover { background:#e8f3ec; border-color:#a7d7bb; }
.zf-module-icon { width:1.5rem; height:1.5rem; color:#059669; flex-shrink:0; }
.zf-module-arrow { width:1rem; height:1rem; color:#9ca3af; margin-left:auto; flex-shrink:0; }
.zf-home-footer { display:flex; justify-content:space-between; font-size:.8125rem; color:#6b7280; }
.zf-routine { display:flex; gap:1rem; align-items:center; justify-content:space-between; padding:.8rem 0; border-bottom:1px solid #e9ecf2; }
.zf-routine:last-child { border:0; }
.zf-routine strong { font-size:.875rem; font-weight:500; }
.zf-routine small { display:block; color:#6b7280; margin-top:.15rem; font-size:.75rem; }
.zf-routine>span { flex-shrink:0; background:#f3f4f6; color:#6b7280; border-radius:.4rem; padding:.25rem .5rem; font-size:.75rem; }
.dark .zf-welcome p,.dark .zf-home-footer,.dark .zf-routine small { color:#9ca3af; }
.dark .zf-module,.dark .zf-routine { border-color:#374151; }
.dark .zf-module:hover { background:#15382e; }
.zf-muted { color:#6b7280; }
.zf-navigation { margin-top: -.75rem; }
.zf-nav-tree,.zf-nav-children { display:flex; flex-direction:column; gap:.25rem; list-style:none; }
.zf-nav-link { display:flex; width:100%; align-items:center; gap:.75rem; border-radius:.5rem; padding:.55rem .5rem; font-size:.875rem; font-weight:500; color:#374151; text-align:left; line-height:1.4; }
.zf-nav-link:hover { background:#f3f4f6; }
.zf-nav-icon { width:1.5rem; height:1.5rem; flex-shrink:0; color:#9ca3af; }
.zf-nav-link>span { flex:1; }
.zf-nav-children { margin-left:1.25rem; border-left:1px solid #d1d5db; padding-left:.5rem; }
.zf-nav-children .zf-nav-link { font-weight:400; }
.zf-nav-chevron { margin-left:auto; width:1rem; height:1rem; flex-shrink:0; transform:rotate(-90deg); }
.zf-nav-chevron.zf-nav-rotated { transform:rotate(0); }
.zf-nav-active>.zf-nav-link { color:#059669; background:#ecfdf5; }
.dark .zf-nav-link { color:#d1d5db; }
.dark .zf-nav-link:hover { background:rgba(255,255,255,.05); }
.dark .zf-nav-children { border-color:#4b5563; }
.dark .zf-nav-active>.zf-nav-link { color:#34d399; background:rgba(16,185,129,.1); }
@media(max-width:1023px) { .zf-modules { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .zf-modules { grid-template-columns:1fr; } .zf-routine { align-items:flex-start; } }

/* Cortina lateral (adianti_right_panel) e janela (TWindow): ver App\Livewire\CurtainStack. */
body.zf-curtain-open { overflow: hidden; }
.zf-curtain-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 35; }
.zf-curtain { position: fixed; background: #eef1f6; overflow-y: auto; overscroll-behavior: contain; box-shadow: -.625rem 0 1.75rem rgba(15, 23, 42, .18); }
.zf-curtain--curtain { top: 0; right: 0; bottom: 0; width: min(780px, 100vw); border-left: 1px solid #e1e5ec; animation: zf-curtain-in .32s ease-out; }
.zf-curtain--window { top: 5vh; left: 10vw; width: 80vw; max-height: 90vh; border-radius: .7rem; animation: zf-window-in .2s ease-out; }
/* Sem fill-mode: ao terminar a animação o transform some e os modais internos (position: fixed) voltam a ocupar a tela. */
@keyframes zf-curtain-in { from { transform: translateX(100%); } }
@keyframes zf-window-in { from { opacity: 0; } }
.zf-curtain .fi-page { padding: 1rem; }
.zf-curtain .fi-breadcrumbs { display: none; }
.dark .zf-curtain { background: #0b0f14; border-color: rgba(255, 255, 255, .08); }
@media (max-width: 767px) { .zf-curtain--window { inset: 0; width: 100vw; max-height: none; border-radius: 0; } }
