:root {
  --ink:#193a35;
  --sub:#586a62;
  --teal:#124b43;
  --deep:#113f3b;
  --mint:#d5e5d8;
  --line:#d6dfd6;
  --bg:#f6f7f1;
  --orange:#f3a14c;
  --white:#fff;
  --radius:15px;
  font:100%/1.5 "Inter","Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select,textarea {
  font:inherit;
}
button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.48rem;
  cursor:pointer;
  border:0;
  background:transparent;
  color:inherit;
  font-weight:650;
  border-radius:9px;
  min-height:39px;
  padding:.5rem .85rem;
}
button:disabled {
  opacity:.5;
  cursor:default;
}
button:focus-visible,a:focus-visible,:is(input,textarea,select):focus-visible,div[tabindex]:focus-visible {
  outline:3px solid #c17922;
  outline-offset:3px;
}
button:not(:disabled):hover {
  filter:brightness(.93);
}
.primary {
  color:white;
  background:var(--teal);
  padding:.68rem 1.1rem;
}
.secondary {
  background:white;
  border:1px solid #bccbc0;
}
.text-btn {
  font-size:.875rem;
  text-decoration:underline;
  text-underline-offset:.2em;
  padding:.3rem .15rem;
}
.danger {
  color:#8a3428;
  border:1px solid #e5bdb1;
  background:#fff2ed;
}
.icon-btn,.eye {
  min-width:40px;
  padding:.45rem;
}
.right {
  text-align:right;
}
.numeric,strong {
  font-variant-numeric:tabular-nums;
}
.muted,small {
  color:var(--sub);
}
small {
  font-size:.813rem;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2,h3 {
  line-height:1.2;
}
h1 {
  font-size:clamp(1.8rem,3vw,2.65rem);
  letter-spacing:-.055em;
  font-weight:660;
}
h2 {
  font-size:1.28rem;
  letter-spacing:-.035em;
  font-weight:680;
}
h3 {
  font-size:1rem;
}
b {
  font-weight:650;
}
form,label {
  display:grid;
  gap:.42rem;
}
form {
  gap:1rem;
}
label {
  font-size:.9rem;
  font-weight:620;
}
input,select,textarea {
  width:100%;
  min-width:0;
  padding:.65rem .8rem;
  background:#fff;
  border:1px solid #acbdb2;
  border-radius:8px;
  color:var(--ink);
  font-weight:400;
}
textarea {
  min-height:70px;
  resize:vertical;
}
input[type=checkbox] {
  width:auto;
}
.boot {
  padding:3rem;
  text-align:center;
}
.brand {
  display:flex;
  gap:.72rem;
  align-items:center;
}
.brand img {
  width:44px;
  height:44px;
  object-fit:contain;
  background:white;
  border-radius:12px;
  padding:4px;
}
.brand b,.brand small {
  display:block;
}
.brand b {
  font-size:1.2rem;
  letter-spacing:-.035em;
  line-height:1.25;
}
.brand small {
  font-size:.78rem;
}
.login {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:100dvh;
  padding:clamp(12px,2.3vw,32px);
  gap:1rem;
  background:#f6f7f0;
}
.login-art {
  min-height:600px;
  border-radius:23px;
  background:#103f39;
  color:white;
  padding:clamp(1.5rem,4vw,4rem);
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.login-art .brand small,.sidebar .brand small {
  color:#bdd4c7;
}
.cover {
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cover-title {
  z-index:1;
}
.cover-title>svg {
  color:#edb57c;
  margin-bottom:1.2rem;
}
.cover h2 {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(3.6rem,6.2vw,7.2rem);
  line-height:1.02;
  letter-spacing:-.065em;
}
.cover em {
  color:#f0c494;
  font-weight:400;
}
.cover-foot {
  position:absolute;
  bottom:7%;
  left:9%;
  right:9%;
  border-top:1px solid #629083;
  display:flex;
  gap:1.25rem;
  padding-top:.88rem;
  color:#d7e5d9;
  font-size:.85rem;
}
.cover-lines {
  position:absolute;
  z-index:-1;
  width:90%;
  aspect-ratio:1;
  right:-47%;
  bottom:11%;
  border-radius:50%;
  background:repeating-radial-gradient(ellipse at center,transparent 0 13px,#558377 14px 15px,transparent 16px 28px);
  transform:rotate(-20deg) scaleY(1.4);
  opacity:.55;
}
.login-side {
  display:grid;
  align-items:center;
  justify-items:center;
  padding:2rem;
}
.login-form {
  width:min(100%,365px);
}
.square {
  width:46px;
  height:46px;
  border:1px solid #c8d7c9;
  background:#e5eddf;
  display:grid;
  place-items:center;
  border-radius:13px;
  margin-bottom:1.65rem;
}
.login-form h1 {
  font-size:clamp(1.9rem,3vw,2.65rem);
}
.login-form>p {
  margin:.65rem 0 2rem;
  color:var(--sub);
}
.login-form form {
  gap:.55rem;
}
.password,.with-icon {
  position:relative;
}
.password input {
  padding-right:3rem;
}
.password .eye {
  position:absolute;
  right:3px;
  top:1px;
}
.error-zone {
  color:#9b3525;
  font-size:.89rem;
}
.error-zone:empty {
  display:none;
}
.login-form .primary {
  margin-top:.55rem;
}
.workspace {
  display:grid;
  grid-template-columns:232px minmax(0,1fr);
  min-height:100dvh;
}
.sidebar {
  background:var(--deep);
  color:white;
  padding:1.8rem 1rem;
  display:flex;
  flex-direction:column;
  gap:2rem;
  position:sticky;
  top:0;
  height:100dvh;
}
.sidebar .brand {
  padding:0 .42rem;
}
.sidebar nav {
  display:grid;
  gap:.38rem;
}
.sidebar nav button {
  justify-content:flex-start;
  color:#d6e4d9;
  gap:.8rem;
  min-height:44px;
  font-size:.94rem;
}
.sidebar nav button[aria-current] {
  background:#d6e8c9;
  color:#143e36;
}
.account {
  margin-top:auto;
  border-top:1px solid #4c6d63;
  padding-top:1rem;
}
.account-line {
  display:flex;
  align-items:center;
  gap:.6rem;
}
.account-line small,.account-line b {
  display:block;
}
.account-line small {
  color:#c8d8cc;
  font-size:.72rem;
  overflow-wrap:anywhere;
}
.avatar {
  background:#2b554d;
  border-radius:50%;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:none;
}
.account button {
  color:#cfdfd4;
  font-size:.82rem;
  margin-top:.65rem;
}
.desk {
  width:100%;
  max-width:1750px;
  padding:clamp(1.3rem,3.4vw,3.8rem);
}
.top,.top-tools,.panel-head,.actions,.pager,.legend,.date {
  display:flex;
  align-items:center;
}
.top,.panel-head,.pager {
  justify-content:space-between;
  gap:1rem;
}
.top {
  margin-bottom:2rem;
}
.top-tools,.actions,.date {
  gap:.7rem;
}
.date,.crumb {
  font-size:.84rem;
  color:var(--sub);
}
.crumb i {
  padding:0 .35rem;
  color:#8b9b8d;
}
.top h1 {
  margin-top:.45rem;
}
.metrics {
  display:grid;
  grid-template-columns:1.28fr repeat(3,1fr);
  gap:.85rem;
  margin-bottom:1.1rem;
}
.metrics article,.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.metrics article {
  padding:clamp(.85rem,1.6vw,1.65rem);
  min-width:0;
}
.metric-ico {
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  border:1px solid #d9e5d7;
  background:#f0f5ee;
  border-radius:10px;
  color:#34614e;
}
.metrics h3 {
  font-size:.85rem;
  font-weight:550;
  color:var(--sub);
  margin:1rem 0 .35rem;
}
.metrics strong {
  font-size:clamp(1.2rem,1.75vw,2.15rem);
  letter-spacing:-.05em;
  display:block;
  overflow-wrap:anywhere;
}
.metrics .hero-metric {
  background:#184b42;
  color:white;
  border-color:#184b42;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.hero-metric:after {
  content:'';
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  right:-95px;
  top:-55px;
  background:repeating-radial-gradient(circle,transparent 0 10px,#689485 11px 12px);
  z-index:-1;
}
.hero-metric h3,.hero-metric small {
  color:#d8e7d7;
}
.hero-metric .metric-ico {
  background:#325e51;
  color:#e8eed4;
  border-color:#527766;
}
.hero-metric small {
  display:block;
  margin-top:.35rem;
}
.panel {
  padding:clamp(1rem,1.8vw,1.65rem);
  margin-bottom:1.1rem;
  min-width:0;
}
.panel-head {
  margin-bottom:1.1rem;
}
.panel-head p,.panel>p {
  font-size:.9rem;
  color:var(--sub);
  margin-top:.32rem;
}
.panel>form {
  margin-top:1.1rem;
}
.legend {
  gap:.9rem;
  font-size:.78rem;
  color:var(--sub);
}
.legend span {
  display:flex;
  align-items:center;
  gap:.4rem;
}
.legend span:before {
  content:'';
  width:9px;
  height:9px;
  border-radius:3px;
  background:#448371;
}
.legend span+span:before {
  background:#d89a54;
}
.chart {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:.55rem;
  padding-top:.6rem;
  background:repeating-linear-gradient(to top,transparent 0 32px,#e6eae2 33px 34px);
  background-position:0 -25px;
}
.chart-day {
  position:relative;
  text-align:center;
  min-width:0;
}
.bars {
  height:94px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:3px;
}
.bars i {
  width:clamp(5px,1.4vw,18px);
  border-radius:4px 4px 0 0;
  background:#448371;
}
.bars i+i {
  background:#d89a54;
}
.chart-day>span {
  display:block;
  background:white;
  padding-top:7px;
  font-size:.76rem;
  color:var(--sub);
  border-top:1px solid var(--line);
}
.amount-tip {
  position:absolute;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  min-width:120px;
  max-width:220px;
  color:white;
  font-size:.77rem;
  padding:.5rem;
  background:var(--deep);
  border-radius:6px;
  z-index:1;
  display:none;
}
.chart-day:hover .amount-tip,.chart-day:focus .amount-tip {
  display:block;
}
.chart-day:first-child .amount-tip {
  left:0;
  transform:none;
}
.chart-day:last-child .amount-tip {
  left:auto;
  right:0;
  transform:none;
}
.scroll {
  overflow:auto;
  max-width:100%;
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:.875rem;
}
th,td {
  text-align:left;
  padding:.72rem .6rem;
  border-bottom:1px solid #e0e5dd;
}
thead th {
  background:#f3f6ef;
  color:#53655a;
  font-size:.78rem;
  font-weight:650;
  white-space:nowrap;
}
tbody td {
  white-space:nowrap;
}
.entry {
  display:flex;
  align-items:center;
  gap:.65rem;
}
.entry small,.entry b,.audit-item small {
  display:block;
}
.entry small {
  font-size:.78rem;
  max-width:30ch;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}
.symbol {
  width:35px;
  height:35px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#e7f1e7;
  color:#32674f;
}
.symbol.BIAYA {
  background:#fcf0df;
  color:#95622b;
}
.symbol.SETORAN {
  background:#e8eef4;
  color:#3c6387;
}
.pill {
  border-radius:20px;
  padding:.18rem .55rem;
  background:#e5f0e4;
  color:#365d43;
  font-size:.75rem;
  font-weight:650;
}
.pill.void {
  background:#f6e5df;
  color:#833e31;
}
.empty {
  padding:1.8rem 1rem;
  display:grid;
  justify-items:center;
  gap:.3rem;
  text-align:center;
  color:var(--sub);
}
.empty svg {
  color:#62846f;
  margin-bottom:.3rem;
}
.empty span {
  font-size:.88rem;
}
.filters {
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  gap:.75rem;
  margin:1rem 0;
}
.filters>label {
  flex:1 1 135px;
}
.filters>label:first-child {
  flex:1.5 1 160px;
}
.with-icon svg {
  position:absolute;
  top:14px;
  left:.7rem;
}
.with-icon input {
  padding-left:2.1rem;
}
.pager {
  margin-top:1rem;
  font-size:.82rem;
  color:var(--sub);
  flex-wrap:wrap;
}
.pager button+button {
  margin-left:.35rem;
}
.report-kpi,.settings-grid,.two,.three {
  display:grid;
  gap:1rem;
}
.two,.settings-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.three,.report-kpi {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.report-kpi {
  background:#edf3ea;
  padding:1rem;
  border-radius:10px;
  margin:1.1rem 0;
}
.report-kpi small,.report-kpi strong {
  display:block;
}
.report-table {
  margin-top:.6rem;
}
.report-table th {
  text-align:center;
}
.report-table tbody th {
  text-align:left;
  white-space:nowrap;
}
.report-table .subtotal {
  background:#e8f1e6;
  font-weight:650;
}
.settings-grid {
  align-items:start;
}
.import-box {
  display:grid;
  gap:.6rem;
  background:#f2f6ee;
  border:1px dashed #b8c9b8;
  padding:1rem;
  border-radius:10px;
  margin:1rem 0;
}
.import-list {
  max-height:230px;
  margin:.7rem 0;
}
.check {
  display:flex;
  align-items:center;
  margin:.8rem 0;
}
.alert {
  background:#fff0d9;
  color:#714b1f;
  border-radius:8px;
  padding:.65rem 1rem;
  margin:.7rem 0;
}
.toast {
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:#183e37;
  color:white;
  border-radius:12px;
  padding:.8rem 1.2rem;
  max-width:92vw;
  z-index:7;
  box-shadow:0 5px 18px #132d292b;
}
.toast[hidden],[hidden] {
  display:none!important;
}
dialog {
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  max-width:min(550px,94vw);
  width:520px;
  max-height:92dvh;
  padding:1.4rem;
  box-shadow:0 20px 75px #18352c33;
}
dialog::backdrop {
  background:#0d25256b;
}
.dialog-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.6rem;
  margin-bottom:1rem;
}
#kind-fields {
  display:grid;
  gap:1rem;
}
.detail-value {
  font-size:1.9rem;
  font-weight:650;
  letter-spacing:-.04em;
}
dl {
  margin:.7rem 0 1.2rem;
}
dl div {
  display:grid;
  grid-template-columns:1fr 1.6fr;
  border-bottom:1px solid var(--line);
  padding:.45rem 0;
  font-size:.89rem;
}
dt {
  color:var(--sub);
}
dd {
  margin:0;
  overflow-wrap:anywhere;
}
.actions {
  flex-wrap:wrap;
}
.audit-item {
  padding:.6rem 0;
  border-bottom:1px solid var(--line);
  font-size:.85rem;
}
#audit-result h3 {
  margin-top:1rem;
}
.check input {
  flex:none;
}
@media(max-width:1100px) {
  .workspace {
    grid-template-columns:196px minmax(0,1fr);
  }
  .desk {
    padding:1.4rem;
  }
  .metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .metrics article {
    padding:.9rem 1.1rem;
  }
  .metrics h3 {
    margin:.6rem 0 .2rem;
  }
  .top-tools .date {
    display:none;
  }
}
@media(max-width:740px) {
  .login {
    display:block;
    padding:0;
  }
  .login-art {
    border-radius:0;
    min-height:0;
    padding:1.1rem 1.35rem;
  }
  .login-art .cover {
    display:none;
  }
  .login-side {
    padding:clamp(3rem,15vw,7rem) 1.4rem;
  }
  .workspace {
    display:block;
  }
  .sidebar {
    position:static;
    height:auto;
    padding:.72rem 1rem;
    display:grid;
    grid-template-columns:1fr auto;
    gap:.6rem;
  }
  .sidebar .brand {
    padding:0;
  }
  .sidebar .brand img {
    width:37px;
    height:37px;
  }
  .sidebar nav {
    display:flex;
    grid-column:1/-1;
    order:3;
    gap:.15rem;
    overflow:auto;
  }
  .sidebar nav button {
    font-size:.82rem;
    gap:.35rem;
    padding:.45rem .6rem;
    min-height:36px;
  }
  .sidebar nav svg {
    width:15px;
  }
  .account {
    margin:0;
    border:0;
    padding:0;
    display:flex;
    align-items:center;
    gap:.35rem;
  }
  .account-line .avatar,.account-line small {
    display:none;
  }
  .account-line b,.account button {
    font-size:.76rem;
  }
  .account button {
    margin:0;
    min-height:33px;
    padding:.3rem;
  }
  .desk {
    padding:1.1rem .85rem;
  }
  .top {
    margin-bottom:1.2rem;
    align-items:end;
  }
  .top h1 {
    font-size:1.75rem;
  }
  .top-tools .primary {
    font-size:.85rem;
    padding:.6rem;
  }
  .settings-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .panel-head {
    flex-wrap:wrap;
  }
  .panel-head .secondary {
    font-size:.82rem;
  }
  .legend {
    gap:.6rem;
  }
  .cover-foot {
    position:static;
  }
  .report-kpi {
    gap:.45rem;
    padding:.65rem;
  }
  .report-kpi strong {
    font-size:.88rem;
  }
  .two,.three {
    gap:.5rem;
  }
  .entry small {
    max-width:22ch;
  }
  .chart {
    gap:2px;
  }
  .chart-day>span {
    font-size:.66rem;
  }
  .brand small {
    font-size:.72rem;
  }
}
@media(max-width:405px) {
  .sidebar nav button {
    padding:.35rem .45rem;
  }
  .top h1 {
    font-size:1.5rem;
  }
  .settings-grid {
    display:block;
  }
  .three {
    grid-template-columns:1fr;
  }
  .legend {
    font-size:.72rem;
  }
}
@media(prefers-reduced-motion:no-preference) {
  button {
    transition:background-color .15s,filter .15s;
  }
  .panel,.metrics {
    animation:appear .18s ease-out;
  }
  @keyframes appear {
    from {
      opacity:.55;
      transform:translateY(2px);
    }
    to {
      opacity:1;
      transform:translateY(0);
    }
  }
}
/* Keep frequently used entry types one tap from the home screen. */
.quick-strip,.quick-options,.quick {display:flex;align-items:center}
.quick-strip{gap:1.4rem;margin:1rem 0 1.25rem;padding:.72rem 1rem;border:1px solid var(--line);border-radius:var(--radius);background:#edf2e9}
.quick-strip h2{font-size:.98rem;letter-spacing:-.02em}
.quick-options{gap:.55rem;flex:1;flex-wrap:wrap}
.quick{background:white;border:1px solid #cddbcf;font-size:.9rem;gap:.5rem;min-height:42px}
.quick .symbol{width:25px;height:25px;border-radius:7px}.quick svg{width:16px;height:16px}
.keyboard-switch{display:none}.login-form .primary{min-height:46px}
.login-form .password input{min-height:46px}.login-form .eye{height:44px}
.login-side{background:radial-gradient(ellipse at 82% 28%,#ebf0e3,transparent 66%)}
@media(pointer:coarse){.keyboard-switch{display:inline-flex;font-size:.82rem;color:var(--sub);text-decoration:underline}}
@media(max-width:740px){
 .sidebar nav{position:fixed;bottom:0;left:0;right:0;z-index:3;background:#fff;border-top:1px solid #cedacd;padding:.32rem .4rem max(.32rem,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 -4px 16px #203a2b0c}
 .sidebar nav button{color:#435a50;min-height:44px;flex-direction:column;justify-content:center;gap:.15rem;line-height:1.2;padding:.35rem;font-size:.74rem}
 .sidebar nav button[aria-current]{color:#174d40;background:#e4eedf}
 .sidebar nav svg{width:19px;height:19px}.desk{padding-bottom:calc(5.7rem + env(safe-area-inset-bottom))}
 .toast{bottom:calc(4.5rem + env(safe-area-inset-bottom))}
 .quick-strip{display:block;padding:.65rem .7rem}.quick-strip h2{margin-bottom:.45rem}
 .quick-options{display:grid;grid-template-columns:repeat(3,1fr);gap:.35rem}
 .quick{gap:.25rem;font-size:.8rem;padding:.4rem .2rem}.quick .symbol{width:21px;height:21px}
 .account-line b{font-size:.73rem;max-width:100px}.login-side{min-height:calc(100dvh - 73px);align-content:center;padding:2rem 1.4rem}
 .login-form{background:#fff;padding:1.45rem 1.15rem;border:1px solid #d9e2d5;border-radius:17px;box-shadow:0 10px 30px #193a3510}
 .entry-table,.entry-table tbody{display:block}
 .entry-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .entry-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--line);gap:.2rem .55rem;padding:.65rem 0}
 .entry-table td{border:0;padding:0;white-space:normal}.entry-table td:nth-child(1){grid-area:1/1}
 .entry-table td:nth-child(2){grid-area:2/1;font-size:.75rem;color:var(--sub);padding-left:calc(35px + .65rem)}
 .entry-table td:nth-child(3){grid-area:2/2;text-align:right}.entry-table td:nth-child(4){grid-area:1/2}
 .entry-table td:nth-child(5){grid-column:2;text-align:right}.entry-table .entry div{min-width:0}.entry-table .entry small{max-width:100%}
 .entry-table .symbol{flex:none}
}
@media(max-width:470px){.desk .top{gap:.4rem}.top-tools .primary{font-size:.78rem}.quick .symbol{background:transparent}}
