:root{--font-sans:"Geist", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:"Geist Mono", ui-monospace, monospace}*{box-sizing:border-box;margin:0;padding:0}html,body{overflow-x:hidden}body{font-family:var(--font-sans);background:var(--background);color:var(--foreground)}input,select,textarea,button{font-family:inherit}code,pre{font-family:var(--font-mono)}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:var(--card,#0c1420)}::-webkit-scrollbar-thumb{background:var(--border,#1e3a5f);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--muted-foreground,#2a4f7a)}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:.3s ease-out fadeIn}@keyframes spin{to{transform:rotate(360deg)}}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--muted-foreground,#5a7a9e);text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid var(--border,#162236);padding:10px 14px;font-size:11px;font-weight:700}td{border-bottom:1px solid var(--border,#0e1a2b);padding:12px 14px;font-size:13px}tr:hover{background:var(--card-hover,#0a1220)}.badge{border-radius:20px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-block}.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.channel-chip-bar::-webkit-scrollbar{display:none}.channel-chip-bar{scrollbar-width:none}.fmd-panel{transition:transform .25s cubic-bezier(.4,0,.2,1);transform:translate(100%)}.fmd-panel--open{transform:translate(0)}@media (width<=768px){.fmd-panel{height:90dvh;transform:translateY(100%);border-left:none!important;border-top:1px solid var(--border)!important;border-radius:16px 16px 0 0!important;width:100vw!important;top:auto!important;bottom:0!important;right:0!important}.fmd-panel--open{transform:translateY(0)}}.fmd-remove-btn{padding:2px 6px}@media (width<=768px){.fmd-remove-btn{justify-content:center;align-items:center;min-height:44px;padding:10px 12px;display:inline-flex}}.chip-bar-container{position:relative}.chip-bar-container:after{content:"";background:linear-gradient(to right, transparent, var(--background));pointer-events:none;width:40px;position:absolute;top:0;bottom:8px;right:0}@media (width<=768px){.delivery-send-test-btn{min-height:44px;padding:10px 20px!important;font-size:13px!important}}.sidebar-overlay{z-index:99;background:#0009;display:none;position:fixed;inset:0}@media (width<=1024px){.hide-tablet{display:none!important}.page-content{padding:20px 16px!important}.stats-grid{grid-template-columns:repeat(2,1fr)!important}.modal-content{width:90vw!important;max-width:700px!important}}@media (width<=768px){.hide-mobile{display:none!important}.mobile-header{display:flex!important}.sidebar{transform:translate(-100%);z-index:200!important;width:260px!important;transition:transform .25s!important}.sidebar.mobile-open{transform:translate(0)}.sidebar-overlay.active{display:block}.main-content{padding-top:52px;margin-left:0!important}.page-content{overflow-x:hidden;max-width:100%!important;padding:16px 12px!important}.page-content>*,.page-content>*>*{min-width:0;max-width:100%}.stats-grid{grid-template-columns:1fr!important;gap:10px!important}.toolbar,.filter-bar{max-width:100%;flex-wrap:wrap!important;gap:8px!important}.filter-bar>input,.filter-bar>select,.filter-bar>.search-input{flex:calc(50% - 4px)!important;width:auto!important;min-width:0!important;max-width:100%!important}.filter-bar>input.search-input,.filter-bar>input[type=search],.filter-bar>input[placeholder*=earch]{flex:100%!important}.filter-bar>button{flex:none}.table-scroll{-webkit-overflow-scrolling:touch;width:100%;overflow-y:hidden;max-width:100%!important;overflow-x:auto!important}table{table-layout:auto;width:100%;min-width:0}.table-wide,.table-scroll table.force-wide{min-width:max-content}th,td{white-space:nowrap;padding:10px 8px;font-size:12px}.main-content{min-width:0;max-width:100vw;overflow-x:hidden}.main-content>*,.main-content>*>*{min-width:0;max-width:100%}.modal-content{border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;margin:0!important}.modal-overlay{align-items:stretch!important;padding:0!important}.modal-body{max-height:calc(100vh - 120px)!important}.btn-group{width:100%;flex-direction:column!important}.btn-group>button,.btn-group>a{width:100%!important}.tab-bar{max-width:100%;flex-wrap:wrap!important;gap:6px!important;overflow-x:visible!important}.tab-bar>button,.tab-bar>a{white-space:nowrap;flex-shrink:0}.tab-bar>div[style*="margin-left: auto"],.tab-bar>div[style*=marginLeft]{flex-wrap:wrap;flex-basis:100%;gap:6px;margin-left:0!important}.tab-bar>div>button{white-space:nowrap;flex-shrink:0}table td:first-child{white-space:normal;word-break:break-word;max-width:160px}table th:first-child{white-space:nowrap}.card-grid{grid-template-columns:1fr!important}.form-row{flex-direction:column!important;gap:12px!important}.form-row>*{width:100%!important}.search-input{width:100%!important;min-width:0!important}.form-grid{grid-template-columns:1fr!important}.portal-nav{flex-wrap:wrap!important;gap:8px!important;height:auto!important;padding:10px 12px!important}.portal-nav nav{order:3;width:100%}.portal-nav .portal-user{margin-left:auto}}@media (width<=480px){.page-content{padding:12px 8px!important}th,td{padding:8px;font-size:11px}.stat-card{padding:12px!important}.page-title{font-size:20px!important}}.mobile-header{z-index:150;background:#0a0f1a;border-bottom:1px solid #162236;align-items:center;gap:10px;height:48px;padding:0 12px;display:none;position:fixed;top:0;left:0;right:0}.sidebar-overlay{z-index:190;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#00000080;display:none;position:fixed;inset:0}.sidebar-overlay.active{display:block}.table-wrapper,.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.show-mobile-only{display:none}.mobile-only{display:none!important}@media (width<=768px){.mobile-header{display:flex!important}button,select,[role=button],a[href]{min-height:36px}input,textarea{font-size:16px!important}.main-content{min-width:0;max-width:100vw;overflow-x:hidden;margin-left:0!important}.main-content>*,.main-content>*>*{min-width:0;max-width:100%}.page-content{overflow-x:hidden;max-width:100%!important;padding:16px 12px!important}.page-content>*,.page-content>*>*{min-width:0;max-width:100%}table{table-layout:auto;max-width:100%}.table-scroll table,.table-wrapper table{width:auto;min-width:max-content;max-width:none}.table-wide,.table-scroll table.force-wide{min-width:max-content}.table-wrapper,.table-scroll{-webkit-overflow-scrolling:touch;width:100%;overflow-y:hidden;max-width:100%!important;overflow-x:auto!important}th,td{white-space:nowrap;font-size:12px;padding:10px 8px!important}.toolbar,.filter-bar{max-width:100%;flex-wrap:wrap!important;gap:8px!important}.filter-bar>input,.filter-bar>select,.filter-bar>.search-input{width:auto!important;min-width:0!important;max-width:100%!important}.filter-bar>input.search-input,.filter-bar>input[type=search],.filter-bar>input[placeholder*=earch]{flex:100%!important;width:100%!important;max-width:100%!important;margin-left:0!important}.filter-bar>div:has(>input[placeholder*=earch]){flex:100%!important;width:100%!important;max-width:100%!important;margin-left:0!important}.filter-bar>div:has(>input[placeholder*=earch]) input{width:100%!important;max-width:100%!important}.filter-bar>div[style*="width: 1"],.filter-bar>div[style*=width\:1]{display:none!important}.filter-bar>button{flex:none}.tab-bar{-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x;overscroll-behavior-x:contain;overscroll-behavior-y:none;max-width:100%;overflow-y:hidden;flex-wrap:nowrap!important;gap:0!important;overflow-x:auto!important}.tab-bar::-webkit-scrollbar{display:none}.tabs-row{-webkit-overflow-scrolling:touch;touch-action:pan-x;overscroll-behavior-x:contain;overscroll-behavior-y:none;scrollbar-width:none;overflow-y:hidden;overflow-x:auto!important}.tabs-row::-webkit-scrollbar{display:none}.tab-bar>button,.tab-bar>a{white-space:nowrap!important;flex-shrink:0!important;padding:10px 14px!important;font-size:13px!important}.tab-bar>div[style*="margin-left: auto"],.tab-bar>div[style*=marginLeft]{flex-shrink:0;margin-left:auto!important}.tab-bar>div>button{white-space:nowrap;flex-shrink:0}.toolbar>.page-title{flex:100%}.task-stats-inline{flex:100%!important;order:99!important;justify-content:flex-start!important}.tasks-header .tasks-actions{order:2!important}.tasks-header .tasks-icon-btn{display:none!important}.vault-view-toggle{margin-left:0!important}.hide-mobile,.desktop-only{display:none!important}.show-mobile-only{display:inline-flex!important}.mobile-only{display:flex!important}.topbar-home-link{border:1px solid var(--border)!important;background:var(--muted)!important;color:var(--foreground)!important}header:has(.topbar-home-link){gap:6px!important;padding-left:10px!important;padding-right:10px!important}header:has(.topbar-home-link)>div:first-of-type{flex:auto!important;min-width:0!important;overflow:hidden!important}header:has(.topbar-home-link)>div:first-of-type>*{min-width:0!important}header:has(.topbar-home-link)>div:first-of-type>div:last-child{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}header:has(.topbar-home-link)>div:first-of-type>div:last-child>span{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}header:has(.topbar-home-link)>div:last-of-type{flex:none!important;min-width:0!important;overflow:visible!important}.topbar-home-link{padding:6px!important}.topbar-home-link>span{display:none!important}.page-content>div[style*=space-between]{row-gap:10px;flex-wrap:wrap!important}.page-content>div[style*=space-between]>:first-child{min-width:0!important}}@media (width<=480px){header:has(.topbar-home-link)>div:first-of-type>div:last-child{display:none!important}body,#root{max-width:100vw;overflow-x:hidden}.mobile-stack{flex-direction:column!important}.mobile-single-col{grid-template-columns:1fr!important}.mobile-full{width:100%!important;max-width:100%!important}.mobile-compact{padding:12px!important}[style*="position: fixed"][style*="inset: 0"]>div,[style*=position\:fixed][style*=inset\:0]>div{max-width:95vw!important;max-height:90vh!important;margin:5vh auto!important;overflow-y:auto!important}.stat-card{gap:4px!important;min-width:0!important;min-height:0!important;padding:10px 14px!important}.stat-card .stat-card-value{font-size:18px!important;line-height:1.1!important}.stat-card .stat-card-label{margin-bottom:0!important;font-size:10px!important}.stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}}@media (width<=420px){.stats-grid{grid-template-columns:1fr!important}}@media (width<=480px){.mobile-header{height:44px;padding:0 8px}button{min-height:40px;padding-left:12px;padding-right:12px}}@media (width<=768px){.marketing-settings-shell{flex-direction:column!important}.marketing-settings-sidebar{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;gap:4px;display:flex;overflow-x:auto;border-right:none!important;border-bottom:1px solid var(--border)!important;width:100%!important;padding:12px 8px!important;position:static!important}.marketing-settings-sidebar::-webkit-scrollbar{display:none}.marketing-settings-sidebar>div{display:none}.marketing-settings-sidebar>button{white-space:nowrap;flex-shrink:0;width:auto!important;padding:8px 14px!important}.marketing-settings-main{max-width:100%!important;padding:16px 14px!important}}.route-tab{color:var(--foreground);background:color-mix(in srgb, var(--accent) 6%, transparent);border:1px solid color-mix(in srgb, var(--accent) 14%, transparent);cursor:pointer;white-space:nowrap;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.route-tab:hover{background:color-mix(in srgb, var(--accent) 14%, transparent);border-color:color-mix(in srgb, var(--accent) 30%, transparent)}.route-tab.active,.route-tab[aria-selected=true]{background:color-mix(in srgb, var(--accent) 22%, transparent);border-color:color-mix(in srgb, var(--accent) 55%, transparent);color:var(--accent);font-weight:700}.route-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.route-tab-strip{-webkit-overflow-scrolling:touch;gap:6px;margin-bottom:18px;padding-bottom:4px;display:flex;overflow-x:auto}[role=tablist]>[role=tab]:not(.route-tab){color:var(--foreground);background:color-mix(in srgb, var(--accent) 6%, transparent);border:1px solid color-mix(in srgb, var(--accent) 14%, transparent);cursor:pointer;white-space:nowrap;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;margin-right:6px;padding:8px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:background .12s,border-color .12s,color .12s;display:inline-flex}[role=tablist]>[role=tab]:not(.route-tab):hover{background:color-mix(in srgb, var(--accent) 14%, transparent);border-color:color-mix(in srgb, var(--accent) 30%, transparent)}[role=tablist]>[role=tab]:not(.route-tab)[aria-selected=true]{background:color-mix(in srgb, var(--accent) 22%, transparent);border-color:color-mix(in srgb, var(--accent) 55%, transparent);color:var(--accent);font-weight:700}
