/* =====================================================================
   NOWILLS SQC ERP — Guided Walkthrough styles (public preview)
   Construction yellow · quarry charcoal · industrial grey · white.
   Self-contained; loaded only inside the preview frame.
   ===================================================================== */

/* ---- persistent demo indicator ---- */
#nwt-badge{position:fixed;right:12px;bottom:12px;z-index:2147483000;display:flex;align-items:center;gap:7px;
  background:#171920;color:#e9ebf1;border:1px solid rgba(248,194,0,.45);border-radius:999px;
  padding:6px 13px;font:600 11px/1 "Segoe UI",Inter,system-ui,sans-serif;letter-spacing:.04em;
  box-shadow:0 6px 18px rgba(0,0,0,.35);pointer-events:none}
#nwt-badge .nwt-dot{width:7px;height:7px;border-radius:50%;background:#f8c200;box-shadow:0 0 8px #f8c200;animation:nwt-pulse 2s infinite}
#nwt-badge small{color:#9aa3b2;font-weight:500}
@media (max-width:860px){#nwt-badge{bottom:64px;right:8px;padding:5px 10px;font-size:10px}}
@keyframes nwt-pulse{0%,100%{opacity:1}50%{opacity:.45}}

/* ---- floating walkthrough button ---- */
#nwt-fab{position:fixed;left:12px;bottom:12px;z-index:2147483001;display:inline-flex;align-items:center;gap:8px;
  background:#f8c200;color:#16181d;border:none;border-radius:999px;padding:11px 18px;cursor:pointer;
  font:800 12px/1 "Segoe UI",Inter,system-ui,sans-serif;letter-spacing:.05em;
  box-shadow:0 8px 22px rgba(0,0,0,.45)}
#nwt-fab:hover{background:#ffd84d}
#nwt-fab:focus-visible,#nwt-tip button:focus-visible,#nwt-done button:focus-visible,#nwt-pick button:focus-visible{outline:3px solid #ffd84d;outline-offset:2px}
@media (max-width:860px){#nwt-fab{bottom:64px;left:8px;padding:10px 14px}}

/* ---- spotlight + scrim ---- */
#nwt-spot{position:fixed;z-index:2147482990;border-radius:10px;border:2px solid #f8c200;
  box-shadow:0 0 0 100000px rgba(9,10,14,.66);pointer-events:none;transition:all .3s ease}
#nwt-spot::after{content:"";position:absolute;inset:-2px;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.nwt-no-sel{opacity:0 !important;border-color:transparent !important}

/* ---- tooltip / side panel ---- */
#nwt-tip{position:fixed;z-index:2147483002;width:340px;max-width:calc(100vw - 20px);
  background:#1d2027;color:#e9ebf1;border:1px solid #2b303c;border-top:3px solid #f8c200;border-radius:14px;
  box-shadow:0 18px 48px rgba(0,0,0,.55);padding:14px 15px 12px;
  font:400 13px/1.5 "Segoe UI",Inter,system-ui,sans-serif}
#nwt-tip[hidden]{display:none}
#nwt-stage{font:800 10px/1 "Segoe UI",Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#f8c200;margin:0 0 5px}
#nwt-title{font:700 16px/1.25 "Segoe UI",Inter,sans-serif;margin:0 0 6px;color:#fff}
#nwt-text{margin:0;color:#c3c9d4}
#nwt-value{margin:9px 0 0;padding:8px 10px;border-left:3px solid #f8c200;background:rgba(248,194,0,.08);
  border-radius:0 8px 8px 0;color:#ffd84d;font-size:12px;line-height:1.45}
#nwt-value b{display:block;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:#f8c200;margin-bottom:2px}
#nwt-progress-row{display:flex;align-items:center;gap:8px;margin:11px 0 9px}
#nwt-progress-txt{font:700 10.5px/1 "Segoe UI",Inter,sans-serif;color:#9aa3b2;white-space:nowrap}
#nwt-bar{flex:1;height:5px;background:#2b303c;border-radius:99px;overflow:hidden;min-width:60px}
#nwt-bar i{display:block;height:100%;background:linear-gradient(90deg,#f8c200,#ffd84d);border-radius:99px;transition:width .25s ease}
#nwt-btns{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#nwt-tip button{min-height:44px;border-radius:9px;border:1px solid #2b303c;background:#232733;color:#e9ebf1;
  padding:9px 13px;font:700 12px/1 "Segoe UI",Inter,sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
