:root {
    --alpha-primary: #12263f;
    --alpha-accent: #0ea5e9;
    --alpha-soft: #eef7ff;
    --alpha-muted: #6c757d;
    --alpha-bg: #f3f7fb;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--alpha-bg);
    color: #263238;
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, .22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(18, 38, 63, .18), transparent 36%),
        linear-gradient(135deg, #eef7ff 0%, #f8fafc 55%, #ffffff 100%);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, .92);
    border-radius: 24px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px);
}

.login-brand {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.brand-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--alpha-primary), var(--alpha-accent));
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-brand h1 {
    font-size: 26px;
    margin: 0;
    font-weight: 800;
    color: var(--alpha-primary);
}

.login-brand p {
    margin: 0;
    color: var(--alpha-muted);
}

.login-copy h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--alpha-primary);
}

.login-copy p {
    color: var(--alpha-muted);
    margin-bottom: 24px;
}

.form-label {
    font-weight: 700;
    color: var(--alpha-primary);
}

.form-control {
    border-radius: 14px;
    border-color: #dce7f1;
}

.form-control:focus {
    border-color: var(--alpha-accent);
    box-shadow: 0 0 0 .2rem rgba(14, 165, 233, .15);
}

.btn-primary {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--alpha-primary), var(--alpha-accent));
    font-weight: 800;
}

.btn-primary:hover {
    filter: brightness(.95);
}

.login-footer {
    margin-top: 22px;
    color: var(--alpha-muted);
    text-align: center;
    font-size: 13px;
}
.portal-body {
    min-height: 100vh;
    background: #f4f7fb;
}

.portal-navbar {
    height: 72px;
    padding: 0 34px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e5edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.portal-navbar strong {
    display: block;
    color: var(--alpha-primary);
    font-size: 20px;
    font-weight: 900;
}

.portal-navbar span {
    color: var(--alpha-muted);
    font-size: 13px;
}

.portal-user {
    display: flex;
    gap: 14px;
    align-items: center;
}

.portal-user a {
    text-decoration: none;
    color: var(--alpha-primary);
    font-weight: 800;
}

.portal-hero {
    padding: 64px 0 42px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .18), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
    border-bottom: 1px solid #e5edf5;
}

.hero-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, .12);
    color: var(--alpha-primary);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 16px;
}

.portal-hero h1 {
    color: var(--alpha-primary);
    font-weight: 900;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -1.4px;
    margin-bottom: 12px;
}

.portal-hero p {
    color: var(--alpha-muted);
    font-size: 18px;
    max-width: 680px;
    margin: 0;
}

.portal-main {
    padding-top: 42px;
    padding-bottom: 64px;
}

.system-card {
    background: #fff;
    border: 1px solid #e2ebf3;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    transition: .2s ease;
}

.system-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 65px rgba(15, 23, 42, .12);
}

.system-preview {
    height: 210px;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
    overflow: hidden;
}

.system-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.system-content {
    padding: 24px;
}

