:root{--yellow:#f4c900;--yellow-deep:#e0b800;--yellow-soft:#fff6c4;--ink:#17181c;--muted:#6d7076;--line:#e7e5df;--bg:#f4f3ef;--white:#fff;--green:#16834b;--green-soft:#ddf5e8;--red:#c53636;--red-soft:#ffe3e3;--radius:20px;--shadow-sm:0 1px 2px #0000000a,0 2px 8px #00000008;--shadow-md:0 4px 16px #00000012;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(180deg,#f8f6ef 0%,var(--bg) 240px);min-height:100vh;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit}
.app-shell{max-width:1100px;margin:auto;min-height:100vh;padding:18px}
header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px}
.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:20px;letter-spacing:-.02em}
.logo{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#fff9dc;border:1px solid #f0df84;box-shadow:var(--shadow-sm);overflow:hidden}
.logo img{display:block;width:40px;height:40px;object-fit:contain}
.header-actions{display:flex;gap:8px;align-items:center}
select,input,textarea{border:1.5px solid var(--line);background:var(--white);border-radius:12px;padding:12px;color:var(--ink);transition:border-color .15s,box-shadow .15s;min-width:0}
input[type="date"],input[type="time"],input[type="datetime-local"]{display:block;width:100%;min-width:0;max-width:100%;height:52px;min-height:52px;line-height:1.2;font-variant-numeric:tabular-nums;-webkit-appearance:none;appearance:none}
input[type="date"]::-webkit-date-and-time-value,input[type="time"]::-webkit-date-and-time-value,input[type="datetime-local"]::-webkit-date-and-time-value{min-height:1.25em;text-align:start}
select:focus,input:focus,textarea:focus{outline:none;border-color:var(--yellow-deep);box-shadow:0 0 0 3px #f4c90033}
button{border:0;border-radius:12px;padding:11px 16px;cursor:pointer;font-weight:600;transition:transform .12s,box-shadow .15s,filter .15s}
button:active{transform:scale(.97)}
.primary{background:linear-gradient(135deg,#ffe14d,var(--yellow));color:#241f00;font-weight:750;box-shadow:inset 0 -2px 0 #0000001a,var(--shadow-sm)}
.primary:hover{filter:brightness(1.03)}
.secondary{background:var(--white);border:1.5px solid var(--line);box-shadow:var(--shadow-sm)}
.block{width:100%}
.link-button{background:transparent;color:var(--ink);text-decoration:underline;width:100%;margin-top:12px;font-weight:600}
.back{background:var(--yellow-soft)}
.danger{background:var(--red-soft);color:var(--red)}
.success{background:var(--green-soft);color:var(--green)}
.icon-button{font-size:25px;background:var(--yellow-soft);padding:4px 11px;line-height:1}
.logout-button{display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:12px;background:var(--white);border:1.5px solid var(--line);color:var(--muted)}
.logout-button:hover{color:var(--red);border-color:#f0c9c9;background:#fff7f7}
nav{display:flex;gap:8px;overflow:auto;margin-bottom:20px;scrollbar-width:none}
nav::-webkit-scrollbar{display:none}
nav button{white-space:nowrap;background:transparent;color:var(--muted);border-radius:999px;padding:10px 18px}
nav button.active{background:var(--ink);color:var(--white);box-shadow:var(--shadow-sm)}
main{min-height:70vh}
.auth-card,.form-card,.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm)}
.auth-card{max-width:460px;margin:8vh auto}
.remember-login{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:600}
.remember-login input{width:19px;height:19px;padding:0;accent-color:#b99500}
.form-card{max-width:760px;margin:auto}
.eyebrow{display:inline-block;background:var(--yellow-soft);padding:7px 12px;border-radius:999px;font-weight:650;font-size:.9rem}
.muted{color:var(--muted)}
form{display:grid;gap:14px}
label{display:grid;gap:6px;font-weight:650}
.form-grid{grid-template-columns:1fr 1fr}
.full{grid-column:1/-1}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.metric strong{font-size:30px;display:block}
.hero{background:linear-gradient(135deg,#ffe14d,var(--yellow));border:0;margin-bottom:16px;box-shadow:var(--shadow-md)}
.hero span{font-weight:750;opacity:.75}
.hero h1{margin:6px 0 4px;letter-spacing:-.02em}
.hero p{margin:0;font-weight:650;opacity:.8}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
.badge{display:inline-block;padding:6px 11px;border-radius:999px;background:#eee;font-size:13px;font-weight:700}
.badge.active,.badge.accepted{background:var(--green-soft);color:var(--green)}
.badge.pending{background:var(--yellow-soft);color:#7a6200}
.badge.rejected,.badge.declined{background:var(--red-soft);color:var(--red)}
.actions{display:flex;gap:8px;flex-wrap:wrap}
h1,h2,h3{margin-top:0;letter-spacing:-.015em}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 20px;border-radius:14px;z-index:100;box-shadow:var(--shadow-md);max-width:calc(100vw - 32px);text-align:center;animation:toast-in .25s ease}
@keyframes toast-in{from{opacity:0;transform:translateX(-50%) translateY(8px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}
.shift-block{padding:18px 0;border-bottom:1px solid var(--line)}
.shift-block:last-child{border-bottom:0;padding-bottom:4px}
.shift-block .actions{margin-top:12px}
.shift-admin-actions{justify-content:flex-end;margin-top:0!important}
.worker-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;margin:12px 0 16px}
.worker-picker label{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.worker-picker label:has(input:checked){border-color:#b99500;background:var(--yellow-soft)}
.worker-picker input{width:18px;height:18px;accent-color:#b99500}
.staff-count{display:inline-block;margin-top:7px;padding:6px 10px;border-radius:10px;font-size:.92rem}
.staff-count.under{color:#765c00;background:#fff4b8}
.staff-count.exact{color:#126c36;background:#dff5e7}
.staff-count.over{color:#914b00;background:#ffe1bf}
.account-badge{background:#fff;border:1.5px solid var(--line);padding:9px 12px;border-radius:12px;font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.metric .connected{font-size:20px;color:var(--green)}
.create-shift{margin-bottom:16px}
.search{width:100%}
.list-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px}
.list-head .search{max-width:340px}
.list-head h2{margin:0}
.employee-details{min-width:0}
.employee-details strong,.employee-details .muted{overflow-wrap:anywhere}
.employee-status-actions{align-items:center;justify-content:flex-end}
.employee-status-actions .badge{white-space:nowrap}
.employee-status-actions button{min-width:140px}
.shift-card{margin-bottom:12px}
.shift-card .actions{margin-top:14px}
dialog{border:0;border-radius:22px;padding:0;width:min(720px,calc(100vw - 24px));max-height:86vh;box-shadow:0 24px 70px #0004}
dialog::backdrop{background:#17181c99;backdrop-filter:blur(3px)}
.dialog-head,.dialog-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px}
.dialog-head{border-bottom:1px solid var(--line)}
.dialog-head h2,.dialog-head p{margin:0}
.dialog-foot{border-top:1px solid var(--line);position:sticky;bottom:0;background:white}
.dialog-foot span{font-weight:800;padding:8px 12px;border-radius:10px}
.dialog-foot .under{background:#fff4b8;color:#765c00}
.dialog-foot .exact{background:#dff5e7;color:#126c36}
.dialog-foot .over{background:#ffe1bf;color:#914b00}
.dialog-head+.search{width:calc(100% - 40px);margin:16px 20px 8px}
.worker-list{padding:8px 20px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:48vh;overflow:auto}
.worker-list label{display:flex;align-items:center;gap:11px;padding:12px;border:1.5px solid var(--line);border-radius:14px;cursor:pointer}
.worker-list label[hidden]{display:none!important}
.worker-list label:has(input:checked){background:var(--yellow-soft);border-color:#c4a500}
.worker-list input{width:18px;height:18px;accent-color:#b99500}
.worker-list span{display:grid}
.worker-list small{color:var(--muted);font-weight:400;overflow:hidden;text-overflow:ellipsis}
.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.status-card{text-align:start;transition:transform .18s,box-shadow .18s}
.status-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.status-card strong{font-size:36px;margin:6px 0;letter-spacing:-.02em}
.status-card small{color:var(--muted)}
.status-card.total{border-top:5px solid #555}
.status-card.accepted{border-top:5px solid var(--green)}
.status-card.declined{border-top:5px solid var(--red)}
.status-card.pending{border-top:5px solid var(--yellow)}
.status-list{padding:8px 20px 20px;max-height:60vh;overflow:auto}
.dashboard-shift{margin-bottom:16px}
.dashboard-shift-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.dashboard-shift-head h2,.dashboard-shift-head p{margin:0}
.dashboard-shift-head p{color:var(--muted);margin-top:6px}
.dashboard-shift .status-card{background:#fafaf8;border:1px solid var(--line);border-top-width:5px;border-radius:14px;padding:16px}
.alarm-banner{margin:14px 0 4px;padding:12px 14px;border-radius:14px;background:var(--yellow-soft);border:1px solid #ead66b;font-weight:700}
.attendance-summary{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.attendance-summary span{background:#f4f3ef;padding:8px 11px;border-radius:10px}
.attendance-actions{margin-top:14px}
.attendance-actions button{min-width:150px}
.precise-time-form{margin-top:14px}
.time-entry-hint{margin:0}
.time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.time-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.time-field label{min-width:0}
.time-field input{width:100%;font-size:1.05rem;font-variant-numeric:tabular-nums}
.time-now{min-width:72px;padding-inline:12px}
.fixed-start-date{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fafaf8}
.fixed-start-date span{color:var(--muted);font-weight:650}
.fixed-start-date strong{font-variant-numeric:tabular-nums}
.attendance-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
.end-date-field input{width:100%}
.attendance-entry-grid{display:grid;grid-template-columns:1fr;gap:12px}
.worked-hours-field{display:grid;gap:8px}
.worked-hours-field input{width:100%;font-size:1.05rem;font-variant-numeric:tabular-nums}
.hour-presets{display:flex;gap:6px;flex-wrap:wrap}
.hour-presets button{padding:7px 10px;min-width:52px}
.break-choice{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--white);cursor:pointer}
.break-choice:has(input:checked){background:var(--yellow-soft);border-color:#c4a500}
.break-choice input{width:20px;height:20px;accent-color:#b99500}
.break-duration{max-width:280px}
.break-duration[hidden]{display:none}
.break-duration input{width:100%}
.automatic-end{display:grid;gap:8px;padding:14px;border-radius:14px;background:#f5f7f5;border:1.5px solid #dbe6dd}
.automatic-end>span{color:var(--green);font-weight:750}
.automatic-end-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.automatic-end-fields input{width:100%;background:#fff;color:var(--ink);font-variant-numeric:tabular-nums}
.net-hours-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #dbe6dd}
.net-hours-summary span{color:var(--muted);font-weight:650}
.net-hours-summary strong{color:var(--green);font-size:1.15rem;font-variant-numeric:tabular-nums}
.work-photo-field{display:grid;gap:10px;padding:14px;border:1.5px dashed #c9c5b8;border-radius:14px;background:#fffdf4}
.work-photo-heading{display:grid;gap:3px}
.work-photo-heading>span{font-weight:750}
.work-photo-heading small{color:var(--muted);font-weight:500;line-height:1.4}
.work-photo-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.work-photo-picker{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:12px 14px;border-radius:12px;cursor:pointer;font-weight:750}
.work-photo-picker:focus-within,.work-photo-input:focus+.work-photo-picker{outline:3px solid #f4c90055;outline-offset:2px}
.work-photo-preview{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.work-photo-preview[hidden]{display:none}
.work-photo-preview img{width:72px;height:72px;object-fit:cover;border-radius:10px;background:#f1f0ec}
.work-photo-file{display:grid;gap:3px;min-width:0}
.work-photo-file strong,.work-photo-file small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.work-photo-file small{color:var(--muted)}
.work-photo-remove{color:var(--red);background:var(--red-soft);font-size:21px}
.signature-field{display:grid;gap:10px;padding:14px;border:1.5px dashed #c9c5b8;border-radius:14px;background:#fffdf4}
.signature-heading{display:grid;gap:3px}
.signature-heading>span{font-weight:750}
.signature-heading small{color:var(--muted);font-weight:500;line-height:1.4}
.signature-canvas-wrap{position:relative;overflow:hidden;border:1.5px solid var(--line);border-radius:12px;background:var(--white);box-shadow:inset 0 1px 4px #0000000a}
.signature-canvas-wrap canvas{display:block;width:100%;height:190px;background:var(--white);cursor:crosshair;touch-action:none;user-select:none;-webkit-user-select:none}
.signature-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#aaa79f;font-weight:650;pointer-events:none}
.signature-placeholder[hidden]{display:none}
.signature-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.signature-footer>span{color:var(--muted);font-size:.9rem;font-weight:650}
.signature-field.has-signature .signature-footer>span{color:var(--green)}
.signature-footer button{padding:8px 12px}
button:disabled{opacity:.55;cursor:not-allowed}
.choice-section{margin:0;border:1.5px solid var(--line);border-radius:14px;padding:14px}
.choice-section legend{font-weight:750;padding:0 6px}
.choice-hint{margin:0 0 10px;color:var(--muted);font-size:.9rem}
.choice-row,.interest-grid{display:flex;gap:9px;flex-wrap:wrap}
.interest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.choice-row label,.interest-grid label{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;cursor:pointer;background:var(--white)}
.choice-row label:has(input:checked),.interest-grid label:has(input:checked){background:var(--yellow-soft);border-color:#c4a500}
.choice-row input,.interest-grid input{width:18px;height:18px;accent-color:#b99500}
.choice-section[hidden]{display:none}
.pending-block{margin-bottom:16px;border:1.5px solid #ead66b;background:linear-gradient(180deg,#fffdf2,#fff)}
.pending-block h2{display:flex;align-items:center;gap:10px}
.count-pill{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:999px;background:var(--yellow);color:#241f00;font-size:14px;font-weight:800}
.pending-card{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--white);margin-top:10px;box-shadow:var(--shadow-sm)}
.response-actions button{min-width:110px}
.report-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 18px}
.tile{background:#fafaf8;border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:grid;gap:2px}
.tile span{color:var(--muted);font-size:.9rem;font-weight:650}
.tile strong{font-size:28px;letter-spacing:-.02em}
.tile small{color:var(--muted)}
.hours-badge{background:var(--yellow-soft);color:#7a6200;font-weight:800;padding:8px 12px;border-radius:10px;white-space:nowrap}
.section-title{margin:22px 0 12px}.work-history{margin-top:22px}.table-wrap{overflow-x:auto}.work-table{width:100%;border-collapse:collapse;min-width:620px}.work-table th,.work-table td{text-align:start;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}.work-table th{font-size:.85rem;color:var(--muted);font-weight:750;background:#fafaf8}.work-table tbody tr:last-child td{border-bottom:0}
.profile-head{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.profile-head h2{margin:0}
.profile-head p{margin:4px 0 0}
.avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#ffe14d,var(--yellow));font-weight:800;font-size:22px;flex-shrink:0;box-shadow:inset 0 -2px 0 #0000001a}
@media(max-width:720px){
.time-fields{grid-template-columns:1fr}
.attendance-fields{grid-template-columns:1fr}
.attendance-entry-grid,.automatic-end-fields{grid-template-columns:1fr}
.account-badge{display:none}
.worker-list{grid-template-columns:1fr}
.list-head{align-items:stretch;flex-direction:column}
.list-head .search{max-width:none}
.app-shell{width:100%;padding:12px;overflow-x:hidden}
.form-grid{grid-template-columns:minmax(0,1fr)}
.form-grid input{width:100%;min-width:0}
.form-grid label{min-width:0}
.create-shift .form-grid>label input[type="date"],.create-shift .form-grid>label input[type="time"]{height:56px;font-size:1rem;font-weight:650}
.form-grid .full{grid-column:1}
.grid,.dashboard-grid{grid-template-columns:1fr 1fr}
.interest-grid{grid-template-columns:1fr 1fr}
.form-card{width:100%;padding:18px}
.row{align-items:flex-start;flex-direction:column}
.actions{width:100%}
.actions button{flex:1}
.employee-status-actions{align-items:stretch}
.employee-status-actions .badge{display:grid;place-items:center;min-height:42px}
header{position:sticky;top:0;z-index:30;background:#f8f6efcc;backdrop-filter:blur(10px);margin:-12px -12px 12px;padding:12px}
.auth-card{margin:3vh auto}
.card,.auth-card,.form-card{padding:18px;border-radius:18px}
nav{position:fixed;bottom:0;left:0;right:0;z-index:40;margin:0;padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid #deddd8;gap:8px;box-shadow:0 -5px 20px #0000000d}
nav button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:58px;padding:9px 5px;font-size:.92rem;line-height:1.12;font-weight:750;white-space:normal;overflow:visible;text-overflow:clip;text-align:center;color:#4e5158;background:#f4f3ef;border:1px solid #e5e3dc;border-radius:16px}
nav button.active{background:var(--ink);color:var(--white);border-color:var(--ink);box-shadow:0 4px 12px #0000002b}
main{padding-bottom:118px}
.report-tiles{grid-template-columns:1fr 1fr}
.report-tiles .tile:first-child{grid-column:1/-1}
.pending-card{flex-direction:column;align-items:stretch}
.hours-badge{align-self:flex-end}
.hero h1{font-size:26px}
.signature-canvas-wrap canvas{height:165px}
}

/* Mein Job visual refresh */
:root{--yellow:#f6c900;--yellow-deep:#d9aa00;--yellow-soft:#fff4b5;--ink:#17191e;--muted:#70737b;--line:#e8e5dc;--bg:#f5f3ec;--white:#fff;--green:#137a48;--green-soft:#e1f5e9;--red:#c63d3d;--red-soft:#ffe6e4;--radius:24px;--shadow-sm:0 2px 4px #211b0b0a,0 8px 22px #211b0b0a;--shadow-md:0 12px 34px #211b0b12}
body{background:radial-gradient(circle at 12% -6%,#fff2a8 0,transparent 27rem),linear-gradient(180deg,#fffdf7 0,#f5f3ec 34rem);background-attachment:fixed}
.app-shell{padding-top:20px}
header{padding:8px 4px}
.brand{font-size:22px;gap:12px}
.logo{width:50px;height:50px;border-radius:17px;border:1px solid #ead46b;background:linear-gradient(145deg,#fffbe2,#fff4ad);box-shadow:0 8px 22px #8f75001a}
.logo img{width:43px;height:43px}
.header-actions select,.account-badge,.logout-button{background:#ffffffd9;backdrop-filter:blur(12px);box-shadow:var(--shadow-sm)}
.header-actions select{height:44px;border-radius:14px;font-weight:700}
.logout-button{width:44px;height:44px;border-radius:14px}
select,input,textarea{border-color:#dedbd1;background:#fbfaf6;border-radius:15px;min-height:50px;box-shadow:inset 0 1px 0 #fff;transition:border-color .2s,box-shadow .2s,background .2s,transform .2s}
textarea{min-height:110px;resize:vertical}
select:focus,input:focus,textarea:focus{background:#fff;border-color:#d5aa00;box-shadow:0 0 0 4px #f6c9002e,0 6px 18px #463a0710}
label>span,fieldset legend{color:#35373d;font-weight:760}
button{min-height:46px;border-radius:15px;font-weight:750;transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .2s,filter .2s,background .2s,color .2s,border-color .2s}
button:hover{transform:translateY(-1px)}
button:active{transform:translateY(1px) scale(.975)}
.primary{min-height:54px;background:linear-gradient(135deg,#ffe45b 0,#f6c900 70%,#eebb00 100%);border:1px solid #e4b800;box-shadow:0 8px 20px #c19b0030,inset 0 1px 0 #fff7a6;color:#201c00}
.primary:hover{box-shadow:0 10px 24px #c19b0040,inset 0 1px 0 #fff7a6}
.secondary{background:#fff;border-color:#dedbd1;box-shadow:0 5px 14px #2d270b0c}
.danger{background:linear-gradient(180deg,#fff0ef,#ffe2e0);border:1px solid #f3c3bf;color:#bd3333}
.success{background:linear-gradient(180deg,#eaf9f0,#ddf3e6);border:1px solid #bee3cc;color:#117344}
.auth-card,.form-card,.card{border-color:#e8e4d8;border-radius:26px;box-shadow:var(--shadow-md);background:#ffffffed;backdrop-filter:blur(8px)}
.auth-card{box-shadow:0 24px 70px #5f4d0e17}
.eyebrow{background:linear-gradient(135deg,#fff3aa,#ffe66b);border:1px solid #eed460;color:#4f4100}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffe66a 0,#f6c900 58%,#e9b800 100%);box-shadow:0 16px 34px #b38f0030}
.hero::after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-55px;top:-92px;background:#fff8b64f;border:26px solid #fff6a13d;pointer-events:none}
.hero>*{position:relative;z-index:1}
h1,h2,h3{color:#191b20;letter-spacing:-.03em}
.badge,.staff-count,.hours-badge,.count-pill{border-radius:999px}
.shift-block{border:1px solid #e5e1d6!important;border-radius:20px;padding:16px!important;margin:12px 0;background:linear-gradient(145deg,#fff,#fbfaf5);box-shadow:0 7px 20px #2b240a0b}
.shift-block:last-child{padding-bottom:16px!important}
.shift-block strong{font-size:1.03rem;line-height:1.45}
.staff-count{margin-top:9px;padding:7px 11px}
.shift-admin-actions{gap:10px}
.shift-admin-actions button{min-height:50px;padding:12px 17px}
.create-shift{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff 0,#fffdf5 100%)}
.create-shift::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#f6c900,#ffe76a,#17191e)}
.create-shift h2{font-size:1.45rem;margin-bottom:18px}
.create-shift form{gap:16px}
.create-shift .primary{margin-top:4px;font-size:1.02rem}
.dashboard-shift,.pending-block,.work-history{overflow:hidden}
.dashboard-shift .status-card,.tile{border-radius:18px;background:linear-gradient(145deg,#fff,#f9f8f3);box-shadow:0 6px 18px #302a120a}
.status-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #302a1215}
.alarm-banner,.automatic-end,.work-photo-field,.signature-field{border-radius:18px}
dialog{border-radius:28px;box-shadow:0 30px 90px #0005}
dialog[open]{animation:dialog-pop .22s cubic-bezier(.2,.85,.25,1)}
@keyframes dialog-pop{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
nav button{display:inline-flex;align-items:center;gap:8px}
nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;transition:transform .18s}
nav button.active svg{transform:scale(1.08)}
@media(max-width:720px){
body{background:radial-gradient(circle at 18% -3%,#fff0a1 0,transparent 20rem),linear-gradient(180deg,#fffdf8,#f5f3ec 34rem)}
.app-shell{padding:12px 12px 20px}
header{margin:-12px -12px 14px;padding:12px 14px;background:#fffdf8e8;border-bottom:1px solid #ebe6d8;box-shadow:0 5px 18px #2f280a0a}
.brand{font-size:19px}.logo{width:44px;height:44px;border-radius:15px}.logo img{width:38px;height:38px}
.header-actions select{max-width:116px;height:42px;min-height:42px;padding:8px 10px}
.card,.auth-card,.form-card{padding:18px;border-radius:22px;box-shadow:0 10px 28px #28210810}
.create-shift h2{font-size:1.35rem}
.form-grid{gap:15px}
.form-grid label{gap:8px}
.form-grid label>span{font-size:.92rem}
.create-shift .form-grid>label input,.create-shift .form-grid>label textarea{width:100%;max-width:100%}
.create-shift .form-grid>label input[type="date"],.create-shift .form-grid>label input[type="time"]{height:56px;min-height:56px;text-align:start}
.create-shift .primary{min-height:58px;border-radius:17px;font-size:1.04rem}
.shift-block{padding:15px!important;border-radius:18px}
.shift-admin-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
.shift-admin-actions button{width:100%;min-width:0;padding:11px 8px;font-size:.92rem}
nav{left:10px;right:10px;bottom:8px;padding:8px calc(8px + env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) calc(8px + env(safe-area-inset-left,0px));gap:5px;border:1px solid #ddd9ce;border-radius:23px;background:#fffffff2;box-shadow:0 14px 42px #17191e2b;overflow:visible}
nav button{display:flex;flex-direction:column;gap:4px;min-height:64px;padding:8px 3px 7px;border:0;border-radius:17px;background:transparent;color:#6d7078;font-size:.76rem;line-height:1.05;white-space:normal;overflow:visible;text-align:center}
nav button svg{width:23px;height:23px;stroke-width:1.9}
nav button span{display:block;max-width:100%;overflow-wrap:anywhere}
nav button.active{background:#17191e;color:#fff;box-shadow:0 8px 18px #17191e35}
nav button.active svg{color:#ffd928;transform:translateY(-1px) scale(1.08)}
main{padding-bottom:110px}
.toast{bottom:104px;border-radius:16px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
