:root{
  --cws:#07111e;
  --cws-text:#0f172a;
  --cws-muted:#6b7280;
  --cws-border:#d7e0ea;
  --cws-bg:#f4f7fb;
  --cws-card:#ffffff;
  --cws-good:#16a34a;
  --cws-bad:#dc2626;
  --cws-warn:#f59e0b;
}
.cws-dar{
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--cws-text);
  max-width:1120px;
  margin:0 auto;
}
.cws-head{
  display:flex;
  justify-content:space-between;
  align-items:stretch;
  gap:18px;
  padding:18px 20px;
  background:linear-gradient(180deg, rgba(55,113,194,0.12), rgba(55,113,194,0.04));
  border:1px solid var(--cws-border);
  border-radius:22px;
  margin:0 0 14px;
  box-shadow:0 16px 40px rgba(15,23,42,0.06);
}
.cws-brand-lockup{ display:flex; align-items:center; gap:16px; min-width:0; }
.cws-logo{
  width:88px;
  height:88px;
  border-radius:18px;
  object-fit:contain;
  background:#fff;
  border:1px solid var(--cws-border);
  padding:10px;
  box-shadow:0 8px 24px rgba(15,23,42,0.06);
  flex:0 0 auto;
}
.cws-logo-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.08em;
  color:var(--cws);
  background:linear-gradient(180deg,#fff,#f8fbff);
}
.cws-logo-fallback span{ font-size:28px; }
.cws-head-text{ min-width:0; }
.cws-kicker{ color:var(--cws); font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:12px; margin-bottom:6px; }
.cws-title{ font-weight:900; letter-spacing:.06em; font-size:32px; line-height:1.05; }
.cws-sub{ color:#475569; font-size:16px; margin-top:5px; }
.cws-head-side{
  max-width:320px;
  min-width:240px;
  border:1px solid rgba(55,113,194,0.16);
  background:rgba(255,255,255,0.7);
  border-radius:18px;
  padding:14px 16px;
  align-self:center;
}
.cws-head-side-title{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:900; color:var(--cws); }
.cws-head-side-copy{ margin-top:6px; color:#475569; font-size:14px; line-height:1.5; }
.cws-card{
  background:var(--cws-card);
  border:1px solid var(--cws-border);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(15,23,42,0.05);
  padding:18px;
  margin:14px 0;
}
.cws-card-access{ margin-top:0; }
.cws-card-soft{ background:linear-gradient(180deg, rgba(55,113,194,0.06), rgba(55,113,194,0.02)); }
.cws-card-title{ font-weight:900; font-size:22px; line-height:1.2; }
.cws-card-sub{ color:#475569; font-size:15px; line-height:1.55; margin-top:6px; }
.cws-code-help{ color:var(--cws-muted); font-size:12px; font-weight:700; margin-top:8px; }
.cws-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.cws-form label{ display:block; font-weight:800; font-size:13px; margin-bottom:6px; }
.cws-form input[type="text"],
.cws-form input[type="email"],
.cws-form input[type="date"],
.cws-form select,
.cws-form textarea{
  width:100%;
  border:1px solid var(--cws-border);
  border-radius:14px;
  padding:12px 13px;
  font-size:15px;
  background:#fff;
}
.cws-form textarea{ resize:vertical; min-height:108px; }

.cws-form input[type="date"],
.cws-form select{
  min-height:60px;
}
.cws-time-select{ min-height:60px; }

.cws-form select,
.cws-time-select{
  min-width:190px;
  height:60px !important;
  min-height:60px !important;
  padding:0 50px 0 16px !important;
  white-space:nowrap;
  font-size:17px;
  line-height:60px !important;
  font-weight:800;
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
  -webkit-appearance:none !important;
  appearance:none !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:18px 18px;
  box-sizing:border-box;
}
.cws-form input[type="date"]{
  text-align:left !important;
  direction:ltr;
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
}
.cws-form input[type="date"]::-webkit-date-and-time-value,
.cws-form input[type="date"]::-webkit-datetime-edit,
.cws-form input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.cws-form input[type="date"]::-webkit-datetime-edit-text,
.cws-form input[type="date"]::-webkit-datetime-edit-month-field,
.cws-form input[type="date"]::-webkit-datetime-edit-day-field,
.cws-form input[type="date"]::-webkit-datetime-edit-year-field{
  text-align:left !important;
}
.cws-table th:first-child,
.cws-table td:first-child{ min-width:220px; width:220px; }
#cws_rows .cws-time-select{ width:100%; min-width:190px; }
#cws_camera_capture,
#cws_camera_upload_fallback,
#cws_camera_close,
.cws-take-photo,
#cws_recheck_location{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:52px !important;
  font-weight:900 !important;
}
#cws_camera_capture{ background:var(--cws) !important; border-color:var(--cws) !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
#cws_camera_upload_fallback,
.cws-take-photo,
#cws_recheck_location{ background:#eef4ff !important; border-color:#a8c3e8 !important; color:#0f172a !important; -webkit-text-fill-color:#0f172a !important; }
#cws_camera_close{ background:#0f172a !important; border-color:#0f172a !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
#cws_camera_use,
#cws_camera_retake{ display:none !important; }
@media (max-width:640px){
  .cws-table th:first-child,
  .cws-table td:first-child{ min-width:200px; width:200px; }
  .cws-form select,
  .cws-time-select{ min-width:180px; font-size:17px; height:62px !important; min-height:62px !important; line-height:62px !important; }
}
.cws-form input[readonly]{ background:#f8fafc; color:#334155; cursor:not-allowed; }
.cws-code-row{ display:flex; gap:12px; align-items:center; margin-top:12px; }
.cws-code-row input{ flex:1; font-size:18px; padding:14px 16px; border:1px solid var(--cws-border); border-radius:16px; }
.cws-btn{
  border:1px solid var(--cws-border);
  background:#fff;
  border-radius:14px;
  padding:12px 16px;
  font-weight:900;
  cursor:pointer;
}
.cws-btn:hover{ box-shadow:0 8px 18px rgba(15,23,42,0.08); }
.cws-btn-primary{ background:var(--cws); border-color:var(--cws); color:#fff; }
.cws-btn-ghost{ background:rgba(55,113,194,0.07); border-color:rgba(55,113,194,0.22); color:var(--cws-text); }
.cws-btn-danger{ background:rgba(220,38,38,0.08); border-color:rgba(220,38,38,0.22); color:#7f1d1d; width:44px; }

.cws-btn:disabled,
.cws-form button:disabled{
  opacity:1 !important;
  background:#e2e8f0 !important;
  border-color:#94a3b8 !important;
  color:#334155 !important;
  -webkit-text-fill-color:#334155 !important;
}
.cws-msg{ margin-top:10px; padding:10px 12px; border-radius:14px; font-weight:800; display:none; }
.cws-msg.ok{ display:block; background:rgba(22,163,74,0.08); border:1px solid rgba(22,163,74,0.22); color:#14532d; }
.cws-msg.err{ display:block; background:rgba(220,38,38,0.08); border:1px solid rgba(220,38,38,0.22); color:#7f1d1d; }
.cws-form-shell{ position:relative; }
.cws-form-lock{
  position:absolute;
  inset:0;
  z-index:8;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:28px 18px;
  border-radius:22px;
  background:rgba(248,250,252,0.52);
  backdrop-filter:blur(1.5px);
}
.cws-form-lock-card{
  max-width:640px;
  text-align:center;
  padding:18px 20px;
  background:rgba(255,255,255,0.94);
  border:1px solid rgba(55,113,194,0.16);
  border-radius:18px;
  box-shadow:0 14px 34px rgba(15,23,42,0.08);
}
.cws-form-lock-title{ font-size:18px; font-weight:900; color:#0f172a; }
.cws-form-lock-copy{ margin-top:6px; color:#475569; line-height:1.55; }
.cws-form-shell.is-locked .cws-form{ filter:blur(1px); opacity:.74; user-select:none; }
.cws-form-shell.is-locked .cws-form .cws-card,
.cws-form-shell.is-locked .cws-form .cws-submit{ pointer-events:none; }
.cws-form-shell:not(.is-locked) .cws-form-lock{ display:none !important; opacity:0; visibility:hidden; pointer-events:none; }
.cws-form-shell:not(.is-locked) .cws-form{ filter:none !important; -webkit-filter:none !important; opacity:1 !important; user-select:auto !important; }
.cws-form-shell:not(.is-locked) .cws-form .cws-card,
.cws-form-shell:not(.is-locked) .cws-form .cws-submit{ pointer-events:auto !important; }
.cws-gps-row{ display:flex; gap:10px; align-items:center; margin-top:10px; flex-wrap:wrap; }
.cws-pill{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--cws-border);
  background:#fff;
  font-weight:900;
  font-size:12px;
}
.cws-pill.subtle{ color:var(--cws-muted); }
.cws-pill.good{ border-color:rgba(22,163,74,0.32); background:rgba(22,163,74,0.08); color:#14532d; }
.cws-pill.bad{ border-color:rgba(220,38,38,0.32); background:rgba(220,38,38,0.08); color:#7f1d1d; }
.cws-pill.warn{ border-color:rgba(245,158,11,0.32); background:rgba(245,158,11,0.12); color:#7c2d12; }
.cws-hint{ color:var(--cws-muted); font-size:12px; margin-top:6px; }
.cws-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin-top:10px; }
.cws-table{ width:100%; border-collapse:collapse; border:1px solid var(--cws-border); border-radius:14px; overflow:hidden; }
.cws-table th,.cws-table td{ border-bottom:1px solid var(--cws-border); padding:10px; vertical-align:top; background:#fff; }
.cws-table th{ background:rgba(55,113,194,0.06); font-size:13px; text-align:left; font-weight:900; }
.cws-in,.cws-ta{ width:100%; border:1px solid var(--cws-border); border-radius:12px; padding:8px; font-size:14px; }
.cws-ta{ resize:vertical; }
.cws-row-actions{ margin-top:10px; }
.cws-inline-photo{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:10px; }
.cws-file{ border:1px solid var(--cws-border); border-radius:14px; padding:8px; background:#fff; }
.cws-mini-preview{ font-size:12px; color:var(--cws-muted); font-weight:800; }
.cws-photo-preview{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }
.cws-photo-item{ padding:8px 10px; border-radius:14px; border:1px dashed rgba(55,113,194,0.34); background:rgba(55,113,194,0.06); font-size:12px; font-weight:800; color:#0f172a; }
.cws-submit{ margin:16px 0 28px; padding:14px; border-radius:18px; border:1px solid var(--cws-border); background:var(--cws-bg); }
.cws-disclaimer{ margin-top:10px; color:var(--cws-muted); font-size:12px; font-weight:700; }
.cws-hidden-file{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
#cws_add_row{ opacity:1 !important; visibility:visible !important; }
.cws-instructions-block{
  margin-top:10px;
  padding:12px;
  background:#fff;
  border:1px solid rgba(55,113,194,0.18);
  border-radius:14px;
}
.cws-note-line{ padding:8px 0; border-bottom:1px solid #eef2f7; }
.cws-note-line:last-child{ border-bottom:0; }
.cws-signature-shell{
  border:1px dashed rgba(55,113,194,0.35);
  background:#fff;
  border-radius:18px;
  padding:8px;
  margin-top:10px;
}
.cws-signature-pad{
  display:block;
  width:100%;
  height:180px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  border-radius:14px;
  touch-action:none;
}
@media (max-width:920px){
  .cws-head{ flex-direction:column; }
  .cws-head-side{ max-width:none; min-width:0; width:100%; }
}
@media (max-width:820px){ .cws-grid{ grid-template-columns:1fr; } }
@media (max-width:640px){
  .cws-title{ font-size:24px; }
  .cws-sub{ font-size:14px; }
  .cws-logo{ width:72px; height:72px; }
  .cws-code-row{ flex-direction:column; align-items:stretch; }
  .cws-inline-photo{ align-items:stretch; }
  .cws-form-lock{ padding:18px 10px; }
}
.cws-draft-card{
  border-style:dashed;
  border-color:rgba(55,113,194,0.28);
}
.cws-draft-card .cws-card-title{
  display:flex;
  align-items:center;
  gap:8px;
}
.cws-draft-card .cws-card-title::before{
  content:'●';
  color:var(--cws);
  font-size:14px;
}


.cws-urgent-copy{ color:#b91c1c; font-weight:900; }
.cws-entry-shell{ position:relative; }
.cws-entry-lock{ position:absolute; inset:0; z-index:7; display:flex; align-items:flex-start; justify-content:center; padding:18px; border-radius:22px; background:rgba(248,250,252,0.45); backdrop-filter:blur(1px); }
.cws-entry-lock-card{ max-width:620px; text-align:center; padding:16px 18px; background:rgba(255,255,255,0.96); border:1px solid rgba(220,38,38,0.18); border-radius:18px; box-shadow:0 14px 34px rgba(15,23,42,0.08); }
.cws-entry-lock-title{ font-size:18px; font-weight:900; color:#991b1b; }
.cws-entry-lock-copy{ margin-top:6px; color:#7f1d1d; line-height:1.55; font-weight:700; }
.cws-entry-shell.is-locked .cws-card,
.cws-entry-shell.is-locked .cws-submit{ pointer-events:none; filter:blur(1px); opacity:.7; }
.cws-entry-shell:not(.is-locked) .cws-entry-lock{ display:none !important; }
.cws-entry-shell:not(.is-locked) .cws-card,
.cws-entry-shell:not(.is-locked) .cws-submit{ pointer-events:auto; filter:none; opacity:1; }
.cws-time-select{ min-height:44px; }
#cws_restore_draft,#cws_clear_draft,#cws_clear_signature{ display:inline-flex !important; align-items:center !important; justify-content:center !important; min-height:52px !important; padding:12px 18px !important; border-width:2px !important; font-weight:900 !important; letter-spacing:.01em !important; opacity:1 !important; visibility:visible !important; color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:none !important; box-shadow:0 8px 20px rgba(15,23,42,0.12) !important; }
#cws_restore_draft{ background:var(--cws) !important; border-color:var(--cws) !important; }
#cws_clear_draft{ background:#0f172a !important; border-color:#0f172a !important; }
#cws_clear_signature{ background:#475569 !important; border-color:#475569 !important; }
.cws-start-photo-card{ border-color:rgba(220,38,38,0.24); }
.cws-start-photo-card .cws-card-title{ color:#991b1b; }
@media (max-width:640px){
  #cws_restore_draft,#cws_clear_draft,#cws_clear_signature,#cws_validate_code,#cws_submit_btn,#cws_add_row{ width:100%; justify-content:center; }
  .cws-inline-photo .cws-btn, .cws-inline-photo .cws-file{ width:100%; }
}


.cws-camera-modal[hidden]{ display:none !important; }
.cws-camera-modal{ position:fixed; inset:0; z-index:99999; background:rgba(15,23,42,0.78); display:flex; align-items:center; justify-content:center; padding:18px; }
.cws-camera-dialog{ width:min(760px,100%); background:#fff; border-radius:22px; padding:18px; box-shadow:0 30px 60px rgba(15,23,42,0.28); }
.cws-camera-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.cws-camera-body{ border:1px solid var(--cws-border); border-radius:16px; overflow:hidden; background:#0f172a; }
#cws_camera_video,#cws_camera_canvas{ display:block; width:100%; max-height:60vh; object-fit:contain; background:#000; }


@supports (-webkit-touch-callout: none){
  .cws-form select,
  .cws-time-select{
    padding-top:0 !important;
    padding-bottom:0 !important;
    text-indent:0 !important;
  }
}


.cws-submit-success-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:99999;}
.cws-submit-success-overlay.is-open{display:flex;}
.cws-submit-success-card{width:min(100%,420px);background:#fff;border:1px solid #dbe3ef;border-radius:22px;padding:24px;box-shadow:0 25px 65px rgba(15,23,42,.28);text-align:center;}
.cws-submit-success-title{font-size:28px;line-height:1.15;font-weight:900;color:#0f172a;margin-bottom:10px;}
.cws-submit-success-copy{font-size:16px;line-height:1.6;color:#334155;margin-bottom:18px;}
.cws-submit-success-card .cws-btn{min-width:140px;}

/* ==========================================================
   CITYWIDE SECURITY UK DAR v1.0.0
   Independent UK operational interface. Does not depend on theme CSS.
   ========================================================== */
:root{
  --cws:#07111e;
  --cws-navy:#07111e;
  --cws-navy-2:#0d1b2a;
  --cws-card-navy:#111f30;
  --cws-gold:#c9a84c;
  --cws-gold-light:#e2c97e;
  --cws-text:#182535;
  --cws-muted:#617083;
  --cws-border:#dce3ea;
  --cws-bg:#f5f7fa;
  --cws-card:#fff;
}
.cws-dar{max-width:1100px;padding:10px 0 40px;color:var(--cws-text);}
.cws-head{
  background:linear-gradient(135deg,var(--cws-navy) 0%,var(--cws-navy-2) 100%) !important;
  border-color:rgba(201,168,76,.45) !important;
  box-shadow:0 18px 46px rgba(7,17,30,.16);
  padding:22px 24px;
}
.cws-logo{width:104px;height:104px;background:var(--cws-navy);border-color:rgba(201,168,76,.45);padding:4px;box-shadow:none;border-radius:16px;}
.cws-kicker{color:var(--cws-gold) !important;}
.cws-title{color:#fff;font-size:30px;}
.cws-sub{color:#e7edf5;}
.cws-head-side{background:rgba(255,255,255,.07);border-color:rgba(201,168,76,.3);}
.cws-head-side-title{color:var(--cws-gold-light);}
.cws-head-side-copy{color:#e4eaf1;}
.cws-card{border-color:var(--cws-border);box-shadow:0 10px 28px rgba(7,17,30,.055);}
.cws-card-soft{background:#f8fafc;}
.cws-card-title{color:var(--cws-navy);}
.cws-btn{min-height:48px;border-radius:12px;}
.cws-btn-primary{background:var(--cws-navy) !important;border-color:var(--cws-navy) !important;color:#fff !important;-webkit-text-fill-color:#fff !important;}
.cws-btn-primary:hover{background:var(--cws-card-navy) !important;border-color:var(--cws-card-navy) !important;}
.cws-btn-ghost{background:#fff !important;border-color:#c9d2dc !important;color:var(--cws-navy) !important;-webkit-text-fill-color:var(--cws-navy) !important;}
#cws_validate_code{background:var(--cws-gold) !important;border-color:var(--cws-gold) !important;color:var(--cws-navy) !important;-webkit-text-fill-color:var(--cws-navy) !important;}
#cws_recheck_location,.cws-take-photo{background:#fff9e9 !important;border-color:#e1c975 !important;color:var(--cws-navy) !important;-webkit-text-fill-color:var(--cws-navy) !important;}
.cws-pill.good{background:#eaf7ee;color:#17602d;border-color:#b9dfc4;}
.cws-pill.warn{background:#fff8e5;color:#7a5a12;border-color:#e6ce86;}
.cws-pill.bad{background:#fff0f0;color:#8e2424;border-color:#efb7b7;}
.cws-instructions-block{border-color:#d9c57d;background:#fffdf6;}
.cws-submit{background:#f8fafc;border-left:5px solid var(--cws-gold);padding:18px;}
#cws_submit_btn{font-size:16px;padding:15px 22px;}

/* Smart rounds */
.csuk-rounds-card{border-top:5px solid var(--cws-gold);overflow:hidden;}
.csuk-rounds-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;}
.csuk-round-frequency{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;background:var(--cws-navy);color:#fff;padding:8px 12px;font-size:13px;font-weight:900;}
.csuk-round-hero{margin-top:18px;padding:22px;border-radius:18px;background:linear-gradient(135deg,var(--cws-navy),var(--cws-card-navy));border:1px solid rgba(201,168,76,.35);}
.csuk-round-next-label{color:var(--cws-gold-light);font-size:12px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;}
.csuk-round-next-time{margin-top:6px;color:#fff;font-size:clamp(28px,5vw,42px);font-weight:900;line-height:1.1;}
.csuk-round-next-copy{margin-top:8px;color:#dce6f1;font-size:15px;}
.csuk-round-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.csuk-round-hero .cws-btn-primary{background:var(--cws-gold) !important;border-color:var(--cws-gold) !important;color:var(--cws-navy) !important;-webkit-text-fill-color:var(--cws-navy) !important;}
.csuk-round-hero .cws-btn-ghost{background:transparent !important;border-color:rgba(226,201,126,.65) !important;color:#fff !important;-webkit-text-fill-color:#fff !important;}
.csuk-round-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}
.csuk-round-stats>div{padding:14px;border:1px solid var(--cws-border);border-radius:14px;background:#fff;text-align:center;}
.csuk-round-stats strong{display:block;color:var(--cws-navy);font-size:24px;line-height:1;}
.csuk-round-stats span{display:block;margin-top:6px;color:var(--cws-muted);font-size:12px;font-weight:800;}
.csuk-round-history{margin-top:14px;border-top:1px solid var(--cws-border);padding-top:12px;}
.csuk-round-history summary{cursor:pointer;color:var(--cws-navy);font-weight:900;}
.csuk-round-history-list{display:grid;gap:8px;margin-top:10px;}
.csuk-round-history-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--cws-border);border-radius:12px;background:#fbfcfd;}
.csuk-round-history-detail{margin-top:3px;color:var(--cws-muted);font-size:13px;}

/* Round modals */
.csuk-round-modal[hidden]{display:none !important;}
.csuk-round-modal{position:fixed;inset:0;z-index:100000;background:rgba(7,17,30,.78);display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto;}
.csuk-round-dialog{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;padding:20px;border:1px solid rgba(201,168,76,.5);box-shadow:0 30px 80px rgba(0,0,0,.32);}
.csuk-round-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:14px;border-bottom:1px solid var(--cws-border);}
.csuk-round-dialog-head strong{display:block;color:var(--cws-navy);font-size:25px;line-height:1.15;}
.csuk-checkpoint-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;}
.csuk-checkpoint{display:flex !important;align-items:flex-start;gap:10px;margin:0 !important;padding:13px;border:1px solid var(--cws-border);border-radius:13px;background:#fbfcfd;font-size:14px !important;}
.csuk-checkpoint input{width:20px;height:20px;flex:0 0 auto;margin-top:1px;accent-color:var(--cws-navy);}
.csuk-round-outcome{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;}
.csuk-choice{display:flex !important;gap:10px;align-items:flex-start;margin:0 !important;padding:15px;border:2px solid var(--cws-border);border-radius:15px;background:#fff;cursor:pointer;}
.csuk-choice.is-selected{border-color:var(--cws-gold);background:#fffaf0;}
.csuk-choice input{margin-top:4px;accent-color:var(--cws-navy);}
.csuk-choice strong{display:block;color:var(--cws-navy);font-size:16px;}
.csuk-choice small{display:block;margin-top:3px;color:var(--cws-muted);font-size:12px;line-height:1.4;}
.csuk-exception-fields{padding:15px;border-radius:15px;background:#fff8eb;border:1px solid #ead491;margin-bottom:16px;}
.csuk-exception-fields[hidden]{display:none !important;}
.csuk-exception-fields label{margin-top:10px;}
.csuk-complete-round{width:100%;margin-top:10px;font-size:16px;}
.csuk-photo-label{display:inline-flex !important;align-items:center;justify-content:center;margin:0 !important;}
.cws-optional-activity{border-style:dashed;box-shadow:none;}

@media (max-width:720px){
  .cws-dar{padding-left:10px;padding-right:10px;}
  .cws-head{padding:18px;}
  .cws-brand-lockup{align-items:flex-start;}
  .cws-logo{width:82px;height:82px;}
  .csuk-rounds-head{display:block;}
  .csuk-round-frequency{margin-top:12px;}
  .csuk-round-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .csuk-checkpoint-list,.csuk-round-outcome{grid-template-columns:1fr;}
  .csuk-round-history-item{align-items:flex-start;}
  .csuk-round-actions .cws-btn{width:100%;}
  .csuk-round-dialog{padding:16px;border-radius:18px;}
  .csuk-round-dialog-head strong{font-size:22px;}
}
.csuk-explain-missed{display:inline-flex;margin-top:7px;padding:6px 9px;border:1px solid #e6ce86;border-radius:9px;background:#fff8e5;color:#6f5211;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.csuk-explain-missed:hover{background:#fff1bf}
