:root {
    color-scheme: light;
    --bg: #eef2f6;
    --panel: #ffffff;
    --ink: #16202a;
    --muted: #637083;
    --line: #d8e0ea;
    --accent: #176b87;
    --accent-strong: #0f5269;
    --sidebar: #f4f6f8;
    --sidebar-ink: #1f2937;
    --danger: #8f1d2c;
    --shadow: 0 18px 50px rgba(22, 32, 42, 0.14);
    --input-bg: #fff;
    --pager-btn-bg: #e8eef4;
    --pager-btn-hover: #dbe5ef;
    --hover-bg: rgba(0, 0, 0, 0.06);
    --hover-bg-strong: rgba(0, 0, 0, 0.12);
    --table-bg: #fff;
    --header-bg: #f7f9fb;
    --toolbar-bg: rgba(255, 255, 255, 0.92);
    --card-bg: #fff;
    --group-bg: #f6f9fc;
    --toggle-bg: #eef4fa;
    --lookup-hover: #eef6fb;
    --dialog-header-bg: #eef2f5;
    --accent-soft: rgba(23, 107, 135, 0.12);
    --green-soft: rgba(22, 163, 74, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

button,
input {
    font: inherit;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(23, 107, 135, 0.16), transparent 42%),
        linear-gradient(315deg, rgba(42, 88, 120, 0.12), transparent 46%),
        var(--bg);
}

.login-panel {
    width: min(440px, 100%);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.brand,
.sidebar-brand,
.session {
    display: flex;
    align-items: center;
    gap: 8px;
}

#themeToggleButton {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 120ms ease;
    flex-shrink: 0;
}

#themeToggleButton:hover {
    background: var(--hover-bg);
}

.portal-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    min-height: 100vh;
}

.sidebar {
    display: flex;
    flex-direction: column;
    background: var(--sidebar);
    color: var(--sidebar-ink);
    border-right: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 16px 14px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
}

.sidebar-collapse-button {
    position: absolute;
    top: 18px;
    right: 12px;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--input-bg);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 120ms ease;
    flex-shrink: 0;
}

.sidebar-collapse-button:hover {
    background: var(--hover-bg);
}

.sidebar-collapse-button span,
.sidebar-collapse-button span::before,
.sidebar-collapse-button span::after {
    display: block;
    width: 10px;
    height: 2px;
    background: var(--muted);
    border-radius: 1px;
}

.sidebar-collapse-button span {
    position: relative;
}

.sidebar-collapse-button span::before,
.sidebar-collapse-button span::after {
    content: "";
    position: absolute;
    left: 0;
}

.sidebar-collapse-button span::before {
    top: -4px;
}

.sidebar-collapse-button span::after {
    top: 4px;
}

.sidebar-menu {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 8px;
}

.nav-section {
    padding: 2px 0;
}

.nav-submenu {
    display: none;
    padding-left: 12px;
}

.nav-section.open > .nav-submenu {
    display: block;
}

.menu-button {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--sidebar-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background 120ms ease;
}

.menu-button:hover {
    background: var(--hover-bg);
}

.menu-button.active {
    background: var(--accent);
    color: #fff;
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.workspace {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.toolbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--toolbar-bg);
    backdrop-filter: blur(6px);
}

.toolbar h2 {
    margin-bottom: 2px;
    font-size: 18px;
}

.session {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.user-chip small {
    font-weight: 400;
    color: var(--muted);
    font-size: 12px;
}

.portal-shell.sidebar-collapsed {
    grid-template-columns: 72px minmax(0, 1fr) auto;
}

.portal-shell.sidebar-collapsed .sidebar {
    width: 72px;
}

.portal-shell.sidebar-collapsed .sidebar-brand span,
.portal-shell.sidebar-collapsed .sidebar-brand .brand-mark,
.portal-shell.sidebar-collapsed .sidebar-collapse-button,
.portal-shell.sidebar-collapsed .sidebar-menu,
.portal-shell.sidebar-collapsed .sidebar-footer {
    display: none;
}

.portal-shell.sidebar-collapsed .sidebar-brand {
    padding: 16px;
    justify-content: center;
}

.brand {
    gap: 14px;
    margin-bottom: 28px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0;
}

.bytech-mark {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff8c00, #ff6600);
}

.bytech-orange {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bytech-orange svg {
    display: block;
    width: 80%;
    height: 80%;
}

.brand-mark.small .bytech-orange {
    width: 22px;
    height: 22px;
}

.brand-mark.small {
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.eyebrow {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    margin-bottom: 0;
}

h1 {
    font-size: 34px;
    line-height: 1.05;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    background: var(--input-bg);
    color: var(--ink);
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.login-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(23, 107, 135, 0.14);
}

.login-form .remember-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 2px;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
}

.login-form .remember-row input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
}

.login-form button,
#logoutButton {
    min-height: 30px;
    border: 0;
    border-radius: 6px;
    padding: 0 10px;
    background: var(--pager-btn-bg);
    color: var(--ink);
    display: grid;
    place-items: center;
}

#logoutButton:hover,
#logoutButton:focus {
    background: var(--pager-btn-hover);
}

.logout-icon {
    position: relative;
    width: 18px;
    height: 18px;
    display: block;
    color: #1f78d1;
}

.logout-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 8px;
    height: 14px;
    border: 2px solid currentColor;
    border-right: 0;
    border-radius: 3px 0 0 3px;
}

.logout-icon::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 11px;
    height: 10px;
    background: currentColor;
    border-radius: 0;
    clip-path: polygon(0 36%, 54% 36%, 54% 0, 100% 50%, 54% 100%, 54% 64%, 0 64%);
}

.content-area {
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
}

