/* ==========================================================================
   E-Pasien Mobile — Design System
   RS Hj. Fatimah Sulhan PKU Muhammadiyah Demak
   Tema: Navy Klinis + Teal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKEN
   -------------------------------------------------------------------------- */
:root {
    /* Warna utama — navy klinis */
    --navy-900: #062033;
    --navy-800: #0B3B5C;
    --navy-700: #0F4E76;
    --navy-600: #15669A;
    --navy-200: #BFD8E8;
    --navy-100: #DCE9F2;
    --navy-50:  #F0F6FA;

    /* Aksen — teal */
    --teal-700: #0F766E;
    --teal-600: #0D9488;
    --teal-500: #14B8A6;
    --teal-200: #99F6E4;
    --teal-100: #CCFBF1;
    --teal-50:  #F0FDFA;

    /* Aksen premium, dipakai sangat hemat */
    --gold: #C6A15B;

    /* Permukaan */
    --canvas:     #F1F5F9;
    --surface:    #FFFFFF;
    --surface-2:  #F8FAFC;
    --border:     #E2E8F0;
    --border-2:   #CBD5E1;

    /* Teks */
    --ink:    #0F172A;
    --ink-2:  #334155;
    --muted:  #64748B;
    --faint:  #94A3B8;
    --on-dark:        #FFFFFF;
    --on-dark-muted:  rgba(255, 255, 255, .72);

    /* Status */
    --success:    #047857;  --success-bg: #ECFDF5;  --success-br: #A7F3D0;
    --warning:    #B45309;  --warning-bg: #FFFBEB;  --warning-br: #FDE68A;
    --danger:     #B91C1C;  --danger-bg:  #FEF2F2;  --danger-br:  #FECACA;
    --info:       #0369A1;  --info-bg:    #EFF6FF;  --info-br:    #BFDBFE;

    /* Radius */
    --r-xs:   8px;
    --r-sm:  12px;
    --r:     16px;
    --r-lg:  20px;
    --r-xl:  26px;
    --r-pill: 999px;

    /* Bayangan — halus, berlapis */
    --sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
    --sh-2: 0 2px 4px rgba(15, 23, 42, .04), 0 6px 16px rgba(15, 23, 42, .06);
    --sh-3: 0 4px 8px rgba(11, 59, 92, .06), 0 16px 32px rgba(11, 59, 92, .10);
    --sh-nav: 0 -6px 24px rgba(15, 23, 42, .07);

    /* Tipografi */
    --font: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system,
            BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --app-max: 480px;
    --gutter: 18px;
    --nav-h: 86px;   /* 68px navigasi + strip kredit tipis */

    /* Gerak */
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & DASAR
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
    line-height: 1.3;
}
h1 { font-size: 22px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: none; }

img { max-width: 100%; }

:focus-visible {
    outline: 2px solid var(--teal-600);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection { background: var(--teal-100); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   3. KERANGKA APLIKASI
   -------------------------------------------------------------------------- */
.app {
    max-width: var(--app-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Layar lebar: beri bingkai lembut agar tidak terasa "melayang" */
@media (min-width: 620px) {
    body { background: #E8EEF4; }
}

/* --------------------------------------------------------------------------
   4. APP BAR (header atas)
   -------------------------------------------------------------------------- */
.appbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
    color: var(--on-dark);
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, var(--sh-2);
}
.appbar::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-500), rgba(20, 184, 166, 0));
}

.appbar-inner {
    max-width: var(--app-max);
    margin: 0 auto;
    padding: 12px var(--gutter);
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
}

.appbar-back {
    flex: none;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .12);
    color: var(--on-dark);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    transition: background .18s var(--ease), transform .18s var(--ease);
}
.appbar-back:hover  { background: rgba(255, 255, 255, .2); }
.appbar-back:active { transform: scale(.94); }

.appbar-titles { flex: 1; min-width: 0; }
.appbar-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--on-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.appbar-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--on-dark-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .02em;
}

.appbar-logo {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(6, 32, 51, .28);
}
.appbar-logo img { max-width: 78%; max-height: 78%; object-fit: contain; }

/* Tautan di dalam permukaan gelap: selektor tipe `a` di atas mengunci warnanya
   ke navy, jadi di sini dikembalikan agar mengikuti warna induknya. */
.appbar a, .hero a, .id-card a,
[class$="-hero"] a, [class$="-banner"] a,
[class$="-header-card"] a, [class$="-picker-header"] a {
    color: inherit;
}

/* Judul di dalam permukaan gelap: selektor tipe h1..h5 di atas mengunci warna
   ke --ink, jadi di sini dikembalikan ke putih agar tidak gelap-di-atas-gelap. */
