:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233d34;background:#f5f7f4;font-synthesis:none;--green:#145b45;--line:#e1e7e1}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid #d6dfd7;border-radius:8px;background:white;color:#304b3e;padding:10px 15px;font-weight:600}button:hover{background:#edf4ee;border-color:#a8beb0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.grid-scroll:focus-visible{outline:3px solid #d39c35;outline-offset:3px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#104935;color:white}.topbar{background:white;border-bottom:1px solid var(--line);padding:22px max(24px,calc((100vw - 1320px)/2));display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{font-size:20px;font-weight:750;display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-icon{background:var(--green);color:white;border-radius:12px;padding:6px 12px;font-size:30px}.brand small{display:block;font-size:12px;font-weight:400;color:#7a887e;margin-top:5px}.store-label{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#718176}.store-label select{display:block;margin-top:7px;min-width:270px;font-size:14px;letter-spacing:0}select,input,textarea{width:100%;padding:12px;border-radius:7px;border:1px solid #cdd8d0;background:white;color:#233d34;min-height:46px}main{max-width:1368px;margin:auto;padding:40px 24px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;color:#65816e;margin:0 0 12px}h1{font-size:34px;letter-spacing:-1.2px;margin:0}h2{font-size:18px;margin:0}h3{margin:12px 0}.subtitle{color:#77857b;font-size:14px;margin:12px 0 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.stats>div{background:white;border:1px solid var(--line);border-radius:12px;padding:23px 26px}.stats span{font-size:12px;color:#75847b}.stats strong{display:block;font-size:30px;letter-spacing:-.8px;margin-top:12px;font-weight:650}.stats strong span{font-size:15px;font-weight:400;letter-spacing:0}.schedule{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.toolbar{padding:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.week-nav{display:flex;align-items:center;gap:10px}.week-nav h2{min-width:205px;text-align:center;font-size:16px}.week-nav #today{font-size:12px;margin-left:4px}.grid-scroll{overflow:auto}table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:1040px}th,td{border-top:1px solid var(--line);border-right:1px solid var(--line);text-align:left;padding:10px;vertical-align:top}th:last-child,td:last-child{border-right:0}thead th{background:#f7f9f6;color:#7b897f;font-size:10px;letter-spacing:1px;padding:16px 12px;text-transform:uppercase}thead th span{display:block;color:#354d40;font-size:19px;font-weight:500;margin-top:6px;letter-spacing:0}thead th:first-child{width:190px;vertical-align:middle}thead th:last-child{width:84px;text-align:center;vertical-align:middle}th.today{background:#eaf2e9}tbody th{background:white;position:sticky;left:0;z-index:1;padding:16px 12px;border-right:1px solid var(--line)}.employee-button{border:0;padding:0;text-align:left;display:flex;gap:10px;align-items:center;width:100%;background:transparent;overflow-wrap:anywhere}.avatar{background:#edf1e7;color:#526b42;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:11px}.employee-name{font-size:13px}.employee-meta{display:block;font-size:10px;color:#7a877f;font-weight:400;margin-top:5px}.cell{padding:8px;height:104px}.shift{width:100%;min-height:86px;background:#edf5ef;border:1px solid #d5e6d9;border-left:3px solid #6b9e78;text-align:left;padding:10px 8px;font-size:11px;overflow-wrap:anywhere}.shift span{display:block;font-weight:400;color:#63816c;margin-top:6px;font-size:10px}.shift.vacation{background:#faf4e7;border-color:#ebdbb6;color:#816128}.shift.vacation span{color:#96794a}.shift.blank{background:transparent;border:1px dashed transparent;color:#a9b8ac;text-align:center;font-size:22px;font-weight:400}.shift.blank:hover{background:#f6f9f4;border-color:#c4d5c7}.person-total{text-align:center;font-weight:650;vertical-align:middle;font-size:14px}tfoot th,tfoot td{padding:18px 12px;background:#f7f9f6;font-size:12px;color:#597362}tfoot td:last-child{text-align:center;font-weight:700}.empty{text-align:center;padding:48px 20px 56px;border-top:1px solid var(--line)}.empty>span{font-size:34px;color:#72947b}.empty p{color:#7a897e;font-size:14px;margin-bottom:24px}.schedule-footer{display:flex;justify-content:space-between;gap:16px;padding:17px 20px;border-top:1px solid var(--line);font-size:11px;color:#7d8b81}.schedule-footer i{display:inline-block;width:7px;height:7px;background:#7f9f83;border-radius:50%;margin-right:6px}.status{text-align:center;color:#8b978e;font-size:11px;margin-top:24px}.status.error{color:#b03f32}dialog{border:1px solid var(--line);border-radius:16px;padding:26px;width:440px;max-width:calc(100% - 24px);color:#233d34;box-shadow:0 24px 100px #16342733}dialog::backdrop{background:#132d2466;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}.close{border:0;font-size:24px;padding:0;width:44px;margin-top:-10px;margin-right:-10px}form label{display:block;font-size:12px;font-weight:650;margin-bottom:18px}form input,form select,form textarea{display:block;margin-top:7px;font-size:16px;font-weight:400}.hint{font-size:12px;color:#78887b;line-height:1.5}.time-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:26px}.danger{color:#a94b40;border-color:#ead8d3}.dialog-actions .primary{margin-left:auto}[hidden]{display:none!important}@media(max-width:700px){.topbar{padding:18px;align-items:stretch;flex-direction:column;gap:20px}.store-label select{min-width:0}.brand{font-size:18px}main{padding:28px 14px}.heading{align-items:flex-start;flex-direction:column;gap:20px}h1{font-size:30px}.heading>.primary{width:100%}.stats{gap:8px;margin-bottom:20px}.stats>div{padding:16px 10px}.stats span{font-size:10px}.stats strong{font-size:22px}.stats strong span{font-size:11px}.toolbar{padding:14px;gap:12px}.week-nav{flex-wrap:wrap;gap:6px;width:100%}.week-nav h2{min-width:0;flex:1;font-size:14px}.week-nav #today{width:100%;margin:4px 0 0}.toolbar>#copy{width:100%}.schedule-footer{flex-direction:column;gap:8px}thead th:first-child{width:160px}table{min-width:1010px}dialog{padding:22px}}

