/* Additive presentation only. Does not change authentication, permissions or records. */
:root{--wn-paper:#f5f3ee;--wn-ink:#242522;--wn-muted:#666a61;--wn-line:#dddcd4;--wn-accent:#4b5843;--wn-focus:#77603d}
body[data-worknic-layout="os"]{color:var(--wn-ink);background:var(--wn-paper)!important}
body[data-worknic-layout="os"] :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--wn-focus)!important;outline-offset:3px}
body[data-worknic-layout="os"] #authGate{background:#32291f url('aged-oak-desktop.webp') center/cover no-repeat!important;padding:clamp(20px,4vw,64px)!important;overflow:auto}
body[data-worknic-layout="os"] #authGate:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(19,17,14,.08),rgba(19,17,14,.34))!important}
body[data-worknic-layout="os"] #authGate .auth-shell{position:relative;z-index:1;width:min(1040px,100%);grid-template-columns:minmax(0,1fr) minmax(380px,.92fr);min-height:590px;border:1px solid #ffffff25;border-radius:12px;background:transparent;box-shadow:0 18px 55px #15120d42;overflow:hidden}
body[data-worknic-layout="os"] #authGate .auth-brand-panel{padding:48px 42px;background:rgba(24,23,20,.30)!important;color:#fff;min-height:590px}
body[data-worknic-layout="os"] #authGate .auth-brand-panel:after{display:none}
body[data-worknic-layout="os"] #authGate .auth-brand-panel h2{font-size:36px;font-weight:400;line-height:1.5;letter-spacing:-.055em;color:#fff}
body[data-worknic-layout="os"] #authGate .auth-brand-panel p{color:#efebe4;font-size:12px;line-height:1.85}
body[data-worknic-layout="os"] #authGate .auth-card{width:auto!important;min-height:590px!important;padding:46px 40px!important;background:#faf9f5!important;color:var(--wn-ink)!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:flex;flex-direction:column;justify-content:center}
body[data-worknic-layout="os"] #authGate .auth-card h1{font-size:28px!important;line-height:1.4!important;letter-spacing:-.05em!important;color:var(--wn-ink)!important;margin:30px 0 10px!important}
body[data-worknic-layout="os"] #authGate .auth-card p{font-size:12px!important;line-height:1.8!important;color:var(--wn-muted)!important;margin:0 0 20px!important}
body[data-worknic-layout="os"] #authGate .auth-card input{width:100%;height:48px!important;border:1px solid #cdcec5!important;border-radius:6px!important;background:#fff!important;color:#33382f!important;font:inherit;font-size:14px!important;padding:0 14px!important}
body[data-worknic-layout="os"] #authGate .auth-card label{display:block;margin:14px 0 7px;font-size:12px!important;color:#4f5549!important}
body[data-worknic-layout="os"] #authGate .auth-card button{height:48px!important;min-height:44px;border-radius:6px!important;background:var(--wn-accent)!important;color:#fff!important;font-size:13px!important;box-shadow:none!important}
body[data-worknic-layout="os"] #authGate .auth-card .auth-user{background:#f1f0e9!important;color:#3d4338!important;border-color:#d6d7cd!important;height:58px!important;min-height:44px}
body[data-worknic-layout="os"] #authGate .auth-card .auth-user.active{background:var(--wn-accent)!important;color:#fff!important}
body[data-worknic-layout="os"] #authGate .auth-card .auth-meta{font-size:10px!important;color:#696e62!important}
body[data-worknic-layout="os"] .card{border-radius:8px!important;border-color:var(--wn-line)!important;box-shadow:none!important}
body[data-worknic-layout="os"] .btn{min-height:44px;border-radius:6px!important}
body[data-worknic-layout="os"] :is(.ptitle b,.wn-task-heading h1){color:#343e2e}
body[data-worknic-layout="os"] .wn-drawer,body[data-worknic-layout="os"] .wn-drawer .sidebar{background:#20211f!important}
body[data-worknic-layout="os"] .wn-drawer .nav :is(button,a,summary){min-height:44px}
/* Keep motion to compositor properties; no permanent promoted layers or layout animation. */
body[data-worknic-layout="os"] .wn-drawer{animation-duration:180ms!important;animation-timing-function:cubic-bezier(.2,.7,.2,1)!important}
body[data-worknic-layout="os"] .wn-drawer::backdrop{backdrop-filter:none!important;background:rgba(25,28,23,.28)}
body[data-worknic-layout="os"] .nav :is(button,a,summary){transition:background-color 110ms,color 110ms!important}
@media(max-width:900px){body[data-worknic-layout="os"] #authGate .auth-shell{grid-template-columns:1fr;max-width:490px;min-height:0}body[data-worknic-layout="os"] #authGate .auth-brand-panel{display:none}body[data-worknic-layout="os"] #authGate .auth-card{min-height:0!important;padding:34px 28px!important}body[data-worknic-layout="os"] #authGate{background-image:url('aged-oak-mobile.webp')!important;background-position:25% center!important}}
@media(max-width:420px){body[data-worknic-layout="os"] #authGate{padding:18px!important}body[data-worknic-layout="os"] #authGate .auth-card{padding:28px 22px!important}body[data-worknic-layout="os"] #authGate .auth-card h1{font-size:25px!important}.preview-note{flex-wrap:wrap}.preview-note button{min-height:36px}}
@media(prefers-reduced-motion:reduce){body[data-worknic-layout="os"] *,body[data-worknic-layout="os"] *:before,body[data-worknic-layout="os"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html.review-reduced-motion *,html.review-reduced-motion *:before,html.review-reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* button-depth-v1 */
body[data-worknic-layout="os"] #authGate .auth-card button{border:1px solid #35422d!important;background:linear-gradient(#536447,#405035)!important;box-shadow:inset 0 1px 0 #ffffff24,0 3px 0 #303d28,0 5px 10px #26321e19!important}body[data-worknic-layout="os"] #authGate .auth-card button:active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0002,0 1px 0 #303d28!important}@media(prefers-reduced-motion:reduce){body[data-worknic-layout="os"] #authGate .auth-card button{transform:none!important}}
/* Release regression: inherited small-screen sidebar grid must stay one clear column. */
body[data-worknic-layout="os"] .wn-drawer .nav{display:block!important;width:100%;min-width:0}
body[data-worknic-layout="os"] .wn-drawer .review-nav-group{display:block!important;width:100%;min-width:0;margin:0 0 22px}
body[data-worknic-layout="os"] .wn-drawer .nav :is(button,a,summary){width:100%;max-width:100%;box-sizing:border-box;white-space:normal;word-break:keep-all}
body[data-worknic-layout="os"] .wn-drawer .brand img{filter:invert(1) grayscale(1)!important;opacity:.94!important}
/* WORKNIC OS design v2 — presentation only. */
body[data-worknic-layout="os"]{--wn-header-surface:#fafaf7;--wn-nav-bg:#20231f;--wn-nav-hover:#343a31;--wn-nav-line:#42493e;--wn-muted:#73796c}
body[data-worknic-layout="os"] .topbar{padding:18px 3.5vw 16px!important;gap:14px!important;align-items:center!important}
body[data-worknic-layout="os"] .wn-masthead{gap:16px;min-height:46px}
body[data-worknic-layout="os"] .wn-header-brand{gap:14px;align-items:center}
body[data-worknic-layout="os"] .wn-header-brand .wn-top-logo{width:120px;height:auto;max-height:42px;opacity:1}
body[data-worknic-layout="os"] .wn-menu-toggle{width:44px;height:44px;min-height:44px;border-radius:9px;border:1px solid #d3d7ce;background:linear-gradient(#fff,#f4f5f0);color:#3c4437;box-shadow:inset 0 1px 0 #fff,0 2px 2px #26311b0d;transition:background-color 160ms,box-shadow 160ms!important}
body[data-worknic-layout="os"] .wn-menu-toggle:hover{border-color:#aeb8a5;background:#edf0e7;box-shadow:inset 0 1px 0 #fff,0 2px 5px #26311b12}
body[data-worknic-layout="os"] .wn-menu-toggle:active{background:#e3e8da;box-shadow:inset 0 1px 3px #28351c1a}
body[data-worknic-layout="os"] .wn-masthead .live-clock{height:42px!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center;gap:10px!important;padding:0 13px!important;border:1px solid #dfe2da!important;border-radius:8px;background:#f2f3ed;color:#4a5143;white-space:nowrap;font-variant-numeric:tabular-nums}
body[data-worknic-layout="os"] .wn-masthead .vintage-clock{display:none!important}
body[data-worknic-layout="os"] .wn-masthead .clock-caption{display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;white-space:nowrap;line-height:1!important}
body[data-worknic-layout="os"] .wn-masthead .clock-date{font-size:12px!important;line-height:1!important;font-weight:400!important;letter-spacing:.035em!important;color:#5b6352!important}
body[data-worknic-layout="os"] .wn-masthead .clock-day{font-size:11px!important;line-height:1!important;color:#79816f!important}
body[data-worknic-layout="os"] .wn-masthead .clock-day:before{content:'('}
body[data-worknic-layout="os"] .wn-masthead .clock-day:after{content:')'}
body[data-worknic-layout="os"] .wn-masthead .clock-time{width:8ch;box-sizing:content-box;margin:0 0 0 2px;padding-left:12px;border-left:1px solid #d6dbce;font-size:16px!important;line-height:1!important;letter-spacing:.035em!important;color:#3d4934!important;font-weight:500!important;font-variant-numeric:tabular-nums;font-feature-settings:'tnum'}
.wn-clock-zone{font-size:9px;letter-spacing:.06em;color:#879079;text-decoration:none;align-self:center;border:0;line-height:1}
body[data-worknic-layout="os"] .routebar{display:flex!important;align-items:center!important;gap:6px!important;min-width:0;flex-wrap:nowrap}
body[data-worknic-layout="os"] .routebar :is(#routeBack,#routeHome){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;height:36px;padding:0 11px!important;border:1px solid #dcded6!important;border-radius:7px!important;background:#fff!important;color:#616b55!important;font-size:12px!important;line-height:1!important;font-weight:400!important;white-space:nowrap;box-shadow:0 1px 1px #2332160a!important}
body[data-worknic-layout="os"] .routebar :is(#routeBack,#routeHome):hover:not(:disabled){border-color:#afbba3!important;background:#f0f3e9!important;color:#344a29!important}
body[data-worknic-layout="os"] .routebar :is(#routeBack,#routeHome):disabled{opacity:.42;cursor:default}
.routebar :is(#routeBack,#routeHome) svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body[data-worknic-layout="os"] .routebar #crumb{display:inline-flex;align-items:center;gap:12px;font-size:14px!important;font-weight:500!important;line-height:1.4;color:#3f4c34!important;margin-left:5px;white-space:nowrap}
body[data-worknic-layout="os"] .routebar #crumb:before{content:'';display:block;width:1px;height:16px;background:#d7ddce}
body[data-worknic-layout="os"] .wn-drawer{animation-duration:320ms!important;animation-timing-function:cubic-bezier(.22,1,.36,1)!important;background:var(--wn-nav-bg)!important}
body[data-worknic-layout="os"] .wn-drawer .sidebar{background:var(--wn-nav-bg)!important}
body[data-worknic-layout="os"] #wnMenuDrawer .nav details,body[data-worknic-layout="os"] #wnMenuDrawer .nav details[open]{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;overflow:visible!important}
body[data-worknic-layout="os"] #wnMenuDrawer .nav :is(a,button,summary){color:#f3f5ee!important;font-size:13px!important;line-height:1.55!important;background:transparent!important;background-image:none!important;border:1px solid transparent!important;box-shadow:none!important;transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease!important}
body[data-worknic-layout="os"] #wnMenuDrawer .nav :is(a,button,summary):hover,body[data-worknic-layout="os"] #wnMenuDrawer .nav button.active,body[data-worknic-layout="os"] #wnMenuDrawer .nav details[open]>summary{background:var(--wn-nav-hover)!important;border-color:var(--wn-nav-line)!important;color:#fff!important;border-radius:7px!important}
body[data-worknic-layout="os"] #wnMenuDrawer .nav details>button{width:calc(100% - 12px)!important;margin:3px 0 3px 12px!important;padding:10px 12px 10px 21px!important;border-left:1px solid #4d5744!important;border-radius:0 6px 6px 0!important;color:#dce4d3!important}
body[data-worknic-layout="os"] #wnMenuDrawer .nav details[open]>:not(summary){animation:wnSubmenuIn 180ms ease-out}
body[data-worknic-layout="os"] #wnMenuDrawer .nav .wn-chevron{transition:transform 240ms cubic-bezier(.22,1,.36,1)!important}
body[data-worknic-layout="os"] .wn-drawer::backdrop{animation:wnBackdropIn 260ms ease-out;background:rgba(19,25,18,.30)!important}
@keyframes wnSubmenuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@keyframes wnBackdropIn{from{background:transparent}to{background:rgba(19,25,18,.30)}}
body[data-worknic-layout="os"] #authGate{background-image:url('aged-oak-v2-desktop.webp')!important;background-color:#322a21!important;background-position:center!important}
body[data-worknic-layout="os"] #authGate:before{background:linear-gradient(90deg,rgba(15,19,14,.05),rgba(15,19,14,.17))!important}
body[data-worknic-layout="os"] #authGate .auth-shell{width:min(1100px,100%)!important;max-width:1100px!important;grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr)!important;min-height:630px!important;background:transparent!important;border:1px solid #ffffff38!important;border-radius:14px!important;box-shadow:0 20px 60px #090d0840!important;overflow:hidden!important}
body[data-worknic-layout="os"] #authGate .auth-brand-panel{display:flex!important;flex-direction:column;justify-content:space-between;min-height:630px!important;padding:44px!important;background:rgba(17,24,17,.43)!important;background-image:none!important;border:0!important;border-right:1px solid #ffffff24!important;color:#fff!important;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}
body[data-worknic-layout="os"] #authGate .auth-brand-panel:before,body[data-worknic-layout="os"] #authGate .auth-brand-panel:after{display:none!important}
body[data-worknic-layout="os"] #authGate .auth-brand-top span{font-size:12px!important;color:#eeeee5!important;font-weight:400!important;letter-spacing:.025em!important}
body[data-worknic-layout="os"] #authGate .auth-brand-copy{margin:32px 0!important;padding:0!important;max-width:440px}
body[data-worknic-layout="os"] #authGate .wn-principle-topic{font-size:11px!important;color:#d3dcc3!important;margin:0 0 18px!important;letter-spacing:.04em!important;font-weight:400!important}
body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{font-size:35px!important;line-height:1.65!important;letter-spacing:-.06em!important;font-weight:400!important;color:#fff!important;margin:0 0 22px!important;white-space:pre-line;word-break:keep-all;text-shadow:0 1px 8px #0002}
body[data-worknic-layout="os"] #authGate .auth-brand-copy p:not(.wn-principle-topic){max-width:340px;font-size:13px!important;line-height:1.9!important;color:#e1e4d9!important;margin:0!important;font-weight:400!important;word-break:keep-all}
body[data-worknic-layout="os"] #authGate .auth-brand-foot{font-size:10px!important;line-height:1.8!important;color:#d0d6c7!important;font-weight:400!important}
body[data-worknic-layout="os"] #authGate .auth-card{min-height:630px!important;padding:42px 40px!important;background:#fbfaf6!important}
@media(max-width:900px){body[data-worknic-layout="os"] .topbar{padding:14px 18px!important;gap:12px!important}body[data-worknic-layout="os"] #authGate .auth-shell{max-width:520px!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important}body[data-worknic-layout="os"] #authGate .auth-brand-panel{min-height:240px!important;padding:28px 30px!important;border-right:0!important;border-bottom:1px solid #ffffff24!important}body[data-worknic-layout="os"] #authGate .auth-brand-copy{margin:22px 0 0!important}body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{font-size:25px!important;line-height:1.6!important;margin:0 0 13px!important}body[data-worknic-layout="os"] #authGate .auth-brand-copy p:not(.wn-principle-topic){font-size:12px!important;max-width:390px}body[data-worknic-layout="os"] #authGate .wn-principle-topic{margin-bottom:9px!important;font-size:10px!important}body[data-worknic-layout="os"] #authGate .auth-brand-foot{display:none!important}body[data-worknic-layout="os"] #authGate .auth-card{min-height:0!important;padding:30px!important}body[data-worknic-layout="os"] #authGate{background-image:url('aged-oak-v2-mobile.webp')!important;background-position:center!important}}
@media(max-width:640px){body[data-worknic-layout="os"] .wn-masthead{grid-template-columns:minmax(0,1fr);gap:12px!important}body[data-worknic-layout="os"] .wn-header-brand{grid-column:1;gap:12px}body[data-worknic-layout="os"] .wn-header-brand .wn-top-logo{width:108px;max-height:37px}body[data-worknic-layout="os"] .wn-masthead .live-clock{grid-column:1;justify-self:stretch;height:38px!important;min-height:38px!important;padding:0 10px!important;gap:9px!important}body[data-worknic-layout="os"] .wn-masthead .clock-date{font-size:12px!important}body[data-worknic-layout="os"] .wn-masthead .clock-day{font-size:11px!important}body[data-worknic-layout="os"] .wn-masthead .clock-time{font-size:15px!important}.wn-clock-zone{font-size:9px}body[data-worknic-layout="os"] .routebar{width:100%;gap:6px!important;margin:0!important}body[data-worknic-layout="os"] .routebar :is(#routeBack,#routeHome){padding:0 10px!important;height:36px;min-height:36px}body[data-worknic-layout="os"] .routebar #crumb{font-size:13px!important}body[data-worknic-layout="os"] #authGate{padding:16px!important;align-items:start!important}body[data-worknic-layout="os"] #authGate .auth-brand-panel{min-height:230px!important;padding:25px!important}body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{font-size:23px!important}body[data-worknic-layout="os"] #authGate .auth-card{padding:26px 24px!important}body[data-worknic-layout="os"] #authGate .auth-card h1{margin-top:20px!important}}
@media(prefers-reduced-motion:reduce){body[data-worknic-layout="os"] #wnMenuDrawer,body[data-worknic-layout="os"] #wnMenuDrawer *,body[data-worknic-layout="os"] #wnMenuDrawer::backdrop{animation:none!important;transition:none!important}body[data-worknic-layout="os"] #authGate .auth-brand-panel{backdrop-filter:none;-webkit-backdrop-filter:none}}
html.review-reduced-motion #wnMenuDrawer,html.review-reduced-motion #wnMenuDrawer *,html.review-reduced-motion #wnMenuDrawer::backdrop{animation:none!important;transition:none!important}

@media(max-width:420px){body[data-worknic-layout="os"] #authGate .auth-brand-copy h2{font-size:21px!important}}

@media(max-width:640px){body[data-worknic-layout="os"] .routebar :is(#routeBack,#routeHome){flex-shrink:0}body[data-worknic-layout="os"] .routebar #crumb{display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #d7ddce;padding-left:11px;line-height:28px!important}body[data-worknic-layout="os"] .routebar #crumb:before{display:none}}

body[data-worknic-layout="os"] .wn-masthead .clock-day{display:inline!important}

/* Approved natural Korean 12-hour clock. Whole hours omit zero minutes. */
body[data-worknic-layout="os"] .wn-masthead .clock-time{width:auto!important;min-width:7.4em;white-space:nowrap;letter-spacing:0!important}
@media(max-width:640px){body[data-worknic-layout="os"] .wn-masthead .clock-time{font-size:13px!important;min-width:7.4em;padding-left:9px}.wn-clock-zone{font-size:8px}}