.appbar h1, .appbar h2, .appbar h3,
.id-card h1, .id-card h2, .id-card h3,
[class$="-hero"] h1, [class$="-hero"] h2, [class$="-hero"] h3,
[class$="-banner"] h1, [class$="-banner"] h2, [class$="-banner"] h3,
[class$="-header-card"] h1, [class$="-picker-header"] h1 {
    color: #fff;
}

/* --------------------------------------------------------------------------
   5. JUDUL SEKSI
   -------------------------------------------------------------------------- */
.section {
    margin: 22px 0 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.section-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal-700);
}

.page-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.page-sub   { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   6. KARTU
   -------------------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    overflow: hidden;
}
.card + .card { margin-top: 12px; }

.card-pad { padding: 18px; }

.card-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-head h3 { font-size: 14.5px; font-weight: 700; }
.card-head i { color: var(--teal-600); }

.card-body { padding: 18px; }

.card-tap {
    display: block;
    color: inherit;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card-tap:hover  { box-shadow: var(--sh-2); border-color: var(--navy-200); }
.card-tap:active { transform: scale(.985); }

/* Kartu identitas pasien (hero) */
.id-card {
    position: relative;
    border-radius: var(--r-xl);
    padding: 20px;
    color: var(--on-dark);
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 60%, #17739F 100%);
    box-shadow: var(--sh-3);
    overflow: hidden;
}
.id-card::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, .38), rgba(20, 184, 166, 0) 68%);
}
.id-card::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -80px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 70%);
}
.id-card > * { position: relative; z-index: 1; }
.id-greet { font-size: 12.5px; color: var(--on-dark-muted); font-weight: 500; }
.id-name  { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.id-meta  {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   7. GRID MENU
   -------------------------------------------------------------------------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.menu-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.menu-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px 12px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    text-align: center;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.menu-item:hover  { box-shadow: var(--sh-2); border-color: var(--navy-200); }
.menu-item:active { transform: scale(.96); }

.menu-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: var(--navy-50);
    color: var(--navy-700);
    border: 1px solid var(--navy-100);
}
.menu-icon.teal   { background: var(--teal-50);    color: var(--teal-700);   border-color: var(--teal-100); }
.menu-icon.amber  { background: var(--warning-bg); color: var(--warning);    border-color: var(--warning-br); }
.menu-icon.rose   { background: var(--danger-bg);  color: var(--danger);     border-color: var(--danger-br); }
.menu-icon.green  { background: var(--success-bg); color: var(--success);    border-color: var(--success-br); }

.menu-label {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   8. BARIS DAFTAR
   -------------------------------------------------------------------------- */
.rows { display: flex; flex-direction: column; }
.row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 18px;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background .16s var(--ease);
}
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--surface-2); }

.row-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    color: var(--navy-700);
    font-size: 14px;
}
.row-main  { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.row-sub   { font-size: 12.5px; color: var(--muted); }
.row-go    { color: var(--faint); font-size: 13px; flex: none; }

/* Pasangan label–nilai (data pasien, detail) */
.kv { display: grid; grid-template-columns: 40% 60%; }
.kv > div {
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}
.kv > div:nth-child(odd)  { color: var(--muted); font-weight: 500; padding-right: 10px; }
.kv > div:nth-child(even) { color: var(--ink); font-weight: 600; }
.kv > div:nth-last-child(-n+2) { border-bottom: 0; }

/* --------------------------------------------------------------------------
   9. TOMBOL
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease),
                background .16s var(--ease), color .16s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn-primary {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: #fff;
    box-shadow: 0 6px 16px rgba(11, 59, 92, .26);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(11, 59, 92, .32); }

.btn-accent {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: #fff;
    box-shadow: 0 6px 16px rgba(13, 148, 136, .26);
}

.btn-ghost {
    background: var(--surface);
    color: var(--navy-700);
    border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--navy-50); border-color: var(--navy-200); }

.btn-danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-br); }

.btn-block { display: flex; width: 100%; }
.btn-sm    { padding: 8px 14px; font-size: 13px; }

/* --------------------------------------------------------------------------
   10. FORMULIR
   -------------------------------------------------------------------------- */
.field { margin-bottom: 15px; }
.field:last-child { margin-bottom: 0; }

.label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 6px;
    letter-spacing: .01em;
}
.label .req { color: var(--danger); }

/* Hanya lewat kelas. Menambah `input[type=...].input` menaikkan spesifisitas
   dan membuat shorthand `padding` di sini menimpa padding-left milik varian
   berikon — itu pernah membuat ikon menutupi teks di halaman masuk. */
.input, .select, .textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r-sm);
    transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }

.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .16);
    background: #fff;
}
.input:disabled, .select:disabled { background: var(--surface-2); color: var(--muted); }

.select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 40px;
}

.hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* --------------------------------------------------------------------------
   11. LENCANA & STATUS
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: var(--r-pill);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    background: var(--navy-50);
    color: var(--navy-700);
    border: 1px solid var(--navy-100);
    white-space: nowrap;
}
.badge-success { background: var(--success-bg); color: var(--success); border-color: var(--success-br); }
.badge-warning { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-br); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger);  border-color: var(--danger-br); }
.badge-info    { background: var(--info-bg);    color: var(--info);    border-color: var(--info-br); }
.badge-teal    { background: var(--teal-50);    color: var(--teal-700); border-color: var(--teal-100); }
.badge-solid   { background: var(--navy-800);   color: #fff; border-color: transparent; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot-live { box-shadow: 0 0 0 0 currentColor; animation: pulseDot 2s infinite; }
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(20, 184, 166, .55); }
    70%  { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* --------------------------------------------------------------------------
   12. PEMBERITAHUAN
   -------------------------------------------------------------------------- */
.alert {
    display: flex;
    gap: 11px;
    padding: 13px 15px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    line-height: 1.55;
    border: 1px solid var(--info-br);
    background: var(--info-bg);
    color: var(--info);
}
.alert i { margin-top: 2px; flex: none; }
.alert strong { font-weight: 700; }
.alert-success { background: var(--success-bg); border-color: var(--success-br); color: var(--success); }
.alert-warning { background: var(--warning-bg); border-color: var(--warning-br); color: var(--warning); }
.alert-danger  { background: var(--danger-bg);  border-color: var(--danger-br);  color: var(--danger); }

/* --------------------------------------------------------------------------
   13. KEADAAN KOSONG
   -------------------------------------------------------------------------- */
.empty {
    text-align: center;
    padding: 44px 24px;
    background: var(--surface);
    border: 1px dashed var(--border-2);
    border-radius: var(--r-lg);
}
.empty-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--navy-50);
    color: var(--navy-600);
}
.empty h3 { font-size: 15.5px; margin-bottom: 5px; }
.empty p  { font-size: 13px; color: var(--muted); max-width: 32ch; margin: 0 auto; }

/* --------------------------------------------------------------------------
   14. TABEL
   -------------------------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: var(--surface);
}
.table th {
    text-align: left;
    padding: 11px 13px;
    background: var(--navy-50);
    color: var(--navy-800);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}
.table td {
    padding: 11px 13px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-2);
    vertical-align: top;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: var(--surface-2); }

/* --------------------------------------------------------------------------
   15. NAVIGASI BAWAH
   -------------------------------------------------------------------------- */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: var(--sh-nav);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav-inner {
    max-width: var(--app-max);
    margin: 0 auto;
    display: flex;
    padding: 7px 6px 6px;
}
.bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: var(--r-sm);
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color .16s var(--ease);
}
.bottom-item i { font-size: 17px; line-height: 1; }
.bottom-item:active { background: var(--surface-2); }
.bottom-item.active-nav { color: var(--navy-800); }
.bottom-item.active-nav i { color: var(--teal-600); }
.bottom-item.is-danger { color: #B0555A; }

/* --------------------------------------------------------------------------
   15b. BARIS KREDIT PENGEMBANG
   Menempel di bagian atas navigasi bawah, jadi tetap terlihat di semua
   halaman tanpa perlu menggulung sampai bawah.
   -------------------------------------------------------------------------- */
.kredit {
    border-top: 1px solid var(--navy-100);
    padding: 5px 12px 4px;
    text-align: center;
    font-size: 8.5px;
    line-height: 1.35;
    letter-spacing: .02em;
    color: var(--faint);
    background: var(--surface-2);
}
.kredit strong {
    color: var(--navy-600);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. UTILITAS
   -------------------------------------------------------------------------- */
.stack   > * + * { margin-top: 12px; }
.stack-sm > * + * { margin-top: 8px; }
.muted   { color: var(--muted); }
.faint   { color: var(--faint); }
.center  { text-align: center; }
.mono    { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.divider { height: 1px; background: var(--border); border: 0; margin: 16px 0; }
.pt-2 { padding-top: 8px; }  .pt-3 { padding-top: 14px; }
.mt-2 { margin-top: 8px; }   .mt-3 { margin-top: 14px; }  .mt-4 { margin-top: 22px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 14px; }

/* Munculkan konten dengan lembut */
.reveal { animation: reveal .5s var(--ease) both; }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .1s; }
.reveal-3 { animation-delay: .15s; }
@keyframes reveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* --------------------------------------------------------------------------
   17. CETAK
   -------------------------------------------------------------------------- */
@media print {
    .appbar, .bottom-nav, .app-loader, .no-print { display: none !important; }
    body { background: #fff; padding: 0; }
    .card { box-shadow: none; border-color: #ccc; }
}
