.header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;gap:12px}.header-menu-btn{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;background:transparent;border-radius:8px;color:#475569;cursor:pointer;font-size:1.25rem;transition:background .2s,color .2s}.header-menu-btn:hover{background:#f1f5f9;color:#0f172a}.header-menu-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.header-menu-icon .menu-bar{width:22px;height:2px;background:currentColor;border-radius:1px}@media (max-width: 768px){.header-menu-btn{display:flex}.header{flex-wrap:wrap;gap:8px;padding:12px 16px}.header-title{order:1;flex:1;min-width:0;font-size:1.2rem;text-align:center}.header-user{order:2;flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;text-align:center}.header-user span{font-size:.85rem;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.header-pharmacy{font-size:.8rem;color:#64748b;font-weight:500}.header-role{font-size:.75rem;margin:2px 0}.header-user .btn{font-size:.85rem;padding:8px 16px;margin-top:6px;width:100%;max-width:120px}}@media (max-width: 480px){.header{padding:8px 12px;gap:6px}.header-title{font-size:1.1rem}.header-user{gap:4px}.header-user span{font-size:.8rem}.header-pharmacy{font-size:.75rem}.header-role{font-size:.7rem;margin:1px 0}.header-user .btn{padding:6px 12px;font-size:.8rem;max-width:100px}}.header-title{margin:0;font-size:1.25rem;font-weight:600;color:#0f172a}.header-user{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.header-pharmacy{font-size:.8rem;color:#64748b;padding:2px 8px;background:#f1f5f9;border-radius:6px;font-weight:500}.header-role{font-size:.75rem;padding:2px 8px;background:#e0e7ff;color:#3730a3;border-radius:4px;font-weight:600}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:100;opacity:0;transition:opacity .2s ease}.sidebar-overlay-visible{display:block;opacity:1}.sidebar{width:220px;flex-shrink:0;background:#fff;border-right:1px solid #e5e7eb;padding:16px 0;transition:transform .2s ease}.sidebar nav{display:flex;flex-direction:column}.sidebar-link{padding:10px 20px;color:#475569;font-weight:500;transition:background .15s,color .15s;display:flex;align-items:center;gap:8px}.sidebar-link-nested{padding-left:32px;font-size:.9rem}.sidebar-group-label{padding:8px 20px 4px;color:#94a3b8;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-top:8px}.sidebar-link:hover{background:#f1f5f9;color:#0f172a}.sidebar-link.active{background:#eff6ff;color:#2563eb;border-right:3px solid #2563eb}.sidebar-icon{font-size:1.1rem;width:1.4rem;text-align:center}@media (max-width: 768px){.sidebar-overlay{display:block;pointer-events:none}.sidebar-overlay-visible{pointer-events:auto}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:101;box-shadow:4px 0 20px #0000001a;transform:translate(-100%)}.sidebar.sidebar-open{transform:translate(0)}}.layout{min-height:100vh;display:flex;flex-direction:column}.layout-body{flex:1;display:flex}.layout-main{flex:1;padding:24px;overflow:visible;min-width:0}@media (max-width: 768px){.layout-main{padding:16px;overflow-x:hidden}}@media (max-width: 480px){.layout-main{padding:12px}}@media (max-width: 768px){.btn{min-height:44px;min-width:44px;font-size:.9rem}}body{overflow-x:hidden}@media (max-width: 768px){.btn{min-height:44px;min-width:44px;font-size:.9rem;touch-action:manipulation}input,textarea,select{font-size:16px;touch-action:manipulation}button,.btn{touch-action:manipulation}}@media (max-width: 768px){html{scroll-behavior:smooth;-webkit-overflow-scrolling:touch}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b)}.login-card{background:#fff;padding:40px;border-radius:12px;box-shadow:0 25px 50px -12px #00000040;width:100%;max-width:400px}.login-card h1{margin:0 0 8px;font-size:1.5rem;color:#0f172a}.login-subtitle{margin:0 0 24px;color:#64748b;font-size:.9rem}.login-input{width:100%;padding:12px 16px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem}.login-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb33}.login-error{color:#dc2626;font-size:.875rem;margin:0 0 12px}.login-toggle{display:block;margin-top:16px;background:none;border:none;color:#2563eb;font-size:.9rem;padding:0}.login-toggle:hover{text-decoration:underline}.login-forgot{display:inline-block;margin:4px 0 8px;background:none;border:none;color:#2563eb;font-size:.85rem;padding:0;cursor:pointer}.login-forgot:hover{text-decoration:underline}.login-reset{margin:0 0 12px;font-size:.85rem;color:#16a34a}.landing{min-height:auto;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e0f2fe,#f0f9ff,#f8fafc);overflow-x:hidden;overflow-y:visible}.landing-header{padding:16px 24px;background:#fffffff2;box-shadow:0 2px 8px #0000000f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0;z-index:100}.landing-header-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.landing-logo{font-size:1.35rem;font-weight:700;background:linear-gradient(135deg,#2563eb,#1d4ed8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.5px}.landing-demo-btn{padding:8px 18px;border-radius:8px;font-weight:500;color:#64748b;background:transparent;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s;text-decoration:none;font-size:.875rem}.landing-demo-btn:hover{background:#f8fafc;color:#2563eb;border-color:#2563eb}.landing-login-btn{padding:8px 18px;border-radius:8px;font-weight:500;color:#2563eb;background:transparent;border:1px solid #2563eb;text-decoration:none;transition:background .15s,color .15s}.landing-login-btn:hover{background:#2563eb;color:#fff;text-decoration:none}.landing-hero{max-width:1200px;margin:0 auto;padding:100px 24px 80px;position:relative}.landing-hero-content{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.landing-hero-left{display:flex;flex-direction:column;gap:24px}.landing-hero-badge{display:inline-flex;align-items:center;padding:6px 16px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #86efac;border-radius:20px;font-size:.875rem;font-weight:600;color:#166534;width:fit-content}.landing-hero-trust{display:flex;gap:24px;font-size:.875rem;color:#475569;font-weight:500}.landing-hero-right{display:flex;justify-content:center;align-items:center}.landing-hero-screenshot{transform:perspective(1000px) rotateY(-5deg) rotateX(2deg);transition:transform .3s ease}.landing-hero-screenshot:hover{transform:perspective(1000px) rotateY(-3deg) rotateX(1deg)}.screenshot-frame{width:480px;height:320px;background:#1e293b;border-radius:12px;box-shadow:0 25px 50px -12px #00000040;overflow:hidden;border:1px solid #334155}.screenshot-header{background:#334155;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #475569}.screenshot-dots{display:flex;gap:6px}.screenshot-dots span{width:12px;height:12px;border-radius:50%;background:#64748b}.screenshot-dots span:first-child{background:#ef4444}.screenshot-dots span:nth-child(2){background:#eab308}.screenshot-dots span:nth-child(3){background:#22c55e}.screenshot-title{color:#e2e8f0;font-size:.875rem;font-weight:500}.screenshot-content{display:flex;height:calc(100% - 48px)}.screenshot-sidebar{width:140px;background:#0f172a;padding:16px 0;border-right:1px solid #334155}.sidebar-item{padding:8px 20px;color:#94a3b8;font-size:.875rem;cursor:pointer;transition:all .2s}.sidebar-item.active{background:#1e293b;color:#f1f5f9;border-left:3px solid #2563eb}.screenshot-main{flex:1;background:#f8fafc;padding:20px}.screenshot-metric-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metric-card{background:#fff;padding:16px;border-radius:8px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.metric-value{font-size:1.25rem;font-weight:700;color:#0f172a;margin-bottom:4px}.metric-label{font-size:.75rem;color:#64748b;font-weight:500}.landing-hero:before{content:"";position:absolute;width:400px;height:400px;background:radial-gradient(circle,rgba(37,99,235,.1) 0%,transparent 70%);top:-100px;left:50%;transform:translate(-50%);pointer-events:none}.landing-hero h1{margin:0;font-size:3rem;font-weight:900;color:#0f172a;line-height:1.1;letter-spacing:-1px;animation:slideInDown .8s ease-out}.landing-hero-sub{margin:0 0 40px;font-size:1.25rem;color:#475569;line-height:1.6;animation:slideInUp .8s ease-out .1s;animation-fill-mode:both}.landing-hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.landing-social-proof{background:linear-gradient(135deg,#f8fafc,#f1f5f9);padding:32px 24px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.landing-social-proof-content{max-width:1100px;margin:0 auto;text-align:center}.landing-social-proof p{margin:0;font-size:1.125rem;font-weight:600;color:#475569;letter-spacing:.5px}.landing-features{max-width:1200px;margin:0 auto;padding:100px 24px;position:relative}.landing-features h2{margin:0 0 60px;font-size:2.5rem;font-weight:800;color:#0f172a;text-align:center}.feature-row{margin-bottom:120px}.feature-row:last-child{margin-bottom:0}.feature-row-content{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.feature-row.reverse .feature-row-content{grid-template-columns:1fr 1fr}.feature-row.reverse .feature-row-text{order:2}.feature-row.reverse .feature-row-screenshot{order:1}.feature-row-text{display:flex;flex-direction:column;gap:20px}.feature-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:linear-gradient(135deg,#dbeafe,#e0f2fe);border-radius:16px;color:#2563eb;margin-bottom:8px}.feature-row-text h3{margin:0;font-size:1.875rem;font-weight:700;color:#0f172a;line-height:1.3}.feature-row-text p{margin:0;font-size:1.125rem;color:#64748b;line-height:1.6}.feature-row-screenshot{display:flex;justify-content:center;align-items:center}.feature-screenshot-frame{width:100%;max-width:480px;height:320px;background:#1e293b;border-radius:12px;box-shadow:0 20px 40px #00000026;overflow:hidden;border:1px solid #334155;transform:perspective(1000px) rotateY(-3deg) rotateX(1deg);transition:transform .3s ease}.feature-row.reverse .feature-screenshot-frame{transform:perspective(1000px) rotateY(3deg) rotateX(1deg)}.feature-screenshot-frame:hover{transform:perspective(1000px) rotateY(-1deg) rotateX(0)}.feature-row.reverse .feature-screenshot-frame:hover{transform:perspective(1000px) rotateY(1deg) rotateX(0)}.feature-screenshot-header{background:#334155;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #475569}.feature-screenshot-dots{display:flex;gap:6px}.feature-screenshot-dots span{width:12px;height:12px;border-radius:50%;background:#64748b}.feature-screenshot-dots span:first-child{background:#ef4444}.feature-screenshot-dots span:nth-child(2){background:#eab308}.feature-screenshot-dots span:nth-child(3){background:#22c55e}.feature-screenshot-title{color:#e2e8f0;font-size:.875rem;font-weight:500}.feature-screenshot-content{height:calc(100% - 48px);background:#f8fafc;padding:20px}.alert-list{display:flex;flex-direction:column;gap:12px}.alert-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border-radius:8px;border:1px solid #e2e8f0;font-size:.875rem}.alert-item.critical{border-left:4px solid #ef4444;background:#fef2f2}.alert-item.warning{border-left:4px solid #eab308;background:#fefce8}.alert-item.expiring{border-left:4px solid #f97316;background:#fff7ed}.alert-drug{font-weight:600;color:#0f172a}.alert-quantity{color:#64748b}.alert-status{font-size:.75rem;font-weight:600;padding:4px 8px;border-radius:4px}.alert-item.critical .alert-status{background:#ef4444;color:#fff}.alert-item.warning .alert-status{background:#eab308;color:#fff}.alert-item.expiring .alert-status{background:#f97316;color:#fff}.pos-interface{height:100%;display:flex;align-items:center;justify-content:center}.pos-cart{width:100%;max-width:320px}.cart-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:8px;font-size:.875rem}.cart-drug{font-weight:600;color:#0f172a}.cart-qty{color:#64748b}.cart-price{font-weight:600;color:#0f172a}.cart-total{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-weight:700;color:#0f172a;margin-top:12px}.reports-dashboard{height:100%;display:flex;align-items:center;justify-content:center}.report-summary{width:100%;max-width:280px}.summary-item{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px}.summary-label{font-size:.875rem;color:#64748b}.summary-value{font-size:1rem;font-weight:700;color:#0f172a}.prescription-form{height:100%;display:flex;flex-direction:column;justify-content:center;gap:16px}.form-field{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.field-label{font-size:.875rem;color:#64748b;font-weight:500}.field-value{font-size:.875rem;color:#0f172a;font-weight:600}.landing-pricing{padding:100px 24px;background:linear-gradient(135deg,#f8fafc,#f0fdf4,#f8fafc)}.landing-pricing-content{max-width:1100px;margin:0 auto;text-align:center}.landing-pricing h2{margin:0 0 16px;font-size:2.5rem;font-weight:800;color:#0f172a}.landing-pricing-sub{margin:0 0 60px;font-size:1.125rem;color:#64748b}.pricing-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start}.pricing-tier{background:#fff;border-radius:20px;border:1px solid #e5e7eb;overflow:hidden;position:relative;transition:transform .2s ease,box-shadow .2s ease}.pricing-tier:hover{transform:translateY(-4px);box-shadow:0 16px 40px #0000001a}.pricing-tier-featured{border:2px solid #2563eb;box-shadow:0 20px 40px #2563eb26;transform:translateY(-8px)}.pricing-tier-featured:hover{transform:translateY(-12px)}.pricing-tier-badge{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;text-align:center;padding:8px;font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.pricing-tier-header{padding:32px 32px 24px;text-align:center}.pricing-tier-featured .pricing-tier-header{background:linear-gradient(135deg,#eff6ff,#dbeafe)}.pricing-tier-header h3{margin:0 0 8px;font-size:1.4rem;font-weight:800;color:#0f172a}.pricing-tier-tagline{margin:0 0 20px;font-size:.875rem;color:#64748b}.pricing-price{display:flex;align-items:baseline;justify-content:center;gap:4px}.price-currency{font-size:1.1rem;font-weight:600;color:#374151}.price-amount{font-size:3rem;font-weight:900;color:#0f172a;line-height:1}.price-period{font-size:1rem;color:#6b7280}.pricing-features{list-style:none;margin:0;padding:24px 32px;border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:12px}.pricing-feature{display:flex;align-items:center;gap:10px;text-align:left;font-size:.95rem;color:#374151}.pricing-check{display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border-radius:50%;font-size:.65rem;font-weight:700;flex-shrink:0}.pricing-tier-footer{padding:24px 32px 32px;border-top:1px solid #f1f5f9}.pricing-note{margin:12px 0 0;font-size:.8rem;color:#9ca3af;text-align:center}.btn-outline{background:transparent;border:2px solid #2563eb;color:#2563eb;font-weight:600;padding:12px 24px;border-radius:10px;cursor:pointer;transition:all .2s;width:100%}.btn-outline:hover{background:#eff6ff}@media (max-width: 900px){.pricing-tiers{grid-template-columns:1fr;max-width:440px;margin:0 auto}.pricing-tier-featured{transform:none}.pricing-tier-featured:hover{transform:translateY(-4px)}}.btn-large{padding:16px 32px;font-size:1.125rem;font-weight:600}.landing-how-it-works{padding:100px 24px;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#f8fafc)}.landing-how-it-works-content{max-width:1000px;margin:0 auto}.landing-how-it-works h2{margin:0 0 60px;font-size:2.5rem;font-weight:800;color:#0f172a;text-align:center}.steps-container{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}.step-number{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-radius:50%;font-size:1.5rem;font-weight:700;box-shadow:0 8px 16px #2563eb33}.step-content h3{margin:0 0 12px;font-size:1.25rem;font-weight:700;color:#0f172a}.step-content p{margin:0;font-size:1rem;color:#64748b;line-height:1.6}.landing-contact{max-width:560px;margin:0 auto;padding:80px 24px 100px;position:relative}.landing-contact-header{text-align:center;margin-bottom:32px}.landing-contact-header h2{margin:0 0 8px;font-size:2rem;font-weight:800;color:#0f172a}.landing-contact-header p{margin:0;font-size:1.125rem;color:#64748b;font-weight:500}.landing-contact:before{content:"";position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(37,99,235,.08) 0%,transparent 70%);bottom:-150px;right:-150px;pointer-events:none}.landing-contact h2{margin:0 0 16px;font-size:2rem;font-weight:800;color:#0f172a;text-align:center}.landing-contact>p{margin:0 0 32px;color:#64748b;text-align:center;line-height:1.5}.landing-contact-form{background:#fffffffa;padding:40px;border-radius:16px;box-shadow:0 8px 32px #2563eb1a;border:1px solid rgba(37,99,235,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;z-index:1}.landing-input,.landing-textarea{width:100%;padding:14px 16px;margin-bottom:16px;border:1.5px solid #e2e8f0;border-radius:10px;font-size:1rem;font-family:inherit;background:#fafbfc;transition:all .2s ease-out}.landing-input:hover,.landing-textarea:hover{background:#fff;border-color:#cbd5e1}.landing-input:focus,.landing-textarea:focus{outline:none;border-color:#2563eb;background:#fff;box-shadow:0 0 0 4px #2563eb1a}.landing-textarea{resize:vertical;min-height:80px}.form-success{background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border:1px solid #86efac;color:#166534;padding:14px 16px;border-radius:10px;margin-bottom:16px;font-weight:500;animation:slideInDown .4s ease-out}.form-error{background:linear-gradient(135deg,#fef2f2,#fef2f2);border:1px solid #fca5a5;color:#991b1b;padding:14px 16px;border-radius:10px;margin-bottom:16px;font-weight:500;animation:slideInDown .4s ease-out}.landing-footer{padding:48px 24px;text-align:center;background:linear-gradient(180deg,#0f172a,#1e293b);color:#94a3b8;font-size:.9rem;border-top:1px solid rgba(255,255,255,.1)}.landing-footer-content{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:24px}.footer-brand p{margin:0;font-size:1rem;font-weight:600;color:#f1f5f9}.footer-links{display:flex;justify-content:center;gap:32px;flex-wrap:wrap}.footer-link{color:#94a3b8;text-decoration:none;transition:color .2s}.footer-link:hover{color:#60a5fa;text-decoration:none}.footer-copyright p{margin:0;font-size:.875rem;color:#64748b}@keyframes slideInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.landing-hero-content{grid-template-columns:1fr;gap:40px}.landing-hero-left{text-align:center}.landing-hero-trust{justify-content:center;flex-wrap:wrap}.screenshot-frame{width:100%;max-width:360px;height:240px}.screenshot-sidebar{width:100px}.screenshot-metric-cards{grid-template-columns:1fr}.feature-row-content{grid-template-columns:1fr!important;gap:40px!important}.feature-row.reverse .feature-row-text{order:1}.feature-row.reverse .feature-row-screenshot{order:2}.feature-row-text{text-align:center}.feature-icon{margin:0 auto 8px}.feature-screenshot-frame{max-width:100%;height:240px}.landing-hero h1{font-size:2rem}.landing-hero-sub{font-size:1rem}.landing-features h2{font-size:1.75rem}.feature-row-text h3{font-size:1.5rem}.landing-pricing h2,.landing-how-it-works h2{font-size:2rem}.steps-container{grid-template-columns:1fr;gap:32px}.step{gap:16px}.step-number{width:56px;height:56px;font-size:1.25rem}.landing-contact h2{font-size:1.5rem}.landing-contact-form{padding:24px}.landing-header-inner{justify-content:space-between}.footer-links{gap:16px}.footer-brand p{font-size:.875rem}}#root>.landing{overflow-y:visible!important;max-height:none!important}.landing{overflow:visible!important}.dashboard h1{margin:0 0 16px;font-size:1.5rem;color:#0f172a}.dashboard-sales-section{margin-bottom:20px}.dashboard-sales-card{background:#0f172a;color:#e5e7eb;border-radius:14px;padding:20px 22px;display:flex;flex-direction:column;gap:8px}.dashboard-sales-main{display:flex;justify-content:space-between;align-items:flex-end}.dashboard-sales-label{margin:0 0 4px;font-size:.9rem;color:#cbd5f5}.dashboard-sales-value{margin:0;font-size:1.9rem;font-weight:700}.dashboard-sales-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;color:#e5e7eb;flex-wrap:wrap}.sales-trend{display:inline-flex;align-items:center;gap:6px}.trend-icon{font-size:.9rem}.sales-trend-up .trend-text{color:#bbf7d0}.sales-trend-down .trend-text{color:#fecaca}.sales-trend-neutral .trend-text{color:#e5e7eb}.sales-sub{opacity:.8}.dashboard-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.dashboard-card{background:#fff;padding:24px;border-radius:12px;border:1px solid #e5e7eb;text-decoration:none;color:inherit;transition:box-shadow .2s,transform .2s}.dashboard-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.dashboard-card-value{display:block;font-size:2rem;font-weight:700;color:#0f172a}.dashboard-card-label{font-size:.9rem;color:#64748b}.dashboard-card.alert .dashboard-card-value{color:#dc2626}.dashboard-card.warning .dashboard-card-value{color:#d97706}.dashboard-card.info .dashboard-card-value{color:#2563eb}.dashboard-card.primary .dashboard-card-cta{display:block;margin-top:8px;color:#2563eb;font-weight:600}.batch-form h1{margin:0 0 24px;font-size:1.5rem;color:#0f172a}.batch-add-form{max-width:400px;margin-bottom:32px}.batch-add-form label{display:block;margin:12px 0 4px;font-weight:500;color:#374151}.batch-add-form input,.batch-add-form select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem}.batch-add-form button{margin-top:16px}.batch-list h2{margin:24px 0 16px;font-size:1.1rem;color:#374151}.batch-table{width:100%;max-width:600px;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #00000014}.batch-table th,.batch-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e5e7eb}.batch-table th{background:#f8fafc;font-weight:600;color:#475569;font-size:.8rem}.qty-input{width:80px;padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px}.inventory-page{max-width:1400px;margin:0 auto}.inventory-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.inventory-header h1{margin:0 0 4px;font-size:1.6rem;color:#0f172a;font-weight:700}.inventory-subtitle{margin:0;font-size:.95rem;color:#64748b}.inventory-header-actions{display:flex;gap:10px;flex-wrap:wrap}.inventory-add-stock{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:16px;box-shadow:0 1px 3px #0000000f}.inventory-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.inventory-section-title h2{margin:0;font-size:1.05rem;color:#374151}.inventory-section-title p{margin:0;font-size:.85rem;color:#64748b}.inventory-filters{display:grid;grid-template-columns:1fr 220px auto;gap:12px;align-items:center;margin-bottom:12px}.inventory-search,.inventory-select{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:.95rem}.inventory-pills{display:inline-flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pill{border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:999px;padding:8px 12px;font-size:.85rem;font-weight:600}.pill.active{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.inventory-error{margin:0 0 10px;color:#b91c1c;font-size:.9rem}.inventory-table-wrap{overflow-x:auto}.inventory-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0f172a0f;font-size:.9rem}.inventory-table th,.inventory-table td{padding:12px 14px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.inventory-table th{background:#f8fafc;font-weight:700;color:#475569;font-size:.8rem}.inventory-empty{text-align:center;color:#94a3b8}.drug-cell{min-width:240px}.drug-name{display:block;font-weight:700;color:#0f172a}.drug-meta{display:block;margin-top:4px;font-size:.8rem;color:#64748b}.drug-badges{display:inline-flex;gap:6px;margin-left:8px;vertical-align:middle}.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700;border:1px solid transparent}.badge-low{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.badge-exp{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.qty-cell{font-weight:600}.qty-low{color:#b91c1c}.expiry-warn{color:#c2410c;font-weight:600}.expiry-soon{color:#b91c1c;font-weight:700}.expiry-days{color:#94a3b8;font-weight:500}@media (max-width: 900px){.inventory-filters{grid-template-columns:1fr}.inventory-pills{justify-content:flex-start}}.drug-list h1{margin:0 0 24px;font-size:1.5rem;color:#0f172a}.drug-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.drug-list-filters{display:flex;gap:12px;margin-bottom:24px}.drug-search,.drug-category{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;min-width:200px}.drug-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #00000014}.drug-table th,.drug-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e5e7eb}.drug-table th{background:#f8fafc;font-weight:600;color:#475569;font-size:.8rem;text-transform:uppercase}.drug-table tbody tr:hover{background:#f8fafc}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;padding:24px;border-radius:12px;max-width:480px;width:90%;max-height:90vh;overflow-y:auto}.modal h2{margin:0 0 20px;font-size:1.25rem}.modal label{display:block;margin:12px 0 4px;font-size:.9rem;font-weight:500;color:#374151}.modal input[type=text],.modal input[type=number],.modal select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem}.modal-actions{display:flex;gap:12px;margin-top:24px}.stock-alerts h1{margin:0 0 24px;font-size:1.5rem;color:#0f172a}.alert-section{background:#fff;border-radius:12px;padding:20px;margin-bottom:24px;border:1px solid #e5e7eb}.alert-section h2{margin:0 0 16px;font-size:1rem;color:#475569;font-weight:600}.alert-empty{color:#64748b;margin:0;font-size:.95rem}.alert-list{list-style:none;margin:0;padding:0}.alert-item{padding:12px 16px;border-radius:8px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.alert-item.low{background:#fef2f2;border-left:4px solid #dc2626}.alert-item.expiry{background:#fffbeb;border-left:4px solid #d97706}.alert-drug{font-weight:600;color:#1a1d23}.alert-value{font-size:.9rem;color:#64748b}.cart{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;height:fit-content;box-shadow:0 1px 3px #00000014}@media (max-width: 768px){.cart{padding:16px}.cart-title{font-size:1rem;text-align:center}.cart-input{font-size:16px}.cart-items{max-height:200px}.cart-item{padding:8px 0}.cart-item-name{font-size:.9rem}.cart-btn{min-width:36px;min-height:36px;font-size:1rem}}.cart-title{margin:0 0 16px;font-size:1.1rem;color:#0f172a}.cart-input{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;margin-bottom:16px}.cart-input-sm{width:120px;margin-bottom:0}.cart-items{max-height:280px;overflow-y:auto;margin-bottom:16px;border-bottom:1px solid #e5e7eb;padding-bottom:16px}.cart-empty{color:#64748b;font-size:.9rem;margin:0;padding:16px 0}.cart-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9}.cart-item:last-child{border-bottom:none}.cart-item-name{flex:1;font-weight:500;color:#374151;font-size:.95rem}.cart-item-qty{display:flex;align-items:center;gap:8px}.cart-btn{width:28px;height:28px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:1rem;font-weight:600;color:#475569}.cart-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.cart-remove{width:28px;height:28px;border:none;background:#fef2f2;color:#dc2626;font-size:1.2rem;border-radius:6px;line-height:1}.cart-remove:hover{background:#fee2e2}.cart-discount{margin-bottom:16px}.cart-discount label{display:block;margin-bottom:6px;font-size:.9rem;font-weight:500;color:#475569}.cart-totals{margin-bottom:20px}.cart-row{display:flex;justify-content:space-between;padding:6px 0;font-size:.95rem;color:#475569}.cart-total{font-size:1.1rem;font-weight:700;color:#0f172a;margin-top:8px;padding-top:12px;border-top:1px solid #e5e7eb}.cart-checkout{width:100%;padding:14px;font-size:1rem;font-weight:600}.pos-header{margin-bottom:16px}.pos h1{margin:0 0 4px;font-size:1.5rem;color:#0f172a}.pos-shortcuts{margin:0;font-size:.8rem;color:#64748b}.pos-search-wrap{position:relative;max-width:400px;margin-bottom:16px}@media (max-width: 768px){.pos-search-wrap{max-width:none;margin-bottom:12px}}.pos-autocomplete{position:absolute;top:100%;left:0;right:0;margin:0;padding:4px 0;list-style:none;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #0000001a;z-index:100;max-height:280px;overflow-y:auto}.pos-autocomplete-item{padding:10px 14px;cursor:pointer;display:flex;flex-direction:column;gap:2px}.pos-autocomplete-item:hover,.pos-autocomplete-item.highlighted{background:#eff6ff}.pos-ac-name{font-weight:600;color:#0f172a;font-size:.95rem}.pos-ac-detail{font-size:.8rem;color:#64748b}.pos-body{display:flex;gap:24px;min-height:500px}.pos-products{flex:1;display:flex;flex-direction:column}.pos-search{padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem;margin-bottom:16px;width:100%;max-width:400px}@media (max-width: 768px){.pos-search{max-width:none;font-size:16px}}.pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;flex:1;align-content:start}.pos-product{padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;text-align:left;transition:border-color .2s,box-shadow .2s;position:relative}.pos-product:hover{border-color:#2563eb;box-shadow:0 2px 8px #2563eb26}.pos-product-name{display:block;font-weight:600;color:#0f172a;font-size:.95rem}.pos-product-detail{display:block;font-size:.8rem;color:#64748b;margin-top:4px}.pos-product-price{display:block;margin-top:6px;font-size:.9rem;font-weight:600;color:#0f172a}.pos-controlled{position:absolute;top:8px;right:8px;font-size:.7rem;background:#fef3c7;color:#92400e;padding:2px 6px;border-radius:4px;font-weight:600}@media (max-width: 768px){.pos-body{flex-direction:column;gap:16px;min-height:auto}.pos-cart{width:100%;order:2}.pos-products{order:1}.pos-search-wrap{max-width:none;margin-bottom:12px}.pos-search{max-width:none;font-size:16px}.pos-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.pos-product{padding:12px;min-height:80px}.pos-product-name{font-size:.9rem}.pos-product-detail{font-size:.75rem}.pos-product-price{font-size:.85rem}}@media (max-width: 480px){.pos-grid{grid-template-columns:1fr;gap:6px}.pos-product{padding:10px;min-height:70px}.pos-autocomplete{max-height:200px}}@media (min-width: 769px) and (max-width: 1024px){.pos-cart{width:320px}.pos-body{gap:20px}}.pos-cart{width:380px;flex-shrink:0}.sales-history{padding:24px;max-width:1200px;margin:0 auto}.sales-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:12px}@media (max-width: 768px){.sales-history-header{flex-direction:column;align-items:stretch;gap:16px}.sales-history-header h1{text-align:center;font-size:1.3rem}.sales-history-header .btn{width:100%;text-align:center}}.sales-history-header h1{margin:0;color:#0f172a;font-size:1.5rem}.sales-history-table-container{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;box-shadow:0 1px 3px #00000014}@media (max-width: 768px){.sales-history-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}}.sales-history-table{width:100%;border-collapse:collapse;font-size:.9rem}@media (max-width: 768px){.sales-history-table{font-size:.8rem}}.sales-history-table th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#475569;border-bottom:1px solid #e5e7eb}@media (max-width: 768px){.sales-history-table th{padding:8px 6px;font-size:.75rem}.sales-history-table th:nth-child(3),.sales-history-table th:nth-child(4),.sales-history-table th:nth-child(5){display:none}}.sales-history-table td{padding:12px 16px;border-bottom:1px solid #e5e7eb;color:#374151}@media (max-width: 768px){.sales-history-table td{padding:8px 6px;font-size:.8rem}.sales-history-table td:nth-child(3),.sales-history-table td:nth-child(4),.sales-history-table td:nth-child(5){display:none}.sales-history-table td:last-child{display:table-cell;text-align:center}}.sales-history-table tr:last-child td{border-bottom:none}.voided-row{opacity:.6;background-color:#f9fafb}.status-badge{display:inline-block;padding:4px 12px;border-radius:999px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.status-badge.completed{background-color:#dcfce7;color:#16a34a}.status-badge.voided{background-color:#fee2e2;color:#dc2626}.no-sales{text-align:center;padding:48px 24px;color:#64748b}.no-sales p{margin:0;font-size:.95rem}.error-banner{background-color:#fee2e2;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:24px;border:1px solid #fca5a5}.receipt-viewer{max-width:480px;margin:0 auto}.receipt-actions{margin-bottom:24px;display:flex;gap:12px;align-items:center}@media print{.no-print{display:none!important}.receipt-viewer{max-width:100%}.receipt{box-shadow:none;border:1px solid #000}}.receipt{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:32px;box-shadow:0 1px 3px #00000014}.receipt-header{text-align:center;margin-bottom:24px;padding-bottom:20px;border-bottom:1px dashed #e5e7eb}.receipt-header h1{margin:0 0 8px;font-size:1.5rem;color:#0f172a}.receipt-receipt-num{margin:0;font-weight:600;color:#475569;font-size:.95rem}.receipt-date{margin:4px 0 0;font-size:.9rem;color:#64748b}.receipt-table{width:100%;border-collapse:collapse;margin-bottom:20px}.receipt-table th,.receipt-table td{padding:8px 0;text-align:left;border-bottom:1px solid #f1f5f9}.receipt-table th{font-size:.8rem;color:#64748b;font-weight:600}.receipt-table td:last-child,.receipt-table th:last-child{text-align:right}.receipt-totals{padding-top:16px;border-top:1px dashed #e5e7eb}.receipt-row{display:flex;justify-content:space-between;padding:4px 0;font-size:.95rem;color:#475569}.receipt-total{font-size:1.2rem;font-weight:700;color:#0f172a;margin-top:8px;padding-top:12px}.receipt-footer{text-align:center;margin-top:24px;padding-top:20px;border-top:1px dashed #e5e7eb;color:#64748b;font-size:.9rem}.btn-danger{background-color:#fef2f2;color:#dc2626;border:1px solid #fca5a5;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-danger:hover:not(:disabled){background-color:#fee2e2;border-color:#f87171}.btn-danger:disabled{opacity:.6;cursor:not-allowed}.void-confirm{background-color:#fef2f2;border:1px solid #fca5a5;border-radius:10px;padding:16px 20px;margin-bottom:20px}.void-confirm p{margin:0 0 12px;color:#991b1b;font-size:.9rem}.void-confirm-actions{display:flex;gap:12px;align-items:center}.receipt-voided-banner{background-color:#dc2626;color:#fff;text-align:center;font-weight:700;letter-spacing:.05em;padding:8px;border-radius:6px;margin-bottom:20px;font-size:.9rem}.error-banner{background-color:#fee2e2;color:#dc2626;padding:8px 12px;border-radius:6px;margin-bottom:12px;border:1px solid #fca5a5;font-size:.85rem}.prescription-form h1{margin:0 0 24px;font-size:1.5rem;color:#0f172a}.rx-form{max-width:560px;background:#fff;padding:24px;border-radius:12px;border:1px solid #e5e7eb}.rx-row{margin-bottom:20px}.rx-row label{display:block;margin-bottom:6px;font-weight:500;color:#374151}.rx-row input,.rx-row textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem}.rx-row-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rx-drugs{margin:24px 0}.rx-add-row{display:flex;gap:8px;align-items:center;margin-bottom:12px}.rx-select{flex:1;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem}.rx-input-sm{width:120px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem}.rx-input-num{width:70px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem}.rx-drugs h3{margin:0 0 12px;font-size:1rem;color:#475569}.rx-list{list-style:none;margin:12px 0 0;padding:0}.rx-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:8px;font-size:.95rem}.rx-success{color:#059669;margin:12px 0;font-weight:500}.rx-error{color:#dc2626;margin:12px 0;font-size:.9rem}.approval-queue h1{margin:0 0 24px;font-size:1.5rem;color:#0f172a}.approval-empty{color:#64748b;font-size:.95rem;background:#fff;padding:24px;border-radius:12px;border:1px solid #e5e7eb}.approval-list{display:flex;flex-direction:column;gap:20px}.approval-card{background:#fff;padding:24px;border-radius:12px;border:1px solid #e5e7eb}.approval-card h3{margin:0 0 8px;font-size:1.1rem;color:#0f172a}.approval-doctor{margin:0 0 8px;font-size:.95rem;color:#475569}.approval-drugs{margin:16px 0}.approval-drugs h4{margin:0 0 8px;font-size:.9rem;color:#64748b}.approval-drugs ul{margin:0;padding-left:20px;font-size:.9rem;color:#374151}.approval-notes{margin:8px 0;font-size:.9rem;color:#64748b;font-style:italic}.approval-actions{display:flex;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.approval-reject-form{display:flex;gap:12px;align-items:center}.approval-input{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;min-width:200px}.reports-page{max-width:1400px;margin:0 auto}.reports-header{margin-bottom:28px}.reports-header h1{margin:0 0 4px;font-size:1.75rem;color:#0f172a;font-weight:700}.reports-subtitle{margin:0;font-size:.95rem;color:#64748b}.reports-stats{margin-bottom:28px}.reports-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}.stat-card{display:flex;align-items:flex-start;gap:16px;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000f}.stat-card.loading{min-height:88px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.stat-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#eff6ff;color:#2563eb;border-radius:10px;flex-shrink:0}.stat-content{display:flex;flex-direction:column;gap:4px;min-width:0}.stat-value{font-size:1.25rem;font-weight:700;color:#0f172a;line-height:1.3}.stat-label{font-size:.8rem;color:#64748b;font-weight:500}.stat-sub{font-size:.75rem;color:#94a3b8}.reports-charts-section{margin-bottom:28px}.charts-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.reports-charts-label{margin:0 0 12px;font-size:.9rem;color:#64748b;font-weight:500}.reports-charts{display:grid;grid-template-columns:1fr 1fr;gap:24px}@media (max-width: 900px){.reports-charts{grid-template-columns:1fr}}.chart-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000000f}.chart-container h3{margin:0 0 16px;font-size:1rem;font-weight:600;color:#374151}.chart-placeholder{height:280px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.9rem}.reports-quick{margin-bottom:28px}.reports-quick h2{margin:0 0 8px;font-size:1.1rem;color:#374151}.reports-quick-desc{margin:0 0 16px;font-size:.875rem;color:#64748b}.quick-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.quick-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:border-color .2s,box-shadow .2s;font-family:inherit;text-align:center}.quick-card:hover{border-color:#2563eb;box-shadow:0 4px 12px #2563eb26}.quick-card-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#eff6ff;color:#2563eb;border-radius:10px}.quick-card-label{font-size:.9rem;font-weight:500;color:#374151}.reports-generator{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000000f}.reports-generator h2{margin:0 0 20px;font-size:1.1rem;color:#374151}.generator-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px;margin-bottom:24px}.form-row{display:flex;flex-direction:column;gap:6px}.form-row label{font-size:.85rem;font-weight:500;color:#475569}.form-row select,.form-row input{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;min-width:160px}.form-row-dates{flex-direction:row;flex-wrap:wrap;gap:16px}.form-row-dates>div{display:flex;flex-direction:column;gap:6px}.generator-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.generator-actions .btn{display:inline-flex;align-items:center;gap:8px}.generated-report{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.generated-report h3{margin:0 0 12px;font-size:1rem;color:#374151}.report-summary-inline{margin-bottom:16px}.report-summary-inline p{margin:0;font-size:.95rem;color:#475569}.report-result-table{width:100%;border-collapse:collapse;font-size:.9rem}.report-result-table th,.report-result-table td{padding:10px 14px;text-align:left;border-bottom:1px solid #e5e7eb}.report-result-table th{background:#f8fafc;font-weight:600;color:#475569}.report-result-table tfoot .report-grand-total td{border-top:2px solid #0f172a;padding-top:12px;margin-top:4px;background:#f8fafc}.empty-state{margin:0;color:#94a3b8;font-size:.95rem}@media print{.no-print{display:none!important}}@media (max-width: 768px){.reports-page{padding:0}.reports-header h1{font-size:1.35rem}.reports-generator{padding:16px}.generator-form{flex-direction:column;align-items:stretch}.form-row select,.form-row input{min-width:0;width:100%}.generator-actions{flex-direction:column}.generator-actions .btn{width:100%;justify-content:center}.report-result-table{font-size:.8rem;display:block;overflow-x:auto}.report-result-table th,.report-result-table td{padding:8px 10px}}.audit-page{max-width:1400px;margin:0 auto}.audit-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}@media (max-width: 768px){.audit-header{flex-direction:column;align-items:stretch;gap:12px}.audit-header h1{text-align:center;font-size:1.4rem}.audit-subtitle{text-align:center;font-size:.85rem}}.audit-header h1{margin:0 0 4px;font-size:1.6rem;font-weight:700;color:#0f172a}.audit-subtitle{margin:0;font-size:.9rem;color:#64748b}.audit-error{margin:0 0 12px;color:#b91c1c;font-size:.9rem}.audit-table-wrapper{overflow-x:auto}@media (max-width: 768px){.audit-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}}.audit-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0f172a0f;font-size:.85rem}@media (max-width: 768px){.audit-table{font-size:.75rem}}.audit-table th,.audit-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e5e7eb;vertical-align:top}@media (max-width: 768px){.audit-table th,.audit-table td{padding:6px 4px}.audit-table th:nth-child(4),.audit-table td:nth-child(4){display:none}}.audit-table th{background:#f9fafb;font-weight:600;color:#4b5563;position:sticky;top:0;z-index:1}.audit-empty{text-align:center;color:#94a3b8}.audit-details{margin:0;max-height:120px;overflow:auto;background:#f9fafb;border-radius:6px;padding:6px 8px;font-size:.78rem;white-space:pre-wrap;word-break:break-word;line-height:1.4}.audit-details-list{display:flex;flex-direction:column;gap:4px}.audit-detail-item{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1px solid #e5e7eb}.audit-detail-item:last-child{border-bottom:none}.detail-key{font-weight:600;color:#374151;font-size:.75rem;text-transform:capitalize}.detail-value{color:#6b7280;font-size:.75rem;word-break:break-all;background:#fff;padding:2px 4px;border-radius:3px;border:1px solid #e5e7eb;font-weight:500}.detail-value.currency{color:#059669;font-weight:600}.detail-value.date{color:#dc2626;font-family:monospace}.detail-value.number{color:#7c3aed;font-weight:600}.audit-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:600}.badge-green{background:#ecfdf3;color:#15803d}.badge-blue{background:#eff6ff;color:#1d4ed8}.badge-purple{background:#f5f3ff;color:#6d28d9}.badge-red{background:#fef2f2;color:#b91c1c}.badge-gray{background:#f3f4f6;color:#4b5563}.audit-more{margin-top:12px;text-align:center}@media (max-width: 768px){.audit-header h1{font-size:1.3rem}}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif;background:#f5f6f8;color:#1a1d23}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}.btn{padding:12px 24px;border-radius:10px;font-size:.95rem;font-weight:600;border:1px solid transparent;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #00000008}.btn-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-color:transparent;box-shadow:0 4px 12px #2563eb4d}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #2563eb66}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-ghost{background:transparent;color:#475569;border-color:#e2e8f0}.btn-ghost:hover{background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 2px 8px #0000000d}.btn-sm{padding:6px 12px;font-size:.85rem}.btn-block{display:block;width:100%}.spinner-wrap{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px 0;color:#64748b}.spinner{width:18px;height:18px;border-radius:999px;border:2px solid #e2e8f0;border-top-color:#2563eb;animation:spinner-rotate .6s linear infinite}.spinner-label{font-size:.9rem}@keyframes spinner-rotate{to{transform:rotate(360deg)}}.error-banner{margin:12px 0;padding:10px 12px;border-radius:8px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:.9rem}
