@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

:root {
  color-scheme: light;
  --green: #176b50;
  --green-dark: #124d3e;
  --green-soft: #eaf4ef;
  --ink: #1d2d28;
  --muted: #78857f;
  --line: #e6ebe8;
  --surface: #f7f9f8;
  --white: #fff;
  --navy: #172b3a;
  --amber: #b97718;
  --red: #bd4f51;
  --blue: #477da5;
  --sidebar-width: 258px;
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-size: 13px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background: #153b32; color: #e7f0eb; position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 23px 14px 14px; transition: width .22s ease, transform .22s ease; }
.brand-lockup, .login-brand { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 8px; }
.brand-seal { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; background: #f4f8f5; color: var(--green-dark); border-radius: 11px; font-size: 16px; box-shadow: inset 0 0 0 1px #dce8df; }
.brand-lockup strong, .login-brand strong { display: block; color: #fff; font: 800 13px/1.35 Manrope, sans-serif; letter-spacing: .08em; }
.brand-lockup small, .login-brand small { display: block; color: #aac1b5; font-size: 10px; letter-spacing: .02em; }
.workspace-tag { display: flex; align-items: center; gap: 8px; margin: 26px 5px 15px; color: #9ab7a8; font-size: 9px; letter-spacing: .12em; font-weight: 700; white-space: nowrap; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #7ad5a7; box-shadow: 0 0 0 4px #ffffff12; }
.side-nav { flex: 1; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: #426258 transparent; }
.nav-group { margin: 17px 0 5px; }
.nav-group-label { display: block; padding: 0 11px 7px; color: #829f91; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 38px; margin: 2px 0; padding: 0 11px; border-radius: 7px; color: #c1d1c9; font-size: 12px; font-weight: 500; transition: background .15s ease, color .15s ease; }
.nav-link i { width: 17px; text-align: center; color: #91aea0; font-size: 13px; }
.nav-link:hover { background: #ffffff0e; color: white; }
.nav-link.active { background: #ffffff19; color: #fff; font-weight: 700; }
.nav-link.active i { color: #9ce0bb; }
.nav-count { margin-left: auto; min-width: 19px; padding: 1px 5px; border-radius: 10px; background: #ffffff18; color: #c9ddd1; font-size: 9px; text-align: center; }
.sidebar-bottom { border-top: 1px solid #ffffff19; padding-top: 13px; }
.support-card { display: flex; align-items: center; gap: 9px; padding: 10px 7px; border: 1px solid #ffffff15; border-radius: 8px; background: #ffffff09; }
.support-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #ffffff12; color: #b8d7c7; }
.support-card strong, .support-card small { display: block; }
.support-card strong { font-size: 10px; }
.support-card small { margin-top: 2px; color: #94afa1; font-size: 9px; }
.support-card .icon-button { margin-left: auto; color: #9bb9a8; }
.collapse-button { width: 100%; border: 0; padding: 13px 9px 3px; color: #9ab2a5; background: transparent; text-align: left; font-size: 10px; }
.collapse-button i { width: 18px; margin-right: 8px; }
.main-area { min-height: 100vh; margin-left: var(--sidebar-width); display: flex; flex-direction: column; transition: margin-left .22s ease; }
.topbar { position: sticky; top: 0; z-index: 15; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 31px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.topbar-left, .topbar-actions { display: flex; align-items: center; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #97a19d; font-size: 10px; letter-spacing: .035em; }
.breadcrumb i { font-size: 8px; color: #c1c9c5; }
.breadcrumb strong { color: #33443c; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.topbar-actions { gap: 14px; }
.top-search { position: relative; width: 225px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 9px; background: #f7f9f8; border: 1px solid #ebefec; border-radius: 6px; color: #8a9690; }
.top-search input { min-width: 0; width: 100%; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: 10px; }
.top-search input::placeholder { color: #a0aaa5; }
.top-search kbd { flex: 0 0 auto; padding: 1px 4px; color: #99a39e; background: white; border: 1px solid #e5eae7; border-radius: 3px; font: 9px "DM Sans", sans-serif; }
.global-search-results { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; display: none; width: 330px; max-width: min(330px,calc(100vw - 24px)); padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 14px 40px #1a35241d; }
.global-search-results.open { display: block; }
.global-search-label { display: block; padding: 7px 8px 5px; color: #96a19a; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.global-search-results button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px; border: 0; border-radius: 5px; background: white; text-align: left; }
.global-search-results button:hover { background: #f4f8f5; }.global-result-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 6px; background: #edf5ef; color: #518368; font-size: 9px; }
.global-search-results button>span:nth-child(2) { flex: 1; min-width: 0; }.global-search-results strong,.global-search-results small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.global-search-results strong { color: #45564b; font-size: 9px; font-weight: 600; }.global-search-results small { margin-top: 2px; color: #909b95; font-size: 8px; }.global-search-results button>i { color: #9ca8a0; font-size: 9px; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 7px; background: transparent; color: #67746d; font-size: 13px; }
.icon-button:hover { background: #f2f5f3; color: var(--green); }
.icon-dot, .notification-count { position: absolute; top: 4px; right: 4px; }
.icon-dot { width: 5px; height: 5px; border: 1px solid white; border-radius: 50%; background: #46a47a; }
.notification-count { display: grid; place-items: center; min-width: 14px; height: 14px; border: 1px solid white; border-radius: 8px; background: #ca5d5d; color: white; font-size: 8px; }
.topbar-date { color: #7f8c85; font-size: 10px; white-space: nowrap; }
.profile-trigger { display: flex; align-items: center; gap: 8px; padding: 3px 0 3px 5px; border: 0; background: transparent; text-align: left; }
.avatar { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e4efe8; color: #37654e; font-size: 10px; font-weight: 700; }
.avatar-admin { background: #e5eee9; }
.profile-label strong, .profile-label small { display: block; white-space: nowrap; }
.profile-label strong { font-size: 10px; }
.profile-label small { color: #8b9690; font-size: 9px; }
.profile-trigger>i { margin-left: 3px; color: #89958f; font-size: 9px; }
.dropdown-wrap { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 11px); right: 0; z-index: 32; width: 320px; display: none; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 15px 45px #1832271a; }
.dropdown-panel.open { display: block; animation: pop-in .15s ease-out; }
.dropdown-heading { display: flex; justify-content: space-between; align-items: center; padding: 15px 15px 11px; border-bottom: 1px solid #eef1ef; }
.dropdown-heading strong, .dropdown-heading small { display: block; }
.dropdown-heading strong { font-size: 12px; }
.dropdown-heading small { color: var(--muted); font-size: 9px; }
.text-button { padding: 3px 0; border: 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 700; }
.notification-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 0; background: white; text-align: left; }
.notification-item:hover { background: #f8faf9; }
.notice-symbol { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 8px; }
.notice-symbol.amber { background: #fbf2e4; color: #bd842f; }.notice-symbol.green { background: #eaf4ee; color: #398563; }.notice-symbol.blue { background: #edf3f8; color: #5682a3; }.notice-symbol.rose { background: #faeeee; color: #bd6a6c; }
.notification-item span:nth-child(2) { min-width: 0; flex: 1; }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { font-size: 10px; font-weight: 600; }
.notification-item small { margin-top: 2px; color: #8a9690; font-size: 9px; }
.unread-dot { width: 6px; height: 6px; border-radius: 50%; background: #3b9b73; }
.dropdown-footer { width: 100%; display: flex; justify-content: center; align-items: center; gap: 7px; padding: 11px; border: 0; border-top: 1px solid #eef1ef; background: white; color: var(--green); font-size: 10px; font-weight: 700; }
.profile-panel { width: 180px; padding: 5px; }
.profile-panel button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 8px; border: 0; border-radius: 5px; background: white; color: #56645d; text-align: left; font-size: 11px; }
.profile-panel button:hover { background: #f4f7f5; color: var(--green); }
.profile-panel button:last-child { margin-top: 5px; border-top: 1px solid #eef1ef; border-radius: 0 0 5px 5px; color: #ad5555; }
.page-content { width: 100%; max-width: 1680px; flex: 1; margin: 0 auto; padding: 27px 31px 32px; }
.app-footer { display: flex; justify-content: space-between; gap: 10px; padding: 12px 31px; border-top: 1px solid var(--line); background: #fff; color: #8a9690; font-size: 9px; }
.app-footer b { padding: 0 4px; color: #c0c9c4; }
.mobile-menu { display: none; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-heading h1 { margin: 0; color: #25372e; font: 700 21px/1.35 Manrope, sans-serif; letter-spacing: -.035em; }
.page-heading p { margin: 4px 0 0; color: #849089; font-size: 11px; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; font-size: 10px; font-weight: 700; transition: .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 4px 11px #176b501b; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: white; border-color: #dfe6e2; color: #53635a; }
.button-secondary:hover { border-color: #b5c8bc; background: #fbfcfb; }
.button-danger { background: #fff; border-color: #eadada; color: #ad5151; }
.button-sm { min-height: 27px; padding: 0 8px; font-size: 9px; }
.heading-actions .icon-button { border: 1px solid var(--line); background: white; }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1px solid #e5ece7; border-radius: 10px; background: linear-gradient(110deg, #fff 50%, #f1f7f3); }
.welcome-copy .eyebrow { color: #579175; }
.dashboard-welcome h1 { margin: 6px 0 4px; color: #24382e; font: 700 21px Manrope, sans-serif; letter-spacing: -.04em; }
.dashboard-welcome p { margin: 0; color: #7c8982; font-size: 11px; }
.welcome-meta { display: flex; align-items: center; gap: 8px; color: #65776b; font-size: 10px; white-space: nowrap; }
.welcome-meta i { color: #69927a; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat-card { min-width: 0; padding: 15px 15px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font-size: 13px; }
.stat-icon.green { background: #e9f4ed; color: #3b8a64; }.stat-icon.amber { background: #fbf3e8; color: #bc852f; }.stat-icon.blue { background: #edf3f8; color: #6388a6; }.stat-icon.rose { background: #f9eeee; color: #bb6565; }.stat-icon.violet { background: #f1eef8; color: #8470ae; }.stat-icon.teal { background: #e9f4f3; color: #378c88; }
.stat-trend { color: #398563; font-size: 9px; font-weight: 700; }.stat-trend.down { color: #b77446; }
.stat-value { margin: 11px 0 1px; color: #283a31; font: 700 21px Manrope, sans-serif; letter-spacing: -.035em; }
.stat-label { color: #59675f; font-size: 10px; font-weight: 600; }
.stat-note { margin-top: 5px; color: #98a29c; font-size: 9px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: 14px; margin-top: 15px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 15px 16px 11px; }
.panel-heading h2 { margin: 0; color: #314139; font: 700 12px Manrope, sans-serif; }
.panel-heading p { margin: 3px 0 0; color: #929c96; font-size: 9px; }
.panel-tools { display: flex; align-items: center; gap: 6px; }
.select-compact { height: 28px; padding: 0 23px 0 8px; border: 1px solid #e7ece9; border-radius: 5px; background: white; color: #708078; font-size: 9px; outline: 0; }
.chart-wrap { position: relative; height: 213px; padding: 0 13px 12px; }
.chart-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-legend { display: flex; gap: 13px; margin: -2px 0 12px 17px; color: #849089; font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #25815e; }.legend-dot.alt { background: #c9d8cc; }
.mini-chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.mini-chart-card { min-height: 245px; }
.mini-chart-card .chart-wrap { height: 182px; }
.activity-list { padding: 0 15px 11px; }
.activity-row { position: relative; display: flex; gap: 10px; padding: 8px 0; }
.activity-row:not(:last-child):before { content: ""; position: absolute; top: 27px; bottom: -4px; left: 13px; width: 1px; background: #e9eeeb; }
.activity-mark { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #eef5f0; color: #4c8c69; font-size: 10px; }
.activity-mark.amber { background: #faf3e8; color: #b8812e; }.activity-mark.blue { background: #eef3f8; color: #6588a5; }.activity-mark.rose { background: #f9efef; color: #b96565; }
.activity-copy { flex: 1; min-width: 0; padding-top: 1px; }
.activity-copy strong { color: #46554d; font-size: 9px; font-weight: 600; }
.activity-copy p { margin: 2px 0 0; color: #8e9992; font-size: 8px; }
.activity-time { margin-left: auto; padding-top: 2px; color: #a0aaa4; font-size: 8px; white-space: nowrap; }
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; padding: 0 15px 15px; }
.quick-action { display: flex; align-items: center; gap: 8px; min-height: 51px; padding: 7px; border: 1px solid #e9eeeb; border-radius: 6px; background: #fff; text-align: left; transition: .15s ease; }
.quick-action:hover { border-color: #b9d2c2; background: #f9fcfa; }
.quick-action .stat-icon { width: 29px; height: 29px; flex: 0 0 29px; font-size: 11px; }
.quick-action span:last-child { color: #59665f; font-size: 9px; font-weight: 600; line-height: 1.3; }
.section-panel { margin-top: 15px; }
.toolbar { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 13px; border-bottom: 1px solid #edf0ee; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 7px; }
.table-search { display: flex; align-items: center; gap: 7px; width: 205px; height: 30px; padding: 0 8px; border: 1px solid #e6ebe8; border-radius: 5px; color: #89958e; }
.table-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 9px; }
.table-search input::placeholder { color: #a0aaa4; }
.filter-select { height: 30px; max-width: 150px; padding: 0 23px 0 8px; border: 1px solid #e6ebe8; border-radius: 5px; background: white; color: #6f7d75; font-size: 9px; outline: 0; }
.table-scroll { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { padding: 10px 12px; border-bottom: 1px solid #edf0ee; background: #fafbfa; color: #8a968f; text-align: left; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sort-button { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap; }
.sort-button:hover { color: var(--green); }
.data-table td { padding: 10px 12px; border-bottom: 1px solid #f0f2f1; color: #58665e; font-size: 9px; }
.data-table tbody tr:hover { background: #fbfcfb; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.cell-primary { display: flex; align-items: center; gap: 8px; color: #37483e; font-weight: 600; }
.cell-primary .avatar { width: 26px; height: 26px; flex-basis: 26px; font-size: 8px; }
.cell-id { color: #517660; font-weight: 700; }
.cell-muted { color: #8a9690 !important; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 20px; background: #f0f3f1; color: #66736b; font-size: 8px; font-weight: 600; }
.status-badge:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #95a19a; }
.status-badge.approved, .status-badge.completed, .status-badge.active, .status-badge.resolved, .status-badge.paid { background: #eaf4ee; color: #388060; }.status-badge.approved:before, .status-badge.completed:before, .status-badge.active:before, .status-badge.resolved:before, .status-badge.paid:before { background: #4f9c73; }
.status-badge.pending, .status-badge.under-review, .status-badge.submitted, .status-badge.processing, .status-badge.assigned, .status-badge.ongoing { background: #fbf3e6; color: #a97426; }.status-badge.pending:before, .status-badge.under-review:before, .status-badge.submitted:before, .status-badge.processing:before, .status-badge.assigned:before, .status-badge.ongoing:before { background: #d09a42; }
.status-badge.rejected, .status-badge.overdue, .status-badge.suspended, .status-badge.delayed { background: #faeeee; color: #af5555; }.status-badge.rejected:before, .status-badge.overdue:before, .status-badge.suspended:before, .status-badge.delayed:before { background: #c96c6c; }
.status-badge.draft, .status-badge.archived, .status-badge.on-leave { background: #eef2f6; color: #688098; }.status-badge.draft:before, .status-badge.archived:before, .status-badge.on-leave:before { background: #7e9bb3; }
.priority { font-weight: 700; font-size: 9px; }.priority.high, .priority.urgent { color: #bd5f52; }.priority.medium { color: #b17a2b; }.priority.normal, .priority.low { color: #6c8977; }
.table-actions { display: flex; align-items: center; gap: 2px; }
.table-actions button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 4px; background: transparent; color: #819087; font-size: 10px; }
.table-actions button:hover { background: #edf4ef; color: var(--green); }
.table-actions button.danger:hover { background: #fbefef; color: #b85353; }
.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border-top: 1px solid #edf0ee; color: #8a9690; font-size: 9px; }
.pagination { display: flex; gap: 4px; align-items: center; }
.pagination button { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border: 1px solid #e8edea; border-radius: 4px; background: white; color: #748179; font-size: 9px; }
.pagination button.active { border-color: var(--green); background: var(--green); color: white; }
.pagination button:disabled { opacity: .4; cursor: default; }
.empty-state { padding: 32px 12px; text-align: center; color: #89958e; font-size: 10px; }
.empty-state i { display: block; margin-bottom: 8px; color: #aab7af; font-size: 20px; }
.substat-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.substat { padding: 12px 13px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.substat span { display: block; color: #89948e; font-size: 9px; }.substat strong { display: block; margin-top: 4px; color: #36483e; font: 700 17px Manrope,sans-serif; }
.progress-track { height: 6px; overflow: hidden; border-radius: 5px; background: #e9eeeb; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: #3f9369; }
.progress-cell { display: flex; align-items: center; gap: 7px; min-width: 100px; }.progress-cell .progress-track { flex: 1; }.progress-cell small { color: #738078; font-size: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.project-card { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.project-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.project-card h3 { margin: 0; color: #34463c; font: 700 12px Manrope,sans-serif; }
.project-card p { margin: 5px 0 11px; color: #8a9690; font-size: 9px; }
.project-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 12px 0; }
.project-card dt { color: #9aa49e; font-size: 8px; }.project-card dd { margin: 2px 0 0; color: #59675f; font-size: 9px; font-weight: 600; }
.project-progress { margin-top: 9px; }.project-progress div:first-child { display: flex; justify-content: space-between; margin-bottom: 5px; color: #7c8982; font-size: 8px; }
.receipt-card { width: min(440px,100%); margin: 18px auto; padding: 23px; border: 1px solid #dfe7e1; border-radius: 10px; background: white; box-shadow: 0 7px 24px #19382c0a; }
.receipt-brand { display: flex; align-items: center; justify-content: center; gap: 9px; padding-bottom: 16px; border-bottom: 1px dashed #dfe6e1; text-align: left; }
.receipt-brand .brand-seal { background: var(--green-dark); color: white; }
.receipt-brand strong { display: block; font: 800 12px Manrope,sans-serif; letter-spacing: .05em; }.receipt-brand small { color: #7e8a83; font-size: 9px; }
.receipt-title { margin: 16px 0 5px; text-align: center; color: #39574a; font: 800 12px Manrope,sans-serif; letter-spacing: .11em; }
.receipt-reference { margin: 0 0 13px; text-align: center; color: #8d9992; font-size: 9px; }
.receipt-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }.receipt-field { padding: 9px 0; border-bottom: 1px solid #f0f2f1; }.receipt-field label { display: block; color: #94a098; font-size: 8px; }.receipt-field strong { display: block; margin-top: 2px; color: #4c5a52; font-size: 10px; }.receipt-field.amount { grid-column: 1/-1; text-align: center; }.receipt-field.amount strong { color: var(--green); font: 800 24px Manrope,sans-serif; }
.receipt-demo-note { margin: 14px 0; padding: 8px; border-radius: 5px; background: #fbf7ec; color: #967338; text-align: center; font-size: 8px; }
.receipt-actions { display: flex; justify-content: center; gap: 7px; }
.report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.report-card { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.report-card h3 { margin: 10px 0 3px; color: #394a40; font: 700 11px Manrope,sans-serif; }.report-card p { min-height: 28px; margin: 0; color: #89958e; font-size: 9px; }
.report-card .report-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #edf4ef; color: #498764; }.report-actions { display: flex; gap: 5px; margin-top: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { color: #5f6d65; font-size: 9px; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid #dfe6e1; border-radius: 5px; outline: 0; background: white; color: #405047; font-size: 10px; }
.form-field textarea { min-height: 76px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #70a587; box-shadow: 0 0 0 3px #5a9c7618; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a4ada8; }
.modal-host { position: relative; z-index: 60; }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: #10271fcc; animation: fade-in .14s ease; }
.modal { width: min(560px,100%); max-height: min(90vh,800px); display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: white; box-shadow: 0 25px 90px #101e1c40; animation: modal-in .18s ease-out; }
.modal.modal-wide { width: min(760px,100%); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 19px 13px; border-bottom: 1px solid #edf0ee; }
.modal-header h2 { margin: 0; color: #31443a; font: 700 15px Manrope,sans-serif; }.modal-header p { margin: 4px 0 0; color: #8a9690; font-size: 9px; }
.modal-close { display: grid; place-items: center; width: 27px; height: 27px; border: 0; border-radius: 5px; background: #f4f6f5; color: #77837c; }
.modal-body { overflow-y: auto; padding: 16px 19px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 7px; padding: 11px 19px; border-top: 1px solid #edf0ee; background: #fbfcfb; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-field { padding: 10px; border: 1px solid #edf0ee; border-radius: 6px; background: #fcfdfc; }.detail-field span { display: block; color: #909b95; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }.detail-field strong { display: block; margin-top: 4px; color: #47574e; font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.detail-description { margin: 13px 0 0; padding: 12px; border-left: 2px solid #70a587; background: #f7faf8; color: #647168; font-size: 10px; }
.memo-preview { position: relative; max-width: 650px; margin: 0 auto; padding: 27px 32px; overflow: hidden; border: 1px solid #e7ebe8; background: #fff; color: #34433a; }
.memo-preview-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid #286c50; color: #286c50; }
.memo-preview-brand>i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #edf5ef; font-size: 14px; }
.memo-preview-brand strong,.memo-preview-brand small { display: block; }.memo-preview-brand strong { font: 800 11px Manrope,sans-serif; letter-spacing: .06em; }.memo-preview-brand small { margin-top: 3px; color: #849188; font-size: 7px; letter-spacing: .09em; }
.memo-preview-number { margin: 16px 0 9px; color: #809087; text-align: right; font-size: 8px; }
.memo-preview-fields { display: grid; grid-template-columns: 1fr 1fr; }.memo-preview-fields p { margin: 0; padding: 8px 6px; border-bottom: 1px solid #eef1ef; }.memo-preview-fields p:nth-child(5) { grid-column: 1/-1; }.memo-preview-fields span,.memo-preview-fields strong { display: block; }.memo-preview-fields span { color: #89958d; font-size: 7px; font-weight: 700; letter-spacing: .1em; }.memo-preview-fields strong { margin-top: 3px; font-size: 9px; font-weight: 600; }
.memo-preview-copy { padding: 17px 5px 23px; color: #657269; font-size: 9px; line-height: 1.9; }.memo-preview-sign { margin-left: auto; width: 180px; padding-top: 9px; border-top: 1px solid #91a399; font-size: 9px; font-weight: 600; }.memo-preview-sign small { color: #8c9890; font-size: 8px; font-weight: 400; }
.memo-preview-watermark { position: absolute; right: -16px; bottom: 53px; transform: rotate(-18deg); color: #d4dfd8; font: 800 28px Manrope,sans-serif; letter-spacing: .13em; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 7px; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 230px; max-width: 360px; padding: 11px 14px; border: 1px solid #dce8df; border-radius: 7px; background: white; box-shadow: 0 9px 30px #18392b1c; color: #53635a; font-size: 10px; animation: toast-in .2s ease-out; }
.toast i { color: #428963; }.toast.error i { color: #bd5a5a; }
.modal-confirm { padding: 8px 0; color: #617067; font-size: 11px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eef1ef; }
.setting-row:last-child { border-bottom: 0; }.setting-row strong, .setting-row small { display: block; }.setting-row strong { color: #526159; font-size: 10px; }.setting-row small { margin-top: 3px; color: #909b95; font-size: 9px; }
.switch { position: relative; width: 34px; height: 19px; flex: 0 0 34px; }.switch input { width: 0; height: 0; opacity: 0; }.switch span { position: absolute; inset: 0; border-radius: 10px; background: #cbd4ce; transition: .2s; cursor: pointer; }.switch span:before { content: ""; position: absolute; left: 2px; bottom: 2px; width: 15px; height: 15px; border-radius: 50%; background: white; transition: .2s; }.switch input:checked+span { background: #31815d; }.switch input:checked+span:before { transform: translateX(15px); }
.mobile-scrim { display: none; }
body.collapsed .sidebar { width: 74px; padding-left: 10px; padding-right: 10px; }
body.collapsed .main-area { margin-left: 74px; }
body.collapsed .brand-lockup { justify-content: center; padding: 0; }.collapsed .brand-lockup>span:last-child, .collapsed .workspace-tag, .collapsed .nav-group-label, .collapsed .nav-link>span:not(.nav-count), .collapsed .nav-count, .collapsed .support-card>div, .collapsed .support-card .icon-button, .collapsed .collapse-button span { display: none; }
body.collapsed .nav-link { justify-content: center; padding: 0; }.collapsed .nav-link i { font-size: 14px; }.collapsed .support-card { justify-content: center; padding: 8px 0; }.collapsed .collapse-button { text-align: center; }.collapsed .collapse-button i { margin: 0; transform: rotate(180deg); }
body.dark-mode { --ink: #e7eee9; --muted: #a0aaa4; --line: #34443b; --surface: #17231d; --white: #202e26; color: #e6eee8; }
body.dark-mode .main-area, body.dark-mode { background: #17231d; }
body.dark-mode .topbar, body.dark-mode .panel, body.dark-mode .stat-card, body.dark-mode .substat, body.dark-mode .project-card, body.dark-mode .report-card, body.dark-mode .receipt-card, body.dark-mode .dropdown-panel, body.dark-mode .dropdown-panel button, body.dark-mode .notification-item, body.dark-mode .modal, body.dark-mode .form-field input, body.dark-mode .form-field select, body.dark-mode .form-field textarea { background-color: #202e26; color: #e3ece5; }
body.dark-mode .global-search-results, body.dark-mode .global-search-results button { background: #202e26; } body.dark-mode .global-search-results button:hover { background: #2a3a30; } body.dark-mode .global-search-results strong { color: #e3ece5; }
body.dark-mode .page-heading h1, body.dark-mode .dashboard-welcome h1, body.dark-mode .panel-heading h2, body.dark-mode .stat-value, body.dark-mode .stat-label, body.dark-mode .project-card h3, body.dark-mode .report-card h3, body.dark-mode .profile-label strong, body.dark-mode .breadcrumb strong { color: #e3ece5; }
body.dark-mode .dashboard-welcome { background: #202e26; border-color: var(--line); }
body.dark-mode .data-table th { background: #26362d; color: #a9b6ad; } body.dark-mode .data-table td { color: #c2cec5; border-color: #2d3b33; } body.dark-mode .toolbar, body.dark-mode .table-footer { border-color: var(--line); }
body.dark-mode .app-footer { background: #202e26; border-color: var(--line); } body.dark-mode .form-field label { color: #c2cec5; } body.dark-mode .modal-header, body.dark-mode .modal-footer { border-color: var(--line); background: #26362d; }

.login-body { min-height: 100vh; background: #fff; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .88fr) minmax(480px, 1.12fr); }
.login-identity { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 32px clamp(28px,6vw,88px); overflow: hidden; background: radial-gradient(ellipse at 75% 80%, #1d5945 0, transparent 44%), #153b32; color: white; }
.login-brand { align-self: flex-start; padding: 0; }.login-brand .brand-seal { background: #f1f7f3; }
.identity-content { max-width: 480px; margin: auto 0; padding: 55px 0; }.identity-content .eyebrow { color: #9bcbb0; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.identity-content h1 { margin: 14px 0; font: 700 clamp(31px,4vw,45px)/1.18 Manrope,sans-serif; letter-spacing: -.045em; }.identity-content p { max-width: 400px; margin: 0; color: #bbd0c4; font-size: 13px; line-height: 1.8; }
.identity-metrics { display: flex; align-items: center; gap: 19px; margin-top: 40px; }.identity-metrics div strong,.identity-metrics div span { display: block; }.identity-metrics div strong { font: 700 16px Manrope,sans-serif; }.identity-metrics div span { margin-top: 3px; color: #a9c3b4; font-size: 9px; }.identity-metrics>i { width: 1px; height: 25px; background: #ffffff32; }
.identity-footer { display: flex; justify-content: space-between; gap: 12px; color: #a6bdb0; font-size: 9px; }.identity-footer i { margin-right: 5px; color: #95d0ad; }
.login-panel { display: grid; place-items: center; padding: 35px; background: #fafcfb; }.login-card { width: min(410px,100%); padding: 30px; border: 1px solid #e8eeea; border-radius: 11px; background: white; box-shadow: 0 12px 42px #183d2b0a; }
.login-heading .eyebrow { color: #529171; font-size: 9px; letter-spacing: .13em; }.login-heading h2 { margin: 7px 0 4px; color: #283a30; font: 700 19px Manrope,sans-serif; letter-spacing: -.035em; }.login-heading p { margin: 0; color: #8a9690; font-size: 10px; }
.login-form { margin-top: 23px; }.login-form>label { display: block; margin: 13px 0 5px; color: #56645b; font-size: 9px; font-weight: 700; }
.input-wrap { position: relative; display: flex; align-items: center; height: 39px; border: 1px solid #dfe7e2; border-radius: 6px; color: #95a098; }.input-wrap>i { width: 35px; text-align: center; font-size: 11px; }.input-wrap input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; outline: 0; background: transparent; color: #415047; font-size: 10px; }.input-wrap:focus-within { border-color: #74a78a; box-shadow: 0 0 0 3px #4b966e16; }.input-wrap input::placeholder { color: #abb4ae; }.password-toggle { width: 34px; height: 100%; border: 0; background: transparent; color: #8b9790; }
.login-options { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 17px; }.checkbox-label { display: flex; align-items: center; gap: 5px; color: #77837b; font-size: 9px; }.checkbox-label input { accent-color: var(--green); }
.login-submit { width: 100%; min-height: 39px; font-size: 11px; }.login-submit i { margin-left: auto; }.login-error { min-height: 13px; margin: 7px 0 0; color: #b34e4e; font-size: 9px; }
.security-note { display: flex; gap: 10px; margin-top: 20px; padding: 11px; border: 1px solid #e8eee9; border-radius: 6px; background: #f9fbf9; color: #58806a; }.security-note>i { margin-top: 2px; font-size: 12px; }.security-note strong,.security-note small { display: block; }.security-note strong { color: #586b5e; font-size: 9px; }.security-note small { margin-top: 3px; color: #8c9890; font-size: 8px; line-height: 1.5; }.prototype-label { margin: 17px 0 0; color: #a2aca6; text-align: center; font-size: 7px; letter-spacing: .08em; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1200px) {
  :root { --sidebar-width: 230px; }
  .topbar { padding: 0 22px; }.page-content { padding: 23px 22px 28px; }.app-footer { padding-inline: 22px; }
  .stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.stat-card { padding: 13px 12px; }.dashboard-grid { grid-template-columns: minmax(0,1.25fr) minmax(260px,.85fr); }
  .quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .sidebar { width: 74px; padding-left: 10px; padding-right: 10px; }
  .main-area { margin-left: 74px; }
  .brand-lockup { justify-content: center; padding: 0; }.brand-lockup>span:last-child,.workspace-tag,.nav-group-label,.nav-link>span:not(.nav-count),.nav-count,.support-card>div,.support-card .icon-button,.collapse-button span { display: none; }
  .nav-link { justify-content: center; padding: 0; }.support-card { justify-content: center; }.collapse-button { text-align: center; }.collapse-button i { transform: rotate(180deg); }
  body.expanded .sidebar { width: 245px; padding-left: 14px; padding-right: 14px; }
  body.expanded .brand-lockup { justify-content: flex-start; padding: 0 8px; } body.expanded .brand-lockup>span:last-child,body.expanded .workspace-tag,body.expanded .nav-group-label,body.expanded .nav-link>span:not(.nav-count),body.expanded .nav-count,body.expanded .support-card>div,body.expanded .support-card .icon-button,body.expanded .collapse-button span { display: initial; }
  body.expanded .nav-link { justify-content: flex-start; padding: 0 11px; } body.expanded .support-card { justify-content: flex-start; } body.expanded .collapse-button { text-align: left; } body.expanded .collapse-button i { transform: none; }
  .dashboard-grid { grid-template-columns: minmax(0,1.15fr) minmax(240px,.85fr); }.project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topbar-date { display: none; }
}
@media (max-width: 720px) {
  .sidebar { width: 270px; transform: translateX(-100%); padding: 20px 14px 14px; box-shadow: 14px 0 35px #10271a18; }
  body.mobile-nav-open .sidebar { transform: translateX(0); }
  .sidebar .brand-lockup { justify-content: flex-start; padding: 0 8px; }.sidebar .brand-lockup>span:last-child,.sidebar .workspace-tag,.sidebar .nav-group-label,.sidebar .nav-link>span:not(.nav-count),.sidebar .nav-count,.sidebar .support-card>div,.sidebar .support-card .icon-button,.sidebar .collapse-button span { display: initial; }
  .sidebar .nav-link { justify-content: flex-start; padding: 0 11px; }.sidebar .support-card { justify-content: flex-start; }.sidebar .collapse-button { text-align: left; }.sidebar .collapse-button i { transform: none; }
  .main-area { margin-left: 0 !important; }.mobile-scrim { position: fixed; inset: 0; z-index: 18; background: #0d201880; }.mobile-nav-open .mobile-scrim { display: block; }
  .topbar { min-height: 58px; padding: 0 14px; gap: 8px; }.mobile-menu { display: inline-grid; margin-right: 7px; }.breadcrumb { gap: 6px; font-size: 8px; }.breadcrumb strong { font-size: 10px; }
  .top-search { width: 32px; padding: 0 8px; border-color: transparent; background: transparent; }.top-search:focus-within { position: absolute; left: 52px; right: 170px; width: auto; z-index: 2; border-color: #dfe7e2; background: white; }.top-search input { display: none; }.top-search:focus-within input { display: block; }.top-search kbd { display: none; }
  .topbar-actions { gap: 4px; }.profile-label,.profile-trigger>i { display: none; }.profile-trigger { padding: 0; }.profile-trigger .avatar { width: 28px; height: 28px; flex-basis: 28px; }.top-action { width: 29px; }
  .dropdown-panel { position: fixed; top: 57px; right: 9px; width: min(330px,calc(100vw - 18px)); }.profile-panel { position: absolute; width: 180px; }
  .page-content { padding: 18px 13px 22px; }.app-footer { flex-direction: column; gap: 3px; padding: 10px 13px; font-size: 8px; }
  .page-heading { flex-direction: column; margin-bottom: 14px; }.page-heading h1 { font-size: 19px; }.heading-actions { width: 100%; }.heading-actions .button { flex: 1; }
  .dashboard-welcome { align-items: flex-start; flex-direction: column; gap: 10px; padding: 17px; }.dashboard-welcome h1 { font-size: 18px; }.welcome-meta { font-size: 9px; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }.stat-card { padding: 11px; }.stat-value { font-size: 18px; }.stat-note { font-size: 8px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }.mini-chart-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }.mini-chart-card { min-height: 230px; }.mini-chart-card .chart-wrap { height: 175px; }.chart-wrap { height: 205px; }
  .quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 10px; }.quick-action { min-height: 48px; }
  .toolbar { align-items: stretch; flex-direction: column; }.toolbar-left,.toolbar-right { width: 100%; }.table-search { flex: 1; width: auto; }.filter-select { flex: 1; max-width: none; }
  .substat-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.substat { padding: 10px; }.substat strong { font-size: 15px; }
  .project-grid,.report-grid { grid-template-columns: 1fr; }.table-footer { gap: 8px; }.table-footer>span { max-width: 55%; }.pagination { gap: 2px; }
  .login-layout { grid-template-columns: 1fr; }.login-identity { min-height: 215px; padding: 17px 22px; }.login-brand .brand-seal { width: 32px; height: 32px; flex-basis: 32px; }.identity-content { padding: 25px 0 19px; }.identity-content h1 { margin: 8px 0; font-size: 24px; }.identity-content p { display: none; }.identity-metrics { display: none; }.identity-footer { display: none; }
  .login-panel { align-items: start; padding: 23px 15px; }.login-card { padding: 22px; }.login-heading h2 { font-size: 17px; }
}
@media (max-width: 380px) {
  .breadcrumb>span { display: none; }.breadcrumb i { display: none; }.top-search:focus-within { right: 155px; }
  .receipt-card { padding: 17px; }.heading-actions { flex-wrap: wrap; }
}
@media print {
  body { background: white !important; color: #222 !important; }.sidebar,.topbar,.app-footer,.heading-actions,.receipt-actions,.mobile-scrim,.modal-header,.modal-footer,.modal-close { display: none !important; }.main-area { margin: 0 !important; }.page-content { padding: 0 !important; }.receipt-card { width: 100%; margin: 0; box-shadow: none; }.modal-backdrop { position: static; display: block; padding: 0; background: white; }.modal { width: 100%; max-height: none; overflow: visible; box-shadow: none; }.modal-body { overflow: visible; padding: 0; }.memo-preview { max-width: none; border: 0; }
}