.constructor-content {
    display: grid;
    gap: 16px;
    min-height: 0;
}

.status-panel,
.data-panel {
    max-width: 680px;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.data-panel {
    max-width: none;
    padding: 16px;
}

.chat-page-panel {
    max-width: none;
    width: 100%;
}

.status-panel h3 {
    margin-bottom: 8px;
}

.status-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.module-landing {
    width: 100%;
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
    align-content: start;
}

.module-landing-header {
    display: grid;
    gap: 7px;
}

.module-landing-header span {
    display: grid;
    gap: 7px;
}

.submenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 8px 0;
}

.submenu-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 24px 16px;
    background: #fff6ed;
    border: 1px solid #ffd9b3;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.15s, transform 0.15s;
}

.submenu-card:hover {
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
    transform: translateY(-2px);
    border-color: #ff8c00;
}

.submenu-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.submenu-card-star {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #cc5500;
    z-index: 1;
    user-select: none;
}

.submenu-card-star:hover {
    color: #ff8c00;
}

.submenu-icon {
    font-size: 32px;
    line-height: 1;
}

.submenu-label {
    font-size: 15px;
    font-weight: 700;
    color: #cc5500;
}

.submenu-desc {
    font-size: 12px;
    color: var(--muted);
}



.module-landing-header h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}

.module-landing-header p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.module-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 207px);
    gap: 10px;
}

.module-card {
    height: 144px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #dbe5ef;
    border-left: 4px solid #7c3aed;
    border-radius: 6px;
    padding: 12px;
    background: linear-gradient(135deg, #f5f3ff, #fff 60%);
    box-shadow: 0 6px 14px rgba(22, 32, 42, 0.05);
}

.module-card h4 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 14px;
}

.module-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.module-card .primary-action {
    align-self: start;
    min-height: 28px;
    padding: 5px 11px;
    text-decoration: none;
    font-size: 12px;
}

.panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.panel-toolbar h3 {
    margin-bottom: 2px;
    font-size: 18px;
}

.panel-toolbar p {
    margin-bottom: 0;
    color: var(--muted);
}

.grid-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 0 12px;
    width: 100%;
}

.grid-group-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px dashed var(--line);
    border-radius: 6px;
    background: #fbfdff;
}

.grid-group-bar.has-groups {
    border-style: solid;
    background: #f4f9fb;
}

.grid-group-bar.drag-over {
    border-color: var(--accent);
    background: #eef8fb;
    box-shadow: inset 0 0 0 1px rgba(23, 107, 135, 0.12);
}

.grid-group-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.grid-group-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-height: 26px;
}

.grid-group-hint {
    color: var(--muted);
    font-size: 13px;
    font-style: italic;
}

.grid-group-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(23, 107, 135, 0.18);
    border-radius: 999px;
    background: #eaf4f8;
    color: var(--ink);
    cursor: grab;
    user-select: none;
}

.grid-group-chip:active {
    cursor: grabbing;
}

.grid-group-chip-label {
    font-size: 13px;
    font-weight: 700;
}

.grid-group-chip-remove {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.grid-status {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.script-version-note {
    margin: 2px 0 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.version-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.update-pending-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.updated-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.portal-chat-panel {
    width: 100%;
    max-width: none;
    height: calc(100vh - 116px);
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    overflow: hidden;
    padding: 18px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.96)),
        linear-gradient(135deg, rgba(29, 78, 216, 0.04), rgba(12, 134, 168, 0.05));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.portal-chat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.portal-chat-headline {
    display: grid;
    gap: 6px;
}

.portal-chat-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.portal-chat-badge-icon {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background:
        radial-gradient(circle at 50% 30%, #fff 0 18%, transparent 19%),
        radial-gradient(circle at 35% 75%, #fff 0 10%, transparent 11%),
        radial-gradient(circle at 65% 75%, #fff 0 10%, transparent 11%),
        #fff;
    opacity: 0.95;
}

.portal-chat-header h3 {
    margin: 0;
    font-size: 24px;
}

.portal-chat-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.portal-chat-header p {
    margin: 0;
    color: var(--muted);
}

.portal-chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-chat-quick-actions button {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #f4f9ff);
    color: #14519b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.portal-chat-quick-actions button:hover,
.portal-chat-quick-actions button:focus {
    background: linear-gradient(180deg, #eff6ff, #e0f2fe);
    color: #0f172a;
}

.portal-chat-log {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.05), transparent 30%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.05), transparent 28%),
        #f8fafc;
}

.portal-chat-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.portal-chat-row.user {
    justify-content: flex-end;
}

.portal-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    flex: 0 0 auto;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.portal-chat-avatar.assistant {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
}

.portal-chat-avatar.user {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
}

.portal-chat-bubble {
    max-width: min(78%, 720px);
    padding: 12px 14px;
    border-radius: 14px;
    line-height: 1.45;
    position: relative;
    overflow: hidden;
}

.portal-chat-bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 40%);
    pointer-events: none;
}

.portal-chat-bubble.assistant {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.portal-chat-bubble.user {
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.24);
}

.portal-chat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0.8;
}

.portal-chat-bubble.user .portal-chat-label {
    color: rgba(255, 255, 255, 0.9);
}

.portal-chat-bubble.assistant .portal-chat-label {
    color: #475569;
}

.portal-chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.portal-chat-dot.assistant {
    background: #2563eb;
}

.portal-chat-dot.user {
    background: #fff;
}

.portal-chat-text {
    font-size: 14px;
}

.portal-chat-send-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-right: 8px;
    border: 2px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    position: relative;
}