.system-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.system-topline span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f7ff;
    color: var(--alpha-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.system-topline small {
    color: #94a3b8;
    font-weight: 700;
}

.system-content h2 {
    color: var(--alpha-primary);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.system-content p {
    color: var(--alpha-muted);
    min-height: 48px;
    margin-bottom: 18px;
}

.system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.system-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.empty-state {
    background: #fff;
    border-radius: 24px;
    border: 1px dashed #cbd5e1;
    padding: 44px;
    text-align: center;
}

.empty-state h2 {
    color: var(--alpha-primary);
    font-weight: 900;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.admin-header h1,
.admin-form-card h1 {
    color: var(--alpha-primary);
    font-weight: 900;
    margin-bottom: 6px;
}

.admin-header p,
.admin-form-card p {
    color: var(--alpha-muted);
    margin: 0;
}

.admin-table-card,
.admin-form-card {
    background: #fff;
    border: 1px solid #e2ebf3;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.admin-table-card {
    overflow: hidden;
}

.admin-form-card {
    padding: 32px;
    max-width: 980px;
}

.admin-table-card table thead th {
    background: #f8fafc;
    color: var(--alpha-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 16px;
}

.admin-table-card table tbody td {
    padding: 16px;
}

@media (max-width: 768px) {
    .admin-header {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-navbar {
        height: auto;
        padding: 18px;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-user {
        width: 100%;
        justify-content: space-between;
    }
}
.system-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 8px;
}

.system-features li {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.system-features li::before {
    content: "✓";
    color: #0f766e;
    font-weight: 900;
    margin-right: 8px;
}

.system-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.system-meta span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}
.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.permission-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #e2ebf3;
    border-radius: 16px;
    background: #f8fafc;
    cursor: pointer;
}

.permission-item input {
    margin-top: 4px;
}

.permission-item strong {
    display: block;
    color: var(--alpha-primary);
}

.permission-item small {
    color: var(--alpha-muted);
}
.access-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.access-stat-card {
    background: #fff;
    border: 1px solid #e2ebf3;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.access-stat-card span {
    color: var(--alpha-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.access-stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
    color: var(--alpha-primary);
    font-weight: 900;
}
.system-actions {
    display: grid;
    gap: 10px;
}

.btn-outline-primary {
    border-radius: 14px;
    font-weight: 800;
    color: var(--alpha-primary);
    border-color: #cbdff1;
}

.btn-outline-primary:hover {
    background: #eef7ff;
    color: var(--alpha-primary);
    border-color: var(--alpha-accent);
}
.portal-navbar {
    height: 58px;
    padding: 0 28px;
}

.portal-navbar strong {
    font-size: 17px;
}

.portal-navbar span {
    font-size: 12px;
}

.portal-user {
    gap: 12px;
    font-size: 13px;
}

.portal-hero {
    padding: 34px 0 28px;
}

.hero-kicker {
    padding: 6px 12px;
    font-size: 11px;
    margin-bottom: 12px;
}

.portal-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -1px;
}

.portal-hero p {
    font-size: 15px;
}

.portal-main {
    padding-top: 34px;
}

.system-card {
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.system-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

.system-preview {
    height: 150px;
}

.system-content {
    padding: 16px;
}

.system-topline {
    margin-bottom: 8px;
}

.system-topline span {
    padding: 4px 8px;
    font-size: 10px;
}

.system-topline small {
    font-size: 11px;
}

.system-status {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.system-content h2 {
    font-size: 17px;
    margin-bottom: 7px;
    line-height: 1.2;
}

.system-content p {
    font-size: 13px;
    min-height: 38px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.system-tags {
    gap: 6px;
}

.system-tags span,
.system-meta span {
    padding: 4px 8px;
    font-size: 10px;
}

.system-features {
    margin-top: 12px;
    gap: 5px;
}

.system-features li {
    font-size: 12px;
}

.system-meta {
    margin-top: 12px;
    gap: 6px;
}

.system-actions {
    gap: 8px;
}

.system-actions .btn {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 10px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
body {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.portal-navbar strong {
    font-weight: 800;
    letter-spacing: -.03em;
}

.system-card {
    height: 100%;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 44px rgba(15, 23, 42, .075);
}

.system-preview {
    height: 230px;
    background: #eef4fa;
    overflow: hidden;
}

.system-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .45s ease;
}

.system-card:hover .system-preview img {
    transform: scale(1.025);
}

.system-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.system-content h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.system-description {
    min-height: 54px;
    max-height: 54px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
}

.system-tags {
    min-height: 28px;
    margin-bottom: 10px;
}

.system-features-box {
    margin-top: 8px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    border: 1px solid #e4edf6;
}

.system-features-box > strong {
    display: block;
    margin-bottom: 8px;
    color: var(--alpha-primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.system-features-scroll {
    max-height: 132px;
    overflow-y: auto;
    padding-right: 4px;
}

.system-features-scroll::-webkit-scrollbar {
    width: 6px;
}

.system-features-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.system-features {
    margin: 0;
    gap: 6px;
}

.system-features li {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.system-meta {
    margin-top: auto;
    padding-top: 14px;
}

.system-actions {
    margin-top: 14px;
    display: grid;
    gap: 7px;
}

.system-actions .btn {
    padding: 7px 12px;
    min-height: 36px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
}

.btn-primary {
    box-shadow: 0 8px 18px rgba(14, 165, 233, .22);
}

.btn-outline-primary {
    background: #fff;
}

@media (min-width: 1400px) {
    .system-preview {
        height: 250px;
    }

    .system-card {
        min-height: 660px;
    }
}
body {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    color: #182235;
}

.portal-navbar {
    height: 64px;
    padding: 0 42px;
}

.portal-navbar strong {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.portal-user a {
    font-weight: 700;
    font-size: 13px;
}

.portal-hero {
    padding: 44px 0 36px;
}

.portal-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -.06em;
}

.portal-hero p {
    font-size: 15px;
}

.systems-grid {
    --bs-gutter-x: 22px;
    --bs-gutter-y: 26px;
}

.system-card {
    height: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .075);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.system-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, .35);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .13);
}

.system-preview {
    height: 255px;
    border-bottom: 1px solid #edf2f7;
    background: #f8fafc;
}

.system-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.system-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.system-topline {
    margin-bottom: 12px;
}

.system-topline span {
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    background: #eaf7ff;
}

.system-topline small {
    font-size: 11px;
    font-weight: 700;
}

.system-content h2 {
    font-size: 19px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 8px;
}

.system-description {
    min-height: 42px;
    max-height: 42px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.system-tags {
    min-height: 30px;
    gap: 6px;
    margin-bottom: 12px;
}

.system-tags span,
.system-meta span {
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 700;
}

.system-details {
    margin-top: 4px;
    border: 1px solid #e5edf6;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff, #f7fbff);
    overflow: hidden;
}

.system-details summary {
    list-style: none;
    cursor: pointer;
    min-height: 42px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #10233d;
    font-size: 12px;
    font-weight: 800;
}

.system-details summary::-webkit-details-marker {
    display: none;
}

.system-details summary::after {
    content: "⌄";
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f5ff;
    color: #0f5f91;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.system-details[open] summary::after {
    transform: rotate(180deg);
}

.system-details summary small {
    margin-left: auto;
    color: #94a3b8;
    font-weight: 700;
    font-size: 11px;
}

.system-features {
    margin: 0;
    padding: 0 13px 13px;
    max-height: 170px;
    overflow-y: auto;
    list-style: none;
    display: grid;
    gap: 7px;
}

.system-features li {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: #334155;
}

.system-features li::before {
    content: "✓";
    margin-right: 8px;
    color: #0f9f7a;
    font-weight: 900;
}

.system-meta {
    margin-top: auto;
    padding-top: 14px;
}

.system-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.system-actions .btn {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.system-actions .btn:only-child {
    max-width: 170px;
}

.system-actions .btn-primary,
.system-actions .btn-outline-primary {
    box-shadow: none;
}

.system-actions .btn-outline-primary {
    background: #fff;
    border-color: #d6e6f5;
}

.system-actions .btn-primary {
    background: linear-gradient(135deg, #10233d, #0ea5e9);
}
:root {
    --alpha-primary: #15164f;
    --alpha-text: #16184f;
    --alpha-muted: #69708f;
    --alpha-bg: #faf8ff;

    --alpha-lilac: #8b5cf6;
    --alpha-purple: #a855f7;
    --alpha-pink: #ff5fa2;
    --alpha-peach: #ffb199;
    --alpha-mint: #34c58a;

    --alpha-border: rgba(139, 92, 246, .16);
    --alpha-shadow: 0 24px 70px rgba(35, 24, 86, .11);
}

body {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 95, 162, .10), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(168, 85, 247, .13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f9f7ff 42%, #fbfcff 100%);
    color: var(--alpha-text);
}

/* TOPO */

.portal-navbar {
    height: 70px;
    padding: 0 42px;
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid rgba(139, 92, 246, .14);
    backdrop-filter: blur(18px);
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.portal-logo {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.08em;
    background: linear-gradient(135deg, #ff5fa2 0%, #a855f7 55%, #7c7cff 100%);
    box-shadow: 0 14px 32px rgba(168, 85, 247, .26);
}

.portal-navbar strong {
    color: var(--alpha-primary);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
}

.portal-navbar span {
    color: var(--alpha-muted);
    font-size: 12px;
}

.portal-user {
    gap: 18px;
    font-size: 13px;
}

.portal-user a {
    color: var(--alpha-primary);
    font-weight: 800;
    text-decoration: none;
}

.logout-link {
    padding: 8px 15px;
    border: 1px solid rgba(139, 92, 246, .36);
    border-radius: 10px;
    color: #7c3aed !important;
    background: rgba(255, 255, 255, .72);
}

/* HERO */

.portal-hero {
    padding: 42px 0 34px;
    border-bottom: 1px solid rgba(139, 92, 246, .12);
    background:
        radial-gradient(circle at 80% 38%, rgba(255, 95, 162, .22), transparent 24%),
        radial-gradient(circle at 68% 28%, rgba(255, 177, 153, .24), transparent 28%),
        radial-gradient(circle at 95% 8%, rgba(168, 85, 247, .28), transparent 32%),
        linear-gradient(110deg, #ffffff 0%, #fbf9ff 46%, #ffeef8 100%);
    overflow: hidden;
}

.portal-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.hero-kicker {
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 95, 162, .16), rgba(139, 92, 246, .16));
    color: #7c3aed;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 15px;
}

.portal-hero h1 {
    color: var(--alpha-primary);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -.065em;
    margin-bottom: 14px;
}

.portal-hero p {
    color: #59617f;
    font-size: 16px;
    max-width: 620px;
}

.hero-art {
    width: 340px;
    height: 170px;
    position: relative;
    flex: 0 0 340px;
}

.hero-orb {
    position: absolute;
    inset: 5px 0 auto auto;
    width: 320px;
    height: 145px;
    border-radius: 34px;
    transform: rotate(-12deg);
    background:
        linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.16)),
        linear-gradient(135deg, rgba(255, 177, 153, .35), rgba(168, 85, 247, .26));
    box-shadow: 0 30px 80px rgba(168, 85, 247, .18);
}

.hero-device {
    position: absolute;
    right: 88px;
    top: 42px;
    width: 92px;
    height: 74px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 34px;
    transform: rotate(-12deg);
    background: linear-gradient(135deg, #ff5fa2, #ffb199);
    box-shadow: 0 24px 48px rgba(255, 95, 162, .35);
}

/* CARDS */

.portal-main {
    padding-top: 24px;
}

.systems-grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 26px;
}

.system-card {
    min-height: 470px;
    border-radius: 18px;
    border: 1px solid var(--alpha-border);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--alpha-shadow);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 90px rgba(35, 24, 86, .16);
}

.system-preview {
    height: 155px;
    background: #f7f5ff;
    border-bottom: 1px solid rgba(139, 92, 246, .12);
}

.system-preview img {
    object-fit: cover;
    object-position: top center;
}

.system-content {
    padding: 16px;
}

.system-topline span {
    background: linear-gradient(135deg, rgba(139, 92, 246, .13), rgba(255, 95, 162, .12));
    color: #7c3aed;
    font-size: 10px;
    font-weight: 800;
}

.system-topline small {
    color: #8b5cf6;
}

.system-content h2 {
    color: var(--alpha-primary);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.system-description {
    color: var(--alpha-muted);
    font-size: 13px;
    min-height: 40px;
    max-height: 40px;
}

.system-tags span {
    background: rgba(255, 95, 162, .12);
    color: #e93880;
    border: 1px solid rgba(255, 95, 162, .08);
}

.system-meta span {
    background: #f5f1ff;
    color: #7c6fa6;
    border-color: rgba(139, 92, 246, .12);
}

/* DETAILS */

.system-details {
    border: 0;
    border-top: 1px solid rgba(139, 92, 246, .13);
    border-bottom: 1px solid rgba(139, 92, 246, .13);
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
    background: #fff;
}

.system-details summary {
    min-height: 42px;
    padding: 12px 16px;
    color: var(--alpha-primary);
}

.system-details summary::after {
    content: "⌄";
    background: transparent;
    color: var(--alpha-primary);
    font-size: 18px;
}

.system-features {
    padding: 0 16px 14px;
    max-height: 155px;
}

.system-features li::before {
    color: var(--alpha-pink);
}

/* BOTÕES */

.system-actions {
    margin-top: 13px;
    display: flex;
    gap: 10px;
}

.system-actions .btn {
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.system-actions .btn-outline-primary {
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, .42);
    background: rgba(255, 255, 255, .92);
}

.system-actions .btn-outline-primary:hover {
    color: #fff;
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.system-actions .btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 52%, #ff5fa2 100%);
    box-shadow: 0 12px 26px rgba(168, 85, 247, .22);
}

.system-actions .btn-primary:hover {
    filter: brightness(1.02);
    transform: translateY(-1px);
}

/* variação verde para cards de catálogo/CRM, opcional pelo texto da categoria */
.system-card:has(.system-topline span:nth-child(1)) {
    --local-accent: var(--alpha-lilac);
}

/* MOBILE */

@media (max-width: 992px) {
    .hero-art {
        display: none;
    }

    .portal-hero-inner {
        display: block;
    }
}

@media (max-width: 768px) {
    .portal-navbar {
        height: auto;
        padding: 16px 18px;
    }

    .portal-user {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .portal-hero {
        padding: 32px 0;
    }

    .system-card {
        min-height: auto;
    }
}
.system-card {
    min-height: 500px;
}

.system-card-head {
    padding: 16px 16px 12px;
    background: #fff;
}

.system-card-head .system-topline {
    margin-bottom: 10px;
}

.system-card-head h2 {
    color: var(--alpha-primary);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
    margin: 0 0 7px;
}

.system-card-head .system-description {
    color: var(--alpha-muted);
    font-size: 13px;
    line-height: 1.4;
    min-height: 38px;
    max-height: 90px;
    overflow: hidden;
    margin: 0;
}

.system-preview {
    height: 165px;
    border-top: 1px solid rgba(139, 92, 246, .10);
    border-bottom: 1px solid rgba(139, 92, 246, .12);
}

.system-content {
    padding: 14px 16px 16px;
}

.system-content h2,
.system-content > .system-description {
    display: none;
}

.system-tags {
    margin-bottom: 10px;
    min-height: auto;
}

.system-details {
    margin-top: 8px;
}

.system-meta {
    padding-top: 12px;
}

.system-actions {
    margin-top: 12px;
}