/* 09 系统设置 · unified admin workspace */
#settingsView{
  --settings-navy:#0a223d;
  --settings-navy-2:#17476d;
  --settings-line:#dfe7ef;
  --settings-gold:#c99a45;
  --settings-blue:#edf3f8;
  gap:18px;
}
#settingsView .settings-hero{
  position:relative;
  min-height:156px;
  padding:29px 34px;
  overflow:hidden;
  align-items:flex-end;
  background:
    radial-gradient(circle at 87% 4%,rgba(217,183,107,.2),transparent 28%),
    radial-gradient(circle at 68% 115%,rgba(78,141,187,.21),transparent 42%),
    linear-gradient(125deg,#091f38,#103b5f 65%,#164d74);
}
#settingsView .settings-hero::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-158px;
  width:330px;
  height:330px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  box-shadow:0 0 0 58px rgba(255,255,255,.023),0 0 0 116px rgba(255,255,255,.015);
  pointer-events:none;
}
#settingsView .settings-hero>div{
  position:relative;
  z-index:1;
}
#settingsView .settings-hero h2{
  margin:10px 0 0;
  font-size:34px;
  letter-spacing:-.4px;
}
#settingsView .settings-admin-stamp{
  display:grid;
  justify-items:end;
  gap:5px;
  align-self:center;
  padding:12px 15px;
  border:1px solid rgba(226,188,111,.34);
  border-radius:12px;
  background:rgba(5,24,43,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
#settingsView .settings-admin-stamp span{
  color:#d8bc7a;
  font-size:9px;
  font-weight:850;
  letter-spacing:1.8px;
}
#settingsView .settings-admin-stamp b{
  color:#eef4f9;
  font-size:12.5px;
  font-weight:700;
}

#settingsView .settings-tabs{
  display:flex;
  width:max-content;
  max-width:100%;
  gap:4px;
  padding:4px;
  overflow:auto;
  border:1px solid var(--settings-line);
  border-radius:12px;
  background:#eaf0f5;
  box-shadow:inset 0 1px 2px rgba(16,35,57,.04);
}
#settingsView .settings-tab{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 17px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#64778c;
  font-size:13px;
  font-weight:750;
  white-space:nowrap;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease;
}
#settingsView .settings-tab:hover{
  background:rgba(255,255,255,.66);
  color:#234b6b;
}
#settingsView .settings-tab.active{
  background:linear-gradient(135deg,var(--settings-navy),var(--settings-navy-2));
  color:#fff;
  box-shadow:0 5px 14px rgba(11,35,64,.18),inset 0 -2px var(--settings-gold);
}
#settingsView .settings-tab em{
  min-width:19px;
  height:19px;
  display:inline-grid;
  place-items:center;
  padding:0 5px;
  border-radius:999px;
  background:rgba(34,75,107,.1);
  color:#557087;
  font-size:9.5px;
  font-style:normal;
  font-weight:850;
}
#settingsView .settings-tab.active em{
  background:rgba(255,255,255,.15);
  color:#fff;
}

#settingsView .settings-workbench{
  display:grid;
  min-width:0;
}
#settingsView .settings-pane{
  min-width:0;
  display:grid;
  gap:17px;
  padding:24px 26px;
  border:1px solid var(--settings-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 30px rgba(16,35,57,.055);
}
#settingsView .settings-pane.hidden{display:none!important}
#settingsView .settings-section-head,
#settingsView .settings-pane>.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-width:0;
  margin:0;
  padding:0 0 15px;
  border-bottom:1px solid #e8edf2;
}
#settingsView .settings-section-head>div,
#settingsView .settings-pane>.panel-head>div{min-width:0}
#settingsView .settings-section-head h3,
#settingsView .settings-pane>.panel-head h3{
  margin:6px 0 0;
  color:#142b44;
  font-size:19px;
  font-weight:750;
  letter-spacing:-.15px;
}
#settingsView .settings-section-head .eyebrow,
#settingsView .settings-pane>.panel-head .eyebrow{
  color:#a57b31;
  font-size:9.5px;
  letter-spacing:2px;
}
#settingsView .settings-head-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
}
#settingsView .settings-head-actions .muted{
  color:#78899b;
  font-size:11px;
  font-weight:700;
}
#settingsView .settings-head-actions .btn{
  min-height:38px;
  padding:8px 13px;
  border-radius:9px;
  font-size:12px;
}