.portal-chat-send-icon::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.portal-chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.portal-chat-form input {
    flex: 1;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0 14px;
    background: var(--input-bg);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.portal-chat-form button {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
}

.portal-chat-form button:hover,
.portal-chat-form button:focus,
.portal-chat-quick-actions button:hover,
.portal-chat-quick-actions button:focus {
    transform: translateY(-1px);
}

.grid-filter,
.grid-search {
    width: min(260px, 100%);
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 10px;
    background: var(--input-bg);
    color: var(--ink);
    outline: none;
}

.grid-filter {
    width: min(180px, 100%);
}

.grid-export {
    margin-left: auto;
}

.grid-export-select {
    width: min(140px, 100%);
    margin-left: 0;
}

.grid-tools .grid-add-action {
    background: #16a34a;
    color: #fff;
    margin-left: auto;
    font-size: 85%;
}

.grid-tools .grid-add-action:hover,
.grid-tools .grid-add-action:focus {
    background: #15803d;
    color: #fff;
}

.grid-tools .grid-add-action::before {
    content: "+";
    margin-right: 4px;
    font-weight: 900;
}

.opportunity-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f5f8fb;
}

.opportunity-view-switch + .primary-action {
    margin-left: 0;
}

.opportunity-tools-toggle {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.opportunity-tools-toggle.active {
    background: #4c1d5f;
    color: #fff;
}

.opportunity-view-switch button {
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.opportunity-view-switch button:hover,
.opportunity-view-switch button:focus {
    color: var(--ink);
}

.opportunity-view-switch button.active {
    background: #4c1d5f;
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 29, 95, 0.18);
}

.opportunity-zoom-control {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    background: var(--table-bg);
}

.opportunity-zoom-control button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: var(--pager-btn-bg);
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.opportunity-zoom-control button:hover,
.opportunity-zoom-control button:focus {
    background: var(--pager-btn-hover);
}

.opportunity-zoom-control button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.opportunity-zoom-control span {
    min-width: 46px;
    text-align: center;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.grid-filter:focus,
.grid-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(23, 107, 135, 0.14);
}

.grid-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.grid-pager button {
    min-height: 30px;
    min-width: 30px;
    border: 0;
    border-radius: 6px;
    padding: 0 10px;
    background: var(--pager-btn-bg);
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

.grid-pager button:disabled {
    cursor: default;
    opacity: 0.55;
}

.grid-pager .grid-pager-current {
    background: var(--accent);
    color: #fff;
}

.grid-pager .grid-pager-ellipsis {
    padding: 0 4px;
    color: var(--muted);
}

.panel-toolbar .grid-search {
    margin-right: auto;
}

.grid-group-row td {
    padding-top: 8px;
    padding-bottom: 8px;
    background: var(--group-bg);
    border-bottom-color: #dbe5ee;
}

.grid-group-row-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.grid-group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    border: 0;
    padding: 2px 6px;
    background: var(--pager-btn-bg);
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
}

.grid-group-row-title {
    font-weight: 700;
}

.grid-group-row-count {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-picker {
    display: grid;
    grid-template-columns: auto 96px;
    align-items: center;
    gap: 12px;
}

.logo-preview {
    width: 96px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f7f9fb;
    color: var(--muted);
    font-size: 12px;
    overflow: hidden;
}

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

.sales-panel {
    padding: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.sales-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--panel);
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    font-size: 13px;
}

.sales-titlebar h3 {
    display: inline;
    margin: 0 8px 0 0;
    font-size: 26px;
}

.sales-titlebar span {
    color: var(--muted);
    font-weight: 700;
}

.sales-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
}

.accept-action,
.cancel-action {
    min-height: 36px;
    border: 0;
    border-radius: 2px;
    padding: 0 18px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.accept-action {
    background: #159447;
}

.cancel-action {
    background: #d83b44;
}

.sales-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.sales-tabs button {
    min-height: 44px;
    border: 0;
    border-right: 1px solid transparent;
    padding: 0 18px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.sales-tabs button.active {
    background: #eef0f2;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-weight: 700;
}

.client-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    padding: 12px 16px 22px;
}

.form-main {
    min-width: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 18px 28px;
}

.field {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 600;
}

.field span {
    font-size: 13px;
}

.field input,
.field select {
    width: 100%;
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 10px;
    background: var(--input-bg);
    color: var(--ink);
}

.field.wide {
    grid-column: 1 / 4;
}

.form-section-title {
    margin: 26px 0 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-weight: 800;
}

.client-image-box {
    align-self: start;
    width: 240px;
    height: 180px;
    display: grid;
    place-items: center;
    gap: 12px;
    justify-self: center;
    margin-top: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card-bg);
    padding: 24px;
    text-align: center;
}

.image-icon {
    width: 74px;
    height: 56px;
    display: block;
    border: 5px solid var(--ink);
    border-radius: 5px;
    position: relative;
}

.image-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 10px;
    top: 10px;
    border-radius: 50%;
    background: var(--ink);
}

.image-icon::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 8px;
    bottom: 8px;
    height: 28px;
    background: var(--ink);
    clip-path: polygon(0 100%, 42% 38%, 58% 58%, 72% 22%, 100% 100%);
}

