/* ===== Thobe ERP interactive demo ===== */
.dm-page{background:#F4F7FA;padding:calc(72px + env(safe-area-inset-top,0px) + 22px) 0 70px}
.dm-crumbs{color:#5B6F86!important}.dm-crumbs a{color:#087FA5!important}
.dm-bar{margin-top:14px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;background:#061B3A;color:#fff;border-radius:16px;padding:14px 18px}
.dm-bar .t{display:flex;gap:12px;align-items:center}
.dm-bar .t b{font-size:18px}
.dm-flag{font-size:12px;font-weight:700;letter-spacing:.3px;padding:4px 10px;border-radius:999px;background:#FFB547;color:#061B3A;white-space:nowrap}
.dm-bar small{display:block;color:rgba(255,255,255,.72);font-size:13px}
.dm-bar .tq-actions{margin:0;gap:10px}
.dm-bar .tq-btn{height:40px;font-size:14px;padding:0 16px}
.dm-shell{margin-top:16px;display:grid;grid-template-columns:270px 1fr;gap:18px;align-items:start}
.dm-steps{list-style:none;background:#fff;border:1px solid #DCE6EF;border-radius:16px;padding:10px;position:sticky;top:calc(84px + env(safe-area-inset-top,0px))}
.dm-steps button{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:10px;border-radius:12px;cursor:pointer;font-size:14.5px;color:#24364B;transition:background .2s}
.dm-steps button:hover{background:#F1F7FA}
.dm-steps button:focus-visible{outline:2px solid #00C2C7}
.dm-steps i{font-style:normal;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#EAF3F8;color:#087FA5;font-weight:700;font-size:13px}
.dm-steps .on{background:#061B3A;color:#fff}.dm-steps .on i{background:#00C2C7;color:#061B3A}
.dm-steps .done i{background:#16A36A;color:#fff}
.dm-steps small{display:block;font-size:12px;opacity:.65}
.dm-prog{height:6px;border-radius:6px;background:#EAF0F6;margin:10px 10px 6px;overflow:hidden}.dm-prog i{display:block;height:100%;background:linear-gradient(90deg,#087FA5,#00C2C7);transition:width .4s}
.dm-app{background:#fff;border:1px solid #DCE6EF;border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(6,27,58,.08);min-width:0}
.dm-top{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#061B3A;color:#BFD3E6;font-size:12.5px}
.dm-top i{width:10px;height:10px;border-radius:50%;background:#FF6159}.dm-top i:nth-child(2){background:#FFBD2E}.dm-top i:nth-child(3){background:#28C840}
.dm-top span{margin-inline-start:auto;direction:ltr}
.dm-body{display:grid;grid-template-columns:190px 1fr;min-height:560px}
.dm-side{background:#0A2140;padding:14px 10px;display:grid;align-content:start;gap:2px}
.dm-side .br{display:flex;gap:8px;align-items:center;color:#fff;font-weight:700;font-size:14px;padding:4px 8px 14px}
.dm-side .br em{width:24px;height:24px;border-radius:7px;background:linear-gradient(135deg,#087FA5,#00C2C7)}
.dm-side span{font-size:13px;color:#9FB5CC;padding:7px 10px;border-radius:8px}
.dm-side span.on{background:#00C2C7;color:#061B3A;font-weight:600}
.dm-main{padding:22px 24px 26px;min-width:0;background:#F7FAFC}
.dm-h{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;justify-content:space-between;margin-bottom:16px}
.dm-h h2{font-size:22px;font-weight:700;color:#061B3A;line-height:1.3}
.dm-h p{font-size:14px;color:#5B6F86}
.dm-tip{display:flex;gap:10px;align-items:flex-start;background:#E3F6F7;border:1px solid rgba(0,194,199,.4);color:#0B4F5E;border-radius:12px;padding:10px 14px;font-size:14px;margin-bottom:16px}
.dm-tip b{color:#061B3A}
.dm-card{background:#fff;border:1px solid #E1E9F1;border-radius:14px;padding:16px}
.dm-card h3{font-size:15px;font-weight:700;color:#061B3A;margin-bottom:10px}
.dm-g2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dm-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dm-g4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.dm-kv{display:grid;gap:8px;font-size:14px}.dm-kv div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #E1E9F1;padding-bottom:6px}.dm-kv span{color:#5B6F86}.dm-kv b{color:#061B3A;font-weight:600}
.dm-avatar{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#061B3A,#087FA5);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:700}
.dm-prof{display:flex;gap:14px;align-items:center}
.dm-prof h3{margin:0;font-size:19px}
.dm-pill{display:inline-block;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:#E3F6F7;color:#087FA5}
.dm-pill.g{background:#E4F8EF;color:#16A36A}.dm-pill.a{background:#FFF4DB;color:#A56C00}.dm-pill.b{background:#EAF0FF;color:#2F5BD3}.dm-pill.r{background:#FFEDEB;color:#C0392B}
.dm-tbl{width:100%;border-collapse:collapse;font-size:13.5px}
.dm-tbl th{text-align:start;font-weight:600;color:#5B6F86;background:#F2F6FA;padding:9px 10px}
.dm-tbl td{padding:10px;border-top:1px solid #EDF2F7;color:#24364B}
.dm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.dm-tabs button,.dm-opt{font:inherit;font-size:13.5px;cursor:pointer;border:1px solid #D5E1EC;background:#fff;color:#24364B;padding:7px 14px;border-radius:999px;transition:all .2s}
.dm-tabs button[aria-pressed="true"],.dm-opt[aria-pressed="true"]{background:#061B3A;border-color:#061B3A;color:#fff}
.dm-meas{display:grid;grid-template-columns:1fr 250px;gap:16px;align-items:start}
.dm-mgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dm-m{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #E1E9F1;border-radius:10px;background:#fff;font-size:14px;cursor:default;transition:border-color .2s,background .2s}
.dm-m span{color:#5B6F86}.dm-m b{color:#061B3A}
.dm-m.hi{border-color:#00C2C7;background:#E9FAFA}
.dm-figure{background:#fff;border:1px solid #E1E9F1;border-radius:14px;padding:10px}
.dm-figure svg{width:100%;height:auto}
.dm-figure .ln{stroke:#CFDCE7;stroke-width:1.6;stroke-dasharray:4 4;transition:stroke .2s}
.dm-figure .ln.hi{stroke:#00C2C7;stroke-dasharray:0;stroke-width:2.6}
.dm-fab{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.dm-fab button{all:unset;box-sizing:border-box;cursor:pointer;border:1.5px solid #E1E9F1;border-radius:12px;background:#fff;padding:10px;display:grid;gap:6px;transition:border-color .2s,box-shadow .2s}
.dm-fab button[aria-pressed="true"]{border-color:#00C2C7;box-shadow:0 0 0 3px rgba(0,194,199,.18)}
.dm-fab .sw{height:46px;border-radius:8px;border:1px solid #E1E9F1}
.dm-fab b{font-size:13.5px;color:#061B3A}.dm-fab small{font-size:12px;color:#5B6F86}
.dm-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 14px}
.dm-row>span{min-width:110px;font-size:13.5px;font-weight:600;color:#061B3A}
.dm-qty{display:inline-flex;align-items:center;border:1px solid #D5E1EC;border-radius:999px;overflow:hidden;background:#fff}
.dm-qty button{all:unset;cursor:pointer;width:34px;height:32px;text-align:center;font-size:18px;color:#061B3A}
.dm-qty b{min-width:30px;text-align:center}
.dm-sum{display:grid;gap:8px;font-size:14px}
.dm-sum div{display:flex;justify-content:space-between}
.dm-sum .tot{border-top:1px solid #E1E9F1;padding-top:10px;font-size:17px;font-weight:700;color:#061B3A}
.dm-btn{font:inherit;cursor:pointer;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:12px;font-size:14.5px;font-weight:600;background:#00C2C7;color:#061B3A;transition:background .2s,transform .2s}
.dm-btn:hover{transform:translateY(-1px);background:#13D3D8}
.dm-btn.nv{background:#061B3A;color:#fff}.dm-btn.nv:hover{background:#0B3157}
.dm-btn.ln{background:#fff;border:1px solid #D5E1EC;color:#061B3A}
.dm-btn[disabled]{opacity:.5;cursor:not-allowed;transform:none}
.dm-board{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:8px;overflow-x:auto;padding-bottom:4px}
.dm-col{background:#EEF3F8;border-radius:12px;padding:8px;min-height:190px}
.dm-col h4{font-size:12.5px;font-weight:700;color:#061B3A;display:flex;justify-content:space-between;margin-bottom:8px}
.dm-col h4 em{font-style:normal;color:#5B6F86}
.dm-tk{background:#fff;border-radius:9px;padding:7px 8px;margin-bottom:6px;font-size:11.5px;border-inline-start:3px solid #CFDCE7;color:#24364B}
.dm-tk b{display:block;font-size:12px;color:#061B3A}
.dm-tk.me{border-inline-start-color:#00C2C7;box-shadow:0 0 0 2px rgba(0,194,199,.5);animation:dmPop .5s}
@keyframes dmPop{from{transform:scale(.9);opacity:.3}to{transform:none;opacity:1}}
.dm-log{list-style:none;display:grid;gap:8px;font-size:13.5px}
.dm-log li{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center}
.dm-log i{width:20px;height:20px;border-radius:50%;background:#E1E9F1}
.dm-log li.ok i{background:#16A36A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.dm-log li.cur i{background:#00C2C7;box-shadow:0 0 0 4px rgba(0,194,199,.25)}
.dm-log small{color:#5B6F86}
.dm-phone{width:270px;max-width:100%;margin-inline:auto;background:#061B3A;border-radius:34px;padding:12px;box-shadow:0 20px 50px rgba(6,27,58,.25)}
.dm-scr{background:#ECE5DD;border-radius:24px;min-height:430px;overflow:hidden;display:flex;flex-direction:column}
.dm-scr.w{background:#fff}
.dm-wa{background:#075E54;color:#fff;padding:12px 14px;font-size:13px;display:flex;gap:10px;align-items:center}
.dm-wa em{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#087FA5,#00C2C7)}
.dm-msg{margin:14px 12px;background:#fff;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.55;color:#111;box-shadow:0 1px 1px rgba(0,0,0,.1);white-space:pre-line}
.dm-msg small{display:block;text-align:end;color:#888;font-size:11px}
.dm-kpi{background:#fff;border:1px solid #E1E9F1;border-radius:12px;padding:12px 14px}
.dm-kpi span{font-size:12.5px;color:#5B6F86}.dm-kpi b{display:block;font-size:24px;color:#061B3A;margin-top:2px}
.dm-kpi em{font-style:normal;font-size:12px;color:#16A36A;font-weight:600}
.dm-bars{display:flex;align-items:flex-end;gap:12px;height:150px;padding-top:10px}
.dm-bars div{flex:1;display:grid;justify-items:center;gap:6px;font-size:11.5px;color:#5B6F86}
.dm-bars i{display:block;width:100%;max-width:46px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#00C2C7,#087FA5);transition:height .6s}
.dm-hbar{display:grid;grid-template-columns:110px 1fr 46px;gap:8px;align-items:center;font-size:13px;margin-bottom:8px}
.dm-hbar i{height:9px;border-radius:9px;background:#EAF0F6;overflow:hidden}.dm-hbar i em{display:block;height:100%;background:#087FA5;border-radius:9px}
.dm-nav{display:flex;justify-content:space-between;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid #E1E9F1}
.dm-toast{position:fixed;inset-inline:0;bottom:24px;margin-inline:auto;width:max-content;max-width:calc(100% - 32px);z-index:90;background:#061B3A;color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;box-shadow:0 14px 40px rgba(0,0,0,.25);opacity:0;transform:translateY(10px);transition:all .3s;pointer-events:none}
.dm-toast.on{opacity:1;transform:none}
.dm-concept{border:1.5px dashed #FFB547;background:#FFFBF2;border-radius:14px;padding:14px 16px;font-size:13.5px;color:#5B4A1E}
.dm-concept b{color:#7A5300}
.dm-concept ul{margin:8px 0 0;padding-inline-start:18px;display:grid;gap:4px}
.dm-otp{display:flex;gap:8px;justify-content:center;direction:ltr}
.dm-otp input{width:42px;height:48px;text-align:center;font-size:20px;border:1px solid #D5E1EC;border-radius:10px}
.dm-in{font:inherit;width:100%;padding:11px 12px;border:1px solid #D5E1EC;border-radius:10px;font-size:14px;direction:ltr}
.dm-end{text-align:center;padding:26px 10px}
.dm-end h2{font-size:26px;color:#061B3A;font-weight:700}
.dm-end p{color:#5B6F86;margin:8px auto 18px;max-width:52ch}
.dm-end .tq-actions{justify-content:center}
@media (max-width:1100px){.dm-body{grid-template-columns:1fr}.dm-side{display:none}.dm-meas{grid-template-columns:1fr}.dm-figure{max-width:300px;margin-inline:auto}}
@media (max-width:900px){.dm-shell{grid-template-columns:1fr}.dm-steps{position:static;display:flex;overflow-x:auto;gap:6px;padding:8px}.dm-steps li{flex:none}.dm-steps button{grid-template-columns:30px auto;white-space:nowrap}.dm-steps small{display:none}.dm-prog{display:none}.dm-g4{grid-template-columns:1fr 1fr}.dm-g3{grid-template-columns:1fr}}
@media (max-width:640px){.dm-g2{grid-template-columns:1fr}.dm-fab{grid-template-columns:1fr 1fr}.dm-main{padding:16px 14px}.dm-mgrid{grid-template-columns:1fr}.dm-bar .tq-actions{width:100%}.dm-bar .tq-btn{flex:1}}
body:has(.dm-page) .wa-float{display:none}
