.emplmasy-root{--ink:#1d2327;--muted:#646970;--line:#dcdcde;--brand:#2563eb;--bad:#b32d2e;--ok:#1a7f37;max-width:1100px;margin:0 auto;padding:12px;color:var(--ink);font-size:16px;line-height:1.45}
.emplmasy-root *{box-sizing:border-box}
.emplmasy-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0 12px;flex-wrap:wrap}
.emplmasy-muted{color:var(--muted)}
.emplmasy-error{color:var(--bad)}
.emplmasy-link{color:var(--brand)}
.emplmasy-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:16px}
.emplmasy-tab{background:none;border:0;border-bottom:3px solid transparent;padding:10px 14px;font:inherit;cursor:pointer;color:var(--muted)}
.emplmasy-tab.active{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}
.emplmasy-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:16px}
.emplmasy-card h3{margin:0 0 10px;font-size:1.05rem}
.emplmasy-card-head{display:flex;justify-content:space-between;align-items:center}
.emplmasy-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px}
.emplmasy-card .emplmasy-stats{margin-bottom:0}
.emplmasy-stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}
.emplmasy-stat .n{font-size:1.6rem;font-weight:700}
.emplmasy-stat .l{color:var(--muted);font-size:.85rem}
.emplmasy-tablewrap{overflow-x:auto;margin-bottom:12px}
.emplmasy-table{width:100%;border-collapse:collapse}
.emplmasy-table th,.emplmasy-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:middle}
.emplmasy-table th{font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}
.emplmasy-table td.wide{width:30%}
.emplmasy-table .actions,.emplmasy-list .actions{display:flex;gap:6px;flex-wrap:wrap}
.emplmasy-btn{font:inherit;border:1px solid var(--line);background:#f6f7f7;border-radius:8px;padding:8px 14px;cursor:pointer;color:var(--ink);margin:2px 0}
.emplmasy-btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}
.emplmasy-btn.danger{background:#fff;border-color:var(--bad);color:var(--bad)}
.emplmasy-btn.ghost{background:#fff}
.emplmasy-btn.small{padding:4px 10px;font-size:.88rem}
.emplmasy-btn.big{font-size:1.25rem;padding:16px 40px}
.emplmasy-btn:focus-visible,.emplmasy-tab:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.emplmasy-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.emplmasy-field{display:flex;flex-direction:column;gap:4px}
.emplmasy-field span{font-size:.88rem;font-weight:600}
.emplmasy-field small{color:var(--muted)}
.emplmasy-field input,.emplmasy-field select,.emplmasy-field textarea,.emplmasy-inline input{font:inherit;padding:8px;border:1px solid #8c8f94;border-radius:6px;width:100%}
.emplmasy-check,.emplmasy-actions{grid-column:1/-1}
.emplmasy-actions{display:flex;gap:10px;flex-wrap:wrap}
.emplmasy-inline{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.emplmasy-inline input{flex:1;min-width:140px;width:auto}
.emplmasy-list{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.emplmasy-list.off{opacity:.6}
.emplmasy-pill{display:inline-block;padding:1px 10px;border-radius:999px;font-size:.8rem;background:#eee;margin-left:6px}
.emplmasy-pill.active{background:#dcfce7;color:var(--ok)}
.emplmasy-pill.blocked,.emplmasy-pill.suspended{background:#fee2e2;color:var(--bad)}
.emplmasy-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#c3c4c7;margin-right:8px}
.emplmasy-dot.on{background:#22c55e}
.emplmasy-bar{background:#e5e7eb;border-radius:999px;height:10px;overflow:hidden;min-width:80px;flex:1}
.emplmasy-bar span{display:block;height:100%;background:var(--brand)}
.emplmasy-hrow{display:flex;gap:10px;align-items:center;margin:6px 0}
.emplmasy-hrow span:first-child{width:70px}.emplmasy-hrow span:last-child{width:110px;text-align:right}
.emplmasy-clock{text-align:center;padding:8px}
.emplmasy-clock-time{font-size:1.6rem;font-weight:700;margin-bottom:6px}
.emplmasy-task{display:flex;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line);cursor:pointer;font-size:1.05rem}
.emplmasy-task input{width:22px;height:22px}
.emplmasy-task.done span{text-decoration:line-through;color:var(--muted)}
.emplmasy-note{padding:8px 0;border-bottom:1px solid var(--line)}
.emplmasy-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:100000;display:flex;align-items:flex-start;justify-content:center;padding:24px 12px;overflow:auto}
.emplmasy-modal{background:#fff;border-radius:12px;padding:18px;width:100%;max-width:820px;color:#1d2327;font-size:16px}
.emplmasy-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.emplmasy-modal-head h3{margin:0}
.emplmasy-x{border:0;background:none;font-size:1.8rem;cursor:pointer;line-height:1}
.emplmasy-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#1d2327;color:#fff;padding:10px 18px;border-radius:8px;z-index:100001;opacity:0;pointer-events:none;transition:opacity .2s}
.emplmasy-toast.show{opacity:1}.emplmasy-toast.bad{background:var(--bad)}
@media (max-width:600px){.emplmasy-tab{padding:8px 10px}.emplmasy-table td.wide{display:none}}
.emplmasy-testbanner{background:#fee2e2;color:#7f1d1d;border:2px solid #b32d2e;border-radius:8px;padding:10px 14px;margin-bottom:14px;font-weight:600}
.emplmasy-okbanner{background:#dcfce7;color:#14532d;border:1px solid #1a7f37;border-radius:8px;padding:10px 14px;margin-bottom:14px}
.emplmasy-pre{white-space:pre-wrap;word-break:break-word;background:#f6f7f7;border:1px solid var(--line);border-radius:8px;padding:12px}
.emplmasy-scroll{max-height:220px;overflow:auto}
.emplmasy-iframe{width:100%;height:600px;border:1px solid var(--line);border-radius:8px}
.emplmasy-recip{margin:6px 0}

.emplmasy-brandmark{display:inline-flex;align-items:center;gap:10px}
.emplmasy-logo{max-height:36px;max-width:160px;height:auto;width:auto}
.emplmasy-footer{margin-top:24px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:.85rem;text-align:center}
.emplmasy-footer a{color:var(--brand)}
