/* Closing confirmation only; uses the existing dashboard brand tokens. */
body.lucky-dashboard.lucky-closing-checklist-page { --lucky-ui-bg:var(--lucky-page-bg); }
.lucky-closing-checklist-page .main-panel { gap:0; }
.lucky-closing-checklist-page .ops-tabs { position:static; }
.lucky-closing-checklist-page .dashboard-shell .main-panel > nav.admin-section-tabs > .ops-tab { min-height:44px; }
.lucky-closing-checklist-page .ops-content { display:grid; gap:16px; min-width:0; padding:0; }
.lucky-closing-checklist-page :is(.closing-header,.closing-progress,.closing-list,.closing-finish) { min-width:0; padding:20px; border:1px solid var(--lucky-border); border-radius:10px; background:var(--lucky-surface); }
.lucky-closing-checklist-page .closing-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.lucky-closing-checklist-page .closing-header h1 { margin:0; color:var(--lucky-brown-deep); font-size:26px; }
.lucky-closing-checklist-page .closing-header p { margin:6px 0 0; color:var(--lucky-text-muted); font-size:14px; line-height:1.6; }
.lucky-closing-checklist-page .closing-status { flex-shrink:0; padding:6px 10px; border:1px solid var(--lucky-gold); border-radius:6px; background:var(--lucky-warning-soft); color:var(--lucky-brown); font-size:13px; font-weight:700; }
.lucky-closing-checklist-page .closing-status.is-completed { border-color:#b3cdb9; background:#edf6ee; color:#356443; }
.lucky-closing-checklist-page .closing-progress { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,32%); align-items:center; gap:16px; }
.lucky-closing-checklist-page .closing-progress h2 { margin:0; font-size:17px; color:var(--lucky-brown-deep); }
.lucky-closing-checklist-page .closing-progress p { margin:6px 0 0; color:var(--lucky-text-muted); font-size:14px; }
.lucky-closing-checklist-page .closing-progress-meter { display:grid; gap:8px; color:var(--lucky-brown); font-size:14px; font-weight:700; }
.lucky-closing-checklist-page .closing-progress-track { overflow:hidden; height:8px; border-radius:8px; background:#e9ddd4; }
.lucky-closing-checklist-page #progressFill { display:block; width:0; height:100%; background:var(--lucky-brown); border-radius:8px; }
.lucky-closing-checklist-page .checklist-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,32%); align-items:start; gap:16px; }
.lucky-closing-checklist-page .closing-section-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.lucky-closing-checklist-page :is(.closing-section-header,.closing-finish) h2 { margin:0; color:var(--lucky-brown-deep); font-size:18px; }
.lucky-closing-checklist-page h2 > span { display:inline-grid; place-items:center; width:24px; height:24px; margin-right:4px; border-radius:6px; background:var(--lucky-yellow); font-size:13px; }
.lucky-closing-checklist-page .closing-section-header p { margin:0; font-size:12px; color:var(--lucky-text-muted); }
.lucky-closing-checklist-page .checklist-items { display:grid; gap:10px; }
.lucky-closing-checklist-page .check-item { display:flex; align-items:flex-start; gap:12px; min-width:0; min-height:44px; padding:14px; border:1px solid var(--lucky-border); border-radius:8px; background:var(--lucky-white); cursor:pointer; }
.lucky-closing-checklist-page .check-item:focus-within { outline:2px solid var(--lucky-gold); outline-offset:2px; }
.lucky-closing-checklist-page .check-item.is-done { background:#f2f7f1; border-color:#b3cdb9; }
.lucky-closing-checklist-page .check-item input[type="checkbox"] { appearance:auto; flex:0 0 22px; width:22px; height:22px; min-width:22px; min-height:22px; margin:2px 0 0; padding:0; accent-color:var(--lucky-brown); }
.lucky-closing-checklist-page .check-copy { display:grid; min-width:0; flex:1; gap:5px; overflow-wrap:anywhere; }
.lucky-closing-checklist-page .check-heading { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.lucky-closing-checklist-page .check-heading strong { min-width:0; color:var(--lucky-brown-deep); font-size:16px; line-height:1.5; }
.lucky-closing-checklist-page .check-kind { flex-shrink:0; padding:2px 6px; border-radius:4px; background:var(--lucky-warning-soft); color:var(--lucky-brown-soft); font-size:11px; }
.lucky-closing-checklist-page .check-description { color:var(--lucky-text-muted); font-size:13px; line-height:1.6; }
.lucky-closing-checklist-page .check-saved { color:var(--lucky-brown-soft); font-size:12px; line-height:1.5; }
.lucky-closing-checklist-page .is-done .check-saved { color:#356443; }
.lucky-closing-checklist-page .closing-finish { display:grid; gap:12px; }
.lucky-closing-checklist-page .closing-finish label { display:flex; align-items:center; gap:6px; margin-top:4px; color:var(--lucky-brown); font-size:14px; font-weight:600; }
.lucky-closing-checklist-page .closing-finish label small { font-size:12px; font-weight:400; color:var(--lucky-text-muted); }
.lucky-closing-checklist-page #noteInput { --lucky-ui-component-bg:var(--lucky-white); --lucky-ui-component-radius:8px; width:100%; min-width:0; min-height:120px; resize:vertical; font-size:16px; line-height:1.6; scroll-margin-block:90px; }
.lucky-closing-checklist-page :is(.closing-hint,.closing-rule) { margin:0; color:var(--lucky-text-muted); font-size:12px; line-height:1.6; }
.lucky-closing-checklist-page .closing-hint { margin-top:-6px; }
.lucky-closing-checklist-page .closing-completion { margin:4px 0 0; color:var(--lucky-brown); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.lucky-closing-checklist-page .dashboard-shell #completeBtn { --lucky-ui-component-bg:var(--lucky-yellow); --lucky-ui-component-border:1px solid var(--lucky-gold); --lucky-ui-component-color:var(--lucky-brown-deep); min-height:48px; width:100%; padding:10px 14px; font-size:16px; font-weight:700; }
.lucky-closing-checklist-page .dashboard-shell #completeBtn:disabled { opacity:.6; cursor:default; }
.lucky-closing-checklist-page .closing-feedback { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:12px 16px; border:1px solid #b3cdb9; border-radius:8px; background:#edf6ee; color:#356443; }
.lucky-closing-checklist-page .closing-feedback.is-error { border-color:#deaba3; background:#fff2ef; color:var(--lucky-danger); }
.lucky-closing-checklist-page #messageText { margin:0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.lucky-closing-checklist-page .dashboard-shell :is(#loadRetryBtn,#attendanceLink) { min-height:44px; padding:10px 14px; font-size:14px; text-align:center; }
.lucky-closing-checklist-page :is(a,button,input,textarea):focus-visible { outline:3px solid var(--lucky-gold); outline-offset:2px; }
.lucky-closing-checklist-page [hidden] { display:none !important; }
@media(max-width:900px) {
  .lucky-closing-checklist-page .checklist-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:680px) {
  .lucky-closing-checklist-page .dashboard-shell .main-panel > nav.admin-section-tabs > .ops-tab { flex:1 1 0; min-width:0; min-height:44px; padding:8px 2px; font-size:13px; white-space:nowrap; }
  .lucky-closing-checklist-page .ops-content { gap:12px; }
  .lucky-closing-checklist-page :is(.closing-header,.closing-progress,.closing-list,.closing-finish) { padding:14px; }
  .lucky-closing-checklist-page .closing-header { gap:8px; align-items:flex-start; }
  .lucky-closing-checklist-page .closing-header h1 { font-size:22px; }
  .lucky-closing-checklist-page .closing-header p { font-size:13px; }
  .lucky-closing-checklist-page .closing-progress { grid-template-columns:minmax(0,1fr); gap:12px; }
  .lucky-closing-checklist-page .check-item { padding:12px 10px; gap:10px; }
  .lucky-closing-checklist-page .check-heading strong { font-size:15px; }
}
