main {
    min-width:0;
    background:radial-gradient(ellipse at top right,#dceafa 0,transparent 55%),linear-gradient(135deg,#f0f6fb,#f8fafc);
}
main > [id^="view-"]:not(:where(#view-dashboard)) {
    --panel:linear-gradient(135deg,rgba(255,255,255,.98),rgba(246,250,255,.94));
    --line:#cfddeb;
    --navy:linear-gradient(115deg,#264b78,#142e50);
    min-width:0;
}
main > [id^="view-"]:not(:where(#view-dashboard)) h2 {
    color:#172f50; letter-spacing:-.035em; line-height:1.2;
}
main > [id^="view-"]:not(:where(#view-dashboard)) :is(.ops-panel,.arrival-section,.fin-panel,.bg-white.rounded-2xl,.bg-white.rounded-3xl,.fin-summary section) {
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:inset 0 1px #fff,0 4px 18px #244c7310;
}
main > [id^="view-"]:not(:where(#view-dashboard)) :is(input:not([type]),input:is([type=text],[type=number],[type=date],[type=month],[type=tel],[type=time],[type=search]),select,textarea):not(:disabled):not(.bg-transparent) {
    border-color:#c7d6e6;
}
main > [id^="view-"] :is(button,input,textarea,select,summary,a):focus-visible {
    outline:2px solid #3185c3; outline-offset:2px;
}
main > [id^="view-"]:not(:where(#view-dashboard)) table thead {
    color:#34506d; background:#edf4fb;
}
main > [id^="view-"]:not(:where(#view-dashboard)) :is(.bg-blue-600.text-white,.ops-button:not(.ops-secondary):not(.ops-danger):not(.ops-amber)) {
    background:linear-gradient(120deg,#295e97,#184776); color:white;
}
#view-laporan .fin-summary .fin-net,
:is(#view-housekeeping,#view-receivables) .ops-stats > div {
    color:#fff; border:1px solid #486789; background:var(--navy);
    box-shadow:inset 0 1px #ffffff39,0 4px 12px #16375c12;
}
#view-laporan .fin-net :is(h3,p,strong),
:is(#view-housekeeping,#view-receivables) .ops-stats :is(span,strong) { color:#f2f7ff }
#view-laporan .fin-tabs button[aria-pressed="true"] { background:#1c416c; color:white }
#view-laporan :is(.fin-summary strong,td.text-right),
:is(#view-kas,#view-pengeluaran,#view-payroll) .text-right { font-variant-numeric:tabular-nums }
#view-housekeeping summary { cursor:pointer }
#view-housekeeping summary:focus-visible { border-radius:5px }
@media(max-width:767px) {
    #view-data-tamu table,#guestTableBody {display:block;width:100%;white-space:normal}
    #view-data-tamu table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
    #view-data-tamu .overflow-x-auto:has(#guestTableBody) {padding:8px}
    #guestTableBody {display:grid;gap:10px}
    #guestTableBody tr {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;padding:14px;background:white;border:1px solid #d1deec;border-radius:13px}
    #guestTableBody td {padding:0;min-width:0!important;max-width:none!important;overflow-wrap:anywhere;text-align:left}
    #guestTableBody td:first-child {grid-column:2;grid-row:1;justify-self:end}
    #guestTableBody td:nth-child(2) {grid-row:1;grid-column:1;align-self:center;color:#183755}
    #guestTableBody td:nth-child(n+3):nth-child(-n+9)::before {display:block;color:#506881;font-size:.68rem;margin-bottom:3px;font-weight:600}
    #guestTableBody td:nth-child(3)::before {content:"Kamar"}
    #guestTableBody td:nth-child(4)::before {content:"Durasi"}
    #guestTableBody td:nth-child(5)::before {content:"No. Kontak"}
    #guestTableBody td:nth-child(6)::before {content:"Kontak Darurat (Bulanan)"}
    #guestTableBody td:nth-child(7)::before {content:"No. Kendaraan"}
    #guestTableBody td:nth-child(8)::before {content:"Perlengkapan Harian"}
    #guestTableBody td:nth-child(9)::before {content:"Status"}
    #guestTableBody td:last-child {grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-end;border-top:1px solid #e1ebf4;padding-top:7px}
    #guestTableBody td:last-child :is(button,a) {min-width:42px;min-height:42px}
}
#view-kas .cash-admin:has(> #cashBalanceTotal) {
    color:white; background:var(--navy); border-color:#49688b;
}
#view-laporan .fin-summary section.fin-net {
    color:white; background:var(--navy);
}
@supports (backdrop-filter:blur(8px)) {
    main > [id^="view-"] :is(.fin-filter,.arrival-mode) {
        background-color:rgba(245,250,255,.86); backdrop-filter:blur(8px);
    }
}
