:root{--color-bg: #f6f8fb;--color-surface: #ffffff;--color-surface-soft: #fbfcfe;--color-primary: #2563eb;--color-primary-dark: #1d4ed8;--color-text: #111827;--color-muted: #64748b;--color-border: #e2e8f0;--color-border-strong: #cbd5e1;--color-purple: #6d28d9;--color-green: #059669;--color-orange: #ea580c;--color-amber: #d97706;--color-teal: #0f766e;--radius-card: 8px;--radius-pill: 999px;--shadow-card: 0 8px 24px rgba(15, 23, 42, .06);--shadow-soft: 0 10px 35px rgba(15, 23, 42, .08)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--color-bg);color:var(--color-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar-shell{position:sticky;top:0;z-index:30}.impersonation-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;padding:8px 28px;border:1px solid #fecaca;border-top:0;background:#fef2f2;color:#7f1d1d;font-size:14px;font-weight:750;max-width:150vh;margin-inline:auto}.impersonation-banner strong{color:#991b1b}.impersonation-banner button{min-height:30px;padding:0 12px;border:1px solid #fca5a5;border-radius:8px;background:#fff;color:#991b1b;font-weight:800}.impersonation-banner button:hover{border-color:#ef4444;background:#fee2e2}.topbar{position:static;display:grid;grid-template-columns:max-content minmax(280px,1fr) auto;align-items:center;gap:24px;height:78px;padding:0 28px;border-bottom:1px solid var(--color-border);background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 2px 14px #0f172a0a;max-width:150vh;margin-inline:auto}.topbar-left,.topbar-nav,.topbar-actions,.user-chip,.topbar-tool,.section-header>div,.workspace-title,.widget-header,.card-footer,.workspace-row,.approval-row,.alert-row,.modal-header,.modal-actions,.workspace-footer{display:flex;align-items:center}.topbar-left{gap:14px;min-width:0}.topbar-nav{gap:6px;margin-left:auto}.topbar-left h1{margin:0;overflow:hidden;font-size:clamp(17px,1.3vw,22px);font-weight:700;text-overflow:ellipsis;white-space:nowrap}.company-name{font-size:24px;letter-spacing:0}.topbar-divider{width:1px;height:38px;background:var(--color-border-strong)}.brand-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain;display:block}.icon-button,.favorite-button,.suggestion-star,.workspace-unfavorite{display:inline-grid;width:36px;height:36px;place-items:center;border:0;border-radius:8px;background:transparent;color:#334155}.icon-button svg,.topbar-tool svg,.tab svg,.filter-dropdown-button svg,.filter-check svg,.section-header svg,.button svg,.workspace-row svg,.favorite-button svg,.suggestion-star svg,.workspace-unfavorite svg{width:19px;height:19px}.icon-button:hover,.favorite-button:hover,.suggestion-star:hover,.workspace-unfavorite:hover{background:#eef4ff;color:var(--color-primary)}.icon-button.danger{color:#b91c1c}.icon-button.danger:hover{background:#fee2e2;color:#991b1b}.searchbar{display:flex;align-items:center;gap:12px;min-width:0;height:48px;padding:0 14px;border:1px solid var(--color-border);border-radius:8px;background:#fff;box-shadow:inset 0 1px 2px #0f172a08}.searchbar svg{width:22px;height:22px;color:#475569}.searchbar input{width:100%;min-width:80px;border:0;outline:0;color:var(--color-text)}.searchbar kbd{flex:0 0 auto;padding:4px 8px;border:1px solid var(--color-border);border-radius:6px;background:#f8fafc;color:#475569;font-size:12px}.sso-login-form{display:grid;gap:12px;width:min(380px,calc(100vw - 36px))}.sso-login-form label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:800;text-align:left}.sso-login-form input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--color-border);border-radius:8px;outline:0;color:var(--color-text);font-weight:600}.sso-login-form input:focus{border-color:#bfdbfe;box-shadow:0 0 0 3px #2563eb14}.sso-sign-in{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:0 16px;border:0;border-radius:8px;background:var(--color-primary);color:#fff;font-weight:800}.sso-sign-in svg{width:18px;height:18px}.sso-sign-in:hover{background:var(--color-primary-dark)}.topbar-actions{justify-content:flex-end;gap:14px}.user-menu{position:relative}.topbar-tool{position:relative;flex-direction:column;gap:3px;border:0;background:transparent;color:#0f172a;font-size:12px}.topbar-nav-button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#334155;font-size:13px;font-weight:750}.topbar-nav-button svg{width:17px;height:17px}.topbar-nav-button:hover,.topbar-nav-button.active{border-color:#bfdbfe;background:#eff6ff;color:var(--color-primary)}.admin-mode-toggle{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:34px;color:#334155;font-size:13px;font-weight:750;white-space:nowrap;padding-left:15px}.admin-mode-toggle input{width:18px;height:18px;margin:0;accent-color:var(--color-primary)}.notification-badge{position:absolute;top:-7px;right:10px;min-width:18px;height:18px;padding:0 5px;border-radius:var(--radius-pill);background:var(--color-primary);color:#fff;font-size:11px;line-height:18px}.user-chip{gap:10px;padding-left:14px;border-left:1px solid var(--color-border);font-weight:600}button.user-chip{border-top:0;border-right:0;border-bottom:0;background:transparent;color:#0f172a}button.user-chip:hover{color:var(--color-primary)}.user-chip-copy{max-width:160px;overflow:hidden}.user-chip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-chip svg{width:16px;height:16px;color:#64748b}.user-menu-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:50;min-width:240px;overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:#fff;box-shadow:var(--shadow-soft)}.user-menu-identity{display:grid;gap:3px;padding:12px 14px;border-bottom:1px solid var(--color-border)}.user-menu-identity strong{color:#0f172a;font-size:14px}.user-menu-identity span{color:var(--color-muted);font-size:12px;overflow-wrap:anywhere}.user-menu-item{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:0 14px;border:0;background:#fff;color:#334155;font-weight:750;text-align:left}.user-menu-item svg{width:17px;height:17px}.user-menu-item:hover{background:#eff6ff;color:var(--color-primary)}.avatar{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#dbeafe;color:var(--color-primary-dark);font-weight:800}.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;width:100%;max-width:150vh;margin-inline:auto;padding:28px}.main-column{min-width:0}.profile-layout{display:grid;gap:20px;width:100%;max-width:150vh;margin-inline:auto;padding:28px}.profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow-card)}.profile-avatar{display:grid;width:84px;height:84px;place-items:center;border-radius:50%;background:#dbeafe;color:var(--color-primary-dark);font-size:25px;font-weight:850}.profile-title{min-width:0}.profile-title h2{margin:0;overflow:hidden;color:#0f172a;font-size:clamp(28px,2.1vw,38px);line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.profile-title p{margin:7px 0 0;color:var(--color-muted);overflow-wrap:anywhere}.profile-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.profile-badges span,.profile-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:7px;font-size:12px;font-weight:800}.profile-badges span{background:#f1f5f9;color:#334155}.profile-status{gap:7px;white-space:nowrap}.profile-status svg{width:17px;height:17px}.profile-status.enabled{background:#d1fae5;color:#047857}.profile-status.disabled{background:#fee2e2;color:#b91c1c}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.profile-panel{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow-card)}.profile-panel-header{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:14px 16px;border-bottom:1px solid var(--color-border)}.profile-panel-header h3{margin:0;color:#0f172a;font-size:17px}.profile-detail-list{display:grid}.profile-detail-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;padding:14px 16px;border-bottom:1px solid var(--color-border)}.profile-detail-row:last-child{border-bottom:0}.profile-detail-row svg{width:18px;height:18px;margin-top:2px;color:#64748b}.profile-detail-row span{display:block;color:var(--color-muted);font-size:12px;font-weight:750}.profile-detail-row strong{display:block;margin-top:4px;color:#1f2937;font-size:14px;line-height:1.35;overflow-wrap:anywhere;white-space:pre-line}.profile-manager-body{display:flex;align-items:center;gap:14px;padding:16px}.profile-manager-avatar{display:grid;width:48px;height:48px;flex:0 0 auto;place-items:center;border-radius:50%;background:#e0f2fe;color:#0369a1;font-weight:850}.profile-manager-body div:last-child{display:grid;gap:3px;min-width:0}.profile-manager-body strong{color:#0f172a}.profile-manager-body span{color:var(--color-muted);font-size:13px;overflow-wrap:anywhere}.intro-row{padding-bottom:26px;border-bottom:1px solid var(--color-border)}.welcome-header h2{margin:0 0 8px;font-size:clamp(28px,2vw,34px);line-height:1.08;letter-spacing:0}.welcome-header p{margin:0;color:var(--color-muted);font-size:17px}.app-type-tabs{display:flex;align-items:flex-start;flex-wrap:wrap;gap:14px;margin:16px 0 22px;padding-bottom:4px}.filter-left{display:flex;flex-wrap:wrap;gap:14px;min-width:0}.filter-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.filter-action{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#334155;font-weight:700;white-space:nowrap}.filter-action:hover{background:#eff6ff;color:var(--color-primary)}.filter-action.selected{color:var(--color-primary)}.filter-action svg{width:18px;height:18px}.tab{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 20px;border:1px solid var(--color-border);border-radius:var(--radius-pill);background:#fff;color:#334155;white-space:nowrap}.tab.active{border-color:var(--color-primary);background:var(--color-primary);color:#fff;box-shadow:0 8px 18px #2563eb38}.filter-dropdown{position:relative}.filter-dropdown-button{display:flex;align-items:center;gap:10px;min-width:184px;min-height:42px;padding:0 16px;border:1px solid var(--color-border);border-radius:var(--radius-pill);background:#fff;color:#334155;white-space:nowrap}.filter-dropdown-button.active{border-color:#bfdbfe;background:#eff6ff;color:var(--color-primary)}.filter-dropdown-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}.filter-dropdown-button svg:last-child{margin-left:auto}.filter-search{display:flex;align-items:center;gap:10px;min-width:310px;min-height:42px;padding:0 10px 0 16px;border:1px solid var(--color-border);border-radius:var(--radius-pill);background:#fff;color:#475569}.filter-search:focus-within{border-color:#bfdbfe;box-shadow:0 0 0 3px #2563eb14}.filter-search svg{width:18px;height:18px;flex:0 0 auto}.filter-search input{width:100%;min-width:120px;border:0;outline:0;color:var(--color-text)}.filter-search button{display:inline-grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:0;border-radius:8px;background:transparent;color:#64748b}.filter-search button:hover{background:#eef4ff;color:var(--color-primary)}.filter-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:40;display:grid;gap:2px;width:max(240px,100%);max-height:320px;overflow-y:auto;padding:8px;border:1px solid var(--color-border);border-radius:8px;background:#fff;box-shadow:var(--shadow-soft)}.filter-menu-option{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;min-height:34px;padding:6px 8px;border-radius:7px;color:#334155;font-size:14px;cursor:pointer}.filter-menu-option:hover{background:#f8fafc}.filter-menu-option input{position:absolute;opacity:0;pointer-events:none}.filter-check{display:inline-grid;width:18px;height:18px;place-items:center;border:1px solid var(--color-border-strong);border-radius:5px;color:var(--color-primary)}.sections{display:grid;gap:24px}.portal-section{display:grid;gap:12px;border-radius:8px;outline:2px solid transparent;outline-offset:8px;transition:background .16s ease,outline-color .16s ease}.portal-section.drop-active{background:#eff6ffad;outline-color:#93c5fd}.folder-view{display:grid;gap:16px}.folder-view-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--color-border)}.folder-view-header>div{display:flex;align-items:center;gap:12px}.folder-view-header svg{color:var(--color-primary)}.folder-breadcrumb{min-width:0;flex-wrap:wrap}.folder-breadcrumb-item{display:inline-flex;align-items:center;min-width:0}.folder-breadcrumb-item.parent{gap:7px;padding:4px 5px;border:0;border-radius:7px;background:transparent;color:#0f172a;font-size:14px;font-weight:750}.folder-breadcrumb-item.parent:hover,.folder-breadcrumb-item.parent:focus-visible{background:#eff6ff;color:var(--color-primary)}.folder-breadcrumb-item.parent.drop-active{background:#dbeafe;box-shadow:inset 0 0 0 2px #60a5fa;color:var(--color-primary)}.folder-breadcrumb-item.parent svg{width:17px;height:17px}.folder-breadcrumb-item.current{gap:10px}.folder-breadcrumb-separator{color:#94a3b8;font-size:18px;font-weight:800}.folder-view-header h3{margin:0;font-size:22px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-header>div{gap:12px}.section-header h3{margin:0;font-size:20px}.section-header span{display:block;margin-top:2px;color:var(--color-muted);font-size:13px;font-weight:600}.section-header svg{color:var(--color-primary)}.section-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.view-all{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--color-primary);font-weight:650}.section-show-all{display:flex;justify-content:center;padding-top:2px}.section-show-all .view-all{padding:7px 10px;border-radius:8px}.section-show-all .view-all:hover,.section-show-all .view-all:focus-visible{background:#eff6ff}.card-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px}.portal-card{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:minmax(82px,auto) auto;gap:14px;min-height:128px;padding:20px 18px 14px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card)}.portal-card:hover{border-color:#bfdbfe;box-shadow:0 12px 28px #0f172a17}.restricted-card{border-color:#fca5a5;background:linear-gradient(180deg,#fef2f2d6,#fffffff5),var(--color-surface)}.restricted-card:hover{border-color:#ef4444;box-shadow:0 12px 28px #b91c1c1f}.restricted-card .card-icon,.restricted-card .card-body{opacity:.68}.inactive-card{border-color:#cbd5e1;background:repeating-linear-gradient(-45deg,#94a3b814 0,#94a3b814 8px,#fff0 8px,#fff0 18px),#f8fafc}.inactive-card .card-icon,.inactive-card .card-body,.inactive-card .card-badge{opacity:.62}.inactive-card-pill{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#475569;font-size:11px;font-weight:850;letter-spacing:0;text-transform:uppercase}.portal-card[draggable=true]{cursor:grab}.portal-card[draggable=true]:active{cursor:grabbing}.folder-card{margin-top:18px;border-color:#f0b429;border-radius:0 8px 8px;background:linear-gradient(180deg,#fff6cc,#ffe9a8);cursor:pointer;box-shadow:0 12px 26px #b4530924}.folder-card:before{position:absolute;top:-18px;left:-1px;width:112px;height:18px;border:1px solid #f0b429;border-bottom:0;border-radius:8px 8px 0 0;background:#fff6cc;content:""}.folder-card:hover{border-color:#d97706;box-shadow:0 14px 30px #b4530933}.folder-card.drop-active{border-color:#2563eb;background:linear-gradient(180deg,#eff6ff,#dbeafe);box-shadow:0 0 0 3px #2563eb2e,0 14px 30px #2563eb2e}.folder-card.drop-active:before{border-color:#2563eb;background:#eff6ff}.folder-drop-indicator{position:absolute;top:6px;right:6px;bottom:6px;left:6px;z-index:6;display:grid;place-items:center;border:2px dashed #2563eb;border-radius:8px;background:#eff6ffeb;color:var(--color-primary);box-shadow:inset 0 0 0 999px #2563eb14;pointer-events:none}.folder-drop-indicator svg{width:42px;height:42px}.folder-card .card-icon{background:#d97706}.folder-card .card-body h4{color:#78350f}.folder-card .card-body p,.folder-card .folder-hint{color:#92400e}.folder-card:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}.folder-hint{color:var(--color-muted);font-size:12px;font-weight:750}.favorite-button{position:absolute;top:12px;right:12px;color:#64748b}.restricted-lock{position:absolute;top:12px;right:12px;display:inline-grid;width:36px;height:36px;place-items:center;border-radius:8px;color:#991b1b}.restricted-lock svg{width:19px;height:19px}.favorite-button.active{color:#f5b700}.favorite-button.active svg{fill:currentColor}.card-icon,.workspace-icon{display:grid;place-items:center;border-radius:8px;color:#fff}.card-icon{width:48px;height:48px;align-self:start}.card-icon svg{width:28px;height:28px}.accent-blue{background:#2563eb}.accent-purple{background:#6d28d9}.accent-green{background:#059669}.accent-orange{background:#ea580c}.accent-amber{background:#d97706}.accent-teal{background:#0f766e}.accent-red{background:#dc2626}.accent-pink{background:#db2777}.accent-indigo{background:#4f46e5}.accent-cyan{background:#0891b2}.accent-lime{background:#65a30d}.accent-slate{background:#475569}.card-body{min-width:0;padding-right:30px}.card-body h4{margin:0 0 7px;font-size:16px;line-height:1.16}.card-body p{display:-webkit-box;margin:0;overflow:hidden;color:#475569;font-size:13px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.card-footer{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-start}.card-primary-action{margin-left:auto}.card-badge{grid-column:1 / -1;display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.card-badge::-webkit-scrollbar{display:none}.badge{display:inline-flex;align-items:center;flex:0 0 auto;min-height:22px;padding:2px 9px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap}.badge-blue{background:#dbeafe;color:#1d4ed8}.badge-green{background:#d1fae5;color:#047857}.badge-orange{background:#ffedd5;color:#c2410c}.badge-purple{background:#ede9fe;color:#6d28d9}.badge-amber{background:#fef3c7;color:#b45309}.badge-teal{background:#ccfbf1;color:#0f766e}.badge-red{background:#fee2e2;color:#b91c1c}.badge-pink{background:#fce7f3;color:#be185d}.badge-indigo{background:#e0e7ff;color:#4338ca}.badge-cyan{background:#cffafe;color:#0e7490}.badge-lime{background:#ecfccb;color:#4d7c0f}.badge-slate{background:#e2e8f0;color:#334155}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:0 10px;border-radius:7px;font-weight:700;white-space:nowrap}.button-primary{border:1px solid var(--color-primary);background:var(--color-primary);color:#fff}.button-primary:hover{background:var(--color-primary-dark)}.button-danger{border-color:#dc2626;background:#dc2626;color:#fff}.button-danger:hover{background:#b91c1c}.button-secondary{border:1px solid var(--color-border-strong);background:#fff;color:#334155}.button-ghost{border:1px solid transparent;background:transparent;color:var(--color-primary)}.button-danger{border-color:#fecaca;color:#fff}.message-banner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;padding:12px 18px 13px;border-bottom:1px solid #fffacd;background:#fffacd;color:#0f172a;max-width:150vh;align-items:center;margin-inline:auto}.message-banner strong{display:block;margin-bottom:5px;font-size:16px}.message-banner-text{display:-webkit-box;overflow:hidden;max-width:1180px;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.message-banner-text :first-child,.message-modal-body :first-child{margin-top:0}.message-banner-text :last-child,.message-modal-body :last-child{margin-bottom:0}.message-banner-text img,.message-modal-body img{max-width:100%;height:auto;border-radius:6px}.message-modal-body ul,.message-modal-body ol{padding-left:24px}.message-modal-body h2,.message-modal-body h3{margin:16px 0 8px;line-height:1.2}.message-modal-body h2{font-size:22px}.message-modal-body h3{font-size:18px}.message-modal-body blockquote{margin:12px 0;padding:8px 12px;border-left:3px solid #93c5fd;background:#f8fafc;color:#334155}.message-modal-body a{color:var(--color-primary);font-weight:700}.message-banner-read,.message-banner-close{border:0;background:transparent}.message-banner-read{color:#1d4ed8;font-weight:800;white-space:nowrap}.message-banner-close{display:inline-grid;width:30px;height:30px;place-items:center;color:#0f172a}.message-banner-close svg{width:18px;height:18px}.workspace-panel{position:sticky;top:96px;align-self:start;display:grid;gap:14px;padding:18px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:#ffffffd1;box-shadow:var(--shadow-card)}.workspace-title{justify-content:space-between}.workspace-title h2,.workspace-widget h3,.modal h2{margin:0}.workspace-title h2{font-size:20px}.workspace-widget{padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:#fff}.widget-header{justify-content:space-between;margin-bottom:12px}.widget-header>div{display:flex;align-items:center;gap:9px}.workspace-widget h3{font-size:15px}.widget-header button{border:0;background:transparent;color:var(--color-primary);font-size:12px;font-weight:700}.widget-count{min-width:24px;height:24px;border-radius:var(--radius-pill);background:#fee2e2;color:#dc2626;font-size:12px;font-weight:800;line-height:24px;text-align:center}.workspace-list{display:grid;gap:11px}.message-list{gap:8px}.message-row{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:34px;padding:4px 0;border:0;background:transparent;color:var(--color-text);text-align:left}.message-row svg{width:20px;height:20px;color:#f59e0b}.message-row span{overflow:hidden;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.message-row.read span{font-weight:500}.message-row.read svg{color:#64748b}.workspace-row,.approval-row,.alert-row{gap:11px;min-width:0}.workspace-row>div:nth-child(2),.approval-row>div,.alert-row>div{min-width:0}.workspace-row strong,.approval-row strong,.alert-row strong{display:block;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.workspace-row span,.approval-row span,.alert-row span{display:block;overflow:hidden;color:var(--color-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workspace-icon{flex:0 0 auto;width:30px;height:30px}.workspace-icon svg{width:18px;height:18px}.workspace-row>svg{flex:0 0 auto;margin-left:auto;color:#64748b}.approval-row{justify-content:space-between}.approval-row>strong{flex:0 0 auto;color:#0f172a}.severity-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%}.severity-critical{background:#ef4444}.severity-warning{background:#f59e0b}.suggested-row .suggestion-star{margin-left:auto}.favorite-workspace-row .workspace-unfavorite{margin-left:auto;color:#f5b700}.favorite-workspace-row .workspace-unfavorite svg{fill:currentColor}.workspace-empty{margin:0;color:var(--color-muted);font-size:13px}.workspace-footer{gap:8px;color:var(--color-muted)}.workspace-footer svg{width:16px;height:16px}.empty-state,.load-state{display:grid;min-height:240px;place-items:center;border:1px dashed var(--color-border-strong);border-radius:var(--radius-card);background:#fff;color:var(--color-muted)}.load-state{min-height:100vh;align-content:center;gap:12px;border:0;border-radius:0}.load-state h1,.load-state p{margin:0}.loading-mark{width:42px;height:42px;border:4px solid #dbeafe;border-top-color:var(--color-primary);border-radius:50%;animation:spin .9s linear infinite}.toast{position:fixed;right:28px;bottom:28px;z-index:50;max-width:min(420px,calc(100vw - 40px));padding:13px 16px;border:1px solid #bfdbfe;border-radius:var(--radius-card);background:#eff6ff;color:#1e3a8a;box-shadow:var(--shadow-soft);font-weight:700}.tour-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;pointer-events:none}.tour-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a80}.tour-highlight{position:fixed;z-index:71;border:2px solid #93c5fd;border-radius:10px;background:#eff6ff29;box-shadow:0 0 0 9999px #0f172a6b,0 12px 34px #0f172a2e;pointer-events:none}.tour-card{position:fixed;z-index:72;width:min(340px,calc(100vw - 36px));max-height:min(260px,calc(100vh - 36px));overflow-y:auto;padding:18px;border:1px solid #bfdbfe;border-radius:var(--radius-card);background:#fff;color:#0f172a;box-shadow:var(--shadow-soft);pointer-events:auto}.tour-card-header,.tour-actions,.tour-actions>div{display:flex;align-items:center}.tour-card-header{justify-content:space-between;gap:12px;margin-bottom:8px}.tour-card-header span{color:var(--color-primary);font-size:12px;font-weight:850}.tour-card h2{margin:0;font-size:20px;line-height:1.18}.tour-card p{margin:10px 0 0;color:#475569;line-height:1.45}.tour-actions{justify-content:space-between;gap:12px;margin-top:18px}.tour-actions>div{gap:8px}.tour-primary,.tour-secondary{min-height:36px;padding:0 12px;border-radius:8px;font-weight:800}.tour-primary{border:0;background:var(--color-primary);color:#fff}.tour-primary:hover{background:var(--color-primary-dark)}.tour-secondary{border:1px solid var(--color-border);background:#fff;color:#334155}.tour-secondary:hover:not(:disabled){border-color:#bfdbfe;background:#eff6ff;color:var(--color-primary)}.tour-secondary:disabled{cursor:not-allowed;opacity:.45}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px;background:#0f172a6b}.modal{width:min(520px,100%);padding:20px;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow-soft)}.modal-wide{width:min(760px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.message-modal{width:min(720px,100%)}.modal-header{justify-content:space-between;margin-bottom:18px}.message-modal-body{max-height:min(520px,62vh);overflow:auto;padding:4px 2px;color:#1f2937;font-size:15px;line-height:1.6}.access-form{display:grid;gap:16px}.access-form label{display:grid;gap:7px;color:#334155;font-weight:700}.access-form input,.access-form select,.access-form textarea{width:100%;border:1px solid var(--color-border-strong);border-radius:8px;background:#fff;color:var(--color-text)}.access-form input,.access-form select{height:42px;padding:0 12px}.access-form select[multiple]{height:auto;min-height:136px;padding:8px 12px}.access-form input:disabled{background:#f8fafc;color:#64748b}.access-form textarea{min-height:120px;resize:vertical;padding:12px}.modal-actions{justify-content:flex-end;gap:10px}.app-form-top-grid,.app-form-lower-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.95fr);gap:18px;align-items:start}.app-form-side-stack{display:grid;gap:14px}.checkbox-picker-field{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0}.checkbox-picker-header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#334155}.checkbox-picker-header legend{padding:0;color:#334155;font-size:14px;font-weight:700}.checkbox-picker-header span{color:#64748b;font-size:12px;font-weight:700}.access-form .checkbox-picker-search,.admin-form .checkbox-picker-search{height:38px;padding:0 11px}.checkbox-picker-list{display:grid;gap:2px;height:142px;overflow-y:auto;padding:6px;border:1px solid var(--color-border-strong);border-radius:8px;background:#fff}.access-form .checkbox-picker-row,.admin-form .checkbox-picker-row{display:flex;align-items:center;gap:8px;min-height:28px;padding:3px 5px;border-radius:6px;color:var(--color-text);font-size:14px;font-weight:500;line-height:1.25}.access-form .checkbox-picker-row:hover,.admin-form .checkbox-picker-row:hover{background:#f1f5f9}.access-form .checkbox-picker-row input,.admin-form .checkbox-picker-row input{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;flex:0 0 auto;width:16px;height:16px;min-height:16px;margin:0;padding:0;border-radius:3px}.access-form .checkbox-picker-row span,.admin-form .checkbox-picker-row span{overflow-wrap:anywhere;min-width:0}.checkbox-picker-empty{display:grid;min-height:78px;place-items:center;color:#64748b;font-size:13px;font-weight:700}.checkbox-picker-field[aria-invalid=true] .checkbox-picker-list{border-color:#ef4444}.delete-confirmation{display:grid;gap:8px;margin-bottom:18px;color:#475569;line-height:1.5}.delete-confirmation p{margin:0}.delete-confirmation strong{color:var(--color-text)}.admin-layout{display:grid;gap:18px;width:100%;max-width:150vh;margin-inline:auto;padding:28px}.admin-header,.admin-panel-header,.admin-form-actions,.checkbox-row{display:flex;align-items:center}.admin-header{justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--color-border)}.admin-header h2,.admin-header p,.admin-panel h3{margin:0}.admin-header h2{font-size:clamp(26px,2vw,32px);line-height:1.1}.admin-header p{margin-top:6px;color:var(--color-muted)}.admin-tabs{display:inline-flex;padding:4px;border:1px solid var(--color-border);border-radius:8px;background:#fff}.admin-tab{min-height:36px;padding:0 16px;border:0;border-radius:6px;background:transparent;color:#334155;font-weight:750}.admin-tab.active{background:var(--color-primary);color:#fff}.admin-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr);gap:18px;align-items:start}.admin-workspace-single{grid-template-columns:1fr}.admin-panel{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow-card)}.admin-panel-header{justify-content:space-between;gap:12px;min-height:62px;padding:14px 16px;border-bottom:1px solid var(--color-border)}.admin-panel h3{font-size:18px}.admin-panel-header p{margin:4px 0 0;color:var(--color-muted);font-size:13px}.admin-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 16px;border-bottom:1px solid var(--color-border);background:#fff}.admin-table-toolbar>span{flex:0 0 auto;color:var(--color-muted);font-size:13px;font-weight:700}.admin-table-filter{display:flex;align-items:center;gap:9px;width:min(420px,100%);min-height:38px;padding:0 8px 0 12px;border:1px solid var(--color-border);border-radius:8px;background:#fff;color:#64748b}.admin-table-filter:focus-within{border-color:#bfdbfe;box-shadow:0 0 0 3px #2563eb14}.admin-table-filter svg{width:17px;height:17px;flex:0 0 auto}.admin-table-filter input{width:100%;min-width:90px;border:0;outline:0;color:var(--color-text)}.admin-table-filter button{display:inline-grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:0;border-radius:7px;background:transparent;color:#64748b}.admin-table-filter button:hover{background:#eef4ff;color:var(--color-primary)}.admin-table-wrap{overflow-x:auto}.admin-table-wrap.menu-open{padding-bottom:96px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:13px 16px;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle}.admin-table th{background:#f8fafc;color:#475569;font-size:12px;font-weight:800;text-transform:uppercase}.sort-header{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-transform:inherit}.sort-header svg{width:14px;height:14px;color:#94a3b8}.sort-header.active{color:#0f172a}.sort-header.active svg{color:var(--color-primary)}.admin-table td{color:#1f2937;font-size:14px}.admin-table td.admin-empty-row{height:96px;color:var(--color-muted);text-align:center}.admin-table tr{cursor:pointer}.admin-workspace-single .admin-table tr{cursor:default}.admin-table tbody tr:hover,.admin-table tbody tr.selected{background:#eff6ff}.admin-workspace-single .admin-table tbody tr:hover{background:transparent}.admin-table tbody tr[draggable=true]{cursor:grab}.admin-table tbody tr[draggable=true]:active{cursor:grabbing}.admin-table tbody tr.drop-target{box-shadow:inset 0 2px 0 var(--color-primary)}.admin-table .drag-cell{width:42px;color:#94a3b8}.admin-table .drag-cell svg{width:18px;height:18px}.admin-actions-column{width:64px}.admin-actions-cell{width:64px;text-align:right}.admin-row-action{position:relative;display:inline-flex;justify-content:flex-end}.admin-row-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;min-width:160px;overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:#fff;box-shadow:var(--shadow-soft)}.admin-row-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:40px;padding:0 12px;border:0;background:#fff;color:#334155;font-weight:750;text-align:left}.admin-row-menu button:hover{background:#eff6ff;color:var(--color-primary)}.admin-row-menu svg{width:17px;height:17px}.admin-table td strong,.admin-table td span:not(.badge){display:block}.admin-table td span:not(.badge){margin-top:3px;color:var(--color-muted);font-size:12px}.status-pill{display:inline-flex;align-items:center;min-height:24px;padding:2px 9px;border-radius:6px;font-size:12px;font-weight:800}.status-pill.active{background:#d1fae5;color:#047857;text-align:center}.status-pill.inactive{background:#e5e7eb;color:#4b5563}.admin-form{display:grid;gap:14px;padding:0 16px 16px}.admin-form .admin-panel-header{margin:0 -16px}.admin-form label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:800}.admin-form input,.admin-form select,.admin-form textarea{width:100%;border:1px solid var(--color-border-strong);border-radius:8px;background:#fff;color:var(--color-text);font-weight:500}.admin-form input,.admin-form select{min-height:40px;padding:0 11px}.admin-form select[multiple]{min-height:132px;padding:8px}.admin-form textarea{min-height:92px;resize:vertical;padding:11px}.rich-text-control{overflow:hidden;border:1px solid #bfd2ee;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px #2563eb08}.rich-text-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:9px;border-bottom:1px solid #dbe7f6;background:linear-gradient(180deg,#f8fbff,#eef5ff)}.rich-text-group{display:inline-flex;gap:4px;align-items:center;padding:3px;border:1px solid #dbe7f6;border-radius:8px;background:#ffffffc7}.rich-text-toolbar button{display:inline-grid;min-width:32px;height:32px;place-items:center;border:1px solid transparent;border-radius:6px;background:transparent;color:#334155;font-size:12px;font-weight:900}.rich-text-toolbar button.active{border-color:#93c5fd;background:#dbeafe;color:var(--color-primary)}.rich-text-toolbar svg{width:16px;height:16px}.rich-text-insert-panel{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:8px;border-bottom:1px solid #dbe7f6;background:#eff6ff}.rich-text-insert-panel input{min-height:34px;padding:0 10px;font-size:13px}.rich-text-insert-panel button{min-height:34px;padding:0 10px;border:1px solid #bfdbfe;border-radius:6px;background:#fff;color:var(--color-primary);font-size:13px;font-weight:800}.rich-text-insert-panel .rich-text-cancel{color:#475569}.rich-text-editor{min-height:150px}.rich-text-editor .ProseMirror{min-height:190px;padding:16px;color:var(--color-text);font-weight:500;line-height:1.5;outline:none}.rich-text-editor .ProseMirror:focus{outline:none}.rich-text-editor .ProseMirror p{margin:0 0 8px}.rich-text-editor h2,.rich-text-editor h3{margin:14px 0 8px;line-height:1.2}.rich-text-editor h2{font-size:22px}.rich-text-editor h3{font-size:18px}.rich-text-editor blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid #93c5fd;background:#f8fafc;color:#334155}.rich-text-editor .ProseMirror>:last-child{margin-bottom:0}.rich-text-editor a{color:var(--color-primary);font-weight:700}.rich-text-editor img{display:block;max-width:100%;height:auto;margin:10px 0;border-radius:6px}.rich-text-editor ul,.rich-text-editor ol{margin:8px 0;padding-left:24px}.rich-text-editor:empty:before{content:"Write the message...";color:#94a3b8}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkbox-row{grid-template-columns:auto 1fr;justify-content:start}.checkbox-row input{width:18px;min-height:18px}.admin-form-actions{justify-content:flex-end;padding-top:2px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1320px){.topbar{grid-template-columns:max-content minmax(240px,1fr)}.topbar-actions{display:none}.page-layout{grid-template-columns:1fr}.workspace-panel{position:static}.card-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}.admin-workspace{grid-template-columns:1fr}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:960px){.topbar{grid-template-columns:1fr;height:auto;gap:12px;padding:14px 18px}.topbar-left{width:100%}.topbar-left h1,.company-name,.topbar-divider{display:none}.card-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.admin-header{align-items:flex-start;flex-direction:column}.profile-hero{grid-template-columns:auto minmax(0,1fr)}.profile-status{justify-self:start;grid-column:2}.profile-grid{grid-template-columns:1fr}}@media(max-width:640px){.page-layout{padding:18px 14px}.welcome-header h2{font-size:26px}.card-grid{grid-template-columns:1fr}.portal-card{grid-template-columns:48px minmax(0,1fr)}.card-footer{align-items:stretch}.button{min-width:126px}.workspace-panel{padding:12px}.admin-layout,.profile-layout{padding:18px 14px}.profile-hero{grid-template-columns:1fr;justify-items:start;padding:18px}.profile-avatar{width:68px;height:68px;font-size:21px}.profile-title h2{white-space:normal}.profile-status{grid-column:auto}.admin-tabs,.admin-tab{width:100%}.admin-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-table-toolbar{align-items:stretch;flex-direction:column}.admin-table-toolbar>span{align-self:flex-end}.admin-table-filter{width:100%}.form-grid,.app-form-top-grid,.app-form-lower-grid{grid-template-columns:1fr}.filter-left,.filter-dropdown,.filter-dropdown-button,.filter-search{width:100%}.filter-actions{justify-content:flex-end;margin-left:0;width:100%}}
