/* WORKNIC OS 2026-11-24. Dashboard/login presentation only. */
@media screen {
body[data-worknic-layout="os"]{--wn-paper:#f7f8fa;--wn-ink:#20242b;--wn-muted:#667080;--wn-line:#e3e7ed;--wn-accent:#252b34;--wn-focus:#456b99;background:#f7f8fa!important;color:#20242b!important}
body[data-worknic-layout="os"]:not(.is-authenticated){overflow:hidden}
body[data-worknic-layout="os"] .topbar{background:#fff!important;border-bottom:1px solid #e3e7ed!important;padding:22px max(24px,3.5vw) 18px!important;gap:18px!important}
body[data-worknic-layout="os"] .wn-masthead{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:20px!important;width:100%;min-width:0}
body[data-worknic-layout="os"] .wn-header-brand{display:flex;align-items:center;gap:16px}
body[data-worknic-layout="os"] .wn-header-brand .wn-top-logo{width:126px;height:auto;max-height:none;filter:none;opacity:1}
body[data-worknic-layout="os"] .wn-masthead .live-clock{margin-left:auto;background:#fff!important;border:0!important;box-shadow:none!important;padding:0!important;gap:9px!important}
body[data-worknic-layout="os"] .wn-masthead :is(.clock-date,.clock-day,.clock-time){color:#5b6471!important;font-size:13px!important}
body[data-worknic-layout="os"] .wn-menu-toggle{background:#fff!important;border-color:#e1e5eb!important;color:#3c4654!important;box-shadow:none!important;border-radius:9px}
body[data-worknic-layout="os"] .routebar :is(#routeBack,#routeHome){border-color:#e3e7ed!important;color:#586272!important;box-shadow:none!important;border-radius:8px!important;min-height:40px;height:40px}
body[data-worknic-layout="os"] .routebar #crumb{color:#283240!important;font-size:14px!important}
body[data-worknic-layout="os"] .topactions{gap:10px!important;align-items:center;min-width:0}
body[data-worknic-layout="os"] .search{background:#f8f9fb!important;border-color:#e1e6ec!important;border-radius:8px!important;box-shadow:none!important;color:#303a48!important}
body[data-worknic-layout="os"] .content{max-width:1500px;padding:32px max(24px,3.5vw) 64px!important;margin:auto!important}
body[data-worknic-layout="os"] :is(.card,.sm-panel){background:#fff!important;border:1px solid #e3e7ed!important;border-radius:12px!important;box-shadow:0 2px 5px #17243b03!important}
body[data-worknic-layout="os"] .panel{padding:24px!important}
body[data-worknic-layout="os"] :is(.wn-task-heading h1,.headline h1){color:#202a37!important;letter-spacing:-.045em!important;font-size:28px!important;line-height:1.4!important;font-weight:600!important}
body[data-worknic-layout="os"] :is(.headline p,.wn-task-heading>p:not(.wn-eyebrow)){color:#687282!important;font-size:14px!important;line-height:1.8!important}
body[data-worknic-layout="os"] :is(.ptitle b,.sm-panel h2){color:#273342!important;font-size:16px!important}
body[data-worknic-layout="os"] .btn{background:#fff!important;color:#414d5d!important;border:1px solid #dce2e9!important;box-shadow:none!important;border-radius:8px!important;min-height:42px;font-size:13px!important}
body[data-worknic-layout="os"] .btn:hover:not(:disabled){background:#f4f6f9!important;border-color:#bec9d6!important}
body[data-worknic-layout="os"] :is(.btn.dark,.btn.gold){background:#252e3b!important;color:#fff!important;border-color:#252e3b!important}
body[data-worknic-layout="os"] :is(.field input,.field textarea,.field select){background:#fff!important;border-color:#dce3eb!important;color:#293647!important;box-shadow:none!important}
body[data-worknic-layout="os"] .syncbar{background:#fff!important;border-color:#e3e7ed!important;color:#647080!important;border-radius:9px;padding:13px 16px;margin-bottom:26px}
body[data-worknic-layout="os"] .syncbar[data-state="error"]{background:#fff8f4!important;border-color:#efd9c9!important;color:#92552f!important}
body[data-worknic-layout="os"] .syncbar[data-state="ready"]{background:#f6faf8!important;border-color:#dce9e2!important;color:#436957!important}
body[data-worknic-layout="os"] .grid2,body[data-worknic-layout="os"] .lower{gap:20px!important;margin-top:20px!important}
body[data-worknic-layout="os"] :is(.checkrow,.taskitem,.proj){border-color:#edf0f4!important}
body[data-worknic-layout="os"] .checkrow:hover{background:#f7f9fb!important}
body[data-worknic-layout="os"] .table th{background:#f7f9fb!important;color:#647080!important}
body[data-worknic-layout="os"] :is(.notice,.taskitem,.quickbar a){background:#f7f9fb!important;border-color:#e5eaf0!important;color:#586474!important;box-shadow:none!important}
body[data-worknic-layout="os"] .wn-official-links{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none;margin-left:auto;min-width:0}
body[data-worknic-layout="os"] .wn-official-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:96px;min-height:66px;padding:12px 8px;text-decoration:none;color:#606b7b;background:#fff;border:1px solid #e9edf2;border-radius:10px;box-shadow:none;transition:border-color .15s,background-color .15s}
body[data-worknic-layout="os"] .wn-official-link:hover{background:#f8fafc;border-color:#bec9d6}
body[data-worknic-layout="os"] .wn-official-link img{display:block;width:68px;max-width:100%;height:25px;object-fit:contain;filter:none!important;opacity:1!important}
body[data-worknic-layout="os"] .wn-official-link[data-brand="festool"] img{width:76px}
body[data-worknic-layout="os"] .wn-official-link span{font-size:11px;line-height:1.5;white-space:nowrap;letter-spacing:-.025em}
body[data-worknic-layout="os"] #authGate{background:#f7f8fa!important;background-image:none!important;padding:120px 32px 48px!important;overflow-y:auto}
body[data-worknic-layout="os"] #authGate:before{display:none!important}
body[data-worknic-layout="os"] #authGate>.wn-official-links{position:absolute;top:24px;right:max(24px,3.5vw);z-index:2}
body[data-worknic-layout="os"] #authGate .auth-shell{background:#fff!important;border:1px solid #e2e7ee!important;border-radius:16px!important;box-shadow:0 16px 52px #23324a09!important;grid-template-columns:minmax(0,1fr) minmax(380px,.94fr)!important;min-height:590px!important}
body[data-worknic-layout="os"] #authGate .auth-brand-panel{background:#f9fafc!important;color:#2d3847!important;border-right:1px solid #e7ebf1!important;min-height:590px!important;padding:48px!important;backdrop-filter:none!important}
body[data-worknic-layout="os"] #authGate :is(.auth-brand-top span,.auth-brand-foot){color:#778292!important}
body[data-worknic-layout="os"] #authGate .wn-principle-topic{color:#66778e!important;font-size:13px!important}
body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{color:#2a3544!important;font-size:32px!important;line-height:1.65!important;text-shadow:none!important}
body[data-worknic-layout="os"] #authGate .auth-brand-copy p:not(.wn-principle-topic){color:#707c8c!important;font-size:14px!important;line-height:1.9!important}
body[data-worknic-layout="os"] #authGate .auth-card{background:#fff!important;min-height:590px!important;padding:44px!important;color:#253040!important}
body[data-worknic-layout="os"] #authGate .auth-card h1{color:#253040!important;font-size:28px!important;margin:24px 0 12px!important}
body[data-worknic-layout="os"] #authGate .auth-card p{color:#758090!important;font-size:14px!important}
body[data-worknic-layout="os"] #authGate .auth-card label{font-size:13px!important;color:#647080!important}
body[data-worknic-layout="os"] #authGate .auth-card input{background:#fff!important;border-color:#dce3eb!important;box-shadow:none!important;border-radius:9px!important;font-size:16px!important;height:50px!important}
body[data-worknic-layout="os"] #authGate .auth-card .auth-user{background:#f8fafc!important;color:#647080!important;border:1px solid #e1e6ed!important;border-radius:9px!important;box-shadow:none!important}
body[data-worknic-layout="os"] #authGate .auth-card .auth-user.active{background:#edf2f8!important;color:#253e5d!important;border-color:#a7bacf!important}
body[data-worknic-layout="os"] #authGate .auth-card .auth-primary{background:#252e3b!important;color:#fff!important;border-color:#252e3b!important;border-radius:9px!important;box-shadow:none!important}
body[data-worknic-layout="os"] #authGate .auth-persist-note{background:#f7f9fb!important;color:#6e7988!important;box-shadow:none!important}
body[data-worknic-layout="os"] #authGate .auth-lock{background:#e9eef4!important;color:#5f728a!important}
body[data-worknic-layout="os"] #authGate .wn-login-links{border-color:#e6ebf1!important}
body[data-worknic-layout="os"] :is(a,button,input,textarea,select):focus-visible{outline:3px solid #416a9a!important;outline-offset:3px}
@media(max-width:1100px){body[data-worknic-layout="os"] .wn-masthead .live-clock{margin-left:auto}body[data-worknic-layout="os"] .wn-official-links{width:100%;justify-content:flex-end}body[data-worknic-layout="os"] #authGate>.wn-official-links{width:auto}body[data-worknic-layout="os"] .topactions{width:auto;flex:1;justify-content:flex-end!important}}
@media(max-width:900px){body[data-worknic-layout="os"] #authGate .auth-shell{grid-template-columns:1fr!important;max-width:520px!important;min-height:0!important}body[data-worknic-layout="os"] #authGate .auth-brand-panel{min-height:0!important;border-right:0!important;border-bottom:1px solid #e7ebf1!important;padding:30px!important}body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{font-size:25px!important}body[data-worknic-layout="os"] #authGate .auth-card{min-height:0!important;padding:32px!important}}
@media(max-width:640px){body[data-worknic-layout="os"] .topbar{padding:18px 16px!important;gap:16px!important}body[data-worknic-layout="os"] .wn-masthead{gap:14px!important}body[data-worknic-layout="os"] .wn-header-brand{width:100%}body[data-worknic-layout="os"] .wn-masthead .live-clock{width:100%;justify-content:flex-start;height:30px!important;min-height:30px!important}body[data-worknic-layout="os"] .wn-official-links{width:100%;gap:6px;justify-content:space-between}body[data-worknic-layout="os"] .wn-official-link{width:auto;flex:1;min-width:0;min-height:66px;padding:10px 5px}body[data-worknic-layout="os"] .wn-official-link img{width:60px;height:23px}body[data-worknic-layout="os"] .wn-official-link span{font-size:10px}body[data-worknic-layout="os"] .routebar{width:100%}body[data-worknic-layout="os"] .topactions{width:100%;justify-content:flex-start!important}body[data-worknic-layout="os"] .topactions .search{width:100%!important;flex-basis:100%!important}body[data-worknic-layout="os"] .content{padding:24px 16px 48px!important}body[data-worknic-layout="os"] .panel{padding:20px!important}body[data-worknic-layout="os"] #authGate{padding:114px 16px 24px!important}body[data-worknic-layout="os"] #authGate>.wn-official-links{top:16px;right:16px;left:16px;width:auto}body[data-worknic-layout="os"] #authGate .auth-brand-panel{padding:26px!important}body[data-worknic-layout="os"] #authGate .auth-card{padding:28px 24px!important}body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{font-size:23px!important}}
@media(prefers-reduced-motion:reduce){body[data-worknic-layout="os"] .wn-official-link{transition:none}}
@media(max-width:640px){body[data-worknic-layout="os"] #authGate .auth-brand-panel{display:none!important}body[data-worknic-layout="os"] #authGate .auth-card h1{margin-top:12px!important}body[data-worknic-layout="os"] #authGate .auth-logo{margin-bottom:24px!important}}
/* Single login card; original authentication controls remain authoritative. */
body[data-worknic-layout="os"] #authGate .auth-brand-panel{display:none!important}
body[data-worknic-layout="os"] #authGate .auth-shell{display:block!important;width:min(440px,100%)!important;max-width:440px!important;min-height:0!important;grid-template-columns:1fr!important}
body[data-worknic-layout="os"] #authGate .auth-card{width:100%!important;min-height:0!important;padding:36px!important}
body[data-worknic-layout="os"] #authGate .auth-logo{justify-content:center!important;margin-bottom:28px!important}
body[data-worknic-layout="os"] #authGate .auth-logo img{width:142px!important;max-width:100%!important}
body[data-worknic-layout="os"] #authGate .auth-card h1{margin:0 0 10px!important;font-size:26px!important}
body[data-worknic-layout="os"] #authGate #authUsers[hidden]{display:none!important}
body[data-worknic-layout="os"] #authGate .wn-account-select{margin:0 0 16px!important}
body[data-worknic-layout="os"] #authGate .wn-account-select select{width:100%;min-height:50px;padding:0 42px 0 14px;border:1px solid #dce3eb;border-radius:9px;background-color:#fff;color:#293647;font:inherit;font-size:16px;cursor:pointer}
body[data-worknic-layout="os"] #authGate .wn-account-select select:disabled{opacity:.65;cursor:wait}
@media(max-width:640px){body[data-worknic-layout="os"] #authGate .auth-card{padding:28px 24px!important}body[data-worknic-layout="os"] #authGate .auth-shell{max-width:440px!important}}
/* Login shortcuts belong below the form, as compact official logo icons. */
body[data-worknic-layout="os"] #authGate{padding:40px 24px!important}
body[data-worknic-layout="os"] #authGate .auth-card>.wn-official-links{position:static!important;width:100%!important;margin:24px 0 0!important;padding:20px 0 0;border-top:1px solid #edf0f4;display:flex!important;justify-content:center!important;gap:12px!important}
body[data-worknic-layout="os"] #authGate .wn-official-link{flex:0 1 64px;width:64px;min-width:44px;min-height:44px;height:44px;padding:8px!important;border:1px solid #edf0f4;border-radius:8px;background:#fff}
body[data-worknic-layout="os"] #authGate .wn-official-link img,body[data-worknic-layout="os"] #authGate .wn-official-link[data-brand="festool"] img{width:46px;max-width:100%;height:22px;object-fit:contain}
body[data-worknic-layout="os"] #authGate .wn-official-link span{display:none}
@media(max-width:640px){body[data-worknic-layout="os"] #authGate{padding:24px 16px!important}body[data-worknic-layout="os"] #authGate .auth-card>.wn-official-links{gap:10px!important}}
}
