@tailwind base;@tailwind components;@tailwind utilities;:root{--primary:#dc2626;--primary-dark:#b91c1c;--primary-light:#fee2e2;--secondary:#fff;--accent:#f87171;--text-primary:#1f2937;--text-secondary:#6b7280;--text-muted:#9ca3af;--bg-primary:#fff;--bg-secondary:#f9fafb;--bg-tertiary:#f3f4f6;--border:#e5e7eb;--border-light:#f3f4f6;--success:#10b981;--warning:#f59e0b;--error:#ef4444;--shadow-sm:0 1px 2px 0 rgba(0,0,0,.05);--shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--radius-sm:0.375rem;--radius:0.5rem;--radius-lg:0.75rem;--radius-xl:1rem}*{box-sizing:border-box;padding:0;margin:0}button,input,select,textarea{font-family:inherit}body{font-family:Noto Sans,Noto Sans Thai,Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:var(--text-primary);background-color:var(--bg-secondary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:var(--primary);text-decoration:none;transition:color .2s ease}a:hover{color:var(--primary-dark)}.container{max-width:1400px;margin:0 auto;padding:0 24px}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-tertiary)}::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;border-radius:var(--radius);border:none;cursor:pointer;transition:all .2s ease}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}.btn-secondary{background:#fff;color:var(--text-primary);border:1px solid var(--border)}.btn-secondary:hover{background:var(--bg-tertiary);border-color:var(--text-muted)}.btn-ghost{background:transparent;color:var(--text-secondary)}.btn-ghost:hover{background:var(--bg-tertiary);color:var(--text-primary)}.card{background:#fff;border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm)}.badge{display:inline-flex;align-items:center;padding:.25rem .625rem;font-size:.75rem;font-weight:500;border-radius:9999px}.badge-success{background:#d1fae5;color:#065f46}.badge-warning{background:#fef3c7;color:#92400e}.badge-error{background:#fee2e2;color:#991b1b}.badge-info{background:#dbeafe;color:#1e40af}.input{width:100%;padding:.625rem .875rem;font-size:.875rem;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text-primary);transition:all .2s ease}.input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}.input::placeholder{color:var(--text-muted)}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-fadeIn{animation:fadeIn .3s ease}.animate-slideUp{animation:slideUp .3s ease}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}body,html{overflow-x:hidden;max-width:100vw}.sidebar-wrapper{display:contents}@media (max-width:1024px){.grid-stats{grid-template-columns:repeat(2,1fr)!important}.grid-secondary{grid-template-columns:1fr!important}.grid-features,.grid-steps{grid-template-columns:repeat(2,1fr)!important}.inbox-sidebar{width:240px!important;min-width:240px!important}.inbox-detail-sidebar{display:none!important}.inbox-detail-sidebar.inbox-detail-drawer{display:flex!important}.inbox-chat-header{padding:12px 16px!important}.inbox-chat-header-left{gap:10px!important}.inbox-chat-header-left .inbox-avatar{width:36px!important;height:36px!important;font-size:13px!important}.inbox-chat-header-right{gap:6px!important}.inbox-chat-header-right select{padding:6px 28px 6px 10px!important;font-size:12px!important}.inbox-chat-header-right button{padding:6px!important}.billing-top-grid{grid-template-columns:1fr!important}.billing-plans-grid{grid-template-columns:repeat(2,1fr)!important}.billing-faq-grid{grid-template-columns:1fr!important}.pricing-plans-grid,.pricing-revenue-grid{grid-template-columns:repeat(2,1fr)!important}.tenants-stats-grid{grid-template-columns:repeat(3,1fr)!important}.settings-layout{flex-direction:column!important}.settings-tab-sidebar{width:100%!important;position:static!important;display:flex!important;flex-wrap:wrap!important;gap:4px!important;padding:8px!important}.settings-tab-sidebar button{width:auto!important;flex:0 0 auto!important}.settings-content{padding:20px!important}.ss-grid-3,.ss-grid-4{grid-template-columns:repeat(2,1fr)!important}.ss-grid-2{grid-template-columns:1fr!important}}@media (max-width:768px){.mobile-menu-btn{display:flex!important}.mobile-overlay,.sidebar-wrapper{display:block!important}.sidebar-wrapper{position:fixed!important;top:0!important;left:-80px!important;z-index:1000!important;height:100vh!important;transition:left .25s ease!important}.sidebar-wrapper.sidebar-open{left:0!important}.sidebar-wrapper .app-sidebar{display:flex!important;height:100vh!important;box-shadow:4px 0 20px rgba(0,0,0,.3)!important}.app-layout{min-height:100vh}.dash-header{padding:16px 16px 16px 60px!important}.dash-header-inner{flex-wrap:wrap!important;gap:12px!important}.dash-content{padding:16px!important}.grid-features,.grid-secondary,.grid-stats,.grid-steps{grid-template-columns:1fr!important}.grid-stats-bar{grid-template-columns:repeat(2,1fr)!important}.inbox-layout{height:100vh!important;min-height:100vh!important}.inbox-sidebar{min-width:100%!important;max-height:none!important;border-right:none!important;overflow-y:auto!important}.inbox-chat,.inbox-sidebar{width:100%!important;height:100vh!important}.inbox-chat{position:absolute!important;inset:0!important;z-index:10!important}.inbox-mobile-hidden{display:none!important}.inbox-detail-sidebar.inbox-detail-drawer{display:flex!important}.inbox-chat-header{padding:8px 8px 8px 52px!important;flex-wrap:nowrap!important;gap:6px!important}.inbox-chat-header-left{flex:1 1!important;min-width:0!important;overflow:hidden!important;gap:6px!important}.inbox-chat-header-left .inbox-avatar{width:28px!important;height:28px!important;min-width:28px!important;font-size:11px!important}.inbox-chat-header-left .inbox-avatar+div,.inbox-chat-header-left .inbox-meta-tags,.inbox-chat-header-left .inbox-visitor-badge{display:none!important}.inbox-chat-header-left .inbox-visitor-info h2{font-size:13px!important;margin:0!important}.inbox-chat-header-left .inbox-visitor-info .inbox-visitor-sub{display:none!important}.inbox-chat-header-right{flex-shrink:0!important;gap:4px!important}.inbox-chat-header-right .inbox-assign-btn,.inbox-chat-header-right .inbox-assigned-badge{display:none!important}.inbox-chat-header-right select{padding:4px 24px 4px 8px!important;font-size:11px!important}.inbox-chat form{padding:8px 10px!important;gap:8px!important}.inbox-chat form textarea{padding:10px 12px!important;min-height:40px!important;font-size:13px!important}.inbox-chat form button[type=submit]{padding:10px 14px!important;font-size:12px!important;border-radius:10px!important}.inbox-chat form button[type=submit] svg{display:none!important}.inbox-chat form>div>button:first-child{padding:10px!important;border-radius:10px!important}.billing-faq-grid,.billing-plans-grid,.billing-top-grid,.pricing-plans-grid{grid-template-columns:1fr!important}.pricing-revenue-grid,.tenants-stats-grid{grid-template-columns:repeat(2,1fr)!important}.ss-grid-2,.ss-grid-3,.ss-grid-4{grid-template-columns:1fr!important}.page-main{padding:60px 16px 16px!important}.table-responsive{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}table{min-width:600px!important}.landing-hero{padding:60px 16px 40px!important}.landing-nav-inner{padding:12px 16px!important}.landing-nav-buttons{gap:4px!important}.landing-nav-buttons>button{padding:8px 12px!important;font-size:13px!important}.landing-hero h1{font-size:clamp(28px,8vw,48px)!important}.landing-cta-buttons{flex-direction:column!important;align-items:center!important}.landing-cta-buttons>button{width:100%!important;max-width:320px!important}.app-layout>*{min-width:0}}@media (max-width:480px){.grid-stats-bar{grid-template-columns:repeat(2,1fr)!important}.landing-hero h1{font-size:28px!important}.landing-section{padding-left:12px!important;padding-right:12px!important}.billing-plans-grid,.tenants-stats-grid{grid-template-columns:1fr!important}}@keyframes slideInRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width:768px){.inbox-layout{position:relative!important;overflow:hidden!important}}