:root {
  --ink: #241f37;
  --ink-soft: #514c61;
  --muted: #8e8999;
  --line: #ebe8ef;
  --canvas: #f8f7f9;
  --white: #ffffff;
  --pink: #c13a65;
  --pink-dark: #a62e54;
  --pink-pale: #f8e8ee;
  --green: #1f9d72;
  --green-pale: #e7f6ef;
  --orange: #d98a31;
  --orange-pale: #fff2df;
  --red: #d6545f;
  --red-pale: #fcebed;
  --shadow: 0 14px 38px rgba(36, 31, 55, .06);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 248px; flex: 0 0 248px; background: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #f4edf1 67%, #241f37 100%); color: var(--ink); padding: 24px 15px 16px; display: flex; flex-direction: column; min-height: 100vh; }
.brand-lockup { height: 70px; display: flex; align-items: center; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; overflow: hidden; background: linear-gradient(115deg, #ffffff 0%, #f7eaf0 38%, #c13a65 70%, #241f37 100%); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.brand-logo { width: 214px; height: 91px; object-fit: cover; object-position: center; transform: scale(1.12); filter: none; }
.close-sidebar { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); font-size: 28px; }
.workspace-switcher { margin: 25px 7px 27px; display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid rgba(36,31,55,.14); border-radius: 10px; }
.workspace-switcher strong, .workspace-switcher small, .user-card strong, .user-card small, .help-card strong, .help-card small { display: block; }
.workspace-switcher strong { font-size: 12px; letter-spacing: .01em; }.workspace-switcher small { color: #777184; font-size: 10px; margin-top: 2px; }.workspace-chevron { margin-left: auto; color: #777184; }
.workspace-mark { width: 26px; height: 26px; background: var(--pink); border-radius: 7px; display: grid; place-items: center; font-family: "Space Grotesk"; font-weight: bold; font-size: 12px; }
.workspace-avatar { width: 29px; height: 29px; flex: 0 0 29px; display: block; position: relative; overflow: hidden; border-radius: 9px; background: linear-gradient(145deg, #f3c9b5 0%, #df9b98 100%); box-shadow: inset 0 -7px 0 #c13a65; }
.workspace-avatar::before { content: ""; position: absolute; z-index: 2; top: 3px; left: 5px; width: 19px; height: 19px; border-radius: 52% 52% 45% 45%; background: #241f37; }
.workspace-avatar::after { content: ""; position: absolute; z-index: 3; top: 8px; left: 9px; width: 11px; height: 13px; border-radius: 45% 45% 48% 48%; background: #f3c5ac; box-shadow: 3px 5px 0 -4px #241f37, -3px 5px 0 -4px #241f37; }
.portrait-body { position: absolute; z-index: 1; bottom: -4px; left: 4px; width: 22px; height: 13px; border-radius: 13px 13px 3px 3px; background: #e9e3ed; border-top: 3px solid #c13a65; }
.nav-label { margin: 0 14px 9px; color: #817b8c; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: bold; }.nav-label-spaced { margin-top: 29px; }
.main-nav { flex: 1; }.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; color: #6f697c; background: transparent; border: 0; padding: 11px 13px; margin: 2px 0; border-radius: 8px; font-size: 12px; transition: .2s; }.nav-item:hover { color: var(--ink); background: rgba(36,31,55,.06); }.nav-item.active { color: white; background: var(--pink); box-shadow: 0 7px 18px rgba(193,58,101,.22); }.nav-icon { width: 17px; text-align: center; font-size: 17px; line-height: 1; }.nav-badge { margin-left: auto; color: #f9b7cb; font-size: 10px; background: rgba(36,31,55,.12); padding: 3px 7px; border-radius: 20px; }.nav-item.active .nav-badge { color: white; background: rgba(0,0,0,.14); }
.help-card { background: #302b47; border-radius: 10px; padding: 11px 10px; display: flex; align-items: center; gap: 9px; margin: 12px 0 15px; }.help-icon { width: 21px; height: 21px; border: 1px solid #837b9b; border-radius: 50%; display: grid; place-items: center; color: #d0cadd; font-size: 12px; }.help-card strong { font-size: 10px; }.help-card small { color: #aaa4b6; font-size: 9px; margin-top: 3px; }.help-card > span:last-child { margin-left: auto; color: #aaa4b6; font-size: 18px; }.user-card { display: flex; align-items: center; gap: 9px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14); color: white; }.avatar { width: 30px; height: 30px; border-radius: 50%; background: #f0b6c7; color: var(--pink-dark); display: grid; place-items: center; font-size: 10px; font-weight: bold; }.user-card strong { font-size: 10px; white-space: nowrap; }.user-card small { color: #aaa4b6; font-size: 9px; margin-top: 2px; }.user-card button { margin-left: auto; border: 0; background: none; color: #aaa4b6; letter-spacing: 2px; font-size: 12px; }
.main-content { flex: 1; min-width: 0; }.topbar { height: 74px; border-bottom: 1px solid var(--line); background: var(--white); display: flex; align-items: center; padding: 0 4.3%; justify-content: space-between; }.breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }.breadcrumb b { color: #d2cfd8; font-weight: 400; }.breadcrumb strong { color: var(--ink); font-weight: 600; }.topbar-actions { display: flex; align-items: center; gap: 19px; }.status-pill { color: var(--green); font-size: 11px; font-weight: 600; display: flex; gap: 6px; align-items: center; }.status-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }.notification-button { border: 0; background: none; color: var(--ink-soft); font-size: 23px; position: relative; line-height: 1; }.notification-button i { position: absolute; width: 5px; height: 5px; background: var(--pink); border-radius: 50%; top: 0; right: 1px; }.topbar-divider { width: 1px; height: 23px; background: var(--line); }.topbar-date { font-size: 11px; color: var(--muted); }.menu-toggle { display: none; border: 0; background: none; font-size: 20px; color: var(--ink); }
.page-container { max-width: 1420px; margin: auto; padding: 39px 4.3% 55px; }.page-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: var(--pink); font-weight: bold; font-size: 9px; margin: 0 0 9px; }.page-heading h1 { font: 700 27px "Space Grotesk", sans-serif; letter-spacing: -.04em; margin: 0 0 8px; }.page-heading p { color: var(--muted); margin: 0; font-size: 12px; }.heading-actions { display: flex; gap: 10px; }.button { border: 0; border-radius: 7px; min-height: 39px; padding: 0 16px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 9px; transition: .2s; }.button-primary { background: var(--pink); color: white; box-shadow: 0 8px 17px rgba(193,58,101,.19); }.button-primary:hover { background: var(--pink-dark); transform: translateY(-1px); }.button-ghost { color: var(--ink-soft); border: 1px solid var(--line); background: white; }.button-ghost:hover { border-color: #c7c1cc; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }.stat-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 18px 19px 16px; min-height: 123px; position: relative; overflow: hidden; }.stat-card:after { content: ""; position: absolute; right: -28px; top: -25px; width: 92px; height: 92px; border-radius: 50%; background: var(--pink-pale); }.stat-top { display: flex; justify-content: space-between; position: relative; z-index: 1; }.stat-label { color: var(--muted); font-size: 11px; }.stat-icon { color: var(--pink); background: var(--pink-pale); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; }.stat-value { font: 700 22px "Space Grotesk"; margin-top: 17px; letter-spacing: -.04em; }.stat-trend { position: absolute; bottom: 17px; right: 17px; color: var(--green); font-size: 9px; font-weight: 600; }.stat-trend.neutral { color: var(--muted); }.stat-trend.alert { color: var(--red); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(300px, .85fr); gap: 16px; }.panel { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 21px; }.panel-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }.panel-header h2 { margin: 0 0 5px; font: 600 15px "Space Grotesk"; letter-spacing: -.02em; }.panel-header p { margin: 0; color: var(--muted); font-size: 10px; }.link-button { border: 0; background: transparent; color: var(--pink); font-size: 10px; font-weight: bold; padding: 2px; }.chart-panel { min-height: 295px; }.chart-legend { display: flex; gap: 15px; color: var(--muted); font-size: 10px; }.legend { display: flex; align-items: center; gap: 5px; }.legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }.legend-pink { background: var(--pink); }.legend-light { background: #edc4d1; }.chart { height: 178px; position: relative; margin: 4px 4px 0 24px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, #f1eff3 44px); }.chart svg { width: 100%; height: 100%; overflow: visible; }.chart-labels { display: flex; justify-content: space-between; color: #aaa6b1; font-size: 9px; margin: 8px 0 0 24px; }.chart-y-labels { position: absolute; left: -24px; top: -4px; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; color: #b0acb5; font-size: 8px; padding-bottom: 3px; }
.due-panel { min-height: 295px; }.due-list { display: flex; flex-direction: column; gap: 13px; }.due-item { display: flex; align-items: center; gap: 10px; }.due-date { width: 33px; height: 35px; border-radius: 7px; background: var(--canvas); text-align: center; padding-top: 4px; color: var(--pink); font-weight: bold; font-size: 13px; line-height: 14px; }.due-date small { display: block; color: var(--muted); text-transform: uppercase; font-size: 7px; }.due-info { flex: 1; min-width: 0; }.due-info strong { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.due-info span { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }.due-value { text-align: right; font-size: 10px; font-weight: 700; }.due-value small { display: block; font-weight: 500; color: var(--orange); margin-top: 3px; font-size: 8px; }.due-value .danger { color: var(--red); }.due-value .safe { color: var(--green); }
.table-panel { margin-top: 16px; }.table-filters { display: flex; align-items: center; gap: 9px; }.search-box { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; color: var(--muted); }.search-box input { border: 0; outline: none; width: 138px; color: var(--ink); font-size: 10px; }.filter-select { border: 1px solid var(--line); color: var(--ink-soft); background: white; border-radius: 6px; padding: 7px 9px; font-size: 10px; outline: none; }.data-table { width: 100%; border-collapse: collapse; }.data-table th { color: #a29da9; text-align: left; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 11px 9px; border-bottom: 1px solid var(--line); }.data-table td { padding: 13px 9px; border-bottom: 1px solid #f1eff3; color: var(--ink-soft); font-size: 10px; }.data-table td:first-child { color: var(--ink); font-weight: 600; }.data-table tr:last-child td { border-bottom: 0; }.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 20px; font-size: 8px; font-weight: 700; }.status:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status.pending { color: var(--orange); background: var(--orange-pale); }.status.paid { color: var(--green); background: var(--green-pale); }.status.overdue { color: var(--red); background: var(--red-pale); }.status.partial { color: #9472bd; background: #f1ebf8; }.invoice-status-select { border: none; border-radius: 20px; padding: 5px 10px; font-size: 9px; font-weight: 700; cursor: pointer; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-repeat: no-repeat; background-position: right 4px center; background-size: 10px; padding-right: 18px; }.invoice-status-select.pending { color: var(--orange); background-color: var(--orange-pale); }.invoice-status-select.paid { color: var(--green); background-color: var(--green-pale); }.invoice-status-select.overdue { color: var(--red); background-color: var(--red-pale); }.amount { font-weight: 700; color: var(--ink) !important; }.table-empty { text-align: center; color: var(--muted); padding: 30px !important; }
.module-toolbar { display: flex; justify-content: space-between; margin-bottom: 17px; align-items: center; }.module-toolbar h2 { font: 600 17px "Space Grotesk"; margin: 0; }.module-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.module-stat { background: white; border: 1px solid var(--line); padding: 15px 18px; border-radius: 9px; }.module-stat span { color: var(--muted); font-size: 10px; display: block; }.module-stat strong { display: block; margin-top: 6px; font: 700 19px "Space Grotesk"; }.module-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 15px; }.month-navigator { display: flex; align-items: center; justify-content: center; gap: 16px; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 12px 24px; margin-bottom: 15px; }.month-nav-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: white; color: var(--pink); font-size: 22px; font-weight: 700; cursor: pointer; display: grid; place-items: center; transition: all .15s; }.month-nav-btn:hover { background: var(--pink-pale); border-color: var(--pink); color: var(--pink); }.month-nav-display { min-width: 180px; text-align: center; }.month-nav-label { font: 700 18px "Space Grotesk"; color: var(--ink); }
.empty-module { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 35px; text-align: center; }.empty-module h2 { font: 600 18px "Space Grotesk"; margin: 14px 0 7px; }.empty-module p { color: var(--muted); font-size: 11px; max-width: 370px; margin: auto; line-height: 1.6; }.empty-illustration { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; border-radius: 14px; color: var(--pink); background: var(--pink-pale); font-size: 23px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(36,31,55,.45); display: none; place-items: center; padding: 20px; z-index: 10; }.modal-backdrop.open { display: grid; }.modal { width: min(570px, 100%); background: white; border-radius: 13px; box-shadow: 0 25px 80px rgba(36,31,55,.22); }.modal-header { padding: 24px 25px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }.modal-header h2 { font: 600 20px "Space Grotesk"; margin: 0; }.modal-close { border: 0; background: none; font-size: 25px; color: var(--muted); align-self: flex-start; }.modal form { padding: 21px 25px 0; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label { color: var(--ink-soft); font-size: 10px; font-weight: 600; display: grid; gap: 7px; }.form-grid input, .form-grid select, .form-grid textarea { border: 1px solid var(--line); border-radius: 6px; padding: 10px; outline: none; color: var(--ink); background: white; font-size: 11px; }.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-pale); }.form-grid textarea { resize: vertical; min-height: 70px; }.full-field { grid-column: 1 / -1; }.modal-footer { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); margin: 23px -25px 0; padding: 15px 25px; }.toast { position: fixed; bottom: 25px; right: 25px; background: var(--ink); color: white; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); font-size: 11px; transform: translateY(100px); opacity: 0; transition: .3s; z-index: 20; display: flex; align-items: center; gap: 9px; }.toast.visible { transform: translateY(0); opacity: 1; }.toast-check { width: 18px; height: 18px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: 11px; }
@media (max-width: 1000px) { .stats-grid { grid-template-columns: repeat(2, 1fr); }.content-grid { grid-template-columns: 1fr; }.topbar-date { display: none; } }
@media (max-width: 700px) { .sidebar { position: fixed; z-index: 8; left: -270px; top: 0; transition: left .25s; box-shadow: 10px 0 30px rgba(36,31,55,.2); }.sidebar.open { left: 0; }.close-sidebar { display: block; }.menu-toggle { display: block; }.topbar { padding: 0 20px; gap: 15px; }.breadcrumb { flex: 1; }.topbar-actions { gap: 11px; }.status-pill { display: none; }.page-container { padding: 28px 18px 45px; }.page-heading { display: block; }.heading-actions { margin-top: 18px; }.stats-grid { gap: 9px; }.stat-card { padding: 14px; min-height: 110px; }.stat-value { font-size: 18px; }.stat-trend { position: static; display: block; margin-top: 5px; }.table-panel { overflow: hidden; }.table-filters { margin-top: 13px; }.search-box { flex: 1; }.search-box input { width: 100%; }.data-table { min-width: 650px; }.table-scroll { overflow-x: auto; }.module-toolbar { display: block; }.module-toolbar .button { margin-top: 14px; }.module-stat-row { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.full-field { grid-column: auto; }.modal { max-height: 92vh; overflow: auto; } }

/* Compact dark navigation inspired by the Xafratech reference layout. */
.sidebar { background: linear-gradient(155deg, #1d1730 0%, #111126 55%, #080d24 100%); color: #f8f6fb; padding: 17px 12px 14px; }
.brand-lockup { height: 84px; padding: 0 8px; border: 0; border-bottom: 1px solid rgba(255,255,255,.09); border-radius: 0; background: transparent; box-shadow: none; justify-content: center; }
.brand-logo { width: 190px; height: 62px; object-fit: contain; transform: translateY(-9px); }
.workspace-switcher { margin: 19px 4px 24px; border: 1px solid transparent; background: linear-gradient(#17152d, #17152d) padding-box, linear-gradient(100deg, #c13a65 0%, #7259e9 100%) border-box; }
.workspace-switcher strong { color: white; }.workspace-switcher small { color: #aaa6b8; }.workspace-chevron { color: #aaa6b8; }
.nav-label { color: #88829d; font-size: 8px; margin-left: 10px; }
.nav-item { color: #bbb7c9; padding: 9px 8px; gap: 10px; font-size: 11px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { position: relative; overflow: hidden; background-image: linear-gradient(108deg, transparent 0%, transparent 42%, rgba(255,255,255,.3) 50%, transparent 58%), linear-gradient(100deg, #c13a65 0%, #7259e9 100%); background-size: 230% 100%, 100% 100%; background-position: -180% 0, 0 0; background-repeat: no-repeat; box-shadow: 0 7px 17px rgba(74,55,169,.3); animation: active-nav-shine 1.8s ease-in-out infinite; }
.nav-item.active::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #c13a65 0%, #f3b2c5 48%, #7259e9 100%); }
.nav-icon { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); border-radius: 6px; font-size: 13px; }
.nav-item.active .nav-icon { color: var(--pink); background: white; border-color: white; }
.nav-badge { padding: 2px 6px; color: #ffd3df; background: rgba(255,255,255,.13); }
.nav-label-spaced { margin-top: 24px; }
.user-card { border-top-color: rgba(255,255,255,.1); }
.workspace-switcher strong { font-size: 14px; }
.workspace-switcher small { font-size: 11px; }
.nav-label { font-size: 10px; }
.nav-item { font-size: 13px; }
.nav-badge { font-size: 11px; }

@keyframes active-nav-shine {
  0%, 28% { background-position: -180% 0, 0 0; }
  64%, 100% { background-position: 180% 0, 0 0; }
}

/* The mirror line belongs to the top header, not the active navigation item. */
.nav-item.active { position: static; overflow: visible; animation: none; background: linear-gradient(100deg, #c13a65 0%, #7259e9 100%); }
.nav-item.active::after { display: none; }
.topbar { position: relative; border-bottom: 0; }
.topbar::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background-image: linear-gradient(108deg, transparent 0%, transparent 42%, rgba(255,255,255,.8) 50%, transparent 58%), linear-gradient(90deg, #c13a65 0%, #7259e9 100%); background-size: 230% 100%, 100% 100%; background-position: -180% 0, 0 0; background-repeat: no-repeat; animation: topbar-shine 1.8s ease-in-out infinite; }

@keyframes topbar-shine {
  0%, 28% { background-position: -180% 0, 0 0; }
  64%, 100% { background-position: 180% 0, 0 0; }
}

/* Larger desktop typography for easier reading. */
.breadcrumb { font-size: 14px; }
.topbar-date { font-size: 12px; }
.status-pill { font-size: 12px; }
.page-heading h1, .module-toolbar h1 { font-size: 32px; }
.page-heading p, .module-toolbar p { font-size: 14px; }
.eyebrow { font-size: 11px; }
.button { font-size: 12px; }
.stat-label { font-size: 13px; }
.stat-value { font-size: 25px; }
.stat-trend { font-size: 10px; }
.panel-header h2 { font-size: 18px; }
.panel-header p { font-size: 12px; }
.chart-legend, .link-button { font-size: 12px; }
.data-table th { font-size: 10px; }
.data-table td { font-size: 12px; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.row-action { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); background: white; transition: .2s; }
.row-action:hover { color: var(--pink); border-color: #e4afc1; background: var(--pink-pale); transform: translateY(-1px); }
.row-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button, .button-primary, .button-ghost { color: white; border: 0; background: linear-gradient(100deg, #c13a65 0%, #7259e9 100%); box-shadow: 0 8px 17px rgba(74,55,169,.18); }
.button:hover, .button-primary:hover, .button-ghost:hover { color: white; background: linear-gradient(100deg, #a92f57 0%, #6048d5 100%); box-shadow: 0 10px 21px rgba(74,55,169,.25); }
.row-action { color: white; border-color: transparent; background: linear-gradient(135deg, #c13a65 0%, #7259e9 100%); }
.row-action:hover { color: white; border-color: transparent; background: linear-gradient(135deg, #a92f57 0%, #6048d5 100%); }
.row-action-delete:hover { background: linear-gradient(135deg, #c13a65 0%, #d6545f 100%); }
.edit-modal { max-width: 700px; }
.edit-modal form { max-height: 76vh; overflow-y: auto; }
.form-section-title { color: var(--ink); font: 700 13px "Space Grotesk"; border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 15px; }
.provider-section-title { margin-top: 23px; }
.nit-field { align-content: start; }
.search-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }
.search-input:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-pale); }
.search-input input { min-width: 0; flex: 1; border: 0; box-shadow: none; }
.search-input input:focus { border: 0; box-shadow: none; }
.search-input button { width: 38px; height: 37px; border: 0; color: white; background: linear-gradient(100deg, #c13a65 0%, #7259e9 100%); font-size: 19px; }
.nit-field small { color: var(--muted); font-size: 10px; font-weight: 400; }
.nit-field small.found { color: var(--green); }
.drive-link-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }
.drive-link-field:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-pale); }
.drive-link-field input { flex: 1; min-width: 0; border: 0; box-shadow: none; }
.drive-link-field input:focus { border: 0; box-shadow: none; }
.drive-link-field button { width: 42px; height: 38px; border: 0; color: white; background: linear-gradient(100deg, #c13a65 0%, #7259e9 100%); font-size: 20px; }
.field-hint { color: var(--muted); font-size: 10px; font-weight: 400; }
.view-content { padding: 21px 25px 0; max-height: 76vh; overflow-y: auto; }
.view-content input[readonly] { background: #faf9fb; color: var(--ink-soft); cursor: default; }
.view-content .modal-footer { margin-left: -25px; margin-right: -25px; }
.stat-card { box-shadow: 0 10px 24px rgba(193,58,101,.12), 0 4px 10px rgba(114,89,233,.12); transition: transform .2s ease, box-shadow .2s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(193,58,101,.16), 0 6px 14px rgba(114,89,233,.16); }
.legend-pink { background: linear-gradient(90deg, #c13a65, #7259e9); }
.legend-light { background: #7259e9; }
.stat-icon { color: white; background: linear-gradient(135deg, #c13a65 0%, #7259e9 100%); box-shadow: 0 5px 10px rgba(114,89,233,.2); }
.stat-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-card, .module-stat { border: 1px solid transparent; background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(100deg, #c13a65 0%, #7259e9 100%) border-box; }
.status-dot { width: 22px; height: 22px; display: grid; place-items: center; background: linear-gradient(135deg, #c13a65 0%, #7259e9 100%); border-radius: 7px; }
.status-dot svg { width: 13px; height: 13px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.notification-button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: white; background: linear-gradient(135deg, #c13a65 0%, #7259e9 100%); box-shadow: 0 6px 14px rgba(114,89,233,.2); }
.notification-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-button:hover { transform: translateY(-1px); box-shadow: 0 8px 17px rgba(114,89,233,.3); }
.notification-wrapper { position: relative; }
.notification-button b { position: absolute; top: -7px; right: -7px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: #d6545f; border: 2px solid white; color: white; font: 700 9px "DM Sans"; }
.notification-panel { position: absolute; z-index: 9; top: 46px; right: 0; width: 330px; display: none; background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 18px 40px rgba(36,31,55,.18); overflow: hidden; }
.notification-panel.open { display: block; }
.notification-panel-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--line); }.notification-panel-header strong, .notification-panel-header small { display: block; }.notification-panel-header strong { font: 700 15px "Space Grotesk"; color: var(--pink); }.notification-panel-header small { color: var(--muted); font-size: 10px; margin-top: 4px; }.notification-count-label { color: var(--pink); background: var(--pink-pale); border-radius: 12px; padding: 5px 7px; font-size: 9px; font-weight: 700; }
.notification-list { padding: 4px 0; }.notification-item { width: 100%; display: flex; gap: 10px; text-align: left; border: 0; border-bottom: 1px solid #f2f0f4; background: white; padding: 12px 15px; }.notification-item:hover { background: #fcf7f9; }.notification-item-icon { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; font-weight: 700; }.notification-item-icon.danger { color: var(--red); background: var(--red-pale); }.notification-item-icon.warning { color: var(--orange); background: var(--orange-pale); }.notification-item strong, .notification-item small, .notification-item em { display: block; }.notification-item strong { color: var(--ink); font-size: 11px; }.notification-item small { color: var(--ink-soft); font-size: 10px; margin-top: 3px; }.notification-item em { color: var(--muted); font-size: 9px; font-style: normal; margin-top: 4px; }.notification-footer { width: 100%; border: 0; background: white; color: var(--pink); padding: 12px; font-size: 11px; font-weight: 700; text-align: center; }.notification-footer:hover { background: var(--pink-pale); }
@media (max-width: 700px) { .notification-panel { position: fixed; top: 62px; right: 14px; width: min(330px, calc(100vw - 28px)); } }

@media (max-width: 700px) {
  .page-heading h1, .module-toolbar h1 { font-size: 27px; }
  .page-heading p, .module-toolbar p { font-size: 12px; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 11px; }
  .panel-header h2 { font-size: 15px; }
  .panel-header p { font-size: 10px; }
}

/* Unified type scale across the platform. */
body { font-size: 15px; line-height: 1.45; }
.workspace-switcher strong { font-size: 15px; }
.workspace-switcher small { font-size: 12px; }
.nav-label { font-size: 10px; }
.nav-item { font-size: 14px; }
.nav-badge { font-size: 12px; }
.subnav { margin: -1px 0 8px 31px; padding-left: 8px; border-left: 1px solid rgba(193,58,101,.55); }
.subnav-item { width: 100%; display: flex; align-items: center; gap: 8px; color: #a9a4ba; background: transparent; border: 0; border-radius: 6px; padding: 8px 7px; text-align: left; font-size: 12px; }
.subnav-item:hover, .subnav-item:focus { color: white; background: rgba(255,255,255,.07); }
.subnav-item span { color: #c13a65; font-size: 15px; }
.subnav-chevron { margin-left: auto; color: #aaa6b8; font-size: 14px; }
.receivable-form-panel { max-width: 1080px; }
.economic-grid input[readonly] { color: var(--pink); font-weight: 700; background: #fcf5f8; }
.form-footer { margin-top: 26px; }
.calendar-alerts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.calendar-alert { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-left: 3px solid; border-radius: 9px; padding: 13px; }
.calendar-alert > span { font-size: 17px; }.calendar-alert strong, .calendar-alert small { display: block; }.calendar-alert strong { font-size: 12px; }.calendar-alert small { color: var(--muted); font-size: 10px; margin-top: 3px; }.alert-soon { border-left-color: var(--orange); }.alert-late { border-left-color: var(--red); }.alert-paid { border-left-color: var(--green); }.alert-partial { border-left-color: #df8a35; }
.calendar-table td:first-child { width: 85px; }.agenda-date { display: inline-flex; align-items: center; gap: 7px; color: var(--pink); font: 700 16px "Space Grotesk"; }.agenda-date small { color: var(--muted); font: 10px "DM Sans"; text-transform: uppercase; }.calendar-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; }.calendar-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }.calendar-status.soon { color: var(--orange); background: var(--orange-pale); }.calendar-status.late { color: var(--red); background: var(--red-pale); }.calendar-status.settled { color: var(--green); background: var(--green-pale); }.calendar-status.partial { color: #bd7029; background: #fff0e3; }
.calendar-table { min-width: 900px; }.payment-date { color: var(--green); font-weight: 600; white-space: nowrap; }.payment-date.unpaid { color: var(--muted); font-weight: 500; }
.clickable-row { cursor: pointer; }.clickable-row:hover td { background: #fcf5f8; }.invoice-link { color: var(--pink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(193,58,101,.35); text-underline-offset: 3px; }
.provider-table { width: 100%; min-width: 0; table-layout: fixed; }
.provider-table th, .provider-table td { overflow-wrap: anywhere; }
.provider-table th:nth-child(1), .provider-table td:nth-child(1) { width: 22%; }
.provider-table th:nth-child(2), .provider-table td:nth-child(2) { width: 15%; }
.provider-table th:nth-child(3), .provider-table td:nth-child(3) { width: 18%; }
.provider-table th:nth-child(4), .provider-table td:nth-child(4) { width: 17%; }
.provider-table th:nth-child(5), .provider-table td:nth-child(5) { width: 14%; }
.provider-table th:nth-child(6), .provider-table td:nth-child(6) { width: 14%; }
.provider-table .row-actions { flex-wrap: nowrap; }
.receivables-table { min-width: 820px; }
.receivable-modal { max-width: 760px; }
.receivable-status-select { border: 0; border-radius: 20px; padding: 6px 25px 6px 10px; font-size: 11px; font-weight: 700; color: var(--ink); cursor: pointer; outline: none; }.receivable-status-select.pending { color: var(--orange); background: var(--orange-pale); }.receivable-status-select.partial { color: #9472bd; background: #f1ebf8; }.receivable-status-select.paid { color: var(--green); background: var(--green-pale); }.receivable-status-select:focus { box-shadow: 0 0 0 3px var(--pink-pale); }
.payment-calendar-layout { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.5fr); gap: 16px; }.mini-calendar-panel { min-height: 360px; }.month-controls { display: flex; gap: 5px; }.month-controls button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; color: var(--pink); background: white; font-size: 18px; }.month-controls button:hover { color: white; background: linear-gradient(100deg, #c13a65, #7259e9); }.mini-calendar-week, .mini-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }.mini-calendar-week { color: var(--muted); font-size: 10px; font-weight: 700; margin-bottom: 8px; }.mini-day { position: relative; min-height: 34px; border: 1px solid transparent; border-radius: 7px; color: var(--ink-soft); background: white; font-size: 11px; }.mini-day:not(:disabled):hover { color: var(--pink); border-color: #e4afc1; background: var(--pink-pale); }.mini-day:disabled { cursor: default; }.mini-day.today { border-color: var(--pink); color: var(--pink); font-weight: 700; }.mini-day i { position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; transform: translateX(-50%); border-radius: 50%; background: currentColor; }.mini-day.soon { color: var(--orange); }.mini-day.late { color: var(--red); }.mini-day.paid { color: var(--green); }.mini-day.partial { color: #bd7029; }.calendar-key { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 10px; margin-top: 18px; }.calendar-key span { display: flex; align-items: center; gap: 5px; }.key-dot { width: 7px; height: 7px; border-radius: 50%; }.key-dot.soon { background: var(--orange); }.key-dot.late { background: var(--red); }.key-dot.paid { background: var(--green); }.payment-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.payment-summary-card { min-height: 168px; }.summary-card-head { display: flex; justify-content: space-between; align-items: center; }.summary-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; }.summary-icon.soon { color: var(--orange); background: var(--orange-pale); }.summary-icon.late { color: var(--red); background: var(--red-pale); }.summary-icon.paid { color: var(--green); background: var(--green-pale); }.summary-count { font: 700 24px "Space Grotesk"; color: var(--ink); }.payment-summary-card h3 { margin: 20px 0 5px; color: var(--pink); font: 600 15px "Space Grotesk"; }.payment-summary-card p { margin: 0 0 15px; color: var(--muted); font-size: 11px; }.payment-alerts-panel { margin-top: 16px; }.payment-alert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.payment-alert-item { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 8px; background: var(--canvas); border-left: 3px solid; }.payment-alert-item strong, .payment-alert-item small { display: block; }.payment-alert-item strong { font-size: 12px; }.payment-alert-item small { margin-top: 3px; color: var(--muted); font-size: 10px; }.payment-alert-item.late { border-color: var(--red); }.payment-alert-item.soon { border-color: var(--orange); }.payment-alert-item.paid { border-color: var(--green); }
@media (max-width: 900px) { .payment-calendar-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .payment-summary, .payment-alert-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .calendar-alerts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .calendar-alerts { grid-template-columns: 1fr; } }
.breadcrumb { font-size: 15px; }
.topbar-date, .status-pill { font-size: 13px; }
.page-heading h1, .module-toolbar h1 { font-size: 34px; }
.page-heading p, .module-toolbar p { font-size: 15px; }
.eyebrow { font-size: 12px; }
.button { font-size: 13px; }
.stat-label { font-size: 14px; }
.stat-value { font-size: 27px; }
.stat-trend { font-size: 11px; }
.panel-header h2 { font-size: 20px; }
.panel-header p { font-size: 13px; }
.chart-legend, .link-button { font-size: 13px; }
.data-table th { font-size: 11px; }
.data-table td { font-size: 13px; }
.module-stat span { font-size: 12px; }
.module-stat strong { font-size: 22px; }

@media (max-width: 700px) {
  .breadcrumb { font-size: 13px; }
  .page-heading h1, .module-toolbar h1 { font-size: 28px; }
  .page-heading p, .module-toolbar p { font-size: 13px; }
  .stat-label { font-size: 12px; }
  .stat-value { font-size: 20px; }
  .panel-header h2 { font-size: 17px; }
  .panel-header p { font-size: 11px; }
  .data-table td { font-size: 12px; }
}

/* Corporate title treatment: logo magenta with a violet gradient shadow. */
.breadcrumb strong,
.page-heading h1,
.module-toolbar h1,
.panel-header h2,
.empty-module h2,
.modal-header h2 {
  color: #c13a65;
  background: none;
  -webkit-text-stroke: 0;
  paint-order: stroke fill;
  text-shadow: none;
}
.summary-invoice-list { margin: 12px 0 10px; max-height: 120px; overflow-y: auto; }.summary-invoice { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }.summary-invoice:last-child { border-bottom: 0; }.summary-invoice strong, .summary-invoice small { display: block; }.summary-invoice strong { color: var(--ink); font-size: 11px; }.summary-invoice small { color: var(--muted); font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 125px; }.summary-invoice b { white-space: nowrap; color: var(--ink); font-size: 10px; }.summary-empty { color: var(--muted); font-size: 10px; margin: 14px 0; }
.summary-invoice em { display: block; color: var(--pink); font-size: 8px; font-style: normal; margin-top: 3px; }
.tax-filters label, .tax-filters select { font-size: 14px; }.tax-section .panel-header h2 { font-size: 21px; }.tax-section .panel-header p { font-size: 13px; }.tax-tables h3 { font-size: 14px; }.tax-table td, .tax-table th { font-size: 14px; padding: 12px 5px; }.tax-result { font-size: 13px; }.tax-result span b { font-size: 15px; }.summary-tax-table .total-row td { font-size: 16px; }.tax-status { font-size: 12px; }.tax-deadline-heading h2 { font-size: 21px; }.tax-deadline-heading p, .tax-source-link { font-size: 13px; }.tax-deadline-card h3 { font-size: 16px; }.tax-deadline-card strong { font-size: 18px; }.tax-deadline-card small { font-size: 11px; }

/* Animated login entry screen. */
.app-shell { display: none; }.app-shell.authenticated { display: flex; }
.login-screen { min-height: 100vh; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 73% 28%, rgba(114,89,233,.25), transparent 31%), radial-gradient(circle at 25% 82%, rgba(193,58,101,.2), transparent 34%), linear-gradient(135deg, #241f37 0%, #111126 55%, #080d24 100%); color: white; }
.login-orbit { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; pointer-events: none; }.orbit-one { width: 720px; height: 720px; right: -160px; top: -250px; animation: login-orbit-spin 26s linear infinite; }.orbit-two { width: 430px; height: 430px; left: -180px; bottom: -180px; border-color: rgba(193,58,101,.25); animation: login-orbit-spin 19s linear infinite reverse; }.login-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #c13a65; box-shadow: 0 0 20px 5px rgba(193,58,101,.6); top: 12%; right: 17%; }.orbit-two::after { background: #7259e9; box-shadow: 0 0 20px 5px rgba(114,89,233,.65); top: 78%; left: 14%; }
.login-stars { position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1px), radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 137px 137px, 211px 211px; background-position: 10px 30px, 70px 90px; animation: login-stars-drift 14s linear infinite; }
.login-brand-watermark { position: absolute; width: min(640px, 62vw); opacity: .09; right: 3%; top: 7%; transform: rotate(-8deg); filter: blur(.2px); animation: login-brand-float 7s ease-in-out infinite; }.login-brand-watermark img { width: 100%; }
.login-card { position: relative; z-index: 2; width: min(450px, calc(100% - 38px)); padding: 35px 38px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 21px; background: rgba(20,18,40,.76); box-shadow: 0 30px 90px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(19px); animation: login-card-in .8s cubic-bezier(.2,.8,.2,1) both; }.login-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 22px; padding: 1px; background: linear-gradient(135deg, rgba(193,58,101,.9), transparent 42%, rgba(114,89,233,.9)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }.login-card-logo { width: 180px; height: 59px; margin: 0 auto 29px; display: grid; place-items: center; }.login-card-logo img { width: 100%; height: 100%; object-fit: contain; }.login-card .eyebrow { color: #f0a8bf; font-size: 10px; margin-bottom: 9px; }.login-card h1 { margin: 0; font: 700 34px/1.08 "Space Grotesk"; letter-spacing: -.05em; color: white; }.login-card h1 span { color: #e65b86; }.login-subtitle { max-width: 320px; margin: 13px 0 27px; color: #aaa6b9; font-size: 12px; line-height: 1.6; }.login-form { display: grid; gap: 16px; }.login-form > label { display: grid; gap: 7px; color: #d7d2df; font-size: 11px; font-weight: 600; }.login-input { height: 45px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(255,255,255,.06); color: #c13a65; }.login-input:focus-within { border-color: #c13a65; box-shadow: 0 0 0 3px rgba(193,58,101,.14); }.login-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: white; font-size: 12px; }.login-input input::placeholder { color: #817c93; }.login-input button { border: 0; background: none; color: #a6a1b1; font-size: 12px; }.login-options { display: flex; justify-content: space-between; align-items: center; color: #928da1; font-size: 10px; }.remember-option { display: flex !important; align-items: center; gap: 5px; color: #928da1 !important; font-size: 10px !important; font-weight: 400 !important; }.remember-option input { accent-color: #c13a65; }.login-options button { border: 0; background: none; color: #de789a; font-size: 10px; }.login-submit { height: 45px; border: 0; border-radius: 8px; color: white; background: linear-gradient(100deg, #c13a65, #7259e9); box-shadow: 0 10px 25px rgba(114,89,233,.25); font-weight: 700; font-size: 12px; transition: .2s; }.login-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(114,89,233,.38); }.login-submit span { margin-left: 8px; font-size: 16px; }.login-error { min-height: 14px; margin: -7px 0 0; color: #f08a9a; font-size: 10px; text-align: center; }.login-footer { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 25px; color: #797487; font-size: 9px; }.login-secure-icon { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #8ce1bd; border: 1px solid #4c9f7d; font-size: 9px; }.login-corner-note { position: absolute; z-index: 2; right: 31px; bottom: 24px; color: #7f7a8f; font-size: 10px; }.login-corner-note .status-dot { display: inline-flex; vertical-align: middle; width: 7px; height: 7px; margin-right: 5px; background: #52c596; border-radius: 50%; }.login-corner-note b { color: #4e4960; margin: 0 5px; }
@keyframes login-orbit-spin { to { transform: rotate(360deg); } } @keyframes login-stars-drift { to { background-position: 147px 167px, 20px 10px; } } @keyframes login-brand-float { 0%,100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(12px); } } @keyframes login-card-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 700px) { .login-card { padding: 28px 24px 20px; }.login-brand-watermark { width: 600px; right: -240px; top: -30px; }.login-card h1 { font-size: 30px; }.login-corner-note { right: 18px; bottom: 14px; font-size: 9px; } }
.login-card h1 { text-align: center; }
.user-admin-modal { max-width: 700px; }.user-admin-content { padding: 20px 25px 5px; max-height: 72vh; overflow-y: auto; }.user-admin-section + .user-admin-section { margin-top: 25px; }.user-admin-section form { display: grid; gap: 15px; }.user-admin-section form .button { justify-self: start; }.access-user { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }.access-user:last-child { border-bottom: 0; }.access-user strong, .access-user small { display: block; }.access-user strong { font-size: 12px; }.access-user small { color: var(--muted); font-size: 10px; margin-top: 2px; }.access-role { margin-left: auto; border-radius: 14px; padding: 5px 8px; font-size: 9px; font-weight: 700; white-space: nowrap; }.access-role.admin { color: var(--pink); background: var(--pink-pale); }.access-role.viewer { color: #7259e9; background: #eeeaff; }.ceo-avatar { background: #c5b8ef; color: #5d48ba; }
.permission-select { margin-left: auto; border: 1px solid transparent; border-radius: 15px; padding: 7px 25px 7px 9px; font-size: 10px; font-weight: 700; cursor: pointer; outline: none; }.permission-select.admin { color: var(--pink); background: var(--pink-pale); }.permission-select.viewer { color: #7259e9; background: #eeeaff; }.permission-select:focus { border-color: #7259e9; box-shadow: 0 0 0 3px rgba(114,89,233,.12); }
.logout-nav-item { margin-top: 7px; color: #d28a9e; }.logout-nav-item:hover { color: #f2a7bb; background: rgba(193,58,101,.12); }.logout-nav-item .nav-icon { color: #d28a9e; }
.read-only-user [data-action="new-invoice"], .read-only-user [data-action="new-client"], .read-only-user [data-action="new-provider"], .read-only-user [data-action="new-sale"], .read-only-user [data-receivable-action="edit"], .read-only-user [data-invoice-action="edit"], .read-only-user [data-client-action="edit"], .read-only-user [data-client-action="delete"], .read-only-user [data-provider-action="edit"], .read-only-user [data-provider-action="delete"], .read-only-user #createUserButton, .read-only-user #userMenuButton { display: none !important; }.read-only-user [data-receivable-status] { pointer-events: none; opacity: .7; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.section-title-row .form-section-title { flex: 1; }.create-user-button { min-height: 32px; padding: 0 11px; font-size: 10px; }.create-user-modal { max-width: 620px; }
.tax-filters { margin-bottom: 16px; }.tax-filters .form-grid { grid-template-columns: repeat(6, 1fr); }.tax-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.tax-section:first-child { grid-column: 1 / -1; }.tax-status { border-radius: 15px; padding: 6px 9px; font-size: 10px; font-weight: 700; }.tax-status.pending { color: var(--orange); background: var(--orange-pale); }.tax-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.tax-tables h3 { color: var(--ink-soft); font-size: 12px; margin: 0 0 8px; }.tax-table { width: 100%; border-collapse: collapse; }.tax-table td, .tax-table th { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }.tax-table td:last-child, .tax-table th:last-child { text-align: right; color: var(--ink); font-weight: 700; }.tax-result { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 10px; align-items: center; margin-top: 20px; padding: 13px; border-radius: 8px; background: var(--pink-pale); color: var(--ink-soft); font-size: 11px; }.tax-result span b { display: block; color: var(--pink); margin-top: 4px; font-size: 13px; }.summary-tax-table .total-row td { border-bottom: 0; color: var(--pink); font-size: 14px; }.summary-tax-table th { color: var(--muted); text-transform: uppercase; font-size: 10px; }.summary-tax-table td:first-child { color: var(--ink-soft); }.summary-tax-table td:last-child { color: var(--pink); }
.tax-deadline-section { margin: 20px 0 16px; }.tax-deadline-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }.tax-deadline-heading h2 { margin: 0 0 4px; color: var(--pink); font: 600 18px "Space Grotesk"; }.tax-deadline-heading p { margin: 0; color: var(--muted); font-size: 11px; }.tax-source-link { color: var(--pink); font-size: 11px; font-weight: 700; text-decoration: none; }.tax-source-link:hover { color: #7259e9; }.tax-deadline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.tax-deadline-card { background: white; border: 1px solid transparent; border-radius: 9px; padding: 14px; box-shadow: 0 7px 17px rgba(114,89,233,.08); background: linear-gradient(#fff,#fff) padding-box, linear-gradient(100deg,#c13a65,#7259e9) border-box; }.tax-deadline-card.warning { border-left: 3px solid var(--orange); }.tax-deadline-card.neutral { border-left: 3px solid #8e8999; }.tax-deadline-top { display: flex; justify-content: space-between; align-items: center; }.tax-deadline-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; color: white; background: linear-gradient(135deg,#c13a65,#7259e9); font-weight: 700; }.tax-deadline-status { color: var(--orange); font-size: 9px; font-weight: 700; }.tax-deadline-card h3 { margin: 13px 0 4px; color: var(--pink); font: 600 14px "Space Grotesk"; }.tax-deadline-card strong { display: block; color: var(--ink); font: 700 16px "Space Grotesk"; }.tax-deadline-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }.tax-disclaimer { margin: 9px 0 0; color: var(--muted); font-size: 9px; }
@media (max-width: 1000px) { .tax-deadline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .tax-deadline-heading { display: block; }.tax-source-link { display: inline-block; margin-top: 10px; }.tax-deadline-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .tax-filters .form-grid { grid-template-columns: repeat(3, 1fr); }.tax-result { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 700px) { .tax-filters .form-grid, .tax-tables, .tax-sections { grid-template-columns: 1fr; }.tax-section:first-child { grid-column: auto; }.tax-result { grid-template-columns: 1fr 1fr; } }
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.report-card { min-height: 175px; }.report-card-top { display: flex; justify-content: space-between; align-items: center; }.report-icon { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #c13a65, #7259e9); border-radius: 9px; font-weight: 700; }.report-export { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; color: var(--pink); background: white; }.report-export:hover { color: white; background: linear-gradient(135deg, #c13a65, #7259e9); }.report-card h2 { margin: 18px 0 5px; color: var(--pink); font: 600 15px "Space Grotesk"; }.report-card p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }.report-card strong { color: var(--ink); font: 700 22px "Space Grotesk"; }.report-note { margin-top: 16px; display: flex; align-items: center; gap: 12px; }.report-note-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, #c13a65, #7259e9); font-weight: 700; }.report-note strong { font-size: 12px; }.report-note p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .reports-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .reports-grid { grid-template-columns: 1fr; } }
.settings-panel { max-width: 960px; }.settings-lock { color: var(--pink); background: var(--pink-pale); border-radius: 15px; padding: 6px 9px; font-size: 10px; font-weight: 700; }.settings-grid input { font-size: 15px; font-weight: 700; color: var(--ink); }.settings-grid small { color: var(--muted); font-size: 10px; font-weight: 400; }.settings-notice { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px; color: var(--ink-soft); background: #fcf5f8; border-left: 3px solid var(--pink); border-radius: 7px; }.settings-notice span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, #c13a65, #7259e9); font-weight: 700; }.settings-notice p { margin: 0; font-size: 11px; }.settings-footer { margin-top: 25px; }

@supports not (backdrop-filter: blur(1px)) { .login-card { background: rgba(20,18,40,.95); } }

.provider-dropdown { position: absolute; z-index: 999; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 200px; overflow-y: auto; width: 100%; margin-top: 4px; }
.provider-dropdown-item { padding: 10px 12px; cursor: pointer; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.provider-dropdown-item:last-child { border-bottom: 0; }
.provider-dropdown-item:hover { background: var(--pink-pale); }
.provider-dropdown-item strong { font-size: 12px; color: var(--ink); }
.provider-dropdown-item small { font-size: 10px; color: var(--muted); }
#invoiceProviderSearch { width: 100%; }
.checkbox-field { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); cursor: pointer; }
.checkbox-field input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--pink); cursor: pointer; }
.status-column-head { min-width: 128px; vertical-align: bottom; }
.status-column-filter { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-transform: none; letter-spacing: 0; font-weight: 600; cursor: pointer; }
.status-column-filter span, .status-column-filter { color: #a29da9; }
.status-column-filter select { width: 100%; min-width: 112px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font: 600 12px "DM Sans", sans-serif; text-transform: none; letter-spacing: 0; padding: 6px 8px; cursor: pointer; }
.status-column-head.is-filtered select { border-color: #c13a65; color: #c13a65; background: #fff5f8; }
.status-column-filter select:focus { outline: none; box-shadow: 0 0 0 3px var(--pink-pale); }
button.module-stat-action { display: block; width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
button.module-stat-action:hover { box-shadow: 0 8px 20px rgba(193, 58, 101, 0.14); }
button.module-stat-action.is-active { box-shadow: inset 0 0 0 2px #c13a65; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
.notification-push { width: 100%; border: 0; border-top: 1px solid var(--line); background: #f8f5f7; color: var(--pink); font: 700 11px "DM Sans", sans-serif; padding: 12px 15px; text-align: left; cursor: pointer; }
.notification-push:disabled { color: var(--muted); cursor: default; }
