/* Geometry only: typography, colors and controls inherit the original scheduler. */

.op-toolbar{flex-wrap:wrap;margin:12px 0;gap:7px}.op-toolbar label{display:flex;align-items:center;gap:7px}.op-toolbar input{margin:0;width:160px}.op-shift-grid{display:grid;grid-template-columns:repeat(var(--op-shifts),minmax(220px,1fr));gap:14px;overflow:auto}.op-shift-column{min-width:0}.op-shift-column h3{text-align:center;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:8px}.op-person{border:1px solid var(--line);border-radius:6px;padding:12px;margin:12px 0;background:white}.op-person h4{text-align:center;margin:0;font-size:14px}.op-person table{width:100%;border-collapse:collapse;font-size:12px}.op-person th,.op-person td{padding:7px;text-align:left;border-top:1px solid var(--line)}.op-check{display:flex;align-items:center;gap:7px}.op-check input{width:auto;margin:0}.op-week th,.op-week td{vertical-align:top;padding:8px;min-width:100px}.op-month{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));gap:7px;overflow:auto}.op-month-day{min-height:90px;border:1px solid var(--line);padding:7px}.op-month-day small{display:block;margin-top:5px}.op-saved-panel{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}#operator-test-clock .shift-clock{width:min(500px,100%)!important;height:auto!important;max-width:100%;aspect-ratio:1;display:block;margin:12px auto}#operator-setup form{margin:14px 0}#operator-setup details{margin:14px 0}#operator-setup summary{cursor:pointer}#operator-setup output{display:block;min-height:34px;padding:7px;border:1px solid var(--line);border-radius:6px}#operator-setup .actions{margin-top:12px}#operator-setup .setup-fields{gap:12px}#operator-setup td{overflow-wrap:anywhere}body .op-toolbar button,body #operator-setup input:not([type=checkbox]),body #operator-setup select,body #operator-setup button{min-height:34px}#operator-setup input:not([type=checkbox]),#operator-setup select{height:34px;padding:5px 9px}@media(max-width:800px){.op-shift-grid{grid-template-columns:minmax(0,1fr)}.op-month{grid-template-columns:repeat(7,minmax(90px,1fr))}}



body .op-toolbar button,body #operator-setup button{height:34px;min-height:34px;padding:5px 10px}.op-toolbar input{height:34px;min-height:34px;padding:5px 9px}



/* Match the existing QC clock palette and calendar shift tints. */

.op-shift-column h3{color:var(--op-shift-color,var(--ink));background:var(--op-shift-tint,white);border-left:4px solid var(--op-shift-color,var(--line));border-bottom:0;border-radius:7px;padding:11px}.op-shift-column .op-person{border-left:4px solid var(--op-shift-color,var(--line))}.op-week-shift{background:var(--op-shift-tint,white);border-left:3px solid var(--op-shift-color,var(--line))}.op-month-shift{background:var(--op-shift-tint,transparent);border-left:3px solid var(--op-shift-color,var(--line));border-radius:4px;padding:3px 5px}



/* Keep the two view rows at the standard compact control spacing. */

#operator-test-panel>.op-toolbar{margin:12px 0 8px}#operator-test-panel>.auto-calendar-toolbar{margin:8px 0 12px}#operator-test-panel>.auto-calendar-toolbar label input{margin-top:0}



/* Compact Operator rows within each shift and in the unassigned list. */

.op-person{padding:7px 9px;margin:6px 0}.op-person h4{font-size:13px;line-height:18px}.op-person>.hint{margin:2px 0 5px;line-height:18px}.op-person th,.op-person td{padding:4px 6px;line-height:17px}.op-shift-grid{gap:10px}.op-shift-column h3{margin:8px 0;padding:7px 9px}



/* Use QC daily shift summary box geometry; reserve its usual three-line height. */