#nwt-tip button:hover{background:#2b303c}
#nwt-tip button[disabled]{opacity:.4;cursor:not-allowed}
#nwt-tip .nwt-next{background:#f8c200;color:#16181d;border-color:#f8c200;margin-left:auto}
#nwt-tip .nwt-next:hover{background:#ffd84d}
#nwt-tip .nwt-exit{border:none;background:none;color:#9aa3b2;font-weight:600;padding:9px 8px}
#nwt-kbd{margin-top:8px;font:500 10px/1.4 "Segoe UI",Inter,sans-serif;color:#6b7382}
#nwt-kbd kbd{background:#14161c;border:1px solid #2b303c;border-bottom-width:2px;border-radius:5px;padding:1px 5px;color:#c3c9d4;font-family:inherit}
@media (max-width:700px){
  #nwt-tip{left:8px !important;right:8px !important;top:auto !important;bottom:8px;width:auto}
  #nwt-spot{transition:none}
}
@media (prefers-reduced-motion:reduce){
  #nwt-spot{transition:none}
  #nwt-badge .nwt-dot{animation:none}
  #nwt-bar i{transition:none}
  #nwt-tip{animation:none !important}
}

/* ---- tour picker ---- */
#nwt-pick{position:fixed;inset:0;z-index:2147483005;display:flex;align-items:center;justify-content:center;
  background:rgba(9,10,14,.72);padding:16px}
#nwt-pick[hidden]{display:none}
#nwt-pick .nwt-pick-card{width:430px;max-width:100%;max-height:86vh;overflow:auto;background:#1d2027;color:#e9ebf1;
  border:1px solid #2b303c;border-top:3px solid #f8c200;border-radius:16px;padding:18px;
  font:400 13px/1.5 "Segoe UI",Inter,system-ui,sans-serif;box-shadow:0 24px 64px rgba(0,0,0,.6)}
#nwt-pick h2{font:800 17px/1.2 "Segoe UI",Inter,sans-serif;margin:0 0 2px;color:#fff}
#nwt-pick p.nwt-sub{margin:0 0 12px;color:#9aa3b2;font-size:12px}
#nwt-pick .nwt-opt{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#232733;color:#e9ebf1;
  border:1px solid #2b303c;border-radius:11px;padding:11px 13px;margin-bottom:7px;cursor:pointer;min-height:44px;
  font:600 13px/1.35 "Segoe UI",Inter,sans-serif}
#nwt-pick .nwt-opt:hover{border-color:#f8c200;background:#262a34}
#nwt-pick .nwt-opt small{display:block;color:#9aa3b2;font-weight:500;font-size:11px}
#nwt-pick .nwt-opt .nwt-ic{flex:none;width:34px;height:34px;border-radius:9px;background:rgba(248,194,0,.14);color:#f8c200;
  display:grid;place-items:center;font-size:15px}
#nwt-pick .nwt-close{float:right;background:none;border:none;color:#9aa3b2;font-size:18px;cursor:pointer;min-height:44px;min-width:44px}

/* ---- completion screen ---- */
#nwt-done{position:fixed;inset:0;z-index:2147483006;display:flex;align-items:center;justify-content:center;
  background:rgba(9,10,14,.82);padding:16px}
#nwt-done[hidden]{display:none}
#nwt-done .nwt-done-card{width:470px;max-width:100%;max-height:88vh;overflow:auto;background:#1d2027;color:#e9ebf1;
  border:1px solid #2b303c;border-top:4px solid #f8c200;border-radius:18px;padding:24px;text-align:center;
  font:400 13px/1.55 "Segoe UI",Inter,system-ui,sans-serif;box-shadow:0 24px 70px rgba(0,0,0,.65)}
#nwt-done .nwt-done-ic{width:62px;height:62px;margin:0 auto 12px;border-radius:18px;background:#f8c200;color:#16181d;
  display:grid;place-items:center;font-size:28px;font-weight:800}
#nwt-done h2{font:800 21px/1.2 "Segoe UI",Inter,sans-serif;margin:0 0 4px;color:#fff}
#nwt-done p.nwt-sub{margin:0 0 14px;color:#9aa3b2}
#nwt-done .nwt-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:0 0 14px}
#nwt-done .nwt-stat{background:#232733;border:1px solid #2b303c;border-radius:11px;padding:10px 6px}
#nwt-done .nwt-stat b{display:block;font-size:19px;color:#f8c200}
#nwt-done .nwt-stat span{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#9aa3b2}
#nwt-done .nwt-mods{text-align:left;background:#171920;border:1px solid #2b303c;border-radius:11px;padding:10px 12px;
  margin:0 0 14px;color:#c3c9d4;font-size:12px}
#nwt-done .nwt-mods b{color:#ffd84d}
#nwt-done .nwt-actions{display:grid;gap:8px}
#nwt-done button,#nwt-done a{min-height:44px;border-radius:11px;border:1px solid #2b303c;background:#232733;color:#e9ebf1;
  padding:11px 14px;font:700 13px/1 "Segoe UI",Inter,sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;
  align-items:center;justify-content:center;gap:8px}
#nwt-done button:hover,#nwt-done a:hover{background:#2b303c}
#nwt-done .nwt-cta{background:#f8c200;color:#16181d;border-color:#f8c200}
#nwt-done .nwt-cta:hover{background:#ffd84d}
@media (max-width:520px){#nwt-done .nwt-stats{grid-template-columns:1fr 1fr}}
