/* Demo Dive Centre. Matches the logbook look (style.css colours), mobile first, light and dark. */
.dcapp{max-width:900px;margin:0 auto;padding:1rem 1rem 6rem}
.dcapp *{box-sizing:border-box}
.dcapp{overflow-wrap:break-word}
.dcdemo{background:#fff4d6;border:1px solid #f0cf72;border-radius:12px;padding:.7rem 1rem;margin:0 0 1rem;font-size:.9rem;color:#5a4410}
.dcwarn{background:#fff4d6;border:1px solid #f0cf72;border-radius:12px;padding:.8rem 1rem;margin:1rem 0;font-size:.93rem}
.dcmsg{background:#eef6ff;border:1px solid #bcd6f3;border-radius:12px;padding:.6rem 1rem;margin:.6rem 0;font-size:.9rem}
.dcact{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .6rem;background:#f3effa;border-radius:12px;padding:.6rem .9rem;margin-bottom:.6rem}
.dcact label{font-weight:700;font-size:.9rem}
.dcact select{font:inherit;font-size:.95rem;padding:.4rem .5rem;border:1px solid #c9cde0;border-radius:9px;background:#fff;max-width:100%}
.dcact small{flex-basis:100%;color:#666;font-size:.78rem}
.dctabs{display:flex;gap:.3rem;overflow-x:auto;margin:.4rem 0 .8rem;padding-bottom:.2rem}
.dctabs a{flex:none;text-decoration:none;color:#11468C;background:#eef1fb;border-radius:999px;padding:.4rem .9rem;font-weight:600;font-size:.9rem}
.dctabs a.on{background:#F21D81;color:#fff}
.dchead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;margin:.6rem 0}
.dchead h2{margin:0;font-size:1.35rem}
.dcsub{margin:1.3rem 0 .4rem;font-size:1.1rem;text-align:left}.dcsub small{font-weight:400;color:#777;font-size:.8rem}
.dccard{display:block;background:#fff;border:1px solid #dde;border-radius:14px;padding:.9rem 1rem;margin:.7rem 0;box-shadow:0 3px 12px rgba(17,70,140,.07);color:inherit}
a.dccard{text-decoration:none}a.dccard:hover{border-color:#F21D81}
.dctrip b,.dctrip span{display:block}.dctrip span{font-size:.88rem;color:#555;margin-top:.15rem}
.dcsum{font-weight:600}
.dcdot{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 .2rem 0 .5rem;vertical-align:0}
.dcdot.green{background:#1fa855}.dcdot.amber{background:#e0a020}.dcdot.red{background:#c62828}
.dcrow{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border-bottom:1px solid #eef0f8;font-size:.92rem}
.dcrow span{color:#555;flex:0 0 auto;max-width:48%}.dcrow b{text-align:right;font-weight:600}
.dcb{display:inline-block;border:0;border-radius:999px;padding:.55rem 1.05rem;font:600 .93rem system-ui,sans-serif;cursor:pointer;background:#11468C;color:#fff;text-decoration:none;min-height:40px;line-height:1.3}
.dcb.pink{background:#F21D81}.dcb.green{background:#1a8f49}.dcb.grey{background:#e6e8f2;color:#222}.dcb.red{background:#c62828}.dcb.sm{padding:.4rem .85rem;font-size:.85rem;min-height:36px}
.dcb:hover{filter:brightness(1.08)}.dcb:focus-visible,.dctabs a:focus-visible{outline:3px solid #F21D81;outline-offset:2px}
.dcbtns{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}
.dcbadge{display:inline-block;border-radius:10px;padding:.3rem .6rem;font-size:.8rem;font-weight:700;line-height:1.3}
.dcbadge.green{background:#e3f6ea;color:#14663a}.dcbadge.amber{background:#fff1d1;color:#7a5200}.dcbadge.red{background:#fde4e4;color:#9e1c1c}
.dcdtop{display:flex;justify-content:space-between;align-items:flex-start;gap:.6rem;flex-wrap:wrap}
.dcdtop b,.dcdtop small{display:block}.dcdtop small{color:#666;font-size:.82rem;margin-top:.15rem}
.dcdtop .dcbadge{max-width:100%}
.dcreasons{margin:.6rem 0;padding-left:1.1rem;font-size:.9rem}
.dcreasons li{margin:.2rem 0}.dcreasons li.hard b{color:#b01e1e}.dcreasons li.advisory b{color:#8a5b00}
.dcreasons small{color:#666}
.dcdec{border-top:1px solid #eef0f8;padding:.5rem 0}
.dcdec>b{display:block;font-size:.9rem}.dcdec>b small{font-weight:400;color:#777}
.dcrec{display:block;font-size:.85rem;margin-top:.1rem}.dcrec.yes{color:#14663a}.dcrec.no{color:#9e1c1c;font-weight:600}.dcrec.none{color:#888}
.dchint{font-size:.82rem;color:#666;margin:.3rem 0}
.dcalt{background:#f6f8fd;border-radius:12px;padding:.6rem .8rem;margin-top:.6rem}
.dcalt>b{display:block;margin-bottom:.3rem}
.dcaltrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;padding:.35rem 0;font-size:.88rem;border-top:1px solid #e6eaf5}
.dcrm{margin-top:.6rem}
.dcconfirm{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.88rem}
.dcform{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.6rem}
.dcform label{display:block;font-size:.85rem;font-weight:600;color:#333}
.dcform input,.dcform select{display:block;width:100%;font:inherit;font-size:1rem;padding:.45rem .55rem;border:1px solid #c9cde0;border-radius:9px;background:#fff;margin-top:.15rem;color:#111}
.dcform .wall{grid-column:1/-1}
.dcform fieldset{border:1px solid #dde;border-radius:12px;padding:.5rem .8rem;margin:0}
.dcform legend{font-weight:700;font-size:.9rem}
.dcform .dcchk{display:flex;gap:.5rem;align-items:center;font-weight:500;padding:.25rem 0}
.dcform .dcchk input{width:20px;height:20px;margin:0;flex:none;accent-color:#F21D81}
.dcform .dcchk small{color:#666;font-weight:400}
.dcadd{align-items:end}
.dcplan{margin-top:.6rem}.dcplan summary{cursor:pointer;font-weight:600;color:#11468C;padding:.3rem 0}
.dcplan .dcform{margin-top:.5rem}
.dchist{list-style:none;padding:0;margin:0;font-size:.85rem}
.dchist li{border-left:3px solid #F21D81;background:#fff;border-radius:0 10px 10px 0;padding:.4rem .7rem;margin:.35rem 0}
.dchist time{color:#666}.dcpv{background:#eef1fb;border-radius:999px;padding:0 .4rem;font-size:.75rem}
.dctrips{margin-top:.5rem;font-size:.88rem;line-height:1.9}
.dcempty{color:#777}
html[data-theme=dark] .dccard,html[data-theme=dark] .dchist li{background:#14183a;border-color:#2a2f5a;color:#e8eaf6}
html[data-theme=dark] .dcrow,html[data-theme=dark] .dcdec{border-color:#2a2f5a}
html[data-theme=dark] .dcrow span,html[data-theme=dark] .dctrip span,html[data-theme=dark] .dcdtop small,html[data-theme=dark] .dchint,html[data-theme=dark] .dcreasons small,html[data-theme=dark] .dchist time,html[data-theme=dark] .dcact small{color:#a7adcf}
html[data-theme=dark] .dcact,html[data-theme=dark] .dcalt{background:#1c2048}
html[data-theme=dark] .dcform label,html[data-theme=dark] .dcform legend{color:#e8eaf6}
html[data-theme=dark] .dcform input,html[data-theme=dark] .dcform select,html[data-theme=dark] .dcact select{background:#0f1230;color:#e8eaf6;border-color:#2a2f5a}
html[data-theme=dark] .dctabs a,html[data-theme=dark] .dcpv{background:#2a2f5a;color:#e8eaf6}html[data-theme=dark] .dctabs a.on{background:#F21D81}
html[data-theme=dark] .dcb.grey{background:#2a2f5a;color:#e8eaf6}
html[data-theme=dark] .dcplan summary{color:#7fb6ff}
html[data-theme=dark] .dcaltrow{border-color:#2a2f5a}
/* Exception & Acknowledgement Record */
.dcbadge.blue{background:#e4effc;color:#11468C}
.dcnotif{background:#fff0f7;border:1px solid #f7b6d5;border-radius:12px;padding:.6rem .9rem;margin-bottom:.6rem;font-size:.9rem}
.dcnotif b{display:block;margin-bottom:.2rem}.dcnotif a{display:block;color:#b0135f;padding:.2rem 0}
.dcdisc{background:#fff8e6;border:1px solid #f0d58f;border-radius:12px;padding:.6rem .8rem;margin-top:.6rem}
.dcdisc small{color:#666;font-weight:400}.dcdisc .dcreasons{margin:.3rem 0}
.dcq{margin:.35rem 0 0;font-size:.88rem}
.dcoutc{margin-top:.6rem;border-top:1px solid #eef0f8;padding-top:.4rem}.dcoutc summary{cursor:pointer;font-weight:600;color:#11468C;padding:.3rem 0}
.dcouts{list-style:none;padding:0;margin:.3rem 0;font-size:.86rem}.dcouts li{background:#f6f8fd;border-radius:10px;padding:.45rem .7rem;margin:.3rem 0}.dcouts small{color:#666}
.dcout{margin-top:.4rem}
html[data-theme=dark] .dcnotif{background:#2a1530;border-color:#6b2a55}html[data-theme=dark] .dcnotif a{color:#ff8cc6}
html[data-theme=dark] .dcdisc{background:#2a2410;border-color:#6b5a20}
html[data-theme=dark] .dcouts li{background:#1c2048}html[data-theme=dark] .dcoutc{border-color:#2a2f5a}html[data-theme=dark] .dcoutc summary{color:#7fb6ff}
html[data-theme=dark] .dcdisc small,html[data-theme=dark] .dcouts small{color:#a7adcf}
html[data-theme=dark] .dcbadge.blue{background:#1c2f55;color:#cfe0ff}
.dcsug{display:inline-block;margin-top:.15rem;color:#14663a;font-size:.86rem}html[data-theme=dark] .dcsug{color:#8fe0b0}
