.creavibc-staff-page{max-width:1200px;margin:28px 24px 28px 4px;color:#20232c}
.creavibc-staff-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.creavibc-staff-heading h1{font-weight:650}.creavibc-staff-heading p{color:#646976;max-width:680px;line-height:1.6}
.creavibc-staff-table{border:1px solid #e2e5ec;border-radius:14px;overflow:auto;background:#fff}
.creavibc-staff-table table{border:0;box-shadow:none}.creavibc-staff-table th,.creavibc-staff-table td{padding:18px;vertical-align:middle}
/* Match the service editor's light panels, field rhythm and indigo actions. */
.creavibc-staff-source{box-sizing:border-box;container-type:inline-size;border:1px solid #eaecf8;background:#f6f7ff;border-radius:12px;padding:18px;margin-bottom:24px;color:var(--cbs-text,#111827)}
.creavibc-staff-source-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.creavibc-staff-source-heading>div{min-width:0}
.creavibc-staff-source-heading label,.creavibc-staff-name label{display:block;font-weight:700;margin:0 0 4px;font-size:13px;line-height:1.5}
.creavibc-staff-source-heading p{margin:0;font-size:12px;line-height:1.6;color:var(--cbs-muted,#6b7280)}
.creavibc-staff-source-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #e4e5fa;border-radius:10px;background:#fff;color:var(--cbs-accent,#4a46e5)}
.creavibc-staff-source-icon svg{width:20px;height:20px}
.creavibc-staff-source-row{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.creavibc-staff-source-row select{flex:1 1 240px;min-width:0}
#creavibc_available_days .creavibc-staff-source select{box-sizing:border-box;max-width:100%;height:42px!important;min-height:42px!important;margin:0!important;padding:8px 32px 8px 12px!important;border:1px solid #dfe1ee!important;border-radius:9px!important;background-color:#fff!important;color:var(--cbs-text,#111827);font-size:13px!important;line-height:24px!important;box-shadow:none!important;text-overflow:ellipsis}
.creavibc-staff-source .button,.creavibc-staff-heading .creavibc-staff-create{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:42px;margin:0;padding:9px 15px;border:1px solid #d7d5f7;border-radius:9px;background:#fff;color:var(--cbs-accent,#4a46e5);font-size:13px;font-weight:600;line-height:22px;text-decoration:none;box-shadow:none;white-space:normal;text-align:center;cursor:pointer}
.creavibc-staff-source .button:hover:not(:disabled),.creavibc-staff-heading .creavibc-staff-create:hover{border-color:var(--cbs-accent,#4a46e5);background:#eeedff;color:#3730a3}
.creavibc-staff-plus{font-size:20px;font-weight:400;line-height:1}
.creavibc-staff-source .button:focus-visible,.creavibc-staff-heading .creavibc-staff-create:focus-visible,#creavibc_available_days .creavibc-staff-source select:focus-visible{outline:2px solid var(--cbs-accent,#4a46e5)!important;outline-offset:3px;box-shadow:none!important}
.creavibc-staff-source .button:disabled{opacity:.55;cursor:default}
.creavibc-staff-connected{margin-top:16px;padding-top:16px;border-top:1px solid #e4e6f2}
.creavibc-staff-connected-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 18px}
.creavibc-staff-connected p{margin:10px 0 0;max-width:700px;color:var(--cbs-muted,#6b7280);font-size:12px;line-height:1.65}
.creavibc-staff-connected [data-staff-summary]{flex:1 1 240px;min-width:0;margin:0;font-weight:600;color:var(--cbs-text,#111827);overflow-wrap:anywhere}
.creavibc-staff-source .creavibc-staff-edit{min-height:34px;padding:5px 12px;font-size:12px}
.creavibc-staff-duration{display:block;margin:18px 0 8px;font-size:12px;font-weight:600}
#creavibc_available_days .creavibc-staff-source #creavibc-staff-duration{width:180px}
.creavibc-staff-source [role=status]{margin:14px 0 0;padding:10px 12px;border-radius:8px;background:#eeedff;color:#3730a3;font-size:12px;line-height:1.6}
.creavibc-staff-source [role=status]:empty{display:none}
@container(max-width:480px){.creavibc-staff-source-row{flex-direction:column}.creavibc-staff-source-row select{flex-basis:auto;width:100%}.creavibc-staff-source-row .button{width:100%}.creavibc-staff-connected-heading{align-items:flex-start;flex-direction:column}.creavibc-staff-connected [data-staff-summary]{flex-basis:auto}}
fieldset[data-staff-own]{border:0;padding:0;margin:0;min-width:0}[data-staff-own][hidden],.creavibc-staff-connected[hidden],[data-staff-grid-note][hidden]{display:none!important}
.creavibc-staff-dialog{padding:0;border:1px solid #e2e5ec;border-radius:18px;width:min(980px,calc(100vw - 40px));max-width:none;max-height:calc(100vh - 40px);box-shadow:0 24px 90px #151a3440;overflow:hidden;background:#f7f8fb}
.creavibc-staff-dialog::backdrop{background:#181e3659}.creavibc-staff-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;background:#fff;border-bottom:1px solid #e2e5ec}
.creavibc-staff-dialog-head h2{font:600 18px/1.4 system-ui;margin:0;color:#20232c}.creavibc-staff-dialog iframe{width:100%;height:min(76vh,850px);display:block;border:0;background:#f7f8fb}.creavibc-staff-loading{padding:8px 24px}
body.creavibc-staff-editor-screen{background:#f7f8fb}body.creavibc-staff-editor-screen #adminmenumain,body.creavibc-staff-editor-screen #wpadminbar,body.creavibc-staff-editor-screen #wpfooter,body.creavibc-staff-editor-screen #screen-meta-links,body.creavibc-staff-editor-screen .notice,body.creavibc-staff-editor-screen .update-nag{display:none!important}
body.creavibc-staff-editor-screen #wpcontent{margin:0;padding:0}body.creavibc-staff-editor-screen #wpbody-content{padding-bottom:0;float:none}html:has(body.creavibc-staff-editor-screen){padding-top:0!important}
.creavibc-staff-editor{padding:24px}.creavibc-staff-name input{width:100%;max-width:560px;min-height:42px;padding:8px 12px;border:1px solid #d9dce5;border-radius:8px}
.creavibc-staff-notice{margin:18px 0 24px;line-height:1.65;color:#646976}.creavibc-staff-editor .postbox{border:1px solid #e2e5ec;border-radius:12px;box-shadow:none;overflow:hidden}
.creavibc-staff-editor .postbox>h2{margin:0;padding:18px 22px;background:#fff;border-bottom:1px solid #eceef3;font-size:15px}.creavibc-staff-editor .inside{padding:22px;margin:0}
.creavibc-staff-editor .creavibc-grid-wrapper{max-height:360px;overflow:auto}.creavibc-staff-save{display:flex;align-items:center;justify-content:flex-end;gap:20px;position:sticky;bottom:0;padding:14px 0;background:#f7f8fbf5;border-top:1px solid #e2e5ec}.creavibc-staff-save p{margin:0;flex:1;color:#a32424;line-height:1.5}
.creavibc-staff-editor .button-primary,.creavibc-staff-heading .button-primary{background:#5652e9;border-color:#5652e9;border-radius:8px;padding:5px 18px}
@media(max-width:600px){.creavibc-staff-heading{align-items:flex-start;flex-direction:column}.creavibc-staff-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:12px}.creavibc-staff-editor{padding:14px}.creavibc-staff-editor .inside{padding:14px}.creavibc-staff-source-row{flex-direction:column}.creavibc-staff-source-row select{flex-basis:auto;width:100%}}
