/* OPD explain library (12-Nov-2026, opdlib.php): body area > disease card > the five kinds of page; a deck inside the shell. */
.odmain { max-width: 1280px; }
.odsearch { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; flex-wrap: wrap; }
.odsearch input { flex: 1 1 280px; min-height: 48px; font-size: 17px; padding: 0 14px; border: 1px solid #cfd8dc; border-radius: 10px; background: #fff; color: #0F2233; }
.odorgan { margin: 0 0 22px; }
.odorgan h2 { font-size: 18px; margin: 0 0 10px; color: #12424e; }
.odgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.odcard { border: 1px solid #d9e1e3; border-radius: 12px; background: #fff; padding: 12px 14px 8px; }
.odcard h3 { margin: 0 0 8px; font-size: 17px; color: #0F2233; }
.odslots { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.odslot { display: flex; align-items: center; min-height: 44px; }
.odslot a.odk { display: flex; align-items: center; gap: 8px; flex: 1; min-height: 44px; padding: 0 10px; border-radius: 8px; background: #eef5f6; color: #12424e; font-weight: 600; text-decoration: none; }
.odslot a.odk:hover, .odslot a.odk:focus-visible { background: #dcecee; }
.odslot a.odk small { margin-left: auto; font-weight: 600; color: #4a5a66; font-size: 12px; letter-spacing: .03em; }
.odslot a.odk small + small { margin-left: 8px; }
.odslot.none { color: #626F7B; padding: 0 10px; justify-content: space-between; font-size: 14px; }
.oddraft { color: #9A5200 !important; }
[hidden] { display: none !important; }
/* a deck inside the shell */
.odshow { display: flex; flex-direction: column; height: calc(100dvh - 16px); min-height: 480px; }
.odbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 0 8px; }
.odbar .crumb { margin: 0; flex: 1 1 200px; }
.odframe { position: relative; flex: 1; min-height: 0; background: #fff; border: 1px solid #d9e1e3; border-radius: 10px; overflow: hidden; }
.odframe iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.odframe:fullscreen { border: 0; border-radius: 0; }
.odexit { position: absolute; top: 8px; right: 8px; z-index: 5; }
body.odfull .odframe { position: fixed; inset: 0; z-index: 2000; border: 0; border-radius: 0; }
body.odfull { overflow: hidden; }
@media (max-width: 600px) { .odshow { height: calc(100dvh - 70px); } .odgrid { grid-template-columns: 1fr; } }
