:root{
  --bg:#f4f5f8;--panel:#fff;--text:#11131a;--muted:#737986;--line:#e7e9ee;
  --purple:#7a43e3;--purple-dark:#4d1db7;--navy:#15103b;--navy-2:#0d0b24;--black:#111217;--green:#0c8a55;--red:#c33b3b;
  font-family:Inter,Arial,'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}button,input{font:inherit}
.hidden{display:none!important}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 12% 18%,rgba(145,82,255,.56) 0,transparent 29%),radial-gradient(circle at 86% 78%,rgba(90,42,220,.35) 0,transparent 32%),linear-gradient(135deg,#0f0b2e 0%,#24125c 46%,#4a1eb0 100%)}
.login-card{width:min(460px,100%);background:rgba(255,255,255,.985);border:1px solid rgba(255,255,255,.35);border-radius:24px;padding:34px 36px 36px;box-shadow:0 30px 90px rgba(7,3,31,.42)}
.brand-mark{font-size:36px;font-weight:1000;font-style:italic;letter-spacing:-2px;color:var(--purple)}.brand-mark.small{font-size:27px}
.company-logo{display:block;object-fit:contain}.login-brand-lockup{display:flex;align-items:center;gap:16px;margin-bottom:8px}.login-logo{width:72px;height:72px;filter:brightness(0) saturate(100%) invert(27%) sepia(62%) saturate(2898%) hue-rotate(250deg) brightness(91%) contrast(98%)}.login-brand-lockup h1{margin:0;font-size:24px;letter-spacing:-.7px}.login-brand-lockup p{margin:4px 0 0;color:#6d667c;font-size:11px;font-weight:850;letter-spacing:1.2px}.login-description{margin:0 0 24px;color:var(--muted);font-size:13px}
.login-card label{display:block;font-size:13px;font-weight:800;margin:14px 0 7px}.login-card input{width:100%;height:48px;border:1px solid #d8dbe3;border-radius:12px;padding:0 14px;outline:none;background:#fff}.login-card input:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(108,56,198,.12)}
.login-card button{width:100%;height:50px;border:0;border-radius:12px;background:var(--black);color:#fff;font-weight:900;margin-top:20px;cursor:pointer}.login-card button:disabled{opacity:.55;cursor:default}.form-message{min-height:22px;margin-top:12px;color:var(--red);font-size:13px}
.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:linear-gradient(180deg,#0d0b20 0%,#11101f 58%,#0a0915 100%);color:#fff;display:flex;flex-direction:column;padding:22px 16px;position:sticky;top:0;height:100vh}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 8px 22px}.sidebar-logo{width:44px;height:46px;filter:brightness(0) invert(1);opacity:.98}.sidebar-brand strong{display:block;font-size:14px;letter-spacing:-.2px}.sidebar-brand span{display:block;color:#8d87a5;font-size:10px;font-weight:700;letter-spacing:.9px;margin-top:3px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-item{border:0;background:transparent;color:#b8bdc7;border-radius:10px;text-align:left;padding:12px 14px;cursor:pointer;font-weight:750}.nav-item:hover,.nav-item.active{background:linear-gradient(90deg,rgba(119,65,224,.24),rgba(72,38,144,.12));color:#fff;box-shadow:inset 3px 0 0 var(--purple)}.nav-item em{float:right;font-size:10px;font-style:normal;color:#8d93a1;font-weight:500}.sidebar-bottom{margin-top:auto}.account-box{border-top:1px solid #292b35;padding:18px 8px 10px;display:flex;align-items:center;gap:8px}.role-badge{font-size:10px;background:linear-gradient(135deg,#8a4fff,#5f27c8);color:#fff;padding:4px 7px;border-radius:999px}.logout-button{width:100%;border:1px solid #30323d;background:transparent;color:#bfc3cb;padding:10px;border-radius:10px;cursor:pointer}
.main{min-width:0;padding:28px 34px 50px}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.topbar h2{margin:0;font-size:27px}.topbar p{margin:5px 0 0;color:var(--muted);font-size:13px}.live-dot{font-size:11px;font-weight:850;color:#4e5562;display:flex;align-items:center;gap:7px}.live-dot span{width:8px;height:8px;border-radius:50%;background:#1aa56b;box-shadow:0 0 0 4px rgba(26,165,107,.12)}
.section{display:none}.section.active-section{display:block}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.summary-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px 19px}.summary-card .label{font-size:12px;color:var(--muted);font-weight:700}.summary-card .value{font-size:27px;font-weight:950;margin-top:8px;letter-spacing:-1px}
.agency-banner{position:relative;display:block;width:min(100%,1180px);margin:16px auto 18px;border-radius:16px;overflow:hidden;background:#15103b;border:1px solid rgba(118,67,224,.18);box-shadow:0 12px 32px rgba(27,13,76,.14);transition:transform .15s ease,box-shadow .15s ease}.agency-banner:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(48,22,116,.22)}.agency-banner img{display:block;width:100%;height:auto}.agency-banner span{position:absolute;right:14px;bottom:14px;background:rgba(12,9,32,.76);color:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;backdrop-filter:blur(4px)}.agency-banner.compact{max-width:960px;margin-top:18px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;margin-top:14px}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel h3{margin:0;font-size:17px}.panel-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.search-row{display:flex;gap:9px;margin-top:15px}.search-input-wrap{position:relative;flex:1;min-width:0}.search-row input{width:100%;height:48px;border:1px solid #d5d9e1;border-radius:11px;padding:0 46px 0 14px;outline:none}.search-row input:focus{border-color:#999fa9}.search-row>button{border:0;border-radius:11px;background:#111217;color:#fff;padding:0 24px;font-weight:850;cursor:pointer}.search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:30px;height:30px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eef0f4!important;color:#5f6570!important;font-size:21px!important;font-weight:500!important;line-height:28px!important;cursor:pointer}.search-clear:hover{background:#e1e4e9!important;color:#16181d!important}.status-text{font-size:12px;color:var(--muted);min-height:20px;margin:8px 2px 0}.search-result{border-top:1px solid #eef0f3;padding:13px 3px;cursor:pointer}.search-result:first-child{border-top:0}.search-result:hover{background:#fafafd}.search-result strong{font-size:14px}.mono{font-family:Consolas,'Courier New',monospace}.muted{color:var(--muted)}.green{color:var(--green);font-weight:800}.red{color:var(--red);font-weight:800}
.profile-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.profile-head h3{font-size:22px}.profile-id{font-size:12px;color:var(--muted);margin-top:4px}.month-strip{display:flex;gap:9px;overflow:auto;padding:3px 0 10px;margin-top:15px}.month-card{min-width:145px;border:1px solid var(--line);border-radius:12px;background:#fafbfc;padding:12px;text-align:left;cursor:pointer}.month-card.active{background:#fff;border:2px solid #111}.month-card b{display:block}.month-card span{display:block;font-size:18px;font-weight:900;margin-top:6px}.month-card small{color:var(--muted)}.bj-list{border:1px solid #eceef2;border-radius:13px;overflow:hidden}.bj-item+.bj-item{border-top:1px solid #eceef2}.bj-button{width:100%;border:0;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;text-align:left;padding:14px;cursor:pointer}.bj-button:hover{background:#fafafa}.bj-name{font-weight:850}.bj-amount{font-weight:900}.timeline{background:#fafbfc;border-top:1px solid #eceef2;padding:12px 16px}.timeline-event{border-left:2px solid #ddd;padding:5px 0 14px 14px;position:relative}.timeline-event:before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#111;left:-5px;top:12px}.event-row{display:flex;justify-content:space-between;gap:12px}.event-time{font-size:12px;color:var(--muted);font-family:Consolas,monospace}.event-amount{font-weight:900}.chat-bubble{margin-top:7px;background:#fff;border:1px solid #e7e9ed;border-radius:10px;padding:8px 10px;font-size:13px}.presence-button{width:100%;border:1px solid var(--line);background:#fafbfc;border-radius:12px;padding:13px 14px;text-align:left;font-weight:850;cursor:pointer;margin-top:14px}.presence-list{margin-top:8px;border:1px solid var(--line);border-radius:12px;padding:5px 13px;max-height:360px;overflow:auto}.presence-row{display:grid;grid-template-columns:165px 100px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #eef0f2;font-size:12px}.presence-row:last-child{border-bottom:0}
.welcome-card{background:linear-gradient(135deg,#11102b,#2c1765 62%,#4b21a9);color:white;border-radius:18px;padding:24px;display:flex;align-items:center;gap:18px}.welcome-icon{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#8b50ff,#5c28c6);display:grid;place-items:center;font-weight:1000;font-size:26px;font-style:italic}.welcome-card h3{margin:0 0 5px}.welcome-card p{margin:0;color:#c7c2d1;font-size:13px}.chip-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.chip{background:#f1edf8;color:#51239f;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.coming-soon{display:flex;flex-direction:column;gap:7px}.coming-soon span{font-size:13px;color:var(--muted);line-height:1.6}.status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.status-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.status-card .ok{color:var(--green);font-weight:900}.status-card .fail{color:var(--red);font-weight:900}
@media(max-width:1050px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:24px 22px}.agency-banner{max-width:900px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{height:auto;position:relative}.sidebar nav{display:grid;grid-template-columns:repeat(2,1fr)}.sidebar-bottom{margin-top:12px}.main{padding:18px 13px}.summary-grid{grid-template-columns:1fr 1fr}.summary-card .value{font-size:21px}.topbar{align-items:flex-start}.live-dot{display:none}.search-row{display:grid;grid-template-columns:1fr}.search-row>button{height:44px}.presence-row{grid-template-columns:1fr}.agency-banner span{display:none}}

/* v0.3 MASTER account / permission management */
.account-admin-grid{display:grid;grid-template-columns:minmax(300px,410px) minmax(0,1fr);gap:14px;align-items:start}
.account-create-panel{margin-top:0;position:sticky;top:22px}.account-form{display:flex;flex-direction:column;margin-top:16px}.account-form label{font-size:12px;font-weight:850;margin:12px 0 7px}.account-form input,.account-form select,.account-list-actions input,.inline-manage input{height:44px;border:1px solid #d7dae2;border-radius:10px;background:#fff;padding:0 12px;outline:none}.account-form input:focus,.account-form select:focus,.account-list-actions input:focus,.inline-manage input:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(122,67,227,.1)}.account-form select{cursor:pointer}.form-help{font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px}.primary-action{height:46px;border:0;border-radius:11px;background:linear-gradient(135deg,#7e45e6,#5623b8);color:#fff;font-weight:900;cursor:pointer;margin-top:18px}.primary-action:disabled{opacity:.5;cursor:default}
.account-list-panel{margin-top:0;min-width:0}.account-list-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.account-list-head h3{margin:0}.account-list-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.account-list-actions{display:flex;gap:8px;align-items:center}.account-list-actions input{width:220px}.secondary-action,.mini-action{border:1px solid #dfe2e8;background:#fff;color:#2a2d35;border-radius:9px;font-weight:800;cursor:pointer}.secondary-action{height:38px;padding:0 12px}.secondary-action:hover,.mini-action:hover{border-color:#bcb4cd;background:#faf8ff}.account-list{display:flex;flex-direction:column;gap:10px;margin-top:8px}.account-empty{border:1px dashed #d8dbe3;border-radius:12px;padding:28px;text-align:center;color:var(--muted)}
.account-card{border:1px solid #e5e7ec;border-radius:14px;padding:16px;background:#fff;box-shadow:0 3px 10px rgba(20,14,42,.025)}.account-card.is-blocked{background:#fbfbfc;opacity:.84}.account-card-top{display:flex;justify-content:space-between;gap:12px}.account-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account-title-row strong{font-size:15px}.account-role{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}.role-admin{background:#efe7ff;color:#5c25bb}.role-manager{background:#e8f1ff;color:#245ca7}.role-bj{background:#e9f8f0;color:#18744e}.account-status{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:850}.account-status.active{background:#e8f7ef;color:#16734d}.account-status.blocked{background:#fbeaea;color:#a43232}.account-meta{margin-top:7px;color:#8a8f99;font-size:10px}.account-scope{margin-top:14px;padding:12px 13px;background:#fafafd;border:1px solid #ececf2;border-radius:11px}.locked-scope{background:#f8f5ff}.scope-label{font-size:11px;font-weight:900;color:#696f7b;margin-bottom:8px}.assignment-row{display:flex;gap:6px;flex-wrap:wrap;min-height:28px;align-items:center}.assignment-chip{border:1px solid #ddd4ef;background:#f3eefb;color:#5425a0;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:850;cursor:pointer}.assignment-chip b{font-size:13px;margin-left:3px}.inline-manage{display:flex;gap:7px;margin-top:9px}.inline-manage input{height:38px;min-width:0;flex:1}.mini-action{height:38px;padding:0 12px;white-space:nowrap}.account-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.account-actions .secondary-action:first-child{border-color:#e0cfd1}.account-card.is-blocked .account-actions .secondary-action:first-child{border-color:#bfe2cf;color:#146b48}.danger-action{height:38px;padding:0 12px;border:1px solid #efc5c5;background:#fff7f7;color:#b42d2d;border-radius:9px;font-weight:900;cursor:pointer}.danger-action:hover{background:#fff0f0;border-color:#df9f9f}.account-card.is-blocked .danger-action{opacity:1}

@media(max-width:1100px){.account-admin-grid{grid-template-columns:1fr}.account-create-panel{position:static}.account-list-actions input{width:180px}}
@media(max-width:760px){.account-list-head{align-items:flex-start;flex-direction:column}.account-list-actions{width:100%}.account-list-actions input{width:auto;flex:1}.inline-manage{flex-direction:column}.inline-manage .mini-action{width:100%}.account-actions{display:grid;grid-template-columns:1fr}.account-actions .secondary-action,.account-actions .danger-action{width:100%}}

/* ------------------------------------------------------------------
   Viewer CRM operational workspace
   ------------------------------------------------------------------ */
.crm-section{height:calc(100vh - 128px);min-height:650px;overflow:hidden}
.crm-toolbar{height:54px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.crm-toolbar-left{display:flex;align-items:center;gap:8px;min-width:0}.crm-bj-label{font-size:11px;font-weight:900;color:#69707d;white-space:nowrap}.crm-bj-select{height:36px;min-width:190px;border:1px solid #d8dbe3;border-radius:9px;background:#fff;padding:0 10px;outline:none;font-weight:800}.crm-bj-select:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(122,67,227,.09)}.crm-ghost-button{height:36px;border:1px solid #dddfe6;background:#fafbfc;color:#343842;border-radius:9px;padding:0 12px;font-weight:800;cursor:pointer}.crm-ghost-button:hover{background:#f3effb;border-color:#cfc4e3}.crm-scope-text{font-size:11px;color:#737986;font-weight:800;white-space:nowrap}
.crm-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}.crm-summary-card{height:72px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 13px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:end}.crm-summary-card span{font-size:11px;color:#6f7581;font-weight:800}.crm-summary-card strong{grid-row:1/3;grid-column:2;font-size:21px;letter-spacing:-.7px;color:#171a22}.crm-summary-card small{font-size:10px;color:#a0a4ad}
.crm-workspace{height:calc(100% - 142px);margin-top:8px;display:grid;grid-template-columns:minmax(245px,290px) minmax(390px,1fr) minmax(300px,370px);gap:8px;min-height:0}.crm-pane{background:#fff;border:1px solid var(--line);border-radius:14px;min-width:0;min-height:0}.crm-pane-head{padding:12px 13px 8px;display:flex;align-items:center;justify-content:space-between}.crm-pane-head strong{display:block;font-size:13px}.crm-pane-head span{display:block;margin-top:3px;font-size:10px;color:#8a909b}.crm-viewer-pane{display:grid;grid-template-rows:auto auto auto minmax(120px,1fr) auto minmax(105px,.55fr);overflow:hidden}.crm-search-form{display:grid;grid-template-columns:1fr 58px;gap:5px;padding:0 10px}.crm-search-form input{height:36px;border:1px solid #d9dce4;border-radius:9px;padding:0 10px;outline:none;min-width:0}.crm-search-form input:focus{border-color:var(--purple)}.crm-search-form button{border:0;border-radius:9px;background:#161420;color:white;font-weight:850;cursor:pointer}.crm-mini-status{height:25px;padding:6px 12px 3px;font-size:10px;color:#8b9099}.crm-scroll-list{overflow:auto;border-top:1px solid #eef0f4}.crm-viewer-row{width:100%;border:0;border-bottom:1px solid #eef0f4;background:#fff;text-align:left;padding:10px 11px;cursor:pointer}.crm-viewer-row:hover,.crm-viewer-row.active{background:#f8f5ff}.crm-viewer-row.active{box-shadow:inset 3px 0 0 var(--purple)}.crm-viewer-main{display:flex;align-items:center;justify-content:space-between;gap:8px}.crm-viewer-main strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-viewer-main span{font-size:9px;color:#999fa9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:105px}.crm-viewer-meta{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:9px;color:#858b96}.crm-online-pill,.crm-offline-pill{display:inline-flex;border-radius:999px;padding:2px 5px;font-size:8px;font-weight:900}.crm-online-pill{background:#e5f8ef;color:#0d8050}.crm-offline-pill{background:#f0f1f4;color:#858b94}.crm-subhead{height:34px;border-top:1px solid #e8eaf0;border-bottom:1px solid #eef0f4;padding:8px 11px;display:flex;justify-content:space-between;align-items:center;font-size:10px;background:#fafbfc}.crm-subhead strong{font-size:11px}.crm-broadcast-list{overflow:auto}.crm-broadcast-row{width:100%;border:0;border-bottom:1px solid #eef0f4;background:#fff;padding:9px 10px;text-align:left;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;cursor:pointer}.crm-broadcast-row:hover{background:#faf8ff}.crm-broadcast-row>div:first-child{min-width:0}.crm-broadcast-row strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-broadcast-row span{display:block;font-size:8px;color:#9398a2;margin-top:3px}.crm-broadcast-row>div:last-child{text-align:right}.crm-broadcast-row b{display:block;font-size:10px;color:#6b35cb}.crm-broadcast-row small{font-size:8px;color:#9aa0aa}
.crm-profile-pane{padding:13px;overflow:hidden;display:flex;flex-direction:column}.crm-empty-state{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#858b96;padding:24px}.crm-empty-mark{width:52px;height:52px;border-radius:17px;background:linear-gradient(135deg,#8b50ff,#5421bd);color:#fff;display:grid;place-items:center;font-size:23px;font-weight:1000;font-style:italic;margin-bottom:12px}.crm-empty-state strong{color:#343844;font-size:14px}.crm-empty-state span{font-size:11px;line-height:1.6;margin-top:6px;max-width:360px}.crm-profile-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crm-profile-title{font-size:20px;font-weight:950;letter-spacing:-.5px}.crm-profile-id{font-size:10px;color:#8a909a;margin-top:4px}.crm-profile-right{font-size:10px;color:#6f7581;font-weight:800}.crm-live-dot{display:inline-flex;vertical-align:middle;margin-left:6px;background:#e7f8ef;color:#0c8a55;border-radius:999px;padding:3px 6px;font-size:8px;letter-spacing:.4px}.crm-profile-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:10px 0}.crm-profile-stats>div{background:#f8f9fb;border:1px solid #eceef2;border-radius:10px;padding:9px 8px;min-width:0}.crm-profile-stats span{display:block;font-size:9px;color:#8a909a}.crm-profile-stats strong{display:block;font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-card{border:1px solid #e9ebf0;border-radius:12px;min-height:0;display:flex;flex-direction:column;overflow:hidden}.crm-notes-card{flex:1}.crm-card-head{height:38px;padding:10px 11px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f3;background:#fcfcfd}.crm-card-head strong{font-size:12px}.crm-card-head span{font-size:9px;color:#8a909a}.crm-inline-form{display:grid;grid-template-columns:94px minmax(0,1fr) 72px;gap:5px;padding:8px;border-bottom:1px solid #eef0f3}.crm-inline-form.single-input{grid-template-columns:minmax(0,1fr) 58px}.crm-inline-form input,.crm-inline-form select{height:34px;border:1px solid #daddE5;border-radius:8px;background:#fff;padding:0 9px;min-width:0;outline:none;font-size:10px}.crm-inline-form input:focus,.crm-inline-form select:focus{border-color:var(--purple)}.crm-inline-form button{height:34px;border:0;border-radius:8px;background:#6d37d1;color:#fff;font-size:10px;font-weight:900;cursor:pointer}.crm-card-scroll{overflow:auto;flex:1;min-height:0}.crm-card-scroll.compact{max-height:150px}.crm-note-row,.crm-task-row,.crm-candidate-row{border-bottom:1px solid #eef0f3;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.crm-note-row>div,.crm-task-row>div:first-child,.crm-candidate-row>div:first-child{min-width:0}.crm-note-row strong,.crm-task-row strong,.crm-candidate-row strong{display:block;font-size:11px;white-space:normal;line-height:1.45}.crm-note-row small,.crm-task-row span,.crm-candidate-row small{display:block;font-size:8px;color:#999fa8;margin-top:3px;white-space:normal}.crm-note-category,.crm-candidate-row>div:first-child>span{display:inline-flex;background:#f0ebfb;color:#6534bb;border-radius:999px;padding:2px 6px;font-size:8px;font-weight:900;margin-bottom:4px}.crm-note-row button,.crm-task-row button,.crm-candidate-row button{border:1px solid #e0e2e8;background:#fff;border-radius:7px;padding:5px 7px;color:#747a84;font-size:8px;font-weight:850;cursor:pointer;white-space:nowrap}.crm-task-row>div:last-child,.crm-candidate-row>div:last-child{display:flex;gap:4px}.crm-task-row button.done,.crm-candidate-row button.approve{border-color:#bee6d3;color:#0b7e4e;background:#f5fff9}.crm-note-row button:hover,.crm-task-row button:hover,.crm-candidate-row button:hover{background:#f7f4fc}.crm-empty-mini{padding:16px 12px;text-align:center;color:#9a9fa9;font-size:10px}.crm-side-stack{display:grid;grid-template-rows:minmax(170px,1fr) minmax(170px,1fr) minmax(100px,.58fr);gap:8px;min-height:0}.crm-task-pane,.crm-candidate-pane,.crm-upcoming-pane{display:flex;flex-direction:column;overflow:hidden}.crm-upcoming-row{width:100%;border:0;border-bottom:1px solid #eef0f3;background:#fff;text-align:left;padding:8px 10px;cursor:pointer;display:grid;grid-template-columns:auto 1fr;column-gap:7px}.crm-upcoming-row:hover{background:#faf8ff}.crm-upcoming-row b{grid-row:1/3;color:#713bd0;font-size:9px}.crm-upcoming-row span{font-size:10px;font-weight:850}.crm-upcoming-row small{font-size:8px;color:#969ca6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-modal{position:fixed;inset:0;z-index:50;background:rgba(8,8,18,.62);display:grid;place-items:center;padding:28px}.crm-modal-card{width:min(1180px,94vw);height:min(760px,88vh);background:#f7f8fb;border:1px solid rgba(255,255,255,.35);border-radius:18px;box-shadow:0 28px 90px rgba(5,3,20,.4);overflow:hidden;display:grid;grid-template-rows:62px 1fr}.crm-modal-head{background:#11102b;color:#fff;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-modal-head strong{display:block;font-size:14px}.crm-modal-head span{display:block;font-size:9px;color:#b7b3c9;margin-top:4px}.crm-modal-head button{width:34px;height:34px;border:1px solid #34314e;border-radius:9px;background:#1d1a39;color:#fff;font-size:20px;cursor:pointer}.crm-modal-body{padding:12px;overflow:hidden;display:grid;grid-template-rows:auto 1fr;gap:10px}.crm-modal-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.crm-modal-summary>div{background:#fff;border:1px solid #e5e7ed;border-radius:11px;padding:10px 12px}.crm-modal-summary span{display:block;font-size:9px;color:#858b96}.crm-modal-summary strong{display:block;font-size:17px;margin-top:3px}.crm-modal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0}.crm-modal-grid section{background:#fff;border:1px solid #e5e7ed;border-radius:11px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.crm-modal-grid h4{font-size:11px;margin:0;padding:10px 12px;border-bottom:1px solid #eef0f4}.crm-modal-scroll{overflow:auto;flex:1;min-height:0}.crm-modal-list-row{padding:8px 10px;border-bottom:1px solid #eef0f4;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px}.crm-modal-list-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-modal-list-row span{color:#7d838e;white-space:nowrap}.crm-modal-list-row.as-button{width:100%;border-left:0;border-right:0;border-top:0;background:#fff;cursor:pointer;text-align:left}.crm-modal-list-row.as-button:hover{background:#faf8ff}.crm-care-title{padding:8px 10px;font-size:9px;border-bottom:1px solid #eef0f4;background:#fafbfc}.crm-care-title.red{color:#b83333}.crm-care-title.green{color:#087b4a}
@media(max-width:1350px){.crm-workspace{grid-template-columns:240px minmax(340px,1fr) 300px}.crm-profile-stats{grid-template-columns:repeat(3,1fr)}.crm-profile-stats>div:nth-child(n+4){display:none}}
@media(max-width:1050px){.crm-section{height:auto;overflow:visible}.crm-workspace{height:auto;grid-template-columns:1fr}.crm-viewer-pane{height:520px}.crm-profile-pane{height:620px}.crm-side-stack{grid-template-rows:320px 320px 220px}.crm-summary-grid{grid-template-columns:repeat(2,1fr)}.crm-modal-grid{grid-template-columns:1fr}.crm-modal-body{overflow:auto}.crm-modal-card{height:90vh}}

/* =====================================================================
   XENT CRM operating layout v2
   ===================================================================== */
.crm-section-v2{height:calc(100vh - 128px);min-height:650px;overflow:hidden}
.crm-workspace-v2{height:calc(100% - 62px);margin-top:8px;grid-template-columns:minmax(245px,300px) minmax(430px,1fr) minmax(310px,370px);gap:8px}
.crm-left-hub{display:grid;grid-template-rows:minmax(185px,1fr) minmax(185px,1fr) minmax(118px,.58fr);overflow:hidden}
.crm-left-block{min-height:0;display:flex;flex-direction:column;overflow:hidden;border-bottom:1px solid #e8eaf0}
.crm-left-block:last-child{border-bottom:0}.compact-head{padding-bottom:7px}.crm-head-count{font-size:9px!important;color:#8a909b!important;margin:0!important}.crm-subhead-title{flex:0 0 34px;border-top:0}
.crm-left-search .crm-search-form{flex:0 0 auto;padding-bottom:8px}.crm-left-search .crm-scroll-list,.crm-left-online .crm-scroll-list{flex:1;min-height:0}.crm-left-broadcasts .crm-broadcast-list{flex:1;min-height:0}
.crm-viewer-row-one{height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border-left:3px solid transparent}.crm-viewer-row-one.active{border-left-color:var(--purple)}
.crm-viewer-one-name{display:flex;align-items:center;gap:6px;min-width:0}.crm-viewer-one-name strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-viewer-one-id{font-size:8px;color:#9aa0aa;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-type-chip{display:inline-flex;align-items:center;justify-content:center;min-width:39px;border-radius:999px;padding:2px 5px;font-size:7px;font-weight:950;background:#f1f2f5;color:#747985}.crm-type-topfan .crm-type-chip,.crm-type-chip.crm-type-topfan{background:#fff0f7;color:#d83b83}.crm-type-fanclub .crm-type-chip,.crm-type-chip.crm-type-fanclub,.crm-type-subscriber .crm-type-chip,.crm-type-chip.crm-type-subscriber{background:#ecfff5;color:#0c9959}.crm-type-normal .crm-type-chip,.crm-type-chip.crm-type-normal{background:#f1f2f5;color:#747985}.crm-type-manager .crm-type-chip,.crm-type-chip.crm-type-manager{background:#eef7ff;color:#1683c6}.crm-type-bj .crm-type-chip,.crm-type-chip.crm-type-bj{background:#fff5e8;color:#d47800}.crm-type-admin .crm-type-chip,.crm-type-chip.crm-type-admin{background:#faefff;color:#a33ac1}
.crm-viewer-row-one.crm-type-topfan strong{color:#d83b83}.crm-viewer-row-one.crm-type-fanclub strong,.crm-viewer-row-one.crm-type-subscriber strong{color:#0c9959}.crm-viewer-row-one.crm-type-manager strong{color:#1683c6}.crm-viewer-row-one.crm-type-bj strong{color:#d47800}.crm-viewer-row-one.crm-type-admin strong{color:#a33ac1}
.crm-profile-pane-v2{padding:13px}.crm-profile-body-v2{height:100%;display:flex;flex-direction:column;min-height:0}.crm-entry-card{flex:0 0 auto;margin-bottom:8px}.crm-entry-card .crm-card-head{height:35px}.crm-entry-form,.crm-homework-entry-form{grid-template-columns:92px minmax(0,1fr) 70px}.crm-homework-entry-form{border-bottom:0}.crm-form-label{height:34px;border:1px solid #e3e5ea;border-radius:8px;background:#f8f9fb;display:flex;align-items:center;padding:0 9px;font-size:10px;font-weight:900;color:#6f7580}.crm-notes-card{flex:1;min-height:0}
.crm-side-stack-v2{grid-template-rows:minmax(180px,1fr) minmax(180px,1fr) minmax(105px,.62fr)}.crm-global-row{display:grid!important;grid-template-columns:95px minmax(0,1fr) auto;align-items:center}.crm-global-person{border:0;background:transparent;text-align:left;cursor:pointer;padding:0;min-width:0}.crm-global-person b{display:block!important;font-size:9px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-global-person span{display:block;font-size:7px!important;color:#a0a5ae!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.crm-global-copy{min-width:0}.crm-global-copy>span:first-child{display:inline-flex;background:#f0ebfb;color:#6534bb;border-radius:999px;padding:2px 5px;font-size:7px;font-weight:900;margin-bottom:2px}.crm-global-copy strong{font-size:9px!important}.crm-global-copy small,.crm-global-copy>span{font-size:7px!important}
.crm-modal-card-v2{width:min(1340px,96vw);height:min(850px,92vh);grid-template-rows:62px 1fr}.crm-modal-body-v2{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;overflow:hidden}.crm-record-tabs{display:flex;gap:6px}.crm-record-tabs button{height:34px;border:1px solid #dedfe7;background:#fff;color:#5f6470;border-radius:8px;padding:0 14px;font-size:9px;font-weight:900;cursor:pointer}.crm-record-tabs button.active{background:#6e3bd1;color:#fff;border-color:#6e3bd1}.crm-record-panel{min-height:0;overflow:auto;background:#fff;border:1px solid #e5e7ed;border-radius:11px}.crm-record-toolbar{padding:10px;border-bottom:1px solid #eef0f4}.crm-record-toolbar input{width:100%;height:36px;border:1px solid #d9dce4;border-radius:8px;padding:0 10px;outline:none}.crm-record-toolbar input:focus{border-color:var(--purple)}.crm-record-table-wrap{overflow:auto;height:calc(100% - 57px)}.crm-record-table{width:100%;border-collapse:collapse;font-size:9px}.crm-record-table th{position:sticky;top:0;z-index:1;background:#f4f5f8;color:#656b76;text-align:left;padding:8px 10px;border-bottom:1px solid #e7e9ee}.crm-record-table td{padding:8px 10px;border-bottom:1px solid #eef0f4}.crm-record-table tr[data-crm-viewer]{cursor:pointer}.crm-record-table tr[data-crm-viewer]:hover{background:#faf8ff}.crm-record-empty{padding:24px;text-align:center;color:#999fa9;font-size:10px}.crm-record-note{padding:10px 12px;background:#faf8ff;border-bottom:1px solid #ece8f7;color:#77718a;font-size:9px}.crm-donor-card{border-bottom:1px solid #e9ebf0}.crm-donor-card>summary{list-style:none;cursor:pointer;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px}.crm-donor-card>summary::-webkit-details-marker,.crm-donation-round>summary::-webkit-details-marker,.crm-care-person>summary::-webkit-details-marker{display:none}.crm-donor-card[open]>summary{background:#faf8ff}.crm-donor-body{padding:0 12px 10px}.crm-donation-round{border:1px solid #eceef3;border-radius:9px;margin:6px 0;overflow:hidden}.crm-donation-round>summary{cursor:pointer;padding:8px 10px;display:flex;justify-content:space-between;background:#fcfcfd;font-size:9px}.crm-donation-round>summary span{color:#8c929d}.crm-context-line{padding:7px 9px;border-top:1px solid #f0f1f4;font-size:8.5px;line-height:1.45}.crm-context-line>span:first-child{display:inline-flex;min-width:48px;margin-right:7px;padding:2px 5px;border-radius:999px;justify-content:center;font-size:7px;font-weight:950;background:#eef0f4;color:#676d77}.crm-context-line small{color:#8f95a0;margin-left:4px}.crm-event-chat{background:#f8fbff}.crm-event-stt{background:#fff8ef;color:#b86500}.crm-event-donation,.crm-donation-anchor{background:#fff7cf;color:#8b6600}.crm-event-presence{background:#f8f9fb;color:#67707d}.crm-donation-anchor{border-left:3px solid #e9b400}.crm-care-split{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px;min-height:100%}.crm-care-col{border:1px solid #eceef2;border-radius:9px;overflow:auto}.crm-care-col h4{position:sticky;top:0;background:#fbfbfc;margin:0;padding:9px 10px;border-bottom:1px solid #eceef2;font-size:10px;z-index:1}.crm-care-person{border-bottom:1px solid #eef0f4}.crm-care-person>summary{padding:9px 10px;display:flex;justify-content:space-between;gap:8px;cursor:pointer;font-size:9px}.crm-care-person>summary strong{font-size:8px;color:#7b4ac9}.crm-care-detail{padding:0 10px 10px;font-size:8px;color:#747a84}.crm-care-dates{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.crm-care-dates span{background:#f8f9fb;border:1px solid #eceef2;border-radius:7px;padding:6px}.crm-care-dates b{display:block;margin-top:3px;color:#3c414a}.crm-care-reason{margin-top:6px;padding:7px;border-radius:7px;background:#faf8ff}.crm-care-reason b,.crm-care-reason span{display:block}.crm-timeline-panel{height:100%;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);padding:9px;gap:7px}.crm-filter-checks{display:flex;gap:12px;align-items:center;font-size:9px}.crm-filter-checks label{display:flex;gap:4px;align-items:center}.crm-timeline-search{display:grid;grid-template-columns:minmax(150px,1fr) 34px 34px 60px minmax(150px,1fr) 58px;gap:5px}.crm-timeline-search input{height:34px;border:1px solid #d9dce4;border-radius:8px;padding:0 9px;outline:none;font-size:9px}.crm-timeline-search button,.crm-timeline-pager button{height:34px;border:1px solid #dfe1e7;background:#fff;border-radius:8px;font-weight:850;font-size:9px;cursor:pointer}.crm-timeline-search button:disabled,.crm-timeline-pager button:disabled{opacity:.4;cursor:default}.crm-timeline-search span{display:flex;align-items:center;justify-content:center;font-size:8px;color:#777e89}.crm-timeline-pager{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#7a808a}.crm-timeline-pager>div{display:flex;gap:5px}.crm-timeline-pager button{height:29px;padding:0 10px}.crm-timeline-rows{overflow:auto;border:1px solid #eceef2;border-radius:8px}.crm-person-match{box-shadow:inset 3px 0 0 #a98be5}.crm-nav-target{outline:2px solid #6e3bd1;outline-offset:-2px;background:#f3edff!important}
@media(max-width:1350px){.crm-workspace-v2{grid-template-columns:235px minmax(360px,1fr) 300px}.crm-global-row{grid-template-columns:78px minmax(0,1fr) auto}.crm-care-dates{grid-template-columns:1fr}.crm-timeline-search{grid-template-columns:minmax(130px,1fr) 32px 32px 50px minmax(130px,1fr) 52px}}
@media(max-width:1050px){.crm-section-v2{height:auto;overflow:visible}.crm-workspace-v2{height:auto;grid-template-columns:1fr}.crm-left-hub{height:700px}.crm-profile-pane-v2{height:650px}.crm-side-stack-v2{grid-template-rows:300px 300px 200px}.crm-modal-card-v2{height:92vh}.crm-care-split{grid-template-columns:1fr}.crm-modal-body-v2{overflow:auto}.crm-record-panel{min-height:500px}}
.crm-modal-summary-actions>button{appearance:none;border:1px solid #e5e7ed;border-radius:11px;padding:10px 12px;background:#fff;text-align:left;cursor:pointer;color:inherit}.crm-modal-summary-actions>button:hover{background:#faf8ff;border-color:#d8cbee}.crm-modal-summary-actions>button.active{background:#f6f1ff;border-color:#bda5e8;box-shadow:inset 0 0 0 1px #d8c8f4}.crm-modal-summary-actions>button span{display:block;font-size:9px;color:#858b96}.crm-modal-summary-actions>button strong{display:block;font-size:17px;margin-top:3px;color:#20232b}

/* XENT RELEASE BOARD */
.release-layout{display:grid;gap:16px}
.release-intro{display:flex;align-items:center;justify-content:space-between;gap:18px}
.release-intro h3,.release-list-head h3{margin:0 0 6px}
.release-intro p,.release-list-head p{margin:0;color:#7b8497}
.release-admin{border:1px solid #dcd7ff;background:linear-gradient(180deg,#fff,#fbfaff)}
.release-form{display:grid;gap:12px;margin-top:12px}
.release-form label{display:grid;gap:6px;font-weight:700;color:#26293a}
.release-form input,.release-form select,.release-form textarea,.release-list-head select{border:1px solid #d8dce7;border-radius:9px;background:#fff;padding:10px 12px;font:inherit}
.release-form textarea{resize:vertical;min-height:110px}
.release-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.release-submit-row{display:flex;align-items:center;gap:12px}
.release-progress{height:8px;background:#ececf5;border-radius:99px;overflow:hidden}
.release-progress>div{height:100%;width:0;background:#6654ef;transition:width .15s ease}
.release-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.release-list{display:grid;gap:12px}
.release-card{border:1px solid #e1e4ec;border-radius:12px;background:#fff;padding:16px;box-shadow:0 4px 14px rgba(18,25,48,.04)}
.release-card-head,.release-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}
.release-card-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.release-card-title strong{font-size:16px;color:#171928}
.release-product,.release-version,.release-latest{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}
.release-product{background:#eff1f6;color:#33394a}
.release-product.product-crm{background:#ece9ff;color:#5542d9}
.release-product.product-poongtam{background:#e5f7f2;color:#08775f}
.release-product.product-notice{background:#fff1d9;color:#9a5f00}
.release-latest{background:#6654ef;color:#fff}
.release-version{background:#f4f5f8;color:#606779}
.release-notes{margin:13px 0;color:#4f5668;line-height:1.65}
.release-download{display:inline-flex;align-items:center;gap:6px;background:#0c1022;color:#fff;text-decoration:none;border-radius:8px;padding:9px 12px;font-weight:800}
.release-download:hover{opacity:.9}
.release-no-file{color:#9299a8;font-size:12px}
.release-meta{color:#9299a8;font-size:12px;text-align:right}
.release-delete{border:1px solid #f0c9cf;background:#fff5f6;color:#b42336;border-radius:8px;padding:7px 10px;cursor:pointer}
.release-empty{padding:34px;text-align:center;color:#8a91a0;border:1px dashed #d9dde7;border-radius:10px}
.release-manager-only{display:inline-flex;align-items:center;padding:8px 11px;border-radius:8px;background:#f2f3f6;color:#777f90;border:1px solid #dfe2e9;font-size:12px;font-weight:800}

/* XENT BJ EVENT COLOR PATCH */
.crm-context-line.crm-event-bj-chat{
  color:#c46a00;
  background:linear-gradient(90deg,rgba(255,247,232,.88),rgba(255,255,255,0));
  border-left:3px solid #f59e0b;
}
.crm-context-line.crm-event-bj-chat>span:first-child{
  display:inline-flex;align-items:center;margin-right:7px;padding:3px 8px;border-radius:999px;
  background:#fff0d8;color:#b85f00;font-weight:900;font-size:11px;
}
.crm-context-line.crm-event-stt{
  color:#6f42c1;
  background:linear-gradient(90deg,rgba(245,240,255,.90),rgba(255,255,255,0));
  border-left:3px solid #8b5cf6;
}
.crm-context-line.crm-event-stt>span:first-child{
  display:inline-flex;align-items:center;margin-right:7px;padding:3px 8px;border-radius:999px;
  background:#eee6ff;color:#673ab7;font-weight:900;font-size:11px;
}

@media(max-width:850px){
  .release-form-grid{grid-template-columns:1fr}
  .release-card-head,.release-card-bottom,.release-intro,.release-list-head{align-items:flex-start;flex-direction:column}
  .release-meta{text-align:left}
}


/* XENT POONGTAM 7D TRENDS */
.poongtam-trend-panel{margin-top:14px}
.poongtam-trend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.poongtam-trend-head h3{margin:0 0 4px;font-size:16px}
.poongtam-trend-head p{margin:0;color:#7b8497;font-size:12px}
.poongtam-trend-live{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf8f4;color:#08775f;font-size:11px;font-weight:800}
.poongtam-trend-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.poongtam-trend-card{border:1px solid #e2e5ed;border-radius:11px;background:#fff;padding:13px;min-width:0}
.poongtam-trend-card h4{margin:0 0 9px;font-size:13px;color:#202331}
.poongtam-trend-row{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:6px;padding:6px 0;border-top:1px solid #f0f1f5;font-size:12px}
.poongtam-trend-row:first-of-type{border-top:0}
.poongtam-trend-row .rank{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:6px;background:#f1f2f7;color:#666f82;font-size:10px;font-weight:900}
.poongtam-trend-row>span:last-child{font-weight:800;white-space:nowrap}
.poongtam-trend-empty{padding:13px;color:#8a91a0;font-size:12px}
.bj-name{display:flex;align-items:center;gap:8px;min-width:0}
.bj-last-donation{font-size:10px;font-weight:600;color:#9a8290;white-space:nowrap}
@media(max-width:1500px){.poongtam-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.poongtam-trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.poongtam-trend-grid{grid-template-columns:1fr}.bj-name{align-items:flex-start;flex-direction:column;gap:2px}}

/* XENT TREND GOOD BAD STYLE */
.poongtam-trend-card{
  position:relative;
  overflow:hidden;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.poongtam-trend-card:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(20,28,50,.07);
}
.trend-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
}
.poongtam-trend-card .trend-title-row h4{
  margin:0;
  font-size:15px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:-.2px;
  color:#171b27;
}
.trend-signal{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:20px;
  padding:0 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.45px;
  flex:0 0 auto;
}
.trend-signal-good{
  color:#08775f;
  background:#e8f8f1;
  border:1px solid #bdebdc;
}
.trend-signal-bad{
  color:#9e2734;
  background:#fff0f2;
  border:1px solid #f2c9cf;
}
.poongtam-trend-card.trend-good{
  border-top:3px solid #2eb67d;
}
.poongtam-trend-card.trend-bad{
  border-top:3px solid #a43a46;
}
.poongtam-trend-row .rank{
  font-weight:1000;
  border:1px solid transparent;
  box-shadow:none;
}
.poongtam-trend-row.trend-good.rank-1 .rank{
  color:#6b4a00;
  background:linear-gradient(145deg,#ffe9a6,#f4c94f);
  border-color:#e5b72d;
}
.poongtam-trend-row.trend-good.rank-2 .rank{
  color:#4e5663;
  background:linear-gradient(145deg,#f1f3f6,#cbd0d8);
  border-color:#b8bec8;
}
.poongtam-trend-row.trend-good.rank-3 .rank{
  color:#6d3d1f;
  background:linear-gradient(145deg,#e9b083,#bf7848);
  border-color:#ad693d;
}
.poongtam-trend-row.trend-good.rank-1 b,
.poongtam-trend-row.trend-good.rank-1>span:last-child{
  font-weight:950;
}
.poongtam-trend-row.trend-bad.rank-1 .rank{
  color:#fff;
  background:#7f1d2d;
  border-color:#681724;
}
.poongtam-trend-row.trend-bad.rank-2 .rank{
  color:#fff;
  background:#9b2c3d;
  border-color:#812334;
}
.poongtam-trend-row.trend-bad.rank-3 .rank{
  color:#fff;
  background:#b54554;
  border-color:#983543;
}
.poongtam-trend-row.trend-bad.rank-1 b,
.poongtam-trend-row.trend-bad.rank-1>span:last-child{
  color:#7f1d2d;
  font-weight:950;
}

/* XENT SECURITY V1 */
.login-otp-hint{font-size:10px;color:#8c93a3;font-weight:700;margin-left:5px}
.security-stack{display:grid;gap:14px;margin-top:16px}
.security-overview-panel{border-top:3px solid #6654ef}
.security-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.security-panel-head h3{margin:0 0 5px;font-size:16px}.security-panel-head p{margin:0;color:#7b8497;font-size:12px}
.security-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.security-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;background:#f1f2f6;color:#6f7686}
.security-badge-on{background:#e7f8f1;color:#08775f;border:1px solid #bdebdc}.security-badge-off{background:#fff0f2;color:#a52b39;border:1px solid #f0c7ce}
.security-note{margin-top:12px;padding:10px 12px;border-radius:9px;background:#f7f7fb;color:#5d6474;font-size:12px}
.danger-action{border:1px solid #e9bfc6;background:#fff4f5;color:#a52b39;border-radius:8px;padding:9px 12px;font-weight:800;cursor:pointer}
.security-table-wrap{overflow:auto;margin-top:12px;border:1px solid #e2e5ec;border-radius:10px}.security-log-wrap{max-height:430px}
.security-table{width:100%;border-collapse:collapse;min-width:1000px;font-size:11px}.security-table th{position:sticky;top:0;background:#f6f7fa;color:#687084;text-align:left;padding:9px 10px;border-bottom:1px solid #e1e4eb;z-index:1}.security-table td{padding:9px 10px;border-bottom:1px solid #eff1f5;vertical-align:top;color:#313747}.security-table tr:last-child td{border-bottom:0}
.security-ip{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.security-kill{border:1px solid #e1b8bf;background:#fff6f7;color:#a32c3a;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:800;cursor:pointer}
.security-result{display:inline-flex;padding:3px 7px;border-radius:999px;font-weight:900;font-size:9px}.security-result.ok{background:#e8f8f1;color:#08775f}.security-result.fail{background:#fff0f2;color:#a52b39}
@media(max-width:900px){.security-panel-head{flex-direction:column}.security-actions{justify-content:flex-start}}


/* XENT_POONGTAM_SOOP_AVATAR_V1 */
.soop-avatar{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  background:#eef0f3;
  border:1px solid #dfe3e8;
  vertical-align:middle;
}
.soop-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.soop-avatar-sm{width:34px;height:34px}
.soop-avatar-lg{width:52px;height:52px}
.soop-avatar-xs{width:28px;height:28px}
.soop-avatar.avatar-fallback::before{
  content:'';
  width:38%;
  height:38%;
  border-radius:50%;
  background:#c9ced6;
  box-shadow:0 10px 0 5px #c9ced6;
  transform:translateY(-4px);
}
.search-result.with-avatar{display:flex;align-items:center;gap:10px;min-height:46px}
.search-result-copy{min-width:0;line-height:1.45}
.profile-identity{display:flex;align-items:center;gap:12px}
.profile-identity-copy{min-width:0}
.bj-button.with-avatar{grid-template-columns:auto minmax(0,1fr) auto auto}
@media(max-width:760px){
  .soop-avatar-lg{width:46px;height:46px}
  .bj-button.with-avatar{grid-template-columns:auto minmax(0,1fr) auto auto}
}
