:root{--ink:#13222d;--muted:#75828b;--line:#e3e7e8;--soft:#f5f6f4;--panel:#fff;--nav:#111925;--accent:#ef6253;--accent-dark:#d94d40;--gold:#e9ad47;--green:#4f9b73;--blue:#537fc1;--danger:#d64e47;--shadow:0 18px 42px rgba(29,39,45,.08);font-family:Manrope,Arial,sans-serif;color:var(--ink);background:#f2f3f1;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f2f3f1}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}svg{width:20px;height:20px;stroke-width:1.8}.hidden{display:none!important}.boot-screen{position:fixed;inset:0;z-index:100;background:#111925;color:#fff;display:grid;place-content:center;text-align:center;gap:12px}.boot-mark,.auth-mark{display:grid;place-items:center;width:62px;height:62px;background:var(--accent);color:#fff;font-weight:800;font-size:23px;border-radius:8px}.boot-screen p{color:#aab3bd;font-size:13px}.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(440px,.9fr);background:#fff}.auth-brand{padding:clamp(48px,8vw,120px);display:flex;flex-direction:column;justify-content:center;background:#111925;color:#fff;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;right:-20%;bottom:-32%;width:70%;aspect-ratio:1;border:1px solid rgba(255,255,255,.08);border-radius:50%}.auth-brand>p{margin:34px 0 16px;color:#91a0ad;letter-spacing:.13em;font-size:12px;font-weight:700}.auth-brand h1{font-size:clamp(42px,5vw,72px);line-height:1.05;letter-spacing:0;margin:0;max-width:850px}.auth-flow{display:flex;align-items:center;gap:13px;margin-top:58px;color:#b7c0c8;font-size:12px;font-weight:700}.auth-flow i{width:30px;height:1px;background:#46515c}.auth-panel{display:grid;place-items:center;padding:40px}.auth-form{width:min(420px,100%);display:grid;gap:18px}.auth-form h2{font-size:36px;margin:4px 0 0;letter-spacing:0}.auth-form>p{margin:0 0 18px;color:var(--muted)}label{display:grid;gap:7px;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #dfe3e3;border-radius:5px;background:#fff;padding:12px 13px;outline:none;min-height:44px}input:focus,select:focus,textarea:focus{border-color:#8799a4;box-shadow:0 0 0 3px rgba(83,127,193,.1)}textarea{resize:vertical}.eyebrow{font-size:11px;letter-spacing:.13em;color:#7c8d96;font-weight:800}.btn{border:1px solid transparent;border-radius:5px;min-height:40px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:13px;white-space:nowrap}.btn svg{width:17px}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 7px 16px rgba(239,98,83,.18)}.btn-primary:hover{background:var(--accent-dark)}.btn-secondary{background:#fff;border-color:var(--line)}.btn-secondary:hover{background:#f6f7f7}.btn-danger{background:#fff4f3;border-color:#f1c5c1;color:var(--danger)}.btn-wide{width:100%;margin-top:8px}.form-message{padding:10px;border-radius:5px;background:#fff0ee;color:#a6372f;font-size:13px}.app{min-height:100vh;display:grid;grid-template-columns:92px minmax(0,1fr)}.rail{position:fixed;inset:0 auto 0 0;width:92px;background:var(--nav);display:flex;flex-direction:column;align-items:stretch;z-index:30;color:#a9b3bd}.brand-button{height:82px;border:0;background:#fff;display:grid;place-items:center}.brand-button span{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);color:#fff;font-weight:800;border-radius:6px}.rail-nav{display:flex;flex:1;flex-direction:column}.rail-item{height:76px;border:0;background:transparent;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:9px;position:relative}.rail-item:hover,.rail-item.active{color:#fff;background:#1b2634}.rail-item.active:before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:3px;background:var(--accent)}.rail-item svg{width:23px;height:23px}.rail-bottom{margin-top:auto}.nav-dot,.notification-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--accent)}.nav-dot{right:21px;top:16px}.workspace{grid-column:2;min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;position:sticky;top:0;z-index:20}.breadcrumb{display:flex;flex-direction:column;gap:3px}.breadcrumb strong{font-size:15px}.breadcrumb span{font-size:11px;color:var(--muted)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:11px}.icon-btn{width:39px;height:39px;display:inline-grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:5px;position:relative;padding:0}.icon-btn:hover{background:#f5f6f6}.icon-btn.danger{color:var(--danger)}.notification-dot{right:7px;top:7px}.profile-chip{display:flex;align-items:center;gap:9px;padding:0 13px;border-left:1px solid var(--line)}.profile-chip div{display:flex;flex-direction:column}.profile-chip strong{font-size:12px}.profile-chip small{font-size:10px;color:var(--muted)}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#dfe9e2;color:#28573e;font-weight:800;font-size:12px}.mobile-menu{display:none}.view{padding:30px;min-height:calc(100vh - 82px)}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.page-head h1{font-size:28px;margin:5px 0 5px;letter-spacing:0}.page-head p{margin:0;color:var(--muted);font-size:13px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:20px;box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.panel-head h2{font-size:17px;margin:4px 0 0}.text-button{display:inline-flex;align-items:center;gap:4px;background:transparent;border:0;color:var(--accent-dark);font-size:12px;font-weight:700}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.metric{background:#fff;border:1px solid var(--line);border-radius:7px;padding:18px;display:grid;grid-template-columns:44px 1fr;gap:13px;align-items:center}.metric-icon{width:44px;height:44px;border-radius:6px;display:grid;place-items:center;background:#fff0ed;color:var(--accent)}.metric-icon.green{background:#eaf4ee;color:var(--green)}.metric-icon.gold{background:#fff5df;color:#a56e18}.metric-icon.blue{background:#edf3fb;color:var(--blue)}.metric strong{font-size:25px;display:block;line-height:1}.metric span{font-size:11px;color:var(--muted);display:block;margin-top:6px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:18px}.project-table-row{display:grid;grid-template-columns:minmax(180px,1fr) 130px 90px 120px;align-items:center;gap:14px;padding:13px 0;border-top:1px solid #edf0f0}.project-table-row:first-child{border-top:0}.project-name strong{display:block;font-size:13px}.project-name small,.project-table-row>small{color:var(--muted);font-size:10px}.progress{height:5px;background:#edf0ef;border-radius:4px;overflow:hidden;margin-top:7px}.progress i{display:block;height:100%;background:var(--green)}.status-pill,.priority-pill{display:inline-flex;align-items:center;width:max-content;max-width:100%;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:800;white-space:normal;overflow-wrap:anywhere}.status-pill.active{background:#e9f3ed;color:#347351}.status-pill.blocked{background:#fff0ee;color:#a94139}.status-pill.archived{background:#eff1f2;color:#68757e}.attention-item{padding:13px 0;border-top:1px solid #edf0f0;display:grid;grid-template-columns:32px 1fr;gap:10px}.attention-item:first-child{border-top:0}.attention-icon{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#fff0ee;color:var(--danger)}.attention-item strong{display:block;font-size:12px}.attention-item small{font-size:10px;color:var(--muted)}.project-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;margin:-30px;min-height:calc(100vh - 82px)}.project-sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 16px;min-height:calc(100vh - 82px)}.sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.sidebar-head h2{margin:3px 0 0;font-size:20px}.search-field{position:relative;display:block}.search-field svg{position:absolute;left:12px;top:12px;width:17px;color:#8a969e}.search-field input{padding-left:37px;min-height:40px}.project-filters{display:flex;gap:6px;margin:13px 0}.filter-chip{border:0;background:transparent;padding:6px 9px;border-radius:4px;color:var(--muted);font-size:11px;font-weight:700}.filter-chip.active{background:#eef1f1;color:var(--ink)}.project-list{display:grid;gap:5px}.project-list-item{width:100%;border:1px solid transparent;background:transparent;border-radius:5px;padding:11px;text-align:left;display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center}.project-list-item:hover{background:#f7f8f7}.project-list-item.active{background:#fff1ee;border-color:#f8cdc7}.project-symbol{width:34px;height:34px;border-radius:5px;background:#eaf0ed;display:grid;place-items:center;font-size:11px;font-weight:800}.project-list-item.active .project-symbol{background:var(--accent);color:#fff}.project-list-item strong{display:block;font-size:11px;overflow-wrap:anywhere}.project-list-item small{font-size:9px;color:var(--muted)}.project-list-item b{font-size:9px;color:var(--muted)}.project-main{min-width:0;padding:25px;background:#f4f5f3}.project-empty{min-height:70vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.project-empty svg{width:46px;height:46px;margin:auto}.project-empty h2{color:var(--ink);font-size:18px}.project-empty p{font-size:12px}.project-header{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.project-title-row{display:flex;align-items:center;gap:11px}.project-title-row h1{font-size:25px;margin:0}.project-code{background:#e8edeb;border-radius:4px;padding:5px 7px;font-size:9px;font-weight:800}.project-header p{margin:7px 0 0;color:var(--muted);font-size:11px}.project-actions{display:flex;gap:8px}.project-kpis{display:flex;gap:25px;border-bottom:1px solid var(--line);padding:21px 0 18px}.project-kpi{display:flex;align-items:center;gap:8px}.project-kpi strong{font-size:17px}.project-kpi span{font-size:9px;color:var(--muted);display:block}.project-toolbar{display:flex;align-items:center;gap:10px;padding:15px 0}.segmented{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#fff}.segmented button{height:37px;border:0;border-left:1px solid var(--line);background:#fff;padding:0 12px;display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700}.segmented button:first-child{border-left:0}.segmented button.active{background:#192432;color:#fff}.segmented svg{width:15px}.toolbar-spacer{flex:1}.task-search{width:220px}.phase-board{display:grid;grid-auto-columns:285px;grid-auto-flow:column;gap:10px;overflow-x:auto;padding-bottom:13px;scrollbar-color:#aeb5b7 transparent}.phase-column{background:#ecefed;border:1px solid #dfe4e2;border-radius:6px;min-height:510px;padding:10px}.phase-column.drag-over{outline:2px solid var(--accent);outline-offset:-2px}.phase-head{display:flex;align-items:center;gap:8px;padding:4px 2px 12px}.phase-head i{width:8px;height:8px;border-radius:50%;background:#87949a}.phase-head strong{font-size:11px;text-transform:uppercase}.phase-head span{margin-left:auto;background:#fff;border-radius:50%;min-width:22px;height:22px;display:grid;place-items:center;font-size:9px;font-weight:800}.phase-add{width:100%;height:34px;border:1px dashed #cbd1d1;background:transparent;border-radius:5px;color:#68757d;font-size:10px;font-weight:700}.task-card{background:#fff;border:1px solid #dfe3e2;border-radius:6px;padding:13px;margin-bottom:8px;box-shadow:0 4px 12px rgba(37,47,52,.04);cursor:pointer}.task-card[draggable=true]{cursor:grab}.task-card.dragging{opacity:.45}.task-card-top{display:flex;align-items:start;gap:8px}.task-card-code{font-size:8px;color:#87949b;font-weight:800}.task-card-menu{margin-left:auto;border:0;background:transparent;padding:0;color:#839097}.task-card h3{font-size:12px;line-height:1.4;margin:7px 0 10px;overflow-wrap:anywhere}.task-card-tags{display:flex;flex-wrap:wrap;gap:5px}.priority-pill.urgent{background:#ffe7e4;color:#ac372d}.priority-pill.high{background:#fff1da;color:#9b6414}.priority-pill.normal{background:#eaf2f8;color:#426b8b}.priority-pill.low{background:#edf0ef;color:#68757d}.task-card-meta{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0ef;margin-top:12px;padding-top:10px;color:#7b888f;font-size:9px}.task-card-meta span{display:inline-flex;align-items:center;gap:4px}.task-card-meta svg{width:13px}.task-assignees-mini{margin-left:auto;display:flex}.mini-avatar{width:25px;height:25px;border:2px solid #fff;margin-left:-6px;border-radius:50%;display:grid;place-items:center;background:#dfe9e2;font-size:7px;font-weight:800}.blocked-note{margin-top:9px;padding:7px;background:#fff3e2;color:#8e621e;border-radius:4px;font-size:9px}.task-list-view{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.list-task-row{display:grid;grid-template-columns:110px minmax(180px,1fr) 120px 120px 110px;gap:12px;align-items:center;padding:12px 14px;border-top:1px solid #edf0ef;font-size:11px}.list-task-row:first-child{border-top:0}.my-task-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:18px}.my-task-list{display:grid;gap:10px}.my-task-row{background:#fff;border:1px solid var(--line);border-radius:6px;padding:16px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center}.my-task-row:hover{border-color:#b8c1c2}.task-status-icon{width:44px;height:44px;border-radius:6px;background:#edf2f0;display:grid;place-items:center;color:var(--green)}.my-task-row h3{font-size:13px;margin:0 0 5px}.my-task-row p{font-size:10px;color:var(--muted);margin:0}.task-focus{position:sticky;top:108px;height:max-content}.task-focus h2{font-size:18px;margin:5px 0}.focus-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.focus-meta div{background:#f5f6f4;padding:10px;border-radius:5px}.focus-meta small{display:block;color:var(--muted);font-size:9px}.focus-meta strong{font-size:11px}.focus-actions{display:grid;gap:8px}.photo-hint{display:flex;align-items:center;gap:8px;background:#eff5f1;padding:10px;border-radius:5px;font-size:9px;color:#456a54}.empty-state{text-align:center;color:var(--muted);padding:30px}.empty-state svg{width:34px;height:34px}.time-grid,.leave-layout{display:grid;grid-template-columns:minmax(300px,.6fr) minmax(0,1.4fr);gap:18px}.work-clock{text-align:center}.clock-ring{width:180px;aspect-ratio:1;border-radius:50%;margin:6px auto 18px;display:grid;place-items:center;background:conic-gradient(var(--green) var(--clock-progress,0%),#e9edeb 0);position:relative}.clock-ring:after{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}.clock-ring div{position:relative;z-index:1}.clock-ring strong{display:block;font-size:27px}.clock-ring small{color:var(--muted);font-size:9px}.attendance-row,.leave-row{display:grid;grid-template-columns:minmax(150px,1fr) 120px 120px auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf0ef}.attendance-row:first-child,.leave-row:first-child{border-top:0}.attendance-row strong,.leave-row strong{font-size:11px;overflow-wrap:anywhere}.attendance-row small,.leave-row small{font-size:9px;color:var(--muted)}.leave-balance{display:grid;place-items:center;text-align:center}.donut{width:150px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--green) var(--leave-used,0%),#e6ece8 0);position:relative}.donut:after{content:"";position:absolute;inset:16px;border-radius:50%;background:#fff}.donut strong{position:relative;z-index:1;font-size:28px}.leave-balance h2{margin:15px 0 4px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:13px}.person-card{background:#fff;border:1px solid var(--line);border-radius:7px;padding:16px}.person-head{display:flex;align-items:center;gap:11px}.person-head .avatar{width:43px;height:43px}.person-head strong{font-size:12px;display:block}.person-head small{font-size:9px;color:var(--muted)}.person-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:15px;border-top:1px solid var(--line);padding-top:12px}.person-stats strong{display:block;font-size:15px}.person-stats small{font-size:8px;color:var(--muted)}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.folder-item{border:1px solid var(--line);border-radius:6px;padding:15px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.folder-item svg{color:#e0a23b}.folder-item strong{font-size:11px}.folder-item small{display:block;color:var(--muted);font-size:9px}.settings-list>div{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:15px 0;border-top:1px solid var(--line)}.settings-list>div:first-child{border-top:0}.settings-list strong{font-size:12px}.settings-list small{display:block;font-size:9px;color:var(--muted)}.settings-list b{font-size:10px;color:var(--green)}.modal-layer{position:fixed;inset:0;background:rgba(12,19,26,.6);z-index:80;display:grid;place-items:center;padding:24px;overflow:auto}.modal{width:min(900px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:7px;box-shadow:0 28px 70px rgba(0,0,0,.25)}.modal-small{width:min(500px,100%)}.modal header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal h2{font-size:20px;margin:4px 0 0}.modal form{padding:22px;display:grid;gap:15px}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:repeat(3,1fr)}label small,legend small{font-size:9px;color:var(--muted);font-weight:500}fieldset{border:1px solid var(--line);border-radius:6px;margin:0;padding:12px}legend{font-size:12px;font-weight:800;padding:0 6px}.assignee-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:160px;overflow:auto}.assignee-option{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:8px;border-radius:5px;font-size:10px;font-weight:700;min-width:0}.assignee-option input{width:16px;min-height:16px;margin:0;flex:none}.assignee-option span{overflow-wrap:anywhere}.modal-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;border-top:1px solid var(--line);padding-top:16px}.modal-actions>span{flex:1}.leave-confirm{padding:14px;background:#f4f6f4;border-radius:5px;font-size:12px}.toast-stack{position:fixed;right:18px;bottom:18px;display:grid;gap:8px;z-index:100}.toast{background:#182430;color:#fff;padding:12px 16px;border-radius:5px;box-shadow:0 8px 22px rgba(0,0,0,.2);font-size:11px;animation:toast-in .2s ease}.toast.error{background:#a83f37}@keyframes toast-in{from{transform:translateY(8px);opacity:0}}@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.overview-grid{grid-template-columns:1fr}.project-layout{grid-template-columns:220px minmax(0,1fr)}.profile-chip div{display:none}.form-grid.three{grid-template-columns:1fr 1fr}.assignee-picker{grid-template-columns:1fr 1fr}}@media(max-width:760px){.app{display:block}.rail{width:270px;transform:translateX(-100%);transition:transform .2s}.rail.open{transform:none}.brand-button{height:72px}.rail-item{height:58px;flex-direction:row;justify-content:flex-start;padding:0 23px;font-size:11px}.rail-item.active:before{top:8px;bottom:8px}.workspace{width:100%}.topbar{height:64px;padding:0 12px}.mobile-menu{display:grid}.breadcrumb span,.top-actions>.icon-btn:not(:last-child){display:none}.top-actions{gap:5px}.profile-chip{padding:0 5px;border:0}.view{padding:17px;min-height:calc(100vh - 64px)}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:17px}.page-head h1{font-size:22px}.metric-grid{grid-template-columns:1fr 1fr;gap:8px}.metric{padding:12px;grid-template-columns:35px 1fr}.metric-icon{width:35px;height:35px}.metric strong{font-size:20px}.project-layout{display:block;margin:-17px;min-height:calc(100vh - 64px)}.project-sidebar{min-height:auto;border-right:0;border-bottom:1px solid var(--line);padding:14px}.project-sidebar .sidebar-head,.project-sidebar .search-field,.project-filters{display:none}.project-list{display:flex;overflow-x:auto}.project-list-item{min-width:180px}.project-main{padding:16px}.project-header{flex-direction:column}.project-actions{width:100%}.project-actions .btn{flex:1}.project-kpis{gap:13px;overflow-x:auto}.project-toolbar{flex-wrap:wrap}.task-search{order:4;width:100%}.phase-board{grid-auto-columns:85vw;min-height:450px}.phase-column{min-height:430px}.my-task-layout,.time-grid,.leave-layout{grid-template-columns:1fr}.task-focus{position:static}.attendance-row,.leave-row{grid-template-columns:minmax(130px,1fr) 90px auto}.attendance-row>*:nth-child(3),.leave-row>*:nth-child(3){display:none}.people-grid{grid-template-columns:1fr}.form-grid.two,.form-grid.three{grid-template-columns:1fr}.assignee-picker{grid-template-columns:1fr}.modal-layer{padding:0;align-items:end}.modal{width:100%;max-height:92vh;border-radius:8px 8px 0 0}.modal header,.modal form{padding:16px}.auth-screen{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{padding:25px}.overview-grid{gap:10px}.project-table-row{grid-template-columns:minmax(130px,1fr) 80px}.project-table-row>*:nth-child(3),.project-table-row>*:nth-child(4){display:none}.folder-grid{grid-template-columns:1fr}}@media(max-width:390px){.metric-grid{grid-template-columns:1fr}.top-actions .profile-chip{display:none}.project-actions .btn-secondary{display:none}}
/* Workshop task generation and automatic PDA routing */
.workstation-routing-settings {
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Manager attendance resolution */
.attendance-row {
  grid-template-columns: minmax(150px, 1fr) 86px 86px auto minmax(104px, auto);
}

.attendance-resolve-btn {
  min-width: 104px;
  min-height: 36px;
  padding-inline: 11px;
  justify-self: end;
}

.attendance-resolution-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.attendance-resolution-summary > span:last-child {
  display: grid;
  gap: 3px;
}

.attendance-resolution-summary strong {
  font-size: 13px;
}

.attendance-resolution-summary small {
  color: var(--muted);
  font-size: 10px;
}

.attendance-resolution-options {
  display: grid;
  gap: 7px;
}

.attendance-resolution-option {
  display: block;
  cursor: pointer;
}

.attendance-resolution-option > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-resolution-option > span {
  min-height: 62px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.attendance-resolution-option > span > svg {
  color: var(--muted);
}

.attendance-resolution-option strong {
  display: grid;
  gap: 3px;
  font-size: 12px;
}

.attendance-resolution-option small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.45;
}

.attendance-resolution-option > input:checked + span {
  border-color: #7b9787;
  background: #edf5f0;
  box-shadow: 0 0 0 2px rgba(79, 155, 115, .1);
}

.attendance-resolution-option > input:checked + span > svg {
  color: var(--green);
}

.attendance-resolution-option.is-disabled {
  cursor: not-allowed;
  opacity: .45;
}

.attendance-resolution-warning {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #efd5a5;
  border-radius: 5px;
  background: #fff8e9;
  color: #76531d;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .attendance-row {
    grid-template-columns: minmax(115px, 1fr) auto auto;
    gap: 8px;
  }

  .attendance-row > *:nth-child(2),
  .attendance-row > *:nth-child(3) {
    display: none;
  }

  .attendance-resolve-btn {
    min-width: 40px;
    width: 40px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    gap: 0;
  }

  .attendance-resolve-btn svg {
    color: var(--ink);
    flex: none;
  }
}

.project-list-item {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.project-symbol {
  width: 42px;
  height: 34px;
  padding: 0 4px;
  font-size: 10px;
  white-space: nowrap;
}

.project-actions {
  align-items: flex-end;
  flex-wrap: wrap;
}

.project-status-control {
  width: 118px;
  gap: 3px;
}

.project-status-control > span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
}

.project-status-control select {
  min-height: 40px;
  padding: 0 30px 0 11px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .project-sidebar .project-filters {
    display: flex;
    overflow-x: auto;
  }

  .project-status-control {
    width: 100%;
  }
}

.panel-head.compact {
  margin-bottom: 10px;
}

.panel-head.compact h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.workstation-route-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.workstation-route-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 360px);
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.workstation-route-row > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.workstation-route-row svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.workstation-route-row select {
  width: 100%;
  min-width: 0;
}

