@charset "UTF-8";

:root {
  color-scheme: light;
  --navy: #192b38;
  --navy-deep: #13232e;
  --ink: #243744;
  --muted: #62717c;
  --line: #e4e9eb;
  --canvas: #f5f7f8;
  --amber: #e5b669;
  --white: #fff;
  --radius: 12px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, select { border-radius: 6px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a77524; outline-offset: 4px; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -90px; padding: 10px 16px; background: var(--white); border: 2px solid var(--navy); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; display: flex; flex-direction: column; padding: 35px 24px 26px; background: var(--navy); color: #ecf1f4; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; width: fit-content; }
.brand-mark { display: grid; place-items: center; height: 40px; width: 40px; flex: 0 0 40px; border: 1px solid #72808a; font-size: 27px; line-height: 1; font-weight: 600; color: var(--amber); }
.brand-name { font-size: 24px; font-weight: 650; letter-spacing: 4px; line-height: 1.08; }
.brand-name > span { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2.15px; margin-top: 5px; }
.sidebar-section-label { color: #97a9b5; font-size: 10px; letter-spacing: 1.75px; margin: 58px 14px 16px; font-weight: 600; }
.primary-nav { display: flex; flex-direction: column; gap: 7px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 6px; text-decoration: none; color: #beccd5; font-weight: 500; }
.nav-link > svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.nav-link:hover { background: #223b4b; color: #fff; }
.nav-link.is-active { background: #304553; color: #fff; box-shadow: inset 3px 0 0 var(--amber); }
.nav-link.is-active > svg { color: var(--amber); }
.sidebar-footer { margin-top: auto; padding: 80px 13px 0; color: #afbec8; font-size: 11px; }
.sidebar-rule { display: block; width: 26px; height: 2px; margin-bottom: 18px; background: var(--amber); }
.sidebar-footer > span:last-child { display: inline-block; margin-top: 8px; color: #97a9b5; font-size: 10px; }
.workspace { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.workspace-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; min-height: 80px; padding: 17px 42px; background: var(--white); border-bottom: 1px solid var(--line); }
.workspace-label { color: #5b6b75; font-size: 12px; font-weight: 500; }
.header-controls { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 24px; min-width: 0; max-width: 100%; margin-left: auto; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; min-width: 0; max-width: 100%; }
.account-link { display: flex; min-width: 0; align-items: center; gap: 10px; text-decoration: none; font-size: 12px; font-weight: 600; }
.account-name { max-width: 230px; overflow-wrap: anywhere; }
.language-selector { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; max-width: 100%; font-size: 11px; }
.language-selector label { color: #526571; font-weight: 500; }
.language-selector select { min-width: 86px; max-width: 112px; min-height: 34px; padding: 5px 8px; color: var(--ink); background: var(--white); border: 1px solid #83929b; }
.language-selector select:hover { border-color: #687e8c; }
.language-apply { min-height: 34px; padding: 5px 10px; color: #415c6d; background: #f5f8f9; border: 1px solid #83929b; font-size: 11px; font-weight: 600; }
.language-apply:hover { background: #eaf0f3; border-color: #687e8c; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; color: #435967; background: #edf1f3; border: 1px solid #e1e7eb; border-radius: 50%; font-size: 12px; font-weight: 600; }
.button-quiet { border: 0; background: transparent; color: #526571; padding: 8px 0; font-size: 12px; white-space: nowrap; }
.button-quiet:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.main-content { width: 100%; max-width: 1600px; flex: 1; padding: 44px 42px 32px; margin: 0 auto; }
.main-content:focus, .public-layout:focus { outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.7px; color: var(--muted); line-height: 1.6; }
.page-heading h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.8px; margin-top: 9px; overflow-wrap: anywhere; }
.page-description { margin-top: 10px; font-size: 13px; color: var(--muted); }
.page-tag { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; padding: 5px 11px; border-radius: 5px; color: #667983; font-size: 10px; white-space: nowrap; }
.tag-dot { width: 5px; height: 5px; border-radius: 50%; background: #b48a49; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 27px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { font-size: 13px; font-weight: 600; }
.panel-caption { font-size: 10px; color: var(--muted); }
.empty-state { text-align: center; padding: 42px 24px 66px; }
.empty-illustration { width: 208px; height: 154px; margin: 0 auto 20px; }
.illustration-grid { stroke: #e7edef; stroke-width: 1; fill: none; }
.illustration-shadow { fill: #f1f4f5; }
.illustration-left { fill: #f1f5f6; stroke: #a4b4bf; stroke-width: 1.15; stroke-linejoin: round; }
.illustration-right { fill: #e7eef1; stroke: #a4b4bf; stroke-width: 1.15; stroke-linejoin: round; }
.illustration-top { fill: #fff; stroke: #a4b4bf; stroke-width: 1.15; stroke-linejoin: round; }
.illustration-detail { fill: none; stroke: #cad6dc; stroke-width: 1; }
.illustration-accent { fill: #f2dfbf; stroke: #c19b63; stroke-width: 1; }
.illustration-accent-line { stroke: #c19b63; stroke-width: 1.2; fill: none; }
.empty-state .eyebrow { font-size: 9px; color: #8b6837; }
.empty-state h2 { font-size: 23px; font-weight: 600; letter-spacing: -0.45px; margin: 9px 0 12px; }
.empty-state > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.85; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 11px 16px; min-height: 42px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background-color 120ms ease, border-color 120ms ease; }
.button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: #2b4557; }
.button-secondary { border-color: #d9e1e5; background: #fff; color: #415c6d; }
.button-secondary:hover { background: #f5f8f9; border-color: #8fa4b2; }
.button-full { width: 100%; }
.empty-state .button { margin-top: 26px; }
.workspace-note { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); margin: 23px 3px; font-size: 11px; }
.workspace-note svg { flex: 0 0 15px; width: 15px; height: 18px; fill: none; stroke: #80919c; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.workspace-note a { color: #526a78; }
.workspace-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 19px 42px; color: var(--muted); font-size: 10px; border-top: 1px solid var(--line); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.profile-identity { display: flex; gap: 16px; align-items: center; padding: 27px; }
.avatar-large { width: 54px; height: 54px; font-size: 22px; }
.profile-identity h3 { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.profile-identity p { font-size: 12px; margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
.details-list { margin: 0; padding: 0 27px 8px; }
.details-list > div { display: grid; grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1.3fr); gap: 18px; padding: 17px 0; border-top: 1px solid #eef1f3; font-size: 12px; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }
.panel-footnote { padding: 17px 27px; background: #fafbfc; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.panel-body { padding: 27px; }
.field-caption { font-size: 9px; color: var(--muted); font-weight: 600; letter-spacing: 1.4px; margin-bottom: 14px; }
.role-list { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0 0 23px; padding: 0; }
.role-list li { font-size: 11px; background: #eef3f6; color: #3d5a6d; padding: 5px 10px; border: 1px solid #e1e8ed; border-radius: 5px; overflow-wrap: anywhere; }
.role-list .role-empty { color: var(--muted); background: #f6f7f8; }
.muted-text, .access-note { font-size: 12px; color: var(--muted); line-height: 1.8; }
.access-note { margin-bottom: 14px; color: #405a6b; }
.messages { margin-bottom: 24px; }
.notice { border: 1px solid #d3dfe4; padding: 12px 16px; border-radius: 6px; background: #fff; }
.public-shell { display: flex; flex-direction: column; min-height: 100vh; }
.public-language-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; padding: 12px 42px; background: #fff; border-bottom: 1px solid var(--line); }
.public-layout { display: flex; flex: 1; min-height: calc(100vh - 59px); background: #fff; }
.login-story { width: 45%; max-width: 780px; padding: 48px 58px 30px; background: var(--navy); color: #fff; display: flex; flex-direction: column; overflow: hidden; }
.login-story-content { margin: auto 0; padding: 68px 0 40px; }
.login-story-content > .eyebrow { color: var(--amber); font-size: 9px; }
.login-story-title { font-weight: 450; font-size: clamp(34px, 3.3vw, 52px); line-height: 1.19; letter-spacing: -1.7px; margin-top: 20px; }
.login-story-content > p:not(.eyebrow):not(.login-story-title) { color: #b8c8d2; margin-top: 24px; font-size: 13px; line-height: 1.9; }
.architectural-art { width: 100%; max-width: 465px; margin: 24px 0 -14px; }
.art-ground { fill: none; stroke: #314854; stroke-width: 1; }
.art-building { fill: #203746; stroke: #68808e; stroke-width: 1; stroke-linejoin: round; }
.art-lines { fill: none; stroke: #66808f; stroke-width: 1; }
.art-accent { fill: #385060; fill-opacity: 0.7; stroke: #caa36b; stroke-width: 1.3; }
.art-outline { fill: none; stroke: #a68d66; stroke-width: 1; }
.login-story-footer { display: flex; justify-content: space-between; gap: 15px; color: #a1b3bf; font-size: 10px; padding-top: 24px; border-top: 1px solid #3a4d58; }
.login-story-footer span { color: #98aab5; }
.login-area { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; padding: 70px 52px 30px; }
.login-card { width: 100%; max-width: 368px; margin: auto; padding: 30px 0; }
.login-card > .eyebrow { color: #8b6837; font-size: 9px; }
.login-card h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.65px; margin: 12px 0; }
.login-description { color: var(--muted); font-size: 13px; }
.login-form { display: flex; flex-direction: column; gap: 21px; margin-top: 32px; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 12px; }
.form-field input { width: 100%; border: 1px solid #83929b; height: 45px; padding: 9px 12px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px #192b3805; }
.form-field input:hover { border-color: #687e8c; }
.form-field input:focus { border-color: #9e7a3e; }
.form-field input[aria-invalid="true"] { border-color: #b74343; }
.login-form .button { min-height: 45px; margin-top: 6px; justify-content: space-between; padding-left: 18px; padding-right: 18px; }
.login-help { display: flex; align-items: flex-start; gap: 11px; margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.login-help svg { width: 16px; height: 19px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: #83929b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-area-footer { text-align: center; color: var(--muted); font-size: 10px; margin-top: 30px; }
.form-alert { background: #fff3f2; border: 1px solid #efcdc8; border-radius: 6px; padding: 12px 14px; font-size: 12px; color: #923c36; margin-top: 25px; }
.field-errors { color: #923c36; font-size: 12px; margin-top: 7px; }
.standalone-page { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: calc(100vh - 59px); padding: 40px 24px; background: var(--canvas); }
.brand-dark { color: var(--navy); }
.brand-dark .brand-mark { background: var(--navy); border-color: var(--navy); }
.standalone-card, .error-content { max-width: 540px; text-align: center; padding: 52px 24px; margin: auto; }
.standalone-card { margin: 24px auto 0; }
.error-content { margin-top: 60px; }
.standalone-page .error-content { margin-top: 0; margin-bottom: 0; }
.standalone-card h1, .error-content h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.5px; margin: 12px 0 16px; }
.standalone-card > p:not(.eyebrow), .error-content > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.standalone-card .button, .error-content .button { margin-top: 26px; }

@media (min-width: 1600px) {
  .main-content { padding-top: 55px; }
  .empty-state { padding-top: 65px; padding-bottom: 85px; }
}

@media (max-width: 1100px) {
  .sidebar { width: 216px; flex-basis: 216px; padding-left: 18px; padding-right: 18px; }
  .workspace-header { padding-left: 28px; padding-right: 28px; }
  .main-content { padding-left: 28px; padding-right: 28px; }
  .workspace-footer { padding-left: 28px; padding-right: 28px; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .login-story { padding-left: 36px; padding-right: 36px; }
  .login-area { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 760px) {
  .app-layout { display: block; }
  .sidebar { width: 100%; padding: 19px 22px 0; }
  .sidebar > .brand .brand-mark { height: 32px; width: 32px; flex-basis: 32px; font-size: 23px; }
  .sidebar > .brand .brand-name { font-size: 20px; }
  .sidebar > .brand .brand-name > span { font-size: 8px; letter-spacing: 1.6px; }
  .sidebar-section-label, .sidebar-footer { display: none; }
  .primary-nav { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
  .nav-link { padding: 11px 14px; border-radius: 5px 5px 0 0; font-size: 12px; gap: 9px; }
  .nav-link.is-active { box-shadow: inset 0 -3px 0 var(--amber); }
  .nav-link > svg { width: 16px; height: 16px; }
  .workspace { min-height: calc(100vh - 118px); }
  .workspace-header { padding: 12px 22px; min-height: 60px; gap: 12px; }
  .workspace-label { font-size: 10px; }
  .account-actions { gap: 15px; }
  .account-name { max-width: 135px; font-size: 11px; }
  .avatar { width: 28px; height: 28px; font-size: 11px; }
  .button-quiet { font-size: 11px; }
  .main-content { padding: 29px 22px 24px; }
  .page-heading { margin-bottom: 24px; }
  .page-heading h1 { font-size: 25px; }
  .page-tag { display: none; }
  .panel-heading { padding: 18px 21px; }
  .empty-state { padding: 28px 19px 43px; }
  .empty-state h2 { font-size: 21px; }
  .workspace-footer { padding-left: 22px; padding-right: 22px; }
  .public-layout { flex-direction: column; }
  .public-language-bar { padding-left: 22px; padding-right: 22px; }
  .login-story { width: 100%; max-width: none; padding: 25px 28px; }
  .login-story-content, .login-story-footer { display: none; }
  .login-area { padding: 28px 28px 24px; min-height: calc(100vh - 149px); }
  .login-card { padding: 20px 0; }
  .login-card h1 { font-size: 25px; }
  .login-area-footer { margin-top: 20px; }
  .profile-identity { padding: 23px; }
  .avatar-large { width: 48px; height: 48px; font-size: 20px; }
  .details-list { padding-left: 23px; padding-right: 23px; }
  .details-list > div { grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr); gap: 14px; }
  .panel-footnote, .panel-body { padding-left: 23px; padding-right: 23px; }
  .standalone-card h1, .error-content h1 { font-size: 25px; }
}

@media (max-width: 420px) {
  .workspace-label { display: none; }
  .workspace-header { justify-content: flex-end; }
  .account-name { max-width: 150px; }
  .panel-caption { display: none; }
  .details-list > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .sidebar, .workspace-header, .workspace-footer, .public-language-bar, .button, .skip-link { display: none; }
  body, .workspace, .panel { background: #fff; color: #000; }
  .main-content { padding: 0; }
  .panel { break-inside: avoid; }
}
