#work-shell :is(#view-nonresident,.nonresident){max-width:1450px;min-width:0}.nonresident-tools{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;padding:0!important;border:0!important;background:none!important;margin:0 0 16px;max-width:none!important}.nonresident-tools input[type=search]{flex:0 1 250px;min-width:150px}.nonresident-tools input[type=number]{width:180px;min-width:140px}.nonresident-tools :is(input,button){margin:0!important;font-size:12px}.nonresident-tools :is(input,button):where(:not(.business-management-actions>button)){min-height:34px}.nonresident-table{width:100%;min-width:900px;table-layout:fixed;border-collapse:collapse;background:#fff;font-size:13px}.nonresident-table th{background:#e8eff6;color:#344d68;text-align:left;padding:12px;border:1px solid #d4deea}.nonresident-table td{vertical-align:middle;padding:14px 11px;border:1px solid #d9e2ed;overflow-wrap:anywhere}.nonresident-table th:first-child{width:16%}.nonresident-table th:nth-child(2){width:15%}.nonresident-table th:last-child{width:13%}.nonresident-table small{display:block;color:#657991;font-size:11px;line-height:1.6;margin:4px 0}.nonresident-table td>button{display:block;margin-top:9px!important}.nonresident-status{display:inline-flex;padding:3px 7px;border:1px solid #d6bd94;border-radius:4px;background:#f7eddd;color:#76582f;font-size:11px;margin-top:6px}.nonresident-status.overdue{background:#fbe6e8;color:#a43740;border-color:#e6b6bc}.nonresident-status.complete{background:#e3f2eb;color:#376c53;border-color:#bad7c9}.nonresident-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}.nonresident-config form{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:700px}.nonresident-config label{display:flex;flex-direction:column;gap:6px;font-size:13px}.nonresident-config label:has(input[type=checkbox]){flex-direction:row;align-items:center}.nonresident-config input[type=checkbox]{width:17px;min-height:17px;height:17px;margin:0;flex:none}.nonresident-config :is(fieldset,.hub-field-hint,.nonresident-customer-matches){grid-column:1/-1}.nonresident-config fieldset{border:1px solid #d2ddeb;padding:12px;display:flex;flex-wrap:wrap;gap:12px}.nonresident-config .hub-field-hint{font-size:12px;color:#647991;margin:0}.nonresident-customer-matches{display:flex;flex-wrap:wrap;gap:6px}#nonresident-nav{display:grid!important;grid-template-columns:18px minmax(0,1fr) 12px;gap:9px;align-items:center;width:100%;text-align:left}#nonresident-nav svg{width:18px;height:18px}.nonresident-staff-subnav{padding-left:10px;border-left:1px solid #526179;margin-left:8px}.nonresident-staff-subnav button{width:100%;text-align:left}.nonresident-config [role=status]{grid-column:1/-1}@media(max-width:650px){.nonresident-config form{grid-template-columns:1fr}.nonresident-tools input[type=search]{flex:1 1 100%}}
.nonresident-tools select{min-height:34px;min-width:190px;max-width:100%;margin:0!important;font-size:12px}.nr-settings-tabs{padding-bottom:10px!important;border-bottom:1px solid #d4deea!important}.nonresident-table.nr-task-table{min-width:1190px}.nonresident-table.nr-task-table th:first-child{width:10%}.nonresident-table.nr-task-table th:nth-child(2){width:12%}.nonresident-table.nr-task-table th:nth-child(n+3):nth-child(-n+5){width:18%}.nonresident-table.nr-task-table th:nth-child(6){width:6%}.nonresident-table.nr-task-table th:nth-child(7){width:10%}.nonresident-table.nr-task-table th:last-child{width:8%}.nonresident-table .nr-sort{border:0!important;padding:0!important;background:transparent!important;color:inherit!important;font:inherit!important;font-weight:600!important;box-shadow:none!important;min-height:0!important;text-align:left}.nr-task-cell{display:grid;grid-template-columns:minmax(92px,1.1fr) minmax(76px,1fr);gap:10px;align-items:center}.nr-task-cell .nr-deadline small{margin:3px 0;white-space:nowrap;font-size:11px}.nr-work{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.nr-work button{font-size:11px!important;padding:5px 7px!important;min-height:29px!important;margin:0!important}.nr-progress{display:inline-flex;align-items:center;font-size:12px;font-weight:600;padding:5px 7px;border-radius:4px;border:1px solid #c1d4e6;background:#e8f0f8;color:#294b6a;line-height:1.4}.nr-progress.waiting_client{background:#f7eddd;border-color:#dec8a2;color:#76582f}.nr-progress.waiting_payment{background:#ece5f6;border-color:#d2c2e9;color:#614381}.nr-progress.complete{background:#e2f3eb;border-color:#a8d0be;color:#28694c}.nr-progress.removed{background:#edf0f3;border-color:#d1d8df;color:#63717e}.nr-cycle-check{display:inline-flex;width:22px;height:22px;color:#2a7853;background:none;border:0;vertical-align:middle}.nr-cycle-check svg{width:22px;height:22px}.nr-comment-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;font-size:12px;line-height:1.5;margin:0}.nr-comment{border-bottom:1px solid #dbe4ee;padding:10px 0}.nr-comment p{white-space:pre-wrap;overflow-wrap:anywhere}.nr-actions{display:flex;gap:8px;flex-wrap:wrap}.nonresident-dialog textarea{width:100%;resize:vertical;margin:12px 0}.nonresident-dialog form{display:grid;gap:10px}.nonresident-dialog input:not([type=checkbox]),.nonresident-dialog select{min-height:34px}.hub-danger{background:#a83f48!important;color:#fff!important;border:1px solid #92323b!important}.nonresident-table td>button{font-size:11px!important;padding:5px 7px!important}.nonresident-status{white-space:nowrap}.nonresident-dialog{max-width:760px;max-height:85vh;overflow:auto}@media(max-width:700px){.nonresident-tools select{flex:1 1 180px}.nr-task-cell{gap:8px}.nonresident-dialog{width:calc(100vw - 32px)}}
.nonresident-config .nr-config-section>p,.nonresident-config .nr-personnel-advanced{flex-basis:100%;margin:0;font-size:12px;color:#526b84;line-height:1.6}.nr-personnel-advanced summary,.nr-period-personnel summary{cursor:pointer;font-size:12px;color:#345f85}.nr-config-participants,.nr-config-choices{display:flex;flex-wrap:wrap;gap:8px 16px}.nr-config-participants{padding-top:10px}.nr-config-choices label{margin:0}.nonresident-config .nr-cycle-preview{border-top:1px solid #d6e0eb;padding:8px 0}.nr-cycle-preview h3{margin:0 0 6px;font-size:13px}.nr-cycle-preview p{font-size:12px;line-height:1.7}.nr-older-unfinished{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #d7c494;background:#fbf5e9;color:#705529;border-radius:5px;padding:9px 12px;margin:0 0 14px;font-size:12px}.nr-older-unfinished button{font-size:12px}.nr-task-filters{margin-bottom:10px}.nr-task-filters button[aria-pressed=true]{outline:2px solid #7294ba;outline-offset:1px}.nr-period-personnel{margin-top:12px}.nr-period-personnel button{white-space:normal;font-size:11px;padding:5px 7px;margin:8px 0 0}.nonresident-dialog-actions label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#4e627b}.nr-task-cell .nr-deadline small{white-space:normal;overflow-wrap:anywhere}.nonresident-config [role=status]{font-size:12px;line-height:1.7;white-space:pre-wrap}.nonresident-config [role=status] button,.nonresident-dialog [role=status] button{margin-left:8px}
.nonresident-config .nr-supplement-advanced{flex-basis:100%;font-size:12px;color:#526b84}.nr-supplement-advanced summary{cursor:pointer;color:#345f85}.nr-supplement-advanced>label{margin-top:12px}.nr-supplement-advanced>p{font-size:12px;line-height:1.6;margin:8px 0 0}

.nr-record-advanced{flex:1 1 100%;border:1px solid #d6e0eb;border-radius:5px;padding:10px 12px;margin:8px 0 0}.nr-record-advanced summary{cursor:pointer;font-size:12px;font-weight:600;color:#345f85}.nr-record-advanced p{font-size:12px;line-height:1.7;color:#526b84}.nr-record-advanced .nr-actions{gap:8px}.nr-record-advanced button{font-size:12px}


.nr-settings-toolbar{justify-content:space-between}
.nr-settings-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.nr-task-table :is(th,td):not(:first-child),.nr-next-preview-table :is(th,td):not(:first-child){text-align:center;vertical-align:middle}
.nr-task-table th:not(:first-child) .nr-sort{text-align:center}
.nr-task-table .nr-deadline,.nr-next-preview-table .nr-deadline{text-align:left}
.nr-task-table .nr-work{align-items:center}
.nr-task-table .nr-task-cell{grid-template-columns:minmax(92px,1.1fr) minmax(84px,1fr)}
.nr-task-table .nr-work button{white-space:nowrap}
.nr-task-table .task-comment-summary{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 6px}
.nr-task-table .task-comment-summary>small{margin:0!important}
.nr-task-table .nr-item-personnel+.nr-item-personnel{margin-top:8px}
.nr-next-preview-notice{padding:9px 12px;border:1px solid #c7d7e9;border-radius:5px;background:#edf4fb;color:#344f6b;margin:0 0 12px}
.nonresident-table.nr-next-preview-table{min-width:880px}
.nonresident-table.nr-next-preview-table th{width:auto}
.nr-task-overview{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 14px}
.nr-task-overview>div{min-width:0}
.nr-task-overview dt{font-size:12px;color:#4e627b}
.nr-task-overview dd{margin:3px 0 0;font-size:13px;overflow-wrap:anywhere}
.nr-task-dialog .nonresident-dialog-actions{display:grid;gap:10px;align-items:stretch;margin:12px 0}
.nr-task-dialog .nonresident-dialog-actions:empty{display:none}
.nr-task-control-group{display:grid;grid-template-columns:minmax(0,225px) minmax(0,132px);align-items:end;gap:8px;padding:10px 12px;border:1px solid #d6e0eb;border-radius:6px;background:#f5f8fc}
.nr-task-control-group label{min-width:0;margin:0}
.nr-task-control-group :is(button,select,input){min-height:36px;margin:0!important}
.nr-task-control-group>button{box-sizing:border-box}
.nr-task-dialog-footer{display:flex;justify-content:flex-end;border-top:1px solid #d6e0eb;margin-top:14px;padding-top:10px}
.nr-task-dialog-footer button{margin:0!important}
@media(max-width:640px){.nr-settings-filters{flex:1 0 100%}}
@media(max-width:520px){.nr-task-overview{gap:8px 16px}.nr-task-control-group{grid-template-columns:minmax(0,1fr)}.nr-task-control-group>button{justify-self:start}}
