html,body{height:100%;overflow:hidden}.preview,.app{height:100dvh;min-height:0}.workspace{display:flex;flex-direction:column;min-height:0;min-width:0;height:100dvh;overflow:hidden}.sidebar{height:100dvh;overflow:auto}.topbar,.app-footer{flex-shrink:0}#main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-footer{flex-wrap:wrap;padding:8px 0;gap:8px}#install-hint{max-width:380px;font-size:11px}.login-wrap{height:100dvh;min-height:0;overflow:auto}#detail-dialog{max-height:calc(100dvh - 32px);overflow:hidden;padding:0}#detail-dialog[open]{display:flex;flex-direction:column}#dialog-content{padding:20px 24px;overflow:auto;min-height:0;overscroll-behavior:contain;scroll-padding-bottom:84px}.dialog-head{position:relative;top:auto;flex-shrink:0;padding:12px 24px;margin:0;background:var(--surface);border-bottom:1px solid var(--line);z-index:3}.op-board{align-items:stretch}.op-column{max-height:65dvh;overflow:auto;min-height:0}.table-scroll{max-height:60dvh}.table-scroll th{position:sticky;top:0}.bounded-pagination{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 0;margin:8px 0;font-size:11px;color:var(--muted)}.bounded-pagination button{font-size:11px}.op-timeline li{white-space:pre-wrap;overflow-wrap:anywhere}.mail-list,.mail-body{max-height:65dvh}.op-case p,.op-next{overflow-wrap:anywhere}
@container panel (max-width:540px){.app{height:100dvh;min-height:0}.workspace{height:100dvh;flex:none;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.sidebar{position:fixed;top:auto;bottom:0;height:auto;padding-bottom:env(safe-area-inset-bottom)}.app-footer{margin:0 18px;align-items:flex-start;flex-direction:row;font-size:9px}.app-footer>span:nth-child(2){display:none}#main{padding:18px 14px}.mail-list,.mail-body{max-height:60dvh}.op-column{max-height:60dvh}#install-app{padding:7px 10px;font-size:11px}}
