#app{padding-bottom:92px}
#study-nextbar{position:fixed;bottom:0;left:280px;right:0;z-index:45;display:flex;align-items:center;gap:12px;padding:12px 28px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dce5ed;background:#fffffff5;box-shadow:0 -3px 18px #182f4609;backdrop-filter:blur(8px)}
#study-context{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;font-size:13px}#study-context>span{color:#5a6e80;font-size:12px;overflow-wrap:anywhere}#study-next{min-height:44px}#study-previous{font-size:12px}
#study-impact{padding:8px 28px;background:#fff6e8;color:#785014;font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}#study-impact-fields{display:flex;gap:5px;flex-wrap:wrap}#study-impact button{padding:5px 9px;font-size:12px;background:#fff9ef;color:#785014;border:1px solid #edd6ad;border-radius:20px}
#study-background{width:100%;margin:0;border-radius:0;padding:9px 28px;text-align:left;background:#edf3fc;color:#235684;font-size:12px}
#activity-region:has(>#study-impact:not([hidden])),#activity-region:has(>#study-background:not([hidden])){display:block!important}
#study-context-heading{display:flex;align-items:center;gap:8px;min-width:0}#study-quick-open{padding:5px 8px;min-height:32px;font-size:11px}
.field-error{display:block;color:#a43f20;font-size:12px;margin-top:4px}[aria-invalid=true]{border-color:#b84a2c!important}
.route-editor-open #study-nextbar{display:none}
@media(max-width:680px){#app>header{align-items:flex-start;gap:8px}#app>header>div:first-child{min-width:0;flex:1}#app>header .status{max-width:50%;min-width:0;flex-wrap:wrap;justify-content:flex-end}#app>header .status button{min-width:0;white-space:normal;overflow-wrap:anywhere}#app>header h1{overflow-wrap:anywhere}}
@media(max-width:680px){#study-nextbar{left:0}}
@media(max-width:680px){#app{padding-bottom:140px}#study-nextbar{gap:8px;padding:9px 14px max(9px,env(safe-area-inset-bottom));flex-wrap:wrap}#study-context{flex-basis:100%;font-size:12px;flex-direction:row;flex-wrap:wrap;gap:6px}#study-context>span{font-size:11px}#study-next{flex:1;font-size:13px;padding:11px 14px}#study-previous{font-size:11px;padding:10px 8px}#study-impact{padding:8px 14px}#study-background{padding:9px 14px}}
@media(max-height:500px) and (orientation:landscape){#study-context{flex-basis:auto;flex-direction:column}#study-nextbar{padding-block:6px}#app{padding-bottom:75px}}
