/* Independently implemented layout based on the observed reference interface. */
:root { --navy:#18344f; --blue:#18344f; --gold:#b9a45e; --line:#dfe4eb; --muted:#8994a7; }
body { background:#eef1f5; }
.reference-shell .sidebar,
.reference-shell[data-launch="true"] .sidebar { width:220px; background:#14283c; }
.reference-shell .sidebar-brand,
.reference-shell[data-launch="true"] .sidebar-brand { height:56px; min-height:56px; padding:0 18px; justify-content:center; gap:9px; border-bottom:1px solid #ffffff14; }
.reference-shell .sidebar-brand .brand-mark,
.reference-shell[data-launch="true"] .sidebar-brand .brand-mark { width:30px; height:30px; flex-basis:30px; border-radius:50%; border:1px solid #b7a16390; box-shadow:inset 0 0 0 3px #b7a16316; font-size:17px; color:#c3ac70; background:#ffffff03; }
.reference-shell .sidebar-brand .brand-name { font-size:16px; font-weight:600; letter-spacing:1px; white-space:nowrap; }
.reference-shell .nav-items,
.reference-shell[data-launch="true"] .nav-items { padding:0; overflow:auto; }
.reference-shell .saas-nav-group .nav-caption { font-size:12px; padding:14px 20px 7px; color:#8495a7; }
.reference-shell .nav-item,
.reference-shell .saas-nav-group .nav-item,
.reference-shell[data-launch="true"] .nav-item { display:flex; align-items:center; height:56px; min-height:56px; border-radius:0; padding:0 24px; margin:0; gap:10px; color:#a7b2bf; font-size:14px; font-weight:400; }
.reference-shell .nav-item svg { width:16px; height:16px; flex:none; }
.reference-shell .nav-item.active,
.reference-shell[data-launch="true"] .nav-item.active { color:#c5ac69; background:linear-gradient(90deg,#baa26226,transparent); box-shadow:inset 3px 0 #bda55e; }
.reference-shell .nav-item.active svg { color:inherit; }
.reference-shell .nav-item:hover { background-color:#ffffff06; }
.reference-shell .main-wrap { margin-left:220px; }
.reference-shell .topbar,
.reference-shell[data-launch="true"] .topbar { height:56px; padding:0 20px; gap:14px; background:#fff; border-bottom:1px solid #e5e7eb; }
.reference-shell .topbar-left { gap:14px; min-width:0; }
.reference-shell .reference-menu-button { display:grid; width:16px; height:30px; padding:0; border:0; color:#596273; background:transparent; }
.reference-shell .reference-menu-button svg { width:16px; height:16px; }
.reference-shell .breadcrumb { min-width:0; font-size:16px; white-space:nowrap; }
.reference-shell .breadcrumb b,
.reference-shell[data-launch="true"] .breadcrumb b { font-size:16px; font-weight:600; color:#303846; }
.reference-shell .topbar-right { gap:20px; }
.reference-quota { display:flex; align-items:center; gap:5px; background:#f4f6fa; border-radius:20px; padding:8px 15px; color:#3e4a5a; white-space:nowrap; font-size:12px; line-height:20px; }
.reference-quota strong { font-size:16px; font-weight:500; }
.reference-user-menu { position:relative; color:#3b4553; font-size:14px; }
.reference-user-menu summary { display:flex; align-items:center; gap:8px; min-height:32px; cursor:pointer; list-style:none; }
.reference-user-menu summary::-webkit-details-marker { display:none; }
.reference-user-menu summary>svg { width:15px; height:15px; }
.reference-user-menu summary>span { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reference-chevron { display:block; width:7px; height:7px; transform:rotate(45deg); border:1px solid #89929f; border-top:0; border-left:0; margin:0 1px 4px 4px; }
.reference-user-dropdown { position:absolute; z-index:60; top:calc(100% + 10px); right:0; width:170px; background:#fff; border:1px solid #e4e7ed; border-radius:4px; box-shadow:0 5px 16px #14263a20; padding:5px 0; }
.reference-user-dropdown a,.reference-user-dropdown button { display:block; width:100%; padding:10px 16px; font:inherit; line-height:1.4; color:#465363; background:transparent; border:0; text-align:left; cursor:pointer; }
.reference-user-dropdown a:hover,.reference-user-dropdown button:hover { background:#f4f6f9; color:#18344f; }
.reference-user-dropdown .is-current { color:#9b8240; }
.reference-user-caption { padding:9px 16px; color:#8994a7; font-size:12px; border-bottom:1px solid #edf0f4; }
.reference-user-workspaces { padding:4px 0; border-bottom:1px solid #edf0f4; }
.reference-shell .content,
.reference-shell[data-launch="true"] .content { padding:20px; max-width:none; }
.reference-shell .btn { min-height:32px; padding:8px 15px; font-size:14px; border-radius:4px; line-height:1; }
.reference-shell .btn.primary { background:#193650; border-color:#193650; box-shadow:none; }
.reference-shell .btn.primary:hover { background:#294966; border-color:#294966; }
.reference-shell .btn.sm { min-height:28px; padding:6px 11px; }
.reference-shell .input,.reference-shell .select { min-height:32px; font-size:14px; border-radius:4px; }
.reference-shell .textarea { border-radius:4px; }
.reference-shell .card { border-radius:4px; box-shadow:none; border-color:#e3e7ee; }
.reference-shell .card-header { padding:18px 20px; }
.reference-shell .card-header h2 { font-size:16px; }
.reference-shell .card-body { padding:20px; }
.reference-shell .modal { border-radius:4px; }
.reference-shell .page-heading h1 { font-size:22px; }
.reference-visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.reference-rules { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }
.reference-rules .card-header { padding:20px; }
.reference-rules .card-header h2 { font-size:16px; font-weight:500; color:#303133; }
.reference-rules table { width:100%; border-collapse:collapse; }
.reference-rules td { padding:10px 12px; border-bottom:1px solid #ebeef5; font-size:14px; color:#606266; background:#fff; line-height:1.55; }
.reference-rules .reference-thresholds td:last-child { color:#4b709c; font-weight:600; font-size:20px; }
.reference-rule-note { margin:12px 0 0; padding:10px 16px; background:#f4f4f5; color:#909399; line-height:1.8; font-size:14px; border-radius:3px; }
.reference-rule-note.is-danger { margin-top:20px; background:#fef0f0; color:#e38181; }
.reference-risk-tags { display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap; }
.reference-risk-tags span { padding:2px 8px; background:#fef0f0; border:1px solid #fde2e2; color:#e78181; font-size:13px; border-radius:3px; line-height:1.45; }
.reference-risk-tags .reference-no-veto { background:#f4f4f5; border-color:#e9e9eb; color:#909399; }
.reference-deductions td:first-child { width:70%; }
.reference-deductions td:last-child { text-align:center; }
.reference-shell.sidebar-collapsed .sidebar { width:64px; }
.reference-shell.sidebar-collapsed .main-wrap { margin-left:64px; }
.reference-shell.sidebar-collapsed .sidebar-brand { padding:0; }
.reference-shell.sidebar-collapsed .sidebar-brand .brand-name,
.reference-shell.sidebar-collapsed .nav-item span,
.reference-shell.sidebar-collapsed .nav-caption { display:none; }
.reference-shell.sidebar-collapsed .nav-item { justify-content:center; padding:0; }

.reference-login { min-height:100vh; display:grid; grid-template-columns:56% 44%; position:relative; isolation:isolate; color:#e7ecf1; background:radial-gradient(ellipse at 87% 9%,#1b3e58 0%,transparent 42%),linear-gradient(120deg,#0b1d2e,#142e46 75%,#15334b); }
.reference-login::before { content:""; position:absolute; z-index:-1; inset:0; background-image:linear-gradient(#aebbc407 1px,transparent 1px),linear-gradient(90deg,#aebbc407 1px,transparent 1px); background-size:42px 42px; }
.reference-login::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,#ccb2770e 0%,transparent 28%,transparent 47%,#c7b17f12 49%,transparent 62%); }
.reference-brand-pane { padding:48px 64px; display:flex; flex-direction:column; justify-content:center; position:relative; }
.reference-brand-inner { max-width:560px; width:100%; margin:auto 0; }
.reference-brand-top { display:flex; align-items:center; gap:24px; }
.reference-brand-top .brand-mark { width:86px; height:86px; flex:0 0 86px; border-radius:50%; color:#c4aa66; border:3px double #baa35f; box-shadow:0 0 30px #c7aa4a1c,inset 0 0 0 5px #bdab5712,inset 0 0 0 7px #bdab5744; font-size:42px; background:#0d2439; }
.reference-brand-top h1 { font-size:40px; font-weight:650; letter-spacing:4px; line-height:1.4; color:#f8f9fb; margin:0 0 8px; }
.reference-brand-en { font-size:12px; color:#c1aa74; letter-spacing:4px; white-space:nowrap; }
.reference-brand-subtitle { color:#afbbc8; font-size:17px; letter-spacing:3px; margin:25px 0 46px; }
.reference-feature-list { display:flex; flex-direction:column; gap:22px; width:480px; max-width:100%; }
.reference-feature { display:flex; align-items:center; gap:16px; padding:14px 18px; min-height:71px; border:1px solid #e4e6e81c; border-radius:12px; background:#ffffff04; box-shadow:inset 0 0 18px #ffffff02; }
.reference-feature>svg { width:25px; height:25px; flex:none; color:#c3ab5e; }
.reference-feature strong { color:#e5e8ee; font-size:15px; font-weight:600; letter-spacing:1px; }
.reference-feature p { color:#8495a7; font-size:12px; line-height:1.6; margin:3px 0 0; }
.reference-brand-chips { display:flex; gap:12px; flex-wrap:wrap; margin-top:32px; }
.reference-brand-chips span { padding:5px 14px; border:1px solid #c7ad5e4d; background:#cfb2650a; border-radius:18px; color:#bda56c; font-size:12px; letter-spacing:1px; }
.reference-brand-footer { position:absolute; left:64px; right:40px; bottom:20px; color:#718494; font-size:12px; letter-spacing:1px; margin:0; }
.reference-form-pane { display:flex; align-items:center; justify-content:center; padding:48px 40px; }
.reference-login-card { width:400px; max-width:100%; border-radius:18px; overflow:hidden; border:1px solid #c6b06d44; box-shadow:0 20px 48px #05162955; background:#fff; }
.reference-login-card-head { padding:26px 24px 20px; text-align:center; background:#18324b; border-bottom:2px solid #bc9e58; }
.reference-login-card-head .brand-mark { margin:0 auto 10px; width:64px; height:64px; border-radius:50%; font-size:31px; color:#c2a461; border:3px double #bfa568; box-shadow:inset 0 0 0 4px #b6a26411,inset 0 0 0 6px #b6a26444; background:#122c43; }
.reference-login-card-head h2 { font-size:20px; letter-spacing:3px; font-weight:600; margin:0 0 9px; line-height:1.4; color:#f0f3f6; }
.reference-login-card-head p { color:#a0adbd; font-size:12px; letter-spacing:1px; margin:0; }
.reference-login-card-body { padding:30px 32px 20px; }
.reference-login-input { position:relative; margin-bottom:18px; }
.reference-login-input>span { position:absolute; left:14px; top:12px; width:15px; height:15px; color:#b7bbc4; pointer-events:none; }
.reference-login-input svg { display:block; width:15px; height:15px; }
.reference-login-input .input { height:40px; min-height:40px; padding-left:36px; border:1px solid #dcdfe6; border-radius:4px; background:#fff; font-size:14px; }
.reference-login-input .input::placeholder { color:#bdc0c7; }
.reference-login .reference-login-submit { height:40px; min-height:40px; padding:0 16px; border-radius:4px; color:#fff; background:linear-gradient(105deg,#b99348,#d0b264); border:1px solid #bea15e; box-shadow:0 5px 15px #ba9b4e38; font-size:14px; letter-spacing:4px; }
.reference-login .reference-login-submit:hover { background:linear-gradient(105deg,#c29f54,#dcc078); border-color:#cfb471; }
.reference-login-copyright { font-size:12px; text-align:center; color:#c0c5cd; margin-top:24px; }
.reference-login-back { display:block; text-align:center; margin-top:16px; color:#526e88; font-size:13px; }
.reference-login-demo { padding:8px 0 0; text-align:center; font-size:13px; color:#846b30; }
.reference-login-card .field>label { color:#526173; }

@media screen and (max-width:1100px) and (min-width:701px) {
  .reference-brand-pane { padding:40px; }
  .reference-brand-top { gap:17px; }
  .reference-brand-top h1 { font-size:30px; letter-spacing:2px; }
  .reference-brand-top .brand-mark { width:74px; height:74px; flex-basis:74px; }
  .reference-brand-en { font-size:10px; letter-spacing:2px; }
  .reference-brand-subtitle { font-size:15px; letter-spacing:1px; }
  .reference-brand-footer { left:40px; }
  .reference-form-pane { padding:36px 28px; }
  .reference-brand-chips { gap:7px; }
  .reference-brand-chips span { padding-inline:10px; }
}
@media screen and (max-width:700px) {
  .reference-shell .sidebar { width:220px; }
  .reference-shell .main-wrap,.reference-shell.sidebar-collapsed .main-wrap { margin-left:0; }
  .reference-shell.sidebar-collapsed .sidebar { width:220px; }
  .reference-shell.sidebar-collapsed .sidebar-brand .brand-name,
  .reference-shell.sidebar-collapsed .nav-item span { display:initial; }
  .reference-shell.sidebar-collapsed .nav-item { justify-content:flex-start; padding:0 24px; }
  .reference-shell .topbar,.reference-shell[data-launch="true"] .topbar { padding:0 12px; gap:8px; }
  .reference-shell .topbar-left { gap:9px; }
  .reference-shell .topbar-right { gap:10px; }
  .reference-shell .breadcrumb b,.reference-shell[data-launch="true"] .breadcrumb b { font-size:14px; }
  .reference-quota { padding:5px 9px; font-size:11px; gap:3px; }
  .reference-quota strong { font-size:14px; }
  .reference-user-menu summary>span { max-width:60px; }
  .reference-user-menu summary { gap:5px; font-size:13px; }
  .reference-shell .content,.reference-shell[data-launch="true"] .content { padding:14px 12px; }
  .reference-login { min-height:100vh; display:block; padding:28px 20px; }
  .reference-brand-pane { display:none; }
  .reference-form-pane { padding:0; min-height:calc(100vh - 56px); }
  .reference-login-card { width:400px; }
  .reference-login-card-body { padding:28px 26px 20px; }
  .reference-shell .topbar .demo-badge { position:absolute; top:58px; right:12px; z-index:1; font-size:11px; padding:3px 6px; }
  .reference-rules { grid-template-columns:minmax(0,1fr); }
}
@media print {
  .reference-shell .sidebar,.reference-shell .topbar { display:none!important; }
  .reference-shell .main-wrap { margin:0!important; }
  .reference-shell .content { padding:0!important; }
}