.empty-module {
    min-height: 220px;
    display: grid;
    place-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.empty-module p {
    margin: 0;
}

.primary-action,
.secondary-action,
.danger-action,
.icon-button,
.dialog-actions button {
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.primary-action {
    padding: 0 14px;
    background: #1f9d55;
    color: #fff;
}

.primary-action:hover {
    background: #188246;
}

.secondary-action {
    min-height: 30px;
    border: 0;
    border-radius: 6px;
    padding: 0 10px;
    background: var(--pager-btn-bg);
    color: var(--ink);
}

.danger-action {
    padding: 0 10px;
    background: #fde8ec;
    color: var(--danger);
}

.table-wrap {
    width: 100%;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.data-grid {
    width: 100%;
    border-collapse: collapse;
    background: var(--table-bg);
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.compact-grid {
    min-width: 720px;
}

.data-grid th,
.data-grid td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.data-grid th {
    position: sticky;
    top: 0;
    padding: 10px;
    background: var(--header-bg);
}

.data-grid th.sortable {
    cursor: pointer;
    user-select: none;
}

.data-grid th.sorted-asc,
.data-grid th.sorted-desc {
    background: var(--header-bg);
    filter: brightness(0.96);
}

.grid-title {
    margin: 0 0 8px 2px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

#parametroAbrirMenuNuevaPestana.portal-parameter-check {
    width: 22px;
    height: 22px;
    accent-color: #6b7280;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.22);
    border-radius: 6px;
}

.data-grid tr:last-child td {
    border-bottom: 0;
}

.row-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
}

.data-grid .secondary-action,
.data-grid .danger-action {
    min-height: 22px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1;
}

.data-grid .primary-action {
    min-height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1;
    background: #16a34a;
    color: #fff;
}

.data-grid .primary-action:hover,
.data-grid .primary-action:focus {
    background: #15803d;
    color: #fff;
}

.opportunities-card-wrap {
    --opportunity-card-zoom: 1;
    max-height: calc(100vh - 285px);
    min-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--line);
    background: #edf3f8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    scrollbar-gutter: stable;
}

.opportunities-grid-wrap,
.opportunities-kanban-wrap {
    --opportunity-card-zoom: 1;
    max-height: calc(100vh - 285px);
    min-height: 320px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    scrollbar-gutter: stable;
}

.opportunities-card-table {
    display: block;
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.opportunities-kanban-table {
    display: block;
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.opportunities-kanban-table > thead {
    display: none;
}

.opportunities-kanban-table > tbody {
    display: block;
    min-width: 0;
}

.opportunities-kanban-table > tbody > tr,
.opportunities-kanban-table > tbody > tr > td {
    display: block;
    padding: 0;
    border: 0;
}

.opportunity-kanban-board {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(calc(320px * var(--opportunity-card-zoom)), calc(380px * var(--opportunity-card-zoom)));
    align-items: stretch;
    gap: 12px;
    min-width: max-content;
    padding: 12px;
    background: #edf3f8;
}

.opportunity-kanban-column {
    min-height: calc(300px * var(--opportunity-card-zoom));
    border: 1px solid #d6e1ec;
    border-radius: 8px;
    background: #f8fbfd;
    box-shadow: 0 10px 24px rgba(23, 47, 70, 0.07);
    overflow: visible;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.opportunity-kanban-column.is-drop-target {
    border-color: #4c1d5f;
    box-shadow: 0 14px 28px rgba(76, 29, 95, 0.16), inset 0 0 0 2px rgba(76, 29, 95, 0.12);
    transform: translateY(-2px);
}

.opportunity-kanban-column-head {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #dbe6ef;
    background: #fff;
}

.opportunity-kanban-column-head div {
    display: grid;
    gap: 2px;
}

.opportunity-kanban-column-head strong {
    font-size: 15px;
}

.opportunity-kanban-column-head span,
.opportunity-kanban-column-head em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.opportunity-kanban-cards {
    display: grid;
    gap: 10px;
    min-height: 230px;
    overflow: visible;
    padding: 10px;
}

.opportunity-kanban-card {
    --opportunity-accent: #3b6387;
    --opportunity-soft: #edf4f9;
    display: grid;
    gap: calc(9px * var(--opportunity-card-zoom));
    border: 1px solid #dbe6ef;
    border-left: 5px solid var(--opportunity-accent);
    border-radius: 8px;
    padding: calc(11px * var(--opportunity-card-zoom));
    background:
        linear-gradient(135deg, var(--opportunity-soft), rgba(255, 255, 255, 0) 52%),
        #fff;
    box-shadow: 0 8px 18px rgba(23, 47, 70, 0.08);
    cursor: grab;
    transition: opacity 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.opportunity-kanban-card:active {
    cursor: grabbing;
}

.opportunity-kanban-card.is-dragging {
    opacity: 0.55;
    transform: rotate(1deg) scale(0.98);
    box-shadow: 0 12px 26px rgba(23, 47, 70, 0.16);
}

.opportunity-kanban-card-head {
    display: grid;
    gap: 6px;
}

.opportunity-kanban-card-head strong {
    color: var(--ink);
    font-size: calc(15px * var(--opportunity-card-zoom));
    line-height: 1.2;
}

.opportunity-kanban-contact,
.opportunity-kanban-summary {
    margin: 0;
    color: var(--muted);
    font-size: calc(12px * var(--opportunity-card-zoom));
    line-height: 1.35;
}

.opportunity-kanban-meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 8px;
    border: 1px solid #e2eaf2;
    border-radius: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.opportunity-kanban-meta span {
    color: #6b7a8d;
    font-size: 11px;
    font-weight: 800;
}

.opportunity-kanban-meta strong {
    min-width: 0;
    color: var(--ink);
    font-size: 12px;
}

.opportunity-progress-block.compact {
    gap: 5px;
}

.opportunity-kanban-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.opportunity-kanban-actions button {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
}

.opportunity-kanban-empty {
    width: 320px;
    border: 1px dashed #cbd8e6;
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

.opportunities-card-table > thead {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: #f8fbfd;
}

.opportunities-card-table > thead > tr {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.opportunities-card-table > thead th {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    width: auto;
    border: 1px solid #d9e4ef;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fff;
    color: #526579;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.opportunities-card-table > thead th:last-child {
    display: none;
}

.opportunities-card-table > thead th.sortable:hover,
.opportunities-card-table > thead th.sorted-asc,
.opportunities-card-table > thead th.sorted-desc {
    border-color: #aac0d6;
    background: #eef6fd;
    color: #123c5e;
}

.opportunities-card-table > tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(540px * var(--opportunity-card-zoom)), 1fr));
    gap: 12px;
    padding: 12px;
    min-width: 0;
}

.opportunities-card-table > tbody > tr {
    display: block;
    min-width: 0;
}

.opportunities-card-table > tbody > tr > td {
    display: block;
    padding: 0;
    border: 0;
}

.opportunities-card-table > tbody > .grid-group-row {
    grid-column: 1 / -1;
}

.opportunities-card-table > tbody > .grid-group-row > td {
    padding: 0;
    background: transparent;
}

.opportunity-card {
    --opportunity-accent: #3b6387;
    --opportunity-soft: #edf4f9;
    display: grid;
    gap: calc(12px * var(--opportunity-card-zoom));
    height: 100%;
    min-height: calc(345px * var(--opportunity-card-zoom));
    min-width: 0;
    border: 1px solid #d6e1ec;
    border-left: 5px solid var(--opportunity-accent);
    border-radius: 8px;
    padding: calc(14px * var(--opportunity-card-zoom));
    background:
        linear-gradient(135deg, var(--opportunity-soft), rgba(255, 255, 255, 0) 42%),
        #fff;
    box-shadow: 0 10px 24px rgba(23, 47, 70, 0.08);
}

.opportunity-card-open {
    --opportunity-accent: #1d75b9;
    --opportunity-soft: #e8f4ff;
}

.opportunity-card-advanced {
    --opportunity-accent: #6d5bd0;
    --opportunity-soft: #f0edff;
}

.opportunity-card-quote {
    --opportunity-accent: #b7791f;
    --opportunity-soft: #fff7e6;
}

.opportunity-card-won {
    --opportunity-accent: #168a45;
    --opportunity-soft: #e9f8ef;
}

.opportunity-card-lost {
    --opportunity-accent: #c2413d;
    --opportunity-soft: #fff0ef;
}

.opportunity-card-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
}

.opportunity-card-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--opportunity-accent) 34%, #ffffff);
    border-radius: 6px;
    background: var(--opportunity-soft);
    color: var(--opportunity-accent);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.opportunity-card-toggle:hover,
.opportunity-card-toggle:focus,
.opportunity-card-toggle.is-open {
    background: var(--opportunity-accent);
    color: #fff;
}

.opportunity-card-title {
    min-width: 0;
}

.opportunity-code-badge {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    border-radius: 999px;
    padding: 0 8px;
    background: var(--opportunity-soft);
    color: var(--opportunity-accent);
    font-size: 11px;
    font-weight: 900;
}

.opportunity-card-title h3 {
    margin: 7px 0 3px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.2;
}

.opportunity-card-title p,
.opportunity-card-summary {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.opportunity-card-status {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-direction: column;
}

.opportunity-state-pill,
.opportunity-stage-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.opportunity-state-pill {
    background: var(--opportunity-accent);
    color: #fff;
}

.opportunity-stage-chip {
    border: 1px solid #d6e1ec;
    background: rgba(255, 255, 255, 0.8);
    color: #526579;
}

.opportunity-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.opportunity-metric {
    min-width: 0;
    border: 1px solid #e0e8f0;
    border-radius: 6px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.72);
}

.opportunity-metric span,
.opportunity-progress-label span {
    display: block;
    margin-bottom: 3px;
    color: #6b7a8d;
    font-size: 11px;
    font-weight: 800;
}

.opportunity-metric strong,
.opportunity-progress-label strong {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.25;
}

.opportunity-metric-value strong {
    color: var(--opportunity-accent);
    font-size: 15px;
}

.opportunity-progress-block {
    display: grid;
    gap: 7px;
}

.opportunity-progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.opportunity-progress-label span {
    margin: 0;
}

.opportunity-progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4ecf4;
}

.opportunity-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--opportunity-accent), #1ea7a1);
}

