:root{--canvas:#f6f7f9;--white:#fff;--ink:#20242c;--muted:#667085;--border:#e7e9ee;--blue:#2563eb;--blue-light:#edf3ff;--gold:#94640d;--gold-light:#fff5d6;--sidebar:224px;--radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:14px;color:var(--ink);font-feature-settings:'ss03';font-variant-numeric:tabular-nums}*{box-sizing:border-box}body{margin:0;background:var(--white);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}input,select,textarea{border:1px solid #dce0e7;border-radius:6px;background:#fff;color:var(--ink);padding:9px 11px;min-width:0}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #94b9ff66;outline-offset:2px;border-color:#79a1f4}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px;min-width:16px;cursor:pointer}textarea{resize:vertical;line-height:1.6}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.3;font-weight:650;letter-spacing:-.8px}h2{font-size:16px;font-weight:600;letter-spacing:-.2px}h3{font-size:14px;font-weight:600}small{font-size:12px}button{background:none;border:0}.icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.mono{font-family:'SFMono-Regular',Consolas,monospace;font-size:12px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.1px;color:#828895;margin-bottom:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;min-height:36px;border:1px solid #dce0e7;border-radius:6px;font-weight:500;white-space:nowrap;background:white;transition:background .15s,color .15s}.button:hover{background:#f8f9fb;border-color:#b9c0cc}.button.primary{color:white;background:var(--blue);border-color:var(--blue);box-shadow:0 1px 2px #1b48bb22}.button.primary:hover{background:#1d4ed8}.button.small{min-height:30px;padding:5px 10px;font-size:12px}.button.danger{color:#b42318}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:5px;color:var(--muted)}.icon-button:hover{background:#edf0f5;color:var(--ink)}.text-button{display:inline-flex;align-items:center;gap:6px;color:#536174;font-weight:500;font-size:13px;padding:3px 0}.text-button:hover{color:var(--blue)}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#f8f9fb;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:0 12px;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:750;letter-spacing:-.8px;height:78px;padding:0 12px;color:#15181f}.brand-mark{position:relative;width:31px;height:33px;background:#20252f;color:white;display:grid;place-items:center;font-size:23px;border-radius:7px;font-weight:800;letter-spacing:-2px;padding-right:2px}.brand-mark>span{position:absolute;right:-2px;bottom:3px;width:7px;height:7px;background:#4f7cfe;border:2px solid #f8f9fb;border-radius:50%}.brand-crm{color:#888f9a;font-size:13px;font-weight:500;letter-spacing:0}.workspace{margin:5px 0 26px;padding:10px;border:1px solid #e1e5ec;display:flex;align-items:center;gap:9px;border-radius:7px;background:#fff}.workspace-avatar{background:#eef2f8;color:#6f7c96;font-weight:650;border-radius:5px;width:31px;height:31px;display:grid;place-items:center}.workspace strong{font-size:12px;display:block}.workspace small{font-size:11px;color:var(--muted);display:block}.workspace-dot{margin-left:auto;width:6px;height:6px;background:#38a274;border-radius:100%}.nav-label{padding:0 12px;margin-bottom:10px;font-size:10px;font-weight:650;letter-spacing:.8px;color:#989faa;display:flex;align-items:center;justify-content:space-between}.nav-item{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 11px;margin:2px 0;border-radius:6px;color:#606a7c;font-size:13px;font-weight:500;position:relative}.nav-item>.icon{width:17px;height:17px;color:#8490a1}.nav-item:hover{background:#eef0f5}.nav-item.active{background:#eaf0fd;color:#2858c8}.nav-item.active>.icon{color:#3465d6}.saved-label{margin-top:32px;font-size:9px;letter-spacing:.6px;padding-right:6px}.saved-label .icon{width:15px}.saved-nav{overflow-y:auto;min-height:50px;max-height:35vh}.saved-nav .nav-item{font-size:12px;font-weight:400}.saved-nav .nav-item>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-dot{margin-left:auto;height:5px;width:5px;border-radius:100%;background:#8fa6d4}.sidebar-hint{font-size:12px;color:#939ba9;padding:0 12px;line-height:1.7}.sidebar-bottom{margin-top:auto;padding-top:20px}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--border);margin-top:15px;padding:17px 3px}.profile>div{min-width:0;flex:1}.profile strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:10px;color:var(--muted);display:block}.avatar{width:34px;height:34px;flex-shrink:0;display:inline-flex;justify-content:center;align-items:center;background:#eef0f8;color:#636c8e;font-size:11px;letter-spacing:-.3px;font-weight:600;border:1px solid #e7eaf4;border-radius:50%}.avatar-vip{background:#fcf3d9;border-color:#f3e4b9;color:#987324}.avatar-sm{width:29px;height:29px;font-size:10px}.avatar-xs{width:23px;height:23px;font-size:9px}.avatar-large{width:58px;height:58px;font-size:18px}.profile-avatar{background:#e7edf8;color:#516ea5}.main{margin-left:var(--sidebar);min-height:100vh;min-width:0}.topbar{height:59px;padding:0 32px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#959ba6}.breadcrumb .icon{width:12px;height:12px;color:#b1b7c0}.breadcrumb span{color:#515b6c}.topbar-end{display:flex;align-items:center;gap:8px;font-size:11px;color:#8992a0}.topbar-end>.icon{width:14px}.topbar-divider{height:20px;width:1px;background:var(--border);margin:0 8px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 32px 25px}.page-heading h1{display:flex;gap:11px;align-items:center}.page-heading p{color:#84909f;font-size:12px;margin-top:9px}.heading-actions{display:flex;gap:8px}.count-badge{font-size:12px;letter-spacing:0;font-weight:500;background:#f0f2f6;border:1px solid #e6e9ef;border-radius:5px;color:#798292;padding:2px 7px}.records-surface{margin:0 32px;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff}.list-tabs{height:53px;display:flex;align-items:stretch;padding:0 18px;gap:24px;border-bottom:1px solid var(--border)}.tab{display:flex;align-items:center;gap:7px;position:relative;color:#7b8596;font-size:12px;font-weight:500;white-space:nowrap;padding:0 2px}.tab>.icon{width:16px;height:16px}.tab.selected{color:#2b60cf}.tab.selected:after{content:'';position:absolute;bottom:-1px;height:2px;left:0;right:0;background:#3774ed}.list-tabs-end{margin-left:auto;display:flex;align-items:center}.table-toolbar{padding:15px 16px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--border)}.table-search{position:relative;display:flex;align-items:center;min-width:140px;width:270px}.table-search .icon{position:absolute;left:10px;color:#929bad;width:16px}.table-search input{width:100%;padding:8px 10px 8px 34px;font-size:12px;background:#fff;border-color:#e3e6ed}.table-toolbar>.button,.table-toolbar>select{font-size:12px;min-height:34px;padding:7px 10px}.table-toolbar>select{color:#758091;max-width:175px;border-color:transparent}.toolbar-spacer{flex:1}.filter-active{color:var(--blue);background:var(--blue-light)}.mini-count{background:#dce8ff;color:#356bd1;border-radius:3px;padding:0 4px;font-size:10px}.table-scroll{overflow:auto;max-height:calc(100vh - 350px);min-height:220px}table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;white-space:nowrap}th{background:#f9fafc;border-bottom:1px solid var(--border);height:39px;font-size:11px;font-weight:500;color:#7f8999;padding:0 16px;position:sticky;top:0;z-index:3;user-select:none}td{padding:12px 16px;border-bottom:1px solid #edf0f4;font-size:12px;height:65px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}tbody tr:has(.row-check:checked){background:#f2f6ff}th.check-cell,td.check-cell{width:38px;padding-left:16px;padding-right:4px}th.check-cell input,td.check-cell input{width:14px;height:14px;min-width:14px;vertical-align:middle}.player-name{display:flex;align-items:center;gap:10px;min-width:178px}.player-name strong{display:block;font-size:12px;font-weight:550;color:#394251}.player-name small{display:block;font-size:10px;color:#9aA1ad;margin-top:2px}.player-name:hover strong{color:var(--blue)}.vip-inline{color:#a7822a;display:inline-flex;align-items:center;gap:3px}.vip-inline>.icon{width:10px;height:10px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;padding:3px 7px;line-height:1.4;border-radius:5px;border:1px solid transparent}.badge .icon{width:13px;height:13px}.badge-dot{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.7}.gray{background:#f1f3f6;color:#788394}.gold{background:#fff5d9;color:#957021;border-color:#f7e7bc}.green{background:#edf8f2;color:#4a9273}.red{background:#fdf0ef;color:#bb6763}.blue{background:#edf3ff;color:#5c80c6}.violet{background:#f2effb;color:#8f7eb3}.amber{background:#fff4e4;color:#b2884c}.casino-status{display:flex;align-items:center;gap:5px;color:#7b8393;font-size:11px}.casino-status .icon{width:12px;color:#c2a15c}.conflict{color:#b77928}.conflict>span{border-radius:50%;background:#fff0d6;width:15px;text-align:center}.owner-cell{display:inline-flex;align-items:center;gap:7px;color:#687384;font-size:11px}.unassigned{display:flex;align-items:center;gap:6px;color:#a3aab6;font-size:11px}.unassigned .icon{width:13px;height:13px}.tag-list{display:flex;gap:4px;flex-wrap:wrap;max-width:250px}.tag{font-size:10px;display:inline-block;line-height:1.4;padding:3px 6px;border-radius:4px;white-space:nowrap}.date-cell{font-size:11px}.date-cell small{font-size:10px;display:block;color:#a1a9b6;margin-top:2px}.row-action{padding:0 10px;width:30px}.row-action .icon{width:13px;height:13px;color:#8d99aa}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-top:1px solid var(--border);color:#929bab;font-size:11px;background:#fdfdfe;min-height:51px}.table-footer>div{display:flex;gap:8px;align-items:center}.subtle-separator{margin:0 8px;color:#c6cad2}.list-footnote{display:flex;align-items:center;gap:6px;margin:15px 33px;color:#a6aeba;font-size:10px}.list-footnote>.icon{width:11px;height:11px}.list-footnote>span{margin-left:auto}.empty-state{padding:50px 24px;text-align:center;color:#8993a2;white-space:normal}.empty-state>.icon{width:36px;height:36px;margin-bottom:12px;color:#a8b5cb}.empty-state h2{color:#657083;font-size:16px;margin-bottom:8px}.empty-state p{max-width:420px;margin:0 auto 15px;line-height:1.8;font-size:13px}.bulk-toolbar{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#f0f5ff;border-bottom:1px solid #e1eafb;font-size:12px}.bulk-toolbar[hidden]{display:none}.queue-intro{display:flex;align-items:center;gap:13px;margin:0 32px 22px;padding:16px 20px;background:#f8faff;border:1px solid #e7edfa;border-radius:8px}.queue-icon{width:36px;height:36px;border-radius:8px;background:#eaf0fd;color:#6891df;display:grid;place-items:center}.queue-intro strong{font-size:13px}.queue-intro p{font-size:11px;color:#8a96a7;margin-top:3px}.queue-intro>.badge{margin-left:auto}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0 32px 25px}.stat-card{border:1px solid var(--border);border-radius:8px;padding:20px 22px;transition:border-color .15s}.stat-card:hover{border-color:#b5c9f2}.stat-card>span{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7b8594}.stat-card>span .icon{color:#9ea8b7;width:16px}.stat-card>strong{display:block;font-size:31px;letter-spacing:-1px;font-weight:550;margin:12px 0 4px}.stat-card>small{color:#a3aab6;font-size:10px}.vip-stat{background:#fffdf7;border-color:#f1e9d7}.vip-stat>span>.icon{color:#b89e63}.overview-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;margin:0 32px 32px}.surface{border:1px solid var(--border);border-radius:8px;background:#fff;overflow:hidden}.surface-heading{padding:20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.surface-heading h2{font-size:14px}.surface-heading p{font-size:11px;color:#97a0af;margin-top:4px}.load-row{display:flex;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid #f0f2f5}.load-row>div:nth-child(2){width:130px}.load-row strong{font-size:11px;display:block}.load-row small{font-size:10px;color:#98a1af;display:block}.load-track{flex:1;height:5px;background:#f0f3f9;border-radius:3px;margin:0 10px}.load-track>span{display:block;height:100%;background:#9ab5ed;border-radius:3px}.recent-row{display:flex;gap:10px;align-items:center;padding:15px 20px;border-bottom:1px solid #f0f2f5}.recent-icon{color:#96a6bf;background:#f2f5fa;width:31px;height:31px;border-radius:7px;display:grid;place-items:center}.recent-row>div{min-width:0;flex:1}.recent-row strong{display:block;font-size:12px;font-weight:500}.recent-row>div>span{font-size:11px;color:#8f98a5;display:block;margin-top:3px}.recent-row small{color:#a2aab6;font-size:10px}.team-create{margin:24px 32px;padding:22px}.team-create h2{margin-bottom:15px}.inline-form{display:flex;align-items:center;gap:10px}.inline-form input{flex:1;min-width:120px}.team-create .inline-form{max-width:500px;margin-top:18px}.form-surface{margin:0 32px 32px;padding:28px;border:1px solid var(--border);border-radius:8px;max-width:660px}.form-field,label{display:block;margin-bottom:19px;font-size:13px;color:#566174;font-weight:500}.form-field>label{margin-bottom:6px}label>input:not([type=checkbox]),label>select,label>textarea{display:block;width:100%;margin-top:7px}.form-field>input,.form-field>select,.form-field>textarea{width:100%;display:block}.check-field label{display:flex;align-items:center;gap:10px;margin:0}.help-text{display:block;color:#8c97a5;margin-top:5px;line-height:1.6;font-size:11px;font-weight:400}.required{color:#c37775}.form-actions{border-top:1px solid var(--border);padding-top:20px;margin-top:25px;display:flex;justify-content:flex-end;gap:9px}.back-link{font-size:12px;color:#909baa;display:block;margin-bottom:12px}.wide-form{max-width:900px}.wide-form h2{margin:12px 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.contact-editor-row{display:grid;grid-template-columns:120px 1fr 120px 30px;gap:8px;margin:9px 0}.contact-editor-row select,.contact-editor-row input{font-size:12px}.custom-input input[type=checkbox]{display:block;margin-top:10px}.duplicate-group{margin:0 32px 20px}.duplicate-player{display:flex;gap:15px;align-items:center;padding:15px 20px;border-bottom:1px solid #f0f2f5;font-size:12px}.duplicate-player>strong{font-weight:500;min-width:170px}.duplicate-player>.icon{margin-left:auto}.duplicate-player>span:nth-last-child(2){margin-left:auto;color:#8d97a5}.settings-note{padding:20px;display:flex;gap:12px;align-items:center;background:#fafbfd;border-bottom:1px solid var(--border);color:#7a8597;font-size:12px}.api-settings{padding:24px}.api-settings>p{margin:8px 0 20px;font-size:13px}.api-settings>h2{margin:15px 0}.api-settings>.inline-form{max-width:520px;margin:20px 0}.api-settings table{margin-bottom:28px}.endpoint{display:block;background:#f4f6fa;padding:14px;border-radius:6px;font-size:13px}.settings-tabs .tab{font-size:13px}.audit-surface{margin:0 32px 32px}.audit-surface .activity-list{padding:0 22px}.audit-surface>.button{margin:16px 22px}.audit-player{font-size:11px;display:block;color:#4d6eac;margin-top:22px;padding-left:44px}.record-header{display:flex;align-items:center;justify-content:space-between;padding:25px 28px;border-bottom:1px solid var(--border)}.record-identity{display:flex;gap:15px;align-items:center}.record-identity h1{font-size:24px;margin:0 0 8px}.record-identity .eyebrow{font-size:10px;margin-bottom:4px;letter-spacing:.6px}.record-identity .eyebrow .mono{margin-left:8px;letter-spacing:0;font-size:10px}.record-statuses{display:flex;gap:5px}.record-actions{display:flex;gap:7px;align-items:center}.record-layout{display:grid;grid-template-columns:290px 1fr}.record-fields{background:#fcfcfd;border-right:1px solid var(--border)}.field-section{padding:21px 22px;border-bottom:1px solid var(--border)}.field-section h2{font-size:12px;font-weight:600;color:#6f7b8b;margin-bottom:18px}.section-heading{display:flex;justify-content:space-between}.section-heading>.icon{width:13px;color:#9ca8b7}.field-list{margin:0}.field-list>div{margin:0 0 16px}.field-list dt{font-size:10px;color:#9ba4b0;margin-bottom:4px}.field-list dt small{font-size:9px;margin-left:6px}.field-list dd{margin:0;color:#5d6879;font-size:12px;overflow-wrap:anywhere}.field-list dd a{color:#597cba}.contact-row{display:flex;align-items:center;gap:11px;margin:13px 0}.contact-row>.icon{color:#9ba7b8;width:16px}.contact-row small{display:block;color:#9aa4b1;font-size:10px;margin-bottom:4px}.contact-row span{font-size:11px;overflow-wrap:anywhere}.contact-list{overflow-wrap:anywhere}.single-tag-form{display:flex;gap:4px;flex-wrap:wrap;margin-top:13px}.single-tag-form select{width:100%;margin-bottom:4px;font-size:11px}.record-meta{font-size:10px;color:#a0a9b7;line-height:1.9}.record-meta .icon{width:11px;height:11px;margin-right:3px}.record-meta p{margin-top:12px}.record-main{min-width:0;padding:0 28px 30px}.record-tabs{height:61px;display:flex;align-items:stretch;gap:25px;border-bottom:1px solid var(--border);margin-bottom:22px}.vip-medal{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#b99648;background:#fcf2d7}.comment-form{border:1px solid var(--border);border-radius:7px;overflow:hidden;background:#fff}.comment-top{display:flex;align-items:center;padding:11px 13px;gap:8px}.comment-top strong{font-size:11px;color:#728095}.comment-top select{font-size:10px;border:0;margin-left:auto;padding:4px;color:#7e8a9b}.comment-form textarea{width:100%;border:0;border-radius:0;padding:4px 15px;font-size:12px;resize:vertical;min-height:85px}.comment-form textarea:focus{outline:0;box-shadow:inset 0 0 0 2px #dee8fb}.comment-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-top:1px solid #f1f3f7}.comment-footer small{font-size:9px;color:#a6afbc}.activity-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 10px}.activity-heading h2{font-size:12px;color:#728094}.activity-heading select{border-color:transparent;font-size:10px;color:#929dac;padding:5px}.event{display:flex;gap:12px;padding:20px 0;border-bottom:1px solid #eef0f5}.event-symbol{width:31px;height:31px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #e4eaf3;color:#92a3bd;border-radius:50%;background:#fbfcfe}.event-symbol>.icon{width:14px;height:14px}.api-event{background:#f4f7fc;color:#88a0c6}.event-content{flex:1;min-width:0}.event-title{display:flex;gap:8px;align-items:center;margin-bottom:4px}.event-title strong{font-size:11px;color:#647184;font-weight:600}.event-title .tag{font-size:8px;padding:1px 4px}.event-time{margin-left:auto;font-size:9px;color:#a4afbe;white-space:nowrap}.event-kind{font-size:10px;color:#9aa5b5;margin-bottom:7px}.event-message{font-size:12px;color:#6b788c;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:6px;line-height:1.7}.change-row{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:7px;row-gap:4px;margin-top:7px;font-size:10px;overflow-wrap:anywhere}.change-label{font-weight:500;color:#8a95a7}.old-value{color:#a4aebb;max-width:100%;text-decoration:line-through;text-decoration-color:#d4d9e1}.new-value{color:#6f819b;max-width:100%;background:#f3f6fa;padding:1px 4px;border-radius:3px}.change-row>.icon{width:11px;height:11px;align-self:center;color:#b4bdcb}.vip-history{padding:5px 0}.vip-history-heading{display:flex;gap:13px;align-items:center;margin:3px 0 15px}.vip-history-heading h2{font-size:16px;color:#6d624b}.vip-history-heading p{font-size:12px;color:#a08d6a;margin-top:5px}.vip-explainer{font-size:11px;line-height:1.8;margin-bottom:30px}.vip-rail{margin:0 12px}.vip-stop{position:relative;display:flex;gap:19px;padding-bottom:24px}.vip-stop:not(:last-child):before{content:'';position:absolute;top:28px;left:13px;bottom:0;width:2px;background:#eaddbb}.vip-stop.lost:not(:last-child):before{background:#e6e9ef}.vip-node{width:28px;height:28px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#fff8e5;border:1px solid #edd8a3;color:#b99649;z-index:1}.vip-node .icon{width:14px;height:14px}.vip-stop.lost .vip-node{background:#f3f4f7;border-color:#dfe3eb;color:#9aa4b4;font-size:19px}.vip-event-card{flex:1;border:1px solid #eee7d6;background:#fffefb;padding:15px 18px;border-radius:7px;margin-top:-5px}.vip-stop.lost .vip-event-card{border-color:#e6e9ef;background:#fafbfd}.vip-event-card time{color:#a89674;font-size:11px;display:flex;justify-content:space-between}.vip-event-card time span{color:#b7b0a2;font-size:10px}.vip-event-card h3{margin:9px 0 4px;font-size:13px;color:#816e47}.vip-event-card p{font-size:11px;color:#a0937d}.vip-stop.lost h3,.vip-stop.lost p{color:#8b97a7}.all-fields{padding:7px 0}.all-fields>p{font-size:12px;margin:8px 0 24px}.all-fields .field-list>div{display:grid;grid-template-columns:1fr 1fr;padding:13px 0;border-bottom:1px solid var(--border)}.player-detail>.notice{margin:15px 22px}.panel-only{display:none}.player-panel .panel-only{display:inline-flex}.player-panel{position:fixed;left:auto;right:0;top:0;bottom:0;margin:0;width:min(1120px,92vw);max-width:none;max-height:100vh;height:100vh;border:0;border-left:1px solid var(--border);box-shadow:-10px 0 45px #14244b14;padding:0}.player-panel::backdrop{background:#162b4940}.player-panel .record-header{position:sticky;top:0;background:white;z-index:5}.modal{border:1px solid #d9e0eb;border-radius:12px;padding:24px;box-shadow:0 24px 90px #1f315b30;width:480px;max-width:calc(100vw - 32px);max-height:85vh}.modal::backdrop{background:#192b4745;backdrop-filter:blur(2px)}.modal-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:24px}.modal-heading h2{font-size:18px;color:#3e4b60}.modal-heading p{font-size:12px;color:#8a97aa;margin-top:6px}.modal-heading .eyebrow{margin-bottom:7px}.modal-heading .icon-button{margin:-5px -5px 0 0}.modal>label,.modal form>label{font-size:12px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:23px;padding-top:20px;border-top:1px solid var(--border)}.modal .muted{font-size:11px}.assignment-modal{width:610px}.operator-list{max-height:320px;overflow:auto}.operator-option{display:flex;align-items:center;gap:10px;padding:13px 5px;margin:0;border-bottom:1px solid var(--border);cursor:pointer;font-weight:400}.operator-info{flex:1}.operator-info strong{display:block;font-size:12px}.operator-info small{display:block;font-size:10px;color:#91a0b4;margin-top:3px}.operator-load{text-align:right;padding-right:5px}.operator-load strong{display:block;font-size:14px;color:#69819f;font-weight:500}.operator-load small{font-size:9px;color:#a1adbd}.allocation-count{width:70px!important;font-size:12px}.preview-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:15px 8px;border-bottom:1px solid var(--border)}.preview-row strong{font-size:13px}.preview-row>span:last-child{display:flex;gap:10px;align-items:center;color:#8697ad}.preview-row .added-count{font-size:11px;color:#609472;background:#edf7f0;border-radius:4px;padding:2px 5px}.preview-heading{color:#8494a8;font-size:12px;padding:0 8px 12px}.checkbox-list>label{display:flex;gap:9px;align-items:center;margin:0;padding:10px 0}.filter-modal{width:790px}.filter-group{padding:14px;border:1px solid #e1e8f3;background:#fafcff;border-radius:7px;margin-bottom:10px}.filter-group>.group-header{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:11px;color:#8b99ae}.group-header select{font-size:11px;padding:4px 20px 4px 7px}.filter-rule{display:flex;gap:7px;align-items:center;margin-bottom:9px}.filter-rule select{font-size:11px;padding:7px;min-width:110px;max-width:170px}.filter-rule input{font-size:11px;padding:7px;flex:1}.filter-rule .remove-rule{color:#9cabbf;font-size:20px}.group-controls{display:flex;gap:15px;font-size:11px;color:#6990cf;margin-top:13px}.column-option{display:flex;align-items:center;gap:10px;padding:9px 5px;border-bottom:1px solid #edf0f5;margin:0;font-size:12px;font-weight:400}.column-option .drag-grip{cursor:grab;color:#b1bac8}.column-option .pin-label{margin-left:auto;font-size:10px;display:flex;align-items:center;gap:5px;margin-bottom:0}.column-option .pin-label input{width:13px;height:13px}.resize-handle{position:absolute;right:0;top:7px;bottom:7px;width:5px;cursor:col-resize;border-right:1px solid transparent}.resize-handle:hover{border-color:#9fbaf1}.pinned-column{position:sticky!important;left:0;background:#fff;z-index:2;box-shadow:1px 0 0 var(--border)}th.pinned-column{z-index:5;background:#f9fafc}.form-error{font-size:12px;color:#b55954;line-height:1.7;margin-top:8px}.form-error ul{list-style:none;padding:0}.notice{padding:12px 16px;border:1px solid #e2e9f3;border-radius:6px;font-size:12px;display:flex;align-items:center;gap:8px}.notice.error{background:#fdf3f2;color:#b6625c;border-color:#f4dbd8}.notice.success{background:#edf8f1;color:#508867;border-color:#d8ecdf}.notice.warning{background:#fffaf0;color:#a28c5b;border-color:#f1e6ca}.messages{margin:15px 32px}.messages .notice{margin:5px 0}.login-page{background:#f7f8fb;min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column}.login-brand{position:absolute;left:40px;top:15px}.login-card{width:410px;max-width:calc(100vw - 32px);padding:36px 32px;background:white;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 35px #33486905}.login-symbol{display:grid;place-items:center;width:43px;height:43px;border:1px solid #e0e8f9;color:#7699d5;border-radius:11px;background:#f5f8fd;margin-bottom:25px}.login-card h1{font-size:24px;letter-spacing:-.6px}.login-card>p{font-size:12px;margin:8px 0 28px}.login-card label{font-size:12px}.login-card input{padding:11px;font-size:13px}.login-card .full{margin-top:5px;justify-content:space-between;padding:11px 16px}.login-card .login-help{font-size:10px;margin:22px 0 0;color:#9ba8ba;text-align:center}.login-footer{position:absolute;bottom:24px;color:#a4adbb;font-size:10px}.login-card .notice{margin-bottom:20px}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%) translateY(90px);max-width:70vw;background:#273650;color:#fff;border-radius:8px;box-shadow:0 5px 30px #11264425;padding:12px 20px;font-size:13px;z-index:200;transition:transform .2s}#toast.visible{transform:translateX(-50%) translateY(0)}#toast.error{background:#9c4a46}.skip-link{position:fixed;top:-100px;left:15px;z-index:500;background:white;padding:10px}.skip-link:focus{top:10px}.mobile-menu{display:none}[hidden]{display:none!important}.loading-panel{padding:50px;color:#8191a6}.record-actions .button{font-size:11px}.column-hidden{display:none!important}button:focus-visible{outline:3px solid #94b9ff66}
@media(min-width:1500px){:root{--sidebar:238px}.player-name strong{font-size:13px}.player-name small{font-size:11px}td{font-size:13px;height:68px}.badge{font-size:12px}.owner-cell{font-size:12px}.casino-status{font-size:12px}.nav-item{font-size:14px}.nav-label{font-size:11px}.tag{font-size:11px}}
@media(max-width:1150px){:root{--sidebar:204px}.page-heading{padding:25px 22px}.records-surface{margin:0 22px}.table-toolbar{flex-wrap:wrap}.table-search{width:220px}.list-tabs{gap:17px}.list-tabs-end .text-button{font-size:11px}.record-layout{grid-template-columns:245px 1fr}.record-main{padding:0 20px 24px}.overview-grid{grid-template-columns:1fr}.stats-grid{gap:10px}.stat-card{padding:18px}.record-header{padding:20px}.player-panel{width:95vw}.form-surface,.audit-surface,.stats-grid,.overview-grid,.queue-intro,.duplicate-group{margin-left:22px;margin-right:22px}.event-time{font-size:8px}.list-footnote{margin-left:22px;margin-right:22px}}
@media(max-width:800px){:root{--sidebar:0px}.sidebar{width:230px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 50px #14213c20}.sidebar.open{transform:translateX(0)}.mobile-menu{display:flex}.topbar{padding:0 18px;gap:10px}.breadcrumb{margin-right:auto}.topbar-end{font-size:10px}.topbar-end>.icon{display:none}.page-heading{align-items:flex-start;flex-wrap:wrap;padding:25px 18px 20px}.page-heading h1{font-size:24px}.heading-actions .button{font-size:11px}.records-surface{margin:0 16px}.list-tabs{gap:20px;overflow-x:auto;height:48px}.list-tabs-end{display:none}.table-toolbar{gap:7px;padding:12px}.table-search{flex:1;min-width:160px}.table-toolbar>.button:last-child{margin-left:auto}.table-scroll{max-height:65vh}.list-footnote{font-size:9px;margin:12px 18px}.list-footnote>span{display:none}.stats-grid{grid-template-columns:1fr 1fr;margin:0 18px 20px}.overview-grid{margin:0 18px 25px}.queue-intro{margin:0 18px 18px}.queue-intro p{font-size:10px}.queue-intro>.badge{display:none}.bulk-toolbar{flex-wrap:wrap}.bulk-toolbar>.button{font-size:11px}.form-surface{margin:0 18px 25px;padding:20px}.form-grid{grid-template-columns:1fr}.contact-editor-row{grid-template-columns:85px 1fr 80px 20px;gap:4px}.contact-editor-row select{font-size:10px;padding:5px}.contact-editor-row input{padding:5px;width:100%}.record-layout{grid-template-columns:1fr}.record-fields{border-right:0;display:grid;grid-template-columns:1fr 1fr}.record-fields .field-section{padding:18px;border-right:1px solid var(--border)}.record-main{padding:0 18px 24px}.record-header{padding:20px 18px;align-items:flex-start;gap:10px}.record-identity h1{font-size:21px}.record-identity .avatar-large{width:43px;height:43px;font-size:14px}.record-actions{flex-wrap:wrap;justify-content:flex-end}.record-actions .button{font-size:10px;padding:6px}.record-actions>.button .icon{display:none}.record-identity{gap:10px}.record-header .eyebrow .mono{display:block;margin:3px 0}.player-panel{width:100vw}.event-title{flex-wrap:wrap;gap:4px 8px}.event-time{font-size:9px}.comment-footer small{font-size:8px;max-width:145px}.record-tabs{gap:21px}.record-tabs .tab{font-size:11px}.filter-rule{flex-wrap:wrap;padding-bottom:8px;border-bottom:1px solid #e6ebf3}.filter-rule select{max-width:calc(50% - 5px);width:calc(50% - 5px);flex:1}.filter-rule input{width:80%;flex:1}.modal{padding:20px}.assignment-modal .avatar{display:none}.operator-info strong{font-size:11px}.modal-heading p{font-size:11px}.duplicate-player{gap:9px;flex-wrap:wrap}.duplicate-player>strong{min-width:0}.duplicate-player>span:nth-last-child(2){width:100%;margin-left:44px;font-size:11px}.duplicate-group,.audit-surface{margin:0 18px 18px}.duplicate-group .surface-heading h2{font-size:12px;overflow-wrap:anywhere}.settings-tabs{gap:20px}.api-settings{padding:18px}.api-settings>.inline-form{flex-wrap:wrap}.team-create{margin:20px 18px}.inline-form{flex-wrap:wrap}.topbar-divider{display:none}.login-brand{left:20px;top:10px}.login-card{margin-top:30px}.settings-tabs .tab{font-size:11px}#toast{left:50%;max-width:90vw;width:max-content}.overview-grid>.surface{min-width:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Operational text stays readable during full-day CRM work. */
.nav-item{font-size:14px}.nav-label{font-size:11px}.saved-label{font-size:10px}.saved-nav .nav-item{font-size:13px}.workspace strong,.profile strong{font-size:12px}.workspace small,.profile small{font-size:11px}.breadcrumb,.topbar-end{font-size:12px}.eyebrow{font-size:11px}.page-heading p{font-size:13px}.tab,.table-search input,.table-toolbar>.button,.table-toolbar>select{font-size:13px}th{font-size:12px}td,.player-name strong{font-size:14px}.player-name small{font-size:12px}.badge,.casino-status,.owner-cell,.unassigned{font-size:12px}.tag{font-size:11px}.date-cell,.date-cell small,.table-footer{font-size:12px}.list-footnote{font-size:11px}.field-section h2,.field-list dd,.contact-row span{font-size:13px}.field-list dt,.contact-row small{font-size:12px}.event-title strong,.event-message{font-size:13px}.event-kind,.event-time,.change-row{font-size:12px}.comment-form textarea{font-size:14px}.comment-top strong,.record-tabs .tab,.activity-heading h2{font-size:13px}.comment-footer small{font-size:11px}.vip-event-card h3{font-size:14px}.vip-event-card time,.vip-event-card p{font-size:12px}.stat-card>span{font-size:13px}.stat-card>small{font-size:12px}.recent-row strong,.load-row strong{font-size:13px}.recent-row>div>span,.recent-row small,.load-row small{font-size:12px}.form-field,label{font-size:14px}.help-text{font-size:12px}.form-error{font-size:13px}.login-card label,.login-card input,.login-card>p{font-size:14px}.login-card .login-help{font-size:12px}.operator-info strong{font-size:14px}.operator-info small,.operator-load small{font-size:12px}.filter-rule select,.filter-rule input,.filter-group>.group-header{font-size:13px}.group-controls{font-size:13px}.record-layout{grid-template-columns:310px 1fr}.record-main{min-width:0}.table-scroll{max-height:calc(100vh - 365px)}.queue-intro p{font-size:12px}
@media(max-width:800px){.record-layout{grid-template-columns:1fr}.player-name strong{font-size:14px}.event-title strong,.event-message{font-size:13px}.event-time{font-size:11px}.table-scroll{max-height:65vh}.list-tabs-end{display:flex}.list-tabs-end .text-button{font-size:12px}}
/* Secondary copy and semantic states retain contrast at compact text sizes. */
.page-heading p,.table-footer,.field-list dt,.contact-row small,.event-kind,.event-time,.record-meta,.list-footnote,.vip-explainer,.comment-footer small,.surface-heading p,.recent-row>div>span,.recent-row small,.load-row small,.stat-card>small,.operator-info small,.operator-load small,.help-text{color:#6c7789}.green{color:#287149}.red{color:#a54743}.blue{color:#3f65a8}.gold{color:#805b17}.violet{color:#725b9c}.amber{color:#906620}.gray{color:#647184}.casino-status,.unassigned,.date-cell small,.table-toolbar>select{color:#68758a}.new-value{color:#53657f}.old-value{color:#788293}.vip-event-card time,.vip-event-card p{color:#857147}.vip-stop.lost h3,.vip-stop.lost p{color:#68778c}.eyebrow,.nav-label{color:#788394}.player-name small{color:#788293}.player-name .vip-inline{color:#987324}
/* Saved views: membership conditions stay visible during creation and editing. */
.view-editor{margin:0 32px 32px}.view-editor-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.view-editor-surface{border:1px solid var(--border);border-radius:8px;background:#fff;min-width:0}.view-settings{padding:22px}.view-settings h2{margin-bottom:22px}.view-settings label{display:block;font-size:12px;margin:18px 0 7px;color:#4c5564;font-weight:500}.view-settings input,.view-settings select{width:100%;font-size:13px}.view-settings .view-help{margin-top:10px}.view-help{font-size:12px;color:var(--muted);line-height:1.65}.dynamic-view-note{display:flex;align-items:flex-start;gap:9px;border-top:1px solid var(--border);margin-top:24px;padding-top:19px;color:#637184}.dynamic-view-note .icon{width:16px;height:16px;margin-top:2px}.dynamic-view-note strong{font-size:12px;color:#394557}.dynamic-view-note p{font-size:12px;line-height:1.7;margin-top:6px}.view-editor-main{display:grid;gap:20px;min-width:0}.view-conditions{padding:22px}.view-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.view-section-heading h2{font-size:15px}.view-section-heading p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.7}.view-presets{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:18px 0}.view-presets>span{font-size:12px;color:var(--muted);margin-right:3px}.view-presets .button{font-size:11px}.view-conditions .filter-group{padding:14px;margin:10px 0 0;border-color:#e5e8ee;background:#fafbfc}.view-conditions .filter-group .filter-group{background:white}.filter-empty{font-size:12px;color:var(--muted);margin:17px 0}.filter-rule{align-items:flex-start}.view-conditions .filter-rule{display:grid;grid-template-columns:minmax(100px,1.2fr) minmax(105px,.9fr) minmax(100px,1fr) 25px;gap:7px}.view-conditions .filter-rule>select,.view-conditions .filter-rule>input{width:100%;min-width:0;max-width:none;font-size:12px;padding:8px}.view-conditions .filter-rule .remove-rule{grid-column:4;min-height:34px}.view-conditions .group-header{flex-wrap:wrap;gap:8px;font-size:12px}.view-conditions .group-header select{font-size:12px}.view-conditions .group-controls button{color:#3561a9;font-size:12px;padding:5px 0}.view-all-players{display:flex;gap:9px;align-items:flex-start;font-size:12px!important;font-weight:400;margin:15px 0 0;line-height:1.8}.view-all-players input{margin-top:3px}.view-preview{padding:22px}.view-preview .text-button{font-size:12px;white-space:nowrap}.view-preview[aria-busy=true] #view-preview-results{opacity:.5}.view-preview-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(80px,.7fr) minmax(0,1fr);gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #eef0f3}.view-preview-row:last-child{border-bottom:0}.view-preview-row:first-child{margin-top:12px}.view-preview-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.view-preview-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.view-preview-row .badge{justify-self:start;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:11px}.preview-owner{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.view-preview-empty{font-size:13px;color:var(--muted);padding:22px 0 5px;line-height:1.8}.view-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;position:sticky;bottom:0;background:#fff;box-shadow:0 -8px 18px #ffffffee;border-top:1px solid var(--border);margin-top:22px;z-index:10}.view-editor-footer .form-error{margin:0 0 4px;max-width:650px}.saved-view-summary{margin:0 32px 20px;padding:17px 20px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fafbfc}.saved-view-summary-main{min-width:0}.saved-view-kicker{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px}.saved-view-kicker>.icon{width:16px;height:16px;color:var(--muted)}.saved-view-summary p{font-size:13px;margin:9px 0 6px;line-height:1.8;overflow-wrap:anywhere}.saved-view-summary small{color:var(--muted);font-size:11px}.saved-view-summary>.button{font-size:12px}.filter-values{min-width:0;flex:1;font-size:12px;border:1px solid #dce0e7;background:white;border-radius:6px}.filter-values summary{padding:8px;cursor:pointer;overflow-wrap:anywhere}.filter-choice-list{padding:6px 8px;border-top:1px solid var(--border);max-height:190px;overflow:auto;min-width:0}.filter-choice-list label{display:flex;gap:7px;align-items:flex-start;font-size:12px;font-weight:400;margin:0;padding:6px 0;overflow-wrap:anywhere;cursor:pointer}.filter-choice-list input{margin-top:2px}.filter-choice-list p{font-size:12px;color:var(--muted)}
@media(max-width:1150px){.view-editor{margin-left:22px;margin-right:22px}.view-editor-layout{grid-template-columns:230px minmax(0,1fr);gap:15px}.view-settings,.view-conditions,.view-preview{padding:17px}.view-conditions .filter-rule{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 25px}.view-conditions .filter-rule> :nth-child(3):not(button){grid-row:2;grid-column:1/3}.view-conditions .filter-rule .remove-rule{grid-column:3;grid-row:1}.saved-view-summary{margin-left:22px;margin-right:22px;align-items:flex-start}}
@media(max-width:800px){.view-editor{margin:0 18px 20px}.view-editor-layout{grid-template-columns:1fr}.view-settings{display:block}.view-editor-footer{align-items:flex-start;gap:12px}.view-editor-footer .button{font-size:12px}.view-editor-footer .view-help{font-size:11px}.view-preview-row{grid-template-columns:minmax(0,1fr) minmax(85px,.7fr)}.view-preview-row .preview-owner{grid-column:1/-1}.view-section-heading{gap:8px}.view-section-heading .text-button{font-size:11px}.saved-view-summary{margin:0 18px 18px;flex-direction:column;gap:12px}.view-conditions .filter-group{padding:10px}.view-conditions .filter-rule{padding-bottom:10px}.filter-values{max-width:100%}.view-conditions .group-header select{max-width:100%;width:100%}}

.selection-scope{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:12px 20px;border-bottom:1px solid var(--border);background:var(--blue-light,#eef5ff);font-size:13px}.selection-scope[hidden]{display:none}.selection-scope .text-button{padding:4px 0}.selection-scope.is-error{background:#fff3f2;color:#a82424}.selection-scope a{font-weight:600}.bulk-toolbar{flex-wrap:wrap}
/* Loading indicators for requests and player selection. */
.busy-spinner{display:inline-block;flex:0 0 auto;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:busy-turn .8s ease-in-out infinite;vertical-align:middle}.busy-spinner[hidden]{display:none}.selection-scope.is-loading::before{content:"";width:15px;height:15px;border:2px solid var(--blue,#2563eb);border-right-color:transparent;border-radius:50%;animation:busy-turn .8s ease-in-out infinite}.button[aria-busy=true]{display:inline-flex;align-items:center;gap:8px}@keyframes busy-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.busy-spinner,.selection-scope.is-loading::before{animation:none}}

/* API update groups retain the existing timeline and reveal exact field diffs. */
.event-update{margin-top:7px}.event-update>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;color:#647184;font-size:11px;min-height:28px;border-radius:4px}.event-update>summary::-webkit-details-marker{display:none}.event-update>summary:hover{color:var(--blue)}.event-update>summary:focus-visible{outline:3px solid #94b9ff66;outline-offset:3px}.event-update>summary>.icon{width:13px;height:13px;color:#8a95a7}.event-update[open]>summary>.icon{transform:rotate(90deg)}.event-update-count{display:inline-block;margin-left:3px;padding:0 5px;border-radius:4px;background:#f1f4f8;font-size:10px;font-weight:600;color:#647184}.event-expand-label,.event-collapse-label{margin-left:auto;color:var(--blue);font-size:10px}.event-collapse-label,.event-update[open] .event-expand-label{display:none}.event-update[open] .event-collapse-label{display:inline}.event-update-changes{margin:6px 0 0 6px;padding:0 0 1px 13px;border-left:2px solid #edf0f5}.event-update-item{padding:6px 0}.event-update-item+.event-update-item{border-top:1px solid #f3f5f8}.event-update-item .change-row{margin:0}.event-group .event-title{flex-wrap:wrap}
@media(max-width:540px){.event-update>summary{flex-wrap:wrap}.event-update-changes{padding-left:10px}.event-group .event-time{font-size:9px}}

/* One horizontal VIP strip: current status, event sequence, full-history link. */
.vip-overview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;margin:18px 28px 0;padding:12px 18px;min-height:72px;border:1px solid var(--border);border-radius:8px;background:var(--white);min-width:0}
.vip-overview-heading{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:230px;padding-right:20px;border-right:1px solid var(--border)}
.vip-overview-heading h2{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.vip-overview-heading h2>.icon{width:17px;height:17px;color:var(--gold)}
.vip-current{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#647184;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.vip-current.is-vip{color:#805b17}
.vip-current-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#8993a3}
.vip-current.is-vip .vip-current-dot{background:#b38424}
.vip-current small{font-size:11px;color:var(--muted);margin-left:2px}
.vip-history-link{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:12px;color:var(--blue);white-space:nowrap}
.vip-history-link>.icon{width:14px;height:14px}
.vip-history-link:hover{text-decoration:underline}
.vip-preview-note{color:var(--muted);font-size:11px;letter-spacing:.015em}
.vip-track-scroll{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;border-radius:4px;padding:3px 0;scrollbar-width:thin}
.vip-track-scroll:focus-visible,.vip-history-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.vip-track{list-style:none;display:flex;align-items:center;gap:14px;padding:0;margin:0;min-width:0}
.vip-milestone{flex:0 0 auto;min-width:0;display:flex;align-items:center;gap:10px}
.vip-milestone-dot{flex:0 0 24px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #e1c785;border-radius:50%;background:#fff8e5;color:#906620}
.vip-milestone-dot>.icon{width:12px;height:12px}
.vip-milestone.lost .vip-milestone-dot{background:#f3f4f7;border-color:#d8dee8;color:#647184}
.vip-milestone-content{min-width:0;max-width:360px}
.vip-milestone-details{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;max-width:360px}
.vip-milestone strong{font-size:12px;font-weight:600;color:#805b17;line-height:1.5;white-space:nowrap}
.vip-milestone.lost strong{color:#536174}
.vip-milestone-level{font-size:12px;line-height:1.5;color:#536174;overflow-wrap:anywhere;max-width:100%}
.vip-milestone time{display:block;font-size:11px;color:var(--muted);letter-spacing:.015em;margin-top:3px;white-space:nowrap}
.vip-milestone time span{margin-left:7px}
.vip-milestone-connector{display:flex;align-items:center;margin-left:4px;color:#bcc3cf}
.vip-milestone-connector>.icon{width:15px;height:15px}
.vip-overview-empty{font-size:12px;color:var(--muted);line-height:1.6;margin:0}
@media(max-width:1150px){.vip-overview{gap:14px}.vip-overview-heading{padding-right:14px}}
@media(max-width:700px){.vip-overview{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;margin:14px 18px 0;padding:12px 14px}.vip-overview-heading{border:0;padding:0;max-width:none;gap:4px}.vip-track-scroll,.vip-overview-empty{grid-column:1/-1;grid-row:2}.vip-history-link{grid-column:2;grid-row:1;font-size:11px}.vip-milestone-content,.vip-milestone-details{max-width:280px}.vip-overview-empty{line-height:1.5}}
@media(max-width:440px){.vip-overview{margin-left:12px;margin-right:12px}}

/* Keep account actions reachable on short desktop and mobile screens. */
.sidebar{overflow-y:auto}

/* Choice options sit directly below the field type, in editable rows. */
.choice-option-list{display:grid;gap:8px;margin-bottom:10px}
.choice-option-row{display:flex;align-items:center;gap:10px}
.choice-option-row input{min-width:0;flex:1}
.choice-option-row .text-button{flex:0 0 auto;font-size:12px;min-height:36px}
.field-options-summary{display:block;font-size:11px;color:var(--muted);margin-top:4px}

.player-notes{margin:12px 28px 0;padding:13px 18px;border:1px solid #e7d396;border-left:3px solid #d3a230;border-radius:8px;background:#fff8df}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.communication-status-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.communication-status-form select{flex:1;min-width:130px;width:100%;font-size:12px;padding:8px}
.communication-status-form .form-error{width:100%;font-size:12px;line-height:1.5}
.field-setup-link{display:block;font-size:11px;margin-top:6px}

/* Task execution lives in the player context, next to its interaction history. */
.record-tabs{flex-wrap:wrap}
.player-task{border:1px solid var(--border);border-radius:8px;padding:18px;margin-bottom:24px;background:#fff}
.player-task-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.player-task-heading h2{font-size:16px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}
.player-task-heading .badge{flex:0 0 auto;margin-top:3px}
.player-task-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;font-size:11px;color:var(--muted)}
.player-task-meta span{display:inline-flex;align-items:center;gap:5px}
.player-task-meta .icon{width:13px;height:13px}
.player-task-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin-top:14px}
.task-call{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;padding:12px;background:#f8faff;border:1px solid #e8edf5;border-radius:6px}
.task-call p{font-size:11px;color:var(--muted);line-height:1.6;flex:1;min-width:160px}
.task-call [role=status]:empty{display:none}
.task-call [role=status]{flex-basis:100%;color:#394557}
.player-task-form label{display:flex;flex-direction:column;gap:7px;margin:15px 0 0;font-size:12px;font-weight:500}
.player-task-form textarea,.player-task-form input,.player-task-form select{width:100%;min-width:0;font-size:13px;font-weight:400;margin-top:0}
.player-task-form textarea{resize:vertical;min-height:75px;line-height:1.6}
.player-task-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.player-task-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}
.player-task-actions span{flex:1;font-size:11px;color:var(--muted);min-width:180px;line-height:1.6}
.player-task-settings,.player-task-history{font-size:12px;margin-top:16px}
.player-task-settings summary,.player-task-history summary{cursor:pointer;color:var(--muted);padding:5px 0}
.player-task-history article{padding:12px 0;border-bottom:1px solid var(--border)}
.player-task-history article>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
.player-task-history time{font-size:11px;color:var(--muted)}
.player-task-history p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin-top:5px}
.player-task-list-link{display:inline-flex;align-items:center;gap:5px;margin-top:15px;font-size:12px}
.player-task-list-link .icon{width:13px;height:13px}
.player-task-outcome{margin-top:15px;font-size:13px;line-height:1.7}
.player-task-list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.player-task-list-heading h2{font-size:15px}
.player-task-list-heading a{font-size:12px}
.player-task-row{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border);color:inherit}
.player-task-row:hover{background:#fafbfe}
.player-task-row-content{flex:1;min-width:0}
.player-task-row strong{display:block;font-size:13px;overflow-wrap:anywhere}
.player-task-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.player-task-row .task-overdue{color:#b23b35}
.player-task-row>.icon{width:14px;height:14px;color:var(--muted)}
.player-task-check{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #dce2ea;border-radius:50%;color:#a7b1c0}
.player-task-check .icon{width:13px;height:13px}
.player-task-check.is-done{background:#eaf6ef;color:#287149;border-color:#c6e6d1}
@media(max-width:700px){.player-task{padding:14px}.player-task-heading{flex-wrap:wrap}.player-task-form-row{grid-template-columns:1fr;gap:0}.player-task-actions span{flex-basis:100%}.player-task-actions .button{flex:1}.player-task-row{gap:8px}.player-task-row>.badge{font-size:10px}.player-task-list-heading{flex-wrap:wrap}}
.player-notes-heading{display:flex;align-items:center;gap:10px;font-size:12px}
.player-notes-heading h2{display:flex;align-items:center;gap:8px;font-size:13px;color:#6f541e}
.player-notes-heading .icon{width:16px;height:16px;color:#94640d}
.player-notes-hint{color:var(--muted);font-size:11px}
.player-notes-heading .text-button{margin-left:auto;min-height:28px;font-size:12px}
.player-notes-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;margin:7px 0 0;max-height:130px;overflow:auto}
.player-notes-empty{color:var(--muted);font-size:12px;margin-top:5px}
.player-notes-meta{display:block;color:var(--muted);font-size:10px;margin-top:8px}
.player-notes-form textarea{width:100%;resize:vertical;min-height:85px;max-height:400px;font-size:13px;line-height:1.6;margin-top:10px}
.player-notes-actions{display:flex;align-items:center;gap:8px;margin-top:8px}
.player-notes-actions small{font-size:11px;color:var(--muted);margin-right:auto}
@media(max-width:700px){.player-notes{margin-left:18px;margin-right:18px;padding:12px 14px}.player-notes-actions{flex-wrap:wrap}.player-notes-actions small{width:100%}}
@media(max-width:440px){.player-notes{margin-left:12px;margin-right:12px}.player-notes-hint{display:none}}

/* Bulk operator choice uses the same controls as individual assignment. */
.assignment-team-label{margin:16px 0 6px}
#assignment-team{width:100%}
.assignment-modal .operator-list{max-height:clamp(120px,calc(85vh - 440px),320px)}
.assignment-team-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:6px 0 12px}
.assignment-selection-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 5px;border-bottom:1px solid var(--border)}
.assignment-selection-bar .assignment-select-all{display:flex;align-items:center;gap:10px;margin:0;cursor:pointer;font-size:13px}
#assignment-operator-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}

a.ubo-link{color:var(--blue);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;overflow-wrap:anywhere}
a.ubo-link:hover,a.ubo-link:focus-visible{text-decoration-color:currentColor}

.settings-password-form{max-width:600px;padding:24px}
.settings-password-form h2{font-size:16px;margin-bottom:8px}
.settings-password-form>p{font-size:13px;line-height:1.5;margin-bottom:24px}

.player-tags-heading{align-items:center;margin-bottom:12px}
.player-tags-heading h2{margin-bottom:0}
.player-tags-heading .icon-button[aria-expanded="true"]{color:var(--blue);background:var(--blue-light)}

/* Completed tasks share the interaction timeline; only open work stays above it. */
.task-event .event-title{flex-wrap:wrap;gap:8px}.task-event .event-title>strong{color:var(--ink);overflow-wrap:anywhere}.task-event .event-title .badge{font-size:11px}.task-event .event-symbol.task-event-done{color:#287149;background:#eaf6ef;border-color:#c6e6d1}.task-event .player-task-outcome{margin:10px 0;font-size:13px}.task-event-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin:14px 0;font-size:12px}.task-event-facts dt{color:var(--muted);font-size:11px;margin-bottom:3px}.task-event-facts dd{margin:0;overflow-wrap:anywhere}.task-event .player-task-history{margin-top:10px}.task-event .player-task-history article:last-child{border-bottom:0}.task-event-selected{border-left:2px solid var(--blue);padding-left:12px}.task-history-latest{display:inline-block;font-size:12px;margin-bottom:18px}.player-task-switcher{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--border);font-size:12px}.player-task-switcher>span{width:100%;color:var(--muted)}.player-task-switcher a{padding:6px 9px;border:1px solid var(--border);border-radius:6px;max-width:100%;overflow-wrap:anywhere}.player-task-switcher a[aria-current]{color:var(--blue);border-color:var(--blue);background:#f5f8ff}.player-task-history summary:focus-visible,.player-task-switcher a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:700px){.task-event-facts{grid-template-columns:1fr}.task-event .event-time{width:100%;margin-left:0}}
.task-event-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:6px;font-size:12px;color:var(--muted)}.task-event-summary strong{font-weight:500;color:var(--ink)}.task-event-comment{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.task-event .task-event-details{margin-top:10px}.task-event-details>summary{font-size:12px;color:var(--muted)}.task-event-call{margin-top:10px;font-size:12px;color:var(--muted)}.task-event-call .call-audio{margin-top:6px}.task-event-call audio{height:34px;width:100%;max-width:360px}
