/* Eskimo One - the shell look: the same palette and header band as the CRM / Logistics apps (assets/logistics.css there),
   so every module and the hub read as one product. Colours = the CRM's :root (--ew-*). */
:root { --ew-dark: #0B6478; --ew-teal: #0EA8C0; --ew-tint: #E3F4F8; --ew-navy: #16313d; --ew-mute: #6c7a84; --ew-amber: #B7791F; --ew-red: #B42318; --ew-green: #1F7A4D;
        --one-blue: var(--ew-dark); --one-ice: var(--ew-tint); }
body { background: #f4f7f9; min-height: 100vh; display: flex; flex-direction: column; color: var(--ew-navy); }
main { flex: 1; }
/* the header band: the apps' gradient (logistics.css .lg-top) */
.one-nav { background: radial-gradient(900px 260px at 88% -30%, rgba(255, 255, 255, .20), transparent 65%), linear-gradient(118deg, #07485a 0%, #0B6478 42%, #0E98B0 100%); box-shadow: 0 2px 10px rgba(7, 72, 90, .25); }
.one-nav .nav-link { color: rgba(255,255,255,.88); font-size: 15px; }   /* same numbers as assets/one-header.css, the apps' header */
.one-nav .nav-link:hover { color: #fff; }
.one-nav .navbar-brand { display: inline-flex; align-items: center; gap: .6rem; padding: .15rem 0; }
.one-nav .navbar-brand img { height: 34px; width: auto; display: block; }
.one-nav .navbar-brand span { font-size: 15px; font-weight: 500; letter-spacing: .02em; padding-left: .6rem; border-left: 1px solid rgba(255,255,255,.28); }
body.plain { background: radial-gradient(900px 260px at 88% -30%, rgba(255, 255, 255, .16), transparent 65%), linear-gradient(118deg, #07485a 0%, #0B6478 42%, #0E98B0 100%); }
.login-card { max-width: 420px; margin: 8vh auto; border: 0; box-shadow: 0 1rem 2.5rem rgba(7, 72, 90, .35); }
.login-card .card-header { background: var(--ew-navy); color: #fff; display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; }
.login-card .card-header img { height: 38px; width: auto; }
.login-card .card-header span { font-size: .9rem; opacity: .85; padding-left: .75rem; border-left: 1px solid rgba(255,255,255,.28); }
.btn-primary { background: var(--ew-dark); border-color: var(--ew-dark); }
.btn-primary:hover, .btn-primary:focus { background: #09525f; border-color: #09525f; }
.btn-outline-primary { color: var(--ew-dark); border-color: var(--ew-dark); }
.btn-outline-primary:hover { background: var(--ew-dark); border-color: var(--ew-dark); }
a { color: var(--ew-dark); }
.table-primary { --bs-table-bg: var(--ew-tint); }
.tile { display: block; text-decoration: none; color: inherit; border: 1px solid #d7e3e8; border-radius: .75rem; background: #fff; padding: 1.25rem; height: 100%; transition: box-shadow .15s, transform .15s; }
.tile:hover { box-shadow: 0 .5rem 1rem rgba(11,100,120,.18); transform: translateY(-2px); border-color: var(--ew-teal); }
.tile .bi { font-size: 2rem; color: var(--ew-dark); }
.tile .desc { color: var(--ew-navy); font-size: .9rem; line-height: 1.35; }
.tile .roles { color: var(--ew-mute); font-size: .78rem; }
.tile .roles .bi { font-size: .8rem; color: var(--ew-mute); }
.tile.disabled { opacity: .55; pointer-events: none; }
.totp-code { font-size: 1.6rem; letter-spacing: .4rem; text-align: center; }
.secret { font-family: ui-monospace, Consolas, monospace; font-size: 1.1rem; letter-spacing: .1rem; }
.table-sm td, .table-sm th { vertical-align: middle; }
.badge-role { background: var(--ew-tint); color: var(--ew-dark); border: 1px solid #bfdfe7; font-weight: 500; }
.card { border-color: #d7e3e8; }
.card-header { background: #f1f7f9; color: var(--ew-navy); }

/* Admin > Groups: the access matrix (owner, 2026-11-04: full width, compact, first row frozen, managers grouped) */
main.container-fluid:has(.acc-table) { padding-left: 10px; padding-right: 10px; }
.acc-wrap { background: #fff; border: 1px solid #dee2e6; border-radius: .375rem; }
.acc-table { table-layout: auto; }
.acc-table th, .acc-table td { font-size: .78rem; vertical-align: middle; padding: .25rem .3rem; }
.acc-table thead th { position: sticky; top: 0; background: #f8f9fa; z-index: 2; white-space: nowrap; box-shadow: inset 0 -1px 0 #dee2e6; }
.acc-table .acc-sub { font-size: .65rem; font-weight: 400; color: #6c757d; }
.acc-table .acc-group { width: 15%; min-width: 150px; }
.acc-table .acc-group .small { font-size: .7rem; line-height: 1.2; }
.acc-table .acc-people { width: 17%; min-width: 150px; color: #495057; font-size: .74rem; line-height: 1.25; }
.acc-table .acc-people summary { cursor: pointer; color: var(--ew-dark); }
.acc-table .acc-off { background: #f8f9fa; color: #adb5bd; }
.acc-table .acc-section th { position: sticky; top: 2.1rem; z-index: 1; background: var(--ew-tint); color: var(--ew-dark); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; padding: .2rem .4rem; }
.acc-table .acc-row { cursor: pointer; }
.acc-table .acc-row:hover td { background: #f1f8fa; }
.acc-table .acc-dir td { background: #fffaf0; }
.acc-cell { display: inline-block; min-width: 3.4rem; padding: .1rem .4rem; border-radius: 1rem; font-size: .72rem; line-height: 1.3; white-space: nowrap; border: 1px solid transparent; }
.acc-cell .bi-lock-fill { color: #c0392b; font-size: .65rem; }
.acc-cell.r3 { background: var(--ew-dark); color: #fff; }
.acc-cell.r2 { background: #cfe8ee; color: #084c5c; border-color: #bfdfe7; }
.acc-cell.r1 { background: #eef3f5; color: #3d5a63; border-color: #dbe5e9; }
.acc-cell.r0 { background: #f3f3f3; color: #6c757d; border-color: #e3e3e3; }
.acc-cell.r-none { color: #c3c9cf; min-width: 1.5rem; }
.acc-legend .acc-cell { margin-right: .35rem; }
.acc-search { max-width: 380px; }
@media (max-width: 1100px) { .acc-wrap { overflow-x: auto; } .acc-table thead th, .acc-table .acc-section th { position: static; } }
/* Admin > Modules: the server space card's trend line (owner, 2026-11-04) */
.space-spark { width: 100%; height: 90px; display: block; }
.space-spark .line { fill: none; stroke: var(--ew-dark); stroke-width: 2; vector-effect: non-scaling-stroke; }
.space-spark .area { fill: var(--ew-tint); stroke: none; }
.space-table td, .space-table th { font-size: .9rem; }