.opportunity-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.opportunity-open-action {
    background: #4c1d5f;
    color: #fff;
}

.opportunity-open-action:hover,
.opportunity-open-action:focus {
    background: #3b164d;
    color: #fff;
}

.opportunity-card-records {
    display: block;
    max-height: 280px;
    min-height: 160px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 12px;
    border-top: 1px solid #dde7f0;
    scrollbar-gutter: stable;
}

.opportunity-card-records .oportunidad-registros-inline-panel {
    min-width: 0;
    max-height: none;
    box-shadow: none;
}

.opportunity-detail-view {
    min-height: 0;
    overflow: hidden;
}

.opportunity-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-height: calc(100vh - 220px);
    overflow: auto;
    padding-right: 4px;
    scrollbar-gutter: stable;
}

.opportunity-detail-card {
    width: 100%;
    min-height: 420px;
}

.opportunity-detail-card .opportunity-card-top {
    grid-template-columns: minmax(0, 1fr) auto;
}

.opportunity-detail-title h3 {
    font-size: 24px;
}

.opportunity-detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opportunity-detail-summary {
    min-height: 80px;
    border: 1px solid #dbe6ef;
    border-radius: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.68);
}

.opportunity-detail-records {
    width: 100%;
    min-height: 420px;
    max-height: calc(100vh - 235px);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #d6e1ec;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    scrollbar-gutter: stable;
}

.opportunity-detail-records .oportunidad-registros-inline-wrap {
    max-height: calc(100vh - 360px);
}

