:root{--navy:#292568;--navy-2:#38347f;--ink:#22223f;--muted:#85879a;--line:#e8e8f0;--page:#f3f4f9;--gold:#d8b85e;--white:#fff;--mint:#e5f5ef;--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#e9eaf1}body{display:flex;justify-content:center;align-items:flex-start;padding:28px 16px}.device{width:min(100%,430px);min-height:min(880px,calc(100vh - 40px));height:880px;max-height:calc(100vh - 40px);background:var(--page);position:relative;border-radius:34px;overflow:hidden;box-shadow:0 28px 70px #1b1b482b;border:5px solid #fff;display:flex;flex-direction:column}.topbar{height:76px;min-height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #e8e8ef;z-index:1}.brand{display:flex;align-items:center;gap:10px}.brand img{height:42px;width:42px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid #eeedf5;box-shadow:0 3px 10px #29256814}.brand strong{font-size:17px;letter-spacing:-.5px;color:var(--navy)}.brand strong span{color:#b38c31}.brand .wordmark{display:flex;align-items:center}.brand strong{font-size:20px;letter-spacing:-.8px;color:var(--navy);font-weight:900}.brand strong span{background:linear-gradient(105deg,#a27a25,#d5b451);-webkit-background-clip:text;background-clip:text;color:transparent}.avatar{width:39px;height:39px;border:0;border-radius:50%;background:#edecf9;color:var(--navy);font-weight:800;position:relative;cursor:pointer}.avatar i{position:absolute;width:9px;height:9px;background:#56bb83;border:2px solid #fff;border-radius:50%;right:0;bottom:0}main{flex:1;min-height:0;overflow:hidden;padding:22px 20px 12px;scrollbar-width:none}main::-webkit-scrollbar{display:none}main.scrollable{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin}.screen{display:none;height:100%;min-height:100%;overflow:hidden;animation:enter .22s ease}.screen.active{display:block}#screen-announcements.active{height:auto;min-height:100%;overflow:visible}@keyframes enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 18px}.eyebrow{display:block;font-size:9px;letter-spacing:1.55px;font-weight:900;color:#8b5a87}.welcome-row h1,.page-head h1{font-size:25px;letter-spacing:-.9px;line-height:1.15;margin:8px 0 5px;color:#20203c}.welcome-row h1 span{font-size:16px;color:#d1ad4b}.muted{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.sun-mark{height:42px;width:42px;border-radius:14px;background:#fff1d2;color:#d4aa43;display:grid;place-items:center;font-size:22px}.shift-card{position:relative;overflow:hidden;border-radius:23px;background:radial-gradient(circle at 93% 5%,#5550a3 0,transparent 42%),linear-gradient(115deg,#25215e,#39347f);color:white;padding:19px 18px 16px;margin-bottom:27px;box-shadow:0 13px 26px #2925682e;border:1px solid #625da633}.shift-card:after{content:"";position:absolute;left:0;top:0;height:3px;width:78px;background:linear-gradient(90deg,#e2c563,transparent)}.shift-top,.shift-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.label{font-size:8px;letter-spacing:1.1px;color:#85879a;font-weight:900}.label.light{color:#cbc9ee}.sample-pill{font-size:7px;font-weight:900;letter-spacing:.7px;border:1px solid #ffffff54;border-radius:999px;padding:3px 6px;margin-left:7px;color:#efe4bd}.status-chip{font-size:9px;padding:6px 9px;border-radius:999px;background:#ffffff19;display:flex;align-items:center;gap:5px}.status-chip i{width:6px;height:6px;background:#7bd4a0;border-radius:50%}.shift-time{position:relative;z-index:1;display:flex;align-items:center;gap:13px;margin:20px 0 15px}.shift-time strong{font-size:28px;letter-spacing:-1px}.shift-line{height:1px;width:39px;background:#d7b75e}.shift-bottom{font-size:10px;color:#d7d5f0}.card-orbit{position:absolute;border:1px solid #ffffff17;border-radius:50%;width:190px;height:190px;right:-35px;top:5px}.orbit-two{width:140px;height:140px;right:9px;top:29px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 1px 12px}.section-heading h2{font-size:16px;margin:5px 0 0;letter-spacing:-.35px}.section-heading .eyebrow{font-size:8px}.date-chip{font-size:9px;font-weight:800;color:#6f7187;background:#fff;border:1px solid var(--line);padding:7px 9px;border-radius:9px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:23px}.summary-card{position:relative;border:1px solid #e5e5ef;background:#fff;text-align:left;padding:16px;border-radius:19px;min-height:146px;cursor:pointer;color:var(--ink);box-shadow:0 7px 20px #2925680b;transition:transform .18s,box-shadow .18s}.summary-card:active{transform:scale(.985);box-shadow:0 3px 10px #29256812}.summary-card.pending{background:linear-gradient(135deg,#fff 72%,#fff7df)}.summary-card.notices{background:linear-gradient(135deg,#fff 72%,#f0efff)}.summary-icon{position:absolute;top:12px;right:13px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#f2f0ff;color:var(--navy);font-size:17px}.pending .summary-icon{background:#fff0d4;color:#ae8732}.summary-number{font-size:31px;font-weight:900;display:block;color:var(--navy);margin:6px 0 2px;letter-spacing:-1px}.summary-card strong{display:block;font-size:11px}.summary-card small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.compact{margin-top:2px}.text-link{border:0;background:none;color:var(--navy);font-size:10px;font-weight:800;cursor:pointer}.text-link span{font-size:15px;margin-left:3px}.operation-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.operation-card{position:relative;text-align:left;border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px 11px;min-height:92px;cursor:pointer;color:var(--ink)}.op-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-weight:900;font-size:15px;margin-bottom:9px}.op-icon.blue{background:#e9edff;color:#4e5caf}.op-icon.gold{background:#fff1d6;color:#a47e27}.op-icon.mint{background:#e3f5ed;color:#328367}.op-icon.rose{background:#fbe7ed;color:#b35a74}.operation-card strong{font-size:10px;display:block}.operation-card small{font-size:8px;color:var(--muted);display:block;margin-top:4px}.arrow{position:absolute;right:11px;top:11px;color:#a3a3b3}.notice-preview{position:relative;margin-top:13px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px 35px 13px 14px;display:flex;gap:11px;align-items:center;cursor:pointer}.notice-flag{font-size:7px;font-weight:900;letter-spacing:.6px;color:#975a85;background:#faedf5;border-radius:6px;padding:6px}.notice-preview strong{font-size:10px}.notice-preview p{margin:4px 0 0;color:var(--muted);font-size:9px}.notice-preview .arrow{top:50%;transform:translateY(-50%)}.page-head{margin:4px 1px 15px}.page-head h1{font-size:27px;margin:8px 0 5px}.attendance-card{position:relative;display:flex;align-items:center;gap:12px;border-radius:17px;background:#fff;border:1px solid var(--line);padding:13px;margin-bottom:18px;box-shadow:0 5px 15px #29256808}.attendance-icon{height:39px;width:39px;border-radius:12px;background:#eeedfa;display:grid;place-items:center;color:var(--navy);font-size:21px}.attendance-card div:nth-child(2){display:grid;gap:4px}.attendance-card strong{font-size:11px}.attendance-card small{font-size:9px;color:var(--muted)}.green-check{margin-left:auto;background:#e3f5ed;border-radius:50%;color:#348563;width:21px;height:21px;text-align:center;line-height:21px;font-size:11px}.list-menu{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}.menu-row{position:relative;width:100%;min-height:63px;border:0;border-bottom:1px solid #f0f0f5;background:#fff;display:flex;align-items:center;gap:11px;text-align:left;padding:10px 13px;color:var(--ink);cursor:pointer}.menu-row:last-child{border-bottom:0}.row-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:11px;font-size:15px;font-weight:900}.row-icon.indigo{color:#45418e;background:#eeedfb}.row-icon.amber{color:#9c7628;background:#fff4db}.row-icon.teal{color:#347b6d;background:#e7f5f0}.row-icon.rose-bg{color:#a35571;background:#fbeaf0}.row-icon.blue-bg{color:#4a6597;background:#ebf1fb}.menu-row span:nth-child(2){display:grid;gap:4px}.menu-row strong{font-size:10px}.menu-row small{font-size:9px;color:var(--muted)}.menu-row b{margin-left:auto;color:#a0a1b0;font-weight:500;font-size:20px}.count{font-style:normal;position:absolute;right:34px;background:#f8e7ef;color:#a85273;border-radius:999px;font-size:8px;padding:3px 6px}.info-banner{display:flex;gap:9px;margin-top:14px;background:#edecf8;border-radius:12px;padding:11px;color:#57558b}.info-banner>span{flex:0 0 17px;height:17px;border-radius:50%;background:#dcdaf5;text-align:center;line-height:17px;font-size:10px;font-weight:900}.info-banner p{font-size:9px;line-height:1.5;margin:0}.announcement-list{display:grid;gap:11px}.announcement-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px}.announcement-card.featured{border-left:3px solid var(--gold)}.announcement-meta{display:flex;justify-content:space-between;align-items:center}.tag{font-size:7px;font-weight:900;letter-spacing:.7px;color:#a24b6a;background:#fbeaf0;border-radius:999px;padding:5px 7px}.tag.soft{color:#65649a;background:#efeffa}.announcement-meta time{font-size:8px;color:#999aab}.announcement-card h2{font-size:13px;margin:12px 0 6px}.announcement-card p{font-size:10px;color:#74768b;line-height:1.55;margin:0}.author{font-size:8px;color:#77798b;display:flex;align-items:center;gap:6px;margin-top:13px}.author-dot{width:18px;height:18px;border-radius:50%;background:#eeedf9;color:var(--navy);display:grid;place-items:center;font-weight:900}.ops-list{display:grid;gap:8px}.ops-tile{display:flex;align-items:flex-start;gap:11px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:11px 12px;box-shadow:0 5px 14px #29256808}.ops-tile .op-icon{flex:0 0 34px;margin:0;width:34px;height:34px}.ops-tile>div:nth-child(2){flex:1}.ops-tile h2{font-size:11px;margin:5px 0}.ops-tile p{font-size:9px;line-height:1.45;color:var(--muted);margin:0}.access-tag{font-size:7px;letter-spacing:.6px;color:#8f7290;font-weight:900}.ops-tile>button{border:0;background:none;color:#9293a4;font-size:20px}.profile-card{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:17px;margin-bottom:18px}.profile-avatar{height:47px;width:47px;border-radius:16px;background:linear-gradient(135deg,#302b76,#5551a0);display:grid;place-items:center;color:#fff;font-weight:850}.profile-card h2{font-size:14px;margin:4px 0}.profile-card p{font-size:9px;color:var(--muted);margin:0}.verified{margin-left:auto;width:22px;height:22px;border-radius:50%;background:#e1f5eb;color:#328765;text-align:center;line-height:22px}.profile-menu .menu-row{min-height:65px}.logout-btn{margin-top:16px;border:1px solid #f1dfe5;background:#fff7f8;color:#a74c66;width:100%;height:44px;border-radius:12px;font-weight:800;font-size:11px;cursor:pointer}.logout-btn span{margin-left:8px}.profile-foot{text-align:center;color:#a3a4b2;font-size:8px;margin-top:18px}.bottom-nav{position:relative;flex:0 0 auto;left:0;right:0;height:78px;padding:8px 8px calc(8px + var(--safe-bottom));background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid #e6e6ee;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;z-index:3;box-shadow:0 -7px 20px #29256808}.nav-item{height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:none;color:#9c9dad;cursor:pointer}.nav-item small{font-size:8px;font-weight:750}.nav-item.selected{color:var(--navy)}.nav-icon{height:27px;width:39px;border-radius:10px;display:grid;place-items:center;transition:background .18s,transform .18s}.nav-item.selected .nav-icon{background:#efeffa;transform:translateY(-1px)}.nav-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.nav-item:first-child .nav-icon svg{fill:currentColor;stroke:none}.qr-nav{position:relative;justify-content:flex-end;padding-bottom:3px}.qr-button{position:absolute;top:-27px;height:56px;width:56px;border:4px solid var(--page);border-radius:50%;background:linear-gradient(145deg,#d9bb66,#b38b34);display:grid;place-items:center;box-shadow:0 5px 14px #b18b3640}.qr-button svg{width:27px;height:27px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.qr-nav small{margin-top:25px;color:#8d7a47}.modal{position:fixed;inset:0;display:none;align-items:flex-end;justify-content:center;z-index:10}.modal.open{display:flex}.modal-backdrop{position:absolute;inset:0;background:#1716318c;backdrop-filter:blur(4px)}.qr-sheet{position:relative;width:min(100%,430px);max-height:82dvh;overflow:auto;background:#fff;border-radius:25px 25px 0 0;padding:18px 22px calc(18px + env(safe-area-inset-bottom,0px));text-align:center;animation:slideup .25s ease;box-shadow:0 -12px 40px #17163122}.close-modal{position:absolute;right:16px;top:13px;width:32px;height:32px;border:0;border-radius:50%;background:#f2f2f8;color:#68697d;font-size:22px;cursor:pointer}.qr-brand{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--navy);font-size:8px;letter-spacing:1.2px;font-weight:900}.qr-brand img{height:23px;width:23px;object-fit:cover;border-radius:50%}.qr-symbol{position:relative;width:138px;height:138px;margin:13px auto;background:#f8f8fb;border-radius:16px;display:grid;place-items:center}.qr-symbol svg{width:91px;height:91px;fill:#292568}.scan-corner{position:absolute;width:28px;height:28px;border-color:#d4b254;border-style:solid}.scan-corner.tl{top:12px;left:12px;border-width:3px 0 0 3px;border-radius:7px 0 0}.scan-corner.tr{top:12px;right:12px;border-width:3px 3px 0 0;border-radius:0 7px 0 0}.scan-corner.bl{bottom:12px;left:12px;border-width:0 0 3px 3px;border-radius:0 0 0 7px}.scan-corner.br{bottom:12px;right:12px;border-width:0 3px 3px 0;border-radius:0 0 7px}.qr-eyebrow{color:#a18336}.qr-sheet h2{font-size:19px;margin:6px 0}.qr-sheet>p{font-size:10px;color:var(--muted);line-height:1.45;max-width:285px;margin:0 auto}.camera-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:44px;margin-top:12px;border:0;border-radius:13px;background:var(--navy);color:#fff;font-weight:800;font-size:12px;cursor:pointer}.camera-btn span{font-size:17px}.secure-note{display:block;color:#9b9cac;font-size:8px;line-height:1.45;margin:8px auto 0;max-width:290px}.toast{position:fixed;z-index:20;left:50%;bottom:100px;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#262357;color:#fff;border-radius:999px;padding:11px 14px;font-size:10px;box-shadow:0 8px 24px #19174140;transition:.2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes slideup{from{transform:translateY(25px);opacity:.6}to{transform:none;opacity:1}}@media(max-width:600px){body{padding:0;background:var(--page)}.device{width:100%;height:100dvh;max-height:100dvh;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.topbar{padding:0 18px;padding-top:env(safe-area-inset-top,0px);height:calc(67px + env(safe-area-inset-top,0px));min-height:calc(67px + env(safe-area-inset-top,0px));margin-top:0}.brand img{width:37px;height:37px}main{padding:19px 17px 10px}.bottom-nav{height:calc(73px + var(--safe-bottom));padding-bottom:calc(7px + var(--safe-bottom))}.qr-sheet{border-radius:25px 25px 0 0}main{padding:15px 14px 8px}.page-head{margin-bottom:12px}.welcome-row{margin-bottom:15px}.shift-card{padding:17px 16px 14px;margin-bottom:22px}.summary-grid{gap:9px;margin-bottom:12px}.summary-card{min-height:164px;padding:15px}.section-heading{margin-bottom:9px}.attendance-card{margin-bottom:14px}.menu-row{min-height:59px;padding:8px 11px}.ops-tile{padding:9px 10px}.ops-list{gap:7px}.qr-symbol{width:128px;height:128px;margin:10px auto}.qr-symbol svg{width:83px;height:83px}.toast{bottom:calc(90px + var(--safe-bottom))}}@media(min-width:601px){.modal{align-items:center}.qr-sheet{border-radius:25px;max-width:390px;padding-bottom:25px}}


/* Aktur Work brand refinement: colors sampled from the Aktur Park logo. */
:root{--navy:#20245f;--navy-2:#353878;--ink:#20213e;--muted:#797c94;--line:#e5e5ed;--page:#f4f4f8;--gold:#d9ad2d;--white:#fff;--mint:#e6f4ed;--berry:#922b5c;--red:#c52e46}
body{background:linear-gradient(145deg,#f4f4f8 0%,#e9e9f1 100%)}
.device{box-shadow:0 30px 85px #20245f24;border-color:#fff}
.topbar{background:linear-gradient(180deg,#fff 0%,#fdfdff 100%);border-bottom-color:#e7e6ee}
.brand img{border:1px solid #e8e6ed;box-shadow:0 4px 14px #20245f1c}
.brand strong{color:#20245f}
.brand strong span{background:linear-gradient(110deg,#c32b46 5%,#922b5c 44%,#d6a928 90%);-webkit-background-clip:text;background-clip:text}
.avatar{background:linear-gradient(145deg,#f2f0f8,#eae9f5);box-shadow:inset 0 0 0 1px #e2dfeb;color:#20245f}
main{background:linear-gradient(180deg,#f7f7fa 0%,#f0f0f6 100%)}
.eyebrow{color:#922b5c}
.welcome-row h1,.page-head h1{color:#20245f}
.welcome-row h1 span{color:#d3a92f}
.sun-mark{background:linear-gradient(145deg,#fff7d5,#ffedb5);color:#bd8e1c;box-shadow:inset 0 0 0 1px #f6e5ad}
.shift-card{background:radial-gradient(ellipse at 100% 0%,#57599a 0%,transparent 45%),linear-gradient(118deg,#20245f 0%,#333875 72%,#782958 145%);border:1px solid #ffffff26;box-shadow:0 16px 30px #20245f2e}
.shift-card:after{height:3px;width:110px;background:linear-gradient(90deg,#f2d34f,#dfae30 55%,transparent)}
.shift-time strong{font-size:30px;text-shadow:0 2px 10px #12134738}
.shift-line{height:2px;background:linear-gradient(90deg,#e5c340,#fff0a6)}
.shift-bottom{justify-content:flex-start;gap:9px;align-items:center;flex-wrap:wrap;color:#fff}
.shift-caption{font-size:8px;letter-spacing:1px;font-weight:900;color:#e7d77e}
.machine-name{font-size:10px;color:#fff;font-weight:750;padding:5px 9px;border-radius:999px;background:#ffffff1b;border:1px solid #ffffff30}
.status-chip{background:#ffffff20;border:1px solid #ffffff1b}
.card-orbit{border-color:#ffffff20}
.section-heading h2{color:#20245f;font-size:17px}
.date-chip{color:#922b5c;border-color:#e7e3ea;box-shadow:0 3px 10px #20245f08}
.summary-card{border-color:#e5e3ec;box-shadow:0 9px 22px #20245f0c}
.summary-card.pending{background:linear-gradient(145deg,#fff 52%,#fff7dc)}
.summary-card.notices{background:linear-gradient(145deg,#fff 52%,#f8edf2)}
.summary-icon{background:#f1eef8;color:#922b5c}
.pending .summary-icon{background:#fff1c7;color:#a37a11}
.summary-number{color:#20245f}
.page-head h1{letter-spacing:-1.1px}
.attendance-card,.list-menu,.announcement-card,.ops-tile,.profile-card{border-color:#e5e3ec;box-shadow:0 8px 20px #20245f0a}
.attendance-icon{background:linear-gradient(145deg,#eeedf8,#e7e6f4);color:#20245f}
.green-check{background:#e5f4eb;color:#278253}
.row-icon.indigo{color:#20245f;background:#eeedf8}
.row-icon.amber{color:#966f10;background:#fff4cf}
.row-icon.teal{color:#327b6b;background:#e4f4ed}
.row-icon.rose-bg{color:#a93e5b;background:#f9e8ed}
.menu-row{border-bottom-color:#efedf3}
.menu-row:active,.ops-tile:active{background:#fbf9fc}
.count{background:#f9e8ed;color:#a63e5c}
.announcement-card.featured{border-left-color:#d6ae34}
.tag{color:#a53956;background:#f9e9ee}
.tag.soft{color:#7c2853;background:#f5eaf1}
.author-dot{background:#f1edf5;color:#20245f}
.permission-empty{margin:12px 2px;padding:13px 15px;border:1px dashed #d8d6e6;border-radius:14px;background:#ffffff8a;color:#777a91;font-size:11px;line-height:1.5;text-align:center}
.ops-tile .op-icon.blue{background:#e9ebfa;color:#373b86}
.ops-tile .op-icon.gold{background:#fff2ca;color:#98710f}
.ops-tile .op-icon.mint{background:#e3f3eb;color:#347e69}
.ops-tile .op-icon.rose{background:#f9e7ec;color:#a43e5c}
.access-tag{color:#922b5c}
.profile-avatar{background:linear-gradient(145deg,#20245f,#922b5c);box-shadow:0 6px 14px #20245f24}
.verified{background:#e5f4eb;color:#278253}
.logout-btn{border-color:#f0d9df;background:linear-gradient(100deg,#fff8f7,#fff);color:#ad3a55}
.bottom-nav{background:#fffF;box-shadow:0 -8px 24px #20245f0b;border-top-color:#e6e4ed}
.nav-item.selected{color:#20245f}
.nav-item.selected .nav-icon{background:#eeedf8}
.qr-button{background:linear-gradient(145deg,#f0d548 0%,#d8ae30 50%,#ad7e23 100%);border-color:#f4f4f8;box-shadow:0 7px 19px #b3872f55,inset 0 1px 0 #fff9}
.qr-nav small{color:#9b741f}
.qr-sheet{border:1px solid #eeebf1;box-shadow:0 -15px 45px #15153b2b}
.qr-symbol{background:linear-gradient(145deg,#f8f7fa,#f0eff6);box-shadow:inset 0 0 0 1px #eceaf2}
.qr-symbol svg{fill:#20245f}
.scan-corner{border-color:#d6ae34}
.qr-eyebrow{color:#922b5c}
.camera-btn{background:linear-gradient(100deg,#20245f,#363a7f 68%,#752958);box-shadow:0 8px 17px #20245f2b}
.toast{background:linear-gradient(100deg,#20245f,#383979);box-shadow:0 8px 24px #20245f40}
@media(max-width:600px){
  main{padding:16px 15px 8px}
  .welcome-row{margin-bottom:13px}
  .shift-card{margin-bottom:20px}
  .summary-card{min-height:145px}
  .summary-grid{margin-bottom:4px}
  .section-heading{margin-bottom:8px}
  .page-head{margin-bottom:10px}
  .ops-list{gap:6px}
  .ops-tile{padding:8px 10px}
  .ops-tile .op-icon{width:32px;height:32px;flex-basis:32px}
  .qr-sheet{border:0}
}

/* Park-inspired finishing pass: consistent page rhythm, logo palette, festive details. */
:root{--navy:#20245f;--navy-2:#343977;--berry:#922b5c;--red:#c82e48;--gold:#d9ad2d;--page:#f5f4f8;--ink:#20213e}
body{background:radial-gradient(ellipse at 14% 0%,#fff9e8 0%,transparent 36%),linear-gradient(145deg,#eeedf4,#e6e5ee)}
.device{box-shadow:0 32px 90px #2422582a;border-color:#fff}
.topbar{position:relative;background:linear-gradient(180deg,#fff 0%,#fff 82%,#fdfbff 100%)}
.topbar:after{content:"";position:absolute;left:20px;right:20px;bottom:-1px;height:2px;background:linear-gradient(90deg,#20245f 0%,#922b5c 48%,#d9ad2d 78%,transparent 100%);opacity:.52}
main{padding:18px 18px 16px;background:radial-gradient(ellipse at 100% 0%,#922b5c0b 0%,transparent 36%),linear-gradient(180deg,#f8f7fa,#f0eff5)}
main.scrollable{scrollbar-width:none}
main::-webkit-scrollbar{display:none}
.screen.active{animation:parkEnter .24s cubic-bezier(.2,.7,.2,1)}
@keyframes parkEnter{from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:none}}
.eyebrow{color:#922b5c;letter-spacing:1.7px}
.page-head{margin:0 1px 15px}
.page-head h1{color:#20245f}
.welcome-row{margin:0 2px 14px}
.welcome-row h1{color:#20245f}
.brand img{box-shadow:0 4px 15px #20245f20;border-color:#e8e5ef}
.brand strong span{background:linear-gradient(105deg,#922b5c 0%,#c82e48 53%,#d7a526 100%);-webkit-background-clip:text;background-clip:text}
.shift-card{background:radial-gradient(circle at 87% 12%,#d52d4936 0 2px,transparent 3px),radial-gradient(circle at 94% 23%,#f2d54b70 0 2px,transparent 3px),radial-gradient(circle at 78% 25%,#f2d54b55 0 1.5px,transparent 2.5px),radial-gradient(ellipse at 100% 0%,#5b5c9d 0%,transparent 46%),linear-gradient(122deg,#20245f 0%,#323777 68%,#702955 120%);box-shadow:0 17px 30px #20245f32;border-radius:25px}
.shift-card:before{content:"";position:absolute;inset:0 0 0 auto;width:42%;opacity:.14;background-image:radial-gradient(circle,#f9df74 1px,transparent 1.7px);background-size:17px 17px;mask-image:linear-gradient(90deg,transparent,#000)}
.shift-card:after{width:135px;background:linear-gradient(90deg,#f5dc55,#d9ad2d 54%,transparent);height:3px}
.shift-time strong{font-size:30px;letter-spacing:-1.2px}
.shift-bottom{padding-top:1px}
.machine-name{background:#ffffff22;border-color:#ffffff44;box-shadow:inset 0 1px 0 #ffffff18}
.section-heading h2{color:#20245f}
.date-chip{border-color:#e8e3ec;color:#922b5c;box-shadow:0 4px 12px #20245f0b}
.summary-card{border-color:#e5e2ed;box-shadow:0 10px 24px #20245f10;transition:transform .2s,box-shadow .2s}
.summary-card:before{content:"";position:absolute;top:0;left:17px;width:42px;height:3px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#d9ad2d,#f3de83)}
.summary-card.notices:before{background:linear-gradient(90deg,#922b5c,#d84c5d)}
.summary-icon{box-shadow:inset 0 0 0 1px #20245f08}
.pending .summary-icon{background:#fff2c8;color:#9e7616}
.notices .summary-icon{background:#f7e9ef;color:#922b5c}
.page-head .eyebrow{margin-bottom:1px}
.ops-tile{position:relative;overflow:hidden;border-color:#e5e2ed;box-shadow:0 8px 18px #20245f0b;padding:12px 13px;align-items:center}
.ops-tile:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:0 3px 3px 0;background:#4b56a0}
.ops-tile:nth-child(2):before{background:#d9ad2d}
.ops-tile:nth-child(3):before{background:#57a88e}
.ops-tile:nth-child(4):before{background:#c54363}
.ops-tile .op-icon{box-shadow:inset 0 0 0 1px #20245f08}
.ops-tile h2{color:#20245f}
.ops-tile p{color:#73768e}
.announcement-card{border-radius:19px;box-shadow:0 8px 20px #20245f0b}
.announcement-card.featured{border-left-width:3px;border-left-color:#d9ad2d}
.tag{color:#b32d4c;background:#f9e8ed}
.tag.soft{color:#922b5c;background:#f5eaf1}
.list-menu{box-shadow:0 8px 20px #20245f09}
.menu-row{min-height:62px}
.profile-card{box-shadow:0 8px 20px #20245f0a}
.bottom-nav{height:78px;background:linear-gradient(180deg,#fffefa 0%,#fff 40%);border-top-color:#e7e3ed;box-shadow:0 -9px 25px #20245f0d}
.nav-item.selected .nav-icon{background:#f1eaf0;color:#922b5c}
.nav-item.selected{color:#20245f}
.qr-nav{justify-content:center;padding:0;gap:0}
.qr-button{top:-28px;width:62px;height:62px;background:radial-gradient(circle at 32% 23%,#fff28c 0%,#f2d349 35%,#d2a025 72%,#b9831c 100%);border:4px solid #fff;border-radius:50%;box-shadow:0 8px 21px #b88b2b5c,inset 0 1px 1px #fff9}
.qr-button:after{content:"";position:absolute;inset:-8px;border:1px solid #d9ad2d40;border-radius:50%}
.qr-button svg{width:29px;height:29px;filter:drop-shadow(0 1px 1px #815d1e45)}
.qr-nav:hover .qr-button{transform:translateY(-2px);transition:transform .2s}
.qr-sheet{border-top:3px solid #d9ad2d}
.camera-btn{background:linear-gradient(100deg,#20245f 0%,#353978 72%,#922b5c 130%);box-shadow:0 9px 20px #20245f2b}
@media(max-width:600px){
  main{padding:18px 16px 16px}
  .page-head{margin:0 1px 14px}
  .welcome-row{margin:0 2px 14px}
  .shift-card{margin-bottom:20px}
  .summary-card{min-height:148px}
  .summary-grid{margin-bottom:6px}
  .ops-list{gap:8px}
  .ops-tile{padding:10px 12px}
  .bottom-nav{height:calc(76px + var(--safe-bottom));padding:7px 8px calc(7px + var(--safe-bottom))}
  .nav-item{height:58px}
  .qr-nav{height:58px;align-self:center}
  .qr-button{top:-26px;width:60px;height:60px}
  .qr-sheet{border-top-width:3px}
}

/* Aktur Work announcements and permission-aware notification center. */
.topbar-actions{display:flex;align-items:center;gap:10px}
.notification-bell{position:relative;width:38px;height:38px;display:grid;place-items:center;border:1px solid #e9e5ee;border-radius:13px;background:linear-gradient(145deg,#fff,#f7f4f8);color:#20245f;cursor:pointer;box-shadow:0 3px 10px #20245f0b}
.notification-bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.notification-badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#c82e48;color:#fff;font-size:8px;line-height:13px;font-weight:900;text-align:center;box-shadow:0 2px 6px #c82e483f}
.notification-badge[hidden]{display:none}
.announcement-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.announcement-title-row h1{margin-bottom:4px}
.compose-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:35px;padding:0 11px;border:1px solid #e5d396;border-radius:11px;background:linear-gradient(120deg,#fff9df,#fff);color:#735517;font-size:10px;font-weight:850;box-shadow:0 5px 13px #c8982b16;cursor:pointer}
.compose-btn span{font-size:17px;line-height:1;color:#b48520}
.compose-btn[hidden]{display:none}
.notification-modal,.compose-modal{z-index:12}
.notification-sheet,.compose-sheet{position:relative;width:min(100%,430px);max-height:min(78dvh,680px);overflow:auto;background:#fff;border:1px solid #eee9f0;border-top:3px solid #d9ad2d;border-radius:25px 25px 0 0;padding:17px 17px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -16px 50px #17163132;animation:slideup .24s ease}
.sheet-grip{width:37px;height:4px;border-radius:99px;background:#ddd8e4;margin:0 auto 16px}
.notification-head{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:43px;padding-right:38px}
.notification-head .eyebrow{font-size:8px;margin:0 0 4px}
.notification-head h2{margin:0;color:#20245f;font-size:21px;letter-spacing:-.6px}
.notification-head .close-modal{top:2px;right:0}
.notification-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0 10px;border-bottom:1px solid #efedf3}
.notification-tools span{font-size:9px;font-weight:850;color:#922b5c}
.notification-tools button{padding:5px 0;border:0;background:none;color:#74768c;font-size:8px;font-weight:750;cursor:pointer}
.notification-list{display:grid;gap:8px;padding:10px 0 2px}
.notification-item{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px 9px;border:1px solid #ece9f1;border-radius:14px;background:linear-gradient(120deg,#fff,#fbfafc);color:#20213e;text-align:left;cursor:pointer}
.notification-item.is-read{opacity:.64;background:#f8f7fa}
.notification-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#f6e9ef;color:#922b5c;font-size:16px;font-weight:900}
.type-unit .notification-icon{background:#eceefb;color:#38428a}
.type-maintenance .notification-icon{background:#fff3d2;color:#9b7418}
.notification-copy{min-width:0;display:grid;gap:3px}
.notification-copy small{font-size:7px;font-weight:900;letter-spacing:.7px;color:#922b5c}
.notification-copy strong{font-size:10px;line-height:1.35;color:#20245f}
.notification-copy>span{font-size:8px;line-height:1.45;color:#787b91}
.notification-item time{padding-top:1px;font-size:7px;color:#9898a8;white-space:nowrap}
.notification-empty{padding:20px;text-align:center;color:#85879a;font-size:10px}
.all-announcements{width:100%;height:39px;margin-top:8px;border:1px solid #e7e2eb;border-radius:11px;background:#f9f7fa;color:#20245f;font-size:10px;font-weight:850;cursor:pointer}
.all-announcements span{margin-left:5px;color:#c1972b;font-size:15px}
.compose-sheet{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
#announcement-form{display:grid;gap:7px;margin-top:17px}
#announcement-form label{margin-top:4px;color:#4d4f6c;font-size:9px;font-weight:850}
#announcement-form input,#announcement-form textarea,#announcement-form select{width:100%;border:1px solid #e4e1eb;border-radius:11px;background:#fcfbfd;padding:10px 11px;color:#20213e;font:inherit;font-size:10px;outline:none}
#announcement-form input:focus,#announcement-form textarea:focus,#announcement-form select:focus{border-color:#c4a342;box-shadow:0 0 0 3px #dfc85a24}
#announcement-form textarea{resize:vertical;min-height:86px;line-height:1.5}
.audience-note{display:flex;align-items:center;gap:9px;margin-top:5px;padding:10px;border:1px solid #eee4bf;border-radius:12px;background:linear-gradient(120deg,#fffae8,#fff)}
.audience-note>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#fff1bd;color:#93701b;font-size:18px}
.audience-note div{display:grid;gap:3px}
.audience-note strong{font-size:9px;color:#4d4a39}
.audience-note small{font-size:8px;color:#7b7564}
.compose-actions{display:flex;gap:8px;margin-top:8px}
.compose-actions button{height:40px;border-radius:11px;font-size:10px;font-weight:850;cursor:pointer}
.cancel-compose{flex:1;border:1px solid #e8e5ed;background:#fff;color:#696b80}
.publish-compose{flex:1.4;border:0;background:linear-gradient(100deg,#20245f,#393c80 72%,#922b5c);color:#fff;box-shadow:0 7px 15px #20245f28}
@media(max-width:600px){
  .topbar-actions{gap:8px}
  .notification-bell{width:36px;height:36px;border-radius:12px}
  .announcement-title-row h1{font-size:25px}
  .compose-btn{min-height:33px;padding:0 9px;font-size:9px}
  .notification-sheet,.compose-sheet{padding-left:16px;padding-right:16px}
}
@media(min-width:601px){
  .notification-modal,.compose-modal{align-items:center}
  .notification-sheet,.compose-sheet{max-width:400px;border-radius:25px;padding-bottom:22px}
}

.type-assignment .notification-icon{background:#fff2c9;color:#9a7417}

/* STAFF sign-in for hosted Aktur Work; file:// remains a visual preview. */
#screen-login.active{height:auto;min-height:100%;overflow:visible}
.device.is-logged-out .topbar{display:none}
.device.is-logged-out .bottom-nav{display:none}
.device.is-logged-out main{overflow-y:auto;padding:22px 18px 26px}
.auth-welcome{display:grid;justify-items:center;text-align:center;margin:11px 0 19px}
.auth-logo{width:58px;height:58px;display:grid;place-items:center;border:1px solid #e8e3ed;border-radius:19px;background:linear-gradient(145deg,#fff,#faf7fb);box-shadow:0 8px 20px #20245f12;margin-bottom:10px}
.auth-logo img{width:43px;height:43px;object-fit:cover;border-radius:50%}
.auth-welcome>.eyebrow{font-size:8px}
.auth-welcome h1{margin:5px 0 2px;color:#20245f;font-size:27px;letter-spacing:-1.2px;font-weight:950}
.auth-welcome h1 span{background:linear-gradient(110deg,#922b5c,#c82e48 55%,#d7a526);-webkit-background-clip:text;background-clip:text;color:transparent}
.auth-welcome>p{margin:0;color:#777a91;font-size:10px}
.auth-card{width:min(100%,390px);margin:0 auto;padding:20px 18px 18px;border:1px solid #e6e2ec;border-radius:21px;background:linear-gradient(145deg,#fff,#fcfbfd);box-shadow:0 13px 30px #20245f12}
.auth-card>.eyebrow{font-size:8px}
.auth-card h2{margin:7px 0 4px;color:#20245f;font-size:21px;letter-spacing:-.6px}
.auth-description{margin:0 0 15px;color:#777a91;font-size:10px;line-height:1.5}
.auth-message{margin:0 0 12px;padding:9px 10px;border:1px solid #f0d6dc;border-radius:10px;background:#fff4f5;color:#a53854;font-size:9px;line-height:1.45}
.auth-message[hidden]{display:none}
.auth-form{display:grid;gap:7px}
.auth-form[hidden]{display:none}
.auth-form label{margin-top:3px;color:#444663;font-size:9px;font-weight:850}
.auth-form input{width:100%;height:43px;border:1px solid #e1deea;border-radius:11px;background:#fff;padding:0 11px;color:#22223f;font:inherit;font-size:11px;outline:none}
.auth-form input:focus{border-color:#c3a244;box-shadow:0 0 0 3px #dfc85a24}
.auth-form input::placeholder{color:#afb0bd}
.auth-hint{font-size:8px;color:#85879a;line-height:1.5;margin:0 1px 3px}
.auth-submit{height:44px;margin-top:7px;padding:0 13px;border:0;border-radius:12px;background:linear-gradient(105deg,#20245f,#393c80 74%,#922b5c 140%);color:#fff;font-size:11px;font-weight:850;box-shadow:0 8px 18px #20245f2c;cursor:pointer}
.auth-submit span{float:right;font-size:16px;line-height:1}
.auth-submit:disabled{opacity:.65;cursor:wait}
.auth-back{display:block;margin:12px auto 0;border:0;background:none;color:#74768c;font-size:9px;font-weight:750;cursor:pointer}
.auth-back[hidden]{display:none}
.auth-footer{margin:14px 0 0;text-align:center;color:#a0a1af;font-size:8px}
@media(max-width:600px){
  .device.is-logged-out main{padding:18px 17px calc(20px + env(safe-area-inset-bottom,0px))}
  .auth-welcome{margin-top:9px;margin-bottom:17px}
  .auth-card{padding:18px 16px 16px}
}
html[data-hosted="true"]:not([data-authenticated="true"]) #screen-home{display:none}
html[data-hosted="true"]:not([data-authenticated="true"]) #screen-login{display:block}
html[data-hosted="true"]:not([data-authenticated="true"]) .topbar,
html[data-hosted="true"]:not([data-authenticated="true"]) .bottom-nav{display:none}