.task-pda-route,
#workshop-task-pda-route {
  display: block;
  margin-top: 6px;
}

#workshop-task-pda-route.online {
  color: var(--green);
  font-weight: 700;
}

.workshop-task-generator-modal {
  width: min(980px, calc(100vw - 32px));
}

.workshop-target-project {
  display: grid;
  max-width: 520px;
}

.workshop-generation-preview {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.workshop-generation-list {
  display: grid;
  gap: 14px;
  max-height: min(42vh, 480px);
  overflow: auto;
  padding-right: 4px;
}

.workshop-generation-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.workshop-generation-section > header {
  display: grid;
  grid-template-columns: minmax(160px, .65fr) minmax(260px, 1fr);
  align-items: end;
  gap: 18px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f3f6f5;
}

.workshop-generation-section > header div span,
.workshop-generation-section > header div strong {
  display: block;
}

.workshop-generation-section > header div span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.workshop-generation-section > header label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
}

.workshop-generation-section > header select {
  width: 100%;
  min-width: 0;
}

.workshop-generation-section-items {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.workshop-generation-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.workshop-generation-row:has(input:checked) {
  border-color: var(--blue);
  background: #edf3fb;
}

.workshop-generation-row input {
  width: 18px;
  height: 18px;
}

.workshop-generation-row span {
  min-width: 0;
}

.workshop-generation-row strong,
.workshop-generation-row small {
  display: block;
}

.workshop-generation-row small {
  margin-top: 4px;
  color: var(--muted);
}

.workshop-generation-row em {
  font-style: normal;
  white-space: nowrap;
  color: var(--muted);
}

.workstation-cut-plan {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.workstation-cut-plan summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.workstation-cut-plan > div {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px;
}

.workstation-cut-pattern {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.workstation-cut-pattern strong,
.workstation-cut-pattern small {
  display: block;
}

.workstation-cut-pattern p,
.workstation-cut-pattern em {
  margin: 0;
  font-size: 11px;
  font-style: normal;
}

.workstation-cut-pattern em {
  text-align: right;
  color: var(--muted);
}

@media (max-width: 720px) {
  .workstation-route-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workshop-generation-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .workshop-generation-row em {
    grid-column: 2;
  }

  .workshop-generation-section > header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .workstation-cut-pattern {
    grid-template-columns: 1fr;
  }

  .workstation-cut-pattern em {
    text-align: left;
  }
}
/* One-time conversion of device-bound worker sessions to durable credentials. */
.credential-upgrade-layer{align-items:center;padding:16px}.credential-upgrade-modal{border-radius:7px;max-height:calc(100vh - 32px)}.credential-upgrade-modal header{position:static}.credential-upgrade-modal form{gap:14px}.credential-upgrade-intro{margin:0 0 4px;color:var(--muted);font-size:12px;line-height:1.55}.credential-upgrade-lock{width:42px;height:42px;display:grid;place-items:center;border-radius:6px;background:#e7f3eb;color:#2f7a50;flex:none}.credential-upgrade-lock svg{width:21px;height:21px}.credential-upgrade-modal .form-message{margin:0}.credential-upgrade-modal button[type="submit"]{min-height:48px}@media(max-width:760px){.credential-upgrade-layer{align-items:center;padding:16px}.credential-upgrade-modal{width:min(500px,100%);border-radius:7px;max-height:calc(100vh - 32px)}.credential-upgrade-modal header,.credential-upgrade-modal form{padding:18px}}

/* Shared workshop tablet */
.workstation-navigation{min-height:40px;display:flex;align-items:center;gap:13px;margin-bottom:16px}.workstation-navigation .btn{min-height:40px}.workstation-breadcrumb{color:#667b80;font-size:11px;font-weight:750}.workstation-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.workstation-menu-tile{position:relative;min-height:142px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:17px;align-items:center;padding:22px;border:1px solid #d4ddda;border-radius:7px;background:#fff;color:#102f39;text-align:left;box-shadow:0 8px 24px rgba(20,47,54,.055)}.workstation-menu-tile:hover{border-color:#8aa8a2;background:#fbfdfc}.workstation-menu-tile:focus-visible{outline:3px solid rgba(40,126,105,.24);outline-offset:2px}.workstation-menu-tile>span{width:58px;height:58px;display:grid;place-items:center;border-radius:6px;background:#e6f1ed;color:#247259}.workstation-menu-tile>span svg{width:27px;height:27px}.workstation-menu-tile strong,.workstation-menu-tile small{display:block}.workstation-menu-tile strong{font-size:18px;line-height:1.25}.workstation-menu-tile small{margin-top:7px;color:#6f8285;font-size:10px;line-height:1.45}.workstation-menu-tile>b{min-width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#eef2f0;color:#49645e;font-size:11px}.workstation-menu-tile.warning>span{background:#fff0df;color:#a66216}.workstation-menu-tile.warning>b{background:#fff0df;color:#8c591e}
.workstation-menu-tile>.workstation-new-badge{width:auto;min-width:46px;height:28px;padding:0 8px;border-radius:5px;background:#fff0d8;color:#945d10;font-size:9px;letter-spacing:0}.workstation-attention{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;border:1px solid #e6c984;border-radius:7px;background:#fff9ea}.workstation-attention>span{width:42px;height:42px;display:grid;place-items:center;border-radius:6px;background:#ffedbd;color:#956113}.workstation-attention>span svg{width:19px;height:19px}.workstation-attention-copy strong,.workstation-attention-copy small{display:block}.workstation-attention-copy strong{font-size:13px}.workstation-attention-copy small{margin-top:4px;color:#7d6943;font-size:9px;line-height:1.4}.workstation-attention-tags{display:flex;gap:5px}.workstation-attention-tags span{height:27px;display:flex;align-items:center;gap:4px;padding:0 7px;border:1px solid #ead8ad;border-radius:5px;background:#fff;color:#765c2f;font-size:9px;font-weight:850}.workstation-attention-tags svg{width:13px;height:13px}
.workstation-task-list{display:grid;gap:11px}.workstation-task-card{position:relative;border:1px solid #d4ddda;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 5px 16px rgba(20,47,54,.045)}.workstation-task-open{width:100%;min-height:104px;display:grid;grid-template-columns:90px minmax(0,1fr) 118px 22px;gap:17px;align-items:center;padding:18px 70px 18px 20px;border:0;background:transparent;color:inherit;text-align:left}.workstation-task-open:hover{background:#f8faf9}.workstation-task-code{color:#56716d;font-size:10px;font-weight:850}.workstation-task-copy strong,.workstation-task-copy small,.workstation-task-copy em{display:block}.workstation-task-copy strong{font-size:15px;line-height:1.35}.workstation-task-copy small{margin-top:4px;color:#728689;font-size:10px}.workstation-task-copy em{display:flex;align-items:center;gap:5px;margin-top:7px;color:#536d69;font-size:9px;font-style:normal;font-weight:700}.workstation-task-copy em svg{width:13px;height:13px}.workstation-task-due{justify-self:end;text-align:right}.workstation-task-due small,.workstation-task-due strong,.workstation-task-due em{display:block}.workstation-task-due small{color:#8b999b;font-size:8px;font-weight:850}.workstation-task-due strong{margin-top:3px;font-size:11px}.workstation-task-due em{margin-top:6px;color:#497066;font-size:9px;font-style:normal}.workstation-task-open>svg{width:20px;color:#8a999b}.workstation-task-settings{position:absolute;right:16px;top:14px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #d8e0dd;border-radius:6px;background:#fff;color:#405b57}.workstation-task-settings:hover{background:#e8f2ee;color:#247259}.workstation-task-settings svg{width:20px;height:20px}
.workstation-task-detail{display:grid;gap:0;border:1px solid #d6dfdc;border-radius:7px;background:#fff;overflow:hidden}.workstation-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:#153f48;color:#fff}.workstation-detail-hero div span,.workstation-detail-hero div strong{display:block}.workstation-detail-hero div span{color:#b8cdd0;font-size:9px;font-weight:850}.workstation-detail-hero div strong{margin-top:4px;font-size:15px}.workstation-detail-hero .icon-btn{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22)}.workstation-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e1e6e4}.workstation-detail-meta>div{position:relative;min-height:96px;display:grid;grid-template-columns:38px minmax(0,1fr);align-content:center;gap:2px 10px;padding:17px 20px;border-left:1px solid #e1e6e4}.workstation-detail-meta>div:first-child{border-left:0}.workstation-detail-meta>div>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:#e7f1ed;color:#28755d}.workstation-detail-meta svg{width:18px;height:18px}.workstation-detail-meta small{color:#7c8d90;font-size:8px;font-weight:850}.workstation-detail-meta strong{font-size:11px;overflow-wrap:anywhere}.workstation-detail-section{padding:22px;border-bottom:1px solid #e1e6e4}.workstation-detail-section>header{display:flex;align-items:center;gap:11px;margin-bottom:16px}.workstation-detail-section>header>span{width:36px;height:36px;display:grid;place-items:center;border-radius:6px;background:#edf2f0;color:#456b62}.workstation-detail-section>header>span svg{width:17px;height:17px}.workstation-detail-section>header small,.workstation-detail-section>header h2{display:block}.workstation-detail-section>header small{color:#839396;font-size:8px;font-weight:850}.workstation-detail-section>header h2{margin:2px 0 0;font-size:15px}.workstation-detail-section>header>b{margin-left:auto;color:#506c67;font-size:10px}.workstation-description p{margin:8px 0;color:#3e5458;font-size:12px;line-height:1.55}.workstation-no-items{margin:0;padding:16px;border:1px dashed #cfd8d5;border-radius:6px;color:#758689;text-align:center}.workstation-checklist{display:grid;gap:8px}.workstation-check-item{min-height:66px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 13px;border:1px solid #dbe2e0;border-radius:6px;background:#fbfcfb;color:inherit;text-align:left}.workstation-check-item:hover{border-color:#9bb3ad}.workstation-check-item>span:first-child{width:28px;height:28px;display:grid;place-items:center;border:2px solid #adbbb7;border-radius:5px;color:#fff}.workstation-check-item>span:first-child svg{width:16px;height:16px}.workstation-check-item strong,.workstation-check-item small{display:block}.workstation-check-item strong{font-size:11px}.workstation-check-item small{margin-top:4px;color:#718387;font-size:9px}.workstation-check-item>b{font-size:10px}.workstation-check-item.completed{border-color:#acd0bf;background:#eef7f2}.workstation-check-item.completed>span:first-child{border-color:#388265;background:#388265}.workstation-check-item.completed strong{text-decoration:line-through;color:#60746f}.workstation-cut-patterns{display:grid;gap:8px}.workstation-cut-pattern{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 15px;border:1px solid #dbe2e0;border-radius:6px;background:#f8faf9}.workstation-cut-pattern span small,.workstation-cut-pattern span strong{display:block}.workstation-cut-pattern span small{color:#7b8c8f;font-size:8px}.workstation-cut-pattern span strong{margin-top:3px;font-size:13px}.workstation-cut-pattern p{margin:0;font-size:11px;font-weight:750}.workstation-cut-pattern em{color:#6f8285;font-size:9px;font-style:normal}.workstation-viewer-placeholder{min-height:150px;display:grid;place-content:center;justify-items:center;padding:24px;border:1px dashed #c8d3cf;border-radius:6px;background:#f8faf9;color:#6b7e81;text-align:center}.workstation-viewer-placeholder svg{width:30px;height:30px}.workstation-viewer-placeholder strong{margin-top:9px;color:#304d50;font-size:12px}.workstation-viewer-placeholder small{max-width:480px;margin-top:5px;font-size:9px;line-height:1.45}.workstation-model-files{display:flex;flex-wrap:wrap;gap:8px}.workstation-detail-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding:16px 22px;background:#fff;border-top:1px solid #dfe5e3;box-shadow:0 -8px 18px rgba(20,47,54,.045)}.workstation-detail-actions .btn{min-width:220px;min-height:50px}
.workstation-pin-modal form{gap:18px}.workstation-pin-intro{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #dfe6e3;border-radius:6px;background:#f7faf8}.workstation-pin-intro>span{width:40px;height:40px;display:grid;place-items:center;border-radius:6px;background:#e3f1eb;color:#28755d}.workstation-pin-intro strong,.workstation-pin-intro small{display:block}.workstation-pin-intro strong{font-size:12px}.workstation-pin-intro small{margin-top:3px;color:#718387;font-size:9px}.workstation-pin-modal input{min-height:58px;text-align:center;font-size:24px;font-weight:850;letter-spacing:0}.workstation-assignment-modal{width:min(760px,100%)}.workstation-assignment-body{padding:22px}.workstation-assignment-task{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dce3e1;border-radius:6px;background:#f7faf8}.workstation-assignment-task>span{width:42px;height:42px;display:grid;place-items:center;border-radius:6px;background:#e5f1ec;color:#28755d}.workstation-assignment-task small,.workstation-assignment-task strong{display:block}.workstation-assignment-task small{color:#7d8e90;font-size:8px;font-weight:850}.workstation-assignment-task strong{margin-top:3px;font-size:13px}.workstation-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}.workstation-person-option{position:relative;min-height:64px;display:grid;grid-template-columns:42px minmax(0,1fr) 25px;gap:10px;align-items:center;padding:10px 12px;border:1px solid #dbe2e0;border-radius:6px;background:#fff;cursor:pointer}.workstation-person-option input{position:absolute;opacity:0;pointer-events:none}.workstation-person-option strong,.workstation-person-option small{display:block}.workstation-person-option strong{font-size:11px}.workstation-person-option small{margin-top:3px;color:#718387;font-size:9px}.workstation-person-option>i{width:25px;height:25px;display:grid;place-items:center;border:1px solid #bcc8c4;border-radius:5px;color:transparent}.workstation-person-option>i svg{width:15px;height:15px}.workstation-person-option:has(input:checked){border-color:#67a68e;background:#eef7f2}.workstation-person-option:has(input:checked)>i{border-color:#388265;background:#388265;color:#fff}.pda-pin-settings form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}.pda-pin-settings .field-help{grid-column:1/-1;margin:0}.pda-pin-settings label{min-width:0}.pda-pin-settings input{text-align:center;font-weight:800;letter-spacing:0}
.workstation-supply-request{max-width:760px;margin:0 auto;border:1px solid #d4ddda;border-radius:7px;background:#fff;box-shadow:0 8px 24px rgba(20,47,54,.055);overflow:hidden}.workstation-supply-request>header{display:flex;align-items:center;gap:14px;padding:20px 22px;border-bottom:1px solid #e1e6e4;background:#f7faf8}.workstation-supply-request>header>span{width:48px;height:48px;display:grid;place-items:center;border-radius:6px;background:#fff0df;color:#a66216}.workstation-supply-request>header>span svg{width:23px;height:23px}.workstation-supply-request>header small,.workstation-supply-request>header h2{display:block}.workstation-supply-request>header small{color:#8b7351;font-size:8px;font-weight:850}.workstation-supply-request>header h2{margin:3px 0 0;font-size:18px}.workstation-supply-request form{display:grid;gap:12px;padding:24px}.workstation-supply-request form>label{font-size:12px;font-weight:800}.workstation-supply-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.workstation-supply-controls input{min-height:52px;font-size:14px}.workstation-supply-controls .btn{min-width:150px}.workstation-supply-notice{display:flex;align-items:center;gap:9px;margin-top:4px;padding:12px;border:1px solid;border-radius:6px;font-size:11px;font-weight:750}.workstation-supply-notice svg{width:18px;height:18px;flex:none}.workstation-supply-notice.success{border-color:#acd0bf;background:#eef7f2;color:#27684f}.workstation-supply-notice.error{border-color:#efb8b2;background:#fff0ee;color:#9a3f36}
@media(max-width:760px){.workstation-navigation{margin-bottom:12px}.workstation-breadcrumb{display:none}.workstation-menu-grid{gap:10px}.workstation-menu-tile{min-height:128px;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:15px}.workstation-menu-tile>span{width:42px;height:42px}.workstation-menu-tile>span svg{width:22px;height:22px}.workstation-menu-tile strong{font-size:14px}.workstation-menu-tile small{display:none}.workstation-menu-tile>b{position:absolute;right:10px;top:10px;min-width:26px;height:26px;font-size:9px}.workstation-task-open{min-height:116px;grid-template-columns:1fr;padding:15px 58px 15px 15px;gap:5px}.workstation-task-code{font-size:9px}.workstation-task-due{justify-self:start;text-align:left;display:flex;align-items:center;gap:7px}.workstation-task-due small{display:none}.workstation-task-due strong,.workstation-task-due em{margin:0}.workstation-task-open>svg{display:none}.workstation-task-settings{right:10px;top:10px}.workstation-detail-meta{grid-template-columns:1fr}.workstation-detail-meta>div{min-height:74px;border-left:0;border-top:1px solid #e1e6e4}.workstation-detail-meta>div:first-child{border-top:0}.workstation-detail-section{padding:17px}.workstation-check-item{grid-template-columns:27px minmax(0,1fr)}.workstation-check-item>b{grid-column:2}.workstation-cut-pattern{grid-template-columns:1fr}.workstation-cut-pattern em{margin-top:-6px}.workstation-detail-actions{padding:12px 16px}.workstation-detail-actions .btn{width:100%;min-width:0}.workstation-assignment-grid{grid-template-columns:1fr}.workstation-assignment-body{padding:16px}.workstation-supply-request form{padding:18px}.workstation-supply-controls{grid-template-columns:1fr}.workstation-supply-controls .btn{width:100%}.pda-pin-settings form{grid-template-columns:1fr}.workstation-pin-modal input{font-size:21px}}
@media(max-width:430px){.workstation-menu-grid{grid-template-columns:1fr}.workstation-menu-tile{min-height:92px}.workstation-heading h1{font-size:21px}.workstation-summary{grid-template-columns:1fr}.workstation-summary .workstation-metric:last-child{grid-column:auto}}
@media(max-width:760px){.workstation-menu-tile>.workstation-new-badge{min-width:42px;height:25px;padding:0 6px}.workstation-attention{grid-column:1/-1;grid-template-columns:38px minmax(0,1fr);padding:14px}.workstation-attention>span{width:38px;height:38px}.workstation-attention-tags{grid-column:2;flex-wrap:wrap}}
@media(min-width:761px) and (max-width:1100px){.workstation-attention-tags{display:none}}
.project-senior-visibility {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line, #dfe4e3);
  border-radius: 8px;
  background: #f7f9f8;
  cursor: pointer;
}

.project-senior-visibility input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent, #f45f52);
}

.project-senior-visibility span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.project-senior-visibility strong,
.project-senior-visibility small {
  display: block;
}

.project-senior-visibility small {
  color: var(--muted, #71808a);
  line-height: 1.45;
}

.project-phase-visibility-fieldset {
  padding: 15px;
  background: #f7f9f8;
}

.project-phase-visibility-fieldset > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.project-phase-visibility {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.project-phase-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.project-phase-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-phase-option > span {
  min-height: 44px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
}

.project-phase-option > span svg {
  width: 16px;
  flex: none;
}

.project-phase-option.selected > span {
  border-color: #eab1aa;
  background: #fff0ee;
  color: var(--accent-dark);
}

.project-phase-option input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.task-quick-menu {
  position: fixed;
  z-index: 75;
  width: min(292px, calc(100vw - 20px));
  overflow: hidden;
  border: 1px solid #d7dddb;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 31, 38, .22);
}

.task-quick-menu header {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  background: #f5f7f6;
}

.task-quick-menu header span,
.task-quick-menu header strong {
  display: block;
}

.task-quick-menu header span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.task-quick-menu header strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-quick-menu > button {
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 0;
  border-top: 1px solid #edf0ef;
  background: #fff;
  text-align: left;
}

.task-quick-menu > button:first-of-type {
  border-top: 0;
}

.task-quick-menu > button:hover:not(:disabled),
.task-quick-menu > button:focus-visible {
  background: #f7f9f8;
}

.task-quick-menu > button.danger {
  color: var(--danger);
}

.task-quick-menu > button.danger:hover:not(:disabled),
.task-quick-menu > button.danger:focus-visible {
  background: #fff3f2;
}

.task-quick-menu > button.danger > svg {
  color: var(--danger);
}

.task-quick-menu > button:disabled {
  cursor: default;
  opacity: .48;
}

.task-quick-menu > button > svg {
  width: 18px;
  color: var(--accent);
}

.task-quick-menu > button span,
.task-quick-menu > button strong,
.task-quick-menu > button small {
  display: block;
  min-width: 0;
}

.task-quick-menu > button strong {
  font-size: 11px;
}

.task-quick-menu > button small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.task-assignment-content {
  padding: 20px 22px 22px;
  display: grid;
  gap: 14px;
}

.task-assignment-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
}

.task-assignment-identity > span {
  grid-row: 1 / 3;
  padding: 7px 9px;
  border-radius: 5px;
  background: #edf1ef;
  font-size: 10px;
  font-weight: 800;
}

.task-assignment-identity > strong {
  font-size: 12px;
}

.task-assignment-identity > b {
  color: var(--muted);
  font-size: 9px;
}

.task-assignment-people {
  max-height: min(46vh, 430px);
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .task-quick-menu {
    display: none !important;
  }

  .project-phase-visibility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.after-shift-option:disabled {
  cursor: wait;
}

.after-shift-option:disabled:not(.is-pending) {
  opacity: .48;
}

.after-shift-option.is-pending {
  position: relative;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent);
}

.after-shift-option.is-pending > svg:last-child {
  visibility: hidden;
}

.after-shift-option.is-pending::after {
  content: "Feldolgozás...";
  position: absolute;
  right: 18px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.catalog-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-exchange-status {
  margin: -12px 0 18px;
  padding: 10px 12px;
  border: 1px solid #b9d8c5;
  border-radius: 5px;
  background: #edf7f1;
  color: #285f40;
  font-size: 11px;
  font-weight: 700;
}

.catalog-exchange-status.error {
  border-color: #efc5bf;
  background: #fff0ee;
  color: #a94139;
}

.catalog-inventory-guidance {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.catalog-guidance-badge {
  display: block;
  width: max-content;
  margin-top: 4px;
  color: #315f72;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.task-equipment-guidance {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.task-equipment-guidance > header {
  position: static;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 0 12px;
  border: 0;
}

.task-equipment-guidance > header > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 5px;
  background: #edf3fb;
  color: var(--blue);
}

.task-equipment-guidance > header small,
.task-equipment-guidance section small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.task-equipment-guidance > header strong {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}

.task-equipment-guidance > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.task-equipment-guidance section {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 11px;
  border: 1px solid #dfe5e4;
  border-radius: 5px;
  background: #f7f9f8;
}

.task-equipment-guidance section > span {
  color: #537fc1;
}

.task-equipment-guidance section svg {
  width: 17px;
  height: 17px;
}

.task-equipment-guidance section p {
  margin: 4px 0 0;
  color: #38464e;
  font-size: 10px;
  line-height: 1.5;
  white-space: pre-line;
}

.task-equipment-guidance.compact > div {
  grid-template-columns: 1fr;
}

.glossary-panel {
  margin-top: 18px;
}

.glossary-panel .panel-head {
  margin-bottom: 14px;
}

.glossary-count {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef1f1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.glossary-search {
  max-width: 440px;
  margin-bottom: 14px;
}

.glossary-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.glossary-table {
  min-width: 980px;
}

.glossary-row {
  display: grid;
  grid-template-columns: 120px 170px minmax(300px, 1.7fr) minmax(190px, 1fr) 150px;
  gap: 12px;
  align-items: start;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.45;
}

.glossary-row:first-child {
  border-top: 0;
}

.glossary-row strong {
  font-size: 11px;
}

.glossary-row p {
  margin: 0;
  color: #38464e;
}

.glossary-row span {
  color: var(--muted);
}

.glossary-row code {
  color: #315f72;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.glossary-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f0f3f2;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.glossary-header span {
  color: #627179;
}

@media (max-width: 760px) {
  .catalog-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .catalog-head-actions .btn {
    flex: 1;
    min-width: 145px;
  }

  .glossary-panel {
    padding: 14px;
  }

  .glossary-table-wrap {
    max-height: 65vh;
  }

  .task-equipment-guidance > div {
    grid-template-columns: 1fr;
  }
}

/* Task completion steps and participant comments */
.task-subtasks,
.task-comments {
  margin: 18px 0;
  border-block: 1px solid #dce3e0;
  background: #f7f9f8;
}

.task-subtasks > header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px 16px 11px;
}

.task-subtasks > header small,
.task-comments-toggle small {
  display: block;
  color: #71818a;
  font-size: 9px;
  font-weight: 800;
}

.task-subtasks > header h3 {
  margin: 2px 0 0;
  font-size: 14px;
}

.task-subtasks > header > b,
.task-comments-toggle > b {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e5ece8;
  color: #345c49;
  font-size: 10px;
  text-align: center;
}

.task-subtask-heading-icon,
.task-comments-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e5efe9;
  color: #367052;
}

.task-subtask-heading-icon svg,
.task-comments-icon svg {
  width: 19px;
}

.task-subtask-progress {
  height: 4px;
  margin: 0 16px 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #e2e7e5;
}

.task-subtask-progress i {
  display: block;
  width: var(--subtask-progress, 0%);
  height: 100%;
  background: var(--green);
  transition: width .2s ease;
}

.task-subtask-list {
  padding: 0 16px;
}

.task-subtask-row {
  min-height: 45px;
  display: grid;
  grid-template-columns: 20px 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e2e7e5;
  cursor: pointer;
}

.task-subtask-row input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.task-subtask-row > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--green);
}

.task-subtask-row > span svg {
  width: 16px;
}

.task-subtask-row strong {
  min-width: 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.task-subtask-row.completed strong {
  color: #718078;
  text-decoration: line-through;
}

.task-subtask-empty,
.task-comments-empty {
  margin: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.task-subtask-empty > svg,
.task-comments-empty > svg {
  width: 22px;
  flex: none;
}

.task-subtask-empty strong,
.task-subtask-empty small,
.task-comments-empty strong,
.task-comments-empty small {
  display: block;
}

.task-subtask-empty strong,
.task-comments-empty strong {
  color: #4d5b62;
  font-size: 11px;
}

.task-subtask-empty small,
.task-comments-empty small {
  margin-top: 2px;
  font-size: 9px;
}

.task-subtask-add {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 15px;
  border-top: 1px solid #dce3e0;
}

.task-subtask-add > span {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.task-subtask-add > span svg {
  width: 18px;
}

.task-subtask-add input {
  min-height: 40px;
  background: #fff;
}

.task-subtask-add button {
  min-width: 96px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #cfd8d3;
  border-radius: 5px;
  background: #fff;
  color: #315f49;
  font-size: 11px;
  font-weight: 800;
}

.task-subtasks.compact,
.task-comments.compact {
  margin: 12px 0;
}

.task-comments-toggle {
  width: 100%;
  min-height: 66px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  text-align: left;
}

.task-comments-toggle:hover,
.task-comments-toggle:focus-visible {
  background: #f1f5f3;
}

.task-comments-toggle > span:nth-child(2) {
  min-width: 0;
}

.task-comments-toggle strong,
.task-comments-toggle em {
  display: block;
}

.task-comments-toggle strong {
  margin-top: 2px;
  font-size: 14px;
}

.task-comments-toggle em {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-comments-toggle > svg {
  width: 17px;
  color: #738188;
}

.task-comments-panel {
  border-top: 1px solid #dce3e0;
  background: #fff;
}

.task-comments-thread {
  max-height: min(44vh, 430px);
  overflow-y: auto;
  padding: 4px 16px;
}

.task-comment {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid #edf0ef;
  transition: background .2s ease, box-shadow .2s ease;
}

.task-comment:first-child {
  border-top: 0;
}

.task-comment.highlighted {
  margin-inline: -8px;
  padding-inline: 8px;
  background: #fff7e5;
  box-shadow: inset 3px 0 #e9ad47;
}

.task-comment-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5ece8;
  color: #345c49;
  font-size: 9px;
  font-weight: 800;
}

.task-comment > div,
.task-comment header {
  min-width: 0;
}

.task-comment header {
  position: static;
  padding: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border: 0;
}

.task-comment header strong {
  font-size: 11px;
}

.task-comment header time {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.task-comment p {
  margin: 5px 0 0;
  color: #34434b;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.task-comment mark {
  padding: 1px 3px;
  border-radius: 3px;
  background: #e9f0fb;
  color: #315f8d;
  font-weight: 700;
}

.task-comment-form {
  padding: 14px 16px 16px !important;
  display: grid;
  gap: 8px !important;
  border-top: 1px solid #dce3e0;
  background: #f7f9f8;
}

.task-comment-form > label {
  font-size: 10px;
}

.task-comment-composer {
  position: relative;
}

.task-comment-composer textarea {
  min-height: 84px;
  background: #fff;
}

.task-comment-mention-menu {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: calc(100% + 5px);
  left: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #d7ddda;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 39, 45, .16);
}

.task-comment-mention-menu > button {
  width: 100%;
  min-height: 48px;
  padding: 8px 11px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 0;
  border-top: 1px solid #edf0ef;
  background: #fff;
  text-align: left;
}

.task-comment-mention-menu > button:first-child {
  border-top: 0;
}

.task-comment-mention-menu > button:hover,
.task-comment-mention-menu > button:focus-visible {
  background: #f1f5f3;
}

.task-comment-mention-menu > button > span:first-child {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5ece8;
  font-size: 8px;
  font-weight: 800;
}

.task-comment-mention-menu strong,
.task-comment-mention-menu small {
  display: block;
}

.task-comment-mention-menu strong {
  font-size: 10px;
}

.task-comment-mention-menu small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.task-comment-mention-menu > p {
  margin: 0;
  padding: 13px;
  color: var(--muted);
  font-size: 10px;
}

.task-comment-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-comment-form-actions > small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
}

.task-comment-form-actions > small svg {
  width: 14px;
}

@media (max-width: 760px) {
  .task-subtasks,
  .task-comments {
    margin-inline: -12px;
  }

  .task-subtasks > header,
  .task-comments-toggle {
    padding-inline: 12px;
  }

  .task-subtask-list,
  .task-comments-thread {
    padding-inline: 12px;
  }

  .task-subtask-row {
    min-height: 50px;
  }

  .task-subtask-add {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 12px;
  }

  .task-subtask-add > span {
    display: none;
  }

  .task-subtask-add button {
    min-height: 44px;
  }

  .task-comments-toggle {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr) auto 18px;
    gap: 9px;
  }

  .task-comment-form {
    padding: 13px 12px 14px !important;
  }

  .task-comment-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .task-comment-form-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .task-comment-mention-menu > button {
    min-height: 54px;
  }
}