.opportunity-card-records::-webkit-scrollbar,
.opportunities-card-wrap::-webkit-scrollbar,
.opportunities-grid-wrap::-webkit-scrollbar,
.opportunities-kanban-wrap::-webkit-scrollbar,
.opportunity-kanban-cards::-webkit-scrollbar,
.oportunidad-registros-inline-wrap::-webkit-scrollbar,
.opportunity-detail-content::-webkit-scrollbar,
.opportunity-detail-records::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.opportunity-card-records::-webkit-scrollbar-thumb,
.opportunities-card-wrap::-webkit-scrollbar-thumb,
.opportunities-grid-wrap::-webkit-scrollbar-thumb,
.opportunities-kanban-wrap::-webkit-scrollbar-thumb,
.opportunity-kanban-cards::-webkit-scrollbar-thumb,
.oportunidad-registros-inline-wrap::-webkit-scrollbar-thumb,
.opportunity-detail-content::-webkit-scrollbar-thumb,
.opportunity-detail-records::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #b8c7d6;
    background-clip: padding-box;
}

.opportunity-card-records::-webkit-scrollbar-track,
.opportunities-card-wrap::-webkit-scrollbar-track,
.opportunities-grid-wrap::-webkit-scrollbar-track,
.opportunities-kanban-wrap::-webkit-scrollbar-track,
.opportunity-kanban-cards::-webkit-scrollbar-track,
.oportunidad-registros-inline-wrap::-webkit-scrollbar-track,
.opportunity-detail-content::-webkit-scrollbar-track,
.opportunity-detail-records::-webkit-scrollbar-track {
    background: #edf3f8;
}

.oportunidad-code-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.oportunidad-code-value {
    min-width: 0;
}

.oportunidad-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid #c8d5e4;
    border-radius: 4px;
    background: #eef4fa;
    color: #1d4f7a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.oportunidad-toggle-button:hover,
.oportunidad-toggle-button:focus {
    background: #dde9f4;
    border-color: #aebfd2;
    color: #123c5e;
}

.oportunidad-toggle-button.is-open {
    background: #d6e6f5;
    border-color: #9cb7cf;
    color: #0f3f66;
}

.oportunidad-registros-inline-row td {
    padding: 0 12px 14px;
    background: #f7fafc;
    border-bottom-color: var(--line);
}

.oportunidad-registros-inline-content {
    padding-top: 10px;
}

.oportunidad-registros-inline-panel {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.oportunidad-registros-inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.oportunidad-registros-inline-header strong {
    color: var(--ink);
    font-size: 13px;
}

.oportunidad-registros-inline-wrap {
    display: block;
    max-height: 210px;
    overflow-y: auto;
    overflow-x: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.oportunidad-registros-inline-grid {
    min-width: 980px;
}

.oportunidad-registros-inline-loading {
    padding: 10px 12px;
    border: 1px dashed var(--line);
    border-radius: 6px;
    color: var(--muted);
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
}

.dialog {
    width: min(460px, calc(100% - 32px));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 32px);
    overflow: hidden;
}

.wide-dialog {
    width: min(640px, calc(100% - 32px));
}

.dialog::backdrop {
    background: rgba(17, 24, 39, 0.42);
}

.dialog-form {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
    overflow: hidden;
}

.dialog-header,
.dialog-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--dialog-header-bg);
    border-top: 1px solid var(--line);
}

.icon-button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: var(--pager-btn-bg);
    color: var(--ink);
}

.dialog-close-button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #c62828;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.dialog-close-button:hover {
    background: #ad1f1f;
}

.dialog-form label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.dialog-form input,
.dialog-form select,
.dialog-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px 11px;
    outline: none;
    background: #fff;
    resize: vertical;
}

.dialog-form input:focus,
.dialog-form select:focus,
.dialog-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(23, 107, 135, 0.14);
}

.lookup-source {
    display: none;
}

.lookup-field {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 38px;
    gap: 6px;
    width: 100%;
}

.dialog-form .lookup-input {
    min-width: 0;
    width: 100%;
}

.lookup-icon-button {
    padding: 0 6px;
    border: 1px solid var(--line);
    border-radius: 0 6px 6px 0;
    background: var(--pager-btn-bg);
    color: var(--accent);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.lookup-icon-button:hover {
    background: var(--pager-btn-hover);
}

.inline-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.inline-three > div {
    min-width: 0;
}

.inline-three label,
.inline-three input,
.inline-three select {
    width: 100%;
}

.inline-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.inline-two > div {
    min-width: 0;
}

.inline-two label,
.inline-two input,
.inline-two select {
    width: 100%;
}

.lookup-icon-button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.lookup-search-icon {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
}

.lookup-search-icon::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.lookup-search-icon::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

.lookup-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 82px;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.lookup-option,
.lookup-empty {
    padding: 8px 10px;
    cursor: pointer;
    background: var(--card-bg);
    font-size: 13px;
}

.lookup-option {
    cursor: pointer;
}

.lookup-option:hover {
    background: var(--lookup-hover);
}

.lookup-empty {
    color: var(--muted);
}

.dialog-form input[readonly] {
    background: #f2f5f8;
    color: var(--muted);
}

.dialog-actions {
    justify-content: flex-end;
}

.dialog-actions button {
    padding: 0 14px;
}

.favorites-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--panel);
    border-left: 1px solid var(--line);
    overflow: hidden;
}

.favorites-header {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 68px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    flex-shrink: 0;
}

.favorites-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px;
    margin: 0;
    list-style: none;
}

.favorites-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: default;
    transition: background 120ms ease;
    user-select: none;
}

