.workspace { display: block; background: #f3f6f8; }
.workspace-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: .75rem max(5vw, 1rem); background: #fff; border-bottom: 1px solid #d8dde5; }
.brand { display: grid; grid-template-columns: 180px 47px; align-items: center; gap: 2px; }
.brand > img:not(.workspace-vdwt-logo) { display: block; width: 180px; height: auto; }
.brand .logo { width: 180px; }
.brand .logo img { display: block; width: 100%; height: auto; }
.brand .workspace-vdwt-logo { display: block; width: 50%; height: auto; transform: translateY(-16px); }
.identity { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.users-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.users-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.users-heading .invite-tile { display: flex; align-items: center; justify-content: center; width: 150px; min-height: 72px; box-sizing: border-box; margin: 0; padding: 1rem; color: #000; text-align: center; text-decoration: none; }
.invite-tile:hover { background: #edf0f3; border-color: #226b68; }
.invite-content { text-align: center; }
.invite-content .account-form { margin-left: auto; margin-right: auto; }
.view-switch { display: flex; flex-wrap: wrap; gap: .5rem; }
.workspace .view-switch a[aria-current="page"] { background: #226b68; border-color: #226b68; color: #fff; }
.workspace main { box-sizing: border-box; position: static; width: min(1200px, 90vw); margin: 2rem auto; padding: 0 0 3rem; }
.workspace h1 { font-size: 2rem; margin: 1.5rem 0; }
.workspace h2 { font-size: 1.25rem; }
.workspace-navigation { background: #e4e7eb; border-bottom: 1px solid #cdd3da; padding: .75rem max(5vw, 1rem) 0; }
.workspace-tabs { display: flex; align-items: stretch; flex-wrap: wrap; gap: .4rem; }
.workspace-tabs > .personal-tab { margin-left: auto; }
.workspace-tabs > .management-tab { margin-left: auto; }
.workspace-tabs > .management-tab + .personal-tab { margin-left: 0; }
.workspace-tabs > a, .workspace-tab-group > summary { text-align: center; }
.personal-content { text-align: center; }
.personal-content .account-form { margin-left: auto; margin-right: auto; }
.personal-content .account-form input, .personal-content .account-form select { text-align: center; }
.personal-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 2rem auto; }
.personal-tiles .personal-tile { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 150px; max-width: 100%; min-height: 150px; margin: 0; color: #000; text-decoration: none; }
.workspace .personal-tile h2 { margin: 0; font-size: 1rem; font-weight: 400; }
.personal-tile:hover { background: #edf0f3; border-color: #226b68; }
@media (max-width: 480px) { .workspace-tabs > a, .workspace-tab-group > summary { padding: .3rem .55rem; } }
.workspace-tabs > a, .workspace-tab-group > summary { display: block; box-sizing: border-box; padding: .3rem 1.25rem; color: #253247; background: #d8dde3; border: 1px solid #c0c8d1; border-bottom: 0; border-radius: 7px 7px 0 0; text-decoration: none; cursor: pointer; list-style: none; }
.workspace-tab-group > summary::-webkit-details-marker { display: none; }
.workspace-tab-group > summary::after { content: " ▾"; }
.workspace-tabs > a[aria-current="page"], .workspace-tab-group[data-current="true"] > summary, .workspace-tab-group[open] > summary { background: #f3f6f8; color: #226b68; box-shadow: inset 0 3px #226b68; }
.workspace-tabs > a:hover, .workspace-tab-group > summary:hover { background: #f3f6f8; }
.workspace-tab-group { position: relative; }
.workspace-submenu { position: absolute; z-index: 10; top: 100%; left: 0; min-width: 220px; max-width: 80vw; padding: .4rem; background: #fff; border: 1px solid #cdd3da; border-radius: 0 0 7px 7px; box-shadow: 0 6px 16px #182e3d26; }
.workspace-submenu a { display: block; padding: .75rem; border-radius: 4px; color: #253247; text-decoration: none; }
.workspace-submenu a:hover, .workspace-submenu a[aria-current="page"] { background: #edf0f3; color: #226b68; }
.workspace-tab-group > summary:focus-visible { outline: 2px solid #226b68; outline-offset: 3px; }
.card { display: block; padding: 1.5rem; margin: 1.5rem 0; background: #fff; border: 1px solid #d8dde5; border-radius: 8px; }
.workspace .admin-action-tile { position: relative; box-sizing: border-box; min-height: 140px; padding-top: 2.5rem; justify-content: center; text-align: center; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.workspace .admin-action-tile h2 { min-width: 0; margin: 0; font-size: calc(6.25rem / 3); line-height: 1.15; overflow-wrap: anywhere; }
.admin-action-tile:hover { border-color: #028a51; box-shadow: 0 8px 24px rgb(2 138 81 / 14%); }
.admin-action-tile:focus-visible { outline: 3px solid #226b68; outline-offset: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.stat-grid a { color: #226b68; text-decoration: none; }
.stat-grid strong { display: block; font-size: 2.5rem; }
.account-form { max-width: 520px; }
.password-match { margin-top: .75rem; }
.password-match-track { height: 8px; overflow: hidden; border-radius: 4px; background: #e4e7eb; }
.password-match-fill { display: block; height: 100%; width: 0; background: #228247; }
.password-match-status { margin: .4rem 0 0; font-size: .9rem; color: #526674; }
.password-match.is-mismatch .password-match-fill { background: #b42332; }
.password-match.is-mismatch .password-match-status { color: #b42332; }
.password-rules { width: fit-content; max-width: 100%; box-sizing: border-box; margin: .65rem auto 1rem; padding-left: 1.25rem; text-align: left; font-size: .9rem; line-height: 1.6; color: #526674; }
.account-form label { display: block; margin: 1rem 0 .4rem; }
.account-form input, .account-form select, .account-form textarea { box-sizing: border-box; width: 100%; padding: .7rem; border: 1px solid #b7c4ce; border-radius: 5px; font: inherit; background: #fff; }
.account-form textarea { resize: vertical; text-align: left; line-height: 1.5; }
.workspace button, .workspace .button { display: inline-block; border: 1px solid #226b68; border-radius: 5px; padding: .65rem 1rem; background: #226b68; color: #fff; font: inherit; cursor: pointer; text-decoration: none; }
.account-form button { margin-top: 1.25rem; }
.workspace .secondary { color: #253247; background: #edf0f3; border-color: #cdd3da; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: .85rem; border-bottom: 1px solid #d8dde5; text-align: left; }
th { background: #e4e7eb; }
.actions { min-width: 160px; }
.actions .button { margin: .2rem; font-size: .9rem; }
.user-actions { display: grid; grid-template-rows: repeat(2, max-content); grid-auto-flow: column; grid-auto-columns: max-content; align-items: center; gap: .2rem .35rem; }
.workspace .user-actions .button { display: inline-flex; box-sizing: border-box; align-items: center; justify-content: center; height: 1.25rem; min-height: 0; margin: 0; padding: 0 .45rem; font-size: .9rem; line-height: 1.15; white-space: nowrap; }
.error { color: #a51d2d; }
.notice { padding: 1rem; background: #fff5dc; border-left: 3px solid #bb8521; }
.invitation-link { overflow-wrap: anywhere; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #226b68; outline-offset: 3px; }

.workspace-modules { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-bottom: .65rem; }
.workspace-modules > a { display: block; box-sizing: border-box; padding: .55rem 1rem; border: 1px solid #b8cfca; border-radius: 8px; background: #f3f6f8; color: #175d48; font-weight: 600; text-decoration: none; }
.workspace-modules > a:hover { background: #e1f1eb; }
.workspace-modules > a[aria-current=true] { border-color: #226b68; background: #226b68; color: #fff; box-shadow: 0 2px 6px rgb(34 107 104 / 16%); }
.workspace-modules > .module-personal { margin-left: auto; color: #253247; font-weight: 400; }
.workspace-modules > .module-personal[aria-current=page] { background: #d6e6e1; border-color: #226b68; }
.workspace-subtabs > a[aria-current=page] { background: #f3f6f8; box-shadow: inset 0 2px #659c8b; }
.workspace-modules > a:focus-visible { outline: 2px solid #226b68; outline-offset: 3px; }
@media (max-width: 640px) { .workspace-modules { gap: .35rem; } .workspace-modules > a { padding: .45rem .65rem; font-size: .9rem; } }

.password-rules[data-password-policy] { list-style: none; padding-left: 0; }
.password-rules [data-password-rule]::before { content: '\25cb'; display: inline-block; width: 1.4em; }
.password-rules .is-met { color: #157344; }
.password-rules .is-met::before { content: '\2713'; }
.password-rules .is-unmet { color: #b42332; }
.password-policy-status { margin-top: -.5rem; font-size: .9rem; color: #526674; }
