:root {
    --et-ink: #212121;
    --et-brown: #111827;
    --et-gold: #22c55e;
    --et-gold-deep: #16a34a;
    --et-header-gold: #00008b;
    --et-header-gold-deep: #000070;
    --et-cream: #f7f7f7;
    --et-paper: #ffffff;
    --et-muted: #6b7280;
    --et-line: #e5e7eb;
    --et-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}

html, body {
    height: 100%;
    margin: 0;
    background: var(--et-cream);
    color: var(--et-ink);
    font-family: "DM Sans", "Segoe UI", sans-serif;
}

.shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: 64px 1fr;
}

.shell-locked {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

.paywall-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.45);
}

.paywall {
    width: min(520px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: var(--et-paper);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.35);
    padding: 1.5rem 1.6rem 1.7rem;
}

.paywall-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.paywall-head h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--et-header-gold);
}

.paywall-logout {
    flex: none;
    background: #fff;
    color: #b42318;
    border: 1px solid #f3b8b2;
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    font-weight: 700;
}

.paywall-logout:hover:not(:disabled) {
    background: #fde8e6;
}

.paywall-field {
    display: grid;
    gap: 0.4rem;
    margin: 1rem 0 0;
    font-weight: 600;
}

.paywall-field select {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--et-line);
    border-radius: 10px;
}

.paywall-field small {
    font-weight: 400;
}

.paywall-notice {
    margin: 0.6rem 0 0;
    color: var(--et-header-gold);
    font-weight: 600;
}

.paywall-pay {
    width: 100%;
    justify-content: center;
    margin-top: 1.2rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.paywall .alert-error {
    margin: 1rem 0 0;
}

.billing-card {
    max-width: 560px;
}

.billing-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.2rem;
    margin: 0.8rem 0;
}

.billing-facts dt {
    font-weight: 600;
    color: var(--et-muted, #6b7280);
}

.billing-facts dd {
    margin: 0;
}

.billing-status {
    margin: 0 0 1rem;
    font-weight: 600;
}

.shell-top {
    grid-column: 1 / -1;
    background: var(--et-header-gold);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1.25rem;
}

.shell-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 200px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.shell-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--et-header-gold);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    overflow: hidden;
}

.shell-mark img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.shell-search {
    flex: 1;
    max-width: 520px;
    margin: 0 auto;
}

.shell-search input {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    background: #fff;
    color: var(--et-ink);
}

.shell-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.user-switch {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    font-size: 0.78rem;
}

a.user-switch {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.15rem 0.6rem 0.15rem 0.15rem;
}

a.user-switch:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-avatar {
    display: inline-grid;
    place-items: center;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1;
    user-select: none;
}

.user-avatar.sm { width: 28px; height: 28px; font-size: 0.7rem; }
.user-avatar.md { width: 40px; height: 40px; font-size: 0.85rem; }
.user-avatar.lg { width: 96px; height: 96px; font-size: 1.6rem; }

.user-switch .user-avatar { display: inline-grid; }

.user-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.user-photo-picker {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.user-photo-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.user-photo-upload {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.user-photo-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.profile-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.45rem 1.25rem;
    margin: 0;
}

.profile-facts dt { color: #64748b; font-weight: 600; }
.profile-facts dd { margin: 0; }

.user-switch select {
    border: 0;
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    background: #fff;
    color: #111827;
    max-width: 220px;
}

.rights-module {
    margin-top: 1rem;
}

.rights-module strong {
    display: block;
    margin-bottom: 0.45rem;
}

.rights-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
}

.rights-list label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--et-ink);
    font-size: 0.9rem;
}

.rights-list small {
    display: block;
    color: var(--et-muted);
    font-size: 0.75rem;
}

.shell-icon {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #1f2937;
    color: #fff;
    text-decoration: none;
    display: grid;
    place-items: center;
}

.shell-logout {
    background: var(--et-gold);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 700;
}

.shell-logout:hover {
    background: var(--et-gold-deep);
}

.shell-side {
    background: #fff;
    padding: 1.2rem 0.9rem;
    border-right: 1px solid var(--et-line);
}

.shell-side .shell-mark {
    background: #111827;
    color: #fff;
}

.company-chip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 0.6rem 1.1rem;
}

