.ak-worker-switch{display:inline-flex;margin:0}.ak-worker-btn{border:1px solid #bd9f76;background:#263b31;color:#f5e4cf;cursor:pointer;padding:.65rem .9rem;border-radius:30px;font:inherit}.ak-worker-btn:hover,.ak-worker-btn:focus-visible{background:#4a3936;outline:2px solid #bfaa80}
.ak-worker-surface{background:linear-gradient(125deg,#dac2a4,#f4e5d2);color:#342923;border:1px solid #a78363;border-radius:16px;padding:18px 22px;margin:1rem auto;box-shadow:0 7px 22px #210b1530}.ak-worker-surface p{margin:.3rem 0 1rem}.ak-worker-surface small{font-size:.8rem;font-weight:400}.ak-worker-tabs{display:flex;gap:10px;flex-wrap:wrap}.ak-worker-tabs a{padding:8px 12px;background:#fbf5ec;border:1px solid #ac8d77;border-radius:10px;color:#49342f;text-decoration:none;font-size:.92rem}.ak-worker-tabs a:hover,.ak-worker-tabs a:focus-visible{background:#274339;color:#fff}
.ak-worker-inline-price{border:1px solid #9c785b;background:#ebd4b8;color:#2e2825;border-radius:8px;font:inherit;font-size:.77rem;cursor:pointer;padding:4px 9px;margin-left:8px}.ak-worker-inline-price:hover{background:#d8b89c}
.ak-worker-dialog{width:min(94vw,520px);max-height:90vh;overflow-y:auto;border:1px solid #b4977f;border-radius:20px;box-shadow:0 30px 90px #06060780;background:#f1e0c9;color:#2c2826;padding:22px}.ak-worker-dialog::backdrop{background:#0a1517bf}.ak-worker-price-form{display:grid;gap:14px}.ak-worker-price-form label{display:grid;gap:5px}.ak-worker-price-form input{background:#fffdf9;color:#2b2926;padding:10px;border-radius:8px;border:1px solid #a88f7a}.ak-worker-dialog-actions{display:flex;justify-content:flex-end;gap:12px}.ak-worker-dialog-actions button{cursor:pointer;background:#263d34;color:#fff;border:0;padding:10px 18px;border-radius:8px}
.ak-worker-drawer{position:fixed;z-index:9998;inset:0;background:#111b1bdc;overflow-y:auto;padding:3vh 3vw}.ak-worker-drawer-inner{position:relative;background:#e7cfaf;color:#292522;margin:auto;max-width:1180px;border-radius:15px;padding:20px}.ak-worker-close{position:sticky;top:0;float:right;font-size:2rem;line-height:1;text-decoration:none;border:1px solid #99795f;border-radius:9px;padding:.1rem .5rem;color:#242120;background:#f9e8d2;z-index:1}.ak-worker-drawer .ak-staff-console{background:transparent!important}.ak-worker-drawer .ak-staff-console>header{display:none}.ak-worker-drawer .ak-staff-kind-tabs{display:none}.ak-worker-drawer .ak-staff-integration{display:none}.ak-worker-drawer label{display:block;margin:10px 0}.ak-worker-drawer input,.ak-worker-drawer textarea,.ak-worker-drawer select{max-width:100%;color:#2b2520;background:#fffbf6}.ak-worker-drawer button{cursor:pointer}.ak-worker-drawer .ak-staff-manage{max-height:55vh;overflow:auto}
@media (max-width:760px){.ak-worker-surface{margin:.6rem 0;padding:12px}.ak-worker-tabs a{font-size:.85rem}.ak-worker-drawer{padding:6px}.ak-worker-drawer-inner{padding:12px}}
.ak-health-preview{padding:22px 24px;background:#e6cbb3;color:#362921;border-radius:18px;border:1px solid #a7806d;margin:2rem 0;box-shadow:0 10px 35px #1b07131d}.ak-health-intro h2{font-size:clamp(1.3rem,3vw,2.1rem);color:#352924}.ak-health-preview .ak-health-warning{font-weight:600}.ak-health-preview a{color:#364c3d;text-decoration:underline}.ak-health-preview ol{padding-left:1.4rem}.ak-health-preview li{padding:9px 0;border-bottom:1px solid #b2927b}.ak-health-preview li span{display:block;font-size:.83rem;opacity:.8}.ak-health-preview summary{cursor:pointer;font-weight:600;padding:15px 0}.ak-code-generator{background:#e4c9a9;padding:1rem 2rem;color:#312b25}.ak-code-generator select{display:block;max-width:100%;padding:10px;border-radius:8px}.ak-code-generator label{display:block}.ak-code-generator code{overflow-wrap:anywhere;display:inline-block;margin:10px 0;padding:10px;background:#fff8ee;color:#29362e}.ak-code-generator button{background:#214038;color:#fff;border:0;border-radius:9px;padding:.8rem 1.2rem}.ak-wallet-history summary{cursor:pointer;font-weight:600}
/* ALTERKIN v1.2 — contextual staff controls */
.ak-worker-primary{display:inline-flex;align-items:center;justify-content:center;margin:.25rem .4rem .5rem 0;padding:.72rem 1.12rem;background:#214139!important;color:#fffaf0!important;border:1px solid #8f785e;border-radius:14px;text-decoration:none!important;font-weight:700;line-height:1.3;cursor:pointer;box-shadow:0 5px 16px #1d29252a}
.ak-worker-primary:hover,.ak-worker-primary:focus-visible{background:#4d3038!important;outline:2px solid #e7c9a5}
.ak-worker-secondary{background:#f7ede0!important;color:#332d29!important}
.ak-worker-more{margin-top:.65rem}.ak-worker-more>summary{cursor:pointer;font-weight:650}.ak-worker-more .ak-worker-tabs{padding-top:.8rem}
.ak-worker-edit-inline{display:inline-flex;margin:.4rem 0;padding:.35rem .65rem;background:#ead0ad;color:#28372e;border-radius:12px;text-decoration:none;font-size:.85rem;font-weight:700}
.ak-i18n-editor{margin:12px 0;padding:14px;border:1px solid #b89d81;border-radius:12px;background:#f5e9d8}.ak-i18n-editor>summary{font-weight:700;cursor:pointer}.ak-i18n-editor fieldset{border:1px solid #d3bda6;margin:.7rem 0;padding:12px;border-radius:10px}.ak-i18n-editor legend{font-weight:750}
.ak-worker-delete-form{display:inline-flex;margin:.5rem 0}.ak-worker-delete-form button{border:1px solid #ae7d70;background:#fcf1e9;color:#703c3d;padding:.35rem .65rem;border-radius:9px;cursor:pointer}
.ak-worker-builtins{border:1px solid #a98866;padding:20px;border-radius:14px;background:#f4e5d2}.ak-worker-builtins-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border-bottom:1px solid #bc9f85}.ak-worker-builtins-row span{overflow-wrap:anywhere}.ak-worker-builtins-row button{white-space:nowrap;background:#304a3c;color:#fff;border:0;border-radius:8px;padding:8px 12px;cursor:pointer}
@media(max-width:640px){.ak-worker-primary{display:flex;width:100%}.ak-worker-builtins-row{flex-direction:column;align-items:stretch}.ak-worker-drawer-inner{width:100%}}
