/* Page Help — button and panel (17 Oct 2026). Same file in LekhaOne and the RSIS Portal. */
.ph-button{position:fixed;right:18px;bottom:18px;z-index:40;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 16px;border:0;border-radius:999px;background:#0f2f4f;color:#fff;font:600 15px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 4px 14px rgba(15,47,79,.3);cursor:pointer}
.ph-button span[aria-hidden]{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#d4a72c;color:#0f2f4f;font-weight:800}
.ph-button:focus-visible,.ph-dialog button:focus-visible{outline:3px solid #d4a72c;outline-offset:2px}
.ph-dialog{position:fixed!important;inset:0 0 0 auto!important;margin:0!important;width:min(760px,100vw)!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;box-sizing:border-box;padding:0!important;border:0;border-radius:0!important;border-left:1px solid #d6dde6;background:#fff;color:#1b2733;overflow:auto;font:15px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
.ph-dialog::backdrop{background:rgba(16,42,67,.35)}
.ph-head{position:sticky;top:0;z-index:1;background:#0f2f4f;color:#fff;padding:14px 18px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.ph-head h2{margin:0;font-size:18px;color:#fff;line-height:1.3}
.ph-tools{display:flex;flex-wrap:wrap;gap:6px}
.ph-tools button{min-height:36px;padding:4px 12px;border:1px solid rgba(255,255,255,.5);border-radius:6px;background:transparent;color:#fff;font:600 14px system-ui,sans-serif;cursor:pointer}
.ph-tools button[aria-pressed=true]{background:#d4a72c;border-color:#d4a72c;color:#0f2f4f}
.ph-body{padding:6px 18px 28px}
.ph-body h3{margin:20px 0 8px;font-size:16px;color:#0f2f4f;border-bottom:2px solid #e8edf3;padding-bottom:4px}
.ph-body p,.ph-body li{color:#1b2733;font-size:15px;margin:4px 0}
.ph-body ol,.ph-body ul{padding-left:22px;margin:4px 0}
.ph-table{overflow-x:auto}
.ph-table table{width:100%;border-collapse:collapse;font-size:14px}
.ph-table th{background:#eef3f8;color:#0f2f4f;text-align:left;padding:8px;font-size:13px}
.ph-table td{border-top:1px solid #e3e8ee;padding:8px;vertical-align:top;color:#1b2733;font-size:14px}
.ph-table td:first-child{min-width:150px}
.ph-table td:last-child{min-width:110px;color:#3d5166}
.ph-table tr.ph-live td:first-child{box-shadow:inset 4px 0 #2e8b57}
.ph-show{margin-top:4px;padding:2px 8px;min-height:28px;border:1px solid #2e8b57;border-radius:5px;background:#fff;color:#1d6b40;font:600 12px system-ui,sans-serif;cursor:pointer}
.ph-other li{font-size:14px}
.ph-q{border:1px solid #e3e8ee;border-radius:6px;padding:6px 10px;margin:6px 0}
.ph-q summary{cursor:pointer;font-weight:600;color:#0f2f4f}
.ph-flash{outline:4px solid #d4a72c!important;outline-offset:3px;box-shadow:0 0 0 8px rgba(212,167,44,.35)!important;transition:outline-color .3s}
@media(max-width:600px){.ph-button{right:12px;bottom:12px;padding:8px 12px}.ph-head{padding:12px}.ph-body{padding:4px 12px 24px}.ph-table table,.ph-table thead,.ph-table tbody,.ph-table tr,.ph-table td{display:block;width:auto}.ph-table thead{display:none}.ph-table tr{border-top:1px solid #e3e8ee;padding:6px 0}.ph-table td{border:0;padding:2px 4px}.ph-table td:last-child::before{content:"→ "}}
@media print{body.ph-printing>*:not(.ph-dialog){display:none!important}body.ph-printing .ph-dialog{position:static;width:auto;height:auto;max-height:none;overflow:visible;border:0}body.ph-printing .ph-tools,body.ph-printing .ph-show,.ph-button{display:none!important}body.ph-printing .ph-head{background:#fff;color:#000;border-bottom:2px solid #000}body.ph-printing .ph-head h2{color:#000}body.ph-printing .ph-q{break-inside:avoid}body.ph-printing details>p{display:block}@page{size:A4;margin:14mm}}
