.finance-page { color: #0b2d61; background: #edf8fd; }
.finance-hero { min-height: 255px; background-image: url('../images/hero-natuna-panorama-v2.png'); }
.finance-hero-content { position: relative; z-index: 2; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.finance-hero-content > div { max-width: 760px; }
.finance-year { width: 230px; min-width: 230px; flex: 0 0 230px; padding: 11px 15px; display: grid; grid-template-columns: 34px 1fr; column-gap: 9px; align-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; color: #082f73; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(0,30,70,.16); }
.finance-year label { display: contents; }
.finance-year label i { grid-row: 1 / 3; color: #087fdc; font-size: 23px; }
.finance-year label span { font-size: 9px; font-weight: 600; }
.finance-year select { width: 100%; padding: 0; border: 0; color: #082f73; background: transparent; font-size: 18px; font-weight: 800; outline: none; }
.finance-main { padding: 0 0 55px; background: radial-gradient(circle at 5% 5%, rgba(55,189,238,.14), transparent 30%), #edf8fd; }
.finance-tabs { position: relative; z-index: 5; margin-top: -14px; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid #d9ebf5; border-radius: 15px 15px 0 0; background: rgba(255,255,255,.95); box-shadow: 0 9px 24px rgba(17,85,126,.1); }
.finance-tabs > * { min-height: 72px; padding: 11px 20px; display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid #dcebf4; color: #0b3472; font-size: 14px; font-weight: 800; text-decoration: none; }
.finance-tabs > *:last-child { border-right: 0; }
.finance-tabs i { color: #087fdc; font-size: 27px; }
.finance-tabs .active { color: #fff; background: linear-gradient(135deg, #159cf0, #0871d4); box-shadow: inset 0 -4px rgba(0,73,153,.2); }
.finance-tabs .active i { color: #fff; }
.finance-tabs .disabled { opacity: .55; cursor: not-allowed; }
.finance-tabs small { display: block; margin-top: 3px; font-size: 8px; font-weight: 600; }
.finance-panel { padding: 20px; border: 1px solid #dcecf5; border-top: 0; border-radius: 0 0 16px 16px; background: rgba(255,255,255,.78); box-shadow: 0 12px 30px rgba(13,73,112,.08); }
.finance-heading, .finance-heading > div { display: flex; align-items: center; gap: 14px; }
.finance-heading { justify-content: space-between; margin-bottom: 18px; }
.finance-heading-icon { width: 50px; height: 50px; display: grid; place-items: center; color: #087fdc; font-size: 29px; }
.finance-heading h2 { margin: 0 0 3px; color: #082f73; font: 800 22px/1.2 Poppins, sans-serif; }
.finance-heading p { margin: 0; color: #637a94; font-size: 11px; }
.finance-period { padding: 8px 13px; border: 1px solid #dbeaf4; border-radius: 12px; color: #31577c; background: #f8fcfe; font-size: 10px; white-space: nowrap; }
.finance-period i { margin-right: 6px; color: #087fdc; }
.finance-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.finance-summary article { min-height: 118px; padding: 19px 24px; display: flex; align-items: center; gap: 22px; border: 1px solid; border-radius: 16px; }
.finance-summary article > i { width: 68px; font-size: 43px; text-align: center; }
.finance-summary article span { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 800; }
.finance-summary article strong { display: block; font-size: 31px; line-height: 1; }
.finance-summary article strong small { font-size: 13px; }
.finance-summary .income { color: #08753a; border-color: #c4ecd2; background: #e0f5e6; }
.finance-summary .expense { color: #e31e2f; border-color: #f5cbd0; background: #fde8ea; }
.finance-summary .funding { color: #4933d1; border-color: #d8d0fb; background: #eeebff; }
.finance-charts { margin-top: 14px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.finance-card { position: relative; min-height: 300px; padding: 17px 20px; border: 1px solid #dfeef6; border-radius: 14px; background: #fff; box-shadow: 0 7px 18px rgba(18,83,124,.06); }
.finance-card h3, .finance-detail h3 { margin: 0 0 20px; color: #082f73; font-size: 14px; font-weight: 800; }
.finance-card h3 i, .finance-detail h3 i { margin-right: 9px; color: #087fdc; font-size: 20px; }
.finance-donut-wrap { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 24px; }
.finance-donut { width: 185px; aspect-ratio: 1; margin: auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#2eae69 0 var(--income), #f45c67 var(--income) var(--expense), #654eea var(--expense) 100%); }
.finance-donut::before { content: ""; grid-area: 1/1; width: 61%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.finance-donut span { z-index: 1; grid-area: 1/1; display: flex; flex-direction: column; text-align: center; }
.finance-donut strong { color: #082f73; font-size: 23px; }
.finance-donut small { color: #4a6078; font-size: 10px; }
.finance-legend { margin: 0; padding: 0; list-style: none; }
.finance-legend li { margin: 13px 0; display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 10px; color: #183d6b; font-size: 11px; }
.finance-legend i { width: 12px; height: 12px; border-radius: 50%; }
.finance-legend i.income { background: #2eae69; }.finance-legend i.expense { background: #f45c67; }.finance-legend i.funding { background: #654eea; }
.finance-legend strong { display: block; margin-top: 2px; font-size: 10px; }
.finance-bars { height: 215px; padding: 22px 35px 0; display: flex; align-items: end; justify-content: space-around; gap: 34px; border-bottom: 1px solid #9aaec0; background: repeating-linear-gradient(to top, transparent 0 49px, #e8eef3 49px 50px); }
.finance-bars > div { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; }
.finance-bars span { margin-bottom: 5px; color: #173c6d; font-size: 10px; font-weight: 800; }
.finance-bars i { width: min(76px, 80%); min-height: 2px; border-radius: 7px 7px 0 0; }
.finance-bars i.income { background: linear-gradient(#39ba78,#259a5e); }.finance-bars i.expense { background: linear-gradient(#ff777f,#ea4f5a); }.finance-bars i.funding { background: linear-gradient(#806df1,#5d48df); }
.finance-bars small { margin: 7px 0 -22px; color: #243f61; font-size: 9px; }
.finance-unit { position: absolute; top: 14px; right: 18px; margin: 0; padding: 4px 9px; border: 1px solid #dce8f0; border-radius: 999px; color: #526b83; font-size: 8px; }
.finance-breakdown { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.finance-detail { min-height: 470px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dfeef6; border-radius: 14px; background: #fff; }
.finance-detail h3 { margin: 0; padding: 13px 16px; background: #edf8fd; }
.finance-detail.income h3 { color: #08753a; background: #e5f6eb; }.finance-detail.expense h3 { color: #ca2432; background: #fdebee; }.finance-detail.funding h3 { color: #4933d1; background: #efedff; }
.finance-table-wrap { height: 335px; max-height: 335px; flex: 1 1 335px; overflow: auto; }
.finance-detail table { width: 100%; border-collapse: collapse; font-size: 9px; }
.finance-detail th, .finance-detail td { padding: 8px 9px; border-bottom: 1px solid #edf1f4; text-align: left; }
.finance-detail th { position: sticky; top: 0; z-index: 1; color: #61758b; background: #f8fbfd; }
.finance-detail th:last-child, .finance-detail td:last-child { text-align: right; white-space: nowrap; }
.finance-detail tr.level-2 td { color: #082f73; font-weight: 800; background: #fbfdff; }
.finance-detail tr.level-3 td:nth-child(2) { padding-left: 18px; }
.finance-empty { min-height: 335px; margin: 0; padding: 20px; flex: 1 1 335px; color: #75879a; font-size: 10px; text-align: center; }
.finance-total { min-height: 58px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 2px solid currentColor; color: #082f73; background: #f7fbfe; }
.finance-total > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.finance-total strong { font-size: 11px; }
.finance-total > strong { flex: 0 0 auto; font-size: 12px; text-align: right; }
.finance-total small { color: #688098; font-size: 8px; font-weight: 500; }
.finance-detail.income .finance-total { color: #08753a; background: #edf9f1; }
.finance-detail.expense .finance-total { color: #ca2432; background: #fff1f3; }
.finance-detail.funding .finance-total { color: #4933d1; background: #f4f2ff; }
.finance-month { display: flex; align-items: center; }
.finance-month select { min-height: 30px; padding: 3px 26px 3px 4px; border: 0; color: #31577c; background: transparent; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.35; outline: none; cursor: pointer; }
.lra-summary { grid-template-columns: repeat(4, 1fr); }
.lra-summary article { min-height: 126px; padding: 17px; gap: 13px; }
.lra-summary article > i { width: 48px; font-size: 36px; }
.lra-summary article strong { font-size: 24px; }
.lra-summary article em, .lkpd-summary article em { display: block; margin-top: 7px; color: #607990; font-size: 8px; font-style: normal; line-height: 1.35; }
.lra-summary .balance { color: #0874c9; border-color: #cbdff5; background: #e9f2ff; }
.finance-page-empty { margin: 14px 0 0; padding: 12px 16px; border: 1px dashed #bdd9ea; border-radius: 12px; color: #607990; background: #f7fcff; font-size: 10px; text-align: center; }
.finance-page-empty i { margin-right: 7px; color: #168ad8; }
.lra-charts { grid-template-columns: 1fr 1.15fr 1fr; }
.finance-compare-bars { height: 220px; padding: 26px 12px 0; display: flex; align-items: end; justify-content: space-around; gap: 16px; border-bottom: 1px solid #9aaec0; background: repeating-linear-gradient(to top, transparent 0 49px, #e8eef3 49px 50px); }
.finance-compare-bars > div { height: 100%; flex: 1; display: grid; grid-template-rows: 1fr auto auto; text-align: center; }
.finance-compare-bars > div > span { display: flex; align-items: end; justify-content: center; gap: 4px; }
.finance-compare-bars i { width: min(34px, 42%); min-height: 2px; border-radius: 5px 5px 0 0; }
.finance-compare-bars i.budget { background: #89c9ef; }.finance-compare-bars i.actual.income { background: #168bce; }.finance-compare-bars i.actual.expense { background: #174e96; }.finance-compare-bars i.actual.funding { background: #644ee2; }
.finance-compare-bars small { margin-top: 6px; color: #243f61; font-size: 9px; }.finance-compare-bars em { color: #71859a; font-size: 7px; font-style: normal; }
.budget-key,.actual-key { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #89c9ef; }.actual-key { background: #174e96; }
.lra-monthly .finance-table-wrap, .lkpd-report .finance-table-wrap { height: 245px; max-height: 245px; overflow: auto; }
.lra-monthly table, .lkpd-report table { width: 100%; border-collapse: collapse; color: #26496f; font-size: 8px; }
.lra-monthly th,.lra-monthly td,.lkpd-report th,.lkpd-report td { padding: 7px 8px; border-bottom: 1px solid #e7eef4; text-align: right; }
.lra-monthly th:first-child,.lra-monthly td:first-child,.lkpd-report th:first-child,.lkpd-report td:first-child { text-align: left; }
.lra-monthly th,.lkpd-report th { position: sticky; top: 0; z-index: 1; color: #385a7f; background: #edf7fc; }
.lkpd-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lkpd-summary article { min-height: 104px; padding: 16px; display: flex; align-items: center; gap: 13px; border: 1px solid; border-radius: 14px; }
.lkpd-summary article > i { width: 42px; font-size: 32px; text-align: center; }
.lkpd-summary article span { display: block; font-size: 10px; font-weight: 800; }.lkpd-summary article strong { display: block; margin-top: 4px; font-size: 19px; white-space: nowrap; }.lkpd-summary article strong small { font-size: 9px; }
.lkpd-summary .asset { color: #08753a; border-color: #c4ecd2; background: #e0f5e6; }.lkpd-summary .liability { color: #0867b9; border-color: #c7e1f5; background: #e8f4fd; }.lkpd-summary .equity { color: #c07800; border-color: #f2dbad; background: #fff3dc; }.lkpd-summary .lo { color: #d02736; border-color: #f5cbd0; background: #fde8ea; }.lkpd-summary .silpa { color: #4933d1; border-color: #d8d0fb; background: #eeebff; }
.lkpd-reports { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lkpd-report { min-height: 320px; padding: 14px; }.lkpd-report h3 { margin-bottom: 12px; font-size: 11px; }
.lkpd-report tr.level-1 td { color: #082f73; font-weight: 800; }.lkpd-report tr.level-2 td:first-child { padding-left: 15px; }.lkpd-report tr.level-3 td:first-child { padding-left: 25px; }
@media (max-width: 1050px) { .finance-summary { grid-template-columns: 1fr; }.finance-summary article { min-height: 95px; }.finance-charts, .finance-breakdown { grid-template-columns: 1fr; }.finance-detail { min-height: 0; max-height: none; }.finance-table-wrap { height: auto; max-height: 335px; flex-basis: auto; }.finance-empty { min-height: 100px; flex-basis: auto; } }
@media (max-width: 1250px) { .lra-summary { grid-template-columns: 1fr 1fr; }.lra-charts { grid-template-columns: 1fr 1fr; }.lra-monthly { grid-column: 1 / -1; }.lkpd-summary { grid-template-columns: repeat(3, 1fr); }.lkpd-reports { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1050px) { .lra-summary { grid-template-columns: 1fr 1fr; }.lra-charts { grid-template-columns: 1fr; }.lra-monthly { grid-column: auto; }.lkpd-summary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .finance-hero-content { align-items: flex-start; flex-direction: column; }.finance-year { width: 100%; min-width: 100%; flex-basis: auto; }.finance-tabs { grid-template-columns: 1fr 1fr; }.finance-tabs > * { min-height: 62px; }.finance-heading { align-items: flex-start; flex-direction: column; }.finance-period { align-self: stretch; }.finance-panel { padding: 13px; }.finance-summary article strong { font-size: 25px; }.finance-donut-wrap { grid-template-columns: 1fr; }.finance-bars { padding-inline: 10px; gap: 9px; }.lra-summary,.lkpd-summary,.lkpd-reports { grid-template-columns: 1fr; }.finance-compare-bars { gap: 5px; }.lkpd-summary article { min-height: 90px; } }
