*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f4f5f7;color:#1a1a1a}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem}.login-card{background:#fff;border-radius:12px;padding:2rem;width:100%;max-width:360px;box-shadow:0 2px 10px #00000014;display:flex;flex-direction:column;gap:.5rem}.login-card h1{margin:0;font-size:1.5rem}.subtitle{margin:0 0 1rem;color:#666}.topbar{display:flex;align-items:center;gap:1.5rem;padding:.75rem 1.25rem;background:#1a1a1a;color:#fff;flex-wrap:wrap}.topbar-title{font-weight:700}.topbar-nav{display:flex;gap:1rem;flex:1}.topbar-nav a{color:#ddd;text-decoration:none}.topbar-nav a:hover{color:#fff}.topbar-user{display:flex;align-items:center;gap:.75rem}.topbar-user button{background:transparent;border:1px solid #555;color:#fff;padding:.3rem .6rem;border-radius:6px;cursor:pointer}.content{padding:1rem;max-width:900px;margin:0 auto}.stack{display:flex;flex-direction:column;gap:1rem}.card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 4px #0000000f}.card h2{margin-top:0}.entry-form{display:flex;flex-direction:column;gap:.25rem}.entry-form label{font-size:.85rem;color:#444;margin-top:.5rem}.entry-form input,.entry-form select{padding:.6rem;font-size:1rem;border:1px solid #ccc;border-radius:8px}.entry-form select{background-color:#fff;color:inherit}.entry-form .pin-input{font-size:1.4rem;letter-spacing:.4em;text-align:center}.entry-form button{margin-top:1rem;padding:.7rem;font-size:1rem;background:#1a1a1a;color:#fff;border:none;border-radius:8px;cursor:pointer}.filters{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.filters select,.filters input{padding:.5rem;border-radius:6px;border:1px solid #ccc}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:.5rem;border-bottom:1px solid #eee}.table .empty{text-align:center;color:#888}.hint{color:#666;font-size:.85rem}.error{color:#b00020}.success{color:#1a7f37}.week-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-bottom:1rem}.week-option{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.6rem .25rem;background:#fff;border:2px solid #ccc;border-radius:8px;cursor:pointer;font:inherit;color:inherit}.week-option.selected{border-color:#1a1a1a;background:#1a1a1a;color:#fff}.week-name{font-weight:600}.week-dates{font-size:.8rem;opacity:.8}.already-submitted{background:#f4f5f7;border-radius:8px;padding:.6rem .8rem;margin-bottom:.5rem;font-size:.9rem}.already-submitted ul{margin:.25rem 0 0;padding-left:1.2rem}.hours-row{display:flex;gap:.5rem;align-items:flex-end;margin-top:.5rem}.hours-row>div{display:flex;flex-direction:column;gap:.25rem}.hours-row-site{flex:1;min-width:0}.hours-row-hours{width:5.5rem}.hours-row label{margin-top:0}.entry-form .remove-row{margin:0;padding:0;width:2.6rem;height:2.6rem;background:transparent;color:#666;border:1px solid #ccc;font-size:1.3rem;line-height:1}.entry-form .add-row{margin-top:.5rem;background:transparent;color:#1a1a1a;border:1px dashed #999}.entry-form button:disabled{opacity:.6;cursor:default}.filter-date{display:flex;align-items:center;gap:.35rem;font-size:.85rem;color:#444}.row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.row-actions .error{flex-basis:100%;margin:0}.card-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}.card-header h2{margin:0}.filter-toggle,.card-actions button,.link-button{min-height:44px;padding:.5rem 1rem;font:inherit;border-radius:8px;cursor:pointer}.filter-toggle{background:#fff;border:1px solid #ccc;color:inherit}.filter-toggle[aria-expanded=true]{border-color:#1a1a1a}.link-button{background:transparent;border:none;color:#444;text-decoration:underline;padding-left:0;padding-right:0}.entry-cards{display:flex;flex-direction:column;gap:1.25rem}.entry-cards .empty{text-align:center;color:#888}.week-group{display:flex;flex-direction:column;gap:.5rem}.week-group-header{display:flex;justify-content:space-between;font-weight:700;font-size:.95rem;padding-bottom:.25rem;border-bottom:2px solid #1a1a1a}.entry-card{border:1px solid #e3e3e3;border-radius:10px;padding:.85rem}.entry-card.editing{border-color:#1a1a1a}.entry-card-main{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.entry-card-name{font-weight:600}.entry-card-site{color:#555;font-size:.9rem;margin-top:.1rem}.entry-card-hours{font-size:1.4rem;font-weight:700;white-space:nowrap}.entry-card-hours small{font-size:.8rem;font-weight:400;color:#666}.entry-card-note{margin:.5rem 0 0;color:#444;font-size:.9rem;font-style:italic}.card-actions{display:flex;gap:.5rem;margin-top:.75rem}.card-actions button{flex:1;background:#1a1a1a;color:#fff;border:1px solid #1a1a1a}.card-actions button.secondary{background:#fff;color:#1a1a1a;border-color:#ccc}.entry-card .entry-form .card-actions button{margin-top:0}.entry-card:not(.editing) .card-actions{justify-content:flex-end}.entry-card:not(.editing) .card-actions button{flex:0 0 auto;min-width:6rem}@media (max-width: 699px){.content{padding:.75rem}.card{padding:1rem}.entry-table{display:none}.filters{display:none;flex-direction:column;align-items:stretch}.filters.open{display:flex}.filters select,.filters input{min-height:44px;font-size:1rem}.filter-date{justify-content:space-between}.filter-date input{flex:1;max-width:70%}}@media (min-width: 700px){.entry-cards,.filter-toggle{display:none}}.person-cards{display:flex;flex-direction:column;gap:.75rem}.entry-card.inactive{background:#fafafa}.entry-card.inactive .entry-card-name{color:#777}a.entry-card-site{display:inline-block;color:#1a1a1a;padding:.25rem 0}.person-pin{margin-top:.5rem}.entry-card p.error,.entry-card p.success{margin:.5rem 0 0}.row-actions .hint,.row-actions .success{flex-basis:100%;margin:0}.badge{font-size:.75rem;font-weight:600;padding:.2rem .55rem;border-radius:999px;white-space:nowrap}.badge.active{background:#e6f4ea;color:#1a7f37}.badge.off{background:#eee;color:#666}.badge.boss{background:#1a1a1a;color:#fff}@media (max-width: 699px){.person-table,.add-form{display:none}.add-form.open{display:flex}}@media (min-width: 700px){.person-cards{display:none}}.card-actions.compact button{padding-left:.4rem;padding-right:.4rem}