.staff-sharing{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#edf3ed}.staff-sharing strong{font-size:14px}.staff-sharing p{font-size:12px;color:#657d6c;line-height:1.6;max-width:680px;margin:6px 0 0}.staff-sharing button{flex-shrink:0}.employee-meta .pay-info{display:inline}@media(max-width:700px){.staff-sharing{flex-direction:column;align-items:stretch;gap:16px}}
@media print{@page{size:landscape;margin:10mm}.pay-info,.employee-meta .pay-info,dialog,.staff-sharing,.status,.schedule-footer,.shift-note,.heading>button,.toolbar button,.empty button{display:none!important}body{background:white}main{padding:10px 0}.topbar{padding:0 0 15px}.stats{grid-template-columns:repeat(2,1fr)}.grid-scroll{overflow:visible}table{min-width:0;table-layout:fixed}thead th:first-child{width:140px}thead th:last-child{width:55px}tbody th{position:static}th,td{padding:5px}.shift{font-size:10px;min-height:60px;padding:5px}.shift.blank{font-size:0}.avatar{display:none}.employee-name{font-size:11px}tr{break-inside:avoid}.heading{margin-bottom:15px}.stats>div{padding:10px}.stats strong{font-size:22px}}

.auth-panel{max-width:440px;margin:55px auto;padding:28px;background:white;border:1px solid var(--line);border-radius:14px}.auth-panel form{margin-top:25px}.auth-panel form button{margin:4px 6px 4px 0}.auth-panel #auth-status{font-size:13px;line-height:1.6;color:#637669}.auth-panel #auth-status.error{color:#a33d32}.account-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;margin-bottom:24px;color:#667b6e}.account-bar>div{display:flex;gap:8px}.file-label{display:block;font-size:12px;margin-top:10px}.file-label input{margin-top:7px;font-size:12px}button:disabled{opacity:.55;cursor:wait}.backup-tools{background:white}.backup-tools>div:last-child{max-width:350px}#migration-panel{margin-bottom:24px}.error{color:#a33d32}@media(max-width:700px){.auth-panel{margin:28px 14px}.account-bar{align-items:flex-start;flex-direction:column}.backup-tools>div:last-child{max-width:none}}@media print{.auth-panel,.account-bar,.backup-tools,#migration-panel{display:none!important}}