.company-chip small {
    display: block;
    color: var(--et-muted);
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    color: var(--et-ink);
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.nav-pill.active, .nav-pill:hover {
    background: var(--et-header-gold);
    color: #fff;
}

.shell-main {
    padding: 1.6rem 2rem 2.5rem;
    overflow: auto;
}

.page-kicker {
    color: var(--et-muted);
    margin: 0.2rem 0 1.4rem;
}

.kpi-row, .chart-row {
    display: grid;
    gap: 1rem;
}

.kpi-row {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1rem;
}

.chart-row {
    grid-template-columns: 1fr 1.2fr 1fr;
}

.card {
    background: var(--et-paper);
    border: 1px solid var(--et-line);
    border-radius: 8px;
    box-shadow: var(--et-shadow);
    padding: 1.15rem 1.25rem;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.35rem 0 0;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 160px;
    padding-top: 0.5rem;
}

.bar {
    flex: 1;
    border-radius: 10px 10px 0 0;
}

.bar.gold { background: #111827; height: 88%; }
.bar.sand { background: #e5e7eb; height: 18%; }

.donut {
    width: 170px;
    height: 170px;
    margin: 0.6rem auto 0;
    border-radius: 50%;
}

.donut.orange { background: conic-gradient(#f08a1a 0 78%, #f7d3a4 78% 100%); }
.donut.blue { background: conic-gradient(#1d63d6 0 100%); }

.status-ok { color: #2d7a3a; font-weight: 600; }
.status-down { color: #b42318; }

.nav-group { margin-bottom: 0.35rem; }

.nav-toggle {
    width: 100%;
    justify-content: space-between;
    cursor: pointer;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
}

.nav-chevron {
    font-size: 0.75rem;
    transition: transform 0.15s ease;
}

.nav-chevron.open { transform: rotate(180deg); }

.nav-sub {
    padding-left: 0.7rem;
    margin: 0.25rem 0 0.4rem;
}

.nav-sub-link { font-size: 0.92rem; padding: 0.5rem 0.95rem; }

.nav-section {
    margin: 1.1rem 0.4rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--et-muted);
}

.apps-toolbar { align-items: center; }

.apps-heading { flex: 1; min-width: 0; }

.apps-company-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--et-line);
    padding: 0.35rem;
}

.company-logo-picker {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.company-logo-preview {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--et-line);
    border-radius: 12px;
    background: #fff;
    color: var(--et-muted);
    overflow: hidden;
}

.company-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-logo-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.company-logo-actions small { color: var(--et-muted); }

.company-logo-upload {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.company-logo-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.apps-search {
    width: min(280px, 100%);
    border: 1px solid var(--et-line);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #fff;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.25rem;
}

.app-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1.4rem 1rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 18px;
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

a.app-tile:hover,
a.app-tile:focus-visible {
    background: var(--et-paper);
    border-color: var(--et-line);
    box-shadow: var(--et-shadow);
    transform: translateY(-2px);
}

a.app-tile:focus-visible {
    outline: 2px solid #00008b;
    outline-offset: 2px;
}

.app-tile strong {
    font-size: 1rem;
}

.app-tile small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--et-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.app-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--app-accent) 78%, #fff), var(--app-accent));
    box-shadow: 0 10px 22px -10px var(--app-accent);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.app-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-icon-letter {
    font-size: 2rem;
    font-weight: 700;
}

.app-tile-off {
    cursor: default;
}

.app-tile-off .app-icon {
    filter: grayscale(0.85);
    opacity: 0.55;
    box-shadow: none;
}

.app-tile-off strong {
    color: var(--et-muted);
}

.app-tile-state {
    border: 1px solid var(--et-line);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    background: #fff;
    color: var(--et-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.btn-ghost {
    border: 1px solid var(--et-line);
    background: #fff;
    color: var(--et-muted);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.settings-tile {
    display: block;
    color: inherit;
    text-decoration: none;
    min-height: 0;
    padding: 0.85rem 1rem;
}

.settings-tile h3 { margin: 0.25rem 0 0; font-size: 1rem; }
.settings-tile p { display: none; }

.setup-heading {
    margin: 1.2rem 0 0.75rem;
}

.setup-heading h2 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.setup-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.setup-card:hover {
    transform: translateY(-2px);
    border-color: #b7c7e6;
    box-shadow: 0 8px 18px rgba(0, 0, 139, 0.1);
}

.setup-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin: 0;
    color: #fff;
    flex-shrink: 0;
}

.setup-icon svg { width: 16px; height: 16px; }

.setup-icon-navy { background: linear-gradient(180deg, #1d4ed8, #00008b); }
.setup-icon-sky { background: linear-gradient(180deg, #38bdf8, #0369a1); }
.setup-icon-teal { background: linear-gradient(180deg, #2dd4bf, #0f766e); }
.setup-icon-green { background: linear-gradient(180deg, #4ade80, #15803d); }
.setup-icon-gold { background: linear-gradient(180deg, #fbbf24, #b45309); }
.setup-icon-slate { background: linear-gradient(180deg, #64748b, #334155); }

.setup-card h3 {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.page-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-toolbar h1, .page-toolbar h3 { margin-bottom: 0.2rem; }

.settings-table {
    width: 100%;
    border-collapse: collapse;
}

.settings-table th {
    text-align: left;
    color: var(--et-muted);
    font-size: 0.8rem;
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid var(--et-line);
}

.settings-table td {
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid var(--et-line);
}

.row-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.row-actions a, .link-danger {
    background: none;
    border: 0;
    padding: 0;
    color: var(--et-brown);
    cursor: pointer;
    text-decoration: underline;
}

.link-danger { color: #b42318; }

.btn-gold {
    display: inline-flex;
    align-items: center;
    background: var(--et-gold);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--et-gold-deep);
    color: #fff;
}

.btn-gold:disabled { opacity: 0.6; cursor: default; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.form-grid label, .filter-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--et-muted);
}

.form-grid label.wide { grid-column: 1 / -1; }
.form-grid small.wide { grid-column: 1 / -1; color: #64748b; font-size: 0.8rem; }

.form-grid input, .form-grid select, .filter-label select {
    border: 1px solid var(--et-line);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    color: var(--et-ink);
    background: #fff;
}

.audit-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    align-items: end;
    gap: 0.9rem;
}

.audit-filters input {
    border: 1px solid var(--et-line);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    color: var(--et-ink);
    background: #fff;
}

.audit-detail {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.35rem 1rem;
    margin: 0;
}

.audit-detail dt { color: var(--et-muted); }
.audit-detail dd { margin: 0; white-space: pre-wrap; word-break: break-word; }

.form-actions {
    margin: 1rem 0 0.4rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.required-mark { color: #b42318; font-weight: 700; }
.country-hint {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    color: var(--et-muted);
}
.sticky-actions {
    position: sticky;
    bottom: 0.75rem;
    background: var(--et-cream);
    padding: 0.75rem 0;
    z-index: 1;
}
.card + .card { margin-top: 1rem; }
.back-link { color: var(--et-muted); text-decoration: none; font-size: 0.9rem; }

.alert-error {
    background: #fde8e6;
    color: #b42318;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-ok {
    background: #ecfdf3;
    color: #067647;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.sandbox-banner {
    position: fixed;
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
    z-index: 2000;
    pointer-events: none;
    background: #fec84b;
    color: #4e1d09;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.92;
}

.subscription-reminder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fffaeb;
    color: #93370d;
    border: 1px solid #fedf89;
    padding: 0.6rem 0.75rem 0.6rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.subscription-reminder span { flex: 1; }
.subscription-reminder a { color: inherit; font-weight: 700; white-space: nowrap; }

.subscription-reminder-close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 0.25rem;
    cursor: pointer;
}

.owner-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.owner-package {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.25rem 1.15rem;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.owner-package.off { background: #f8fafc; }

.owner-package-top, .owner-package-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.owner-cycle, .owner-status {
    display: inline-flex;
    width: fit-content;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.owner-cycle { background: #eff6ff; color: #1d4ed8; }

.owner-status.on { background: #dcfce7; color: #166534; }

.owner-status.off { background: #f1f5f9; color: #64748b; }

.owner-package h2 {
    margin: 0.9rem 0 0.35rem;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.owner-package > p {
    min-height: 3.6rem;
    margin: 0;
    color: var(--et-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.owner-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 1rem 0;
}

.owner-price strong {
    font-size: 1.7rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.owner-price span, .owner-includes, .owner-preview > span, .owner-preview-note {
    color: var(--et-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.owner-includes {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.owner-package ul {
    flex: 1;
    display: grid;
    gap: 0.45rem;
    margin: 0.7rem 0 1.1rem;
    padding: 0;
    list-style: none;
}

.owner-package li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.88rem;
}

.owner-package li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #15803d;
    font-weight: 800;
}

.owner-package li.empty { color: var(--et-muted); }

.owner-package li.empty::before { content: ""; }

.owner-package-actions { margin-top: auto; }

.owner-package-actions .btn-gold, .owner-package-actions .btn-ghost { text-align: center; }

.owner-empty p { color: var(--et-muted); }

.owner-editor {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.owner-preview .public-package { min-height: 0; }

.owner-preview > span {
    display: block;
    margin-bottom: 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.owner-preview-note { margin: 0.75rem 0 0; }

.owner-apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.owner-app {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 0.9rem;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.owner-app.on { border-color: #1649a3; background: #f5f8ff; }

.owner-app strong, .owner-app small { display: block; }

.owner-app small { margin-top: 0.2rem; color: var(--et-muted); font-size: 0.82rem; line-height: 1.4; }

.form-actions a.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }

.owner-confirm-back {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.45);
}

.owner-confirm { width: min(440px, 100%); }

.owner-confirm h2 { margin-top: 0; }

@media (max-width: 980px) {
    .shell { grid-template-columns: 1fr; }
    .shell-side { display: none; }
    .kpi-row, .chart-row, .settings-grid, .setup-grid, .form-grid, .owner-packages, .owner-editor, .owner-apps { grid-template-columns: 1fr; }
    .apps-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .apps-toolbar { flex-direction: column; align-items: stretch; }
    .apps-search { width: 100%; }
    .rights-list { grid-template-columns: 1fr; }
    .user-switch span { display: none; }
}
