.z24c-hidden{display:none!important}
.z24c-banner,.z24c-modal,.z24c-banner *,.z24c-modal *{box-sizing:border-box}
.z24c-banner{
  position:fixed;z-index:12000;left:14px;right:14px;bottom:calc(74px + env(safe-area-inset-bottom,0px));
  max-width:760px;margin:0 auto;padding:16px;background:#0b1d2a;color:#f7fafb;border:1px solid rgba(255,255,255,.12);
  border-radius:16px;box-shadow:0 18px 54px rgba(0,0,0,.32);font:13px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.z24c-banner h2{margin:0 0 6px;font-size:16px;line-height:1.2;color:#fff}
.z24c-banner p{margin:0;color:#c5d0d5}
.z24c-banner a,.z24c-modal a{color:#b9db59;font-weight:800}
.z24c-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.z24c-btn{appearance:none;border:0;border-radius:10px;padding:10px 13px;font:800 12px/1 system-ui;cursor:pointer}
.z24c-btn.primary{background:#98c52a;color:#122007}
.z24c-btn.secondary{background:#fff;color:#14242d}
.z24c-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.28)}
.z24c-backdrop{position:fixed;z-index:12010;inset:0;background:rgba(3,11,17,.68);backdrop-filter:blur(2px)}
.z24c-modal{
  position:fixed;z-index:12011;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(620px,calc(100% - 28px));max-height:min(760px,calc(100dvh - 32px));overflow:auto;
  padding:20px;background:#fff;color:#17242b;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.36);
  font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.z24c-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.z24c-modal h2{margin:0;font-size:21px;line-height:1.2}
.z24c-modal p{color:#59686f}
.z24c-close{border:0;background:#edf2f4;border-radius:9px;width:36px;height:36px;font-size:20px;cursor:pointer}
.z24c-option{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid #e4e9eb}
.z24c-option:first-of-type{margin-top:12px}
.z24c-option b{display:block;margin-bottom:3px}
.z24c-option small{display:block;color:#6f7d83}
.z24c-state{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#eaf2d1;color:#456008;font-size:10px;font-weight:900}
.z24c-switch{position:relative;flex:0 0 auto;width:44px;height:25px}
.z24c-switch input{position:absolute;opacity:0;pointer-events:none}
.z24c-switch i{position:absolute;inset:0;background:#c9d1d4;border-radius:999px;transition:.18s}
.z24c-switch i:before{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #0003;transition:.18s}
.z24c-switch input:checked+i{background:#98c52a}
.z24c-switch input:checked+i:before{transform:translateX(19px)}
.z24c-note{margin:14px 0 0;padding:11px 12px;background:#f2f6e9;border-radius:10px;color:#4e5a42;font-size:12px}
.z24c-modal-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}
@media(max-width:540px){
 .z24c-banner{left:10px;right:10px;bottom:calc(69px + env(safe-area-inset-bottom,0px));padding:14px;border-radius:14px}
 .z24c-actions{display:grid;grid-template-columns:1fr 1fr}
 .z24c-actions .z24c-btn.ghost{grid-column:1/-1}
 .z24c-btn{padding:11px 9px}
 .z24c-modal{padding:17px}
 .z24c-modal-actions{display:grid;grid-template-columns:1fr 1fr}
}

.z24c-google-box{margin:12px 0 0;padding:12px;border:1px solid #dce5e8;border-radius:10px;background:#f7fafb}
.z24c-google-action{appearance:none;border:0;border-radius:9px;background:#172f3c;color:#fff;padding:10px 12px;font:800 12px/1.2 system-ui;cursor:pointer}
.z24c-google-box small{display:block;margin-top:8px;color:#6f7d83}.z24c-google-box small.ok{color:#4b6b12;font-weight:800}
.z24c-debug{position:fixed;z-index:13000;right:12px;bottom:12px;width:min(360px,calc(100% - 24px));padding:14px 38px 14px 14px;background:#071923;color:#fff;border:1px solid #35505e;border-radius:12px;box-shadow:0 18px 50px #0007;font:12px/1.45 system-ui}
.z24c-debug b,.z24c-debug span,.z24c-debug small{display:block}.z24c-debug b{margin-bottom:6px;font-size:14px}.z24c-debug span{padding:2px 0}.z24c-debug small{margin-top:8px;color:#c6d2d8}.z24c-debug button{position:absolute;right:8px;top:8px;border:0;background:#16313f;color:#fff;width:26px;height:26px;border-radius:7px;cursor:pointer}

/* zvupd772: keep live diagnostics usable on small screens. */
.z24c-debug{max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}
