/* PDA presentation only. Employee permissions remain server-authoritative. */
:root{--pw-css-ready:1}
#pda-header,#pda-home,#pda-page-tools{display:none}
.pda-workspace{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#263e3b;background:#f4f7f7;letter-spacing:0}
.pda-workspace button,.pda-workspace input{font:inherit;letter-spacing:0}
.pda-workspace #main-container{top:56px!important;bottom:0!important;height:calc(var(--pw-viewport-height,100%) - 56px)!important;background:#fff}
.pda-workspace #iframe-wrapper{top:0!important;bottom:0!important}
.pda-workspace.pw-business #iframe-wrapper{bottom:48px!important}
.pda-workspace.pw-keyboard #iframe-wrapper{bottom:0!important}
.pda-workspace.pw-keyboard #pda-page-tools{display:none}
.pda-workspace #tab-bar,.pda-workspace #tab-menu,.pda-workspace .desktop-managed-setting{display:none!important}
.pda-workspace #pda-header{display:flex;align-items:center;gap:4px;position:fixed;top:0;left:0;right:0;height:56px;box-sizing:border-box;padding:4px 8px;background:#fff;border-bottom:1px solid #dce7e5;z-index:110}
.pw-identity{flex:1;min-width:0;margin:0 6px}.pw-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:22px}.pw-identity small{display:block;font-size:12px;line-height:18px;color:#536a65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pw-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;flex:none;padding:10px;border:0;border-radius:6px;background:transparent;color:#46625c;cursor:pointer}
.pw-icon svg{width:21px;height:21px;stroke-width:1.8}
.pda-workspace #pda-home{display:block;position:absolute;inset:0;z-index:3;overflow:auto;box-sizing:border-box;padding:16px 14px 28px;background:#f4f7f7;scrollbar-color:#a3bab5 transparent;overscroll-behavior:contain}
.pda-workspace #pda-home[hidden],.pda-workspace #pda-page-tools[hidden]{display:none}
.pw-heading h1{font-size:20px;line-height:28px;margin:0 0 14px;font-weight:600}
.pw-search{display:flex;align-items:center;gap:8px;box-sizing:border-box;border:1px solid #c5d7d3;background:#fff;border-radius:6px;height:46px;padding:0 12px;color:#536a65;margin-bottom:16px}
.pw-search svg{width:20px;height:20px;flex:none}.pw-search input{height:44px;min-width:0;flex:1;border:0;background:transparent;outline:0;color:#263e3b;caret-color:#2f8f85;font-size:16px}.pw-search input::placeholder{color:#536a65}.pw-search:focus-within{outline:2px solid #2f8f85;outline-offset:1px}
.pw-modes{display:flex;gap:16px;margin-bottom:6px;border-bottom:1px solid #dce7e5}.pw-modes button{border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 4px;min-height:44px;color:#536a65;font-size:16px;cursor:pointer}.pw-modes button[aria-selected="true"]{color:#236d65;border-bottom-color:#2f8f85;font-weight:600}
.pw-menu-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;box-sizing:border-box;padding:12px 6px;border:0;border-bottom:1px solid #dce7e5;background:transparent;text-align:left;color:#263e3b;cursor:pointer}
.pw-menu-row>img,.pw-menu-row>svg{flex:none;width:24px;height:24px;object-fit:contain}.pw-menu-row>span{flex:1;min-width:0;font-size:17px;line-height:24px;overflow-wrap:anywhere}.pw-menu-row>small{font-size:12px;color:#536a65;flex:none}.pw-menu-row>svg:last-child{width:18px;height:18px;color:#536a65}.pw-menu-row:active,.pw-icon:active{background:#e0eeeb}
.pw-state{padding:18px 4px;color:#536a65;font-size:16px;line-height:1.7}.pw-error{color:#9d3850}.pw-state button{display:block;min-height:44px;margin-top:12px;border:1px solid #c5d7d3;border-radius:6px;background:#fff;color:#236d65;padding:8px 16px}
.pda-workspace #pda-page-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;position:fixed;top:calc(var(--pw-viewport-height,100%) - 48px);left:0;right:0;height:48px;box-sizing:border-box;padding:2px 10px;background:#fff;border-top:1px solid #dce7e5;z-index:110}
#pda-page-tools>button:not(.pw-icon){display:inline-flex;align-items:center;gap:6px;flex:none;min-height:44px;border:0;background:transparent;color:#236d65;font-size:16px;padding:6px 8px}#pda-page-tools>button svg{width:20px;height:20px}#pda-load-status{font-size:13px;line-height:18px;color:#536a65;min-width:0;text-align:center}
.pw-confirm-mask{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(22,43,38,.38);z-index:11900;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#263e3b}.pw-confirm{box-sizing:border-box;width:400px;max-width:100%;max-height:90%;overflow:auto;padding:20px;background:#fff;border-radius:8px;box-shadow:0 12px 40px rgba(22,43,38,.18)}.pw-confirm h2{font-size:18px;line-height:26px;margin:0 0 12px}.pw-confirm p{margin:0 0 20px;color:#536a65;overflow-wrap:anywhere}.pw-confirm>div{display:flex;gap:12px}.pw-confirm button{flex:1;min-height:46px;border:0;border-radius:6px;background:#edf3f1;color:#263e3b;font:inherit;cursor:pointer}.pw-confirm button.pw-primary{background:#2f8f85;color:#fff}
.pda-workspace button:disabled{opacity:.5;cursor:wait}.pda-workspace button:focus-visible,.pw-confirm button:focus-visible{outline:2px solid #236d65;outline-offset:-2px}.pda-workspace ::selection{background:#d4ebe6;color:#263e3b}
@media(min-width:600px){.pda-workspace #pda-home{padding-left:24px;padding-right:24px}.pw-menu-row{min-height:58px}}
@media(prefers-reduced-motion:reduce){.pda-workspace *{scroll-behavior:auto!important}}
