@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap");:root{--twk-bg:#f2f5f9;--twk-card:#fff;--twk-ink:#0f172a;--twk-muted:#64748b;--twk-border:#e2e8f0;--twk-primary:#3b82f6;--twk-primary-dark:#2563eb;--twk-sidebar:#fff;--twk-sidebar-muted:#64748b;--twk-sidebar-hover:#f1f5f9;--twk-sidebar-active:#e8f0ff}body,html{overflow-x:hidden}body{font-family:DM Sans,Segoe UI,sans-serif;color:var(--twk-ink)}.shell,body{background:var(--twk-bg)}.sidebar{background:var(--twk-sidebar);border-right:1px solid var(--twk-border);box-shadow:none}.sidebar .brand{border-bottom:1px solid var(--twk-border);min-height:68px}.sidebar .brand-copy{display:flex;flex-direction:row;align-items:baseline;gap:8px;line-height:1}.sidebar .brand-title{color:#0f172a;font-size:22px;letter-spacing:-.03em;font-weight:800}.sidebar .brand-version{margin-top:0;font-size:10px;font-weight:700;letter-spacing:.06em;color:#64748b;text-transform:uppercase}.sidebar-collapse{border:1px solid var(--twk-border);background:#fff;color:#475569;width:30px;height:30px}.sidebar-collapse:hover{background:#f8fafc}.nav-group-label{color:var(--twk-sidebar-muted);font-weight:700;font-size:10px;letter-spacing:.13em}.nav-link{color:#334155;border-radius:10px;border:1px solid transparent;font-size:14px;font-weight:600}.nav-link:hover{color:#0f172a;background:var(--twk-sidebar-hover);border-color:#d5deea}.nav-link.active{color:#1d4ed8;background:#e8f0ff;border-color:#bfdbfe;box-shadow:inset 3px 0 0 #3b82f6}.nav-link-icon{color:#64748b}.nav-link.active .nav-link-icon,.nav-link:hover .nav-link-icon{color:#2563eb}.nav-link-primary{background:transparent}.nav-link-primary.active{background:#e8f0ff}.nav-unread-badge{background:#ef4444;color:#fff}.topbar{min-height:70px;padding:14px 24px 12px;border-bottom:1px solid var(--twk-border);background:#fff;gap:12px}.subtitle{color:#475569;font-size:12px;font-weight:700;letter-spacing:.16em}.topbar-search{display:inline-flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid var(--twk-border);border-radius:10px;padding:0 10px;min-width:340px;max-width:520px;width:36vw;height:38px}.topbar-search svg{color:#64748b}.topbar-search input{border:0!important;outline:0;width:100%;background:transparent!important;color:#0f172a;font-size:13px}.topbar-actions{display:inline-flex;gap:8px;margin-right:4px}.topbar-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1px solid var(--twk-border);background:#fff;color:#475569}.topbar-icon-btn:hover{background:#f8fafc}.menu-toggle{border:1px solid var(--twk-border);background:#fff;color:#334155}.agency-switch-control,.profile-trigger{border-color:var(--twk-border);background:#fff}.content{padding:20px}.panel{background:var(--twk-card);border:1px solid var(--twk-border);border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.05)}.panel h2,.panel h3{color:#0f172a}.hint,.status{color:#64748b}.field input,.field select,.field textarea,.inbox-compose textarea,.inbox-detail-form input,.inbox-thread-search,.inline-input,.kanban-search input,input,select,textarea{border-color:var(--twk-border);background:#fff;color:#0f172a;border-radius:10px}.field label{color:#64748b;font-weight:700;letter-spacing:.09em}.btn-inline,.btn-primary,button{border-radius:10px}.btn-inline,.btn-primary,.profile-dropdown-link{transition:.2s ease}.btn-inline,.btn-inline.neutral{background:#334155}.btn-inline.neutral:hover,.btn-inline:hover{background:#1e293b}.btn-secondary{background:#f1f5f9;color:#0f172a;border-color:var(--twk-border)}.btn-secondary:hover{background:#e2e8f0}.embed-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.theme-alert-light{border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:16px}.theme-alert-light-title{margin:0 0 10px;color:#334155;font-size:14px;line-height:1.5}.embed-copy-status{text-align:right}@media (max-width:960px){.embed-toolbar{flex-wrap:wrap;justify-content:flex-start}.embed-copy-status{text-align:left;width:100%}}.embed-code-field{margin:0;overflow-x:auto;overflow-y:hidden;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:13px;line-height:1.6;padding:14px 16px;color:#e2e8f0}.code-box,.embed-code-field{width:100%;max-width:100%;min-width:0}.code-box{border:1px solid #1e293b;border-radius:12px;background:#0b1220;box-shadow:inset 0 0 0 1px rgba(148,163,184,.08)}.code-box code{display:inline-block;min-width:-moz-max-content;min-width:max-content}.code-placeholder{color:#94a3b8}.code-punc{color:#cbd5e1}.code-tag{color:#7dd3fc}.code-attr{color:#fbbf24}.code-op{color:#f8fafc}.code-string{color:#86efac}.field-actions-inline{display:flex;align-items:flex-end;justify-content:flex-start}.field-actions-inline .btn-inline{align-self:flex-end;min-height:44px;padding:0 18px;border-radius:12px;white-space:nowrap}.kanban-shell{gap:16px;background:#fff}.kanban-shell-head h2{font-size:29px;letter-spacing:-.02em}.kanban-chip,.kanban-shell-metrics span{background:#eef2ff;border-color:#dbe3f0;color:#334155}.kanban-filter-tab,.kanban-view-tab{background:#f8fafc;border-color:#d7deeb;color:#334155}.kanban-filter-tab.active,.kanban-view-tab.active{background:var(--twk-primary-dark);border-color:var(--twk-primary-dark)}.kanban-board-surface{background:#fff;border-color:#d9e2ef;overflow-x:auto;overflow-y:hidden;border-radius:12px;padding-top:8px}.kanban{min-width:-moz-max-content;min-width:max-content;gap:10px}.kanban-col,.kanban-col-enterprise{background:#f8fafc;border-color:#dbe4ef;border-radius:12px}.kanban-col.is-over{border-color:#2563eb;background:#e8f0ff}.kanban-col-summary,.kanban-meta-list span{color:#64748b}.kanban-quick-action{background:#e6edf8;border-color:#cfdbeb;color:#1e3a5f}.kanban-card{border-color:#dbe4ee;box-shadow:0 2px 6px rgba(15,23,42,.06);border-radius:10px}.kanban-empty{background:hsla(0,0%,100%,.65)}.inbox-panel{background:#fff;border-radius:12px}.inbox-panel-head h3{color:#0f172a}.inbox-filter-btn.active{background:var(--twk-primary-dark);border-color:var(--twk-primary-dark)}.inbox-messages{background:#f1f5f9}.inbox-msg.inbound{background:#fff}.inbox-msg.outbound{background:#dcfce7}.inbox-head-action,.inbox-head-menu,.inbox-open-card-btn{border-color:#d5dfeb;background:#fff}.inbox-head-menu-item:hover{background:#f1f5f9}.inbox-attachment-menu{border-color:#1e293b;background:#0f172a}.inbox-attachment-menu button{color:#e2e8f0}.inbox-attachment-menu button:hover{background:#1e293b}.auth-shell{background:#f2f5f9}.auth-shell-loading{padding:0}.auth-content .panel{padding:26px 22px}.auth-content .panel h2{margin-bottom:10px}.session-loader-screen{min-height:100vh;width:100%;display:grid;place-items:center}.session-loader-panel{min-height:160px}.session-loader-panel,.session-loader-spinner{display:flex;align-items:center;justify-content:center}.session-loader-spinner{width:52px;height:52px;border-radius:999px;border:1px solid #dbe3ee;background:#f8fafc;color:#4f46e5}.session-loader-spinner--plain{width:auto;height:auto;border:0;background:transparent;box-shadow:none}.auth-switch-link{margin-top:8px}@media (max-width:1200px){.content{padding:16px 14px 24px}.topbar-search{min-width:220px;width:100%;max-width:340px}}@media (max-width:860px){.topbar-actions,.topbar-search{display:none}}.shell{grid-template-columns:260px 1fr!important;background:#f3f6fb!important}.shell.sidebar-collapsed{grid-template-columns:80px 1fr!important}.sidebar{background:#fff!important;border-right:1px solid #e2e8f0!important;box-shadow:none!important}.sidebar .brand{color:#0f172a!important;border-bottom:1px solid #e2e8f0!important;min-height:66px!important}.sidebar .brand-copy{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important;line-height:1!important}.sidebar .brand-title{color:#0f172a!important;font-weight:800!important;font-size:22px!important;letter-spacing:-.03em!important}.sidebar .brand-version{margin-top:0!important;font-size:10px!important;font-weight:700!important;letter-spacing:.06em!important;color:#64748b!important;text-transform:uppercase!important}.sidebar-collapse{border:1px solid #e2e8f0!important;background:#fff!important;color:#475569!important}.nav-group-label{color:#94a3b8!important}.nav-link{color:#475569!important;border-radius:10px!important;margin:0 8px 2px!important;border:1px solid transparent!important;padding-left:14px!important}.nav-link:hover{color:#0f172a!important;background:#f1f5f9!important;border-color:#e2e8f0!important}.nav-link.active{color:#2563eb!important;background:#e8f0ff!important;border-color:#bfdbfe!important;box-shadow:inset 3px 0 0 #3b82f6!important}.nav-link-primary{margin-bottom:8px!important}.nav-link-icon{color:#64748b!important}.nav-link.active .nav-link-icon,.nav-link:hover .nav-link-icon{color:#2563eb!important}.sidebar.collapsed .nav-link .nav-tooltip{background:#fff!important;border-color:#dbe3ee!important;color:#0f172a!important}.topbar{background:#fff!important;border-bottom:1px solid #e2e8f0!important}.content{background:#f3f6fb!important}.content,.content>*,.main,.panel{width:100%!important;max-width:100%!important;min-width:0!important}.panel{border-radius:14px!important}.setup-reminder{border-color:#fde68a!important;background:#fef9c3!important}.kanban-toolbar-metrics{display:none!important}.kanban-board-surface{background:#f8fafc!important;border-color:#dbe3ee!important;overflow-y:hidden!important}.kanban-col,.kanban-col-enterprise{background:#f1f5f9!important;border-color:#dbe3ee!important;min-height:460px!important}.kanban-col.is-over{background:#e8f1ff!important;border-color:#93c5fd!important}.kanban-card{box-shadow:0 2px 8px rgba(15,23,42,.08)!important}.inbox-panel,.kanban-card{border-color:#dbe3ee!important}.inbox-panel,.inbox-panel-head{background:#fff!important}.inbox-messages{background:#f1f5f9!important}.inbox-msg.inbound{background:#fff!important;border-color:#dbe3ee!important}.inbox-msg.outbound{background:#dcfce7!important;border-color:#bbf7d0!important}body.iq-theme-dark,html.dark,html[data-theme=dark]{--twk-bg:#0b1220;--twk-card:#111827;--twk-ink:#e2e8f0;--twk-muted:#94a3b8;--twk-border:#243244;--twk-sidebar:#0f172a;--twk-sidebar-muted:#8ea2bd;--twk-sidebar-hover:#162235;--twk-sidebar-active:#1d3250}html.dark body,html[data-theme=dark] body{background:var(--twk-bg);color:var(--twk-ink)}html.dark .shell,html[data-theme=dark] .shell{background:var(--twk-bg)!important}html.dark .sidebar,html[data-theme=dark] .sidebar{background:var(--twk-sidebar)!important;border-right-color:var(--twk-border)!important}html.dark .sidebar .brand,html[data-theme=dark] .sidebar .brand{border-bottom-color:var(--twk-border)!important}html.dark .sidebar .brand-title,html.dark .subtitle,html[data-theme=dark] .sidebar .brand-title,html[data-theme=dark] .subtitle{color:#e2e8f0!important}html.dark .nav-group-label,html.dark .sidebar .brand-version,html[data-theme=dark] .nav-group-label,html[data-theme=dark] .sidebar .brand-version{color:#8ea2bd!important}html.dark .nav-link,html[data-theme=dark] .nav-link{color:#cbd5e1!important}html.dark .nav-link:hover,html[data-theme=dark] .nav-link:hover{color:#f8fafc!important;background:#162235!important;border-color:#32465f!important}html.dark .nav-link.active,html[data-theme=dark] .nav-link.active{color:#bfdbfe!important;background:#1d3250!important;border-color:#35557c!important}html.dark .topbar,html[data-theme=dark] .topbar{background:#0f172a!important;border-bottom-color:var(--twk-border)!important}html.dark .topbar-search,html[data-theme=dark] .topbar-search{background:#111b2d;border-color:var(--twk-border)}html.dark .topbar-search input,html[data-theme=dark] .topbar-search input{color:#e2e8f0}html.dark .topbar-search svg,html[data-theme=dark] .topbar-search svg{color:#94a3b8}html.dark .agency-switch-control,html.dark .menu-toggle,html.dark .profile-trigger,html.dark .topbar-icon-btn,html[data-theme=dark] .agency-switch-control,html[data-theme=dark] .menu-toggle,html[data-theme=dark] .profile-trigger,html[data-theme=dark] .topbar-icon-btn{background:#111b2d;border-color:var(--twk-border);color:#cbd5e1}html.dark .content,html[data-theme=dark] .content{background:var(--twk-bg)!important}html.dark .panel,html[data-theme=dark] .panel{background:var(--twk-card)!important;border-color:var(--twk-border)!important;box-shadow:none!important}html.dark .panel h2,html.dark .panel h3,html[data-theme=dark] .panel h2,html[data-theme=dark] .panel h3{color:#e2e8f0}html.dark .hint,html.dark .status,html[data-theme=dark] .hint,html[data-theme=dark] .status{color:#94a3b8}html.dark input,html.dark select,html.dark textarea,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#0f172a;border-color:var(--twk-border);color:#e2e8f0}html.dark .inbox-panel,html.dark .inbox-panel-head,html[data-theme=dark] .inbox-panel,html[data-theme=dark] .inbox-panel-head{background:#111827!important;border-color:var(--twk-border)!important}html.dark .inbox-messages,html[data-theme=dark] .inbox-messages{background:#0f172a!important}html.dark .inbox-msg.inbound,html[data-theme=dark] .inbox-msg.inbound{background:#1f2937!important;border-color:#334155!important;color:#e2e8f0!important}html.dark .inbox-msg.outbound,html[data-theme=dark] .inbox-msg.outbound{background:#14532d!important;border-color:#166534!important;color:#dcfce7!important}html.dark .kanban-board-surface,html[data-theme=dark] .kanban-board-surface{background:#0f172a!important;border-color:var(--twk-border)!important}html.dark .kanban-col,html.dark .kanban-col-enterprise,html[data-theme=dark] .kanban-col,html[data-theme=dark] .kanban-col-enterprise{background:#111827!important;border-color:#253248!important}html.dark .kanban-card,html[data-theme=dark] .kanban-card{background:#1f2937!important;border-color:#334155!important;color:#e2e8f0}