.portal-root{--brand: #ea1b25;--ink: #141a1f;--bg: #f4f6fa;--line: #e9edf3;min-height:100vh;background:var(--bg)}.portal-main{background:var(--bg);min-width:0}.portal-sider.ant-layout-sider{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#141a1f,#10151a);z-index:20}.portal-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.portal-brand{display:flex;align-items:center;gap:12px;padding:22px 20px 18px}.portal-brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:20px;color:#fff;background:linear-gradient(135deg,#ff4b55,var(--brand));box-shadow:0 6px 16px #ea1b2559}.portal-brand-name{color:#fff;font-weight:800;letter-spacing:2px;line-height:1.1}.portal-brand-sub{color:#ffffff80;font-size:12px}.portal-menu-wrap{flex:1;overflow-y:auto;padding-bottom:12px}.portal-menu-wrap .ant-menu{border-inline-end:0!important;background:transparent!important}.portal-menu-wrap .ant-menu-item-group-title{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;padding:16px 24px 6px}.portal-menu-wrap .ant-menu-item-selected{font-weight:600;box-shadow:0 6px 14px #ea1b254d}.portal-user{display:flex;align-items:center;gap:10px;padding:14px 16px;margin:8px 12px 14px;border-radius:14px;background:#ffffff0f}.portal-user-text{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.25}.portal-user-name.ant-typography{color:#fff;font-weight:600}.portal-user-role.ant-typography{color:#ffffff80;font-size:12px}.portal-logout.ant-btn{color:#ffffffb3}.portal-logout.ant-btn:hover{color:#fff!important;background:#ffffff1f!important}.portal-header.ant-layout-header{position:sticky;top:0;z-index:10;height:auto;line-height:normal;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 28px;background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.portal-content{padding:24px 28px 40px}.portal-card.ant-card{border-radius:16px;border:1px solid var(--line);box-shadow:0 1px 2px #1018280a,0 4px 14px #1018280a}.portal-card .ant-card-head{border-bottom:1px solid var(--line);min-height:52px}.portal-card .ant-card-head-title{font-weight:700}.portal-card .ant-table-thead>tr>th{background:#f8f9fc;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#667085}.cat-toolbar{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}.cat-search.ant-input-affix-wrapper{border-radius:12px;border-color:var(--line);box-shadow:0 1px 2px #1018280a}.cat-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.cat-pill{flex:none;display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#344054;font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease}.cat-pill em{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#f2f4f7;color:#667085}.cat-pill:hover{border-color:#d0d5dd;background:#fafbfc}.cat-pill.is-active{background:var(--ink);border-color:var(--ink);color:#fff}.cat-pill.is-active em{background:#ffffff2e;color:#fff}.cat-count{margin-bottom:14px;color:#667085;font-size:13px}.cat-count strong{color:var(--ink)}.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.cat-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 1px 2px #1018280a;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.cat-card:hover{transform:translateY(-3px);border-color:#dfe4ec;box-shadow:0 12px 28px #1018281a}.cat-card-top{position:relative;height:96px;display:grid;place-items:center}.cat-mono{font-size:34px;font-weight:800;letter-spacing:1px;opacity:.9}.cat-chip{position:absolute;top:12px;left:12px;max-width:calc(100% - 24px);padding:3px 10px;border-radius:999px;background:#ffffffd9;font-size:11px;font-weight:700;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-card-body{flex:1;padding:16px 18px 6px}.cat-name{margin:0 0 6px;font-size:16px;font-weight:700;line-height:1.35;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cat-desc{margin:0;font-size:13px;line-height:1.6;color:#667085;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.cat-desc.is-empty{color:#98a2b3;font-style:italic}.cat-card-foot{padding:14px 18px 18px}.cat-card-foot .ant-btn{height:40px;border-radius:10px;font-weight:600}.cat-pager{display:flex;justify-content:center;margin-top:28px}.cat-empty{background:#fff;border:1px solid var(--line);border-radius:16px;padding:56px 16px}.kpi{display:flex;align-items:center;gap:14px}.kpi-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:22px}.kpi-value{font-size:26px;font-weight:700;line-height:1.1;color:var(--ink)}.stage-bar{display:flex;gap:4px;margin-top:8px;min-width:150px}.stage-bar span{flex:1;height:5px;border-radius:4px;background:#e6e9ec}.portal-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:20px;padding:24px 28px;border-radius:18px;color:#fff;background:linear-gradient(120deg,#141a1f,#2a1a1f 55%,#ea1b25 160%)}.portal-hero h2{margin:2px 0 4px;color:#fff;font-size:26px}.portal-hero p{margin:0;color:#ffffffb8}.portal-hero-small{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:#ffffff8c}.portal-hero .ant-btn{color:#fff;border-color:#fff9}.portal-hero .ant-btn:hover{color:var(--brand)!important;background:#fff!important;border-color:#fff!important}@media (max-width: 991px){.portal-sider.ant-layout-sider{position:fixed;left:0;top:0;bottom:0}.portal-header.ant-layout-header{padding-left:52px}.portal-content{padding:16px}}.enq-shell{display:grid;grid-template-columns:340px minmax(0,1fr);height:calc(100vh - 168px);min-height:540px;background:#fff;border:1px solid var(--line, #e9edf3);border-radius:16px;overflow:hidden;box-shadow:0 1px 2px #1018280a,0 4px 14px #1018280d}.enq-list{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line, #e9edf3);background:#fff}.enq-list-head{padding:16px 16px 12px;border-bottom:1px solid var(--line, #e9edf3)}.enq-list-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.enq-list-title h3{margin:0;font-size:17px;font-weight:700;color:var(--ink, #141a1f)}.enq-list-body{flex:1;min-height:0;overflow-y:auto}.enq-item{display:flex;gap:12px;padding:13px 16px;cursor:pointer;border-bottom:1px solid #f1f3f7;transition:background .15s}.enq-item:hover{background:#f8f9fc}.enq-item.active{background:#fdecee;box-shadow:inset 3px 0 0 var(--brand, #ea1b25)}.enq-item-main{flex:1;min-width:0}.enq-item-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.enq-item-title{font-size:14px;font-weight:600;color:var(--ink, #141a1f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.enq-item-date{flex-shrink:0;font-size:11px;color:#8a94a3}.enq-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.enq-item-status{font-size:12px;color:#7a8494}.enq-item.unread .enq-item-title{font-weight:700}.enq-empty{padding:40px 16px;text-align:center;color:#8a94a3;font-size:13px}.enq-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.enq-pane-head{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line, #e9edf3);background:#fff}.enq-pane-head-text{flex:1;min-width:0}.enq-pane-name{font-size:15px;font-weight:700;color:var(--ink, #141a1f);line-height:1.2}.enq-pane-sub{font-size:12px;color:#8a94a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.enq-pane-body{flex:1;min-height:0}.enq-new{height:100%;overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:24px;background:#f6f7fb}.enq-new-card{width:100%;max-width:520px;padding:24px;background:#fff;border:1px solid var(--line, #e9edf3);border-radius:14px}.enq-new-card h4{margin:0 0 4px;font-size:17px;font-weight:700;color:var(--ink, #141a1f)}.enq-new-card p{margin:0 0 16px;font-size:13px;color:#7a8494}.enq-back{display:none}@media (max-width: 767px){.enq-shell{grid-template-columns:minmax(0,1fr);height:calc(100vh - 150px);border-radius:12px}.enq-shell .enq-pane,.enq-shell.chat-open .enq-list{display:none}.enq-shell.chat-open .enq-pane{display:flex}.enq-back{display:inline-flex}}
