:root{font-family:Inter,Segoe UI,sans-serif;color:#192634;background:#f5f6f8;--ink:#192634;--surface:#fff;--border:#dbe0e6;--muted:#586678;--accent:#ff9c43;--soft:#fff1e3}:root[data-theme=dark]{color-scheme:dark;color:#eef2f6;background:#141a22;--ink:#eef2f6;--surface:#202a36;--border:#3d4a5a;--muted:#b6c0cb;--soft:#453221}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:8px;padding:.55rem .85rem;cursor:pointer;text-decoration:none}button:hover,.button:hover{border-color:#b46a34}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:3px solid #e88229;outline-offset:2px}.primary{background:var(--accent);border-color:var(--accent);color:#25180e;font-weight:700}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.9rem,4vw,2.6rem);letter-spacing:-.04em}h2{font-size:1.25rem}.topbar,.heading,.card-header,.actions,.brand{display:flex;align-items:center;gap:.75rem}.topbar,.heading,.card-header{justify-content:space-between}.topbar{background:var(--surface);border-bottom:1px solid var(--border);padding:.9rem max(1rem,calc((100vw - 1360px)/2))}.brand img{width:105px;height:44px;object-fit:contain}.brand span{border-left:1px solid var(--border);padding-left:.75rem;font-weight:700}.actions{flex-wrap:wrap}.username,.muted{color:var(--muted)}.workspace{max-width:1400px;margin:auto;padding:1.75rem 1rem}.heading{margin-bottom:1rem;flex-wrap:wrap}.layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(265px,1fr);gap:1rem;align-items:start}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px}.card-header,.details{padding:1rem}.card-header h2,.details h2{text-transform:capitalize}.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border)}.weekday{font-weight:600;color:var(--muted);text-align:center;padding:.65rem .2rem;font-size:.875rem}.day,.blank{border:0;border-top:1px solid var(--border);border-right:1px solid var(--border);border-radius:0;min-width:0;min-height:110px}.day{display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:4px;padding:7px;text-align:left}.day:nth-child(7n),.blank:nth-child(7n){border-right:0}.day:hover,.chosen{background:var(--soft)}.chosen{box-shadow:inset 0 0 0 2px #e88229}.today>span{font-weight:800}.day small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.holiday{color:var(--ink);font-weight:600}.holiday-note{padding:.5rem;background:var(--soft);border-radius:6px}.event-tag{display:inline-block;padding:2px 5px;border-radius:4px;background:#ffe3c7;color:#633315}.color-1{background:#d7eaff;color:#174677}.color-2{background:#fff0b5;color:#634a04}.color-3{background:#eadcfc;color:#533181}.color-4{background:#d4f2df;color:#174b31}.color-5{background:#e1e7ee;color:#33465b}.details{display:grid;gap:.8rem}.search,.columns{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}.columns{grid-template-columns:repeat(2,minmax(0,1fr))}.event{border-top:1px solid var(--border);padding-top:.75rem;display:grid;gap:.4rem;justify-items:start;overflow-wrap:anywhere}.notes{white-space:pre-wrap}.login{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,64%) minmax(0,1fr);grid-template-rows:1fr auto;position:relative;isolation:isolate;overflow:hidden;padding:21px 11px 0;gap:0 24px;background:radial-gradient(ellipse at 78% 10%,#251613,transparent 45%),#0d1019;color:#fff;color-scheme:dark}.login:before,.login:after,.login-photo:after{content:"";position:absolute;pointer-events:none;border-radius:50%;border-top:2px solid #ed8b22;box-shadow:0 -2px 7px #ed8b2255}.login:before{z-index:-1;width:92%;height:140px;top:-80px;left:-16%;transform:rotate(-10deg)}.login:after{width:72%;height:190px;bottom:-70px;right:-11%;transform:rotate(-8deg)}.login-photo{position:relative;display:flex;align-items:center;overflow:hidden;border-radius:25px;padding:4%;background:linear-gradient(#080e1b15,#1d100e55),url(/brand/login_armazem_ilustrativo.jpg) center/cover}.login-photo:after{width:120%;height:220px;bottom:-118px;left:-10%;transform:rotate(-9deg)}.login-photo img{width:min(35%,330px);height:auto}.login-panel{z-index:1;align-self:center;width:min(100%,448px);padding:17px 23px 14px;border:1px solid #8a603b;border-radius:25px;background:linear-gradient(155deg,#1c1f2b,#191b25);box-shadow:0 0 23px #ff860532,inset 0 0 8px #ff9b3020,0 18px 40px #0006;font-size:13px}.login-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.login-heading img{width:31px;height:31px}.login-heading h1{font-size:clamp(20px,1.65vw,26px);letter-spacing:-.015em;font-weight:850}.login-heading h1 span{color:#ff8b27}.login-heading p{font-size:11px;font-weight:600;color:#c4c6d0;margin-top:2px}.login-intro{color:#d5d5de;margin-bottom:15px}.login-panel form{gap:9px}.login-panel label{gap:8px;font-size:12px;color:#ffeddc}.login-panel input:not([type=checkbox]){background:#202431;color:#fff;border:1px solid #77707b;border-radius:11px;padding:9px 12px;font-size:13px;font-weight:400}.login-panel input::placeholder{color:#bdbecc}.login-password{position:relative;display:grid;gap:8px}.login-panel .login-password input{min-height:42px;padding-right:44px}.login-password button{position:absolute;right:2px;bottom:2px;width:36px;height:38px;padding:0;background:transparent;color:#ffad63;border:0}.login-options{display:flex;justify-content:space-between;align-items:center;gap:4px 12px;flex-wrap:wrap}.login-options .check{color:#dddde6}.login-options input{margin:0 0 0 3px;accent-color:#ff8e1d}.login-options button{padding:5px 7px;background:transparent;color:#ffad63;border:0;font-size:12px;font-weight:700}.login-options button:hover{text-decoration:underline}.login-help{color:#ffddbc}.login-submit{margin-top:21px;min-height:47px;border:0;border-radius:13px;background:linear-gradient(105deg,#ff9d0b,#f64c00);color:#fff;box-shadow:0 0 22px #ff790045;font-size:15px;font-weight:800}.login-submit:hover:not(:disabled){filter:brightness(1.1)}.login-footer{grid-column:1 / -1;padding:26px 0 1px;text-align:center;font-size:10px;color:#ffc08b}form,label{display:grid;gap:.55rem;min-width:0}form{gap:.85rem}label{font-weight:600}input,select,textarea{width:100%;min-width:0;color:var(--ink);background:var(--surface);padding:.55rem .65rem;border:1px solid var(--border);border-radius:8px}.check{display:flex;align-items:center}.check input{width:auto}.error{color:#8d2619;background:#ffe7e1;border-radius:8px;padding:.65rem .8rem;margin-bottom:.75rem}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#101a2bb3;display:grid;place-items:center;padding:1rem;z-index:1}.dialog{background:var(--surface);border-radius:14px;padding:1.25rem;width:min(100%,34rem);max-height:95dvh;overflow:auto}.dialog h2{margin-bottom:1rem}.dialog .actions{justify-content:flex-end}.danger{color:#a62d1b}:root[data-theme=dark] .danger{color:#ffa492}.status{padding:2rem}@media(max-width:850px){.layout{grid-template-columns:1fr}}@media(max-width:900px){.login{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(150px,30vh) 1fr auto;gap:18px;padding:12px}.login-photo{border-radius:18px}.login-photo img{width:min(40%,215px)}.login-panel{justify-self:center}.login-footer{padding:0}}@media(max-width:550px){.username,.brand span{display:none}.day,.blank{min-height:72px}.day{padding:3px}.day small,.weekday{font-size:.7rem}.topbar{gap:.5rem}.topbar button,.heading .actions>*{font-size:.88rem;padding:.45rem .55rem}}
