.staff-body {
    background: #f2f8f5;
    color: #173c4d;
    font: 15px/1.5 Arial, sans-serif;
}
.staff-body *, .staff-body *::before, .staff-body *::after { box-sizing: border-box; }
.staff-body :focus-visible { outline: 3px solid #53b9aa; outline-offset: 3px; }
.staff-body #wrap { min-height: 100vh; background: none; }
.staff-body #header {
    display: flex;
    min-height: 86px;
    height: auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 18px max(24px, calc((100% - 1440px) / 2));
    background: #fff;
    border-bottom: 1px solid #e8f0ef;
}
.staff-body .clinic-brand { display: flex; flex: 1 1 220px; min-width: 0; align-items: center; gap: 12px; }
.staff-body .clinic-brand-text { min-width: 0; }
.staff-body .clinic-logo { flex: 0 0 52px; width: 52px; height: 52px; padding: 5px; border: 1px solid #e1ece8; border-radius: 12px; background: #fff; object-fit: contain; }
.staff-body #header h1#logo-text {
    position: static;
    display: block;
    max-width: 100%;
    color: #173c4d;
    font: 700 23px/1.2 Arial, sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
.staff-body #header p#slogan {
    position: static;
    margin: 4px 0 0;
    color: #728b92;
    font: 13px/1.4 Arial, sans-serif;
}
.staff-with-sidebar #wrap {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-content: start;
}
.staff-with-sidebar #header { grid-column: 1 / -1; grid-row: 1; }
.staff-body .staff-sidebar {
    grid-column: 1;
    grid-row: 2 / 4;
    min-width: 0;
    padding: 20px 12px;
    background: #fff;
    border-right: 1px solid #dfece7;
}
.staff-body .staff-sidebar[hidden] { display: none; }
.staff-body .staff-sidebar-heading {
    padding: 12px 12px 7px;
    color: #728b92;
    font: 700 11px/1.3 Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.staff-body #menu {
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    font: 700 14px/1.3 Arial, sans-serif;
}
.staff-body #menu ul { float: none; margin: 0; padding: 0; list-style: none; }
.staff-body #menu ul li { display: block; }
.staff-body #menu ul li a, .staff-body .staff-sidebar #header-links a {
    display: block;
    float: none;
    padding: 10px 12px;
    border-radius: 8px;
    color: #4a696b;
    font: 700 14px/1.3 Arial, sans-serif;
    text-decoration: none;
}
.staff-body #menu ul li#current a, .staff-body #menu ul li a:hover,
.staff-body .staff-sidebar #header-links a:hover,
.staff-body .staff-sidebar #header-links a:focus-visible { background: #eef8f3; color: #0e6864; }
.staff-body .staff-sidebar-toggle:not([hidden]) {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.staff-body .staff-sidebar-toggle svg { width: 20px; height: 20px; }
.staff-body .staff-sidebar-toggle[aria-expanded="true"] .staff-icon-open-menu,
.staff-body .staff-sidebar-toggle[aria-expanded="false"] .staff-icon-close-menu { display: none; }
.staff-with-sidebar #content-wrap, .staff-with-sidebar #wrap > .container { grid-column: 2; grid-row: 2; align-self: start; }
.staff-with-sidebar #footer { grid-column: 2; grid-row: 3; }
.staff-body #content-wrap, .staff-body #wrap > .container {
    width: calc(100% - 48px);
    max-width: 1440px;
    margin: 28px auto;
    padding: 26px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e0ece7;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(34, 87, 72, .06);
}
.staff-body h2 {
    margin: 0 0 18px;
    padding: 0 0 12px;
    color: #1d5651;
    background: none;
    border-bottom: 1px solid #e4efea;
    font: 700 22px/1.3 Arial, sans-serif;
}
.staff-body h3 { color: #285d56; }
.staff-body a, .staff-body a:visited { color: #137a6d; }
.staff-body form {
    max-width: 100%;
    border: 1px solid #e4eee9;
    background: #f8fbf9;
    box-shadow: none;
}
.staff-body input[type="text"], .staff-body input[type="number"],
.staff-body input[type="password"], .staff-body input[type="date"],
.staff-body input[type="time"], .staff-body select, .staff-body textarea {
    max-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #c9ded6;
    border-radius: 7px;
    color: #28444b;
    font: inherit;
}
.staff-body input[type="submit"], .staff-body .formulir input[type="submit"], .staff-body input[type="button"],
.staff-body button, .staff-body .tombol {
    padding: 9px 15px;
    border: 0;
    border-radius: 7px;
    background: #147d78;
    color: #fff;
    font: 700 14px/1.4 Arial, sans-serif;
    cursor: pointer;
}
.staff-body input[type="submit"]:hover, .staff-body .formulir input[type="submit"]:hover, .staff-body input[type="button"]:hover,
.staff-body button:hover, .staff-body .tombol:hover { background: #0e6864; }
.staff-body .login-password-field { display: block; position: relative; }
.staff-body .login-password-field input { padding-right: 46px; }
.staff-body .login-password-field input::-ms-reveal { display: none; }
.staff-body .login-password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transform: translateY(-50%);
    background: transparent;
    color: var(--theme-ink, #28444b);
}
.staff-body .login-password-toggle:hover { background: var(--theme-border, #dcebe3); color: var(--theme-ink, #28444b); }
.staff-body .login-password-toggle[hidden] { display: none; }
.staff-body .login-password-toggle svg { width: 20px; height: 20px; }
.staff-body .login-password-slash { display: none; }
.staff-body .login-password-toggle[aria-pressed="true"] .login-password-slash { display: block; }
.staff-body table.data { width: 100%; min-width: 700px; border-collapse: collapse; }
.staff-body table.data th { background: #e6f3ed; color: #245c53; }
.staff-body table.data th, .staff-body table.data td { padding: 10px; border-color: #dcebe3; font-size: 13px; }
.staff-body table.data td { background: #fff; }
.staff-body table.data tr:hover td { background: #f6fbf8; }
.staff-body .patient-table-scroll { max-height: 65vh; overflow: auto; }
.staff-body table.patient-list { min-width: 1300px; border-collapse: separate; border-spacing: 0; }
.staff-body table.patient-list th { position: sticky; top: 0; z-index: 1; }
.staff-body table.patient-list th, .staff-body table.patient-list td { width: auto; }
.staff-body table.patient-list th:nth-child(3), .staff-body table.patient-list td:nth-child(3) { min-width: 150px; white-space: nowrap; }
.staff-body .patient-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.staff-body form.patient-search { flex: 1 1 220px; min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
.staff-body .patient-search label { display: block; margin-bottom: 6px; font-weight: 700; }
.staff-body .patient-search-fields { display: flex; align-items: center; gap: 8px; }
.staff-body .patient-search-fields input { flex: 1 1 180px; width: auto; min-width: 0; height: 40px; margin: 0; }
.staff-body .patient-search-fields button, .staff-body a.patient-add, .staff-body a.patient-add:visited {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 9px;
    background: #147d78;
    color: #fff;
    font: 700 14px/1.4 Arial, sans-serif;
    text-decoration: none;
}
.staff-body .patient-search-fields button { background: transparent; }
.staff-body .patient-search-fields button:hover { background: var(--theme-soft, #eef8f3); }
.staff-body .patient-search-fields button img { width: 16px; height: 16px; }
.staff-body a.patient-add, .staff-body a.patient-add:visited { background: transparent; color: var(--theme-accent, #147d78); }
.staff-body a.patient-add svg { width: 23px; height: 23px; }
.staff-body a.patient-add:hover { background: var(--theme-soft, #eef8f3); }
.staff-body #footer { height: auto; padding: 14px 20px; background: #e5f1eb; color: #58776d; }
.staff-body #footer a { color: #1d7064; }
.staff-body #footer p { padding: 0; }
@media (min-width: 761px) {
    .staff-with-sidebar.staff-sidebar-collapsed #wrap { grid-template-columns: minmax(0, 1fr); }
    .staff-with-sidebar.staff-sidebar-collapsed #content-wrap,
    .staff-with-sidebar.staff-sidebar-collapsed #wrap > .container,
    .staff-with-sidebar.staff-sidebar-collapsed #footer { grid-column: 1; }
}
@media (max-width: 760px) {
    .staff-body #header { padding: 16px; }
    .staff-body #header h1#logo-text { font-size: 19px; }
    .staff-body .clinic-logo { flex-basis: 44px; width: 44px; height: 44px; }
    .staff-with-sidebar #wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
    .staff-with-sidebar #header { grid-column: 1; grid-row: 1; }
    .staff-body .staff-sidebar { grid-column: 1; grid-row: 2; border-right: 0; border-bottom: 1px solid #dfece7; }
    .staff-with-sidebar #content-wrap, .staff-with-sidebar #wrap > .container { grid-column: 1; grid-row: 3; }
    .staff-with-sidebar #footer { grid-column: 1; grid-row: 4; }
    .staff-body #content-wrap, .staff-body #wrap > .container {
        width: calc(100% - 24px);
        margin: 16px auto;
        padding: 16px;
    }
    .staff-body form { width: 100%; padding: 14px; }
    .staff-body a.patient-add { margin-left: auto; }
}
