:root { --navy: #071d35; --blue: #0d6efd; --soft-blue: #eaf2ff; --ink: #172435; --muted: #66758a; --line: #dce4ee; --page: #f6f8fb; --surface: #fff; }
[data-theme="dark"] { --navy: #051425; --blue: #58a6ff; --soft-blue: #172f4d; --ink: #e6edf7; --muted: #aab8cb; --line: #2c3c52; --page: #101824; --surface: #182433; }
html { font-size: 16px; min-height: 100%; overflow-x: hidden; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; overflow-x: hidden; overflow-y: auto; color: var(--ink); background: var(--page); font-family: Inter, "Segoe UI", sans-serif; }
.team-nav { background: var(--navy); min-height: 72px; box-shadow: 0 2px 14px rgba(7,29,53,.16); }
.navbar-brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: -.02em; }.navbar-brand small { color: #8dbdff; font-size: .72em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--blue); color: white; font-size: .72rem; letter-spacing: 0; }
.team-nav .nav-link { color: #cad7e7; padding: .45rem .7rem; font-size: .92rem; }.team-nav .nav-link:hover, .team-nav .nav-link:focus { color: white; }.team-nav .account-link { color: white; font-weight: 600; }.team-nav .btn-link { border: 0; text-decoration: none; }
.theme-toggle { margin: 0 .35rem; width: 34px; height: 34px; border: 1px solid #48617d; border-radius: 8px; color: #dce8f7; background: transparent; font-size: 1.1rem; line-height: 1; }.theme-toggle:hover { background: #183653; color: white; }
.app-content { flex: 1 0 auto; width: 100%; padding-top: 3.5rem; padding-bottom: 5rem; max-width: 1080px; }.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; }.page-heading h1 { margin: .2rem 0 .35rem; font-size: clamp(2rem,4vw,2.75rem); font-weight: 750; letter-spacing: -.045em; }.page-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }.eyebrow { margin: 0; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.app-card, .surface { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 6px 18px rgba(22,41,67,.05); }.app-card { transition: transform .16s ease, box-shadow .16s ease; }.app-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(22,41,67,.1); }.app-card .card-body { padding: 1.5rem; }.app-card .card-title { font-weight: 700; }.app-card .card-text { color: var(--muted) !important; min-height: 48px; }
.btn { border-radius: 8px; font-weight: 600; }.btn-primary { color: #fff !important; background: var(--blue); border-color: var(--blue); }.btn-primary:hover, .btn-primary:focus { color: #fff !important; background: #0b5ed7; border-color: #0b5ed7; }.btn-outline-primary { color: var(--blue); border-color: var(--blue); }.btn-outline-primary:hover, .btn-outline-primary:focus { color: #fff; background: var(--blue); border-color: var(--blue); }.surface { overflow: hidden; }.form-surface { max-width: 550px; padding: 1.5rem; }.wide-form { max-width: 700px; }.table { color: var(--ink); }.table th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }.table td, .table th { padding: 1rem; border-color: var(--line); }.role-pill { display: inline-block; padding: .2rem .55rem; border-radius: 99px; color: var(--blue); background: var(--soft-blue); font-size: .82rem; font-weight: 700; }.back-link { color: var(--blue); font-size: .9rem; text-decoration: none; }.footer { flex-shrink: 0; padding: 1.5rem 0; background: var(--surface); border-top: 1px solid var(--line); font-size: .85rem; }
[data-theme="dark"] .text-muted, [data-theme="dark"] .form-text { color: var(--muted) !important; } [data-theme="dark"] .form-control, [data-theme="dark"] .form-select { color: var(--ink); background: #101a27; border-color: var(--line); } [data-theme="dark"] .form-control:focus, [data-theme="dark"] .form-select:focus { color: var(--ink); background: #101a27; border-color: var(--blue); } [data-theme="dark"] .alert-info { color: #d5e8ff; background: #133454; border-color: #245b91; }
.portal-banner { margin-bottom: 1rem; padding: 1.15rem 1.25rem; border: 1px solid; border-radius: 14px; }.portal-banner-label { margin: 0 0 .25rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }.portal-banner h2 { margin: 0 0 .25rem; font-size: 1.1rem; font-weight: 750; }.portal-banner p:last-child { margin: 0; }.portal-banner-info { color: #0b4f86; background: #eaf5ff; border-color: #9acbf2; }.portal-banner-warning { color: #714e00; background: #fff4cf; border-color: #edcb68; }.portal-banner-critical { color: #8f1d2c; background: #ffeaed; border-color: #f1a6b0; }.banner-type { display: inline-block; padding: .2rem .55rem; border-radius: 99px; font-size: .78rem; font-weight: 700; text-transform: capitalize; }.banner-type-info { color: #0b4f86; background: #eaf5ff; }.banner-type-warning { color: #714e00; background: #fff4cf; }.banner-type-critical { color: #8f1d2c; background: #ffeaed; } [data-theme="dark"] .portal-banner-info { color: #d3edff; background: #123c61; border-color: #276a9f; } [data-theme="dark"] .portal-banner-warning { color: #ffeba6; background: #5b4300; border-color: #94700f; } [data-theme="dark"] .portal-banner-critical { color: #ffd9df; background: #651d2a; border-color: #a44858; } [data-theme="dark"] .banner-type-info { color: #d3edff; background: #123c61; } [data-theme="dark"] .banner-type-warning { color: #ffeba6; background: #5b4300; } [data-theme="dark"] .banner-type-critical { color: #ffd9df; background: #651d2a; }
@media (max-width: 767px) { .app-content { padding-top: 2rem; }.page-heading { align-items: start; flex-direction: column; }.team-nav .navbar-nav { padding: .75rem 0; } }

.admin-heading { margin-bottom: 1.25rem; }.admin-heading > .btn { flex: 0 0 auto; }
.admin-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.25rem; }.admin-steps > div { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.admin-steps span { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--blue); font-size: .78rem; font-weight: 800; }.admin-steps strong { font-size: .9rem; }.admin-steps small, .admin-list-title p, .access-card p { color: var(--muted); font-size: .82rem; margin: 0; }.admin-list { overflow: hidden; }.admin-list-title { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }.admin-list-title h2, .access-card h2 { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 750; }.status-dot { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; }.status-dot::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }.status-active { color: #21835b; }.status-locked { color: var(--muted); }.mobile-label { display: none; }.admin-actions { white-space: nowrap; }.app-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.access-card { display: flex; min-height: 220px; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.35rem; }.access-card .role-chip-row { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 28px; }.access-card .btn { margin-top: auto; }
@media (max-width: 767px) { .admin-heading > .btn { width: 100%; }.admin-steps, .app-access-grid { grid-template-columns: 1fr; }.admin-list-title { padding: 1rem; }.admin-list .table { min-width: 590px; }.mobile-label { display: block; margin-top: .15rem; color: var(--muted); font-size: .75rem; }.admin-actions .btn { margin-bottom: .3rem; } }
@media (max-width: 991px) { .admin-list .table { min-width: 0; width: 100%; table-layout: fixed; }.admin-list .table th:nth-child(1) { width: 38%; }.admin-list .table th:nth-child(2) { width: 17%; }.admin-list .table th:nth-child(3) { width: 20%; }.admin-list .table th:nth-child(4) { width: 25%; }.admin-list .table td { overflow-wrap: anywhere; }.admin-actions { white-space: normal; }.admin-actions .btn { margin-bottom: .3rem; } }
.admin-form-section { padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }.admin-form-section h2 { margin: 0 0 .25rem; font-size: 1.05rem; font-weight: 750; }.admin-form-section p { margin: 0 0 .85rem; color: var(--muted); font-size: .86rem; }
.registration-surface { width: 100%; }
.command-console { width: 100%; padding: 1.5rem; }
.command-console textarea { min-height: 8rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.command-result { width: 100%; margin-top: 1rem; padding: 1.5rem; }
.command-output { margin: 0; padding: 1rem; border-radius: 10px; background: var(--navy); color: #e6edf7; font-size: .85rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 34rem; overflow: auto; }
.password-toggle { min-width: 4.5rem; }
.registration-form .form-control { min-width: 0; min-height: 44px; color: var(--ink); background-color: var(--surface); border-color: var(--line); box-shadow: 0 1px 2px rgba(22, 41, 67, .04); }
.registration-form .form-control:focus { color: var(--ink); background-color: var(--surface); border-color: var(--blue); box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25); }
@media (max-width: 575px) { .app-content { padding-right: 1rem; padding-left: 1rem; }.registration-surface { padding: 1.25rem; border-radius: 10px; }.registration-form .form-control { font-size: 16px; } }
