.tk-nested-backdrop,.tk-overlay{position:fixed;inset:0;background:#16263c99;backdrop-filter:blur(4px);z-index:250;display:flex;align-items:center;justify-content:center;padding:24px}.tk-dialog{width:min(1220px,96vw);height:min(900px,94dvh);background:#f7f9fd;border:1px solid #d6e1ef;border-radius:20px;box-shadow:0 24px 90px #09192d40;display:flex;flex-direction:column;overflow:hidden;color:#24334b}.tk-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 26px;border-bottom:1px solid #dce5f0;background:#fff}.tk-dialog h2{font-size:25px;margin:7px 0}.tk-dialog p{line-height:1.55}.tk-dialog header p:last-child{color:#61738c;font-size:13px}.tk-dialog-body{padding:18px 24px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.tk-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding:13px 24px;border-top:1px solid #dce5f0;background:#fff;box-shadow:0 -5px 18px #21395b0b}.tk-overlay button,.tk-week .weekly-actions button,.tk-week .weekly-toolbar button{padding:10px 14px;min-height:42px;border-radius:9px;border:1px solid #d9e3f1;background:white;color:#254d88;cursor:pointer;font-weight:600}.tk-overlay button.primary{background:#2463eb;color:white;border-color:#2463eb}.tk-overlay button:disabled{opacity:.5;cursor:not-allowed}.tk-editor fieldset{border:0;padding:0;margin:0;min-width:0}.tk-editor .form-grid{gap:12px}.tk-editor h3{font-size:17px;margin:0}.tk-editor .field{min-width:0;margin:0;font-size:12px;color:#34435a}.tk-editor input:not([type=checkbox]),.tk-editor select,.tk-editor textarea,.tk-scope input[type=date],.tk-scope select,.tk-search{border:1px solid #ccd8e8;border-radius:8px;padding:10px 12px;min-height:42px;background:#fff;color:#24334b;width:100%;font:inherit}.tk-editor textarea{min-height:75px}.tk-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}.tk-check input,.tk-overlay input[type=radio]{width:18px;min-width:18px;height:18px;accent-color:#2463eb}.tk-editor .full{grid-column:1/-1}.tk-resource-list{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0 0}.tk-resource-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dce5f0;padding:5px 7px;border-radius:10px;background:#fbfcfe;min-width:0}.tk-resource-list button:first-child{text-align:left;flex:1;border:0;min-width:0;background:transparent}.tk-resource-list b,.tk-resource-list small{display:block;overflow-wrap:anywhere}.tk-resource-list small{font-size:11px;color:#60718b;margin-top:3px}.tk-search{margin:10px 0 8px}.tk-editor-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;align-items:start}.tk-editor-main,.tk-editor-side{display:grid;gap:14px;min-width:0}.tk-panel{background:#fff;border:1px solid #dce5f1;border-radius:15px;padding:17px;box-shadow:0 2px 8px #20355408;min-width:0}.tk-panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}.tk-panel-icon{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:9px;background:#e8f0ff;color:#2463a7;font-size:11px;font-weight:800}.tk-panel-heading h3{font-size:15px}.tk-panel-heading h3 em{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:12px;background:#eaf1fc;color:#25548d;font-size:11px;font-style:normal}.tk-panel-heading p{margin:2px 0 0;color:#70829a;font-size:11px!important}.tk-editor .tk-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tk-editor .tk-form-grid .full{grid-column:1/-1}.tk-editor .tk-panel textarea{resize:vertical;min-height:65px}.tk-option{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #d8e3f2;background:#f7faff;border-radius:10px;margin-top:12px;cursor:pointer}.tk-option input{width:18px;height:18px;min-width:18px;margin:1px 0 0;accent-color:#2463eb}.tk-option span{display:grid;gap:2px}.tk-option b{font-size:12px;color:#263b58}.tk-option small{font-size:11px;line-height:1.4;color:#687a93}.tk-option-travel.active{background:#eaf7f2;border-color:#9fd7bd}.tk-option-travel.active b{color:#147657}.tk-dialog .tk-danger-action{margin-right:auto;color:#ae3b36;border-color:#efc7c5;background:#fffafa}.tk-dialog .tk-danger-action:hover{background:#fff0ef}.tk-dialog .tk-header-close{min-height:38px;padding:7px 12px;color:#53647e}.tk-panel select{width:100%}.tk-nested-backdrop{z-index:300;background:#16263cb3}.tk-nested{background:white;border-radius:18px;padding:24px;width:min(600px,96vw);max-height:92dvh;overflow:auto;box-shadow:0 20px 70px #0004}.tk-nested-wide{width:min(1000px,96vw)}.tk-nested-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px;position:sticky;bottom:-24px;padding:14px 0;background:white}.tk-close{float:right;margin-bottom:12px}.tk-nested[aria-label="Dettagli dipendente"]{position:relative}.tk-nested[aria-label="Dettagli dipendente"]>.tk-close{float:none;position:absolute;top:16px;right:16px;margin:0}.tk-nested[aria-label="Dettagli dipendente"] .assignment-person-head{padding-right:104px;min-height:42px}.tk-scope{padding:20px;background:#f1f6ff;border:1px solid #cadbfb;border-radius:14px;margin-top:24px}.tk-scope h3{margin-bottom:12px}.tk-scope .form-grid{margin-top:15px}.tk-scope p{font-size:13px;color:#53677f}.tk-copy-whole{padding:20px;border:1px solid #b9d5c7;border-radius:14px;background:#f2faf6}.tk-copy-whole>h3{margin:0 0 7px;color:#17694e}.tk-copy-whole>p{margin:0;color:#526d63;font-size:13px}.tk-copy-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.tk-copy-team-list>article{min-width:0;padding:12px;border:1px solid #cee1d8;border-radius:11px;background:#fff}.tk-copy-team-list>article>span{display:inline-block;padding:3px 7px;border-radius:10px;background:#e3f3eb;color:#167052;font-size:10px;font-weight:800}.tk-copy-team-list .tk-summary{padding-bottom:0}.tk-preview-intro{padding:16px;border-radius:10px;background:#eef4ff}.tk-day-review{border:1px solid #dce5f0;border-radius:14px;padding:18px;margin:18px 0}.tk-day-review>h3{font-size:18px;margin-bottom:12px}.tk-conflict{margin:18px 0}.tk-conflict>h4{padding:12px;background:#fff5dd;border-radius:8px;color:#765100}.tk-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}.tk-compare>section{border:2px solid #e0e6ef;border-radius:12px;padding:16px;min-width:0}.tk-compare>section.selected{border-color:#2b9b75;background:#f0faf5}.tk-compare label{display:flex;align-items:center;gap:10px;margin-top:16px;font-weight:600;font-size:13px}.tk-compare h4{margin-bottom:12px}.tk-summary{display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere;font-size:13px;padding:12px 0}.tk-summary b{font-size:15px}.tk-summary span{color:#596b82}.tk-anomalies>summary,.tk-day-review details>summary{cursor:pointer;font-weight:600;padding:10px 0}.tk-anomalies,.tk-effects{background:#f5f8fc;border-radius:12px;padding:18px;margin-top:18px}.tk-effects ul{padding-left:20px;line-height:1.7}.tk-anomalies p{padding:12px;border-bottom:1px solid #dae3ef;font-size:13px}.tk-success{padding:18px;background:#e9f8ef;color:#126440;border-radius:12px}.tk-week .weekly-grid{min-width:1500px}.tk-week .weekly-person{position:sticky;left:0;z-index:2;background:#f5f8fc}.tk-week .tk-card-open{display:block;text-align:left;border:0;padding:6px;background:transparent;width:100%;color:inherit}.tk-week .tk-card-open>*{display:block;margin-bottom:6px}.tk-week .tk-card-open small{line-height:1.45}.tk-week .tk-extend{width:100%;border:1px solid #fff9;border-radius:6px;padding:8px;background:#ffffffab;color:#214e83;cursor:ew-resize;font-weight:600}.tk-drag-range{background:#dce9ff!important;box-shadow:inset 0 0 0 2px #719cf6}.tk-week .weekly-toolbar .tk-search{max-width:420px;margin:0}.tk-week .weekly-actions input{padding:8px;border:1px solid #d9e3f1;border-radius:8px}.audit-detail details{width:100%;white-space:normal}.audit-detail summary{cursor:pointer;color:#204c85;white-space:normal;overflow-wrap:anywhere}.audit-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 inherit;max-height:420px;overflow:auto;margin-top:12px}.audit-detail{min-width:0}.nega-modifica .copy-job-link,.nega-modifica .excel-action:nth-of-type(5),.nega-modifica .job-card-actions,.nega-modifica .mobile-assign-resource,.nega-modifica .person-chip i,.nega-modifica .program-side-actions{display:none!important}.nega-modifica .anomaly-check input,.nega-modifica .crew-role-row select{pointer-events:none;opacity:.7}.app-shell:not(.nega-modifica) .copy-job-link{display:inline-block!important}@media(max-width:960px){.tk-editor-layout{grid-template-columns:1fr}.tk-editor-main,.tk-editor-side{gap:12px}}@media(max-width:800px){.tk-nested-backdrop,.tk-overlay{padding:8px}.tk-dialog{width:100%;height:98dvh;border-radius:12px}.tk-dialog-body,.tk-dialog>header{padding:16px}.tk-dialog h2{font-size:20px}.tk-dialog footer{padding:12px}.tk-compare,.tk-copy-team-list,.tk-resource-list{grid-template-columns:1fr}.tk-week .weekly-person{position:static}.tk-week .weekly-toolbar{flex-wrap:wrap;gap:12px}.tk-week .weekly-actions{flex-wrap:wrap}.tk-nested{padding:16px}.tk-compare>section{padding:12px}}@media(max-width:480px){.tk-editor .tk-form-grid,.tk-scope .form-grid{grid-template-columns:1fr}.tk-resource-list>div{flex-wrap:wrap}.tk-dialog footer{flex-direction:column}.tk-dialog footer button{width:100%}.tk-dialog .tk-danger-action{margin-right:0}.tk-dialog>header{gap:8px}.tk-dialog>header>button{padding:8px;font-size:12px}.tk-nested-actions{bottom:-16px}}