.op-shift-grid{max-width:900px;margin:0 auto}.op-shift-summary.daily-clock-shift{min-height:86px;align-content:start;margin:8px 0;padding:11px;border-left-color:var(--op-shift-color,#247968);background:var(--op-shift-tint,#f5f9f7)}



#operator-test-clock .daily-time-editor{margin-top:12px}



.assignment-machine-entry{display:flex;align-items:flex-end;gap:8px;margin:8px 0 12px;flex-wrap:wrap}.assignment-machine-entry label{width:180px;max-width:100%}.assignment-machine-entry select{height:66px;min-height:66px;padding:3px 6px;margin-top:5px}.assignment-machine-entry button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.assignment-machine-entry [role=status]{font-size:12px;align-self:center}



/* Machine numbers sit directly below the selected person's name. */

.assignment-machine-entry{display:block;margin:6px 0 0}.assignment-machine-entry label{width:auto;font-size:12px}.machine-number-add{display:flex;align-items:center;gap:8px;margin-top:5px}.machine-number-add select{box-sizing:border-box;width:calc(8ch + 34px);min-width:calc(8ch + 34px);height:40px;min-height:40px;margin:0;padding:0 8px}.assignment-machine-entry .machine-number-add button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;max-width:44px;height:40px;min-height:40px;padding:0;font:400 14px/1 system-ui,sans-serif}.assigned-machine-numbers{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}.assigned-machine-numbers:empty{display:none}.assigned-machine-number{display:inline-block;min-width:4ch;padding:4px 6px;border:1px solid var(--line);border-radius:5px;font-size:12px;font-weight:400;background:white}.assignment-machine-entry [role=status]{display:block}



/* Match the existing setup form spacing. */

#machine-setup details{margin:14px 0}#machine-setup details>summary{margin-bottom:12px}#machine-setup form{margin:12px 0}#machine-setup form>.actions{margin-top:12px;margin-bottom:12px}#machine-setup .setup-fields{gap:12px}#machine-setup .assign-table-wrap{margin-top:12px}



#machine-setup details[open]>summary{margin-bottom:12px}#machine-setup form{display:grid;row-gap:12px}#machine-setup form>.actions{margin-top:0;margin-bottom:0}



/* Keep the machine row clear of the assignment Save buttons. */

.assignment-machine-entry{margin:12px 0}.assignment-machine-entry+.assignment-save-bar{margin-top:12px}.assign-left>.assignment-save-bar{margin-top:12px}



.assignment-machines-row>td{padding:0 6px 12px!important}.assignment-machines-row .assignment-machine-entry{margin:8px 0 0}.assignment-machines-row .machine-number-add select{width:calc(8ch + 34px);min-width:calc(8ch + 34px)}



/* Eight machine-number digits plus padding and the native dropdown arrow. */

body .assignment-machine-entry .machine-number-add select{box-sizing:border-box;width:124px;min-width:124px;max-width:124px;font-variant-numeric:tabular-nums;padding-left:8px;padding-right:26px}



body .assignment-machine-entry .machine-number-add select,body .assignment-machine-entry .machine-number-add button{height:34px;min-height:34px;max-height:34px;margin:0}.machine-number-add{align-items:center}



body #assignment-add{display:block;margin:12px 0}.people-select-add-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.people-select-add-row select{width:150px;flex:none}.people-select-add-row input{width:220px;max-width:100%;min-width:80px;flex:1}.people-select-add-row select,.people-select-add-row input{height:40px;min-height:40px;margin:0;padding:0 10px}.people-select-add-row button{flex:none}#assignment-add .people-select-add-row [hidden]{display:none!important}



.people-select-add-row #preferences-add[hidden]{display:none!important}.people-select-add-row #preferences-add:not([hidden]){display:inline-flex!important}



.assignment-machines-row>td{padding:12px 6px!important}.assignment-machines-row .assignment-machine-entry{margin:0}



body #assignment-add #people-entry-cancel{width:auto;min-width:76px;max-width:none;height:40px;min-height:40px;padding:0 14px;white-space:nowrap;flex:none}



/* Machine assignment is a separate full-width line outside the people table. */

.assign-left>.assignment-machine-entry{display:block;width:100%;clear:both;margin:12px 0;padding:0}.assign-left>#assigned-people-list+.assignment-machine-entry{margin-top:12px}



/* Shared setup control contract: 34px controls, 7px gaps and 72px short

   action buttons in Add, display and inline Edit states. */

:is(#machine-setup,#product-setup,#operator-setup){--setup-control-height:34px;--setup-control-gap:7px;--setup-action-width:72px}

body :is(#machine-setup,#product-setup,#operator-setup) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,button){box-sizing:border-box;height:var(--setup-control-height);min-height:var(--setup-control-height);max-height:var(--setup-control-height);padding:5px 9px;font-size:13px;line-height:20px;font-weight:400}

body :is(#machine-setup,#product-setup,#operator-setup) button{min-width:var(--setup-action-width)}

body :is(#machine-setup,#product-setup,#operator-setup) :is(.setup-fields,.actions){gap:var(--setup-control-gap)}

body #machine-setup form{row-gap:var(--setup-control-gap)}

#machine-setup .op-check{align-self:end;min-height:var(--setup-control-height);margin:0}

#machine-setup .setup-fields input:not([type=checkbox]),#machine-setup .setup-fields select{margin-top:7px}

#machine-setup :is(.machine-attribute-table,.machine-record-table){table-layout:fixed;width:calc(100% + 14px);border-collapse:separate;border-spacing:7px 7px;margin:0 -7px}

#machine-setup .machine-attribute-table th:nth-child(1),#machine-setup .machine-attribute-table th:nth-child(2){width:33.333%}

#machine-setup :is(.machine-attribute-table,.machine-record-table) :is(th,td){padding:0;border:0;vertical-align:middle}

body #machine-setup :is(.machine-attribute-table,.machine-record-table) :is(input:not([type=checkbox]),select,button){margin:0}

#machine-setup :is(.machine-attribute-table,.machine-record-table) :is(input:not([type=checkbox]),select){width:100%;min-width:0}

#machine-setup .machine-attribute-table td>label{display:block;font-size:0;margin:0}

body #machine-setup :is(.machine-attribute-table,.machine-record-table) button{width:var(--setup-action-width);min-width:var(--setup-action-width);max-width:var(--setup-action-width);flex:none}

#machine-setup .machine-record-table th:last-child{width:151px}

#machine-setup :is(form.machine-attribute-editor,form.machine-record-editor){display:flex;align-items:center;flex-wrap:wrap;gap:var(--setup-control-gap);margin:0}

#machine-setup .machine-attribute-editor>.actions{display:flex;gap:var(--setup-control-gap);margin:0}

#machine-setup details.machine-attribute-properties{margin:0;position:relative}

#machine-setup .machine-attribute-properties>summary{font-size:12px;margin:0;padding:0;min-height:0}

#machine-setup .machine-attribute-properties[open]{flex-basis:100%}

#machine-setup .machine-attribute-properties .setup-fields{margin-top:7px;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:var(--setup-control-gap)}

.machine-range-inputs{display:flex;gap:7px;margin-top:7px}.machine-range-inputs>span{display:grid;gap:7px;flex:1;min-width:0}.machine-range-inputs input{width:100%;box-sizing:border-box}.machine-range-inputs>span>span{font-size:12px;font-weight:400}

#machine-setup .machine-record-table .machine-range-inputs{margin:0}



body #machine-setup [data-machine-attribute]>.actions>button{width:72px;min-width:72px;max-width:72px}

body #machine-setup :is(.machine-attribute-table,.machine-record-table) :is(button[data-sort-machine-attributes],button[data-sort-machines]){display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;max-height:24px;padding:0;border:0;background:transparent;vertical-align:middle}



/* Compact attribute fields and normal-weight setup subtitles. */

body :is(#machine-setup,#product-setup,#operator-setup) :is(label,th,h3,h4){font-weight:400}

#machine-setup [data-machine-attribute]>.setup-fields{grid-template-columns:repeat(3,minmax(0,240px))}

#machine-setup .machine-attribute-table{width:100%;min-width:0}

#machine-setup .machine-attribute-table th:nth-child(1),#machine-setup .machine-attribute-table th:nth-child(2){width:240px}

@media(max-width:800px){#machine-setup [data-machine-attribute]>.setup-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#machine-setup .machine-attribute-table th:nth-child(1),#machine-setup .machine-attribute-table th:nth-child(2){width:30%}}



/* Shared square corners for setup fields in Add, view and Edit states. */

body :is(#machine-setup,#product-setup,#operator-setup) :is(input:not([type=checkbox]):not([type=radio]),select,textarea,output){border-radius:0}

body :is(#machine-setup,#product-setup,#operator-setup) button{border-radius:0!important}



/* Sort arrow is a compact square, independent of standard action height. */

body #machine-setup :is(.machine-attribute-table,.machine-record-table) :is(button[data-sort-machine-attributes],button[data-sort-machines]){width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;padding:0!important;border-radius:0!important}



/* Shared field rhythm for setup forms and asynchronously loaded details. */

body :is(#machine-setup,#product-setup,#operator-setup) .setup-fields{grid-template-columns:repeat(auto-fit,minmax(0,240px));gap:7px}

body :is(#machine-setup,#product-setup,#operator-setup) .setup-fields label{min-width:0}

body :is(#machine-setup,#product-setup,#operator-setup) .setup-fields :is(input:not([type=checkbox]),select){margin-top:7px;width:100%}

body :is(#product-setup,#operator-setup) .actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:7px 0 14px}

body :is(#product-setup,#operator-setup) details>summary{margin-bottom:12px}

body :is(#product-setup,#operator-setup) h3{font-size:13px;line-height:20px;margin:14px 0 7px}

body :is(#product-setup,#operator-setup) .assigned-people-table :is(th,td){border:0;padding:7px;vertical-align:middle}

body #product-setup button{width:72px;min-width:72px;max-width:72px}

@media(max-width:600px){body :is(#machine-setup,#product-setup,#operator-setup) .setup-fields{grid-template-columns:minmax(0,1fr)}}


/* Compact registration fields, including separate range endpoints. */
body #machine-setup [data-machine-record] .setup-fields{display:flex;flex-wrap:nowrap;align-items:flex-end;overflow-x:auto;padding-bottom:3px}
body #machine-setup [data-machine-record] .setup-fields>label{flex:0 0 85px;width:85px;min-width:0;white-space:nowrap}
body #machine-setup [data-machine-record] .setup-fields>label:nth-child(1){flex-basis:105px;width:105px}
body #machine-setup [data-machine-record] .setup-fields>label:nth-child(2){flex-basis:160px;width:160px}
body #machine-setup [data-machine-record] .setup-fields>label:nth-child(3){flex-basis:100px;width:100px}
body #machine-setup [data-machine-record] .setup-fields>.op-check{flex-basis:65px;width:65px}
#machine-setup .machine-record-table{width:100%;margin:0;table-layout:fixed}
#machine-setup .machine-record-table th:nth-child(1){width:105px}
#machine-setup .machine-record-table th:nth-child(2){width:145px}
#machine-setup .machine-record-table th:nth-child(3){width:85px}
#machine-setup .machine-record-table th:nth-child(4){width:75px}
#machine-setup .machine-record-table th:last-child{width:151px}
#machine-setup .machine-record-editor{flex-wrap:nowrap!important}

/* Saved headings stay on one line, matching the compact entry labels. */
#machine-setup .machine-record-table th{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* Allow font-size changes to size the code column without wrapping its heading. */
body #machine-setup [data-machine-record] .setup-fields>label:nth-child(1){flex-basis:max(105px,calc(14ch + 18px));width:max(105px,calc(14ch + 18px))}
#machine-setup .machine-record-table{table-layout:auto}
#machine-setup .machine-record-table th:nth-child(1){width:max(105px,calc(14ch + 18px));min-width:max(105px,calc(14ch + 18px))}

/* Numeric properties use compact columns; unused space stays outside the table. */
#machine-setup .machine-record-table{width:max-content;min-width:0!important;max-width:none}
#machine-setup .machine-record-table th:nth-child(n+5):not(:last-child){width:80px;min-width:80px}
#machine-setup .machine-record-table td:nth-child(n+5):not(:last-child)>:is(input,select){width:80px}
#machine-setup .machine-record-table td:nth-child(1)>:is(input,select){width:max(105px,calc(14ch + 18px))}
#machine-setup .machine-record-table td:nth-child(2)>:is(input,select){width:145px}
#machine-setup .machine-record-table td:nth-child(3)>:is(input,select){width:85px}
#machine-setup .machine-record-table td:nth-child(4)>:is(input,select){width:75px}

/* One typography rule across entry, saved and inline-edit setup rows. */
body :is(#machine-setup,#product-setup,#operator-setup){--setup-font-size:13px;font-family:system-ui,sans-serif;font-size:var(--setup-font-size);font-weight:400}
body :is(#machine-setup,#product-setup,#operator-setup) :is(.setup-fields label,.op-check,th,td,input,select,textarea,button,output,.machine-range-inputs>span>span){font-family:system-ui,sans-serif;font-size:var(--setup-font-size);font-weight:400;line-height:20px}

#schedule-planning details[name="planning-mode"],#schedule-planning details[name="manual-step"]{margin:22px 0}
#schedule-planning details[name="manual-step"]>summary,#schedule-planning details[name="planning-mode"]>summary{font-weight:400}

/* The embedded assignment editor uses its parent section heading and navigation. */
#operator-assignment>.heading,#operator-assignment>.actions{display:none}

/* Department qualifications reuse compact, square setup controls. */
#skills-setup{font:400 13px/20px system-ui,sans-serif}
.skills-table-wrap{overflow-x:auto}.skills-table{width:100%;border-collapse:collapse;min-width:650px;table-layout:fixed}
.skills-table th,.skills-table td{text-align:left;vertical-align:top;padding:6px;font:inherit;border:0}.skills-table th:nth-child(1){width:22%}.skills-table th:nth-child(2){width:30%}.skills-table th:nth-child(4){width:156px}
.skills-table summary,.skills-table input.skills-other,.skills-table button{box-sizing:border-box;min-height:34px;border:1px solid var(--control-border);border-radius:0;background:white;color:inherit;font:inherit;padding:6px 9px}
.skills-table input.skills-other{width:100%}.skills-actions{display:flex;gap:7px}.skills-actions button{width:72px}.skills-table button:disabled{opacity:.5}
.skills-machines>div{padding:8px 0;display:grid;gap:6px}.skills-machines label{display:flex;align-items:center;gap:6px;font:inherit}.skills-machines input[type=checkbox]{width:15px;height:15px;min-height:15px;margin:0;flex:none}
.skills-person dl{margin:8px 0;overflow-wrap:anywhere}.skills-person dt{margin-top:5px}.skills-person dd{margin:0;color:var(--muted)}.skills-table [role=status]{display:block;font:inherit}
body #skills-setup :is(summary,input.skills-other,button){box-sizing:border-box;height:34px;min-height:34px;margin:0;border-radius:0;font:400 13px/20px system-ui,sans-serif;padding:6px 9px}
body #skills-setup{--control-radius:0} body #skills-setup .skills-actions button{flex:0 0 72px} .skills-table th:nth-child(4){width:163px}
body #skills-setup .skills-table th:nth-child(4){width:163px}
.skills-search{display:flex;gap:6px;margin:8px 0}.skills-search input{min-width:0;width:100%}.skills-names{max-height:240px;overflow-y:auto;display:grid;gap:2px}
body #skills-setup .skills-names button{text-align:left;width:100%;height:auto;min-height:34px}
body #skills-setup .skills-search input{box-sizing:border-box;height:34px;margin:0;padding:6px 9px;border:1px solid var(--control-border);border-radius:0;font:inherit}
body #skills-setup button.skills-select-all{box-sizing:border-box;width:16px;height:16px;min-height:16px;padding:0;line-height:14px;font-size:13px;font-weight:400;display:inline-flex;align-items:center;justify-content:center}

body #skills-setup .skills-machines label{font-weight:400} body #skills-setup .skills-machines input[type=checkbox]{box-sizing:border-box;width:15px;height:15px;min-height:15px}
body #skills-setup .skills-machines,body #skills-setup .skills-machines *{font-weight:400!important}
body #skills-setup .skills-machines input[type=checkbox]:checked::before{border-width:0 1px 1px 0}
/* Shared department assignment qualification summary. */
#assigned-people-list .with-qualifications th:nth-child(1){width:13%}
#assigned-people-list .with-qualifications th:nth-child(2){width:13%}
#assigned-people-list .with-qualifications th:nth-child(3){width:6%}
#assigned-people-list .with-qualifications th:nth-child(4){width:12%}
#assigned-people-list .with-qualifications th:nth-child(5){width:14%}
#assigned-people-list .with-qualifications th:nth-child(6),#assigned-people-list .with-qualifications td:nth-child(6){width:13%;padding:6px}
#assigned-people-list .with-qualifications th:nth-child(7){width:28px}
.assignment-qualification{position:relative;vertical-align:middle}
.assignment-qualification summary{box-sizing:border-box;height:34px;padding:6px;border:1px solid var(--control-border);border-radius:0;background:white;font:400 13px/20px system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.qualification-content{position:absolute;z-index:5;top:100%;left:0;min-width:210px;max-width:300px;max-height:220px;overflow:auto;padding:10px;border:1px solid var(--control-border);background:white;font:400 13px/20px system-ui,sans-serif;box-shadow:0 3px 8px #0002;overflow-wrap:anywhere}
.qualification-content p{margin:8px 0 0;font:inherit}
.assignment-qualification .qualification-content{position:static;min-width:0;max-width:none;margin-top:5px;box-shadow:none;padding:6px}
.assignment-access-row{display:flex;justify-content:flex-end;margin-bottom:14px}.assignment-access-row .worker-access-control{margin:0;font:400 13px/20px system-ui,sans-serif}
#operator-assignment .assignment-tools-with-access{display:flex;width:100%;align-items:center;gap:10px;margin:0;flex-wrap:wrap} #operator-assignment .assignment-tools-with-access .worker-access-control{margin:0 auto 0 0;align-self:center;font:400 13px/20px system-ui,sans-serif} #operator-assignment .assignment-period-row{margin-top:0}
body #people-sort{box-sizing:border-box;flex:0 0 34px;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:0!important;font:400 13px/20px system-ui,sans-serif;align-self:center}
.people-search-dropdown{position:relative;flex:1;min-width:0}.people-search-dropdown>input{width:100%;box-sizing:border-box}.people-search-dropdown #people-search-results{position:absolute;top:100%;left:0;right:0;z-index:20;box-sizing:border-box;max-height:240px;overflow-y:auto;margin:3px 0 0;padding:6px;background:white;border:1px solid var(--control-border);box-shadow:0 3px 8px #0002}.people-search-dropdown #people-search-results[hidden]{display:none}.people-search-dropdown:has(>input[hidden]){display:none}
body #people-search-results .people-search-result{width:100%;box-sizing:border-box} body #people-search-results .people-search-result button{display:block;flex:1;width:auto;min-width:0;max-width:none;height:34px;min-height:34px;padding:0 8px;text-align:left;white-space:nowrap;font:400 13px/20px system-ui,sans-serif;border-radius:0!important}
body #people-search-results .people-search-done{position:sticky;top:0;align-self:flex-end;flex:none;width:72px;min-width:72px;max-width:72px;height:34px;min-height:34px;margin:0 0 4px;padding:0 8px;border-radius:0!important;font:400 13px/20px system-ui,sans-serif} body #people-search-results input[type=checkbox]:checked::before{border-width:0 1px 1px 0}
#assigned-people-list .with-machine-assignment th:nth-child(5){width:105px} #assigned-people-list .with-machine-assignment th:nth-child(6),#assigned-people-list .with-machine-assignment td:nth-child(6){width:12%;padding:6px} #assigned-people-list .with-machine-assignment th:nth-child(7){width:12%} #assigned-people-list .with-machine-assignment th:nth-child(8){width:28px} .assignment-machine-cell .machine-number-add{display:flex;align-items:center;gap:4px;margin:0}.assignment-machine-cell .machine-number-add select{flex:1;min-width:0!important;width:60px!important}.assignment-machine-cell .machine-number-add button{flex:0 0 24px;width:24px;min-width:24px;height:24px;min-height:24px;padding:0}.assignment-machine-cell .assigned-machine-numbers:empty{display:none}
#assigned-people-list .with-machine-assignment th.assignment-machine-heading{width:125px;font-weight:400} #assigned-people-list .with-machine-assignment td.assignment-machine-cell{padding-right:10px}.assignment-machine-cell .assigned-machine-numbers{margin:0 0 3px}
.assignment-machine-picker summary{box-sizing:border-box;height:34px;border:1px solid var(--control-border);padding:6px;background:white;font:400 13px/20px system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.assignment-machine-options{display:grid;gap:6px;padding:8px 0;font:400 13px/20px system-ui,sans-serif}.assignment-machine-options label{display:flex;align-items:center;gap:6px;font:inherit;overflow-wrap:anywhere}.assignment-machine-options input[type=checkbox]{margin:0;flex:none}.assignment-machine-options input[type=checkbox]:checked::before{border-width:0 1px 1px 0}
body .assigned-people-table .assignment-machine-options button[data-all]{width:16px;min-width:16px;height:16px;min-height:16px;padding:0;line-height:14px;font-weight:400;border-radius:0!important}
body .assigned-people-table .assignment-machine-options button[data-save]{width:52px;min-width:52px;height:26px;min-height:26px;padding:0 6px;font:400 13px/20px system-ui,sans-serif;border-radius:0!important}
.assignment-machine-cell:has(details[open]){min-width:125px}
.assignment-machine-picker>summary{list-style:none}.assignment-machine-picker>summary::-webkit-details-marker{display:none}
.assignment-machine-options{gap:2px;padding:3px 0}.assignment-machine-options label{gap:4px;line-height:18px;margin:0}.assignment-machine-picker summary{padding:6px 4px}.assignment-machine-cell .assignment-machine-options button[data-save]{margin-top:2px}
.assignment-qualification summary{list-style:none}.assignment-qualification summary::-webkit-details-marker{display:none}.people-selection-controls{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px}body #people-search-results .people-select-all{box-sizing:border-box;flex:0 0 16px;width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;padding:0;border-radius:0!important;font:400 13px/14px system-ui,sans-serif}body #people-search-results .people-selection-controls .people-search-done{margin:0;position:static}
body #assigned-people-list .assigned-people-table :is(input,select,button,summary,label,.qualification-content,.qualification-content div,.qualification-content p,.assignment-machine-options,.assignment-machine-options span){font-family:system-ui,sans-serif!important;font-size:13px!important;font-weight:400!important} body #people-search-results :is(button,label){font-family:system-ui,sans-serif!important;font-size:13px!important;font-weight:400!important}
body #assigned-people-list .assigned-people-table select option,body #assigned-people-list .assigned-people-table select optgroup{font:400 13px/20px system-ui,sans-serif!important}
body .assignment-floating-dropdown[popover]{position:fixed;inset:auto;box-sizing:border-box;margin:0!important;min-width:0;max-width:none;padding:6px!important;border:1px solid var(--control-border);border-radius:0;background:white;color:var(--ink);box-shadow:0 3px 8px #0002;overflow:auto;font:400 13px/20px system-ui,sans-serif}body .assignment-floating-dropdown[popover]:not(:popover-open){display:none}body .assignment-floating-dropdown[popover]:popover-open{display:grid;gap:2px}.assignment-floating-dropdown label{white-space:nowrap}body .assignment-qualification .qualification-content.assignment-floating-dropdown{position:fixed}
#assigned-people-list .with-inline-qualifications th.assignment-machine-heading{width:13%} .assignment-machine-options label:has([data-other]){display:grid;gap:3px;white-space:normal}.assignment-machine-options input[data-other]{box-sizing:border-box;width:100%;height:30px;min-height:30px;border-radius:0;font:400 13px/20px system-ui,sans-serif}
body #assigned-people-list .assignment-machine-options input[data-other]{border-radius:0!important;margin:0;padding:4px 6px}
body #preferences-add[aria-label="Save new person"]{width:72px;min-width:72px;max-width:72px;height:40px;font:400 13px/20px system-ui,sans-serif;border-radius:0!important}.assignment-save-bar[hidden]{display:none!important}.assignment-row-actions .assignment-save-bar :is(#preferences-save,#preferences-cancel){flex:1;width:72px;min-width:60px}
body #assigned-people-list .assignment-row-actions .assignment-save-bar{gap:4px;justify-content:flex-end}body #assigned-people-list .assignment-row-actions .assignment-save-bar :is(#preferences-save,#preferences-cancel){flex:0 0 52px;width:52px;min-width:52px;max-width:52px;padding:0 4px;white-space:nowrap}#assigned-people-list .with-inline-qualifications th:last-child{width:112px}#assigned-people-list .with-inline-qualifications th:nth-child(5){width:18%}#assigned-people-list .with-inline-qualifications th:nth-child(6),#assigned-people-list .with-inline-qualifications td:nth-child(6){width:16%}body #assigned-people-list button[data-action="off"],body #assigned-people-list button[data-action="leave"]{white-space:nowrap;padding:0 5px}
body #assigned-people-list .assignment-row-actions .assignment-save-bar :is(#preferences-save,#preferences-cancel){box-sizing:border-box;flex:0 0 52px;width:52px;min-width:52px;max-width:52px;height:34px;min-height:34px;max-height:34px;padding:0 4px;border-radius:0!important;font:400 13px/20px system-ui,sans-serif!important;display:inline-flex;align-items:center;justify-content:center}body .people-select-add-row :is(#people-entry-cancel,#preferences-add):not([hidden]){box-sizing:border-box;width:52px;min-width:52px;max-width:52px;height:34px;min-height:34px;max-height:34px;padding:0 4px;border-radius:0!important;font:400 13px/20px system-ui,sans-serif;align-self:center}
body #assigned-people-list .assignment-row-actions .assignment-save-bar :is(#preferences-save,#preferences-cancel),body .people-select-add-row :is(#people-entry-cancel,#preferences-add):not([hidden]){box-sizing:border-box;flex:0 0 76px;width:76px;min-width:76px;max-width:76px;height:40px;min-height:40px;max-height:40px;padding:0 8px;border-radius:6px!important;font:400 13px/20px system-ui,sans-serif!important;display:inline-flex;align-items:center;justify-content:center}#assigned-people-list .with-inline-qualifications th:last-child{width:160px}

#assigned-people-list .with-machine-assignments th:nth-child(1){width:12%}
#assigned-people-list .with-machine-assignments th:nth-child(2){width:11%}
#assigned-people-list .with-machine-assignments th:nth-child(3){width:5%}
#assigned-people-list .with-machine-assignments th:nth-child(4){width:12%}
#assigned-people-list .with-machine-assignments th:nth-child(5){width:11%}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(6){width:15%;padding:6px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(7){width:14%;padding:6px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(8){width:28px;padding:6px 0}
#assigned-people-list .with-machine-assignments th:nth-child(9){width:160px}
#assigned-people-list:has(.with-machine-assignments){overflow-x:auto}
#assigned-people-list .with-machine-assignments{min-width:1286px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(1){width:140px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(2){width:140px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(3){width:66px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(4){width:132px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(5){width:140px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(6){width:200px}
#assigned-people-list .with-machine-assignments :is(th,td):nth-child(7){width:176px}
#assigned-people-list .with-machine-assignments th{white-space:nowrap}