.favorite-item:hover {
    background: var(--bg);
}

.favorite-item.dragging {
    opacity: 0.3;
}

.favorite-item.drag-target-before {
    border-top: 3px solid var(--accent);
    border-radius: 0;
}

.favorite-item.drag-target-after {
    border-bottom: 3px solid var(--accent);
    border-radius: 0;
}

.favorite-drag-handle {
    cursor: grab;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    padding: 2px;
    width: 20px;
    text-align: center;
}

.favorite-drag-handle:active {
    cursor: grabbing;
}

.favorite-link {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: #0f3b5e;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 0;
    cursor: pointer;
}

.favorite-link:hover {
    color: #176b87;
    text-decoration: underline;
}

.favorite-remove {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 120ms ease, background 120ms ease, color 120ms ease;
}

.favorite-item:hover .favorite-remove {
    opacity: 1;
}

.favorite-remove:hover {
    background: #f0d6da;
    color: var(--danger);
}

.favorite-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #b0b8c4;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 1;
}

.favorite-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.module-card {
    position: relative;
}

@media (max-width: 760px) {
    .favorites-sidebar {
        display: none;
    }
}

[hidden] {
    display: none !important;
}

#oportunidadesContent,
#ventasContent {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 235px);
    min-height: 400px;
    padding-right: 6px;
    scrollbar-gutter: stable;
}

#oportunidadesContent::-webkit-scrollbar,
#ventasContent::-webkit-scrollbar {
    width: 10px;
}

#oportunidadesContent::-webkit-scrollbar-thumb,
#ventasContent::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #b8c7d6;
    background-clip: padding-box;
}

#oportunidadesContent::-webkit-scrollbar-track,
#ventasContent::-webkit-scrollbar-track {
    background: #edf3f8;
}

.dashboard-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.dashboard-kpi-card {
    display: grid;
    gap: 6px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fff, #f8fbfd);
    box-shadow: 0 4px 12px rgba(23, 47, 70, 0.07);
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.dashboard-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 47, 70, 0.1);
}

.kpi-label {
    color: #6b7a8d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    color: var(--ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

#kpiOportunidadesImporteTotal,
#kpiOportunidadesImportePromedio {
    color: #1d75b9;
}

#kpiOportunidadesProbabilidad {
    color: #059669;
}

#kpiFacturadoTotal {
    color: #059669;
}

#kpiClientesTotal {
    color: #4f46e5;
}

.dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 18px;
    padding-bottom: 18px;
}

@media (max-width: 1100px) {
    .dashboard-chart-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-chart-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(23, 47, 70, 0.06);
    transition: box-shadow 180ms ease;
}

.dashboard-chart-card:hover {
    box-shadow: 0 6px 20px rgba(23, 47, 70, 0.1);
}