#settingsView .team-block{
  min-width:0;
  margin:0;
  overflow:hidden;
  border:1px solid #e1e8ef;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 16px rgba(16,35,57,.035);
}
#settingsView .team-block+.team-block{margin-top:1px}
#settingsView .team-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 16px;
  border-bottom:1px solid #e8edf2;
  background:linear-gradient(135deg,#f8fafc,#eef4f8);
}
#settingsView .team-head>div{min-width:0;display:grid;gap:3px}
#settingsView .team-head h4{
  margin:0;
  color:#1d3852;
  font-size:13px;
  font-weight:800;
}
#settingsView .team-head span{
  color:#7d8d9f;
  font-size:10px;
  font-weight:700;
  letter-spacing:.5px;
}
#settingsView .team-head .btn{
  flex:0 0 auto;
  min-height:36px;
  padding:7px 12px;
  border-radius:8px;
  font-size:11.5px;
}

#settingsView .settings-table-wrap{
  width:100%;
  min-width:0;
  overflow:auto;
  border:0;
  border-radius:0;
  background:#fff;
}
#settingsView .settings-pane>.settings-table-wrap{
  border:1px solid #e1e8ef;
  border-radius:12px;
  box-shadow:0 5px 16px rgba(16,35,57,.025);
}
#settingsView .settings-table-wrap table{
  width:100%;
  min-width:760px;
  border-collapse:separate;
  border-spacing:0;
}
#settingsView .settings-table-wrap table th{
  padding:11px 14px;
  border-bottom:1px solid #e5ebf1;
  background:#f5f8fb;
  color:#6f8093;
  font-size:10px;
  font-weight:850;
  letter-spacing:1px;
  text-transform:uppercase;
  white-space:nowrap;
}
#settingsView .settings-table-wrap table td{
  padding:12px 14px;
  border-top:1px solid #eef2f5;
  color:#31485f;
  font-size:12.5px;
  vertical-align:middle;
}
#settingsView .settings-table-wrap tbody tr:first-child td{border-top:0}
#settingsView .settings-table-wrap tbody tr:hover{background:#f8fafc}
#settingsView .user-cell{display:grid;gap:3px;min-width:150px}
#settingsView .user-cell b{color:#203b54;font-size:12.5px;font-weight:800}
#settingsView .user-cell small{color:#8493a3;font-size:10.5px;overflow-wrap:anywhere}
#settingsView .row-actions{gap:6px;flex-wrap:nowrap}
#settingsView .row-action{
  min-height:30px;
  padding:5px 9px;
  border-radius:7px;
  font-size:10.5px;
  font-weight:750;
}
#settingsView .badge,
#settingsView .presence-dot{font-size:9.5px}

#settingsView .panel-collapse-body{
  width:100%;
  border:1px solid #e1e8ef;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}
#settingsView .panel-collapse-inner{padding:0}
#settingsView .panel-collapse-inner .settings-table-wrap{border:0;border-radius:0;box-shadow:none}
#settingsView .panel-collapse-btn{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #dce5ed;
  border-radius:9px;
  background:#fff;
  color:#45627c;
  font-size:15px;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
#settingsView .panel-collapse-btn:hover{background:#f4f8fb;border-color:#b98d3b}
#settingsView .panel-collapse-btn.open{transform:rotate(180deg)}
#settingsView .settings-collapsible.collapsed .panel-collapse-body{border-width:0}

#settingsView .settings-search-row{
  display:flex;
  justify-content:flex-start;
  margin:0;
}
#settingsView .settings-search-row .search{
  width:min(420px,100%);
  max-width:none;
  height:40px;
  border:1px solid #dce5ed;
  border-radius:9px;
  background:#f9fbfd;
}
#settingsView .settings-search-row .search input{background:transparent}
#settingsView .settings-danger-note{
  padding:10px 13px;
  border:1px solid #efd8d4;
  border-radius:9px;
  background:#fff7f5;
  color:#9b493f;
  font-size:11px;
  line-height:1.6;
}
#settingsView .empty-state{
  padding:34px 18px;
  color:#8795a5;
}
#settingsView .empty-state b{font-size:13px}
#settingsView .empty-state span{font-size:11px}

@media(max-width:960px){
  #settingsView .settings-tabs{width:100%}
  #settingsView .settings-tab{flex:1 0 auto}
  #settingsView .settings-table-wrap table{min-width:720px}
}
@media(max-width:760px){
  #settingsView .settings-hero{
    display:grid;
    align-items:start;
    padding:25px 22px;
  }
  #settingsView .settings-admin-stamp{
    justify-items:start;
    align-self:start;
    margin-top:16px;
  }
  #settingsView .settings-pane{padding:19px 16px}
  #settingsView .settings-section-head,
  #settingsView .settings-pane>.panel-head{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  #settingsView .settings-head-actions{
    width:100%;
    justify-content:space-between;
  }
  #settingsView .team-head{align-items:flex-start;flex-wrap:wrap}
  #settingsView .team-head .btn{width:100%}
  #settingsView .settings-table-wrap table{min-width:680px}
}
