:root{
  --icagh-maroon:#800000;
  --icagh-maroon-2:#660000;
  --icagh-peach:#fff4ed;
  --icagh-peach-2:#f9d8c4;
  --icagh-text:#25161b;
  --icagh-muted:#725d64;
  --icagh-border:#ead6cb;
  --icagh-white:#ffffff;
  --icagh-danger:#b42318;
  --icagh-success:#067647;
  --icagh-warning:#93370d;
}

.icagh-vms-kiosk{min-height:100vh;background:linear-gradient(180deg,var(--icagh-peach),#fff);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--icagh-text);padding:24px;box-sizing:border-box}
.icagh-vms-page{max-width:1100px;margin:0 auto;min-height:calc(100vh - 48px);display:flex;flex-direction:column;gap:24px}
.icagh-vms-topbar{background:var(--icagh-maroon);color:#fff;border-radius:24px;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.icagh-vms-brand{display:flex;align-items:center;gap:18px}
.icagh-vms-logo-img{width:86px;height:auto;background:#fff;border-radius:18px;padding:8px;box-sizing:border-box}
.icagh-vms-kicker{margin:0;color:#f9d8c4;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:13px}
.icagh-vms-topbar h1{margin:4px 0 0;font-size:30px;line-height:1.1;color:#fff}
.icagh-vms-clock-card{text-align:right;min-width:190px}
.icagh-vms-clock-card strong{display:block;font-size:32px;line-height:1;color:#fff}
.icagh-vms-clock-card span{display:block;margin-top:6px;color:#f8d8c4;font-size:14px;font-weight:700}

.icagh-vms-landing,.icagh-vms-form-card,.icagh-vms-response-card{background:#fff;border:1px solid var(--icagh-border);border-radius:28px;padding:42px;box-sizing:border-box}
.icagh-vms-landing{flex:1;display:grid;place-items:center;text-align:center}
.icagh-vms-landing-inner{max-width:760px;margin:auto}
.icagh-vms-landing h2{font-size:52px;line-height:1.05;margin:0 0 16px;color:var(--icagh-maroon)}
.icagh-vms-lead{font-size:22px;line-height:1.55;color:var(--icagh-muted);margin:0 auto 28px;max-width:720px}
.icagh-vms-mini-stats{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:26px 0 34px}
.icagh-vms-mini-stats span{border:1px solid var(--icagh-border);border-radius:999px;padding:11px 16px;color:var(--icagh-maroon);font-weight:800;background:#fff8f4}
.icagh-vms-button{appearance:none;border:0;border-radius:18px;background:var(--icagh-maroon);color:#fff;font-weight:900;font-size:19px;padding:20px 30px;min-height:66px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.icagh-vms-button:hover,.icagh-vms-button:focus{background:var(--icagh-maroon-2);color:#fff;outline:3px solid rgba(128,0,0,.18);outline-offset:3px}
.icagh-vms-button.secondary{background:#fff;color:var(--icagh-maroon);border:2px solid var(--icagh-maroon);min-height:58px;font-size:16px;padding:14px 22px}
.icagh-vms-button.secondary:hover{background:#fff4ed;color:var(--icagh-maroon)}

.icagh-vms-form-card{display:none;margin-bottom:24px}
.icagh-vms-form-card.is-visible{display:block}
.icagh-vms-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px;border-bottom:1px solid var(--icagh-border);padding-bottom:18px}
.icagh-vms-form-head h2{font-size:34px;line-height:1.1;color:var(--icagh-maroon);margin:0 0 8px}
.icagh-vms-form-head p{margin:0;color:var(--icagh-muted);font-size:16px}
.icagh-vms-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.icagh-vms-full{grid-column:1/-1}
.icagh-vms-field{display:block;position:relative}
.icagh-vms-field span{display:block;font-weight:850;color:var(--icagh-maroon);margin:0 0 8px;font-size:15px}
.icagh-vms-field input,.icagh-vms-field select,.icagh-vms-field textarea,.icagh-vms-real-select{width:100%;box-sizing:border-box;border:1px solid var(--icagh-border);border-radius:14px;background:#fff;color:var(--icagh-text);font-size:18px;padding:16px 16px;min-height:60px;outline:none;box-shadow:none!important;transition:border-color .15s ease,background .15s ease}
.icagh-vms-field textarea{min-height:120px;resize:vertical;line-height:1.45}
.icagh-vms-field input:focus,.icagh-vms-field select:focus,.icagh-vms-field textarea:focus,.icagh-vms-real-select:focus{border-color:var(--icagh-maroon);background:#fffdfb;box-shadow:none!important}
.icagh-vms-field input::placeholder,.icagh-vms-field textarea::placeholder{color:#a39297}
.icagh-vms-field.has-error input,.icagh-vms-field.has-error textarea,.icagh-vms-field.has-error select{border-color:var(--icagh-danger)!important;background:#fffafa;box-shadow:none!important}
.icagh-vms-error{display:block;margin-top:7px;color:var(--icagh-danger);font-size:13px;font-weight:800}
.icagh-vms-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;border-top:1px solid var(--icagh-border);padding-top:22px;color:var(--icagh-muted);font-weight:800}

.icagh-vms-combobox{display:flex;align-items:center;border:1px solid var(--icagh-border);border-radius:14px;background:#fff;overflow:hidden}
.icagh-vms-combobox:focus-within{border-color:var(--icagh-maroon);background:#fffdfb}
.icagh-vms-combobox input{border:0!important;border-radius:0;min-height:60px;box-shadow:none!important}
.icagh-vms-combobox-toggle{width:58px;align-self:stretch;border:0;border-left:1px solid var(--icagh-border);background:#fff8f4;color:var(--icagh-maroon);font-size:24px;cursor:pointer}
.icagh-vms-employee-results{position:absolute;z-index:20;left:0;right:0;top:92px;background:#fff;border:1px solid var(--icagh-border);border-radius:16px;max-height:310px;overflow:auto;padding:8px;box-sizing:border-box;box-shadow:none!important}
.icagh-vms-employee-results[hidden],.icagh-vms-real-select{display:none!important}
.icagh-vms-employee-option{width:100%;display:flex;justify-content:space-between;gap:14px;align-items:center;text-align:left;border:1px solid transparent;background:#fff;border-radius:12px;padding:14px 14px;cursor:pointer;color:var(--icagh-text);font-size:16px}
.icagh-vms-employee-option:hover,.icagh-vms-employee-option.is-selected{border-color:var(--icagh-border);background:#fff4ed}
.icagh-vms-employee-option strong{color:var(--icagh-maroon);font-size:17px}.icagh-vms-employee-option span{margin:0;color:var(--icagh-muted);font-size:13px}.icagh-vms-no-results{padding:14px;color:var(--icagh-warning);font-weight:800}.icagh-vms-selected{display:block;margin-top:8px;color:var(--icagh-muted);font-size:13px}.icagh-vms-selected strong{color:var(--icagh-maroon)}
.icagh-vms-alert{border-radius:16px;padding:16px 18px;margin-bottom:18px;font-weight:800;border:1px solid}.icagh-vms-alert.success{background:#ecfdf3;border-color:#abefc6;color:var(--icagh-success)}.icagh-vms-alert.warning{background:#fffaeb;border-color:#fedf89;color:var(--icagh-warning)}.icagh-vms-empty{font-weight:800;color:var(--icagh-warning)}

.icagh-vms-response-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(180deg,var(--icagh-peach),#fff);padding:24px;font-family:Inter,system-ui,sans-serif}.icagh-vms-response-card{text-align:center;max-width:620px}.icagh-vms-response-card h1{color:var(--icagh-maroon);font-size:38px;margin:18px 0 8px}.icagh-vms-response-card p{color:var(--icagh-muted);font-size:18px}.icagh-vms-status-pill{display:inline-flex;border-radius:999px;padding:10px 16px;font-weight:900}.icagh-vms-status-pill.accepted{background:#ecfdf3;color:#067647}.icagh-vms-status-pill.rejected{background:#fef3f2;color:#b42318}

@media (min-width:700px) and (max-width:1180px){.icagh-vms-kiosk{padding:18px}.icagh-vms-page{max-width:980px;min-height:calc(100vh - 36px)}.icagh-vms-topbar{border-radius:22px;padding:20px 24px}.icagh-vms-logo-img{width:82px}.icagh-vms-topbar h1{font-size:28px}.icagh-vms-landing,.icagh-vms-form-card{border-radius:26px;padding:34px}.icagh-vms-landing h2{font-size:48px}.icagh-vms-lead{font-size:21px}.icagh-vms-field input,.icagh-vms-field select,.icagh-vms-field textarea,.icagh-vms-real-select{font-size:20px;min-height:68px}.icagh-vms-combobox input{min-height:68px}.icagh-vms-combobox-toggle{width:66px}.icagh-vms-button{min-height:74px;font-size:21px}.icagh-vms-grid{gap:20px}.icagh-vms-employee-results{top:102px}}
@media(max-width:760px){.icagh-vms-kiosk{padding:12px}.icagh-vms-page{min-height:calc(100vh - 24px);gap:14px}.icagh-vms-topbar{display:block;text-align:center;border-radius:20px;padding:20px}.icagh-vms-brand{display:block}.icagh-vms-logo-img{width:78px;margin:0 auto 10px}.icagh-vms-clock-card{text-align:center;margin-top:16px}.icagh-vms-landing,.icagh-vms-form-card{padding:24px;border-radius:20px}.icagh-vms-landing h2{font-size:34px}.icagh-vms-lead{font-size:17px}.icagh-vms-grid{grid-template-columns:1fr}.icagh-vms-actions,.icagh-vms-form-head{display:block}.icagh-vms-actions .icagh-vms-button{width:100%;margin-top:16px}.icagh-vms-form-head .secondary{margin-top:14px}.icagh-vms-employee-results{top:90px}.icagh-vms-field input,.icagh-vms-field select,.icagh-vms-field textarea,.icagh-vms-real-select{font-size:16px;min-height:56px}}

.icagh-vms-landing-alert{max-width:680px;margin:0 auto 28px;text-align:center;font-size:18px;line-height:1.5}
.icagh-vms-landing-alert strong{font-size:22px;color:inherit}

/* Version 2.5 - Professional employee response page */
.icagh-vms-response-body{margin:0;background:var(--icagh-peach);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--icagh-text)}
.icagh-vms-response-card-pro{width:min(760px,calc(100vw - 32px));text-align:left;padding:0;overflow:hidden;border:1px solid var(--icagh-border);background:#fff;border-radius:30px}
.icagh-vms-response-card-pro.accepted{border-top:8px solid var(--icagh-success)}
.icagh-vms-response-card-pro.rejected{border-top:8px solid var(--icagh-danger)}
.icagh-vms-response-brand{display:flex;align-items:center;gap:18px;background:var(--icagh-maroon);color:#fff;padding:26px 30px}
.icagh-vms-response-logo{width:88px;height:auto;background:#fff;border-radius:18px;padding:8px;box-sizing:border-box;flex:0 0 auto}
.icagh-vms-response-brand p{margin:0 0 5px;color:var(--icagh-peach-2);font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.icagh-vms-response-brand h1{margin:0;color:#fff;font-size:34px;line-height:1.1}
.icagh-vms-response-card-pro .icagh-vms-response-icon{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;margin:30px auto 12px;font-size:42px;font-weight:900}
.icagh-vms-response-icon.accepted{background:#ecfdf3;color:var(--icagh-success);border:1px solid #abefc6}
.icagh-vms-response-icon.rejected{background:#fef3f2;color:var(--icagh-danger);border:1px solid #fecdca}
.icagh-vms-response-message{font-size:20px;line-height:1.5;color:var(--icagh-muted);text-align:center;max-width:560px;margin:0 auto 18px;padding:0 26px}
.icagh-vms-response-card-pro .icagh-vms-status-pill{margin:0 auto 24px;display:flex;width:max-content;font-size:15px}
.icagh-vms-response-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 30px 28px}
.icagh-vms-response-details-grid div{border:1px solid var(--icagh-border);border-radius:16px;background:#fffaf7;padding:16px}
.icagh-vms-response-details-grid span{display:block;color:var(--icagh-muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.icagh-vms-response-details-grid strong{display:block;color:var(--icagh-text);font-size:17px;line-height:1.35;word-break:break-word}
.icagh-vms-response-purpose{grid-column:1/-1}
.icagh-vms-response-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff4ed;border-top:1px solid var(--icagh-border);padding:18px 30px;color:var(--icagh-maroon);font-weight:900}
.icagh-vms-response-footer small{color:var(--icagh-muted);font-weight:800}
@media(max-width:700px){.icagh-vms-response-wrap{padding:14px}.icagh-vms-response-card-pro{border-radius:22px}.icagh-vms-response-brand{display:block;text-align:center;padding:22px}.icagh-vms-response-logo{width:82px;margin:0 auto 12px}.icagh-vms-response-brand h1{font-size:28px}.icagh-vms-response-details-grid{grid-template-columns:1fr;padding:0 18px 22px}.icagh-vms-response-footer{display:block;text-align:center;padding:18px}.icagh-vms-response-footer small{display:block;margin-top:6px}.icagh-vms-response-message{font-size:17px}}

/* Version 2.7.1 - Logo-only header */
.icagh-vms-logo-only-header{
  justify-content:center;
  min-height:110px;
  padding:18px 30px;
}
.icagh-vms-logo-only-header .icagh-vms-brand{
  justify-content:center;
}
.icagh-vms-logo-only-header .icagh-vms-logo-img{
  width:96px;
  margin:0 auto;
}
.icagh-vms-landing-clock{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin:0 auto 22px;
  padding:12px 22px;
  border:1px solid var(--icagh-border);
  border-radius:999px;
  background:#fff8f4;
}
.icagh-vms-landing-clock strong{
  color:var(--icagh-maroon);
  font-size:28px;
  line-height:1;
}
.icagh-vms-landing-clock span{
  color:var(--icagh-muted);
  font-size:14px;
  font-weight:800;
}
@media(max-width:760px){
  .icagh-vms-logo-only-header{display:flex;min-height:96px;padding:16px 20px;}
  .icagh-vms-logo-only-header .icagh-vms-brand{display:flex;}
  .icagh-vms-logo-only-header .icagh-vms-logo-img{width:82px;margin:0 auto;}
  .icagh-vms-landing-clock strong{font-size:24px;}
}

/* Version 3.1 - Privacy notice screen */
.icagh-vms-privacy-card{background:#fff;border:1px solid var(--icagh-border);border-radius:28px;padding:42px;box-sizing:border-box;margin-bottom:24px}
.icagh-vms-privacy-card[hidden]{display:none!important}
.icagh-vms-privacy-body{font-size:18px;line-height:1.65;color:var(--icagh-text)}
.icagh-vms-privacy-body p{margin:0 0 16px}
.icagh-vms-privacy-body ul{margin:0 0 18px 22px;color:var(--icagh-muted)}
.icagh-vms-consent-line{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--icagh-border);border-radius:16px;background:#fff8f4;padding:16px;margin-top:18px;color:var(--icagh-maroon);font-weight:850}
.icagh-vms-consent-line input{width:24px;height:24px;flex:0 0 auto;accent-color:var(--icagh-maroon)}
.icagh-vms-button.disabled,.icagh-vms-button:disabled{opacity:.45;cursor:not-allowed;background:#9a6a6a}
@media(max-width:760px){.icagh-vms-privacy-card{padding:24px;border-radius:20px}.icagh-vms-privacy-body{font-size:16px}.icagh-vms-consent-line{font-size:15px}}


/* Version 3.2.2 - Submit processing animation */
.icagh-vms-form{position:relative}
.icagh-vms-processing-overlay{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;background:rgba(255,245,241,.94);backdrop-filter:blur(3px);padding:20px;box-sizing:border-box}
.icagh-vms-processing-box{width:min(420px,calc(100% - 36px));background:#fff;border:1px solid var(--icagh-border);border-radius:22px;padding:30px 24px;text-align:center;color:var(--icagh-text);box-sizing:border-box}
.icagh-vms-processing-box strong{display:block;color:var(--icagh-maroon);font-size:22px;margin:14px 0 8px}
.icagh-vms-processing-box span{display:block;color:var(--icagh-muted);font-size:16px;font-weight:700;line-height:1.45}
.icagh-vms-spinner{width:58px;height:58px;margin:0 auto;border-radius:50%;border:5px solid #f0d8cf;border-top-color:var(--icagh-maroon);animation:icaghVmsSpin .8s linear infinite}
.icagh-vms-form.is-processing input,.icagh-vms-form.is-processing textarea,.icagh-vms-form.is-processing select,.icagh-vms-form.is-processing button{pointer-events:none}
@keyframes icaghVmsSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.icagh-vms-processing-box{padding:24px 18px}.icagh-vms-processing-box strong{font-size:19px}.icagh-vms-processing-box span{font-size:14px}.icagh-vms-spinner{width:48px;height:48px}}
.icagh-vms-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;}

/* v3.5 returning visitor, camera and kiosk enhancements */
.icagh-vms-lookup-card{max-width:760px;margin:28px auto;background:#fff;border:1px solid #ead9d1;border-radius:22px;padding:28px;box-shadow:none}.icagh-vms-photo-capture{border:1px dashed #d9b8a8;border-radius:16px;padding:18px;background:#fffaf7}.icagh-vms-photo-stage{display:grid;place-items:center;min-height:220px;border:1px solid #ead9d1;border-radius:14px;background:#fff}.icagh-vms-photo-stage video,.icagh-vms-photo-stage img{max-width:100%;max-height:260px;border-radius:12px}.icagh-vms-photo-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.icagh-vms-photo-stage p{color:#6f5550;text-align:center;padding:20px}

.icagh-vms-start-options{display:flex;gap:16px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:24px}.icagh-vms-start-options .icagh-vms-button{min-width:220px}.icagh-vms-button.secondary{border:1px solid #800000}.icagh-vms-lookup-card .icagh-vms-actions{gap:12px;flex-wrap:wrap}.icagh-vms-photo-actions{gap:10px;flex-wrap:wrap}

/* Version 3.5.3 - polished employee dropdown arrow and privacy consent checkmark */
.icagh-vms-combobox-toggle{
  position:relative;
  display:grid;
  place-items:center;
  min-width:62px;
  transition:background .15s ease, border-color .15s ease;
}
.icagh-vms-combobox-toggle:hover,
.icagh-vms-combobox:focus-within .icagh-vms-combobox-toggle{
  background:#fff1e8;
}
.icagh-vms-select-arrow{
  width:14px;
  height:14px;
  border-right:3px solid var(--icagh-maroon);
  border-bottom:3px solid var(--icagh-maroon);
  transform:rotate(45deg) translateY(-3px);
  display:inline-block;
  border-radius:2px;
}
.icagh-vms-combobox[aria-expanded="true"] .icagh-vms-select-arrow,
.icagh-vms-combobox.is-open .icagh-vms-select-arrow{
  transform:rotate(225deg) translateY(-3px);
}
.icagh-vms-consent-line{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
  cursor:pointer;
  user-select:none;
}
.icagh-vms-consent-line input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  width:30px;
  height:30px;
  flex:0 0 30px;
  margin:2px 0 0;
  border:2px solid var(--icagh-maroon);
  border-radius:9px;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:none!important;
  transition:background .15s ease, border-color .15s ease, transform .12s ease;
}
.icagh-vms-consent-line input[type="checkbox"]:focus{
  outline:3px solid rgba(128,0,0,.18);
  outline-offset:3px;
}
.icagh-vms-consent-line input[type="checkbox"]:checked{
  background:var(--icagh-maroon);
  border-color:var(--icagh-maroon);
}
.icagh-vms-consent-line input[type="checkbox"]:checked::after{
  content:"";
  width:8px;
  height:15px;
  border-right:3px solid #fff;
  border-bottom:3px solid #fff;
  transform:rotate(45deg) translate(-1px,-2px);
}
.icagh-vms-consent-line input[type="checkbox"]:active{
  transform:scale(.96);
}

/* v3.8 unified visitor lookup polish */
.icagh-vms-field input.is-readonly {
  background: #f8f4f2;
  color: #4b2b2b;
  border-style: dashed;
}

/* v3.9 department visit + unified new/returning polish */
.icagh-vms-segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px}
.icagh-vms-segmented label{display:flex;align-items:center;gap:10px;border:1.5px solid #ead9d3;border-radius:16px;padding:15px 16px;background:#fff;color:#800000;cursor:pointer;min-height:56px;transition:border-color .2s ease, background .2s ease, transform .2s ease}
.icagh-vms-segmented label:has(input:checked){border-color:#800000;background:#fff5f1}
.icagh-vms-segmented input{width:20px;height:20px;accent-color:#800000}
.icagh-vms-department-picker select{width:100%;border:1.5px solid #ead9d3;border-radius:14px;background:#fff;color:#1f2937;padding:16px 48px 16px 16px;font-size:16px;min-height:56px;appearance:none;background-image:linear-gradient(45deg, transparent 50%, #800000 50%),linear-gradient(135deg, #800000 50%, transparent 50%);background-position:calc(100% - 23px) 50%,calc(100% - 15px) 50%;background-size:8px 8px,8px 8px;background-repeat:no-repeat}
.icagh-vms-department-picker select:focus{outline:none;border-color:#800000;box-shadow:0 0 0 3px rgba(128,0,0,.09)}
@media(max-width:720px){.icagh-vms-segmented{grid-template-columns:1fr}}


/* v3.9.2: keep employee/department visit fields hidden until the visitor chooses a visit target. */
[data-icagh-vms-employee-section][hidden],
[data-icagh-vms-department-section][hidden]{display:none!important;visibility:hidden!important;}
[data-icagh-vms-employee-section].is-visible,
[data-icagh-vms-department-section].is-visible{display:block;visibility:visible;animation:icaghVmsReveal .18s ease-out;}
@keyframes icaghVmsReveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* v4.0.2 - Tablet-first compact visitor form to reduce scrolling */
@media (min-width: 700px) and (max-width: 1180px) {
  .icagh-vms-kiosk{
    padding:10px 14px;
  }
  .icagh-vms-page{
    max-width:1080px;
    min-height:calc(100vh - 20px);
    gap:10px;
  }
  .icagh-vms-logo-only-header{
    min-height:72px!important;
    padding:10px 20px!important;
    border-radius:18px;
  }
  .icagh-vms-logo-only-header .icagh-vms-logo-img{
    width:62px!important;
    padding:5px;
    border-radius:12px;
  }
  .icagh-vms-landing,
  .icagh-vms-form-card,
  .icagh-vms-privacy-card{
    padding:22px 26px!important;
    border-radius:20px!important;
  }
  .icagh-vms-landing h2{
    font-size:38px!important;
    margin-bottom:10px;
  }
  .icagh-vms-lead{
    font-size:18px!important;
    line-height:1.35;
    margin-bottom:16px;
  }
  .icagh-vms-landing-clock{
    margin-bottom:14px;
    padding:8px 18px;
  }
  .icagh-vms-landing-clock strong{
    font-size:23px;
  }
  .icagh-vms-start-options{
    margin-top:14px;
    gap:10px;
  }
  .icagh-vms-start-options .icagh-vms-button{
    min-width:190px;
  }
  .icagh-vms-form-head{
    align-items:center;
    margin-bottom:14px;
    padding-bottom:12px;
  }
  .icagh-vms-form-head h2{
    font-size:26px;
    margin-bottom:3px;
  }
  .icagh-vms-form-head p{
    font-size:14px;
  }
  .icagh-vms-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 14px!important;
  }
  .icagh-vms-field span{
    font-size:13px;
    margin-bottom:5px;
  }
  .icagh-vms-field input,
  .icagh-vms-field select,
  .icagh-vms-field textarea,
  .icagh-vms-real-select,
  .icagh-vms-combobox input{
    min-height:48px!important;
    font-size:16px!important;
    padding:11px 13px!important;
    border-radius:12px;
  }
  .icagh-vms-field textarea{
    min-height:70px!important;
    resize:none;
  }
  .icagh-vms-button{
    min-height:54px!important;
    font-size:17px!important;
    padding:14px 22px!important;
    border-radius:14px;
  }
  .icagh-vms-button.secondary{
    min-height:46px!important;
    font-size:14px!important;
    padding:10px 18px!important;
  }
  .icagh-vms-segmented{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .icagh-vms-segmented label{
    min-height:46px;
    padding:10px 12px;
    border-radius:12px;
  }
  .icagh-vms-combobox-toggle{
    min-width:50px!important;
    width:50px!important;
  }
  .icagh-vms-employee-results{
    top:73px!important;
    max-height:210px;
  }
  .icagh-vms-selected{
    font-size:12px;
    margin-top:4px;
  }
  .icagh-vms-photo-capture{
    padding:12px!important;
    border-radius:14px;
  }
  .icagh-vms-photo-stage{
    min-height:126px!important;
  }
  .icagh-vms-photo-stage video,
  .icagh-vms-photo-stage img{
    max-height:142px!important;
  }
  .icagh-vms-photo-stage p{
    font-size:13px;
    line-height:1.3;
    padding:12px;
    margin:0;
  }
  .icagh-vms-photo-actions{
    margin-top:8px;
    gap:8px;
  }
  .icagh-vms-actions{
    margin-top:14px;
    padding-top:12px;
  }
  .icagh-vms-actions span{
    font-size:13px;
  }
  .icagh-vms-privacy-body{
    font-size:15px;
    line-height:1.45;
  }
  .icagh-vms-privacy-body p{
    margin-bottom:10px;
  }
  .icagh-vms-privacy-body ul{
    margin-bottom:10px;
  }
  .icagh-vms-consent-line{
    padding:12px;
    font-size:14px;
    border-radius:12px;
  }
}

@media (min-width: 900px) and (max-width: 1180px) and (orientation: landscape) {
  .icagh-vms-form-card{
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  .icagh-vms-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .icagh-vms-grid .icagh-vms-full,
  .icagh-vms-visit-target,
  [data-icagh-vms-employee-section],
  [data-icagh-vms-department-section],
  .icagh-vms-photo-capture{
    grid-column:span 2!important;
  }
  .icagh-vms-grid label.icagh-vms-full:last-of-type{
    grid-column:span 2!important;
  }
  .icagh-vms-photo-capture{
    align-self:start;
  }
  .icagh-vms-photo-stage{
    min-height:112px!important;
  }
}

@media (max-width: 760px) {
  .icagh-vms-form-card,
  .icagh-vms-landing,
  .icagh-vms-privacy-card{
    padding:18px!important;
  }
  .icagh-vms-form-head{
    margin-bottom:12px;
    padding-bottom:12px;
  }
  .icagh-vms-form-head h2{
    font-size:24px;
  }
  .icagh-vms-grid{
    gap:12px;
  }
  .icagh-vms-field textarea{
    min-height:86px;
    resize:none;
  }
  .icagh-vms-photo-stage{
    min-height:150px;
  }
}
.icagh-vms-rejection-form{display:grid;gap:12px;margin-top:18px;text-align:left}.icagh-vms-rejection-form label{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1px solid #f0d5d5;border-radius:12px;background:#fff7f7;font-weight:700;color:#7a271a}.icagh-vms-response-input{width:100%;box-sizing:border-box;border:1px solid #ead0c2;border-radius:12px;padding:14px 16px;font-size:16px}.icagh-vms-response-decline-button{appearance:none;border:0;border-radius:14px;background:#b42318;color:#fff;font-weight:800;font-size:16px;padding:15px 20px;cursor:pointer}


/* Version 4.3 - Idle screen saver only, preserving v4.1 architecture */
.icagh-vms-idle-screen{
  position:fixed;
  inset:0;
  z-index:999998;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#fff4ed 0%,#ffffff 48%,#f9d8c4 100%);
  padding:28px;
  box-sizing:border-box;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
.icagh-vms-idle-screen[hidden]{display:none!important;}
.icagh-vms-idle-screen.is-visible{
  opacity:1;
  pointer-events:auto;
}
.icagh-vms-idle-card{
  width:min(760px,calc(100vw - 48px));
  min-height:min(520px,calc(100vh - 72px));
  border:1px solid var(--icagh-border);
  border-radius:34px;
  background:rgba(255,255,255,.94);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:42px;
  box-sizing:border-box;
}
.icagh-vms-idle-logo{
  width:118px;
  height:auto;
  background:#fff;
  border:1px solid var(--icagh-border);
  border-radius:22px;
  padding:12px;
  box-sizing:border-box;
  margin-bottom:22px;
}
.icagh-vms-idle-clock{
  display:inline-flex;
  flex-direction:column;
  gap:6px;
  align-items:center;
  border:1px solid var(--icagh-border);
  border-radius:999px;
  background:#fff8f4;
  padding:14px 28px;
  margin-bottom:24px;
}
.icagh-vms-idle-clock strong{
  color:var(--icagh-maroon);
  font-size:42px;
  line-height:1;
}
.icagh-vms-idle-clock span{
  color:var(--icagh-muted);
  font-weight:850;
  font-size:16px;
}
.icagh-vms-idle-card h2{
  color:var(--icagh-maroon);
  font-size:56px;
  line-height:1.05;
  margin:0 0 14px;
}
.icagh-vms-idle-card p{
  color:var(--icagh-muted);
  font-size:24px;
  font-weight:850;
  margin:0;
}
@media(max-width:900px){
  .icagh-vms-idle-card{min-height:min(560px,calc(100vh - 48px));padding:30px;border-radius:28px;}
  .icagh-vms-idle-card h2{font-size:44px;}
  .icagh-vms-idle-card p{font-size:20px;}
  .icagh-vms-idle-clock strong{font-size:34px;}
  .icagh-vms-idle-logo{width:104px;}
}
