/* Styles scoped to the company entry page, separate from the points module. */
body.is-workbench { margin: 0; background: #f6f7fb; }
body.is-workbench .app-shell { display: none !important; }
.enterprise-workbench[hidden] { display: none; }
.enterprise-workbench { --ink: #242b40; --muted: #727b8e; min-height: 100dvh; display: flex; flex-direction: column; box-sizing: border-box; color: var(--ink); background: #f6f7fb; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-font-smoothing: antialiased; }
.enterprise-workbench *, .enterprise-workbench *::before, .enterprise-workbench *::after { box-sizing: border-box; }
.workbench-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; padding: 20px max(28px, calc((100vw - 1120px) / 2)); background: #fff; border-bottom: 1px solid #e9ecf3; }
.workbench-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 18px; font-weight: 650; text-decoration: none; line-height: 1.5; }
.workbench-brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: #303951; }
.workbench-brand-mark svg { width: 29px; height: 29px; }
.workbench-brand small { display: block; margin-top: 3px; font-size: 9px; font-weight: 500; letter-spacing: 1.8px; color: #8490a3; }
.workbench-header-note { display: flex; align-items: center; gap: 14px; color: #586277; font-size: 13px; }
.workbench-header-note span { padding-left: 14px; border-left: 1px solid #e0e4ec; color: #9099ab; letter-spacing: 1.5px; font-size: 10px; }
.workbench-content { width: 100%; max-width: 1176px; margin: 0 auto; padding: 52px 28px 28px; flex: 1; }
.workbench-intro { margin-bottom: 40px; }
.workbench-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #656d84; font-size: 12px; font-weight: 500; letter-spacing: 1px; }
.workbench-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: #7774dc; }
.workbench-intro h1 { margin: 12px 0; color: #242b40; font-size: clamp(32px, 3.5vw, 44px); font-weight: 650; line-height: 1.35; letter-spacing: 1px; }
.workbench-title-dot { color: #7971dc; }
.workbench-intro p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.workbench-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.workbench-section-heading h2 { margin: 0; font-size: 13px; font-weight: 600; color: #586277; }
.workbench-section-heading > span { font-size: 11px; color: #8490a3; }
.workbench-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.workbench-entry { --accent: #6259d1; --accent-hover: #5148ba; --tint: #efedfd; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 32px 24px; border: 1px solid #e4e7f0; border-radius: 22px; background: #fff; box-shadow: 0 6px 24px #242b4004; transition: box-shadow .2s, border-color .2s; }
.workbench-entry:hover { border-color: #d0d2e2; box-shadow: 0 12px 36px #242b4009; }
.points-entry { --accent: #148477; --accent-hover: #096d62; --tint: #e7f4f0; }
.workbench-entry-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.workbench-icon { display: grid; place-items: center; width: 60px; height: 60px; color: var(--accent); background: var(--tint); border-radius: 18px; }
.workbench-icon svg { width: 32px; height: 32px; }
.workbench-number { color: #656f84; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.workbench-number span { margin-left: 6px; font-size: 9px; font-weight: 400; letter-spacing: 1.5px; color: #9199aa; }
.workbench-entry h2 { margin: 24px 0 10px; color: var(--ink); font-size: 27px; line-height: 1.4; font-weight: 650; letter-spacing: .5px; }
.workbench-entry p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.workbench-features { display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; margin: 22px 0 26px; padding: 0; }
.workbench-features li { display: flex; align-items: center; gap: 7px; color: #5f697d; font-size: 12px; line-height: 1.5; }
.workbench-features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .65; }
.workbench-entry-bottom { margin-top: auto; padding-top: 22px; border-top: 1px solid #eef0f5; }
.workbench-enter { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 50px; padding: 13px 18px; border: 0; border-radius: 11px; background: var(--accent); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.6; cursor: pointer; text-decoration: none; transition: background .2s; }
.workbench-enter:hover { background: var(--accent-hover); }
.workbench-enter svg { width: 21px; height: 21px; flex-shrink: 0; transition: transform .2s; }
.workbench-enter:hover svg { transform: translateX(3px); }
.workbench-entry-bottom small { display: block; margin-top: 12px; text-align: center; font-size: 11px; line-height: 1.6; color: #848da0; }
.workbench-help { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px 0 0; color: #828b9d; font-size: 11px; line-height: 1.8; }
.workbench-help svg { width: 17px; height: 17px; flex-shrink: 0; }
.workbench-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; width: calc(100% - 56px); max-width: 1120px; margin: 10px auto 0; padding: 20px 0 24px; border-top: 1px solid #e6e9f0; font-size: 10px; line-height: 1.8; color: #8b94a5; }
.workbench-footer a { color: inherit; text-decoration: none; }
.enterprise-workbench :focus-visible { outline: 3px solid #a69fea; outline-offset: 4px; }
body.is-workbench #authGate .auth-panel { border: 1px solid #e4e7f0; border-radius: 22px; box-shadow: 0 24px 80px #242b4020; }
@media (max-width: 640px) {
  .workbench-header { min-height: 78px; padding: 16px 22px; }
  .workbench-brand { font-size: 16px; gap: 10px; }
  .workbench-brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .workbench-brand small { font-size: 8px; letter-spacing: 1.3px; }
  .workbench-header-note { font-size: 11px; }
  .workbench-header-note span { display: none; }
  .workbench-content { padding: 34px 20px 22px; }
  .workbench-intro { margin-bottom: 28px; }
  .workbench-intro p { font-size: 12px; }
  .workbench-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 6px; }
  .workbench-section-heading > span { font-size: 10px; }
  .workbench-entries { grid-template-columns: 1fr; gap: 18px; }
  .workbench-entry { padding: 24px; border-radius: 20px; }
  .workbench-icon { width: 52px; height: 52px; border-radius: 15px; }
  .workbench-entry h2 { margin-top: 20px; font-size: 25px; }
  .workbench-features { gap: 12px 18px; margin: 20px 0 22px; }
  .workbench-entry-bottom { padding-top: 20px; }
  .workbench-footer { width: calc(100% - 40px); justify-content: center; text-align: center; font-size: 10px; }
  .workbench-help { align-items: flex-start; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .workbench-entry, .workbench-enter, .workbench-enter svg { transition: none; }
}
