:root{--bg:#f4f7fb;--surface:#fff;--ink:#101828;--muted:#667085;--line:#e7ecf2;--nav:#0b1220;--primary:#2864dc;--primary2:#1c4fbd;--green:#13a878;--amber:#e69a20;--red:#e5484d;--violet:#7657db;--shadow:0 12px 32px rgba(15,32,62,.07);--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}.hidden{display:none!important}button,input,textarea,select{font:inherit}button{cursor:pointer}.login-view{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:#fff}.login-art{position:relative;overflow:hidden;padding:54px 64px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:radial-gradient(circle at 76% 18%,rgba(64,135,255,.38),transparent 34%),radial-gradient(circle at 20% 85%,rgba(38,181,162,.18),transparent 28%),linear-gradient(145deg,#0a1427,#0d2348 62%,#102b50)}.login-art:after{content:"";position:absolute;width:560px;height:560px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-230px;bottom:-190px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}.brand-mark{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:23px;background:linear-gradient(145deg,#3e80ff,#1aa981);box-shadow:0 10px 24px rgba(22,113,231,.28);position:relative;z-index:1}.brand-mark.small{width:38px;height:38px;border-radius:11px;font-size:17px}.hero-copy{position:relative;z-index:1;max-width:660px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:.16em;font-weight:800;color:#5790f6}.hero-copy .eyebrow{color:#88b2ff}.hero-copy h1{font-size:52px;line-height:1.14;letter-spacing:-.04em;margin:18px 0 22px}.hero-copy p{font-size:17px;line-height:1.85;color:#bfcee4;max-width:570px}.signal-card{position:relative;z-index:1;width:max-content;display:flex;align-items:center;gap:14px;padding:14px 20px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.07);backdrop-filter:blur(12px)}.signal-card div{display:flex;flex-direction:column;gap:3px}.signal-card small{color:#9fb2ce}.pulse{width:10px;height:10px;border-radius:50%;background:#37d9a8;box-shadow:0 0 0 7px rgba(55,217,168,.13)}.login-panel{display:grid;place-items:center;padding:48px}.login-card{width:min(420px,100%);display:grid;gap:24px}.login-card h2{font-size:34px;letter-spacing:-.03em;margin:8px 0}.login-card p{color:var(--muted);margin:0;line-height:1.6}.login-card label,.form-panel label,.modal-card label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#344054}.login-card input,.form-panel input,.form-panel textarea,.modal-card input,.toolbar input,.toolbar select,.recipient-panel input,.compose-panel textarea,.extra-fields input{width:100%;border:1px solid #dce3ec;border-radius:11px;background:#fff;padding:12px 14px;outline:0;color:var(--ink);transition:.2s}.login-card input:focus,.form-panel input:focus,.form-panel textarea:focus,.modal-card input:focus,.toolbar input:focus,.recipient-panel input:focus,.compose-panel textarea:focus{border-color:#6c9df3;box-shadow:0 0 0 4px rgba(40,100,220,.09)}.password-wrap{position:relative}.password-wrap input{padding-right:68px}.reveal{position:absolute;right:8px;top:8px;border:0;background:#eef4ff;color:var(--primary);padding:5px 9px;border-radius:7px;font-size:12px;font-weight:700}.primary{border:0;border-radius:11px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;padding:12px 18px;font-weight:750;box-shadow:0 8px 18px rgba(40,100,220,.2);transition:.2s}.primary:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(40,100,220,.26)}.login-button{display:flex;justify-content:space-between;font-size:15px;padding:14px 18px}.security-note{text-align:center!important;font-size:12px!important}.mobile-brand{display:none}.app-shell{min-height:100vh;display:grid;grid-template-columns:244px 1fr}.sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:24px 17px;background:linear-gradient(180deg,#0b1220,#0d1729);color:#fff;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 9px 24px}.sidebar-brand div{display:flex;flex-direction:column}.sidebar-brand b{font-size:17px}.sidebar-brand small{font-size:11px;color:#7f91aa;margin-top:2px}.sidebar nav{display:grid;gap:5px}.sidebar nav p{font-size:10px;letter-spacing:.14em;color:#5e718d;font-weight:800;padding:16px 12px 5px;margin:0}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:10px;padding:11px 12px;color:#9cacc2;background:transparent;text-align:left;font-size:13px;font-weight:650;transition:.2s}.nav-item span{width:20px;text-align:center;font-size:17px}.nav-item:hover{background:#14223a;color:#dbe7f8}.nav-item.active{background:linear-gradient(90deg,#1b4eac,#183d80);color:#fff;box-shadow:inset 3px 0 #5d94ff}.sidebar-health{margin-top:auto;border:1px solid #1e2d45;background:#101d31;border-radius:13px;padding:13px;display:flex;align-items:center;gap:10px}.sidebar-health div{display:flex;flex-direction:column}.sidebar-health b{font-size:12px}.sidebar-health small{font-size:10px;color:#768ba8;margin-top:2px}.status-dot{width:9px;height:9px;border-radius:50%;background:#718096}.status-dot.online{background:#24c894;box-shadow:0 0 0 5px rgba(36,200,148,.11)}.main{min-width:0}.topbar{height:82px;padding:0 32px;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.topbar>div:first-of-type{display:flex;flex-direction:column}.topbar h2{font-size:20px;margin:3px 0 0}.topbar #breadcrumb{font-size:11px;color:#98a2b3}.top-actions{display:flex;align-items:center;gap:10px}.avatar,.entity-avatar{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#dbe8ff,#e8e1ff);color:#3157a5;display:grid;place-items:center;font-weight:800}.user-meta{display:flex;flex-direction:column;margin-right:4px}.user-meta b{font-size:12px}.user-meta small{font-size:10px;color:var(--muted)}.icon-button,.quiet-button,.text-button{border:1px solid var(--line);background:#fff;color:#475467;border-radius:9px;padding:9px 12px;font-weight:650}.icon-button{width:38px;height:38px;padding:0}.quiet-button:hover,.icon-button:hover{border-color:#bbcae0;color:var(--primary)}.text-button{border:0;color:var(--primary);padding:6px;background:transparent}.menu-button{display:none}.content{padding:30px 32px 52px;max-width:1580px;margin:auto}.page{display:none}.page.active{display:block}.welcome-row,.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.welcome-row h1,.page-heading h1{font-size:29px;letter-spacing:-.025em;margin:6px 0}.welcome-row p,.page-heading p{margin:0;color:var(--muted);font-size:13px}.hero-status{min-height:192px;border-radius:22px;padding:30px 34px;color:#fff;background:radial-gradient(circle at 82% 5%,rgba(75,137,255,.45),transparent 28%),linear-gradient(120deg,#111f38,#12376b);display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 34px rgba(17,42,80,.13)}.hero-status h3{font-size:25px;margin:16px 0 7px}.hero-status p{color:#b7c7de;margin:0}.live-badge{font-size:10px;font-weight:800;letter-spacing:.16em;color:#9fe7d0}.live-badge i{display:inline-block;width:6px;height:6px;background:#37d9a8;border-radius:50%;margin-right:6px}.hero-tags{display:flex;gap:8px;margin-top:22px;flex-wrap:wrap}.hero-tags span{font-size:11px;padding:7px 10px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:rgba(255,255,255,.07);color:#d4e0ef}.orb{width:122px;height:122px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at 42% 35%,#3d80ec,#163e82);border:1px solid rgba(255,255,255,.2);box-shadow:0 0 0 13px rgba(79,137,236,.08),0 14px 30px rgba(0,0,0,.2)}.orb span{font-size:36px;font-weight:800}.orb small{color:#b7c8df}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.metric{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;gap:14px;box-shadow:0 6px 24px rgba(15,32,62,.035)}.metric-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-weight:800}.metric-icon.blue{color:#2563d9;background:#edf4ff}.metric-icon.violet{color:#7657db;background:#f2efff}.metric-icon.green{color:#0e9b70;background:#eafaf4}.metric-icon.amber{color:#d48613;background:#fff7e7}.metric div{display:flex;flex-direction:column}.metric small{color:var(--muted);font-size:11px}.metric strong{font-size:25px;margin:2px 0}.metric em{font-style:normal;color:#98a2b3;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-head{padding:20px 22px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-head h3{font-size:16px;margin:4px 0}.panel-head p{font-size:11px;color:var(--muted);margin:3px 0}.service-list{padding:0 22px 18px}.service-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #eef2f6}.service-row:first-child{border-top:0}.service-row>span:first-child{width:35px;height:35px;border-radius:10px;background:#f3f6fa;display:grid;place-items:center}.service-row div{display:flex;flex-direction:column;flex:1}.service-row b{font-size:12px}.service-row small{font-size:10px;color:var(--muted);margin-top:2px}.badge{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:750}.badge.good{background:#eaf9f3;color:#07875f}.badge.bad{background:#fff0f0;color:#cf3b41}.badge.warn{background:#fff5e5;color:#bb730d}.badge.neutral{background:#f0f3f7;color:#667085}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 20px 20px}.quick-grid button{border:1px solid var(--line);background:#fbfcfe;border-radius:13px;padding:16px;text-align:left;display:grid;grid-template-columns:34px 1fr;column-gap:10px;transition:.2s}.quick-grid button:hover{border-color:#adc4ed;background:#f7faff;transform:translateY(-1px)}.quick-grid span{grid-row:1/3;width:34px;height:34px;border-radius:10px;background:#edf4ff;color:var(--primary);display:grid;place-items:center}.quick-grid b{font-size:12px}.quick-grid small{font-size:10px;color:var(--muted);margin-top:3px}.table-panel{overflow:hidden}.toolbar{display:flex;gap:12px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.search{display:flex;align-items:center;gap:8px;border:1px solid #dce3ec;border-radius:10px;background:#fff;padding:0 11px;min-width:280px}.search input{border:0!important;box-shadow:none!important;padding:10px 2px!important}.toolbar select{width:auto;min-width:150px}.sync-label{margin-left:auto;color:#98a2b3;font-size:11px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{background:#f8fafc;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.06em;text-align:left;padding:11px 20px;border-bottom:1px solid var(--line)}td{padding:13px 20px;border-bottom:1px solid #eef2f6;font-size:12px;color:#475467}td strong{color:var(--ink)}.entity{display:flex;align-items:center;gap:10px}.entity-avatar{width:34px;height:34px;font-size:12px}.row-action{border:0;background:#eef4ff;color:var(--primary);border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700}.empty{text-align:center;color:#98a2b3;padding:52px}.send-layout{display:grid;grid-template-columns:340px 1fr;gap:18px}.recipient-panel,.compose-panel{padding-bottom:18px}.segmented{margin:0 18px 12px;display:grid;grid-template-columns:1fr 1fr;background:#f1f4f8;border-radius:10px;padding:4px}.segmented button,.message-types button{border:0;background:transparent;border-radius:8px;padding:8px;color:#667085;font-weight:650;font-size:12px}.segmented button.active,.message-types button.active{background:#fff;color:var(--primary);box-shadow:0 3px 10px rgba(15,32,62,.08)}.recipient-panel>.search{margin:0 18px;min-width:0}.recipient-list{margin:12px 9px 0;max-height:450px;overflow:auto}.recipient-item{width:100%;border:0;background:transparent;border-radius:10px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left}.recipient-item:hover,.recipient-item.active{background:#eff5ff}.recipient-item div:nth-child(2){display:flex;flex-direction:column;min-width:0}.recipient-item b{font-size:12px;overflow:hidden;text-overflow:ellipsis}.recipient-item small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.compose-panel{padding:22px}.compose-to{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}.compose-to>div:nth-child(2){display:flex;flex-direction:column}.compose-to small,.compose-to span{font-size:10px;color:var(--muted)}.compose-to b{font-size:14px;margin:2px 0}.message-types{display:flex;gap:5px;margin:18px 0;padding-bottom:12px;border-bottom:1px solid var(--line)}.message-types button.active{background:#edf4ff;box-shadow:none}.compose-panel textarea{resize:vertical}.extra-fields{display:grid;gap:10px;margin-top:12px}.compose-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.compose-footer small{color:#98a2b3}.settings-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:18px}.settings-main,.settings-side{display:grid;gap:18px;align-content:start}.form-panel{padding-bottom:22px}.form-panel>label,.form-grid{margin:0 22px}.form-panel textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .span-2{grid-column:span 2}.switch-list{display:grid;margin:0 22px 18px}.switch-list label{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eef2f6;position:relative}.switch-list span{display:flex;flex-direction:column}.switch-list b{font-size:12px}.switch-list small{font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.switch-list input{position:absolute;opacity:0}.switch-list i{width:38px;height:22px;background:#d5dce6;border-radius:99px;position:relative;transition:.2s}.switch-list i:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.17);transition:.2s}.switch-list input:checked+i{background:var(--primary)}.switch-list input:checked+i:after{transform:translateX(16px)}.notice-card{padding:17px;border-radius:15px;background:#fff8ea;border:1px solid #f4dfb4;display:flex;gap:12px}.notice-card>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f3c45c;color:#714b00;font-weight:800}.notice-card div{flex:1}.notice-card b{font-size:12px}.notice-card p{font-size:10px;color:#80653a;line-height:1.65;margin:4px 0}.save-settings{width:100%;padding:14px}.toast{position:fixed;right:24px;top:24px;z-index:1000;background:#101828;color:#fff;padding:12px 16px;border-radius:11px;box-shadow:0 14px 30px rgba(0,0,0,.2);font-size:12px;opacity:0;transform:translateY(-12px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:none}.toast.error{background:#b4232a}.modal{position:fixed;inset:0;z-index:100;background:rgba(8,15,28,.62);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.modal-card{position:relative;background:#fff;width:min(430px,100%);padding:30px;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.25);display:grid;gap:17px}.modal-card h2{margin:0;text-align:center}.modal-card p{font-size:12px;color:var(--muted);text-align:center;margin:0;line-height:1.6}.modal-icon{font-size:30px;text-align:center}.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:24px;color:#98a2b3}.checkbox-line{display:flex!important;align-items:center;gap:8px}.checkbox-line input{width:auto}.page-heading{align-items:center}@media(max-width:1100px){.metric-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.settings-layout{grid-template-columns:1fr}.send-layout{grid-template-columns:300px 1fr}.login-art{padding:45px}.hero-copy h1{font-size:42px}}@media(max-width:800px){.login-view{display:block}.login-art{display:none}.login-panel{min-height:100vh;padding:28px}.mobile-brand{display:flex;align-items:center;gap:10px}.app-shell{display:block}.sidebar{position:fixed;left:-260px;width:244px;transition:.25s;box-shadow:14px 0 35px rgba(0,0,0,.22)}.sidebar.open{left:0}.menu-button{display:block}.topbar{padding:0 16px;height:72px}.topbar .quiet-button,.user-meta{display:none}.content{padding:22px 16px}.metric-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.send-layout{grid-template-columns:1fr}.recipient-list{max-height:260px}.welcome-row,.page-heading{align-items:flex-start;flex-direction:column}.hero-status{padding:24px}.orb{width:92px;height:92px}.orb span{font-size:28px}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.settings-layout{display:block}.settings-side{margin-top:18px}.toolbar{flex-wrap:wrap}.sync-label{width:100%;margin:0}.search{min-width:0;flex:1}.top-actions{gap:6px}}@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.hero-status{align-items:flex-start}.orb{display:none}.quick-grid{grid-template-columns:1fr}.compose-footer{align-items:stretch;flex-direction:column;gap:12px}.login-card h2{font-size:29px}.message-types{overflow:auto}}
.message-types{overflow-x:auto;scrollbar-width:thin}.message-types button{white-space:nowrap}

/* AI preset & room config additions */
.preset-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border:1px solid var(--line);border-radius:12px;margin:0 22px 10px;background:#fbfcfe}
.preset-item b{font-size:13px;display:block}
.preset-item small{font-size:10px;color:var(--muted)}
.preset-item .small{padding:6px 10px;border-radius:8px;border:0;background:#eef4ff;color:var(--primary);font-weight:700;margin-left:6px}
.preset-item .small.danger{background:#fff0f0;color:#cf3b41}
#presetList{padding-bottom:12px}
.modal-card.wide{width:min(760px,95vw)}
.room-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding:0 30px}
.room-tab-btn{border:0;background:transparent;padding:12px 14px;font-weight:700;color:var(--muted);border-bottom:2px solid transparent}
.room-tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}
.room-tab-content{display:none;padding:22px 30px 10px}
.room-tab-content.active{display:block}
.member-mode{margin:12px 0}
.member-mode select{width:auto;min-width:220px}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 30px 26px}
.modal-actions .secondary{border:1px solid var(--line);background:#fff;color:#475467;border-radius:10px;padding:10px 18px;font-weight:700}
#roomMemberRows td,#roomMemberRows th{padding:9px 14px}
#roomMemberRows input[type=checkbox]{width:auto}
.badge.tag{padding:3px 7px}
button.small{padding:6px 12px;border-radius:8px;font-size:12px}
/* 成员表：备注列 + 权限模式提示 */
.member-mode-hint{margin:10px 0 12px;padding:10px 14px;border-radius:10px;background:#f5f8ff;border:1px solid #d6e2ff;color:#3f5fc4;font-size:13px;line-height:1.5}
.member-mode-hint b{color:#1c3fae}
.member-table{width:100%;border-collapse:collapse}
.member-table th,.member-table td{padding:9px 14px;text-align:left;border-bottom:1px solid var(--line);font-size:13px}
.member-table th.col-check,.member-table td.col-check{width:42px;text-align:center}
.member-table th.col-role,.member-table td.col-role{width:90px;color:#6b7280}
.member-table th.col-wxid,.member-table td.col-wxid{width:160px;color:#6b7280;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.member-table th.col-name,.member-table td.col-name{min-width:140px}
.member-table th.col-remark,.member-table td.col-remark{min-width:170px}
.member-table td.col-name small.remark-tag{display:block;margin-top:2px;color:#1c8c5a;font-size:11px}
.member-remark-input{width:100%;padding:5px 8px;border:1px solid var(--line);border-radius:6px;font-size:12px;background:#fff}
.member-remark-input:focus{outline:none;border-color:var(--accent,#3b82f6);box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.member-table input[type=checkbox]{width:auto}
.member-table input[type=checkbox]:disabled{opacity:.4;cursor:not-allowed}

/* ========== 移动端增强适配 ========== */
/* 安全区域适配 */
@supports (padding: env(safe-area-inset-top)){
  .topbar{padding-top:env(safe-area-inset-top)}
  .sidebar{padding-top:env(safe-area-inset-top)}
  .toast{top:calc(24px + env(safe-area-inset-top));right:calc(16px + env(safe-area-inset-right))}
}

/* 触摸友好：按钮最小尺寸 44px */
@media (max-width:800px){
  .row-action,.quiet-button,.icon-button,.primary,.button,.small,
  .nav-item,.segmented button,.message-types button,
  .recipient-item,.quick-grid button{min-height:40px}
  .row-action{padding:9px 12px;font-size:12px}
  .top-actions{gap:6px}
  .icon-button{width:40px;height:40px}
  /* 表格在小屏下更紧凑 */
  th,td{padding:9px 12px!important}
  .search{min-width:0}
  .toolbar{padding:12px 14px;gap:8px}
  .toolbar select{min-width:120px}
  /* 弹窗在 520px 以下全屏 */
  .modal{padding:0}
  .modal-card{width:100%!important;max-width:100%!important;border-radius:0!important;
              min-height:100vh;max-height:100vh;overflow:auto;padding:18px 18px 30px}
  .modal-card.wide{width:100%!important}
  .modal-close{right:8px;top:6px;width:36px;height:36px;border-radius:50%;background:#f3f6fa;font-size:22px}
  /* 群配置 modal：tabs 固定顶部 */
  .room-tabs{position:sticky;top:-18px;background:#fff;z-index:5;margin:0 -18px 0;padding:0 18px}
  .room-tab-content{padding:16px 0 8px}
  .modal-actions{position:sticky;bottom:-30px;background:#fff;margin:0 -18px -30px;padding:14px 18px;
                 box-shadow:0 -6px 14px rgba(15,32,62,.05)}
}

/* 520px 以下进一步精简 */
@media (max-width:520px){
  .content{padding:14px 12px 30px}
  .topbar{padding:0 12px;height:60px}
  .topbar h2{font-size:17px}
  .topbar #breadcrumb{font-size:10px}
  .welcome-row h1,.page-heading h1{font-size:22px}
  .welcome-row p,.page-heading p{font-size:12px}
  .welcome-row>button,.page-heading>button{font-size:12px;padding:9px 14px;width:100%}
  /* 指标卡简化 */
  .metric{padding:14px;gap:10px}
  .metric-icon{width:36px;height:36px;font-size:14px}
  .metric strong{font-size:20px}
  /* 表格进一步紧凑，关键列优先 */
  th,td{padding:8px 10px!important;font-size:11px}
  .entity-avatar{width:30px;height:30px;font-size:11px}
  /* 隐藏次要列：群聊表的"同步时间"，联系人表的"同步时间" */
  .table-wrap table th:nth-child(7),
  .table-wrap table td:nth-child(7){display:none}
  /* 搜索框占满整行 */
  .toolbar{flex-wrap:wrap}
  .toolbar>div,.toolbar>button,.toolbar>select{flex:1 1 100%}
  .sync-label{width:100%;text-align:right;margin-top:4px}
  /* 消息发送：选择对象列表更紧凑 */
  .recipient-list{max-height:200px;margin:8px 0 0}
  .recipient-item{padding:8px}
  .entity-avatar{width:32px;height:32px}
  /* 消息类型按钮可横向滚动 */
  .message-types{overflow-x:auto;-webkit-overflow-scrolling:touch;flex-wrap:nowrap}
  .message-types button{flex:0 0 auto;padding:8px 12px}
  /* AI 设置表单 */
  .form-panel>label,.form-grid{margin:0 14px}
  .panel-head{padding:14px 14px 10px}
  .panel-head h3{font-size:14px}
  .preset-item{margin:0 14px 10px;padding:10px 12px}
  .switch-list{margin:0 14px 14px}
  /* 成员表：备注输入更紧凑 */
  .member-table th,.member-table td{padding:7px 8px!important}
  .member-table th.col-role,.member-table td.col-role{width:60px}
  .member-table th.col-wxid,.member-table td.col-wxid{width:auto;font-size:10px}
  .member-remark-input{padding:4px 6px;font-size:11px}
  .member-mode-hint{font-size:11px;padding:8px 10px}
  /* 群配置 form-grid 单列 */
  .form-grid{gap:10px}
  /* login */
  .login-card h2{font-size:26px}
  .login-panel{padding:20px 18px}
  .login-card{gap:18px}
  .login-card input{padding:11px 12px}
  .login-button{padding:13px 14px;font-size:14px}
  /* toast 顶部显示，避免被键盘遮挡 */
  .toast{top:auto!important;bottom:calc(20px + env(safe-area-inset-bottom));
         right:12px;left:12px;text-align:center}
}

/* 380px 以下极小屏 */
@media (max-width:380px){
  .metric-grid{grid-template-columns:1fr}
  .login-card h2{font-size:22px}
  .topbar h2{font-size:15px}
  .brand-mark.small{width:32px;height:32px;font-size:14px}
  .sidebar-brand b{font-size:14px}
  .nav-item{padding:10px 10px;font-size:12px}
  .nav-item span{font-size:15px}
}

/* 触摸交互增强：去除 300ms 点击延迟 */
button,a,input,select,textarea{touch-action:manipulation}
/* 滚动惯性 */
.table-wrap,.recipient-list,.modal-card,.message-types,
.room-tab-content,.content{-webkit-overflow-scrolling:touch}

/* 横屏适配（手机横屏） */
@media (max-width:900px) and (orientation:landscape){
  .modal-card{max-height:90vh;min-height:auto}
  .recipient-list{max-height:180px}
}

/* 用户类型标识 */
.member-table td.col-wxid{vertical-align:middle}
.wxid-text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#6b7280;word-break:break-all}
.ut-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:18px;padding:0 5px;border-radius:4px;font-size:10px;font-weight:600;line-height:1;white-space:nowrap;flex-shrink:0}
.ut-wecom{background:#e8f4fd;color:#1677ff;border:1px solid #bae0ff}
.ut-wechat{background:#f0f9eb;color:#52c41a;border:1px solid #d9f7be}
@media (max-width:520px){
  .ut-badge{min-width:24px;height:16px;font-size:9px;padding:0 4px}
  .wxid-text{font-size:10px}
}

/* 图片头像 */
.entity-avatar.img{width:36px;height:36px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;background:#eef2f7;flex-shrink:0}
.entity-avatar.img.small{width:28px;height:28px}
.member-identity{display:flex;align-items:center;gap:10px;min-width:0}
.member-identity .remark-tag{margin-left:0}
@media (max-width:520px){
  .entity-avatar.img{width:30px;height:30px}
  .entity-avatar.img.small{width:24px;height:24px}
}

.muted{color:var(--text-muted,#8b909c);font-size:13px}
/* ========== 定时任务页面样式 ========== */
.task-status{display:inline-flex;align-items:center;gap:6px}
.task-status .dot{width:7px;height:7px;border-radius:50%}
.task-status.on .dot{background:#24c894;box-shadow:0 0 0 4px rgba(36,200,148,.12)}
.task-status.off .dot{background:#cbd5e1}
.task-actions{display:flex;gap:6px;flex-wrap:wrap}
.task-actions button{border:0;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:700}
.task-actions .run-btn{background:#eaf9f3;color:#07875f}
.task-actions .log-btn{background:#eef4ff;color:var(--primary)}
.task-actions .edit-btn{background:#f0f3f7;color:#475467}
.task-actions .toggle-on{background:#fff5e5;color:#bb730d}
.task-actions .toggle-off{background:#eaf9f3;color:#07875f}
.task-actions .del-btn{background:#fff0f0;color:#cf3b41}
.task-log-meta{padding:10px 20px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}
#taskLogModal .table-wrap{max-height:420px;overflow:auto}
#taskRows td:nth-child(2){font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#6b7280}
#taskRows .badge{font-size:10px;padding:3px 7px}
#taskRows .badge.type-text{background:#eef4ff;color:#2563d9}
#taskRows .badge.type-image{background:#f2efff;color:#7657db}
#taskRows .badge.type-file{background:#fff7e7;color:#d48613}
#taskRows .badge.type-video{background:#eafaf4;color:#0e9b70}
#taskRows .badge.type-link{background:#fff0f0;color:#cf3b41}
#taskRows .badge.type-other{background:#f0f3f7;color:#667085}

/* ========== Ete 登录界面 ========== */
.login-view{
  position:relative;
  isolation:isolate;
  display:block;
  min-height:100dvh;
  overflow:hidden;
  background:#0c1422;
  font-family:"MiSans","Noto Sans SC","PingFang SC","Microsoft YaHei UI",sans-serif
}
.login-background{
  position:absolute;
  inset:0;
  z-index:-3;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  user-select:none
}
.login-scrim{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(95deg,rgba(4,11,22,.84) 0%,rgba(6,15,28,.62) 44%,rgba(6,14,25,.34) 100%),
    linear-gradient(180deg,rgba(3,9,18,.25),transparent 35%,rgba(3,9,18,.30))
}
.login-topbar{
  position:absolute;
  inset:0 0 auto;
  z-index:2;
  display:flex;
  height:78px;
  align-items:center;
  justify-content:space-between;
  padding:0 clamp(24px,4vw,64px);
  border-bottom:1px solid rgba(255,255,255,.14);
  background:rgba(9,18,31,.24);
  backdrop-filter:blur(20px) saturate(135%);
  -webkit-backdrop-filter:blur(20px) saturate(135%)
}
.login-brand{
  display:flex;
  align-items:center;
  gap:11px;
  color:#f5f8fc
}
.login-brand .brand-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  font-size:15px;
  box-shadow:0 8px 22px rgba(18,73,168,.24)
}
.login-brand>span:last-child{
  display:flex;
  flex-direction:column;
  gap:1px
}
.login-brand b{
  font-size:13px;
  font-weight:750
}
.login-brand small{
  color:rgba(224,233,245,.58);
  font-size:8px;
  letter-spacing:.13em
}
.login-platform{
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
  color:rgba(239,244,251,.82);
  background:rgba(255,255,255,.08);
  font-size:10px
}
.login-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,430px);
  min-height:100dvh;
  max-width:1380px;
  align-items:center;
  gap:clamp(40px,8vw,120px);
  margin:auto;
  padding:116px clamp(26px,6vw,84px) 52px
}
.login-intro{
  max-width:580px;
  color:#f5f8fc;
  text-shadow:0 3px 20px rgba(0,0,0,.32)
}
.login-intro .eyebrow{
  color:#afcaff;
  font-size:10px;
  font-weight:750;
  letter-spacing:.15em
}
.login-intro h1{
  margin:15px 0 17px;
  font-size:clamp(38px,4vw,58px);
  font-weight:720;
  line-height:1.13;
  letter-spacing:-.045em
}
.login-intro p{
  max-width:540px;
  margin:0;
  color:rgba(229,236,246,.78);
  font-size:14px;
  line-height:1.85
}
.login-proof{
  display:flex;
  width:max-content;
  align-items:center;
  gap:10px;
  margin-top:27px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:11px;
  color:rgba(228,241,236,.88);
  background:rgba(8,22,30,.30);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  font-size:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)
}
.login-proof .pulse{
  width:7px;
  height:7px;
  box-shadow:0 0 0 5px rgba(55,217,168,.11)
}
.login-card{
  position:relative;
  display:grid;
  width:100%;
  gap:19px;
  padding:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.56);
  border-radius:20px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.84),rgba(245,248,252,.66)),
    rgba(255,255,255,.58);
  backdrop-filter:blur(30px) saturate(145%);
  -webkit-backdrop-filter:blur(30px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    inset 0 -1px 0 rgba(255,255,255,.22),
    0 32px 80px rgba(3,10,22,.34)
}
.login-card:before{
  position:absolute;
  inset:1px 1px auto;
  height:44%;
  border-radius:19px 19px 48% 48%;
  background:linear-gradient(180deg,rgba(255,255,255,.36),transparent);
  content:"";
  pointer-events:none
}
.login-card>*{
  position:relative
}
.login-card-mark{
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border:1px solid rgba(40,100,220,.17);
  border-radius:13px;
  color:var(--primary);
  background:rgba(255,255,255,.62);
  box-shadow:0 9px 22px rgba(40,100,220,.11);
  font-size:15px;
  font-weight:800
}
.login-card-head .section-kicker{
  color:#3c6fc9;
  font-size:9px;
  letter-spacing:.13em
}
.login-card h2{
  margin:6px 0 4px;
  color:#152033;
  font-size:28px;
  letter-spacing:-.035em
}
.login-card p{
  color:#667085;
  line-height:1.65
}
.login-card label{
  gap:7px;
  color:#354052;
  font-size:12px;
  font-weight:700
}
.login-card input{
  height:46px;
  border-color:rgba(63,79,103,.17);
  background:rgba(255,255,255,.68);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82)
}
.login-card input:hover{
  border-color:rgba(40,100,220,.32)
}
.login-card input:focus{
  border-color:#5f8ee6;
  background:rgba(255,255,255,.9);
  box-shadow:0 0 0 4px rgba(40,100,220,.09),inset 0 1px 0 rgba(255,255,255,.92)
}
.login-card input::placeholder{
  color:#9aa4b2
}
.login-card .reveal{
  top:9px;
  right:8px;
  padding:6px 10px;
  color:#3264bd;
  background:rgba(232,240,254,.92)
}
.login-button{
  min-height:46px;
  margin-top:2px;
  padding:0 16px;
  border-radius:11px;
  background:linear-gradient(135deg,#2d6fe6,#2058bd);
  box-shadow:0 12px 24px rgba(31,87,190,.22)
}
.login-button span:last-child{
  color:rgba(255,255,255,.70);
  font-size:10px;
  font-weight:600
}
.security-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#7d8795!important;
  font-size:10px!important
}
.security-note span{
  color:#2d6f5a;
  font-weight:800
}
@media (prefers-reduced-transparency:reduce){
  .login-topbar,.login-proof{background:rgba(8,18,31,.88);backdrop-filter:none}
  .login-card{background:#f7f9fc;backdrop-filter:none}
}
@media (max-width:900px){
  .login-background{object-position:54% center}
  .login-stage{
    grid-template-columns:1fr;
    justify-items:center;
    padding:104px 20px 34px
  }
  .login-intro{display:none}
  .login-card{width:min(430px,100%)}
}
@media (max-width:520px){
  .login-topbar{
    height:68px;
    padding:0 16px
  }
  .login-platform{display:none}
  .login-stage{padding:88px 14px 20px}
  .login-card{
    gap:17px;
    padding:26px 22px;
    border-radius:17px
  }
  .login-card h2{font-size:25px}
}

/* 登录动线：先进入品牌场景，再进入独立登录状态。 */
.login-state{position:relative;min-height:100dvh}
.login-state.hidden{display:none!important}
.login-landing-content{
  display:flex;
  min-height:100dvh;
  align-items:flex-end;
  justify-content:space-between;
  gap:48px;
  max-width:1380px;
  margin:auto;
  padding:150px clamp(26px,6vw,84px) 84px
}
.login-landing-copy{max-width:620px;color:#f5f8fc;text-shadow:0 3px 22px rgba(0,0,0,.34)}
.login-landing-copy .eyebrow{color:#afcaff;font-size:10px;font-weight:750;letter-spacing:.15em}
.login-landing-copy h1{margin:16px 0 18px;font-size:clamp(42px,5vw,72px);font-weight:720;line-height:1.12;letter-spacing:-.052em}
.login-landing-copy p{max-width:560px;margin:0;color:rgba(229,236,246,.78);font-size:14px;line-height:1.85}
.login-entry-button{
  display:flex;
  min-width:220px;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  margin-bottom:12px;
  padding:15px 16px 15px 20px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:13px;
  color:#fff;
  background:rgba(255,255,255,.13);
  box-shadow:0 16px 34px rgba(3,10,22,.18),inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter:blur(16px) saturate(130%);
  -webkit-backdrop-filter:blur(16px) saturate(130%);
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  transition:transform .2s ease,background .2s ease,border-color .2s ease
}
.login-entry-button b{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#2d6fe6;font-size:20px;font-weight:400;line-height:1}
.login-entry-button:hover{border-color:rgba(255,255,255,.46);background:rgba(255,255,255,.20);transform:translateY(-2px)}
.login-entry-button:active{transform:translateY(0) scale(.985)}
.login-back-button{border:1px solid rgba(255,255,255,.16);border-radius:9px;padding:7px 11px;color:rgba(239,244,251,.82);background:rgba(255,255,255,.08);cursor:pointer;font-size:10px;transition:.2s}
.login-back-button:hover{border-color:rgba(255,255,255,.30);color:#fff;background:rgba(255,255,255,.14)}
.login-form-state .login-topbar{display:grid;grid-template-columns:auto 1fr auto}
.login-form-state .login-brand{justify-self:center}
.login-form-state .login-platform{justify-self:end}
.login-form-state .login-stage{padding-top:116px}
@media (max-width:900px){
  .login-landing-content{align-items:center;justify-content:center;padding:120px 24px 64px}
  .login-landing-copy{text-align:center}
  .login-landing-copy p{margin-inline:auto}
  .login-landing-copy .login-proof{margin-inline:auto}
  .login-entry-button{margin:32px auto 0}
  .login-form-state .login-stage{padding-top:104px}
}
@media (max-width:520px){
  .login-form-state .login-topbar{display:flex}
  .login-form-state .login-brand{margin:auto}
  .login-form-state .login-back-button{position:absolute;left:16px}
  .login-form-state .login-platform{display:none}
  .login-landing-content{padding:112px 18px 56px}
  .login-landing-copy h1{font-size:39px}
  .login-landing-copy p{font-size:12px}
  .login-entry-button{width:min(270px,100%);margin-top:28px}
}
@media (prefers-reduced-transparency:reduce){
  .login-entry-button,.login-back-button{background:rgba(8,18,31,.88);backdrop-filter:none}
}

/* Clear frosted-glass treatment for the credential surface. */
.login-form-state .login-card{
  isolation:isolate;
  border-color:rgba(255,255,255,.38);
  color:#f7faff;
  background:
    radial-gradient(circle at 8% 0%,rgba(255,255,255,.34),transparent 34%),
    linear-gradient(135deg,rgba(242,247,255,.24),rgba(188,207,232,.10) 56%,rgba(255,255,255,.15)),
    rgba(8,18,32,.18);
  backdrop-filter:blur(28px) saturate(170%) brightness(1.06);
  -webkit-backdrop-filter:blur(28px) saturate(170%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 1px 0 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(255,255,255,.10),
    0 34px 90px rgba(1,7,18,.46),
    0 8px 30px rgba(23,66,126,.16)
}
.login-form-state .login-card:before{
  height:52%;
  background:
    radial-gradient(circle at 17% 0%,rgba(255,255,255,.42),transparent 38%),
    linear-gradient(180deg,rgba(255,255,255,.15),transparent)
}
.login-form-state .login-card:after{
  position:absolute;
  inset:1px;
  z-index:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:19px;
  content:"";
  pointer-events:none
}
.login-form-state .login-card>*{z-index:1}
.login-form-state .login-card-mark{
  border-color:rgba(255,255,255,.28);
  color:#dbe9ff;
  background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 10px 28px rgba(0,8,22,.20)
}
.login-form-state .login-card-head .section-kicker{color:#a9c9ff}
.login-form-state .login-card h2{color:#fff;text-shadow:0 2px 18px rgba(0,7,20,.22)}
.login-form-state .login-card p{color:rgba(235,242,251,.72)}
.login-form-state .login-card label{color:rgba(247,250,255,.88)}
.login-form-state .login-card input{
  border-color:rgba(255,255,255,.25);
  color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 26px rgba(0,8,22,.10)
}
.login-form-state .login-card input:hover{
  border-color:rgba(183,211,255,.52);
  background:linear-gradient(135deg,rgba(255,255,255,.20),rgba(255,255,255,.10))
}
.login-form-state .login-card input:focus{
  border-color:rgba(143,186,255,.88);
  color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.24),rgba(255,255,255,.13));
  box-shadow:0 0 0 4px rgba(92,148,239,.18),inset 0 1px 0 rgba(255,255,255,.30)
}
.login-form-state .login-card input::placeholder{color:rgba(233,240,250,.50)}
.login-form-state .login-card .reveal{color:#d9e8ff;background:rgba(112,157,226,.20)}
.login-form-state .security-note{color:rgba(230,238,248,.63)!important}
.login-form-state .security-note span{color:#8ce0be}
@media (prefers-reduced-transparency:reduce){
  .login-form-state .login-card{
    color:#172033;
    background:#eef3f9;
    backdrop-filter:none;
    -webkit-backdrop-filter:none
  }
  .login-form-state .login-card h2{color:#172033}
  .login-form-state .login-card p,.login-form-state .security-note{color:#667085!important}
  .login-form-state .login-card label{color:#354052}
  .login-form-state .login-card input{color:#172033;background:#fff}
  .login-form-state .login-card input::placeholder{color:#98a2b3}
}

/* Meoo reference-aligned proportions: centered landing, compact navigation and login form. */
.login-landing-state .login-topbar{
  inset:64px auto auto 50%;width:max-content;height:56px;justify-content:center;gap:8px;padding:8px;
  border:1px solid rgba(255,255,255,.20);border-radius:16px;background:rgba(255,255,255,.14);
  box-shadow:0 12px 32px rgba(2,8,18,.22),inset 0 1px 0 rgba(255,255,255,.16);
  transform:translateX(-50%);backdrop-filter:blur(22px) saturate(155%);-webkit-backdrop-filter:blur(22px) saturate(155%)
}
.login-landing-state .login-brand{gap:8px;padding:0 10px 0 4px}
.login-landing-state .login-brand .brand-mark{width:32px;height:32px;border-radius:10px;font-size:14px}
.login-landing-state .login-brand small{display:none}
.login-landing-state .login-brand b{font-size:13px;font-weight:650;white-space:nowrap}
.login-nav-divider{width:1px;height:24px;margin:0 1px;background:rgba(255,255,255,.20)}
.login-nav-button{
  min-width:0;height:40px;margin:0;padding:0 16px;border:0;border-radius:12px;
  background:linear-gradient(135deg,#3378ee,#245fc9);box-shadow:0 8px 18px rgba(23,76,168,.24);font-size:13px
}
.login-nav-button:hover{border:0;background:linear-gradient(135deg,#4184f3,#2b68d5);transform:none}
.login-landing-content{
  min-height:100dvh;align-items:center;justify-content:center;padding:132px 24px 52px;text-align:center
}
.login-landing-copy{max-width:620px}
.login-landing-copy .eyebrow{font-size:10px;letter-spacing:.16em}
.login-landing-copy h1{margin:18px 0 14px;font-size:clamp(31px,3vw,42px);font-weight:700;line-height:1.22;letter-spacing:-.035em}
.login-landing-copy p{max-width:510px;margin-inline:auto;font-size:14px;line-height:1.8}
.login-landing-copy .login-proof{margin:24px auto 0}
.login-primary-cta{
  display:inline-flex;height:44px;align-items:center;justify-content:center;gap:10px;margin-top:28px;padding:0 20px;
  border:1px solid rgba(255,255,255,.22);border-radius:12px;color:#fff;
  background:linear-gradient(135deg,#3378ee,#245fc9);
  box-shadow:0 12px 26px rgba(20,68,151,.28),inset 0 1px 0 rgba(255,255,255,.18);
  cursor:pointer;font-size:14px;font-weight:650;transition:transform .2s ease,filter .2s ease
}
.login-primary-cta b{font-size:17px;font-weight:400}
.login-primary-cta:hover{filter:brightness(1.08);transform:translateY(-1px)}
.login-primary-cta:active{transform:scale(.97)}
.login-form-state .login-topbar{
  display:block;height:0;padding:0;border:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none
}
.login-form-state .login-brand,.login-form-state .login-platform{display:none}
.login-form-state .login-back-button{
  position:absolute;top:24px;left:24px;padding:9px 14px;border-radius:12px;
  background:rgba(255,255,255,.10);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:13px
}
.login-form-state .login-stage{
  display:flex;min-height:100dvh;align-items:center;justify-content:center;max-width:none;padding:76px 20px 32px
}
.login-form-state .login-intro{display:none}
.login-form-state .login-card{
  width:min(384px,100%);gap:16px;padding:26px 24px 24px;border-color:rgba(255,255,255,.22);
  border-radius:18px;background:rgba(8,18,32,.12);
  box-shadow:0 22px 64px rgba(0,7,18,.24),inset 0 1px 0 rgba(255,255,255,.24)
}
.login-form-state .login-card:before{height:36%;opacity:.55}
.login-form-state .login-card:after{border-radius:17px}
.login-form-state .login-card-mark{width:48px;height:48px;margin:0 auto 2px;border-radius:14px;font-size:14px}
.login-form-state .login-card-head{text-align:center}
.login-form-state .login-card-head .section-kicker{font-size:9px}
.login-form-state .login-card h2{margin:5px 0 3px;font-size:24px;letter-spacing:-.025em}
.login-form-state .login-card p{font-size:12px}
.login-form-state .login-card label{gap:7px;font-size:12px}
.login-form-state .login-card input{height:44px;border-radius:10px;font-size:13px}
.login-form-state .login-card .reveal{top:8px}
.login-form-state .login-button{min-height:44px;border-radius:10px;font-size:14px}
.login-form-state .security-note{font-size:9px!important}
@media (max-width:520px){
  .login-landing-state .login-topbar{top:28px;height:52px;max-width:calc(100% - 28px)}
  .login-landing-state .login-brand b{font-size:12px}
  .login-nav-button{height:36px;padding:0 13px;font-size:12px}
  .login-landing-content{padding:104px 18px 34px}
  .login-landing-copy h1{font-size:31px}
  .login-landing-copy p{font-size:12px}
  .login-proof{font-size:9px}
  .login-primary-cta{width:min(260px,100%);margin-top:24px}
  .login-form-state .login-back-button{top:16px;left:16px;font-size:11px}
  .login-form-state .login-stage{padding:66px 14px 18px}
  .login-form-state .login-card{gap:14px;padding:22px 20px 20px}
}

/* Credential glass refinement: quieter hierarchy, translucent fields and a compact action. */
.login-form-state .login-card{
  gap:15px;
  padding:28px 28px 25px;
  border-color:rgba(218,231,250,.24);
  background:
    linear-gradient(145deg,rgba(196,214,238,.105),rgba(14,25,42,.075) 48%,rgba(6,15,28,.13)),
    rgba(8,17,30,.11);
  backdrop-filter:blur(34px) saturate(145%);
  -webkit-backdrop-filter:blur(34px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(164,192,230,.08),
    0 26px 72px rgba(0,7,18,.30)
}
.login-form-state .login-card:before{
  height:28%;
  opacity:.38;
  background:linear-gradient(180deg,rgba(255,255,255,.13),transparent)
}
.login-form-state .login-card:after{border-color:rgba(255,255,255,.085)}
.login-form-state .login-card-mark{
  width:46px;
  height:46px;
  border-color:rgba(226,237,252,.25);
  color:rgba(242,247,255,.92);
  background:linear-gradient(145deg,rgba(224,235,250,.18),rgba(127,157,198,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 8px 24px rgba(0,8,20,.14);
  font-weight:650
}
.login-form-state .login-card-head .section-kicker{
  color:rgba(177,207,248,.78);
  font-size:9px;
  font-weight:600;
  letter-spacing:.12em
}
.login-form-state .login-card h2{
  margin:4px 0 2px;
  color:rgba(249,251,255,.94);
  font-size:22px;
  font-weight:650;
  line-height:1.35;
  letter-spacing:-.025em
}
.login-form-state .login-card-head p{
  color:rgba(224,233,245,.58);
  font-size:11px;
  line-height:1.65
}
.login-form-state .login-card label{
  gap:7px;
  color:rgba(235,241,250,.78);
  font-size:11px;
  font-weight:600;
  letter-spacing:.01em
}
.login-form-state .login-card input{
  height:43px;
  padding-inline:14px;
  border-color:rgba(221,233,249,.19);
  color:rgba(249,251,255,.94);
  background:rgba(224,235,250,.075);
  backdrop-filter:blur(14px) saturate(125%);
  -webkit-backdrop-filter:blur(14px) saturate(125%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.105),0 7px 22px rgba(0,8,20,.07);
  font-size:12px;
  font-weight:500
}
.login-form-state .login-card input:hover{
  border-color:rgba(198,218,246,.30);
  background:rgba(224,235,250,.095)
}
.login-form-state .login-card input:focus{
  border-color:rgba(151,189,239,.58);
  background:rgba(224,235,250,.115);
  box-shadow:0 0 0 3px rgba(108,158,222,.11),inset 0 1px 0 rgba(255,255,255,.13)
}
.login-form-state .login-card input::placeholder{color:rgba(218,228,243,.38)}
.login-form-state .login-card .reveal{
  top:8px;
  right:8px;
  color:rgba(218,231,249,.78);
  background:rgba(157,184,222,.12);
  font-size:11px;
  font-weight:600
}
.login-form-state .login-button{
  width:154px;
  min-height:41px;
  justify-self:center;
  margin-top:3px;
  padding:0 18px;
  border:1px solid rgba(204,222,248,.19);
  border-radius:11px;
  color:rgba(250,252,255,.94);
  background:
    linear-gradient(135deg,rgba(91,132,188,.76),rgba(55,94,151,.72)),
    rgba(66,106,162,.68);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 24px rgba(0,24,62,.20);
  font-size:13px;
  font-weight:600;
  letter-spacing:.03em
}
.login-form-state .login-button:hover{
  border-color:rgba(220,234,252,.30);
  background:linear-gradient(135deg,rgba(103,145,202,.82),rgba(62,103,162,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 12px 27px rgba(0,24,62,.23)
}
.login-form-state .login-button span:first-child{width:100%;text-align:center}
.login-form-state .login-button span:last-child{display:none}
.login-form-state .security-note{
  margin-top:1px;
  color:rgba(210,222,239,.45)!important;
  font-size:9px!important;
  font-weight:400
}
.login-form-state .security-note span{color:rgba(135,215,186,.78);font-weight:650}
@media (max-width:520px){
  .login-form-state .login-card{padding:24px 21px 22px}
  .login-form-state .login-button{width:148px}
}

/* Ete botanical identity and the reference site's #00876A primary green. */
.brand-logo-frame{
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
  padding:0!important;
  border-color:rgba(106,198,152,.24)!important;
  background:rgba(4,91,67,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 20px rgba(0,54,41,.16)!important
}
.brand-logo-frame img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  transform:scale(2.12);
  transform-origin:50% 50%;
  filter:drop-shadow(0 2px 4px rgba(0,40,25,.20))
}
.login-landing-state .login-brand .brand-logo-frame{background:rgba(0,135,106,.22)!important}
.login-nav-button{
  background:linear-gradient(135deg,#009678,#00876a);
  box-shadow:0 8px 18px rgba(0,87,67,.25),inset 0 1px 0 rgba(255,255,255,.16)
}
.login-nav-button:hover{background:linear-gradient(135deg,#0aa783,#00876a)}
.login-primary-cta{
  background:linear-gradient(135deg,#009678,#007d62);
  box-shadow:0 12px 26px rgba(0,75,58,.28),inset 0 1px 0 rgba(255,255,255,.18)
}
.login-primary-cta:hover{background:linear-gradient(135deg,#0aa783,#00876a)}
.login-form-state .login-card{
  border-color:rgba(170,224,204,.22);
  background:
    linear-gradient(145deg,rgba(185,224,210,.085),rgba(13,36,31,.065) 48%,rgba(5,20,17,.12)),
    rgba(7,19,24,.105)
}
.login-form-state .login-card-mark{
  width:52px;
  height:52px;
  border-radius:15px;
  background:rgba(0,111,86,.15)!important
}
.login-form-state .login-card-head .section-kicker{color:rgba(145,218,192,.78)}
.login-form-state .login-card input:focus{
  border-color:rgba(91,191,156,.58);
  background:rgba(213,240,231,.105);
  box-shadow:0 0 0 3px rgba(0,135,106,.11),inset 0 1px 0 rgba(255,255,255,.13)
}
.login-form-state .login-card .reveal{color:rgba(191,232,217,.82);background:rgba(45,137,108,.14)}
.login-form-state .login-button{
  border-color:rgba(178,226,208,.20);
  background:linear-gradient(135deg,rgba(0,151,119,.88),rgba(0,112,87,.86)),rgba(0,135,106,.82);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.17),0 10px 24px rgba(0,61,47,.23)
}
.login-form-state .login-button:hover{
  border-color:rgba(202,238,224,.30);
  background:linear-gradient(135deg,rgba(8,166,130,.92),rgba(0,126,98,.90));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 12px 27px rgba(0,61,47,.26)
}
.sidebar-brand .brand-logo-frame{width:36px;height:36px;border-radius:11px}
.login-form-state .login-button{
  display:grid;
  place-items:center;
  place-content:center;
  justify-content:center;
  align-content:center;
  text-align:center;
  line-height:1
}
.login-form-state .login-button span:first-child{
  display:block;
  width:auto;
  margin:0;
  text-align:center;
  line-height:1
}
.login-hero-logo{
  display:block;width:76px;height:76px;margin:0 auto 19px;border:0!important;border-radius:22px;
  background:rgba(0,91,67,.095)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 14px 36px rgba(0,42,31,.13)!important
}
.login-hero-logo img{transform:scale(1.86)}
@media (max-width:520px){
  .login-hero-logo{width:66px;height:66px;margin-bottom:16px}
}
