/* Terraform App: only applies when the site runs as the installed app (html.tf-app) */
.tf-tabs,.tf-sheet,.tf-toast{display:none}
html.tf-app body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
html.tf-app{-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain}
html.tf-app .tf-tabs{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:900;background:#0C0C0C;border-top:1px solid rgba(247,247,247,.16);padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))}
.tf-tabs a,.tf-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:0;margin:0;border:0;background:none;color:#8F8F8F;font:inherit;font-size:10px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer}
.tf-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tf-tabs .on{color:#F7F7F7}
html.tf-app .tf-sheet.open{display:block;position:fixed;inset:0;z-index:950;background:rgba(0,0,0,.55)}
.tf-sheet-in{position:absolute;left:0;right:0;bottom:0;max-height:82vh;overflow:auto;background:#0C0C0C;color:#F7F7F7;border-top:1px solid rgba(247,247,247,.2);padding:10px 20px calc(24px + env(safe-area-inset-bottom,0px))}
.tf-sheet-in h2{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8F8F8F;margin:22px 0 4px;font-weight:500}
.tf-sheet-in a,.tf-sheet-in button{display:block;width:100%;text-align:left;padding:14px 0;border:0;border-bottom:1px solid rgba(247,247,247,.12);background:none;color:#F7F7F7;font:inherit;font-size:17px;text-decoration:none;cursor:pointer}
.tf-grip{width:44px;height:4px;border-radius:2px;background:rgba(247,247,247,.35);margin:2px auto 6px}
html.tf-app .tf-toast.show{display:block;position:fixed;left:16px;right:16px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:960;background:#F7F7F7;color:#0C0C0C;padding:12px 16px;font-size:14px;text-align:center}
html.tf-app .yb-float{bottom:calc(72px + env(safe-area-inset-bottom,0px))}
html.tf-app .tf-near{display:block;width:100%;flex:0 0 100%;text-align:inherit;margin:10px 0 0;padding:6px 0;background:none;border:0;color:inherit;font:inherit;font-size:12px;letter-spacing:.12em;text-transform:uppercase;text-decoration:underline;text-underline-offset:4px;opacity:.85;cursor:pointer}
html.tf-app .tf-near:disabled{opacity:.5;text-decoration:none}
/* Ways to install, shown in a browser only */
.tf-get{margin:18px 0 0;font-size:14px;line-height:1.5;opacity:.9}
.tf-get a{color:inherit;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.tf-bar{position:fixed;left:0;right:0;bottom:0;z-index:890;display:flex;align-items:center;gap:12px;background:#0C0C0C;color:#F7F7F7;border-top:1px solid rgba(247,247,247,.2);padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px)) 16px}
.tf-bar-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.tf-bar-t b{font-size:14px;font-weight:600}
.tf-bar-t span{font-size:12px;line-height:1.35;color:#BDBDBD}
.tf-bar-go{flex:0 0 auto;min-height:40px;display:inline-flex;align-items:center;padding:0 18px;border:0;background:#F7F7F7;color:#0C0C0C;font:inherit;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer}
.tf-bar-x{flex:0 0 auto;width:40px;height:40px;border:0;background:none;color:#F7F7F7;font-size:24px;line-height:1;cursor:pointer}
html.tf-has-bar body{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))}
