:root {
  --blue: #4a90e2;
  --blue-strong: #3a7bc8;
  --blue-soft: #eaf3fd;
  --ink: #1f2a37;
  --muted: #697381;
  --line: #edf1f5;
  --surface: #fff;
  --canvas: #f5f8fc;
  --canvas-bottom: #e8edfa;
  --shadow: 0 4px 20px rgba(74, 144, 226, .08);
  --shadow-hover: 0 8px 26px rgba(74, 144, 226, .13);
  --sidebar-width: 230px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(160deg, var(--canvas) 0%, var(--canvas-bottom) 100%); background-attachment: fixed; }
button, input, select { font: inherit; color: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.7; }
button, a, select, input { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 12px 20px; background: white; border: 1px solid var(--blue); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.workspace { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 0 16px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(20px); border-right: 1px solid var(--line); transition: width 180ms ease, transform 180ms ease; }
.brand { display: flex; align-items: center; gap: 11px; height: 96px; padding: 0 12px; flex-shrink: 0; white-space: nowrap; }
.brand img { flex-shrink: 0; object-fit: contain; }
.brand-name { font-size: 19px; font-weight: 800; }
.brand-name span { font-size: 17px; font-weight: 800; }
.primary-nav { flex: 1; padding-top: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 12px 14px; margin: 4px 0; border-radius: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; font-weight: 600; transition: color 140ms, background 140ms, box-shadow 140ms; }
.nav-item:hover { background: var(--blue-soft); color: var(--blue-strong); }
.nav-item.active { background: linear-gradient(135deg, var(--blue), var(--blue-strong)); color: #fff; font-weight: 700; box-shadow: var(--shadow); }
.nav-label { font-size: 12px; color: #9097a1; padding: 30px 16px 10px; }
.sidebar-footer { padding: 16px 0 22px; margin-top: 36px; border-top: 1px solid var(--line); }
.workspace-profile { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 5px; text-align: left; border-radius: 12px; }
.workspace-profile:hover { background: var(--blue-soft); }
.profile-mark { width: 34px; height: 34px; background: linear-gradient(135deg, #7eb6f0, var(--blue)); border: 0; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.profile-mark svg { width: 17px; height: 17px; }
.profile-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.profile-copy strong { font-size: 13px; font-weight: 700; line-height: 1.5; }
.profile-copy > span { font-size: 12px; color: #8a929d; }
.profile-settings { margin-left: auto; width: 17px; height: 17px; color: #8b94a0; }
.workspace-body { margin-left: var(--sidebar-width); transition: margin-left 180ms ease; min-width: 0; }
.topbar { height: 65px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: transparent; border-bottom: 0; }
.breadcrumb-group, .breadcrumb, .topbar-end { display: flex; align-items: center; }
.breadcrumb-group { gap: 19px; min-width: 0; }
.breadcrumb { gap: 13px; font-size: 13px; color: #949ba5; min-width: 0; }
.breadcrumb svg { width: 13px; height: 13px; color: #c2c7ce; }
.breadcrumb strong { color: #5b6470; font-weight: 500; white-space: nowrap; }
.topbar-end { gap: 22px; flex-shrink: 0; }
.topbar-end:has(.logout-form) { gap: 8px; }
.logout-form { display: inline-flex; margin: 0; }
.preview-label { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .85); padding: 6px 11px; border-radius: 10px; background: rgba(255, 255, 255, .68); color: var(--blue-strong); font-size: 12px; line-height: 1.4; }
.topbar-divider { width: 1px; height: 19px; background: var(--line); }
.topbar-brand { font-size: 15px; color: #8c96a3; font-weight: 700; }
.icon-button { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { background: var(--blue-soft); color: var(--blue-strong); }
.icon-button svg { width: 18px; height: 18px; }
main { max-width: 1240px; margin: 0 auto; padding: 16px 32px 24px; min-height: calc(100vh - 65px); display: flex; flex-direction: column; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 27px; }
.home-view .eyebrow { display: none; }
.eyebrow { font-size: 12px; line-height: 1.5; color: #8b96a3; font-weight: 500; margin-bottom: 8px; }
h1 { font-size: 24px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.today { color: #929aa5; font-size: 13px; line-height: 1.6; padding-bottom: 5px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 23px; }
h2 { font-size: 16px; line-height: 1.6; font-weight: 750; }
.item-count { font-size: 12px; font-weight: 450; color: #9ca4ae; margin-left: 9px; }
.section-meta { color: #929aa5; font-size: 12px; }
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-card { --app-color: var(--blue); --app-deep: var(--blue-strong); --app-bg: var(--blue-soft); background: var(--surface); border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; transition: border-color 180ms, box-shadow 180ms; min-width: 0; }
.app-card:hover { border-color: #c9ddf5; box-shadow: var(--shadow-hover); }
.app-card.recruiting, .app-icon.recruiting { --app-color: #2ab780; --app-deep: #15986c; --app-bg: #eaf7f0; }
.app-card.finance, .app-icon.finance { --app-color: #329fa4; --app-deep: #21868d; --app-bg: #ebf7f7; }
.app-card.live, .app-icon.live { --app-color: #f2975c; --app-deep: #e48042; --app-bg: #fff3e9; }
.app-card.admin, .app-icon.admin { --app-color: var(--blue); --app-deep: var(--blue-strong); --app-bg: var(--blue-soft); }
.app-main { display: flex; align-items: center; gap: 20px; padding: 29px 28px 26px; min-height: 128px; width: 100%; text-align: left; }
.app-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; border-radius: 15px; background: linear-gradient(135deg, var(--app-color), var(--app-deep)); color: #fff; box-shadow: 0 3px 10px rgba(45, 91, 140, .08); }
.app-icon svg { width: 27px; height: 27px; stroke-width: 1.8; }
.app-title-group { min-width: 0; }
.app-title-group h3 { font-size: 19px; line-height: 1.5; font-weight: 750; }
.app-category { display: block; margin-top: 7px; font-size: 13px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.app-inspect { margin-left: auto; color: #bac2cc; width: 18px; height: 18px; }
.app-card:hover .app-inspect { color: var(--app-color); }
.app-footer { min-height: 52px; margin: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.entry-scope { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #8d97a3; }
.entry-scope svg { width: 13px; height: 13px; }
.app-open { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--blue-strong); min-height: 36px; padding: 5px 0 5px 8px; }
.app-open:hover { color: var(--blue-strong); }
.app-open svg { width: 14px; height: 14px; }
.recent-section { margin-top: 28px; }
.recent-section .section-heading { margin-bottom: 13px; }
.quiet-button { font-size: 12px; min-height: 28px; padding: 4px 0 4px 8px; color: #8d97a3; }
.quiet-button:hover { color: var(--blue-strong); }
.empty-state { min-height: 142px; border-top: 1px solid #dbe5f1; border-bottom: 1px solid #dbe5f1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.empty-icon { color: #82a5ce; display: grid; place-items: center; }
.empty-icon svg { width: 25px; height: 25px; stroke-width: 1.25; }
.empty-state p { font-size: 13px; line-height: 1.5; }
.recent-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 40px; align-items: center; gap: 12px; min-height: 65px; border-top: 1px solid var(--line); }
.recent-row:last-child { border-bottom: 1px solid var(--line); }
.recent-name { display: flex; align-items: center; gap: 12px; font-size: 14px; min-width: 0; }
.recent-name .app-icon { width: 32px; height: 32px; border-radius: 10px; }
.recent-name .app-icon svg { width: 17px; height: 17px; }
.recent-name strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.recent-time { color: #939ca8; font-size: 12px; text-align: right; }
.recent-open { margin-left: auto; }
.content-footer { margin-top: auto; padding-top: 30px; display: flex; justify-content: space-between; gap: 12px; color: #a6aeb9; font-size: 12px; line-height: 1.6; }
.content-footer > span:first-child { color: #909ca9; }
.module-heading { display: flex; align-items: center; gap: 23px; min-height: 108px; margin: 5px 0 28px; }
.module-heading .app-icon { width: 64px; height: 64px; }
.module-heading .app-icon svg { width: 30px; height: 30px; }
.module-heading-copy { min-width: 0; }
.module-heading .eyebrow { margin-bottom: 3px; }
.module-categories { font-size: 14px; color: #929ba6; line-height: 1.6; margin-top: 6px; }
.module-entry { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.entry-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.connection-label { color: #8a95a3; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; }
.connection-label svg { width: 13px; height: 13px; }
.entry-details { display: grid; grid-template-columns: 1.5fr 1fr 1fr; margin: 26px 0 30px; gap: 24px; }
.entry-details dt { font-size: 12px; color: #9ba3ae; margin-bottom: 9px; }
.entry-details dd { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.entry-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.primary-button, .secondary-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border-radius: 14px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.primary-button { background: linear-gradient(135deg, var(--blue), var(--blue-strong)); color: white; border: 1px solid transparent; box-shadow: var(--shadow); }
.primary-button:hover { background: var(--blue-strong); border-color: var(--blue-strong); }
.primary-button svg { width: 16px; height: 16px; }
.secondary-button { background: #fff; border: 1px solid #dfe5ec; }
.secondary-button:hover { background: var(--canvas); }
.local-notice { color: #949ca6; font-size: 12px; }
.workspace.collapsed { --sidebar-width: 76px; }
.collapsed .sidebar { padding-inline: 12px; }
.collapsed .brand { padding-inline: 7px; }
.collapsed .brand-name, .collapsed .nav-item span, .collapsed .profile-copy, .collapsed .profile-settings { display: none; }
.collapsed .nav-item { justify-content: center; padding-inline: 8px; }
.collapsed .nav-label { font-size: 0; height: 39px; padding: 0; margin-top: 8px; position: relative; }
.collapsed .nav-label::after { content: ""; position: absolute; inset: 19px 15px auto; height: 1px; background: var(--line); }
.collapsed .workspace-profile { justify-content: center; padding-inline: 0; }
.mobile-scrim { display: none; }
dialog { width: min(440px, calc(100vw - 40px)); border: 1px solid #e1e6ed; border-radius: 18px; background: white; padding: 26px; color: var(--ink); box-shadow: 0 20px 70px #15283e26; }
dialog::backdrop { background: #202c3e38; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.dialog-heading h2 { font-size: 18px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 14px; border-top: 1px solid var(--line); }
select { width: 158px; padding: 9px 28px 9px 10px; border: 1px solid #dfe4eb; border-radius: 10px; background: white; font-size: 13px; }
input[role="switch"] { appearance: none; width: 35px; height: 21px; border-radius: 20px; background: #d3dae3; cursor: pointer; position: relative; margin: 0; flex-shrink: 0; transition: background 160ms; }
input[role="switch"]::before { content: ""; position: absolute; width: 15px; height: 15px; left: 3px; top: 3px; background: white; border-radius: 50%; box-shadow: 0 1px 3px #1b325c26; transition: transform 160ms; }
input[role="switch"]:checked { background: var(--blue); }
input[role="switch"]:checked::before { transform: translateX(14px); }
.dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 26px; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); padding: 11px 18px; border-radius: 6px; background: #2e3845; color: white; box-shadow: 0 4px 20px #172b4220; font-size: 13px; z-index: 100; max-width: calc(100vw - 40px); }
.nav-label, .profile-copy > span, .breadcrumb, .preview-label, .eyebrow, .today, .section-meta, .item-count, .entry-scope, .quiet-button, .empty-state p, .recent-time, .content-footer, .content-footer > span:first-child, .module-categories, .connection-label, .entry-details dt, .local-notice { color: var(--muted); }
@media (min-width: 1600px) { main { padding-top: 24px; } .page-heading { margin-bottom: 30px; } .app-main { min-height: 147px; } }
@media (max-width: 1100px) { :root { --sidebar-width: 210px; } main { padding: 18px 28px 22px; } .app-main { gap: 14px; padding: 25px 22px; } .app-footer { margin-inline: 22px; } .app-icon { width: 45px; height: 45px; } .app-title-group h3 { font-size: 17px; } .app-inspect { display: none; } }
@media (max-width: 820px) { .apps-grid { gap: 14px; } .app-main { padding: 23px 19px; gap: 12px; } .app-footer { margin-inline: 19px; } .app-category { font-size: 12px; } .app-title-group h3 { font-size: 16px; } .app-icon { width: 38px; height: 38px; } .app-icon svg { width: 23px; height: 23px; } main { padding-inline: 24px; } .today { font-size: 12px; } }
@media (max-width: 700px) {
  .workspace, .workspace.collapsed { --sidebar-width: 220px; }
  .workspace-body { margin-left: 0; }
  .sidebar { transform: translateX(-100%); padding-inline: 16px; }
  .mobile-nav-open .sidebar { transform: translateX(0); }
  .mobile-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 25; background: #1a2b4130; }
  .topbar { padding: 0 20px; height: 60px; }
  .breadcrumb-group { gap: 10px; }
  .breadcrumb { gap: 7px; font-size: 12px; }
  .topbar-end { gap: 10px; }
  .topbar-divider, .topbar-brand { display: none; }
  .preview-label { font-size: 12px; }
  main { min-height: calc(100vh - 60px); padding: 26px 20px 20px; }
  .page-heading { margin-bottom: 28px; align-items: center; }
  .eyebrow { font-size: 12px; margin-bottom: 4px; }
  h1 { font-size: 24px; }
  .today { max-width: 115px; text-align: right; font-size: 12px; }
  .section-heading { margin-bottom: 14px; }
  .apps-grid { grid-template-columns: 1fr; gap: 12px; }
  .app-main { padding: 19px 21px; min-height: 96px; gap: 16px; }
  .app-icon { width: 44px; height: 44px; }
  .app-title-group h3 { font-size: 17px; }
  .app-category { font-size: 12px; margin-top: 4px; }
  .app-inspect { display: block; }
  .app-footer { margin-inline: 21px; min-height: 43px; }
  .recent-section { margin-top: 28px; }
  .content-footer { font-size: 12px; padding-top: 25px; flex-wrap: wrap; }
  .empty-state { min-height: 112px; }
  .entry-details { grid-template-columns: 1fr; gap: 18px; }
  .entry-details > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .entry-details dt { margin: 0; flex-shrink: 0; }
  .entry-details dd { text-align: right; }
  .module-heading { margin-top: 0; gap: 16px; }
  .module-heading .app-icon { width: 54px; height: 54px; }
  .module-heading h1 { font-size: 24px; }
  .module-categories { font-size: 13px; }
  .recent-row { grid-template-columns: minmax(0, 1fr) 70px 30px; gap: 8px; }
  .recent-time { font-size: 12px; }
  .collapsed .brand { padding-inline: 12px; }
  .collapsed .brand-name, .collapsed .nav-item span, .collapsed .profile-copy, .collapsed .profile-settings { display: revert; }
  .collapsed .profile-copy { display: flex; }
  .collapsed .nav-item { justify-content: flex-start; padding-inline: 15px; }
  .collapsed .nav-label { font-size: 12px; height: auto; padding: 30px 16px 10px; margin: 0; }
  .collapsed .nav-label::after { display: none; }
  .collapsed .workspace-profile { justify-content: flex-start; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
