:root {
  --ocs-green: #155f4b;
  --ocs-green-deep: #104b3b;
  --ocs-green-soft: #e7f1eb;
  --ocs-gold: #d5a43a;
  --ocs-cream: #f8f7f2;
  --ocs-ink: #123d35;
  --ocs-muted: #687a76;
  --ocs-border: #dfe7e2;
  --ocs-card: #fff;
  --ocs-danger: #b8473d;
  --ocs-warning: #ae700d;
  --ocs-sidebar-width: 290px;
}

* { box-sizing: border-box; }
body.ocs-body { min-height: 100vh; margin: 0; color: var(--ocs-ink); background: var(--ocs-cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--ocs-green); text-decoration: none; }
a:hover { color: var(--ocs-green-deep); }

.ocs-sidebar { position: fixed; z-index: 1040; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--ocs-sidebar-width); padding: 32px 14px 20px; overflow-y: auto; background: var(--ocs-green-deep); color: #e9f2ed; }
.ocs-brand { display: flex; align-items: center; gap: 13px; padding: 8px 12px 34px; }
.ocs-logo { display: grid; width: 57px; height: 57px; place-items: center; border: 1.5px solid var(--ocs-gold); border-radius: 50%; color: var(--ocs-gold); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.ocs-logo-img { width: 57px; height: 57px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; flex-shrink: 0; }
.ocs-language-dd { font-weight: 600; }
.ocs-brand-org, .ocs-brand-product { margin: 0; }
.ocs-brand-org { color: #fff; font-size: .79rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; }
.ocs-brand-product { margin-top: 5px; color: #a8c9bc; font-size: 1rem; }
.ocs-nav-heading { margin: 0 14px 10px; color: #91b0a5; font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ocs-nav { display: grid; gap: 5px; }
.ocs-nav-link { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 14px; border-left: 4px solid transparent; border-radius: 10px; color: #c6d8d1; font-weight: 600; transition: .18s ease; }
.ocs-nav-link i { font-size: 1.3rem; }
.ocs-nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.ocs-nav-link.is-active { border-left-color: var(--ocs-gold); background: #207560; color: #fff; }
.ocs-nav-count, .ocs-btn-count, .ocs-number-badge { display: grid; min-width: 29px; min-height: 29px; place-items: center; border-radius: 99px; background: var(--ocs-gold); color: var(--ocs-ink); font-size: .77rem; font-weight: 800; }
.ocs-nav-count { margin-left: auto; }
.ocs-sidebar-footer { margin-top: auto; padding: 25px 12px 0; color: #b4c9c1; font-size: .79rem; }
.ocs-pattern { height: 34px; margin-bottom: 14px; opacity: .55; background: repeating-linear-gradient(135deg, transparent 0 18px, var(--ocs-gold) 19px 20px, transparent 21px 34px); }

.ocs-page { min-height: 100vh; margin-left: var(--ocs-sidebar-width); }
.ocs-topbar { display: flex; align-items: center; min-height: 108px; padding: 0 56px; border-bottom: 1px solid var(--ocs-border); background: #fff; }
.ocs-breadcrumb, .ocs-topbar-actions, .ocs-profile { display: flex; align-items: center; }
.ocs-breadcrumb { gap: 12px; color: #7b8b87; }
.ocs-breadcrumb strong { color: var(--ocs-ink); }
.ocs-topbar-actions { gap: 28px; margin-left: auto; }
.ocs-language { color: var(--ocs-muted); }
.ocs-language i { margin-left: 8px; font-size: .75rem; }
.ocs-bell { position: relative; font-size: 1.35rem; }
.ocs-bell span { position: absolute; top: -10px; right: -11px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--ocs-gold); color: var(--ocs-ink); font-size: .68rem; font-weight: 800; }
.ocs-profile { gap: 10px; padding-left: 26px; border-left: 1px solid var(--ocs-border); }
.ocs-profile strong { font-size: .92rem; }.ocs-profile small { color: var(--ocs-muted); }
.ocs-avatar { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 50%; background: #dfece4; color: var(--ocs-green-deep); font-weight: 800; }
.ocs-logout { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; color: var(--ocs-muted); }.ocs-logout:hover { background: var(--ocs-green-soft); }
.ocs-menu-toggle { color: var(--ocs-green); font-size: 1.4rem; }

.ocs-main { max-width: 1580px; margin: 0 auto; padding: 58px 56px; }
.ocs-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 39px; }
.ocs-eyebrow { margin: 0 0 14px; color: var(--ocs-gold); font-size: .77rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.ocs-hero h1 { margin: 0; color: #0f4037; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 3.2vw, 3.25rem); font-weight: 500; letter-spacing: -.035em; }
.ocs-hero p:not(.ocs-eyebrow) { margin: 12px 0 0; color: var(--ocs-muted); font-size: 1.06rem; }
.ocs-hero-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 12px; }
.btn-ocs-primary, .btn-ocs-outline { min-height: 52px; padding: 0 20px; border-radius: 9px; font-weight: 750; }
.btn-ocs-primary { border: 1px solid var(--ocs-green); background: var(--ocs-green); color: #fff; }.btn-ocs-primary:hover { border-color: var(--ocs-green-deep); background: var(--ocs-green-deep); color: #fff; }
.btn-ocs-outline { border: 1px solid #cddbd4; background: #fff; color: var(--ocs-green); }.btn-ocs-outline:hover { background: var(--ocs-green-soft); color: var(--ocs-green-deep); }

/* Auth / login — responsive */
body.ocs-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(15, 118, 110, 0.16), transparent 55%),
    var(--ocs-cream);
}
.ocs-auth__card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.75rem;
  border: 1px solid var(--ocs-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(14, 60, 50, .08);
}
.ocs-auth__brand { margin: 0 0 .35rem; font-size: clamp(1.35rem, 4vw, 1.75rem); line-height: 1.2; }
.ocs-auth__meta { margin: 0 0 1rem; color: var(--ocs-muted); font-size: .95rem; }
.ocs-auth .btn-ocs-login {
  border: 1px solid var(--ocs-green, #155f4b) !important;
  background: var(--ocs-green, #155f4b) !important;
  color: #fff !important;
  font-weight: 750;
}
.ocs-auth .btn-ocs-login:hover,
.ocs-auth .btn-ocs-login:focus,
.ocs-auth .btn-ocs-login:active,
.ocs-auth .btn-ocs-login:focus-visible {
  background: var(--ocs-green-deep, #104b3b) !important;
  border-color: var(--ocs-green-deep, #104b3b) !important;
  color: #fff !important;
}
@media (max-width: 575.98px) {
  body.ocs-auth { padding: .75rem; align-items: flex-start; padding-top: 1.25rem; }
  .ocs-auth__card { padding: 1.15rem 1rem 1.35rem; border-radius: 12px; }
  .ocs-auth .form-control-lg { font-size: 1rem; padding: .65rem .85rem; }
  .ocs-auth .btn-ocs-login { min-height: 48px; font-size: 1.05rem; }
}
.ocs-btn-count { display: inline-grid; margin-left: 10px; vertical-align: middle; background: rgba(255,255,255,.18); color: #fff; }

.ocs-card { padding: 28px 30px; border: 1px solid var(--ocs-border); border-radius: 17px; background: var(--ocs-card); box-shadow: 0 8px 24px rgba(14, 60, 50, .035); }
.ocs-card-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }.ocs-card-header h2 { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -.035em; }.ocs-card-header p { margin: 7px 0 0; color: var(--ocs-muted); font-size: .91rem; }.ocs-card-header > a { font-size: .89rem; font-weight: 750; white-space: nowrap; }
.ocs-card-label { color: var(--ocs-muted); font-size: 1rem; }.ocs-icon-box { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; font-size: 1.26rem; }.ocs-icon-box.is-success { background: #eff5f1; color: var(--ocs-green); }.ocs-icon-box.is-warning { background: #fff5e1; color: var(--ocs-warning); }
.ocs-metric-card { min-height: 211px; }.ocs-metric-value { margin: 26px 0 13px; color: #113e35; font-family: Georgia, "Times New Roman", serif; font-size: 2.6rem; font-weight: 600; line-height: 1; }.ocs-metric-detail { color: var(--ocs-muted); font-size: .88rem; }.ocs-progress { height: 8px; border-radius: 20px; background: #e6ede9; }.ocs-progress .progress-bar { border-radius: 20px; background: var(--ocs-green); }
.ocs-table { --bs-table-bg: transparent; --bs-table-border-color: #edf1ee; }.ocs-table th { padding: 0 12px 12px; color: var(--ocs-muted); font-size: .75rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }.ocs-table td { padding: 16px 12px; color: #254c44; }.ocs-table td:first-child, .ocs-table th:first-child { padding-left: 0; }.ocs-table td:last-child, .ocs-table th:last-child { padding-right: 0; }
.ocs-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: #edf1ef; color: #5e716b; font-size: .78rem; font-weight: 750; }.ocs-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }.ocs-status.is-approved { background: #e7f4eb; color: #18744a; }.ocs-status.is-submitted { background: #fff2d8; color: #a66a08; }.ocs-status.is-returned { background: #fbe9e8; color: var(--ocs-danger); }.ocs-status.is-locked { background: #edf0ef; color: #66736e; }.ocs-status.is-draft { background: #edf1ef; color: #66736e; }
.ocs-empty { display: grid; min-height: 240px; place-items: center; align-content: center; padding: 28px; color: var(--ocs-muted); text-align: center; }.ocs-empty i { margin-bottom: 12px; color: var(--ocs-gold); font-size: 2rem; }.ocs-empty h3 { margin: 0; color: var(--ocs-ink); font-size: 1.05rem; }.ocs-empty p { max-width: 300px; margin: 9px 0 16px; font-size: .9rem; }.ocs-empty.is-small { min-height: 190px; }
.ocs-inbox-summary, .ocs-status-panel { display: grid; gap: 13px; }.ocs-inbox-summary p { display: flex; justify-content: space-between; margin: 0; padding-bottom: 13px; border-bottom: 1px solid #edf1ef; color: var(--ocs-muted); }.ocs-inbox-summary p strong { color: var(--ocs-ink); }.ocs-inbox-summary a { margin-top: 8px; font-weight: 750; }.ocs-status-panel p { margin: 3px 0 0; color: var(--ocs-muted); font-size: .9rem; }
.ocs-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }.ocs-summary-grid > div { padding: 15px 0; border-bottom: 1px solid #edf1ef; }.ocs-summary-grid dt { color: var(--ocs-muted); font-size: .84rem; font-weight: 500; }.ocs-summary-grid dd { margin: 8px 0 0; color: var(--ocs-ink); font-size: 1.15rem; font-weight: 750; }
.ocs-quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.ocs-quick-actions a { display: flex; min-height: 92px; flex-direction: column; align-items: center; justify-content: center; gap: 11px; border: 1px solid #dce7e1; border-radius: 11px; background: #f2f6f3; color: var(--ocs-green); font-size: .86rem; font-weight: 750; text-align: center; }.ocs-quick-actions a:hover { background: var(--ocs-green-soft); }.ocs-quick-actions i { font-size: 1.28rem; }

@media (max-width: 1199.98px) { .ocs-sidebar { width: 260px; }.ocs-page { margin-left: 260px; }.ocs-topbar { padding: 0 34px; }.ocs-main { padding: 42px 34px; }.ocs-hero { align-items: start; flex-direction: column; }.ocs-hero-actions { justify-content: start; } }
@media (max-width: 991.98px) { .ocs-sidebar { width: 290px; transform: translateX(-100%); transition: transform .2s ease; }.ocs-sidebar.is-open { box-shadow: 13px 0 35px rgba(0,0,0,.18); transform: translateX(0); }.ocs-page { margin-left: 0; }.ocs-page.has-overlay::after { position: fixed; z-index: 1030; inset: 0; content: ''; background: rgba(10,45,37,.42); }.ocs-topbar { min-height: 78px; padding: 0 20px; }.ocs-breadcrumb { margin-left: 12px; }.ocs-topbar-actions { gap: 16px; }.ocs-profile { padding-left: 16px; }.ocs-main { padding: 36px 22px; } }
@media (max-width: 575.98px) { .ocs-topbar { padding: 0 14px; }.ocs-breadcrumb span, .ocs-breadcrumb > i.bi-chevron-right { display: none; }.ocs-topbar-actions { gap: 12px; }.ocs-profile { padding-left: 0; border-left: 0; }.ocs-hero-actions { width: 100%; }.ocs-hero-actions .btn { flex: 1 1 100%; }.ocs-card { padding: 22px 18px; }.ocs-metric-card { min-height: 180px; }.ocs-summary-grid { grid-template-columns: 1fr; gap: 0; }.ocs-quick-actions { grid-template-columns: 1fr; }.ocs-table { min-width: 580px; } }
