#horn-mobile-nav,#horn-mobile-mode,#horn-sheet-backdrop,.hm-panel-close{display:none}
@media(max-width:800px),(pointer:coarse){html.horn-mobile-ui{--horn-bar-height:48px;--hm-bottom:calc(60px + env(safe-area-inset-bottom))}.horn-mobile-ui #webbar{height:calc(48px + env(safe-area-inset-top))!important;grid-template-rows:48px!important;padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))!important}.horn-mobile-ui .web-actions{width:100%;overflow:visible;gap:8px}.horn-mobile-ui .web-actions>*{display:none!important}.horn-mobile-ui .web-actions>strong,.horn-mobile-ui .web-actions>[data-web=undo],.horn-mobile-ui .web-actions>#horn-mobile-mode,.horn-mobile-ui .web-actions>button:last-child{display:inline-flex!important}.horn-mobile-ui .web-actions>strong{font-size:16px!important;margin-right:auto}.horn-mobile-ui #webbar button,.horn-mobile-ui #horn-mobile-mode{height:44px;min-height:44px!important;background:transparent;border:1px solid #ffffff40;border-radius:7px;font-size:15px;padding:4px 10px;color:inherit}.horn-mobile-ui #horn-mobile-mode option{color:#24212c;background:#fff}.horn-mobile-ui #webbar #web-status{display:none!important}
html.horn-mobile-ui body[data-workspace] #app,html.horn-mobile-ui body #app{height:calc(var(--horn-viewport-height) - 48px - env(safe-area-inset-top) - var(--hm-bottom))!important;grid-template-rows:0 0 auto 0 minmax(0,1fr) 0 auto 0!important}.horn-mobile-ui #titlebar,.horn-mobile-ui #menubar,.horn-mobile-ui #statusbar,.horn-mobile-ui #osnapbar{display:none!important}.horn-mobile-ui #app>.hp-shell[data-panel-id=toolbar]:not(.hp-floating){display:none!important}.horn-mobile-ui #main,.horn-mobile-ui #main.hp-left-away,.horn-mobile-ui #main.hp-right-away{grid-template-columns:minmax(0,1fr)!important}.horn-mobile-ui #main #vpwrap{grid-column:1!important}.horn-mobile-ui #main>.hp-shell:not(.hp-floating){display:none!important}.horn-mobile-ui #vptabs{height:30px;min-height:30px;padding:0 3px}.horn-mobile-ui #vptabs>*{min-height:28px;font-size:12px}.horn-mobile-ui #cmdarea,.horn-mobile-ui #workspace-task{display:none!important}.horn-mobile-ui.hm-command-open body[data-workspace="rhino"] #cmdarea,.horn-mobile-ui.hm-command-active body[data-workspace="rhino"] #cmdarea{display:block!important;max-height:100px;overflow:auto}.horn-mobile-ui.hm-command-open body:not([data-workspace="rhino"]) #workspace-task,.horn-mobile-ui.hm-command-active body:not([data-workspace="rhino"]) #workspace-task{display:flex!important;min-height:44px;max-height:100px;flex-wrap:wrap;overflow:auto}.horn-mobile-ui #cmdinput,.horn-mobile-ui #workspace-measurements{font-size:16px;min-height:40px;min-width:80px}.horn-mobile-ui #cmdline{min-height:44px;flex-wrap:wrap;max-height:none}.horn-mobile-ui #cmdprompt{max-width:100%;font-size:12px}.horn-mobile-ui #cmdopts{flex-wrap:wrap}.horn-mobile-ui #cmdopts button{min-height:36px}.horn-mobile-ui #cmdac{position:fixed;top:100px;left:0;right:0;max-height:40vh;overflow:auto}
#horn-mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;height:var(--hm-bottom);padding:3px max(5px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(5px,env(safe-area-inset-left));background:#fbfafc;color:#51485e;border-top:1px solid #d6cfe0;z-index:20002}#horn-mobile-nav button{border:0;background:transparent;color:inherit;font:11px Arial,sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:9px;min-height:48px;cursor:pointer}#horn-mobile-nav button[aria-current=page]{background:#eee4f8;color:#65329b;font-weight:700}#horn-mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}#horn-mobile-nav button:focus-visible{outline:2px solid #65329b;outline-offset:-2px}
#horn-sheet-backdrop:not([hidden]){display:block;position:fixed;inset:calc(48px + env(safe-area-inset-top)) 0 var(--hm-bottom);background:#17102445;z-index:19000}.horn-mobile-ui .hp-shell.hp-floating:not([hidden]){display:flex!important;flex-direction:column;position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:var(--hm-bottom)!important;width:100%!important;max-width:100%!important;height:min(76vh,calc(var(--horn-viewport-height) - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))!important;min-height:0!important;transform:none!important;border-radius:16px 16px 0 0!important;border:1px solid #ccc2da!important;z-index:20000!important;overflow:hidden!important;box-shadow:0 -10px 40px #0002}.horn-mobile-ui .hp-shell.hp-floating[data-panel-id=creative-office]:not([hidden]){height:calc(var(--horn-viewport-height) - 48px - env(safe-area-inset-top) - var(--hm-bottom))!important}.horn-mobile-ui .hp-shell.hp-floating>.hp-title{height:48px!important;min-height:48px!important;padding:0 10px 0 16px;touch-action:auto;cursor:default;background:#65329b;color:#fff;font:14px Arial,sans-serif}.horn-mobile-ui .hp-title .hp-actions,.horn-mobile-ui .hp-resize{display:none!important}.horn-mobile-ui .hm-panel-close{display:block;min-width:44px;height:44px;margin-left:auto;background:transparent;color:#fff;border:0;border-radius:7px;font-size:28px;cursor:pointer}.horn-mobile-ui .hp-floating>.hp-body{display:block!important;flex:1;overflow:auto!important;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.horn-mobile-ui .hp-floating button,.horn-mobile-ui .hp-floating select,.horn-mobile-ui .hp-floating input:not([type=checkbox]):not([type=color]){min-height:44px;font-size:16px}.horn-mobile-ui .hp-floating textarea{font-size:16px}.horn-mobile-ui .hp-floating input[type=checkbox]{width:20px;height:20px}.horn-mobile-ui .hp-floating[hidden]{display:none!important}
#horn-mobile-tools{padding:12px;font:14px/1.5 Arial,sans-serif;background:var(--paper);color:var(--ink)}#horn-mobile-tools h3{font-size:12px;letter-spacing:.05em;color:var(--ink-2);margin:12px 0 8px}.hm-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#horn-mobile-tools button{border:1px solid var(--edge);background:var(--paper);color:var(--ink);padding:8px;border-radius:8px;cursor:pointer;text-align:left;min-height:44px}#horn-mobile-tools>button{margin:5px 3px 5px 0}.hm-snaps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}.hm-snaps label{display:flex;align-items:center;gap:7px;min-height:44px;font-size:13px;border:1px solid var(--edge);padding:6px;border-radius:7px}#horn-more-actions{padding:12px;gap:7px}.horn-mobile-ui #web-help{top:calc(58px + env(safe-area-inset-top));max-height:calc(var(--horn-viewport-height) - 140px)}
}
@media(max-width:800px) and (max-height:500px),(pointer:coarse) and (max-height:500px){html.horn-mobile-ui{--hm-bottom:calc(48px + env(safe-area-inset-bottom))}#horn-mobile-nav{padding-top:0}#horn-mobile-nav button{min-height:44px;flex-direction:row;gap:6px}.horn-mobile-ui .hp-shell.hp-floating:not([hidden]){height:calc(var(--horn-viewport-height) - 104px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}}
