:root {
    --navy-950: #041027;
    --navy-900: #071a3d;
    --navy-800: #0b2b61;
    --blue-700: #1d56c9;
    --blue-600: #2563eb;
    --blue-500: #2f78ff;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --ink: #101828;
    --text: #344054;
    --muted: #667085;
    --muted-2: #98a2b3;
    --line: #e4eaf2;
    --line-soft: #eef2f7;
    --canvas: #f3f6fb;
    --surface: #fff;
    --success: #079669;
    --warning: #d98713;
    --danger: #e4514a;
    --violet: #7557d8;
    --sidebar-width: 266px;
    --sidebar-collapsed-width: 80px;
    --topbar-height: 68px;
    --radius: 18px;
    --shadow-sm: 0 7px 24px rgba(15, 23, 42, .045);
    --shadow-md: 0 17px 44px rgba(18, 48, 94, .09);
    --spring: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100dvh;
    color: var(--text);
    background: var(--canvas);
    font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { color: var(--ink); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
    outline: 3px solid rgba(47, 120, 255, .18);
    outline-offset: 2px;
}
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { min-height: 100vh; min-height: 100dvh; }
.app-sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    display: flex;
    width: var(--sidebar-width);
    flex-direction: column;
    color: #dbeafe;
    background:
        radial-gradient(circle at 18% 2%, rgba(47, 120, 255, .22), transparent 25%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
    transition: width 480ms var(--spring), transform 480ms var(--spring);
    will-change: width, transform;
}
.brand { display: flex; min-height: var(--topbar-height); align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.brand-link { display: flex; min-width: 0; flex: 1; align-items: center; gap: 11px; }
.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    color: var(--blue-600);
    background: white;
    box-shadow: 0 10px 28px rgba(0, 6, 22, .35);
    font-size: 22px;
    font-weight: 850;
    transition: transform 420ms var(--spring);
}
.brand-link:hover .brand-mark { transform: rotate(-3deg) scale(1.045); }
.brand-copy { display: flex; min-width: 0; flex-direction: column; }
.brand-copy strong { color: white; font-size: 17px; letter-spacing: -.02em; }
.brand-copy small { color: rgba(191, 219, 254, .52); font-size: 11px; }
.icon-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    color: var(--muted);
    background: transparent;
    transition: color 180ms ease, background-color 180ms ease, transform 300ms var(--spring);
}
.icon-button:hover { color: var(--blue-600); background: var(--blue-50); transform: translateY(-1px); }
.sidebar-collapse { width: 32px; height: 32px; flex: 0 0 auto; color: rgba(219, 234, 254, .45); }
.sidebar-collapse:hover { color: white; background: rgba(255, 255, 255, .08); }
.main-nav { flex: 1; overflow: auto; padding: 11px 9px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .1) transparent; }
.nav-section { margin-bottom: 11px; }
.nav-label { margin: 0; padding: 10px 13px 6px; color: rgba(191, 219, 254, .32); font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.nav-link {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 12px;
    margin: 1px 0;
    padding: 0 12px;
    border-radius: 12px;
    color: rgba(219, 234, 254, .67);
    background: transparent;
    text-align: left;
    transition: color 180ms ease, background-color 180ms ease, transform 340ms var(--spring);
}
.nav-link .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.nav-link > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nav-link:hover { color: white; background: rgba(255, 255, 255, .065); transform: translateX(2px); }
.nav-link.is-active { color: white; background: rgba(255, 255, 255, .11); box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 9px 22px rgba(0, 0, 0, .13); font-weight: 650; }
.nav-link.is-active::before {
    position: absolute;
    left: -9px;
    width: 3px;
    height: 20px;
    content: "";
    border-radius: 5px;
    background: #65a6ff;
    box-shadow: 0 0 14px rgba(101, 166, 255, .75);
    animation: indicatorIn 420ms var(--spring) both;
}
.nav-parent .nav-chevron { width: 14px; height: 14px; margin-left: auto; transition: transform 380ms var(--spring); }
.nav-parent.is-open .nav-chevron { transform: rotate(90deg); }
.nav-submenu { display: grid; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 450ms var(--spring), opacity 240ms ease; }
.nav-submenu.is-open { max-height: 210px; opacity: 1; }
.subnav-link {
    position: relative;
    margin-left: 30px;
    padding: 7px 10px 7px 22px;
    color: rgba(219, 234, 254, .47);
    font-size: 12px;
    transition: color 180ms ease, transform 320ms var(--spring);
}
.subnav-link::before { position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; content: ""; background: rgba(147, 197, 253, .13); }
.subnav-link:hover, .subnav-link.is-active { color: white; transform: translateX(3px); }
.subnav-link.is-active::after { position: absolute; left: 1px; top: 50%; width: 7px; height: 7px; content: ""; border-radius: 50%; background: #65a6ff; transform: translateY(-50%); box-shadow: 0 0 10px rgba(101, 166, 255, .7); }
.sidebar-footer { padding: 10px 9px 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.sidebar-company { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border-radius: 13px; background: rgba(255, 255, 255, .045); overflow: hidden; }
.company-avatar, .user-avatar, .customer-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: var(--blue-700);
    background: var(--blue-50);
    font-size: 11px;
    font-weight: 800;
}
.sidebar-company > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.sidebar-company strong { overflow: hidden; color: #f8fbff; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-company small { color: rgba(191, 219, 254, .43); font-size: 9px; white-space: nowrap; }
.app-workspace { min-width: 0; min-height: 100vh; margin-left: var(--sidebar-width); transition: margin-left 480ms var(--spring); }
.app-topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    height: var(--topbar-height);
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(218, 226, 237, .82);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
}
.mobile-menu { display: none; }
.global-search { position: relative; width: min(500px, 38vw); }
.global-search > .icon { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; color: #98a2b3; transform: translateY(-50%); }
.global-search input {
    width: 100%;
    height: 40px;
    padding: 0 58px 0 39px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 12px;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.global-search input:focus { border-color: #9bc2ff; outline: 0; background: white; box-shadow: 0 0 0 4px rgba(47, 120, 255, .09); }
kbd { display: inline-flex; align-items: center; padding: 2px 6px; border: 1px solid #dfe5ed; border-radius: 6px; color: #98a2b3; background: white; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); font-family: inherit; font-size: 10px; }
.global-search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.topbar-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.company-selector, .user-menu { display: flex; height: 42px; align-items: center; gap: 8px; padding: 0 10px; border-radius: 12px; color: var(--text); background: transparent; font-size: 12px; transition: background-color 180ms ease; }
.company-selector { border: 1px solid var(--line); background: white; }
.company-selector:hover, .user-menu:hover { background: var(--blue-50); }
.company-selector .icon { width: 16px; height: 16px; color: var(--blue-600); }
.company-selector .icon:last-child, .user-menu > .icon { width: 13px; height: 13px; color: var(--muted-2); }
.button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 300ms ease, transform 300ms var(--spring);
}
.button .icon { width: 16px; height: 16px; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { color: white; background: var(--blue-600); box-shadow: 0 8px 20px rgba(37, 99, 235, .21); }
.button-primary:hover { background: #1d58d8; box-shadow: 0 12px 27px rgba(37, 99, 235, .27); }
.button-secondary { border: 1px solid #dfe5ed; color: var(--text); background: white; box-shadow: 0 2px 7px rgba(15, 23, 42, .03); }
.button-secondary:hover { border-color: #b9cef0; color: var(--blue-700); background: #fbfdff; }
.button-sm { min-height: 35px; padding: 0 12px; }
.notification-button { position: relative; }
.notification-button > span { position: absolute; right: 7px; top: 7px; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: #ed5d56; }
.user-menu { padding-right: 4px; border-left: 1px solid var(--line-soft); border-radius: 0 11px 11px 0; }
.user-copy { display: flex; flex-direction: column; align-items: flex-start; }
.user-copy strong { color: var(--ink); font-size: 11px; }
.user-copy small { color: var(--muted-2); font-size: 9px; }
.app-main { width: 100%; max-width: 1680px; margin: 0 auto; padding: 24px 28px 38px; }
.sidebar-collapsed .app-sidebar { width: var(--sidebar-collapsed-width); }
.sidebar-collapsed .app-workspace { margin-left: var(--sidebar-collapsed-width); }
.sidebar-collapsed .brand-copy,
.sidebar-collapsed .nav-label,
.sidebar-collapsed .nav-link > span,
.sidebar-collapsed .nav-parent .nav-chevron,
.sidebar-collapsed .sidebar-company > span:last-child { display: none; }
.sidebar-collapsed .nav-submenu { display: none !important; }
.sidebar-collapsed .sidebar-collapse { position: absolute; right: -15px; top: 18px; border: 1px solid #dce5f1; color: var(--blue-700); background: white; box-shadow: 0 5px 14px rgba(15, 23, 42, .1); transform: rotate(180deg); }
.sidebar-collapsed .brand { justify-content: center; padding-inline: 10px; }
.sidebar-collapsed .brand-link { flex: 0 0 42px; justify-content: center; }
.sidebar-collapsed .main-nav { padding-inline: 10px; }
.sidebar-collapsed .nav-section { margin-bottom: 7px; }
.sidebar-collapsed .nav-link { width: 48px; min-height: 44px; justify-content: center; gap: 0; margin: 2px auto; padding: 0; }
.sidebar-collapsed .nav-link .icon { width: 19px; height: 19px; }
.sidebar-collapsed .nav-link:hover { transform: translateY(-1px); }
.sidebar-collapsed .nav-link.is-active::before { left: -10px; }
.sidebar-collapsed .sidebar-footer { padding-inline: 10px; }
.sidebar-collapsed .sidebar-company { width: 48px; justify-content: center; margin-inline: auto; padding: 7px; background: rgba(255,255,255,.055); }
.mobile-overlay { display: none; }

/* Shared page components */
.page-heading, .invoice-create-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.page-heading h1, .invoice-create-heading h1 { margin: 0; color: var(--ink); font-size: clamp(26px, 2vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.page-heading p, .invoice-create-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.eyebrow-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.eyebrow-row > span:first-child { display: flex; align-items: center; gap: 6px; }
.eyebrow-row .icon { width: 14px; height: 14px; color: var(--blue-600); }
.status-pill, .invoice-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; font-size: 10px; font-weight: 700; }
.status-pill { padding: 4px 8px; border: 1px solid; }
.status-pill i, .invoice-status i, .live-update i, .live-label i, .draft-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-open { border-color: #bcebdc; color: #067a58; background: #edfbf6; }
.status-danger { border-color: #f4c4c1; color: #c5403a; background: #fff3f2; }
.quick-actions { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 5px 18px rgba(15, 23, 42, .035); }
.quick-action { display: flex; height: 34px; align-items: center; gap: 7px; padding: 0 10px; border-radius: 9px; color: var(--text); background: transparent; font-size: 11px; font-weight: 700; transition: color 180ms ease, background 180ms ease, transform 320ms var(--spring); }
.quick-action .icon { width: 15px; height: 15px; color: var(--blue-600); }
.quick-action:hover { color: var(--blue-700); background: var(--blue-50); transform: translateY(-1px); }
.surface { overflow: hidden; border: 1px solid rgba(219, 227, 238, .82); border-radius: var(--radius); background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-sm); transition: border-color 200ms ease, box-shadow 420ms var(--spring), transform 420ms var(--spring); }
.surface:hover { border-color: #c8d9ef; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.surface-header { display: flex; min-height: 71px; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--line-soft); }
.surface-header h2 { margin: 3px 0 0; color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.section-label { color: #748399; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-label-light { color: rgba(191, 219, 254, .64); }
.surface-link { display: flex; width: 100%; height: 38px; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; color: var(--blue-700); font-size: 11px; font-weight: 750; transition: background 180ms ease, gap 260ms var(--spring); }
.surface-link .icon { width: 14px; height: 14px; }
.surface-link:hover { gap: 10px; background: var(--blue-50); }
.reveal-item { opacity: 0; transform: translateY(12px) scale(.995); }
.reveal-item.is-visible { animation: revealIn 650ms var(--spring) var(--delay, 0ms) both; }

/* Dashboard */
.financial-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(365px, .86fr); gap: 14px; margin-bottom: 17px; }
.financial-hero {
    position: relative;
    min-height: 247px;
    overflow: hidden;
    border-radius: 21px;
    color: white;
    background:
        radial-gradient(circle at 83% 5%, rgba(65, 139, 255, .32), transparent 31%),
        radial-gradient(circle at 4% 115%, rgba(57, 118, 226, .27), transparent 35%),
        linear-gradient(132deg, var(--navy-900), #0a2a61 52%, #0b3c88);
    box-shadow: 0 20px 49px rgba(4, 24, 62, .22);
}
.hero-content { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; padding: 22px; }
.hero-orbit { position: absolute; border: 1px solid rgba(147, 197, 253, .11); border-radius: 50%; pointer-events: none; }
.orbit-one { top: -180px; right: -90px; width: 390px; height: 390px; animation: orbit 8s ease-in-out infinite alternate; }
.orbit-two { top: -105px; right: -20px; width: 245px; height: 245px; animation: orbit 6.5s ease-in-out .35s infinite alternate-reverse; }
.hero-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.hero-topline p { margin: 6px 0 0; color: rgba(219, 234, 254, .6); font-size: 12px; }
.live-update { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; color: rgba(219, 234, 254, .75); background: rgba(255, 255, 255, .06); font-size: 9px; }
.live-update i { color: #54dfa8; box-shadow: 0 0 0 0 rgba(84, 223, 168, .35); animation: livePulse 2.4s ease-out infinite; }
.hero-value-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 13px; margin-top: 10px; }
.hero-value { font-size: clamp(31px, 3vw, 42px); letter-spacing: -.05em; }
.trend-positive { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 7px; padding: 4px 7px; border-radius: 7px; color: #6ee7b7; background: rgba(52, 211, 153, .11); font-size: 10px; font-weight: 750; }
.trend-positive .icon { width: 13px; height: 13px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: auto; padding-top: 18px; }
.hero-stats > div { padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .085); border-radius: 13px; background: rgba(255, 255, 255, .05); backdrop-filter: blur(5px); }
.hero-stats span, .hero-stats small { display: block; color: rgba(219, 234, 254, .48); font-size: 9px; }
.hero-stats strong { display: block; margin: 4px 0 2px; color: white; font-size: 16px; }
.hero-stats small.positive { color: #6ee7b7; }
.financial-metrics { display: grid; gap: 10px; }
.metric-card { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 13px 14px; border: 1px solid rgba(219, 227, 238, .82); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); transition: border-color 200ms ease, box-shadow 380ms var(--spring), transform 380ms var(--spring); }
.metric-card:hover { border-color: #c7d9f1; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.metric-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; }
.metric-icon .icon { width: 18px; height: 18px; }
.metric-blue { color: var(--blue-600); background: var(--blue-50); }
.metric-amber { color: var(--warning); background: #fff7e8; }
.metric-violet { color: var(--violet); background: #f4f0ff; }
.metric-card > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.metric-card > div > span { color: var(--muted); font-size: 10px; }
.metric-card > div > strong { overflow: hidden; margin-top: 2px; color: var(--ink); font-size: 17px; letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.metric-card > div > small { margin-top: 1px; color: var(--muted-2); font-size: 9px; }
.metric-card em { padding: 4px 7px; border-radius: 7px; color: var(--muted); background: #f7f9fc; font-size: 9px; font-style: normal; font-weight: 700; white-space: nowrap; }
.dashboard-row { display: grid; gap: 17px; margin-bottom: 17px; }
.dashboard-row-primary { grid-template-columns: minmax(0, 1.52fr) minmax(310px, .65fr); }
.dashboard-row-secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-surface { min-height: 415px; }
.chart-header { flex-wrap: wrap; }
.segmented-control { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border-radius: 11px; background: #f1f4f8; }
.segmented-control button { position: relative; z-index: 2; min-width: 58px; height: 27px; padding: 0 7px; border-radius: 8px; color: #77869a; background: transparent; font-size: 9px; font-weight: 750; transition: color 180ms ease; }
.segmented-control button.is-active { color: var(--blue-700); }
.segment-indicator { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; border-radius: 8px; background: white; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); transition: width 450ms var(--spring), transform 450ms var(--spring); }
.chart-summary { display: flex; align-items: flex-end; justify-content: space-between; padding: 16px 20px 0; }
.chart-summary > div:first-child { display: flex; flex-direction: column; }
.chart-summary > div:first-child span { color: var(--muted); font-size: 9px; }
.chart-summary > div:first-child strong { margin-top: 2px; color: var(--ink); font-size: 22px; letter-spacing: -.03em; }
.chart-legend { display: flex; gap: 14px; color: var(--muted); font-size: 9px; font-weight: 650; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--legend); }
.modern-chart { width: 100%; height: 305px; }
.result-content { padding: 18px; }
.result-line { margin-bottom: 15px; }
.result-line > span { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 10px; }
.result-line strong { color: var(--text); }
.result-line > i, .aging-item > i { display: block; height: 7px; overflow: hidden; border-radius: 20px; background: #f0f3f7; }
.result-line b, .aging-item b { display: block; width: var(--value); height: 100%; border-radius: inherit; background: var(--bar); transform-origin: left; animation: growBar 850ms var(--spring) .35s both; }
.result-total { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 18px; padding: 14px; border: 1px solid #e4eaf2; border-radius: 14px; background: linear-gradient(145deg, #fbfdff, #f7fafc); }
.result-total > div { display: flex; flex-direction: column; }
.result-total > div span { color: var(--muted); font-size: 9px; }
.result-total > div strong { margin-top: 3px; color: var(--ink); font-size: 20px; }
.result-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--success); background: #edfbf6; }
.result-icon .icon { width: 18px; height: 18px; }
.result-total p { display: flex; grid-column: 1 / -1; justify-content: space-between; margin: 1px 0 0; padding-top: 8px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 9px; }
.result-total p strong { color: var(--success); }
.financial-health { display: flex; align-items: center; gap: 11px; margin-top: 12px; padding: 11px; border: 1px solid #d9e8fd; border-radius: 14px; background: #f3f8ff; }
.health-ring { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue-600) calc(var(--health) * 1%), #dbeafe 0); animation: ringIn 700ms var(--spring) .5s both; }
.health-ring::before { grid-area: 1/1; width: 31px; height: 31px; content: ""; border-radius: 50%; background: white; }
.health-ring span { z-index: 1; grid-area: 1/1; color: #194a99; font-size: 10px; font-weight: 800; }
.financial-health > div:last-child { display: flex; flex-direction: column; }
.financial-health strong { color: var(--ink); font-size: 11px; }
.financial-health span { color: var(--muted); font-size: 9px; }
.aging-list { padding: 15px 17px 12px; }
.aging-item { display: block; width: 100%; margin-bottom: 12px; padding: 4px; border-radius: 9px; background: transparent; text-align: left; transition: background 180ms ease, transform 300ms var(--spring); }
.aging-item:hover { background: #f8fbff; transform: translateX(2px); }
.aging-item > span { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 10px; }
.aging-item strong { color: var(--text); }
.aging-item em { color: var(--ink); font-style: normal; font-weight: 750; }
.attention-count { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: var(--danger); background: #fff1f0; font-size: 10px; font-weight: 800; }
.attention-list { padding: 9px; }
.attention-item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px; border-radius: 11px; background: transparent; text-align: left; transition: background 180ms ease, transform 320ms var(--spring); }
.attention-item:hover { background: #f8fbff; transform: translateX(2px); }
.attention-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; }
.attention-icon .icon { width: 16px; height: 16px; }
.attention-icon.error { color: var(--danger); background: #fff1f0; }
.attention-icon.warning { color: var(--warning); background: #fff7e8; }
.attention-icon.info { color: var(--blue-600); background: var(--blue-50); }
.attention-icon.neutral { color: var(--violet); background: #f4f0ff; }
.attention-item > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.attention-item strong { overflow: hidden; color: var(--ink); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.attention-item small { overflow: hidden; margin-top: 2px; color: var(--muted-2); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.attention-arrow { width: 14px; height: 14px; color: #c2cad5; transition: color 180ms ease, transform 320ms var(--spring); }
.attention-item:hover .attention-arrow { color: var(--blue-600); transform: translateX(3px); }
.live-label { display: flex; align-items: center; gap: 5px; color: var(--success); font-size: 9px; font-weight: 750; }
.live-label i { box-shadow: 0 0 0 0 rgba(16, 185, 129, .38); animation: livePulse 2.4s ease-out infinite; }
.activity-list { position: relative; padding: 9px 16px 2px; }
.activity-list::before { position: absolute; top: 28px; bottom: 23px; left: 30px; width: 1px; content: ""; background: #e4ebf5; }
.activity-item { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.activity-node { z-index: 1; display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 3px solid white; border-radius: 50%; color: #3974d2; background: #eaf3ff; box-shadow: 0 0 0 1px #dce8f8; }
.activity-node .icon { width: 12px; height: 12px; }
.activity-item > div { min-width: 0; flex: 1; }
.activity-item > div > span { display: flex; justify-content: space-between; gap: 7px; }
.activity-item strong { color: var(--ink); font-size: 10px; }
.activity-item em { color: var(--text); font-size: 9px; font-style: normal; font-weight: 750; }
.activity-item em.positive { color: var(--success); }
.activity-item small { display: block; overflow: hidden; margin-top: 2px; color: var(--muted-2); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.insight-card { display: flex; gap: 9px; margin: 6px 14px 13px; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, #eff6ff, #f5f3ff); }
.insight-card > span { color: var(--blue-600); }
.insight-card strong { color: var(--ink); font-size: 9px; }
.insight-card p { margin: 2px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }

/* Billing list */
.breadcrumbs { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: var(--muted-2); font-size: 10px; }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs strong { color: var(--muted); }
.heading-actions { display: flex; gap: 8px; }
.billing-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.billing-kpi { display: flex; min-height: 105px; align-items: center; gap: 13px; padding: 16px; border: 1px solid rgba(219, 227, 238, .82); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); transition: transform 380ms var(--spring), box-shadow 380ms var(--spring), border-color 180ms ease; }
.billing-kpi:hover { border-color: #c8d9ef; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kpi-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; }
.kpi-icon .icon { width: 18px; height: 18px; }
.kpi-icon.blue { color: var(--blue-600); background: var(--blue-50); }
.kpi-icon.cyan { color: #0787a5; background: #eafafd; }
.kpi-icon.amber { color: var(--warning); background: #fff7e8; }
.kpi-icon.rose { color: var(--danger); background: #fff1f0; }
.billing-kpi > div { display: flex; flex-direction: column; }
.billing-kpi > div > span { color: var(--muted); font-size: 10px; }
.billing-kpi > div > strong { margin-top: 2px; color: var(--ink); font-size: 21px; letter-spacing: -.03em; }
.billing-kpi small { margin-top: 2px; color: var(--muted-2); font-size: 9px; }
.billing-kpi small b { color: var(--success); }
.billing-surface:hover { transform: none; }
.billing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line-soft); }
.billing-search { position: relative; width: min(430px, 40%); }
.billing-search .icon { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: var(--muted-2); transform: translateY(-50%); }
.billing-search input, .filter-control, .field input, .field textarea, .select-wrap, .smart-input {
    border: 1px solid #dfe5ed;
    border-radius: 11px;
    background: white;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.billing-search input { width: 100%; height: 39px; padding: 0 12px 0 38px; font-size: 11px; }
.billing-search input:focus, .field input:focus, .field textarea:focus, .smart-input:focus-within, .select-wrap:focus-within { border-color: #9bc2ff; outline: none; box-shadow: 0 0 0 4px rgba(47, 120, 255, .08); }
.toolbar-filters { display: flex; align-items: center; gap: 7px; }
.filter-control { position: relative; display: flex; height: 39px; align-items: center; gap: 7px; padding: 0 10px; }
.filter-control .icon { width: 14px; height: 14px; color: var(--muted); }
.filter-control input, .filter-control select { height: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 10px; }
.filter-control select { min-width: 120px; padding-right: 17px; appearance: none; }
.filter-control select + .icon { position: absolute; right: 8px; pointer-events: none; }
.button-filter { min-height: 39px; border: 1px solid #dfe5ed; color: var(--text); background: white; }
.button-filter i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 6px; color: white; background: var(--blue-600); font-size: 8px; font-style: normal; }
.document-tabs { display: flex; gap: 3px; overflow-x: auto; padding: 0 16px; border-bottom: 1px solid var(--line-soft); scrollbar-width: none; }
.document-tabs button { position: relative; display: flex; height: 45px; align-items: center; gap: 6px; padding: 0 11px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; white-space: nowrap; }
.document-tabs button::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; content: ""; border-radius: 3px 3px 0 0; background: var(--blue-600); transform: scaleX(0); transition: transform 300ms var(--spring); }
.document-tabs button.is-active { color: var(--blue-700); }
.document-tabs button.is-active::after { transform: scaleX(1); }
.document-tabs button span { display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 5px; border-radius: 6px; color: var(--muted); background: #f1f4f8; font-size: 8px; }
.document-tabs button.is-active span { color: var(--blue-700); background: var(--blue-50); }
.selection-bar { display: flex; max-height: 0; align-items: center; justify-content: space-between; overflow: hidden; padding: 0 16px; color: white; background: var(--navy-800); opacity: 0; transition: max-height 350ms var(--spring), padding 350ms var(--spring), opacity 180ms ease; }
.selection-bar.is-visible { max-height: 52px; padding-block: 9px; opacity: 1; }
.selection-bar strong { font-size: 10px; }
.selection-bar div { display: flex; gap: 6px; }
.selection-bar button { padding: 5px 9px; border-radius: 7px; color: rgba(219, 234, 254, .78); background: rgba(255, 255, 255, .08); font-size: 9px; }
.selection-bar button:hover { color: white; background: rgba(255, 255, 255, .15); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { height: 42px; padding: 0 12px; color: #758398; background: #f8fafc; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.data-table td { height: 63px; padding: 8px 12px; border-top: 1px solid var(--line-soft); color: var(--text); font-size: 10px; vertical-align: middle; }
.data-table tbody tr { transition: background 180ms ease, box-shadow 180ms ease; }
.data-table tbody tr:hover { background: #f8fbff; box-shadow: inset 3px 0 var(--blue-500); }
.data-table tr[hidden] { display: none; }
.check-cell { width: 42px; padding-left: 16px !important; }
.action-cell { width: 48px; text-align: center; }
.align-right { text-align: right !important; }
.check { display: inline-grid; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { display: grid; width: 16px; height: 16px; place-items: center; border: 1px solid #cfd7e3; border-radius: 5px; background: white; transition: border-color 180ms ease, background 180ms ease, transform 240ms var(--spring); }
.check input:checked + span { border-color: var(--blue-600); background: var(--blue-600); transform: scale(1.04); }
.check input:checked + span::after { width: 7px; height: 4px; content: ""; border-bottom: 1.8px solid white; border-left: 1.8px solid white; transform: translateY(-1px) rotate(-45deg); }
.document-link { display: flex; flex-direction: column; padding: 0; color: inherit; background: transparent; text-align: left; }
.document-link strong { color: var(--blue-700); font-size: 10px; }
.document-link small, .client-cell small, .date-cell small { margin-top: 2px; color: var(--muted-2); font-size: 8px; }
.document-link:hover strong { text-decoration: underline; }
.client-cell { display: flex; align-items: center; gap: 9px; }
.client-cell > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--blue-700); background: var(--blue-50); font-size: 9px; font-weight: 800; }
.client-cell > div, .date-cell { display: flex; flex-direction: column; }
.client-cell strong, .date-cell strong { color: var(--ink); font-size: 10px; }
.amount-cell { color: var(--ink) !important; font-weight: 800; }
.invoice-status { padding: 5px 8px; }
.status-aceptada { color: #087b59; background: #ecfaf5; }
.status-procesando { color: #b06f0c; background: #fff7e7; }
.status-rechazada { color: #cb403a; background: #fff1f0; }
.status-borrador { color: #667085; background: #f1f4f8; }
.row-action { width: 31px; height: 31px; }
.row-action .icon { width: 16px; height: 16px; }
.table-empty { display: none; min-height: 240px; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.table-empty.is-visible { display: grid; }
.table-empty .icon { width: 29px; height: 29px; margin-bottom: 10px; color: #aeb9c8; }
.table-empty strong { color: var(--text); font-size: 12px; }
.table-empty p { margin: 3px 0 0; font-size: 10px; }
.table-footer { display: flex; min-height: 57px; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 9px; }
.pagination { display: flex; gap: 4px; }
.pagination button { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: white; font-size: 10px; }
.pagination button.is-active { border-color: var(--blue-600); color: white; background: var(--blue-600); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.drawer-overlay { position: fixed; z-index: 90; inset: 0; visibility: hidden; background: rgba(5, 15, 35, .28); opacity: 0; backdrop-filter: blur(2px); transition: opacity 260ms ease, visibility 260ms ease; }
.drawer-overlay.is-open { visibility: visible; opacity: 1; }
.invoice-drawer { position: fixed; z-index: 100; top: 0; right: 0; display: flex; width: min(430px, 94vw); height: 100vh; flex-direction: column; padding: 21px; background: white; box-shadow: -20px 0 60px rgba(15, 23, 42, .16); transform: translateX(102%); transition: transform 520ms var(--spring); }
.invoice-drawer.is-open { transform: translateX(0); }
.invoice-drawer > header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.invoice-drawer h2 { margin: 4px 0 0; color: var(--ink); font-size: 17px; }
.drawer-status { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; padding: 11px; border-radius: 12px; background: #f8fafc; }
.drawer-status small { color: var(--muted-2); font-size: 8px; }
.invoice-detail-list { margin: 0; }
.invoice-detail-list > div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.invoice-detail-list dt { color: var(--muted); font-size: 10px; }
.invoice-detail-list dd { margin: 0; color: var(--ink); font-size: 10px; font-weight: 700; text-align: right; }
.drawer-total { display: flex; align-items: center; justify-content: space-between; margin: 17px 0; padding: 15px; border: 1px solid #dce8f8; border-radius: 13px; background: var(--blue-50); }
.drawer-total span { color: var(--muted); font-size: 10px; }
.drawer-total strong { color: var(--navy-800); font-size: 20px; }
.drawer-timeline h3 { margin: 5px 0 13px; color: var(--ink); font-size: 12px; }
.drawer-timeline > div { position: relative; display: flex; gap: 11px; min-height: 55px; }
.drawer-timeline > div:not(:last-child)::after { position: absolute; left: 5px; top: 15px; bottom: -2px; width: 1px; content: ""; background: #dfe7f2; }
.drawer-timeline > div > i { z-index: 1; width: 11px; height: 11px; flex: 0 0 auto; margin-top: 2px; border: 2px solid #c7d2e1; border-radius: 50%; background: white; }
.drawer-timeline > div > i.done { border-color: var(--success); background: var(--success); box-shadow: 0 0 0 4px #eafaf4; }
.drawer-timeline > div > span { display: flex; flex-direction: column; }
.drawer-timeline strong { color: var(--ink); font-size: 10px; }
.drawer-timeline small { color: var(--muted-2); font-size: 8px; }
.invoice-drawer > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-soft); }

/* Invoice create */
.invoice-create-heading { align-items: center; }
.create-title { display: flex; align-items: center; gap: 12px; }
.back-button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: white; font-size: 19px; transition: color 180ms ease, border-color 180ms ease, transform 300ms var(--spring); }
.back-button:hover { border-color: #bcd1ee; color: var(--blue-600); transform: translateX(-2px); }
.autosave-state { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #dce8f8; border-radius: 12px; background: white; }
.saving-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(7, 150, 105, .28); animation: livePulse 2.4s ease-out infinite; }
.autosave-state div { display: flex; flex-direction: column; }
.autosave-state strong { color: var(--text); font-size: 9px; }
.autosave-state small { color: var(--muted-2); font-size: 8px; }
.create-progress { display: flex; max-width: 820px; align-items: center; margin: 0 0 17px 52px; }
.create-progress a { display: flex; align-items: center; gap: 8px; color: var(--muted-2); }
.create-progress a > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #d6dfea; border-radius: 9px; background: white; font-size: 9px; font-weight: 800; }
.create-progress a > div { display: flex; flex-direction: column; }
.create-progress a strong { color: var(--muted); font-size: 9px; }
.create-progress a small { font-size: 8px; }
.create-progress a.is-active > span { border-color: var(--blue-600); color: white; background: var(--blue-600); box-shadow: 0 6px 14px rgba(37, 99, 235, .2); }
.create-progress a.is-active strong { color: var(--blue-700); }
.create-progress > i { width: clamp(25px, 4vw, 62px); height: 1px; margin: 0 10px; background: #dfe5ed; }
.invoice-builder { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 17px; }
.invoice-main { display: grid; gap: 15px; min-width: 0; }
.form-section:hover, .invoice-summary:hover { transform: none; }
.form-section-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.form-section-header > div { display: flex; align-items: center; gap: 11px; }
.form-step-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--violet); background: #f4f0ff; }
.form-step-icon.blue { color: var(--blue-600); background: var(--blue-50); }
.form-step-icon.green { color: var(--success); background: #edfbf6; }
.form-step-icon .icon { width: 17px; height: 17px; }
.form-section-header h2 { margin: 0; color: var(--ink); font-size: 15px; }
.form-section-header p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.required-note { color: var(--muted-2); font-size: 8px; }
.form-section-body { display: grid; gap: 18px; padding: 18px; }
.document-type { margin: 0; padding: 0; border: 0; }
.document-type legend, .customer-picker > label, .field > span { display: block; margin-bottom: 7px; color: var(--text); font-size: 9px; font-weight: 750; }
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-cards label { cursor: pointer; }
.choice-cards input { position: absolute; opacity: 0; }
.choice-cards label > span { position: relative; display: grid; min-height: 88px; grid-template-columns: auto 1fr; align-content: center; column-gap: 9px; padding: 12px; border: 1px solid #e0e6ee; border-radius: 13px; background: white; transition: border-color 180ms ease, background 180ms ease, box-shadow 240ms ease, transform 300ms var(--spring); }
.choice-cards label > span > .icon { grid-row: 1 / 3; width: 19px; height: 19px; margin-top: 2px; color: var(--muted); }
.choice-cards b { color: var(--text); font-size: 9px; }
.choice-cards small { color: var(--muted-2); font-size: 8px; }
.choice-cards label > span > i { position: absolute; right: 10px; top: 10px; width: 12px; height: 12px; border: 1px solid #cfd8e5; border-radius: 50%; }
.choice-cards input:checked + span { border-color: #8db8fa; background: #f8fbff; box-shadow: 0 0 0 3px rgba(47, 120, 255, .08); transform: translateY(-1px); }
.choice-cards input:checked + span > .icon { color: var(--blue-600); }
.choice-cards input:checked + span > i { border: 3px solid var(--blue-600); background: white; }
.smart-input { position: relative; display: flex; height: 41px; align-items: center; }
.smart-input > .icon { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted-2); }
.smart-input input { width: 100%; height: 100%; padding: 0 52px 0 38px; border: 0; outline: 0; border-radius: inherit; background: transparent; font-size: 10px; }
.smart-input kbd { position: absolute; right: 9px; }
.selected-customer { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 10px; border: 1px solid #dce8f8; border-radius: 13px; background: #f8fbff; }
.customer-avatar.large { width: 38px; height: 38px; }
.selected-customer > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.selected-customer strong { color: var(--ink); font-size: 10px; }
.selected-customer small { overflow: hidden; color: var(--muted); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.credit-badge { padding: 4px 7px; border-radius: 7px; color: #087b59; background: #eafaf4; font-size: 8px; font-weight: 700; }
.selected-customer button { color: var(--blue-700); background: transparent; font-size: 8px; font-weight: 750; }
.form-grid { display: grid; gap: 11px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid-2 { grid-template-columns: repeat(2, 1fr); }
.field { display: block; }
.field input, .field textarea { width: 100%; padding: 0 11px; font-size: 10px; }
.field input { height: 40px; }
.field textarea { padding-block: 10px; resize: vertical; }
.select-wrap { position: relative; height: 40px; }
.select-wrap select { width: 100%; height: 100%; padding: 0 30px 0 10px; border: 0; outline: 0; appearance: none; background: transparent; font-size: 10px; }
.select-wrap .icon { position: absolute; right: 9px; top: 50%; width: 14px; height: 14px; color: var(--muted-2); transform: translateY(-50%); pointer-events: none; }
.field-help { display: block; margin-top: 5px; color: var(--muted-2); font-size: 8px; }
.product-entry { display: flex; gap: 7px; padding: 14px 18px 5px; }
.product-search { flex: 1; }
.scan-button { display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid #dfe5ed; border-radius: 11px; color: var(--blue-600); background: white; }
.scan-button:hover { background: var(--blue-50); }
.line-table-scroll { overflow-x: auto; padding: 9px 18px 15px; }
.line-table { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0 7px; }
.line-table th { padding: 0 7px 3px; color: var(--muted-2); font-size: 8px; font-weight: 750; text-align: left; text-transform: uppercase; }
.line-table th:first-child { width: 34%; }
.line-table td { padding: 9px 7px; border-top: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; background: #fbfcfe; font-size: 9px; transition: opacity 220ms ease, transform 260ms var(--spring); }
.line-table td:first-child { border-left: 1px solid #edf1f6; border-radius: 11px 0 0 11px; }
.line-table td:last-child { border-right: 1px solid #edf1f6; border-radius: 0 11px 11px 0; }
.line-table tr.is-removing td { opacity: 0; transform: translateX(15px); }
.line-table tr.is-added td { animation: lineIn 420ms var(--spring) both; }
.line-product { display: flex; align-items: center; gap: 8px; }
.line-product > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--blue-700); background: var(--blue-50); font-size: 9px; font-weight: 800; }
.line-product > div { display: flex; min-width: 0; flex-direction: column; }
.line-product strong { overflow: hidden; max-width: 235px; color: var(--ink); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.line-product small { color: var(--muted-2); font-size: 7px; }
.quantity-control, .money-input, .percent-input { display: flex; height: 31px; align-items: center; overflow: hidden; border: 1px solid #dfe5ed; border-radius: 9px; background: white; }
.quantity-control button { width: 24px; height: 100%; color: var(--blue-700); background: #f6f9fd; font-size: 12px; }
.quantity-control input { width: 39px; height: 100%; padding: 0; border: 0; outline: 0; background: white; font-size: 9px; text-align: center; }
.money-input span, .percent-input span { color: var(--muted); font-size: 8px; }
.money-input span { padding-left: 7px; }
.money-input input { width: 72px; height: 100%; padding: 0 5px; border: 0; outline: 0; font-size: 9px; }
.percent-input input { width: 43px; height: 100%; padding: 0 3px 0 6px; border: 0; outline: 0; font-size: 9px; }
.percent-input span { padding-right: 5px; }
.delete-line { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: #b2bdca; background: transparent; }
.delete-line .icon { width: 14px; height: 14px; }
.delete-line:hover { color: var(--danger); background: #fff1f0; }
.add-line-mobile { display: none; }
.invoice-summary-column { position: sticky; top: calc(var(--topbar-height) + 18px); display: grid; gap: 11px; }
.invoice-summary { padding: 17px; }
.invoice-summary > header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.invoice-summary h2 { margin: 3px 0 0; color: var(--ink); font-size: 15px; }
.draft-badge { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 8px; color: #657084; background: #f1f4f8; font-size: 8px; font-weight: 750; }
.summary-customer { display: flex; align-items: center; gap: 9px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.summary-customer > div { display: flex; min-width: 0; flex-direction: column; }
.summary-customer strong { overflow: hidden; color: var(--ink); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.summary-customer small { color: var(--muted-2); font-size: 8px; }
.summary-values { margin: 13px 0 0; }
.summary-values > div { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-values dt, .summary-values dd { margin: 0; font-size: 9px; }
.summary-values dt { color: var(--muted); }
.summary-values dd { color: var(--text); font-weight: 700; }
.summary-values .summary-total { margin-top: 7px; padding-top: 13px; border-top: 1px solid var(--line); }
.summary-values .summary-total dt { color: var(--ink); font-size: 11px; font-weight: 750; }
.summary-values .summary-total dd { color: var(--navy-800); font-size: 21px; letter-spacing: -.03em; }
.summary-validation { display: flex; align-items: flex-start; gap: 8px; margin: 13px 0; padding: 10px; border: 1px solid #c8ecdf; border-radius: 11px; color: var(--success); background: #f0fbf7; }
.summary-validation .icon { width: 15px; height: 15px; flex: 0 0 auto; }
.summary-validation div { display: flex; flex-direction: column; }
.summary-validation strong { color: #076c4f; font-size: 8px; }
.summary-validation span { margin-top: 2px; color: #4d8a75; font-size: 7px; }
.summary-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 7px; }
.emit-button { position: relative; overflow: hidden; }
.emit-button::after { position: absolute; inset: -50% auto -50% -40%; width: 30%; content: ""; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); transform: skewX(-20deg); transition: left 650ms ease; }
.emit-button:hover::after { left: 120%; }
.keyboard-tip { margin: 10px 0 0; color: var(--muted-2); font-size: 7px; text-align: center; }
.keyboard-tip kbd { font-size: 7px; }
.issue-card { display: flex; gap: 9px; padding: 11px; border: 1px solid #f4ddb8; border-radius: 13px; background: #fffaf0; }
.issue-card > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 7px; color: var(--warning); background: #fff1d7; font-size: 10px; font-weight: 800; }
.issue-card strong { color: #8c5d17; font-size: 8px; }
.issue-card p { margin: 2px 0 0; color: #9a7844; font-size: 7px; line-height: 1.5; }
.mobile-create-actions { display: none; }
.toast { position: fixed; z-index: 120; right: 22px; top: 82px; display: flex; min-width: 310px; align-items: center; gap: 9px; padding: 12px; border: 1px solid; border-radius: 13px; box-shadow: 0 16px 40px rgba(15, 23, 42, .15); animation: toastIn 450ms var(--spring) both; }
.toast-success { border-color: #bcebdc; color: #076c4f; background: #f0fbf7; }
.toast .icon { width: 17px; height: 17px; }
.toast span { flex: 1; font-size: 10px; font-weight: 650; }
.toast button { color: inherit; background: transparent; font-size: 17px; }

@keyframes indicatorIn { from { opacity: 0; transform: translateX(-5px) scaleY(.3); } to { opacity: 1; transform: translateX(0) scaleY(1); } }
@keyframes revealIn { from { opacity: 0; transform: translateY(12px) scale(.995); } to { opacity: 1; transform: none; } }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes orbit { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-9px,10px,0) scale(1.035); } }
@keyframes ringIn { from { opacity: 0; transform: rotate(-35deg) scale(.82); } to { opacity: 1; transform: none; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%,100% { box-shadow: 0 0 0 7px transparent; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 1280px) {
    .company-selector { display: none; }
    .financial-grid { grid-template-columns: 1fr; }
    .financial-metrics { grid-template-columns: repeat(3, 1fr); }
    .metric-card { min-width: 0; }
    .metric-card em { display: none; }
    .dashboard-row-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-row-secondary > :last-child { grid-column: 1 / -1; }
    .billing-kpis { grid-template-columns: repeat(2, 1fr); }
    .invoice-builder { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1080px) {
    .app-sidebar,
    .sidebar-collapsed .app-sidebar { width: min(286px, calc(100vw - 44px)); max-width: 86vw; transform: translateX(-103%); }
    .app-workspace, .sidebar-collapsed .app-workspace { margin-left: 0; }
    .mobile-menu { display: inline-grid; }
    .mobile-overlay { position: fixed; z-index: 45; inset: 0; display: block; background: rgba(4, 16, 39, .38); opacity: 0; pointer-events: none; backdrop-filter: blur(3px); transition: opacity 260ms ease; }
    .mobile-sidebar-open .app-sidebar { transform: translateX(0); }
    .mobile-sidebar-open .mobile-overlay { opacity: 1; pointer-events: auto; }
    .has-mobile-sidebar { overflow: hidden; touch-action: none; }
    .sidebar-collapsed .brand-copy { display: flex; }
    .sidebar-collapsed .nav-label { display: block; }
    .sidebar-collapsed .nav-link > span { display: initial; }
    .sidebar-collapsed .nav-parent .nav-chevron { display: block; }
    .sidebar-collapsed .nav-submenu { display: grid !important; }
    .sidebar-collapsed .brand { justify-content: flex-start; padding: 12px 14px; }
    .sidebar-collapsed .brand-link { flex: 1; justify-content: flex-start; }
    .sidebar-collapsed .main-nav { padding: 11px 9px 18px; }
    .sidebar-collapsed .nav-section { margin-bottom: 11px; }
    .sidebar-collapsed .nav-link { width: 100%; min-height: 40px; justify-content: flex-start; gap: 12px; margin: 1px 0; padding: 0 12px; }
    .sidebar-collapsed .nav-link .icon { width: 18px; height: 18px; }
    .sidebar-collapsed .sidebar-footer { padding: 10px 9px 12px; }
    .sidebar-collapsed .sidebar-company { width: auto; justify-content: flex-start; margin: 8px 0 0; padding: 10px; background: rgba(255,255,255,.045); }
    .sidebar-collapsed .sidebar-company > span:last-child { display: flex; }
    .sidebar-collapse { display: none; }
    .invoice-builder { grid-template-columns: 1fr; }
    .invoice-summary-column { position: static; }
    .invoice-summary-column .issue-card { display: none; }
    .invoice-summary { max-width: none; }
    .create-progress { margin-left: 0; }
}

@media (max-width: 820px) {
    .app-topbar { padding-inline: 14px; }
    .global-search { width: min(390px, 52vw); }
    .button-new span, .user-copy { display: none; }
    .app-main { padding: 18px 15px 92px; }
    .dashboard-row-primary, .dashboard-row-secondary { grid-template-columns: 1fr; }
    .dashboard-row-secondary > :last-child { grid-column: auto; }
    .billing-toolbar { align-items: stretch; flex-direction: column; }
    .billing-search { width: 100%; }
    .toolbar-filters { flex-wrap: wrap; }
    .filter-control { flex: 1; }
    .create-progress { overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .create-progress a { flex: 0 0 auto; }
    .choice-cards { grid-template-columns: 1fr; }
    .choice-cards label > span { min-height: 65px; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .selected-customer { align-items: flex-start; flex-wrap: wrap; }
}

@media (max-width: 640px) {
    :root { --topbar-height: 60px; }
    .app-topbar { gap: 6px; }
    .global-search, .user-menu > .icon { display: none; }
    .user-menu { border-left: 0; }
    .button-new { min-width: 38px; padding-inline: 10px; }
    .page-heading, .invoice-create-heading { align-items: stretch; flex-direction: column; }
    .heading-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); }
    .quick-action { justify-content: center; }
    .financial-hero { min-height: 320px; }
    .hero-topline .live-update { display: none; }
    .hero-stats { grid-template-columns: 1fr; gap: 6px; }
    .hero-stats > div { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 9px 11px; }
    .hero-stats > div strong { grid-row: 1 / 3; grid-column: 2; }
    .financial-metrics { grid-template-columns: 1fr; }
    .chart-header { align-items: stretch; flex-direction: column; }
    .segmented-control { width: 100%; }
    .segmented-control button { min-width: 0; }
    .chart-summary { align-items: flex-start; flex-direction: column; }
    .modern-chart { height: 275px; }
    .billing-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
    .billing-kpi { min-height: 96px; align-items: flex-start; flex-direction: column; padding: 13px; }
    .kpi-icon { width: 35px; height: 35px; }
    .toolbar-filters .button-filter { flex: 1; }
    .filter-control { min-width: 46%; }
    .table-scroll { overflow: visible; padding: 9px; }
    .invoice-table thead { display: none; }
    .invoice-table, .invoice-table tbody, .invoice-table tr, .invoice-table td { display: block; width: 100%; }
    .invoice-table tr { position: relative; margin-bottom: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: white; }
    .invoice-table td { display: flex; height: auto; min-height: 31px; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right !important; }
    .invoice-table td::before { content: attr(data-label); color: var(--muted-2); font-size: 8px; font-weight: 750; text-transform: uppercase; }
    .invoice-table .check-cell { position: absolute; top: 10px; right: 10px; width: auto; padding: 0 !important; }
    .invoice-table .action-cell { position: absolute; right: 4px; bottom: 5px; width: auto; }
    .document-link, .client-cell, .date-cell { align-items: flex-end; text-align: right; }
    .client-cell > span { display: none; }
    .table-footer { flex-direction: column; gap: 9px; }
    .invoice-drawer { padding: 17px; }
    .autosave-state { display: none; }
    .create-progress { margin-bottom: 13px; }
    .create-progress a > div, .create-progress > i { display: none; }
    .create-progress { gap: 8px; }
    .create-progress a > span { width: 32px; height: 32px; }
    .form-section-header { align-items: flex-start; }
    .product-header .button { display: none; }
    .line-table-scroll { padding-inline: 0; }
    .line-table { min-width: 0; border-spacing: 0 9px; }
    .line-table thead { display: none; }
    .line-table, .line-table tbody, .line-table tr, .line-table td { display: block; width: 100%; }
    .line-table tr { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 13px 10px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
    .line-table td { border: 0 !important; background: transparent; }
    .line-table td:first-child { grid-column: 1 / -1; }
    .line-table td:nth-last-child(2) { display: flex; align-items: center; justify-content: flex-end; font-size: 12px; }
    .line-table td:last-child { position: absolute; right: 22px; }
    .money-input input { width: 100%; }
    .add-line-mobile { display: flex; width: calc(100% - 26px); height: 38px; align-items: center; justify-content: center; gap: 7px; margin: 0 13px 13px; border: 1px dashed #aac7ee; border-radius: 11px; color: var(--blue-700); background: var(--blue-50); font-size: 9px; font-weight: 750; }
    .add-line-mobile .icon { width: 14px; height: 14px; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .invoice-summary-column { margin-bottom: 20px; }
    .summary-actions, .keyboard-tip { display: none; }
    .mobile-create-actions { position: fixed; z-index: 35; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 7px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .94); box-shadow: 0 -10px 28px rgba(15, 23, 42, .08); backdrop-filter: blur(16px); }
}

@supports (padding: max(0px)) {
    .app-sidebar { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
    .app-topbar { height: calc(var(--topbar-height) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); padding-right: max(24px, env(safe-area-inset-right)); }
    .app-main { padding-right: max(28px, env(safe-area-inset-right)); padding-bottom: max(38px, env(safe-area-inset-bottom)); padding-left: max(28px, env(safe-area-inset-left)); }
    .toast { right: max(22px, env(safe-area-inset-right)); top: calc(82px + env(safe-area-inset-top)); }
    @media (max-width: 820px) {
        .app-topbar { padding-right: max(14px, env(safe-area-inset-right)); padding-left: max(14px, env(safe-area-inset-left)); }
        .app-main { padding-right: max(15px, env(safe-area-inset-right)); padding-bottom: max(92px, env(safe-area-inset-bottom)); padding-left: max(15px, env(safe-area-inset-left)); }
    }
}

@media (display-mode: standalone) {
    body { overscroll-behavior-y: none; }
    .app-topbar { user-select: none; -webkit-user-select: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Commercial, quotation, consignment and recurring-sales modules */
.module-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 13px; }
.module-kpi { position: relative; display: flex; min-height: 105px; align-items: center; gap: 11px; overflow: hidden; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .025); transition: transform 240ms var(--spring), border-color 240ms ease, box-shadow 240ms ease; }
.module-kpi::after { position: absolute; right: -25px; bottom: -45px; width: 90px; height: 90px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(37, 99, 235, .07), transparent 68%); transition: transform 350ms var(--spring); }
.module-kpi:hover { z-index: 1; border-color: #cbdcf4; box-shadow: 0 13px 28px rgba(27, 61, 112, .08); transform: translateY(-3px); }
.module-kpi:hover::after { transform: translate(-8px, -8px) scale(1.2); }
.module-kpi > div { display: flex; min-width: 0; flex-direction: column; }
.module-kpi small { color: var(--muted); font-size: 8px; font-weight: 650; }
.module-kpi strong { margin: 3px 0 2px; color: var(--ink); font-size: clamp(17px, 1.55vw, 23px); letter-spacing: -.035em; }
.module-kpi em { color: var(--muted-2); font-size: 7px; font-style: normal; }
.module-kpi em.positive { color: var(--success); font-weight: 700; }
.kpi-icon.violet { color: #7c3aed; background: #f3efff; }
.module-card-header, .module-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.module-card-header h2, .module-list-toolbar h2 { margin: 3px 0 0; color: var(--ink); font-size: 14px; }
.module-card-header p { margin: 3px 0 0; color: var(--muted-2); font-size: 8px; }
.compact-legend { display: flex; gap: 13px; color: var(--muted); font-size: 8px; }
.compact-legend span { display: flex; align-items: center; gap: 5px; }
.compact-legend i { width: 8px; height: 8px; border-radius: 3px; }
.compact-legend .actual { background: linear-gradient(#38bdf8, #2563eb); }
.compact-legend .goal { border-radius: 50%; background: #8b5cf6; }
.seller-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .72fr); gap: 13px; margin-bottom: 13px; }
.seller-chart-card { padding: 16px 18px 8px; }
.seller-chart { height: 265px; }
.seller-focus { position: relative; overflow: hidden; padding: 17px; background: linear-gradient(145deg, #fff 35%, #f4f8ff 100%); }
.seller-focus::before { position: absolute; right: -30px; top: -38px; width: 125px; height: 125px; border-radius: 50%; content: ""; background: rgba(37, 99, 235, .06); }
.focus-person { display: flex; align-items: center; gap: 9px; margin: 15px 0 11px; }
.focus-person > span { display: grid; width: 39px; height: 39px; place-items: center; border: 3px solid #fff; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #0ea5e9, #2563eb); box-shadow: 0 7px 16px rgba(37, 99, 235, .22); font-size: 10px; font-weight: 800; }
.focus-person div { display: flex; flex-direction: column; }
.focus-person strong { color: var(--ink); font-size: 10px; }
.focus-person small { color: var(--muted); font-size: 8px; }
.focus-value { display: block; color: var(--blue-700); font-size: 27px; letter-spacing: -.045em; }
.seller-focus > p { margin: 1px 0 8px; color: var(--muted); font-size: 8px; }
.progress-track, .goal-cell > i, .credit-cell > i, .sale-progress > i { display: block; overflow: hidden; height: 5px; border-radius: 99px; background: #e8eef6; }
.progress-track i, .goal-cell > i b, .credit-cell > i b, .sale-progress > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #2563eb); transform-origin: left; animation: growBar 800ms 220ms var(--spring) both; }
.seller-focus dl { margin: 13px 0; }
.seller-focus dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.seller-focus dt, .seller-focus dd { margin: 0; font-size: 8px; }
.seller-focus dt { color: var(--muted); }
.seller-focus dd { color: var(--ink); font-weight: 750; }
.button-soft { width: 100%; color: var(--blue-700); background: var(--blue-50); }
.module-list { overflow: hidden; }
.module-list-toolbar { padding: 15px 17px; border-bottom: 1px solid var(--line-soft); }
.inline-tools { display: flex; align-items: center; gap: 7px; }
.mini-search { display: flex; width: 225px; height: 34px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fafcff; transition: width 260ms var(--spring), border-color 180ms ease, box-shadow 180ms ease; }
.mini-search:focus-within { width: 255px; border-color: #93b9ee; box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.mini-search .icon { width: 13px; height: 13px; color: var(--muted-2); }
.mini-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 9px; }
.module-table th, .module-table td { padding-inline: 12px; }
.module-table tbody tr { transition: background 180ms ease, transform 220ms var(--spring); }
.module-table tbody tr:hover { background: #f8fbff; }
.entity-cell, .entity-button { display: flex; align-items: center; gap: 8px; text-align: left; }
.entity-button { padding: 0; color: inherit; background: transparent; }
.entity-cell > div, .entity-button > div, .stacked-cell, .contact-cell { display: flex; min-width: 0; flex-direction: column; }
.entity-cell strong, .entity-button strong, .stacked-cell strong { color: var(--ink); font-size: 9px; }
.entity-cell small, .entity-button small, .stacked-cell small { color: var(--muted-2); font-size: 7px; }
.avatar-tone { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border: 1px solid #dbe9fb; border-radius: 10px; color: var(--blue-700); background: linear-gradient(145deg, #eff6ff, #e8f1ff); font-size: 8px; font-weight: 800; }
.goal-cell, .credit-cell, .sale-progress { min-width: 100px; }
.goal-cell span, .credit-cell span, .sale-progress span { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; margin-bottom: 5px; }
.goal-cell b, .credit-cell b, .sale-progress b { color: var(--ink); font-size: 8px; }
.goal-cell small, .credit-cell small, .sale-progress small { color: var(--muted-2); font-size: 7px; }
.credit-cell > i.risk b { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.module-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 99px; font-size: 7px; font-weight: 750; white-space: nowrap; }
.module-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.module-status.success { color: #07825e; background: #eafaf4; }
.module-status.warning { color: #a56608; background: #fff6e7; }
.module-status.danger { color: #c43838; background: #fff0f0; }
.module-status.neutral { color: #657084; background: #f1f4f8; }
.customer-toolbar { border-bottom: 0; }
.customer-toolbar .billing-search { width: min(420px, 42vw); }
.contact-cell { gap: 3px; max-width: 180px; }
.contact-cell span, .contact-cell small { display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.contact-cell span { color: var(--text); font-size: 8px; }
.contact-cell small { color: var(--muted-2); font-size: 7px; }
.contact-cell .icon { width: 10px; height: 10px; flex: 0 0 auto; }
.soft-tag { padding: 5px 7px; border-radius: 7px; color: #53657e; background: #f2f5f9; font-size: 7px; font-weight: 700; }
.quote-workspace { overflow: hidden; }
.quote-board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 9px; padding: 13px; background: #f7f9fc; transition: opacity 220ms ease, transform 280ms var(--spring); }
.quote-board.is-hidden { display: none; }
.quote-column { min-width: 0; }
.quote-column > header { display: flex; align-items: center; justify-content: space-between; padding: 5px 4px 10px; }
.quote-column > header > div { display: flex; align-items: center; gap: 6px; }
.quote-column > header i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }
.quote-column.stage-enviada > header i { background: #3b82f6; }.quote-column.stage-aprobada > header i { background: #10b981; }.quote-column.stage-vencida > header i { background: #ef4444; }
.quote-column > header strong { color: var(--ink); font-size: 9px; }
.quote-column > header span { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 6px; color: var(--muted); background: #e9eef5; font-size: 7px; font-weight: 750; }
.quote-column > header > b { color: var(--muted); font-size: 8px; }
.quote-cards { display: grid; gap: 8px; }
.quote-card { position: relative; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 9px rgba(15, 23, 42, .025); transition: transform 240ms var(--spring), box-shadow 240ms ease, border-color 180ms ease; }
.quote-card:hover { z-index: 1; border-color: #bcd3f1; box-shadow: 0 12px 24px rgba(23, 54, 98, .09); transform: translateY(-3px) rotate(.15deg); }
.quote-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--blue-700); font-size: 7px; font-weight: 750; }
.quote-client { display: flex; align-items: center; gap: 8px; margin: 9px 0; }
.quote-client > div { display: flex; min-width: 0; flex-direction: column; }
.quote-client strong { overflow: hidden; color: var(--ink); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.quote-client small { color: var(--muted-2); font-size: 7px; }
.quote-total { display: block; color: var(--navy-800); font-size: 15px; letter-spacing: -.025em; }
.quote-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.quote-card footer span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 7px; }
.quote-card footer span.urgent { color: #c15f16; font-weight: 700; }
.quote-card footer .icon { width: 11px; height: 11px; }
.quote-card footer button { color: var(--blue-700); background: transparent; }
.view-switch { display: flex; overflow: hidden; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: #f5f7fa; }
.view-switch button { display: grid; width: 29px; height: 27px; place-items: center; border-radius: 7px; color: var(--muted-2); background: transparent; transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.view-switch button.is-active { color: var(--blue-700); background: #fff; box-shadow: 0 2px 5px rgba(15, 23, 42, .09); }
.view-switch .icon { width: 12px; height: 12px; }
.quote-list-view { display: none; }
.quote-list-view.is-visible { display: block; animation: revealIn 320ms var(--spring) both; }
.attention-banner { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; padding: 11px 14px; border: 1px solid #f1d4aa; border-radius: 13px; background: linear-gradient(90deg, #fff8eb, #fffdf8); }
.attention-banner > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #b96d11; background: #ffedcf; }
.attention-banner .icon { width: 15px; height: 15px; }
.attention-banner > div { flex: 1; }
.attention-banner strong { color: #815018; font-size: 9px; }
.attention-banner p { margin: 2px 0 0; color: #a17c4e; font-size: 8px; }
.attention-banner button { color: #9d5c0c; background: transparent; font-size: 8px; font-weight: 750; }
.due-cell { display: flex; align-items: center; gap: 6px; }
.due-cell .icon { width: 13px; height: 13px; color: var(--blue-600); }
.due-cell > div { display: flex; flex-direction: column; }
.due-cell strong { color: var(--ink); font-size: 8px; }
.due-cell small { color: var(--muted-2); font-size: 7px; }
.due-cell.overdue .icon, .due-cell.overdue small { color: var(--danger); }
.recurring-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .62fr); gap: 13px; margin-bottom: 13px; }
.recurring-calendar, .recurring-health { padding: 16px; }
.schedule-list { display: grid; margin-top: 9px; }
.schedule-day { display: grid; grid-template-columns: 46px 1fr; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line-soft); }
.schedule-day > span { display: flex; width: 35px; height: 42px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid #dbe7f7; border-radius: 10px; color: var(--blue-700); background: #f3f8ff; }
.schedule-day > span b { font-size: 13px; line-height: 1; }.schedule-day > span small { margin-top: 2px; font-size: 6px; font-weight: 800; }
.schedule-day > div { display: flex; align-items: center; gap: 9px; }.schedule-day > div > i { width: 3px; height: 28px; border-radius: 99px; background: #cbd5e1; }.schedule-day > div > i.blue { background: #2563eb; }.schedule-day > div > i.cyan { background: #06b6d4; }.schedule-day > div > i.violet { background: #8b5cf6; }
.schedule-day p { display: flex; margin: 0; flex-direction: column; }.schedule-day p strong { color: var(--ink); font-size: 9px; }.schedule-day p small { margin-top: 2px; color: var(--muted); font-size: 7px; }.schedule-day.muted { opacity: .62; }
.recurring-calendar > footer { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; }.recurring-calendar > footer span { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 7px; font-weight: 700; }.recurring-calendar > footer span i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: livePulse 1.8s infinite; }.recurring-calendar > footer button { color: var(--blue-700); background: transparent; font-size: 7px; font-weight: 750; }
.recurring-health { text-align: center; }
.health-ring { position: relative; width: 120px; height: 120px; margin: 12px auto 8px; }.health-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }.health-ring circle { fill: none; stroke: #e9eef5; stroke-width: 9; }.health-ring circle.value { stroke: #22c995; stroke-dasharray: 301.6; stroke-dashoffset: 7.2; stroke-linecap: round; animation: ringDash 950ms 180ms var(--spring) both; }.health-ring > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }.health-ring strong { color: var(--ink); font-size: 19px; }.health-ring small { color: var(--muted); font-size: 7px; }
.recurring-health h3 { margin: 0; color: var(--ink); font-size: 10px; }.recurring-health > p { margin: 3px 0 10px; color: var(--muted); font-size: 7px; }.recurring-health dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding-top: 10px; border-top: 1px solid var(--line-soft); }.recurring-health dl div { display: flex; flex-direction: column; }.recurring-health dt, .recurring-health dd { margin: 0; }.recurring-health dt { color: var(--muted-2); font-size: 6px; }.recurring-health dd { margin-top: 2px; color: var(--ink); font-size: 10px; font-weight: 750; }
.recurring-cards { display: grid; gap: 8px; padding: 11px; background: #f8fafc; }
.recurring-card { display: grid; grid-template-columns: minmax(210px, 1.2fr) minmax(350px, 2fr) minmax(150px, .8fr) auto; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: transform 230ms var(--spring), border-color 180ms ease, box-shadow 230ms ease; }
.recurring-card:hover { border-color: #bed5f2; box-shadow: 0 10px 22px rgba(23, 54, 98, .07); transform: translateX(3px); }
.recurring-card-main { display: flex; align-items: center; gap: 9px; }.recurring-card-main > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }.recurring-card-main h3 { margin: 4px 0 1px; color: var(--ink); font-size: 9px; }.recurring-card-main p { margin: 0; color: var(--muted); font-size: 7px; }
.rule-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.rule-meta span, .rule-result { display: flex; min-width: 0; flex-direction: column; }.rule-meta small, .rule-result small, .rule-result em { color: var(--muted-2); font-size: 6px; font-style: normal; }.rule-meta strong { overflow: hidden; margin-top: 3px; color: var(--text); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }.rule-result > strong { color: var(--navy-800); font-size: 11px; }.rule-result > span { overflow: hidden; height: 3px; margin: 5px 0 3px; border-radius: 99px; background: #e7edf4; }.rule-result > span i { display: block; height: 100%; border-radius: inherit; background: #20b986; }.rule-actions { display: flex; gap: 4px; }
@keyframes ringDash { from { stroke-dashoffset: 301.6; opacity: .2; } to { stroke-dashoffset: 7.2; opacity: 1; } }

@media (max-width: 1280px) {
    .module-kpis { grid-template-columns: repeat(2, 1fr); }
    .quote-board { overflow-x: auto; grid-template-columns: repeat(4, minmax(235px, 1fr)); }
    .recurring-card { grid-template-columns: minmax(190px, 1fr) minmax(310px, 1.6fr) minmax(140px, .7fr) auto; }
}
@media (max-width: 900px) {
    .seller-layout, .recurring-layout { grid-template-columns: 1fr; }
    .seller-focus { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }.seller-focus .section-label, .seller-focus .focus-person, .seller-focus .progress-track, .seller-focus dl, .seller-focus .button { grid-column: 1 / -1; }
    .recurring-card { grid-template-columns: 1fr auto; }.rule-meta, .rule-result { grid-column: 1 / -1; }.rule-actions { grid-row: 1; grid-column: 2; }
    .customer-toolbar { align-items: stretch; flex-direction: column; }.customer-toolbar .billing-search { width: 100%; }
}
@media (max-width: 640px) {
    .module-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }.module-kpi { min-height: 105px; align-items: flex-start; flex-direction: column; padding: 12px; }.module-kpi strong { font-size: 16px; }
    .module-list-toolbar { align-items: stretch; flex-direction: column; }.inline-tools, .mini-search { width: 100%; }.mini-search:focus-within { width: 100%; }.inline-tools .button-filter { flex: 0 0 auto; }
    .module-table thead { display: none; }.module-table, .module-table tbody, .module-table tr, .module-table td { display: block; width: 100%; }.module-table tr { margin-bottom: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }.module-table td { display: flex; min-height: 31px; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; border: 0; text-align: right !important; }.module-table td::before { content: attr(data-label); color: var(--muted-2); font-size: 7px; font-weight: 750; text-transform: uppercase; }.module-table td:last-child { display: none; }.entity-cell, .entity-button { text-align: right; }.contact-cell { align-items: flex-end; }
    .quote-workspace .module-list-toolbar { padding-bottom: 11px; }.quote-board { scroll-snap-type: x mandatory; }.quote-column { scroll-snap-align: start; }.quote-list-view .module-table td::before { content: none; }
    .attention-banner { align-items: flex-start; }.attention-banner button { display: none; }
    .seller-focus { display: block; }.recurring-calendar > footer { align-items: flex-start; flex-direction: column; gap: 8px; }.rule-meta { grid-template-columns: 1fr 1fr; }.rule-meta span:last-child { display: none; }.recurring-card { gap: 10px; }.recurring-card-main { min-width: 0; }.recurring-card-main .avatar-tone { display: none; }
}

/* Complete ERP module workspaces */
.sidebar-utility-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sidebar-utility-links .nav-link { min-width: 0; padding-inline: 9px; gap: 7px; }
.sidebar-utility-links .nav-link > span { font-size: 10px; }
.sidebar-utility-links .nav-link .icon { width: 15px; height: 15px; }
.sidebar-collapsed .sidebar-utility-links { grid-template-columns: 1fr; }
.module-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.module-title-wrap { display: flex; min-width: 0; align-items: center; gap: 12px; }
.module-title-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border: 1px solid #d9e8fa; border-radius: 15px; color: var(--blue-700); background: linear-gradient(145deg, #f7fbff, #e9f3ff); box-shadow: 0 9px 20px rgba(37, 99, 235, .09); }
.module-title-icon .icon { width: 23px; height: 23px; }
.module-page-heading h1 { margin: 3px 0 1px; color: var(--ink); font-size: clamp(21px, 2vw, 28px); letter-spacing: -.035em; }
.module-page-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.module-primary-action { min-width: 130px; }
.module-hub-kpis { margin-bottom: 13px; }
.module-insight-grid { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.55fr) minmax(250px, .82fr); gap: 13px; margin-bottom: 13px; }
.module-summary-card { position: relative; min-height: 270px; overflow: hidden; padding: 17px; border-radius: 17px; color: #fff; background: linear-gradient(145deg, #092650, #0b3980 58%, #1357b9); box-shadow: 0 18px 38px rgba(7, 35, 78, .18); }
.module-summary-card::after { position: absolute; right: -18px; bottom: -28px; width: 180px; height: 105px; content: ""; opacity: .38; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 105 C30 80 45 90 70 58 S120 82 145 45 190 62 220 10' fill='none' stroke='%236fc3ff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M0 105 C30 80 45 90 70 58 S120 82 145 45 190 62 220 10 V120 H0Z' fill='%233b82f6' opacity='.35'/%3E%3C/svg%3E") center/cover no-repeat; animation: summaryWave 900ms 250ms var(--spring) both; }
.summary-orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: orbit 7s ease-in-out infinite alternate; }
.orb-one { right: -28px; top: -32px; width: 125px; height: 125px; background: rgba(79, 172, 254, .16); }
.orb-two { left: 36%; bottom: -50px; width: 105px; height: 105px; background: rgba(139, 92, 246, .16); animation-delay: -3s; }
.module-summary-card header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.module-live { display: inline-flex; align-items: center; gap: 6px; color: rgba(219, 234, 254, .72); font-size: 7px; font-weight: 700; }
.module-live i { width: 6px; height: 6px; border-radius: 50%; color: #55e7b4; background: currentColor; animation: livePulse 1.8s infinite; }
.module-summary-card .ghost { width: 29px; height: 29px; color: rgba(255, 255, 255, .58); }
.module-summary-card .ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.summary-label { position: relative; z-index: 1; display: block; margin-top: 35px; color: rgba(219, 234, 254, .65); font-size: 8px; font-weight: 650; }
.module-summary-card > strong { position: relative; z-index: 1; display: block; margin-top: 4px; color: #fff; font-size: clamp(25px, 2.35vw, 35px); letter-spacing: -.055em; }
.module-summary-card > p { position: relative; z-index: 1; max-width: 195px; margin: 4px 0 0; color: rgba(219, 234, 254, .66); font-size: 8px; line-height: 1.5; }
.summary-mini-flow { position: absolute; z-index: 1; right: 17px; bottom: 14px; left: 17px; display: flex; align-items: center; gap: 7px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .09); color: rgba(219, 234, 254, .58); font-size: 6px; }
.summary-mini-flow span { display: flex; align-items: center; gap: 4px; }.summary-mini-flow > b { flex: 1; }.summary-mini-flow i { width: 6px; height: 6px; border-radius: 2px; }.summary-mini-flow .in { background: #52d9ff; }.summary-mini-flow .out { background: #a78bfa; }
.module-chart-card { min-width: 0; padding: 16px 17px 7px; }
.module-chart { height: 205px; }
.module-period { width: auto; }.module-period button { min-width: 60px; }
.module-alerts { display: flex; min-width: 0; flex-direction: column; padding: 15px; }
.module-alerts > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.module-alerts h2 { margin: 3px 0 0; color: var(--ink); font-size: 13px; }
.alert-count { display: grid; min-width: 24px; height: 24px; place-items: center; border-radius: 8px; color: var(--blue-700); background: var(--blue-50); font-size: 8px; font-weight: 800; }
.module-alert-list { display: grid; flex: 1; align-content: center; }
.module-alert { display: grid; grid-template-columns: 5px minmax(0, 1fr) auto 12px; align-items: center; gap: 7px; width: 100%; padding: 9px 3px; border-bottom: 1px solid var(--line-soft); background: transparent; text-align: left; transition: transform 240ms var(--spring), background 180ms ease; }
.module-alert:hover { border-radius: 9px; background: #f8fbff; transform: translateX(3px); }
.module-alert > i { width: 5px; height: 22px; border-radius: 99px; background: #67a3f4; }.module-alert.warning > i { background: #f0a333; }.module-alert.danger > i { background: #ef6464; }
.module-alert > span { display: flex; min-width: 0; flex-direction: column; }.module-alert strong { overflow: hidden; color: var(--ink); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }.module-alert small { overflow: hidden; color: var(--muted-2); font-size: 6px; white-space: nowrap; text-overflow: ellipsis; }
.module-alert > b { max-width: 60px; overflow: hidden; color: var(--text); font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }.module-alert > em { color: #a7b3c3; font-size: 11px; font-style: normal; }
.module-text-action { align-self: flex-start; margin-top: 8px; color: var(--blue-700); background: transparent; font-size: 7px; font-weight: 750; }.module-text-action span { display: inline-block; transition: transform 250ms var(--spring); }.module-text-action:hover span { transform: translateX(3px); }
.process-workspace { overflow: hidden; margin-bottom: 13px; }
.process-toolbar p { margin: 3px 0 0; color: var(--muted-2); font-size: 7px; }
.process-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 16px 11px; border-bottom: 1px solid var(--line-soft); scrollbar-width: none; }
.process-tabs button { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; font-size: 7px; font-weight: 700; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 240ms var(--spring); }
.process-tabs button:hover { color: var(--blue-700); background: var(--blue-50); transform: translateY(-1px); }.process-tabs button.is-active { border-color: #cfe1f8; color: var(--blue-700); background: #edf6ff; }
.process-tabs button span { display: grid; min-width: 16px; height: 16px; place-items: center; border-radius: 5px; color: inherit; background: rgba(37, 99, 235, .08); font-size: 6px; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 11px; background: #f8fafc; }
.process-card { position: relative; display: grid; grid-template-columns: 37px minmax(0, 1fr) auto 16px; min-height: 84px; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: left; box-shadow: 0 2px 7px rgba(15, 23, 42, .02); transition: transform 250ms var(--spring), border-color 180ms ease, box-shadow 250ms ease; }
.process-card:hover { z-index: 1; border-color: #bcd4f2; box-shadow: 0 12px 25px rgba(27, 61, 112, .08); transform: translateY(-3px); }.process-card[hidden] { display: none; }
.process-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 11px; color: var(--blue-700); background: #edf5ff; transition: transform 270ms var(--spring); }.process-card:hover .process-icon { transform: rotate(-3deg) scale(1.06); }.process-icon .icon { width: 17px; height: 17px; }.process-icon.cyan { color: #0787a5; background: #eafaff; }.process-icon.violet { color: #7253c9; background: #f3efff; }.process-icon.green { color: #07825e; background: #eafaf4; }.process-icon.amber { color: #aa6906; background: #fff6e7; }.process-icon.rose { color: #c2455d; background: #fff0f3; }
.process-copy { display: flex; min-width: 0; flex-direction: column; }.process-copy small { color: var(--muted-2); font-size: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }.process-copy strong { margin-top: 2px; color: var(--ink); font-size: 9px; }.process-copy em { display: -webkit-box; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 7px; font-style: normal; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.process-card > b { max-width: 70px; overflow: hidden; padding: 4px 6px; border-radius: 7px; color: var(--blue-700); background: var(--blue-50); font-size: 6px; white-space: nowrap; text-overflow: ellipsis; }.process-arrow { color: #a6b2c2; font-size: 12px; transition: color 180ms ease, transform 260ms var(--spring); }.process-card:hover .process-arrow { color: var(--blue-600); transform: translateX(3px); }
.process-empty { display: none; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); text-align: center; }.process-empty.is-visible { display: flex; }.process-empty .icon { width: 27px; height: 27px; color: #b0bccb; }.process-empty strong { margin-top: 8px; color: var(--ink); font-size: 10px; }.process-empty p { margin: 2px 0 0; font-size: 7px; }
.module-activity { overflow: hidden; }
.activity-reference { color: var(--blue-700); font-size: 8px; }
@keyframes summaryWave { from { opacity: 0; transform: translateY(30px) scaleX(.8); } to { opacity: .38; transform: none; } }

@media (max-width: 1300px) {
    .module-insight-grid { grid-template-columns: minmax(220px, .68fr) minmax(420px, 1.4fr); }.module-alerts { grid-column: 1 / -1; }.module-alert-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }.module-alert { border: 1px solid var(--line-soft); border-radius: 10px; padding: 9px; }.module-text-action { margin-top: 10px; }
}
@media (max-width: 1000px) {
    .module-insight-grid { grid-template-columns: 1fr; }.module-summary-card { min-height: 230px; }.module-alerts { grid-column: auto; }.process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .module-page-heading { align-items: stretch; flex-direction: column; }.module-page-heading .heading-actions { display: grid; grid-template-columns: 1fr 1.3fr; }.module-title-wrap { align-items: flex-start; }.module-title-icon { width: 42px; height: 42px; border-radius: 13px; }.module-insight-grid { gap: 9px; }.module-alert-list { grid-template-columns: 1fr; }.process-grid { grid-template-columns: 1fr; }.process-card { min-height: 80px; }.process-toolbar .mini-search { width: 100%; }
}
@media (max-width: 520px) {
    .module-title-icon { display: none; }.module-page-heading p { max-width: 92%; }.module-hub-kpis .module-kpi { min-height: 106px; }.module-summary-card { min-height: 215px; }.module-chart-card { padding-inline: 12px; }.module-chart { height: 230px; }.module-period { display: none; }.process-tabs { padding-inline: 11px; }.process-grid { padding: 8px; }.process-card { grid-template-columns: 35px minmax(0, 1fr) 14px; }.process-card > b { display: none; }.module-activity .table-scroll { padding: 8px; }
}
