
@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}

:root {
  --background: #F8F9FB;
  --foreground: #111827;
  --tr-modal-scrim: rgba(17, 24, 39, 0.5);
  --tr-accent: #047857;
  --tr-accent-hover: #065f46;
  --tr-accent-bg: #ECFDF5;
  --tr-accent-border: #A7F3D0;
  --tr-ink: #111827;
  --tr-ink-2: #4B5563;
  --tr-ink-3: #6B7280;
  --tr-muted: #9CA3AF;
  --tr-border: #E5E7EB;
  --tr-surface: #FFFFFF;
  --tr-surface-2: #F8FAFC;
  --tr-danger: #DC2626;
  --tr-danger-hover: #B91C1C;
  --tr-danger-bg: #FEF2F2;
  --tr-danger-border: #FECACA;
  --tr-blue: #2563EB;
  --tr-blue-bg: #EFF6FF;
  --tr-blue-border: #BFDBFE;
  --tr-amber: #EA580C;
  --tr-amber-bg: #FFF7ED;
  --tr-amber-border: #FED7AA;
  --tr-r-control: 8px;
  --tr-r-card: 12px;
  --tr-r-modal: 16px;
  --tr-r-pill: 999px;
  --tr-focus-ring: 0 0 0 3px rgba(4, 120, 87, 0.1);
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-drawer-backdrop: 900;
  --z-drawer: 1000;
  --z-modal-backdrop: 1400;
  --z-modal: 1500;
  --z-navbar: 1600;
  --z-toast: 1700;
  --z-boot: 2000;
}
html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  background: var(--background);
  color: var(--foreground);
}
.tr-shell {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
}
.tr-main {
  padding: 16px;
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .tr-main {
    padding: 24px;
    padding-left: calc(24px + env(safe-area-inset-left));
    padding-right: calc(24px + env(safe-area-inset-right));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}
.tr-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1600;
  pointer-events: none;
  overflow: hidden;
  background: rgba(4, 120, 87, 0.12);
}
.tr-navbar > i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #10b981, #047857);
  box-shadow: 0 0 8px rgba(4, 120, 87, 0.5);
  animation: tr-navbar-slide 1.1s ease-in-out infinite;
}
@keyframes tr-navbar-slide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(260%); }
}
@media (prefers-reduced-motion: reduce) {
  .tr-navbar > i { animation: none; width: 100%; opacity: 0.6; }
}
.tr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  background: var(--tr-modal-scrim);
  animation: tr-fade 0.14s ease-out;
}
.tr-modal-card {
  width: 100%;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.28), 0 2px 8px rgba(17, 24, 39, 0.12);
  outline: none;
  overflow: hidden;
  animation: tr-pop 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.tr-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex: none;
}
.tr-modal-title { font-size: 16px; font-weight: 700; color: #111827; letter-spacing: -0.01em; }
.tr-modal-x {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9px;
  background: #f1f5f9;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.tr-modal-x:hover { background: #fef2f2; color: #dc2626; }
.tr-modal-x:focus-visible { outline: 2px solid #047857; outline-offset: 2px; }
.tr-modal-body { padding: 18px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tr-modal-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1px solid #e5e7eb;
  background: #fafbfc;
  flex: none;
}
@media (prefers-reduced-motion: reduce) {
  .tr-modal-backdrop, .tr-modal-card { animation: none; }
}
::view-transition { pointer-events: none; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 180ms; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(*) {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
  }
}
.tr-loadmodal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.48);
}
.tr-loadmodal__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  max-width: 82vw;
  padding: 22px 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.3), 0 2px 8px rgba(17, 24, 39, 0.12);
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.tr-loadmodal__spin {
  flex: none;
  width: 30px;
  height: 30px;
  border: 3px solid #e5e7eb;
  border-top-color: #047857;
  border-radius: 50%;
  animation: tr-spin 0.7s linear infinite;
}
@keyframes tr-spin { to { transform: rotate(360deg); } }
@keyframes tr-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .tr-loadmodal { animation: none; }
  .tr-loadmodal__spin { animation: none; }
}
.tr-boot {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(248, 249, 251, 0.72);
  backdrop-filter: blur(3px);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.tr-boot--hide { opacity: 0; visibility: hidden; pointer-events: none; }
.tr-boot-card {
  width: 340px;
  max-width: 86vw;
  padding: 38px 34px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.16), 0 4px 14px rgba(17, 24, 39, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: tr-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tr-boot-logo { position: relative; width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 22px; }
.tr-boot-logo::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 45%, rgba(4, 120, 87, 0.3), rgba(16, 185, 129, 0.12) 55%, rgba(4, 120, 87, 0) 72%);
  filter: blur(4px);
}
.tr-boot-logo img { position: relative; width: 42px; height: 42px; object-fit: contain; }
.tr-boot-bar { position: relative; width: 100%; max-width: 230px; height: 6px; border-radius: 999px; background: #eef0f4; overflow: hidden; margin-bottom: 20px; }
.tr-boot-bar > i { position: absolute; top: 0; left: -42%; width: 42%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #10b981, #047857); animation: tr-bar 1.1s ease-in-out infinite; }
.tr-boot-title { font-size: 16px; font-weight: 700; color: #111827; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 7px; }
.tr-boot-title svg { color: #047857; flex: none; }
.tr-boot-sub { margin-top: 6px; font-size: 12.5px; color: #6b7280; line-height: 1.5; }
@keyframes tr-bar { 0% { left: -42%; } 60% { left: 72%; } 100% { left: 110%; } }
@keyframes tr-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.kw-load { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 120px; color: #6b7280; font-size: 13px; }
.kw-load__spin { flex: none; width: 20px; height: 20px; border: 3px solid #e5e7eb; border-top-color: #047857; border-radius: 50%; animation: tr-spin 0.7s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .tr-boot-bar > i { animation: none; left: 0; width: 100%; }
  .tr-boot-card { animation: none; }
  .kw-load__spin { animation: none; }
}
.tr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 9px 16px;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  border-radius: var(--tr-r-control); border: 1px solid transparent;
  background: var(--tr-accent); color: #fff; cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.tr-btn:hover { background: var(--tr-accent-hover); }
.tr-btn:disabled { opacity: .5; cursor: not-allowed; }
.tr-btn svg { flex: none; }
.tr-btn--ghost { background: #fff; border-color: var(--tr-border); color: var(--tr-ink-2); }
.tr-btn--ghost:hover { background: #fff; border-color: var(--tr-accent); color: var(--tr-accent); }
.tr-btn--danger { background: #fff; border-color: var(--tr-danger-border); color: var(--tr-danger); }
.tr-btn--danger:hover { background: var(--tr-danger-bg); border-color: var(--tr-danger); color: var(--tr-danger); }
.tr-btn--block { width: 100%; }
.tr-btn--sm { min-height: 34px; padding: 6px 12px; font-size: 12px; }
.tr-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--tr-border); border-radius: var(--tr-r-control);
  background: #fff; color: var(--tr-ink-3); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.tr-icon-btn:hover { border-color: var(--tr-accent); color: var(--tr-accent); background: var(--tr-accent-bg); }
.tr-icon-btn:disabled { opacity: .5; cursor: not-allowed; }
.tr-rbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 8px 15px;
  font: inherit; font-size: 12px; font-weight: 600; line-height: 1;
  border: 1px solid var(--tr-border); border-radius: var(--tr-r-pill);
  background: #fff; color: var(--tr-ink-2); cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.tr-rbtn:hover { border-color: var(--tr-accent); color: var(--tr-accent); }
.tr-rbtn:disabled { opacity: .6; cursor: wait; }
.tr-rbtn svg { flex: none; }
.tr-rbtn.spin svg { animation: tr-spin .8s linear infinite; }
.tr-navbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: none;
  border: 1px solid var(--tr-border); border-radius: var(--tr-r-control);
  background: #fff; color: var(--tr-ink-2); cursor: pointer; font: inherit;
  transition: background .15s, border-color .15s, color .15s;
}
.tr-navbtn:hover { border-color: var(--tr-accent); color: var(--tr-accent); }
.tr-navbtn:disabled { opacity: .4; cursor: not-allowed; }
.tr-input, .tr-select, .tr-textarea {
  width: 100%; min-height: 40px; padding: 9px 12px;
  font: inherit; font-size: 13.5px; color: var(--tr-ink);
  background: #fff; border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-control); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.tr-select { cursor: pointer; }
.tr-textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.tr-input:focus, .tr-select:focus, .tr-textarea:focus { border-color: var(--tr-accent); box-shadow: var(--tr-focus-ring); }
.tr-input::placeholder, .tr-textarea::placeholder { color: var(--tr-muted); }
.tr-label { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 500; color: var(--tr-ink-2); }
.tr-label--cap { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--tr-ink-3); }
.tr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tr-stat {
  padding: 12px 14px; background: #fff; border: 1px solid var(--tr-border);
  border-radius: var(--tr-r-card); box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.tr-stat b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--tr-ink); font-variant-numeric: tabular-nums; }
.tr-stat small { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--tr-ink-3); }
.tr-toast {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  max-width: min(90vw, 360px);
  padding: 11px 16px; border-radius: var(--tr-r-control);
  background: var(--tr-accent-hover); color: #fff;
  font-size: 13px; font-weight: 500; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .22);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.tr-toast.show { opacity: 1; transform: none; }
.tr-toast.err { background: var(--tr-danger); }
@media (max-width: 600px) {
  .tr-toast { left: 16px; right: 16px; max-width: none; text-align: center; }
}
.tr-empty { padding: 48px 20px; text-align: center; color: var(--tr-ink-3); font-size: 14px; }
.tr-stats-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tr-stats-row .tr-stats-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .tr-stats-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .tr-stats-row .tr-stats-filters { width: 100%; }
}
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; }
}
html, body, .tr-main { touch-action: manipulation; }
.tr-main { overflow-x: hidden; }
.table-wrap { overscroll-behavior-x: none; }

:root { --dbh: 36px; }
html.shot { --dbh: 0px; }
html.shot #demobar { display: none; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
#demobar { position: fixed; top: 0; left: 0; right: 0; height: 36px; z-index: 3000; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #1d2a22; color: #f4efe3; font: 13px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
#demobar .db-l { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#demobar button { flex: none; font: 600 12px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #1d2a22; background: #f4efe3; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
#demobar button:hover { background: #fff; }
#demobar a { flex: none; color: #f4efe3; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
#demobar .db-short { display: none; }
@media (max-width: 480px) { #demobar { gap: 8px; padding: 0 10px; } #demobar .db-long { display: none; } #demobar .db-short { display: inline; } }
.tr-shell { top: var(--dbh); bottom: 0; height: auto !important; display: flex; overflow: hidden; background: #F8F9FB; color: #111827; }
.tr-col { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.tr-main { flex: 1; overflow-y: auto; }
.sb { display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid #E5E7EB; background: #fff; color: #334155; position: fixed; top: var(--dbh); bottom: 0; left: 0; z-index: 50; width: 272px; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); transform: translateX(-100%); transition: transform .3s cubic-bezier(0, 0, .2, 1); }
.sb.open { transform: translateX(0); }
.sb-backdrop { position: fixed; inset: 0; top: var(--dbh); z-index: 40; background: rgb(0 0 0 / .4); animation: tr-fade .15s ease-out; }
.sb-head { display: flex; height: 60px; flex: none; align-items: center; gap: 11px; border-bottom: 1px solid #E5E7EB; padding: 0 16px; }
.sb-logo { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.sb-brand { min-width: 0; line-height: 1.25; }
.sb-brand .t1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: #111827; }
.sb-brand .t2 { font-size: 11px; font-weight: 500; color: #94A3B8; }
.sb-sp { flex: 1; margin-left: -11px; }
.sb-ibtn { display: grid; place-items: center; flex: none; border-radius: 9px; color: #64748B; cursor: pointer; transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1); }
.sb-ibtn:hover { background: #F1F5F9; color: #111827; }
.sb-collapse { display: none; width: 36px; height: 36px; }
.sb-expand { display: none; border-radius: 10px; transition: opacity .15s; cursor: pointer; }
.sb-expand:hover { opacity: .8; }
.sb-expand img { width: 40px; height: 40px; border-radius: 10px; }
.sb-close { width: 40px; height: 40px; }
.sb-nav { flex: 1; overflow-y: auto; padding: 12px 12px max(12px, env(safe-area-inset-bottom)); }
.sb-group + .sb-group { margin-top: 12px; }
.sb-gt { padding: 6px 12px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94A3B8; }
.sb-list > li + li { margin-top: 1px; }
.sb-link { display: flex; align-items: center; gap: 11px; border-radius: 10px; padding: 11px 12px; font-size: 13px; font-weight: 500; color: #334155; cursor: pointer; transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1); }
.sb-link svg { flex: none; color: #94A3B8; }
.sb-link:hover { background: #F1F5F9; color: #111827; }
.sb-link.active { background: #ECFDF5; font-weight: 600; color: #047857; }
.sb-link.active svg { color: #059669; }
@media (min-width: 768px) {
  .sb { position: static; z-index: auto; flex: none; transform: none; box-shadow: none; width: 236px; transition: width .2s cubic-bezier(0, 0, .2, 1); }
  .sb-backdrop, .sb-close { display: none; }
  .sb-collapse { display: grid; }
  .sb-link { padding-top: 9px; padding-bottom: 9px; }
  .sb.collapsed { width: 64px; }
  .sb.collapsed .sb-head { justify-content: center; padding: 0; }
  .sb.collapsed .sb-logo, .sb.collapsed .sb-brand, .sb.collapsed .sb-sp, .sb.collapsed .sb-collapse, .sb.collapsed .sb-gt, .sb.collapsed .sb-lbl { display: none; }
  .sb.collapsed .sb-expand { display: grid; place-items: center; }
  .sb.collapsed .sb-link { justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
}
.tb { display: flex; min-height: 60px; flex: none; align-items: center; gap: 12px; border-bottom: 1px solid #E5E7EB; background: rgb(255 255 255 / .85); padding: 0 16px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tb-ibtn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 9px; border: 1px solid #E5E7EB; background: #fff; color: #64748B; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; }
.tb-ibtn:hover { background: #F1F5F9; color: #111827; }
.tb-nav { min-width: 0; flex: 1; }
.tb-ol { display: flex; min-width: 0; align-items: center; gap: 6px; }
.tb-home { display: none; flex: none; }
.tb-home a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: #94A3B8; transition: color .15s, background-color .15s; }
.tb-home a:hover { background: #F1F5F9; color: #111827; }
.tb-cur { display: flex; min-width: 0; align-items: center; gap: 6px; }
.tb-cur svg { display: none; flex: none; }
.tb-cur span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: #111827; }
.tb-right { display: flex; flex: none; align-items: center; gap: 9px; }
.tb-user { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid #E5E7EB; background: #F1F5F9; padding: 4px 12px 4px 5px; font-size: 12px; font-weight: 600; color: #334155; }
.tb-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: #10b981; font-size: 11px; font-weight: 800; color: #fff; }
.tb-un { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-out:hover { border-color: #FECACA; background: #FEF2F2; color: #DC2626; }
@media (min-width: 768px) {
  .tb { padding: 0 24px; }
  .tb-ham { display: none; }
  .tb-home { display: block; }
  .tb-cur svg { display: block; }
}

.home { max-width: 72rem; margin: 0 auto; }
.home > * + * { margin-top: 24px; }
.home-eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #047857; }
.home h1 { margin-top: 2px; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.01em; color: #0f172a; }
.home-sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: #64748b; }
.home-sum { display: grid; grid-template-columns: 1fr; gap: 14px; }
.hcard { display: flex; align-items: flex-start; gap: 12px; border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; padding: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); outline: none; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.hcard:hover { transform: translateY(-2px); border-color: #cbd5e1; box-shadow: 0 12px 28px -14px rgba(15, 23, 42, .18); }
.hcard:focus-visible { box-shadow: 0 0 0 2px rgb(4 120 87 / .4); }
.hchip { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; }
.tone-green { background: #ECFDF5; color: #059669; }
.tone-blue { background: #EFF6FF; color: #2563EB; }
.tone-amber { background: #FFFBEB; color: #D97706; }
.tone-slate { background: #F1F5F9; color: #475569; }
.hbody { min-width: 0; flex: 1; }
.hlabel { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: #0f172a; }
.hlabel .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hlabel svg { flex: none; color: #cbd5e1; transition: transform .15s cubic-bezier(.4, 0, .2, 1), color .15s; }
.hcard:hover .hlabel svg { transform: translateX(2px); color: #047857; }
.hhint { margin-top: 2px; display: block; font-size: 12px; line-height: 1.375; color: #64748b; }
.hhint b { color: #0f172a; font-weight: 700; font-variant-numeric: tabular-nums; }
.hquick { border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; padding: 20px; }
.hquick h2 { margin-bottom: 14px; font-size: 14px; line-height: 20px; font-weight: 600; color: #0f172a; }
.hq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hq { display: flex; min-height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; border: 1px solid #f1f5f9; background: rgb(248 250 252 / .6); padding: 16px 12px; text-align: center; outline: none; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; }
.hq:hover { border-color: #bbf7d0; background: #ECFDF5; }
.hq svg { color: #64748B; }
.hq span { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: #334155; }
@media (min-width: 640px) { .home-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hq-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.prd { width: 100%; }
.prd > * + * { margin-top: 24px; }
.prd-head { display: flex; flex-direction: column; gap: 16px; }
.prd-head h1 { font-size: 24px; line-height: 32px; font-weight: 700; color: #0f172a; }
.prd-head p { margin-top: 4px; font-size: 14px; line-height: 20px; color: #64748b; }
.prd-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pbtn { display: inline-flex; height: 40px; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 0 16px; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; }
.pbtn-p { background: #047857; color: #fff; }
.pbtn-p:hover { background: #065f46; }
.pbtn-s { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.pbtn-s:hover { border-color: #047857; color: #047857; }
.prd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; text-align: left; transition: box-shadow .15s cubic-bezier(.4, 0, .2, 1), border-color .15s; }
.pcard:hover { border-color: rgb(4 120 87 / .4); box-shadow: 0 6px 20px -8px rgba(15, 23, 42, .25); }
.pcard.off { opacity: .8; }
.pimg { display: flex; height: 160px; align-items: center; justify-content: center; background: #f8fafc; padding: 16px; color: #cbd5e1; }
.pbody { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; }
.pbody h2 { font-weight: 700; color: #0f172a; }
.pchips, .ptags { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.pchip i { width: 6px; height: 6px; border-radius: 999px; }
.pchip.on { background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1px #a7f3d0; }
.pchip.on i { background: #059669; }
.pchip.mati { background: #f1f5f9; color: #475569; box-shadow: inset 0 0 0 1px #e2e8f0; }
.pchip.mati i { background: #94a3b8; }
.pchip.pub { background: #fff; color: #475569; font-weight: 500; box-shadow: inset 0 0 0 1px #e2e8f0; }
.ptag { border-radius: 6px; background: #f1f5f9; padding: 2px 8px; font-size: 11px; font-weight: 500; color: #475569; }
.pfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 10px; font-size: 14px; }
.pfoot span:first-child { color: #64748b; }
.pfoot span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; color: #0f172a; }
@media (min-width: 640px) { .prd-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.ord .page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.ord .page-title h1 { font-size: 22px; font-weight: 700; color: #111; display: flex; align-items: center; }
.ord .page-title p { font-size: 13px; color: #888; margin-top: 2px; }
.ord .page-actions { display: flex; gap: 8px; align-items: center; }
.ord .stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 220px)); justify-content: start; gap: 12px; margin-bottom: 20px; }
.ord .stat-card {
  display: flex; flex-direction: row; align-items: center; gap: 11px; text-align: left; width: 100%;
  padding: 12px 14px; background: #fff; border: 1px solid #e9eef4; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.05);
  cursor: pointer; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.ord .stat-card:hover { border-color: #dbe3ec; box-shadow: 0 1px 3px rgba(15,23,42,.06), 0 12px 28px -14px rgba(15,23,42,.14); transform: translateY(-2px); }
.ord .stat-card:active { transform: translateY(0); }
.ord .stat-card.active { border-color: #10b981; box-shadow: 0 0 0 2px #d1fae5, 0 1px 2px rgba(15,23,42,.04); }
.ord .stat-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.ord .stat-ic svg { width: 17px; height: 17px; }
.ord .stat-ic-slate { background: #eef2f7; color: #475569; }
.ord .stat-ic-green { background: #ecfdf5; color: #047857; }
.ord .stat-ic-red   { background: #fef2f2; color: #dc2626; }
.ord .stat-ic-gray  { background: #f1f3f5; color: #6b7280; }
.ord .stat-body { display: flex; flex-direction: column; min-width: 0; }
.ord .stat-number { font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ord .stat-label { font-size: 12px; color: #64748b; font-weight: 600; margin-top: 1px; display: flex; align-items: center; gap: 4px; }
.ord .filter-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ord .search-wrap { position: relative; flex: 1; }
.ord .search-wrap svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #aaa; width: 16px; height: 16px; }
.ord .search-input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid #e0e0e8; border-radius: 8px; font-size: 13.5px; background: #fff; color: #111; outline: none; font-family: inherit; }
.ord .search-input:focus { border-color: #047857; }
.ord .date-input { padding: 9px 12px; border: 1px solid #e0e0e8; border-radius: 8px; font-size: 13.5px; background: #fff; color: #555; outline: none; cursor: pointer; width: 170px; font-family: inherit; }
.ord .date-input:focus { border-color: #047857; }
.ord .btn-icon { width: 38px; height: 38px; background: #fff; border: 1px solid #e0e0e8; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #555; transition: background .15s; text-decoration: none; }
.ord .btn-icon:hover { background: #f0fdf4; color: #047857; }
.ord .btn-add-order { height: 40px; padding: 0 16px; background: #047857; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: background .15s; font-family: inherit; }
.ord .btn-add-order:hover { background: #065f46; }
.ord .btn-refresh { width: auto; min-width: 140px; height: 40px; padding: 0 16px; gap: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.ord .btn-refresh.spin svg { animation: ord-rot 1s linear infinite; }
.ord .btn-refresh:disabled { opacity: .7; cursor: wait; }
.ord .tabs-payment { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.ord .tab-pay { padding: 6px 13px; background: #fff; border: 1px solid #e0e0e8; border-radius: 20px; font-size: 12px; color: #555; cursor: pointer; transition: all .15s; font-family: inherit; }
.ord .tab-pay:hover { border-color: #047857; color: #047857; }
.ord .tab-pay.active { background: #047857; color: #fff; border-color: #047857; }
.ord .table-wrap { background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ord .week-group { margin-bottom: 18px; }
.ord .week-group:last-child { margin-bottom: 0; }
.ord .week-header { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: #f0fdf4; color: #065f46; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border: 1px solid #bbf7d0; border-radius: 8px; margin-bottom: 6px; user-select: none; transition: filter .15s; flex-wrap: wrap; gap: 8px; }
.ord .week-header-clickable { cursor: pointer; flex: 1; }
.ord .week-header-clickable:hover { filter: brightness(.92); }
.ord .week-header-actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ord .week-header-count { font-weight: 600; color: #047857; font-size: 11.5px; }
.ord .week-sort-btn { background: #fff; border: 1px solid #bbf7d0; color: #047857; padding: 3px 9px; border-radius: 14px; font-size: 10.5px; font-weight: 700; cursor: pointer; letter-spacing: .3px; text-transform: uppercase; font-family: inherit; display: inline-flex; align-items: center; }
.ord .week-sort-btn:hover { background: #047857; color: #fff; }
.ord .week-caret { display: inline-block; width: 12px; font-size: 10px; color: #047857; }
.ord .week-done-tag { display: inline-block; background: rgba(4,120,87,.15); color: #065f46; padding: 1px 7px; border-radius: 10px; font-size: 10.5px; font-weight: 600; margin-left: 6px; text-transform: none; letter-spacing: 0; }
.ord .week-route-btn.active { background: #eef6ff !important; border-color: #bcd0ff !important; color: #1d4ed8 !important; }
.ord .week-done-btn.active { background: #047857; color: #fff; border-color: #047857; }
.ord .week-done-btn.active:hover { background: #065f46; }
.ord .orders-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ord .orders-table thead th { background: #f8f9fc; text-align: left; padding: 11px 12px; font-size: 11.5px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid #e8eaf0; white-space: nowrap; }
.ord .orders-table tbody tr.data-row { border-bottom: 1px solid #f0f0f5; cursor: default; transition: background .1s; }
.ord .orders-table tbody tr.data-row:hover { background: #f8fbf9; }
.ord .orders-table tbody tr:last-child { border-bottom: none; }
.ord .orders-table td { padding: 10px 12px; vertical-align: top; white-space: nowrap; }
.ord .orders-table thead th:nth-child(10) { text-align: center; }
.ord .cell-edit { white-space: nowrap; text-align: right; }
.ord .cell-edit-inner { display: inline-flex; align-items: center; gap: 5px; flex-wrap: nowrap; }
.ord .cell-edit-inner .btn-icon-row { margin-left: 0; }
.ord .cell-edit-inner .btn-qris-row { margin-right: 0; }
.ord .btn-edit-row { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 12px; font-weight: 600; color: #047857; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 7px; padding: 5px 11px; transition: background .12s, border-color .12s; font-family: inherit; }
.ord .btn-edit-row:hover { background: #dcfce7; border-color: #86efac; }
.ord .btn-icon-row { position: relative; width: 30px; height: 30px; padding: 0; gap: 0; justify-content: center; margin-left: 5px; vertical-align: middle; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; color: #64748b; transition: color .13s, background .13s, border-color .13s; }
.ord .btn-icon-row:hover { background: #f8fafc; }
.ord .btn-note-row:hover { color: #d97706; background: #fffbeb; border-color: #fcd34d; }
.ord .btn-tpl-row:hover { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.ord .btn-edit-row:hover { color: #059669; background: #f0fdf4; border-color: #a7f3d0; }
.ord .btn-note-row.has-note { color: #d97706; }
.ord .btn-note-row.has-note::after { content: ""; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #d97706; border: 1.5px solid #fff; }
.ord .th-drag, .ord .cell-drag { width: 26px; padding-left: 6px !important; padding-right: 0 !important; text-align: center; }
.ord .route-handle { display: inline-block; cursor: grab; color: #c0c4cc; font-size: 16px; line-height: 1; padding: 4px 3px; border-radius: 5px; user-select: none; touch-action: none; }
.ord .route-handle:hover { color: #047857; background: #f0fdf4; }
.ord .route-handle:active { cursor: grabbing; }
.ord .orders-table tbody tr.row-dragging { background: #ecfdf5 !important; box-shadow: 0 6px 18px rgba(4,120,87,.18); opacity: .95; position: relative; z-index: 2; }
.ord .cell-kode { white-space: nowrap; padding-top: 12px !important; }
.ord .cell-kode-inner { display: flex; align-items: center; gap: 8px; }
.ord .cell-kode code { background: transparent; font-size: 11.5px; font-weight: 600; color: #047857; font-family: 'Menlo','Monaco',monospace; }
.ord .dot { width: 8px; height: 8px; border-radius: 50%; background: #dc2626; flex-shrink: 0; }
.ord .dot.green { background: #047857; } .ord .dot.blue { background: #2563eb; } .ord .dot.gray { background: #6b7280; } .ord .dot.orange { background: #ea580c; }
.ord .cell-nama-name { font-weight: 600; color: #111; font-size: 13px; }
.ord .cell-nama-wa { font-size: 11.5px; color: #666; margin-top: 2px; display: flex; align-items: center; flex-wrap: nowrap; gap: 2px 0; white-space: nowrap; }
.ord .cell-nama-wa > svg { flex: none; }
.ord .member-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: #f1ebfd; color: #6d28d9; font-size: 10px; font-weight: 800; line-height: 1.4; vertical-align: middle; white-space: nowrap; }
.ord .scam-flag { display: inline-flex; align-items: center; gap: 3px; flex: none; white-space: nowrap; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; font-size: 9.5px; font-weight: 800; letter-spacing: .3px; vertical-align: 1px; }
.ord .scam-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; margin-left: 5px; padding: 0; width: 22px; height: 22px; min-width: 22px; min-height: 22px; vertical-align: -5px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; color: #9ca3af; cursor: pointer; transition: color .12s, border-color .12s, background .12s; }
.ord .scam-btn:hover, .ord .scam-btn.on { color: #dc2626; border-color: #fca5a5; background: #fef2f2; }
.ord .wa-btn-order { display: inline-flex; align-items: center; justify-content: center; flex: none; margin-left: 5px; width: 22px; height: 22px; min-width: 22px; vertical-align: -5px; border-radius: 6px; background: #25D366; color: #fff; text-decoration: none; transition: background .12s; }
.ord .wa-btn-order:hover { background: #1da851; }
.ord .scam-open-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; flex: none; white-space: nowrap; line-height: 1; padding: 6px 11px; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2; color: #b91c1c; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .14s, border-color .14s, box-shadow .14s; }
.ord .scam-open-btn svg { flex: none; }
.ord .scam-open-btn:hover { background: #fee2e2; border-color: #fca5a5; box-shadow: 0 1px 3px rgba(220,38,38,.12); }
.ord .page-actions .scam-open-btn { margin-left: 0; height: 40px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.ord .scam-open-count { min-width: 18px; padding: 0 5px; height: 17px; display: inline-flex; align-items: center; justify-content: center; background: #dc2626; color: #fff; border-radius: 999px; font-size: 10.5px; font-weight: 800; }
.ord .cell-paket-only { color: #111; font-weight: 500; font-size: 12px; min-width: 130px; }
.ord .cell-aks-only { font-size: 11.5px; color: #555; min-width: 110px; }
.ord .cell-extras { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }
.ord .cell-extra-item { font-size: 11px; font-weight: 600; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; padding: 1px 7px; align-self: flex-start; }
.ord .cell-date-only { white-space: nowrap; min-width: 86px; }
.ord .cell-date-d { font-size: 12px; color: #111; font-weight: 500; }
.ord .cell-date-t { font-size: 11px; color: #888; margin-top: 1px; }
.ord .cell-lokasi { min-width: 130px; }
.ord .cell-mode { font-size: 11px; color: #555; margin-bottom: 4px; font-weight: 500; }
.ord .cell-loc-row { display: flex; gap: 4px; flex-wrap: wrap; }
.ord .cell-loc-link { display: inline-block; font-size: 11px; color: #2563eb; text-decoration: none; padding: 3px 7px; background: #eff6ff; border-radius: 5px; white-space: nowrap; }
.ord .cell-loc-link:hover { background: #dbeafe; }
.ord .cell-muted { color: #bbb; font-size: 12px; }
.ord .cell-beda { white-space: nowrap; text-align: center; min-width: 80px; }
.ord .beda-pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.ord .beda-pill.beda-ya { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.ord .beda-pill.beda-tidak { background: #f0fdf4; color: #047857; border: 1px solid #bbf7d0; }
.ord .cell-money { text-align: center; white-space: nowrap; min-width: 145px; }
.ord .money-inner { display: inline-block; text-align: left; }
.ord .cell-money-line { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; font-size: 11.5px; line-height: 1.4; }
.ord .cell-money-line .lbl { color: #888; font-size: 10.5px; font-weight: 500; min-width: 28px; text-align: left; text-transform: uppercase; letter-spacing: .3px; }
.ord .tap-copy { cursor: pointer; border-radius: 4px; padding: 1px 3px; margin: 0 -3px; transition: background .12s, color .12s; }
.ord .tap-copy:hover { background: #eef4ff; text-decoration: underline dotted; text-underline-offset: 2px; }
.ord .tap-copy.copied { background: #d9f5e3; color: #0b6b3a; text-decoration: none; }
.ord .cell-total { font-weight: 700; color: #111; font-size: 13px; }
.ord .cell-paid { font-weight: 600; color: #2563eb; font-size: 12px; }
.ord .cell-sisa { color: #dc2626; font-weight: 600; }
.ord .cell-lunas { color: #047857; font-weight: 600; }
.ord .cell-status { white-space: nowrap; }
.ord .status-pill { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.ord .status-pill.status-aktif, .ord .status-pill.status-selesai, .ord .status-pill.status-done, .ord .status-pill.status-lunas, .ord .status-pill.status-order-placed--lunas { background: #f0fdf4; color: #047857; border-color: #bbf7d0; }
.ord .status-pill.status-booking { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.ord .status-pill.status-batal, .ord .status-pill.status-cancelled, .ord .status-pill.status-refunded { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.ord .status-pill.status-dp, .ord .status-pill.status-order-placed--dp { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.ord .status-pill.status-in-progress { background: #fefce8; color: #ca8a04; border-color: #fef08a; }
.ord .status-pill.status-keep-slot { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; }
.ord .status-pill.status--- { background: #f3f4f6; color: #9ca3af; border-color: #e5e7eb; }
.ord .status-pill.status-deleted { background: #f3f4f6; color: #6b7280; border-color: #d1d5db; text-decoration: line-through; }
.ord .month-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 10px 14px; background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; }
.ord .btn-month { width: 32px; height: 32px; background: #fff; border: 1px solid #e0e0e8; border-radius: 8px; font-size: 14px; color: #555; cursor: pointer; transition: all .15s; }
.ord .btn-month:hover { background: #f0fdf4; color: #047857; border-color: #bbf7d0; }
.ord .month-label { font-size: 15px; font-weight: 600; color: #111; flex: 1; text-align: center; }
.ord .btn-month-today { padding: 6px 13px; background: #f0fdf4; color: #047857; border: 1px solid #bbf7d0; border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.ord .btn-month-today:hover { background: #047857; color: #fff; }
.ord .unit-buttons { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ord .unit-btn { padding: 5px 10px; background: #fff; border: 1px solid #e0e0e8; border-radius: 7px; font-size: 11.5px; color: #333; font-weight: 500; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 5px; font-family: inherit; white-space: nowrap; }
.ord .unit-btn:hover { border-color: #047857; color: #047857; }
.ord .unit-btn.active { background: #047857; color: #fff; border-color: #047857; box-shadow: 0 1px 4px rgba(4,120,87,.25); }
.ord .unit-slot { background: rgba(0,0,0,.08); border-radius: 999px; padding: 0 5px; min-width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ord .unit-btn.active .unit-slot { background: rgba(255,255,255,.25); }
.ord .kalender-widget { background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; margin-bottom: 18px; overflow: hidden; }
.ord .kal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #f8f9fc; border-bottom: 1px solid #e8eaf0; }
.ord .kal-head strong { font-size: 14px; color: #111; display: inline-flex; align-items: center; }
.ord .kal-sub { font-size: 11.5px; color: #888; margin-left: 8px; }
.ord .kal-close { background: #fff; border: 1px solid #e0e0e8; border-radius: 6px; padding: 5px 10px; font-size: 12px; cursor: pointer; color: #555; font-family: inherit; }
.ord .kal-close:hover { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.ord .kal-grid { padding: 12px 16px; overflow-x: auto; }
.ord .kal-row { display: grid; gap: 4px; font-size: 11.5px; margin-bottom: 2px; align-items: stretch; }
.ord .kal-row-head { font-weight: 700; color: #555; background: #f5f6fa; border-radius: 6px; padding: 4px 0; margin-bottom: 4px; }
.ord .kal-today { background: #fffbeb; border-radius: 4px; }
.ord .kal-cell-day { width: 36px; flex-shrink: 0; text-align: center; font-weight: 600; color: #555; padding: 4px 0; }
.ord .kal-cell-slot { text-align: center; padding: 4px 0; color: #555; }
.ord .kal-cell { padding: 4px 8px; border-radius: 5px; border: 1px solid #e7e9f0; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; min-height: 25px; overflow: hidden; }
.ord .kal-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ord .kal-jam { font-size: 10px; font-weight: 700; background: #fff; border: 1px solid rgba(0,0,0,.08); color: #111; padding: 1px 5px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; letter-spacing: .02em; }
.ord .kal-jam-start { color: #065f46; border-color: #bbf7d0; }
.ord .kal-jam-end { color: #b91c1c; border-color: #fecaca; }
.ord .kal-jam-mid { color: #555; font-weight: 600; font-size: 9.5px; }
.ord .kal-paket { flex-shrink: 1; min-width: 0; max-width: 46%; font-size: 9px; font-weight: 700; color: #475569; background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.08); padding: 1px 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.ord .kal-cell.kal-free { background: #f0fdf4; color: #065f46; justify-content: center; font-weight: 600; }
.ord .kal-cell.kal-occupy { background: #fee2e2; color: #991b1b; font-weight: 600; }
.ord .kal-cell.kal-slot { background: #fef3c7; color: #78350f; font-weight: 600; }
.ord .kal-cell.kal-cancel { background: #e5e7eb; color: #6b7280; text-decoration: line-through; }
.ord .kal-cell.kal-conflict, .ord .kal-split-item.kal-conflict { background: #fee2e2; border-color: #f87171; color: #991b1b; }
.ord .kal-cell.kal-ov-empty { background: repeating-linear-gradient(135deg, #fef2f2 0 6px, #fff 6px 12px); border-color: #fecaca; }
.ord .kal-cell-slot.kal-cell-slot-ov { color: #b91c1c; font-weight: 800; }
.ord .kal-tag { display: inline-block; font-size: 8px; font-weight: 800; padding: 1px 4px; border-radius: 4px; margin-left: 4px; vertical-align: middle; letter-spacing: .03em; }
.ord .kal-tag-mepet { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.ord .kal-alert { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; font-size: 12.5px; line-height: 1.5; }
.ord .kal-alert svg { flex: none; margin-top: 2px; color: #dc2626; }
.ord .kal-alert ul { margin: 4px 0 4px; padding-left: 16px; }
.ord .kal-alert-kode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #991b1b; }
.ord .kal-alert-hint { color: #991b1b; font-size: 11.5px; }
.ord .unit-conflict { margin-left: 6px; background: #dc2626; color: #fff; border-radius: 999px; padding: 0 6px; height: 16px; display: inline-flex; align-items: center; font-size: 9.5px; font-weight: 800; }
.ord .kal-cell-split { flex-direction: column; padding: 0; gap: 2px; align-items: stretch; justify-content: stretch; background: transparent; border: none; }
.ord .kal-split-item { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 3px 8px; border-radius: 5px; border: 1px solid transparent; font-size: 11px; font-weight: 600; min-width: 0; background: #f1f5f9; color: #334155; }
.ord .kal-cell[data-kode], .ord .kal-split-item[data-kode] { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.ord .kal-cell[data-kode] .kal-name, .ord .kal-split-item[data-kode] .kal-name { user-select: none; -webkit-user-select: none; }
.ord .kal-grid.kal-dragging { cursor: grabbing; }
.ord .kal-grid.kal-dragging .kal-cell[data-kode], .ord .kal-grid.kal-dragging .kal-split-item[data-kode] { cursor: grabbing; }
.ord .kal-drag-src { opacity: .4; cursor: grabbing; }
.ord .kal-cell.kal-drop-hover { outline: 2px dashed #047857; outline-offset: -2px; background: #ecfdf5; }
.kal-drag-ghost { position: fixed; z-index: 99999; pointer-events: none; background: #111827; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.28); max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: kalGhostIn .12s ease; }
@keyframes kalGhostIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .kal-drag-ghost { animation: none; } }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: flex-start; justify-content: center; z-index: 1000; padding: 40px 20px; overflow-y: auto; }
.modal-overlay.open { display: flex; }
.modal-edit, .modal-dp { background: #fff; border-radius: 14px; width: 100%; max-width: 620px; max-height: calc(100vh - 80px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow-x: hidden; }
.modal-note { background: #fff; border-radius: 14px; width: 100%; max-width: 480px; max-height: calc(100vh - 80px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow-x: hidden; }
.modal-dp { max-width: 460px; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid #e8eaf0; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.modal-head h2 { font-size: 17px; font-weight: 700; color: #111; display: flex; align-items: center; }
.modal-head code { font-size: 13px; background: #f0fdf4; color: #047857; padding: 2px 8px; border-radius: 5px; font-family: monospace; }
.modal-close { width: 32px; height: 32px; background: none; border: none; font-size: 22px; color: #888; cursor: pointer; border-radius: 6px; line-height: 1; }
.modal-close:hover { background: #fef2f2; color: #dc2626; }
.modal-tabs { display: flex; border-bottom: 1px solid #e8eaf0; flex-shrink: 0; background: #f8f9fc; }
.modal-tab { flex: 1; padding: 10px 8px; font-size: 12.5px; font-weight: 600; color: #888; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-family: inherit; transition: all .15s; white-space: nowrap; }
.modal-tab:hover { color: #047857; }
.modal-tab.active { color: #047857; border-bottom-color: #047857; background: #fff; }
.tab-pane { display: none; min-width: 0; overflow: hidden; }
.tab-pane.active { display: block; }
.modal-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.modal-section { margin-bottom: 22px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section h3 { font-size: 13px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #f0f0f5; display: flex; align-items: center; }
.form-label { display: block; font-size: 12.5px; color: #555; font-weight: 500; margin-bottom: 5px; }
.form-input { width: 100%; max-width: 100%; min-width: 0; display: block; padding: 9px 12px; border: 1px solid #e0e0e8; border-radius: 8px; font-size: 13.5px; color: #111; outline: none; background: #fff; font-family: inherit; }
.form-input:focus { border-color: #047857; }
.form-input.locked { background: #f5f6fa; color: #555; cursor: not-allowed; }
.form-row { display: flex; gap: 12px; margin-top: 4px; }
.form-row > div { flex: 1; }
.form-hint { font-size: 11.5px; color: #888; margin-top: 6px; }
textarea.form-input { resize: vertical; min-height: 60px; }
.price-mode { margin-bottom: 14px; }
.radio-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #f8f9fc; border: 1px solid #e8eaf0; border-radius: 7px; margin-bottom: 6px; cursor: pointer; font-size: 13px; }
.radio-row:has(input:checked) { background: #f0fdf4; border-color: #bbf7d0; }
.radio-row input { margin: 0; }
.dp-section { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 14px; }
.dp-current { display: flex; align-items: center; justify-content: space-between; }
.dp-current span { font-size: 14px; color: #555; }
.dp-current strong { color: #111; font-size: 16px; }
.btn-sm { padding: 7px 13px; background: #fff; border: 1px solid #047857; border-radius: 7px; font-size: 12.5px; color: #047857; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-sm:hover { background: #047857; color: #fff; }
.dp-warning { font-size: 12.5px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 7px; padding: 10px 13px; margin-bottom: 14px; line-height: 1.6; }
.dp-readonly { padding: 10px 12px; background: #f5f6fa; border-radius: 7px; font-size: 15px; font-weight: 600; color: #111; }
.modal-foot { padding: 14px 22px; border-top: 1px solid #e8eaf0; display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0; align-items: center; }
.btn-cancel { padding: 9px 18px; background: #fff; border: 1px solid #e0e0e8; border-radius: 8px; font-size: 13.5px; color: #555; font-weight: 500; cursor: pointer; font-family: inherit; }
.btn-cancel:hover { background: #f5f6fa; }
.btn-save { padding: 9px 18px; background: #047857; border: none; border-radius: 8px; font-size: 13.5px; color: #fff; font-weight: 600; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; }
.btn-save:hover { background: #065f46; }
.btn-save:disabled { opacity: .6; cursor: not-allowed; }
.btn-delete { padding: 9px 16px; background: #fff; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; }
.btn-delete:hover { background: #fef2f2; }
.btn-restore { padding: 9px 16px; background: #fff; color: #047857; border: 1px solid #bbf7d0; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-restore:hover { background: #f0fdf4; }
.aks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; padding: 10px; background: #fafafa; border: 1px solid #e8eaf0; border-radius: 7px; max-height: 200px; overflow-y: auto; }
.aks-check { display: flex; align-items: center; gap: 7px; padding: 6px 9px; background: #fff; border: 1px solid #e8eaf0; border-radius: 6px; font-size: 12.5px; cursor: pointer; transition: all .12s; margin: 0; }
.aks-check:has(input:checked) { background: #f0fdf4; border-color: #bbf7d0; }
.aks-check input { margin: 0; }
.aks-price { color: #888; font-size: 11px; margin-left: auto; }
.aks-custom-note { margin-top: 8px; padding: 8px 12px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; font-size: 11.5px; color: #92400e; }
.aks-custom-tag { display: inline-block; padding: 1px 7px; background: #fff; border: 1px solid #fed7aa; border-radius: 4px; font-size: 11px; color: #c2410c; margin: 0 2px; }
@keyframes ord-sk-sh { 0% { background-position: -180% 0; } 100% { background-position: 180% 0; } }
.ord .sk { background: linear-gradient(90deg, #eef1f5 25%, #e3e9f1 37%, #eef1f5 63%); background-size: 200% 100%; animation: ord-sk-sh 1.4s ease-in-out infinite; border-radius: 6px; }
.ord .sk-ln { height: 13px; }
.ord .sk-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.ord .sk-av { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.ord .stat-card.sk-stat { cursor: default; }
.ord .stat-card.sk-stat:hover { border-color: #e9eef4; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.05); transform: none; }
.ord .sk-stat .sk-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ord .ord-sk { background: #fff; border: 1px solid #e9eef4; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.05); }
.ord .ord-sk-head { padding: 13px 16px; border-bottom: 1px solid #eef1f5; background: #f8fafc; }
.ord .ord-sk-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid #f1f4f8; }
.ord .ord-sk-row:last-child { border-bottom: none; }
.ord .ord-sk-main { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .ord .sk { animation: none; } }
.empty-state { text-align: center; padding: 60px 20px; color: #888; font-size: 14px; }
@keyframes ord-rot { to { transform: rotate(360deg); } }
.ord .orders-list.refreshing { pointer-events: none; }
.ord .week-group.hide-done tr.row-done { display: none; }
.ord .done-hidden-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; margin-top: 6px; font-size: 12px; color: #065f46; cursor: pointer; font-weight: 500; transition: background .15s; }
.ord .done-hidden-bar:hover { background: #dcfce7; }
.ord .done-hidden-bar span { font-weight: 700; text-decoration: underline; }
.tr-toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); right: 24px; background: #065f46; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 2000; }
.tr-toast.show { opacity: 1; transform: translateY(0); }
.tr-toast.err { background: #b91c1c; }
.btn-tpl-row { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 12px; font-weight: 600; color: #6d28d9; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 7px; padding: 5px 11px; margin-right: 6px; transition: background .12s, border-color .12s; font-family: inherit; }
.btn-tpl-row:hover { background: #ede9fe; border-color: #c4b5fd; }
.tpl-modal { max-width: 620px; }
.tpl-body { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.tpl-card { border: 1px solid #e8eaf0; border-radius: 12px; overflow: hidden; background: #fff; }
.tpl-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; background: #faf9fc; cursor: pointer; user-select: none; }
.tpl-card.open .tpl-card-head { border-bottom: 1px solid #eef0f4; }
.tpl-card-title { display: flex; align-items: center; font-size: 13px; font-weight: 700; color: #1f2937; }
.tpl-caret { flex: none; margin-right: 7px; color: #9aa2b1; transition: transform .15s; }
.tpl-card.open .tpl-caret { transform: rotate(90deg); }
.tpl-collapse { display: none; }
.tpl-card.open .tpl-collapse { display: block; }
.tpl-copy-btn { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; flex: none; font-size: 12px; font-weight: 700; color: #fff; background: #6d28d9; border: none; border-radius: 8px; padding: 7px 13px; transition: background .12s; font-family: inherit; }
.tpl-copy-btn:hover:not(:disabled) { background: #5b21b6; }
.tpl-copy-btn:disabled { background: #c4b5fd; cursor: not-allowed; }
.tpl-copy-btn.copied { background: #047857; }
.tpl-onhand-pick { display: block; margin: 10px 14px 0; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; font-size: 13px; background: #fff; }
.tpl-pre { margin: 0; padding: 12px 14px; font-family: inherit; font-size: 12.5px; line-height: 1.6; color: #374151; white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow-y: auto; background: #fff; }
.tpl-empty { color: #9ca3af; font-style: italic; }
.scam-modal { max-width: 500px; }
.scam-modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 16px; border-bottom: 1px solid #f1e1e1; background: linear-gradient(180deg, #fff5f5 0%, #fff 100%); border-radius: 14px 14px 0 0; flex-shrink: 0; }
.scam-modal-head-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fee2e2; color: #dc2626; }
.scam-modal-head-txt { flex: 1; min-width: 0; padding-top: 1px; }
.scam-modal-head-txt h2 { font-size: 16px; font-weight: 800; color: #111; letter-spacing: -.2px; }
.scam-modal-head-txt p { margin-top: 2px; font-size: 12px; color: #9ca3af; line-height: 1.35; }
.scam-modal .modal-close { margin: -4px -6px 0 0; }
.scam-add { padding: 14px 20px 4px; flex-shrink: 0; }
.scam-add textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; min-height: 40px; border: 1px solid #e5e7eb; border-radius: 9px; font: inherit; font-size: 13px; resize: vertical; outline: none; transition: border-color .14s, box-shadow .14s; }
.scam-add textarea:focus { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.scam-add-row { display: flex; gap: 8px; margin-top: 8px; }
.scam-add-row input { flex: 1; min-width: 0; box-sizing: border-box; padding: 9px 12px; border: 1px solid #e5e7eb; border-radius: 9px; font: inherit; font-size: 13px; outline: none; transition: border-color .14s, box-shadow .14s; }
.scam-add-row input:focus { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.scam-add-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 0 16px; border: none; border-radius: 9px; background: #dc2626; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .14s, box-shadow .14s; }
.scam-add-btn:hover { background: #b91c1c; box-shadow: 0 2px 8px rgba(220,38,38,.25); }
.scam-search { display: flex; align-items: center; gap: 8px; margin: 12px 20px 4px; padding: 8px 12px; border: 1px solid #eef0f4; border-radius: 9px; background: #f8f9fc; color: #9ca3af; }
.scam-search input { flex: 1; min-width: 0; border: none; background: none; outline: none; font: inherit; font-size: 13px; color: #111; }
.scam-list { display: flex; flex-direction: column; padding: 6px 20px 20px; overflow-y: auto; min-height: 80px; max-height: 50vh; }
.scam-item { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid #f3f4f6; }
.scam-item:last-child { border-bottom: none; }
.scam-item-main { flex: 1; min-width: 0; }
.scam-item-num { font-size: 14px; font-weight: 700; color: #111; font-variant-numeric: tabular-nums; }
.scam-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; }
.scam-item-note { font-size: 12px; color: #6b7280; }
.scam-item-ts { font-size: 10.5px; color: #9ca3af; padding: 1px 6px; border-radius: 999px; background: #f3f4f6; font-variant-numeric: tabular-nums; }
.scam-item-del { flex: none; width: 32px; height: 32px; min-width: 32px; min-height: 32px; border: 1px solid transparent; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: none; color: #cbd0d8; cursor: pointer; transition: color .14s, border-color .14s, background .14s; }
.scam-item-del:hover { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.scam-empty { padding: 30px 20px; text-align: center; color: #9ca3af; font-size: 13.5px; line-height: 1.6; }
.scam-empty-ic { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; color: #cbd0d8; }
.scam-confirm { max-width: 400px; }
.scam-confirm-body { padding: 18px 20px 4px; }
.scam-confirm-num { font-size: 20px; font-weight: 800; color: #111; letter-spacing: -.3px; font-variant-numeric: tabular-nums; text-align: center; padding: 14px; border-radius: 11px; background: #f8f9fc; border: 1px solid #eef0f4; }
.scam-confirm-num--flag { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.scam-confirm-meta { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 13px; color: #374151; }
.scam-confirm-meta span { flex: none; width: 82px; font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .3px; }
.scam-confirm-body input { width: 100%; box-sizing: border-box; margin-top: 12px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 9px; font: inherit; font-size: 13px; outline: none; transition: border-color .14s, box-shadow .14s; }
.scam-confirm-body input:focus { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.scam-confirm-actions { display: flex; gap: 10px; padding: 18px 20px 20px; }
.scam-confirm-actions button { flex: 1; padding: 11px 14px; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .14s, border-color .14s, box-shadow .14s; }
.scam-btn-ghost { border: 1px solid #e5e7eb; background: #fff; color: #4b5563; }
.scam-btn-ghost:hover { background: #f8f9fc; border-color: #d1d5db; }
.scam-btn-danger { border: none; background: #dc2626; color: #fff; }
.scam-btn-danger:hover { background: #b91c1c; box-shadow: 0 2px 10px rgba(220,38,38,.28); }
.scam-spin { display: inline-block; box-sizing: border-box; width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: ord-rot .6s linear infinite; vertical-align: -2px; margin-right: 6px; }
.ord .info-banner { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 13px; line-height: 1.6; color: #065f46; }
.ord .info-banner strong { display: block; margin-bottom: 6px; display: flex; align-items: center; }
.ord .btn-qris-row { margin-right: 6px; height: 30px; padding: 0 10px; border: 1px solid #0c6b5e; background: #e8f6ee; color: #0a5a4f; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; vertical-align: middle; display: inline-flex; align-items: center; }
@media (max-width: 600px) {
  .ord .stat-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ord .stat-card { flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 11px 7px; border-radius: 11px; }
  .ord .stat-ic { width: 30px; height: 30px; border-radius: 9px; }
  .ord .stat-ic svg { width: 15px; height: 15px; }
  .ord .stat-number { font-size: 18px; }
  .ord .stat-label { font-size: 10.5px; justify-content: center; line-height: 1.2; }
  .ord .orders-table { font-size: 11px; }
  .ord .orders-table thead th { padding: 7px 8px; font-size: 9.5px; letter-spacing: .25px; }
  .ord .orders-table td { padding: 7px 8px; }
  .ord .cell-nama-name { font-size: 12px; }
  .ord .cell-nama-wa { font-size: 11px; }
  .ord .cell-total { font-size: 12px; }
  .ord .btn-icon-row { width: 26px; height: 26px; margin-left: 4px; }
  .ord .cell-edit-inner { gap: 4px; }
  .ord .unit-buttons { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .ord .unit-btn { flex: none; }
  .ord .form-row { flex-direction: column; gap: 8px; }
  .ord .aks-grid { grid-template-columns: 1fr; }
}
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 12px; }
.doc-folder-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; text-decoration: none; }
.jam-extra { margin-top: 10px; }
.jam-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.jam-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jam-item .doc-link { min-height: 28px; padding: 0 12px; border: 1px solid var(--gold, #f59e0b); border-radius: 999px; background: #fff; color: var(--gold, #f59e0b); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.jam-item .doc-link:hover { background: var(--gold-soft, #fff7e6); }
.jam-meta { font-size: 11.5px; color: var(--text2, #6b7280); }
.jam-del { margin-left: auto; min-height: 28px; padding: 0 10px; border: 1px solid var(--border2, #e5e7eb); border-radius: 999px; background: #fff; color: #b91c1c; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.jam-del:hover:not(:disabled) { border-color: #b91c1c; background: #fef2f2; }
.jam-del:disabled { opacity: .6; cursor: default; }
.dtile { display: flex; flex-direction: column; height: 128px; min-width: 0; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; }
.dtile-img { position: relative; flex: 1; min-height: 0; display: block; background: #f3f4f6; }
.dtile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dtile-file { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #6b7280; }
.dtile-file svg { width: 30px; height: 30px; }
.dtile-cap { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 2px 7px; border-radius: 6px; background: rgba(17,24,39,.72); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtile-bar { display: grid; grid-template-columns: 1fr 1fr; height: 32px; flex: none; border-top: 1px solid #e5e7eb; }
.dtile-bar button { display: inline-flex; align-items: center; justify-content: center; padding: 0; background: none; border: none; cursor: pointer; color: #4b5563; transition: color .15s, background-color .15s; }
.dtile-bar button + button { border-left: 1px solid #e5e7eb; }
.dtile-bar button svg { width: 16px; height: 16px; }
.dtile-bar button:hover { color: #047857; background: #ecfdf5; }
.dtile-bar button.is-del:hover { color: #dc2626; background: #fef2f2; }
.dtile-empty { align-items: center; justify-content: center; gap: 6px; padding: 8px; border-style: dashed; border-color: #d1d5db; background: #fff; color: #4b5563; font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer; text-align: center; transition: border-color .15s, color .15s, background-color .15s; }
.dtile-empty svg { width: 20px; height: 20px; flex: none; }
.dtile-empty:hover { border-color: #047857; color: #047857; background: #ecfdf5; }
.dtile-empty.is-busy { cursor: wait; color: #6b7280; }
.form-row > div { min-width: 0; }
@media (max-width: 640px) { .ord .form-row.keep { flex-direction: row; gap: 10px; } }
input[type="date"].form-input, input[type="time"].form-input { -webkit-appearance: none; appearance: none; min-height: 42px; text-align: left; }
input[type="date"].form-input::-webkit-date-and-time-value, input[type="time"].form-input::-webkit-date-and-time-value { text-align: left; }
.dep-box { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid #fde68a; background: #fffbeb; border-radius: 10px; }
.dep-box.is-ok { border-color: #a7f3d0; background: #ecfdf5; }
.dep-box-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13px; color: #374151; }
.dep-box-main strong { font-variant-numeric: tabular-nums; color: #111827; }
.dep-box-main span { font-size: 12px; color: #6b7280; }
.dep-box-cut { font-size: 12px; color: #b45309; }
.dep-box .btn-sm { align-self: flex-start; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #a7f3d0; background: #fff; color: #047857; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.dep-box .btn-sm:hover:not(:disabled) { background: #ecfdf5; }
.dep-box .btn-sm:disabled { opacity: .5; cursor: wait; }


.kalrental .kal-page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.kalrental .kal-page-left { flex: 1; min-width: 0; }
.kalrental .kal-page-title { font-size: 20px; font-weight: 700; color: #111; margin: 0; display: flex; align-items: center; }
.kalrental .kal-page-desc { font-size: 13px; color: #888; margin: 4px 0 0; }
.kalrental .kal-page-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.kalrental .kal-last-upd { font-size: 11px; color: #888; text-align: right; }
.kalrental .rbtn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e0e0e8; border-radius: 20px; padding: 6px 14px; cursor: pointer; font-size: 12px; color: #555; font-family: inherit; transition: all .15s; }
.kalrental .rbtn:hover { border-color: var(--tr-accent); color: var(--tr-accent); }
.kalrental .rbtn.spin svg { animation: kr-rot 1s linear infinite; }
@keyframes kr-rot { to { transform: rotate(360deg); } }
.kalrental .info-banner { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 13px; line-height: 1.6; color: var(--tr-accent-hover); }
.kalrental .info-banner strong { display: flex; align-items: center; margin-bottom: 6px; }
.kalrental .kr-hint-mobile { display: none; }
.kalrental .loading-wrap { display: flex; align-items: center; justify-content: center; height: 50vh; gap: 10px; color: #888; font-size: 13px; }
.kalrental .sp { width: 18px; height: 18px; border: 2px solid #e0e0e8; border-top-color: var(--tr-accent); border-radius: 50%; animation: kr-rot 1s linear infinite; }
.kalrental .err-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 16px; color: #dc2626; font-size: 12.5px; margin: 20px 0; }
.kalrental .unit-section { background: #fff; border: 1px solid #e8eaf0; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.kalrental .unit-hdr { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.kalrental .unit-title-wrap { display: flex; align-items: center; gap: 10px; }
.kalrental .unit-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.kalrental .unit-name { font-size: 16px; font-weight: 700; color: #111; }
.kalrental .unit-sub { font-size: 11.5px; color: #888; margin-top: 2px; }
.kalrental .unit-nav { display: flex; align-items: center; gap: 6px; }
.kalrental .nb { background: #fff; border: 1px solid #e0e0e8; border-radius: 8px; padding: 4px 12px; cursor: pointer; font-size: 12px; color: #555; font-family: inherit; transition: all .15s; }
.kalrental .nb:hover { border-color: var(--tr-accent); color: var(--tr-accent); }
.kalrental .mlbl { font-size: 13px; font-weight: 600; color: #111; min-width: 130px; text-align: center; }
.kalrental .kal-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.kalrental .kal-stat { background: #f8f9fc; border: 1px solid #e8eaf0; border-radius: 8px; padding: 8px 14px; }
.kalrental .kal-stat-v { font-size: 20px; font-weight: 700; color: #111; line-height: 1; }
.kalrental .kal-stat-l { font-size: 10.5px; color: #888; margin-top: 3px; letter-spacing: .04em; text-transform: uppercase; }
.kalrental .filters { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.kalrental .fb { font-size: 11.5px; padding: 4px 12px; border-radius: 20px; border: 1px solid #e0e0e8; background: #fff; cursor: pointer; color: #555; font-family: inherit; transition: all .15s; }
.kalrental .fb:hover { border-color: var(--tr-accent); color: var(--tr-accent); }
.kalrental .fb.on { background: var(--tr-accent); color: #fff; border-color: var(--tr-accent); font-weight: 600; }
.kalrental .leg { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.kalrental .li { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #666; }
.kalrental .grid-wrap { overflow-x: auto; border: 1px solid #e8eaf0; border-radius: 10px; background: #fff; }
.kalrental table.kal-table { border-collapse: collapse; font-size: 11px; min-width: 100%; }
.kalrental table.kal-table thead th { background: #f8f9fc; color: #555; font-weight: 700; padding: 6px 3px; text-align: center; white-space: nowrap; border-bottom: 1px solid #e8eaf0; border-right: 1.5px solid #cbd5e1; position: sticky; top: 0; z-index: 3; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.kalrental table.kal-table thead th.jh { position: sticky; left: 0; z-index: 4; background: #f8f9fc; min-width: 68px; text-align: left; padding-left: 10px; border-right: 1px solid #e8eaf0; }
.kalrental table.kal-table thead th.th-today { background: #fffbeb; color: #92400e; }
.kalrental table.kal-table td { border: 1px solid #f3f4f6; border-right: 1.5px solid #cbd5e1; padding: 0; min-height: 22px; min-width: 42px; vertical-align: top; }
.kalrental table.kal-table td.jc { background: #f8f9fc; color: #888; font-size: 10.5px; position: sticky; left: 0; z-index: 1; padding: 2px 6px 2px 10px; border-right: 1px solid #e8eaf0; white-space: nowrap; vertical-align: middle; }
.kalrental table.kal-table td.free { background: #fff; }
.kalrental table.kal-table td.td-today { background: #fffbeb; }
.kalrental .cbars { display: grid; height: 100%; }
.kalrental .lane { min-width: 0; min-height: 19px; padding: 1px; border-right: 1px solid #e9ebf0; display: flex; flex-direction: column; gap: 1px; }
.kalrental .lane:last-child { border-right: none; }
.kalrental .bar { display: block; width: 100%; min-width: 0; box-sizing: border-box; font-size: 10.5px; line-height: 1.6; padding: 1px 5px; margin: 0; border-radius: 4px; cursor: default; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: filter .1s; font-weight: 650; }
.kalrental .bar:hover { filter: brightness(.95); }
.kalrental .bar.jasa { background: #faf5ff !important; color: #7e22ce !important; }
.kalrental .jt { font-size: 9.5px; font-weight: 700; opacity: .85; margin-right: 2px; }
.kalrental .bar[data-kode] { cursor: grab; }
.kalrental .bar.dragging { opacity: .4; cursor: grabbing; }
.kalrental .lane.drop-hover { outline: 2px dashed var(--tr-accent); outline-offset: -2px; background: rgba(4,120,87,.12); border-radius: 4px; }
.kr-tip { position: fixed; background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; padding: 12px 16px; font-size: 12px; z-index: 9999; pointer-events: none; max-width: 260px; box-shadow: 0 8px 32px rgba(0,0,0,.12); display: none; line-height: 1.6; }
.kr-tip-name { font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: #111; }
.kr-tip-row { color: #666; margin-bottom: 2px; font-size: 11.5px; }
.kr-tip-row span { color: #111; font-weight: 500; }
.kr-tip-badge { display: inline-block; font-size: 10.5px; padding: 3px 10px; border-radius: 20px; margin-top: 6px; font-weight: 600; }
.kr-drag-ghost { position: fixed; z-index: 9999; pointer-events: none; background: #111827; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.28); max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .kalrental .unit-nav { gap: 4px; flex-wrap: wrap; }
  .kalrental .nb { padding: 3px 10px; font-size: 11px; }
  .kalrental table.kal-table { font-size: 10px; }
}
@media (max-width: 600px) {
  .kalrental .unit-section { padding: 12px; margin-bottom: 16px; }
  .kalrental .kr-hint-desktop { display: none; }
  .kalrental .kr-hint-mobile { display: inline; }
  .kalrental .nb-ico { min-width: 40px; min-height: 40px; }
  .kalrental .mlbl { font-size: 12px; min-width: 80px; }
  .kalrental table.kal-table { font-size: 9px; }
  .kalrental table.kal-table thead th.jh, .kalrental table.kal-table td.jc { box-shadow: 2px 0 5px rgba(0,0,0,.08); }
}
.kalrental .kal-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #f1f5f9; border: 1px solid #e8eaf0; border-radius: 12px; margin-bottom: 20px; }
.kalrental .kal-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: none; background: transparent; border-radius: 9px; font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer; font-family: inherit; transition: color .15s, background .15s, box-shadow .15s; }
.kalrental .kal-tab svg { flex: none; }
.kalrental .kal-tab:hover { color: #334155; }
.kalrental .kal-tab.on { background: #fff; color: #047857; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.kalrental .unit-section { border-radius: 14px; border-color: #e8eaf0; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.kalrental .unit-hdr { padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; margin-bottom: 14px; }
.kalrental .unit-dot { width: 11px; height: 11px; }
.kalrental .unit-name { font-size: 15.5px; color: #0f172a; }
.kalrental .unit-sub { color: #94a3b8; }
.kalrental .nb { border-radius: 9px; }
.kalrental .nb-ico { padding: 5px 9px; display: inline-flex; align-items: center; justify-content: center; }
.kalrental .mlbl { color: #0f172a; }
.kalrental .kal-stat { border-radius: 10px; }
.kalrental .fb-toggle { display: inline-flex; align-items: center; }
.kalrental .leg .li { color: #94a3b8; }
.kalrental .kcal-head { margin-bottom: 16px; }
.kalrental .kcal-title { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0; letter-spacing: -.01em; }
.kalrental .kcal-sub { font-size: 13px; color: #64748b; margin: 4px 0 0; line-height: 1.5; }
.kalrental .kcal-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.kalrental .kcal-monthnav { display: flex; align-items: center; gap: 8px; }
.kalrental .kcal-navbtn { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; background: #fff; border-radius: 9px; color: #475569; cursor: pointer; transition: all .15s; }
.kalrental .kcal-navbtn:hover { border-color: #047857; color: #047857; background: #f0fdf4; }
.kalrental .kcal-monthlbl { font-size: 15px; font-weight: 700; color: #0f172a; min-width: 150px; text-align: center; font-variant-numeric: tabular-nums; }
.kalrental .kcal-today { padding: 7px 14px; border: 1px solid #bbf7d0; background: #f0fdf4; color: #047857; border-radius: 9px; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s; }
.kalrental .kcal-today:hover { background: #047857; color: #fff; border-color: #047857; }
.kalrental .kcal-searchwrap { position: relative; display: flex; align-items: center; flex: 1 1 220px; min-width: 200px; max-width: 360px; }
.kalrental .kcal-searchwrap svg { position: absolute; left: 12px; color: #94a3b8; pointer-events: none; }
.kalrental .kcal-search { width: 100%; padding: 9px 12px 9px 36px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 13.5px; outline: none; background: #fff; color: #0f172a; font-family: inherit; }
.kalrental .kcal-search:focus { border-color: #047857; box-shadow: 0 0 0 3px rgba(4,120,87,.1); }
.kalrental .kcal-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.kalrental .kcal-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #475569; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s; }
.kalrental .kcal-chip:hover { border-color: #cbd5e1; background: #f8fafc; }
.kalrental .kcal-chip.on { border-color: #94a3b8; background: #f1f5f9; color: #334155; }
.kalrental .kcal-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.kalrental .kcal-chip-n { font-size: 11px; font-weight: 700; background: rgba(15,23,42,.07); color: inherit; border-radius: 999px; padding: 1px 7px; min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.kalrental .kcal-body { display: flex; gap: 16px; align-items: flex-start; }
.kalrental .kcal-gridcard { flex: 1 1 auto; min-width: 0; background: #fff; border: 1px solid #e8eaf0; border-radius: 14px; padding: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.kalrental .kcal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.kalrental .kcal-dow-c { text-align: center; font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; padding: 2px 0; }
.kalrental .kcal-weeks { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 124px; gap: 6px; }
.kalrental .kcal-day { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 96px; border: 1px solid #eef1f5; border-radius: 10px; background: #fff; padding: 6px; text-align: left; cursor: pointer; font-family: inherit; overflow: hidden; transition: border-color .12s, box-shadow .12s, background .12s; }
.kalrental .kcal-day:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(15,23,42,.06); }
.kalrental .kcal-day.out { background: #fafbfc; }
.kalrental .kcal-day.out .kcal-daynum { color: #cbd5e1; }
.kalrental .kcal-daynum { font-size: 12.5px; font-weight: 700; color: #334155; align-self: flex-start; font-variant-numeric: tabular-nums; }
.kalrental .kcal-day.today { border-color: #047857; background: #f0fdf4; }
.kalrental .kcal-day.today .kcal-daynum { background: #047857; color: #fff; border-radius: 7px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.kalrental .kcal-day.sel { border-color: #047857; box-shadow: 0 0 0 2px #047857; }
.kalrental .kcal-chiplist { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kalrental .kcal-evt { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 5px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kalrental .kcal-evt-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.kalrental .kcal-more { font-size: 10.5px; font-weight: 700; color: #64748b; padding: 1px 5px; }
.kalrental .kcal-daydots { display: none; }
.kalrental .kcal-panel { flex: 0 0 340px; width: 340px; align-self: stretch; background: #fff; border: 1px solid #e8eaf0; border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.kalrental .kcal-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.kalrental .kcal-panel-date { font-size: 14px; font-weight: 700; color: #0f172a; }
.kalrental .kcal-today-badge { flex: none; background: #047857; color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.kalrental .kcal-ministats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.kalrental .kcal-ms { background: #f8fafc; border: 1px solid #eef1f5; border-radius: 10px; padding: 10px 8px; text-align: center; }
.kalrental .kcal-ms-v { font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1; font-variant-numeric: tabular-nums; }
.kalrental .kcal-ms-l { font-size: 10px; color: #64748b; margin-top: 5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.kalrental .kcal-cards { display: flex; flex-direction: column; gap: 10px; }
.kalrental .kcal-card { border: 1px solid #e8eaf0; border-radius: 10px; padding: 11px 12px; background: #fff; transition: border-color .12s, box-shadow .12s; }
.kalrental .kcal-card:hover { border-color: #dbe3ec; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.kalrental .kcal-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kalrental .kcal-card-name { font-size: 13.5px; font-weight: 700; color: #0f172a; min-width: 0; word-break: break-word; }
.kalrental .kcal-pill { flex: none; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.kalrental .kcal-card-meta { display: flex; align-items: center; gap: 7px; margin-top: 6px; flex-wrap: wrap; }
.kalrental .kcal-card-kode { font-size: 11px; font-weight: 600; color: #047857; font-family: 'Menlo','Monaco',monospace; background: #f0fdf4; padding: 1px 6px; border-radius: 5px; }
.kalrental .kcal-tag { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.kalrental .kcal-tag-mulai { background: #ecfdf5; color: #047857; }
.kalrental .kcal-tag-kembali { background: #fef2f2; color: #b91c1c; }
.kalrental .kcal-tag-berlangsung { background: #eff6ff; color: #1d4ed8; }
.kalrental .kcal-card-paket { font-size: 12px; color: #475569; margin-top: 7px; line-height: 1.4; }
.kalrental .kcal-card-range { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 11.5px; color: #334155; font-weight: 500; flex-wrap: wrap; }
.kalrental .kcal-card-range svg { color: #94a3b8; flex: none; }
.kalrental .kcal-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f1f5f9; flex-wrap: wrap; }
.kalrental .kcal-card-total { font-size: 13.5px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.kalrental .kcal-card-actions { display: flex; gap: 6px; }
.kalrental .kcal-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; text-decoration: none; padding: 5px 10px; border-radius: 7px; border: 1px solid #e2e8f0; color: #475569; background: #fff; transition: all .14s; }
.kalrental .kcal-link svg { flex: none; }
.kalrental .kcal-link:hover { border-color: #cbd5e1; background: #f8fafc; }
.kalrental .kcal-link-primary { border-color: #bbf7d0; background: #f0fdf4; color: #047857; }
.kalrental .kcal-link-primary:hover { background: #047857; color: #fff; border-color: #047857; }
.kalrental .kcal-empty { padding: 26px 14px; text-align: center; color: #94a3b8; font-size: 13px; background: #f8fafc; border: 1px dashed #e2e8f0; border-radius: 10px; line-height: 1.5; }
.kalrental .kcal-panel-hint { margin-top: 14px; font-size: 11.5px; color: #94a3b8; line-height: 1.5; text-align: center; }
@media (max-width: 960px) {
  .kalrental .kcal-body { flex-direction: column; }
  .kalrental .kcal-gridcard { width: 100%; }
  .kalrental .kcal-panel { flex: 1 1 auto; width: 100%; }
  .kalrental .kcal-weeks { grid-auto-rows: 124px; }
}
@media (max-width: 560px) {
  .kalrental .kcal-controls { gap: 10px; }
  .kalrental .kcal-monthnav { flex: 1 1 100%; justify-content: space-between; }
  .kalrental .kcal-monthlbl { flex: 1; min-width: 0; }
  .kalrental .kcal-navbtn { width: 40px; height: 40px; }
  .kalrental .kcal-today { padding: 9px 16px; min-height: 40px; }
  .kalrental .kcal-searchwrap { max-width: none; }
  .kalrental .kcal-gridcard { padding: 8px; }
  .kalrental .kcal-weeks, .kalrental .kcal-dow { gap: 4px; }
  .kalrental .kcal-weeks { grid-auto-rows: 58px; }
  .kalrental .kcal-day { min-height: 0; height: 58px; padding: 5px 5px 4px; border-radius: 8px; gap: 4px; }
  .kalrental .kcal-daynum { font-size: 12px; }
  .kalrental .kcal-chiplist { display: none; }
  .kalrental .kcal-daydots { display: flex; flex-wrap: wrap; gap: 3px; align-content: flex-start; }
  .kalrental .kcal-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .kalrental .kcal-dot-more { font-size: 9px; font-weight: 700; color: #64748b; line-height: 1; }
  .kalrental .kcal-ministats { gap: 6px; }
  .kalrental .kcal-ms-v { font-size: 18px; }
  .kalrental .kcal-panel-head { position: sticky; top: 0; z-index: 2; background: #fff; margin: -16px -16px 14px; padding: 16px 16px 12px; }
}
.bar.bar-conflict { background: #fee2e2; color: #991b1b; outline: 1px solid #f87171; }
.bar.bar-tight { box-shadow: inset 0 0 0 1.5px #f59e0b; }
.kr-alert { margin: 8px 0 10px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; font-size: 12.5px; line-height: 1.5; }
.kal-stat.kal-stat-bad .kal-stat-v { color: #dc2626; }


.stk { --ink:#111827; --ink2:#4B5563; --ink3:#6B7280; --muted:#9CA3AF; --border:#E5E7EB; --accent:#047857; --accentbg:#ECFDF5; font-size:13px; color:var(--ink); max-width:760px; }
.stk .stk-head h1 { font-size:22px; font-weight:700; display:flex; align-items:center; gap:8px; letter-spacing:-.01em; }
.stk .stk-head p { font-size:12.5px; color:var(--ink3); margin-top:3px; line-height:1.5; max-width:62ch; }
.stk .stk-head b { color:var(--ink2); }
.stk .toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; flex-wrap:wrap; }
.stk .count { font-size:12.5px; color:var(--ink3); display:flex; align-items:center; gap:8px; }
.stk .count b { color:var(--ink); font-weight:700; }
.stk .count .dot { width:4px; height:4px; border-radius:50%; background:var(--border); }
.stk .search { position:relative; display:flex; align-items:center; }
.stk .search svg { position:absolute; left:13px; color:var(--muted); pointer-events:none; }
.stk .search input { padding:10px 14px 10px 38px; border:1px solid var(--border); border-radius:11px; font:inherit; font-size:13px; outline:none; width:220px; max-width:100%; background:#fff; color:var(--ink); }
.stk .search input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(4,120,87,.1); }
.stk .search input::placeholder { color:var(--muted); }
.stk .lr { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:16px; padding:14px 16px; background:#fff; border:1px solid var(--border); border-radius:14px; box-shadow:0 1px 2px rgba(20,16,32,.04); }
.stk .lr.on { border-color:#A7F3D0; background:var(--accentbg); }
.stk .lr-t { font-weight:700; font-size:14px; color:var(--ink); }
.stk .lr-d { font-size:12.5px; color:var(--ink3); line-height:1.6; margin-top:3px; max-width:64ch; }
.stk .lr-d b { color:var(--ink2); }
.stk .lr-in { width:52px; padding:2px 6px; border:1px solid var(--border); border-radius:6px; font:inherit; font-size:13px; font-weight:700; text-align:center; color:var(--ink); background:#fff; outline:none; font-variant-numeric:tabular-nums; -moz-appearance:textfield; }
.stk .lr-in::-webkit-outer-spin-button, .stk .lr-in::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.stk .lr-in:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(4,120,87,.12); }
.stk .lr .sw { flex:none; }
@media(min-width:601px){ .stk .lr { padding-right:74px; } }
.stk .wrap { background:#fff; border:1px solid var(--border); border-radius:14px; overflow:hidden; margin-top:12px; box-shadow:0 1px 2px rgba(20,16,32,.04); }
.stk .colhead { display:grid; grid-template-columns:1fr 92px 96px; align-items:center; gap:14px; padding:10px 16px; background:#F8FAFC; border-bottom:1px solid var(--border); font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink3); }
.stk .colhead .c-qty { text-align:center; }
.stk .colhead .c-ctl { text-align:left; }
.stk .row { display:grid; grid-template-columns:1fr 92px 96px; align-items:center; gap:14px; padding:12px 16px; border-bottom:1px solid #f1f3f6; transition:background .12s; }
.stk .row:last-child { border-bottom:none; }
.stk .row:hover { background:#FAFBFC; }
.stk .row.off { opacity:.55; }
.stk .nm { font-weight:600; color:var(--ink); font-size:14px; }
.stk .code { font-size:11px; color:var(--muted); font-family:ui-monospace,Menlo,monospace; margin-top:2px; }
.stk .qin { width:100%; padding:8px 10px; border:1px solid var(--border); border-radius:8px; font:inherit; font-size:15px; font-weight:700; text-align:center; outline:none; font-variant-numeric:tabular-nums; -moz-appearance:textfield; }
.stk .qin::-webkit-outer-spin-button, .stk .qin::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.stk .qin:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(4,120,87,.12); }
.stk .ctl { display:flex; align-items:center; gap:10px; }
.stk .sw { position:relative; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; user-select:none; padding:10px; margin:-10px; min-width:40px; min-height:40px; box-sizing:border-box; }
.stk .sw input { position:absolute; opacity:0; width:0; height:0; }
.stk .track { width:38px; height:22px; border-radius:999px; background:#cbd5e1; position:relative; transition:background .15s; flex:none; }
.stk .track::after { content:""; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:#fff; transition:transform .15s; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.stk .sw input:checked + .track { background:var(--accent); }
.stk .sw input:checked + .track::after { transform:translateX(16px); }
.stk .sw input:focus-visible + .track { box-shadow:0 0 0 3px rgba(4,120,87,.18); }
.stk .del { display:inline-flex; align-items:center; justify-content:center; border:none; background:none; color:#dc2626; cursor:pointer; line-height:1; width:34px; height:34px; border-radius:8px; }
.stk .del:hover { background:#FEF2F2; }
.stk .add { display:grid; grid-template-columns:1fr 92px auto; gap:14px; align-items:center; padding:13px 16px; background:#F8FAFC; border-top:1px dashed var(--border); }
.stk .add input { padding:9px 11px; border:1px solid var(--border); border-radius:8px; font:inherit; font-size:14px; outline:none; background:#fff; }
.stk .add input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(4,120,87,.1); }
.stk .add-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 16px; border:none; border-radius:8px; background:var(--accent); color:#fff; font:inherit; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
.stk .add-btn:hover { background:#065f46; }
.stk .bar { position:sticky; bottom:0; background:var(--card,#F8F9FB); padding:14px 0; margin-top:16px; display:flex; align-items:center; gap:14px; }
.stk .save { display:inline-flex; align-items:center; gap:7px; padding:9px 18px; border:none; border-radius:8px; background:var(--accent); color:#fff; font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.stk .save:hover { background:#065f46; } .stk .save:disabled { opacity:.65; cursor:progress; }
.stk .msg { font-size:13px; font-weight:600; } .stk .msg.ok { color:var(--accent); } .stk .msg.err { color:#dc2626; } .stk .msg.wait { color:var(--muted); }
.stk .note { font-size:12px; color:var(--muted); margin-top:10px; line-height:1.6; }
.stk .loading-state { text-align:center; padding:50px; color:var(--ink3); }
.stk .empty { display:flex; flex-direction:column; align-items:center; gap:6px; padding:44px 16px; text-align:center; color:var(--muted); font-size:13px; }
.stk .empty svg { color:#CBD5E1; margin-bottom:4px; }
.stk .empty .et { font-size:14px; font-weight:600; color:var(--ink2); }
.stk .empty .es { font-size:12.5px; color:var(--muted); }
@media(max-width:600px){
  .stk .colhead, .stk .row { grid-template-columns:1fr 70px auto; }
  .stk .colhead .c-ctl { text-align:right; }
  .stk .add { grid-template-columns:1fr 70px auto; }
  .stk .nm { font-size:13px; }
  .stk .search input { width:100%; }
  .stk .search { flex:1; min-width:150px; }
}
.stk .row-wrap { border-bottom:1px solid #f1f3f6; }
.stk .row-wrap:last-child { border-bottom:none; }
.stk .row-wrap .row { border-bottom:none; }
.stk .full-btn { height:30px; padding:0 12px; border:1px solid var(--border); border-radius:8px; background:#fff; color:var(--ink2); font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.stk .full-btn:hover, .stk .full-btn.on { border-color:#FCA5A5; color:#B91C1C; background:#FEF2F2; }
.stk .full-chip { display:inline-flex; align-items:center; gap:6px; margin-top:6px; margin-right:6px; padding:3px 4px 3px 10px; border-radius:999px; background:#FEF2F2; border:1px solid #FECACA; color:#B91C1C; font-size:11.5px; font-weight:700; }
.stk .full-chip button { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border:none; border-radius:50%; background:transparent; color:#B91C1C; cursor:pointer; }
.stk .full-chip button:hover { background:#FECACA; }
.stk .full-panel { margin:0 16px 14px; padding:14px; border:1px solid #FECACA; border-radius:12px; background:#FFFBFB; display:grid; gap:10px; }
.stk .fp-t { font-weight:700; font-size:14px; color:var(--ink); }
.stk .fp-d { font-size:12.5px; color:var(--ink3); line-height:1.55; max-width:64ch; }
.stk .fp-d b { color:#B91C1C; }
.stk .fp-quick { display:flex; flex-wrap:wrap; gap:8px; }
.stk .fp-quick button { padding:6px 12px; border:1px solid var(--border); border-radius:999px; background:#fff; color:var(--ink2); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.stk .fp-quick button:hover { border-color:var(--accent); color:var(--accent); }
.stk .fp-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.stk .fp-row label { display:grid; gap:4px; font-size:11.5px; font-weight:700; color:var(--ink3); }
.stk .fp-row input { padding:8px 10px; border:1px solid var(--border); border-radius:8px; font:inherit; font-size:13px; color:var(--ink); background:#fff; outline:none; }
.stk .fp-row input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(4,120,87,.12); }
.stk .fp-act { display:flex; justify-content:flex-end; gap:8px; }
.stk .fp-cancel { padding:8px 14px; border:1px solid var(--border); border-radius:8px; background:#fff; color:var(--ink2); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.stk .fp-save { padding:8px 16px; border:none; border-radius:8px; background:#B91C1C; color:#fff; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.stk .fp-save:hover { background:#991B1B; }
.stk .fp-save:disabled, .stk .fp-cancel:disabled { opacity:.6; cursor:progress; }
@media(max-width:600px){ .stk .fp-row { grid-template-columns:1fr; } .stk .full-panel { margin:0 12px 12px; } }


.rkp { --ink: #111827; --ink2: #4B5563; --ink3: #6B7280; --muted: #9CA3AF; --border: #E5E7EB; --card: #fff; --accent: #047857; --accentbg: #ECFDF5; font-size: 13px; color: var(--ink); }
@keyframes rkp-rot { to { transform: rotate(360deg); } }
.rkp .rkp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.rkp .rkp-title h1 { font-size: 22px; font-weight: 700; display: flex; align-items: center; }
.rkp .rkp-title p { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.rkp .rkp-actions { display: flex; gap: 8px; align-items: center; }
.rkp .rbtn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 7px 14px; cursor: pointer; font-size: 12px; color: var(--ink3); font-family: inherit; }
.rkp .rbtn:hover { border-color: var(--accent); color: var(--accent); }
.rkp .rbtn.spin svg { animation: rkp-rot 1s linear infinite; }
.rkp .period-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.rkp .ptab { padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; background: #fff; color: var(--ink3); font-size: 12px; cursor: pointer; font-family: inherit; }
.rkp .ptab:hover { border-color: var(--accent); color: var(--accent); }
.rkp .ptab.on { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.rkp .main-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.rkp .maintab { padding: 10px 18px; border: none; border-bottom: 2px solid transparent; background: none; color: var(--ink3); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; margin-bottom: -1px; transition: color .15s; }
.rkp .maintab:hover { color: var(--ink); }
.rkp .maintab.on { color: var(--accent); border-bottom-color: var(--accent); }
.rkp .info-banner { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 13px 15px; margin-bottom: 18px; font-size: 12.5px; line-height: 1.6; color: #15803d; }
.rkp .info-banner b { color: #0f172a; }
.rkp .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.rkp .kpi { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 15px 17px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.rkp .kpi-v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rkp .kpi-l { font-size: 11.5px; color: var(--ink3); font-weight: 600; margin-top: 5px; text-transform: uppercase; letter-spacing: .03em; }
.rkp .kpi.green .kpi-v { color: var(--accent); } .rkp .kpi.blue .kpi-v { color: #1d4ed8; } .rkp .kpi.orange .kpi-v { color: #c2410c; } .rkp .kpi.purple .kpi-v { color: #6d28d9; } .rkp .kpi.red .kpi-v { color: #dc2626; }
.rkp .section { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 20px; overflow: hidden; }
.rkp .section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.rkp .section-head h2 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.rkp .section-sub { font-size: 11.5px; color: var(--muted); }
.rkp .section-body { padding: 4px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rkp .rk-note { padding: 10px 18px; font-size: 11.5px; color: var(--ink3); line-height: 1.5; }
.rkp table.rk-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rkp table.rk-tbl th { text-align: left; padding: 9px 18px; font-size: 11px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); background: #f8f9fc; white-space: nowrap; }
.rkp table.rk-tbl td { padding: 9px 18px; border-bottom: 1px solid #f1f3f6; vertical-align: top; }
.rkp table.rk-tbl tr:last-child td { border-bottom: none; }
.rkp .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rkp .rk-unit { font-weight: 700; color: var(--ink); }
.rkp .rk-paket { font-size: 11.5px; color: var(--ink3); padding-left: 10px; }
.rkp .rev { font-weight: 700; color: #6d28d9; }
.rkp .dpnum { color: var(--accent); }
.rkp .potnum { color: #c2410c; }
.rkp .tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; border: 1px solid transparent; }
.rkp .tag-peng { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.rkp .tag-asset { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; }
.rkp .tag-pemasukan { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.rkp .mfin-tabs { display: flex; gap: 6px; padding: 12px 18px 0; flex-wrap: wrap; }
.rkp .mtab { padding: 6px 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--ink3); font-size: 12px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.rkp .mtab.on { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.rkp .mtab .mt-total { font-size: 10.5px; opacity: .85; font-variant-numeric: tabular-nums; }
.rkp .mfin-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; padding: 12px 18px; background: #f8f9fc; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rkp .ff { display: flex; flex-direction: column; gap: 4px; }
.rkp .ff label { font-size: 10px; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.rkp .ff input, .rkp .ff select { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; background: #fff; color: var(--ink); outline: none; }
.rkp .ff input:focus, .rkp .ff select:focus { border-color: var(--accent); }
.rkp .ff-ket { flex: 2; min-width: 160px; }
.rkp .ff-jml { flex: 1; min-width: 110px; }
.rkp .btn-add { padding: 9px 16px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; min-height: 40px; }
.rkp .btn-add:hover { background: #065f46; }
.rkp .btn-add:disabled { opacity: .6; cursor: wait; }
.rkp .mf-del { width: 32px; height: 32px; min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid transparent; border-radius: 8px; color: #cbd0d8; cursor: pointer; padding: 0; transition: color .14s, border-color .14s, background .14s; }
.rkp .mf-del:hover { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.rkp .mf-src { font-size: 9.5px; color: var(--muted); padding: 1px 6px; border-radius: 999px; background: #f3f4f6; }
.rkp .rk-cancel-row td:first-child { color: #991b1b; }
.rkp .rk-cancel-row { background: #fef2f2; }
.rkp .recon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding: 12px 18px; }
.rkp .recon-card { border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; background: #fcfdff; }
.rkp .recon-v { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rkp .recon-l { font-size: 11px; color: var(--ink3); font-weight: 600; margin-top: 5px; text-transform: uppercase; letter-spacing: .03em; }
.rkp .recon-v.green { color: var(--accent); } .rkp .recon-v.blue { color: #1d4ed8; } .rkp .recon-v.orange { color: #c2410c; } .rkp .recon-v.gold { color: #ca8a04; } .rkp .recon-v.slate { color: #475569; } .rkp .recon-v.red { color: #dc2626; }
.rkp table.rk-lunas { border-top: 1px solid var(--border); }
.rkp .empty { text-align: center; padding: 30px 18px; color: var(--muted); font-size: 13px; }
.rkp .loading-state { text-align: center; padding: 50px; color: var(--ink3); }
.rkp .coming { padding: 18px; color: var(--ink3); font-size: 12.5px; line-height: 1.6; }
.rkp-toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); right: 24px; background: #15803d; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; transform: translateY(8px); transition: .2s; pointer-events: none; z-index: 2000; }
.rkp-toast.show { opacity: 1; transform: translateY(0); }
.rkp-toast.err { background: #b91c1c; }
.rkp tr.rk-click:hover > td { background: #f8fbf9; }
@media (max-width: 600px) { .rkp .mfin-form { flex-direction: column; align-items: stretch; } .rkp .ff { width: 100%; } .rkp .kpis { grid-template-columns: 1fr 1fr; } }

.dp-fill { margin-top: 8px; padding: 0; border: 0; background: none; color: #047857; font: inherit; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ord .route-handle { cursor: default; }
.ord .btn-add-order { white-space: nowrap; }
@media (max-width: 600px) {
  .ord .page-actions { flex-wrap: wrap; }
  .ord .btn-refresh { min-width: 0; }
  .ord .date-input { width: 140px; }
}
