:root {
  --iv-bg: #041426;
  --iv-bg-deep: #020d1b;
  --iv-panel: #071d31;
  --iv-panel-2: #0a243a;
  --iv-panel-soft: #0d2941;
  --iv-line: #234159;
  --iv-line-bright: #315773;
  --iv-text: #f2f7fb;
  --iv-muted: #9bb0c3;
  --iv-cyan: #12b9f4;
  --iv-cyan-2: #55d4ff;
  --iv-green: #78d64b;
  --iv-amber: #f5b72d;
  --iv-red: #ff765e;
  --iv-radius: 12px;
  --iv-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--iv-bg-deep); }
body > header,
body > .site-header,
body > footer { display: none !important; }
body > div:first-child:not(#tcFloatChat),
#tcFloatChat { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.iv-main,
.ip-main {
  min-height: 100vh;
  color: var(--iv-text);
  background:
    radial-gradient(circle at 7% 8%, rgba(16, 133, 209, .18), transparent 32%),
    radial-gradient(circle at 92% 90%, rgba(0, 128, 214, .15), transparent 34%),
    linear-gradient(145deg, #03111f 0%, #061b31 48%, #031224 100%);
  font: 500 14px/1.5 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.iv-main a,
.ip-main a { color: inherit; }
.iv-main button,
.iv-main input,
.ip-main button,
.ip-main textarea { font: inherit; }

.iv-app-header,
.ip-app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(69, 103, 129, .58);
  background: rgba(3, 17, 31, .92);
  backdrop-filter: blur(18px);
}
.iv-brand,
.ip-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 Poppins, Inter, sans-serif; letter-spacing: -.02em; }
.iv-brand img,
.ip-brand img { width: 34px; height: 34px; object-fit: contain; }
.iv-header-divider { width: 1px; height: 30px; background: var(--iv-line); }
.iv-header-section { color: var(--iv-cyan) !important; text-decoration: none; font: 800 12px/1 Inter, sans-serif; letter-spacing: .055em; }
.iv-header-search { margin-left: auto; width: min(310px, 34vw); min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--iv-line); border-radius: 8px; background: rgba(255, 255, 255, .045); color: var(--iv-muted); }
.iv-header-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--iv-text); font-size: 12px; }
.iv-header-search input::placeholder { color: #8095a8; }
.iv-header-bell { color: #cad6e1; font-size: 22px; transform: rotate(45deg); }
.iv-avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--iv-line-bright); border-radius: 50%; background: #536474; color: #fff; font-size: 11px; }

.iv-dashboard { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: clamp(42px, 7vw, 72px) 0 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px 42px; }
.iv-hero-copy { align-self: center; }
.iv-hero-copy h1 { margin: 0; max-width: 650px; color: #fff; font: 800 clamp(2.35rem, 5vw, 4.45rem)/1.08 Poppins, Inter, sans-serif; letter-spacing: -.045em; }
.iv-hero-copy > p { margin: 18px 0 26px; color: #bed0df; font-size: clamp(.95rem, 1.4vw, 1.05rem); }
.iv-hero-copy > p span { margin: 0 8px; color: var(--iv-cyan); }
.iv-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.iv-primary,
.iv-secondary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 22px; border-radius: 8px; text-decoration: none; font-weight: 800; }
.iv-primary { background: linear-gradient(180deg, #16bdf4, #058ed1); color: #fff !important; box-shadow: 0 12px 28px rgba(18, 185, 244, .22); }
.iv-secondary { border: 1px solid var(--iv-line-bright); background: rgba(5, 25, 43, .74); }
.iv-primary:hover,
.iv-primary:focus-visible { filter: brightness(1.09); }
.iv-secondary:hover,
.iv-secondary:focus-visible { border-color: var(--iv-cyan); }
.iv-track-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.iv-track-shortcuts button { min-height: 38px; padding: 0 15px; border: 1px solid var(--iv-line-bright); border-radius: 999px; background: rgba(3, 17, 31, .55); color: #b9c9d7; cursor: pointer; }
.iv-track-shortcuts button:hover,
.iv-track-shortcuts button:focus-visible { border-color: var(--iv-cyan); color: var(--iv-cyan-2); }

.iv-hero-shield { min-height: 290px; display: grid; place-items: center; position: relative; overflow: hidden; }
.iv-hero-shield::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(16, 142, 220, .11) 0 1px, transparent 1px 38px); opacity: .55; }
.iv-hero-shield::after { content: ""; width: 220px; height: 250px; border: 3px solid rgba(18, 185, 244, .4); clip-path: polygon(50% 0, 94% 18%, 86% 72%, 50% 100%, 14% 72%, 6% 18%); background: linear-gradient(180deg, rgba(18, 185, 244, .11), rgba(18, 185, 244, .02)); box-shadow: inset 0 0 60px rgba(18, 185, 244, .12); }
.iv-shield-lock { position: absolute; z-index: 2; width: 64px; height: 58px; margin-top: 22px; border-radius: 8px; background: rgba(18, 185, 244, .34); box-shadow: 0 0 34px rgba(18, 185, 244, .18); }
.iv-shield-lock::before { content: ""; position: absolute; left: 13px; top: -36px; width: 34px; height: 42px; border: 7px solid rgba(18, 185, 244, .38); border-bottom: 0; border-radius: 22px 22px 0 0; }
.iv-shield-lock::after { content: ""; position: absolute; left: 28px; top: 20px; width: 8px; height: 20px; border-radius: 5px; background: #05182a; }

.iv-featured { grid-column: 1 / -1; min-width: 0; padding: 20px; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: rgba(5, 23, 39, .78); box-shadow: var(--iv-shadow); }
.iv-section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.iv-section-title h2 { margin: 0; font: 800 16px/1.2 Poppins, Inter, sans-serif; }
.iv-section-title a { color: var(--iv-muted); text-decoration: none; font-size: 12px; }
.iv-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.iv-feature-card { min-height: 230px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--iv-line); border-radius: 10px; background: linear-gradient(180deg, rgba(13, 41, 65, .82), rgba(6, 26, 43, .78)); color: #fff !important; text-decoration: none; transition: border-color .2s, transform .2s; }
.iv-feature-card:hover { border-color: #3e6d8d; transform: translateY(-2px); }
.iv-feature-heading { display: flex; align-items: center; gap: 12px; }
.iv-feature-heading strong,
.iv-feature-heading small { display: block; }
.iv-feature-heading strong { font: 800 15px/1.25 Poppins, Inter, sans-serif; }
.iv-feature-heading small { margin-top: 3px; color: var(--iv-muted); font-size: 11px; }
.iv-vendor-mark { width: 34px; height: 34px; display: inline-block; position: relative; flex: 0 0 auto; }
.iv-vendor-mark.paloalto { background: #ff5b20; clip-path: polygon(0 48%, 50% 0, 68% 18%, 45% 41%, 100% 41%, 52% 100%, 34% 82%, 54% 57%, 0 57%); }
.iv-vendor-mark.fortigate { background: repeating-linear-gradient(90deg, #e74932 0 7px, transparent 7px 11px); border-radius: 4px; }
.iv-vendor-mark.checkpoint { border-radius: 50% 50% 46% 54%; background: radial-gradient(circle at 70% 22%, #fff 0 5px, transparent 6px), conic-gradient(from 30deg, #f88bc1, #9b5bf6, #f45c83, #f88bc1); }
.iv-card-status { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; }
.iv-progress-ring { --value: calc(var(--progress) * 1%); width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--iv-cyan) var(--value), #445565 var(--value)); position: relative; }
.iv-progress-ring::after { content: ""; position: absolute; inset: 7px; border-radius: inherit; background: #0a2237; }
.iv-progress-ring b { position: relative; z-index: 1; font-size: 12px; }
.iv-level { padding: 7px 10px; border: 1px solid rgba(245, 183, 45, .45); border-radius: 6px; background: rgba(245, 183, 45, .12); color: var(--iv-amber); font-size: 11px; }
.iv-continue { margin-top: auto; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid #39739c; border-radius: 7px; font-weight: 700; }

.iv-progress-strip { grid-column: 1 / -1; min-height: 92px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); align-items: center; border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: rgba(5, 23, 39, .78); overflow: hidden; }
.iv-progress-strip > div { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--iv-line); }
.iv-progress-strip .iv-progress-title { flex-direction: row; gap: 14px; border-left: 0; font: 700 18px/1.2 Poppins, Inter, sans-serif; }
.iv-progress-title > span { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--iv-cyan); border-radius: 50%; color: var(--iv-cyan); }
.iv-progress-strip strong { font-size: 20px; }
.iv-progress-strip span { color: var(--iv-muted); font-size: 11px; }

.iv-library { padding: 48px 0 80px; border-top: 1px solid rgba(53, 85, 109, .4); background: rgba(2, 12, 23, .62); }
.iv-inner { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.iv-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 14px; }
.iv-library-heading h2 { margin: 0; font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.15 Poppins, Inter, sans-serif; }
.iv-library-heading p { margin: 8px 0 0; color: var(--iv-muted); }
.iv-search { width: min(410px, 42vw); }
.iv-search input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--iv-line); border-radius: 8px; background: var(--iv-panel); color: #fff; outline: 0; }
.iv-search input:focus { border-color: var(--iv-cyan); box-shadow: 0 0 0 3px rgba(18, 185, 244, .13); }
.iv-chips { display: flex; gap: 8px; overflow: auto; padding: 16px 0 24px; scrollbar-width: thin; }
.iv-chip { flex: 0 0 auto; min-height: 38px; padding: 0 12px; border: 1px solid var(--iv-line); border-radius: 999px; background: var(--iv-panel); color: #b8c9d7; cursor: pointer; }
.iv-chip span { margin-left: 4px; color: #7e94a7; }
.iv-chip:hover,
.iv-chip.is-active { border-color: var(--accent, var(--iv-cyan)); color: #fff; box-shadow: inset 0 0 0 1px var(--accent, var(--iv-cyan)); }
.iv-section { margin: 0 0 42px; scroll-margin-top: 90px; }
.iv-section h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #fff; font: 800 20px/1.2 Poppins, Inter, sans-serif; }
.iv-section h2 span { padding: 4px 8px; border-radius: 999px; background: var(--iv-panel-soft); color: var(--iv-muted); font: 700 11px/1 Inter, sans-serif; }
.iv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.iv-card { min-height: 180px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--iv-line); border-top: 3px solid var(--accent); border-radius: 10px; background: linear-gradient(180deg, rgba(12, 38, 61, .88), rgba(5, 24, 41, .92)); color: #fff !important; text-decoration: none; transition: transform .18s, border-color .18s; }
.iv-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.iv-card h3 { margin: 0 0 8px; font: 800 16px/1.3 Poppins, Inter, sans-serif; }
.iv-card p { margin: 0 0 18px; color: #9db0c0; font-size: 13px; }
.iv-open { margin-top: auto; color: var(--iv-cyan-2); font-size: 12px; font-weight: 800; }
.iv-empty { display: none; padding: 22px; border: 1px solid var(--iv-line); border-radius: 9px; background: var(--iv-panel); }

/* Practice screen */
.ip-app-header { justify-content: space-between; }
.ip-header-actions { display: flex; align-items: center; gap: 12px; }
.ip-header-actions a { text-decoration: none; color: var(--iv-muted); font-weight: 700; }
.ip-header-actions a:hover { color: var(--iv-cyan); }
.ip-shell { width: min(1500px, calc(100% - 34px)); margin: 0 auto; padding: 18px 0 34px; }
.ip-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--iv-muted); font-size: 12px; }
.ip-breadcrumb a { text-decoration: none; }
.ip-breadcrumb strong { color: var(--iv-cyan-2); }
.ip-progress { min-height: 52px; display: grid; grid-template-columns: auto minmax(140px, 1fr) auto; align-items: center; gap: 18px; padding: 0 18px; border: 1px solid var(--iv-line); border-radius: 9px; background: rgba(8, 31, 50, .84); }
.ip-progress span { font-size: 12px; }
.ip-progress-track { height: 5px; border-radius: 999px; background: #42586a; overflow: hidden; }
.ip-progress-track i { display: block; width: 1.25%; height: 100%; border-radius: inherit; background: var(--iv-cyan); transition: width .25s ease; }
.ip-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr) 230px; gap: 14px; margin-top: 14px; align-items: stretch; }
.ip-panel { border: 1px solid var(--iv-line); border-radius: 10px; background: rgba(7, 29, 49, .88); }
.ip-map { padding: 14px; }
.ip-panel-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; color: #b7c7d4; font: 800 11px/1 Inter, sans-serif; letter-spacing: .08em; }
.ip-question-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.ip-question-grid button { aspect-ratio: 1; min-width: 0; display: grid; place-items: center; border: 1px solid var(--iv-line-bright); border-radius: 50%; background: #10283c; color: #d4e0e9; font-size: 10px; cursor: pointer; }
.ip-question-grid button:hover { border-color: var(--iv-cyan); }
.ip-question-grid button.is-current { border-color: var(--iv-cyan); background: #075d8a; box-shadow: 0 0 0 2px rgba(18, 185, 244, .18); }
.ip-question-grid button.is-mastered { border-color: #54ac3d; background: #2f742b; }
.ip-question-grid button.is-review { border-color: var(--iv-amber); color: var(--iv-amber); }
.ip-map-filters { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--iv-line); }
.ip-map-filters button { width: 100%; display: flex; justify-content: space-between; padding: 8px 5px; border: 0; background: transparent; color: #b9c9d7; font-size: 11px; cursor: pointer; }
.ip-map-filters button.is-active { color: #fff; }
.ip-map-filters i { width: 8px; height: 8px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--filter-color, var(--iv-cyan)); }
.ip-question { min-width: 0; padding: 18px; }
.ip-question-head h1 { margin: 0 0 10px; color: #fff; font: 800 clamp(1.35rem, 2.6vw, 2rem)/1.2 Poppins, Inter, sans-serif; letter-spacing: -.025em; }
.ip-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.ip-tag { padding: 4px 8px; border: 1px solid var(--iv-line-bright); border-radius: 6px; background: #0b2941; color: var(--iv-cyan-2); font-size: 10px; text-transform: capitalize; }
.ip-tag.difficulty { color: var(--iv-amber); border-color: rgba(245, 183, 45, .34); background: rgba(245, 183, 45, .1); }
.ip-accordions { margin-top: 16px; display: grid; gap: 8px; }
.ip-accordion { border: 1px solid var(--iv-line); border-radius: 8px; overflow: hidden; background: rgba(4, 22, 38, .62); }
.ip-accordion > button { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 0; background: transparent; color: var(--iv-cyan-2); text-align: left; font: 800 11px/1 Inter, sans-serif; letter-spacing: .04em; cursor: pointer; }
.ip-accordion > button svg { width: 15px; height: 15px; transition: transform .2s; }
.ip-accordion.is-open > button svg { transform: rotate(180deg); }
.ip-accordion-content { display: none; padding: 0 14px 16px; color: #d1dde7; font-size: 13px; }
.ip-accordion.is-open .ip-accordion-content { display: block; }
.ip-accordion-content p { margin: 0 0 10px; }
.ip-accordion-content ul,
.ip-accordion-content ol { margin: 8px 0; padding-left: 20px; }
.ip-accordion-content pre { overflow: auto; padding: 12px; border-radius: 7px; background: #020d17; color: #cae8f5; font: 500 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ip-accordion-content img { display: block; max-width: 100%; height: auto; margin: 12px 0; border-radius: 8px; }
.ip-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 15px; padding: 16px 10px; border: 1px solid var(--iv-line); border-radius: 8px; background: rgba(7, 27, 45, .75); }
.ip-flow span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; color: #aec0ce; font-size: 10px; }
.ip-flow span:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 12px; color: #dce8ef; font-size: 17px; }
.ip-flow i { width: 31px; height: 31px; display: grid; place-items: center; border: 2px solid #c4d5df; border-radius: 7px; color: #fff; font-style: normal; }
.ip-coach { padding: 14px; }
.ip-coach-score { margin-bottom: 14px; padding: 16px 8px; border: 1px solid var(--iv-line); border-radius: 8px; text-align: center; }
.ip-score-ring { --score: 0; width: 112px; height: 112px; margin: 12px auto; display: grid; place-items: center; position: relative; border-radius: 50%; background: conic-gradient(var(--iv-green) calc(var(--score) * 1%), #29475a 0); }
.ip-score-ring::after { content: ""; position: absolute; inset: 9px; border-radius: inherit; background: #0a2338; }
.ip-score-ring strong { position: relative; z-index: 1; font-size: 23px; }
.ip-coach-list { display: grid; gap: 10px; margin: 14px 0 18px; }
.ip-coach-list span { display: flex; align-items: center; gap: 8px; color: #c4d2dd; font-size: 11px; }
.ip-coach-list i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #458b36; color: #fff; font-style: normal; }
.ip-coach button { width: 100%; min-height: 44px; margin-top: 8px; border: 1px solid var(--iv-line-bright); border-radius: 7px; background: transparent; color: #fff; cursor: pointer; }
.ip-coach button.ip-practice-aloud { border-color: var(--iv-cyan); background: linear-gradient(180deg, #18bdf3, #088ecf); font-weight: 800; }
.ip-coach button.is-active { border-color: var(--iv-amber); color: var(--iv-amber); }
.ip-transcript { display: none; width: 100%; min-height: 105px; margin-top: 8px; padding: 10px; border: 1px solid var(--iv-line); border-radius: 7px; resize: vertical; background: #041524; color: #fff; font-size: 12px; }
.ip-transcript.is-visible { display: block; }
.ip-bottom-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 14px; }
.ip-bottom-nav button { min-height: 52px; border: 1px solid var(--iv-line-bright); border-radius: 8px; background: rgba(7, 29, 49, .9); color: #fff; cursor: pointer; }
.ip-bottom-nav button:last-child { border-color: var(--iv-cyan); background: linear-gradient(180deg, #18bdf3, #088ecf); font-weight: 800; }
.ip-loading,
.ip-error { min-height: 55vh; display: grid; place-items: center; color: var(--iv-muted); text-align: center; }
.ip-error strong { display: block; color: #fff; margin-bottom: 8px; }

@media (max-width: 980px) {
  .iv-dashboard { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .iv-hero-shield { position: absolute; right: 5vw; top: 90px; width: 36vw; min-height: 250px; opacity: .34; pointer-events: none; }
  .iv-hero-copy { position: relative; z-index: 1; }
  .iv-feature-grid,
  .iv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .ip-coach { grid-column: 1 / -1; display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
  .ip-coach .ip-panel-title { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .iv-app-header { gap: 10px; min-height: 62px; padding: 0 14px; }
  .iv-header-divider,
  .iv-header-bell { display: none; }
  .iv-brand span { font-size: 15px; }
  .iv-header-search { width: auto; flex: 1; }
  .iv-dashboard { width: min(100% - 28px, 1180px); padding-top: 38px; }
  .iv-hero-copy h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .iv-hero-copy > p { white-space: normal !important; overflow-wrap: anywhere; }
  .iv-hero-shield { display: none; }
  .iv-feature-grid,
  .iv-grid { grid-template-columns: minmax(0, 1fr); }
  .iv-feature-card { min-width: 0; }
  .iv-card-status { gap: 10px; }
  .iv-progress-strip { grid-template-columns: 1fr 1fr 1fr; }
  .iv-progress-strip .iv-progress-title { grid-column: 1 / -1; border-bottom: 1px solid var(--iv-line); }
  .iv-progress-strip > div:nth-child(2) { border-left: 0; }
  .iv-library-heading { align-items: stretch; flex-direction: column; }
  .iv-search { width: 100%; }
  .ip-main { max-width: 100%; overflow-x: hidden; }
  .ip-shell { width: calc(100% - 20px); max-width: 100%; min-width: 0; }
  .ip-app-header { padding: 0 12px; }
  .ip-header-actions a:first-child { display: none; }
  .ip-progress { grid-template-columns: 1fr auto; padding: 10px 12px; }
  .ip-progress-track { grid-column: 1 / -1; grid-row: 2; }
  .ip-layout,
  .ip-map,
  .ip-question,
  .ip-coach,
  .ip-bottom-nav { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .ip-layout { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
  .ip-map { max-height: 260px; overflow: auto hidden; }
  .ip-question-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ip-question-grid,
  .ip-question-head,
  .ip-tags,
  .ip-accordions,
  .ip-accordion,
  .ip-accordion-content { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .ip-question-grid { overflow: hidden; }
  .ip-question-grid button { width: 100%; max-width: 100%; min-width: 0 !important; padding: 0; }
  .ip-question { overflow: hidden; }
  .ip-question-head h1,
  .ip-accordion-content,
  .ip-accordion-content * { max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; word-break: break-word; }
  .ip-coach { grid-column: auto; display: block; }
  .ip-bottom-nav { grid-template-columns: 1fr 1fr; }
  .ip-bottom-nav button:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .ip-flow { gap: 8px; }
  .ip-flow span:not(:last-child)::after { right: -8px; }
}

@media (max-width: 430px) {
  .iv-header-section { font-size: 10px; }
  .iv-header-search { display: none; }
  .iv-track-shortcuts { flex-wrap: nowrap; overflow: auto; }
  .iv-track-shortcuts button { flex: 0 0 auto; }
  .iv-progress-strip { grid-template-columns: 1fr; }
  .iv-progress-strip > div { border-left: 0; border-top: 1px solid var(--iv-line); }
  .iv-progress-strip .iv-progress-title { border-top: 0; }
  .ip-question { padding: 12px; }
  .ip-question-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ip-flow { grid-template-columns: 1fr; }
  .ip-flow span { flex-direction: row; text-align: left; }
  .ip-flow span:not(:last-child)::after { content: "↓"; right: auto; left: 12px; top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Authenticated Techclick interview experience — 2026-07-23 */
:root {
  --iv-bg: #080d13;
  --iv-bg-deep: #05080c;
  --iv-panel: #0b121a;
  --iv-panel-2: #0e1822;
  --iv-panel-soft: #111e29;
  --iv-line: rgba(118, 146, 169, .24);
  --iv-line-bright: rgba(136, 166, 189, .42);
  --iv-text: #f7f9fb;
  --iv-muted: #93a4b4;
  --iv-cyan: #4ec5c1;
  --iv-cyan-2: #73d9d4;
  --iv-orange: #ff7a32;
  --iv-orange-2: #ff9a58;
  --iv-green: #6fd09b;
  --iv-amber: #ff9a44;
  --iv-radius: 14px;
  --iv-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

body {
  color: var(--iv-text);
  background: var(--iv-bg-deep);
}

.iv-main,
.ip-main {
  color: var(--iv-text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 19%, rgba(21, 91, 108, .12), transparent 28%),
    radial-gradient(circle at 7% 12%, rgba(255, 122, 50, .055), transparent 24%),
    linear-gradient(150deg, #05090e 0%, #090f16 48%, #060b11 100%);
}

.iv-app-header,
.ip-app-header {
  min-height: 78px;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 clamp(20px, 3.3vw, 58px);
  border-bottom: 1px solid rgba(125, 151, 171, .19);
  background: rgba(5, 9, 14, .94);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}

.iv-mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  background: #0b121a;
  color: #f4f7f9;
  cursor: pointer;
}

.iv-mobile-menu svg,
.iv-header-nav svg,
.iv-header-search svg,
.iv-account-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iv-mobile-menu svg { width: 23px; height: 23px; }

.iv-brand,
.ip-brand {
  flex: 0 0 auto;
  gap: 0;
}

.iv-brand-logo {
  position: relative;
  width: 132px;
  height: 44px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.iv-brand-logo img {
  position: absolute;
  left: -5px;
  top: -18px;
  width: 142px !important;
  height: auto !important;
  max-width: none;
}

.iv-header-divider {
  height: 32px;
  background: rgba(128, 154, 174, .24);
}

.iv-header-section {
  flex: 0 0 auto;
  color: var(--iv-orange-2) !important;
  font: 800 13px/1 Inter, sans-serif;
  letter-spacing: .01em;
  text-transform: none;
}

.iv-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.iv-header-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-radius: 9px;
  color: #acbac7 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.iv-header-nav a:hover,
.iv-header-nav a:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .045);
}

.iv-header-nav a.is-active {
  color: var(--iv-orange-2) !important;
}

.iv-header-nav svg { width: 18px; height: 18px; }

.iv-header-search {
  width: min(390px, 27vw);
  min-height: 44px;
  margin-left: auto;
  padding: 0 11px 0 13px;
  border-color: rgba(117, 145, 166, .3);
  border-radius: 10px;
  background: #0b121a;
}

.iv-header-search:focus-within {
  border-color: rgba(78, 197, 193, .72);
  box-shadow: 0 0 0 3px rgba(78, 197, 193, .11);
}

.iv-header-search svg {
  width: 17px;
  height: 17px;
  color: #8293a3;
  flex: 0 0 auto;
}

.iv-header-search input { font-size: 12px; }

.iv-header-search kbd {
  min-width: 36px;
  padding: 4px 6px;
  border: 1px solid rgba(133, 158, 177, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #768999;
  font: 700 10px/1 Inter, sans-serif;
  text-align: center;
}

.iv-account {
  position: relative;
  flex: 0 0 auto;
}

.ip-app-header .iv-account { margin-left: auto; }

.iv-account-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(124, 151, 172, .3);
  border-radius: 11px;
  background: #0b121a;
  color: #f4f7f9;
  cursor: pointer;
}

.iv-account-button:hover,
.iv-account-button:focus-visible,
.iv-account.is-open .iv-account-button {
  border-color: rgba(255, 122, 50, .66);
  background: #101820;
}

.iv-avatar {
  width: 34px;
  height: 34px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 50, .32);
  border-radius: 50%;
  background: linear-gradient(145deg, #202b35, #111820);
  color: var(--iv-orange-2);
  font-size: 12px;
  font-weight: 800;
}

.iv-avatar img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iv-avatar > span { grid-area: 1 / 1; }
.iv-account-name { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.iv-account-chevron { width: 16px; height: 16px; color: #9baab7; transition: transform .18s ease; }
.iv-account.is-open .iv-account-chevron { transform: rotate(180deg); }

.iv-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: min(290px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid rgba(131, 157, 176, .28);
  border-radius: 13px;
  background: #0b1118;
  box-shadow: 0 24px 68px rgba(0, 0, 0, .54);
}

.iv-account-summary {
  display: grid;
  gap: 3px;
  margin-bottom: 6px;
  padding: 10px 11px 12px;
  border-bottom: 1px solid rgba(124, 149, 168, .15);
}

.iv-account-summary strong,
.iv-account-summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iv-account-summary strong { font-size: 13px; }
.iv-account-summary span { color: var(--iv-muted); font-size: 11px; }

.iv-account-menu a,
.iv-account-menu button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d9e1e7 !important;
  text-decoration: none;
  text-align: left;
  font: 700 12px/1 Inter, sans-serif;
  cursor: pointer;
}

.iv-account-menu a:hover,
.iv-account-menu a:focus-visible,
.iv-account-menu button:hover,
.iv-account-menu button:focus-visible {
  background: rgba(78, 197, 193, .09);
  color: #fff !important;
}

.iv-account-menu button {
  margin-top: 5px;
  border-top: 1px solid rgba(124, 149, 168, .12);
  color: #ff8f78 !important;
}

.iv-dashboard {
  width: min(1290px, calc(100% - 48px));
  padding: clamp(58px, 6vw, 86px) 0 54px;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px 56px;
}

.iv-hero-copy h1 {
  max-width: 690px;
  font-size: clamp(2.65rem, 4.8vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -.052em;
}

.iv-hero-copy > p {
  margin: 24px 0 28px;
  color: #a9b8c5;
}

.iv-hero-copy > p span { color: var(--iv-cyan); }

.iv-primary,
.iv-secondary {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 9px;
}

.iv-primary {
  background: linear-gradient(135deg, var(--iv-orange-2), var(--iv-orange));
  box-shadow: 0 15px 34px rgba(255, 122, 50, .2);
}

.iv-secondary {
  border-color: rgba(127, 155, 177, .38);
  background: #0a1118;
}

.iv-secondary:hover,
.iv-secondary:focus-visible { border-color: var(--iv-orange); }

.iv-track-shortcuts { margin-top: 28px; }

.iv-track-shortcuts button {
  min-height: 40px;
  border-color: rgba(124, 151, 172, .36);
  background: rgba(8, 14, 20, .84);
}

.iv-track-shortcuts button:hover,
.iv-track-shortcuts button:focus-visible {
  border-color: var(--iv-cyan);
  color: var(--iv-cyan-2);
}

.iv-hero-shield { min-height: 320px; }

.iv-hero-shield::before {
  width: 92%;
  background:
    radial-gradient(circle at center, rgba(78, 197, 193, .1), transparent 38%),
    repeating-radial-gradient(circle, rgba(78, 197, 193, .1) 0 1px, transparent 1px 42px);
}

.iv-hero-shield::after {
  width: 230px;
  height: 265px;
  border-color: rgba(255, 122, 50, .78);
  background: linear-gradient(180deg, rgba(27, 42, 53, .9), rgba(10, 18, 25, .68));
  box-shadow: inset 0 0 70px rgba(78, 197, 193, .08), 0 0 50px rgba(255, 122, 50, .05);
}

.iv-shield-lock {
  background: rgba(78, 197, 193, .23);
  border: 1px solid rgba(78, 197, 193, .48);
  box-shadow: 0 0 34px rgba(78, 197, 193, .16);
}

.iv-shield-lock::before { border-color: rgba(78, 197, 193, .64); }
.iv-shield-lock::after { background: #071118; }

.iv-featured,
.iv-progress-strip {
  border-color: rgba(121, 149, 169, .23);
  background: rgba(8, 14, 20, .82);
}

.iv-featured { padding: 20px; }
.iv-section-title a { color: var(--iv-orange-2); }

.iv-feature-card {
  min-height: 224px;
  border-color: rgba(123, 151, 172, .25);
  background: linear-gradient(155deg, rgba(16, 26, 35, .96), rgba(8, 14, 20, .96));
}

.iv-feature-card:hover {
  border-color: rgba(255, 122, 50, .68);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.iv-progress-ring { background: conic-gradient(var(--iv-cyan) var(--value), #34424d var(--value)); }
.iv-progress-ring::after { background: #0c151d; }
.iv-level { border-color: rgba(255, 122, 50, .48); background: rgba(255, 122, 50, .08); color: var(--iv-orange-2); }
.iv-continue { border-color: rgba(121, 151, 173, .37); }
.iv-feature-card:hover .iv-continue { border-color: var(--iv-orange); }
.iv-feature-card:hover .iv-continue span { color: var(--iv-orange-2); }

.iv-progress-title > span {
  border-color: var(--iv-cyan);
  color: var(--iv-cyan);
}

.iv-library {
  border-top-color: rgba(120, 149, 170, .19);
  background: rgba(4, 8, 12, .62);
}

.iv-inner { width: min(1290px, calc(100% - 48px)); }

.iv-search input,
.iv-chip {
  border-color: rgba(123, 151, 171, .25);
  background: #0b121a;
}

.iv-search input:focus {
  border-color: var(--iv-cyan);
  box-shadow: 0 0 0 3px rgba(78, 197, 193, .11);
}

.iv-card {
  border-color: rgba(121, 149, 169, .24);
  border-top-color: var(--accent);
  background: linear-gradient(150deg, rgba(15, 25, 34, .96), rgba(7, 13, 19, .96));
}

.iv-card p { color: #9aabb9; }
.iv-open { color: var(--iv-cyan-2); }

/* Keep the practice tool in the same authenticated product family. */
.ip-panel,
.ip-progress,
.ip-bottom-nav button {
  border-color: rgba(121, 149, 169, .24);
  background: rgba(10, 18, 25, .94);
}

.ip-question-grid button { background: #111d27; }
.ip-question-grid button.is-current { background: #236b6c; border-color: var(--iv-cyan); }
.ip-tag { background: rgba(78, 197, 193, .08); color: var(--iv-cyan-2); }
.ip-accordion { background: rgba(6, 12, 17, .68); }
.ip-accordion-content pre { background: #04070a; }
.ip-score-ring::after { background: #0b141b; }
.ip-coach button.ip-practice-aloud,
.ip-bottom-nav button:last-child {
  border-color: var(--iv-orange);
  background: linear-gradient(135deg, var(--iv-orange-2), var(--iv-orange));
}

@media (max-width: 1180px) {
  .iv-header-nav a { padding: 0 8px; }
  .iv-header-nav a span { display: none; }
  .iv-header-nav svg { width: 20px; height: 20px; }
  .iv-header-search { width: min(360px, 32vw); }
}

@media (max-width: 820px) {
  .iv-app-header,
  .ip-app-header {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .iv-mobile-menu { display: inline-flex; }
  .iv-brand-logo { width: 106px; height: 40px; }
  .iv-brand-logo img { left: -5px; top: -15px; width: 116px !important; }
  .iv-header-divider { display: block; height: 28px; }
  .iv-header-section { font-size: 12px; }

  .iv-header-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    z-index: 75;
    width: min(280px, calc(100vw - 32px));
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--iv-line);
    border-radius: 12px;
    background: #0b1118;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .48);
  }

  .iv-header-nav.is-open { display: flex; }
  .iv-header-nav a { justify-content: flex-start; padding: 0 12px; }
  .iv-header-nav a span { display: inline; }

  .iv-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
  }

  .iv-app-header:has(.iv-header-search) { min-height: 128px; }
  .iv-account { justify-self: end; }

  .iv-dashboard {
    width: min(100% - 32px, 1290px);
    padding-top: 48px;
    grid-template-columns: minmax(0, 1fr);
  }

  .iv-hero-shield {
    display: grid;
    top: 146px;
    right: -6vw;
    width: 48vw;
    opacity: .42;
  }

  .iv-hero-copy h1 {
    max-width: 78vw;
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .iv-feature-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 76vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .iv-feature-card { scroll-snap-align: start; }
  .iv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iv-inner { width: min(100% - 32px, 1290px); }
}

@media (max-width: 560px) {
  .iv-app-header,
  .ip-app-header {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    padding-inline: 12px;
  }

  .iv-brand-logo { width: 86px; height: 36px; }
  .iv-brand-logo img { left: -4px; top: -12px; width: 95px !important; }
  .iv-header-divider { display: none; }
  .iv-header-section { font-size: 11px; }
  .iv-account-button { padding-right: 6px; }
  .iv-account-name,
  .iv-account-chevron { display: none; }
  .iv-avatar { width: 34px; height: 34px; }
  .iv-header-search kbd { display: none; }
  .iv-header-search { display: flex; }

  .iv-dashboard {
    width: calc(100% - 28px);
    padding-top: 42px;
    gap: 30px;
  }

  .iv-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12.2vw, 3.45rem) !important;
    line-height: 1.03 !important;
  }

  .iv-hero-copy > p {
    max-width: 94%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 22px 0 26px;
    font-size: .92rem;
  }

  .iv-hero-copy > p span { margin-inline: 8px; }
  .iv-hero-shield { top: 164px; right: 0; width: 52vw; opacity: .2; }
  .iv-hero-actions { flex-wrap: nowrap; }
  .iv-primary,
  .iv-secondary { flex: 1 1 0; min-width: 0; padding-inline: 12px; font-size: 13px; }
  .iv-track-shortcuts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .iv-featured { padding: 16px 0 16px 14px; overflow: hidden; }
  .iv-section-title { padding-right: 14px; }
  .iv-feature-grid { grid-auto-columns: minmax(245px, 82vw); padding-right: 14px; }
  .iv-feature-card { min-height: 238px; }
  .iv-progress-strip { grid-template-columns: repeat(3, 1fr); }
  .iv-progress-strip .iv-progress-title { grid-column: 1 / -1; }
  .iv-progress-strip > div { border-top: 0; border-left: 1px solid var(--iv-line); }
  .iv-progress-strip > div:nth-child(2) { border-left: 0; }
  .iv-library-heading { align-items: stretch; flex-direction: column; }
  .iv-search { width: 100%; }
  .iv-grid { grid-template-columns: minmax(0, 1fr); }
  .iv-inner { width: calc(100% - 28px); }

  .ip-app-header .iv-header-section { display: none; }
  .ip-app-header .iv-header-divider { display: none; }
}
