.custom-select-root{display:inline-flex;width:100%;min-width:0;position:relative}.custom-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--border-input);border-radius:8px;background:var(--surface-input);color:var(--text);font:inherit;font-size:.9375rem;line-height:1.7;text-align:start;cursor:pointer}.custom-select-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select-arrow{display:flex;color:var(--muted);flex-shrink:0;transition:transform .15s}.custom-select-trigger[data-state=open] .custom-select-arrow{transform:rotate(180deg)}.custom-select-trigger:focus-visible,.custom-select-trigger[data-state=open]{outline:none;border-color:var(--purple);box-shadow:0 0 0 3px var(--focus-ring)}.custom-select-trigger:hover:not(:disabled){border-color:var(--muted)}.custom-select-trigger:disabled{opacity:.5;cursor:not-allowed}.custom-select-content{z-index:120;min-width:var(--radix-select-trigger-width);max-width:calc(100vw - 24px);max-height:min(320px,var(--radix-select-content-available-height));overflow:auto;overscroll-behavior:contain;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-dialog);color:var(--text);direction:rtl;animation:select-appear .12s ease-out}.custom-select-viewport{padding:5px}.custom-select-item{position:relative;display:flex;align-items:center;gap:12px;min-height:42px;padding:9px 12px 9px 36px;border-radius:6px;font:inherit;font-size:.85rem;line-height:1.8;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none;max-width:calc(100vw - 36px)}.custom-select-item>span:first-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select-item[data-highlighted=true]{background:var(--purple-light);color:var(--accent-text)}.custom-select-item[aria-selected=true]{font-weight:600}.custom-select-item[aria-disabled=true]{opacity:.45;cursor:not-allowed}.custom-select-check{position:absolute;inset-inline-end:11px;display:flex;color:var(--accent-text)}.custom-select-scroll{display:flex;align-items:center;justify-content:center;height:25px;color:var(--muted);background:var(--surface)}.table-toolbar>.custom-select-root{width:auto;max-width:220px;min-width:150px}.report-controls .custom-select-trigger{width:100%}@keyframes select-appear{0%{opacity:0}to{opacity:1}}@media(max-width:600px){.custom-select-trigger{font-size:1rem}.table-toolbar>.custom-select-root{flex:1;max-width:none}.custom-select-item{min-height:44px}}@media(prefers-reduced-motion:reduce){.custom-select-content{animation:none}.custom-select-arrow{transition:none}}.custom-select-content:focus{outline:none}.custom-select-trigger[aria-invalid=true]{border-color:var(--danger)}.custom-select-visual{display:inline-flex;align-items:center;flex-shrink:0}.custom-select-thumbnail{display:block;width:44px;height:44px;flex-shrink:0;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:var(--surface-subtle)}.reports-page{display:flex;flex-direction:column;gap:20px;min-width:0}.report-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:14px;padding:22px}.report-controls .field{min-width:0;gap:7px}.report-controls select{width:100%;min-width:0;max-width:100%}.report-control-actions{display:flex;align-items:center;gap:6px}.report-period{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.8125rem}.report-period p{color:var(--text-secondary)}.report-stats{margin-block-end:0}.report-stats .stat-icon{background:var(--surface-subtle);color:var(--muted)}.report-stats .stat-card>strong{font-size:1.8rem;white-space:normal;overflow-wrap:anywhere}.report-outcomes{display:flex;gap:10px;flex-wrap:wrap}.report-outcomes>span{display:inline-flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 12px;color:var(--text-secondary);font-size:.8125rem}.report-outcomes b{color:var(--text);font-weight:600}.report-outcomes .review:has(b:not(:empty)){color:var(--warning)}.report-outcomes .review b{color:var(--warning)}.report-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.75rem;color:var(--text-secondary)}.report-legend span{display:inline-flex;align-items:center;gap:6px}.report-legend i{width:9px;height:9px;border-radius:2px}.report-legend .matches,.report-bar.matches{background:var(--border-input)}.report-legend .sent,.report-bar.sent{background:var(--purple)}.report-chart-wrap{padding:24px}.report-chart{height:190px;display:flex;gap:3px;align-items:stretch;border-block-end:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--line) calc(25% - 1px),var(--line) 25%)}.report-day{flex:1;min-width:0;display:flex;gap:1px;align-items:flex-end;justify-content:center;position:relative;isolation:isolate}.report-bar{display:block;flex:1;max-width:12px;min-width:0;border-radius:3px 3px 0 0;min-height:0}.report-chart-axis{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:.75rem;padding-block-start:10px}.report-empty,.report-loading{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:38px 22px;color:var(--muted);line-height:1.9}.report-empty svg{color:var(--purple)}.report-empty strong{color:var(--text-secondary);font-weight:500}.report-empty p{font-size:.875rem;max-width:480px}.report-daily-details{border-block-start:1px solid var(--line)}.report-daily-details summary{cursor:pointer;min-height:48px;padding:14px 24px;font-size:.8125rem;color:var(--text-secondary)}.report-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border-radius:0 0 12px 12px}.report-table{width:100%;border-collapse:collapse;font-size:.8125rem;text-align:start;white-space:nowrap}.report-table th,.report-table td{text-align:start;padding:17px 20px;border-block-end:1px solid var(--line);font-variant-numeric:tabular-nums;vertical-align:middle}.report-table thead th{font-weight:500;color:var(--muted);background:var(--surface-subtle);font-size:.75rem}.report-table tbody th{font-weight:500;min-width:170px}.report-table tbody tr:last-child>*{border-block-end:0}.report-table tbody tr:hover{background:var(--surface-subtle)}.report-table small{display:block;color:var(--muted);font-size:.6875rem;font-weight:400;line-height:1.9;white-space:normal}.report-table th small{max-width:250px;overflow-wrap:anywhere}.report-rule-link{display:inline-flex;text-align:start;max-width:250px;min-height:44px;white-space:normal;overflow-wrap:anywhere;padding:0}.report-sent-count{font-weight:600}.report-review-count{color:var(--warning);font-weight:600}.report-scroll-hint{display:none;color:var(--muted);font-size:.75rem;padding:0 18px 14px}.report-definitions{padding:22px;line-height:2;color:var(--text-secondary);font-size:.8125rem}.report-definitions h2{font-size:.9375rem;font-weight:600;color:var(--text);margin-block-end:8px}.report-definitions p+p{margin-block-start:8px}.report-results-panel,.report-chart-panel{min-width:0;max-width:100%;overflow:hidden}.rule-actions .report-action{color:var(--muted)}.keyword-matching-note{padding:12px 22px;border-block-end:1px solid var(--line);color:var(--muted);font-size:.75rem;line-height:1.9}@media(max-width:1250px){.report-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.report-control-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:900px){.report-scroll-hint{display:block}.report-chart-panel .panel-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}}@media(max-width:600px){.reports-page{gap:16px}.report-controls{grid-template-columns:minmax(0,1fr);padding:18px;gap:14px}.report-controls .field>span{font-size:.8125rem}.report-controls .field select{font-size:.875rem}.report-chart-wrap{padding:20px 16px}.report-chart{gap:1px;height:160px}.report-day{gap:0}.report-chart-axis{font-size:.6875rem}.report-stats .stat-card>strong{font-size:1.55rem}.report-outcomes{gap:7px}.report-outcomes>span{font-size:.75rem;padding:7px 9px;gap:8px}.report-table th,.report-table td{padding:14px 16px}.report-definitions{padding:18px}}.admin-page{display:flex;flex-direction:column;gap:22px}.admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-stat{display:flex;align-items:center;gap:12px;padding:20px;color:var(--text-secondary)}.admin-stat>svg{color:var(--muted);flex-shrink:0}.admin-stat>span{flex:1;font-size:.85rem}.admin-stat>strong{font-size:1.7rem;color:var(--text);font-weight:650}.admin-tabs{display:flex;gap:6px;flex-wrap:wrap;border-block-end:1px solid var(--line);padding-block-end:10px}.admin-tabs button{display:flex;align-items:center;gap:8px;min-height:44px;border:0;border-radius:8px;padding:10px 16px;background:transparent;color:var(--muted);font:inherit;font-size:.85rem}.admin-tabs button.selected{background:var(--purple-light);color:var(--accent-text)}.admin-search{display:flex;align-items:center;gap:16px;padding:18px 24px;border-block-end:1px solid var(--line)}.admin-search .search-field{flex:1;max-width:420px}.admin-empty{padding:40px 20px;color:var(--muted);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center}.admin-client{padding:24px;border-block-end:1px solid var(--line)}.admin-client:last-child{border:0}.admin-client-head{display:flex;gap:12px;align-items:center}.admin-client-head>div{flex:1;min-width:0}.admin-client-head h3{font-size:.95rem;font-weight:600;overflow-wrap:anywhere}.admin-client-head p{font-size:.8rem;color:var(--muted);overflow-wrap:anywhere}.admin-badge{display:inline-flex;border:1px solid var(--line);padding:4px 9px;border-radius:6px;font-size:.75rem;white-space:nowrap;color:var(--text-secondary);background:var(--surface-subtle)}.admin-badge.ok{background:var(--success-bg);color:var(--success);border-color:transparent}.admin-client-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:.78rem;color:var(--muted);margin-block:16px}.admin-account-list{display:flex;gap:10px;flex-wrap:wrap;margin-block-end:18px}.admin-account-list>div{display:flex;gap:10px;flex-wrap:wrap;border:1px solid var(--line);padding:8px 11px;border-radius:7px;font-size:.78rem}.admin-account-list span{color:var(--muted)}.admin-client-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-client-actions .button{font-size:.78rem;min-height:40px;padding:8px 11px}.button.admin-danger{background:var(--danger-bg);border:1px solid transparent;color:var(--danger)}.admin-target{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere;font-size:.85rem}.admin-target>bdi{color:var(--muted);text-align:start}.backup-details{padding:22px 24px;display:flex;flex-direction:column;gap:18px;font-size:.85rem;color:var(--text-secondary);line-height:2}.backup-details>p:first-child{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.admin-warning{background:var(--warning-bg);color:var(--warning);border-radius:8px;padding:12px 15px;font-size:.82rem;line-height:2}.backup-key,.notification-preference{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle)}.backup-key>div,.notification-preference>div{flex:1;min-width:0}.backup-key strong,.notification-preference strong{font-size:.85rem;font-weight:600;color:var(--text)}.backup-key p,.notification-preference p{font-size:.78rem;color:var(--muted);margin-block-start:4px;line-height:2}.backup-key .button,.notification-preference .button{flex-shrink:0}.backup-row,.admin-audit-row{display:flex;align-items:center;gap:16px;padding:19px 24px;border-block-start:1px solid var(--line);font-size:.83rem}.backup-row>svg,.admin-audit-row>svg{color:var(--muted);flex-shrink:0}.backup-row>div,.admin-audit-row>div{flex:1;min-width:0}.backup-row strong,.admin-audit-row strong{font-size:.85rem;font-weight:550}.backup-row small,.admin-audit-row small{display:block;font-size:.75rem;color:var(--muted);margin-block-start:5px;line-height:1.9}.admin-audit-row time{font-size:.75rem;color:var(--muted)}.admin-footnote{font-size:.8rem;line-height:2;color:var(--muted)}.notification-trigger{position:relative}.notification-trigger>span{position:absolute;inset-block-start:0;inset-inline-end:0;min-width:16px;height:16px;border-radius:50%;background:var(--danger);color:var(--surface);font-size:10px;line-height:16px;text-align:center}.alerts-dialog .notification-preference{margin-block-end:20px}.incident-list{display:flex;flex-direction:column;gap:12px;margin-block-start:16px}.incident{padding:16px;border:1px solid var(--line);border-inline-start:3px solid var(--warning);border-radius:8px}.incident.resolved{border-inline-start-color:var(--success)}.incident-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.incident-top strong{font-size:.85rem;font-weight:600}.incident-account{display:block;text-align:start;color:var(--muted);font-size:.8rem;margin-block-start:5px}.incident>p{font-size:.82rem;color:var(--text-secondary);line-height:2;margin-block:10px}.incident-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.incident time{font-size:.72rem;color:var(--muted)}@media(max-width:1100px){.admin-summary{grid-template-columns:minmax(0,1fr);gap:10px}.admin-stat{padding:15px 20px}.admin-stat>strong{font-size:1.35rem}}@media(max-width:600px){.admin-page{gap:18px}.admin-client,.backup-details{padding:18px}.admin-client-head{flex-wrap:wrap}.admin-client-head>.admin-badge{margin-inline-start:47px}.admin-client-actions .button{flex:1 1 calc(50% - 8px)}.admin-client-actions .admin-danger{flex-basis:100%}.admin-account-list>div{width:100%;justify-content:space-between}.admin-search{padding:16px;flex-wrap:wrap;gap:10px}.admin-search .search-field{flex-basis:100%;max-width:none}.admin-tabs{gap:2px}.admin-tabs button{font-size:.78rem;padding:9px 10px;gap:6px}.backup-key,.notification-preference{flex-direction:column;align-items:stretch;padding:15px;gap:12px}.backup-row,.admin-audit-row{padding:17px;gap:12px;flex-wrap:wrap}.backup-row>.button{margin-inline-start:32px}.admin-audit-row time{flex-basis:100%;padding-inline-start:30px}.incident-top,.incident-bottom{flex-wrap:wrap}.notification-trigger{min-width:36px!important}.admin-page .panel-heading{flex-wrap:wrap}}.admin-subscription{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-block-start:16px;font-size:.78rem;color:var(--muted)}.subscription-banner{display:flex;gap:12px;align-items:center;padding:16px 18px;margin-block-end:24px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle);color:var(--text-secondary)}.subscription-banner>svg{flex-shrink:0;color:var(--success)}.subscription-banner strong{font-size:.85rem;font-weight:600;color:var(--text)}.subscription-banner p{font-size:.78rem;line-height:1.9;margin-block-start:3px}.subscription-banner.inactive{background:var(--warning-bg);border-color:transparent}.subscription-banner.inactive>svg{color:var(--warning)}.subscription-fields{display:flex;flex-direction:column;gap:20px;padding:0;margin:0;border:0;min-width:0}.subscription-presets{display:flex;gap:8px;flex-wrap:wrap;margin-block-start:-8px}.subscription-presets button{flex:1;min-height:36px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text-secondary);font:inherit;font-size:.78rem;padding:5px 9px;white-space:nowrap}.subscription-presets button[aria-pressed=true]{background:var(--purple-light);color:var(--accent-text);border-color:var(--purple)}.subscription-comparison{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle)}.subscription-comparison>div{display:flex;flex-direction:column;gap:5px}.subscription-comparison span{font-size:.75rem;color:var(--muted)}.subscription-comparison strong{display:flex;align-items:center;gap:8px;font-size:.83rem;font-weight:550;color:var(--text);line-height:1.9}.subscription-comparison>svg{color:var(--muted)}.subscription-comparison.ending{border-color:var(--warning);background:var(--warning-bg)}.subscription-dialog .dialog-actions{flex-wrap:wrap}@media(max-width:400px){.subscription-dialog .form-row{grid-template-columns:minmax(0,1fr)}}.telegram-settings{min-width:0}.telegram-settings .panel-heading{margin:0;gap:16px;padding:22px 24px}.telegram-settings h2{display:flex;align-items:center;gap:9px}.telegram-content{padding:22px 24px 24px;display:flex;flex-direction:column;align-items:stretch;gap:20px;line-height:1.9;text-align:start}.telegram-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;list-style:none;margin:0;padding:0}.telegram-topics li{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:14px}.telegram-topic-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:var(--purple-light);color:var(--accent-text)}.telegram-topics li>div{min-width:0}.telegram-topics strong{display:block;font-size:.85rem;font-weight:650;line-height:1.8;color:var(--text)}.telegram-topics p{margin:5px 0 0;font-size:.8rem;line-height:1.95;color:var(--text-secondary);overflow-wrap:anywhere}.telegram-note{font-size:.78rem;color:var(--muted);margin:0}.telegram-warning{font-size:.82rem;color:var(--warning);background:var(--warning-bg);border-radius:10px;padding:12px 14px;width:100%;margin:0;overflow-wrap:anywhere}.telegram-connected{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;font-size:.85rem;flex-wrap:wrap}.telegram-connected>span{min-width:0;overflow-wrap:anywhere}.telegram-connected>.button{flex-shrink:0}.telegram-pending{background:var(--surface-subtle);border:1px solid var(--line);border-radius:14px;padding:18px;width:100%;font-size:.85rem}.telegram-pending p{margin:0 0 12px}.telegram-pending small{display:block;color:var(--muted);margin-top:12px;font-size:.75rem}.telegram-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.telegram-actions a{text-decoration:none;max-width:100%}.telegram-content>.button{align-self:flex-start;max-width:100%;white-space:normal}.telegram-content>p[role=status]{display:flex;align-items:center;gap:8px;margin:0}.telegram-help{display:flex;align-items:flex-start;gap:9px;border-block-start:1px solid var(--line);padding-block-start:16px;color:var(--muted)}.telegram-help>svg{flex-shrink:0;margin-block-start:4px}.telegram-help>div{min-width:0;display:grid;gap:4px}.telegram-help p{margin:0;font-size:.75rem;line-height:1.95;overflow-wrap:anywhere}.telegram-help bdi{display:inline-block;color:var(--text-secondary);font-family:ui-monospace,monospace;font-size:.9em}@media(max-width:600px){.telegram-settings .panel-heading{padding:18px;align-items:flex-start}.telegram-content{padding:18px;gap:18px}.telegram-topics{grid-template-columns:minmax(0,1fr);gap:10px}.telegram-topics li{padding:14px}.telegram-actions{align-items:stretch}.telegram-actions .button,.telegram-connected>.button,.telegram-content>.button{width:100%}.telegram-connected{align-items:flex-start;gap:12px}}.auth-story.auth-story-designed{--intro-shadow:0 24px 64px #24264a0b,0 4px 18px #24264a05;position:relative;isolation:isolate;overflow:hidden;align-items:stretch;gap:26px;padding:36px clamp(28px,3.3vw,64px);background:radial-gradient(ellipse at 92% 8%,color-mix(in srgb,var(--purple) 10%,transparent),transparent 58%),radial-gradient(ellipse at 3% 92%,#83bed20c,transparent 56%),var(--surface-subtle)}.auth-story-designed:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset-block-start:24%;inset-inline-end:-120px;width:300px;height:300px;border-radius:50%;background:var(--purple);opacity:.055;filter:blur(70px)}:root[data-theme=dark] .auth-story-designed{--intro-shadow:0 28px 80px #08091240,0 4px 18px #08091218}.auth-story-designed>.brand{align-self:flex-start}.auth-story-designed .auth-showcase{width:100%;max-width:600px;margin:auto}.auth-showcase-card{overflow:hidden;position:relative;border-radius:34px;border:1px solid color-mix(in srgb,var(--line) 70%,transparent);background:linear-gradient(150deg,color-mix(in srgb,var(--surface) 96%,var(--purple)),var(--surface) 58%);box-shadow:var(--intro-shadow);animation:intro-card-arrive .7s cubic-bezier(.2,.75,.25,1) both}.auth-showcase-copy{padding:30px 30px 0}.auth-showcase-tag{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:color-mix(in srgb,var(--purple-light) 78%,var(--surface));color:var(--accent-text);font-size:.75rem;line-height:1.8}.auth-showcase-tag svg{flex-shrink:0;opacity:.8}.auth-showcase-copy h1{margin:18px 0 12px;color:var(--text);font-size:clamp(1.5rem,2.15vw,2.1rem);font-weight:650;line-height:1.85}.auth-showcase-copy h1 span{color:var(--accent-text)}.auth-showcase-copy>p{margin:0;max-width:46ch;color:var(--muted);font-size:.875rem;line-height:2.15}.auth-chat-preview{display:flex;flex-direction:column;gap:14px;margin:24px 24px 0;padding:19px;border:0;border-radius:25px;background:linear-gradient(155deg,color-mix(in srgb,var(--surface-subtle) 82%,var(--surface)),color-mix(in srgb,var(--purple-light) 22%,var(--surface-subtle)))}.auth-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block-end:5px;color:var(--muted);font-size:.6875rem;line-height:1.8}.auth-preview-heading>span:first-child{display:inline-flex;align-items:center;gap:7px}.auth-preview-heading svg{flex-shrink:0;opacity:.8}.auth-preview-keyword{padding:5px 10px;border:0;border-radius:999px;background:var(--surface);white-space:nowrap;box-shadow:0 2px 8px #12172f04}.auth-preview-keyword strong{color:var(--accent-text);font-weight:550}.auth-chat-message{display:flex;align-items:center;gap:10px;max-width:94%;padding:13px 17px;border:0;border-radius:21px;font-size:.8125rem;line-height:2.05;box-shadow:0 5px 16px #15183207}.auth-chat-message p{margin:0}.auth-chat-message strong{font-weight:550;color:var(--text)}.auth-chat-message svg{flex-shrink:0;opacity:.8}.auth-chat-incoming{align-self:flex-start;background:var(--surface);color:var(--text-secondary);border-start-start-radius:9px;animation:intro-bubble-arrive .55s .25s cubic-bezier(.2,.75,.25,1) both}.auth-chat-outgoing{align-self:flex-end;background:var(--purple-light);color:var(--accent-text);border-end-end-radius:9px;animation:intro-bubble-arrive .55s .8s cubic-bezier(.2,.75,.25,1) both}.auth-preview-automation{display:flex;align-items:center;justify-content:center;gap:10px;margin-inline:14px;color:var(--muted);font-size:.6875rem;animation:intro-bubble-arrive .45s .5s ease-out both}.auth-preview-automation>span:first-child,.auth-preview-automation>span:last-child{flex:1;max-width:64px;height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent)}.auth-preview-automation>span:nth-child(2){display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--surface) 72%,transparent);white-space:nowrap}.auth-preview-automation svg{color:var(--accent-text);animation:intro-spark 1s .6s ease-in-out both}.auth-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:9px;margin:0;padding:20px;border:0}.auth-feature-grid>li{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:13px 10px;border:0;border-radius:18px;background:color-mix(in srgb,var(--surface-subtle) 76%,var(--surface));animation:intro-bubble-arrive .5s .75s ease-out both}.auth-feature-grid>li:nth-child(2){animation-delay:.85s}.auth-feature-grid>li:nth-child(3){animation-delay:.95s}.auth-feature-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border-radius:11px;background:var(--purple-light);color:var(--accent-text)}.auth-feature-grid>li>span:last-child{display:flex;flex-direction:column;gap:5px;min-width:0}.auth-feature-grid strong{color:var(--text-secondary);font-size:.75rem;line-height:1.8;font-weight:550}.auth-feature-grid small{color:var(--muted);font-size:.6875rem;line-height:1.85}.auth-story-designed .auth-designed-footer{justify-content:center;margin:0;font-size:.75rem;line-height:1.9}@keyframes intro-card-arrive{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes intro-bubble-arrive{0%{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes intro-spark{0%,to{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.13)}}@media(min-width:901px)and (max-width:1180px){.auth-story.auth-story-designed{padding:28px 24px;gap:22px}.auth-showcase-copy{padding:24px 24px 0}.auth-chat-preview{margin-inline:18px;padding:15px}.auth-feature-grid{gap:7px;padding:16px}.auth-feature-grid>li{flex-direction:column;gap:9px;padding:12px 10px}}@media(max-width:900px){.auth-story.auth-story-designed{padding:22px 24px;gap:0;background:var(--surface-subtle)}.auth-story-designed:before{display:none}.auth-story-designed>.brand{align-self:stretch}.auth-story-designed .auth-showcase,.auth-story-designed .auth-designed-footer{display:none}}@media(prefers-reduced-motion:reduce){.auth-showcase-card,.auth-chat-message,.auth-preview-automation,.auth-preview-automation svg,.auth-feature-grid>li{animation:none!important;opacity:1;transform:none}}.automation-image-picker{border:0;padding:0;margin:0;min-width:0}.automation-image-picker legend{font-size:13px;font-weight:500;margin-block-end:10px;padding:0}.automation-image-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.automation-image-controls>.button{min-height:46px}.automation-image-preview{display:flex;align-items:center;gap:12px;margin-block-start:12px;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.automation-image-preview img{width:76px;height:76px;object-fit:contain;border-radius:10px;flex-shrink:0}.automation-image-preview>div{flex:1;min-width:0}.automation-image-preview strong{display:block;font-size:13px;font-weight:500}.automation-image-preview small{display:block;font-size:11px;color:var(--muted);margin-block-start:5px}.automation-image-hint{display:block;font-size:11px;color:var(--muted);line-height:1.9;margin-block-start:9px}.account-limit-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin-block-end:18px;line-height:1.9}@media(max-width:480px){.automation-image-controls{align-items:stretch;flex-direction:column}.automation-image-preview img{width:64px;height:64px}.automation-image-preview{gap:9px}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.block{display:block}.resize{resize:both}}.account-workload{color:var(--muted);overflow-wrap:anywhere;gap:.4rem;margin-block:.75rem 1rem;font-size:.875rem;display:grid}.account-workload small{font-size:inherit}.post-targets{border:1px solid var(--line);border-radius:.75rem;max-block-size:16rem;min-inline-size:0;padding:1rem;overflow:auto}.post-targets legend{padding-inline:.4rem;font-weight:600}.post-targets p{color:var(--muted);margin-block:0 .75rem;font-size:.875rem}.post-targets .checkbox-field{overflow-wrap:anywhere;align-items:center;min-block-size:2.75rem}.post-targets bdi{overflow-wrap:anywhere;min-inline-size:0}.status-queued{background:var(--purple-light);color:var(--purple)}@font-face{font-family:Vazirmatn;src:url(/assets/fonts/Vazirmatn.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}:root{color:#253047;font-synthesis:none;--purple:#6d4cdb;--purple-dark:#5736bf;--purple-light:#f0ebfc;--muted:#68748b;--line:#e8eaf2;--sidebar:248px;background:#f7f8fc;font-family:Vazirmatn,Tahoma,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0;line-height:1.8}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #9e88ed}svg{flex-shrink:0}h1,h2,h3,p{margin:0}bdi{unicode-bidi:isolate}img{max-width:100%;display:block}a{color:var(--purple)}input,select,textarea{color:#253047;background:#fff;border:1px solid #d9deea;border-radius:10px;width:100%;min-width:0;max-width:100%;padding:11px 13px;font-size:14px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#8669e0;outline:none;box-shadow:0 0 0 3px #6d4cdb14}input::placeholder,textarea::placeholder{color:#7d8799;opacity:1}input[type=password]::placeholder{text-align:right}textarea{resize:vertical;min-height:96px}select{cursor:pointer}input[type=checkbox],input[type=radio]{width:19px;height:19px;accent-color:var(--purple);flex-shrink:0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:#fff;padding:10px;position:fixed;inset-block-start:8px;inset-inline-start:12px;transform:translateY(-160%)}.skip-link:focus{transform:none}.button{white-space:normal;text-align:center;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;font-size:14px;font-weight:550;line-height:1.6;transition:background .15s,border-color .15s;display:inline-flex}.primary{background:var(--purple);color:#fff}.primary:hover:enabled{background:var(--purple-dark)}.secondary{color:#39465e;background:#fff;border-color:#dce1ec}.secondary:hover:enabled{background:#f6f4fc;border-color:#b9a9e8}.full{width:100%}.icon-button{color:#66718a;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:10px;display:inline-flex}.icon-button:hover{color:var(--purple);background:#f0edf8}.text-button{color:var(--purple);background:0 0;border:0;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:6px 0;font-size:13px;font-weight:550;display:inline-flex}.count,.subtle-pill{color:#56627a;white-space:nowrap;background:#f1f2f7;border-radius:8px;justify-content:center;align-items:center;padding:3px 10px;font-size:12px;display:inline-flex}.danger-quiet{color:#b33d51;background:#fff0f2}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sidebar{width:var(--sidebar);border-inline-end:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;padding:30px 18px 0;display:flex;position:fixed;inset-block:0;inset-inline-start:0}.brand{align-items:center;gap:11px;padding:0 10px;display:flex}.brand-mark{background:var(--purple);color:#fff;border-radius:13px;justify-content:center;align-items:center;width:43px;height:43px;display:flex}.brand strong{font-size:26px;font-weight:800;line-height:1.3}.brand small{color:var(--muted);margin-block-start:3px;font-size:11px;font-weight:400;display:block}.workspace-chip{background:#f8f9fc;border:1px solid #edf0f5;border-radius:12px;align-items:center;gap:10px;margin:23px 0 14px;padding:17px 10px;display:flex}.workspace-chip>div,.profile>div{flex:1;min-width:0}.workspace-chip strong,.profile strong{overflow-wrap:anywhere;font-size:13px;display:block}.workspace-chip small,.profile small{color:var(--muted);font-size:12px;display:block}.avatar{width:37px;height:37px;color:var(--purple);background:#eee9fc;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;font-size:16px;font-weight:650;display:inline-flex}.avatar.large{width:52px;height:52px;font-size:23px}.sidebar nav{flex-direction:column;gap:5px;display:flex}.sidebar nav button,.settings-nav{text-align:start;color:#667087;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;width:100%;min-height:48px;padding:11px 12px;font-size:14px;display:flex}.sidebar nav button.active,.settings-nav.active{color:var(--purple);background:var(--purple-light);font-weight:600}.sidebar nav button:hover,.settings-nav:hover{background:#f6f4fc}.sidebar nav button b{margin-inline-start:auto;font-size:12px;font-weight:500}.sidebar-bottom{margin-block-start:auto;padding-block-start:24px}.profile{border-block-start:1px solid var(--line);align-items:center;gap:9px;margin-block-start:16px;padding:19px 0;display:flex}.profile .icon-button{min-width:36px;padding:6px}.main-shell{min-width:0;margin-inline-start:var(--sidebar)}.topbar{border-block-end:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:16px;height:78px;padding:0 36px;display:flex}.breadcrumbs{align-items:center;gap:10px;min-width:0;font-size:13px;display:flex}.breadcrumbs>span{color:var(--muted)}.breadcrumbs strong{font-size:13px;font-weight:500}.service{white-space:nowrap;color:#7a6771;align-items:center;gap:7px;font-size:12px;display:flex}.service i,.status i{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.service.online{color:#28835e}.mobile-menu{display:none}.main-shell main{min-width:0;max-width:1600px;margin-inline:auto;padding:30px 36px 0}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-block-end:27px;display:flex}.page-heading h1{font-size:25px;font-weight:750;line-height:1.7}.page-heading p{color:var(--muted);margin-block-start:5px;font-size:14px}.heading-actions{flex-shrink:0;gap:10px;display:flex}.footer{border-block-start:1px solid var(--line);color:#6f7b90;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-block-start:32px;padding:20px 0;font-size:12px;display:flex}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-block-end:24px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;padding:20px}.stat-top{color:#57637b;justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.stat-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.stat-icon.purple{color:#7954d0;background:#f0ebfb}.stat-icon.blue{color:#4b82d3;background:#ecf3ff}.stat-icon.orange{color:#bf873a;background:#fff5e4}.stat-icon.green{color:#3a9579;background:#e8f7f1}.stat-card>strong{font-variant-numeric:tabular-nums;margin-block-start:9px;font-size:32px;font-weight:700;line-height:1.6;display:block}.stat-card>small{color:var(--muted);margin-block-start:3px;font-size:12px;display:block}.overview-grid{grid-template-columns:minmax(0,1fr) 304px;gap:24px;display:grid}.overview-main,.overview-aside{flex-direction:column;gap:22px;min-width:0;display:flex}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;overflow:hidden}.panel-heading{border-block-end:1px solid #f0f1f6;justify-content:space-between;align-items:center;gap:15px;padding:21px 23px;display:flex}.panel-heading>div{min-width:0}.panel-heading h2{overflow-wrap:anywhere;font-size:16px;font-weight:650}.panel-heading p{color:var(--muted);margin-block-start:4px;font-size:13px}.empty{text-align:center;flex-direction:column;align-items:center;padding:36px 22px;display:flex}.empty-icon{color:#8a71ce;background:#f4f1fc;border-radius:17px;justify-content:center;align-items:center;width:56px;height:56px;margin-block-end:14px;display:flex}.empty h3{font-size:16px;font-weight:600}.empty p{color:var(--muted);max-width:380px;margin:7px 0 19px;font-size:14px}.journey{padding:6px 22px 13px}.journey-step{text-align:start;background:0 0;border:0;border-block-end:1px solid #f1f2f6;align-items:center;gap:13px;width:100%;padding:14px 0;display:flex}.journey-step:last-child{border:0}.journey-step>span:nth-child(2){flex:1;min-width:0}.journey-step>svg{color:#9a9fb2}.step-number{color:#8b77b5;background:#f3f1fa;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;display:flex}.journey-step.done .step-number{color:#319374;background:#eaf7f1}.journey-step strong{font-size:14px;font-weight:500;display:block}.journey-step small{color:var(--muted);margin-block-start:2px;font-size:12px;display:block}.tip-card{color:#6e4fb6;background:#f0ebfb;border:1px solid #e4dcf8;border-radius:14px;padding:23px}.tip-card h3{margin-block-start:8px;font-size:16px;font-weight:650}.tip-card p{color:#6e6488;margin:7px 0;font-size:14px}.info-strip,.attention-card{border-radius:12px;align-items:flex-start;gap:11px;margin-block-end:20px;padding:16px 20px;font-size:14px;line-height:1.9;display:flex}.info-strip{color:#67568f;background:#efeffd;border:1px solid #e4e1f7}.info-strip>svg,.attention-card>svg{margin-block-start:4px}.attention-card{color:#8f642d;background:#fff6e9;border:1px solid #f4e0bd}.attention-card strong{font-size:14px}.attention-card p{font-size:13px}.rule-card{border-block-end:1px solid var(--line);grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:center;gap:16px;padding:19px 22px;display:grid}.rule-card:last-child{border:0}.rule-summary{align-items:center;gap:11px;min-width:0;display:flex}.rule-summary>div{min-width:0}.rule-icon{color:#8d68c9;background:#f0eafa;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:39px;display:flex}.rule-icon.comment{color:#6288c5;background:#eef3ff}.rule-name{text-align:start;overflow-wrap:anywhere;background:0 0;border:0;min-height:27px;padding:0;font-size:14px;font-weight:600;display:block}.rule-name:hover{color:var(--purple)}.rule-summary small{color:var(--muted);margin-block-start:3px;font-size:12px;display:block}.rule-keywords{min-width:0}.detail-label{color:var(--muted);margin-block-end:5px;font-size:11px;display:block}.keyword-list{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.keyword{color:#795bb1;overflow-wrap:anywhere;background:#f4f0fa;border-radius:6px;max-width:100%;padding:2px 8px;font-size:12px}.keyword-list small{color:var(--muted);font-size:11px}.rule-reply{grid-column:1/3;min-width:0}.reply-type{color:#68728b;align-items:center;gap:6px;font-size:12px;display:flex}.rule-reply p{-webkit-line-clamp:2;color:#6a7283;overflow-wrap:anywhere;text-align:start;-webkit-box-orient:vertical;margin-block-start:3px;font-size:13px;display:-webkit-box;overflow:hidden}.rule-actions{grid-area:1/3/3;align-items:center;gap:10px;display:flex}.enabled-cell{color:var(--muted);flex-direction:column;align-items:center;gap:7px;font-size:11px;display:flex}.switch{direction:ltr;background:#d9dfeb;border:0;border-radius:20px;flex-shrink:0;width:39px;height:23px;padding:3px;display:block}.switch span{background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .15s;display:block;box-shadow:0 1px 3px #0001}.switch.on span{transform:translate(16px)}.table-toolbar{border-block-end:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:20px 22px;display:flex}.search-field{color:#8d95a9;border:1px solid #d9deea;border-radius:10px;flex:1;align-items:center;gap:9px;min-width:180px;padding-inline:12px;display:flex}.search-field:focus-within{border-color:#8669e0;box-shadow:0 0 0 3px #6d4cdb14}.search-field input{box-shadow:none;background:0 0;border:0;padding-inline:0}.table-toolbar>select{width:auto;max-width:220px}.table-toolbar>.subtle-pill{margin-inline-start:auto}.activity-empty{color:#8e81a7;align-items:center;gap:15px;padding:30px 23px;display:flex}.activity-empty strong{color:#46536a;font-size:14px;font-weight:500}.activity-empty p{color:var(--muted);margin-block-start:4px;font-size:13px}.activity-row{border-block-end:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px 23px;display:grid}.activity-row:last-child{border:0}.activity-icon{color:#8a69b7;background:#f0eafa;border-radius:11px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.activity-icon.sent{color:#288a62;background:#eaf7f0}.activity-detail{min-width:0}.activity-detail strong{overflow-wrap:anywhere;font-size:14px;font-weight:500}.activity-detail p{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.activity-detail small{color:#967043;overflow-wrap:anywhere;margin-block-start:5px;font-size:12px;display:block}.activity-row time{color:var(--muted);grid-column:2/4;margin-block-start:-7px;font-size:11px}.status{color:#6e7385;white-space:normal;text-align:center;background:#f1f3f8;border-radius:7px;justify-content:center;align-items:center;gap:6px;max-width:100%;padding:4px 9px;font-size:11px;line-height:1.8;display:inline-flex}.status-connected,.status-sent{color:#2e8260;background:#eaf7f0}.status-running,.status-preview{color:#7652b1;background:#f1ebfa}.status-live{color:#326ba2;background:#eaf2fb}.status-limited,.status-error,.status-uncertain,.status-pending,.status-partial,.status-verification,.status-two_factor{color:#946b33;background:#fff3df}.preview-panel form{flex-direction:column;gap:15px;padding:20px;display:flex}.segmented{background:#f1f2f8;border-radius:10px;gap:4px;padding:4px;display:flex}.segmented button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.segmented button.selected{color:var(--purple);background:#fff;box-shadow:0 1px 5px #2b1e5310}.preview-result{min-height:72px;color:var(--muted);padding:0 20px 22px;font-size:13px}.match-label{color:#288563;align-items:center;gap:8px;margin-block-end:12px;font-size:12px;display:flex}.message-bubble{color:#584879;overflow-wrap:anywhere;background:#f1ebfb;border-radius:12px 0 12px 12px;padding:13px}.message-bubble p{white-space:pre-wrap;text-align:start}.message-bubble img{object-fit:contain;border-radius:8px;max-height:240px;margin-block-start:10px}.accounts-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:20px;display:grid}.account-card,.add-account-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;padding:24px}.account-top{justify-content:space-between;align-items:center;margin-block-end:17px;display:flex}.instagram-avatar{color:#9a6bbd;background:#f3eafb;border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.account-card h2{overflow-wrap:anywhere;text-align:start;font-size:18px;font-weight:650}.account-handle{color:var(--muted);margin:3px 0 14px;font-size:13px}.account-badges{flex-wrap:wrap;gap:7px;display:flex}.account-note{color:var(--muted);overflow-wrap:anywhere;min-height:64px;padding:15px 0;font-size:13px}.account-metadata{color:var(--muted);border-block-start:1px solid #eff0f5;justify-content:space-between;align-items:center;gap:10px;padding:15px 0;font-size:12px;display:flex}.account-metadata>span:first-child{align-items:center;gap:6px;display:flex}.account-actions{gap:10px;display:flex}.account-actions .button{flex:1;padding-inline:10px}.add-account-card{color:#7d65a1;background:#fcfbff;border:1px dashed #c9bfdd;flex-direction:column;justify-content:center;align-items:center;min-height:280px;display:flex}.add-account-card>span{background:#f2edfb;border-radius:50%;margin-block-end:17px;padding:14px;display:flex}.add-account-card strong{font-size:15px;font-weight:550}.add-account-card small{color:var(--muted);margin-block-start:6px;font-size:12px}.media-grid{grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:20px;display:grid}.media-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;overflow:hidden}.media-image{background:#f0eef7;justify-content:center;align-items:center;height:230px;padding:10px;display:flex}.media-image img{object-fit:contain;width:100%;height:100%}.media-meta{align-items:center;gap:10px;padding:15px;display:flex}.media-meta>div{flex:1;min-width:0}.media-meta strong{overflow-wrap:anywhere;font-size:14px;font-weight:500;display:block}.media-meta small{color:var(--muted);margin-block-start:4px;font-size:11px;display:block}.delete-confirm{color:#a54555;background:#fff1f2;justify-content:space-between;gap:10px;padding:10px 16px;font-size:12px;display:flex}.delete-confirm button{font:inherit;color:inherit;background:0 0;border:0;min-height:30px}.workspace-grid{flex-direction:column;gap:22px;max-width:900px;display:flex}.profile-settings{align-items:center;gap:15px;padding:24px;display:flex}.profile-settings>div{flex:1;min-width:0}.profile-settings h3{overflow-wrap:anywhere;font-size:16px;font-weight:600}.profile-settings p{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.customer-row{border-block-end:1px solid var(--line);align-items:center;gap:13px;padding:17px 23px;display:flex}.customer-row:last-child{border:0}.customer-row>div{flex:1;min-width:0}.customer-row strong{overflow-wrap:anywhere;font-size:14px;font-weight:500;display:block}.customer-row small{color:var(--muted);overflow-wrap:anywhere;font-size:12px;display:block}.settings-notes{color:var(--muted);padding:22px 24px;font-size:14px}.settings-notes p+p{margin-block-start:12px}.auth-layout{background:#fff;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);min-height:100dvh;display:grid}.auth-story{background:#f0ebfb;flex-direction:column;padding:42px 48px;display:flex}.auth-story .brand{padding:0}.auth-message{max-width:520px;margin-block:auto;padding:50px 0}.auth-tag{color:#7855bb;margin-block-end:19px;font-size:13px;display:inline-block}.auth-message h1{color:#38314d;font-size:34px;font-weight:800;line-height:1.9}.auth-message em{color:var(--purple);font-style:normal}.auth-message>p{color:#73668a;max-width:390px;margin-block-start:15px;font-size:15px;line-height:2.2}.auth-illustration{flex-direction:column;align-items:center;gap:10px;margin:32px 0;display:flex}.floating-message{border-radius:14px;align-items:center;gap:10px;max-width:100%;padding:14px 17px;font-size:13px;display:flex}.floating-message.incoming{color:#665574;background:#fff;align-self:flex-start}.floating-message.outgoing{background:var(--purple);color:#fff;align-self:flex-end}.relay-connector{color:#9b83cd}.auth-features{color:#726486;flex-direction:column;gap:10px;font-size:13px;display:flex}.auth-features span{align-items:center;gap:9px;display:flex}.auth-features svg{color:#9374cb}.auth-bottom{color:#847493;align-items:center;gap:9px;font-size:12px;display:flex}.auth-form-side{justify-content:center;align-items:center;padding:48px 38px;display:flex}.auth-form{width:100%;max-width:380px}.auth-form-icon{width:54px;height:54px;color:var(--purple);background:#f2edfc;border-radius:16px;justify-content:center;align-items:center;margin-block-end:24px;display:flex}.auth-form h2{font-size:26px;font-weight:750}.auth-form>p{color:var(--muted);margin:8px 0 28px;font-size:14px}.auth-form form{flex-direction:column;gap:20px;display:flex}.auth-footnote{color:#748097;justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex;margin-block-start:22px!important}.boot{min-height:100dvh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:22px;display:flex}.dialog-overlay,.nav-overlay{z-index:40;background:#20263c65;animation:.15s fade;position:fixed;inset:0}.dialog-content{z-index:50;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fff;border:1px solid #e5e1ee;border-radius:17px;width:min(490px,100vw - 32px);max-height:calc(100dvh - 48px);padding:29px;position:fixed;inset-block-start:50%;inset-inline-start:50%;overflow-y:auto;transform:translate(50%,-50%);box-shadow:0 20px 80px #22144125}.dialog-content.wide{width:min(660px,100vw - 32px)}.dialog-title{padding-inline-end:35px;font-size:21px;font-weight:700}.dialog-description{color:var(--muted);margin:8px 0 24px;font-size:13px;line-height:2}.dialog-close{position:absolute;inset-block-start:17px;inset-inline-end:15px}.dialog-form{flex-direction:column;gap:20px;display:flex}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field>span,.trigger-field legend{color:#435069;font-size:14px;font-weight:550}.field>small,.reply-editor>small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.9}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-note{color:#75628d;background:#f4f1fb;border-radius:10px;gap:10px;padding:14px;font-size:13px;display:flex}.form-note>svg{margin-block-start:3px}.input-prefix{color:var(--muted);border:1px solid #d9deea;border-radius:10px;align-items:center;gap:6px;padding-inline-start:13px;display:flex;overflow:hidden}.input-prefix:focus-within{border-color:#8669e0;box-shadow:0 0 0 3px #6d4cdb14}.input-prefix input{box-shadow:none;border:0;padding-inline-start:2px}.trigger-field{border:0;min-width:0;margin:0;padding:0}.trigger-field legend{margin-block-end:10px}.trigger-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.trigger-options>label{cursor:pointer;color:#8c829d;border:1px solid #dfe2ec;border-radius:11px;align-items:center;gap:11px;min-width:0;padding:15px 12px;display:flex}.trigger-options>label.selected{color:var(--purple);background:#f6f2fd;border-color:#9477de}.trigger-options>label:focus-within{outline-offset:3px;outline:3px solid #b7a4ea}.trigger-options>label>span{flex:1;min-width:0}.trigger-options strong{font-size:13px;font-weight:550;display:block}.trigger-options small{color:var(--muted);margin-block-start:3px;font-size:11px;display:block}.reply-editor{background:#f8f9fc;border:1px solid #e9ecf4;border-radius:12px;flex-direction:column;gap:17px;padding:19px;display:flex}.reply-editor h3{align-items:center;gap:9px;font-size:14px;font-weight:600;display:flex}.attached-preview{object-fit:contain;border-radius:9px;align-self:center;max-height:200px}.checkbox-field{color:#526078;cursor:pointer;align-items:flex-start;gap:10px;font-size:13px;display:flex}.checkbox-field input{margin:3px 0 0}.advanced-settings{border:1px solid var(--line);border-radius:10px;padding:12px 15px}.advanced-settings summary{color:#69768d;cursor:pointer;font-size:13px}.advanced-settings .field{margin-block-start:14px}.connect-account{color:#8b69b2;overflow-wrap:anywhere;background:#f5f1fb;border-radius:11px;align-items:center;gap:13px;padding:18px;display:flex}.disconnect-row{border-block-start:1px solid var(--line);justify-content:space-between;align-items:center;gap:13px;padding-block-start:19px;display:flex}.disconnect-row strong{font-size:13px;font-weight:550;display:block}.disconnect-row small{color:var(--muted);margin-block-start:4px;font-size:12px;display:block}.disconnect-row .button{flex-shrink:0}.live-summary{color:var(--purple);background:#f5f0fc;border-radius:12px;align-items:flex-start;gap:15px;padding:19px;display:flex}.live-summary>svg{margin-block-start:5px}.live-summary strong{color:#4d3d6a;font-size:16px;display:block}.live-summary p,.live-summary small{color:#736282;overflow-wrap:anywhere;margin-block-start:5px;font-size:13px;display:block}.live-explainer{color:var(--muted);font-size:14px;line-height:2}.confirmation{color:#8a6639;background:#fff7e9;border:1px solid #f3e4c8;border-radius:10px;padding:14px;font-size:14px}.form-error{color:#a44257;overflow-wrap:anywhere;background:#fff1f2;border:1px solid #f5d8de;border-radius:10px;align-items:flex-start;gap:9px;padding:13px 14px;font-size:13px;display:flex}.form-error>svg{margin-block-start:3px}.dialog-actions{border-block-start:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-block-start:3px;padding-block-start:18px;display:flex}.delete-link{color:#b05765;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;min-height:44px;margin-inline-end:auto;font-size:13px;display:flex}.toast{z-index:70;color:#2f805b;background:#fff;border:1px solid #d9e9df;border-radius:13px;align-items:center;gap:12px;max-width:min(460px,100vw - 32px);padding:13px 17px;font-size:14px;animation:.2s fade;display:flex;position:fixed;inset-block-end:25px;inset-inline-end:25px;box-shadow:0 8px 40px #27304b16}.toast>span{overflow-wrap:anywhere;flex:1;min-width:0}.toast.error{color:#a44859;border-color:#f0d5dc}.toast .icon-button{min-width:32px;min-height:32px;padding:4px}.mobile-sidebar{z-index:50;width:min(var(--sidebar),calc(100vw - 48px));outline:none;padding-block-start:45px;inset-inline-start:0;overflow-y:auto;box-shadow:-15px 0 45px #1c153020}.mobile-close{position:absolute;inset-block-start:5px;inset-inline-end:8px}@keyframes fade{0%{opacity:0}to{opacity:1}}@media(min-width:1450px){.overview-grid{grid-template-columns:minmax(0,1fr) 335px}.main-shell main{padding-block-start:38px}.stats-grid{gap:22px}.stat-card{padding:23px}}@media(max-width:1180px){:root{--sidebar:220px}.sidebar{padding-inline:12px}.main-shell main{padding:27px 24px 0}.topbar{padding-inline:24px}.overview-grid{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-top{font-size:12px}.stat-icon{width:30px;height:30px}.rule-card{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-inline:18px}.rule-summary,.rule-keywords,.rule-reply{grid-column:1}.rule-actions{flex-direction:column;grid-area:1/2/4}.auth-story{padding:35px 30px}.auth-message h1{font-size:29px}}@media(max-width:1000px){.overview-grid{grid-template-columns:minmax(0,1fr)}.overview-aside{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{font-size:14px}.auth-message h1{font-size:27px}.auth-form-side{padding-inline:28px}}@media(max-width:900px){.desktop-sidebar{display:none}.main-shell{margin-inline-start:0}.mobile-menu{display:inline-flex}.topbar{height:68px;padding-inline:20px}.page-heading h1{font-size:23px}.auth-layout{grid-template-columns:minmax(0,1fr)}.auth-story{padding:20px 24px}.auth-message,.auth-bottom{display:none}.auth-form-side{align-items:flex-start;min-height:calc(100dvh - 88px);padding:35px 24px 50px}.auth-form-icon{display:none}.auth-form h2{font-size:25px}.auth-form{max-width:420px}.auth-story .brand{justify-content:center}.auth-story .brand small{font-size:12px}}@media(max-width:600px){.main-shell main{padding:22px 16px 0}.topbar{gap:8px;padding-inline:12px}.breadcrumbs{gap:6px}.breadcrumbs>span,.breadcrumbs>svg{display:none}.breadcrumbs strong{font-size:13px}.service{gap:5px;font-size:11px}.page-heading{flex-direction:column;align-items:flex-start;gap:16px;margin-block-end:22px}.page-heading h1{font-size:23px}.page-heading p{font-size:13px;line-height:2}.heading-actions,.heading-actions>.button{width:100%}.stats-grid{gap:12px;margin-block-end:20px}.stat-card{padding:14px}.stat-top{align-items:flex-start;gap:6px;font-size:12px}.stat-icon{border-radius:8px;width:27px;height:27px}.stat-icon svg{width:17px;height:17px}.stat-card>strong{font-size:29px}.stat-card>small{font-size:11px}.overview-aside{display:flex}.overview-main,.overview-aside{gap:18px}.panel-heading{gap:10px;padding:17px 18px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:12px}.panel-heading>.button{padding:9px 11px;font-size:12px}.text-button{gap:5px;font-size:12px}.journey{padding-inline:18px}.journey-step{gap:10px}.journey-step small{font-size:12px}.rule-card{grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:18px}.rule-name{font-size:14px}.rule-actions{gap:12px}.rule-summary small{font-size:11px}.rule-keywords,.rule-reply{padding-inline-start:50px}.rule-actions .icon-button{background:#f7f5fc}.table-toolbar{gap:10px;padding:17px}.search-field{flex-basis:100%;min-width:0}.table-toolbar>select{flex:1;width:100%;min-width:0;max-width:none}.table-toolbar>.subtle-pill{margin:0}.activity-row{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:16px}.activity-row>.status{grid-column:2;justify-self:start}.activity-row time{grid-column:2;margin-block-start:0}.activity-detail p{font-size:12px}.activity-detail p>span{display:none}.activity-empty{gap:12px;padding:24px 19px}.accounts-grid{gap:17px}.account-card{padding:21px}.account-note{min-height:0}.info-strip,.attention-card{padding:14px 16px;font-size:13px}.media-grid{grid-template-columns:minmax(0,1fr);gap:18px}.media-image{height:250px}.profile-settings{flex-wrap:wrap;gap:12px;padding:20px}.profile-settings>.button{width:100%;margin-block-start:4px}.customer-row{padding:16px}.customer-row small{font-size:11px}.settings-notes{padding:20px;font-size:13px}.dialog-content,.dialog-content.wide{border-radius:14px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:24px 19px}.dialog-title{font-size:19px}.dialog-description{margin-block-end:21px;font-size:12px}.dialog-close{inset-block-start:12px;inset-inline-end:9px}.dialog-form{gap:18px}.form-row{grid-template-columns:minmax(0,1fr)}.trigger-options{grid-template-columns:minmax(0,1fr);gap:10px}.trigger-options strong{font-size:14px}.trigger-options small{font-size:12px}.reply-editor{padding:16px}.dialog-actions>.button{flex:1;min-width:0;padding-inline:10px}.dialog-actions .delete-link{flex-basis:100%;margin:0}.disconnect-row{flex-direction:column;align-items:flex-start}.disconnect-row .button{width:100%}.toast{font-size:13px;inset-block-end:16px;inset-inline-end:16px}.auth-form-side{padding:30px 23px 45px}.auth-form h2{font-size:24px}.auth-form>p{font-size:14px}.footer{margin-block-start:24px;font-size:11px}.field input,.field textarea,.field select,.search-field input{font-size:16px}.form-note,.confirmation{font-size:13px}}body{min-width:0}.sidebar{overflow-y:auto}.rule-summary small{overflow-wrap:anywhere}.switch{background:0 0;align-items:center;width:44px;height:44px;padding:6px;display:flex;position:relative}.switch.on{background:0 0}.switch:before{content:"";background:#d9dfeb;border-radius:20px;width:40px;height:24px;position:absolute;top:10px;left:2px}.switch span{z-index:1;width:18px;height:18px;position:relative}.profile .icon-button{min-width:44px}.segmented button{min-height:44px}.advanced-settings summary{align-content:center;min-height:44px}@media(max-width:600px){.rule-card{grid-template-columns:minmax(0,1fr)}.rule-summary,.rule-keywords,.rule-reply{grid-column:1}.rule-actions{border-block-start:1px solid #f0f1f6;flex-direction:row;grid-area:auto/1;justify-content:space-between;padding-block-start:10px}.rule-actions .enabled-cell{flex-direction:row;gap:9px}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}:root{color-scheme:light;color:#252a35;background:#f6f7f9;--sidebar:232px;--canvas:#f6f7f9;--surface:#fff;--surface-subtle:#f7f8fa;--surface-input:#fff;--text:#252a35;--text-secondary:#4d5665;--muted:#687181;--line:#e4e7ec;--border-input:#8792a3;--purple:#5754c7;--purple-dark:#4845af;--purple-light:#eeeffb;--accent-text:#5754c7;--on-accent:#fff;--focus-ring:#5754c724;--success:#2d7051;--success-bg:#edf6f0;--warning:#856127;--warning-bg:#fbf5e9;--danger:#ae3c50;--danger-bg:#fbf0f2;--overlay:#12172370;--shadow-sm:0 1px 2px #18212f05;--shadow-dialog:0 20px 60px #141b2b24;scrollbar-color:#bdc3ce var(--canvas)}:root[data-theme=dark]{color-scheme:dark;color:#e5e8ee;background:#111318;--canvas:#111318;--surface:#191c23;--surface-subtle:#20242d;--surface-input:#15181f;--text:#e5e8ee;--text-secondary:#c2c8d3;--muted:#a1a9b8;--line:#2e333e;--border-input:#657083;--purple:#a5a5ef;--purple-dark:#b8b8f5;--purple-light:#2a2a40;--accent-text:#b8b8f5;--on-accent:#171824;--focus-ring:#a5a5ef2b;--success:#8acba8;--success-bg:#1e3028;--warning:#e4c187;--warning-bg:#342c20;--danger:#efa5b2;--danger-bg:#39252c;--overlay:#05080eb8;--shadow-sm:0 1px 2px #0001;--shadow-dialog:0 20px 60px #0005;scrollbar-color:#535c6c var(--canvas)}body{font-size:1rem;color:var(--text);background:var(--canvas)}::selection{background:var(--purple-light);color:var(--accent-text)}:is(button,a,input,textarea,select,summary){transition:background-color .14s,color .14s,border-color .14s,box-shadow .14s}:is(button,a,summary):focus-visible{outline-color:var(--purple);outline-width:2px;outline-offset:4px}:is(.sidebar,.topbar,.panel,.account-card,.media-card,.dialog-content,.toast,.skip-link){background:var(--surface);border-color:var(--line)}:is(.panel,.account-card,.media-card){border-radius:12px;box-shadow:var(--shadow-sm)}:is(.footer,.stat-top,.reply-type,.rule-reply p,.activity-detail p,.activity-row time,.account-handle,.account-note,.account-metadata,.account-workload,.profile small,.auth-footnote){color:var(--muted)}:is(.field>span,.trigger-field legend,.checkbox-field,.advanced-settings summary,.activity-empty strong){color:var(--text-secondary)}.sidebar{padding:30px 16px 0}.brand{gap:12px;padding-inline:10px}.brand-mark{width:60px;height:46px;flex-shrink:0;border-radius:0;background:transparent;border:0;padding:0;box-shadow:none;display:inline-flex;align-items:center;justify-content:center}.brand-mark img,.auth-form-icon img{display:block;width:100%;height:100%;object-fit:contain}.brand strong{font-size:1.45rem;font-weight:700}.brand small{font-size:.75rem;line-height:1.8;margin-block-start:2px}.sidebar .brand{padding-inline:0;gap:10px}.sidebar .brand>div{min-width:0;block-size:46px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.sidebar .brand strong{line-height:1.2}.sidebar .brand small{font-size:.6875rem;line-height:1.5;margin-block-start:0;white-space:nowrap}@media(max-width:1180px){.sidebar .brand-mark{width:56px;height:44px}.sidebar .brand>div{block-size:44px}.sidebar .brand strong{font-size:1.4rem}}.sidebar nav{margin-block-start:36px;gap:6px}.sidebar nav button,.settings-nav{position:relative;min-height:46px;border-radius:8px;padding:11px 13px;font-size:.875rem;color:var(--text-secondary);gap:12px}.sidebar nav button svg,.settings-nav svg{width:19px;height:19px;stroke-width:1.7}:is(.sidebar nav button,.settings-nav):hover{background:var(--surface-subtle);color:var(--text)}:is(.sidebar nav button.active,.settings-nav.active){color:var(--accent-text);background:var(--purple-light);font-weight:600}.sidebar nav button.active:before{content:"";position:absolute;inset-inline-start:0;inset-block:14px;width:2px;border-radius:2px;background:var(--purple)}.sidebar nav button b{min-width:23px;text-align:center;font-size:.75rem;line-height:1.6}.sidebar-bottom{padding-block-start:24px}.profile{padding-block:20px;margin-block-start:18px;gap:10px}.profile strong{font-size:.875rem;font-weight:550}.avatar{width:35px;height:35px;border-radius:9px;color:var(--text-secondary);background:var(--surface-subtle);border:1px solid var(--line)}.avatar.large{width:46px;height:46px;font-size:1.25rem}.topbar{height:72px;padding-inline:36px;position:sticky;inset-block-start:0;z-index:15}.breadcrumbs{font-size:.8125rem}.breadcrumbs strong{color:var(--text-secondary);font-weight:500}.topbar-actions{display:flex;gap:18px;align-items:center;flex-shrink:0}.service{font-size:.75rem;color:var(--warning)}.service.online{color:var(--success)}.theme-toggle{color:var(--text-secondary);background:transparent;border:1px solid var(--line)}.theme-toggle:hover{background:var(--surface-subtle);color:var(--text)}.icon-button{color:var(--muted);border-radius:8px}.icon-button:hover{background:var(--surface-subtle);color:var(--accent-text)}.main-shell main{max-width:1480px;padding:36px 36px 0}.page-heading{margin-block-end:30px;gap:24px}.page-heading h1{font-size:1.7rem;font-weight:650;line-height:1.65}.page-heading p{font-size:.9375rem;line-height:1.9;margin-block-start:7px}.footer{margin-block-start:36px;padding-block:21px;font-size:.75rem}.stats-grid{gap:0;margin-block-end:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}.stat-card{border:0;border-inline-end:1px solid var(--line);border-radius:0;padding:22px 24px;background:transparent}.stat-card:last-child{border-inline-end:0}.stat-top{font-size:.875rem;align-items:center;gap:10px;min-block-size:32px}.stat-icon,.stat-icon:is(.purple,.blue,.orange,.green){width:30px;height:30px;border-radius:0;background:transparent;color:var(--muted)}.stat-icon svg{width:19px;height:19px;stroke-width:1.7}.stat-card>strong{font-size:2.1rem;font-weight:600;line-height:1.5;margin-block-start:14px;letter-spacing:-.02em;color:var(--text)}.stat-card>small{font-size:.75rem;line-height:1.9;margin-block-start:3px}.overview-grid,.overview-main,.overview-aside{gap:24px}.panel-heading{padding:22px 24px;border-color:var(--line);min-height:76px}.panel-heading h2{font-size:1rem;font-weight:600;line-height:1.8}.panel-heading p{font-size:.8125rem;line-height:1.9}.text-button{font-size:.8125rem;font-weight:500;gap:8px}.text-button:hover{color:var(--purple-dark)}.empty{padding:38px 24px}.empty-icon{width:44px;height:44px;margin-block-end:16px;border-radius:12px;background:var(--surface-subtle);color:var(--muted);border:1px solid var(--line)}.empty-icon svg{width:23px;height:23px;stroke-width:1.6}.empty h3{font-size:1rem;font-weight:550}.empty p{font-size:.875rem;line-height:2;margin-block:8px 20px}.journey{padding:4px 24px 12px}.journey-step{padding-block:16px;border-color:var(--line)}.journey-step>svg{color:var(--muted)}.journey-step strong{font-size:.875rem}.journey-step small{font-size:.75rem;line-height:1.9}.step-number{width:30px;height:30px;background:var(--surface-subtle);color:var(--muted);font-size:.8125rem;border:1px solid var(--line)}.journey-step.done .step-number{background:var(--success-bg);color:var(--success);border-color:transparent}.tip-card,.info-strip{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:12px}.tip-card{padding:22px 24px}.tip-card>svg{width:22px;height:22px;stroke-width:1.6;color:var(--purple)}.tip-card h3{font-size:.9375rem;font-weight:600;color:var(--text)}.tip-card p{color:var(--muted);font-size:.875rem;line-height:2}.info-strip{padding:15px 18px;font-size:.875rem;line-height:2}.info-strip svg{width:19px;height:19px}.rule-card{padding:22px 24px;gap:16px 20px;border-color:var(--line)}.rule-icon,.rule-icon.comment{width:36px;height:36px;background:var(--surface-subtle);color:var(--muted);border:1px solid var(--line);border-radius:10px}.rule-icon svg{width:18px;height:18px;stroke-width:1.6}.rule-name{font-size:.9375rem;font-weight:550;line-height:1.9}.rule-summary small{font-size:.75rem;line-height:1.9}.detail-label{font-size:.75rem;margin-block-end:6px}.keyword{font-size:.75rem;color:var(--text-secondary);background:var(--surface-subtle);border:1px solid var(--line);border-radius:6px;padding:2px 8px}.keyword-list small{font-size:.75rem}.rule-reply{padding-inline-start:48px}.reply-type{font-size:.75rem}.rule-reply p{font-size:.875rem;line-height:1.9;margin-block-start:5px}.rule-actions{gap:14px}.enabled-cell{font-size:.75rem}.switch,.switch.on{background:transparent}.switch:before{background:var(--border-input)}.switch.on:before{background:var(--purple)}.switch span{box-shadow:0 1px 2px #0002;background:var(--surface)}.switch.on span{background:var(--on-accent)}.table-toolbar{padding:18px 24px;gap:12px}.search-field{border-color:var(--border-input);border-radius:8px;background:var(--surface-input);color:var(--muted);padding-inline:12px}.count,.subtle-pill{background:var(--surface-subtle);color:var(--muted);border:1px solid var(--line);border-radius:6px;font-size:.75rem;padding:3px 9px}.activity-row{padding:18px 24px;gap:12px 14px}.activity-icon,.activity-icon.sent{width:34px;height:34px;background:var(--surface-subtle);color:var(--muted);border:1px solid var(--line);border-radius:9px}.activity-icon svg{width:17px;height:17px;stroke-width:1.6}.activity-detail strong{font-size:.875rem;font-weight:500}.activity-detail p{font-size:.75rem;line-height:1.9}.activity-detail small{font-size:.75rem;line-height:1.9;color:var(--warning)}.activity-row time{font-size:.75rem}.activity-empty{color:var(--muted);padding:30px 24px}.activity-empty p{font-size:.875rem;line-height:1.9}.status{font-size:.75rem;line-height:1.8;padding:3px 8px;gap:6px;border-radius:6px;color:var(--muted);background:var(--surface-subtle)}.status i{width:5px;height:5px}:is(.status-connected,.status-sent,.match-label){color:var(--success)}:is(.status-connected,.status-sent){background:var(--success-bg)}:is(.status-running,.status-preview,.status-live,.status-queued){color:var(--accent-text);background:var(--purple-light)}:is(.attention-card,.confirmation,.status-limited,.status-error,.status-uncertain,.status-pending,.status-partial,.status-verification,.status-two_factor){color:var(--warning);background:var(--warning-bg);border-color:var(--line)}.attention-card{border-inline-start:3px solid var(--warning);font-size:.875rem}.attention-card p{font-size:.875rem;line-height:1.9}.accounts-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:20px}.account-card{display:flex;flex-direction:column;padding:24px}.account-top{margin-block-end:18px}.instagram-avatar{width:44px;height:44px;background:var(--surface-subtle);color:var(--text-secondary);border:1px solid var(--line);border-radius:12px}.instagram-avatar svg{width:24px;height:24px;stroke-width:1.6}.account-card h2{font-size:1.125rem;font-weight:600}.account-handle{font-size:.8125rem;margin-block:4px 16px}.account-badges{gap:6px}.account-note{min-height:0;padding-block:18px 14px;font-size:.875rem;line-height:1.9}.account-metadata{font-size:.75rem;flex-wrap:wrap;line-height:1.9;border-color:var(--line);padding-block:13px}.account-workload{margin-block:0 4px;padding:12px 14px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;font-size:.8125rem;line-height:1.9;gap:5px}.account-actions{padding-block-start:16px;margin-block-start:auto}.add-account-card{border-color:var(--border-input);background:transparent;border-radius:12px;color:var(--text-secondary);min-height:260px}.add-account-card:hover{background:var(--surface);border-color:var(--purple)}.add-account-card>span{background:var(--surface-subtle);border:1px solid var(--line);border-radius:12px;color:var(--muted);padding:11px;margin-block-end:16px}.add-account-card strong{font-size:.9375rem;font-weight:500}.add-account-card small{font-size:.8125rem}.media-grid{gap:20px}.media-image{background:var(--surface-subtle);padding:16px}.media-meta{padding:16px 18px}.media-meta small,.customer-row small{font-size:.75rem;line-height:1.9}.workspace-grid{gap:24px;max-width:960px}.profile-settings{padding:26px}.settings-notes{font-size:.9375rem;line-height:2.1}.button{min-height:44px;padding:11px 17px;border-radius:8px;font-size:.875rem;font-weight:550;line-height:1.65}.primary{background:var(--purple);color:var(--on-accent);border-color:transparent;box-shadow:var(--shadow-sm)}.primary:hover:enabled{background:var(--purple-dark);color:var(--on-accent)}.secondary{background:var(--surface);color:var(--text-secondary);border-color:var(--border-input);box-shadow:var(--shadow-sm)}.secondary:hover:enabled{background:var(--surface-subtle);border-color:var(--muted);color:var(--text)}input,select,textarea{font-size:.9375rem;color:var(--text);border-color:var(--border-input);background:var(--surface-input);border-radius:8px;padding:11px 13px;line-height:1.7}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus,select:focus,textarea:focus,.search-field:focus-within,.input-prefix:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px var(--focus-ring)}.search-field input,.input-prefix input{background:transparent}.search-field input:focus,.input-prefix input:focus{box-shadow:none}.input-prefix{border-color:var(--border-input);background:var(--surface-input);border-radius:8px}input:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--text);box-shadow:0 0 0 100px var(--surface-input) inset}.field{gap:8px}.field>span,.trigger-field legend{font-size:.875rem;font-weight:500}.field>small,.reply-editor>small{font-size:.75rem;line-height:2}.checkbox-field{font-size:.875rem;line-height:1.9}.preview-panel form{padding:22px;gap:18px}.segmented{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;padding:3px}.segmented button{font-size:.875rem;border-radius:6px;color:var(--muted);border:1px solid transparent}.segmented button.selected{color:var(--accent-text);background:var(--surface);box-shadow:var(--shadow-sm);border-color:var(--line)}.preview-result{font-size:.875rem;line-height:2;padding:0 22px 22px}.message-bubble{background:var(--surface-subtle);border:1px solid var(--line);color:var(--text-secondary);border-radius:10px;padding:14px}.match-label{font-size:.8125rem}.dialog-overlay,.nav-overlay{background:var(--overlay)}.dialog-content{border-radius:14px;padding:28px;box-shadow:var(--shadow-dialog);width:min(510px,calc(100vw - 32px))}.dialog-content.wide{width:min(690px,calc(100vw - 32px))}.dialog-title{font-size:1.25rem;font-weight:600;line-height:1.8}.dialog-description{font-size:.875rem;line-height:1.9;margin-block:8px 24px}.dialog-close{inset-block-start:18px;inset-inline-end:16px}.dialog-form{gap:22px}.dialog-actions{padding-block-start:20px;margin-block-start:2px}.trigger-options>label{background:var(--surface);border-color:var(--border-input);border-radius:9px;color:var(--text-secondary);padding:16px 13px}.trigger-options>label.selected{background:var(--purple-light);border-color:var(--purple);color:var(--accent-text)}.trigger-options>label:focus-within{outline:2px solid var(--purple);outline-offset:3px}.trigger-options strong{font-size:.875rem;font-weight:500}.trigger-options small{font-size:.75rem;line-height:1.9}.reply-editor{background:var(--surface-subtle);border-color:var(--line);border-radius:10px;padding:20px;gap:18px}.reply-editor h3{font-weight:550}.post-targets{border-radius:9px;padding:16px}.post-targets legend{font-size:.875rem;font-weight:500}.advanced-settings{background:var(--surface);border-radius:8px;padding:8px 14px}.advanced-settings summary{font-size:.875rem}.form-note,.connect-account,.live-summary{background:var(--surface-subtle);color:var(--text-secondary);border:1px solid var(--line);border-radius:9px}.form-note{font-size:.875rem;line-height:2}.form-note>svg,.connect-account>svg,.live-summary>svg{color:var(--purple)}.live-summary strong{color:var(--text);font-size:1rem}.live-summary p,.live-summary small{font-size:.8125rem;color:var(--muted);line-height:1.9}.confirmation{font-size:.875rem;line-height:2;border-radius:8px}.danger-quiet,.delete-confirm,.form-error{color:var(--danger);background:var(--danger-bg);border-color:var(--line)}.delete-link{color:var(--danger);font-size:.875rem}.form-error{font-size:.875rem;line-height:1.9;border-radius:8px}.toast{border-color:var(--line);box-shadow:var(--shadow-dialog);color:var(--success);border-radius:10px;font-size:.875rem}.toast.error{color:var(--danger);border-color:var(--line)}.mobile-sidebar{box-shadow:var(--shadow-dialog)}.auth-layout{background:var(--surface);position:relative}.auth-story{background:var(--surface-subtle);border-inline-end:1px solid var(--line);padding:40px 48px}.auth-message{max-width:500px}.auth-message h1{font-size:2rem;font-weight:650;color:var(--text);line-height:1.9}.auth-message>p{font-size:1rem;color:var(--muted);line-height:2.1}.auth-tag{color:var(--accent-text);font-size:.8125rem}.auth-features,.auth-bottom{color:var(--muted);font-size:.8125rem}.auth-features svg,.relay-connector{color:var(--muted)}.floating-message{font-size:.875rem;border-radius:10px;padding:15px 18px}.floating-message.incoming{background:var(--surface);color:var(--text-secondary);border:1px solid var(--line)}.floating-message.outgoing{background:var(--purple-light);color:var(--accent-text);border:1px solid var(--line)}.auth-form{max-width:384px}.auth-form-icon{width:44px;height:44px;background:var(--surface-subtle);color:var(--text-secondary);border:1px solid var(--line);border-radius:11px}.auth-form h2{font-size:1.6rem;font-weight:600}.auth-form>p{font-size:.9375rem;line-height:1.9}.auth-theme{position:absolute;inset-block-start:24px;inset-inline-end:24px;z-index:1}.auth-footnote{font-size:.75rem}@media(min-width:1450px){.overview-grid{grid-template-columns:minmax(0,1fr) 330px}.main-shell main{padding-block-start:40px}}@media(max-width:1180px){:root{--sidebar:216px}.sidebar{padding-inline:12px}.main-shell main{padding:28px 24px 0}.topbar{padding-inline:24px}.stat-card{padding:20px}.rule-reply{padding-inline-start:47px}}@media(max-width:1000px){.stat-card:nth-child(2n){border-inline-end:0}.stat-card:nth-child(-n+2){border-block-end:1px solid var(--line)}}@media(max-width:900px){.topbar{height:68px;padding-inline:18px}.auth-story{padding:22px 24px;border-inline-end:0;border-block-end:1px solid var(--line)}.auth-form-side{padding:36px 24px 48px}}@media(max-width:600px){.sidebar{padding-block-start:44px}.sidebar nav{margin-block-start:26px}.topbar{padding-inline:12px}.topbar-actions{gap:10px}.main-shell main{padding:25px 16px 0}.page-heading{gap:18px;margin-block-end:24px}.page-heading h1{font-size:1.45rem}.page-heading p{font-size:.875rem;line-height:2}.stats-grid{gap:0;margin-block-end:22px}.stat-card{padding:17px 15px}.stat-top{font-size:.8125rem;min-block-size:44px;gap:5px}.stat-icon{width:22px;height:22px}.stat-icon svg{width:16px;height:16px}.stat-card>strong{font-size:1.9rem;margin-block-start:7px}.stat-card>small{font-size:.75rem}.overview-main,.overview-aside{gap:20px}.panel-heading{padding:18px;min-height:70px}.panel-heading h2{font-size:.9375rem}.panel-heading p,.text-button{font-size:.8125rem}.rule-card{padding:20px 18px;gap:14px}.rule-keywords,.rule-reply{padding-inline-start:0}.rule-name{font-size:.9375rem}.rule-summary small{font-size:.75rem}.rule-actions{padding-block-start:12px;border-color:var(--line)}.rule-actions .icon-button{background:var(--surface-subtle)}.table-toolbar,.activity-row{padding:18px}.activity-detail p{font-size:.75rem}.account-card{padding:22px}.account-workload{font-size:.8125rem;padding:12px}.info-strip{font-size:.875rem;padding:14px 16px}.dialog-content,.dialog-content.wide{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:24px 19px;border-radius:12px}.dialog-title{font-size:1.15rem}.dialog-description{font-size:.875rem;line-height:1.9}.dialog-close{inset-block-start:14px;inset-inline-end:10px}.dialog-form{gap:20px}.field input,.field textarea,.field select,.search-field input{font-size:1rem}.reply-editor{padding:16px}.toast,.confirmation,.form-note,.settings-notes{font-size:.875rem}.auth-form h2{font-size:1.45rem}.auth-theme{inset-block-start:14px;inset-inline-end:14px}.footer{font-size:.75rem;margin-block-start:28px}}@media(max-width:420px){.topbar-actions .service{font-size:0;gap:0;width:12px;justify-content:center}.topbar-actions .service i{width:6px;height:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.trigger-options{grid-template-columns:repeat(3,minmax(0,1fr))}.trigger-options>label{min-width:0}.follow-gate-settings{border:1px solid var(--line);border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:14px;margin:0;min-width:0}.follow-gate-settings legend{font-size:.875rem;padding-inline:6px;font-weight:550}.follow-gate-settings>p,.follow-gate-settings>small,.follow-preview-note{font-size:.78rem;color:var(--muted);line-height:2}.follow-preview-note{display:block;margin-block-end:10px}.status-follow_required{color:var(--accent-text);background:var(--purple-light)}@media(max-width:600px){.trigger-options{grid-template-columns:minmax(0,1fr)}.follow-gate-settings{padding:14px}}.auth-form-icon.miflow-auth-mark{width:86px;height:66px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.brand-mark img,.miflow-auth-mark img{filter:drop-shadow(0 2px 3px #1b20300d)}:root[data-theme=dark] :is(.brand-mark,.miflow-auth-mark) img{filter:brightness(0) invert(1) drop-shadow(0 2px 10px #a5a5ef26)}.brand strong[lang=en]{letter-spacing:-.035em;display:inline-block}.follow-request-preview{padding:16px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:12px;min-width:0}.follow-request-preview>strong{font-size:.8rem;color:var(--text-secondary)}.follow-request-preview>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem;line-height:2;margin:10px 0;color:var(--text)}.follow-request-preview>small{display:block;font-size:.75rem;line-height:1.9;color:var(--muted)}
