/* Respond OT Tool Skin — consistent with respondot.css (light-first) */

.form-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 980px){
  .form-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .form-grid{ grid-template-columns: 1fr; }
}

.field label{
  display:block;
  font-size:.85rem;
  color:var(--muted);
  margin-bottom:6px;
  font-weight:700;
}

.input{
  width:100%;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.95);
  color:var(--ink);
  outline:none;
}
.input:focus{
  box-shadow:0 0 0 4px rgba(40, 120, 255, .15);
  border-color:rgba(40, 120, 255, .55);
}

.divider{
  height:1px;
  background:var(--line);
  margin:18px 0;
  opacity:.9;
}

.sections{
  display:grid;
  gap:14px;
}

.section-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.88);
  border-radius:16px;
  overflow:hidden;
}

.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  background:rgba(20, 70, 180, .06);
  border-bottom:1px solid var(--line);
}

.section-title{
  font-weight:900;
  color:var(--ink);
  margin:0;
  font-size:1rem;
}

.section-tools{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.small-btn{
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  padding:6px 10px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  font-size:.82rem;
}
.small-btn:hover{
  background:rgba(0,0,0,.03);
}

.table-wrap{
  overflow:auto;
}

.chk-table{
  width:100%;
  border-collapse:collapse;
  min-width:900px;
}

.chk-table th,
.chk-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}

.chk-table th{
  text-align:left;
  font-weight:900;
  font-size:.85rem;
  color:var(--ink);
  background:rgba(255,255,255,.7);
  position:sticky;
  top:0;
  z-index:1;
}

.status-cell{
  width:92px;
  text-align:center;
  white-space:nowrap;
}

.comment-cell{
  min-width:260px;
}

.comment-input{
  width:100%;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.95);
  color:var(--ink);
  outline:none;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px 10px;
  font-size:.78rem;
  color:var(--muted);
  background:rgba(255,255,255,.7);
}

/* Radio styling (simple) */
.radio{
  transform: translateY(1px);
}

/* Modal (same pattern as previous tool) */
.tool-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(10,14,22,.55);
  z-index:1000;
}
.tool-modal.open{ display:flex; }

.tool-modal-card{
  width:min(760px, 100%);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.96);
  color:#0e1320;
  box-shadow:0 18px 55px rgba(0,0,0,.25);
  overflow:hidden;
}

.tool-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.tool-modal-title{ font-weight:900; font-size:1.05rem; }
.tool-modal-sub{ margin-top:4px; color:rgba(0,0,0,.65); font-size:.92rem; }

.tool-modal-x{
  border:1px solid rgba(0,0,0,.12);
  background:transparent;
  border-radius:12px;
  padding:6px 10px;
  cursor:pointer;
}

.tool-modal-body{ padding:16px 18px; }
.tool-modal-actions{
  padding:14px 18px 18px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  border-top:1px solid rgba(0,0,0,.08);
}

/* Print */
@media print{
  .no-print, #header-slot, #footer-slot, .tool-modal, .bg-grid { display:none !important; }
  body{ background:#fff !important; }
  .panel{ box-shadow:none !important; border:1px solid #ddd !important; }
  .section-card{ border:1px solid #ddd !important; }
  .chk-table{ min-width:auto !important; }
}
