.checkin-page { padding: 34px 40px 60px; min-height: 100%; background: #f7f8fa; color: #2f3035; }
.checkin-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:24px; }
.checkin-heading h1 { margin:0 0 8px; font-size:30px; color:#292a2f; }
.checkin-heading p { margin:0; color:#777b86; }
.checkin-btn { border:0; border-radius:8px; padding:10px 18px; font-size:14px; cursor:pointer; background:#eef0f5; color:#414550; }
.checkin-btn:hover { filter:brightness(.97); }
.checkin-btn-primary { color:#fff; background:linear-gradient(135deg,#667eea,#764ba2); }
.checkin-btn-danger { color:#fff; background:#ef5350; }
.checkin-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,330px)); gap:16px; align-items:stretch; }
.checkin-card { display:flex; flex-direction:column; min-height:250px; padding:18px; background:#fff; border-radius:10px; box-shadow:0 3px 12px rgba(31,41,55,.08); cursor:pointer; }
.checkin-card-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.checkin-card-title { font-size:18px; line-height:1.35; font-weight:700; }
.checkin-status { flex:none; padding:4px 9px; border-radius:6px; font-size:12px; }
.checkin-status.ongoing { color:#277447; background:#dcf5e5; }
.checkin-status.finished { color:#666; background:#eceef2; }
.checkin-card-info { color:#666a73; margin-top:8px; line-height:1.45; font-size:13px; }
.checkin-description { flex:1; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; overflow-wrap:anywhere; }
.checkin-card-footer { display:flex; align-items:flex-end; justify-content:space-between; border-top:1px solid #eceef2; padding-top:12px; margin-top:12px; }
.checkin-count { color:#667eea; font-size:25px; font-weight:700; }
.checkin-count-label { color:#9296a0; font-size:12px; }
.checkin-card-actions { display:flex; gap:5px; }
.checkin-icon-btn { width:34px; height:34px; border:0; border-radius:7px; background:#f6f7f9; cursor:pointer; }
.checkin-empty,.checkin-loading { grid-column:1/-1; padding:80px 20px; text-align:center; color:#858995; background:#fff; border-radius:12px; }
.checkin-modal-mask { position:fixed; inset:0; z-index:3000; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(15,23,42,.48); }
.checkin-modal { width:min(520px,100%); max-height:90vh; overflow:auto; background:#fff; border-radius:13px; padding:28px; box-shadow:0 24px 70px rgba(0,0,0,.24); }
.checkin-modal h2 { margin:0 0 22px; }
.checkin-field { margin-bottom:16px; }
.checkin-field label { display:block; margin-bottom:6px; font-size:14px; font-weight:600; }
.checkin-field input,.checkin-field textarea { width:100%; border:1px solid #d8dbe2; border-radius:7px; padding:10px 12px; font:inherit; box-sizing:border-box; }
.checkin-form-actions,.checkin-detail-actions { display:flex; gap:10px; flex-wrap:wrap; }
.checkin-detail-head,.checkin-panel { background:#fff; border-radius:12px; padding:24px; box-shadow:0 3px 14px rgba(31,41,55,.07); margin-bottom:20px; }
.checkin-detail-title { display:flex; justify-content:space-between; gap:16px; align-items:center; }
.checkin-detail-title h1 { margin:0; }
.checkin-meta-grid,.checkin-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin-top:20px; }
.checkin-meta,.checkin-stat { padding:15px; background:#f7f8fa; border-radius:8px; }
.checkin-meta small { display:block; color:#8c9099; margin-bottom:5px; }
.checkin-stat { text-align:center; background:#fff; box-shadow:0 3px 14px rgba(31,41,55,.07); }
.checkin-stat strong { display:block; font-size:32px; color:#667eea; }
.checkin-table-wrap { overflow:auto; }
.checkin-table { width:100%; border-collapse:collapse; }
.checkin-table th,.checkin-table td { padding:12px; text-align:left; border-bottom:1px solid #eceef2; white-space:nowrap; }
.checkin-table th { color:#646872; background:#f8f9fb; }
.checkin-toast { position:fixed; right:28px; top:80px; z-index:4000; color:#fff; background:#30343b; padding:12px 18px; border-radius:8px; box-shadow:0 8px 25px rgba(0,0,0,.18); }
.checkin-toast.error { background:#d94848; }
@media(max-width:800px){.checkin-page{padding:22px 18px}.checkin-grid{grid-template-columns:1fr}.checkin-heading{flex-direction:column}.checkin-card{min-height:300px}}
