/* Shared Eurion workspace proportions, based on the Euro Support product family.
   Component colours continue to come from monochrome-theme.css. */
:root { --client-sidebar-width: 264px; --client-topbar-height: 60px; }
body.client-admin-body { font-family: "Inter", sans-serif; -webkit-font-smoothing: antialiased; }
.client-admin-body .client-sidebar,
.client-admin-body .client-topbar,
.client-admin-body .client-sidebar__brand,
.client-admin-body .client-sidebar__footer { border-color: #181818 !important; box-shadow: none; }
.client-admin-body .client-sidebar__brand { padding: 0 24px; flex-shrink: 0; }
.client-admin-body .client-sidebar__logo-full { width: 184px; height: auto; max-height: 42px; }
.client-admin-body .client-sidebar__nav { padding: 24px 12px 18px; }
.client-admin-body .client-sidebar__section + .client-sidebar__section { margin-top: 28px; }
.client-admin-body .client-sidebar__label { margin: 0 10px 12px; font: 700 10px/1.4 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.client-admin-body .client-sidebar__link,
.client-admin-body .client-sidebar__group-toggle { min-height: 42px; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.client-admin-body .client-sidebar__link.active,
.client-admin-body .client-sidebar__group-toggle.active { background: #171717 !important; }
.client-admin-body .client-sidebar__group-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.client-admin-body .client-sidebar__group-main { gap: 12px; }
.client-admin-body .workspace-nav-chevron { font-size: 12px; color: #7c828a; transition: transform .2s; }
.client-admin-body .client-sidebar__group-toggle[aria-expanded="true"] .workspace-nav-chevron { transform: rotate(180deg); }
.client-admin-body .client-sidebar__sublink { min-height: 32px; padding-top: 7px; padding-bottom: 7px; font-size: 12px; border-radius: 8px; }
.client-admin-body .client-sidebar__submenu { margin: 4px 0 10px 18px; }
.client-admin-body .client-sidebar__submenu::before { background: #242424; }
.client-admin-body .client-sidebar__footer { padding: 12px; }
.client-admin-body .client-sidebar__profile-link { padding: 8px 10px; }
.client-admin-body .client-topbar { padding: 0 28px; }
.client-admin-body .client-topbar__eyebrow { font: 700 9px/1.2 "Inter", sans-serif; letter-spacing: .12em; }
.client-admin-body .client-topbar__title { margin-top: 3px; font-size: 14px; line-height: 1.2; letter-spacing: -.02em; }
.client-admin-body .client-topbar__actions { gap: 10px; }
.client-admin-body .client-sidebar-backdrop { background: rgba(0, 0, 0, .72); }
.workspace-account { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 14px; border-radius: 12px; background: #111; color: #eee; text-decoration: none; }
.workspace-account > i { font-size: 20px; color: #999; }
.workspace-account > i:last-child { font-size: 13px; margin-left: 10px; }
.workspace-account small, .workspace-account strong { display: block; line-height: 1.25; }
.workspace-account small { font-size: 9px; color: #929292; }
.client-topbar .workspace-account strong { font-size: 11px; font-weight: 600; color: #e6e6e6; }
.workspace-account:hover { background: #1a1a1a; color: white; }
.client-admin-body .client-user-button { min-height: 42px; height: 42px; border-radius: 12px; }
.client-admin-body .client-page { padding: 32px; }
.client-admin-body .client-page-header { margin-bottom: 26px; }
.client-admin-body .client-page-kicker { margin-bottom: 10px; font: 700 10px/1.4 "Inter", sans-serif; letter-spacing: .13em; text-transform: uppercase; color: #8b8f95; }
.client-admin-body .client-page-title { font: 700 clamp(24px, 2vw, 30px)/1.2 "Inter", sans-serif; letter-spacing: -.045em; }
.client-admin-body .client-page-description { margin-top: 12px; color: #96999e; font-size: 13px; line-height: 1.6; }
.client-admin-body .portal-page { max-width: 1504px; }
.client-admin-body .portal-panel,
.client-admin-body .portal-stat-card { border-radius: 18px; box-shadow: none; }
.client-admin-body .portal-panel-header h2 { font-size: 18px; letter-spacing: -.03em; }
.client-admin-body .portal-panel-header small { color: var(--eurion-blue-hover); }

/* Overview uses existing modules and real account data; no synthetic activity. */
.client-admin-body .workspace-overview { padding-top: 36px; padding-bottom: 52px; }
.workspace-welcome { align-items: flex-start; }
.workspace-badge { display: inline-flex; padding: 7px 11px; border-radius: 20px; background: #161616; color: #a5a5a5; font-size: 10px; }
.workspace-setup, .workspace-panel, .workspace-shortcut { background: #0b0b0b; border-radius: 18px; }
.workspace-setup { margin: 0 0 24px; }
.workspace-setup summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; cursor: pointer; list-style: none; border-radius: inherit; }
.workspace-setup summary::-webkit-details-marker { display: none; }
.workspace-eyebrow { display: block; margin-bottom: 8px; font-size: 9px; font-weight: 750; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: #38b5ff; }
.workspace-setup h2, .workspace-panel h2 { margin: 0; color: #f5f5f5; font: 650 19px/1.35 "Inter", sans-serif; letter-spacing: -.035em; }
.workspace-setup p, .workspace-panel header p { margin: 8px 0 0; color: #96999e; font-size: 12px; line-height: 1.6; }
.workspace-setup__hint { display: flex; align-items: center; gap: 14px; color: #a1a1a1; font-size: 11px; white-space: nowrap; }
.workspace-setup__hint i { transition: transform .2s; }
.workspace-setup[open] .workspace-setup__hint i { transform: rotate(180deg); }
.workspace-setup__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 26px 24px; }
.workspace-setup__links a { display: flex; align-items: center; gap: 9px; padding: 14px; border-radius: 10px; background: #141414; color: #dedede; text-decoration: none; font-size: 11px; }
.workspace-setup__links a > i:first-child { color: #38b5ff; font-size: 18px; }
.workspace-setup__links a > i:last-child { margin-left: auto; }
.workspace-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.workspace-shortcut { display: flex; align-items: flex-start; gap: 14px; padding: 25px 22px; color: #f5f5f5; text-decoration: none; min-width: 0; transition: background .18s; }
.workspace-shortcut__icon { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #f1f1f1; color: #181818; font-size: 24px; }
.workspace-shortcut > div { min-width: 0; }
.workspace-shortcut small { display: block; margin: 0 0 6px; color: #929292; font: 500 9px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.workspace-shortcut h2 { margin: 0; color: #f5f5f5; font: 650 23px/1.1 "Inter", sans-serif; letter-spacing: -.045em; }
.workspace-shortcut p { margin: 14px 0 0; color: #96999e; font-size: 11px; line-height: 1.5; }
.workspace-shortcut__arrow { margin-left: auto; align-self: center; color: #929292; font-size: 17px; }
.workspace-shortcut:hover { color: white; background: #131313; }
.workspace-shortcut:hover .workspace-shortcut__arrow { color: #38b5ff; }
.workspace-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.workspace-panel { padding: 24px; min-width: 0; }
.workspace-panel header { margin-bottom: 22px; }
.workspace-resource-list { display: grid; gap: 8px; }
.workspace-resource-list a { display: flex; gap: 13px; align-items: center; padding: 12px; border-radius: 12px; background: #030303; color: #e9e9e9; text-decoration: none; }
.workspace-resource-list a > span:nth-child(2) { flex: 1; min-width: 0; }
.workspace-resource-list a strong, .workspace-resource-list a small { display: block; }
.workspace-resource-list a strong { font-size: 12px; font-weight: 600; line-height: 1.4; }
.workspace-resource-list a small { margin-top: 4px; font-size: 11px; line-height: 1.5; color: #96999e; }
.workspace-resource-list a > i { font-size: 16px; color: #737373; }
.workspace-resource-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: #141414; color: #1aa5ff; font-size: 21px; }
.workspace-resource-list a:hover, .workspace-setup__links a:hover { background: #181818; color: white; }

/* Authentication carries the same quiet surfaces and typography. */
.auth-layout { font-family: "Inter", sans-serif; }
.auth-layout .auth-panel { background: #0b0b0b; border: 1px solid #1c1c1c; border-radius: 22px; box-shadow: none; }
.auth-layout .auth-panel__heading h1 { letter-spacing: -.04em; }
.auth-layout .auth-submit, .auth-layout .auth-input { border-radius: 11px; }
.auth-layout .auth-input { border: 1px solid #252525; }
.auth-layout :is(a, button, input):focus-visible { outline: 2px solid #38b5ff; outline-offset: 3px; }

@media (min-width: 1200px) {
    html.client-sidebar-is-collapsed { --client-sidebar-width: 76px; }
    html.client-sidebar-is-collapsed .workspace-nav-chevron { display: none; }
    html.client-sidebar-is-collapsed .client-sidebar__group-toggle { justify-content: center; }
}
@media (max-width: 1599px) { .workspace-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) {
    .client-admin-body .client-page { padding: 26px 24px; }
    .client-admin-body .client-topbar { padding: 0 20px; }
}
@media (max-width: 767.98px) {
    .client-admin-body .client-page { padding: 24px 18px; }
    .client-admin-body .client-page-title { font-size: 25px; }
    .client-admin-body .client-topbar { padding: 0 14px; }
    .client-admin-body .client-topbar__context { display: block; }
    .client-admin-body .client-topbar__eyebrow,
    .client-admin-body .client-topbar__title { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .workspace-account { display: none; }
    .workspace-detail-grid, .workspace-setup__links { grid-template-columns: 1fr; }
    .workspace-setup summary { display: block; padding: 22px; }
    .workspace-setup__hint { margin-top: 16px; justify-content: space-between; }
    .workspace-setup__links { padding: 0 22px 22px; }
    .workspace-shortcuts { gap: 12px; }
    .workspace-shortcut { padding: 18px 14px; gap: 12px; flex-wrap: wrap; }
    .workspace-shortcut > div { flex-basis: calc(100% - 58px); }
    .workspace-shortcut__arrow { display: none; }
    .workspace-shortcut h2 { font-size: 20px; }
    .workspace-shortcut__icon { flex-basis: 36px; height: 36px; font-size: 21px; border-radius: 10px; }
    .workspace-panel { padding: 22px 18px; }
    .workspace-setup h2, .workspace-panel h2 { font-size: 18px; }
}
@media (max-width: 420px) {
    .workspace-shortcuts { grid-template-columns: 1fr; }
    .workspace-shortcut { flex-wrap: nowrap; }
    .workspace-shortcut > div { flex-basis: auto; }
    .workspace-shortcut p { margin-top: 8px; }
    .workspace-shortcut__arrow { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .client-admin-body *, .client-admin-body *::before, .client-admin-body *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
