:root{font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif;color:#172b45;background:#f3f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#142d49;--navy2:#203f60;--teal:#287e78;--mint:#dff1ed;--line:#e1e8ed;--muted:#74869a;--white:#fff;--red:#b64d43;--gold:#bd8a3b;--shadow:0 12px 36px rgba(21,43,68,.08)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.side{background:linear-gradient(170deg,#183653,#10263e);color:#fff;display:flex;flex-direction:column;padding:22px 16px;min-height:100vh}.brand{display:flex;align-items:center;gap:13px;padding:5px 8px 22px;border-bottom:1px solid rgba(255,255,255,.13)}.brand img{width:116px;max-height:34px;object-fit:contain;object-position:left center}.brand small{display:block;color:#9db4ca;font-size:11px;margin-top:3px}.nav{display:grid;gap:7px;margin-top:22px}.nav button{border:0;text-align:left;color:#c5d3df;background:transparent;border-radius:11px;padding:12px 14px;font-weight:600;font-size:14px}.nav button:hover,.nav button.active{background:rgba(255,255,255,.12);color:white}.nav button.active{box-shadow:inset 3px 0 #61b4a7}.side-bottom{margin-top:auto;padding:14px 8px 0;border-top:1px solid rgba(255,255,255,.13);color:#a9bdcf;font-size:12px}.who{font-size:13px;color:white;font-weight:700;margin-bottom:3px}.who-role{font-size:11px}.logout{margin-top:12px;padding:8px 12px;border:1px solid rgba(255,255,255,.2);color:white;background:transparent;border-radius:9px}.main{min-width:0;padding:26px clamp(18px,3vw,48px) 56px}.topline{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:28px}.crumb{font-size:13px;color:var(--muted)}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:#e8f4f1;color:#2c716d;font-size:12px;font-weight:700}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.heading h1{font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;margin:4px 0 8px;color:var(--navy)}.heading p{margin:0;color:#6c7f91;font-size:14px}.eyebrow{color:var(--teal);text-transform:none;font-size:12px;font-weight:800;letter-spacing:.06em}.primary,.secondary,.danger,.quiet{border:0;border-radius:10px;padding:10px 16px;font-weight:700;min-height:42px}.primary{background:linear-gradient(135deg,#277c76,#274866);color:#fff;box-shadow:0 7px 18px rgba(40,100,106,.18)}.primary:hover{filter:brightness(1.06)}.secondary{background:#e8eff4;color:#23445f}.danger{background:#fff0ed;color:#a64b40}.quiet{background:transparent;color:#456078}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 24px}.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 19px;box-shadow:0 3px 12px rgba(31,52,76,.025)}.kpi-label{font-size:12px;color:var(--muted);font-weight:600}.kpi-value{font-size:29px;font-weight:800;letter-spacing:-.04em;color:var(--navy);margin-top:6px}.kpi-note{font-size:11px;color:#91a0ad;margin-top:2px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 22px rgba(29,50,73,.035);overflow:hidden}.panel-head{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-head h2{margin:0;font-size:17px;color:var(--navy)}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.filters{padding:14px 18px;display:flex;align-items:end;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);background:#fbfcfd}.field{display:grid;gap:6px;min-width:145px;flex:1}.field label{font-size:12px;color:#62768b;font-weight:700}.field input,.field select,.field textarea,.filter-input{width:100%;border:1px solid #d8e1e8;border-radius:9px;background:white;padding:10px 11px;color:#203850;outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.filter-input:focus{border-color:#67a69f;box-shadow:0 0 0 3px #e5f2ef}.filter-search{min-width:240px;flex:2}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:730px}th{background:#f5f8fa;color:#6d8091;font-size:11px;text-align:left;letter-spacing:.02em;padding:12px 16px;font-weight:700;white-space:nowrap}td{border-top:1px solid #edf1f4;padding:13px 16px;vertical-align:middle;color:#2d4258;font-size:13px}tbody tr:hover{background:#fbfdfd}.main-cell{font-weight:700;color:#213a54}.sub-cell{display:block;margin-top:4px;color:#8998a6;font-size:11px;font-weight:400}.status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#edf3f7;color:#526d84;font-size:11px;font-weight:700;white-space:nowrap}.status.good{background:#e6f4ee;color:#347759}.status.warn{background:#fff5e2;color:#9b7135}.status.bad{background:#fff0ee;color:#a24d44}.row-actions{display:flex;gap:5px;white-space:nowrap}.link-btn{border:0;background:transparent;color:#267974;padding:6px 7px;font-weight:700;font-size:12px}.empty{padding:45px 20px;text-align:center;color:#7c8d9c}.empty strong{display:block;color:#304a63;font-size:15px;margin-bottom:6px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.detail-cell{background:#f6f8fa;border-radius:10px;padding:12px}.detail-label{font-size:11px;color:#8392a0;margin-bottom:5px}.detail-value{font-size:13px;font-weight:700;color:#2a4158;overflow-wrap:anywhere}.actions-line{display:flex;gap:8px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line);margin-top:14px}.activity-list{display:grid;gap:9px}.activity{padding:12px 13px;border-left:3px solid #69a8a0;background:#f7faf9;border-radius:0 9px 9px 0}.activity time{font-size:11px;color:#8a98a3}.activity p{margin:5px 0 0;font-size:13px;color:#30475d}.modal-backdrop{position:fixed;inset:0;background:rgba(12,27,43,.46);display:grid;place-items:center;padding:16px;z-index:20}.modal{width:min(720px,100%);max-height:min(90vh,900px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(9,28,47,.28)}.modal-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-head h2{margin:3px 0;color:var(--navy)}.modal-close{border:0;background:#eef2f5;color:#52687c;width:34px;height:34px;border-radius:50%;font-size:18px}.modal-content{padding:18px 22px}.modal-foot{display:flex;justify-content:flex-end;gap:9px;padding:14px 22px;border-top:1px solid var(--line);background:#fbfcfd}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.span-2{grid-column:span 2}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);background:linear-gradient(130deg,#132c47 0%,#234965 50%,#eef3f4 50%,#f6f8f9 100%)}.login-brand{padding:clamp(35px,7vw,100px);display:flex;flex-direction:column;justify-content:center;color:white}.login-brand img{width:190px;max-height:60px;object-fit:contain;object-position:left;margin-bottom:38px}.login-brand h1{max-width:570px;font-size:clamp(32px,4vw,54px);line-height:1.15;margin:0 0 15px}.login-brand p{max-width:510px;color:#c5d8e4;line-height:1.8}.login-box{align-self:center;justify-self:center;width:min(440px,calc(100% - 40px));background:white;padding:34px;border:1px solid #e0e7ec;border-radius:18px;box-shadow:var(--shadow)}.login-box h2{margin:0 0 6px;color:var(--navy);font-size:24px}.login-box>p{margin:0 0 24px;color:var(--muted);font-size:13px}.login-box .field{margin:13px 0}.login-box .primary{width:100%;margin-top:10px}.login-foot{margin-top:18px;color:#8996a1;font-size:11px;line-height:1.6}.demo-box{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.demo-box summary{font-size:12px;color:#4c657c;cursor:pointer;font-weight:700}.demo-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}.demo-buttons button{padding:8px 9px;border:1px solid var(--line);border-radius:8px;background:#f8fafb;color:#41596f;font-size:11px;font-weight:700}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:50;background:#162f49;color:#fff;padding:11px 18px;border-radius:10px;box-shadow:var(--shadow);font-size:13px;max-width:90vw}.toast.error{background:#8e3935}.module-link{display:flex;align-items:center;gap:7px;color:#597389;text-decoration:none;font-size:12px}.locked-note{padding:11px 13px;border-radius:9px;background:#fff4df;color:#8a6223;font-size:12px;margin-top:12px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{padding:6px 9px;border-radius:999px;background:#f1f5f7;color:#597085;font-size:11px;font-weight:700}.list-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.list-count{font-size:12px;color:#8392a0}
.modal{width:min(980px,100%)}.modal-head p:empty,.login-brand p:empty{display:none}.detail-section{border-top:1px solid var(--line);padding:16px 0}.detail-section summary{cursor:pointer;font-size:16px;font-weight:700;color:var(--navy);padding:4px 0 12px}.detail-section table{min-width:580px}.detail-section .actions-line{margin-top:8px;border-top:0}.detail-label,.field label,th{font-size:13px}.detail-value,td{font-size:14px}.empty.compact{padding:18px}.file-hint{font-size:13px;color:var(--muted)}[hidden]{display:none!important}.modal-foot{position:sticky;bottom:0;z-index:2}.modal .actions-line button{box-shadow:none}.login-foot{max-width:36em}
@media(min-width:1000px){.modal .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modal .span-2{grid-column:span 3}}
@media(max-width:900px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-page{grid-template-columns:1fr}.login-brand{padding:35px 32px 10px}.login-brand img{width:150px;margin-bottom:18px}.login-brand h1{font-size:34px}.login-brand p{display:none}.login-box{margin:25px auto}}
@media(max-width:640px){.app-shell{display:block}.side{position:sticky;top:0;z-index:10;min-height:auto;padding:10px 12px 0}.brand{padding:2px 5px 9px;border-bottom:0}.brand img{width:100px}.brand small{display:none}.nav{display:flex;overflow-x:auto;gap:5px;margin:0 -3px;padding:3px 0 9px}.nav button{flex:none;padding:8px 10px;font-size:12px}.side-bottom{display:none}.main{padding:18px 13px 36px}.topline{margin-bottom:20px;padding-bottom:12px}.heading{align-items:center;gap:10px}.heading h1{font-size:27px}.heading p{font-size:12px;line-height:1.5}.heading .primary{padding:9px 11px;font-size:12px;min-height:38px;white-space:nowrap}.kpis{gap:8px;margin:15px 0}.kpi{padding:12px}.kpi-value{font-size:23px}.kpi-note{font-size:10px}.panel-head{padding:14px}.filters{padding:11px;gap:7px}.filter-search{min-width:100%;flex-basis:100%}.field{min-width:calc(50% - 7px)}.field label{font-size:11px}.filters>.primary,.filters>.secondary{flex:1}.table-wrap{overflow:visible}table{min-width:0;display:block}thead{display:none}tbody{display:grid;gap:9px;padding:10px}tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 11px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#fff}td{border:0;padding:4px 2px;font-size:12px;min-width:0}td:first-child{grid-column:span 2;font-size:14px}td:last-child{grid-column:span 2;border-top:1px solid #edf1f4;margin-top:5px;padding-top:7px}.detail-grid{grid-template-columns:1fr 1fr;gap:7px}.detail-cell{padding:10px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.modal-backdrop{padding:8px;align-items:end}.modal{max-height:92vh;border-radius:16px 16px 9px 9px}.modal-content{padding:14px}.modal-head{padding:15px}.modal-foot{padding:11px 14px}.login-page{background:linear-gradient(160deg,#142f4b 0%,#234967 38%,#f1f5f6 38%,#f1f5f6 100%)}.login-brand{padding:31px 25px 4px}.login-box{width:calc(100% - 28px);padding:24px;margin:20px auto 35px}.topline .module-link{font-size:0}.topline .module-link:after{content:'模块';font-size:12px}}
/* Mobile modules stay visible without a sideways navigation strip. */
.field[hidden]{display:none}
@media(max-width:640px){.nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:4px;margin:0;padding-bottom:10px}.nav button{padding:9px 4px;min-height:40px;text-align:center;white-space:normal}.topline{flex-wrap:wrap;gap:9px}.topline>div:last-child{flex-wrap:wrap;gap:8px!important}.topline .module-link{font-size:12px}.topline .module-link:after{content:none}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.filters .field{min-width:0}.filters .field:first-child{grid-column:1/-1}.detail-value{overflow-wrap:anywhere}.row-actions{flex-wrap:wrap;gap:9px}}

/* Selected D / clear business. Shared tokens cover every CRM route and dialog.
   Decoration remains outside the information surface; status colors keep meaning. */
:root {
  font-family: 'Segoe UI', 'Microsoft YaHei UI', 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif;
  color: #15304d;
  background: #f4f7fb;
  --navy: #15304d;
  --navy2: #274964;
  --teal: #235889;
  --mint: #e8f1fa;
  --line: #dce5ef;
  --muted: #566d86;
  --red: #a8403e;
  --shadow: 0 14px 44px rgba(27, 80, 137, .07);
  --accent: #235889;
  --accent-hover: #194773;
  --focus-ring: rgba(39, 116, 181, .15);
}
body { background: #f4f7fb; }
button, input, select, textarea { transition: background-color .15s, border-color .15s, box-shadow .15s; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #2774b5; outline-offset: 3px; }
.app-shell {
  grid-template-columns: 232px minmax(0, 1fr);
  background: #f4f7fb;
}
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 16px 20px;
  background: #fafdff;
  border-right: 1px solid var(--line);
  color: var(--navy);
}
.brand { padding: 0 4px 25px; gap: 12px; border-color: var(--line); }
.brand-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 99px;
  height: 44px;
  background: #182d44;
  border-radius: 9px;
}
.brand .brand-logo-frame img { width: 83px; max-height: 32px; object-position: center; }
.brand b { font-size: 14px; font-weight: 650; white-space: nowrap; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .06em; margin-top: 4px; }
.nav { gap: 6px; margin-top: 24px; }
.nav button { color: #4d647b; padding: 12px 16px; border-radius: 10px; font-weight: 550; min-height: 44px; }
.nav button:hover { color: var(--accent); background: #edf4fb; }
.nav button.active { color: #235889; background: #e5eff9; box-shadow: inset 3px 0 #2774b5; font-weight: 650; }
.side-bottom { padding: 18px 6px 0; border-color: var(--line); color: var(--muted); }
.who { color: var(--navy); font-weight: 650; }
.who-role { font-size: 12px; line-height: 1.6; margin-top: 4px; }
.logout { color: #4d647b; border-color: #cbd9e8; min-height: 40px; background: #fff; font-size: 12px; }
.logout:hover { background: #edf4fb; }
.main { padding: 27px clamp(22px, 3.5vw, 56px) 56px; }
.topline { margin-bottom: 32px; padding-bottom: 22px; }
.crumb { color: #566d86; font-size: 13px; line-height: 1.6; }
.pill { color: #235889; background: #e8f1fa; font-size: 12px; padding: 7px 12px; }
.heading { align-items: center; margin-bottom: 27px; }
.heading h1 { font-size: clamp(28px, 2.5vw, 36px); font-weight: 650; margin: 0; letter-spacing: -.04em; line-height: 1.35; }
.eyebrow { color: #4b6e8a; font-size: 12px; font-weight: 600; }
.primary, .secondary, .danger, .quiet { font-size: 14px; font-weight: 600; min-height: 42px; border-radius: 10px; }
.primary { background: var(--accent); color: #fff; box-shadow: 0 5px 13px #23588914; }
.primary:hover { background: var(--accent-hover); filter: none; }
.secondary { color: #235889; background: #eaf2fa; }
.secondary:hover { background: #dfeaf6; }
.quiet { color: #566d86; }
.quiet:hover { background: #edf3f9; }
.danger { background: #fceeed; color: #a44040; }
.link-btn { color: #235889; border-radius: 7px; min-height: 36px; font-size: 13px; font-weight: 600; }
.link-btn:hover { background: #eaf2fa; }
.module-link { color: #235889; }
.kpis { gap: 16px; margin: 0 0 28px; }
.kpi { background: #fff; border-radius: 16px; padding: 21px 22px; border-color: #dce5ef; box-shadow: 0 5px 18px #1b508905; }
.kpi-label { font-size: 13px; color: #566d86; font-weight: 500; }
.kpi-value { font-size: 34px; color: #1c456d; font-weight: 650; margin-top: 10px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi-note { color: var(--muted); }
.panel { border-color: #dce5ef; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px #1b508905; }
.panel-head { padding: 20px 23px; }
.panel-head h2 { font-size: 17px; font-weight: 650; }
.panel-head p { color: #566d86; font-size: 13px; line-height: 1.6; }
.list-head { gap: 14px; }
.list-count { font-size: 13px; color: #566d86; }
.filters { background: #fafcfe; padding: 19px 22px; gap: 12px; }
.filters .field { flex: 1 1 110px; min-width: 110px; }
.filters .field:first-child { flex: 2 1 200px; }
.filters .field:has(input[type=date]) { flex-basis: 160px; min-width: 160px; }
.filters > button { flex: none; }
.field label, th, .detail-label { color: #526980; font-size: 13px; font-weight: 550; }
.field input, .field select, .field textarea, .filter-input {
  border-color: #cbd9e8;
  color: #15304d;
  padding: 11px 13px;
  border-radius: 9px;
  min-height: 44px;
  background: #fff;
  min-width: 0;
}
.field input::placeholder, .field textarea::placeholder, .filter-input::placeholder { color: #62768a; }
.field input:focus, .field select:focus, .field textarea:focus, .filter-input:focus { border-color: #2774b5; box-shadow: 0 0 0 3px var(--focus-ring); }
.table-wrap { max-width: 100%; }
th { background: #f2f6fa; padding: 14px 18px; }
td { padding: 16px 18px; color: #304b65; border-color: #edf1f6; font-size: 14px; line-height: 1.5; }
tbody tr:hover { background: #f8fbfe; }
.main-cell { color: #15304d; font-weight: 600; }
.sub-cell { color: #566d86; font-size: 12px; margin-top: 5px; }
.status { color: #3c6288; background: #eaf2fa; padding: 5px 10px; font-size: 12px; font-weight: 550; }
.status.good { color: #28694b; background: #e8f5ed; }
.status.warn { color: #87601c; background: #fff4de; }
.status.bad { color: #a04444; background: #fceeed; }
.row-actions { align-items: center; gap: 5px; }
.empty { color: #566d86; }
.empty strong { color: #304b65; font-weight: 600; }
.detail-grid { gap: 12px; }
.detail-cell { background: #f5f8fc; border: 1px solid #e6edf4; border-radius: 10px; padding: 14px; }
.detail-label { font-weight: 400; margin-bottom: 7px; }
.detail-value { color: #15304d; font-size: 14px; font-weight: 600; }
.detail-section summary { color: #274964; min-height: 42px; }
.actions-line { gap: 9px; }
.activity { background: #f4f8fc; border-left-color: #8aaece; padding: 14px 16px; }
.activity time { color: #566d86; font-size: 12px; line-height: 1.7; }
.activity p { color: #304b65; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.chip { background: #eaf2fa; color: #3c6288; font-size: 12px; padding: 7px 11px; }
.locked-note { color: #856024; }
.file-hint { color: #566d86; line-height: 1.7; }
.modal-backdrop { background: rgba(21, 48, 77, .25); backdrop-filter: blur(4px); }
.modal { border: 1px solid #ffffffcf; border-radius: 22px; box-shadow: 0 25px 90px #15304d26; }
.modal-head { padding: 23px 26px 21px; background: #fafcfe; }
.modal-head h2 { font-size: 23px; font-weight: 650; line-height: 1.4; }
.modal-head p { color: #566d86; font-size: 13px; line-height: 1.7; margin: 8px 0 0; }
.modal-content { padding: 21px 26px; }
.modal-foot { background: #fafcfe; padding: 16px 26px; }
.toast { background: #274964; }
.toast.error { background: #9c4141; }

/* D sample translated to real authentication, not the sample's fake form.
   Dimensional decoration stays outside working areas and has no animation. */
.login-page {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) 408px;
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
  padding: 40px max(64px, calc((100vw - 1190px) / 2));
  background: radial-gradient(ellipse at 20% 60%, #dcecfb, #eef5fb 55%, #f8fafc);
  color: #15304d;
}
.login-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.login-light { position: absolute; display: block; border-radius: 50%; }
.login-light-blue { width: 680px; height: 680px; left: -270px; bottom: -440px; background: #97bdec4d; filter: blur(75px); }
.login-fluent-object { position: absolute; width: 310px; height: 240px; left: 19%; bottom: -50px; transform: rotate(-25deg); }
.login-fluent-object i { position: absolute; width: 200px; height: 200px; left: 0; top: 0; border-radius: 38px; border: 1px solid #ffffffc9; background: linear-gradient(135deg, #ffffffdd, #a6c8efad 50%, #749dcc); box-shadow: inset 0 2px 3px #fff, 0 24px 38px #648fc835; }
.login-fluent-object i:nth-child(2) { transform: translate(46px, -46px); background: linear-gradient(135deg, #fff9, #c1e2ffb8 45%, #73a6dd91); backdrop-filter: blur(8px); }
.login-fluent-object i:nth-child(3) { transform: translate(90px, -92px); background: linear-gradient(135deg, #fff9, #e2f2ff94 45%, #bdd9f373); border-color: #fff; box-shadow: inset 0 1px 3px #fff, 0 20px 30px #7093be12; }
.login-brand { padding: 0; position: relative; min-height: 680px; align-self: stretch; justify-content: space-between; color: #15304d; }
.login-brand .brand-logo-frame { width: 180px; height: 72px; border-radius: 12px; }
.login-brand img { width: 160px; max-height: 58px; margin: 0; object-position: center; }
.login-brand-copy { margin: auto 0; padding: 48px 0; }
.login-overline { display: block; color: #4b6e8a; font-size: 13px; font-weight: 500; letter-spacing: .16em; margin-bottom: 24px; }
.login-brand h1 { color: #15304d; max-width: 390px; font-size: clamp(48px, 4.2vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1.3; margin: 0; }
.login-brand p { display: block; color: #566d86; font-size: 16px; letter-spacing: 0; margin: 22px 0 0; line-height: 1.7; }
.login-brand-foot { color: #566d86; font-size: 14px; letter-spacing: .04em; }
.login-box { position: relative; width: 100%; margin: 0; justify-self: stretch; padding: 40px; background: #ffffffdb; border: 1px solid #fff; border-radius: 18px; box-shadow: 0 16px 60px #1b508916; backdrop-filter: blur(20px); color: #15304d; }
.login-box-eyebrow { display: block; font-size: 10px; letter-spacing: .18em; color: #566d86; margin-bottom: 18px; }
.login-box h2 { color: #15304d; font-size: 29px; font-weight: 600; letter-spacing: -.04em; line-height: 1.25; margin: 0 0 10px; }
.login-box > p { color: #566d86; font-size: 13px; margin: 0 0 30px; }
.login-box .field { min-width: 0; margin: 0 0 18px; gap: 8px; }
.login-box .field label { color: #274964; font-size: 13px; font-weight: 500; }
.login-box .field input { height: 50px; background: #ffffffd9; border-color: #cbd9e8; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.login-box .field input::placeholder { color: #62768a; }
.login-box .primary { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 50px; margin-top: 6px; padding: 0 16px; box-shadow: none; font-size: 14px; }
.login-box summary { list-style: none; min-height: 44px; display: flex; align-items: center; gap: 9px; color: #566d86; font-size: 12px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.login-box summary::-webkit-details-marker { display: none; }
.login-box summary::before { content: '+'; width: 12px; flex: none; font-size: 16px; }
.login-box details[open] > summary::before { content: '−'; }
.login-help { margin-top: 18px; }
.login-box .login-foot { color: #566d86; font-size: 12px; line-height: 1.8; padding: 0 0 12px 21px; margin: 0; }
.login-box .demo-box { border-top: 1px solid #cbd9e8; margin-top: 4px; padding-top: 4px; }
.login-box .demo-buttons { margin-top: 6px; gap: 8px; }
.login-box .demo-buttons button { min-height: 42px; background: #fff; border-color: #cbd9e8; color: #235889; font-size: 12px; border-radius: 8px; }
.login-box .demo-buttons button:hover { background: #eaf2fa; }
@media (max-width: 1050px) {
  .login-page { gap: 36px; padding: 32px 40px; grid-template-columns: minmax(0, 1fr) 380px; }
  .login-brand { min-height: 630px; }
  .login-brand h1 { font-size: 49px; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 205px minmax(0, 1fr); }
  .brand { gap: 9px; padding-inline: 0; }
  .brand-logo-frame { width: 89px; }
  .brand .brand-logo-frame img { width: 73px; }
  .brand b { font-size: 13px; }
  .main { padding: 25px 22px 42px; }
  .kpis { gap: 12px; }
}
@media (max-width: 760px) {
  .login-page { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 25px 20px 30px; align-content: center; }
  .login-brand { min-height: 0; width: min(440px, 100%); justify-self: center; align-self: auto; }
  .login-brand .brand-logo-frame { width: 110px; height: 44px; }
  .login-brand img { width: 91px; margin: 0; }
  .login-brand-copy { margin: 28px 0 0; padding: 0; }
  .login-overline { font-size: 11px; margin-bottom: 12px; }
  .login-brand h1 { font-size: 37px; max-width: none; }
  .login-brand p { display: block; font-size: 13px; margin-top: 12px; }
  .login-brand-foot { display: none; }
  .login-box { width: min(440px, 100%); justify-self: center; margin: 0; padding: 28px 26px; }
  .login-box-eyebrow { display: none; }
  .login-box h2 { font-size: 27px; }
  .login-box > p { margin-bottom: 24px; }
  .login-fluent-object { left: -65px; bottom: -155px; opacity: .7; }
}
@media (max-width: 640px) {
  .app-shell { display: block; }
  .side { height: auto; overflow: visible; padding: 12px 12px 0; background: #fafdff; }
  .brand { border: 0; padding: 0 2px 12px; gap: 12px; }
  .brand b { font-size: 14px; }
  .brand-logo-frame { width: 90px; height: 38px; }
  .brand .brand-logo-frame img { width: 74px; }
  .nav { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; gap: 4px; }
  .nav button { min-height: 40px; padding: 9px 4px; font-size: 12px; border-radius: 8px; }
  .nav button.active { box-shadow: inset 0 -2px #2774b5; }
  .main { padding: 20px 13px 36px; }
  .topline { gap: 9px; margin-bottom: 23px; padding-bottom: 14px; }
  .heading { margin-bottom: 19px; gap: 10px; }
  .heading h1 { font-size: 27px; }
  .heading .primary { min-height: 40px; font-size: 12px; padding: 9px 11px; }
  .kpis { gap: 9px; margin-bottom: 20px; }
  .kpi { padding: 15px; border-radius: 12px; }
  .kpi-value { font-size: 28px; margin-top: 7px; }
  .panel { border-radius: 13px; }
  .panel-head { padding: 16px; }
  .filters { padding: 13px; gap: 9px; }
  .filters .field { min-width: 0; }
  .filters .field:has(input[type=date]) { min-width: 0; }
  .filters > button { grid-column: 1 / -1; }
  .field label { font-size: 12px; }
  .table-wrap { overflow: visible; }
  tbody { padding: 11px; }
  tbody tr { background: #fff; border-color: #dce5ef; padding: 13px; }
  td { padding: 5px 2px; font-size: 13px; overflow-wrap: anywhere; }
  td:last-child { border-color: #edf1f6; }
  .link-btn { min-height: 40px; }
  .detail-grid { gap: 8px; }
  .detail-cell { padding: 11px; }
  .detail-section table { min-width: 0; }
  .modal-backdrop { padding: 8px; }
  .modal { border-radius: 20px 20px 12px 12px; }
  .modal-head { padding: 17px 16px; }
  .modal-head h2 { font-size: 21px; }
  .modal-content { padding: 15px 16px; }
  .modal-foot { padding: 13px 16px; flex-wrap: wrap; }
  .modal-foot .primary { flex: 1; }
}
@media (max-width: 360px) {
  .login-page { padding-inline: 16px; }
  .login-brand h1 { font-size: 32px; }
  .login-box { padding-inline: 22px; }
  .topline .pill { max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  button, input, select, textarea { transition: none; }
}
.account-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
.account-actions .logout { margin:0; }
.platform-user { flex-wrap:wrap; }
.password-backdrop { z-index:120; }
.password-dialog { width:min(520px,100%); background:#fff; color:var(--jd-ink,#15304d); }
.password-dialog .modal-head { align-items:center; }
.password-dialog .modal-head h2 { margin:0; }
.password-dialog .modal-head button { flex:none; white-space:nowrap; }
.password-dialog [hidden], .password-required [hidden] { display:none!important; }
.password-required { max-width:620px; }
.password-rule { color:var(--jd-muted,#566d86); font-size:14px; line-height:1.6; margin:0; }
.password-error { color:#a53131; background:#fff3f3; border:1px solid #f0cdcd; border-radius:10px; padding:12px; font-size:14px; line-height:1.6; }
.password-confirm h3 { font-size:18px; margin:0 0 18px; }
.password-confirm dl { margin:0; }
.password-confirm dl>div { padding:12px 0; border-bottom:1px solid var(--jd-line,#dce5ef); }
.password-confirm dt { color:var(--jd-muted,#566d86); font-size:14px; margin-bottom:6px; }
.password-confirm dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.password-confirm p { font-size:14px; line-height:1.7; }
