/* v8 GUI fidelity layer */
body{font:12px Tahoma,Arial,sans-serif;min-width:1100px}
input,select,textarea{font:12px Tahoma,Arial,sans-serif;height:19px;padding:0 3px;border:1px solid #8b9db0;background:#fff;border-radius:0}
input:focus,select:focus{outline:0;border-color:#e8a317;box-shadow:inset 0 0 0 1px #f2c45c;background:#fffbea}
input:disabled,input[readonly],select:disabled{background:#e4e9ee!important;color:#222;border-color:#b5c1cc}
input.req,input[required]{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='.5' y='.5' width='11' height='11' fill='%23fff' stroke='%23888'/%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%23000' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") no-repeat 2px center;padding-left:17px}
input[type=checkbox],input[type=radio]{height:13px;width:13px;accent-color:#2a5f99;margin:0 4px 0 0;vertical-align:middle}
.form{gap:2px 24px}.form>div{min-height:21px}.form label{flex:0 0 160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card{border:1px solid #9fb0c0;padding:14px 10px 8px;margin:10px 0 8px}
.card>h3,.card>h4.grp{position:absolute;top:-8px;left:8px;margin:0;padding:0 4px;background:inherit;font-size:12px;font-weight:bold;color:#1a3a5c;background:#e9eef3}
.btn,.at button,.pf button{font:12px Tahoma,Arial;height:21px;background:linear-gradient(#fdfdfd,#dde5ec);border:1px solid #8ea2b6;border-radius:2px;padding:0 8px;cursor:pointer}
.btn:hover,.pf button:hover{background:#d9e8f6;border-color:#4d7aa4}
.f4btn{background:#e1e8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Crect x='1' y='1' width='8' height='8' fill='none' stroke='%23246'/%3E%3Cpath d='M3 4h4M3 6h4' stroke='%23246'/%3E%3C/svg%3E") no-repeat center;color:transparent}
body.busy,body.busy *{cursor:wait!important}
/* status bar */
.sb .i{font-size:11px;padding:0 8px;white-space:nowrap}.sb .m{cursor:default}
.sb .lock{width:16px}.sb .tri{border-left:1px solid #9fb0c0;padding:0 6px;cursor:pointer}
/* SAP-like popups */
.pw{min-width:380px}.pw>.wt{height:22px;font-size:12px}.pb{padding:12px 14px;display:flex;gap:12px;align-items:flex-start}
.pb .pico{flex:0 0 32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:bold 18px Arial;color:#fff}
.pico.q{background:#2a6ebb}.pico.w{background:#e3a21a}.pico.i{background:#2a6ebb}.pico.e{background:#c62828}
.pf{border-top:1px solid #b9c5d1;padding:5px 8px;display:flex;gap:4px;justify-content:flex-start;background:#e3eaf0}
.pop.v8{background:rgba(0,0,0,.08)}
/* context menu */
#ctx{position:fixed;z-index:99;background:#fff;border:1px solid #7f9db9;box-shadow:2px 2px 5px rgba(0,0,0,.3);min-width:190px;padding:2px 0}
#ctx div{padding:3px 20px;white-space:nowrap;cursor:default;display:flex;justify-content:space-between;gap:18px}#ctx div:hover{background:#316ac5;color:#fff}#ctx hr{border:0;border-top:1px solid #ccc;margin:2px 0}
/* session host */
#host{height:100vh;display:flex;flex-direction:column;background:#1d3a57}
#stabs{height:26px;display:flex;align-items:flex-end;gap:2px;padding:0 4px;background:#1d3a57}
#stabs .st{height:22px;padding:0 10px;display:flex;align-items:center;gap:8px;background:#5d7f9f;color:#e8eef4;border-radius:4px 4px 0 0;cursor:pointer;font-size:11px;max-width:260px;white-space:nowrap;overflow:hidden}
#stabs .st.a{background:#dfe6ec;color:#000;font-weight:bold}#stabs .st b{font-weight:normal;opacity:.7}#stabs .st b:hover{opacity:1;color:#c00}
#stabs .nw{color:#fff;cursor:pointer;padding:0 8px;font-size:15px}
#frames{flex:1;position:relative}#frames iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:none}#frames iframe.a{display:block}
/* logon pad */
.lp{display:flex;flex:1;min-height:0;background:#fff}.lp .nav{width:200px;border-right:1px solid #b9c5d1;background:#f3f6f9;padding:6px}
.lp .nav div{padding:3px 6px}.lp .nav .a{background:#c5daf0}.lp .lst{flex:1;display:flex;flex-direction:column}
.lp table{width:100%;border-collapse:collapse}.lp th{background:#e4ebf1;border:1px solid #c4ced8;text-align:left;padding:3px 6px;font-weight:normal}
.lp td{border-bottom:1px solid #eef1f4;padding:3px 6px}.lp tr.sel td{background:#cfe2f7}
.lgn{flex:1;display:flex;gap:30px;padding:30px 40px;background:#dfe6ec}
.lgn .lf{background:#e9eef3;border:1px solid #9fb0c0;padding:18px 16px;width:420px;position:relative;align-self:flex-start}
.lgn .inf{flex:1;max-width:520px;background:#f6f8fa;border:1px solid #c4ced8;padding:14px 18px;font-size:12px;line-height:1.6;color:#234}
.lgn .inf h4{margin:0 0 8px;color:#1a3a5c}
/* easy access */
.tree .x[draggable]{cursor:default}.tree li.drop>.n{outline:1px dashed #316ac5}
.tree .x.sel{background:#316ac5;color:#fff}
.blk td.bs{background:#9cc3ef!important}
/* ===== themes ===== */
body.th-sig #app,body.th-sig .page{background:#d4d0c8}
body.th-sig .wt{background:linear-gradient(#0a246a,#3a6ea5)}
body.th-sig .tb,body.th-sig .mb,body.th-sig .at,body.th-sig .sb{background:#d4d0c8;border-color:#808080}
body.th-sig .tt{background:#d4d0c8;color:#000}body.th-sig .card{background:#d4d0c8;border-color:#808080}
body.th-sig .card>h3,body.th-sig .card>h4.grp{background:#d4d0c8;color:#000}
body.th-sig .btn,body.th-sig .at button{background:#d4d0c8;border:2px outset #fff}
body.th-sig .tabs div{background:#c0bcb4}body.th-sig .tabs div.a{background:#d4d0c8}
body.th-bel #app,body.th-bel .page{background:#f2f2f2}
body.th-bel .wt{background:#354a5f}body.th-bel .mb{background:#fff;border-color:#d9d9d9}
body.th-bel .tb{background:#fafafa;border-color:#d9d9d9}body.th-bel .tt{background:#fff;color:#32363a;font-weight:normal;font-size:16px}
body.th-bel .at{background:#fff;border-color:#e5e5e5}body.th-bel .card{background:#fff;border-color:#d9d9d9}
body.th-bel .card>h3,body.th-bel .card>h4.grp{background:#fff;color:#346187}
body.th-bel .btn,body.th-bel .at button{background:#fff;border-color:#0a6ed1;color:#0a6ed1}
body.th-bel .sb{background:#fff;border-color:#d9d9d9}body.th-bel input:focus{border-color:#0854a0;box-shadow:none;background:#fff}
body.th-qtz #app,body.th-qtz .page{background:#f5f6f7}
body.th-qtz .wt{background:#fff;color:#1d2d3e;border-bottom:1px solid #d9d9d9}body.th-qtz .wt .wb{background:#fff;color:#1d2d3e;border-color:#ccc}
body.th-qtz .mb,body.th-qtz .tb,body.th-qtz .at,body.th-qtz .sb{background:#fff;border-color:#e5e5e5}
body.th-qtz .tt{background:#fff;color:#1d2d3e;font:bold 16px Arial}body.th-qtz .card{background:#fff;border:0;border-radius:12px;box-shadow:0 0 2px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.08)}
body.th-qtz .card>h3,body.th-qtz .card>h4.grp{background:transparent;position:static;margin-bottom:6px}
body.th-qtz .btn,body.th-qtz .at button{background:#fff;border:1px solid #bcc3ca;border-radius:8px;color:#0064d9}
body.th-qtz input{border:0;border-bottom:1px solid #556b82;background:#fff;border-radius:4px}
.tb .btn{white-space:nowrap;height:22px}#lpth{width:180px;margin-right:6px}
table input.req{background-image:none!important;padding-left:3px!important}
