/* 常時表示のボトムナビゲーション */
body{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
.bottom-nav{position:fixed;z-index:1100;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:9px max(12px,env(safe-area-inset-left,12px)) calc(9px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid #d6e7f5;box-shadow:0 -6px 26px rgba(21,76,130,.12);backdrop-filter:blur(14px)}
.bottom-tab{flex:1;max-width:190px;min-height:57px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:transparent;color:#647e99;border:0;border-radius:13px;font-weight:700;font-size:12px;cursor:pointer}
.bottom-tab .tab-icon{font-size:22px;line-height:1.2}
.bottom-tab:hover,.bottom-tab:focus-visible,.bottom-tab.active{background:#eaf5ff;color:#126caa}
.bottom-steps{position:fixed;z-index:1099;bottom:calc(82px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 24px));padding:15px;border:1px solid #cde4f5;border-radius:18px;background:#fff;box-shadow:0 12px 45px #143e6c33}
.bottom-steps[hidden]{display:none}
.bottom-steps-title{font-size:13px;font-weight:800;color:#315a80;margin:0 0 12px}
.bottom-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bottom-step-grid button{background:#f0f7ff;border:1px solid #e0edf8;border-radius:10px;padding:12px 9px;color:#285b85;text-align:left;font-weight:700;cursor:pointer}
.bottom-step-grid button:hover,.bottom-step-grid button:focus-visible{background:#d9efff}
#projectArea,#editor,#taskSection,#ganttSection{scroll-margin-top:18px}
.nav-flash{animation:navFlash 1.2s ease}
@keyframes navFlash{0%{box-shadow:0 0 0 5px #64c6eb7d}100%{box-shadow:0 8px 28px #25559a0b}}
@media(max-width:480px){.bottom-tab{font-size:10px;min-height:54px}.bottom-tab .tab-icon{font-size:20px}.bottom-steps{bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
@media print{.bottom-nav,.bottom-steps{display:none!important}body{padding-bottom:0!important}}
