:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;color:#0f172a;background:radial-gradient(circle at top,#e0f2ff,#f6f8fb 40%,#f1f5f9);min-height:100vh}body{margin:0;background:transparent;width:100%;min-height:100vh;display:block!important}a{color:inherit;text-decoration:none}button{font:inherit}.auth-background{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:clamp(1.5rem,5vw,3.5rem);background:radial-gradient(circle at 15% -15%,rgba(56,189,248,.32),transparent 60%),radial-gradient(circle at 85% -20%,rgba(147,197,253,.25),transparent 60%),linear-gradient(180deg,#e2e8f04d,#f8fafcd9)}.auth-container{width:min(1400px,100%);margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(2.5rem,7vw,4.5rem);justify-content:center;align-items:center}.auth-panel{background:#fffffff2;border-radius:32px;padding:clamp(2.5rem,5vw,3.5rem);box-shadow:0 35px 120px #0f172a3d;display:grid;gap:2rem;position:relative;overflow:hidden}.auth-panel:after{content:"";position:absolute;inset:-200px 55% auto -120px;height:360px;background:radial-gradient(circle,rgba(59,130,246,.25),transparent 70%);z-index:0}.auth-panel>*{position:relative;z-index:1}.auth-brand{display:flex;align-items:center;gap:1rem}.auth-logo{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-size:1.6rem;font-weight:700;box-shadow:0 14px 32px #4f46e559}.auth-brand h1{margin:0;font-size:clamp(1.85rem,4vw,2.1rem)}.auth-form{display:grid;gap:1.4rem}.auth-form label{display:grid;gap:.6rem;font-weight:600;color:#0f172a}.auth-form input{border-radius:14px;border:1px solid #d4dbe7;padding:.9rem 1rem;background:#fff;transition:border-color .2s ease,box-shadow .2s ease;font-size:1rem}.auth-form input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 4px #2563eb2e}.auth-form button{margin-top:.5rem;border-radius:999px;border:none;padding:.9rem;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:600;font-size:1rem;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.auth-form button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 20px 40px #4f46e542}.auth-form button:disabled{opacity:.65;cursor:not-allowed}.link-button{border:none;background:none;color:#2563eb;font-weight:600;cursor:pointer;padding:.3rem 0;justify-self:flex-start;margin-top:.3rem}.bootstrap-hint{border-radius:18px;padding:1.2rem 1.4rem;background:#2563eb14;color:#1d4ed8;display:grid;gap:1rem;border:1px solid rgba(37,99,235,.12);margin-top:.8rem}.bootstrap-hint button{justify-self:flex-start;border-radius:999px;padding:.75rem 1.4rem;border:none;background:linear-gradient(135deg,#34d399,#22c55e);color:#0f172a;font-weight:700}.error-text{color:#b91c1c;margin:0}.auth-showcase{background:linear-gradient(155deg,#0f172af0,#1e293beb);border-radius:32px;padding:clamp(2.2rem,5vw,3.4rem);color:#e2e8f0;display:grid;gap:1.35rem;position:relative;overflow:hidden;box-shadow:0 32px 90px #0f172a52}.auth-showcase:after{content:"";position:absolute;inset:45% -140px -200px 40%;width:320px;height:340px;background:radial-gradient(circle,rgba(56,189,248,.35),transparent 65%)}.auth-showcase>*{position:relative;z-index:1}.auth-showcase h2{margin:0;font-size:clamp(2rem,4.6vw,2.6rem)}.auth-benefits{list-style:none;padding:0;margin:0;display:grid;gap:.85rem}.auth-benefits li{display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:center;font-size:1rem}.auth-benefits span.icon{width:40px;height:40px;border-radius:14px;background:#38bdf82e;display:flex;align-items:center;justify-content:center;color:#38bdf8;font-weight:700}.auth-meta{margin-top:auto;font-size:.9rem;color:#e2e8f0c7}@media (max-width: 1200px){.auth-container{grid-template-columns:1fr;justify-items:center}.auth-showcase{order:-1;text-align:center}.auth-benefits li{justify-items:center}}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;font-weight:600;color:#334155}.app-shell{display:flex}.sidebar{background:linear-gradient(180deg,#0f172aeb,#1e293be6);color:#e2e8f0;padding:2rem 1.75rem;display:grid;grid-template-rows:auto 1fr auto;gap:1.5rem;box-shadow:inset -1px 0 #94a3b829}.sidebar-header h2{margin:0 0 .3rem}.sidebar-header .small{margin:0}.company-list{display:flex;flex-direction:column;gap:.6rem;overflow-y:auto}.company-item{background:#94a3b81f;border:1px solid transparent;border-radius:14px;padding:.9rem 1rem;color:inherit;text-align:left;display:grid;gap:.35rem;cursor:pointer;transition:background .2s ease,border .2s ease}.company-item:hover{background:#60a5fa2e}.company-item.active{border:1px solid rgba(148,197,252,.8);background:#60a5fa40}.sidebar-divider{height:1px;background:#94a3b840}.create-company{display:grid;gap:.75rem}.create-company input{border-radius:12px;border:1px solid rgba(148,163,184,.4);padding:.75rem .85rem;background:#0f172a99;color:#f8fafc}.create-company button{border-radius:999px;border:none;padding:.75rem;background:linear-gradient(135deg,#34d399,#22c55e);color:#0f172a;font-weight:700;cursor:pointer}.main-content{padding:2.5rem 3rem;display:grid;gap:1.5rem;background:#ffffffbf;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);flex:1;width:100%}.main-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem}.main-header h1{margin:0;font-size:2rem}.user-meta{display:flex;align-items:center;gap:1rem}button.ghost{border:1px solid rgba(148,163,184,.6);background:#fff9;border-radius:999px;padding:.55rem 1.1rem;color:#1f2937;cursor:pointer;transition:background .2s ease}button.ghost:hover{background:#0ea5e924}.banner{border-radius:14px;padding:1rem 1.2rem;font-weight:600}.banner-success{background:#86efac66;color:#166534;border:1px solid rgba(34,197,94,.6)}.banner-error{background:#fecaca66;color:#b91c1c;border:1px solid rgba(248,113,113,.6)}.card{background:#ffffffeb;border-radius:20px;padding:1.8rem;box-shadow:0 22px 60px #0f172a1f;display:grid;gap:1.3rem}.overview{display:flex;align-items:center;justify-content:space-between}.overview-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.75rem}.apikey-box{background:#0ea5e91f;border-radius:12px;padding:.75rem 1rem;font-family:JetBrains Mono,Fira Code,monospace;color:#0369a1;word-break:break-all}.section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.channels-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.channel-card{background:#e2e8f099;border-radius:14px;padding:1rem;display:grid;gap:.35rem;border:1px solid rgba(148,163,184,.4)}.inline-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.inline-form input,.route-form select,.route-form input,.test-form input,.test-form textarea{border-radius:12px;border:2px solid #e2e8f0;padding:.75rem .85rem;background:#fff;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.inline-form input:focus,.route-form select:focus,.route-form input:focus,.test-form input:focus,.test-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.route-form select{cursor:pointer;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}.inline-form button{border-radius:999px;padding:.75rem 1rem;background:linear-gradient(135deg,#34d399,#22c55e);border:none;color:#0f172a;font-weight:600;cursor:pointer}.routes-list{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}.routes-list li{display:flex;align-items:center;gap:.5rem}.chip{border-radius:999px;padding:.25rem .65rem;font-size:.8rem;font-weight:600}.chip-source{background:#0ea5e933;color:#0369a1}.chip-targets{background:#22c55e33;color:#15803d}.chip-arrow{color:#475569}.route-form{display:grid;gap:.85rem}.route-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.route-form button,.test-form button{justify-self:flex-start;border-radius:999px;border:none;padding:.75rem 1.2rem;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:600;cursor:pointer}.messages-grid{display:grid;gap:1rem}.message-card{border:1px solid rgba(203,213,225,.7);border-radius:14px;padding:.85rem 1rem;background:#f8fafce6;display:grid;gap:.6rem}.message-card header{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between}.status-pill{border-radius:999px;padding:.25rem .6rem;font-size:.75rem;font-weight:700;text-transform:uppercase}.status-sent{background:#86efac59;color:#15803d}.status-failed{background:#fecaca66;color:#b91c1c}.status-pending{background:#fde68a66;color:#92400e}.message-card pre{margin:0;padding:.75rem;border-radius:10px;background:#0f172ae6;color:#e2e8f0;font-family:JetBrains Mono,Fira Code,monospace;max-height:220px;overflow:auto}.test-form{display:grid;gap:.85rem}.test-form textarea{resize:vertical;min-height:120px;font-family:JetBrains Mono,monospace}.muted{color:#64748b}.muted.small{font-size:.85rem}.tabs{display:flex;gap:.5rem;border-bottom:1px solid rgba(148,163,184,.3);margin-bottom:1.5rem}.tab-button{padding:.75rem 1.2rem;border:none;background:transparent;color:#64748b;font-weight:600;cursor:pointer;border-radius:12px 12px 0 0;transition:background .2s ease,color .2s ease}.tab-button:hover{background:#60a5fa1a;color:#0369a1}.tab-button.active{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}@media (max-width: 1080px){.app-shell{flex-direction:column}.sidebar{position:relative}.main-content{padding:1.5rem}}@media (max-width: 720px){.main-header{flex-direction:column;align-items:flex-start}.overview{flex-direction:column;align-items:flex-start;gap:1rem}.overview-actions{align-items:flex-start}}
