:root{--bg-page:#f4f5f6;--bg-card:#fff;--bg-input:#fff;--bg-sidebar:#fff;--bg-header:#fff;--bg-hover:#f1f3f5;--bg-muted:#f8f9fa;--primary:#673de6;--primary-hover:#5025d1;--primary-active:#451db8;--primary-light:#f0ecfc;--primary-border:#dcd2f9;--primary-glow:#673de62e;--secondary:#5f6368;--secondary-hover:#1f2937;--success:#00b090;--success-light:#e6f7f3;--success-border:#b3ebd9;--success-hover:#00967a;--warning:#f59e0b;--warning-light:#fef3c7;--warning-border:#fde68a;--danger:#eb1e3a;--danger-light:#fee2e2;--danger-border:#fca5a5;--danger-hover:#d1112b;--text-main:#1d2129;--text-body:#3c4043;--text-muted:#5f6368;--text-sub:#80868b;--text-light:#9aa0a6;--border:#e3e5e8;--border-subtle:#eeeff1;--border-focus:#673de6;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-card:0 1px 3px 0 #00000014, 0 1px 2px -1px #0000000f;--shadow-md:0 4px 6px -1px #00000014, 0 2px 4px -2px #0000000a;--shadow-lg:0 10px 15px -3px #00000014, 0 4px 6px -4px #00000008;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000000a;--font-family:"DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--transition-smooth:all .2s cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-family);background-color:var(--bg-page);color:var(--text-main);-webkit-font-smoothing:antialiased;min-height:100vh;line-height:1.5;overflow-x:hidden}.app-layout{flex-direction:column;min-height:100vh;display:flex}.app-header{z-index:50;background:var(--bg-header);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:64px;padding:.75rem 1.5rem;display:flex;position:sticky;top:0}@media (width<=768px){.app-header{padding:.75rem 1rem}}.header-left{align-items:center;gap:1rem;display:flex}.mobile-menu-toggle-btn{border:1px solid var(--border);width:38px;height:38px;color:var(--text-main);cursor:pointer;transition:var(--transition-smooth);background:0 0;border-radius:8px;justify-content:center;align-items:center;display:none}.mobile-menu-toggle-btn:hover{background:var(--bg-hover)}@media (width<=900px){.mobile-menu-toggle-btn{display:flex}}.header-logo-group{color:inherit;align-items:center;gap:.75rem;text-decoration:none;display:flex}.header-logo-group:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px;border-radius:8px}.logo-icon-box{color:#fff;background:#1d2129;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.2rem;font-weight:800;display:flex}.logo-text-group{flex-direction:column;display:flex}.logo-title{letter-spacing:-.5px;color:#1d2129;font-size:1.15rem;font-weight:800;line-height:1.1}.logo-accent{color:var(--primary)}.header-badge-promo{background:var(--primary-light);border:1px solid var(--primary-border);color:var(--primary);transition:var(--transition-smooth);border-radius:9999px;align-items:center;gap:.5rem;padding:.4rem .85rem;font-size:.82rem;font-weight:600;text-decoration:none;display:inline-flex}.header-badge-promo:hover{background:#e7e0fb}.header-actions{align-items:center;gap:.65rem;display:flex}.header-btn-action{border:1px solid var(--border);color:var(--text-body);cursor:pointer;transition:var(--transition-smooth);background:#fff;border-radius:9999px;align-items:center;gap:.45rem;padding:.45rem .9rem;font-size:.85rem;font-weight:600;display:inline-flex}.header-btn-action:hover{background:var(--bg-hover);border-color:#ccd0d5}.health-badge-btn{border:1px solid var(--border);color:var(--text-body);cursor:pointer;transition:var(--transition-smooth);background:#fff;border-radius:9999px;align-items:center;gap:.5rem;padding:.45rem .85rem;font-size:.82rem;font-weight:500;display:flex}.health-badge-btn:hover{border-color:var(--primary);color:var(--primary)}.status-indicator{border-radius:50%;flex-shrink:0;width:8px;height:8px}.status-healthy{background:var(--success);box-shadow:0 0 6px #00b09066}.status-unhealthy{background:var(--danger);box-shadow:0 0 6px #eb1e3a66}.status-checking{background:var(--warning);box-shadow:0 0 6px #f59e0b66}.header-user-avatar{color:#fff;cursor:pointer;background:#2a9d8f;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:.85rem;font-weight:700;display:flex}.header-user-menu{position:relative}.header-user-avatar-btn{border:none;padding:0;font-family:inherit}.header-user-avatar-btn:hover,.header-user-avatar-btn:focus-visible{outline:2px solid var(--primary-border);outline-offset:2px}.user-menu-dropdown{border:1px solid var(--border);min-width:228px;box-shadow:var(--shadow-lg);z-index:80;background:#fff;border-radius:12px;padding:.4rem;position:absolute;top:calc(100% + 8px);right:0}.user-menu-header{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;padding:.5rem .75rem .35rem;font-size:.75rem;overflow:hidden}.user-menu-item{width:100%;color:var(--text-main);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:.65rem;padding:.65rem .75rem;font-family:inherit;font-size:.88rem;font-weight:600;display:flex}.user-menu-item:hover,.user-menu-item:focus-visible{background:var(--bg-hover)}.user-menu-item-danger{color:var(--danger)}.user-menu-item-danger:hover,.user-menu-item-danger:focus-visible{background:var(--danger-light)}.user-menu-divider{background:var(--border);height:1px;margin:.3rem .45rem}@media (width<=640px){.hide-on-mobile{display:none!important}}.app-body-container{flex:1;width:100%;display:flex}.app-sidebar{background:var(--bg-sidebar);border-right:1px solid var(--border);width:240px;min-height:calc(100vh - 64px);transition:var(--transition-smooth);flex-direction:column;flex-shrink:0;gap:1.5rem;padding:1.25rem .75rem;display:flex}.sidebar-mobile-header,.sidebar-mobile-overlay{display:none}@media (width<=900px){.app-sidebar{z-index:1000;width:280px;box-shadow:var(--shadow-xl);background:#fff;transition:left .3s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:0;left:-280px;overflow-y:auto}.app-sidebar.mobile-open{left:0}.sidebar-mobile-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:.5rem;padding-bottom:1rem;display:flex}.sidebar-mobile-title{color:var(--text-main);font-size:1rem;font-weight:700}.sidebar-mobile-close-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:.25rem}.sidebar-mobile-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:999;background:#00000073;animation:.2s ease-out fadeIn;display:block;position:fixed;inset:0}}.sidebar-section{flex-direction:column;gap:.25rem;display:flex}.sidebar-heading{text-transform:uppercase;letter-spacing:.5px;color:var(--text-sub);padding:.5rem .75rem;font-size:.72rem;font-weight:700}.sidebar-nav-item{color:var(--text-body);cursor:pointer;text-align:left;width:100%;transition:var(--transition-smooth);background:0 0;border:none;border-radius:8px;align-items:center;gap:.75rem;padding:.65rem .75rem;font-size:.88rem;font-weight:500;text-decoration:none;display:flex}.sidebar-nav-item:hover{background:var(--bg-hover);color:var(--text-main)}.sidebar-nav-item.active{color:var(--text-main);background:#f1f3f5;font-weight:700}.sidebar-nav-item:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}.sidebar-nav-item.active .sidebar-icon{color:var(--text-main)}.sidebar-icon{color:var(--secondary);flex-shrink:0}.app-content{background:var(--bg-page);flex:1;overflow-y:auto}.dashboard-container{max-width:1280px;margin:0 auto;padding:2rem 2.5rem}@media (width<=768px){.dashboard-container{padding:1.25rem 1rem}}.dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.25rem;margin-bottom:1.75rem;display:flex}.dashboard-title-group{flex-direction:column;gap:.35rem;display:flex}.dashboard-title{color:var(--text-main);letter-spacing:-.5px;font-size:1.75rem;font-weight:700}@media (width<=640px){.dashboard-title{font-size:1.45rem}}.dashboard-subtitle{color:var(--text-muted);font-size:.92rem}.dashboard-top-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}@media (width<=640px){.dashboard-top-actions,.dashboard-top-actions .btn{width:100%}}.promo-card{background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.25rem;margin-bottom:2rem;padding:1.5rem;display:flex}@media (width<=640px){.promo-card{padding:1.25rem}.promo-actions{justify-content:space-between;width:100%}}.promo-info{align-items:flex-start;gap:1rem;display:flex}.promo-icon-box{background:var(--primary-light);width:40px;height:40px;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.promo-title-row{color:var(--text-muted);align-items:center;gap:.5rem;margin-bottom:.25rem;font-size:.85rem;font-weight:500;display:flex}.promo-title{color:var(--text-main);font-size:1.2rem;font-weight:700}@media (width<=640px){.promo-title{font-size:1.05rem}}.promo-highlight{color:var(--primary)}.promo-actions{align-items:center;gap:1.5rem;display:flex}.promo-price-group{text-align:right}.promo-discount-badge{background:var(--primary-light);color:var(--primary);border-radius:6px;margin-bottom:.15rem;padding:.2rem .5rem;font-size:.72rem;font-weight:700;display:inline-block}.promo-old-price{color:var(--text-sub);font-size:.75rem;text-decoration:line-through}.promo-main-price{color:var(--text-main);font-size:1.35rem;font-weight:800}.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.search-input-wrapper{flex:1;min-width:240px;max-width:420px;position:relative}@media (width<=640px){.search-input-wrapper{width:100%;max-width:100%}.filter-select{width:100%}}.search-icon{color:var(--text-sub);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.search-input{border:1px solid var(--border);width:100%;color:var(--text-main);transition:var(--transition-smooth);background:#fff;border-radius:10px;padding:.65rem 1rem .65rem 2.5rem;font-family:inherit;font-size:.88rem}.search-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow);outline:none}.filter-select{border:1px solid var(--border);color:var(--text-main);cursor:pointer;transition:var(--transition-smooth);background:#fff;border-radius:10px;padding:.65rem 1rem;font-family:inherit;font-size:.88rem}.filter-select:focus{border-color:var(--primary);outline:none}.desktop-table-view{display:block}.mobile-cards-container{display:none}.hpanel-table-card{border:1px solid var(--border);box-shadow:var(--shadow-sm);background:#fff;border-radius:14px;margin-bottom:2rem;overflow:hidden}.hpanel-table-card.has-row-action-menus{overflow:visible}.hpanel-table{border-collapse:collapse;text-align:left;width:100%}.hpanel-table th{border-bottom:1px solid var(--border);color:var(--text-muted);text-transform:none;letter-spacing:.2px;background:#fafbfc;padding:.9rem 1.25rem;font-size:.8rem;font-weight:600}.th-sort{color:inherit;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;gap:.3rem;padding:0;display:inline-flex}.th-sort:hover,.th-sort:focus-visible{color:var(--text-main)}.audits-toolbar{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.audits-filter-row{grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:.5rem;display:grid}.audits-filter-row-primary,.audits-filter-row-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.audits-filter-row-tertiary{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.audits-filter-row-tertiary>.audits-sort-group{justify-self:end}.audits-toolbar .form-input,.audits-toolbar .search-input-wrapper,.audits-search-field{flex:none;width:100%;min-width:0;max-width:none}.audits-toolbar .form-input{box-sizing:border-box;height:37px;padding:.5rem .7rem;font-size:.82rem}.audits-sort-group{flex:none;align-items:center;gap:.4rem;width:auto;max-width:none;display:inline-flex}.audits-toolbar .form-input.audits-compact-select{justify-self:stretch;width:100%;min-width:0;max-width:none}.audits-toolbar .form-input.audits-sort-select{flex:0 0 7.75rem;width:7.75rem;max-width:7.75rem;padding:.45rem .55rem}.audits-toolbar .form-input.audits-dir-select{flex:0 0 8.25rem;justify-self:start;width:8.25rem;max-width:8.25rem;padding:.45rem .55rem;font-size:.82rem}.audits-filter-row-tools{flex-wrap:wrap;grid-template-columns:none;justify-content:flex-start;align-items:center;gap:.5rem;display:flex}.audits-filter-spacer{display:block}.audits-filter-submit,.audits-toolbar .refresh-combo{justify-self:stretch;width:100%}.audits-filter-actions{justify-content:flex-end;justify-self:end;align-items:center;gap:.5rem;min-width:0;display:flex}.audits-filter-actions .audits-filter-submit{flex:none;width:auto}.audits-filter-actions .refresh-combo,.audits-toolbar .audits-filter-actions .refresh-combo{flex:0 0 7.25rem;width:7.25rem}.audits-filter-submit{justify-content:center}.audits-toolbar .refresh-combo-split{width:100%}.audits-toolbar .audits-filter-actions .refresh-combo-split{width:7.25rem}.audits-toolbar .refresh-combo-main,.audits-toolbar .audits-filter-actions .refresh-combo-main{flex:auto}@media (width<=1100px){.audits-filter-row,.audits-filter-row-primary,.audits-filter-row-secondary,.audits-filter-row-tertiary{grid-template-columns:repeat(2,minmax(0,1fr))}.audits-filter-row-tertiary>.audits-sort-group{grid-column:1/-1;justify-self:start}.audits-toolbar .form-input.audits-sort-select,.audits-toolbar .form-input.audits-dir-select{flex:auto;width:auto;min-width:0;max-width:none}.audits-sort-group{width:100%}.audits-filter-actions{justify-self:stretch}.audits-filter-spacer{display:none}}@media (width<=640px){.audits-filter-row,.audits-filter-row-primary,.audits-filter-row-secondary,.audits-filter-row-tertiary{grid-template-columns:1fr}.audits-toolbar .form-input.audits-sort-select,.audits-toolbar .form-input.audits-dir-select{flex:auto;width:100%;max-width:none}}.audits-toolbar .guardian-filter-row-primary,.audits-toolbar .guardian-filter-row-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.audits-toolbar .guardian-filter-row-tertiary{grid-template-columns:minmax(0,1fr) auto}.audits-toolbar .guardian-filter-row-tertiary>.audits-sort-group{justify-self:end}.client-system-create-row{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.oauth-create-form .form-group,.oauth-create-form .form-row{margin-bottom:1rem}.oauth-create-form .form-row .form-group{margin-bottom:0}.oauth-create-form .modal-actions{margin-top:.5rem}.oauth-role-hint{color:var(--text-muted);margin:0;font-size:.8rem;line-height:1.4}.oauth-authorities-group{margin-bottom:.5rem}.oauth-authorities-count{color:var(--text-muted);font-size:.75rem;font-weight:600}.oauth-authorities-list{overscroll-behavior:contain;border:1px solid var(--border);background:var(--bg-input);border-radius:8px;max-height:168px;overflow-y:auto}.oauth-authority-item{border-bottom:1px solid var(--border-subtle);flex-direction:column;gap:.2rem;padding:.7rem .9rem;display:flex}.oauth-authority-item:last-child{border-bottom:none}.oauth-authority-name{color:var(--primary);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;font-weight:700}.oauth-authority-desc{color:var(--text-muted);font-size:.8rem;line-height:1.35}.oauth-authorities-empty{color:var(--text-muted);margin:0;padding:1rem .9rem;font-size:.82rem}.oauth-detail{flex-direction:column;gap:.85rem;display:flex}.oauth-detail-loading{color:var(--text-muted);margin:0}.oauth-detail-row{margin-bottom:0}.oauth-detail-field{flex-direction:column;gap:.3rem;min-width:0;display:flex}.oauth-detail-label{color:var(--text-muted);font-size:.8rem;font-weight:600}.oauth-detail-value{color:var(--text-main);word-break:break-all;font-size:.88rem;font-weight:600}.oauth-detail .oauth-authorities-group{margin-bottom:0}.oauth-detail-agents{border-top:1px solid var(--border-subtle);margin-top:.25rem;padding-top:.85rem}.oauth-agent-code{color:var(--text-muted);word-break:break-all;font-size:.72rem}.collector-credential-pill-wrap{flex-shrink:0;position:relative}.collector-credential-pill{border:1px solid var(--border);color:var(--text-main);cursor:pointer;transition:var(--transition-smooth);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .75rem;font-family:inherit;font-size:.78rem;font-weight:700;display:inline-flex}.collector-credential-pill:disabled{cursor:default;opacity:.75}.collector-credential-pill svg.is-open{transform:rotate(180deg)}.collector-credential-pill.is-ok{color:#008f74;background:#e6f7f3;border-color:#b3ebd9}.collector-credential-pill.is-blocked,.collector-credential-pill.is-warn{color:#c0392b;background:#fdecea;border-color:#f5c6cb}.collector-credential-pill.is-loading{border-color:var(--border);background:var(--bg-input);color:var(--text-muted)}.collector-credential-pill:not(:disabled):hover{filter:brightness(.97)}.collector-credential-popover{z-index:70;border:1px solid var(--border);width:min(320px,86vw);box-shadow:var(--shadow-lg);background:#fff;border-radius:12px;padding:.85rem .95rem;position:absolute;top:calc(100% + 6px);right:0}.collector-credential-popover strong{color:var(--text-main);font-size:.86rem;display:block}.collector-credential-popover p{color:var(--text-muted);margin:.4rem 0 0;font-size:.8rem;line-height:1.4}.collector-credential-popover-meta{color:var(--text-main);flex-wrap:wrap;gap:.45rem .75rem;margin-top:.65rem;font-size:.75rem;font-weight:600;display:flex}.collector-credential-popover-link{color:var(--primary);cursor:pointer;background:0 0;border:0;margin-top:.75rem;padding:0;font-family:inherit;font-size:.82rem;font-weight:700}.collector-credential-chip{border:1px solid var(--border);background:var(--bg-input);border-radius:10px;align-items:flex-start;gap:.65rem;margin-bottom:1rem;padding:.7rem .85rem;display:flex}.collector-credential-chip.is-ok{background:#f3fbf8;border-color:#b3ebd9}.collector-credential-chip.is-warn,.collector-credential-chip.is-blocked{background:#fdf6f5;border-color:#f5c6cb}.collector-credential-chip-icon{width:28px;height:28px;color:var(--primary);background:#673de61a;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.collector-credential-chip.is-ok .collector-credential-chip-icon{color:#00b090;background:#e6f7f3}.collector-credential-chip.is-warn .collector-credential-chip-icon,.collector-credential-chip.is-blocked .collector-credential-chip-icon{color:#c0392b;background:#fdecea}.collector-credential-chip-body{flex:1;min-width:0}.collector-credential-chip-title{color:var(--text-main);flex-wrap:wrap;align-items:center;gap:.45rem .65rem;font-size:.84rem;font-weight:700;display:flex}.collector-credential-chip-meta{color:var(--text-muted);margin-top:.2rem;font-size:.75rem;line-height:1.35}.collector-credential-chip-actions{flex-wrap:wrap;gap:.65rem;margin-top:.35rem;display:flex}.collector-credential-chip-actions button{color:var(--primary);cursor:pointer;background:0 0;border:0;padding:0;font-size:.78rem;font-weight:700}.collector-credential-chip-details{color:var(--text-muted);border-top:1px solid #0000000f;margin-top:.55rem;padding-top:.55rem;font-size:.78rem;line-height:1.4}.collector-credential-chip-authorities{flex-wrap:wrap;gap:.35rem;margin-top:.4rem;display:flex}.collector-credential-chip-authorities span{border:1px solid var(--border);color:var(--primary);background:#fff;border-radius:6px;padding:.2rem .45rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;font-weight:700}.agent-form-steps{grid-template-columns:repeat(3,1fr);gap:.4rem;margin-bottom:1.1rem;display:grid}.agent-form-step{border:1px solid var(--border);background:var(--bg-input);width:100%;color:var(--text-muted);text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:.45rem;padding:.55rem .65rem;transition:border-color .15s,background .15s,color .15s;display:flex}.agent-form-step:hover{border-color:#c9b8f5}.agent-form-step.is-active{border-color:var(--primary);color:var(--text-main);background:#673de60f}.agent-form-step.is-done:not(.is-active){color:var(--text-main);background:#f3fbf8;border-color:#b3ebd9}.agent-form-step-index{background:#fff;border:1px solid;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:.7rem;font-weight:800;display:inline-flex}.agent-form-step.is-active .agent-form-step-index{background:var(--primary);border-color:var(--primary);color:#fff}.agent-form-step-label{flex-direction:column;gap:.05rem;min-width:0;display:flex}.agent-form-step-label strong{font-size:.78rem;font-weight:700;line-height:1.2}.agent-form-step-label span{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.68rem;line-height:1.2;overflow:hidden}.agent-form-panel{flex-direction:column;gap:0;min-height:280px;display:flex}.agent-form-panel-intro{color:var(--text-muted);margin:0 0 1rem;font-size:.84rem;line-height:1.4}.agent-form-summary{border:1px dashed var(--border);background:var(--bg-input);color:var(--text-muted);border-radius:10px;margin:0 0 1rem;padding:.75rem .85rem;font-size:.8rem;line-height:1.45}.agent-form-summary strong{color:var(--text-main)}@media (width<=640px){.agent-form-steps{grid-template-columns:1fr}.agent-form-step-label span{display:none}}.collector-check-row{align-items:center;gap:.5rem;margin:0 0 1rem;font-size:.88rem;font-weight:600;display:flex}.collector-days{flex-wrap:wrap;gap:.4rem;display:flex}.collector-day{border:1px solid var(--border);cursor:pointer;border-radius:999px;align-items:center;gap:.3rem;padding:.35rem .55rem;font-size:.75rem;font-weight:700;display:inline-flex}.collector-day input{margin:0}.collector-day.is-on{color:#00b090;background:#e6f7f3;border-color:#b3ebd9}.agent-test-result{border:1px solid var(--border);background:var(--bg-input);border-radius:10px;margin:0 0 1rem;padding:.85rem 1rem}.agent-test-result.is-ok{background:#f3fbf8;border-color:#b3ebd9}.agent-test-result.is-error{background:#fdf6f5;border-color:#f5c6cb}.agent-test-result-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.agent-test-result-close{color:var(--text-sub);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:.15rem;display:inline-flex}.agent-test-result p{color:var(--text-muted);margin:.4rem 0 0;font-size:.86rem;line-height:1.4}.agent-test-result-error{white-space:pre-wrap;word-break:break-word;font-weight:600;color:#c0392b!important}.agent-test-result-preview{border:1px solid var(--border-subtle);white-space:pre-wrap;word-break:break-word;background:#fff;border-radius:8px;max-height:220px;margin:.65rem 0 0;padding:.7rem .8rem;font-size:.72rem;line-height:1.35;overflow:auto}.agent-row-clickable{cursor:pointer}.agent-row-clickable.has-open-menu{z-index:20;position:relative}.agent-history-empty{color:var(--text-muted);text-align:center;margin:0;padding:1.25rem .25rem .5rem;font-size:.9rem;line-height:1.45}.agent-history-loading{color:var(--text-muted);justify-content:center;align-items:center;gap:.65rem;padding:2.5rem 1rem;font-size:.9rem;display:flex}.agent-history-empty-state{text-align:center;color:var(--text-muted);flex-direction:column;align-items:center;gap:.45rem;padding:2rem 1rem 1.25rem;display:flex}.agent-history-empty-state svg{color:#9aa0a6;margin-bottom:.35rem}.agent-history-empty-title{color:var(--text-main);margin:0;font-size:1rem;font-weight:600}.agent-history-empty-desc{max-width:28rem;color:var(--text-muted);margin:0;font-size:.88rem;line-height:1.5}.agent-history-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-bottom:1rem;display:grid}.agent-history-stat{border:1px solid var(--border-subtle);background:#f8f9fb;border-radius:10px;min-width:0;padding:.65rem .75rem}.agent-history-stat-label{color:var(--text-muted);margin-bottom:.15rem;font-size:.72rem;font-weight:500;display:block}.agent-history-stat-value{color:var(--text-main);font-size:1.1rem;font-weight:700;line-height:1.2;display:block}.agent-history-stat-value--compact{font-size:.92rem;font-weight:600}.agent-history-stat-value--success{color:#00b090}.agent-history-stat-value--warn{color:#b7791f}.agent-history-stat-hint{color:var(--text-muted);text-transform:capitalize;margin-top:.15rem;font-size:.72rem;display:block}.agent-history-footer-note{color:var(--text-muted);text-align:center;margin:0;font-size:.78rem}.agent-history-footer{flex-direction:column;align-items:center;gap:.65rem;display:flex}.agent-history-footer-pager{align-items:center;gap:.5rem;display:flex}.agent-history-page-label{color:var(--text-muted);text-align:center;min-width:7rem;font-size:.8rem}.agent-history-modal-body{flex-direction:column;gap:1rem;min-height:0;display:flex}.agent-history-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.agent-history-filters{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.agent-history-filter-empty{text-align:center;color:var(--text-muted);flex-direction:column;align-items:center;gap:.75rem;padding:2rem 1rem;font-size:.9rem;display:flex}.agent-history-table-card{max-height:min(52vh,480px);box-shadow:none;border-radius:12px;margin-bottom:0;overflow:auto}.agent-history-table-card .hpanel-table thead th{z-index:2;position:sticky;top:0}.agent-history-hpanel-table{table-layout:fixed;min-width:760px}.agent-history-row-clickable{cursor:pointer}.agent-history-row-clickable:focus-visible td{outline:2px solid var(--primary,#673de6);outline-offset:-2px}.agent-history-row--warn td{background:#fffbf0}.agent-history-mobile-list{display:none}.agent-history-mobile-card{text-align:left;border:1px solid var(--border-subtle);cursor:default;background:#fff;border-radius:12px;align-items:stretch;gap:.5rem;width:100%;padding:.85rem 1rem;transition:background .15s;display:flex}.agent-history-mobile-card-main{text-align:left;cursor:pointer;min-width:0;color:inherit;background:0 0;border:0;flex:1;padding:0}.agent-history-mobile-card+.agent-history-mobile-card{margin-top:.5rem}.agent-history-mobile-card:hover,.agent-history-mobile-card:focus-within{background:#f8f9fb;outline:none}.agent-history-mobile-card-top{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.35rem;display:flex}.agent-history-mobile-card-meta{color:var(--text-muted);font-size:.82rem}.agent-history-mobile-card-error{color:#c0392b;margin:.45rem 0 0;font-size:.8rem;line-height:1.4}.agent-history-mobile-card-warn{color:#b7791f;margin:.45rem 0 0;font-size:.8rem}.agent-history-detail{flex-direction:column;gap:.75rem;display:flex}.agent-history-detail-gap{color:#b7791f;align-items:center;gap:.35rem;margin-left:.5rem;font-size:.82rem;display:inline-flex}.agent-history-detail-error-block{flex-direction:column;gap:.35rem;display:flex}.agent-history-detail-error-block p{color:#c0392b;white-space:pre-wrap;word-break:break-word;background:#fff5f5;border:1px solid #f5c6cb;border-radius:8px;margin:0;padding:.65rem .75rem;font-size:.85rem;line-height:1.45}.agent-history-th-payload,.agent-history-payload-cell{text-align:center}.agent-history-payload-btn{border:1px solid var(--border-subtle);width:34px;height:34px;color:var(--text-main);cursor:pointer;background:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.agent-history-payload-btn:hover,.agent-history-payload-btn:focus-visible{color:#673de6;background:#f3f0ff;border-color:#d5ccf8;outline:none}.agent-history-payload-empty{color:var(--text-muted)}.agent-history-payload-empty-state{padding:.5rem 0 .25rem}.agent-history-payload-list{flex-direction:column;gap:1rem;display:flex}.agent-history-payload-item-head{justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.45rem;display:flex}.agent-history-payload-kind{color:var(--text-muted);font-size:.75rem}.agent-history-json-pre{border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;background:#fafbfc;border-radius:10px;max-height:min(52vh,480px);margin:0;padding:.85rem .95rem;font-size:.75rem;line-height:1.45;overflow:auto}.agent-history-table-wrap{border:1px solid var(--border-subtle);border-radius:10px;max-height:min(52vh,420px);margin-top:0;overflow:auto}.agent-history-table{table-layout:fixed;border-collapse:collapse;width:100%}.agent-history-table thead th{z-index:1;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);border-bottom:1px solid var(--border-subtle);text-align:left;background:#fff;padding:.65rem .75rem;font-size:.72rem;font-weight:600;position:sticky;top:0}.agent-history-table tbody td{color:var(--text-main);border-bottom:1px solid var(--border-subtle);vertical-align:middle;padding:.7rem .75rem;font-size:.84rem}.agent-history-table tbody tr:last-child td{border-bottom:none}.agent-history-table tbody tr:hover td{background:#fafbfc}.agent-history-col-when{width:24%}.agent-history-col-duration{width:12%}.agent-history-col-status{width:14%}.agent-history-col-count{width:10%}.agent-history-col-error{width:20%}.agent-history-col-payload{width:84px;min-width:84px}.agent-history-th-num,.agent-history-num{text-align:right;font-variant-numeric:tabular-nums}.agent-history-th-num .th-sort{justify-content:flex-end;width:100%}.agent-history-when{flex-direction:column;gap:.1rem;min-width:0;display:flex}.agent-history-when-primary{color:var(--text-main);font-weight:600}.agent-history-when-secondary{color:var(--text-muted);text-transform:capitalize;font-size:.75rem}.agent-history-duration{color:var(--text-muted);font-variant-numeric:tabular-nums;align-items:center;gap:.35rem;display:inline-flex}.agent-history-status{white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;padding:.2rem .55rem;font-size:.75rem;font-weight:600;line-height:1.3;display:inline-flex}.agent-history-upload{justify-content:flex-end;align-items:center;gap:.3rem;width:100%;display:inline-flex}.agent-history-upload-warn{color:#b7791f;flex-shrink:0}.agent-history-detail-ok,.agent-history-detail-hint{align-items:center;gap:.35rem;font-size:.8rem;display:inline-flex}.agent-history-detail-ok{color:#5f6368}.agent-history-detail-hint{color:#b7791f}.agent-history-error-details{color:#c0392b;font-size:.8rem}.agent-history-error-details summary{cursor:pointer;color:#c0392b;font-weight:600;list-style:none}.agent-history-error-details summary::-webkit-details-marker{display:none}.agent-history-error-details summary:before{content:"▸ ";font-size:.7rem}.agent-history-error-details[open] summary:before{content:"▾ "}.agent-history-error-details summary:hover{text-decoration:underline}.agent-history-error-details p{color:#7a271a;word-break:break-word;background:#fdecea;border:1px solid #f5c6cb;border-radius:8px;margin:.35rem 0 0;padding:.45rem .55rem;font-size:.78rem;line-height:1.45}.agent-history-row--error td{background:#fff9f9}.agent-history-error{color:#c0392b;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;max-width:220px;display:inline-block;overflow:hidden}@media (width<=768px){.agent-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-history-table-card.desktop-table-view{display:none}.agent-history-mobile-list{display:block}.agent-history-table-wrap{max-height:min(48vh,360px)}.agent-history-col-when{width:30%}.agent-history-col-error{width:22%}.agent-history-col-payload{width:84px;min-width:84px}}.agent-test-running{color:var(--text-muted);margin:0 0 .85rem;font-size:.84rem}.kv-editor-add{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;align-items:center;gap:.5rem;margin-bottom:.55rem;display:grid}.kv-editor-table-wrap{border:1px solid var(--border);background:#fff;border-radius:10px;overflow:hidden}.kv-editor-table{border-collapse:collapse;width:100%}.kv-editor-table th,.kv-editor-table td{border-bottom:1px solid var(--border-subtle);vertical-align:middle;text-align:left;padding:.45rem .55rem}.kv-editor-table th{color:var(--text-muted);background:var(--bg-input);font-size:.72rem;font-weight:700}.kv-editor-table tr:last-child td{border-bottom:none}.kv-editor-table .form-input{width:100%;margin:0}.kv-editor-actions{text-align:right;width:44px}.kv-editor-empty{color:var(--text-muted);margin:0;font-size:.8rem}.agent-auth-card{border:1px solid var(--border);background:var(--bg-input);border-radius:10px;margin:0 0 1rem;padding:.85rem .95rem .35rem}@media (width<=640px){.kv-editor-add{grid-template-columns:1fr}}.audits-toolbar .client-system-filter-row{flex-wrap:wrap;grid-template-columns:none;align-items:center;gap:.5rem;display:flex}.audits-toolbar .client-system-filter-row .audits-search-field{flex:220px;min-width:180px}.audits-toolbar .client-system-filter-row .audits-compact-select{flex:0 0 9.5rem;width:9.5rem;min-width:9.5rem;max-width:9.5rem}.audits-toolbar .client-system-filter-row .audits-sort-group{margin-left:auto}.guardian-table{table-layout:fixed}.guardian-table th{white-space:nowrap}.guardian-table td.cell-k8s{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.guardian-table col.col-service{width:24%}.guardian-table col.col-status{width:16%}.guardian-table col.col-severity{width:12%}.guardian-table col.col-k8s{width:18%}.guardian-table col.col-count{width:8%}.guardian-table col.col-when{width:22%}.guardian-table td.cell-count{font-variant-numeric:tabular-nums;color:var(--text-muted)}.guardian-mail-dot{color:var(--text-muted);vertical-align:middle;margin-left:.35rem;display:inline-flex}.guardian-pre{border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;background:#fafbfc;border-radius:10px;max-height:140px;margin:.4rem 0 0;padding:.75rem .85rem;font-size:.75rem;line-height:1.45;overflow:auto}.guardian-actions{flex-direction:column;gap:.5rem;display:flex}.guardian-detail{flex-direction:column;gap:.65rem;padding-bottom:.25rem;display:flex}.guardian-recipients-card summary.guardian-recipients-head{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;list-style:none;display:flex}.guardian-recipients-card summary.guardian-recipients-head::-webkit-details-marker{display:none}.guardian-table td.cell-service{white-space:normal;word-break:break-word}.guardian-table td.cell-when{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text-muted);font-size:.82rem}.guardian-recipients-card{margin-top:.25rem}.guardian-recipients-head{border-bottom:1px solid var(--border);padding:.9rem 1.25rem}.guardian-recipients-head h3{margin:0;font-size:.95rem;font-weight:700}.guardian-recipients-form{border-bottom:1px solid var(--border);align-items:center;gap:.5rem;padding:.9rem 1.25rem;display:flex}.guardian-recipients-form .form-input{flex:1;min-width:0}.guardian-recipient-list{margin:0;padding:0;list-style:none}.guardian-recipient-row{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.25rem;display:flex}.guardian-recipient-row:last-child{border-bottom:none}.guardian-recipient-email{color:var(--text-main);text-overflow:ellipsis;font-size:.88rem;font-weight:600;overflow:hidden}.guardian-recipient-meta{color:var(--text-muted);margin-top:.15rem;font-size:.75rem}@media (width<=1100px){.audits-toolbar .guardian-filter-row-primary,.audits-toolbar .guardian-filter-row-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.audits-toolbar .guardian-filter-row-tertiary{grid-template-columns:1fr}.audits-toolbar .guardian-filter-row-tertiary>.audits-sort-group{justify-self:start}.audits-toolbar .client-system-filter-row .audits-sort-group{margin-left:0}.audits-toolbar .client-system-filter-row .audits-compact-select{flex:9.5rem;width:auto;min-width:9.5rem;max-width:none}}@media (width<=640px){.audits-toolbar .guardian-filter-row-primary,.audits-toolbar .guardian-filter-row-secondary,.audits-toolbar .guardian-filter-row-tertiary{grid-template-columns:1fr}.audits-toolbar .client-system-filter-row .audits-search-field,.audits-toolbar .client-system-filter-row .audits-compact-select,.audits-toolbar .client-system-filter-row .audits-sort-group{flex:100%;width:100%;min-width:0;max-width:none}.guardian-recipients-form{flex-direction:column;align-items:stretch}}.refresh-combo{flex:0 0 7.25rem;width:7.25rem;position:relative}.refresh-combo-split{border:1px solid var(--border);background:#fff;border-radius:9999px;width:7.25rem;height:38px;display:inline-flex;overflow:hidden}.refresh-combo-split .btn{box-shadow:none;border:none;border-radius:0}.refresh-combo-split.is-auto{border-color:var(--primary-border);background:var(--primary-light)}.refresh-combo-split.is-auto .refresh-combo-main,.refresh-combo-split.is-auto .refresh-combo-caret{color:var(--primary)}.refresh-combo-split.is-auto .refresh-combo-caret{border-left-color:var(--primary-border)!important}.refresh-combo-split .refresh-combo-main{flex:auto;justify-content:flex-start;align-items:center;gap:.3rem;min-width:0;height:100%;padding:0 .4rem 0 .75rem;display:inline-flex}.refresh-combo-icon{flex:0 0 15px;display:block}.refresh-combo-icon.is-turning{animation:.55s ease-in-out refresh-icon-once}.refresh-combo-countdown{font-variant-numeric:tabular-nums;letter-spacing:0;text-align:left;flex:0 0 5ch;width:5ch;min-width:5ch;font-size:.72rem;font-weight:700;line-height:1}.refresh-combo-split .refresh-combo-caret{flex:0 0 2.15rem;justify-content:center;align-items:center;width:2.15rem;min-width:2.15rem;height:100%;padding:0;display:inline-flex;border-left:1px solid var(--border)!important}.refresh-combo-menu{border:1px solid var(--border);min-width:196px;box-shadow:var(--shadow-lg);z-index:80;background:#fff;border-radius:12px;padding:.5rem;position:absolute;top:calc(100% + 8px);right:0}.refresh-combo-auto{align-items:center;gap:.5rem;padding:.35rem .4rem;font-size:.85rem;font-weight:600;display:flex}.refresh-combo-hint{color:var(--text-muted);margin:.35rem .4rem .2rem;font-size:.7rem}.refresh-combo-option{text-align:left;width:100%;color:var(--text-main);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.5rem .65rem;font-family:inherit;font-size:.85rem;font-weight:600;display:block}.refresh-combo-option:hover,.refresh-combo-option.is-active{background:var(--bg-hover)}.refresh-combo-custom{color:var(--text-muted);flex-direction:column;gap:.3rem;margin:.35rem .4rem .15rem;font-size:.75rem;display:flex}.refresh-combo-custom .form-input{padding:.4rem .55rem;font-size:.85rem}.audits-pager{justify-content:space-between;align-items:center;gap:.75rem;margin:.75rem 0;display:flex}.audits-pager-leading{align-items:center;gap:.5rem;min-width:0;display:flex}.audits-pager-leading .audits-filter-actions{justify-content:flex-start;justify-self:start}.audits-pager-meta{color:#5f6368;font-size:.85rem}.audits-pager-actions{gap:.4rem;margin-left:auto;display:flex}.btn-icon-pager{min-width:38px;padding:.4rem}.hpanel-table td{border-bottom:1px solid var(--border-subtle);color:var(--text-main);vertical-align:middle;padding:1.1rem 1.25rem;font-size:.88rem}.hpanel-table tr:last-child td{border-bottom:none}.hpanel-table tr:hover td{background:#fafbfc}.table-cell-title{color:var(--text-main);align-items:center;gap:.6rem;font-weight:700;display:flex}.table-cell-muted{color:var(--text-muted);font-size:.82rem}.status-badge-hostinger{color:var(--success);align-items:center;gap:.45rem;font-size:.84rem;font-weight:600;display:inline-flex}.status-badge-hostinger .status-icon{color:var(--success)}@media (width<=768px){.desktop-table-view{display:none}.mobile-cards-container{flex-direction:column;gap:1rem;margin-bottom:2rem;display:flex}.mobile-domain-card{border:1px solid var(--border);box-shadow:var(--shadow-sm);background:#fff;border-radius:12px;flex-direction:column;gap:.85rem;padding:1.25rem;display:flex}.mobile-card-top{justify-content:space-between;align-items:center;display:flex}.mobile-card-identity{align-items:center;gap:.6rem;display:flex}.mobile-domain-name{color:var(--text-main);font-size:1rem;font-weight:700}.mobile-card-subinfo{color:var(--text-muted);font-size:.8rem}.mobile-card-meta{border:1px solid var(--border-subtle);background:#fafbfc;border-radius:8px;justify-content:space-between;align-items:center;padding:.65rem .85rem;font-size:.82rem;display:flex}.meta-item{color:var(--text-body);align-items:center;gap:.45rem;display:flex}.meta-item-switch{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.8rem;display:flex}.mobile-card-actions{gap:.75rem;margin-top:.25rem;display:flex}.mobile-loading-card{border:1px solid var(--border);color:var(--text-muted);background:#fff;border-radius:12px;justify-content:center;align-items:center;gap:.75rem;padding:2rem;display:flex}}.switch-wrapper{cursor:pointer;align-items:center;display:inline-flex}.switch-wrapper-disabled{cursor:default;pointer-events:none}.switch-input{opacity:0;width:0;height:0;position:absolute}.switch-slider{width:44px;height:24px;transition:var(--transition-smooth);background-color:#cbd5e1;border-radius:9999px;display:inline-block;position:relative}.switch-slider:before{content:"";width:18px;height:18px;transition:var(--transition-smooth);background-color:#fff;border-radius:50%;position:absolute;bottom:3px;left:3px;box-shadow:0 1px 3px #0003}.switch-input:checked+.switch-slider{background-color:var(--primary)}.switch-input:checked+.switch-slider:before{transform:translate(20px)}.switch-input:disabled+.switch-slider{opacity:1}.table-actions-group{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.table-actions-menu{justify-content:flex-end;display:inline-flex;position:relative}.table-actions-dropdown{border:1px solid var(--border);min-width:196px;box-shadow:var(--shadow-lg);z-index:60;pointer-events:auto;background:#fff;border-radius:12px;padding:.35rem;position:absolute;top:calc(100% + 4px);right:0}.table-actions-menu-item{width:100%;color:var(--text-main);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:.65rem;padding:.6rem .75rem;font-family:inherit;font-size:.86rem;font-weight:600;display:flex}.table-actions-menu-item:hover:not(:disabled),.table-actions-menu-item:focus-visible:not(:disabled){background:var(--bg-hover)}.table-actions-menu-item:disabled{opacity:.55;cursor:not-allowed}.table-actions-menu-item.is-danger{color:var(--danger)}.table-actions-menu-item.is-danger:hover:not(:disabled),.table-actions-menu-item.is-danger:focus-visible:not(:disabled){background:var(--danger-light)}.table-actions-menu-divider{background:var(--border);height:1px;margin:.25rem .4rem}.table-actions-placeholder{visibility:hidden;pointer-events:none}@media (width<=768px){.mobile-card-actions.table-actions-group{flex-wrap:nowrap;width:auto;margin-left:auto;display:flex}}.btn-table-outline{border:1px solid var(--border);color:var(--primary);cursor:pointer;text-align:center;transition:var(--transition-smooth);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:.35rem;padding:.45rem .9rem;font-size:.84rem;font-weight:600;display:inline-flex}.btn-table-outline:hover:not(:disabled){border-color:var(--primary);background:var(--primary-light)}.btn-table-icon{border:1px solid var(--border);width:32px;height:32px;color:var(--primary);cursor:pointer;transition:var(--transition-smooth);background:#fff;border-radius:8px;justify-content:center;align-items:center;display:flex}.btn-table-icon:hover:not(:disabled){border-color:var(--primary);background:var(--primary-light)}.btn-table-icon:disabled{opacity:.55;cursor:not-allowed}.id-compact{text-overflow:ellipsis;white-space:nowrap;max-width:10rem;color:var(--text-body);font-family:JetBrains Mono,monospace;font-size:.78rem;display:block;overflow:hidden}.table-reason{-webkit-line-clamp:2;max-width:16rem;color:var(--text-body);-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.dashboard-grid{grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem;display:grid}@media (width<=860px){.dashboard-grid{grid-template-columns:1fr}}.connections-grid{grid-template-columns:1fr 1fr;gap:1.25rem;display:grid}.connections-grid .full-width{grid-column:1/-1}.connections-app-description{color:var(--text-body);margin-bottom:1rem;font-size:.88rem}.connections-status-row{align-items:center;gap:.5rem;margin-bottom:1.15rem;display:flex}.connections-status-label{font-size:.95rem;font-weight:700}.status-text-healthy{color:var(--success)}.status-text-unhealthy{color:var(--danger)}.status-text-checking{color:var(--warning)}@media (width<=860px){.connections-grid{grid-template-columns:1fr}}.dash-card{border:1px solid var(--border);box-shadow:var(--shadow-sm);background:#fff;border-radius:14px;padding:1.75rem}@media (width<=640px){.dash-card{padding:1.25rem}}.dash-card.full-width{grid-column:1/-1}.dash-card-header{border-bottom:1px solid var(--border);align-items:center;gap:.75rem;margin-bottom:1.25rem;padding-bottom:1rem;display:flex}.dash-card-icon{background:var(--primary-light);width:36px;height:36px;color:var(--primary);border-radius:8px;justify-content:center;align-items:center;display:flex}.dash-card-header h3{color:var(--text-main);font-size:1.05rem;font-weight:700}.info-row{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding:.85rem 0;display:flex}.info-row:last-child{border-bottom:none}.info-label{color:var(--text-muted);align-items:center;gap:.45rem;font-size:.86rem;display:flex}.info-value{color:var(--text-main);word-break:break-all;font-size:.88rem;font-weight:600}.roles-list{flex-wrap:wrap;gap:.4rem;display:flex}.badge-role{background:var(--primary-light);border:1px solid var(--primary-border);color:var(--primary);border-radius:6px;padding:.2rem .55rem;font-size:.75rem;font-weight:700}.refresh-status-box{background:var(--success-light);border:1px solid var(--success-border);border-radius:10px;gap:1rem;margin-bottom:1.25rem;padding:1rem;display:flex}.refresh-status-box strong{color:var(--success);font-size:.9rem;display:block}.refresh-status-box p{color:var(--text-body);margin-top:.15rem;font-size:.82rem}.token-code-box{border:1px solid var(--border);background:#f8f9fa;border-radius:8px;max-height:120px;padding:1rem;overflow-x:auto}.token-code-box code{color:var(--primary);word-break:break-all;font-family:JetBrains Mono,Consolas,monospace;font-size:.78rem}.btn{cursor:pointer;transition:var(--transition-smooth);border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:.65rem 1.25rem;font-family:inherit;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-flex}.btn-pill{border-radius:9999px}.btn-block{width:100%}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 2px 4px #673de640}.btn-primary:hover:not(:disabled){background:var(--primary-hover);box-shadow:0 4px 8px #673de659}.btn-primary:active:not(:disabled){background:var(--primary-active)}.btn-secondary{border-color:var(--border);color:var(--text-body);background:#fff}.btn-secondary:hover:not(:disabled){background:var(--bg-hover);color:var(--text-main);border-color:#ccd0d5}.btn-outline{border-color:var(--primary);color:var(--primary);background:#fff}.btn-outline:hover:not(:disabled){background:var(--primary-light)}.btn-danger{background:var(--danger-light);border-color:var(--danger-border);color:var(--danger)}.btn-danger:hover:not(:disabled){background:var(--danger);color:#fff}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none!important}.link-btn{color:var(--primary);cursor:pointer;background:0 0;border:none;align-items:center;gap:.35rem;font-size:.84rem;text-decoration:none;display:inline-flex}.link-btn.bold{font-weight:700}.link-btn:hover:not(:disabled){text-decoration:underline}.link-btn:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}.form-group{flex-direction:column;gap:.45rem;margin-bottom:1.25rem;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (width<=500px){.form-row{grid-template-columns:1fr}}.form-label-row{justify-content:space-between;align-items:center;display:flex}.form-label{color:var(--text-main);font-size:.85rem;font-weight:600}.input-icon-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:var(--text-sub);pointer-events:none;position:absolute;left:1rem}.form-input{background:var(--bg-input);border:1px solid var(--border);width:100%;color:var(--text-main);transition:var(--transition-smooth);border-radius:8px;padding:.75rem 1rem;font-family:inherit;font-size:.9rem}.form-input.with-icon{padding-left:2.75rem}.form-input.with-action{padding-right:2.75rem}.form-input:focus{border-color:var(--border-focus);box-shadow:0 0 0 3px var(--primary-glow);outline:none}.form-input:disabled{color:var(--text-sub);cursor:not-allowed;background:#f1f3f5}textarea.form-input{resize:vertical;min-height:96px}.input-action-btn{color:var(--text-sub);cursor:pointer;transition:var(--transition-smooth);background:0 0;border:none;justify-content:center;align-items:center;display:flex;position:absolute;right:.85rem}.input-action-btn:hover{color:var(--text-main)}.input-action-btn:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}.checkbox-group{cursor:pointer;align-items:flex-start;gap:.65rem;margin-bottom:1rem;display:flex}.checkbox-btn{color:var(--text-sub);cursor:pointer;background:0 0;border:none;align-items:center;padding:0;display:flex}.checkbox-label{color:var(--text-muted);font-size:.82rem;line-height:1.4}.checkbox-label strong{color:var(--text-main)}.legal-link{color:var(--primary);text-underline-offset:3px;transition:var(--transition-smooth);align-items:center;gap:2px;font-weight:600;text-decoration:underline;display:inline-flex}.legal-link:hover{color:var(--primary-hover)}.inline-icon{vertical-align:middle;display:inline}.form-footer{color:var(--text-muted);justify-content:center;align-items:center;gap:.5rem;margin-top:1.5rem;font-size:.85rem;display:flex}.otp-container{justify-content:center;align-items:center;gap:.5rem;width:100%;max-width:100%;margin:0 auto;display:flex}.otp-digit{border:1.5px solid var(--border);text-align:center;width:44px;min-width:0;max-width:44px;height:50px;color:var(--primary);transition:var(--transition-smooth);box-sizing:border-box;background:#fff;border-radius:8px;flex:0 44px;padding:0;font-size:1.25rem;font-weight:700}.otp-digit:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow);outline:none}@media (width<=480px){.otp-container{gap:.35rem}.otp-digit{border-radius:6px;flex:0 38px;width:38px;max-width:38px;height:44px;font-size:1.1rem}}@media (width<=360px){.otp-container{gap:.25rem}.otp-digit{border-radius:6px;flex:0 32px;width:32px;max-width:32px;height:38px;font-size:1rem}}.alert-box{border-radius:8px;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.82rem;display:flex}.alert-warning{background:var(--warning-light);border:1px solid var(--warning-border);color:#b45309}.alert-info{background:var(--primary-light);border:1px solid var(--primary-border);color:var(--primary)}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#11182766;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.modal-card{border:1px solid var(--border);width:100%;max-width:520px;max-height:min(88vh,720px);box-shadow:var(--shadow-xl);background:#fff;border-radius:14px;flex-direction:column;padding:1.5rem 1.75rem;display:flex;overflow:hidden}@media (width<=640px){.modal-card{max-height:min(92vh,720px);padding:1.25rem 1.15rem}}.modal-header{border-bottom:1px solid var(--border-subtle);flex-shrink:0;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;padding-bottom:.75rem;display:flex}.modal-title{color:var(--text-main);font-size:1.25rem;font-weight:700}.modal-subtitle{color:var(--text-muted);margin-top:.25rem;font-size:.85rem}.modal-body{overscroll-behavior:contain;flex:auto;min-height:0;padding-right:.35rem;overflow-y:auto}.modal-card.has-footer .modal-body{padding-bottom:.25rem}.modal-footer{border-top:1px solid var(--border-subtle);flex-shrink:0;margin-top:.85rem;padding-top:.9rem}.modal-footer .modal-actions{margin:0}.modal-body .info-row{padding:.5rem 0}.modal-close-btn{width:32px;height:32px;color:var(--text-sub);cursor:pointer;transition:var(--transition-smooth);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;display:flex}.modal-close-btn:hover{background:var(--bg-hover);color:var(--text-main)}.modal-actions{justify-content:flex-end;gap:.75rem;margin-top:1.75rem;display:flex}@media (width<=640px){.modal-actions{flex-direction:column-reverse}.modal-actions .btn{width:100%}}.token-info-card{background:var(--primary-light);border:1px solid var(--primary-border);border-radius:10px;align-items:center;gap:1rem;padding:1rem;display:flex}.token-info-title{color:var(--primary);font-size:.9rem;font-weight:700}.token-info-desc{color:var(--text-body);margin-top:.15rem;font-size:.82rem}.resend-row{color:var(--text-muted);justify-content:center;align-items:center;gap:.5rem;font-size:.85rem;display:flex}.auth-page-container{background:var(--bg-page);justify-content:center;align-items:safe center;min-height:calc(100vh - 64px);padding:2.5rem 1.5rem;display:flex}@media (width<=768px){.auth-page-container{padding:1.25rem 1rem}}.auth-card-wrapper{border:1px solid var(--border);width:100%;max-width:460px;box-shadow:var(--shadow-lg);background:#fff;border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.auth-form-section{background:#fff;flex-direction:column;justify-content:center;padding:2.25rem;display:flex}.auth-form-section .form-row{grid-template-columns:1fr}.auth-heading{color:var(--text-main);letter-spacing:-.3px;text-align:center;margin-bottom:1.75rem;font-size:1.35rem;font-weight:700}@media (width<=768px){.auth-form-section{padding:1.5rem}}.toast-container{z-index:200;flex-direction:column;gap:.75rem;display:flex;position:fixed;bottom:1.5rem;right:1.5rem}@media (width<=640px){.toast-container{bottom:1rem;left:1rem;right:1rem}.toast{width:100%;min-width:unset!important}}.toast{border:1px solid var(--border);min-width:320px;max-width:420px;box-shadow:var(--shadow-lg);background:#fff;border-radius:10px;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;animation:.3s ease-out slideUp;display:flex}.toast-success{border-left:4px solid var(--success)}.toast-error{border-left:4px solid var(--danger)}.toast-warning{border-left:4px solid var(--warning)}.toast-info{border-left:4px solid var(--primary)}.toast-content{flex:1}.toast-title{color:var(--text-main);font-size:.88rem;font-weight:700}.toast-desc{color:var(--text-muted);margin-top:.2rem;font-size:.8rem}.toast-close{color:var(--text-sub);cursor:pointer;background:0 0;border:none;font-size:1.2rem}.spin{animation:1s linear infinite spin}.spinner-small{border:2px solid #fff6;border-top-color:currentColor;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin;display:inline-block}.spinner-mini{border:1.5px solid var(--primary-border);border-top-color:var(--primary);border-radius:50%;flex-shrink:0;width:10px;height:10px;animation:.7s linear infinite spin;display:inline-block}.session-network-loading{color:inherit;align-items:center;gap:.4rem;display:inline-flex}.btn-spinner-content{align-items:center;gap:.5rem;display:flex}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes refresh-icon-once{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes slideUp{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:.3s ease-out fadeIn}.animate-scale-in{animation:.2s cubic-bezier(.4,0,.2,1) scaleIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.text-mono{font-family:JetBrains Mono,monospace}.account-page{flex-direction:column;gap:1rem;max-width:760px;padding-bottom:2.5rem;display:flex}.account-card{border:1px solid var(--border);box-shadow:var(--shadow-sm);background:#fff;border-radius:12px;padding:1.35rem 1.5rem}.account-identity{align-items:center;gap:1.1rem;padding:1.5rem;display:flex}.account-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:64px;height:64px}.account-avatar-fallback{color:#fff;letter-spacing:.04em;background:linear-gradient(160deg,#00b090 0%,#0b8f7c 100%);justify-content:center;align-items:center;font-size:1.05rem;font-weight:700;display:flex}.account-identity-copy{min-width:0}.account-display-name{letter-spacing:-.02em;color:var(--text-main);font-size:1.2rem;font-weight:700;line-height:1.3}.account-handle{color:var(--text-muted);margin-top:.15rem;font-size:.9rem}.account-identity-meta{flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.65rem;display:flex}.account-status{letter-spacing:.02em;text-transform:uppercase;border:1px solid #0000;border-radius:999px;align-items:center;padding:.18rem .5rem;font-size:.72rem;font-weight:700;display:inline-flex}.account-status-ok{background:var(--success-light);color:var(--success-hover);border-color:var(--success-border)}.account-status-warn{background:var(--danger-light);color:var(--danger);border-color:var(--danger-border)}.account-status-muted{background:var(--bg-muted);color:var(--text-muted);border-color:var(--border)}.account-meta-dot{background:var(--text-light);border-radius:50%;width:4px;height:4px}.account-meta-text{color:var(--text-muted);font-size:.85rem}.account-section-head{margin-bottom:1rem}.account-section-head h3{color:var(--text-main);align-items:center;gap:.4rem;font-size:.95rem;font-weight:700;display:flex}.account-section-head p{color:var(--text-sub);margin-top:.25rem;font-size:.85rem;line-height:1.45}.account-fields{grid-template-columns:1fr 1fr;gap:1.15rem 1.5rem;display:grid}.account-field dt{letter-spacing:.04em;text-transform:uppercase;color:var(--text-sub);margin-bottom:.28rem;font-size:.72rem;font-weight:600}.account-field dd{color:var(--text-main);word-break:break-word;font-size:.95rem;font-weight:500}.account-field dd.is-muted{color:var(--text-light);font-weight:400}.account-roles{flex-wrap:wrap;gap:.5rem;display:flex}.account-role-chip{color:var(--text-body);background:var(--bg-muted);border:1px solid var(--border);border-radius:999px;align-items:center;padding:.28rem .65rem;font-size:.8rem;font-weight:600;display:inline-flex}.account-setting-row,.account-danger-row{justify-content:space-between;align-items:center;gap:1.25rem;display:flex}.account-setting-title{color:var(--text-main);font-size:.92rem;font-weight:600}.account-setting-hint{color:var(--text-sub);max-width:34rem;margin-top:.2rem;font-size:.85rem;line-height:1.45}.account-danger{border-color:#f3c4cb}.account-danger .account-section-head h3{color:var(--danger)}.account-danger-row{border-top:1px solid #f6e4e7;margin-top:.25rem;padding-top:1rem}.account-danger-row+.account-danger-row{margin-top:1rem}.account-danger-row .btn{flex-shrink:0;justify-content:center;min-width:8rem}.account-empty{color:var(--text-muted);font-size:.9rem}.account-profile-note{color:#7a5b14;background:#fff8e8;border-radius:10px;margin:0 0 1rem;padding:.75rem 1rem;font-size:.9rem;line-height:1.45}.account-skeleton{align-items:center;gap:1rem;display:flex}.account-skel{background:linear-gradient(90deg,#f1f3f5 0%,#e9ecef 50%,#f1f3f5 100%) 0 0/200% 100%;border-radius:8px;animation:1.2s ease-in-out infinite accountShimmer}.account-skel-avatar{border-radius:50%;flex-shrink:0;width:64px;height:64px}.account-skel-lines{flex-direction:column;flex:1;gap:.5rem;display:flex}.account-skel-lg{width:48%;height:16px}.account-skel-md{width:72%;height:12px}.account-skel-sm{width:28%;height:12px}@keyframes accountShimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media (width<=640px){.account-fields{grid-template-columns:1fr}.account-setting-row,.account-danger-row{flex-direction:column;align-items:flex-start}}.connections-page{flex-direction:column;gap:1rem;padding-bottom:2rem;display:flex}.connections-summary{flex-wrap:wrap;gap:.5rem;display:flex}.connections-summary-chip{border:1px solid var(--border);color:var(--text-body);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:.4rem;padding:.38rem .75rem;font-size:.8rem;font-weight:600;display:inline-flex}.connections-summary-chip.is-active{border-color:var(--primary-border);background:var(--primary-light);color:var(--primary)}.connections-summary-chip.is-ok.is-active{border-color:var(--success-border);background:var(--success-light);color:var(--success-hover)}.connections-summary-chip.is-off.is-active{border-color:var(--danger-border);background:var(--danger-light);color:var(--danger)}.connections-summary-chip.is-wait{cursor:default;color:var(--text-muted)}.connections-toolbar{align-items:center}.connections-toolbar-filters{flex:1;align-items:center;gap:.65rem;min-width:0;display:flex}.connections-toolbar-filters .search-input-wrapper{flex:0 420px;max-width:420px}.connections-toolbar-filters .filter-select{flex-shrink:0}.connections-type-chip{background:var(--bg-muted);border:1px solid var(--border);color:var(--text-muted);border-radius:999px;padding:.2rem .55rem;font-size:.75rem;font-weight:600;display:inline-flex}.connections-endpoint{color:var(--text-sub);font-family:JetBrains Mono,monospace;font-size:.75rem}.connections-status-pill{align-items:center;gap:.4rem;font-size:.78rem;font-weight:700;display:inline-flex}.connections-status-dot{background:var(--text-light);border-radius:50%;width:8px;height:8px}.connections-status-pill.is-healthy{color:var(--success-hover)}.connections-status-pill.is-healthy .connections-status-dot{background:var(--success)}.connections-status-pill.is-unhealthy{color:var(--danger)}.connections-status-pill.is-unhealthy .connections-status-dot{background:var(--danger)}.connections-status-pill.is-checking{color:var(--text-muted)}.connections-status-pill.is-checking .connections-status-dot{background:var(--warning)}.connections-latency{font-variant-numeric:tabular-nums;font-size:.88rem}.connections-empty{text-align:center;color:var(--text-muted);padding:2.5rem 1rem}.connections-freshness{color:var(--text-muted);margin:0 0 .75rem;font-size:.85rem}.connections-error{color:#c5221f;margin:0 0 .75rem;font-size:.88rem}.connections-mobile-list{display:none}.connections-mobile-card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:1rem 1.1rem}.connections-mobile-card header{justify-content:space-between;gap:.75rem;margin-bottom:.85rem;display:flex}.connections-mobile-card header p,.connections-mobile-card header strong{display:block}.connections-mobile-card header p{color:var(--text-sub);margin-top:.2rem;font-size:.82rem}.connections-mobile-card dl{grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.9rem;display:grid}.connections-mobile-card dt{text-transform:uppercase;letter-spacing:.04em;color:var(--text-sub);font-size:.7rem}.connections-mobile-card dd{font-size:.88rem;font-weight:600}@media (width<=768px){.connections-mobile-list{flex-direction:column;gap:.75rem;display:flex}}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.knowledge-view{flex-direction:column;gap:1.25rem;display:flex}.knowledge-ask-row{flex-wrap:wrap;align-items:flex-end;gap:1rem;display:flex}.knowledge-ask-row .form-group{min-width:180px}.knowledge-empty{color:#5f6368;background:#fafbfc;border:1px dashed #d7dce3;border-radius:12px;align-items:center;gap:.75rem;padding:1.25rem;display:flex}.knowledge-empty p{margin:0}.knowledge-briefing{padding:1.25rem 1.4rem}.knowledge-briefing-header{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.75rem;display:flex}.knowledge-briefing-header h2{color:#1d2129;margin:0;font-size:1.1rem}.knowledge-observed{color:#5f6368;font-size:.82rem}.knowledge-answer{color:#1d2129;margin:0 0 1rem;font-size:1.05rem;font-weight:600;line-height:1.45}.knowledge-chips{flex-wrap:wrap;gap:.45rem;margin-bottom:1.1rem;display:flex}.knowledge-chip{letter-spacing:.02em;text-transform:lowercase;border-radius:999px;align-items:center;padding:.2rem .65rem;font-size:.75rem;font-weight:700;display:inline-flex}.knowledge-chip.is-ok{color:#0f7a62;background:#e6f7f2}.knowledge-chip.is-warn{color:#a15c00;background:#fff4e5}.knowledge-chip.is-fact{color:#1677ff;background:#e8f4fd;border-color:#91caff}.knowledge-chip.is-extract{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.knowledge-chip.is-llm{color:#722ed1;background:#f9f0ff;border-color:#d3adf7}.knowledge-chip.is-muted{color:#5f6368;background:#eef1f4}.knowledge-chip.is-fail{color:#b42318;background:#fdecea}.knowledge-freshness{color:#5f6368;margin:0 0 .85rem;font-size:.82rem}.knowledge-freshness.is-fail{color:#b42318;font-weight:600}.knowledge-sources h3{color:#1d2129;margin:0 0 .6rem;font-size:.92rem}.knowledge-docid{cursor:pointer;color:#1d2129;background:#eef1f4;border:0;border-radius:6px;align-items:center;gap:.3rem;padding:.15rem .4rem;font-size:.75rem;display:inline-flex}.knowledge-docid code{font-size:.75rem}.knowledge-disclaimer{color:#5f6368;border-top:1px solid #e6e9ee;margin:1rem 0 0;padding-top:.85rem;font-size:.78rem;line-height:1.4}
