/* CollabMY Step17U dark theme: visual-only; no permissions or business changes */
html[data-cm-theme=dark]{color-scheme:dark;--bg:#0d1019;--ink:#f4eef7;--text:#f4eef7;--muted:#c3b6ce;--accent:#ed79b7;--accent-deep:#ff9cd0;--line:rgba(219,204,244,.18);--border:rgba(219,204,244,.18);--card:#1b2030;--surface:#1b2030;--glass:rgba(30,34,52,.88);--soft:#252a3c;--panel:#202436;--white:#202436;background:#0d1019!important;color:#f4eef7!important}
html[data-cm-theme=dark] body{background:radial-gradient(ellipse at 9% -10%,rgba(120,69,151,.21),transparent 40%),radial-gradient(ellipse at 95% 15%,rgba(227,84,158,.12),transparent 42%),#0d1019!important;color:#f4eef7!important}
html[data-cm-theme=dark] :is(.collab-shell,.site-header,.header,header.header,.shell-side,.shell-dock,.bottom-bar,.glass,.card,.panel,.settings-card,.settings-item,.settings-main section,.market-container .filters,.job-card,.job-grid>*,.collab06-card,.collab06-dialog,.collab06-dialogtop,.collab06-dialogbody,.collab06-summary,.collab05-focus,.collab17f-guide,.collab06-form,.collab06-entry,.collab06-activity,.modal,.modal::backdrop,.my-applications,.stats>*,.activity,.primary-card,.cm17q-workspace-card,.cm17n-preference-card,.cm17n-identity-card,.cm17n-install-card,.cm17r-nav-details,.cm17r-module-details,.cm17r-accounts-details){border-color:rgba(213,194,235,.18)!important}
html[data-cm-theme=dark] :is(.glass,.panel,.settings-card,.settings-item,.market-container .filters,.job-card,.collab06-card,.collab06-dialog,.collab06-form,.collab06-entry,.collab05-focus,.collab17f-guide,.my-applications,.stats>*,.activity,.primary-card,.modal,.cm17q-workspace-card,.cm17n-preference-card,.cm17n-identity-card,.cm17n-install-card){background:rgba(28,33,50,.92)!important;box-shadow:0 16px 42px rgba(0,0,0,.22)!important;color:#f4eef7!important}
html[data-cm-theme=dark] :is(.header,header.header,.shell-side,.shell-dock,.bottom-bar,.collab06-dialogtop,.site-header){background:rgba(18,22,35,.95)!important;border-color:rgba(223,202,244,.16)!important;color:#f4eef7!important}
html[data-cm-theme=dark] :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,summary,.headline,.brand,.job-card h3,.collab06-card h3,.settings-card h2,.collab06-dialog h2,.collab06-dialog h3,.collab06-dialog b,.collab05-focus strong){color:#f7f1fa!important}
html[data-cm-theme=dark] :is(p,small,.muted,.small-label,.subtitle,.hint,.collab05-help,.collab06-note,.collab17f-note,.cm17n-section-heading p,.collab06-summary,.job-card p,.collab06-card p,.collab06-entry p,.collab17s-action-caption){color:#d2c5dc!important}
html[data-cm-theme=dark] :is(a,.shell-link,.settings-item,.shell-dock a,.bottom-bar a,.collab06-dialog a){color:#edc8e1!important}
html[data-cm-theme=dark] :is(.shell-link.selected,.shell-dock .selected,.bottom-bar .current){color:#ffb1d9!important;background:rgba(237,121,183,.17)!important}
html[data-cm-theme=dark] :is(input,textarea,select,option,button:not(.primary):not([type=submit]),.compact-filter-panel,details,.collab17s-more-actions){background:#24293a!important;color:#f6eef7!important;border-color:rgba(217,200,235,.29)!important}
html[data-cm-theme=dark] :is(input,textarea,select)::placeholder{color:#bdb1c8!important;opacity:1}
html[data-cm-theme=dark] :is(button.primary,button[type=submit],.primary,.collab17i-primary){background:#d9539d!important;color:#fff!important;border-color:transparent!important}
html[data-cm-theme=dark] :is(button.primary,button[type=submit],.primary) :is(span,i){color:#fff!important}
html[data-cm-theme=dark] :is(button,.collab06-close,.modal-close,.compact-filter-toggle,summary):focus-visible{outline:3px solid #f1a1d1!important;outline-offset:3px}
html[data-cm-theme=dark] :is(.collab06-dialog,.modal,dialog){color:#f4eef7!important;background:#191e2e!important}
html[data-cm-theme=dark] dialog::backdrop{background:rgba(2,3,8,.79)!important}
html[data-cm-theme=dark] :is(.collab06-form input[type=file]::file-selector-button){background:#4b3554!important;color:#fff!important}
html[data-cm-theme=dark] :is(.cm17n-section-icon,.collab06-reward,.small-label){color:#ffa8d3!important}
html[data-cm-theme=dark] :is(hr){border-color:rgba(255,255,255,.16)!important}
html[data-cm-theme=dark] ::selection{background:#995783;color:#fff}
/* theme chooser */
.cm17u-theme-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 0}
.cm17u-theme-choice label{cursor:pointer;min-width:0}
.cm17u-theme-choice input{position:absolute;opacity:0;width:1px;height:1px}
.cm17u-theme-choice span{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:90px;justify-content:center;text-align:center;padding:10px;border:1px solid rgba(154,122,150,.25);border-radius:15px;background:rgba(255,255,255,.23);font-weight:750;font-size:12px}
.cm17u-theme-choice i{font-size:20px}
.cm17u-theme-choice input:checked+span{border:2px solid #e3549e;background:rgba(227,84,158,.1)}
.cm17u-theme-choice input:focus-visible+span{outline:3px solid #e3549e;outline-offset:2px}
html[data-cm-theme=dark] .cm17u-theme-choice span{background:#252a3d;color:#f4eef7;border-color:#695771}
html[data-cm-theme=dark] .cm17u-theme-choice input:checked+span{background:#4d304e;border-color:#f69acb}
/* extra jobs filters */
.cm17u-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.cm17u-filter-grid label{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}
.cm17u-filter-grid select{width:100%;max-width:100%;min-height:40px}
/* collaboration = next action first, soft sections, unobtrusive terms */
.collab06-dialog{border-radius:23px!important;overflow:hidden!important}
.collab06-dialogtop{padding:16px 20px!important;box-shadow:none!important}
.collab06-dialogbody{padding:17px 20px 25px!important}
.collab06-summary{display:flex!important;flex-wrap:wrap;gap:8px!important;margin-bottom:13px!important}
.collab05-focus{border-radius:15px!important;padding:13px 15px!important;margin-bottom:14px!important}
.collab06-form{border-radius:17px!important;padding:17px!important;box-shadow:none!important;margin-bottom:13px!important}
.collab06-form h3{font-size:15px!important;margin-bottom:4px!important}
.collab06-form>button[type=submit]{min-height:45px!important;border-radius:12px!important}
.collab17f-guide{border-radius:14px!important;padding:13px 15px!important;margin-bottom:12px!important}
.collab17f-guide .collab17f-more{margin-top:9px!important}
.collab06-activity{margin-top:13px!important}
.collab06-activity h3{font-size:13px!important}
.collab17u-dialog-intro{display:block;font-weight:800;letter-spacing:.07em;text-transform:uppercase;font-size:10px;color:#be4d8f;margin-bottom:5px}
html[data-cm-theme=dark] .collab17u-dialog-intro{color:#ffadd7}
@media(max-width:500px){.cm17u-filter-grid{grid-template-columns:1fr}.collab06-dialogtop{padding:13px 15px!important}.collab06-dialogbody{padding:13px 14px 22px!important}.cm17u-theme-choice span{font-size:11px;min-height:78px}}
@media(prefers-reduced-motion:reduce){.cm17u-theme-choice *, .collab06-dialog *{transition:none!important}}

/* A calmer Work detail hierarchy: status, next step, primary action, then history */
.collab06-dialogtop .collab06DetailLabel{font-size:10px!important;letter-spacing:.1em!important;font-weight:850!important}
.collab06-dialogbody>.collab17f-guide{order:2}
.collab06-dialogbody>.collab06-activity{order:4}
.collab06-dialogbody>#collab06ActionArea{order:3}
.collab06-dialogbody>.collab17i-done{order:3}
.collab06-dialogbody>.collab17g-feedback{order:2}
.collab06-dialogbody>.collab06-summary{order:0}
.collab06-dialogbody>.collab05-focus{order:1}
.collab06-dialogbody{display:flex!important;flex-direction:column!important;align-items:stretch!important}
.collab06-dialogbody>#collab06ActionArea:empty{display:none!important}
.collab06-dialogbody>.collab06-activity:not([hidden]){border-top:1px solid rgba(158,122,155,.16);padding-top:13px!important}
.collab06-dialogbody>.collab17f-guide .collab17f-more{max-width:100%}
html[data-cm-theme=dark] .collab06-dialogbody>.collab06-activity:not([hidden]){border-top-color:rgba(219,204,244,.2)}
