/* Stand Plan dock: five evenly spaced buttons at the bottom while a plan is shown (2D and 3D) */
#spd{position:fixed;left:0;right:0;bottom:0;z-index:4500;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#0b130de8,#060a07f7);border-top:1px solid #9ccc6555;font-family:var(--cond,system-ui)}
#spd button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;border-radius:12px;border:1.5px solid #9ccc6588;background:#18200f;color:#e8f5c8;padding:4px 2px}
#spd button.on{border-color:#ffd23f}
#spd .spd-i{font-style:normal;font-size:20px;line-height:22px;display:inline-block;transition:transform .3s}
#spd .spd-comp{color:#ff5a7a}#spd .spd-wind{color:#7fd3ff}
#spd small{font-size:11px;font-weight:600;letter-spacing:.04em;white-space:nowrap;overflow:hidden;max-width:100%}
body.spd-on #sp-card{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100vh - 190px);overflow:auto}
body.spd-on .sp-mk .sp-pin span{transition:opacity .2s}body.spd-nolab .sp-mk .sp-pin span{opacity:0}
#spd-pop{position:fixed;z-index:4600;background:#0d160fF7;border:1px solid #9ccc6588;border-radius:12px;padding:8px;color:#eef1e4;box-shadow:0 10px 30px #000c;font-family:var(--cond,system-ui);max-height:60vh;overflow:auto}
#spd-pop b{display:block;font-size:13px;letter-spacing:.14em;color:#c5e1a5;margin:2px 4px 6px}
#spd-pop button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;min-height:42px;background:#ffffff0c;border:1px solid #ffffff1c;border-radius:8px;color:#fff;margin:4px 0;padding:6px 10px;font-size:14px}
#spd-pop .spd-ck{color:#ffd23f;font-size:16px}#spd-pop .spd-now{margin:0 4px 6px;font-size:13px}#spd-pop small{font:600 10px/1 var(--mono,monospace);letter-spacing:.12em;color:#9aa58f;margin:4px}
#spd-pop .spd-ld,#spd-pop .spd-fine{display:block;font-size:12px;color:#9aa58f;margin:4px}
