:root {
  --navy: #0d1b3f;
  --navy-2: #142957;
  --blue: #356dff;
  --blue-2: #5b8bff;
  --cyan: #38c9db;
  --purple: #725cff;
  --green: #13b981;
  --orange: #ff9b4b;
  --red: #ef5b67;
  --ink: #15213b;
  --muted: #7d8aa5;
  --line: #e8edf5;
  --bg: #f5f7fb;
  --card: #fff;
  --shadow: 0 16px 45px rgba(24, 43, 83, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif; color: var(--ink); background: var(--bg); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow.accent { color: var(--blue); }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(430px, .85fr); background: white; }
.login-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 8vw; color: white; background: linear-gradient(142deg, #0b1940 0%, #173d88 60%, #315fe4 100%); }
.login-art::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(500px) rotateX(60deg) scale(1.8); transform-origin: bottom; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; position: relative; border-radius: 13px; color: white; background: linear-gradient(140deg, #56d8ee, #4b6dff 65%, #7e55f7); box-shadow: 0 8px 24px rgba(46,102,255,.3); transform: rotate(45deg); }
.brand-mark span { font-weight: 900; font-size: 18px; transform: rotate(-45deg); }
.login-brand-logo { position: relative; z-index: 2; width: 340px; max-width: 72%; flex: 0 0 auto; }
.login-brand-logo img { display: block; width: 100%; height: auto; }
.login-copy { position: relative; z-index: 2; max-width: 650px; margin-top: 54px; }
.login-copy h1 { margin: 0 0 26px; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.34; letter-spacing: -.04em; white-space: nowrap; }
.login-copy > p:last-child { max-width: 520px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.9; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #77e7ff; box-shadow: 0 0 18px #6de7ff; }
.orbit-one { width: 420px; height: 420px; right: -150px; top: -100px; }
.orbit-one::after { left: 56px; bottom: 66px; }
.orbit-two { width: 580px; height: 580px; left: -300px; bottom: -300px; }
.orbit-two::after { right: 70px; top: 76px; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .28; }
.glow-one { width: 250px; height: 250px; right: 8%; bottom: 10%; background: #4de5e3; }
.glow-two { width: 220px; height: 220px; left: 20%; top: 15%; background: #8b6dff; }
.login-feature { position: absolute; right: 8%; bottom: 8%; z-index: 2; padding: 13px 18px; color: rgba(255,255,255,.86); font-size: 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: rgba(8,24,60,.25); backdrop-filter: blur(12px); }
.login-feature i { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; font-style: normal; color: #0c6; background: white; border-radius: 50%; }
.login-panel { display: grid; place-items: center; padding: 40px; }
.login-card { width: min(420px, 100%); }
.mobile-brand { display: none; align-items: center; gap: 12px; margin-bottom: 42px; }
.login-card h2 { margin: 0 0 10px; font-size: 36px; }
.login-card > .muted { margin: 0 0 36px; }
.field { display: block; margin-top: 22px; }
.field > span { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.input-wrap { display: flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfe; transition: .2s; }
.input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53,109,255,.1); background: white; }
.input-wrap b { width: 46px; text-align: center; color: #9ba8c1; font-size: 12px; }
.input-wrap input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; }
.icon-button { border: 0; color: #8390aa; background: transparent; font-size: 20px; }
.login-options { display: flex; justify-content: space-between; margin: 18px 0 26px; color: #75829b; font-size: 13px; }
.text-button { border: 0; color: var(--blue); background: transparent; }
.primary-button { border: 0; border-radius: 11px; color: white; background: linear-gradient(100deg, #326cf5, #5b78ff); box-shadow: 0 9px 20px rgba(53,109,255,.22); }
.login-button { display: flex; justify-content: center; gap: 10px; width: 100%; padding: 15px; font-weight: 700; }
.demo-tip { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #9aa5b9; font-size: 12px; }
.demo-tip code { padding: 3px 6px; color: #596780; background: #f3f5f9; border-radius: 5px; }
.client-entry-link { display: block; margin-top: 22px; color: var(--blue); font-size: 12px; text-align: center; text-decoration: none; }.client-entry-link:hover { text-decoration: underline; }
.copyright { margin-top: 52px; color: #b1b9c8; font-size: 11px; text-align: center; }

.app-view { min-height: 100vh; }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 246px; display: flex; flex-direction: column; padding: 24px 16px 18px; color: white; background: linear-gradient(175deg, #101e42, #0b1632); box-shadow: 12px 0 40px rgba(16,30,66,.08); }
.sidebar-brand { display: flex; align-items: center; gap: 12px; height: 55px; padding: 0 10px; }
.sidebar-brand strong { display: block; font-size: 17px; }
.sidebar-brand small { display: block; margin-top: 3px; color: #7584a7; font-size: 9px; letter-spacing: .16em; }
.sidebar-brand .mobile-only { margin-left: auto; }
.main-nav { flex: 1; overflow: auto; margin: 24px -4px 15px; scrollbar-width: none; }
.nav-group-title { margin: 20px 16px 8px; color: #59698e; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; margin: 4px 0; padding: 11px 14px; border: 0; border-radius: 10px; color: #96a3bf; background: transparent; text-align: left; transition: .18s; }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item.active { color: white; background: linear-gradient(100deg, rgba(65,113,255,.86), rgba(94,102,238,.65)); box-shadow: 0 7px 18px rgba(37,79,207,.22); }
.nav-icon { width: 23px; text-align: center; font-size: 15px; }
.nav-item em { margin-left: auto; padding: 2px 6px; color: white; font-size: 9px; font-style: normal; background: #ff6e79; border-radius: 10px; }
.sidebar-help { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.035); }
.sidebar-help > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #74c7ff; background: rgba(65,120,255,.16); }
.sidebar-help div { flex: 1; min-width: 0; }
.sidebar-help strong, .sidebar-help small { display: block; }
.sidebar-help strong { font-size: 11px; }.sidebar-help small { margin-top: 3px; overflow: hidden; color: #657493; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-help button, .sidebar-user button { border: 0; color: #8290ac; background: transparent; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 15px 10px 0; border-top: 1px solid rgba(255,255,255,.07); }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: white; font-size: 12px; font-weight: 800; background: linear-gradient(145deg, #44c7dd, #5264ed); }
.sidebar-user div:nth-child(2) { flex: 1; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user strong { font-size: 11px; }.sidebar-user small { margin-top: 3px; color: #667493; font-size: 9px; }
.main-shell { min-height: 100vh; margin-left: 246px; }
.topbar { height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.breadcrumb { margin: 0 0 5px; color: #9ba6b8; font-size: 10px; }
.topbar h1 { margin: 0; font-size: 21px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.global-search { width: 260px; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 13px; color: #99a5ba; background: #f6f8fb; border-radius: 10px; }
.global-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.round-button { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; color: #697690; background: white; font-size: 11px; }
.notice-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: #ff5968; border: 1px solid white; }
.date-chip { padding-left: 14px; border-left: 1px solid var(--line); }
.date-chip span, .date-chip small { display: block; }.date-chip span { font-size: 11px; font-weight: 700; }.date-chip small { margin-top: 3px; color: #9aa5b9; font-size: 9px; }
.page-content { padding: 28px 34px 50px; }

.welcome-banner { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; min-height: 150px; padding: 30px 34px; margin-bottom: 22px; border-radius: var(--radius); color: white; background: linear-gradient(110deg, #163273 0%, #315de1 58%, #6247df 100%); box-shadow: var(--shadow); }
.welcome-banner::after { content: ""; position: absolute; width: 350px; height: 350px; right: -80px; top: -190px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.welcome-banner h2 { position: relative; z-index: 2; margin: 0 0 10px; font-size: 24px; }.welcome-banner p { position: relative; z-index: 2; margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }
.banner-badge { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.banner-badge b { font-size: 25px; }.banner-badge span, .banner-badge small { display: block; }.banner-badge span { font-size: 10px; }.banner-badge small { margin-top: 4px; color: #97f1d2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { position: relative; overflow: hidden; padding: 21px; border: 1px solid #edf0f6; border-radius: 15px; background: var(--card); box-shadow: 0 8px 30px rgba(22,41,82,.045); }
.stat-top { display: flex; align-items: center; justify-content: space-between; }.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-size: 15px; }.stat-change { color: var(--green); font-size: 10px; }.stat-card h3 { margin: 17px 0 5px; font-size: 25px; }.stat-card p { margin: 0; color: var(--muted); font-size: 11px; }.stat-line { position: absolute; inset: auto 0 0; height: 3px; background: var(--tone); }
.tone-blue { --tone: var(--blue); }.tone-blue .stat-icon { color: var(--blue); background: #edf3ff; }.tone-purple { --tone: var(--purple); }.tone-purple .stat-icon { color: var(--purple); background: #f0eeff; }.tone-green { --tone: var(--green); }.tone-green .stat-icon { color: var(--green); background: #eaf9f4; }.tone-orange { --tone: var(--orange); }.tone-orange .stat-icon { color: var(--orange); background: #fff3e8; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: 18px; }
.panel { border: 1px solid #ebeff5; border-radius: 16px; background: white; box-shadow: 0 8px 28px rgba(23,42,82,.04); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 19px 21px; border-bottom: 1px solid #edf0f5; }
.panel-head h3 { margin: 0; font-size: 14px; }.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.panel-action { border: 0; color: var(--blue); background: transparent; font-size: 11px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 19px; }
.quick-card { padding: 17px 10px; border: 1px solid #edf0f6; border-radius: 12px; background: white; text-align: center; transition: .2s; }.quick-card:hover { border-color: #ccdaff; transform: translateY(-2px); box-shadow: 0 9px 20px rgba(38,73,153,.08); }.quick-card span { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 11px; border-radius: 12px; color: var(--blue); background: #f0f4ff; }.quick-card strong { display: block; font-size: 11px; }.quick-card small { display: block; margin-top: 5px; color: #9ba6ba; font-size: 9px; }
.meeting-list { padding: 8px 18px 16px; }.meeting-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px 2px; border-bottom: 1px solid #f0f2f6; }.meeting-row:last-child { border: 0; }.date-box { padding: 6px 4px; color: var(--blue); background: #eff4ff; border-radius: 9px; text-align: center; }.date-box b, .date-box small { display: block; }.date-box b { font-size: 14px; }.date-box small { font-size: 8px; }.meeting-row strong { display: block; font-size: 11px; }.meeting-row p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 12px; font-size: 9px; white-space: nowrap; }.badge::before { content: ""; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; }.badge.green { color: #0aa875; background: #e9f9f3; }.badge.blue { color: #3a6cf4; background: #edf3ff; }.badge.orange { color: #e98734; background: #fff3e8; }.badge.gray { color: #8792a7; background: #f0f2f5; }.badge.red { color: #e9505d; background: #fff0f1; }
.activity-list { padding: 8px 20px 18px; }.activity { position: relative; display: grid; grid-template-columns: 29px 1fr; gap: 10px; padding: 11px 0; }.activity:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 40px; bottom: -5px; width: 1px; background: #edf0f5; }.activity-icon { z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #eef3ff; font-size: 10px; }.activity p { margin: 1px 0 4px; font-size: 10px; line-height: 1.5; }.activity small { color: #a1abbc; font-size: 8px; }

.page-toolbar { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.toolbar-copy h2 { margin: 0 0 6px; font-size: 18px; }.toolbar-copy p { margin: 0; color: var(--muted); font-size: 11px; }.toolbar-actions { display: flex; gap: 10px; }.secondary-button, .toolbar-button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 9px; color: #5f6c84; background: white; font-size: 11px; }.toolbar-button.primary-button { border-color: transparent; color: white; background: linear-gradient(100deg, #326cf5, #5b78ff); }
.filter-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; margin-bottom: 15px; border: 1px solid var(--line); border-radius: 13px; background: white; }.filter-search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 9px; padding: 0 12px; height: 38px; color: #9aa5b9; background: #f6f8fb; border-radius: 8px; }.filter-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }.filter-bar select { height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 8px; color: #68758c; background: white; font-size: 10px; }
.data-table { width: 100%; border-collapse: collapse; }.data-table th { padding: 13px 16px; color: #8c98ad; background: #fafbfc; font-size: 9px; font-weight: 700; text-align: left; }.data-table td { padding: 14px 16px; border-top: 1px solid #eef1f5; font-size: 10px; }.data-table tbody tr:hover { background: #fbfcff; }.name-cell { display: flex; align-items: center; gap: 10px; }.name-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: white; font-weight: 700; background: linear-gradient(145deg, #52cbd7, #536dec); }.name-cell strong, .name-cell small { display: block; }.name-cell small { margin-top: 4px; color: #9ca7b9; font-size: 8px; }.row-actions { display: flex; gap: 5px; }.row-actions button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; color: #76839a; background: white; }.row-actions button:hover { color: var(--blue); border-color: #cbd8ff; }.empty-state { padding: 70px 20px; color: var(--muted); text-align: center; }.table-footer { display: flex; justify-content: space-between; padding: 13px 16px; border-top: 1px solid #eef1f5; color: #95a0b3; font-size: 9px; }
.module-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.module-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: .2s; }.module-card--clickable { cursor: pointer; }.module-card--clickable:hover, .module-card--clickable:focus { outline: none; border-color: #cbd8ff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(38,73,153,.09); }.module-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 13px; color: var(--blue); background: #eff4ff; }.module-card h3 { margin: 0 0 8px; font-size: 14px; }.module-card p { min-height: 42px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }.module-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; padding-top: 14px; border-top: 1px solid #eef1f5; font-size: 9px; }.module-meta b { color: var(--blue); font-size: 16px; }
.back-button { margin: 0 0 14px; padding: 0; border: 0; color: #75839b; background: transparent; font-size: 10px; }.back-button:hover { color: var(--blue); }.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }.detail-stats .stat-card { min-height: 132px; }

.security-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 26px; margin-bottom: 18px; border-radius: 16px; color: white; background: linear-gradient(110deg, #122855, #264eb4); }.security-score { width: 92px; height: 92px; display: grid; place-items: center; flex: 0 0 auto; border: 8px solid rgba(255,255,255,.2); border-top-color: #5fe5b6; border-radius: 50%; }.security-score div { text-align: center; }.security-score strong, .security-score small { display: block; }.security-score strong { font-size: 22px; }.security-score small { margin-top: 2px; color: rgba(255,255,255,.65); font-size: 8px; }.security-copy { flex: 1; }.security-copy h2 { margin: 0 0 8px; font-size: 18px; }.security-copy p { margin: 0; color: rgba(255,255,255,.65); font-size: 10px; line-height: 1.7; }.security-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: 340px; }.security-status div { padding: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.06); }.security-status span, .security-status small { display: block; }.security-status span { font-size: 10px; }.security-status small { margin-top: 5px; color: #71e0ba; font-size: 8px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.setting-list { padding: 4px 18px 12px; }.setting-row { display: flex; align-items: center; gap: 12px; padding: 15px 2px; border-bottom: 1px solid #eef1f5; }.setting-row:last-child { border: 0; }.setting-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #eff4ff; }.setting-row > div:nth-child(2) { flex: 1; }.setting-row strong, .setting-row small { display: block; }.setting-row strong { font-size: 11px; }.setting-row small { margin-top: 4px; color: var(--muted); font-size: 8px; }.switch { position: relative; width: 36px; height: 20px; flex: 0 0 auto; }.switch input { opacity: 0; width: 0; height: 0; }.switch span { position: absolute; inset: 0; border-radius: 20px; background: #dce1e9; transition: .2s; }.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; border-radius: 50%; background: white; transition: .2s; box-shadow: 0 2px 5px rgba(0,0,0,.15); }.switch input:checked + span { background: var(--blue); }.switch input:checked + span::after { transform: translateX(16px); }
.role-list { padding: 8px 18px 17px; }.role-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 3px; border-bottom: 1px solid #eef1f5; }.role-row:last-child { border: 0; }.role-row strong, .role-row small { display: block; }.role-row strong { font-size: 10px; }.role-row small { margin-top: 4px; color: var(--muted); font-size: 8px; }.role-count { color: var(--blue); font-size: 9px; }
.log-table td:first-child { color: #8290a7; font-family: Consolas, monospace; font-size: 9px; }

.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,18,43,.52); backdrop-filter: blur(6px); }.modal-card { width: min(560px, 100%); max-height: 90vh; overflow: auto; border-radius: 18px; background: white; box-shadow: 0 30px 80px rgba(5,14,36,.25); }.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }.modal-head h2 { margin: 0; font-size: 20px; }.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 24px 25px; }.modal-form label { display: block; }.modal-form label.full { grid-column: 1 / -1; }.modal-form label span { display: block; margin-bottom: 7px; color: #5e6c84; font-size: 10px; font-weight: 700; }.modal-form input, .modal-form select, .modal-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fafbfc; font-size: 11px; }.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(53,109,255,.09); }.modal-form textarea { min-height: 75px; resize: vertical; }.modal-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }.modal-submit button { padding: 11px 21px; }
.form-hint { padding: 12px; border: 1px dashed #d8e1f3; border-radius: 9px; color: var(--muted); background: #f8faff; font-size: 10px; line-height: 1.6; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.detail-grid > div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }.detail-grid span, .detail-grid strong { display: block; }.detail-grid span { margin-bottom: 6px; color: var(--muted); font-size: 9px; }.detail-grid strong { font-size: 11px; line-height: 1.6; }.permission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }.permission-item { display: flex !important; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfc; }.permission-item input { width: auto; }.permission-item span { margin: 0 !important; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; padding: 12px 18px; border-radius: 10px; color: white; background: #162342; box-shadow: 0 12px 32px rgba(11,25,58,.22); font-size: 11px; transform: translate(-50%, 80px); opacity: 0; transition: .25s; pointer-events: none; }.toast.show { transform: translate(-50%, 0); opacity: 1; }
.mobile-only { display: none; }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .module-cards { grid-template-columns: repeat(2, 1fr); }
  .security-status { min-width: 260px; }
}
@media (max-width: 820px) {
  .login-view { grid-template-columns: 1fr; }
  .login-art { display: none; }.mobile-brand { display: flex; }
  .sidebar { transform: translateX(-105%); transition: .25s; }.sidebar.open { transform: translateX(0); }.sidebar-mask { position: fixed; z-index: 40; inset: 0; display: none; background: rgba(6,16,40,.45); }.sidebar-mask.show { display: block; }
  .main-shell { margin-left: 0; }.mobile-only { display: inline-block; }.topbar { height: 80px; padding: 0 18px; }.global-search, .date-chip { display: none; }.page-content { padding: 20px 18px 40px; }
  .security-hero { align-items: flex-start; flex-wrap: wrap; }.security-status { width: 100%; }.security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .login-panel { padding: 28px; }.login-card h2 { font-size: 30px; }
  .welcome-banner { align-items: flex-start; padding: 25px; }.banner-badge { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.stat-card { padding: 16px; }.stat-card h3 { font-size: 21px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }.page-toolbar { align-items: flex-start; }.toolbar-actions .secondary-button { display: none; }
  .filter-bar { flex-wrap: wrap; }.filter-search { flex-basis: 100%; }.filter-bar select { flex: 1; }
  .module-cards, .detail-stats { grid-template-columns: 1fr; }.table-wrap { overflow-x: auto; }.data-table { min-width: 720px; }
  .security-status { grid-template-columns: 1fr; }.modal-form, .detail-grid, .permission-grid { grid-template-columns: 1fr; }.modal-form label.full, .modal-submit { grid-column: auto; }
}