.dashboard-chart-card h4 {
    margin: 0;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.module-card:nth-child(8n+1) { border-left-color: #7c3aed; background: linear-gradient(135deg, #f5f3ff, var(--card-bg) 60%); }
.module-card:nth-child(8n+2) { border-left-color: #059669; background: linear-gradient(135deg, #ecfdf5, var(--card-bg) 60%); }
.module-card:nth-child(8n+3) { border-left-color: #0891b2; background: linear-gradient(135deg, #ecfeff, var(--card-bg) 60%); }
.module-card:nth-child(8n+4) { border-left-color: #d97706; background: linear-gradient(135deg, #fffbeb, var(--card-bg) 60%); }
.module-card:nth-child(8n+5) { border-left-color: #dc2626; background: linear-gradient(135deg, #fef2f2, var(--card-bg) 60%); }
.module-card:nth-child(8n+6) { border-left-color: #4f46e5; background: linear-gradient(135deg, #eef2ff, var(--card-bg) 60%); }
.module-card:nth-child(8n+7) { border-left-color: #db2777; background: linear-gradient(135deg, #fdf2f8, var(--card-bg) 60%); }
.module-card:nth-child(8n+8) { border-left-color: #2563eb; background: linear-gradient(135deg, #eff6ff, var(--card-bg) 60%); }

.module-card:nth-child(8n+1) .primary-action { background: #7c3aed; }
.module-card:nth-child(8n+1) .primary-action:hover { background: #6d28d9; }
.module-card:nth-child(8n+1) h4 { color: #7c3aed; }
.module-card:nth-child(8n+2) .primary-action { background: #059669; }
.module-card:nth-child(8n+2) .primary-action:hover { background: #047857; }
.module-card:nth-child(8n+2) h4 { color: #059669; }
.module-card:nth-child(8n+3) .primary-action { background: #0891b2; }
.module-card:nth-child(8n+3) .primary-action:hover { background: #0e7490; }
.module-card:nth-child(8n+3) h4 { color: #0891b2; }
.module-card:nth-child(8n+4) .primary-action { background: #d97706; }
.module-card:nth-child(8n+4) .primary-action:hover { background: #b45309; }
.module-card:nth-child(8n+4) h4 { color: #d97706; }
.module-card:nth-child(8n+5) .primary-action { background: #dc2626; }
.module-card:nth-child(8n+5) .primary-action:hover { background: #b91c1c; }
.module-card:nth-child(8n+5) h4 { color: #dc2626; }
.module-card:nth-child(8n+6) .primary-action { background: #4f46e5; }
.module-card:nth-child(8n+6) .primary-action:hover { background: #4338ca; }
.module-card:nth-child(8n+6) h4 { color: #4f46e5; }
.module-card:nth-child(8n+7) .primary-action { background: #db2777; }
.module-card:nth-child(8n+7) .primary-action:hover { background: #be185d; }
.module-card:nth-child(8n+7) h4 { color: #db2777; }
.module-card:nth-child(8n+8) .primary-action { background: #2563eb; }
.module-card:nth-child(8n+8) .primary-action:hover { background: #1d4ed8; }
.module-card:nth-child(8n+8) h4 { color: #2563eb; }

.module-card .primary-action {
    transition: background 140ms ease, box-shadow 140ms ease;
}



@media (max-width: 760px) {
    .portal-shell {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .sidebar-brand span {
        display: none;
    }

    .toolbar {
        padding: 0 14px;
    }

    .session {
        gap: 8px;
    }

    .user-chip {
        max-width: 140px;
    }

    .user-chip span,
    .user-chip small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #logoutButton {
        min-width: 42px;
        width: 42px;
    }

    .favorites-sidebar {
        width: 220px;
    }

    .client-form {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.wide {
        grid-column: auto;
    }

    .client-image-box {
        justify-self: start;
    }
}

/* --- Storage Gauge --- */
.storage-gauge-card {
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #fff, #f8fbfd);
    box-shadow: 0 4px 14px rgba(23, 47, 70, 0.06);
    margin-bottom: 20px;
}

.storage-gauge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.storage-gauge-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.3px;
}

.storage-gauge-percent {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.storage-gauge-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 700px) {
    .storage-gauge-body {
        grid-template-columns: 1fr;
    }
}

.storage-gauge-chart-wrap {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 240px;
    margin: 0 auto;
}

.storage-gauge-info {
    display: grid;
    gap: 16px;
}

.storage-gauge-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8eef6;
    transition: box-shadow 180ms ease;
}

.storage-gauge-stat:hover {
    box-shadow: 0 4px 12px rgba(23, 47, 70, 0.06);
}

.storage-gauge-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7a8d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.storage-gauge-stat-value {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.favorites-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 280px;
    background: var(--sidebar);
    color: var(--sidebar-ink);
    border-left: 1px solid var(--line);
    overflow: hidden;
    transition: width 180ms ease, opacity 180ms ease;
}

.favorites-sidebar.favorites-hidden {
    display: none;
}

.favorites-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(22, 32, 42, 0.05);
}

.favorites-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
}

.favorites-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    display: grid;
    align-content: start;
    gap: 6px;
}

.favorites-empty {
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    padding: 24px 8px;
    line-height: 1.55;
}

.favorites-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--sidebar-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 120ms ease;
}

.favorites-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.favorites-remove {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 120ms ease, background 120ms ease;
}

.favorites-item:hover .favorites-remove {
    opacity: 1;
}

.favorites-remove:hover {
    background: rgba(143, 29, 44, 0.1);
    color: var(--danger);
}

.fav-star {
    margin-left: auto;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 120ms ease, transform 120ms ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.fav-star:hover {
    color: #fbbf24;
    transform: scale(1.2);
    background: rgba(0, 0, 0, 0.12);
}

.sidebar-collapsed .fav-star {
    display: none;
}

.favorites-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 120ms ease, color 120ms ease;
}

.favorites-close:hover {
    background: var(--hover-bg);
    color: var(--ink);
}

.theme-icon-moon { display: none; }
html.dark .theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: inline-block; }

.fav-star:hover {
    color: #fbbf24;
    transform: scale(1.2);
    background: var(--hover-bg-strong);
}

.favorites-item:hover {
    background: var(--hover-bg);
}

.favorite-btn:hover {
    background: var(--hover-bg);
}

@media (prefers-color-scheme: dark) {
    html:not(.light) {
        color-scheme: dark;
        --bg: #0d1117;
        --panel: #161b22;
        --ink: #e6edf3;
        --muted: #848d97;
        --line: #30363d;
        --accent: #2b9bc7;
        --accent-strong: #1d7fa8;
        --sidebar: #0d1117;
        --sidebar-ink: #e6edf3;
        --danger: #d63a4e;
        --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
        --input-bg: #1c2128;
        --pager-btn-bg: #21262d;
        --pager-btn-hover: #30363d;
        --hover-bg: rgba(255, 255, 255, 0.06);
        --hover-bg-strong: rgba(255, 255, 255, 0.12);
        --table-bg: #161b22;
        --header-bg: #1c2128;
        --toolbar-bg: rgba(13, 17, 23, 0.92);
        --card-bg: #161b22;
        --group-bg: #1c2128;
        --toggle-bg: #1c2128;
        --lookup-hover: #1c2128;
        --dialog-header-bg: #1c2128;
        --accent-soft: rgba(43, 155, 199, 0.15);
        --green-soft: rgba(22, 163, 74, 0.12);
    }
}

html.dark {
    color-scheme: dark;
    --bg: #0d1117;
    --panel: #161b22;
    --ink: #e6edf3;
    --muted: #848d97;
    --line: #30363d;
    --accent: #2b9bc7;
    --accent-strong: #1d7fa8;
    --sidebar: #0d1117;
    --sidebar-ink: #e6edf3;
    --danger: #d63a4e;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
    --input-bg: #1c2128;
    --pager-btn-bg: #21262d;
    --pager-btn-hover: #30363d;
    --hover-bg: rgba(255, 255, 255, 0.06);
    --hover-bg-strong: rgba(255, 255, 255, 0.12);
    --table-bg: #161b22;
    --header-bg: #1c2128;
    --toolbar-bg: rgba(13, 17, 23, 0.92);
    --card-bg: #161b22;
    --group-bg: #1c2128;
    --toggle-bg: #1c2128;
    --lookup-hover: #1c2128;
    --dialog-header-bg: #1c2128;
    --accent-soft: rgba(43, 155, 199, 0.15);
    --green-soft: rgba(22, 163, 74, 0.12);
}
