.cjk-sm-app{--blue:#1769aa;--blue2:#0f4f82;--ink:#182230;--muted:#718096;--line:#e7ebf0;--bg:#f5f7fb;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);padding:28px;border-radius:22px;max-width:1500px;margin:20px auto}.cjk-sm-topbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.cjk-sm-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--blue);margin-bottom:6px}.cjk-sm-topbar h1{font-size:31px;line-height:1.1;margin:0;font-weight:800}.cjk-sm-topbar p{margin:8px 0 0;color:var(--muted);font-size:14px}.cjk-sm-actions{display:flex;gap:9px}.cjk-sm-btn,.cjk-sm-edit{border:0;border-radius:9px;background:var(--blue);color:#fff;padding:10px 15px;font-weight:750;cursor:pointer}.cjk-sm-btn:hover{background:var(--blue2)}.cjk-sm-btn-light{background:#eaf2f9;color:var(--blue2)}.cjk-sm-btn-light:hover{background:#dceaf5}.cjk-sm-notice{background:#eaf7ef;color:#17643b;border:1px solid #c8ead7;padding:12px 15px;border-radius:10px;margin-bottom:16px;font-weight:650}.cjk-sm-selector{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px 18px;display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px;box-shadow:0 3px 14px rgba(24,34,48,.04)}.cjk-sm-selector label{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--muted);margin-bottom:6px}.cjk-sm-selector select{min-width:340px;border:1px solid #d6dde6;border-radius:9px;padding:11px 13px;font-size:14px;background:#fff}.cjk-sm-count{font-size:25px;font-weight:800;text-align:right}.cjk-sm-count span{display:block;font-size:11px;font-weight:650;color:var(--muted)}.cjk-sm-hero-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.cjk-sm-stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 3px 14px rgba(24,34,48,.04)}.cjk-sm-stat span,.cjk-sm-mini span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.cjk-sm-stat strong{display:block;font-size:38px;line-height:1.05;margin:7px 0 2px}.cjk-sm-stat small{color:var(--muted)}.cjk-sm-mini-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:9px;margin:14px 0 20px}.cjk-sm-mini{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.cjk-sm-mini strong{display:block;font-size:21px;margin-top:4px}.cjk-sm-panel{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 3px 14px rgba(24,34,48,.04)}.cjk-sm-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid var(--line)}.cjk-sm-panel-head h2{margin:0;font-size:20px}.cjk-sm-panel-head span{font-size:12px;color:var(--muted)}.cjk-sm-search{width:240px;border:1px solid #d6dde6;border-radius:9px;padding:9px 12px}.cjk-sm-table-wrap{overflow:auto}.cjk-sm-table{width:100%;min-width:1050px;border-collapse:collapse;font-size:13px}.cjk-sm-table th{background:#f8fafc;color:#637083;text-transform:uppercase;font-size:10px;letter-spacing:.05em;padding:12px 9px;border-bottom:1px solid var(--line);white-space:nowrap}.cjk-sm-table td{padding:12px 9px;text-align:center;border-bottom:1px solid #eef1f4}.cjk-sm-table tr.cjk-sm-record:hover td{background:#fbfcfe}.cjk-sm-table .name-col{text-align:left;min-width:250px}.cjk-sm-table .name-col small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.cjk-sm-edit{padding:7px 11px;font-size:12px}.cjk-sm-edit-row td{background:#f5faff;padding:18px!important}.cjk-sm-edit-form{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;text-align:left}.cjk-sm-edit-form label,.cjk-sm-modal-grid label{font-size:10px;font-weight:800;text-transform:uppercase;color:var(--muted)}.cjk-sm-edit-form input,.cjk-sm-modal-grid input{display:block;width:100%;margin-top:5px;border:1px solid #d6dde6;border-radius:8px;padding:9px;background:#fff}.cjk-sm-form-actions{grid-column:1/-1;display:flex;gap:8px;margin-top:4px}.cjk-sm-empty{text-align:center!important;padding:50px!important;color:var(--muted)}.cjk-sm-modal{display:none;position:fixed;inset:0;background:rgba(12,22,34,.48);z-index:99999;align-items:center;justify-content:center;padding:20px}.cjk-sm-modal.open{display:flex}.cjk-sm-modal-box{position:relative;background:#fff;border-radius:18px;padding:25px;max-width:850px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 25px 80px rgba(0,0,0,.25)}.cjk-sm-modal-box h2{margin:0;font-size:24px}.cjk-sm-modal-box>p{margin:6px 0 18px;color:var(--muted)}.cjk-sm-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:30px;color:var(--muted);cursor:pointer}.cjk-sm-modal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.cjk-sm-print-footer{display:none}@media(max-width:900px){.cjk-sm-topbar,.cjk-sm-selector,.cjk-sm-panel-head{flex-direction:column;align-items:stretch}.cjk-sm-actions{justify-content:flex-start}.cjk-sm-selector select{min-width:0;width:100%}.cjk-sm-hero-grid{grid-template-columns:1fr}.cjk-sm-mini-grid{grid-template-columns:repeat(2,1fr)}.cjk-sm-edit-form,.cjk-sm-modal-grid{grid-template-columns:repeat(2,1fr)}.cjk-sm-search{width:100%}}@media(max-width:520px){.cjk-sm-app{padding:15px;border-radius:10px}.cjk-sm-topbar h1{font-size:25px}.cjk-sm-actions{width:100%}.cjk-sm-actions button{flex:1}.cjk-sm-edit-form,.cjk-sm-modal-grid{grid-template-columns:1fr}}@media print{body{background:#fff!important}.cjk-sm-app{background:#fff!important;padding:0!important;margin:0!important;max-width:none!important}.cjk-sm-no-print,.cjk-sm-actions,.cjk-sm-selector,.cjk-sm-search,.cjk-sm-edit-row{display:none!important}.cjk-sm-topbar{margin-bottom:10px}.cjk-sm-topbar h1{font-size:22px}.cjk-sm-hero-grid{grid-template-columns:repeat(3,1fr)}.cjk-sm-mini-grid{grid-template-columns:repeat(7,1fr)}.cjk-sm-panel{box-shadow:none}.cjk-sm-table{min-width:0;font-size:9px}.cjk-sm-table th,.cjk-sm-table td{padding:5px}.cjk-sm-table th:first-child,.cjk-sm-table td:first-child{display:none}.cjk-sm-table .name-col small{display:none}.cjk-sm-print-footer{display:block;text-align:right;font-size:10px;margin-top:8px;color:#555}}

.cjk-sm-inline-form{margin:0}.cjk-sm-btn-import{background:#177245}.cjk-sm-btn-import:hover{background:#105a36}.cjk-sm-notice-info{background:#edf5ff;color:#245a8d;border-color:#cfe1f6}.cjk-sm-notice-warning{background:#fff7e8;color:#7b5811;border-color:#f2dfb5}.cjk-sm-notice-error{background:#fff0f0;color:#922;border-color:#efc7c7}

/* ===== Elegant Print Layout v1.3 ===== */
.cjk-sm-print-header{display:none}
@media print{
  @page{size:landscape;margin:10mm}
  html,body{background:#fff!important}
  body *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .cjk-sm-app{
    background:#fff!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    color:#111!important;
  }

  .cjk-sm-topbar,
  .cjk-sm-actions,
  .cjk-sm-selector,
  .cjk-sm-search,
  .cjk-sm-edit-row,
  .cjk-sm-modal,
  .cjk-sm-notice,
  .cjk-sm-panel-head .cjk-sm-search,
  .cjk-sm-table th:first-child,
  .cjk-sm-table td:first-child{
    display:none!important;
  }

  .cjk-sm-print-header{
    display:block!important;
    text-align:center;
    border-bottom:2px solid #222;
    padding:0 0 10px;
    margin:0 0 12px;
  }
  .cjk-sm-print-brand{
    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
    color:#555;
    margin-bottom:4px;
  }
  .cjk-sm-print-title{
    font-size:22px;
    font-weight:800;
    line-height:1.15;
  }
  .cjk-sm-print-weekend{
    font-size:13px;
    margin-top:4px;
    color:#444;
  }

  .cjk-sm-hero-grid{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:7px!important;
    margin-bottom:8px!important;
  }
  .cjk-sm-stat{
    box-shadow:none!important;
    border:1px solid #bbb!important;
    border-radius:7px!important;
    padding:8px!important;
    text-align:center!important;
  }
  .cjk-sm-stat span{
    font-size:9px!important;
    color:#444!important;
  }
  .cjk-sm-stat strong{
    font-size:24px!important;
    margin:2px 0!important;
  }
  .cjk-sm-stat small{
    font-size:9px!important;
    color:#555!important;
  }

  .cjk-sm-mini-grid{
    display:grid!important;
    grid-template-columns:repeat(7,1fr)!important;
    gap:5px!important;
    margin:0 0 10px!important;
  }
  .cjk-sm-mini{
    border:1px solid #ccc!important;
    border-radius:5px!important;
    padding:5px!important;
    text-align:center!important;
  }
  .cjk-sm-mini span{
    font-size:7px!important;
    color:#555!important;
  }
  .cjk-sm-mini strong{
    font-size:15px!important;
    margin-top:1px!important;
  }

  .cjk-sm-panel{
    box-shadow:none!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  .cjk-sm-panel-head{
    display:block!important;
    border:0!important;
    padding:0 0 6px!important;
  }
  .cjk-sm-panel-head h2{
    font-size:14px!important;
    margin:0!important;
  }
  .cjk-sm-panel-head span{
    font-size:9px!important;
  }

  .cjk-sm-table-wrap{overflow:visible!important}
  .cjk-sm-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    font-size:8.5px!important;
  }
  .cjk-sm-table thead{display:table-header-group!important}
  .cjk-sm-table tr{page-break-inside:avoid!important}
  .cjk-sm-table th{
    background:#efefef!important;
    color:#111!important;
    border:1px solid #999!important;
    padding:5px 3px!important;
    font-size:7px!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
  .cjk-sm-table td{
    border:1px solid #bbb!important;
    padding:5px 3px!important;
    line-height:1.2!important;
    vertical-align:middle!important;
  }
  .cjk-sm-table .name-col{
    min-width:0!important;
    width:23%!important;
    font-size:9px!important;
    text-align:left!important;
  }
  .cjk-sm-table .name-col strong{
    font-size:9px!important;
  }
  .cjk-sm-table .name-col small{
    display:none!important;
  }

  .cjk-sm-print-footer{
    display:block!important;
    text-align:right!important;
    margin-top:7px!important;
    font-size:8px!important;
    color:#555!important;
  }
}

/* Delete reservation controls */
.cjk-sm-row-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    white-space:nowrap;
}
.cjk-sm-delete-form{margin:0}
.cjk-sm-delete{
    border:1px solid #e4b4b4;
    border-radius:8px;
    background:#fff3f3;
    color:#a32929;
    padding:7px 10px;
    font-size:12px;
    font-weight:750;
    cursor:pointer;
}
.cjk-sm-delete:hover{
    background:#a32929;
    color:#fff;
    border-color:#a32929;
}
@media print{
    .cjk-sm-row-actions,
    .cjk-sm-delete-form,
    .cjk-sm-delete{
        display:none!important;
    }
}

.cjk-sm-global-search{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px 18px;margin-bottom:18px;box-shadow:0 3px 14px rgba(24,34,48,.04)}
.cjk-sm-global-search-form{display:flex;align-items:end;gap:10px}
.cjk-sm-global-search-field{flex:1}
.cjk-sm-global-search-field label{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--muted);margin-bottom:6px}
.cjk-sm-global-search-field input{width:100%;border:1px solid #d6dde6;border-radius:9px;padding:11px 13px;font-size:14px;background:#fff}
.cjk-sm-global-results{margin-bottom:18px}
.cjk-sm-search-clear{text-decoration:none;display:inline-flex;align-items:center}
@media(max-width:700px){.cjk-sm-global-search-form{flex-direction:column;align-items:stretch}}

/* Soft-delete / archive */
.cjk-sm-global-search-status label{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--muted);margin-bottom:6px}
.cjk-sm-global-search-status select{border:1px solid #d6dde6;border-radius:9px;padding:11px 13px;background:#fff;min-width:110px}
.cjk-sm-record-deleted td{background:#fafafa!important;color:#777}
.cjk-sm-deleted-badge{display:inline-flex;align-items:center;border-radius:999px;background:#f1f1f1;color:#666;padding:6px 9px;font-size:11px;font-weight:800}
.cjk-sm-restore{border:1px solid #a8d7bd;border-radius:8px;background:#eef9f3;color:#17643b;padding:7px 10px;font-size:12px;font-weight:750;cursor:pointer}
.cjk-sm-restore:hover{background:#17643b;color:#fff;border-color:#17643b}
