.detail-table-wrap{background:var(--card-bg);border-radius:14px;border:1px solid var(--border);max-width:100%}.comm-list-table.portal-list-table,.detail-table-wrap,.em-list-table.portal-list-table{overflow-x:auto;overflow-y:hidden}.cv-tbl{width:100%;border-collapse:collapse;font-size:13px;color:var(--text)}.cv-tbl thead th{text-align:left;font-weight:600}.cv-tbl tbody td,.cv-tbl thead th{padding:12px 14px;color:var(--text);border-bottom:1px solid var(--border);white-space:nowrap}.cv-tbl tbody td{vertical-align:middle}.cv-tbl tbody tr:hover{background:var(--surface-hover)}.cv-tbl input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary);cursor:pointer}.comm-list-table .tasks-list-date,.em-list-table .tasks-list-date,.em-page .tasks-list-date{color:var(--text-secondary);font-size:13px}.status-active{background:rgba(0,130,54,.15);color:#34d399}.status-active,.status-rejected{padding:4px 8px;border-radius:9999px;font-size:12px;font-weight:500}.status-rejected{background:rgba(193,0,7,.15);color:#f87171}body.light-mode .comm-list-table .cand-status-active,body.light-mode .comm-list-table .status-active,body.light-mode .em-list-table .cand-status-active,body.light-mode .em-list-table .status-active,body.light-mode .em-page .cand-status-active,body.light-mode .em-page .status-active,html.light-mode .comm-list-table .cand-status-active,html.light-mode .comm-list-table .status-active,html.light-mode .em-list-table .cand-status-active,html.light-mode .em-list-table .status-active,html.light-mode .em-page .cand-status-active,html.light-mode .em-page .status-active{background:rgba(0,166,62,.12);color:#047857}body.light-mode .comm-list-table .cand-status-inactive,body.light-mode .comm-list-table .status-rejected,body.light-mode .em-list-table .cand-status-inactive,body.light-mode .em-list-table .status-rejected,body.light-mode .em-page .cand-status-inactive,body.light-mode .em-page .status-rejected,html.light-mode .comm-list-table .cand-status-inactive,html.light-mode .comm-list-table .status-rejected,html.light-mode .em-list-table .cand-status-inactive,html.light-mode .em-list-table .status-rejected,html.light-mode .em-page .cand-status-inactive,html.light-mode .em-page .status-rejected{background:rgba(71,85,105,.1);color:#475569}.actions-cell{display:flex;align-items:center;gap:12px;justify-content:center;position:relative}.comm-list-table td.actions-cell,.comm-list-table td.tasks-list-actions-col,.comm-list-table th.tasks-list-actions-col,.em-list-table td.actions-cell,.em-list-table td.tasks-list-actions-col,.em-list-table th.tasks-list-actions-col{text-align:center!important}.comm-list-table .actions-cell,.comm-list-table .actions-cell-inner,.comm-list-table td.tasks-list-actions-col .actions-cell,.em-list-table .actions-cell,.em-list-table .actions-cell-inner,.em-list-table td.tasks-list-actions-col .actions-cell{justify-content:center!important}.toggle-switch{width:32px;height:19px;border-radius:13px;position:relative;cursor:pointer;border:none;padding:2px}.toggle-switch.on{background:var(--primary)}.toggle-switch.off{background:#cdcdcd}.toggle-switch:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#fff;top:2px;transition:left var(--tr)}.toggle-switch.on:after{left:15px}.toggle-switch.off:after{left:2px}.kebab-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);cursor:pointer;border-radius:8px;position:relative;color:var(--text-secondary)}.kebab-btn:hover{background:var(--surface-hover)}.kebab-dots{display:flex;flex-direction:column;gap:3px;align-items:center}.kebab-dots span{width:5px;height:5px;border-radius:50%;background:currentColor}body.light-mode .comm-list-table .kebab-btn,body.light-mode .em-list-table .kebab-btn,body.light-mode .em-page .kebab-btn,html.light-mode .comm-list-table .kebab-btn,html.light-mode .em-list-table .kebab-btn,html.light-mode .em-page .kebab-btn{background:var(--surface);border-color:var(--border);color:#6b7280}.comm-list-table .tasks-list-kebab,.em-list-table .tasks-list-kebab,.em-page .tasks-list-kebab{color:var(--text-secondary)}body.light-mode .comm-list-table .tasks-list-kebab,body.light-mode .em-list-table .tasks-list-kebab,body.light-mode .em-page .tasks-list-kebab,html.light-mode .comm-list-table .tasks-list-kebab,html.light-mode .em-list-table .tasks-list-kebab,html.light-mode .em-page .tasks-list-kebab{color:#6b7280}.pagination{justify-content:space-between;padding:12px 16px;border-top:1px solid var(--border);box-sizing:border-box;margin:0;background:var(--card-bg)}.pagination,.pagination-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination-left{min-width:0}.pagination-right{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--text-secondary);flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.pagination-right>span{white-space:nowrap}.pg-btn{width:32px;height:32px;min-width:32px;box-sizing:border-box;border-radius:6px;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:var(--card-bg);font-size:13px;color:var(--text);font-family:inherit;line-height:1;padding:0}.pg-btn:hover{background:var(--surface-hover)}.pg-btn:disabled{opacity:.45;cursor:not-allowed}.pg-btn.active,.pg-btn.nav{background:var(--primary);color:#fff;border-color:var(--primary)}.pg-delete{background:var(--primary);color:#fff;border:none;padding:8px 20px;border-radius:6px;font-size:13px;cursor:pointer;font-weight:500;font-family:inherit}.pg-delete:hover{opacity:.92}.pg-select{border:1px solid var(--border);border-radius:6px;padding:0 10px;font-size:13px;line-height:1;color:var(--text);font-family:inherit;box-sizing:border-box}.pg-refresh,.pg-select{height:32px;cursor:pointer;background:var(--card-bg)}.pg-refresh{width:32px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0}.pg-refresh svg{width:16px;height:16px}.comm-list-table .pagination .pg-delete,.em-list-table .pagination .pg-delete,.em-page .pagination .pg-delete{display:none!important}.comm-list-table>.bp,.em-list-table>.bp,.em-page .bp{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--border);margin:0;background:var(--card-bg);border-radius:0 0 14px 14px;box-sizing:border-box}.comm-list-table .bp-left,.comm-list-table .bp-right,.em-list-table .bp-left,.em-list-table .bp-right,.em-page .bp-left,.em-page .bp-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.comm-list-table .bp-rows,.em-list-table .bp-rows,.em-page .bp-rows{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-secondary);white-space:nowrap}.comm-list-table .bp-sel,.em-list-table .bp-sel,.em-page .bp-sel{position:relative;display:inline-flex;z-index:1}.comm-list-table .bp-sel.open,.em-list-table .bp-sel.open,.em-page .bp-sel.open{z-index:80}.comm-list-table .bp-sel-btn,.em-list-table .bp-sel-btn,.em-page .bp-sel-btn{display:inline-flex;align-items:center;gap:7px;width:auto;height:30px;padding:0 9px 0 11px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);font-family:inherit;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .15s}.comm-list-table .bp-sel-btn:hover,.em-list-table .bp-sel-btn:hover,.em-page .bp-sel-btn:hover{border-color:rgba(124,58,237,.5)}.comm-list-table .bp-sel.open .bp-sel-btn,.em-list-table .bp-sel.open .bp-sel-btn,.em-page .bp-sel.open .bp-sel-btn{border-color:var(--primary)}.comm-list-table .bp-sel-btn svg,.em-list-table .bp-sel-btn svg,.em-page .bp-sel-btn svg{width:12px;height:12px;color:var(--text-secondary);transition:transform .18s}.comm-list-table .bp-sel.open .bp-sel-btn svg,.em-list-table .bp-sel.open .bp-sel-btn svg,.em-page .bp-sel.open .bp-sel-btn svg{transform:rotate(180deg)}.comm-list-table .bp-menu,.comm-list-table .bp-menu.up,.em-list-table .bp-menu,.em-list-table .bp-menu.up,.em-page .bp-menu,.em-page .bp-menu.up{position:absolute;top:auto;bottom:calc(100% + 6px);left:0;min-width:100%;display:none;flex-direction:column;padding:5px;background:var(--card-bg);border:1px solid var(--border);border-radius:9px;box-shadow:0 12px 30px rgba(0,0,0,.18);z-index:80}.comm-list-table .bp-sel.open .bp-menu,.em-list-table .bp-sel.open .bp-menu,.em-page .bp-sel.open .bp-menu{display:flex}.comm-list-table .bp-opt,.em-list-table .bp-opt,.em-page .bp-opt{border:none;background:transparent;color:var(--text);font-family:inherit;font-size:12.5px;font-weight:600;text-align:left;padding:7px 12px;border-radius:6px;cursor:pointer;white-space:nowrap}.comm-list-table .bp-opt:hover,.em-list-table .bp-opt:hover,.em-page .bp-opt:hover{background:var(--surface-hover)}.comm-list-table .bp-opt.sel,.em-list-table .bp-opt.sel,.em-page .bp-opt.sel{background:rgba(124,58,237,.12);color:#6d28d9;font-weight:700}body:not(.light-mode) .comm-list-table .bp-opt.sel,body:not(.light-mode) .em-list-table .bp-opt.sel,body:not(.light-mode) .em-page .bp-opt.sel{background:rgba(124,58,237,.18);color:#ddd6fe}.comm-list-table .bp-count,.em-list-table .bp-count,.em-page .bp-count{font-size:12.5px;color:var(--text-secondary);white-space:nowrap}.comm-list-table .bp-arrow,.comm-list-table .bp-page,.comm-list-table .bp-refresh,.em-list-table .bp-arrow,.em-list-table .bp-page,.em-list-table .bp-refresh,.em-page .bp-arrow,.em-page .bp-page,.em-page .bp-refresh{min-width:30px;height:30px;padding:0 9px;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--text-secondary);font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .15s}.comm-list-table .bp-arrow:hover,.comm-list-table .bp-page:hover,.comm-list-table .bp-refresh:hover,.em-list-table .bp-arrow:hover,.em-list-table .bp-page:hover,.em-list-table .bp-refresh:hover,.em-page .bp-arrow:hover,.em-page .bp-page:hover,.em-page .bp-refresh:hover{background:var(--surface-hover);color:var(--text);border-color:rgba(124,58,237,.45)}.comm-list-table .bp-page.active,.em-list-table .bp-page.active,.em-page .bp-page.active{background:var(--primary);border-color:var(--primary);color:#fff}.comm-list-table .bp-arrow svg,.comm-list-table .bp-refresh svg,.em-list-table .bp-arrow svg,.em-list-table .bp-refresh svg,.em-page .bp-arrow svg,.em-page .bp-refresh svg{width:14px;height:14px}.comm-list-table .bp-arrow:disabled,.em-list-table .bp-arrow:disabled,.em-page .bp-arrow:disabled{opacity:.4;cursor:default}.comm-list-table .bp-refresh,.em-list-table .bp-refresh,.em-page .bp-refresh{margin-left:6px}.em-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.em-header .page-title{font-size:36px}.em-dropdown-wrap{position:relative;flex-shrink:0}.em-dropdown-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--card-bg);border:1px solid var(--border);border-radius:8px;padding:10px 14px;font-size:14px;font-family:inherit;color:var(--text);cursor:pointer;outline:none;min-width:220px;white-space:nowrap}.em-dropdown-btn>span{overflow:hidden;text-overflow:ellipsis;min-width:0}.em-dd-in-hdr{margin-right:8px;align-self:center}.em-dd-in-hdr .em-dropdown-btn{height:42px;padding:0 12px;font-size:13px;min-width:180px;max-width:200px}.em-dd-in-hdr .em-dropdown-menu{z-index:3000;right:0;left:auto}.em-dropdown-btn.open,.em-dropdown-btn:hover{border-color:var(--primary)}.em-dropdown-btn svg{width:12px;height:12px;color:var(--text-secondary);flex-shrink:0;transition:transform .2s}.em-dropdown-btn.open svg{transform:rotate(180deg)}.em-dropdown-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:220px;background:var(--card-bg);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 36px rgba(0,0,0,.5);z-index:200;padding:4px 0;display:none}.em-dropdown-menu.open{display:block}.em-dropdown-item{padding:10px 16px;font-size:14px;color:var(--text);cursor:pointer;transition:background .15s;white-space:nowrap}.em-dropdown-item:hover{background:var(--surface-hover)}.em-dropdown-item.active{color:var(--primary);font-weight:600}.em-tabs-row{gap:0;margin-bottom:24px}.em-add-btn,.em-tabs-row{display:flex;align-items:center}.em-add-btn{width:44px;min-height:44px;align-self:stretch;border-radius:8px 0 0 8px;background:var(--primary);border:none;color:#fff;cursor:pointer;justify-content:center;flex-shrink:0}.em-add-btn:hover{opacity:.9}.em-add-btn svg{width:18px;height:18px}.em-tab,.em-tabs{display:flex;flex:1 1}.em-tab{padding:12px 20px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;border:1px solid var(--border);background:var(--card-bg);color:var(--text-secondary);align-items:center;justify-content:center;gap:8px;transition:all .2s}.em-tab:first-child{border-radius:8px 0 0 8px}.em-tab:only-child{border-radius:8px}.em-tab:last-child{border-radius:0 8px 8px 0}.em-tab.active{background:var(--primary);color:#fff;border-color:var(--primary)}.em-tab:hover:not(.active){background:var(--surface-hover)}.em-panel{display:none}.em-panel.active{display:block}.em-recurring{display:inline-block;font-size:12px;font-weight:600;color:#c4b5fd;background:rgba(124,58,237,.22);padding:3px 10px;border-radius:6px;white-space:nowrap}body.light-mode .em-recurring,html.light-mode .em-recurring{color:#6b21a8;background:rgba(107,33,168,.1)}.em-recurring--empty{color:var(--text-secondary)!important;background:transparent!important;font-weight:500;padding:0}.em-action-btn{background:var(--primary);color:#fff;border:none;padding:6px 14px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;white-space:nowrap}.em-action-btn:hover{opacity:.9}.nl-section{display:none}.nl-section.active{display:block}.nl-tabs{display:flex;margin-bottom:24px;border-radius:8px;overflow:hidden;border:1px solid var(--border)}.nl-tab{flex:1 1;padding:12px 20px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;border:none;background:var(--card-bg);color:var(--text-secondary);transition:all .2s;border-right:1px solid var(--border)}.nl-tab:last-child{border-right:none}.nl-tab.active{background:var(--primary);color:#fff}.nl-tab:hover:not(.active){background:var(--surface-hover);color:var(--text)}.nl-unsub-btn{padding:6px 14px;border:none;border-radius:6px;background:var(--primary);color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;white-space:nowrap}.nl-unsub-btn:hover{opacity:.9}.msg-section{display:none}.msg-section.active{display:block}.msg-tabs{display:flex;margin-bottom:24px;border-radius:8px;overflow:hidden;border:1px solid var(--border)}.msg-tab{flex:1 1;padding:12px 20px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;border:none;background:var(--card-bg);color:var(--text-secondary);text-align:center;transition:all .2s;border-right:1px solid var(--border)}.msg-tab:last-child{border-right:none}.msg-tab.active{background:var(--primary);color:#fff}.msg-tab:hover:not(.active){background:var(--surface-hover);color:var(--text)}.msg-perm-card{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;overflow:hidden}.msg-perm-header{display:grid;grid-template-columns:1fr 80px 80px 80px 80px 80px;align-items:center;padding:13px 20px;background:var(--primary-10);border-bottom:1px solid var(--border)}.msg-perm-col,.msg-perm-header-label{font-size:13px;font-weight:700;color:var(--text)}.msg-perm-col{text-align:center}.msg-perm-group{border-bottom:1px solid var(--border)}.msg-perm-group:last-child{border-bottom:none}.msg-perm-group-head{display:flex;align-items:center;gap:12px;padding:14px 20px;cursor:pointer;background:var(--card-bg);transition:background .15s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.msg-perm-group-head:hover{background:var(--surface-hover)}.msg-perm-group-title{font-size:14px;font-weight:600;color:var(--text);flex:1 1;display:flex;align-items:center;gap:10px}.msg-perm-group-title input[type=checkbox]{width:15px;height:15px;accent-color:var(--primary);cursor:pointer;flex-shrink:0}.msg-perm-chevron{color:var(--text-secondary);display:flex;align-items:center;transition:transform .2s}.msg-perm-chevron svg{width:16px;height:16px}.msg-perm-group.open .msg-perm-chevron{transform:rotate(180deg)}.msg-perm-section-title{font-size:13px;font-weight:700;color:var(--text);padding:10px 20px 6px;background:var(--surface)}.msg-perm-items{display:none;background:var(--surface)}.msg-perm-group.open .msg-perm-items{display:block}.msg-perm-item{display:grid;grid-template-columns:1fr 80px 80px 80px 80px 80px;align-items:center;padding:10px 20px;border-top:1px solid var(--border)}.msg-perm-item:hover{background:var(--surface-hover)}.msg-perm-item-label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text);padding-left:12px}.msg-perm-item-label input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);cursor:pointer;flex-shrink:0}.msg-perm-cb{display:flex;align-items:center;justify-content:center}.msg-perm-cb input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);cursor:pointer}.msg-apply-btn{margin-top:20px;padding:11px 28px;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.msg-apply-btn:hover{opacity:.9}.msg-confirm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:600;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.msg-confirm-overlay.open{opacity:1;pointer-events:all}.msg-confirm-modal{background:var(--card-bg);border:1px solid var(--border);border-radius:16px;padding:28px;width:400px;max-width:92vw;box-shadow:0 24px 60px rgba(0,0,0,.5);position:relative}.msg-confirm-close{position:absolute;top:14px;right:14px;width:26px;height:26px;border:none;background:none;cursor:pointer;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;border-radius:50%}.msg-confirm-close:hover{background:var(--surface-hover)}.msg-confirm-close svg{width:14px;height:14px}.msg-confirm-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.msg-confirm-icon svg{width:22px;height:22px}.msg-confirm-title{font-size:18px;font-weight:700;color:var(--text);margin-bottom:6px}.msg-confirm-desc{font-size:13px;color:var(--text-secondary);margin-bottom:20px;line-height:1.5}.msg-confirm-actions{display:flex;gap:10px}.msg-confirm-cancel{flex:1 1;height:40px;border:1px solid var(--border);border-radius:8px;background:var(--surface-hover);color:var(--text);font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.msg-confirm-cancel:hover{background:var(--border)}.msg-confirm-approve{flex:1 1;height:40px;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.msg-confirm-approve:hover{opacity:.9}.msg-success-btn{width:100%;height:40px;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.msg-success-btn:hover{opacity:.9}.tst-section{display:none}.tst-section.active{display:block}.tst-tabs-row{gap:0;margin-bottom:20px}.tst-add-btn,.tst-tabs-row{display:flex;align-items:center}.tst-add-btn{width:44px;min-height:44px;align-self:stretch;border-radius:8px 0 0 8px;background:var(--primary);border:none;color:#fff;cursor:pointer;justify-content:center;flex-shrink:0}.tst-add-btn:hover{opacity:.9}.tst-add-btn svg{width:18px;height:18px}.tst-tabs{display:flex;flex:1 1}.tst-tab{flex:1 1;padding:12px 20px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;border:1px solid var(--border);background:var(--card-bg);color:var(--text-secondary);text-align:center;transition:all .2s}.tst-tab:first-child{border-radius:8px 0 0 8px}.tst-tab:only-child{border-radius:8px}.tst-tab.active{background:var(--primary);color:#fff;border-color:var(--primary)}.tst-tab:last-child{border-radius:0 8px 8px 0}.tst-tab:hover:not(.active){background:var(--surface-hover);color:var(--text)}.tst-avatar{width:30px;height:30px;border-radius:50%;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0}.tst-avatar,.tst-name-cell{display:flex;align-items:center}.tst-name-cell{gap:10px}.tst-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:600;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tst-modal-overlay.open{opacity:1;pointer-events:all}.tst-modal{background:var(--card-bg);border:1px solid var(--border);border-radius:16px;width:480px;max-width:92vw;max-height:88vh;overflow-y:auto;box-shadow:0 24px 60px rgba(0,0,0,.5);position:relative}.tst-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border);position:-webkit-sticky;position:sticky;top:0;background:var(--card-bg);z-index:2}.tst-modal-title{font-size:17px;font-weight:700;color:var(--text)}.tst-modal-close{width:28px;height:28px;border:none;background:none;cursor:pointer;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;border-radius:50%}.tst-modal-close:hover{background:var(--surface-hover)}.tst-modal-close svg{width:14px;height:14px}.tst-modal-body{padding:20px 22px}.tst-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.tst-label{font-size:13px;font-weight:600;color:var(--text)}.tst-input{width:100%;height:44px;border:1px solid var(--border);border-radius:8px;padding:0 14px;font-size:14px;font-family:inherit;color:var(--text);background:var(--surface);outline:none;box-sizing:border-box}.tst-input:focus{border-color:var(--primary)}.tst-input:-moz-read-only{background:var(--card-bg);cursor:default;color:var(--text-secondary)}.tst-input:read-only{background:var(--card-bg);cursor:default;color:var(--text-secondary)}.tst-textarea{width:100%;min-height:90px;border:1px solid var(--border);border-radius:8px;padding:12px 14px;font-size:14px;font-family:inherit;color:var(--text);background:var(--surface);outline:none;resize:vertical;box-sizing:border-box;line-height:1.6}.tst-textarea:focus{border-color:var(--primary)}.tst-textarea:-moz-read-only{background:var(--card-bg);cursor:default;color:var(--text-secondary)}.tst-textarea:read-only{background:var(--card-bg);cursor:default;color:var(--text-secondary)}.tst-photo-row{display:flex;gap:14px;align-items:flex-start}.tst-photo-upload{width:90px;height:90px;border:2px dashed var(--border);border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:var(--surface);transition:border-color .2s;flex-shrink:0}.tst-photo-upload:hover{border-color:var(--primary)}.tst-photo-upload svg{width:24px;height:24px;color:var(--text-secondary)}.tst-photo-preview{width:90px;height:90px;border-radius:10px;object-fit:cover;flex-shrink:0;background-size:cover;background-position:50%}.tst-desc-editor-wrap{border:1px solid var(--border);border-radius:8px;overflow:hidden}.tst-desc-editor{min-height:80px;padding:12px 14px;font-size:14px;color:var(--text);background:var(--surface);outline:none;line-height:1.6}.tst-upload-area{border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden;margin-bottom:6px}.tst-upload-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--border)}.tst-upload-label{font-size:13px;color:var(--text-secondary)}.tst-upload-btn{display:flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid var(--border);border-radius:6px;background:var(--card-bg);color:var(--text);font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}.tst-upload-btn:hover{background:var(--surface-hover)}.tst-upload-preview{position:relative;display:inline-block;margin:10px 14px 4px}.tst-upload-thumb{width:80px;height:70px;border-radius:6px;background:linear-gradient(135deg,#4a6fa1,#89a8d0);object-fit:cover;display:block}.tst-upload-remove{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;background:var(--cfs-red);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;line-height:1}.tst-upload-hint{font-size:11px;color:var(--text-secondary);padding:0 14px 10px}.tst-upload-body{padding:10px 14px 4px}.tst-status-row{display:flex;align-items:center;gap:12px}.tst-status-row .tst-input{flex:1 1}.tst-modal-footer{padding:14px 22px;border-top:1px solid var(--border);background:var(--card-bg);position:-webkit-sticky;position:sticky;bottom:0}.tst-modal-footer--end{display:flex;justify-content:flex-end}.tst-save-btn{width:100%;height:42px;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.tst-save-btn:hover{opacity:.9}.tst-edit-btn{display:flex;align-items:center;gap:6px;padding:9px 20px;border:1px solid var(--border);border-radius:8px;background:var(--card-bg);color:var(--text);font-size:14px;font-weight:500;cursor:pointer;font-family:inherit}.tst-edit-btn:hover{background:var(--surface-hover)}.tst-attach-preview{width:100%;border-radius:8px;height:120px;background:linear-gradient(135deg,#4a6fa1,#89a8d0);display:flex;align-items:center;justify-content:center;overflow:hidden}.tst-attach-preview-inner{width:100%;height:120px;border-radius:8px;background:linear-gradient(135deg,#4a7ab5,#89c4e1 40%,#f7c59f 80%)}.blog-section{display:none}.blog-section.active{display:block}.blog-tabs-row{display:flex;align-items:stretch;gap:10px;margin-bottom:20px}.blog-tabs-row .blog-tabs{flex:1 1;margin-bottom:0;border-radius:8px}.blog-tabs-row .em-add-btn{display:none!important;width:40px;height:auto;align-self:stretch;border-radius:8px}.em-tabs-row>.em-add-btn,.nl-section .em-add-btn,.notif-tabs-row>.em-add-btn{display:none!important}.blog-tabs-row .em-add-btn svg{width:14px;height:14px}.blog-tabs-row .blog-tab{padding:0 10px;min-height:40px;display:flex;align-items:center;justify-content:center}.blog-tabs{display:flex;margin-bottom:20px;border-radius:8px;overflow:hidden;border:1px solid var(--border)}.blog-tab{flex:1 1;padding:11px 0;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;border:none;background:var(--card-bg);color:var(--text-secondary);transition:all .2s;border-right:1px solid var(--border);text-align:center}.blog-tab:last-child{border-right:none}.blog-tab.active{background:var(--primary);color:#fff}.blog-tab:hover:not(.active){background:var(--surface-hover);color:var(--text)}.blog-status-active{color:var(--green);font-size:13px;font-weight:600}.blog-status-inactive{color:var(--red);font-size:13px;font-weight:600}.blog-status-draft{color:#f59e0b;font-size:13px;font-weight:600}.blog-status-scheduled{color:var(--primary);font-size:13px;font-weight:600}.blog-form-overlay{position:fixed;inset:0;z-index:5;background:var(--surface);display:none;overflow-y:auto;padding:24px 32px}.blog-form-overlay.open{display:block}.blog-form-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border)}.blog-form-head-left{display:flex;align-items:center;gap:12px}.blog-form-back{width:36px;height:36px;border:1px solid var(--border);border-radius:8px;background:var(--card-bg);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);flex-shrink:0}.blog-form-back:hover{background:var(--surface-hover)}.blog-form-title{font-size:22px;font-weight:700;color:var(--text)}.blog-form-head-right{display:flex;align-items:center;gap:10px}.blog-save-btn{padding:10px 28px;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.blog-save-btn:hover{opacity:.9}.blog-schedule-btn{padding:10px 20px;border:1px solid var(--border);border-radius:8px;background:var(--card-bg);color:var(--text);font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}.blog-schedule-btn:hover{background:var(--surface-hover)}.blog-form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-bottom:18px}.blog-form-grid.three{grid-template-columns:1fr 1fr 1fr}.blog-form-grid.one{grid-template-columns:1fr}.blog-form-field{display:flex;flex-direction:column;gap:6px}.blog-form-label{font-size:13px;font-weight:600;color:var(--text)}.blog-form-input{height:44px;border:1px solid var(--border);border-radius:6px;padding:0 14px;font-size:14px;font-family:inherit;color:var(--text);background:var(--card-bg);outline:none;width:100%;box-sizing:border-box}.blog-form-input:focus{border-color:var(--primary)}.blog-form-select{height:44px;padding:0 36px 0 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.blog-form-select,.blog-form-textarea{border:1px solid var(--border);border-radius:6px;font-size:14px;font-family:inherit;color:var(--text);background:var(--card-bg);outline:none;width:100%;box-sizing:border-box}.blog-form-textarea{padding:12px 14px;resize:vertical;line-height:1.6;min-height:80px}.blog-content-editor{border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-bottom:18px}.blog-editor-content{min-height:140px;padding:14px;color:var(--text);outline:none;font-size:14px;line-height:1.7;background:var(--card-bg)}.notif-section{display:none}.notif-section.active{display:block}.notif-section .notif-tabs{display:flex;gap:0;padding:0;margin-bottom:20px;border:none;border-radius:0;overflow:visible;background:transparent}.notif-section .notif-tab{flex:1 1;padding:12px 20px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;text-align:center;border-radius:0;border:1px solid var(--border);background:var(--card-bg);color:var(--text-secondary);transition:background .2s,color .2s,border-color .2s}.notif-section .notif-tab:first-child{border-radius:8px 0 0 8px}.notif-section .notif-tab:last-child{border-radius:0 8px 8px 0}.notif-section .notif-tab+.notif-tab{border-left:none}.notif-section .notif-tab.active{background:var(--primary);color:#fff;border-color:var(--primary);font-weight:700}.notif-section .notif-tab:not(.active){background:var(--card-bg);color:var(--text-secondary)}.notif-section .notif-tab:hover:not(.active){background:var(--surface-hover);color:var(--text)}.notif-status-active{color:#34d399;font-weight:700;text-transform:lowercase}.notif-status-inactive{color:#f87171;font-weight:700;text-transform:lowercase}.notif-status-delivered{color:#60a5fa;font-weight:700;text-transform:lowercase}.notif-form-overlay{position:fixed;inset:0;z-index:5;background:var(--surface);display:none;overflow-y:auto;padding:0}.notif-form-overlay.open{display:block}.notif-form-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--border)}.notif-form-head-left{display:flex;align-items:center;gap:12px}.notif-form-back{width:36px;height:36px;border:1px solid var(--border);border-radius:8px;background:var(--card-bg);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.notif-form-title-text{font-size:20px;font-weight:800;color:var(--text)}.notif-form-head-right{display:flex;align-items:center;gap:10px}.notif-btn-save{padding:10px 26px;border:none;border-radius:8px;background:var(--primary);color:#fff}.notif-btn-save,.notif-btn-sched{font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}.notif-btn-sched{padding:10px 18px;border:1px solid var(--border);border-radius:8px;background:var(--card-bg);color:var(--text)}.notif-form-body{padding:22px 26px}.notif-form-row{display:grid;grid-gap:16px;gap:16px;margin-bottom:18px}.notif-form-row.two{grid-template-columns:1fr 1fr}.notif-field{display:flex;flex-direction:column;gap:6px}.notif-label{font-size:13px;font-weight:700;color:var(--text)}.notif-input,.notif-select{height:44px;padding:0 14px}.notif-input,.notif-select,.notif-textarea{border:1px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;color:var(--text);background:var(--card-bg);outline:none}.notif-textarea{padding:12px 14px;min-height:110px;resize:vertical;line-height:1.6}.notif-type-row{display:flex;gap:12px;flex-wrap:wrap}.notif-type-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary)}.notif-status-row{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:8px;padding:8px 12px;background:var(--card-bg)}.em-action-btn.em-reschedule{background:var(--primary)}.em-form-view,.em-list-view.hidden{display:none}.em-form-view.active{display:block}.em-form-header{display:flex;align-items:center;gap:12px;margin-bottom:28px}.em-form-title{font-size:28px;font-weight:700}.em-form-body{max-width:100%}.em-form-row{display:grid;grid-gap:16px;gap:16px;margin-bottom:20px}.em-form-row.two{grid-template-columns:1fr 1fr}.em-form-row.three{grid-template-columns:1fr 1fr 1fr}.em-form-field{display:flex;flex-direction:column;gap:6px}.em-form-label{font-weight:600}.em-form-input,.em-form-label{font-size:14px;color:var(--text)}.em-form-input{height:44px;border:1px solid var(--border);border-radius:6px;padding:0 14px;font-family:inherit;background:var(--card-bg);outline:none}.em-form-input:focus{border-color:var(--primary)}.em-form-select{height:44px;border:1px solid var(--border);border-radius:6px;padding:0 36px 0 14px;font-size:14px;font-family:inherit;color:var(--text);background:var(--card-bg);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M3 5L6 8L9 5' stroke='%23E4E4E7' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.em-form-select:focus{border-color:var(--primary)}.em-editor-wrap{border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--card-bg)}.em-editor-toolbar{display:flex;align-items:center;gap:2px;padding:8px 12px;border-bottom:1px solid var(--border);flex-wrap:wrap}.em-tb-btn{width:32px;height:32px;border:none;background:none;display:flex;color:var(--text);font-size:14px}.em-tb-btn:hover{background:var(--surface-hover)}.em-tb-sep{height:20px;background:var(--border);margin:0 6px}.em-editor-content{min-height:180px;padding:16px;font-size:14px;line-height:1.7;color:var(--text);outline:none}.em-attachment-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:6px;padding:10px 14px;background:var(--card-bg)}.em-attachment-text{font-size:14px;color:var(--text-secondary)}.em-upload-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid var(--border);border-radius:6px;background:var(--card-bg);color:var(--text);font-size:13px;font-weight:500;cursor:pointer;font-family:inherit}.em-upload-btn:hover{background:var(--surface-hover)}.em-status-row{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:6px;padding:8px 14px;background:var(--card-bg)}.em-save-btn{padding:12px 32px;border:none;border-radius:6px;background:var(--primary);color:#fff;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit}.em-save-btn:hover{opacity:.9}.em-preview-overlay{position:fixed;inset:0;z-index:51;background:var(--surface);display:none;overflow-y:auto;padding:24px 32px}.em-preview-overlay.open{display:block}.em-prev-name{color:var(--primary)}.em-prev-body{padding-top:4px}.em-prev-content .em-editor-content{min-height:160px;white-space:normal}.em-prev-attach{justify-content:flex-start;min-height:44px;padding:0 14px}.em-page.em-sub .em-preview-overlay{padding:24px 32px 40px}@media (max-width:875px){.em-page.em-sub .em-preview-overlay{padding:16px 16px 32px}.em-preview-overlay .em-form-row.three,.em-preview-overlay .em-form-row.two{grid-template-columns:1fr}}.cv-back{cursor:pointer;color:var(--text);display:flex;border:none;background:none;padding:0}.cv-back svg{width:22px;height:22px}@media (max-width:720px){.em-header{flex-direction:column;align-items:stretch;gap:12px}.em-header .page-title{font-size:clamp(24px,6vw,36px)}.em-dropdown-btn{width:100%;min-width:0}.em-tabs-row{flex-wrap:wrap;gap:8px}}button.blog-form-select,button.blog-tz-select,button.em-form-select,button.em-sched-select,button.notif-select{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;background-image:none}button.blog-form-select svg,button.em-form-select svg,button.em-sched-select svg,button.notif-select svg{width:12px;height:12px;flex-shrink:0;color:var(--text-secondary)}.ssel-pop{position:fixed;z-index:4000;display:flex;flex-direction:column;max-height:320px;padding:6px;background:var(--card-bg);border:1px solid var(--border);border-radius:10px;box-shadow:0 16px 40px rgba(0,0,0,.45)}.ssel-search{position:relative;margin:2px 2px 6px}.ssel-search svg{position:absolute;left:10px;top:50%;width:13px;height:13px;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none}.ssel-search input{width:100%;height:34px;box-sizing:border-box;border:1px solid var(--border);border-radius:7px;padding:0 10px 0 30px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;outline:none}.ssel-search input:focus{border-color:var(--primary)}.ssel-list{overflow-y:auto;min-height:0}.ssel-head{padding:6px 10px 8px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary)}.ssel-opt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;background:transparent;color:var(--text);font:inherit;font-size:13px;font-weight:600;text-align:left;padding:8px 10px;border-radius:7px;cursor:pointer}.ssel-opt.hi:not(.on){background:var(--surface-hover)}.ssel-opt.on{background:rgba(124,58,237,.16);color:#c4b5fd}body.light-mode .ssel-opt.on,html.light-mode .ssel-opt.on{color:var(--primary)}.ssel-empty{padding:10px 12px;font-size:12.5px;color:var(--text-secondary)}.em-acts-in-hdr{display:flex;align-items:center;gap:10px;margin-right:0}.em-acts-in-hdr button{height:40px;padding:0 18px;white-space:nowrap}.em-page.em-sub .blog-form-head,.em-page.em-sub .em-form-header,.em-page.em-sub .em-send-head{display:none!important}.em-page.em-sub .em-form-view.active{padding:8px 8px 32px;box-sizing:border-box}.em-page.em-sub .em-form-view.active .em-form-body{padding-top:4px}.em-page .blog-form-overlay,.em-page .em-preview-overlay,.em-page .em-send-overlay,.em-page .nl-form-overlay{position:fixed;top:72px;right:0;bottom:0;left:var(--shell-sidebar-width);z-index:40;background:var(--surface);overflow-y:auto;padding:24px 32px 40px;box-sizing:border-box}.em-page .nl-form-overlay{display:none}.em-page .em-send-overlay.open,.em-page .nl-form-overlay.open{display:block}body:has(.sidebar.collapsed) .em-page .blog-form-overlay,body:has(.sidebar.collapsed) .em-page .em-preview-overlay,body:has(.sidebar.collapsed) .em-page .em-send-overlay,body:has(.sidebar.collapsed) .em-page .nl-form-overlay{left:var(--shell-sidebar-collapsed-width)}@media (max-width:875px){.em-page .blog-form-overlay,.em-page .em-preview-overlay,.em-page .em-send-overlay,.em-page .nl-form-overlay{left:0;top:64px;padding:16px 16px 32px}.em-page.em-sub .em-form-view.active{padding:4px 4px 28px}.notif-section .notif-tab{padding:10px 7px;font-size:clamp(12px,3.45vw,13px)}}td.notif-msg{max-width:220px}td.notif-msg span{display:block;overflow:hidden;text-overflow:ellipsis}td.notif-msg span,td.notif-when{white-space:nowrap;font-size:12px;color:var(--text-secondary)}.em-send-body{display:grid;grid-template-columns:1fr 1fr;min-height:100%}.em-send-left{border-right:1px solid var(--border)}.em-send-left,.em-send-right{padding:24px 28px}@media (min-width:876px){.em-page .em-send-overlay .em-send-left{padding-left:0}.em-page .em-send-overlay .em-send-right{padding-right:0}}.em-send-section-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:12px;letter-spacing:.4px;text-transform:uppercase}.em-send-to-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;border:1px solid var(--border);border-radius:8px;padding:10px 14px;background:var(--card-bg);margin-bottom:12px}.em-send-to-label{flex:0 0 auto;font-size:14px;font-weight:600;color:var(--text);display:inline-flex;align-items:center;flex-wrap:wrap;gap:0}.em-send-to-search{flex:1 1;min-width:160px;border:none;background:transparent;outline:none;font:inherit;font-size:14px;color:var(--text);padding:0}.em-send-to-search::placeholder{color:var(--text-secondary);opacity:.75}.em-rcp-empty{padding:22px 10px;text-align:center;color:var(--text-secondary);font-size:13px}.em-send-select-all{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:12px}.em-send-select-all input{width:16px;height:16px;accent-color:var(--primary)}.em-send-recipient{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--border);cursor:pointer}.em-send-recipient:hover{background:var(--surface-hover);margin:0 -14px;padding:12px 14px;border-radius:8px}.em-send-avatar{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;flex-shrink:0}.em-send-info{flex:1 1;min-width:0}.em-send-name{font-size:14px;font-weight:600;color:var(--text)}.em-send-role{font-size:12px;color:var(--text-secondary);margin-top:2px}.em-send-cb{width:17px;height:17px;accent-color:var(--primary);flex-shrink:0}.em-rcp-sel-btn{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:var(--card-bg);color:var(--text);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.em-rcp-sel-btn:hover{border-color:var(--primary)}.em-rcp-count{font-size:11px;color:var(--text-secondary);background:var(--surface-hover);padding:1px 7px}.em-rcp-badge,.em-rcp-count{font-weight:700;border-radius:5px}.em-rcp-badge{display:inline-flex;align-items:center;height:18px;padding:0 7px;font-size:10.5px;margin-left:6px}.em-rcp-badge.t-company{background:rgba(124,58,237,.12);color:#6d28d9}.em-rcp-badge.t-candidate{background:rgba(16,185,129,.14);color:#047857}.em-rcp-badge.t-user{background:rgba(59,130,246,.14);color:#1d4ed8}.em-rcp-badge.t-freelancer{background:rgba(245,158,11,.16);color:#b45309}body:not(.light-mode) .em-rcp-badge.t-company{color:#c4b5fd}body:not(.light-mode) .em-rcp-badge.t-candidate{color:#6ee7b7}body:not(.light-mode) .em-rcp-badge.t-user{color:#93c5fd}body:not(.light-mode) .em-rcp-badge.t-freelancer{color:#fcd34d}.em-to-chip{display:inline-flex;align-items:center;height:24px;padding:0 9px;margin:2px 6px 2px 0;border-radius:5px;background:rgba(124,58,237,.1);color:var(--primary);font-size:12.5px;font-weight:600}body:not(.light-mode) .em-to-chip{color:#c4b5fd}.em-to-more{font-size:12.5px;font-weight:600}.em-to-more,.em-to-ph{color:var(--text-secondary)}.em-sched-title{font-size:18px;font-weight:700;color:var(--text);margin-bottom:20px}.em-sched-row{display:grid;grid-gap:16px;gap:16px;margin-bottom:20px}.em-sched-row.two{grid-template-columns:1fr 1fr}.em-sched-field{display:flex;flex-direction:column;gap:6px;min-width:0}.em-sched-label{font-size:13px;font-weight:700;color:var(--text)}.em-page .em-send-overlay .em-send-right label,.em-page .em-send-overlay label.em-send-label{color:var(--text)!important}.em-page [class*=-label],.em-page label,.em-page thead th,.loc-page label,.loc-page thead th,.sec-page .sec-form-label,.sec-page label,.sec-page thead th{color:var(--text)}.loc-page .ctr-panel .ctr-sub-table th,.loc-page .ctr-sub-table th,.loc-page .ctr-sub-table thead th{color:var(--primary)!important}.em-sched-input-wrap{position:relative}.em-sched-freq-input,.em-sched-input{width:100%;height:44px;box-sizing:border-box;border:1px solid var(--border);border-radius:8px;padding:0 40px 0 14px;font-size:14px;font-family:inherit;color:var(--text);background:var(--card-bg);outline:none}.em-sched-freq-input:focus,.em-sched-input:focus{border-color:var(--primary)}.em-sched-input.em-bad{border-color:#ef4444}.em-sched-input-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--primary);display:flex;pointer-events:none}.em-sched-icon-btn{pointer-events:auto;border:0;background:none;padding:0;cursor:pointer}.em-time-input{padding-right:130px}.em-ampm{position:absolute;right:38px;top:50%;transform:translateY(-50%);display:flex;border:1px solid var(--border);border-radius:6px;overflow:hidden}.em-ampm button{height:28px;padding:0 10px;border:0;background:var(--card-bg);color:var(--text-secondary);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.em-ampm button+button{border-left:1px solid var(--border)}.em-ampm button.on{background:var(--primary);color:#fff}.em-sched-select{width:100%}.em-tpl-editor .tbd-desc-editor{min-height:200px}.tbd-desc-editor-wrap{background:var(--card-bg);border:1px solid var(--border);border-radius:8px;overflow:hidden}.tbd-desc-toolbar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:6px 8px;border-bottom:1px solid var(--border);background:var(--surface)}body.light-mode .em-tpl-editor .tbd-desc-toolbar,html.light-mode .em-tpl-editor .tbd-desc-toolbar{background:#f3f4f6}body.light-mode .em-tpl-editor .tbd-desc-editor,html.light-mode .em-tpl-editor .tbd-desc-editor{background:#ffffff}.tbd-desc-tb{position:relative;width:28px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.tbd-desc-tb:hover{background:var(--surface-hover)}.tbd-desc-tb-sep{width:1px;height:16px;margin:0 4px;background:var(--border)}.tbd-desc-color-wrap{position:relative}.tbd-desc-color-chip{position:absolute;left:6px;right:6px;bottom:3px;height:3px;border-radius:2px}.tbd-desc-color-pop{position:absolute;top:30px;left:0;z-index:5;display:grid;grid-template-columns:repeat(4,18px);grid-gap:6px;gap:6px;padding:8px;background:var(--card-bg);border:1px solid var(--border);border-radius:8px}.tbd-desc-color-pop button{width:18px;height:18px;border:0;border-radius:4px;cursor:pointer}.tbd-desc-editor{min-height:160px;max-height:280px;overflow-y:auto;padding:12px 14px;color:var(--text);font-size:13px;line-height:1.6;outline:none;background:var(--card-bg)}.tbd-desc-editor:empty:before{content:attr(data-placeholder);color:var(--text-secondary)}.em-tpl-toolbar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:6px 8px;border-bottom:1px solid var(--border);background:var(--surface)}body.light-mode .em-tpl-toolbar,html.light-mode .em-tpl-toolbar{background:#f3f4f6;border-bottom-color:#e4e4e7}.em-tb-btn{width:28px;height:28px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--text-secondary);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-family:inherit;flex-shrink:0;padding:0;position:relative;transition:background .12s,color .12s,border-color .12s}.em-tb-btn svg{width:14px;height:14px}.em-tb-btn:hover{background:rgba(255,255,255,.06);color:var(--text)}.em-tb-btn.active,.em-tb-btn:active{background:rgba(124,58,237,.18);color:#c4b5fd;border-color:rgba(124,58,237,.3)}body.light-mode .em-tb-btn,html.light-mode .em-tb-btn{color:#6b7280}body.light-mode .em-tb-btn:hover,html.light-mode .em-tb-btn:hover{background:rgba(0,0,0,.05);color:#1f2937}body.light-mode .em-tb-btn.active,body.light-mode .em-tb-btn:active,html.light-mode .em-tb-btn.active,html.light-mode .em-tb-btn:active{background:rgba(124,58,237,.14);color:#6d28d9;border-color:rgba(124,58,237,.35)}.em-tb-sep{width:1px;height:18px;margin:0 4px;background:rgba(255,255,255,.08);flex-shrink:0}body.light-mode .em-tb-sep,html.light-mode .em-tb-sep{background:#e4e4e7}.em-tb-select{height:28px;padding:0 24px 0 8px;font-size:12px;font-weight:500;color:var(--text);background:transparent;border:1px solid transparent;border-radius:6px;font-family:inherit;cursor:pointer;color-scheme:dark;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'><path fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/></svg>");background-repeat:no-repeat;background-position:right 6px center;flex-shrink:0;outline:none;transition:background-color .12s,border-color .12s}.em-tb-select--sm{min-width:64px}.em-tb-select:hover{background-color:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08)}.em-tb-select:focus{border-color:rgba(124,58,237,.4)}.em-tb-select option{background:#1b1b1e;color:var(--text)}body.light-mode .em-tb-select,html.light-mode .em-tb-select{color-scheme:light;color:#1f2937;background-color:#ffffff;border:1px solid #e4e4e7;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'><path fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/></svg>");background-repeat:no-repeat;background-position:right 6px center}body.light-mode .em-tb-select:hover,html.light-mode .em-tb-select:hover{background-color:#ffffff;border-color:#d4d4d8}body.light-mode .em-tb-select:focus,html.light-mode .em-tb-select:focus{border-color:rgba(124,58,237,.45);box-shadow:0 0 0 2px rgba(124,58,237,.1)}body.light-mode .em-tb-select option,html.light-mode .em-tb-select option{background:#ffffff;color:#1f2937}.em-tb-num{width:38px;height:28px;text-align:center;background:transparent;border:1px solid rgba(255,255,255,.08);border-radius:6px;color:var(--text);font-size:12.5px;font-weight:600;font-family:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;outline:none;transition:border-color .12s,background-color .12s}.em-tb-num:hover{background-color:rgba(255,255,255,.04)}.em-tb-num:focus{border-color:rgba(124,58,237,.4);background-color:rgba(124,58,237,.06)}body.light-mode .em-tb-num,html.light-mode .em-tb-num{background:#ffffff;border:1px solid #e4e4e7;color:#1f2937}body.light-mode .em-tb-num:hover,html.light-mode .em-tb-num:hover{background-color:#ffffff;border-color:#d4d4d8}body.light-mode .em-tb-num:focus,html.light-mode .em-tb-num:focus{border-color:rgba(124,58,237,.45);background-color:#ffffff;box-shadow:0 0 0 2px rgba(124,58,237,.1)}.em-tb-color{flex-direction:column;padding-bottom:3px}.em-tb-color svg{margin-bottom:1px}.em-tb-color-bar{position:absolute;bottom:4px;left:6px;right:6px;height:3px;border-radius:2px;background:#ef4444;pointer-events:none}.em-tb-color-wrap{position:relative;display:inline-flex;flex-shrink:0;align-items:center}.em-tb-color-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:20;display:grid;grid-template-columns:repeat(4,22px);grid-gap:6px;gap:6px;padding:10px;min-width:120px;background:var(--card-bg);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.18)}.em-tb-color-pop button{width:22px;height:22px;border:0;border-radius:5px;cursor:pointer}.em-tb-color-clear{grid-column:1/-1;width:100%!important;height:26px!important;font-size:11px;font-weight:600;color:var(--text-secondary);background:transparent!important;border:1px solid var(--border)!important}body.light-mode .em-tb-color-pop,html.light-mode .em-tb-color-pop{background:#ffffff;border-color:#e4e4e7;box-shadow:0 8px 24px rgba(0,0,0,.1)}.tbd-desc-footer{display:flex;align-items:center;justify-content:flex-start;padding:8px 14px;border-top:1px solid var(--border);background:var(--surface)}.em-tpl-editor .tbd-desc-footer{justify-content:flex-start;background:#f3f4f6}body:not(.light-mode) .em-tpl-editor .tbd-desc-footer,html:not(.light-mode) .em-tpl-editor .tbd-desc-footer{background:rgba(255,255,255,.04)}body.light-mode .em-tpl-editor .tbd-desc-footer,html.light-mode .em-tpl-editor .tbd-desc-footer{background:#f3f4f6}.tbd-desc-count{font-size:12px;color:var(--text-secondary);font-weight:500}.tbd-filedrop{display:flex;align-items:center;gap:10px;border:1.5px dashed var(--border);border-radius:8px;padding:14px 16px;color:var(--text-secondary);font-size:13px;cursor:pointer;background:var(--surface);box-sizing:border-box;min-height:48px}.em-filedrop{border-color:#d4d4d8;background:#f4f4f8;transition:border-color .15s,background .15s,color .15s,box-shadow .15s}body:not(.light-mode) .em-filedrop,html:not(.light-mode) .em-filedrop{border-color:var(--border);background:rgba(255,255,255,.03)}body.light-mode .em-filedrop,html.light-mode .em-filedrop{border-color:#d4d4d8;background:#f4f4f8}.em-filedrop:hover{border-color:var(--primary);background:var(--primary-10,rgba(124,58,237,.08));box-shadow:0 0 0 1px rgba(124,58,237,.12)}.em-filedrop:hover,.em-filedrop:hover .em-filedrop-icon,.em-filedrop:hover .em-filedrop-text b{color:var(--primary)}.em-filedrop.over,.tbd-filedrop.over{border-color:var(--primary);color:var(--primary);background:var(--primary-10,rgba(124,58,237,.1))}body.light-mode .em-filedrop:hover,html.light-mode .em-filedrop:hover{border-color:#7c3aed;background:rgba(124,58,237,.06);box-shadow:0 0 0 1px rgba(124,58,237,.1)}.em-filedrop-icon{flex-shrink:0;width:16px;height:16px;color:#9ca3af;transition:color .15s}.em-filedrop.over .em-filedrop-icon,.em-filedrop:hover .em-filedrop-icon{color:var(--primary)}.em-filedrop-text{color:var(--text-secondary);font-size:13px;line-height:1.4}.em-filedrop-text b{color:var(--primary);font-weight:700}.em-attachment-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.tbd-filechips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.tbd-filechip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:8px;padding:5px 7px 5px 8px;background:var(--card-bg);max-width:250px;color:var(--text)}.tbd-filechip svg{flex-shrink:0;color:var(--primary)}.tbd-filechip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.tbd-filechip-x{border:0;background:none;color:var(--text-secondary);cursor:pointer;font-size:14px}.tr-cal-pop{position:fixed;z-index:9500;background:var(--card-bg,#17171d);border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow:0 24px 56px rgba(0,0,0,.5);width:286px;color:var(--text);-webkit-user-select:none;-moz-user-select:none;user-select:none}.tr-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tr-cal-title{font-size:13.5px;font-weight:700;color:var(--text);display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;cursor:pointer;padding:4px 8px;border-radius:6px;font-family:inherit}.tr-cal-nav-btn svg,.tr-cal-title svg{width:12px;height:12px}.tr-cal-nav{display:flex;align-items:center;gap:2px}.tr-cal-nav-btn{width:26px;height:26px;border:0;background:transparent;color:var(--text-secondary);border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.tr-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:2px;gap:2px}.tr-cal-dow{font-size:10.5px;font-weight:700;color:var(--text-secondary);text-align:center;padding:6px 0 4px}.tr-cal-day{height:32px;display:flex;align-items:center;justify-content:center;font-size:12.5px;color:var(--text);cursor:pointer;border-radius:8px;border:1px solid transparent;background:transparent;font:inherit}.tr-cal-day.other{opacity:.45}.tr-cal-day.today{border-color:rgba(124,58,237,.5)}.tr-cal-day.selected,.tr-cal-year-cell.selected{background:#7c3aed;color:#fff;font-weight:700}.tr-cal-foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}.tr-cal-ghost{background:transparent;border:0;font:inherit;font-size:12.5px;font-weight:600;color:var(--text-secondary);padding:6px 10px;border-radius:6px;cursor:pointer}.tr-cal-done{background:#7c3aed;border:0;color:#fff;font:inherit;font-size:12.5px;font-weight:700;padding:7px 16px;border-radius:8px;cursor:pointer}.tr-cal-year-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px}.tr-cal-year-cell{height:38px;display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:600;border:0;border-radius:8px;background:transparent;color:var(--text);cursor:pointer;font:inherit}@media (max-width:900px){.em-form-row.three,.em-sched-row.two,.em-send-body{grid-template-columns:1fr}}