:root{
  --ezqb-bg:#f6f8fb;
  --ezqb-card:#ffffff;
  --ezqb-ink:#0f172a;
  --ezqb-muted:#667085;
  --ezqb-line:#e7ebf1;
  --ezqb-blue:#1267f6;
  --ezqb-blue-dark:#0f57d5;
  --ezqb-blue-soft:#eef5ff;
  --ezqb-navy:#0b1730;
  --ezqb-green:#159b62;
  --ezqb-green-soft:#edf9f3;
  --ezqb-red:#dc4d5d;
  --ezqb-red-soft:#fff0f2;
  --ezqb-amber:#bd7a11;
  --ezqb-shadow:0 10px 30px rgba(15,23,42,.055);
}

body.ezmedqbank-page{background:var(--ezqb-bg)!important}
body.ezmedqbank-page main{padding-top:0!important}
.ezqb-app{max-width:1380px;margin:0 auto;padding:16px 14px 40px 218px;position:relative;color:var(--ezqb-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;min-height:70vh}
.ezqb-app *{box-sizing:border-box}
.ezqb-app button,.ezqb-app input,.ezqb-app select,.ezqb-app textarea{font:inherit}
.ezqb-app button{cursor:pointer}

/* top */
.ezqb-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.ezqb-brandbutton{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:10px;text-align:left;color:var(--ezqb-ink)}
.ezqb-logo{width:40px;height:40px;border-radius:13px;background:var(--ezqb-navy);color:#fff;display:grid;place-items:center;font-size:19px;font-weight:900;box-shadow:0 7px 18px rgba(11,23,48,.15)}
.ezqb-brandtext{font-size:15px;font-weight:900;letter-spacing:-.25px}
.ezqb-brandtext small{display:block;margin-top:1px;color:var(--ezqb-muted);font-size:9px;font-weight:650;letter-spacing:.1px}
.ezqb-top-actions{display:flex;align-items:center;gap:8px}
.ezqb-user{font-size:11px;color:var(--ezqb-muted);padding:8px 10px;border:1px solid var(--ezqb-line);border-radius:999px;background:#fff}
.ezqb-iconbtn{width:38px;height:38px;border:1px solid var(--ezqb-line);border-radius:12px;background:#fff;color:var(--ezqb-muted);display:grid;place-items:center;font-weight:800}
.ezqb-iconbtn:hover{border-color:#c9d6ea;color:var(--ezqb-blue)}

/* general */
.ezqb-card{background:var(--ezqb-card);border:1px solid var(--ezqb-line);border-radius:20px;box-shadow:var(--ezqb-shadow)}
.ezqb-kicker{display:block;font-size:9px;color:var(--ezqb-muted);font-weight:850;letter-spacing:.72px;text-transform:uppercase}
.ezqb-btn{border:0;min-height:43px;padding:0 14px;border-radius:13px;background:var(--ezqb-blue);color:#fff;font-size:11px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none!important;transition:.14s ease}
.ezqb-btn:hover{background:var(--ezqb-blue-dark);color:#fff;transform:translateY(-1px)}
.ezqb-btn.dark{background:var(--ezqb-navy)}
.ezqb-btn.ghost{background:#fff;color:var(--ezqb-ink);border:1px solid var(--ezqb-line)}
.ezqb-btn.ghost:hover{background:#fafbfc;color:var(--ezqb-ink)}
.ezqb-btn.soft{background:var(--ezqb-blue-soft);color:var(--ezqb-blue);border:1px solid #d7e7ff}
.ezqb-btn.soft:hover{background:#e5f0ff;color:var(--ezqb-blue)}
.ezqb-btn.danger{background:var(--ezqb-red-soft);color:var(--ezqb-red);border:1px solid #ffd2d8}
.ezqb-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.ezqb-message{padding:11px 12px;border-radius:12px;font-size:11px;margin:10px 0}
.ezqb-message.error{background:var(--ezqb-red-soft);color:var(--ezqb-red)}
.ezqb-message.ok{background:var(--ezqb-green-soft);color:var(--ezqb-green)}
.ezqb-help{display:block;color:var(--ezqb-muted);font-size:9px;line-height:1.45;margin-top:6px}
.ezqb-help.center{text-align:center}

/* dashboard */
.ezqb-dashboard{display:grid;gap:14px}
.ezqb-welcome{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:6px 2px 2px}
.ezqb-welcome h1{margin:3px 0 4px;font-size:30px;letter-spacing:-.9px;line-height:1.05}
.ezqb-welcome p{margin:0;color:var(--ezqb-muted);font-size:12px}
.ezqb-overall{text-align:right}
.ezqb-overall strong{display:block;font-size:30px;letter-spacing:-.7px}
.ezqb-overall span{display:block;color:var(--ezqb-muted);font-size:9px;margin-top:1px}
.ezqb-overview-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:#fff;border:1px solid var(--ezqb-line);border-radius:16px;padding:8px;box-shadow:var(--ezqb-shadow)}
.ezqb-overview-strip>div{padding:10px 12px;border-right:1px solid #f0f2f5}
.ezqb-overview-strip>div:last-child{border-right:0}
.ezqb-overview-strip b{display:block;font-size:16px}
.ezqb-overview-strip span{display:block;color:var(--ezqb-muted);font-size:8px;margin-top:2px}
.ezqb-continue{padding:16px 17px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-color:#d8e5f8}
.ezqb-continue-main{min-width:0;flex:1}
.ezqb-continue h3{margin:3px 0 4px;font-size:15px}
.ezqb-continue p{margin:0;color:var(--ezqb-muted);font-size:10px}
.ezqb-mini-progress{height:6px;background:#eef1f5;border-radius:999px;overflow:hidden;margin-top:10px;max-width:520px}
.ezqb-mini-progress span{display:block;height:100%;background:var(--ezqb-blue);border-radius:999px}
.ezqb-continue .ezqb-btn{min-width:115px}
.ezqb-sectionhead{display:flex;justify-content:space-between;align-items:end;margin:7px 2px 0}
.ezqb-sectionhead h2{margin:0;font-size:15px;letter-spacing:-.2px}
.ezqb-sectionhead span{font-size:9px;color:var(--ezqb-muted)}
.ezqb-stepsgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ezqb-step{padding:17px}
.ezqb-stephead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.ezqb-stephead h3{margin:3px 0 0;font-size:18px}
.ezqb-count{font-size:9px;color:var(--ezqb-muted);white-space:nowrap}
.ezqb-progress{height:7px;background:#eef1f5;border-radius:999px;overflow:hidden;margin:14px 0 12px}
.ezqb-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--ezqb-blue),#4d8fff);border-radius:999px}
.ezqb-stepmetrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:13px}
.ezqb-stepmetrics>div{background:#fafbfc;border:1px solid #f0f2f5;border-radius:11px;padding:9px;text-align:center}
.ezqb-stepmetrics b{display:block;font-size:14px}
.ezqb-stepmetrics span{display:block;font-size:8px;color:var(--ezqb-muted);margin-top:1px}
.ezqb-step .ezqb-btn{width:100%}
.ezqb-quickgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ezqb-quick{border:1px solid var(--ezqb-line);padding:13px;text-align:left;display:grid;grid-template-columns:36px 1fr 16px;gap:10px;align-items:center;color:var(--ezqb-ink);width:100%}
.ezqb-quick:hover{border-color:#bdd2f5;background:#fbfdff}
.ezqb-qico{width:36px;height:36px;border-radius:11px;background:var(--ezqb-blue-soft);color:var(--ezqb-blue);display:grid;place-items:center;font-weight:900;font-size:16px}
.ezqb-quick b{display:block;font-size:12px}
.ezqb-quick small{display:block;color:var(--ezqb-muted);font-size:8px;margin-top:2px;line-height:1.4}
.ezqb-quick i{font-style:normal;color:#a5afbd;font-size:19px}

/* page heads/settings */
.ezqb-pagehead{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.ezqb-back{width:39px;height:39px;border-radius:12px;border:1px solid var(--ezqb-line);background:#fff;display:grid;place-items:center;font-size:20px;color:var(--ezqb-ink)}
.ezqb-pagehead h2{font-size:20px;margin:2px 0 0;letter-spacing:-.4px}
.ezqb-settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:880px;margin:auto}
.ezqb-settingcard{padding:18px}
.ezqb-settingcard h3{margin:0 0 10px;font-size:14px}
.ezqb-settingcard p{margin:10px 0 0;color:var(--ezqb-muted);font-size:10px;line-height:1.5}
.ezqb-settingline{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-top:1px solid #f1f3f5;font-size:11px}
.ezqb-settingline:first-of-type{border-top:0}
.ezqb-settingline b.good{color:var(--ezqb-green)}
.ezqb-settingline b.locked{color:var(--ezqb-red)}
.ezqb-bigsetting{font-size:24px;font-weight:900;letter-spacing:-.5px}
.ezqb-dangercard{border-color:#ffd5da;background:#fffdfd}
.ezqb-dangercard .ezqb-btn{margin-top:12px;width:100%}
.ezqb-securitycode{margin-top:12px;padding:9px 10px;background:#fafbfc;border:1px solid var(--ezqb-line);border-radius:10px;font-size:9px;color:var(--ezqb-muted)}

/* builder */
.ezqb-builder{max-width:760px;margin:auto;padding:20px}
.ezqb-field{margin-bottom:20px}
.ezqb-label{display:block;font-size:10px;font-weight:900;margin-bottom:8px;text-transform:uppercase;letter-spacing:.45px}
.ezqb-labelrow{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ezqb-labelrow .ezqb-label{margin-bottom:0}
.ezqb-labelrow button{border:0;background:transparent;color:var(--ezqb-blue);font-size:9px;font-weight:800}
.ezqb-segment{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ezqb-seg{border:1px solid var(--ezqb-line);background:#fff;border-radius:12px;padding:11px;color:var(--ezqb-muted);font-size:10px;font-weight:850}
.ezqb-seg.active{background:var(--ezqb-blue-soft);color:var(--ezqb-blue);border-color:#bfd6ff}
.ezqb-chips{display:flex;flex-wrap:wrap;gap:7px}
.ezqb-pool{border:1px solid var(--ezqb-line);background:#fff;border-radius:999px;padding:8px 11px;font-size:9px;font-weight:850;color:var(--ezqb-muted)}
.ezqb-pool.active{background:var(--ezqb-navy);border-color:var(--ezqb-navy);color:#fff}
.ezqb-filterbox{display:flex;gap:7px;flex-wrap:wrap;max-height:185px;overflow:auto;padding:2px 2px 2px 0}
.ezqb-filterbox.compact{max-height:140px}
.ezqb-filterchip{border:1px solid var(--ezqb-line);background:#fff;border-radius:999px;padding:8px 10px;font-size:9px;color:var(--ezqb-muted);font-weight:750}
.ezqb-filterchip small{opacity:.7;margin-left:3px}
.ezqb-filterchip.active{background:var(--ezqb-blue-soft);border-color:#bfd6ff;color:var(--ezqb-blue)}
.ezqb-sizechips{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.ezqb-sizechips>button{width:54px;height:40px;border:1px solid var(--ezqb-line);border-radius:11px;background:#fff;color:var(--ezqb-muted);font-size:10px;font-weight:850}
.ezqb-sizechips>button.active{background:var(--ezqb-navy);color:#fff;border-color:var(--ezqb-navy)}
.ezqb-sizechips label{height:40px;border:1px solid var(--ezqb-line);border-radius:11px;background:#fff;display:flex;align-items:center;gap:6px;padding:0 9px;color:var(--ezqb-muted);font-size:9px}
.ezqb-sizechips input{width:55px;border:0;outline:0;font-weight:800;color:var(--ezqb-ink)}
.ezqb-create-summary{display:flex;justify-content:center;align-items:center;gap:7px;background:#fafbfc;border:1px solid var(--ezqb-line);border-radius:12px;padding:10px;margin:4px 0 10px;color:var(--ezqb-muted);font-size:9px;text-transform:capitalize}
.ezqb-create-summary i{font-style:normal;color:#c0c7d0}
.ezqb-startbtn{width:100%;min-height:47px}

/* exam */
.ezqb-exam{max-width:900px;margin:0 auto}
.ezqb-examtop{position:sticky;top:0;z-index:20;background:rgba(246,248,251,.95);backdrop-filter:blur(14px);display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:7px 0 10px}
.ezqb-examcenter{text-align:center;min-width:0}
.ezqb-examcenter span{display:block;color:var(--ezqb-muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}
.ezqb-examcenter b{display:block;font-size:12px;margin-top:2px}
.ezqb-timerbox{text-align:right;min-width:76px}
.ezqb-timerbox small{display:block;color:var(--ezqb-muted);font-size:7px;text-transform:uppercase;letter-spacing:.45px}
.ezqb-timerbox strong{display:block;font-size:14px;font-variant-numeric:tabular-nums;margin-top:1px}
.ezqb-timerbox strong.urgent{color:var(--ezqb-red)}
.ezqb-qcard{position:relative;padding:18px;overflow:hidden}
.ezqb-qcard:after{content:attr(data-watermark);position:absolute;right:16px;bottom:8px;color:rgba(15,23,42,.12);font-size:8px;font-weight:800;letter-spacing:.7px;pointer-events:none}
.ezqb-qtoolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}
.ezqb-tags{display:flex;gap:5px;flex-wrap:wrap;min-height:26px}
.ezqb-tags span{background:#f6f8fb;border:1px solid var(--ezqb-line);border-radius:999px;padding:6px 8px;font-size:8px;color:var(--ezqb-muted)}
.ezqb-toolactions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ezqb-tool{border:1px solid var(--ezqb-line);background:#fff;border-radius:10px;padding:7px 9px;color:var(--ezqb-muted);font-size:8px;font-weight:850}
.ezqb-tool.active{background:var(--ezqb-blue-soft);border-color:#c4d9ff;color:var(--ezqb-blue)}
.ezqb-linked{padding:13px;border:1px solid #d9e6f8;background:#f8fbff;border-radius:14px;margin-bottom:14px}
.ezqb-stem{font-size:15px;line-height:1.72;color:#182230;margin-bottom:15px}
.ezqb-stem p{margin:0 0 10px}
.ezqb-stem img,.ezqb-choicebody img,.ezqb-review img,.ezqb-linked img{max-width:100%;height:auto;border-radius:10px}
.ezqb-stem table,.ezqb-choicebody table,.ezqb-review table,.ezqb-linked table,.ezqb-answer-header table{width:max-content;max-width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.ezqb-stem td,.ezqb-stem th,.ezqb-choicebody td,.ezqb-choicebody th,.ezqb-answer-header td,.ezqb-answer-header th{border:1px solid #d9dee7;padding:5px 7px}
.ezqb-media{margin:12px 0 16px;text-align:center}
.ezqb-media img{max-width:100%;max-height:460px;border-radius:14px;border:1px solid #edf0f4;background:#fff}
.ezqb-media figcaption{font-size:8px;color:var(--ezqb-muted);margin-top:5px}
.ezqb-answer-header{overflow:auto;margin:8px 0 10px}
.ezqb-choices{display:grid;gap:8px}
.ezqb-choice{width:100%;display:flex;align-items:flex-start;gap:10px;border:1px solid var(--ezqb-line);border-radius:14px;padding:12px;background:#fff;text-align:left;color:var(--ezqb-ink);transition:.12s ease}
.ezqb-choice:hover:not(:disabled){border-color:#afc9f5;background:#fbfdff}
.ezqb-choice.selected{border-color:#7eacfb;background:#f5f9ff;box-shadow:0 0 0 1px rgba(18,103,246,.08)}
.ezqb-choice.correct{border-color:#9ddabe;background:var(--ezqb-green-soft)}
.ezqb-choice.wrong{border-color:#ffc1ca;background:var(--ezqb-red-soft)}
.ezqb-choice:disabled{cursor:default;opacity:1}
.ezqb-letter{width:29px;height:29px;border-radius:9px;border:1px solid var(--ezqb-line);background:#f7f8fa;display:grid;place-items:center;flex:0 0 auto;font-size:10px;font-weight:900}
.ezqb-choicebody{font-size:12px;line-height:1.55;min-width:0;padding-top:4px}
.ezqb-choice.correct .ezqb-letter{background:var(--ezqb-green);border-color:var(--ezqb-green);color:#fff}
.ezqb-choice.wrong .ezqb-letter{background:var(--ezqb-red);border-color:var(--ezqb-red);color:#fff}
.ezqb-note-box{margin-top:13px;padding:12px;border:1px solid var(--ezqb-line);border-radius:13px;background:#fafbfc;display:none}
.ezqb-note-box.show{display:block}
.ezqb-note-box label{display:block;font-size:9px;font-weight:850;margin-bottom:6px}
.ezqb-note-box textarea{width:100%;min-height:90px;border:1px solid var(--ezqb-line);border-radius:10px;padding:10px;background:#fff;font-size:11px;resize:vertical}
.ezqb-note-box .ezqb-btn{margin-top:7px;min-height:36px}
.ezqb-review{border-top:1px solid var(--ezqb-line);padding-top:16px;margin-top:16px}
.ezqb-review-title{display:inline-flex;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:900;margin-bottom:11px}
.ezqb-review-title.correct{background:var(--ezqb-green-soft);color:var(--ezqb-green)}
.ezqb-review-title.wrong{background:var(--ezqb-red-soft);color:var(--ezqb-red)}
.ezqb-explanation{font-size:12px;line-height:1.62;color:#344054}
.ezqb-explanation>b{display:block;color:var(--ezqb-ink);margin-bottom:5px}
.ezqb-objective{margin-top:12px;background:var(--ezqb-blue-soft);border:1px solid #d8e7ff;border-radius:13px;padding:12px;font-size:11px;line-height:1.55;color:#23395f}
.ezqb-objective>b{display:block;margin-bottom:4px}
.ezqb-question-footer{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:8px;margin-top:16px}
.ezqb-endrow{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;padding-top:9px;border-top:1px solid #f0f2f4}
.ezqb-endrow button{border:0;background:transparent;color:var(--ezqb-red);font-size:8px;font-weight:800;padding:0}
.ezqb-endrow span{color:var(--ezqb-muted);font-size:8px;text-align:right}

/* navigator */
.ezqb-navpanel{display:none;background:#fff;border:1px solid var(--ezqb-line);border-radius:14px;padding:11px;margin:0 0 10px;box-shadow:var(--ezqb-shadow)}
.ezqb-navpanel.show{display:block}
.ezqb-navtitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ezqb-navtitle b{font-size:9px}.ezqb-navtitle span{font-size:8px;color:var(--ezqb-muted)}
.ezqb-navgrid{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}
.ezqb-navgrid button{aspect-ratio:1;border:1px solid var(--ezqb-line);border-radius:7px;background:#fff;font-size:8px;color:var(--ezqb-muted);position:relative}
.ezqb-navgrid button.answered{background:var(--ezqb-blue-soft);border-color:#bdd4fb;color:var(--ezqb-blue)}
.ezqb-navgrid button.correct{background:var(--ezqb-green-soft);border-color:#9ddabe;color:var(--ezqb-green)}
.ezqb-navgrid button.wrong{background:var(--ezqb-red-soft);border-color:#ffc0c9;color:var(--ezqb-red)}
.ezqb-navgrid button.marked:after{content:'•';position:absolute;right:3px;top:-3px;color:#f0a000;font-size:13px}
.ezqb-navgrid button.current{outline:2px solid var(--ezqb-blue);outline-offset:1px}

/* sessions */
.ezqb-sessionlist{display:grid;gap:9px}
.ezqb-session{position:relative;width:100%;padding:14px 42px 14px 15px;text-align:left;color:var(--ezqb-ink)}
.ezqb-session:hover{border-color:#bfd2f2;background:#fbfdff}
.ezqb-sessiontop{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.ezqb-session h3{font-size:13px;margin:3px 0 3px}.ezqb-session p{font-size:9px;color:var(--ezqb-muted);margin:0}
.ezqb-status{font-size:8px;padding:5px 7px;border-radius:999px;background:var(--ezqb-green-soft);color:var(--ezqb-green);font-weight:850;text-transform:capitalize}
.ezqb-status.open{background:var(--ezqb-blue-soft);color:var(--ezqb-blue)}
.ezqb-sessionstats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}
.ezqb-sessionstats>div{background:#fafbfc;border:1px solid #f0f2f5;border-radius:10px;padding:8px;text-align:center}
.ezqb-sessionstats b{display:block;font-size:12px}.ezqb-sessionstats span{display:block;color:var(--ezqb-muted);font-size:7px;margin-top:1px}
.ezqb-sessionarrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:20px;color:#abb4c0}

/* results/review/performance */
.ezqb-result{max-width:720px;margin:auto;padding:20px}
.ezqb-score{display:flex;align-items:center;gap:15px}
.ezqb-scorecircle{width:84px;height:84px;border-radius:50%;background:conic-gradient(var(--ezqb-green) var(--p,0%),#edf0f4 0);position:relative;display:grid;place-items:center;flex:0 0 auto}
.ezqb-scorecircle:after{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}
.ezqb-scorecircle b{z-index:1;font-size:17px}.ezqb-score h2{margin:3px 0 3px;font-size:18px}.ezqb-score p{margin:0;color:var(--ezqb-muted);font-size:9px}
.ezqb-resultgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}
.ezqb-resultgrid>div{background:#fafbfc;border:1px solid var(--ezqb-line);border-radius:11px;padding:10px;text-align:center}
.ezqb-resultgrid b{display:block;font-size:15px}.ezqb-resultgrid span{display:block;color:var(--ezqb-muted);font-size:8px}
.ezqb-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ezqb-reviewgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ezqb-reviewcard{padding:17px}
.ezqb-reviewstats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}
.ezqb-reviewstats>div{background:#fafbfc;border:1px solid var(--ezqb-line);border-radius:11px;padding:10px;text-align:center}
.ezqb-reviewstats b{display:block;font-size:17px}.ezqb-reviewstats span{display:block;color:var(--ezqb-muted);font-size:8px}
.ezqb-performance{max-width:820px;margin:auto;padding:18px}
.ezqb-tabs{display:flex;gap:7px;margin-bottom:14px}
.ezqb-tabs button{border:1px solid var(--ezqb-line);background:#fff;border-radius:999px;padding:8px 11px;font-size:9px;font-weight:850;color:var(--ezqb-muted)}
.ezqb-tabs button.active{background:var(--ezqb-navy);border-color:var(--ezqb-navy);color:#fff}
.ezqb-performance-head{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.ezqb-performance-head>div{background:#fafbfc;border:1px solid var(--ezqb-line);border-radius:12px;padding:11px}.ezqb-performance-head span{display:block;color:var(--ezqb-muted);font-size:8px}.ezqb-performance-head b{display:block;font-size:18px;margin-top:2px}
.ezqb-weakbox{background:#fff8ec;border:1px solid #f3d8aa;border-radius:12px;padding:10px;margin-bottom:12px}.ezqb-weakbox>span{display:block;font-size:8px;color:var(--ezqb-amber);font-weight:900;text-transform:uppercase;margin-bottom:6px}.ezqb-weakbox div{display:flex;gap:6px;flex-wrap:wrap}.ezqb-weakbox button{border:1px solid #efd4a5;background:#fff;border-radius:999px;padding:7px 9px;font-size:8px;color:#815812}
.ezqb-perfrow{display:grid;grid-template-columns:minmax(120px,1.35fr) 2fr 48px;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #f0f2f4}.ezqb-perfrow:first-child{border-top:0}.ezqb-perfrow b{display:block;font-size:10px}.ezqb-perfrow small{display:block;font-size:7px;color:var(--ezqb-muted);margin-top:2px}.ezqb-perfbar{height:6px;background:#eef1f5;border-radius:99px;overflow:hidden}.ezqb-perfbar span{display:block;height:100%;background:var(--ezqb-blue);border-radius:99px}.ezqb-perfrow strong{text-align:right;font-size:10px}

/* bottom nav */
.ezqb-bottomnav{position:fixed;z-index:60;left:0;right:0;bottom:0;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid var(--ezqb-line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px max(8px,calc((100vw - 680px)/2)) calc(6px + env(safe-area-inset-bottom))}
.ezqb-bottomnav button{border:0;background:transparent;color:var(--ezqb-muted);border-radius:10px;padding:5px 3px;display:grid;place-items:center;gap:2px;font-size:8px}
.ezqb-bottomnav button b{font-size:16px;line-height:1}.ezqb-bottomnav button.active{background:var(--ezqb-blue-soft);color:var(--ezqb-blue)}

/* loading/login */
.ezqb-loading,.ezqb-login{min-height:320px;display:grid;place-items:center;align-content:center;gap:9px;text-align:center;color:var(--ezqb-muted);font-size:11px}
.ezqb-spinner{width:28px;height:28px;border:3px solid #dbe6f7;border-top-color:var(--ezqb-blue);border-radius:50%;animation:ezqbspin .8s linear infinite}@keyframes ezqbspin{to{transform:rotate(360deg)}}
.ezqb-login h2{margin:0;color:var(--ezqb-ink)}.ezqb-login p{margin:0}.ezqb-login a{background:var(--ezqb-blue);color:#fff;padding:10px 16px;border-radius:12px;text-decoration:none;font-weight:800}
.ezqb-empty{padding:28px;text-align:center;color:var(--ezqb-muted);font-size:11px}

@media(max-width:760px){
  .ezqb-app{padding:11px 10px 88px}
  .ezqb-top{margin-bottom:14px}
  .ezqb-user{display:none}
  .ezqb-welcome{align-items:flex-start}
  .ezqb-welcome h1{font-size:25px}.ezqb-overall strong{font-size:25px}
  .ezqb-overview-strip{grid-template-columns:1fr 1fr}.ezqb-overview-strip>div{border-right:0}.ezqb-overview-strip>div:nth-child(1),.ezqb-overview-strip>div:nth-child(2){border-bottom:1px solid #f0f2f5}
  .ezqb-continue{align-items:flex-start;flex-direction:column}.ezqb-continue .ezqb-btn{width:100%}
  .ezqb-stepsgrid{grid-template-columns:1fr}
  .ezqb-quickgrid{grid-template-columns:1fr}.ezqb-quick{padding:12px}
  .ezqb-settingsgrid{grid-template-columns:1fr}
  .ezqb-builder{padding:15px}
  .ezqb-filterbox{max-height:160px}
  .ezqb-examtop{grid-template-columns:40px 1fr 72px}
  .ezqb-qcard{padding:14px}.ezqb-stem{font-size:14px}.ezqb-choicebody{font-size:11px}
  .ezqb-qtoolbar{flex-direction:column}.ezqb-toolactions{justify-content:flex-start}
  .ezqb-question-footer{grid-template-columns:1fr 1fr}.ezqb-question-footer>*:nth-child(2){grid-column:span 2;order:-1}.ezqb-question-footer>*:first-child{order:2}.ezqb-question-footer>*:last-child{order:3}
  .ezqb-endrow{align-items:flex-start;flex-direction:column}.ezqb-endrow span{text-align:left}
  .ezqb-navgrid{grid-template-columns:repeat(8,1fr)}
  .ezqb-reviewgrid{grid-template-columns:1fr}
  .ezqb-result-actions{grid-template-columns:1fr}
  .ezqb-perfrow{grid-template-columns:95px 1fr 40px}
}


/* v0.7 desktop navigation + useful dashboard */
.ezqb-sidenav{
  position:fixed;
  z-index:55;
  top:238px;
  left:max(18px,calc((100vw - 1380px)/2 + 18px));
  width:180px;
  display:grid;
  gap:5px;
  padding:10px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border:1px solid var(--ezqb-line);
  border-radius:18px;
  box-shadow:var(--ezqb-shadow)
}
.ezqb-side-label{font-size:8px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;color:#98a2b3;padding:6px 9px 4px}
.ezqb-sidenav button{border:0;background:transparent;color:var(--ezqb-muted);border-radius:11px;padding:9px 10px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;text-align:left;font-size:10px;font-weight:800}
.ezqb-sidenav button b{width:24px;height:24px;border-radius:8px;background:#f3f6fa;display:grid;place-items:center;font-size:12px}
.ezqb-sidenav button:hover{background:#f7faff;color:var(--ezqb-blue)}
.ezqb-sidenav button.active{background:var(--ezqb-blue-soft);color:var(--ezqb-blue)}
.ezqb-sidenav button.active b{background:#dfeaff}
.ezqb-bottomnav{display:none}

.ezqb-start-panel{padding:16px 17px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.ezqb-start-panel h3{margin:3px 0 4px;font-size:15px}
.ezqb-start-panel p{margin:0;color:var(--ezqb-muted);font-size:10px;line-height:1.5}
.ezqb-start-actions{display:flex;gap:7px;flex:0 0 auto}
.ezqb-focusgrid{display:grid;grid-template-columns:1.6fr .7fr .7fr;gap:10px}
.ezqb-focus-card{padding:14px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}
.ezqb-focus-icon,.ezqb-mini-icon{width:36px;height:36px;border-radius:11px;background:#fff7e9;color:var(--ezqb-amber);display:grid;place-items:center;font-weight:900;font-size:16px}
.ezqb-focus-card h3{margin:2px 0;font-size:12px}
.ezqb-focus-card p{margin:0;color:var(--ezqb-muted);font-size:8px}
.ezqb-focus-card .ezqb-btn{min-height:35px}
.ezqb-mini-action{border:1px solid var(--ezqb-line);padding:13px;text-align:left;display:grid;grid-template-columns:36px 1fr 12px;gap:9px;align-items:center;color:var(--ezqb-ink);width:100%}
.ezqb-mini-action:hover{border-color:#bdd2f5;background:#fbfdff}
.ezqb-mini-action b{display:block;font-size:15px}
.ezqb-mini-action small{display:block;color:var(--ezqb-muted);font-size:8px;line-height:1.35;margin-top:1px}
.ezqb-mini-action i{font-style:normal;color:#a5afbd;font-size:16px}
.ezqb-quickgrid.four{grid-template-columns:repeat(4,1fr)}
.ezqb-quickgrid.four .ezqb-quick{grid-template-columns:34px 1fr 12px}
.ezqb-quickgrid.four .ezqb-qico{width:34px;height:34px}

.ezqb-filter-search-wrap{display:grid;gap:6px}
.ezqb-filter-search{width:100%;border:1px solid var(--ezqb-line);border-radius:11px;padding:10px 12px;background:#fff;color:var(--ezqb-ink);font-size:10px;outline:none}
.ezqb-filter-search:focus{border-color:#9fc0f6;box-shadow:0 0 0 3px rgba(18,103,246,.08)}

@media(max-width:1100px){
  .ezqb-app{max-width:1120px;padding-left:14px;padding-bottom:96px}
  .ezqb-sidenav{display:none}
  .ezqb-bottomnav{position:fixed;z-index:60;left:0;right:0;bottom:0;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid var(--ezqb-line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px max(8px,calc((100vw - 680px)/2)) calc(6px + env(safe-area-inset-bottom))}
}

@media(max-width:760px){
  .ezqb-app{padding:11px 10px 88px}
  .ezqb-focusgrid{grid-template-columns:1fr}
  .ezqb-focus-card{grid-template-columns:38px 1fr}
  .ezqb-focus-card .ezqb-btn{grid-column:1/-1;width:100%}
  .ezqb-start-panel{align-items:flex-start;flex-direction:column}
  .ezqb-start-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .ezqb-quickgrid.four{grid-template-columns:1fr}
}


/* v0.8 fullscreen exam workspace */
body.ezmedqbank-page footer,body.ezmedqbank-page #colophon,body.ezmedqbank-page .site-footer,body.ezmedqbank-page .footer,body.ezmedqbank-page .footer-area,body.ezmedqbank-page .footer-wrapper,body.ezmedqbank-page [data-elementor-type="footer"],body.ezmedqbank-page .copyright-area{display:none!important}
body.ezqb-exam-mode #ezqb-app{position:fixed!important;inset:0!important;z-index:2147483000!important;overflow:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#f5f7fb!important}body.ezqb-exam-mode .ezqb-sidenav,body.ezqb-exam-mode .ezqb-bottomnav{display:none!important}
.ezqb-exam-shell{min-height:100vh;background:#f5f7fb}.ezqb-examtop{position:sticky;top:0;z-index:100;min-height:68px;padding:9px 18px;border-bottom:1px solid #e4e9f1;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);display:grid;grid-template-columns:minmax(190px,1fr) minmax(260px,440px) minmax(260px,1fr);gap:18px;align-items:center;box-shadow:0 4px 18px rgba(16,24,40,.035)}
.ezqb-exam-brand{display:flex;align-items:center;gap:9px}.ezqb-exam-brand>span:last-child{display:grid}.ezqb-exam-brand b{font-size:12px}.ezqb-exam-brand small{font-size:8px;color:var(--ezqb-muted)}.ezqb-examcenter{text-align:center}.ezqb-examcenter>span{display:block;font-size:10px;font-weight:850;margin-bottom:6px}.ezqb-exam-progress{height:5px;background:#edf0f5;border-radius:99px;overflow:hidden}.ezqb-exam-progress i{display:block;height:100%;background:var(--ezqb-blue)}
.ezqb-exam-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.ezqb-exam-mark,.ezqb-exam-exit{min-height:38px;border-radius:11px;padding:0 12px;border:1px solid var(--ezqb-line);background:#fff;color:#4b5563;font-size:9px;font-weight:850}.ezqb-exam-mark.active{background:#fff8e8;border-color:#f1ce82;color:#9a6510}.ezqb-exam-exit{color:#b23748}.ezqb-timerbox{min-width:88px;border:1px solid var(--ezqb-line);border-radius:11px;background:#f9fafc;padding:6px 10px;text-align:center}.ezqb-timerbox small{display:block;font-size:7px;text-transform:uppercase;color:var(--ezqb-muted)}.ezqb-timerbox strong{font-size:13px;font-variant-numeric:tabular-nums}
.ezqb-exam-layout{max-width:1460px;margin:0 auto;padding:18px 18px 34px;display:grid;grid-template-columns:220px minmax(0,900px);justify-content:center;gap:18px;align-items:start}.ezqb-exam-navigator{position:sticky;top:86px;max-height:calc(100vh - 104px);overflow:auto;background:#fff;border:1px solid var(--ezqb-line);border-radius:17px;padding:13px;box-shadow:0 10px 28px rgba(16,24,40,.06)}.ezqb-nav-head{display:flex;justify-content:space-between;align-items:center}.ezqb-nav-head>div{display:flex;align-items:center;gap:8px}.ezqb-nav-head span{font-size:8px;font-weight:900;color:#7d8795}.ezqb-nav-head b{font-size:10px}.ezqb-nav-close{display:none;border:0;background:#f4f6f9;border-radius:9px;width:30px;height:30px}.ezqb-nav-progress{height:5px;border-radius:99px;background:#edf0f5;overflow:hidden;margin:10px 0}.ezqb-nav-progress span{display:block;height:100%;background:var(--ezqb-blue)}
.ezqb-nav-legend{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.ezqb-nav-legend span{display:flex;align-items:center;gap:4px;font-size:7px;color:var(--ezqb-muted)}.ezqb-nav-legend i{width:8px;height:8px;border-radius:3px;background:#eef1f5;border:1px solid #d9dee7}.ezqb-nav-legend i.current{background:var(--ezqb-blue)}.ezqb-nav-legend i.answered{background:#dff6eb}.ezqb-nav-legend i.marked{background:#fff3cf}.ezqb-navgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.ezqb-navgrid button{position:relative;min-height:34px;border:1px solid #e2e7ee;border-radius:9px;background:#f9fafb;color:#667085;font-size:9px;font-weight:850}.ezqb-navgrid button.current{outline:2px solid var(--ezqb-blue);outline-offset:1px;background:#eef5ff;color:var(--ezqb-blue)}.ezqb-navgrid button.answered{background:#eef5ff}.ezqb-navgrid button.correct{background:#ecf8f2;color:#138154}.ezqb-navgrid button.wrong{background:#fff0f2;color:#c23f51}.ezqb-navgrid button.marked:after{content:"";position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:#eab22e}.ezqb-nav-foot{margin-top:10px;padding-top:9px;border-top:1px solid #f0f2f4;color:#98a2b3;font-size:7px}
.ezqb-question-main{min-width:0}.ezqb-exam-toolbar{min-height:48px;margin-bottom:9px;background:#fff;border:1px solid var(--ezqb-line);border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px}.ezqb-study-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.ezqb-tool-label{font-size:8px;color:#7e8794;font-weight:800}.ezqb-color{width:25px;height:25px;border-radius:8px;border:1px solid rgba(15,23,42,.12);padding:0}.ezqb-color.yellow{background:#fff199}.ezqb-color.green{background:#bcefd1}.ezqb-color.blue{background:#bfe2ff}.ezqb-color.pink{background:#ffcbd7}.ezqb-eraser{width:27px;height:27px;border:1px solid var(--ezqb-line);border-radius:8px;background:#fff;color:#7d8794}.ezqb-tool-divider{width:1px;height:24px;background:#e9edf2}.ezqb-grid-toggle{display:none}.ezqb-qcard{padding:24px;border-radius:18px;box-shadow:0 12px 32px rgba(16,24,40,.055)}.ezqb-stem{font-size:15px;line-height:1.72}.ezqb-highlightable{user-select:text;-webkit-user-select:text}.ezqb-highlightable::selection{background:#cfe2ff}mark.ezqb-hl{padding:0 .05em;border-radius:2px;color:inherit}mark.ezqb-hl-yellow{background:#fff19a}mark.ezqb-hl-green{background:#bdeecf}mark.ezqb-hl-blue{background:#c0e3ff}mark.ezqb-hl-pink{background:#ffcbd7}.ezqb-question-footer{position:sticky;bottom:10px;z-index:15;margin-top:18px;padding:9px;border:1px solid #e4e9f0;border-radius:14px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(16,24,40,.08)}
@media(max-width:900px){.ezqb-examtop{grid-template-columns:1fr auto;padding:8px 10px;gap:8px}.ezqb-exam-brand{display:none}.ezqb-examcenter{text-align:left}.ezqb-exam-mark span{display:none}.ezqb-exam-layout{display:block;padding:10px 9px 26px}.ezqb-exam-navigator{display:none;position:fixed;z-index:160;left:8px;right:8px;top:76px;max-height:calc(100vh - 88px);box-shadow:0 22px 80px rgba(16,24,40,.25)}.ezqb-exam-navigator.show{display:block}.ezqb-nav-close{display:grid;place-items:center}.ezqb-navgrid{grid-template-columns:repeat(8,1fr)}.ezqb-grid-toggle{display:inline-flex}.ezqb-exam-toolbar{align-items:flex-start;flex-direction:column}.ezqb-study-tools{justify-content:flex-start}}@media(max-width:560px){.ezqb-timerbox{min-width:74px;padding:5px 7px}.ezqb-exam-exit{padding:0 8px}.ezqb-qcard{padding:14px}.ezqb-stem{font-size:14px}.ezqb-navgrid{grid-template-columns:repeat(6,1fr)}}


/* v0.9: permanent full-height sidebar + real platform branding */
:root{--ezqb-sidebar-w:226px}
@media(min-width:1101px){
  .ezqb-app{max-width:none!important;width:100%!important;min-height:calc(100vh - 170px);margin:0!important;padding:24px 28px 48px calc(var(--ezqb-sidebar-w) + 34px)!important;position:relative}
  .ezqb-mobile-top{display:none!important}
  .ezqb-sidenav{position:fixed!important;z-index:55!important;top:170px!important;bottom:0!important;left:0!important;width:var(--ezqb-sidebar-w)!important;height:auto!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:18px 14px 14px!important;background:#fff!important;border:0!important;border-right:1px solid #e6eaf0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;overflow:auto!important}
  .ezqb-sidebrand{border:0!important;background:transparent!important;padding:6px 8px 18px!important;display:flex!important;align-items:center!important;gap:8px!important;color:var(--ezqb-ink)!important;text-align:left!important}
  .ezqb-sidebrand .ezqb-platform-logo{display:block!important;width:auto!important;max-width:126px!important;max-height:34px!important;object-fit:contain!important}
  .ezqb-sidebrand .ezqb-wordmark{font-size:20px;font-weight:900;color:#0f4fa8}.ezqb-sidebrand>span:last-child{margin-left:auto;padding:5px 7px;border-radius:8px;background:#eef5ff;color:var(--ezqb-blue);font-size:8px;font-weight:900}
  .ezqb-side-label{padding:8px 10px 6px!important;margin-top:2px;border-top:1px solid #f0f2f5}.ezqb-side-menu{display:grid;gap:4px}.ezqb-sidenav .ezqb-side-menu button{min-height:43px;grid-template-columns:29px 1fr!important;border-radius:11px!important;padding:7px 9px!important;font-size:10px!important}.ezqb-sidenav .ezqb-side-menu button b{width:29px!important;height:29px!important}
  .ezqb-side-user{margin-top:auto;padding:13px 9px 4px;border-top:1px solid #edf0f4;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center}.ezqb-side-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef5ff;color:var(--ezqb-blue);font-size:11px;font-weight:900}.ezqb-side-user b,.ezqb-side-user small{display:block}.ezqb-side-user b{font-size:10px}.ezqb-side-user small{font-size:8px;color:#98a2b3;margin-top:2px}
  .ezqb-dashboard,.ezqb-builder,.ezqb-settings,.ezqb-sessions,.ezqb-reviewcenter,.ezqb-performance,.ezqb-results{max-width:1080px;margin-left:auto;margin-right:auto}
}
.ezqb-mobile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.ezqb-mobile-brand{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:8px}.ezqb-mobile-brand .ezqb-platform-logo{width:auto;max-width:112px;max-height:31px;object-fit:contain}.ezqb-mobile-brand>span:last-child{font-size:10px;font-weight:900;color:var(--ezqb-muted)}.ezqb-wordmark{font-size:18px;font-weight:900;color:#0f4fa8}
.ezqb-exam-brand .ezqb-platform-logo{width:auto;max-width:126px;max-height:32px;object-fit:contain;display:block}.ezqb-exam-brand .ezqb-wordmark{font-size:18px}.ezqb-exam-brand>span:last-child{padding-left:9px;margin-left:2px;border-left:1px solid #e6eaf0}
.ezqb-color{position:relative;transition:transform .12s ease,box-shadow .12s ease,outline .12s ease}.ezqb-color.active{outline:2px solid #1d4ed8!important;outline-offset:2px;transform:translateY(-1px);box-shadow:0 3px 10px rgba(29,78,216,.18)}.ezqb-color.off{background:#fff!important;border-color:#cfd6e0!important}.ezqb-color.off span{position:absolute;inset:5px;border:1.5px solid #9aa4b2;border-radius:4px}.ezqb-color.off span:after{content:"";position:absolute;left:1px;right:1px;top:50%;height:1.5px;background:#e05263;transform:rotate(-38deg)}.ezqb-question-main.highlighter-on .ezqb-highlightable{cursor:text}.ezqb-question-main.highlighter-on .ezqb-highlightable::selection{background:rgba(18,103,246,.16)}
.ezqb-examtop{min-height:64px!important;padding-top:7px!important;padding-bottom:7px!important}.ezqb-exam-layout{padding-top:14px!important}


/* ===== v1.0 integrated header + full-height sidebar ===== */
:root{--ezqb-site-header-bottom:0px;--ezqb-sidebar-w:226px}

/* Only the main EzMedQ site header owns the logo on normal QBank pages. */
.ezqb-mobile-top,.ezqb-sidebrand{display:none!important}

/* Absolutely no footer on any QBank view. */
body.ezmedqbank-page footer,
body.ezmedqbank-page [role="contentinfo"],
body.ezmedqbank-page #colophon,
body.ezmedqbank-page #footer,
body.ezmedqbank-page #site-footer,
body.ezmedqbank-page .site-footer,
body.ezmedqbank-page .footer,
body.ezmedqbank-page .footer-area,
body.ezmedqbank-page .footer-wrapper,
body.ezmedqbank-page .footer-widgets,
body.ezmedqbank-page .footer-widget-area,
body.ezmedqbank-page .elementor-location-footer,
body.ezmedqbank-page [data-elementor-type="footer"],
body.ezmedqbank-page .copyright-area{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.ezmedqbank-page,body.ezmedqbank-page #page,body.ezmedqbank-page .site,body.ezmedqbank-page main{margin-bottom:0!important;padding-bottom:0!important}

@media(min-width:1101px){
  .ezqb-app{min-height:calc(100vh - var(--ezqb-site-header-bottom))!important;padding:20px 28px 34px calc(var(--ezqb-sidebar-w) + 34px)!important}
  .ezqb-sidenav{
    top:var(--ezqb-site-header-bottom)!important;
    bottom:0!important;
    left:0!important;
    width:var(--ezqb-sidebar-w)!important;
    height:auto!important;
    min-height:0!important;
    padding:12px 14px!important;
    border:0!important;
    border-right:1px solid #e4e9f0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:auto!important
  }
  .ezqb-side-label{padding:8px 10px 10px!important;margin:0 0 5px!important;border-top:0!important;border-bottom:1px solid #f0f2f5!important}
  .ezqb-side-menu{padding-top:3px}
}


/* =========================================================
   v1.1 — entitlement-aware UI + full-width Create Test
   ========================================================= */

.ezqb-stepsgrid.single{grid-template-columns:minmax(0,1fr)}
.ezqb-reviewgrid.single{grid-template-columns:minmax(0,1fr)}

/* Create screen intentionally fills the available QBank workspace. */
.ezqb-create-page{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 4px 110px;
}
.ezqb-create-title{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0 18px;
}
.ezqb-create-title h1{
  margin:2px 0 0;
  font-size:25px;
  letter-spacing:-.6px;
}
.ezqb-create-section{
  padding:19px 0 22px;
  border-top:1px solid #dfe5ed;
}
.ezqb-create-section:first-of-type{border-top:0}
.ezqb-create-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:13px;
}
.ezqb-create-section-head h3{
  margin:0;
  font-size:12px;
  letter-spacing:.1px;
}
.ezqb-create-section-head p{
  margin:4px 0 0;
  color:var(--ezqb-muted);
  font-size:8px;
}
.ezqb-section-actions{
  display:flex;
  gap:6px;
}
.ezqb-section-actions button{
  border:0;
  background:transparent;
  color:var(--ezqb-blue);
  font-size:8px;
  font-weight:850;
  padding:3px 4px;
}

/* Tutor / Exam */
.ezqb-mode-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  max-width:900px;
}
.ezqb-mode-options>button{
  min-height:76px;
  display:grid;
  grid-template-columns:22px 1fr;
  align-items:center;
  gap:10px;
  text-align:left;
  border:1px solid #dce3ec;
  border-radius:12px;
  background:#fff;
  padding:14px 15px;
  color:var(--ezqb-ink);
}
.ezqb-mode-options>button.active{
  border-color:#82aff8;
  background:#f2f7ff;
  box-shadow:0 0 0 2px rgba(18,103,246,.05);
}
.ezqb-mode-options b,
.ezqb-mode-options small{display:block}
.ezqb-mode-options b{font-size:11px}
.ezqb-mode-options small{
  margin-top:4px;
  color:var(--ezqb-muted);
  font-size:8px;
  line-height:1.45;
}
.ezqb-radio{
  width:16px;height:16px;
  border-radius:50%;
  border:1.5px solid #aeb8c6;
  background:#fff;
  position:relative;
}
.active>.ezqb-radio{border-color:var(--ezqb-blue)}
.active>.ezqb-radio:after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  background:var(--ezqb-blue);
}

/* Question history pool */
.ezqb-pool-grid{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.ezqb-pool-grid>button{
  min-height:38px;
  border:1px solid #dce3ec;
  background:#fff;
  border-radius:10px;
  padding:0 12px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#5e6b7d;
  font-size:9px;
}
.ezqb-pool-grid>button.active{
  color:var(--ezqb-blue);
  border-color:#9bbef6;
  background:#f1f6ff;
}

/* Check-box style filters, two columns like a real QBank builder. */
.ezqb-filter-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:34px;
  row-gap:1px;
  width:100%;
}
.ezqb-filter-list.compact{
  max-height:320px;
  overflow:auto;
  padding-right:8px;
}
.ezqb-filtercheck{
  min-height:34px;
  width:100%;
  border:0;
  border-bottom:1px solid #f0f2f5;
  background:transparent;
  color:#4b5565;
  display:grid;
  grid-template-columns:17px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  text-align:left;
  padding:6px 3px;
  font-size:9px;
}
.ezqb-filtercheck:hover{
  color:var(--ezqb-blue);
  background:#fbfdff;
}
.ezqb-filtercheck.active{color:#174b9f}
.ezqb-checkmark{
  width:14px;height:14px;
  border:1px solid #cfd6e0;
  border-radius:3px;
  background:#fff;
  display:grid;
  place-items:center;
  font-size:9px;
  line-height:1;
  color:#fff;
}
.ezqb-filtercheck.active .ezqb-checkmark{
  background:var(--ezqb-blue);
  border-color:var(--ezqb-blue);
}
.ezqb-filtername{
  overflow:hidden;
  text-overflow:ellipsis;
}
.ezqb-filtercheck small{
  color:#9aa4b2;
  font-size:8px;
}
.ezqb-topic-search{
  width:min(100%,640px);
  height:39px;
  border:1px solid #dce3ec;
  background:#fff;
  border-radius:10px;
  padding:0 12px;
  margin-bottom:11px;
  font-size:9px;
  outline:none;
}
.ezqb-topic-search:focus{
  border-color:#91b7f5;
  box-shadow:0 0 0 3px rgba(18,103,246,.06);
}

/* Number of questions */
.ezqb-question-count{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.ezqb-question-count .ezqb-sizechips{
  display:flex;
  gap:6px;
}
.ezqb-question-count .ezqb-sizechips button{
  width:48px;
  height:38px;
}
.ezqb-question-count>label{
  height:38px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #dce3ec;
  border-radius:10px;
  background:#fff;
  padding:0 10px;
  color:#687386;
  font-size:8px;
}
.ezqb-question-count input{
  width:60px;
  border:0;
  outline:0;
  font-weight:850;
  color:var(--ezqb-ink);
  background:transparent;
}

/* Sticky create action */
.ezqb-create-sticky{
  position:sticky;
  bottom:12px;
  z-index:25;
  margin-top:18px;
  min-height:64px;
  border:1px solid #dfe5ee;
  border-radius:14px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 32px rgba(16,24,40,.09);
  padding:10px 11px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.ezqb-create-summary{
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap;
  color:#7b8796;
  font-size:8px;
}
.ezqb-create-summary b{color:var(--ezqb-ink);font-size:9px}
.ezqb-create-summary span{
  padding:5px 7px;
  border-radius:7px;
  background:#f5f7fa;
}
.ezqb-create-sticky .ezqb-startbtn{
  min-width:150px;
  margin:0;
}

/* Don't re-box the page: let it use the full content width. */
@media(min-width:1101px){
  .ezqb-create-page{
    padding-left:0;
    padding-right:0;
  }
}

/* Tablet */
@media(max-width:900px){
  .ezqb-create-page{padding-bottom:125px}
  .ezqb-mode-options{grid-template-columns:1fr 1fr}
  .ezqb-filter-list{column-gap:16px}
  .ezqb-create-sticky{
    bottom:72px;
  }
}

/* Mobile-first behavior: one column, large touch targets, no horizontal crowding. */
@media(max-width:620px){
  .ezqb-create-title{
    padding:5px 0 12px;
  }
  .ezqb-create-title h1{font-size:21px}
  .ezqb-create-section{
    padding:16px 0 18px;
  }
  .ezqb-create-section-head{
    align-items:center;
    margin-bottom:10px;
  }
  .ezqb-mode-options{
    grid-template-columns:1fr;
    gap:7px;
  }
  .ezqb-mode-options>button{
    min-height:66px;
    padding:11px 12px;
  }
  .ezqb-pool-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
  }
  .ezqb-pool-grid>button{
    min-height:43px;
    justify-content:flex-start;
  }
  .ezqb-filter-list{
    grid-template-columns:1fr;
    row-gap:0;
  }
  .ezqb-filter-list.compact{
    max-height:300px;
  }
  .ezqb-filtercheck{
    min-height:42px;
    font-size:10px;
    padding:7px 2px;
  }
  .ezqb-checkmark{
    width:17px;height:17px;
  }
  .ezqb-question-count{
    display:grid;
    grid-template-columns:1fr;
  }
  .ezqb-question-count .ezqb-sizechips{
    display:grid;
    grid-template-columns:repeat(4,1fr);
  }
  .ezqb-question-count .ezqb-sizechips button{
    width:auto;
    min-height:42px;
  }
  .ezqb-question-count>label{
    min-height:42px;
    justify-content:space-between;
  }
  .ezqb-create-sticky{
    bottom:70px;
    align-items:stretch;
    flex-direction:column;
  }
  .ezqb-create-summary{
    justify-content:center;
  }
  .ezqb-create-sticky .ezqb-startbtn{
    width:100%;
    min-height:46px;
  }
}


/* =========================================================
   v1.2 — create-test cleanup
   ========================================================= */

/* Remove the empty QBANK header strip and start navigation immediately. */
@media(min-width:1101px){
  .ezqb-sidenav{
    padding-top:7px!important;
  }
  .ezqb-side-menu{
    padding-top:0!important;
  }

  /* Remove the oversized top gap inside the QBank content. */
  .ezqb-app{
    padding-top:7px!important;
  }
  .ezqb-create-page{
    padding-top:0!important;
    padding-bottom:30px!important;
  }
}

/* Tighter create-test vertical rhythm. */
.ezqb-create-title{
  padding:2px 0 7px!important;
  margin:0!important;
}
.ezqb-create-title h1{
  margin:0!important;
  line-height:1.05!important;
}
.ezqb-create-title .ezqb-kicker{
  line-height:1!important;
}
.ezqb-create-section{
  padding:11px 0 13px!important;
}
.ezqb-create-section.ezqb-create-first{
  padding-top:7px!important;
}
.ezqb-create-section-head{
  margin-bottom:7px!important;
}
.ezqb-create-section-head p{
  margin-top:2px!important;
}

/* Collapse / expand arrow for Subjects, Systems, Topics, Specialties. */
.ezqb-collapse-trigger{
  border:0!important;
  background:transparent!important;
  padding:0!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:7px!important;
  text-align:left!important;
  color:var(--ezqb-ink)!important;
}
.ezqb-collapse-trigger>span:last-child{
  display:block;
}
.ezqb-collapse-trigger h3,
.ezqb-collapse-trigger p{
  pointer-events:none;
}
.ezqb-chevron{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid #d8e0e9;
  border-radius:6px;
  background:#fff;
  color:#697586;
  font-size:12px;
  line-height:1;
  margin-top:-2px;
}
.ezqb-collapsible.is-collapsed{
  padding-bottom:8px!important;
}
.ezqb-collapse-body[hidden]{
  display:none!important;
}

/* One empty number box only. */
.ezqb-count-section{
  padding-bottom:7px!important;
}
.ezqb-question-number-only{
  max-width:360px;
  display:flex;
  align-items:center;
  gap:8px;
}
.ezqb-question-number-only input{
  width:100%;
  height:44px;
  border:1px solid #d8e0ea;
  border-radius:10px;
  background:#fff;
  padding:0 12px;
  color:var(--ezqb-ink);
  font-size:11px;
  font-weight:750;
  outline:none;
}
.ezqb-question-number-only input:focus{
  border-color:#82adf3;
  box-shadow:0 0 0 3px rgba(18,103,246,.06);
}
.ezqb-question-number-only span{
  white-space:nowrap;
  color:#8c97a6;
  font-size:8px;
  font-weight:800;
}

/* Remove the old ugly sticky summary/card completely. */
.ezqb-create-sticky{
  position:static!important;
  min-height:0!important;
  border:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
}
.ezqb-create-summary{
  display:none!important;
}
.ezqb-generate-row{
  padding:7px 0 0;
}
.ezqb-generate-row .ezqb-startbtn{
  width:min(100%,620px);
  min-height:46px;
  margin:0;
}

/* Less wasted height inside long lists. */
.ezqb-filter-list.compact{
  max-height:275px!important;
}
.ezqb-topic-search{
  margin-bottom:7px!important;
}

/* Tablet and mobile remain clean and finger-friendly. */
@media(max-width:900px){
  .ezqb-create-page{
    padding:0 2px 92px!important;
  }
  .ezqb-create-title{
    padding-top:1px!important;
  }
  .ezqb-create-section{
    padding:10px 0 12px!important;
  }
  .ezqb-generate-row{
    position:sticky;
    bottom:70px;
    z-index:25;
    padding:8px 0;
    background:linear-gradient(to bottom,rgba(247,249,252,0),rgba(247,249,252,.98) 32%);
  }
  .ezqb-generate-row .ezqb-startbtn{
    width:100%;
    min-height:46px;
  }
}

@media(max-width:620px){
  .ezqb-create-title{
    padding-bottom:5px!important;
  }
  .ezqb-create-section{
    padding:9px 0 11px!important;
  }
  .ezqb-question-number-only{
    max-width:none;
  }
  .ezqb-question-number-only input{
    height:46px;
    font-size:12px;
  }
  .ezqb-filter-list.compact{
    max-height:260px!important;
  }
}


/* =========================================================
   v1.2.1 hotfix — exam layout guard
   ========================================================= */

/*
 * The question content was collapsing into the 220px navigator column while
 * the navigator API was still loading. The navigator placeholder now always
 * occupies column 1, so the question always starts in column 2.
 */
@media(min-width:901px){
  .ezqb-exam-layout{
    grid-template-columns:220px minmax(0,900px)!important;
  }
  .ezqb-exam-navigator{
    grid-column:1!important;
  }
  .ezqb-question-main{
    grid-column:2!important;
    width:100%!important;
    min-width:0!important;
  }
}

.ezqb-nav-loading{
  min-height:190px;
}
.ezqb-nav-skeleton{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:6px;
  margin-top:12px;
}
.ezqb-nav-skeleton span{
  min-height:34px;
  display:grid;
  place-items:center;
  border:1px solid #e7ebf0;
  border-radius:9px;
  background:#f7f9fb;
  color:#c0c7d1;
  font-size:8px;
  font-weight:800;
}

/* Mobile remains a single-column exam workspace. */
@media(max-width:900px){
  .ezqb-question-main{
    width:100%!important;
    min-width:0!important;
  }
}


/* =========================================================
   v1.3 — tutor feedback, refresh recovery, note popover
   ========================================================= */

/* Notes now open below the Notes control instead of occupying the question body. */
.ezqb-note-anchor{
  position:relative;
  display:inline-flex;
}
.ezqb-note-trigger{
  position:relative;
}
.ezqb-note-trigger.has-note i{
  position:absolute;
  right:5px;
  top:5px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--ezqb-blue);
  box-shadow:0 0 0 2px #fff;
}
.ezqb-note-popover{
  display:none;
  position:absolute;
  z-index:240;
  top:calc(100% + 8px);
  right:0;
  width:320px;
  padding:11px;
  border:1px solid #dce3ec;
  border-radius:13px;
  background:#fff;
  box-shadow:0 18px 46px rgba(16,24,40,.18);
}
.ezqb-note-popover.show{
  display:block;
}
.ezqb-note-pop-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.ezqb-note-pop-head b,
.ezqb-note-pop-head small{
  display:block;
}
.ezqb-note-pop-head b{
  font-size:10px;
}
.ezqb-note-pop-head small{
  margin-top:2px;
  color:#98a2b3;
  font-size:7px;
}
.ezqb-note-pop-head>button{
  width:26px;
  height:26px;
  border:0;
  border-radius:8px;
  background:#f4f6f9;
  color:#667085;
  font-size:15px;
  line-height:1;
}
.ezqb-note-popover textarea{
  width:100%;
  min-height:118px;
  max-height:230px;
  resize:vertical;
  border:1px solid #dce3ec;
  border-radius:10px;
  padding:9px 10px;
  outline:none;
  font:inherit;
  font-size:9px;
  line-height:1.5;
  color:var(--ezqb-ink);
}
.ezqb-note-popover textarea:focus{
  border-color:#89b1f4;
  box-shadow:0 0 0 3px rgba(18,103,246,.06);
}
.ezqb-note-pop-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:8px;
}
.ezqb-note-pop-actions>span{
  color:var(--ezqb-green);
  font-size:8px;
  font-weight:800;
}
.ezqb-note-pop-actions .ezqb-btn{
  min-height:34px;
  margin:0;
  padding:0 13px;
}

/* Make correct/wrong Tutor results unmistakable immediately. */
.ezqb-navgrid button.correct{
  background:#e7f8f0!important;
  border-color:#75cea4!important;
  color:#087846!important;
}
.ezqb-navgrid button.wrong{
  background:#fff0f2!important;
  border-color:#f49aa8!important;
  color:#b4233a!important;
}

/* On small screens the note popup stays inside the viewport. */
@media(max-width:900px){
  .ezqb-note-popover{
    position:fixed;
    left:12px;
    right:12px;
    top:auto;
    bottom:86px;
    width:auto;
    max-width:none;
  }
}


/* =========================================================
   v1.4 — PayHub storefront + polished public landing
   ========================================================= */

/* Logged-out QBank landing is independent from the signed-in sidebar layout. */
.ezqb-public-shell{
  width:100%;
  min-height:calc(100vh - 170px);
  display:grid;
  place-items:center;
  padding:40px 20px 60px;
  background:
    radial-gradient(circle at 50% 0%,rgba(18,103,246,.08),transparent 34%),
    #f6f8fb;
}
.ezqb-public-card{
  width:min(100%,720px);
  text-align:center;
  padding:38px 42px;
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:rgba(255,255,255,.95);
  box-shadow:0 22px 60px rgba(16,24,40,.08);
}
.ezqb-public-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:24px;
}
.ezqb-public-logo{
  width:auto;
  max-width:142px;
  max-height:40px;
  object-fit:contain;
}
.ezqb-public-wordmark{
  font-size:24px;
  font-weight:900;
  color:#1254ad;
}
.ezqb-public-brand>span{
  padding-left:12px;
  border-left:1px solid #dde3eb;
  color:#667085;
  font-size:11px;
  font-weight:900;
}
.ezqb-public-kicker{
  color:var(--ezqb-blue);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.ezqb-public-card h1{
  max-width:590px;
  margin:8px auto 12px;
  color:var(--ezqb-ink);
  font-size:34px;
  line-height:1.08;
  letter-spacing:-1px;
}
.ezqb-public-copy{
  max-width:570px;
  margin:0 auto;
  color:#667085;
  font-size:12px;
  line-height:1.7;
}
.ezqb-public-features{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin:22px 0;
}
.ezqb-public-features span{
  padding:7px 10px;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#f8fafc;
  color:#475467;
  font-size:9px;
  font-weight:750;
}
.ezqb-public-cta{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 22px;
  border-radius:13px;
  background:var(--ezqb-blue);
  color:#fff!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(18,103,246,.2);
}
.ezqb-public-card>small{
  display:block;
  margin-top:13px;
  color:#98a2b3;
  font-size:8px;
}

/* No-access subscription storefront */
.ezqb-subscribe-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:18px 0 50px;
}
.ezqb-subscribe-hero{
  text-align:center;
  max-width:700px;
  margin:16px auto 28px;
}
.ezqb-subscribe-hero h1{
  margin:5px 0 8px;
  font-size:32px;
  letter-spacing:-.8px;
}
.ezqb-subscribe-hero p{
  margin:0;
  color:var(--ezqb-muted);
  font-size:11px;
  line-height:1.6;
}
.ezqb-plan-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.ezqb-plan-card{
  position:relative;
  min-height:400px;
  padding:22px;
  display:flex;
  flex-direction:column;
  border:1px solid #dfe5ed;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(16,24,40,.05);
}
.ezqb-plan-card.featured{
  border-color:#8ab3f7;
  box-shadow:0 18px 45px rgba(18,103,246,.12);
}
.ezqb-plan-badge{
  position:absolute;
  right:16px;
  top:16px;
  padding:6px 8px;
  border-radius:999px;
  background:#eef5ff;
  color:var(--ezqb-blue);
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
}
.ezqb-plan-head>span{
  color:#98a2b3;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
.ezqb-plan-head h3{
  margin:8px 0 7px;
  font-size:21px;
}
.ezqb-plan-head p{
  min-height:52px;
  margin:0;
  color:#667085;
  font-size:9px;
  line-height:1.55;
}
.ezqb-plan-price-row{
  min-height:58px;
  margin:20px 0 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-top:1px solid #eef1f4;
  border-bottom:1px solid #eef1f4;
}
.ezqb-plan-price{
  font-size:18px;
  color:var(--ezqb-ink);
}
.ezqb-plan-price.muted{
  font-size:11px;
  color:#98a2b3;
}
.ezqb-plan-price-row small{
  margin-top:2px;
  color:#98a2b3;
  font-size:8px;
}
.ezqb-plan-benefits{
  display:grid;
  gap:9px;
  margin-bottom:20px;
}
.ezqb-plan-benefits span{
  color:#475467;
  font-size:9px;
}
.ezqb-plan-cta{
  min-height:44px;
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 14px;
  border:0;
  border-radius:12px;
  background:#101828;
  color:#fff!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:900;
}
.ezqb-plan-card.featured .ezqb-plan-cta{
  background:var(--ezqb-blue);
}
.ezqb-plan-cta.disabled{
  background:#eef1f5;
  color:#98a2b3!important;
}
.ezqb-subscribe-note{
  margin-top:15px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 18px;
  color:#98a2b3;
  font-size:8px;
}

/* Single-bank upgrade prompt */
.ezqb-upgrade-card{
  margin-top:14px;
  padding:16px 18px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  border:1px solid #cfe0fb;
  border-radius:17px;
  background:linear-gradient(135deg,#f7fbff,#fff);
}
.ezqb-upgrade-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#eaf3ff;
  color:var(--ezqb-blue);
  font-size:20px;
  font-weight:500;
}
.ezqb-upgrade-copy h3{
  margin:3px 0 3px;
  font-size:14px;
}
.ezqb-upgrade-copy p{
  margin:0;
  color:#667085;
  font-size:9px;
}
.ezqb-upgrade-action{
  min-width:190px;
  display:grid;
  gap:6px;
  justify-items:end;
}
.ezqb-upgrade-action .ezqb-plan-price{
  font-size:13px;
}
.ezqb-upgrade-action .ezqb-plan-cta{
  min-width:170px;
  margin:0;
}

@media(max-width:900px){
  .ezqb-plan-grid{
    grid-template-columns:1fr;
    max-width:620px;
    margin:0 auto;
  }
  .ezqb-plan-card{
    min-height:0;
  }
  .ezqb-plan-head p{
    min-height:0;
  }
  .ezqb-upgrade-card{
    grid-template-columns:42px 1fr;
  }
  .ezqb-upgrade-action{
    grid-column:1/-1;
    width:100%;
    justify-items:stretch;
  }
  .ezqb-upgrade-action .ezqb-plan-cta{
    width:100%;
  }
}
@media(max-width:620px){
  .ezqb-public-shell{
    min-height:calc(100vh - 120px);
    padding:18px 12px 40px;
  }
  .ezqb-public-card{
    padding:28px 18px;
    border-radius:19px;
  }
  .ezqb-public-card h1{
    font-size:27px;
  }
  .ezqb-public-brand{
    margin-bottom:18px;
  }
  .ezqb-public-features{
    display:grid;
  }
  .ezqb-public-cta{
    width:100%;
  }
  .ezqb-subscribe-wrap{
    padding:6px 0 90px;
  }
  .ezqb-subscribe-hero{
    margin:8px auto 18px;
  }
  .ezqb-subscribe-hero h1{
    font-size:27px;
  }
}


/* =========================================================
   v1.4.1 — reliable tutor navigator + readable sidebar
   ========================================================= */

@media(min-width:1101px){
  :root{--ezqb-sidebar-w:244px}

  .ezqb-sidenav{
    width:var(--ezqb-sidebar-w)!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .ezqb-sidenav .ezqb-side-menu{
    gap:6px!important;
  }

  .ezqb-sidenav .ezqb-side-menu button{
    min-height:49px!important;
    grid-template-columns:34px 1fr!important;
    gap:10px!important;
    padding:8px 10px!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:800!important;
  }

  .ezqb-sidenav .ezqb-side-menu button b{
    width:34px!important;
    height:34px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }

  .ezqb-side-user{
    grid-template-columns:40px 1fr!important;
    gap:10px!important;
    padding-top:15px!important;
  }

  .ezqb-side-avatar{
    width:40px!important;
    height:40px!important;
    font-size:13px!important;
  }

  .ezqb-side-user b{
    font-size:12px!important;
  }

  .ezqb-side-user small{
    font-size:9px!important;
    margin-top:3px!important;
  }

  .ezqb-app{
    padding-left:calc(var(--ezqb-sidebar-w) + 34px)!important;
  }
}

.ezqb-navgrid button.correct{
  background:#e3f8ee!important;
  border-color:#5fc292!important;
  color:#067647!important;
}
.ezqb-navgrid button.wrong{
  background:#fff0f2!important;
  border-color:#ef8798!important;
  color:#b4233a!important;
}


/* =========================================================
   v1.5 — production design/readability pass
   ========================================================= */

:root{
  --ezqb-reading:#182230;
}

/* Exam content gets a comfortable reading width. */
@media(min-width:901px){
  .ezqb-exam-layout{
    grid-template-columns:220px minmax(0,960px)!important;
  }
}

.ezqb-qcard{
  padding:26px!important;
}

.ezqb-stem{
  font-size:17px!important;
  line-height:1.72!important;
  color:var(--ezqb-reading)!important;
  letter-spacing:-.06px;
}

.ezqb-choice{
  min-height:58px;
  padding:13px 14px!important;
  align-items:center!important;
}

.ezqb-letter{
  width:31px!important;
  height:31px!important;
  font-size:11px!important;
}

.ezqb-choicebody{
  font-size:14px!important;
  line-height:1.58!important;
  padding-top:0!important;
  color:#263244;
}

.ezqb-review{
  padding-top:19px!important;
  margin-top:20px!important;
}

.ezqb-review-title{
  font-size:10px!important;
  padding:7px 10px!important;
}

.ezqb-explanation{
  font-size:14px!important;
  line-height:1.70!important;
  color:#344054!important;
}

.ezqb-explanation>b{
  margin-bottom:7px!important;
  font-size:13px;
}

.ezqb-objective{
  padding:14px!important;
  font-size:13px!important;
  line-height:1.65!important;
}

.ezqb-objective>b{
  font-size:12px;
}

.ezqb-answer-header{
  font-size:13px;
  line-height:1.55;
}

.ezqb-question-footer .ezqb-btn{
  min-height:46px;
  font-size:12px;
}

/* Make End Block look like a deliberate secondary destructive action. */
.ezqb-endrow{
  margin-top:13px!important;
  padding-top:12px!important;
}

.ezqb-endrow button{
  min-height:35px!important;
  padding:0 12px!important;
  border:1px solid #ffd0d6!important;
  border-radius:9px!important;
  background:#fff6f7!important;
  color:#c83f50!important;
  font-size:10px!important;
  font-weight:900!important;
}

.ezqb-endrow button:hover{
  background:#fff0f2!important;
  border-color:#f4a6b1!important;
}

.ezqb-endrow span{
  font-size:9px!important;
  line-height:1.45;
}

/* Navigator/tool readability */
.ezqb-tags span{font-size:8.5px!important}
.ezqb-tool,.ezqb-tool-label{font-size:9px!important}
.ezqb-nav-head span{font-size:8.5px!important}
.ezqb-nav-head b{font-size:11px!important}
.ezqb-navgrid button{min-height:36px!important;font-size:9.5px!important}
.ezqb-nav-foot{font-size:8px!important;line-height:1.5}

/* Access activation toast */
.ezqb-access-toast{
  position:fixed;
  z-index:2147483600;
  right:20px;
  top:20px;
  min-height:48px;
  max-width:320px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid #a9dfc6;
  border-radius:13px;
  background:#fff;
  color:#176b49;
  box-shadow:0 18px 46px rgba(16,24,40,.16);
  font-size:11px;
  font-weight:800;
  opacity:0;
  transform:translateY(-8px);
  transition:.2s ease;
}

.ezqb-access-toast.show{
  opacity:1;
  transform:translateY(0);
}

.ezqb-access-toast b{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e8f8f0;
  color:#087a4c;
}

/* Keep controls visually consistent. */
.ezqb-btn{font-size:11.5px}
.ezqb-exam-mark,.ezqb-exam-exit{font-size:10px!important}
.ezqb-timerbox small{font-size:7.5px!important}
.ezqb-timerbox strong{font-size:14px!important}

/* Tablet */
@media(max-width:900px){
  .ezqb-exam-layout{
    display:block!important;
    padding:10px 9px 28px!important;
  }
  .ezqb-qcard{padding:18px!important}
  .ezqb-stem{font-size:16px!important;line-height:1.68!important}
  .ezqb-choice{min-height:54px;padding:12px!important}
  .ezqb-choicebody{font-size:14px!important}
  .ezqb-explanation{font-size:14px!important}
  .ezqb-objective{font-size:13px!important}
  .ezqb-access-toast{
    left:12px;
    right:12px;
    top:12px;
    max-width:none;
  }
}

/* Phone */
@media(max-width:560px){
  .ezqb-qcard{padding:14px!important}
  .ezqb-stem{font-size:15.5px!important;line-height:1.68!important}
  .ezqb-choicebody{font-size:13.5px!important;line-height:1.55!important}
  .ezqb-explanation{font-size:13.5px!important}
  .ezqb-objective{font-size:12.5px!important}
  .ezqb-question-footer{bottom:8px!important}
  .ezqb-question-footer .ezqb-btn{min-height:44px;font-size:11px}
  .ezqb-endrow{align-items:flex-start!important}
  .ezqb-endrow button{min-height:36px!important;font-size:10px!important}
}


/* =========================================================
   v1.5.1 — polished navigation + storefront-only no-access UX
   ========================================================= */

/* Proper line icons instead of Unicode symbols. */
.ezqb-nav-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  border-radius:10px;
  background:#f4f7fb;
  color:#64748b;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}

.ezqb-nav-icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ezqb-sidenav .ezqb-side-menu button{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
}

.ezqb-sidenav .ezqb-side-menu button .ezqb-nav-label{
  min-width:0;
  text-align:left;
}

.ezqb-sidenav .ezqb-side-menu button:hover .ezqb-nav-icon{
  background:#edf4ff;
  color:var(--ezqb-blue);
  transform:translateY(-1px);
}

.ezqb-sidenav .ezqb-side-menu button.active .ezqb-nav-icon{
  background:#dfeeff;
  color:var(--ezqb-blue);
}

/* Neutralize the old <b> icon styling from prior versions. */
.ezqb-sidenav .ezqb-side-menu button b{
  display:none!important;
}

/* Mobile bottom nav also uses the same clean SVG language. */
.ezqb-bottomnav .ezqb-nav-icon{
  width:25px;
  height:25px;
  background:transparent;
  color:currentColor;
}

.ezqb-bottomnav .ezqb-nav-icon svg{
  width:17px;
  height:17px;
}

/* No subscription: only the 3 plans should exist inside QBank.
   Remove the reserved sidebar space so the plans are genuinely centered. */
body.ezqb-no-access .ezqb-app{
  padding-left:28px!important;
  padding-right:28px!important;
  max-width:none!important;
}

body.ezqb-no-access .ezqb-sidenav,
body.ezqb-no-access .ezqb-bottomnav{
  display:none!important;
}

body.ezqb-no-access .ezqb-subscribe-wrap{
  width:min(100%,1120px);
  margin-left:auto!important;
  margin-right:auto!important;
}

body.ezqb-no-access .ezqb-subscribe-hero{
  margin-top:22px;
}

/* Slight icon/label polish on desktop sidebar. */
@media(min-width:1101px){
  .ezqb-sidenav .ezqb-side-menu button{
    min-height:50px!important;
    padding:8px 10px!important;
    gap:11px!important;
  }

  .ezqb-sidenav .ezqb-side-menu button .ezqb-nav-label{
    font-size:12px!important;
    font-weight:780!important;
    letter-spacing:-.05px;
  }
}

/* Storefront is clean and edge-safe on tablets/phones. */
@media(max-width:900px){
  body.ezqb-no-access .ezqb-app{
    padding:10px 12px 36px!important;
  }

  body.ezqb-no-access .ezqb-subscribe-wrap{
    padding-bottom:30px!important;
  }
}

@media(max-width:560px){
  body.ezqb-no-access .ezqb-app{
    padding:8px 10px 28px!important;
  }

  .ezqb-bottomnav .ezqb-nav-icon{
    width:23px;
    height:23px;
  }

  .ezqb-bottomnav .ezqb-nav-icon svg{
    width:16px;
    height:16px;
  }
}


/* =========================================================
   v1.6 — intelligent test builder
   ========================================================= */

.ezqb-smart-filter-summary{
  margin:12px 0 4px;
  min-height:66px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:1px solid #d9e6f8;
  border-radius:14px;
  background:linear-gradient(135deg,#f7fbff,#fff);
}

.ezqb-match-count{
  display:flex;
  align-items:baseline;
  gap:7px;
}

.ezqb-match-count b{
  color:var(--ezqb-blue);
  font-size:20px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.ezqb-match-count span{
  color:#526174;
  font-size:10px;
  font-weight:800;
}

.ezqb-match-count.zero b{
  color:#c83f50;
}

.ezqb-filter-live-status{
  min-height:24px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  color:#8a96a6;
  font-size:8.5px;
}

.ezqb-filter-loading{
  display:none;
  align-items:center;
  gap:5px;
  color:var(--ezqb-blue);
  font-weight:800;
}

.ezqb-filter-loading.show{
  display:inline-flex;
}

.ezqb-filter-loading i{
  width:10px;
  height:10px;
  border:1.5px solid #bdd4f8;
  border-top-color:var(--ezqb-blue);
  border-radius:50%;
  animation:ezqbSpin .7s linear infinite;
}

@keyframes ezqbSpin{
  to{transform:rotate(360deg)}
}

/* Counts beside each System / Subject / Topic are now unmistakable. */
.ezqb-filtercheck{
  grid-template-columns:18px minmax(0,1fr) auto!important;
  min-height:38px!important;
}

.ezqb-filter-count{
  min-width:54px;
  display:flex!important;
  justify-content:flex-end;
  align-items:baseline;
  gap:3px;
  color:#8290a3!important;
  font-variant-numeric:tabular-nums;
}

.ezqb-filter-count b{
  color:#526174;
  font-size:10.5px;
  font-weight:900;
}

.ezqb-filter-count span{
  font-size:7.5px;
  font-weight:800;
}

.ezqb-filtercheck.active .ezqb-filter-count b{
  color:var(--ezqb-blue);
}

.ezqb-create-section-head p{
  font-size:8.5px!important;
}

.ezqb-section-actions>span{
  padding:3px 4px;
  color:#98a2b3;
  font-size:8px;
  font-weight:800;
}

.ezqb-filter-empty{
  grid-column:1/-1;
  padding:18px 12px;
  border:1px dashed #d9e0e9;
  border-radius:11px;
  background:#fbfcfe;
  color:#7d8999;
  text-align:center;
  font-size:9px;
}

.ezqb-count-warning{
  display:none;
  margin-top:7px;
  color:#c83f50;
  font-size:8.5px;
  font-weight:800;
}

.ezqb-count-warning.show{
  display:block;
}

/* Systems are the primary parent filter; give the first smart-filter section
   a little visual priority without adding clutter. */
#ezqb-smart-filters [data-filter-section="systems"]{
  border-top-color:#cfdff8;
}

#ezqb-smart-filters [data-filter-section="systems"] .ezqb-create-section-head h3{
  color:#173e78;
}

/* Tablet */
@media(max-width:900px){
  .ezqb-smart-filter-summary{
    margin-top:9px;
  }

  .ezqb-filter-count{
    min-width:48px;
  }
}

/* Phone */
@media(max-width:620px){
  .ezqb-smart-filter-summary{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
    padding:11px 12px;
  }

  .ezqb-match-count b{
    font-size:18px;
  }

  .ezqb-filter-live-status{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .ezqb-filtercheck{
    min-height:44px!important;
  }

  .ezqb-filter-count{
    min-width:50px;
  }

  .ezqb-filter-count b{
    font-size:10px;
  }
}


/* =========================================================
   v1.6.1 — answer selection + desktop elimination
   ========================================================= */

/* Selected answer must be unmistakable BEFORE Submit. */
.ezqb-choice{
  position:relative;
}

.ezqb-choice.selected:not(.correct):not(.wrong){
  border-color:#1267f6!important;
  background:#edf5ff!important;
  box-shadow:
    0 0 0 2px rgba(18,103,246,.12),
    0 5px 16px rgba(18,103,246,.07)!important;
}

.ezqb-choice.selected:not(.correct):not(.wrong) .ezqb-letter{
  background:#1267f6!important;
  border-color:#1267f6!important;
  color:#fff!important;
}

.ezqb-choice.selected:not(.correct):not(.wrong) .ezqb-choicebody{
  color:#173e78!important;
  font-weight:650;
}

.ezqb-selected-indicator{
  flex:0 0 auto;
  align-self:center;
  margin-left:auto;
  padding:5px 8px;
  border-radius:999px;
  background:#dceaff;
  color:#0955ca;
  font-size:8px;
  font-weight:900;
  white-space:nowrap;
}

.ezqb-selected-indicator[hidden]{
  display:none!important;
}

/* Right-click exclusion, similar to exam/QBank elimination tools. */
.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong){
  background:#fafbfc!important;
  border-color:#e1e6ed!important;
}

.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong) .ezqb-choicebody{
  color:#8b95a5!important;
  text-decoration-line:line-through;
  text-decoration-thickness:1.5px;
  text-decoration-color:#697586;
  opacity:.72;
}

.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong) .ezqb-letter{
  background:#f1f3f6!important;
  border-color:#d8dee7!important;
  color:#98a2b3!important;
}

.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong):after{
  content:"×";
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  color:#98a2b3;
  font-size:17px;
  font-weight:500;
  pointer-events:none;
}

.ezqb-choice.eliminated:not(.selected) .ezqb-selected-indicator{
  display:none!important;
}

.ezqb-choice-hint{
  margin:7px 2px 0;
  color:#98a2b3;
  font-size:8px;
  line-height:1.4;
}

/* The hint is only useful on mouse/trackpad devices. */
@media(pointer:coarse){
  .ezqb-choice-hint{
    display:none!important;
  }
}

/* Keep selected state clean on narrow screens. */
@media(max-width:620px){
  .ezqb-selected-indicator{
    padding:4px 6px;
    font-size:7.5px;
  }
}


/* =========================================================
   v1.6.2 — final-question flow + post-answer taxonomy + results
   ========================================================= */

.ezqb-toolbar-tools-only{
  justify-content:flex-end!important;
}

/* Taxonomy is study feedback, so it appears only after an answer at the bottom. */
.ezqb-answer-tags{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
  margin-left:auto;
}
.ezqb-answer-tags span{
  padding:6px 9px;
  border:1px solid #dde5ef;
  border-radius:999px;
  background:#f7f9fc;
  color:#637083;
  font-size:8.5px;
  font-weight:700;
}
.ezqb-answer-meta-row{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #f0f2f4;
}
.ezqb-endrow{
  justify-content:space-between!important;
}
.ezqb-endrow .ezqb-answer-tags{
  max-width:78%;
}

/* Clean final-question actions: no Sessions + Results pair. */
.ezqb-question-footer.ezqb-footer-two{
  grid-template-columns:1fr 1.35fr!important;
}
.ezqb-finish-btn{
  background:#1267f6!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 8px 20px rgba(18,103,246,.16);
}

/* Selected answer is clearly visible before Submit. */
.ezqb-choice.selected:not(.correct):not(.wrong){
  border-color:#1267f6!important;
  background:#edf5ff!important;
  box-shadow:0 0 0 2px rgba(18,103,246,.12),0 5px 16px rgba(18,103,246,.07)!important;
}
.ezqb-choice.selected:not(.correct):not(.wrong) .ezqb-letter{
  background:#1267f6!important;
  border-color:#1267f6!important;
  color:#fff!important;
}
.ezqb-choice.selected:not(.correct):not(.wrong) .ezqb-choicebody{
  color:#173e78!important;
  font-weight:650;
}
.ezqb-selected-indicator{
  flex:0 0 auto;
  margin-left:auto;
  padding:5px 8px;
  border-radius:999px;
  background:#dceaff;
  color:#0955ca;
  font-size:8px;
  font-weight:900;
  white-space:nowrap;
}
.ezqb-selected-indicator[hidden]{display:none!important}

/* Laptop right-click elimination. */
.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong){
  position:relative;
  background:#fafbfc!important;
  border-color:#e1e6ed!important;
}
.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong) .ezqb-choicebody{
  color:#8b95a5!important;
  text-decoration:line-through;
  text-decoration-thickness:1.5px;
  text-decoration-color:#697586;
  opacity:.72;
}
.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong) .ezqb-letter{
  background:#f1f3f6!important;
  border-color:#d8dee7!important;
  color:#98a2b3!important;
}
.ezqb-choice.eliminated:not(.selected):not(.correct):not(.wrong):after{
  content:'×';
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  color:#98a2b3;
  font-size:17px;
  pointer-events:none;
}
.ezqb-choice-hint{
  margin:7px 2px 0;
  color:#98a2b3;
  font-size:8px;
}
@media(pointer:coarse){.ezqb-choice-hint{display:none!important}}

/* Results + analysis */
.ezqb-result-pro{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.ezqb-resultgrid-five{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.ezqb-result-analysis{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid #e8edf3;
}
.ezqb-result-sectionhead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  margin-bottom:12px;
}
.ezqb-result-sectionhead h3{
  margin:3px 0 0;
  font-size:16px;
}
.ezqb-result-sectionhead small{
  color:#98a2b3;
  font-size:8.5px;
}
.ezqb-result-systems{
  display:grid;
  gap:10px;
}
.ezqb-result-system{
  padding:12px 14px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#fbfcfe;
}
.ezqb-result-system-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.ezqb-result-system-top b{font-size:11px}
.ezqb-result-system-top small{
  display:block;
  margin-top:3px;
  color:#8a96a6;
  font-size:8px;
}
.ezqb-result-system-top strong{
  font-size:13px;
  color:#173e78;
}
.ezqb-result-system-bar{
  height:6px;
  margin-top:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e8edf4;
}
.ezqb-result-system-bar span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#1267f6;
}
.ezqb-result-actions-final{
  margin-top:22px!important;
}

@media(max-width:900px){
  .ezqb-resultgrid-five{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ezqb-resultgrid-five>div:last-child{grid-column:span 2}
}
@media(max-width:620px){
  .ezqb-answer-tags{justify-content:flex-start;margin-left:0}
  .ezqb-endrow{align-items:flex-start!important;flex-direction:column!important}
  .ezqb-endrow .ezqb-answer-tags{max-width:100%}
  .ezqb-question-footer.ezqb-footer-two{grid-template-columns:1fr!important}
  .ezqb-question-footer.ezqb-footer-two>*{grid-column:auto!important;order:initial!important}
  .ezqb-resultgrid-five{grid-template-columns:1fr 1fr!important}
  .ezqb-resultgrid-five>div:last-child{grid-column:span 2}
}


/* =========================================================
   v1.7 — persistence, smooth filters, final answer cleanup
   ========================================================= */

/* Watermark stays present for content protection but gets its own clean row,
   below the answer taxonomy instead of colliding with it. */
.ezqb-qcard:after{
  content:none!important;
}

.ezqb-question-watermark{
  margin-top:14px;
  padding-top:8px;
  min-height:18px;
  text-align:right;
  color:rgba(15,23,42,.13);
  font-size:7px;
  font-weight:850;
  letter-spacing:.65px;
  line-height:1;
  user-select:none;
  pointer-events:none;
}

.ezqb-endrow + .ezqb-question-watermark,
.ezqb-answer-meta-row + .ezqb-question-watermark{
  margin-top:8px;
}

/* Correct/incorrect is already communicated by answer colors; keep the
   explanation area visually quiet. */
.ezqb-review-title{
  display:none!important;
}
.ezqb-review{
  margin-top:18px!important;
}

/* Note autosave status is compact and never shifts the toolbar. */
.ezqb-note-pop-actions>span{
  min-width:78px;
  text-align:left;
}

/* Smart filter interactions: avoid expensive paint effects while long facet
   lists are being replaced. */
#ezqb-smart-filters{
  contain:layout style;
}

.ezqb-filter-list{
  content-visibility:auto;
  contain-intrinsic-size:420px;
}

.ezqb-filtercheck{
  transition:background-color .12s ease,color .12s ease,border-color .12s ease!important;
}

.ezqb-filter-loading.show{
  opacity:1;
}

@media(max-width:620px){
  .ezqb-question-watermark{
    margin-top:11px;
    font-size:6.5px;
  }
}


/* =========================================================
   v1.7.1 — strict final-question footer
   ========================================================= */

.ezqb-question-footer.ezqb-footer-two{
  grid-template-columns:1fr 1fr!important;
}

.ezqb-finish-btn{
  background:var(--ezqb-blue)!important;
  border-color:var(--ezqb-blue)!important;
  color:#fff!important;
  font-weight:900!important;
}

.ezqb-finish-btn:hover{
  filter:brightness(.97);
}

@media(max-width:620px){
  .ezqb-question-footer.ezqb-footer-two{
    grid-template-columns:1fr 1fr!important;
  }
}


/* =========================================================
   v1.8 — dedicated saved-session Review Mode
   ========================================================= */

.ezqb-review-choice-badge{
  flex:0 0 auto;
  margin-left:auto;
  padding:5px 8px;
  border-radius:999px;
  font-size:8px;
  font-weight:900;
  white-space:nowrap;
}
.ezqb-review-choice-badge.correct{
  background:#dff7eb;
  color:#067647;
}
.ezqb-review-choice-badge.wrong{
  background:#ffe5e9;
  color:#b4233a;
}
.ezqb-omitted-note{
  margin-bottom:12px;
  padding:9px 11px;
  border:1px solid #f1d7a8;
  border-radius:10px;
  background:#fffaf0;
  color:#8a5b0a;
  font-size:9px;
  font-weight:800;
}
.ezqb-review-footer .ezqb-btn:last-child{
  background:#1267f6!important;
  color:#fff!important;
  border-color:#1267f6!important;
}
.ezqb-choice:disabled{
  cursor:default;
  opacity:1;
}
@media(max-width:620px){
  .ezqb-review-choice-badge{font-size:7.5px;padding:4px 6px}
}

/* =========================================================
   v1.9.2 — review cleanup
   ========================================================= */

/* Legacy navigator helper copy is intentionally removed. */
.ezqb-nav-foot{
  display:none!important;
}

/* =========================================================
   v1.9.3 — polished Test Name field
   ========================================================= */

.ezqb-test-name-section{
  padding-top:9px!important;
}

.ezqb-test-name-section .ezqb-create-section-head{
  margin-bottom:10px!important;
}

.ezqb-test-name-card{
  width:min(100%,900px);
  min-height:74px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:12px 13px;
  border:1px solid #dce3ec;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(16,24,40,.035);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.ezqb-test-name-card:focus-within{
  border-color:#8bb4f7;
  box-shadow:0 0 0 3px rgba(18,103,246,.055),0 7px 22px rgba(16,24,40,.045);
}

.ezqb-test-name-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#edf5ff;
  color:#1267f6;
}

.ezqb-test-name-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ezqb-test-name-wrap{
  position:relative;
  width:100%;
  max-width:none;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 10px 0 0;
  border:1px solid #e1e7ef;
  border-radius:10px;
  background:#f8fafc;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.ezqb-test-name-wrap:focus-within{
  border-color:#8bb4f7;
  background:#fff;
  box-shadow:0 0 0 3px rgba(18,103,246,.05);
}

.ezqb-test-name-wrap input{
  flex:1 1 auto;
  width:100%;
  min-width:0;
  min-height:46px;
  padding:0 12px;
  border:0!important;
  border-radius:10px;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ezqb-ink)!important;
  font-family:inherit;
  font-size:13.5px!important;
  font-weight:700!important;
  line-height:1.2;
}

.ezqb-test-name-wrap input::placeholder{
  color:#98a2b3;
  font-weight:500;
}

#ezqb-test-name-count{
  position:static!important;
  transform:none!important;
  flex:0 0 auto;
  min-width:43px;
  padding:5px 7px;
  border-radius:999px;
  background:#eef2f7;
  color:#7d8999;
  text-align:center;
  font-size:8.5px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
}

.ezqb-test-name-section .ezqb-count-warning.show{
  width:min(100%,900px);
  margin-top:7px;
}

@media(max-width:620px){
  .ezqb-test-name-card{
    min-height:0;
    grid-template-columns:36px minmax(0,1fr);
    gap:9px;
    padding:9px;
    border-radius:12px;
  }

  .ezqb-test-name-icon{
    width:36px;
    height:36px;
    border-radius:9px;
  }

  .ezqb-test-name-icon svg{
    width:17px;
    height:17px;
  }

  .ezqb-test-name-wrap{
    min-height:46px;
  }

  .ezqb-test-name-wrap input{
    min-height:44px;
    font-size:13px!important;
    padding-left:10px;
  }

  #ezqb-test-name-count{
    min-width:40px;
    padding:4px 6px;
    font-size:8px!important;
  }
}


/* =========================================================
   v1.10 — Performance Pro
   ========================================================= */

.ezqb-performance-page{
  max-width:1120px;
  margin:0 auto;
  display:grid;
  gap:14px;
}

.ezqb-perf-pagehead{
  margin-bottom:1px!important;
  align-items:center!important;
}
.ezqb-perf-pagehead>div:nth-child(2){min-width:0;flex:1}
.ezqb-perf-pagehead h2{font-size:23px!important;margin:2px 0 2px!important}
.ezqb-perf-pagehead p{margin:0;color:var(--ezqb-muted);font-size:9px;line-height:1.45}
.ezqb-perf-tabs{margin:0!important;flex:0 0 auto}

.ezqb-perf-hero{
  padding:18px;
  display:grid;
  grid-template-columns:minmax(300px,.9fr) minmax(0,1.35fr);
  gap:18px;
  align-items:stretch;
  overflow:hidden;
  background:linear-gradient(135deg,#fff 0%,#fbfdff 62%,#f3f8ff 100%);
  border-color:#dce6f3;
}

.ezqb-perf-score-wrap{
  min-width:0;
  display:flex;
  align-items:center;
  gap:16px;
  padding:8px 4px;
}
.ezqb-perf-ring{
  --ring:#1267f6;
  width:132px;
  height:132px;
  flex:0 0 132px;
  position:relative;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:conic-gradient(var(--ring) calc(var(--perf-p) * 1%),#edf1f6 0);
}
.ezqb-perf-ring:before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1px #eef2f6;
}
.ezqb-perf-ring.good{--ring:var(--ezqb-green)}
.ezqb-perf-ring.mid{--ring:#d59424}
.ezqb-perf-ring.low{--ring:var(--ezqb-red)}
.ezqb-perf-ring.neutral{--ring:var(--ezqb-blue)}
.ezqb-perf-ring>div{position:relative;z-index:1;text-align:center}
.ezqb-perf-ring b{display:block;font-size:25px;letter-spacing:-.6px;line-height:1}
.ezqb-perf-ring span{display:block;margin-top:5px;color:var(--ezqb-muted);font-size:8px;font-weight:800}

.ezqb-perf-score-copy{min-width:0}
.ezqb-perf-score-copy h3{margin:4px 0 6px;font-size:17px;line-height:1.18;letter-spacing:-.3px}
.ezqb-perf-score-copy p{margin:0;color:var(--ezqb-muted);font-size:9px;line-height:1.55}
.ezqb-perf-trend{display:inline-flex;align-items:center;margin-top:9px;padding:6px 8px;border-radius:999px;font-size:8px;font-weight:850}
.ezqb-perf-trend.up{background:var(--ezqb-green-soft);color:#0c7f4c}
.ezqb-perf-trend.down{background:var(--ezqb-red-soft);color:#c33f50}
.ezqb-perf-trend.neutral{background:#f3f5f8;color:#7b8798}

.ezqb-perf-kpis{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.ezqb-perf-kpis>div{
  min-width:0;
  padding:13px;
  border:1px solid #e5eaf0;
  border-radius:14px;
  background:rgba(255,255,255,.86);
}
.ezqb-perf-kpis span{display:block;color:var(--ezqb-muted);font-size:8px;font-weight:800}
.ezqb-perf-kpis b{display:block;margin-top:3px;font-size:17px;letter-spacing:-.25px}
.ezqb-perf-kpis small{display:block;margin-top:3px;color:#8a95a4;font-size:7.5px;line-height:1.4}
.ezqb-perf-kpi-bar{height:5px;margin-top:9px;border-radius:99px;overflow:hidden;background:#edf1f5}
.ezqb-perf-kpi-bar i{display:block;height:100%;border-radius:99px;background:var(--ezqb-blue)}

.ezqb-perf-insights-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:14px;
}
.ezqb-perf-insight{
  min-width:0;
  padding:18px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  border:1px solid #f0d29e;
  border-radius:18px;
  background:linear-gradient(135deg,#fffaf1,#fff);
  box-shadow:var(--ezqb-shadow);
}
.ezqb-perf-insight.empty{border-color:#dce6f3;background:linear-gradient(135deg,#f8fbff,#fff)}
.ezqb-perf-insight-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#fff0cf;color:#9b6813;font-size:22px;font-weight:500}
.ezqb-perf-insight.empty .ezqb-perf-insight-icon{background:#eaf3ff;color:var(--ezqb-blue)}
.ezqb-perf-insight-copy{min-width:0}
.ezqb-perf-insight-copy h3{margin:3px 0 3px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ezqb-perf-insight-copy p{margin:0;color:#687587;font-size:8.5px;line-height:1.45}
.ezqb-perf-insight-copy p b{color:#263244}
.ezqb-perf-insight .ezqb-btn{min-width:94px}

.ezqb-perf-insights-side{padding:6px 14px;display:grid;align-content:center}
.ezqb-perf-mini-insight{padding:12px 2px;border-top:1px solid #edf0f4}
.ezqb-perf-mini-insight:first-child{border-top:0}
.ezqb-perf-mini-insight>b{display:block;margin:3px 0 2px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ezqb-perf-mini-insight>small{display:block;color:var(--ezqb-muted);font-size:7.5px;line-height:1.4}
.ezqb-perf-mini-insight.good>b{color:#126e49}

.ezqb-perf-recent,.ezqb-perf-systems-card{padding:17px}
.ezqb-perf-sectionhead{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}
.ezqb-perf-sectionhead h3{margin:2px 0 0;font-size:15px}
.ezqb-perf-sectionhead p{margin:3px 0 0;color:var(--ezqb-muted);font-size:8px}
.ezqb-perf-sectionhead>button{border:0;background:transparent;color:var(--ezqb-blue);font-size:8.5px;font-weight:850;padding:5px 0}

.ezqb-perf-session-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ezqb-perf-session{
  min-width:0;
  padding:11px;
  border:1px solid var(--ezqb-line);
  border-radius:13px;
  background:#fff;
  color:var(--ezqb-ink);
  text-align:left;
  transition:.14s ease;
}
.ezqb-perf-session:hover{border-color:#bfd3f5;background:#fbfdff;transform:translateY(-1px)}
.ezqb-perf-session-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ezqb-perf-session-top span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:850}
.ezqb-perf-session-top b{font-size:10px}
.ezqb-perf-session-bar{height:5px;margin:8px 0;background:#eef1f5;border-radius:99px;overflow:hidden}
.ezqb-perf-session-bar span{display:block;height:100%;border-radius:99px;background:var(--ezqb-blue)}
.ezqb-perf-session-meta{display:flex;gap:5px;flex-wrap:wrap;color:#8c97a6;font-size:7px;text-transform:capitalize}
.ezqb-perf-session-meta span+span:before{content:"·";margin-right:5px;color:#c0c6cf}
.ezqb-perf-empty{padding:18px;border:1px dashed #dfe5ed;border-radius:12px;background:#fbfcfd;color:#8a95a4;text-align:center;font-size:9px;grid-column:1/-1}

.ezqb-perf-sectionhead.systems{align-items:center}
.ezqb-perf-level-summary{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ezqb-perf-level-summary span{padding:6px 8px;border-radius:999px;font-size:7.5px;font-weight:850}
.ezqb-perf-level-summary .strong{background:var(--ezqb-green-soft);color:#0d7d4e}
.ezqb-perf-level-summary .developing{background:#fff7e8;color:#9b6813}
.ezqb-perf-level-summary .weak{background:var(--ezqb-red-soft);color:#c13f4f}

.ezqb-perf-systems{display:grid;gap:7px}
.ezqb-perf-system{border:1px solid #e8ecf1;border-radius:14px;background:#fff;padding:13px 14px}
.ezqb-perf-system-main{display:grid;grid-template-columns:minmax(200px,1.5fr) 150px minmax(220px,1fr);gap:15px;align-items:center}
.ezqb-perf-system-title{min-width:0}
.ezqb-perf-system-title>div{display:flex;align-items:center;gap:7px;min-width:0}
.ezqb-perf-system-title b{min-width:0;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ezqb-perf-system-title small{display:block;margin-top:4px;color:#8a95a4;font-size:7.5px;line-height:1.35}
.ezqb-perf-level{flex:0 0 auto;padding:4px 6px;border-radius:999px;font-size:6.5px;font-weight:900}
.ezqb-perf-level.strong{background:var(--ezqb-green-soft);color:#087849}
.ezqb-perf-level.developing{background:#fff7e8;color:#98630f}
.ezqb-perf-level.weak{background:var(--ezqb-red-soft);color:#bf3d4d}
.ezqb-perf-level.early{background:#f2f4f7;color:#7a8697}
.ezqb-perf-system-metrics{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.ezqb-perf-system-metrics>div{padding:7px 8px;border-radius:10px;background:#f8fafc;border:1px solid #f0f2f5}
.ezqb-perf-system-metrics span{display:block;color:#8a95a4;font-size:6.5px}
.ezqb-perf-system-metrics strong{display:block;margin-top:1px;font-size:10px}
.ezqb-perf-dualbars{display:grid;gap:6px}
.ezqb-perf-dualbars>div{display:grid;grid-template-columns:49px 1fr;gap:7px;align-items:center}
.ezqb-perf-dualbars i{font-style:normal;color:#8a95a4;font-size:6.5px}
.ezqb-perf-dualbars span{height:5px;border-radius:99px;background:#edf1f5;overflow:hidden}
.ezqb-perf-dualbars b{display:block;height:100%;border-radius:99px;background:var(--ezqb-blue)}
.ezqb-perf-dualbars>div:first-child b{background:var(--ezqb-green)}
.ezqb-perf-system-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;margin-top:-4px;padding-top:8px;border-top:1px solid #f1f3f5;color:#8a95a4;font-size:7px}
.ezqb-perf-system-foot button{border:0;background:transparent;color:var(--ezqb-blue);font-size:7.5px;font-weight:850;padding:3px}

@media(max-width:980px){
  .ezqb-perf-hero{grid-template-columns:1fr}
  .ezqb-perf-score-wrap{justify-content:flex-start}
  .ezqb-perf-insights-grid{grid-template-columns:1fr}
  .ezqb-perf-session-grid{grid-template-columns:1fr 1fr}
  .ezqb-perf-system-main{grid-template-columns:minmax(0,1fr) 145px}
  .ezqb-perf-dualbars{grid-column:1/-1}
}

@media(max-width:700px){
  .ezqb-perf-pagehead{align-items:flex-start!important;flex-wrap:wrap}
  .ezqb-perf-tabs{width:100%;margin-left:50px!important}
  .ezqb-perf-hero{padding:14px}
  .ezqb-perf-score-wrap{align-items:flex-start}
  .ezqb-perf-ring{width:108px;height:108px;flex-basis:108px}
  .ezqb-perf-ring:before{inset:8px}
  .ezqb-perf-ring b{font-size:21px}
  .ezqb-perf-score-copy h3{font-size:15px}
  .ezqb-perf-kpis{grid-template-columns:1fr 1fr}
  .ezqb-perf-insight{grid-template-columns:40px minmax(0,1fr);padding:14px}
  .ezqb-perf-insight-icon{width:40px;height:40px}
  .ezqb-perf-insight .ezqb-btn{grid-column:1/-1;width:100%}
  .ezqb-perf-session-grid{grid-template-columns:1fr}
  .ezqb-perf-sectionhead.systems{align-items:flex-start;flex-direction:column}
  .ezqb-perf-level-summary{justify-content:flex-start}
  .ezqb-perf-system-main{grid-template-columns:1fr}
  .ezqb-perf-system-metrics{grid-template-columns:1fr 1fr}
  .ezqb-perf-dualbars{grid-column:auto}
  .ezqb-perf-system-foot{grid-column:auto}
}

@media(max-width:460px){
  .ezqb-performance-page{gap:10px}
  .ezqb-perf-pagehead h2{font-size:20px!important}
  .ezqb-perf-score-wrap{display:grid;grid-template-columns:94px 1fr;gap:12px}
  .ezqb-perf-ring{width:94px;height:94px;flex-basis:94px}
  .ezqb-perf-kpis{grid-template-columns:1fr 1fr;gap:6px}
  .ezqb-perf-kpis>div{padding:10px}
  .ezqb-perf-kpis b{font-size:15px}
  .ezqb-perf-recent,.ezqb-perf-systems-card{padding:13px}
  .ezqb-perf-system{padding:11px}
}


/* =========================================================
   v1.10.1 — Performance full-width readability pass
   ========================================================= */

/* Use the entire QBank content canvas instead of a centered dashboard card. */
.ezqb-performance-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  gap:0!important;
}

.ezqb-perf-pagehead{
  width:100%;
  padding:4px 0 18px!important;
  margin:0!important;
  border-bottom:1px solid #e3e8ef;
}
.ezqb-perf-pagehead h2{
  font-size:30px!important;
  line-height:1.08!important;
  letter-spacing:-.75px!important;
}
.ezqb-perf-pagehead p{
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.ezqb-perf-pagehead .ezqb-kicker{font-size:9px!important}

/* Remove the outer card look from every Performance section. */
.ezqb-performance-page .ezqb-perf-hero,
.ezqb-performance-page .ezqb-perf-insights-side,
.ezqb-performance-page .ezqb-perf-recent,
.ezqb-performance-page .ezqb-perf-systems-card{
  width:100%;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

/* Hero becomes a full-width analytics band. */
.ezqb-perf-hero{
  padding:26px 0!important;
  grid-template-columns:minmax(360px,.9fr) minmax(0,1.35fr)!important;
  gap:34px!important;
  border-bottom:1px solid #e3e8ef!important;
  overflow:visible!important;
}
.ezqb-perf-score-wrap{gap:22px!important;padding:0!important}
.ezqb-perf-ring{width:150px!important;height:150px!important;flex-basis:150px!important}
.ezqb-perf-ring:before{inset:11px!important}
.ezqb-perf-ring b{font-size:31px!important;letter-spacing:-.8px!important}
.ezqb-perf-ring span{font-size:10px!important;margin-top:6px!important}
.ezqb-perf-score-copy h3{font-size:22px!important;line-height:1.16!important;margin:5px 0 8px!important}
.ezqb-perf-score-copy p{font-size:12px!important;line-height:1.6!important}
.ezqb-perf-trend{font-size:10px!important;padding:7px 10px!important;margin-top:12px!important}

/* KPI area: flat columns, no little boxes. */
.ezqb-perf-kpis{
  gap:0!important;
  border-left:1px solid #e5eaf0;
  border-top:1px solid #e5eaf0;
}
.ezqb-perf-kpis>div{
  padding:18px 20px!important;
  border:0!important;
  border-right:1px solid #e5eaf0!important;
  border-bottom:1px solid #e5eaf0!important;
  border-radius:0!important;
  background:transparent!important;
}
.ezqb-perf-kpis span{font-size:10px!important}
.ezqb-perf-kpis b{font-size:23px!important;margin-top:5px!important}
.ezqb-perf-kpis small{font-size:9.5px!important;line-height:1.5!important;margin-top:5px!important}
.ezqb-perf-kpi-bar{height:6px!important;margin-top:12px!important}

/* Insights become full-width rows rather than floating cards. */
.ezqb-perf-insights-grid{
  width:100%;
  grid-template-columns:1fr!important;
  gap:0!important;
  border-bottom:1px solid #e3e8ef;
}
.ezqb-perf-insight{
  width:100%;
  padding:24px 0!important;
  grid-template-columns:52px minmax(0,1fr) auto!important;
  gap:17px!important;
  border:0!important;
  border-bottom:1px solid #edf0f4!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.ezqb-perf-insight-icon{width:52px!important;height:52px!important;border-radius:14px!important;font-size:24px!important}
.ezqb-perf-insight-copy h3{font-size:19px!important;margin:4px 0 5px!important}
.ezqb-perf-insight-copy p{font-size:11px!important;line-height:1.55!important}
.ezqb-perf-insight .ezqb-btn{min-height:42px!important;font-size:11px!important;min-width:120px!important}

.ezqb-perf-insights-side{
  padding:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-items:stretch!important;
}
.ezqb-perf-mini-insight{
  padding:20px 0!important;
  border:0!important;
  min-width:0;
}
.ezqb-perf-mini-insight+ .ezqb-perf-mini-insight{
  padding-left:28px!important;
  margin-left:28px!important;
  border-left:1px solid #e3e8ef!important;
}
.ezqb-perf-mini-insight>b{font-size:15px!important;margin:5px 0 4px!important}
.ezqb-perf-mini-insight>small{font-size:10px!important;line-height:1.5!important}

/* Recent activity: full-width section with flat activity rows. */
.ezqb-perf-recent,
.ezqb-perf-systems-card{padding:24px 0!important}
.ezqb-perf-recent{border-bottom:1px solid #e3e8ef!important}
.ezqb-perf-sectionhead{margin-bottom:15px!important}
.ezqb-perf-sectionhead h3{font-size:20px!important;margin-top:3px!important}
.ezqb-perf-sectionhead p{font-size:10px!important;line-height:1.5!important}
.ezqb-perf-sectionhead>button{font-size:10.5px!important}

.ezqb-perf-session-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 28px!important;
  border-top:1px solid #e8ecf1;
}
.ezqb-perf-session{
  padding:15px 0!important;
  border:0!important;
  border-bottom:1px solid #e8ecf1!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ezqb-perf-session:hover{background:#f8fbff!important;transform:none!important;border-color:#e8ecf1!important}
.ezqb-perf-session-top span{font-size:12px!important}
.ezqb-perf-session-top b{font-size:13px!important}
.ezqb-perf-session-meta{font-size:9px!important;gap:7px!important}
.ezqb-perf-session-bar{height:6px!important;margin:10px 0!important}
.ezqb-perf-empty{font-size:11px!important;border-radius:0!important;background:transparent!important}

/* System breakdown: clean full-width table-like rows. */
.ezqb-perf-level-summary span{font-size:9px!important;padding:6px 9px!important}
.ezqb-perf-systems{gap:0!important;border-top:1px solid #e3e8ef}
.ezqb-perf-system{
  padding:18px 0!important;
  border:0!important;
  border-bottom:1px solid #e3e8ef!important;
  border-radius:0!important;
  background:transparent!important;
}
.ezqb-perf-system-main{
  grid-template-columns:minmax(240px,1.35fr) 190px minmax(260px,1fr)!important;
  gap:24px!important;
}
.ezqb-perf-system-title b{font-size:13.5px!important}
.ezqb-perf-system-title small{font-size:9.5px!important;margin-top:5px!important}
.ezqb-perf-level{font-size:8px!important;padding:5px 7px!important}
.ezqb-perf-system-metrics{gap:12px!important}
.ezqb-perf-system-metrics>div{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.ezqb-perf-system-metrics span{font-size:8.5px!important}
.ezqb-perf-system-metrics strong{font-size:13px!important;margin-top:3px!important}
.ezqb-perf-dualbars{gap:9px!important}
.ezqb-perf-dualbars>div{grid-template-columns:62px 1fr!important;gap:10px!important}
.ezqb-perf-dualbars i{font-size:8.5px!important}
.ezqb-perf-dualbars span{height:6px!important}
.ezqb-perf-system-foot{font-size:9px!important;margin-top:1px!important;padding-top:11px!important}
.ezqb-perf-system-foot button{font-size:9.5px!important}

/* Desktop gets every available pixel to breathe. */
@media(min-width:1101px){
  .ezqb-performance-page{padding-right:2px!important}
}

/* Tablet: keep full width and drop to comfortable one-column bands. */
@media(max-width:980px){
  .ezqb-perf-hero{grid-template-columns:1fr!important;gap:22px!important}
  .ezqb-perf-kpis{border-left:0!important}
  .ezqb-perf-session-grid{grid-template-columns:1fr!important;gap:0!important}
  .ezqb-perf-system-main{grid-template-columns:minmax(0,1fr) 180px!important;gap:18px!important}
  .ezqb-perf-dualbars{grid-column:1/-1!important}
}

@media(max-width:700px){
  .ezqb-perf-pagehead h2{font-size:25px!important}
  .ezqb-perf-pagehead p{font-size:10px!important}
  .ezqb-perf-hero{padding:20px 0!important}
  .ezqb-perf-ring{width:118px!important;height:118px!important;flex-basis:118px!important}
  .ezqb-perf-ring b{font-size:25px!important}
  .ezqb-perf-score-copy h3{font-size:18px!important}
  .ezqb-perf-score-copy p{font-size:10.5px!important}
  .ezqb-perf-kpis{grid-template-columns:1fr 1fr!important}
  .ezqb-perf-kpis>div{padding:14px 12px!important}
  .ezqb-perf-kpis b{font-size:19px!important}
  .ezqb-perf-insight{grid-template-columns:44px minmax(0,1fr)!important;padding:19px 0!important}
  .ezqb-perf-insight-icon{width:44px!important;height:44px!important}
  .ezqb-perf-insight .ezqb-btn{grid-column:1/-1!important;width:100%!important}
  .ezqb-perf-insights-side{grid-template-columns:1fr!important}
  .ezqb-perf-mini-insight+ .ezqb-perf-mini-insight{padding-left:0!important;margin-left:0!important;border-left:0!important;border-top:1px solid #e3e8ef!important}
  .ezqb-perf-system-main{grid-template-columns:1fr!important}
  .ezqb-perf-system-metrics{grid-template-columns:1fr 1fr!important}
  .ezqb-perf-system-foot{grid-column:auto!important}
}

@media(max-width:460px){
  .ezqb-performance-page{gap:0!important}
  .ezqb-perf-pagehead h2{font-size:23px!important}
  .ezqb-perf-score-wrap{grid-template-columns:100px 1fr!important;gap:13px!important}
  .ezqb-perf-ring{width:100px!important;height:100px!important;flex-basis:100px!important}
  .ezqb-perf-ring b{font-size:22px!important}
  .ezqb-perf-kpis{grid-template-columns:1fr!important;border-top:0!important}
  .ezqb-perf-kpis>div{border-left:0!important;border-right:0!important;padding:13px 0!important}
  .ezqb-perf-recent,.ezqb-perf-systems-card{padding:20px 0!important}
  .ezqb-perf-system{padding:15px 0!important}
}


/* =========================================================
   v1.12.1 — conversion-focused QBank storefront
   ========================================================= */
.ezqb-subscribe-wrap{
  max-width:1120px;
  margin:0 auto;
}
.ezqb-subscribe-hero{
  max-width:780px;
  margin:18px auto 30px;
}
.ezqb-subscribe-hero h1{
  margin:7px 0 10px;
  font-size:36px;
  line-height:1.12;
  letter-spacing:-1.2px;
}
.ezqb-subscribe-hero p{
  max-width:680px;
  margin:0 auto;
  font-size:13px;
  line-height:1.7;
}
.ezqb-plan-section{
  margin-top:22px;
}
.ezqb-plan-section-bundles{
  padding:22px;
  border:1px solid #d9e6fb;
  border-radius:26px;
  background:linear-gradient(145deg,#f7fbff 0%,#ffffff 55%,#f8fbff 100%);
  box-shadow:0 18px 50px rgba(16,24,40,.06);
}
.ezqb-plan-section-singles{
  margin-top:28px;
}
.ezqb-plan-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:16px;
}
.ezqb-plan-section-head h2{
  margin:4px 0 5px;
  font-size:23px;
  line-height:1.2;
  letter-spacing:-.45px;
}
.ezqb-plan-section-head p{
  max-width:650px;
  margin:0;
  color:#667085;
  font-size:11px;
  line-height:1.65;
}
.ezqb-plan-section-head-compact{
  padding:0 4px;
}
.ezqb-value-pill{
  flex:0 0 auto;
  padding:9px 12px;
  border:1px solid #cfe0fb;
  border-radius:999px;
  background:#fff;
  color:#1d4f91;
  font-size:9px;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
}
.ezqb-plan-grid-bundles{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.ezqb-plan-grid-singles{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.ezqb-plan-card{
  min-height:0;
  padding:24px;
  border-radius:22px;
}
.ezqb-plan-card.bundle{
  min-height:430px;
  border-color:#cbd9ec;
  box-shadow:0 12px 34px rgba(16,24,40,.07);
}
.ezqb-plan-card.bundle.featured{
  transform:translateY(-3px);
  border:2px solid #72a8ff;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 22px 54px rgba(18,103,246,.16);
}
.ezqb-plan-card.single{
  min-height:360px;
  box-shadow:0 8px 24px rgba(16,24,40,.045);
}
.ezqb-plan-badge{
  top:18px;
  right:18px;
  padding:7px 10px;
  font-size:8px;
}
.ezqb-plan-card.bundle:not(.featured) .ezqb-plan-badge{
  background:#f3f5f8;
  color:#344054;
}
.ezqb-plan-head>span{
  font-size:9px;
}
.ezqb-plan-head h3{
  margin:9px 0 8px;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.45px;
}
.ezqb-plan-card.bundle .ezqb-plan-head h3{
  font-size:27px;
}
.ezqb-plan-head p{
  min-height:0;
  margin:0;
  color:#667085;
  font-size:11px;
  line-height:1.65;
}
.ezqb-plan-price-row{
  min-height:82px;
  margin:20px 0 18px;
  padding:13px 0;
}
.ezqb-plan-price{
  font-size:25px;
  line-height:1.1;
}
.ezqb-plan-card.bundle .ezqb-plan-price{
  font-size:29px;
}
.ezqb-plan-price-row small{
  margin-top:4px;
  font-size:9px;
}
.ezqb-plan-saving{
  width:max-content;
  max-width:100%;
  margin-top:9px;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid #d9e6f7;
  background:#f5f8fc;
  color:#39536f;
  font-size:9px;
  font-weight:850;
}
.ezqb-plan-benefits{
  gap:11px;
  margin-bottom:22px;
}
.ezqb-plan-benefits span{
  display:flex;
  align-items:flex-start;
  gap:7px;
  color:#344054;
  font-size:10px;
  line-height:1.45;
}
.ezqb-plan-benefits span b{
  color:#12b76a;
  font-size:11px;
  line-height:1.3;
}
.ezqb-plan-cta{
  min-height:48px;
  padding:0 16px;
  border-radius:13px;
  font-size:10px;
}
.ezqb-plan-card.bundle .ezqb-plan-cta{
  min-height:52px;
  font-size:11px;
}
.ezqb-plan-card.featured .ezqb-plan-cta{
  box-shadow:0 10px 22px rgba(18,103,246,.2);
}
.ezqb-subscribe-note{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #eaecf0;
  font-size:9px;
}

@media(max-width:900px){
  .ezqb-plan-section-bundles{
    padding:16px;
    border-radius:22px;
  }
  .ezqb-plan-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .ezqb-value-pill{
    white-space:normal;
  }
  .ezqb-plan-grid-bundles,
  .ezqb-plan-grid-singles{
    grid-template-columns:1fr;
    max-width:650px;
    margin-left:auto;
    margin-right:auto;
  }
  .ezqb-plan-card.bundle,
  .ezqb-plan-card.single{
    min-height:0;
  }
  .ezqb-plan-card.bundle.featured{
    transform:none;
  }
}
@media(max-width:620px){
  .ezqb-subscribe-hero h1{
    font-size:29px;
  }
  .ezqb-subscribe-hero p{
    font-size:11px;
  }
  .ezqb-plan-section-bundles{
    padding:12px;
  }
  .ezqb-plan-card{
    padding:20px;
  }
  .ezqb-plan-card.bundle .ezqb-plan-head h3,
  .ezqb-plan-head h3{
    font-size:23px;
  }
}


/* =========================================================
   v1.12.2 — finish on explanation, then explicit Show Results
   ========================================================= */
.ezqb-finished-review-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 12px;
  padding:13px 15px;
  border:1px solid #b7e6d2;
  border-radius:14px;
  background:#f1fbf6;
  box-shadow:0 5px 18px rgba(16,24,40,.04);
}
.ezqb-finished-review-banner>div{display:grid;gap:3px}
.ezqb-finished-review-banner b{font-size:11px;color:#087451}
.ezqb-finished-review-banner span{font-size:9px;line-height:1.45;color:#567063}
.ezqb-finished-review-banner .ezqb-btn{flex:0 0 auto;min-width:120px}
@media(max-width:620px){
  .ezqb-finished-review-banner{align-items:stretch;flex-direction:column}
  .ezqb-finished-review-banner .ezqb-btn{width:100%}
}

/* =========================================================
   v1.12.3 — centered study tools + protected media polish
   ========================================================= */
.ezqb-toolbar-tools-only{
  justify-content:center!important;
}
.ezqb-toolbar-tools-only .ezqb-study-tools{
  width:auto;
  margin-left:auto;
  margin-right:auto;
  justify-content:center!important;
}
.ezqb-exam-exit.is-suspend{
  min-width:74px;
}
.ezqb-stem mark[data-markjs="true"],
.ezqb-explanation mark[data-markjs="true"],
.ezqb-answer-header mark[data-markjs="true"],
.ezqb-stem mark.bg-transparent,
.ezqb-explanation mark.bg-transparent,
.ezqb-answer-header mark.bg-transparent{
  padding:0!important;
  background:transparent!important;
  color:inherit!important;
}
.ezqb-qcard img[data-ezqb-protected-media="1"]{
  max-width:100%;
  height:auto;
}
@media(max-width:900px){
  .ezqb-toolbar-tools-only{
    align-items:center!important;
  }
  .ezqb-toolbar-tools-only .ezqb-study-tools{
    justify-content:center!important;
    flex-wrap:wrap;
  }
}


/* v1.12.6 media type safety */
.ezqb-media video{display:block;max-width:100%;width:auto;max-height:560px;margin:0 auto;border-radius:12px;background:#000}
.ezqb-media-link{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0;padding:14px 16px;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc;font-size:12px;font-weight:800}
.ezqb-media-link a{text-decoration:none;font-weight:900}

/* =========================================================
   v1.12.8 — multipart sets + polished navigator + exam tools
   ========================================================= */
@media(min-width:901px){
  .ezqb-exam-layout{
    grid-template-columns:244px minmax(0,960px)!important;
    gap:20px!important;
  }
  .ezqb-exam-navigator{
    padding:15px!important;
    overflow:auto!important;
  }
  .ezqb-navgrid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:8px!important;
    padding:3px!important;
  }
  .ezqb-navgrid button{
    width:100%!important;
    min-width:0!important;
    min-height:36px!important;
    box-sizing:border-box!important;
  }
}

.ezqb-examtop{
  grid-template-columns:minmax(170px,1fr) minmax(250px,440px) minmax(410px,1fr)!important;
}
.ezqb-exam-actions{gap:7px!important;min-width:0}
.ezqb-exam-utility{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 10px;
  border:1px solid var(--ezqb-line);
  border-radius:11px;
  background:#fff;
  color:#475467;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
  cursor:pointer;
}
.ezqb-exam-utility:hover,.ezqb-exam-utility.active{
  border-color:#9fc2fb;
  background:#f5f9ff;
  color:#1267f6;
}

/* Highlighter is one clean control. Clicking it while active turns it off. */
.ezqb-marker-anchor{position:relative;display:inline-flex}
.ezqb-marker-trigger{gap:7px!important;min-width:112px;justify-content:center}
.ezqb-marker-trigger.active{border-color:#9fc2fb!important;background:#f5f9ff!important;color:#1267f6!important}
.ezqb-marker-dot{width:12px;height:12px;border-radius:4px;border:1px solid rgba(15,23,42,.14);display:inline-block;flex:0 0 auto;background:#fff}
.ezqb-marker-dot.yellow{background:#fff199}.ezqb-marker-dot.green{background:#bcefd1}.ezqb-marker-dot.blue{background:#bfe2ff}.ezqb-marker-dot.pink{background:#ffcbd7}.ezqb-marker-dot.off{background:linear-gradient(135deg,#fff 45%,#ef5b69 46%,#ef5b69 54%,#fff 55%)}
.ezqb-marker-popover{
  display:none;
  position:absolute;
  z-index:250;
  top:calc(100% + 9px);
  left:50%;
  transform:translateX(-50%);
  width:220px;
  padding:13px;
  border:1px solid #dfe5ee;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 48px rgba(16,24,40,.17);
}
.ezqb-marker-popover.show{display:block}
.ezqb-marker-pop-title{display:grid;gap:2px;margin-bottom:10px;text-align:left}
.ezqb-marker-pop-title b{font-size:10px;color:#182230}.ezqb-marker-pop-title small{font-size:8px;color:#98a2b3}
.ezqb-marker-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ezqb-marker-colors .ezqb-color{width:100%;height:32px;border-radius:9px}
.ezqb-marker-erase{width:100%;margin-top:10px;min-height:34px;border:1px solid #e4e8ef;border-radius:9px;background:#f8fafc;color:#667085;font-size:9px;font-weight:800}

/* Calculator */
.ezqb-calc-backdrop{
  position:fixed;
  z-index:2147483500;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(15,23,42,.35);
  backdrop-filter:blur(3px);
}
.ezqb-calc-backdrop[hidden]{display:none!important}
.ezqb-calculator{
  width:min(340px,calc(100vw - 28px));
  padding:15px;
  border:1px solid #e0e6ee;
  border-radius:18px;
  background:#fff;
  box-shadow:0 26px 80px rgba(16,24,40,.28);
}
.ezqb-calc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ezqb-calc-head>div{display:grid;gap:2px}.ezqb-calc-head b{font-size:13px}.ezqb-calc-head small{font-size:8px;color:#98a2b3}
.ezqb-calc-head>button{width:32px;height:32px;border:0;border-radius:9px;background:#f3f5f8;color:#667085;font-size:18px}
.ezqb-calc-display{width:100%;height:58px;box-sizing:border-box;margin-bottom:10px;padding:0 14px;border:1px solid #dfe5ee;border-radius:12px;background:#f8fafc;color:#101828;text-align:right;font-size:25px;font-weight:800;font-variant-numeric:tabular-nums}
.ezqb-calc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ezqb-calc-grid button{min-height:48px;border:1px solid #e3e8ef;border-radius:11px;background:#fff;color:#344054;font-size:14px;font-weight:850;cursor:pointer}
.ezqb-calc-grid button:hover{background:#f8fafc}.ezqb-calc-grid button.soft{background:#f5f7fa;color:#667085}.ezqb-calc-grid button.op{background:#eef5ff;color:#1267f6}.ezqb-calc-grid button.equals{background:#1267f6;border-color:#1267f6;color:#fff}

@media(max-width:1100px) and (min-width:901px){
  .ezqb-examtop{grid-template-columns:minmax(150px,1fr) minmax(220px,360px) minmax(330px,1fr)!important;gap:10px!important}
  .ezqb-exam-utility span{display:none}
  .ezqb-exam-utility{width:38px;padding:0}
  .ezqb-exam-layout{grid-template-columns:232px minmax(0,1fr)!important;padding-left:12px!important;padding-right:12px!important}
}
@media(max-width:900px){
  .ezqb-examtop{grid-template-columns:1fr auto!important}
  .ezqb-exam-utility span{display:none}
  .ezqb-exam-utility{width:38px;padding:0}
  .ezqb-marker-popover{left:0;transform:none}
  .ezqb-marker-trigger{min-width:auto}
  .ezqb-marker-label{display:none}
}
@media(max-width:560px){
  .ezqb-exam-actions{gap:5px!important}
  .ezqb-exam-utility{width:34px;min-height:34px}
  .ezqb-exam-mark{padding:0 9px!important}
  .ezqb-marker-popover{width:205px}
}


/* =========================================================
   v1.12.9 — unified centered exam command bar
   ========================================================= */
.ezqb-examtop{
  grid-template-columns:minmax(180px,1fr) minmax(280px,520px) auto!important;
}
.ezqb-exam-actions-minimal{
  justify-content:flex-end!important;
}
.ezqb-commandbar{
  min-height:58px!important;
  padding:8px 12px!important;
  justify-content:center!important;
  overflow:visible!important;
}
.ezqb-commandbar-inner{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.ezqb-commandbar-nav,
.ezqb-commandbar-tools{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;
}
.ezqb-command-divider{
  width:1px;
  height:30px;
  flex:0 0 1px;
  background:#e4e9f0;
}
.ezqb-command-divider.compact{
  height:24px;
  margin:0 1px;
}
.ezqb-commandbar .ezqb-tool{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 11px;
  border-radius:11px;
  font-size:9px!important;
  font-weight:850;
  white-space:nowrap;
}
.ezqb-commandbar .ezqb-nav-tool{
  min-width:92px;
}
.ezqb-commandbar .ezqb-nav-tool.primary{
  border-color:#b9d1fb;
  background:#f2f7ff;
  color:#1267f6;
}
.ezqb-commandbar .ezqb-nav-tool.primary:hover{
  border-color:#1267f6;
  background:#1267f6;
  color:#fff;
}
.ezqb-commandbar .ezqb-nav-tool:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.ezqb-command-utility{
  min-width:102px;
}
.ezqb-commandbar .ezqb-marker-trigger{
  min-width:118px;
}
.ezqb-commandbar .ezqb-note-trigger{
  min-width:70px;
}
.ezqb-commandbar .ezqb-grid-toggle{
  min-width:82px;
}
.ezqb-commandbar .ezqb-marker-popover,
.ezqb-commandbar .ezqb-note-popover{
  z-index:350;
}

/* The fixed top header now stays clean: progress + timer + Suspend/Results. */
.ezqb-exam-actions-minimal .ezqb-timerbox{
  margin-left:0;
}

@media(max-width:1100px) and (min-width:901px){
  .ezqb-examtop{
    grid-template-columns:minmax(150px,1fr) minmax(240px,420px) auto!important;
  }
  .ezqb-commandbar .ezqb-command-utility{
    min-width:40px;
    width:40px;
    padding:0;
  }
  .ezqb-commandbar .ezqb-command-utility span{
    display:none;
  }
  .ezqb-commandbar .ezqb-nav-tool{
    min-width:78px;
  }
}

@media(max-width:900px){
  .ezqb-commandbar{
    align-items:center!important;
    padding:7px!important;
  }
  .ezqb-commandbar-inner{
    gap:7px;
  }
  .ezqb-command-divider{
    display:none;
  }
  .ezqb-commandbar-nav,
  .ezqb-commandbar-tools{
    width:100%;
  }
  .ezqb-commandbar-nav{
    order:1;
  }
  .ezqb-commandbar-tools{
    order:2;
  }
  .ezqb-commandbar .ezqb-nav-tool{
    flex:1 1 0;
    min-width:0;
  }
  .ezqb-commandbar .ezqb-command-utility{
    min-width:40px;
    width:40px;
    padding:0;
  }
  .ezqb-commandbar .ezqb-command-utility span{
    display:none;
  }
}

@media(max-width:560px){
  .ezqb-commandbar .ezqb-tool{
    min-height:36px;
    padding:0 9px;
  }
  .ezqb-commandbar .ezqb-marker-trigger{
    min-width:42px;
  }
  .ezqb-commandbar .ezqb-marker-label{
    display:none;
  }
  .ezqb-commandbar .ezqb-note-trigger{
    min-width:58px;
  }
  .ezqb-commandbar .ezqb-grid-toggle{
    min-width:70px;
  }
}


/* =========================================================
   v1.13.0 — LABS scaffold + PREPS cleanup + media guard
   ========================================================= */
.ezqb-question-progress-trigger{
  appearance:none;border:0;background:transparent;padding:0;margin:0;width:100%;
  color:inherit;font:inherit;cursor:pointer;text-align:inherit;
}
.ezqb-question-progress-trigger>span{display:block}
.ezqb-labs-trigger{min-width:74px!important;letter-spacing:.04em;font-weight:950!important}
.ezqb-labs-backdrop{
  position:fixed;inset:0;z-index:500;background:rgba(16,24,40,.42);
  display:grid;place-items:center;padding:18px;backdrop-filter:blur(3px)
}
.ezqb-labs-backdrop[hidden]{display:none!important}
.ezqb-labs-panel{
  width:min(620px,96vw);border:1px solid #dfe6ef;border-radius:20px;background:#fff;
  box-shadow:0 28px 90px rgba(16,24,40,.24);overflow:hidden
}
.ezqb-labs-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;
  border-bottom:1px solid #edf0f4;background:#fbfcfe
}
.ezqb-labs-head>div{display:flex;flex-direction:column;gap:2px}
.ezqb-labs-head b{font-size:15px}.ezqb-labs-head small{font-size:9px;color:#7a8797}
.ezqb-labs-head button{width:34px;height:34px;border:0;border-radius:9px;background:#f0f3f7;font-size:20px;cursor:pointer}
.ezqb-labs-empty{padding:42px 30px 46px;text-align:center}
.ezqb-labs-icon{
  display:grid;place-items:center;width:62px;height:62px;margin:0 auto 14px;border-radius:18px;
  background:#eef5ff;color:#1267f6;font-size:13px;font-weight:950;letter-spacing:.08em
}
.ezqb-labs-empty h3{margin:0 0 8px;font-size:20px}
.ezqb-labs-empty p{max-width:470px;margin:0 auto;color:#667085;font-size:11px;line-height:1.7}

.ezqb-source-preps .ezqb-stem u,
.ezqb-source-preps .ezqb-stem ins,
.ezqb-source-preps .ezqb-answer-header u,
.ezqb-source-preps .ezqb-answer-header ins,
.ezqb-source-preps .ezqb-linked u,
.ezqb-source-preps .ezqb-linked ins{ text-decoration:none!important; }

.ezqb-source-preps .ezqb-stem a,
.ezqb-source-preps .ezqb-answer-header a,
.ezqb-source-preps .ezqb-linked a{
  color:inherit!important;text-decoration:none!important;pointer-events:none;
}

.ezqb-media-awaiting{
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:62px;margin:12px 0 16px;padding:12px 16px;
  border:1px dashed #d7e0ec;border-radius:13px;background:#fafcff;color:#667085;
}
.ezqb-media-awaiting span{
  display:grid;place-items:center;min-width:42px;height:28px;padding:0 8px;
  border-radius:8px;background:#eef5ff;color:#1267f6;font-size:8px;font-weight:950;text-transform:uppercase
}
.ezqb-media-awaiting b{font-size:10px;color:#475467}

@media(max-width:620px){
  .ezqb-labs-panel{width:100%}
  .ezqb-labs-empty{padding:32px 20px 36px}
  .ezqb-media-awaiting{align-items:flex-start;flex-direction:column}
}


/* v1.13.1 final PREPS source-style cleanup */
.ezqb-source-preps .ezqb-explanation a,
.ezqb-source-preps .ezqb-objective a,
.ezqb-source-preps .ezqb-stem a,
.ezqb-source-preps .ezqb-answer-header a,
.ezqb-source-preps .ezqb-linked a{
  color:inherit!important;
  text-decoration:none!important;
  border-bottom:0!important;
  pointer-events:none!important;
}
.ezq-rescue-status-panel-final{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
@media(max-width:1100px){.ezq-rescue-status-panel-final{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.ezq-rescue-status-panel-final{grid-template-columns:1fr!important}}

/* =========================================================
   v1.13.2 — mobile viewport containment + iOS Focus Mode
   ========================================================= */

/* The exam surface must never become wider than the visual viewport. */
body.ezqb-exam-mode #ezqb-app{
  box-sizing:border-box!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none;
  -webkit-overflow-scrolling:touch;
}
body.ezqb-exam-mode .ezqb-exam-shell,
body.ezqb-exam-mode .ezqb-examtop,
body.ezqb-exam-mode .ezqb-exam-layout,
body.ezqb-exam-mode .ezqb-question-main,
body.ezqb-exam-mode .ezqb-commandbar,
body.ezqb-exam-mode .ezqb-commandbar-inner{
  width:100%;
  max-width:100%;
  min-width:0;
}

/* Native fullscreen is preferred. On iPhone Safari, JS toggles this class instead. */
body.ezqb-focus-mode{
  overflow:hidden!important;
  overscroll-behavior:none;
}
body.ezqb-focus-mode #ezqb-app{
  inset:0!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:env(safe-area-inset-bottom)!important;
}
body.ezqb-focus-mode .ezqb-exam-shell{
  min-height:100dvh!important;
}

@media(max-width:900px){
  /* This intentionally comes after v1.12.9. That desktop rule previously won
     the cascade and forced a 3-column minimum width on iPhone. */
  .ezqb-examtop{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    padding-top:calc(7px + env(safe-area-inset-top))!important;
    padding-right:calc(10px + env(safe-area-inset-right))!important;
    padding-bottom:7px!important;
    padding-left:calc(10px + env(safe-area-inset-left))!important;
  }
  .ezqb-exam-brand{display:none!important}
  .ezqb-examcenter{
    min-width:0!important;
    overflow:hidden;
    text-align:left!important;
  }
  .ezqb-question-progress-trigger{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden;
  }
  .ezqb-question-progress-trigger>span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .ezqb-exam-actions-minimal{
    min-width:0!important;
    max-width:100%!important;
    flex:0 0 auto;
  }
  .ezqb-exam-actions-minimal .ezqb-timerbox,
  .ezqb-exam-actions-minimal .ezqb-exam-exit{
    flex:0 0 auto;
  }
  .ezqb-exam-layout{
    box-sizing:border-box!important;
    padding-top:10px!important;
    padding-right:calc(9px + env(safe-area-inset-right))!important;
    padding-bottom:calc(26px + env(safe-area-inset-bottom))!important;
    padding-left:calc(9px + env(safe-area-inset-left))!important;
    overflow-x:hidden!important;
  }
  .ezqb-exam-navigator{
    left:calc(8px + env(safe-area-inset-left))!important;
    right:calc(8px + env(safe-area-inset-right))!important;
    top:calc(76px + env(safe-area-inset-top))!important;
    max-height:calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
  }
  .ezqb-commandbar{
    min-width:0!important;
    overflow:visible!important;
  }
  .ezqb-commandbar-inner,
  .ezqb-commandbar-nav,
  .ezqb-commandbar-tools{
    min-width:0!important;
    max-width:100%!important;
  }
  .ezqb-commandbar-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .ezqb-commandbar .ezqb-nav-tool{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  .ezqb-marker-popover{
    max-width:calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
  }
  .ezqb-note-popover{
    left:calc(12px + env(safe-area-inset-left))!important;
    right:calc(12px + env(safe-area-inset-right))!important;
    bottom:calc(20px + env(safe-area-inset-bottom))!important;
    max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow:auto;
  }
  .ezqb-calc-backdrop,
  .ezqb-labs-backdrop{
    padding-top:calc(18px + env(safe-area-inset-top));
    padding-right:calc(18px + env(safe-area-inset-right));
    padding-bottom:calc(18px + env(safe-area-inset-bottom));
    padding-left:calc(18px + env(safe-area-inset-left));
  }
}

/* Phone command bar: a stable 3x2 tool grid keeps every control readable. */
@media(max-width:620px){
  .ezqb-commandbar-tools{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px!important;
    width:100%!important;
  }
  .ezqb-commandbar-tools>.ezqb-command-divider{display:none!important}
  .ezqb-commandbar-tools>.ezqb-marker-anchor,
  .ezqb-commandbar-tools>.ezqb-note-anchor{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
  }
  .ezqb-commandbar-tools .ezqb-tool,
  .ezqb-commandbar-tools .ezqb-marker-trigger,
  .ezqb-commandbar-tools .ezqb-note-trigger,
  .ezqb-commandbar-tools .ezqb-command-utility,
  .ezqb-commandbar-tools .ezqb-labs-trigger{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .ezqb-commandbar-tools .ezqb-marker-label,
  .ezqb-commandbar-tools .ezqb-command-utility span{
    display:inline!important;
  }
  .ezqb-labs-trigger{letter-spacing:0!important}
}

@media(max-width:390px){
  .ezqb-commandbar-tools .ezqb-marker-trigger{
    gap:5px!important;
  }
  .ezqb-commandbar-tools .ezqb-tool{
    font-size:8.5px!important;
  }
}

@media(max-width:350px){
  .ezqb-examtop{
    gap:6px!important;
    padding-right:calc(7px + env(safe-area-inset-right))!important;
    padding-left:calc(7px + env(safe-area-inset-left))!important;
  }
  .ezqb-exam-actions-minimal{gap:4px!important}
  .ezqb-exam-actions-minimal .ezqb-timerbox{
    min-width:66px!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .ezqb-exam-actions-minimal .ezqb-exam-exit{
    min-width:62px!important;
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .ezqb-commandbar{padding:6px!important}
  .ezqb-commandbar .ezqb-tool{min-height:35px!important}
  .ezqb-qcard{padding-left:12px!important;padding-right:12px!important}
}


/* Tablet widths have enough room to keep the study-tool labels visible. */
@media(min-width:621px) and (max-width:900px){
  .ezqb-commandbar .ezqb-marker-label,
  .ezqb-commandbar .ezqb-command-utility span{
    display:inline!important;
  }
  .ezqb-commandbar .ezqb-marker-trigger{min-width:118px!important}
  .ezqb-commandbar .ezqb-note-trigger{min-width:70px!important}
  .ezqb-commandbar .ezqb-command-utility{
    width:auto!important;
    min-width:102px!important;
    padding-left:11px!important;
    padding-right:11px!important;
  }
  .ezqb-commandbar .ezqb-labs-trigger{min-width:74px!important}
}

/* =========================================================
   v1.14.0 — guided test builder + dual player experiences
   ========================================================= */

/* ---------- Create Test: source-first, progressive refinement ---------- */
.ezqb-source-section{padding-bottom:18px!important}
.ezqb-source-selected{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  background:#f3f6fa;
  color:#667085;
  font-size:9.5px;
  font-weight:850;
  white-space:nowrap;
}
.ezqb-source-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  width:100%;
}
.ezqb-source-card{
  min-width:0;
  min-height:66px;
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:11px 12px;
  border:1px solid #dfe5ed;
  border-radius:12px;
  background:#fff;
  color:#344054;
  text-align:left;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.ezqb-source-card:hover{
  border-color:#b8cff4;
  background:#fbfdff;
  transform:translateY(-1px);
}
.ezqb-source-card.active{
  border-color:#79aaf7;
  background:#f2f7ff;
  box-shadow:0 0 0 2px rgba(18,103,246,.05);
}
.ezqb-source-card>span:nth-child(2){min-width:0;display:grid;gap:3px}
.ezqb-source-card b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#1f2937;
  font-size:11.5px;
}
.ezqb-source-card small{color:#8994a3;font-size:8.5px;line-height:1.35}
.ezqb-source-card em{
  color:#718096;
  font-size:9px;
  font-style:normal;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.ezqb-source-card.active em,.ezqb-source-card.active b{color:#1267f6}
.ezqb-source-radio{
  width:15px;height:15px;
  border:1.5px solid #b7c0cd;
  border-radius:50%;
  background:#fff;
  position:relative;
}
.ezqb-source-card.active .ezqb-source-radio{border-color:#1267f6}
.ezqb-source-card.active .ezqb-source-radio:after{
  content:"";position:absolute;inset:3px;border-radius:50%;background:#1267f6;
}

.ezqb-refine-gate{
  margin:12px 0 4px;
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  border:1px dashed #d7e0eb;
  border-radius:13px;
  background:#fbfcfe;
}
.ezqb-refine-gate>div{display:grid;gap:3px}
.ezqb-refine-gate b{font-size:10px;color:#344054}
.ezqb-refine-gate span{font-size:8px;color:#8a96a6}
.ezqb-refine-gate .ezqb-btn{margin:0!important;min-width:132px;min-height:36px}

/* Every visible content level is intentionally bounded. Large imported banks
   no longer turn Create Test into a multi-screen wall of checkboxes. */
#ezqb-smart-filters .ezqb-create-section{padding:16px 0 18px}
#ezqb-smart-filters .ezqb-filter-list{
  max-height:250px!important;
  overflow:auto;
  padding-right:7px;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
#ezqb-smart-filters .ezqb-topic-search{margin-bottom:8px}

/* ---------- Experience picker ---------- */
body.ezqb-experience-open{overflow:hidden!important}
.ezqb-experience-backdrop{
  position:fixed;
  inset:0;
  z-index:2147483400;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(5px);
}
.ezqb-experience-modal{
  position:relative;
  width:min(980px,calc(100vw - 32px));
  max-height:calc(100dvh - 32px);
  overflow:auto;
  padding:26px;
  border:1px solid #e0e6ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 32px 110px rgba(15,23,42,.28);
}
.ezqb-experience-close{
  position:absolute;
  top:14px;right:14px;
  width:34px;height:34px;
  border:0;border-radius:10px;
  background:#f3f5f8;color:#667085;
  font-size:20px;line-height:1;
  cursor:pointer;
}
.ezqb-experience-head{padding-right:42px;margin-bottom:20px}
.ezqb-experience-head h2{margin:5px 0 5px;font-size:24px;letter-spacing:-.5px;color:#101828}
.ezqb-experience-head p{margin:0;max-width:700px;color:#667085;font-size:12px;line-height:1.65}
.ezqb-experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ezqb-experience-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:15px;
  border:1px solid #dde4ed;
  border-radius:17px;
  background:#fff;
  color:#1f2937;
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.ezqb-experience-card:hover{transform:translateY(-2px);border-color:#9ebff4;box-shadow:0 14px 34px rgba(16,24,40,.08)}
.ezqb-experience-card.featured{border-color:#9ec1fb;background:linear-gradient(180deg,#fbfdff 0,#fff 48%)}
.ezqb-experience-card:disabled{opacity:.72;cursor:wait;transform:none}
.ezqb-experience-card.is-loading .ezqb-experience-cta:before{
  content:"";display:inline-block;width:10px;height:10px;margin-right:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ezqbSpin .7s linear infinite;vertical-align:-1px;
}
.ezqb-experience-preview{
  height:155px;
  overflow:hidden;
  border:1px solid #e1e6ed;
  border-radius:12px;
  background:#f6f8fc;
}
.ezqb-experience-preview.basic{padding:0 12px 12px;background:#f1f4fa}
.ezqb-experience-preview.basic .bar{height:30px;margin:0 -12px 14px;padding:0 12px;display:flex;align-items:center;gap:8px;background:#2f57ad}
.ezqb-experience-preview.basic .bar span{display:block;width:28px;height:5px;border-radius:9px;background:rgba(255,255,255,.78)}
.ezqb-experience-preview.basic .bar span:first-child{width:55px}
.ezqb-experience-preview .line{height:6px;width:64%;margin:8px 0;border-radius:99px;background:#ccd5e3}
.ezqb-experience-preview .line.wide{width:90%}
.ezqb-experience-preview .answer{height:22px;margin-top:7px;border:1px solid #d5ddea;border-radius:5px;background:#fff}
.ezqb-experience-preview.modern{background:#f5f8fd}
.ezqb-experience-preview.modern .top{height:27px;background:#fff;border-bottom:1px solid #dde4ed}
.ezqb-experience-preview.modern .preview-grid{height:128px;display:grid;grid-template-columns:68px 1fr;gap:9px;padding:8px}
.ezqb-experience-preview.modern .side{border:1px solid #e0e6ef;border-radius:7px;background:#fff}
.ezqb-experience-preview.modern .content{padding:7px;border:1px solid #e0e6ef;border-radius:7px;background:#fff}
.ezqb-experience-preview.modern .toolrow{height:18px;margin-bottom:9px;border-radius:5px;background:#eef4fd}
.ezqb-experience-copy{display:grid;gap:6px;padding:0 2px}
.ezqb-experience-copy>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ezqb-experience-copy h3{margin:0;font-size:17px;color:#101828}
.ezqb-experience-copy p{margin:0;color:#667085;font-size:11.5px;line-height:1.55}
.ezqb-experience-copy small{color:#8a96a6;font-size:9.5px;font-weight:750}
.ezqb-view-badge{padding:4px 7px;border-radius:999px;background:#eaf2ff;color:#1267f6;font-size:7px;font-weight:900;white-space:nowrap}
.ezqb-view-badge.neutral{background:#f1f3f6;color:#667085}
.ezqb-experience-cta{
  margin-top:auto;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d7e0ec;
  border-radius:10px;
  background:#fff;
  color:#344054;
  font-size:9.5px;
  font-weight:900;
}
.ezqb-experience-card.featured .ezqb-experience-cta{border-color:#1267f6;background:#1267f6;color:#fff}

/* ---------- Basic player: same engine, deliberately different shell ---------- */
body.ezqb-player-basic-mode .ezqb-exam-shell{background:#eef2f8!important}
.ezqb-player-basic .ezqb-examtop{
  min-height:58px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  border-bottom:0!important;
  background:#3158ad!important;
  color:#fff!important;
  box-shadow:0 3px 12px rgba(21,49,109,.18)!important;
}
.ezqb-player-basic .ezqb-basic-brand{display:flex!important;color:#fff!important}
.ezqb-player-basic .ezqb-basic-brand span{display:grid;gap:1px}
.ezqb-player-basic .ezqb-basic-brand b{color:#fff!important;font-size:11px}
.ezqb-player-basic .ezqb-basic-brand small{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.78)!important;font-size:7.5px}
.ezqb-player-basic .ezqb-examcenter,.ezqb-player-basic .ezqb-question-progress-trigger{color:#fff!important}
.ezqb-player-basic .ezqb-exam-progress{background:rgba(255,255,255,.22)!important}
.ezqb-player-basic .ezqb-exam-progress i{background:#fff!important}
.ezqb-player-basic .ezqb-timerbox{border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.09)!important;color:#fff!important}
.ezqb-player-basic .ezqb-timerbox small,.ezqb-player-basic .ezqb-timerbox strong{color:#fff!important}
.ezqb-player-basic .ezqb-exam-exit{border-color:rgba(255,255,255,.4)!important;background:rgba(255,255,255,.12)!important;color:#fff!important}
.ezqb-player-basic .ezqb-exam-layout{
  display:block!important;
  width:100%!important;
  max-width:1440px!important;
  margin:0 auto!important;
  padding:0 10px 36px!important;
}
.ezqb-player-basic .ezqb-question-main{width:100%!important;max-width:none!important}
.ezqb-player-basic .ezqb-exam-navigator{
  display:none!important;
  position:fixed!important;
  z-index:180!important;
  top:74px!important;
  left:18px!important;
  width:min(280px,calc(100vw - 36px))!important;
  max-height:calc(100dvh - 92px)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.28)!important;
}
.ezqb-player-basic .ezqb-exam-navigator.show{display:block!important}
.ezqb-player-basic .ezqb-nav-close{display:grid!important;place-items:center!important}
.ezqb-player-basic .ezqb-commandbar{
  position:sticky!important;
  top:58px!important;
  z-index:95!important;
  min-height:52px!important;
  margin:0 -10px 0!important;
  padding:6px 10px!important;
  border:0!important;
  border-radius:0!important;
  background:#3158ad!important;
  box-shadow:0 4px 10px rgba(21,49,109,.13)!important;
}
.ezqb-player-basic .ezqb-command-divider{background:rgba(255,255,255,.28)!important}
.ezqb-player-basic .ezqb-commandbar .ezqb-tool{
  border-color:rgba(255,255,255,.25)!important;
  background:transparent!important;
  color:#fff!important;
}
.ezqb-player-basic .ezqb-commandbar .ezqb-tool:hover,.ezqb-player-basic .ezqb-commandbar .ezqb-tool.active{
  border-color:rgba(255,255,255,.7)!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
}
.ezqb-player-basic .ezqb-commandbar .ezqb-nav-tool.primary{
  border-color:#fff!important;
  background:#fff!important;
  color:#3158ad!important;
}
.ezqb-player-basic .ezqb-marker-dot{border-color:rgba(255,255,255,.52)}
.ezqb-player-basic .ezqb-qcard{
  min-height:calc(100dvh - 120px);
  margin:0!important;
  padding:22px 18px 42px!important;
  border:0!important;
  border-radius:0!important;
  background:#f7f9fd!important;
  box-shadow:none!important;
}
.ezqb-player-basic .ezqb-stem{max-width:1180px;font-size:16px!important;line-height:1.7!important}
.ezqb-player-basic .ezqb-answer-header,.ezqb-player-basic .ezqb-choices,.ezqb-player-basic .ezqb-review,.ezqb-player-basic .ezqb-choice-hint,.ezqb-player-basic .ezqb-question-footer,.ezqb-player-basic .ezqb-endrow,.ezqb-player-basic .ezqb-answer-meta-row{max-width:1180px}
.ezqb-player-basic .ezqb-choice{
  border-radius:3px!important;
  border-color:#d7dfeb!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ezqb-player-basic .ezqb-choice:hover{background:#f0f5fc!important;border-color:#9eb7dc!important}
.ezqb-player-basic .ezqb-letter{border-radius:50%!important}
.ezqb-player-basic .ezqb-question-footer{border-radius:8px!important;box-shadow:0 5px 18px rgba(16,24,40,.07)!important}

@media(max-width:1100px){
  .ezqb-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .ezqb-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ezqb-experience-modal{padding:22px}
  .ezqb-player-basic .ezqb-commandbar{top:calc(58px + env(safe-area-inset-top))!important}
  .ezqb-player-basic .ezqb-exam-navigator{top:calc(74px + env(safe-area-inset-top))!important}
}
@media(max-width:720px){
  .ezqb-experience-backdrop{
    align-items:end;
    padding-top:calc(14px + env(safe-area-inset-top));
    padding-right:calc(10px + env(safe-area-inset-right));
    padding-bottom:calc(10px + env(safe-area-inset-bottom));
    padding-left:calc(10px + env(safe-area-inset-left));
  }
  .ezqb-experience-modal{
    width:100%;
    max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding:20px 14px 16px;
    border-radius:20px 20px 14px 14px;
  }
  .ezqb-experience-head{padding-right:36px}
  .ezqb-experience-head h2{font-size:20px}
  .ezqb-experience-grid{grid-template-columns:1fr}
  .ezqb-experience-preview{height:118px}
  .ezqb-experience-preview.modern .preview-grid{height:91px}
}
@media(max-width:620px){
  .ezqb-source-card{min-height:60px;padding:9px 10px}
  .ezqb-refine-gate{align-items:flex-start;flex-direction:column}
  .ezqb-refine-gate .ezqb-btn{width:100%}
  #ezqb-smart-filters .ezqb-filter-list{max-height:220px!important}
  .ezqb-player-basic .ezqb-commandbar{margin-left:-9px!important;margin-right:-9px!important}
  .ezqb-player-basic .ezqb-qcard{padding:15px 12px 34px!important}
  .ezqb-player-basic .ezqb-stem{font-size:15px!important}
}
@media(max-width:430px){
  .ezqb-source-grid{grid-template-columns:1fr}
  .ezqb-source-card small{display:none}
}

/* =========================================================
   v1.14.1 — source cleanup + NBME forms + marker removal UX
   ========================================================= */
/* Keep the root workspace inside the viewport on wide layouts too. The app's
   desktop left padding is part of its declared width, not added on top of it. */
.ezqb-app{box-sizing:border-box}

/* NBME form lists use the same bounded progressive-filter surface. */
[data-filter-section="source_forms"] .ezqb-filter-list{scrollbar-gutter:stable}

/* Same-color tap/click is the erase gesture, so highlighted text should feel
   interactive only while the marker is active. */
.ezqb-question-main.highlighter-on mark[data-ezqb-highlight]{cursor:pointer}


/* =========================================================
   v1.14.2 — compact QBank chrome + WebView-safe dialogs/fullscreen
   ========================================================= */

/* JS tags whichever theme header actually owns the page. This keeps the rule
   QBank-only while covering Elementor/theme-specific mobile headers. */
@media(max-width:1024px){
  body.ezmedqbank-page .ezqb-theme-header-mobile-hidden{
    display:none!important;height:0!important;min-height:0!important;max-height:0!important;
    margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;
  }
  body.ezmedqbank-page.ezqb-compact-no-site-header{--ezqb-site-header-bottom:0px!important}
}

.ezqb-optional-label{
  display:inline-flex;align-items:center;vertical-align:middle;margin-left:6px;padding:3px 7px;
  border-radius:999px;background:#f2f4f7;color:#667085;font-size:8px;font-weight:800;letter-spacing:.02em;
}

/* In-page confirmations replace window.confirm so End Block / omitted Finish /
   Reset behave identically in Safari, Android browsers and Flutter WebView. */
.ezqb-confirm-backdrop{
  position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;
  padding:calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right))
          calc(18px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));
  background:rgba(10,18,32,.54);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
}
.ezqb-confirm-panel{
  width:min(430px,100%);background:#fff;border:1px solid #e5eaf1;border-radius:20px;
  box-shadow:0 28px 80px rgba(15,23,42,.28);padding:22px;display:grid;
  grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:start;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
}
.ezqb-confirm-icon{
  width:46px;height:46px;border-radius:14px;background:#eef5ff;color:#1267f6;
  display:grid;place-items:center;font-size:20px;font-weight:950;
}
.ezqb-confirm-icon.danger{background:#fff0f2;color:#dc4d5d}
.ezqb-confirm-copy h3{margin:2px 0 7px;color:#0f172a;font-size:17px;line-height:1.2}
.ezqb-confirm-copy p{margin:0;color:#667085;font-size:11px;line-height:1.65}
.ezqb-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.ezqb-confirm-actions .ezqb-btn{min-width:112px}
.ezqb-btn.danger-solid{background:#d92d20;color:#fff;border:1px solid #d92d20}
.ezqb-btn.danger-solid:hover{background:#b42318;color:#fff}

/* Focus Mode must own the visible viewport even when the theme has wrappers,
   sticky containers or browser-specific sizing rules around #ezqb-app. */
body.ezqb-focus-mode #ezqb-app{
  position:fixed!important;inset:0!important;z-index:2147483000!important;
  width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
  margin:0!important;transform:none!important;overscroll-behavior:none!important;
}
@supports(height:100svh){body.ezqb-focus-mode #ezqb-app{height:100dvh!important;max-height:100dvh!important}}

@media(max-width:620px){
  .ezqb-confirm-panel{padding:18px;border-radius:17px;grid-template-columns:40px minmax(0,1fr);gap:11px}
  .ezqb-confirm-icon{width:40px;height:40px;border-radius:12px}
  .ezqb-confirm-actions{display:grid;grid-template-columns:1fr 1fr}
  .ezqb-confirm-actions .ezqb-btn{width:100%;min-width:0}
}

/* =========================================================
   v1.14.3 — immersive mobile focus + non-blocking study dock
   ========================================================= */

/* Focus fallback is intentionally visible on mobile: exam chrome collapses,
   the command bar stays available, and the QBank owns the visual viewport.
   iPhone Safari still controls its browser URL/tab bars; a normal webpage
   cannot force those browser-owned controls away. */
html.ezqb-focus-mode,
body.ezqb-focus-mode{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#f5f7fb!important;
}
body.ezqb-focus-mode #ezqb-app{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:auto!important;
  bottom:auto!important;
  width:var(--ezqb-focus-width,100vw)!important;
  max-width:var(--ezqb-focus-width,100vw)!important;
  height:var(--ezqb-focus-height,100dvh)!important;
  min-height:var(--ezqb-focus-height,100dvh)!important;
  max-height:var(--ezqb-focus-height,100dvh)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  z-index:2147483000!important;
  -webkit-overflow-scrolling:touch;
}

@media(max-width:1024px){
  body.ezqb-focus-mode .ezqb-examtop{
    display:none!important;
  }
  body.ezqb-focus-mode .ezqb-exam-layout{
    padding-top:calc(8px + env(safe-area-inset-top))!important;
  }
  body.ezqb-focus-mode .ezqb-commandbar{
    position:sticky!important;
    top:calc(4px + env(safe-area-inset-top))!important;
    z-index:420!important;
    box-shadow:0 10px 28px rgba(16,24,40,.12)!important;
  }
  body.ezqb-focus-mode .ezqb-exam-navigator{
    top:calc(62px + env(safe-area-inset-top))!important;
    max-height:calc(var(--ezqb-focus-height,100dvh) - 74px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
  }
}

/* Calculator/Labs are study docks, not blocking modals. The question remains
   readable and interactive while the tool is open. */
.ezqb-utility-dock{
  position:fixed!important;
  z-index:2147483400!important;
  top:82px!important;
  right:calc(14px + env(safe-area-inset-right))!important;
  bottom:calc(14px + env(safe-area-inset-bottom))!important;
  left:auto!important;
  width:min(380px,calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;
  display:block!important;
  padding:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  pointer-events:none!important;
}
.ezqb-utility-dock[hidden]{display:none!important}
.ezqb-utility-panel{
  width:100%!important;
  max-width:none!important;
  max-height:100%!important;
  box-sizing:border-box!important;
  overflow:auto!important;
  pointer-events:auto!important;
  border:1px solid #dfe6ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 22px 58px rgba(16,24,40,.20)!important;
  -webkit-overflow-scrolling:touch;
}
.ezqb-utility-head{
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(251,252,254,.98)!important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.ezqb-utility-head>button{
  cursor:pointer;
}
.ezqb-calc-backdrop .ezqb-calculator{
  padding:15px!important;
}
.ezqb-labs-backdrop .ezqb-labs-panel{
  height:100%;
}
.ezqb-labs-backdrop .ezqb-labs-empty{
  min-height:calc(100% - 68px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
}

/* Reserve a real study rail on wide screens so the dock never covers the stem. */
@media(min-width:1181px){
  body.ezqb-tool-dock-open .ezqb-exam-layout{
    max-width:none!important;
    grid-template-columns:244px minmax(0,1fr)!important;
    justify-content:stretch!important;
    padding-right:calc(410px + env(safe-area-inset-right))!important;
  }
  body.ezqb-tool-dock-open .ezqb-question-main{
    width:100%!important;
    max-width:none!important;
  }
}

/* Medium laptops: prioritize the question + study dock; navigator is still
   available from Question X of Y and does not need to consume a permanent rail. */
@media(min-width:901px) and (max-width:1180px){
  body.ezqb-tool-dock-open .ezqb-exam-layout{
    max-width:none!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-content:stretch!important;
    padding-right:calc(400px + env(safe-area-inset-right))!important;
  }
  body.ezqb-tool-dock-open .ezqb-exam-navigator{
    display:none!important;
  }
}

/* iPad/tablet: keep a slimmer right study rail while preserving question room. */
@media(min-width:621px) and (max-width:900px){
  .ezqb-utility-dock{
    top:calc(76px + env(safe-area-inset-top))!important;
    right:calc(10px + env(safe-area-inset-right))!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    width:min(330px,42vw)!important;
  }
  body.ezqb-tool-dock-open .ezqb-exam-layout{
    padding-right:calc(min(330px,42vw) + 22px + env(safe-area-inset-right))!important;
  }
}

/* Phones do not have enough width for a useful side-by-side rail. Use a
   compact bottom study sheet instead so the question remains visible above it. */
@media(max-width:620px){
  .ezqb-utility-dock{
    top:auto!important;
    right:calc(8px + env(safe-area-inset-right))!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    left:calc(8px + env(safe-area-inset-left))!important;
    width:auto!important;
    max-height:min(62dvh,520px)!important;
  }
  .ezqb-utility-panel{
    max-height:min(62dvh,520px)!important;
    border-radius:18px!important;
  }
  .ezqb-labs-backdrop .ezqb-labs-panel{
    height:auto!important;
  }
  .ezqb-labs-backdrop .ezqb-labs-empty{
    min-height:0!important;
    padding:26px 18px 30px!important;
  }
  .ezqb-calc-backdrop .ezqb-calculator{
    padding:12px!important;
  }
  .ezqb-calc-display{
    height:50px!important;
    font-size:22px!important;
  }
  .ezqb-calc-grid{
    gap:6px!important;
  }
  .ezqb-calc-grid button{
    min-height:42px!important;
  }
}

@media(max-width:1024px){
  body.ezqb-focus-mode .ezqb-utility-dock{
    top:calc(58px + env(safe-area-inset-top))!important;
  }
}
@media(max-width:620px){
  body.ezqb-focus-mode .ezqb-utility-dock{
    top:auto!important;
  }
}


/* v1.14.4 — fast, non-destructive question transitions */
.ezqb-exam-shell.ezqb-question-loading::after{
  content:"";
  position:fixed;
  z-index:1000002;
  top:max(0px,env(safe-area-inset-top));
  left:0;
  width:32%;
  height:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(90deg,#1768ff,#5b8cff);
  box-shadow:0 1px 8px rgba(23,104,255,.28);
  animation:ezqb-question-progress .72s ease-in-out infinite alternate;
  pointer-events:none;
}
.ezqb-exam-shell.ezqb-question-loading [data-act="next"],
.ezqb-exam-shell.ezqb-question-loading [data-act="prev"],
.ezqb-exam-shell.ezqb-question-loading [data-jump]{
  cursor:wait;
}
@keyframes ezqb-question-progress{
  from{transform:translateX(-35%);opacity:.55}
  to{transform:translateX(250%);opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .ezqb-exam-shell.ezqb-question-loading::after{animation:none;width:100%;opacity:.72}
}
\n\n/* =========================================================
   v1.15.0 — dual test experience + classic exam-style Basic View
   ========================================================= */
.ezqb-experience-preview.basic .basic-bottom-preview{height:18px;margin:13px -12px -12px;padding:0 9px;display:flex;align-items:center;justify-content:flex-end;gap:7px;background:#3158ad}
.ezqb-experience-preview.basic .basic-bottom-preview i{display:block;width:24px;height:4px;border-radius:99px;background:rgba(255,255,255,.78)}
.ezqb-player-basic .ezqb-exam-shell{padding-bottom:56px!important;background:#f4f6fb!important}
.ezqb-player-basic .ezqb-examtop{min-height:52px!important;height:52px!important;padding:0 13px!important;display:grid!important;grid-template-columns:minmax(150px,220px) minmax(120px,1fr) auto!important;gap:12px!important;background:#3f59ad!important;border-radius:0!important;box-shadow:none!important}
.ezqb-player-basic .ezqb-basic-brand{align-items:center!important}.ezqb-player-basic .ezqb-basic-item b{font-size:12px!important;letter-spacing:0!important}.ezqb-player-basic .ezqb-basic-item small{font-size:8px!important;opacity:.9}
.ezqb-player-basic .ezqb-examcenter{align-self:center}.ezqb-player-basic .ezqb-question-progress-trigger>span{text-transform:uppercase;font-size:8px!important;font-weight:900;letter-spacing:.55px}.ezqb-player-basic .ezqb-exam-progress{height:4px!important;margin-top:6px!important;max-width:520px!important}
.ezqb-player-basic .ezqb-timerbox{min-width:82px!important;height:39px!important;padding:5px 10px!important;border-radius:5px!important;background:rgba(255,255,255,.08)!important;color:#fff!important}.ezqb-player-basic .ezqb-timerbox small{font-size:6.5px!important;letter-spacing:.4px;text-transform:uppercase}.ezqb-player-basic .ezqb-timerbox strong{font-size:12px!important}.ezqb-player-basic .ezqb-exam-exit{min-height:38px!important;border-radius:5px!important;font-size:8px!important}
.ezqb-player-basic .ezqb-exam-layout{max-width:none!important;padding:0 0 18px!important;background:#f4f6fb!important}.ezqb-player-basic .ezqb-question-main{min-width:0!important}
.ezqb-player-basic .ezqb-commandbar{position:sticky!important;top:52px!important;min-height:46px!important;margin:0!important;padding:4px 10px!important;background:#3f59ad!important;border-top:1px solid rgba(255,255,255,.13)!important;box-shadow:0 2px 7px rgba(18,38,86,.15)!important}.ezqb-player-basic .ezqb-commandbar-inner{max-width:none!important;margin:0!important;justify-content:flex-end!important;gap:8px!important}.ezqb-player-basic .ezqb-commandbar-nav{margin-right:auto!important}.ezqb-player-basic .ezqb-commandbar .ezqb-tool{min-height:34px!important;padding:5px 9px!important;border:0!important;border-radius:4px!important;font-size:8px!important;font-weight:750!important}.ezqb-player-basic .ezqb-commandbar .ezqb-tool:hover,.ezqb-player-basic .ezqb-commandbar .ezqb-tool.active{background:rgba(255,255,255,.12)!important}.ezqb-player-basic .ezqb-commandbar .ezqb-nav-tool.primary{background:#fff!important;color:#3158ad!important}.ezqb-player-basic .ezqb-commandbar-tools{gap:2px!important}.ezqb-player-basic .ezqb-command-divider{height:26px!important}
.ezqb-player-basic .ezqb-qcard{min-height:calc(100dvh - 154px)!important;padding:14px 12px 70px!important;background:#f5f7fc!important;color:#13264b!important}.ezqb-player-basic .ezqb-stem,.ezqb-player-basic .ezqb-answer-header,.ezqb-player-basic .ezqb-choices,.ezqb-player-basic .ezqb-review,.ezqb-player-basic .ezqb-choice-hint,.ezqb-player-basic .ezqb-question-footer,.ezqb-player-basic .ezqb-answer-meta-row{width:min(100%,1180px)!important;margin-left:0!important;margin-right:auto!important}.ezqb-player-basic .ezqb-stem{font-size:15.5px!important;line-height:1.55!important;color:#172b4d!important}.ezqb-player-basic .ezqb-choices{margin-top:24px!important;border:1px solid #3974df!important;background:#f5f7fc!important}.ezqb-player-basic .ezqb-choice{min-height:48px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #dbe3f0!important;border-radius:0!important;background:transparent!important;color:#1c3765!important}.ezqb-player-basic .ezqb-choice:last-child{border-bottom:0!important}.ezqb-player-basic .ezqb-choice:hover{background:#eef4ff!important}.ezqb-player-basic .ezqb-choice.selected{background:#e7f0ff!important;box-shadow:inset 3px 0 0 #1769ff!important}.ezqb-player-basic .ezqb-choice.correct{background:#e9f7ef!important}.ezqb-player-basic .ezqb-choice.wrong{background:#fff0f1!important}.ezqb-player-basic .ezqb-letter{width:26px!important;height:26px!important;min-width:26px!important;border:1px solid #aebbd0!important;background:#f3f5f9!important;font-size:10px!important}.ezqb-player-basic .ezqb-choicebody{font-size:13px!important;line-height:1.45!important}.ezqb-player-basic .ezqb-choice-hint{font-size:8px!important;color:#7f8aa0!important}.ezqb-player-basic .ezqb-question-footer{margin-top:14px!important;padding:8px!important;background:#fff!important;border:1px solid #d9e1ed!important}.ezqb-player-basic .ezqb-endrow{display:none!important}.ezqb-player-basic .ezqb-question-watermark{bottom:61px!important}
.ezqb-basic-bottom-bar{position:fixed;z-index:220;left:0;right:0;bottom:0;min-height:54px;display:flex;align-items:center;gap:18px;padding:6px max(12px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#3f59ad;color:#fff;box-shadow:0 -2px 9px rgba(18,38,86,.16)}.ezqb-basic-mode-status,.ezqb-basic-time-status{display:flex;align-items:center;gap:8px;white-space:nowrap}.ezqb-basic-mode-status b{font-size:8px;letter-spacing:.4px}.ezqb-basic-mode-status span,.ezqb-basic-time-status span{font-size:7px;opacity:.86}.ezqb-basic-time-status b{font-size:11px}.ezqb-basic-bottom-actions{margin-left:auto;display:flex;align-items:center;gap:4px}.ezqb-basic-bottom-actions button{min-height:35px;padding:6px 10px;border:0;border-radius:4px;background:transparent;color:#fff;font-size:8px;font-weight:800;cursor:pointer}.ezqb-basic-bottom-actions button:hover{background:rgba(255,255,255,.12)}.ezqb-basic-bottom-actions button.danger{background:#fff;color:#d33a43}
.ezqb-player-basic .ezqb-exam-navigator{top:105px!important;border-radius:7px!important}
@media(max-width:1024px){.ezqb-player-basic .ezqb-examtop{padding-left:calc(10px + env(safe-area-inset-left))!important;padding-right:calc(10px + env(safe-area-inset-right))!important}.ezqb-player-basic .ezqb-commandbar{top:calc(52px + env(safe-area-inset-top))!important}.ezqb-player-basic .ezqb-exam-navigator{top:calc(105px + env(safe-area-inset-top))!important}.ezqb-player-basic .ezqb-commandbar-tools{overflow-x:auto!important;scrollbar-width:none}.ezqb-player-basic .ezqb-commandbar-tools::-webkit-scrollbar{display:none}}
@media(max-width:720px){.ezqb-player-basic .ezqb-exam-shell{padding-bottom:64px!important}.ezqb-player-basic .ezqb-examtop{height:auto!important;min-height:58px!important;grid-template-columns:1fr auto!important;padding-top:calc(5px + env(safe-area-inset-top))!important;padding-bottom:5px!important}.ezqb-player-basic .ezqb-examcenter{grid-column:1/-1;grid-row:2}.ezqb-player-basic .ezqb-question-progress-trigger>span{display:none}.ezqb-player-basic .ezqb-commandbar{top:calc(79px + env(safe-area-inset-top))!important}.ezqb-player-basic .ezqb-commandbar-inner{display:grid!important;grid-template-columns:1fr!important;gap:3px!important}.ezqb-player-basic .ezqb-commandbar-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;margin:0!important}.ezqb-player-basic .ezqb-commandbar-tools{display:flex!important;width:100%!important;justify-content:flex-start!important;padding-bottom:2px!important}.ezqb-player-basic .ezqb-qcard{padding:13px 9px 78px!important}.ezqb-player-basic .ezqb-stem{font-size:14.5px!important}.ezqb-basic-bottom-bar{gap:8px;min-height:60px}.ezqb-basic-mode-status span,.ezqb-basic-time-status span{display:none}.ezqb-basic-bottom-actions{gap:1px}.ezqb-basic-bottom-actions button{padding:6px 7px;font-size:7px}}
@media(max-width:430px){.ezqb-experience-head p{font-size:11px}.ezqb-experience-copy p{font-size:10.5px}.ezqb-basic-time-status{display:none}.ezqb-basic-bottom-actions{width:100%;justify-content:flex-end}.ezqb-basic-bottom-actions button{padding:5px 6px}.ezqb-basic-mode-status{margin-right:auto}}

/* =========================================================
   v1.15.1 — Basic View exam polish + per-question timing
   IMPORTANT: Structural layout changes below are scoped to
   .ezqb-player-basic so the EzMedQ player layout stays intact.
   ========================================================= */

/* Shared feature: once an answer is submitted, show the frozen
   server-backed solve time underneath the answer list. */
.ezqb-question-time-summary{
  width:min(100%,1180px);
  margin:10px 0 4px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  color:#697386;
  font-size:10px;
  font-weight:650;
}
.ezqb-question-time-summary b{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:3px 9px;
  border:1px solid #dfe5ee;
  border-radius:999px;
  background:#fff;
  color:#213654;
  font-size:11px;
  font-variant-numeric:tabular-nums;
}

/* BASIC VIEW — top command structure */
.ezqb-player-basic .ezqb-examtop{
  min-height:58px!important;
  height:58px!important;
  grid-template-columns:minmax(220px,280px) minmax(250px,1fr) minmax(190px,250px)!important;
  gap:14px!important;
  padding:0 14px!important;
}
.ezqb-player-basic .ezqb-basic-brand{gap:8px!important}
.ezqb-player-basic .ezqb-basic-item b{font-size:13px!important;line-height:1.15!important}
.ezqb-player-basic .ezqb-basic-item small{font-size:8.5px!important;line-height:1.2!important}
.ezqb-basic-rail-toggle{
  display:none;
  width:34px;
  height:34px;
  flex:0 0 34px;
  place-items:center;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.ezqb-basic-rail-toggle:hover{background:rgba(255,255,255,.12)}
.ezqb-player-basic .ezqb-examcenter{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
}
.ezqb-basic-header-nav{
  display:grid;
  grid-template-columns:minmax(108px,150px) minmax(108px,150px);
  gap:8px;
  align-items:center;
  justify-content:center;
}
.ezqb-basic-header-nav-btn{
  min-height:38px;
  padding:6px 14px;
  border:1px solid rgba(255,255,255,.30);
  border-radius:5px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}
.ezqb-basic-header-nav-btn:hover:not(:disabled){background:rgba(255,255,255,.16)}
.ezqb-basic-header-nav-btn.primary{background:#fff;color:#3158ad;border-color:#fff}
.ezqb-basic-header-nav-btn:disabled{opacity:.42;cursor:not-allowed}
.ezqb-player-basic .ezqb-timerbox{
  min-width:94px!important;
  height:44px!important;
  padding:6px 12px!important;
  border-radius:6px!important;
}
.ezqb-player-basic .ezqb-timerbox small{font-size:7px!important;letter-spacing:.5px!important}
.ezqb-player-basic .ezqb-timerbox strong{font-size:14px!important;margin-top:1px!important}
.ezqb-player-basic .ezqb-exam-exit{min-height:42px!important;padding:0 14px!important;font-size:8.5px!important}

/* The Previous / Next controls now live in the middle of the top bar.
   Basic View's second row is therefore tools-only. */
.ezqb-player-basic .ezqb-commandbar{top:58px!important;min-height:44px!important;padding:4px 9px!important}
.ezqb-player-basic .ezqb-commandbar-inner{justify-content:flex-end!important}
.ezqb-player-basic .ezqb-commandbar-nav{display:none!important}
.ezqb-player-basic .ezqb-commandbar-tools{margin-left:auto!important;justify-content:flex-end!important}
.ezqb-player-basic .ezqb-commandbar .ezqb-tool{font-size:8.5px!important}

/* BASIC VIEW — permanent vertical question rail on desktop */
.ezqb-player-basic .ezqb-exam-layout{
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr)!important;
  align-items:start!important;
  gap:0!important;
  max-width:none!important;
  padding:0 0 18px!important;
}
.ezqb-player-basic .ezqb-basic-rail{
  display:block!important;
  position:sticky!important;
  top:102px!important;
  width:104px!important;
  height:calc(100dvh - 156px)!important;
  max-height:none!important;
  overflow:hidden auto!important;
  padding:0!important;
  border:0!important;
  border-right:1px solid #d9e0eb!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  scrollbar-width:thin;
}
.ezqb-basic-rail-top{
  position:sticky;
  top:0;
  z-index:2;
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid #e3e8f0;
  background:#fff;
  color:#63718a;
  font-size:8px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.ezqb-player-basic .ezqb-basic-rail .ezqb-nav-close{display:none!important}
.ezqb-basic-rail-list{display:flex;flex-direction:column;width:100%}
.ezqb-basic-rail-list button,.ezqb-basic-rail-list .skeleton{
  position:relative;
  width:100%;
  min-height:34px;
  display:grid;
  grid-template-columns:12px 1fr;
  align-items:center;
  gap:4px;
  padding:0 12px 0 9px;
  border:0;
  border-bottom:1px solid #edf0f5;
  background:#fff;
  color:#33425d;
  font-size:10px;
  font-weight:720;
  text-align:left;
}
.ezqb-basic-rail-list button:nth-child(even){background:#f1f3f7}
.ezqb-basic-rail-list button:hover{background:#e7edf8}
.ezqb-basic-rail-list button.current{background:#dfe9fb!important;color:#194fbf;font-weight:900;box-shadow:inset 3px 0 0 #1769ff}
.ezqb-basic-rail-list button i{width:7px;height:7px;border-radius:50%;background:transparent;border:1px solid transparent}
.ezqb-basic-rail-list button.answered i{background:#7e91b3}
.ezqb-basic-rail-list button.correct i{background:#22a66a}
.ezqb-basic-rail-list button.wrong i{background:#df4d5f}
.ezqb-basic-rail-list button.marked::after{content:'◆';position:absolute;right:5px;top:10px;color:#d19a20;font-size:6px}
.ezqb-basic-rail-list .skeleton{opacity:.4}

/* BASIC VIEW — larger reading typography */
.ezqb-player-basic .ezqb-qcard{
  min-height:calc(100dvh - 156px)!important;
  padding:18px 18px 76px!important;
}
.ezqb-player-basic .ezqb-stem{
  max-width:1220px!important;
  font-size:17px!important;
  line-height:1.62!important;
  letter-spacing:.002em!important;
}
.ezqb-player-basic .ezqb-answer-header,
.ezqb-player-basic .ezqb-choices,
.ezqb-player-basic .ezqb-review,
.ezqb-player-basic .ezqb-choice-hint,
.ezqb-player-basic .ezqb-question-footer,
.ezqb-player-basic .ezqb-answer-meta-row,
.ezqb-player-basic .ezqb-question-time-summary{max-width:1220px!important}
.ezqb-player-basic .ezqb-choices{margin-top:26px!important}
.ezqb-player-basic .ezqb-choice{min-height:52px!important;padding:11px 13px!important}
.ezqb-player-basic .ezqb-choicebody{font-size:14.5px!important;line-height:1.5!important}
.ezqb-player-basic .ezqb-letter{font-size:11px!important}
.ezqb-player-basic .ezqb-question-time-summary{margin-top:11px!important;font-size:10.5px!important}

/* Basic View footer keeps block time separate from the frozen question time. */
.ezqb-player-basic .ezqb-basic-time-status b{font-size:12px!important;font-variant-numeric:tabular-nums}

@media(max-width:1024px){
  .ezqb-player-basic .ezqb-examtop{
    grid-template-columns:minmax(170px,230px) minmax(220px,1fr) minmax(175px,220px)!important;
    padding-left:calc(10px + env(safe-area-inset-left))!important;
    padding-right:calc(10px + env(safe-area-inset-right))!important;
  }
  .ezqb-player-basic .ezqb-commandbar{top:calc(58px + env(safe-area-inset-top))!important}
  .ezqb-player-basic .ezqb-basic-rail{top:calc(102px + env(safe-area-inset-top))!important}
  .ezqb-player-basic .ezqb-stem{font-size:16.5px!important}
}

@media(max-width:900px){
  .ezqb-basic-rail-toggle{display:grid}
  .ezqb-player-basic .ezqb-exam-layout{display:block!important}
  .ezqb-player-basic .ezqb-basic-rail{
    display:none!important;
    position:fixed!important;
    z-index:260!important;
    left:max(0px,env(safe-area-inset-left))!important;
    top:calc(102px + env(safe-area-inset-top))!important;
    bottom:calc(58px + env(safe-area-inset-bottom))!important;
    width:190px!important;
    height:auto!important;
    border-right:1px solid #cad4e3!important;
    box-shadow:12px 10px 36px rgba(20,40,80,.20)!important;
  }
  .ezqb-player-basic .ezqb-basic-rail.show{display:block!important}
  .ezqb-player-basic .ezqb-basic-rail .ezqb-nav-close{
    display:grid!important;
    position:absolute;
    right:4px;
    top:2px;
    width:26px;
    height:26px;
    place-items:center;
    border:0;
    background:#f1f4f8;
  }
  .ezqb-basic-rail-top{justify-content:flex-start;padding-left:10px}
  .ezqb-basic-rail-list button,.ezqb-basic-rail-list .skeleton{min-height:36px;font-size:11px}
}

@media(max-width:720px){
  .ezqb-player-basic .ezqb-examtop{
    min-height:62px!important;
    height:auto!important;
    grid-template-columns:minmax(145px,1fr) auto!important;
    grid-template-rows:auto auto!important;
    gap:4px 8px!important;
    padding-top:calc(5px + env(safe-area-inset-top))!important;
    padding-bottom:5px!important;
  }
  .ezqb-player-basic .ezqb-examcenter{grid-column:1/-1!important;grid-row:2!important}
  .ezqb-basic-header-nav{width:min(100%,340px);grid-template-columns:1fr 1fr;gap:6px}
  .ezqb-basic-header-nav-btn{min-height:35px;padding:5px 9px;font-size:8px}
  .ezqb-player-basic .ezqb-commandbar{top:calc(101px + env(safe-area-inset-top))!important}
  .ezqb-player-basic .ezqb-basic-rail{top:calc(145px + env(safe-area-inset-top))!important}
  .ezqb-player-basic .ezqb-qcard{padding:15px 11px 82px!important}
  .ezqb-player-basic .ezqb-stem{font-size:15.5px!important;line-height:1.58!important}
  .ezqb-player-basic .ezqb-choicebody{font-size:13.5px!important}
}

@media(max-width:430px){
  .ezqb-player-basic .ezqb-timerbox{min-width:82px!important;padding:5px 7px!important}
  .ezqb-player-basic .ezqb-exam-exit{padding:0 8px!important}
  .ezqb-player-basic .ezqb-basic-item b{font-size:11.5px!important}
  .ezqb-player-basic .ezqb-basic-item small{font-size:7.5px!important}
  .ezqb-player-basic .ezqb-stem{font-size:15px!important}
  .ezqb-question-time-summary{font-size:9.5px}
}

/* =========================================================
   v1.15.2 — BASIC VIEW SHELL REBUILD
   Clean, isolated exam-style layout.  This block deliberately
   targets only .ezqb-player-basic / .ezqb-basic-* so the native
   EzMedQ player remains visually unchanged.
   ========================================================= */

.ezqb-exam-shell.ezqb-player-basic{
  --basic-blue:#3f59ad;
  --basic-blue-dark:#314b9a;
  --basic-line:#d8dfeb;
  --basic-bg:#f3f6fb;
  --basic-ink:#172a4c;
  --basic-muted:#70809a;
  min-height:100dvh!important;
  padding:0 0 56px!important;
  overflow-x:hidden!important;
  background:var(--basic-bg)!important;
}

/* ---------- One coherent top bar ---------- */
.ezqb-basic-topbar{
  position:sticky;
  top:0;
  z-index:210;
  min-height:66px;
  height:66px;
  display:grid;
  grid-template-columns:minmax(245px,310px) 190px minmax(330px,1fr) auto;
  align-items:stretch;
  gap:8px;
  padding:0 12px;
  background:var(--basic-blue);
  border-bottom:1px solid rgba(255,255,255,.18);
  box-shadow:0 2px 8px rgba(26,45,94,.18);
  color:#fff;
}
.ezqb-basic-left-zone,
.ezqb-basic-nav-zone,
.ezqb-basic-right-zone,
.ezqb-basic-header-tools{
  min-width:0;
  display:flex;
  align-items:center;
}
.ezqb-basic-left-zone{gap:14px}
.ezqb-basic-nav-zone{justify-content:center}
.ezqb-basic-right-zone{justify-content:flex-end;gap:8px}
.ezqb-basic-header-tools{justify-content:center;gap:2px}

.ezqb-player-basic .ezqb-basic-brand{
  min-width:0;
  flex:1 1 auto;
  display:flex!important;
  align-items:center;
  gap:9px!important;
  color:#fff!important;
}
.ezqb-player-basic .ezqb-basic-item{min-width:0;display:grid;gap:2px}
.ezqb-player-basic .ezqb-basic-item b{
  color:#fff!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:850!important;
}
.ezqb-player-basic .ezqb-basic-item small{
  max-width:190px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(255,255,255,.82)!important;
  font-size:8px!important;
  line-height:1.2!important;
  font-weight:650!important;
}
.ezqb-basic-rail-toggle{
  display:none;
  width:34px;
  height:34px;
  flex:0 0 34px;
  place-items:center;
  padding:0;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#fff;
  cursor:pointer;
}
.ezqb-basic-rail-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ezqb-basic-rail-toggle:hover{background:rgba(255,255,255,.12)}

.ezqb-basic-mark{
  min-width:62px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 8px;
  border:0;
  border-left:1px solid rgba(255,255,255,.18);
  background:transparent;
  color:#fff;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}
.ezqb-basic-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ezqb-basic-mark:hover,.ezqb-basic-mark.active{background:rgba(255,255,255,.12)}
.ezqb-basic-mark.active svg{color:#ffe28a}

/* Previous / Next are centered, compact and part of the same header. */
.ezqb-basic-header-nav{
  width:180px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  align-items:stretch;
}
.ezqb-basic-header-nav-btn{
  height:58px;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:3px 7px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  font-size:8px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
}
.ezqb-basic-header-nav-btn svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ezqb-basic-header-nav-btn:hover:not(:disabled),
.ezqb-basic-header-nav-btn.next{background:rgba(255,255,255,.08)}
.ezqb-basic-header-nav-btn:disabled{opacity:.36;cursor:not-allowed}

/* Compact study tools: consistent icon, label and hit area. */
.ezqb-basic-header-tools>.ezqb-marker-anchor,
.ezqb-basic-header-tools>.ezqb-note-anchor{height:100%;display:flex;align-items:stretch}
.ezqb-basic-tool{
  position:relative;
  min-width:66px;
  height:66px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:4px 6px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  font-size:7.5px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
}
.ezqb-basic-tool svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ezqb-basic-tool:hover,.ezqb-basic-tool.active{background:rgba(255,255,255,.12)}
.ezqb-basic-tool.has-note>i{position:absolute;right:17px;top:10px;width:6px;height:6px;border-radius:50%;background:#ffd166}
.ezqb-basic-header-tools .ezqb-marker-popover,
.ezqb-basic-header-tools .ezqb-note-popover{z-index:420;top:calc(100% + 7px)}

/* Timer is intentionally high contrast. */
.ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox{
  width:92px!important;
  min-width:92px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:1px!important;
  margin:0!important;
  padding:5px 8px!important;
  border:1px solid rgba(255,255,255,.52)!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#203767!important;
  box-shadow:none!important;
}
.ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox small{
  color:#7483a0!important;
  font-size:6.5px!important;
  font-weight:850!important;
  letter-spacing:.45px!important;
  text-transform:uppercase;
}
.ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox strong{
  color:#1f3561!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.05!important;
  font-variant-numeric:tabular-nums;
}
.ezqb-player-basic .ezqb-basic-right-zone .ezqb-exam-exit{
  min-width:80px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid rgba(255,255,255,.42)!important;
  border-radius:5px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:800!important;
}
.ezqb-player-basic .ezqb-basic-right-zone .ezqb-exam-exit:hover{background:rgba(255,255,255,.16)!important}

/* Basic View has no second toolbar.  It lives entirely in the top bar. */
.ezqb-player-basic .ezqb-commandbar{display:none!important}

/* ---------- Exam body + real vertical question rail ---------- */
.ezqb-player-basic .ezqb-exam-layout{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:0!important;
  align-items:start!important;
  justify-content:stretch!important;
  background:var(--basic-bg)!important;
}
.ezqb-player-basic .ezqb-question-main{
  grid-column:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.ezqb-player-basic .ezqb-basic-rail{
  grid-column:1!important;
  position:sticky!important;
  top:66px!important;
  left:auto!important;
  z-index:40!important;
  display:block!important;
  width:112px!important;
  height:calc(100dvh - 122px)!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden auto!important;
  border:0!important;
  border-right:1px solid var(--basic-line)!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  scrollbar-width:thin;
}
.ezqb-basic-rail-top{
  position:sticky;
  top:0;
  z-index:2;
  height:34px;
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  border-bottom:1px solid #e1e6ef;
  background:#fff;
  color:#63718a;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.ezqb-player-basic .ezqb-basic-rail .ezqb-nav-close{display:none!important}
.ezqb-basic-rail-list{display:flex!important;flex-direction:column!important;width:100%!important}
.ezqb-basic-rail-list button,
.ezqb-basic-rail-list .skeleton{
  position:relative;
  width:100%!important;
  min-height:34px!important;
  display:grid!important;
  grid-template-columns:14px 1fr!important;
  align-items:center!important;
  gap:4px!important;
  padding:0 12px!important;
  border:0!important;
  border-bottom:1px solid #e7ebf2!important;
  border-radius:0!important;
  background:#fff!important;
  color:#243a63!important;
  font-size:10px!important;
  font-weight:760!important;
  text-align:left!important;
  box-shadow:none!important;
  cursor:pointer;
}
.ezqb-basic-rail-list button:nth-child(even){background:#f1f3f7!important}
.ezqb-basic-rail-list button:hover{background:#e9eef7!important}
.ezqb-basic-rail-list button.current{
  background:#dbe7fb!important;
  color:#174db9!important;
  font-weight:900!important;
  box-shadow:inset 3px 0 0 #1769ff!important;
}
.ezqb-basic-rail-list button i{width:7px;height:7px;border-radius:50%;border:1px solid transparent;background:transparent}
.ezqb-basic-rail-list button.answered i{background:#7f91b0}
.ezqb-basic-rail-list button.correct i{background:#28a66a}
.ezqb-basic-rail-list button.wrong i{background:#e04b5c}
.ezqb-basic-rail-list button.marked::after{content:'◆';position:absolute;right:6px;top:12px;color:#e2a91f;font-size:6px}

/* ---------- Question workspace ---------- */
.ezqb-player-basic .ezqb-qcard{
  width:100%!important;
  min-height:calc(100dvh - 122px)!important;
  margin:0!important;
  padding:22px 22px 86px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:#f5f7fc!important;
  color:var(--basic-ink)!important;
  box-shadow:none!important;
}
.ezqb-player-basic .ezqb-stem,
.ezqb-player-basic .ezqb-answer-header,
.ezqb-player-basic .ezqb-review,
.ezqb-player-basic .ezqb-choice-hint,
.ezqb-player-basic .ezqb-question-footer,
.ezqb-player-basic .ezqb-answer-meta-row,
.ezqb-player-basic .ezqb-question-time-summary{
  width:min(100%,1160px)!important;
  max-width:1160px!important;
  margin-left:0!important;
  margin-right:auto!important;
}
.ezqb-player-basic .ezqb-stem{
  color:#122747!important;
  font-size:17px!important;
  line-height:1.62!important;
  font-weight:430!important;
  letter-spacing:0!important;
}
.ezqb-player-basic .ezqb-choices{
  width:min(100%,1020px)!important;
  max-width:1020px!important;
  margin:28px 0 0!important;
  overflow:hidden!important;
  border:1px solid #2f73df!important;
  border-radius:0!important;
  background:#f6f8fc!important;
}
.ezqb-player-basic .ezqb-choice{
  min-height:58px!important;
  margin:0!important;
  padding:12px 15px!important;
  border:0!important;
  border-bottom:1px solid #d7dfec!important;
  border-radius:0!important;
  background:transparent!important;
  color:#18345f!important;
  box-shadow:none!important;
}
.ezqb-player-basic .ezqb-choice:last-child{border-bottom:0!important}
.ezqb-player-basic .ezqb-choice:hover:not(:disabled){background:#edf3fc!important}
.ezqb-player-basic .ezqb-choice.selected{background:#e6f0ff!important;box-shadow:inset 3px 0 0 #1769ff!important}
.ezqb-player-basic .ezqb-choice.correct{background:#e8f6ee!important}
.ezqb-player-basic .ezqb-choice.wrong{background:#fff0f2!important}
.ezqb-player-basic .ezqb-letter{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border:1px solid #a9b8ce!important;
  border-radius:50%!important;
  background:#f6f8fb!important;
  color:#17345f!important;
  font-size:10px!important;
  font-weight:850!important;
}
.ezqb-player-basic .ezqb-choicebody{font-size:14.5px!important;line-height:1.5!important}
.ezqb-player-basic .ezqb-choice-hint{margin-top:8px!important;color:#8591a5!important;font-size:8px!important}
.ezqb-player-basic .ezqb-question-footer{
  margin-top:16px!important;
  padding:8px!important;
  border:1px solid #d9e1ed!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.ezqb-player-basic .ezqb-endrow{display:none!important}
.ezqb-player-basic .ezqb-question-watermark{bottom:64px!important}

/* Frozen per-question solve time is part of the feedback, not a running clock. */
.ezqb-player-basic .ezqb-question-time-summary{
  margin-top:12px!important;
  gap:7px!important;
  color:#687790!important;
  font-size:10px!important;
}
.ezqb-player-basic .ezqb-question-time-summary b{
  min-height:25px!important;
  padding:3px 8px!important;
  border-color:#d8e0ec!important;
  border-radius:5px!important;
  color:#20385f!important;
  font-size:10px!important;
}

/* ---------- Bottom status strip ---------- */
.ezqb-basic-bottom-bar{
  position:fixed;
  z-index:230;
  left:0;
  right:0;
  bottom:0;
  min-height:56px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:5px max(11px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(11px,env(safe-area-inset-left));
  background:var(--basic-blue);
  border-top:1px solid rgba(255,255,255,.16);
  color:#fff;
  box-shadow:0 -2px 8px rgba(25,44,92,.14);
}
.ezqb-basic-mode-status,
.ezqb-basic-time-status{display:flex;align-items:center;gap:7px;white-space:nowrap}
.ezqb-basic-mode-status b{font-size:8px;font-weight:900;letter-spacing:.35px}
.ezqb-basic-mode-status span,.ezqb-basic-time-status span{font-size:7px;font-weight:650;opacity:.82}
.ezqb-basic-time-status b{font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
.ezqb-basic-bottom-actions{margin-left:auto;display:flex;align-items:center;gap:2px}
.ezqb-basic-bottom-actions button{
  min-height:38px;
  padding:0 11px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#fff;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
}
.ezqb-basic-bottom-actions button:hover{background:rgba(255,255,255,.11)}
.ezqb-basic-bottom-actions button.danger{min-width:72px;background:#fff;color:#d53c47}

/* ---------- Tablet ---------- */
@media(max-width:1180px){
  .ezqb-basic-topbar{grid-template-columns:minmax(220px,270px) 166px minmax(240px,1fr) auto;gap:4px;padding:0 8px}
  .ezqb-basic-header-nav{width:158px}
  .ezqb-basic-tool{min-width:46px;padding:4px}
  .ezqb-basic-tool span{display:none}
  .ezqb-basic-tool svg{width:22px;height:22px}
  .ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox{width:82px!important;min-width:82px!important}
  .ezqb-player-basic .ezqb-basic-right-zone .ezqb-exam-exit{min-width:70px!important;padding:0 8px!important}
}

@media(max-width:900px){
  .ezqb-basic-topbar{
    min-height:106px;
    height:106px;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:54px 52px;
    gap:0 6px;
    padding:0 calc(7px + env(safe-area-inset-right)) 0 calc(7px + env(safe-area-inset-left));
  }
  .ezqb-basic-left-zone{grid-column:1;grid-row:1;gap:7px}
  .ezqb-basic-right-zone{grid-column:2;grid-row:1}
  .ezqb-basic-nav-zone{grid-column:1;grid-row:2;justify-content:flex-start;border-top:1px solid rgba(255,255,255,.12)}
  .ezqb-basic-header-tools{grid-column:2;grid-row:2;justify-content:flex-end;border-top:1px solid rgba(255,255,255,.12)}
  .ezqb-basic-rail-toggle{display:grid}
  .ezqb-basic-mark{min-width:54px;height:36px}
  .ezqb-basic-mark span{display:none}
  .ezqb-basic-header-nav{width:150px;height:52px}
  .ezqb-basic-header-nav-btn{height:52px}
  .ezqb-basic-tool{height:52px;min-width:43px}
  .ezqb-player-basic .ezqb-exam-layout{display:block!important}
  .ezqb-player-basic .ezqb-question-main{grid-column:auto!important}
  .ezqb-player-basic .ezqb-basic-rail{
    display:none!important;
    position:fixed!important;
    top:calc(106px + env(safe-area-inset-top))!important;
    left:max(0px,env(safe-area-inset-left))!important;
    bottom:calc(56px + env(safe-area-inset-bottom))!important;
    width:190px!important;
    height:auto!important;
    z-index:360!important;
    border-right:1px solid #cbd5e4!important;
    box-shadow:14px 12px 36px rgba(17,35,73,.22)!important;
  }
  .ezqb-player-basic .ezqb-basic-rail.show{display:block!important}
  .ezqb-player-basic .ezqb-basic-rail .ezqb-nav-close{
    display:grid!important;
    position:absolute;
    right:4px;
    top:4px;
    width:25px;
    height:25px;
    place-items:center;
    border:0;
    border-radius:5px;
    background:#eef2f7;
    color:#4a5870;
  }
  .ezqb-basic-rail-top{justify-content:flex-start;padding-left:12px}
  .ezqb-basic-rail-list button,.ezqb-basic-rail-list .skeleton{min-height:36px!important;font-size:11px!important}
  .ezqb-player-basic .ezqb-qcard{min-height:calc(100dvh - 162px)!important;padding:18px 14px 86px!important}
  .ezqb-player-basic .ezqb-stem{font-size:16px!important}
  .ezqb-player-basic .ezqb-choices{width:100%!important}
}

/* ---------- Phone ---------- */
@media(max-width:600px){
  .ezqb-basic-topbar{
    min-height:112px;
    height:112px;
    grid-template-rows:58px 54px;
  }
  .ezqb-player-basic .ezqb-basic-item b{font-size:11.5px!important}
  .ezqb-player-basic .ezqb-basic-item small{max-width:125px;font-size:7px!important}
  .ezqb-basic-mark{display:none}
  .ezqb-basic-header-nav{width:126px}
  .ezqb-basic-header-nav-btn{height:54px;font-size:7px}
  .ezqb-basic-header-nav-btn svg{width:22px;height:22px}
  .ezqb-basic-tool{height:54px;min-width:37px;padding:3px}
  .ezqb-basic-tool svg{width:20px;height:20px}
  .ezqb-basic-header-tools .ezqb-marker-anchor:nth-child(n){min-width:37px}
  .ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox{width:72px!important;min-width:72px!important;height:42px!important;padding:3px 5px!important}
  .ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox small{font-size:5.8px!important}
  .ezqb-player-basic .ezqb-basic-right-zone .ezqb-timerbox strong{font-size:13px!important}
  .ezqb-player-basic .ezqb-basic-right-zone .ezqb-exam-exit{min-width:58px!important;height:38px!important;min-height:38px!important;font-size:7px!important}
  .ezqb-player-basic .ezqb-basic-rail{top:calc(112px + env(safe-area-inset-top))!important}
  .ezqb-player-basic .ezqb-qcard{min-height:calc(100dvh - 168px)!important;padding:15px 10px 84px!important}
  .ezqb-player-basic .ezqb-stem{font-size:15px!important;line-height:1.58!important}
  .ezqb-player-basic .ezqb-choices{margin-top:20px!important}
  .ezqb-player-basic .ezqb-choice{min-height:54px!important;padding:10px 11px!important}
  .ezqb-player-basic .ezqb-choicebody{font-size:13.5px!important}
  .ezqb-basic-bottom-bar{min-height:56px;gap:6px;padding-left:7px;padding-right:7px}
  .ezqb-basic-mode-status span,.ezqb-basic-time-status span{display:none}
  .ezqb-basic-bottom-actions{gap:0}
  .ezqb-basic-bottom-actions button{padding:0 6px;font-size:7px}
  .ezqb-basic-bottom-actions button.danger{min-width:58px}
}

@media(max-width:390px){
  .ezqb-basic-header-tools .ezqb-basic-tool{min-width:34px}
  .ezqb-basic-header-nav{width:112px}
  .ezqb-basic-bottom-actions button[data-act="note"],
  .ezqb-basic-bottom-actions button[data-act="calculator"]{display:none}
}
.ezqb-exam-shell.ezqb-player-basic{font-family:Arial,Helvetica,sans-serif!important}
.ezqb-player-basic .ezqb-basic-item b{font-size:14px!important}
.ezqb-basic-tool{font-size:8px}
.ezqb-basic-header-nav-btn{font-size:8.5px}
/* v1.15.2 sizing guard — padding/borders must never widen the viewport. */
.ezqb-player-basic,
.ezqb-player-basic *,
.ezqb-player-basic *::before,
.ezqb-player-basic *::after{box-sizing:border-box}

/* =========================================================
   v1.16.0 — EzMedQ Medical Library floating workspace
   ========================================================= */
.ezqb-library-trigger svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
body.ezqb-library-open{--ezqb-library-z:2147483620}
.ezqb-medlib-window{position:fixed;z-index:var(--ezqb-library-z,9000);left:50%;top:50%;width:min(1120px,82vw);height:min(760px,82dvh);min-width:620px;min-height:440px;transform:none;background:#fff;border:1px solid #cfd9e7;border-radius:16px;box-shadow:0 28px 80px rgba(15,32,62,.28),0 6px 24px rgba(15,32,62,.12);overflow:hidden;color:#13213a;font-family:inherit;isolation:isolate}
.ezqb-medlib-window[hidden]{display:none!important}
.ezqb-medlib-titlebar{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 9px 0 15px;background:#fff;border-bottom:1px solid #dbe3ee;cursor:grab;touch-action:none;user-select:none}
.ezqb-medlib-titlebar:active{cursor:grabbing}
.ezqb-medlib-brand{display:flex;align-items:center;gap:10px;min-width:0}.ezqb-medlib-brand>div{display:flex;flex-direction:column;min-width:0}.ezqb-medlib-brand b{font-size:14px;line-height:1.2;color:#0d2143}.ezqb-medlib-brand small{font-size:10px;color:#6f7e96;margin-top:2px}.ezqb-medlib-book{width:32px;height:32px;border-radius:9px;background:#edf4ff;color:#1769ff;display:grid;place-items:center;flex:0 0 auto}.ezqb-medlib-book svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.ezqb-medlib-window-actions{display:flex;align-items:center;gap:3px}.ezqb-medlib-window-actions button{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#53637c;display:grid;place-items:center;cursor:pointer}.ezqb-medlib-window-actions button:hover{background:#f0f4f9;color:#153b76}.ezqb-medlib-window-actions button.close:hover{background:#fff0f1;color:#df3645}.ezqb-medlib-window-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ezqb-medlib-body{height:calc(100% - 54px);display:grid;grid-template-columns:260px minmax(0,1fr) 210px;background:#fff}
.ezqb-medlib-browser{min-width:0;display:flex;flex-direction:column;border-right:1px solid #e1e7ef;background:#fafbfd;overflow:hidden}
.ezqb-medlib-search{height:58px;padding:10px 11px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e8edf4}.ezqb-medlib-search svg{width:16px;height:16px;fill:none;stroke:#75859d;stroke-width:1.8}.ezqb-medlib-search input{width:100%;height:36px;border:1px solid #d6dfeb!important;border-radius:10px!important;background:#fff!important;padding:0 10px!important;box-shadow:none!important;font-size:12px!important;color:#15213a!important;outline:none}.ezqb-medlib-search input:focus{border-color:#76a6ff!important;box-shadow:0 0 0 3px rgba(23,105,255,.08)!important}
.ezqb-medlib-browser-tabs{display:grid;grid-template-columns:1fr 1fr;padding:8px 10px 5px;gap:5px}.ezqb-medlib-browser-tabs button{border:1px solid #dce4ef;background:#fff;border-radius:8px;min-height:31px;font-size:10px;font-weight:750;color:#53637b;cursor:pointer}.ezqb-medlib-browser-tabs button.active{background:#1769ff;color:#fff;border-color:#1769ff}
.ezqb-medlib-categories{max-height:210px;overflow:auto;padding:4px 7px 8px;border-bottom:1px solid #e4eaf2}.ezqb-medlib-category{width:100%;min-height:31px;padding:5px 7px;border:0;border-radius:7px;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;color:#44536b;font-size:10.5px;cursor:pointer}.ezqb-medlib-category span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ezqb-medlib-category b{font-size:9px;color:#8794a7;font-weight:700}.ezqb-medlib-category:hover{background:#eef4fd}.ezqb-medlib-category.active{background:#e7f0ff;color:#1769ff;font-weight:800}.ezqb-medlib-category.active b{color:#1769ff}
.ezqb-medlib-list-head{display:flex;align-items:center;justify-content:space-between;padding:9px 11px 6px;text-transform:uppercase;letter-spacing:.08em;font-size:8.5px;color:#718097;font-weight:850}.ezqb-medlib-list-head b{font-size:9px;color:#52617a}
.ezqb-medlib-articles{flex:1;min-height:0;overflow:auto;padding:0 6px 8px}.ezqb-medlib-article-row{width:100%;border:0;border-radius:8px;background:transparent;padding:8px 8px;display:flex;align-items:flex-start;gap:8px;text-align:left;color:#1d2b43;cursor:pointer}.ezqb-medlib-article-row:hover{background:#eef4fb}.ezqb-medlib-article-row.active{background:#e5f0ff;color:#0e60e8}.ezqb-medlib-article-row>span{min-width:0;display:flex;flex-direction:column;gap:3px}.ezqb-medlib-article-row b{font-size:10.5px;line-height:1.35;font-weight:760}.ezqb-medlib-article-row small{font-size:8.5px;color:#7e8a9c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ezqb-medlib-article-row em{margin-left:auto;font-style:normal;color:#f2aa16;font-size:12px}.ezqb-medlib-pager{min-height:36px;border-top:1px solid #e4eaf2;display:flex;align-items:center;justify-content:center;gap:10px;padding:4px 7px;font-size:9px;color:#66768d}.ezqb-medlib-pager button{width:28px;height:27px;border:1px solid #dbe3ee;background:#fff;border-radius:7px;color:#34527f;cursor:pointer}.ezqb-medlib-pager button:disabled{opacity:.4;cursor:not-allowed}
.ezqb-medlib-loading,.ezqb-medlib-reader-loading{padding:16px;text-align:center;color:#79869a;font-size:11px}.ezqb-medlib-loading.error{color:#c33c47}
.ezqb-medlib-reader{min-width:0;overflow:auto;background:#fff;scroll-behavior:smooth}.ezqb-medlib-welcome{height:100%;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#66768c}.ezqb-medlib-welcome-icon{width:66px;height:66px;border-radius:18px;background:#edf4ff;color:#1769ff;display:grid;place-items:center;margin-bottom:12px}.ezqb-medlib-welcome-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.6}.ezqb-medlib-welcome h2{margin:0 0 7px;color:#10213e;font-size:20px}.ezqb-medlib-welcome p{margin:0;max-width:480px;font-size:12px;line-height:1.6}.ezqb-medlib-welcome.error h2{color:#b02d3c}
.ezqb-medlib-article-head{padding:24px 30px 15px;border-bottom:1px solid #e6ebf2}.ezqb-medlib-mobile-back{display:none}.ezqb-medlib-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}.ezqb-medlib-tags span{padding:4px 8px;border-radius:99px;background:#f0f3f7;color:#5d6c81;font-size:9px;font-weight:700}.ezqb-medlib-article-head h1{margin:0;color:#101e36;font-size:26px;line-height:1.18;letter-spacing:-.025em}.ezqb-medlib-article-tools{margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.ezqb-medlib-article-tools button{border:1px solid #d7e0ec;background:#fff;color:#46607f;border-radius:9px;padding:7px 10px;font-size:10px;font-weight:750;cursor:pointer}.ezqb-medlib-article-tools button.active{border-color:#ffd67a;background:#fff8e5;color:#9a6900}.ezqb-medlib-article-tools span{font-size:9px;color:#7b8798}
.ezqb-medlib-toc{padding:13px 30px 10px;display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid #edf0f4;background:#fbfcfe}.ezqb-medlib-toc button{border:0;background:transparent;color:#2873bb;font-size:9.5px;font-weight:750;padding:4px 6px;border-radius:6px;cursor:pointer}.ezqb-medlib-toc button:hover{background:#eaf3ff}.ezqb-medlib-toc button.level-2{font-weight:600;color:#607792}
.ezqb-medlib-article-content{padding:10px 30px 40px;max-width:900px;margin:0 auto;color:#26354b;font-size:13.5px;line-height:1.72}.ezqb-medlib-section{scroll-margin-top:16px;padding:13px 0 3px;border-bottom:1px solid #eef1f5}.ezqb-medlib-section:last-child{border-bottom:0}.ezqb-medlib-section h2{font-size:17px;line-height:1.35;color:#0874b9;margin:6px 0 9px;font-weight:800}.ezqb-medlib-subsection{scroll-margin-top:16px}.ezqb-medlib-subsection h3{font-size:14.5px;line-height:1.4;color:#172840;margin:17px 0 6px;font-weight:800}.ezqb-medlib-article-content p{margin:0 0 10px}.ezqb-medlib-article-content ul,.ezqb-medlib-article-content ol{padding-left:22px;margin:7px 0 12px}.ezqb-medlib-article-content li{margin:4px 0}.ezqb-medlib-article-content strong,.ezqb-medlib-article-content b{font-weight:800;color:#13213a}.ezqb-medlib-article-content a{color:#0874c2;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;cursor:pointer}.ezqb-medlib-article-content table{width:100%;border-collapse:collapse}.ezqb-medlib-article-content th,.ezqb-medlib-article-content td{border:1px solid #dfe5ed;padding:7px}
.ezqb-medlib-media{min-width:0;overflow:auto;border-left:1px solid #e1e7ef;background:#fbfcfe;padding:13px 9px}.ezqb-medlib-media-empty{padding:20px 7px;text-align:center;color:#8794a6;font-size:10px;line-height:1.5}.ezqb-medlib-media-group{margin-bottom:18px}.ezqb-medlib-media-group h3{display:flex;align-items:center;justify-content:space-between;margin:0 3px 8px;color:#69788e;font-size:8.5px;letter-spacing:.08em}.ezqb-medlib-media-group h3 b{font-size:8px;color:#8693a5}.ezqb-medlib-exhibit{width:100%;border:1px solid #dce4ee;border-radius:9px;background:#fff;margin:0 0 8px;padding:6px;color:#52627a;text-align:left;cursor:pointer;overflow:hidden}.ezqb-medlib-exhibit:hover{border-color:#9bbcf4;box-shadow:0 3px 12px rgba(28,64,118,.08)}.ezqb-medlib-exhibit.image img{display:block;width:100%;max-height:118px;object-fit:contain;background:#fff;border-radius:5px}.ezqb-medlib-exhibit span{display:block;padding:6px 2px 1px;font-size:9px;text-align:center}.ezqb-medlib-exhibit.table,.ezqb-medlib-exhibit.video{display:flex;align-items:center;gap:7px}.ezqb-medlib-exhibit.table i,.ezqb-medlib-exhibit.video i{width:28px;height:28px;border-radius:7px;background:#edf4ff;color:#1769ff;display:grid;place-items:center;font-style:normal}.ezqb-medlib-exhibit.table span,.ezqb-medlib-exhibit.video span{padding:0;text-align:left}.ezqb-medlib-mobile-exhibits{display:none}
.ezqb-medlib-resize{position:absolute;right:1px;bottom:1px;width:20px;height:20px;border:0;background:linear-gradient(135deg,transparent 0 50%,#9aa9bc 51% 57%,transparent 58% 68%,#9aa9bc 69% 75%,transparent 76%);cursor:nwse-resize;touch-action:none;opacity:.75}
.ezqb-medlib-viewer{position:absolute;inset:54px 0 0;z-index:20;background:rgba(13,25,46,.62);display:grid;place-items:center;padding:20px}.ezqb-medlib-viewer[hidden]{display:none!important}.ezqb-medlib-viewer-card{width:min(900px,94%);height:min(680px,92%);background:#fff;border-radius:13px;box-shadow:0 20px 60px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden}.ezqb-medlib-viewer-card>header{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 15px;border-bottom:1px solid #e0e6ef}.ezqb-medlib-viewer-card>header b{font-size:12px}.ezqb-medlib-viewer-card>header button{width:32px;height:32px;border:0;border-radius:8px;background:transparent;font-size:20px;color:#66758a;cursor:pointer}.ezqb-medlib-viewer-card>header button:hover{background:#f3f5f8}.ezqb-medlib-viewer-card>div{flex:1;min-height:0;display:grid;place-items:center;padding:10px;background:#fafbfd}.ezqb-medlib-viewer img,.ezqb-medlib-viewer video{max-width:100%;max-height:100%;object-fit:contain}.ezqb-medlib-viewer iframe{width:100%;height:100%;border:0;background:#fff;border-radius:7px}
.ezqb-medlib-window.minimized{height:54px!important;min-height:54px!important;width:340px!important;min-width:300px!important}.ezqb-medlib-window.minimized .ezqb-medlib-body,.ezqb-medlib-window.minimized .ezqb-medlib-resize{display:none!important}.ezqb-medlib-window.maximized{border-radius:11px}.ezqb-medlib-window.snapped{border-radius:11px}.ezqb-medlib-window.maximized .ezqb-medlib-resize,.ezqb-medlib-window.snapped .ezqb-medlib-resize{display:none}

@media(max-width:1100px){.ezqb-medlib-body{grid-template-columns:230px minmax(0,1fr) 185px}.ezqb-medlib-article-head{padding-left:22px;padding-right:22px}.ezqb-medlib-toc{padding-left:22px;padding-right:22px}.ezqb-medlib-article-content{padding-left:22px;padding-right:22px}.ezqb-medlib-article-head h1{font-size:22px}}
@media(max-width:820px) and (min-width:701px){.ezqb-medlib-window{min-width:560px}.ezqb-medlib-body{grid-template-columns:210px minmax(0,1fr)}.ezqb-medlib-media{display:none}.ezqb-medlib-mobile-exhibits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 22px 30px}.ezqb-medlib-mobile-exhibits .ezqb-medlib-exhibit{margin:0}.ezqb-medlib-article-content{font-size:13px}}
@media(max-width:700px){.ezqb-medlib-window{inset:0!important;width:100vw!important;height:100dvh!important;min-width:0!important;min-height:0!important;border:0;border-radius:0!important}.ezqb-medlib-titlebar{height:calc(52px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-left:calc(10px + env(safe-area-inset-left));padding-right:calc(7px + env(safe-area-inset-right))}.ezqb-medlib-window-actions button[data-lib-act="snap-left"],.ezqb-medlib-window-actions button[data-lib-act="snap-right"],.ezqb-medlib-window-actions button[data-lib-act="minimize"],.ezqb-medlib-window-actions button[data-lib-act="maximize"]{display:none}.ezqb-medlib-body{height:calc(100dvh - 52px - env(safe-area-inset-top));display:block}.ezqb-medlib-browser{height:100%;border:0}.ezqb-medlib-reader{display:none;height:100%}.ezqb-medlib-media{display:none}.ezqb-medlib-window.article-open .ezqb-medlib-browser{display:none}.ezqb-medlib-window.article-open .ezqb-medlib-reader{display:block}.ezqb-medlib-resize{display:none}.ezqb-medlib-mobile-back{display:inline-flex;border:0;background:transparent;color:#1769ff;font-size:11px;font-weight:800;padding:0;margin-bottom:11px}.ezqb-medlib-article-head{padding:17px 16px 13px}.ezqb-medlib-article-head h1{font-size:21px}.ezqb-medlib-toc{padding:10px 12px;flex-wrap:nowrap;overflow-x:auto}.ezqb-medlib-toc button{flex:0 0 auto}.ezqb-medlib-article-content{padding:8px 16px 28px;font-size:14px}.ezqb-medlib-mobile-exhibits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 16px calc(24px + env(safe-area-inset-bottom))}.ezqb-medlib-mobile-exhibits .ezqb-medlib-exhibit{margin:0}.ezqb-medlib-viewer{inset:calc(52px + env(safe-area-inset-top)) 0 0;padding:8px}.ezqb-medlib-viewer-card{width:100%;height:100%;border-radius:10px}.ezqb-medlib-window.minimized{width:100vw!important;height:100dvh!important}.ezqb-medlib-brand small{display:none}}

/* =========================================================
   v1.16.1 — EzMedQ floating study workspace system
   Notes / Calculator / LABS + free-form Medical Library resizing
   ========================================================= */
.ezqb-workspace-window{
  position:fixed;
  left:calc(100vw - 460px);
  top:82px;
  z-index:2147483501;
  display:flex;
  flex-direction:column;
  min-width:310px;
  min-height:300px;
  background:#fff;
  border:1px solid #cfd9e7;
  border-radius:16px;
  box-shadow:0 24px 70px rgba(15,32,62,.25),0 5px 20px rgba(15,32,62,.10);
  overflow:hidden;
  color:#13213a;
  isolation:isolate;
}
.ezqb-workspace-window[hidden]{display:none!important}
.ezqb-workspace-titlebar{
  height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:0 8px 0 13px;background:#fff;border-bottom:1px solid #dbe3ee;cursor:grab;touch-action:none;user-select:none
}
.ezqb-workspace-titlebar:active{cursor:grabbing}
.ezqb-workspace-brand{display:flex;align-items:center;gap:9px;min-width:0}
.ezqb-workspace-brand>div{display:flex;flex-direction:column;min-width:0}
.ezqb-workspace-brand b{font-size:13px;line-height:1.2;color:#0d2143}
.ezqb-workspace-brand small{margin-top:2px;font-size:9px;color:#718098;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.ezqb-workspace-icon{width:30px;height:30px;border-radius:9px;background:#edf4ff;color:#1769ff;display:grid;place-items:center;flex:0 0 auto}
.ezqb-workspace-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ezqb-workspace-actions{display:flex;align-items:center;gap:2px}
.ezqb-workspace-actions button{width:31px;height:31px;border:0;border-radius:8px;background:transparent;color:#53637c;display:grid;place-items:center;cursor:pointer}
.ezqb-workspace-actions button:hover{background:#f0f4f9;color:#153b76}
.ezqb-workspace-actions button.close:hover{background:#fff0f1;color:#df3645}
.ezqb-workspace-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ezqb-workspace-body{flex:1;min-height:0;overflow:auto;background:#fff}
.ezqb-workspace-resize{position:absolute;z-index:12;display:block;touch-action:none;background:transparent}
.ezqb-workspace-resize.n{left:10px;right:10px;top:-3px;height:8px;cursor:ns-resize}
.ezqb-workspace-resize.s{left:10px;right:10px;bottom:-3px;height:8px;cursor:ns-resize}
.ezqb-workspace-resize.e{top:10px;bottom:10px;right:-3px;width:8px;cursor:ew-resize}
.ezqb-workspace-resize.w{top:10px;bottom:10px;left:-3px;width:8px;cursor:ew-resize}
.ezqb-workspace-resize.ne{right:-3px;top:-3px;width:16px;height:16px;cursor:nesw-resize}
.ezqb-workspace-resize.nw{left:-3px;top:-3px;width:16px;height:16px;cursor:nwse-resize}
.ezqb-workspace-resize.se{right:-3px;bottom:-3px;width:18px;height:18px;cursor:nwse-resize}
.ezqb-workspace-resize.sw{left:-3px;bottom:-3px;width:18px;height:18px;cursor:nesw-resize}
.ezqb-workspace-resize.se::after,.ezqb-workspace-resize.sw::after{content:"";position:absolute;bottom:4px;width:8px;height:8px;border-bottom:2px solid #9ba9bb}
.ezqb-workspace-resize.se::after{right:4px;border-right:2px solid #9ba9bb}.ezqb-workspace-resize.sw::after{left:4px;border-left:2px solid #9ba9bb}
.ezqb-workspace-window.minimized{height:52px!important;min-height:52px!important;width:310px!important;min-width:280px!important}
.ezqb-workspace-window.minimized .ezqb-workspace-body,.ezqb-workspace-window.minimized .ezqb-workspace-resize{display:none!important}
.ezqb-workspace-window.maximized,.ezqb-workspace-window.snapped{border-radius:11px}
.ezqb-workspace-window.maximized .ezqb-workspace-resize,.ezqb-workspace-window.snapped .ezqb-workspace-resize{display:none!important}

.ezqb-workspace-calc{padding:14px;height:100%;display:flex;flex-direction:column;justify-content:center}
.ezqb-workspace-calculator .ezqb-calc-display{height:58px;flex:0 0 58px;font-size:24px}
.ezqb-workspace-calculator .ezqb-calc-grid{flex:1;min-height:260px;grid-auto-rows:minmax(44px,1fr)}
.ezqb-workspace-calculator .ezqb-calc-grid button{min-height:42px;font-size:14px}

.ezqb-workspace-notes .ezqb-workspace-body{background:#fbfcfe}
.ezqb-workspace-notes{min-width:360px;min-height:300px}
.ezqb-workspace-notes .ezqb-workspace-notes{height:100%;padding:14px;display:flex;flex-direction:column;gap:10px}
.ezqb-workspace-note-context{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#6b7890}
.ezqb-workspace-note-context span{font-size:8px;font-weight:850;letter-spacing:.08em;color:#7c8aa0}
.ezqb-workspace-note-context b{font-size:9px;color:#2d4568}
.ezqb-workspace-notes textarea{width:100%;flex:1;min-height:150px;resize:none;border:1px solid #d8e1ec;border-radius:12px;background:#fff;padding:12px;outline:none;font:inherit;font-size:12px;line-height:1.6;color:#17243a;box-sizing:border-box}
.ezqb-workspace-notes textarea:focus{border-color:#87aff1;box-shadow:0 0 0 3px rgba(18,103,246,.07)}
.ezqb-workspace-notes .ezqb-note-pop-actions{margin:0;flex:0 0 auto}

.ezqb-workspace-labs .ezqb-workspace-body{display:grid;place-items:center;background:#fbfcfe}
.ezqb-workspace-labs .ezqb-workspace-labs{padding:30px;text-align:center;color:#6b7890}
.ezqb-workspace-labs .ezqb-labs-icon{margin:0 auto 12px}
.ezqb-workspace-labs h3{margin:0 0 7px;color:#172840;font-size:16px}
.ezqb-workspace-labs p{margin:0;max-width:410px;font-size:11px;line-height:1.65}

/* Medical Library can now be reshaped freely: square, portrait, landscape, etc. */
.ezqb-medlib-window{min-width:420px!important;min-height:320px!important;container-type:inline-size}
.ezqb-medlib-resizers{position:absolute;inset:0;pointer-events:none;z-index:35}
.ezqb-medlib-resize{position:absolute!important;pointer-events:auto;display:block!important;background:transparent!important;opacity:1!important;touch-action:none}
.ezqb-medlib-resize.n{left:10px;right:10px;top:-3px;height:8px;width:auto;cursor:ns-resize}
.ezqb-medlib-resize.s{left:10px;right:10px;bottom:-3px;height:8px;width:auto;cursor:ns-resize}
.ezqb-medlib-resize.e{top:10px;bottom:10px;right:-3px;width:8px;height:auto;cursor:ew-resize}
.ezqb-medlib-resize.w{top:10px;bottom:10px;left:-3px;width:8px;height:auto;cursor:ew-resize}
.ezqb-medlib-resize.ne{right:-3px;top:-3px;width:16px;height:16px;cursor:nesw-resize}
.ezqb-medlib-resize.nw{left:-3px;top:-3px;width:16px;height:16px;cursor:nwse-resize}
.ezqb-medlib-resize.se{right:-3px;bottom:-3px;width:20px;height:20px;cursor:nwse-resize}
.ezqb-medlib-resize.sw{left:-3px;bottom:-3px;width:20px;height:20px;cursor:nesw-resize}
.ezqb-medlib-resize.se::after,.ezqb-medlib-resize.sw::after{content:"";position:absolute;bottom:4px;width:8px;height:8px;border-bottom:2px solid #8fa0b5}
.ezqb-medlib-resize.se::after{right:4px;border-right:2px solid #8fa0b5}.ezqb-medlib-resize.sw::after{left:4px;border-left:2px solid #8fa0b5}
.ezqb-medlib-window.minimized .ezqb-medlib-resizers,.ezqb-medlib-window.maximized .ezqb-medlib-resizers,.ezqb-medlib-window.snapped .ezqb-medlib-resizers{display:none!important}

/* Internal layout follows the WINDOW size, not the monitor size. */
.ezqb-medlib-window.compact .ezqb-medlib-body{grid-template-columns:210px minmax(0,1fr)}
.ezqb-medlib-window.compact .ezqb-medlib-media{display:none}
.ezqb-medlib-window.compact .ezqb-medlib-mobile-exhibits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 20px 28px}
.ezqb-medlib-window.compact .ezqb-medlib-mobile-exhibits .ezqb-medlib-exhibit{margin:0}
.ezqb-medlib-window.narrow .ezqb-medlib-body{display:block;position:relative}
.ezqb-medlib-window.narrow .ezqb-medlib-browser{height:100%;border-right:0}
.ezqb-medlib-window.narrow .ezqb-medlib-reader{display:none;height:100%}
.ezqb-medlib-window.narrow.article-open .ezqb-medlib-browser{display:none}
.ezqb-medlib-window.narrow.article-open .ezqb-medlib-reader{display:block}
.ezqb-medlib-window.narrow .ezqb-medlib-mobile-back{display:inline-flex}
.ezqb-medlib-window.narrow .ezqb-medlib-article-head{padding:17px 16px 13px}
.ezqb-medlib-window.narrow .ezqb-medlib-article-head h1{font-size:21px}
.ezqb-medlib-window.narrow .ezqb-medlib-toc{padding:10px 12px;flex-wrap:nowrap;overflow-x:auto}
.ezqb-medlib-window.narrow .ezqb-medlib-toc button{flex:0 0 auto}
.ezqb-medlib-window.narrow .ezqb-medlib-article-content{padding:8px 16px 28px;font-size:13.5px}
.ezqb-medlib-window.narrow .ezqb-medlib-mobile-exhibits{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:16px;padding-right:16px}

@media(max-width:700px){
  .ezqb-workspace-window{inset:0!important;width:100vw!important;height:100dvh!important;min-width:0!important;min-height:0!important;border:0;border-radius:0!important}
  .ezqb-workspace-titlebar{height:calc(52px + env(safe-area-inset-top));flex-basis:calc(52px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-left:calc(10px + env(safe-area-inset-left));padding-right:calc(7px + env(safe-area-inset-right))}
  .ezqb-workspace-actions button[data-ws-act="snap-left"],.ezqb-workspace-actions button[data-ws-act="snap-right"],.ezqb-workspace-actions button[data-ws-act="minimize"],.ezqb-workspace-actions button[data-ws-act="maximize"]{display:none}
  .ezqb-workspace-resize{display:none!important}
  .ezqb-workspace-brand small{display:none}
  .ezqb-workspace-body{padding-bottom:env(safe-area-inset-bottom)}
  .ezqb-workspace-calculator .ezqb-workspace-calc{max-width:430px;width:100%;margin:auto}
  .ezqb-workspace-notes .ezqb-workspace-notes{padding:16px}
  .ezqb-workspace-labs .ezqb-workspace-labs{padding:22px}
}
/* v1.16.1 shared z-stack: whichever study window is touched/opened comes forward. */
body.ezqb-library-open{--ezqb-library-z:2147483500}
.ezqb-medlib-window-actions{flex:0 0 auto}
@media(max-width:700px){.ezqb-medlib-brand{flex:1 1 auto;overflow:hidden}.ezqb-medlib-window-actions{margin-left:auto}}
@media(max-width:700px){
  .ezqb-medlib-titlebar{position:relative;overflow:hidden;padding-right:calc(50px + env(safe-area-inset-right))!important}
  .ezqb-medlib-brand{max-width:calc(100% - 44px)}
  .ezqb-medlib-window-actions{position:absolute;right:calc(7px + env(safe-area-inset-right));top:calc(9px + env(safe-area-inset-top));margin:0}
}
@media(max-width:700px){.ezqb-medlib-window{min-width:0!important;min-height:0!important;width:100vw!important;height:100dvh!important}}

/* =========================================================
   v1.16.2 — TRUE SPLIT MULTITASKING + LIBRARY TREE
   ========================================================= */

/* iPad-style split: the study window owns one pane and the QBank actually
   reflows into the other pane instead of being covered by an overlay. */
body.ezqb-exam-mode.ezqb-study-split-right #ezqb-app{
  left:0!important;right:var(--ezqb-study-split-size)!important;width:auto!important;max-width:none!important;
}
body.ezqb-exam-mode.ezqb-study-split-left #ezqb-app{
  left:var(--ezqb-study-split-size)!important;right:0!important;width:auto!important;max-width:none!important;
}
body.ezqb-study-split #ezqb-app{transition:left .18s ease,right .18s ease,width .18s ease}
body.ezqb-study-split .ezqb-study-split-window{
  border-radius:0!important;border-top:0!important;border-bottom:0!important;box-shadow:none!important;
}
body.ezqb-study-split .ezqb-study-split-window .ezqb-workspace-resize,
body.ezqb-study-split .ezqb-study-split-window .ezqb-medlib-resizers{display:none!important}

.ezqb-study-split-divider{
  position:fixed;top:0;bottom:0;width:8px;z-index:2147483640;cursor:col-resize;touch-action:none;
  background:transparent;display:flex;align-items:center;justify-content:center;
}
.ezqb-study-split-divider[hidden]{display:none!important}
.ezqb-study-split-divider::before{content:"";position:absolute;top:0;bottom:0;left:3px;width:2px;background:#d5deea;box-shadow:0 0 0 1px rgba(255,255,255,.7)}
.ezqb-study-split-divider:hover::before,.ezqb-study-split-divider:active::before{background:#1769ff;width:3px}
.ezqb-study-split-divider>span{position:relative;z-index:2;width:5px;height:54px;border-radius:999px;background:#aab7c9;box-shadow:0 2px 8px rgba(20,41,78,.16)}
.ezqb-study-split-divider:hover>span{background:#1769ff}
.ezqb-study-split-divider>small{position:absolute;top:12px;left:14px;display:none;white-space:nowrap;padding:5px 8px;border-radius:7px;background:#11213d;color:#fff;font-size:8px;font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.16)}
.ezqb-study-split-divider:hover>small{display:block}

/* Fixed Basic bottom bar must follow the QBank pane width too. */
body.ezqb-study-split-right .ezqb-basic-bottom-bar{right:var(--ezqb-study-split-size)!important}
body.ezqb-study-split-left .ezqb-basic-bottom-bar{left:var(--ezqb-study-split-size)!important}

/* The browser viewport is still wide during simulated split view, so force
   the QBank half-pane into the same compact layout it would naturally use on
   a smaller iPad window. */
body.ezqb-study-split .ezqb-basic-topbar{
  min-height:106px!important;height:106px!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:54px 52px!important;gap:0 6px!important;padding:0 7px!important;
}
body.ezqb-study-split .ezqb-basic-left-zone{grid-column:1!important;grid-row:1!important;gap:7px!important}
body.ezqb-study-split .ezqb-basic-right-zone{grid-column:2!important;grid-row:1!important}
body.ezqb-study-split .ezqb-basic-nav-zone{grid-column:1!important;grid-row:2!important;justify-content:flex-start!important;border-top:1px solid rgba(255,255,255,.12)!important}
body.ezqb-study-split .ezqb-basic-header-tools{grid-column:2!important;grid-row:2!important;justify-content:flex-end!important;border-top:1px solid rgba(255,255,255,.12)!important}
body.ezqb-study-split .ezqb-basic-rail-toggle{display:grid!important}
body.ezqb-study-split .ezqb-basic-mark{min-width:54px!important;height:36px!important}
body.ezqb-study-split .ezqb-basic-mark span,.ezqb-study-split .ezqb-basic-tool span{display:none!important}
body.ezqb-study-split .ezqb-basic-header-nav{width:146px!important;height:52px!important}
body.ezqb-study-split .ezqb-basic-header-nav-btn{height:52px!important}
body.ezqb-study-split .ezqb-basic-tool{height:52px!important;min-width:40px!important;padding:3px!important}
body.ezqb-study-split .ezqb-player-basic .ezqb-exam-layout{display:block!important}
body.ezqb-study-split .ezqb-player-basic .ezqb-question-main{grid-column:auto!important}
body.ezqb-study-split .ezqb-player-basic .ezqb-basic-rail{
  display:none!important;position:fixed!important;top:106px!important;bottom:56px!important;width:190px!important;height:auto!important;z-index:360!important;
}
body.ezqb-study-split .ezqb-player-basic .ezqb-basic-rail.show{display:block!important}
body.ezqb-study-split .ezqb-player-basic .ezqb-qcard{min-height:calc(100dvh - 162px)!important;padding:18px 14px 86px!important}
body.ezqb-study-split .ezqb-player-basic .ezqb-stem{font-size:15.5px!important}

/* Native EzMedQ player also behaves like a compact tablet app in a split pane. */
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-examtop{grid-template-columns:1fr auto!important;padding:8px 10px!important;gap:8px!important}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-exam-brand{display:none!important}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-exam-layout{display:block!important;padding:10px 9px 26px!important}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-exam-navigator{display:none!important;position:fixed!important;z-index:360!important;top:76px!important;max-height:calc(100dvh - 88px)!important}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-exam-navigator.show{display:block!important}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-grid-toggle{display:inline-flex!important}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-commandbar-tools{overflow-x:auto!important;scrollbar-width:none}
body.ezqb-study-split .ezqb-player-ezmedq .ezqb-commandbar-tools::-webkit-scrollbar{display:none}

/* Minimized tools are movable chips. They stay exactly where the student
   drags them and can be restored from the same titlebar. */
.ezqb-workspace-window.minimized,.ezqb-medlib-window.minimized{
  width:280px!important;min-width:220px!important;height:48px!important;min-height:48px!important;border-radius:14px!important;
  box-shadow:0 12px 34px rgba(15,32,62,.22)!important;overflow:hidden!important;
}
.ezqb-workspace-window.minimized .ezqb-workspace-titlebar,.ezqb-medlib-window.minimized .ezqb-medlib-titlebar{height:48px!important;border-bottom:0!important;cursor:grab!important}
.ezqb-workspace-window.minimized .ezqb-workspace-brand small,.ezqb-medlib-window.minimized .ezqb-medlib-brand small{display:none!important}
.ezqb-workspace-window.minimized .ezqb-workspace-actions button[data-ws-act="snap-left"],
.ezqb-workspace-window.minimized .ezqb-workspace-actions button[data-ws-act="snap-right"],
.ezqb-workspace-window.minimized .ezqb-workspace-actions button[data-ws-act="maximize"],
.ezqb-medlib-window.minimized .ezqb-medlib-window-actions button[data-lib-act="snap-left"],
.ezqb-medlib-window.minimized .ezqb-medlib-window-actions button[data-lib-act="snap-right"],
.ezqb-medlib-window.minimized .ezqb-medlib-window-actions button[data-lib-act="maximize"]{display:none!important}

/* One hierarchical browser instead of two stacked category/article boxes. */
.ezqb-medlib-tree{flex:1;min-height:0;overflow:auto;padding:4px 7px 10px;scrollbar-width:thin}
.ezqb-medlib-tree-node{border-bottom:1px solid #eef2f6}
.ezqb-medlib-tree-node:last-child{border-bottom:0}
.ezqb-medlib-tree-category{
  width:100%;min-height:38px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:6px;
  padding:6px 7px;border:0;border-radius:7px;background:transparent;color:#40516a;text-align:left;cursor:pointer;font-size:11.25px;font-weight:720;
}
.ezqb-medlib-tree-category:hover{background:#eef4fd}.ezqb-medlib-tree-category.active{background:#e8f1ff;color:#1769ff}
.ezqb-medlib-tree-category span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ezqb-medlib-tree-category b{font-size:9px;color:#8794a7;font-weight:750}
.ezqb-medlib-tree-chevron{display:grid;place-items:center;width:17px;height:17px;font-style:normal;color:#73839a;font-size:15px;line-height:1;transition:transform .16s ease}
.ezqb-medlib-tree-node.open>.ezqb-medlib-tree-category .ezqb-medlib-tree-chevron{transform:rotate(90deg)}
.ezqb-medlib-tree-node.special>.ezqb-medlib-tree-category .ezqb-medlib-tree-chevron{transform:none}
.ezqb-medlib-tree-children{padding:2px 0 6px 17px}
.ezqb-medlib-tree-children[hidden]{display:none!important}
.ezqb-medlib-tree-article{
  width:100%;min-height:44px;display:flex;align-items:flex-start;gap:6px;padding:7px 7px 7px 10px;border:0;border-left:2px solid #dbe4ef;
  border-radius:0 7px 7px 0;background:transparent;color:#1d2b43;text-align:left;cursor:pointer;
}
.ezqb-medlib-tree-article:hover{background:#f0f5fc;border-left-color:#9cbcf0}
.ezqb-medlib-tree-article.active{background:#e6f0ff;border-left-color:#1769ff;color:#0f60e4}
.ezqb-medlib-tree-article>span{min-width:0;display:flex;flex-direction:column;gap:2px}
.ezqb-medlib-tree-article b{font-size:11.25px;line-height:1.35;font-weight:760}
.ezqb-medlib-tree-article small{font-size:8.8px;line-height:1.35;color:#7f8da0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ezqb-medlib-tree-article em{margin-left:auto;color:#f2aa16;font-style:normal;font-size:11px}
.ezqb-medlib-tree-more{width:calc(100% - 4px);min-height:31px;margin:4px 0 0;border:1px dashed #bdcce0;border-radius:7px;background:#f9fbfe;color:#3e608f;font-size:9px;font-weight:750;cursor:pointer}
.ezqb-medlib-tree-more:hover{border-color:#1769ff;color:#1769ff;background:#f1f6ff}.ezqb-medlib-tree-more span{opacity:.65;margin-left:4px}

/* Old stacked list elements are not used by v1.16.2. */
.ezqb-medlib-categories,.ezqb-medlib-list-head,.ezqb-medlib-articles,.ezqb-medlib-pager{display:none!important}

@media(max-width:700px){
  body.ezqb-study-split #ezqb-app{left:0!important;right:0!important;width:100%!important}
  .ezqb-study-split-divider{display:none!important}
  .ezqb-medlib-tree{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
}
body.ezqb-study-split .ezqb-study-split-window{min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}


/* v1.16.3 — safer navigation + clearer Library browser + clickable minimized chips. */
.ezqb-workspace-window.minimized .ezqb-workspace-titlebar,
.ezqb-medlib-window.minimized .ezqb-medlib-titlebar{cursor:pointer!important}
.ezqb-workspace-window.minimized .ezqb-workspace-brand,
.ezqb-medlib-window.minimized .ezqb-medlib-brand{pointer-events:none}
.ezqb-study-toast{
  position:fixed;left:50%;bottom:72px;z-index:2147483646;transform:translate(-50%,12px);opacity:0;pointer-events:none;
  max-width:min(92vw,520px);padding:10px 14px;border-radius:12px;background:#0f1f3d;color:#fff;box-shadow:0 12px 34px rgba(15,31,61,.28);
  font-size:12px;font-weight:750;line-height:1.35;text-align:center;transition:opacity .18s ease,transform .18s ease;
}
.ezqb-study-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){.ezqb-study-toast{bottom:calc(18px + env(safe-area-inset-bottom));font-size:12px}}


/* =========================================================
   v1.16.4 — Library polish + clean resize hit-zones + mobile tool bar
   ========================================================= */

/* Resize remains available from every edge/corner, but the old visible
   corner glyphs looked like stray arrows. Keep the hit zones invisible. */
.ezqb-workspace-resize.se::after,
.ezqb-workspace-resize.sw::after,
.ezqb-medlib-resize.se::after,
.ezqb-medlib-resize.sw::after{content:none!important;display:none!important}

/* The zero-member Standalone source bucket is intentionally hidden by the
   API now. Slightly larger browser typography improves scanability. */
.ezqb-medlib-tree-category{font-size:11.8px!important}
.ezqb-medlib-tree-category b{font-size:9.4px!important}
.ezqb-medlib-tree-article{min-height:47px!important;padding-top:8px!important;padding-bottom:8px!important}
.ezqb-medlib-tree-article b{font-size:12.25px!important;line-height:1.38!important}
.ezqb-medlib-tree-article small{font-size:9.2px!important;line-height:1.4!important}

/* Exhibit viewer must always show the whole figure. The stage may scroll for
   unusually large source media instead of clipping it at the card edge. */
.ezqb-medlib-viewer{padding:14px!important}
.ezqb-medlib-viewer-card{width:min(980px,96%)!important;height:min(760px,94dvh)!important;max-height:94dvh!important}
.ezqb-medlib-viewer-card>div{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:auto!important;padding:12px!important;min-height:0!important;
}
.ezqb-medlib-viewer img{
  display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;margin:auto!important;flex:0 1 auto!important;
}
.ezqb-medlib-viewer video{display:block!important;max-width:100%!important;max-height:100%!important;margin:auto!important}
.ezqb-medlib-viewer iframe{flex:1 1 auto!important;min-width:100%!important;min-height:100%!important}

/* Desktop keeps native fullscreen/focus. Tablet + phone use the valuable slot
   for Library instead; iOS Focus Mode no longer clutters the tool grid. */
.ezqb-basic-library-mobile{display:none!important}
@media(max-width:1024px){
  .ezqb-player-ezmedq .ezqb-commandbar .ezqb-command-utility[data-act="fullscreen"]{display:none!important}
  .ezqb-player-ezmedq .ezqb-commandbar-inner{flex-wrap:wrap!important}
  .ezqb-player-ezmedq .ezqb-commandbar-nav{width:100%!important}
  .ezqb-player-ezmedq .ezqb-commandbar-tools{
    width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;
  }
  .ezqb-player-ezmedq .ezqb-commandbar-tools>.ezqb-marker-anchor,
  .ezqb-player-ezmedq .ezqb-commandbar-tools>.ezqb-note-anchor{display:flex!important;width:100%!important;min-width:0!important}
  .ezqb-player-ezmedq .ezqb-commandbar-tools .ezqb-tool,
  .ezqb-player-ezmedq .ezqb-commandbar-tools .ezqb-marker-trigger,
  .ezqb-player-ezmedq .ezqb-commandbar-tools .ezqb-note-trigger,
  .ezqb-player-ezmedq .ezqb-commandbar-tools .ezqb-command-utility,
  .ezqb-player-ezmedq .ezqb-commandbar-tools .ezqb-labs-trigger{width:100%!important;min-width:0!important;max-width:none!important}
  .ezqb-player-ezmedq .ezqb-commandbar-tools>.ezqb-marker-anchor{order:1}
  .ezqb-player-ezmedq .ezqb-commandbar-tools>[data-act="mark"]{order:2}
  .ezqb-player-ezmedq .ezqb-commandbar-tools>.ezqb-note-anchor{order:3}
  .ezqb-player-ezmedq .ezqb-commandbar-tools>[data-act="calculator"]{order:4}
  .ezqb-player-ezmedq .ezqb-commandbar-tools>[data-act="library"]{order:5}
  .ezqb-player-ezmedq .ezqb-commandbar-tools>[data-act="labs"]{order:6}

  .ezqb-player-basic .ezqb-basic-focus-tool{display:none!important}
  .ezqb-player-basic .ezqb-basic-library-mobile{display:flex!important}
}

@media(max-width:700px){
  .ezqb-medlib-viewer{inset:calc(52px + env(safe-area-inset-top)) 0 0!important;padding:6px!important}
  .ezqb-medlib-viewer-card{width:100%!important;height:100%!important;max-height:none!important;border-radius:10px!important}
  .ezqb-medlib-viewer-card>div{padding:8px!important}
}
.ezqb-medlib-viewer-card>div img{max-height:calc(94dvh - 92px)!important}
@media(max-width:700px){.ezqb-medlib-viewer-card>div img{max-height:calc(100dvh - 118px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}}

/* =========================================================
   v1.16.5 — REAL LAB VALUES WORKSPACE
   ========================================================= */
.ezqb-workspace-window.ezqb-workspace-labs{container-type:inline-size}
.ezqb-workspace-labs .ezqb-workspace-body{display:block!important;place-items:initial!important;background:#f8fafc!important;overflow:hidden}
.ezqb-labs-app{height:100%;display:flex;flex-direction:column;min-width:0;color:#17243a;background:#f8fafc}
.ezqb-labs-searchbar{margin:12px 12px 8px;position:relative;display:flex;align-items:center;border:1px solid #d5deea;background:#fff;border-radius:12px;min-height:43px;box-shadow:0 1px 2px rgba(15,35,60,.03)}
.ezqb-labs-search-icon{width:36px;display:grid;place-items:center;color:#72839a;font-size:20px;line-height:1}
.ezqb-labs-searchbar input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:10px 4px;font-size:12px;color:#17243a}
.ezqb-labs-searchbar input::placeholder{color:#8a97a9}
.ezqb-labs-searchbar button{width:34px;height:34px;margin-right:4px;border:0;border-radius:9px;background:#eef3f9;color:#59708d;font-size:18px;cursor:pointer}
.ezqb-labs-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0 12px 9px;border-bottom:1px solid #e4eaf2}
.ezqb-labs-tabs button{min-width:0;border:1px solid #d6dfeb;background:#fff;color:#52657f;border-radius:9px;padding:8px 7px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:750;cursor:pointer;white-space:nowrap;overflow:hidden}
.ezqb-labs-tabs button span{overflow:hidden;text-overflow:ellipsis}
.ezqb-labs-tabs button small{flex:0 0 auto;display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 5px;border-radius:99px;background:#eff3f8;color:#75849a;font-size:8px;font-weight:800}
.ezqb-labs-tabs button:hover{border-color:#a9c5f7;background:#f8fbff;color:#1b62c8}
.ezqb-labs-tabs button.active{border-color:#1267f6;background:#1267f6;color:#fff;box-shadow:0 4px 12px rgba(18,103,246,.13)}
.ezqb-labs-tabs button.active small{background:rgba(255,255,255,.2);color:#fff}
.ezqb-labs-status{padding:8px 14px;color:#7a8799;font-size:9px;line-height:1.3;background:#fbfcfe;border-bottom:1px solid #e8edf3}
.ezqb-labs-status b{color:#245ea9;font-size:10px}
.ezqb-labs-results{flex:1;min-height:0;overflow:auto;background:#fff}
.ezqb-labs-table-wrap{width:100%;min-height:100%;overflow:auto}
.ezqb-labs-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px;color:#26364c}
.ezqb-labs-table thead{position:sticky;top:0;z-index:2;background:#eef4fb}
.ezqb-labs-table th{padding:9px 10px;text-align:left;color:#45617f;font-size:8px;text-transform:uppercase;letter-spacing:.045em;font-weight:850;border-bottom:1px solid #d7e1ed}
.ezqb-labs-table td{padding:10px;border-bottom:1px solid #edf1f5;vertical-align:top;line-height:1.45;word-break:normal;overflow-wrap:anywhere}
.ezqb-labs-table tbody tr:hover td{background:#f8fbff}
.ezqb-labs-table td.test{font-weight:750;color:#14253d}
.ezqb-labs-table th:first-child,.ezqb-labs-table td:first-child{width:43%}
.ezqb-labs-table th:nth-child(2),.ezqb-labs-table td:nth-child(2){width:28.5%}
.ezqb-labs-table th:nth-child(3),.ezqb-labs-table td:nth-child(3){width:28.5%}
.ezqb-labs-table th:nth-child(4),.ezqb-labs-table td:nth-child(4){width:24%}
.ezqb-labs-section-pill{display:inline-flex;align-items:center;padding:4px 7px;border-radius:99px;background:#edf4ff;color:#2368c7;font-size:8px;font-weight:800;white-space:nowrap}
.ezqb-labs-loading,.ezqb-labs-empty,.ezqb-labs-error{min-height:220px;padding:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#75839a;gap:8px}
.ezqb-labs-loading span{width:28px;height:28px;border:3px solid #dce7f7;border-top-color:#1267f6;border-radius:50%;animation:ezqbspin .8s linear infinite}
.ezqb-labs-loading b,.ezqb-labs-empty b,.ezqb-labs-error b{font-size:13px;color:#203551}
.ezqb-labs-empty span,.ezqb-labs-error span{font-size:10px;max-width:330px;line-height:1.55}
.ezqb-labs-error button{margin-top:4px;border:0;border-radius:9px;background:#1267f6;color:#fff;padding:8px 12px;font-size:10px;font-weight:800;cursor:pointer}

/* When a resizable Labs workspace becomes narrow, switch the table to readable
   mobile cards instead of forcing a tiny 3-column grid. */
@container (max-width: 540px){
  .ezqb-labs-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ezqb-labs-status{font-size:9px}
  .ezqb-labs-table,.ezqb-labs-table tbody,.ezqb-labs-table tr,.ezqb-labs-table td{display:block;width:100%!important}
  .ezqb-labs-table thead{display:none}
  .ezqb-labs-table tbody{padding:8px}
  .ezqb-labs-table tr{margin:0 0 8px;border:1px solid #e0e7f0;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(20,42,72,.025)}
  .ezqb-labs-table td{border:0;border-bottom:1px solid #eef2f6;padding:8px 10px;display:grid;grid-template-columns:118px minmax(0,1fr);gap:8px;font-size:10.5px}
  .ezqb-labs-table td:last-child{border-bottom:0}
  .ezqb-labs-table td::before{content:attr(data-label);font-size:8px;font-weight:850;letter-spacing:.035em;text-transform:uppercase;color:#7b8ba1}
  .ezqb-labs-table td.test{display:block;font-size:12px;background:#f8fbff;padding:10px 11px;color:#17365f}
  .ezqb-labs-table td.test::before{display:none}
}

@media(max-width:700px){
  .ezqb-labs-searchbar{margin:10px 10px 7px;min-height:46px}
  .ezqb-labs-searchbar input{font-size:13px}
  .ezqb-labs-tabs{padding-left:10px;padding-right:10px}
  .ezqb-labs-tabs button{font-size:10.5px;padding:9px 7px}
  .ezqb-labs-status{padding-left:12px;padding-right:12px}
}
.ezqb-labs-table.search-mode th:first-child,.ezqb-labs-table.search-mode td:first-child{width:18%}
.ezqb-labs-table.search-mode th:nth-child(2),.ezqb-labs-table.search-mode td:nth-child(2){width:34%}
.ezqb-labs-table.search-mode th:nth-child(3),.ezqb-labs-table.search-mode td:nth-child(3){width:24%}
.ezqb-labs-table.search-mode th:nth-child(4),.ezqb-labs-table.search-mode td:nth-child(4){width:24%}

/* =========================================================
   v1.16.6 — Basic View answer-state contrast polish
   Scope intentionally limited to Basic View.
   ========================================================= */
.ezqb-player-basic .ezqb-choice.correct{
  background:#dff5e8!important;
  box-shadow:inset 5px 0 0 #16a05d!important;
}
.ezqb-player-basic .ezqb-choice.wrong{
  background:#ffe3e7!important;
  box-shadow:inset 5px 0 0 #df3e52!important;
}
.ezqb-player-basic .ezqb-choice.correct .ezqb-letter{
  background:#19a463!important;
  border-color:#11834d!important;
  color:#fff!important;
}
.ezqb-player-basic .ezqb-choice.wrong .ezqb-letter{
  background:#df4053!important;
  border-color:#ba2c3e!important;
  color:#fff!important;
}
.ezqb-player-basic .ezqb-review-choice-badge{
  padding:6px 10px!important;
  font-size:9.5px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  border:1px solid transparent!important;
}
.ezqb-player-basic .ezqb-review-choice-badge.correct{
  background:#c9efd9!important;
  border-color:#8fd8ae!important;
  color:#075f37!important;
}
.ezqb-player-basic .ezqb-review-choice-badge.wrong{
  background:#ffd0d7!important;
  border-color:#f3a2ad!important;
  color:#96263a!important;
}
.ezqb-player-basic .ezqb-basic-rail-list button.correct:not(.current){
  background:#edf9f2!important;
  box-shadow:inset 3px 0 0 #20a465!important;
}
.ezqb-player-basic .ezqb-basic-rail-list button.wrong:not(.current){
  background:#fff0f2!important;
  box-shadow:inset 3px 0 0 #df4b5d!important;
}
.ezqb-player-basic .ezqb-basic-rail-list button.correct i{
  width:8px!important;height:8px!important;background:#159457!important;
}
.ezqb-player-basic .ezqb-basic-rail-list button.wrong i{
  width:8px!important;height:8px!important;background:#d9364a!important;
}

/* v1.16.7 — lifetime access + richer storefront features */
.ezqb-plan-access{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-top:7px;
  padding:5px 9px;
  border:1px solid #dce6f1;
  border-radius:999px;
  background:#f7faff;
  color:#52677f;
  font-size:10px;
  font-weight:750;
  line-height:1.2;
  letter-spacing:.01em;
}
.ezqb-plan-access.lifetime{
  border-color:#bcebd6;
  background:#ecfbf4;
  color:#087a50;
}
.ezqb-plan-benefits span{line-height:1.45}
@media(max-width:640px){
  .ezqb-plan-access{font-size:9.5px;padding:5px 8px}
}


/* v1.17.0 — server-resolved launch sale storefront */
.ezqb-plan-sale-price{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;min-width:0}
.ezqb-plan-sale-price .ezqb-plan-price{order:2}
.ezqb-plan-old-price{order:1;width:100%;font-size:12px;font-weight:800;color:#98a2b3;text-decoration:line-through;text-decoration-thickness:1.5px}
.ezqb-plan-sale-badge{order:3;display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#eaf8ef;color:#087a49;font-size:9px;font-weight:900;white-space:nowrap}
@media(max-width:520px){.ezqb-plan-sale-badge{font-size:8.5px}.ezqb-plan-old-price{font-size:11px}}

/* =========================================================
   v1.17.5 — opt-in 48-hour trial + responsive guest landing.
   Isolated to guest/trial surfaces; original exam UI stays intact.
   ========================================================= */
.ezqb-public-shell,.ezqb-public-shell *{box-sizing:border-box}
.ezqb-public-shell{
  min-height:calc(100vh - 95px);
  padding:clamp(22px,5vw,64px) 18px;
  background:radial-gradient(ellipse at 15% 8%,rgba(43,116,255,.13),transparent 42%),
    radial-gradient(ellipse at 95% 100%,rgba(80,141,255,.12),transparent 44%),#f4f7fc;
  display:grid;place-items:center;
}
.ezqb-public-card{
  width:min(100%,1180px);
  max-width:none;
  padding:24px 26px 0;
  border:1px solid rgba(210,222,243,.9);
  border-radius:28px;
  background:#fff;
  box-shadow:0 30px 85px rgba(17,44,93,.1);
  text-align:left;
  overflow:hidden;
}
.ezqb-public-brand{justify-content:flex-start;margin:0 0 18px;gap:13px}
.ezqb-public-brand>span{font-size:12px;letter-spacing:.01em;color:#63748e}
.ezqb-public-logo{max-width:145px;max-height:43px}
.ezqb-public-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.91fr);gap:24px;align-items:stretch;min-width:0}
.ezqb-public-main{padding:clamp(14px,3vw,48px) 0 clamp(34px,4vw,52px) clamp(2px,1.4vw,18px);min-width:0;position:relative;z-index:1}
.ezqb-public-kicker{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:900;letter-spacing:.13em;color:#2369dc}
.ezqb-public-kicker-dot{width:8px;height:8px;background:#438dff;border-radius:50%;box-shadow:0 0 0 5px #e6f0ff;display:inline-block}
.ezqb-public-card h1{
  max-width:620px;
  margin:20px 0 18px;
  color:#0d1f3b;
  font-size:clamp(35px,3.3vw,55px);
  line-height:1.07;
  letter-spacing:-.045em;
  font-weight:850;
}
.ezqb-public-card h1 em{display:block;font-style:normal;color:#1766e7}
.ezqb-public-copy{max-width:485px;margin:0;color:#5a6a80;font-size:clamp(13px,1.12vw,16px);line-height:1.75}
.ezqb-public-features{margin:25px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 9px;justify-content:stretch;text-align:left}
.ezqb-public-features span{display:flex;align-items:center;min-height:34px;padding:8px 10px;border:1px solid #e5edfc;border-radius:11px;background:#f7faff;color:#344968;font-size:11px;line-height:1.4;font-weight:750}
.ezqb-public-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:10px}
.ezqb-trial-form{margin:0}
.ezqb-trial-guest-btn,.ezqb-trial-start{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;cursor:pointer;
  min-height:52px;padding:13px 23px;border:1px solid #1464e7;border-radius:13px;
  background:linear-gradient(125deg,#186aff,#064dca);color:#fff!important;font-size:13px;
  font-weight:900;letter-spacing:0;line-height:1.25;text-align:center;
  box-shadow:0 12px 27px rgba(21,100,231,.21);transition:transform .15s ease, box-shadow .15s ease;
}
.ezqb-trial-guest-btn:hover,.ezqb-trial-start:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgba(21,100,231,.28)}
.ezqb-trial-guest-btn:focus-visible,.ezqb-trial-start:focus-visible,.ezqb-public-signin:focus-visible{outline:3px solid #91baff;outline-offset:3px}
.ezqb-trial-start:disabled{opacity:.6;cursor:progress;transform:none}
.ezqb-public-signin{min-height:49px;display:inline-flex;gap:8px;align-items:center;color:#1b477c!important;font-size:12px;font-weight:800;text-decoration:none!important}
.ezqb-public-signin:hover{color:#1766e7!important}
.ezqb-public-disclaimer{color:#8292a9;font-size:10.5px;line-height:1.5;margin:13px 0 0}
.ezqb-public-showcase{
  position:relative;display:grid;place-items:center;min-width:0;padding:45px 22px 70px;
  border-radius:21px 21px 0 0;
  background:radial-gradient(ellipse at 76% 10%,#387de8 0%,#1e57b5 48%,#12346b 100%);
  isolation:isolate;overflow:hidden;
}
.ezqb-public-showcase-glow{position:absolute;z-index:-1;inset:10% -24%;border:1px solid rgba(255,255,255,.19);border-radius:50%;transform:rotate(-26deg);box-shadow:0 0 0 58px rgba(255,255,255,.025),0 0 0 115px rgba(255,255,255,.025)}
.ezqb-public-preview{width:min(100%,355px);padding:17px;background:#fff;border:1px solid rgba(238,245,255,.8);border-radius:20px;box-shadow:0 24px 55px rgba(1,19,54,.32);transform:rotate(-2deg)}
.ezqb-preview-top{display:flex;align-items:center;gap:9px;margin-bottom:20px;color:#172e52;font-size:11px}
.ezqb-preview-logo{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eaf1ff;color:#1163eb;font-size:19px}
.ezqb-preview-menu{margin-left:auto;color:#8296b4}
.ezqb-preview-welcome{background:linear-gradient(120deg,#edf5ff,#f6f9ff);border:1px solid #e5efff;border-radius:14px;padding:17px;display:grid;gap:7px}
.ezqb-preview-welcome small{color:#377be4;font-size:8px;font-weight:900;letter-spacing:.1em}
.ezqb-preview-welcome strong{color:#142b4b;font-size:25px;line-height:1.1;letter-spacing:-.7px}
.ezqb-preview-welcome span{font-size:10px;color:#6e8198}
.ezqb-preview-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 10px}
.ezqb-preview-steps span{display:grid;place-items:center;padding:9px 4px;background:#eef4ff;border:1px solid #deebff;border-radius:9px;color:#245bad;font-size:9px;font-weight:850}
.ezqb-preview-item{display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #ecf0f5;color:#507198;font-size:13px}
.ezqb-preview-item:last-child{border-bottom:0}
.ezqb-preview-item-icon{display:grid;place-items:center;flex:0 0 33px;height:33px;border-radius:10px;color:#2770e3;background:#f0f6ff;font-size:19px}
.ezqb-preview-item>div{display:grid;gap:4px;flex:1}
.ezqb-preview-item b{color:#1f3554;font-size:11px}
.ezqb-preview-item small{color:#7a8ba1;font-size:9px}
.ezqb-preview-floating{position:absolute;bottom:28px;right:10px;padding:10px 15px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.13);backdrop-filter:blur(7px);color:#fff;font-size:11px;font-weight:800}
.ezqb-public-bottom{padding:14px 7px;display:flex;justify-content:space-between;gap:10px;align-items:center;color:#8794a9;font-size:10px;font-weight:650}

/* Opt-in trial sits precisely between the plan hero and bundle section. */
.ezqb-trial-offer,.ezqb-trial-offer *{box-sizing:border-box}
.ezqb-trial-offer{display:flex;align-items:center;gap:18px;margin:14px 0 24px;padding:22px 24px;border:1px solid #cbdffd;border-radius:22px;background:linear-gradient(110deg,#eaf4ff,#f8fbff 53%,#e7f1ff);box-shadow:0 13px 33px rgba(20,76,150,.06)}
.ezqb-trial-offer-icon{width:54px;height:54px;flex:0 0 54px;border-radius:17px;display:grid;place-items:center;font-size:28px;background:#fff;color:#146af3;border:1px solid #d4e5ff;box-shadow:0 8px 16px rgba(23,99,210,.08)}
.ezqb-trial-offer-copy{flex:1;min-width:0}
.ezqb-trial-offer .ezqb-kicker{font-size:9px;color:#2866bc}
.ezqb-trial-offer h2{margin:4px 0 5px;color:#112a50;font-size:clamp(19px,2vw,25px);line-height:1.19;letter-spacing:-.6px}
.ezqb-trial-offer p{margin:0;color:#62758c;font-size:11px;line-height:1.65}
.ezqb-trial-start{flex:0 0 auto;min-width:174px}
.ezqb-trial-error{color:#a53232;font-size:12px;margin-top:8px}
.ezqb-trial-error[hidden]{display:none!important}
.ezqb-trial-expired{margin:12px 0 20px;padding:13px 17px;border:1px solid #d8e3f4;border-radius:14px;background:#f6f9fe;color:#365278;font-size:12px;font-weight:750}
.ezqb-trial-active{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 22px;padding:15px 20px;border-radius:15px;border:1px solid #c9e1ff;background:#eef6ff;color:#164a96;font-size:12px}
.ezqb-trial-active>span{font-weight:900}
.ezqb-trial-active>b{font-size:11px}
.ezqb-trial-active>small{color:#567da8;font-size:10px}
@media(max-width:960px){
  .ezqb-public-layout{grid-template-columns:minmax(0,1fr) minmax(0,.83fr);gap:10px}
  .ezqb-public-main{padding:20px 5px 32px}
  .ezqb-public-card h1{font-size:clamp(30px,4vw,44px)}
  .ezqb-public-showcase{padding:22px 13px 60px}
  .ezqb-public-features{grid-template-columns:1fr;gap:7px}
  .ezqb-public-features span{min-height:30px}
}
@media(max-width:740px){
  .ezqb-public-shell{min-height:100dvh;padding:12px 11px 35px;display:block}
  .ezqb-public-card{padding:19px 17px 0;border-radius:20px}
  .ezqb-public-brand{margin-bottom:7px;gap:8px}
  .ezqb-public-logo{max-width:135px;max-height:38px}
  .ezqb-public-layout{grid-template-columns:minmax(0,1fr);gap:0}
  .ezqb-public-main{padding:24px 0 26px}
  .ezqb-public-card h1{font-size:clamp(32px,7.4vw,44px);line-height:1.12;margin:17px 0 13px}
  .ezqb-public-copy{font-size:13px;line-height:1.65}
  .ezqb-public-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:22px 0}
  .ezqb-public-features span{font-size:10px;padding:9px}
  .ezqb-public-actions{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch}
  .ezqb-trial-form,.ezqb-trial-guest-btn,.ezqb-public-signin{width:100%;max-width:none}
  .ezqb-public-signin{justify-content:center;min-height:42px}
  .ezqb-public-disclaimer{text-align:center}
  .ezqb-public-showcase{border-radius:17px;min-height:300px;padding:29px 20px 45px}
  .ezqb-public-preview{width:min(100%,370px);transform:none}
  .ezqb-preview-floating{bottom:12px;right:10px}
  .ezqb-public-bottom{font-size:9px;flex-wrap:wrap}
  .ezqb-subscribe-wrap{padding:8px 12px 45px}
  .ezqb-trial-offer{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;padding:18px 15px;margin:15px 0 20px;border-radius:18px}
  .ezqb-trial-offer-icon{width:42px;height:42px;flex-basis:42px;border-radius:13px;font-size:22px}
  .ezqb-trial-offer-copy{min-width:0}
  .ezqb-trial-offer h2{font-size:20px}
  .ezqb-trial-start{grid-column:1/-1;min-width:0;width:100%;margin-top:3px}
}
@media(max-width:395px){
  .ezqb-public-features{grid-template-columns:1fr}
  .ezqb-public-brand>span{font-size:10px}
  .ezqb-public-card{padding:15px 14px 0}
  .ezqb-public-card h1{font-size:31px}
  .ezqb-public-showcase{padding:18px 12px 38px}
  .ezqb-preview-welcome strong{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.ezqb-trial-start,.ezqb-trial-guest-btn{transition:none}}

/* v1.17.7 — guest-only presentation; does not affect logged-in QBank. */
body.ezqb-guest-page{overflow-x:clip}
body.ezqb-guest-page .ezqb-guest-v3{position:relative!important;left:50%!important;transform:translateX(-50%)!important;width:100vw!important;max-width:none!important;margin:0!important;float:none!important;clear:both}
body.ezqb-guest-page .entry-content:has(.ezqb-guest-v3){width:100%!important;max-width:none!important}
.ezqb-guest-v3,.ezqb-guest-v3 *,.ezqb-trial-confirm-overlay,.ezqb-trial-confirm-overlay *{box-sizing:border-box}
.ezqb-guest-v3{display:block!important;min-height:calc(100dvh - 82px);padding:clamp(24px,4vw,55px) 18px 34px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#10223f;background:radial-gradient(ellipse at 20% 0,rgba(59,128,248,.1),transparent 52%),#f6f9fe}
.ezqb-guest-v3-inner{width:min(1100px,100%);margin:0 auto}
.ezqb-guest-panel{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);min-width:0;background:white;border:1px solid #e0e9f7;border-radius:25px;overflow:hidden;box-shadow:0 24px 75px rgba(19,54,102,.09)}
.ezqb-guest-content{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:clamp(26px,4.4vw,62px)}
.ezqb-guest-brand{display:flex;align-items:center;gap:13px;margin:0 0 49px}
.ezqb-guest-logo{display:block;max-height:43px;max-width:150px;width:auto;object-fit:contain}
.ezqb-guest-wordmark{font-size:23px;color:#0c56c8;letter-spacing:-1px}
.ezqb-guest-brand span{font-size:11px;color:#667895;font-weight:800;padding-left:12px;border-left:1px solid #dae4f3}
.ezqb-guest-eyebrow{font-size:10px;letter-spacing:.11em;color:#256cda;font-weight:900;display:flex;align-items:center;gap:9px}
.ezqb-guest-eyebrow i{width:8px;height:8px;background:#358bff;border-radius:50%;box-shadow:0 0 0 4px #e8f1ff}
.ezqb-guest-content h1{color:#0b2040!important;font-size:clamp(35px,3.9vw,53px)!important;font-weight:850!important;letter-spacing:-.04em!important;line-height:1.11!important;margin:17px 0!important;text-align:left!important;max-width:none!important}
.ezqb-guest-content h1 em{color:#1769e9;font-style:normal}
.ezqb-guest-content>p{max-width:490px;margin:0;font-size:15px;line-height:1.74;color:#61738c}
.ezqb-guest-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;margin:26px 0 25px}
.ezqb-guest-features span{padding:11px 11px;border-radius:11px;background:#f5f8fd;border:1px solid #e6edf8;color:#355070;font-size:11px;font-weight:750;line-height:1.35}
.ezqb-guest-primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:0 23px;border-radius:12px;background:#1867e9;color:white!important;text-decoration:none!important;font-size:13px;font-weight:850;box-shadow:0 12px 24px rgba(29,102,220,.19)}
.ezqb-guest-primary:hover{background:#0953d1;color:white!important;transform:translateY(-1px)}
.ezqb-guest-primary:focus-visible{outline:3px solid #8ab5ff;outline-offset:3px}
.ezqb-guest-note{margin-top:15px;font-size:11px;line-height:1.6;color:#8291a8;max-width:400px}
.ezqb-guest-visual{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:22px;padding:clamp(28px,4.2vw,55px);background:radial-gradient(ellipse at 95% 5%,#3982f1 0,#1854b6 65%,#103576 100%);color:white;overflow:hidden}
.ezqb-guest-visual:before{content:'';position:absolute;inset:15px -100px 0 30px;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none;transform:rotate(-25deg)}
.ezqb-guest-visual-title{font-size:16px;font-weight:850;display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative}
.ezqb-guest-visual-title span{background:rgba(255,255,255,.15);border-radius:12px;width:34px;height:34px;display:grid;place-items:center}
.ezqb-guest-visual-card{position:relative;padding:20px;background:#fff;border:1px solid #e5ecfb;border-radius:18px;box-shadow:0 16px 40px rgba(0,21,70,.22);color:#182d50}
.ezqb-guest-visual-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;margin-bottom:17px}
.ezqb-guest-visual-head span{font-size:10px;color:#1966d5;background:#eaf2ff;padding:6px 9px;border-radius:18px;font-weight:800}
.ezqb-guest-visual-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:17px}
.ezqb-guest-visual-steps span{background:#f0f6ff;border:1px solid #deebff;border-radius:8px;text-align:center;padding:11px 1px;font-size:10px;color:#235ec4;font-weight:850}
.ezqb-guest-visual-item{display:flex;gap:10px;align-items:center;border-top:1px solid #edf2fa;padding:14px 1px;color:#87a0bb;font-size:15px}
.ezqb-guest-visual-icon{flex:0 0 33px;height:33px;display:grid;place-items:center;background:#eff5ff;color:#286de0;border-radius:10px;font-size:17px}
.ezqb-guest-visual-item div{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.ezqb-guest-visual-item b{color:#263d5e;font-size:12px;font-weight:850}
.ezqb-guest-visual-item small{color:#8191a9;font-size:10px}
.ezqb-guest-visual-caption{font-size:12px;color:#e3eeff;font-weight:650;position:relative;text-align:center}
.ezqb-guest-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;color:#8796ac;font-size:11px;font-weight:700}
/* Explicit two-step trial consent: the POST is made only from the confirmation button. */
.ezqb-trial-confirm-overlay{position:fixed;inset:0;z-index:2147481000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,24,51,.6);backdrop-filter:blur(5px);overflow-y:auto}
.ezqb-trial-confirm-dialog{position:relative;width:min(100%,455px);max-height:calc(100dvh - 40px);overflow:auto;padding:32px;border:1px solid #dce7f9;border-radius:22px;background:#fff;color:#172c4d;box-shadow:0 28px 75px rgba(0,20,60,.28);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;text-align:left}
.ezqb-trial-confirm-close{position:absolute;right:16px;top:12px;background:transparent;border:0;cursor:pointer;font-size:28px;color:#8291a8}
.ezqb-trial-confirm-symbol{height:48px;width:48px;border-radius:14px;background:#eaf3ff;color:#216de8;display:grid;place-items:center;font-size:23px;margin-bottom:17px}
.ezqb-trial-confirm-eyebrow{color:#286ad5;font-size:10px;font-weight:900;letter-spacing:.1em}
.ezqb-trial-confirm-dialog h2{font-size:25px!important;line-height:1.19!important;margin:9px 0 12px!important;color:#122b50!important}
.ezqb-trial-confirm-dialog p{color:#61718a;font-size:13px;line-height:1.7;margin:0 0 18px}
.ezqb-trial-confirm-tip{border:1px solid #e0eaf8;background:#f7faff;padding:13px 14px;border-radius:11px;color:#536987;font-size:11.5px;line-height:1.6}
.ezqb-trial-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;flex-wrap:wrap}
.ezqb-trial-cancel,.ezqb-trial-approve{border-radius:11px;padding:12px 16px;font-size:12px;font-weight:850;cursor:pointer;min-height:45px;border:1px solid #d8e4f6}
.ezqb-trial-cancel{background:white;color:#375370}
.ezqb-trial-approve{background:#1767e9;color:white;border-color:#1767e9}
.ezqb-trial-approve:disabled{opacity:.6;cursor:wait}
.ezqb-trial-cancel:focus-visible,.ezqb-trial-approve:focus-visible,.ezqb-trial-confirm-close:focus-visible{outline:3px solid #91baff;outline-offset:2px}
body.ezqb-trial-confirm-open{overflow:hidden}
@media(max-width:900px){.ezqb-guest-panel{grid-template-columns:1fr}.ezqb-guest-content{padding:35px 36px}.ezqb-guest-brand{margin-bottom:27px}.ezqb-guest-visual{padding:32px 36px}.ezqb-guest-visual-card{max-width:460px;width:100%;margin:auto}.ezqb-guest-visual-title{width:100%;max-width:460px;margin:auto}}
@media(max-width:560px){.ezqb-guest-v3{padding:14px 12px 28px}.ezqb-guest-panel{border-radius:18px}.ezqb-guest-content{padding:26px 22px 30px}.ezqb-guest-brand{margin-bottom:24px}.ezqb-guest-content h1{font-size:clamp(31px,8vw,42px)!important}.ezqb-guest-content>p{font-size:13px}.ezqb-guest-features{gap:7px;margin:20px 0}.ezqb-guest-features span{font-size:10px;padding:10px}.ezqb-guest-primary{width:100%;font-size:13px}.ezqb-guest-visual{padding:28px 19px 27px}.ezqb-guest-visual-title{font-size:14px}.ezqb-guest-visual-card{padding:16px}.ezqb-guest-footer{font-size:10px}.ezqb-trial-confirm-dialog{padding:25px 21px}.ezqb-trial-confirm-actions{display:grid;grid-template-columns:1fr}.ezqb-trial-approve{grid-row:1}}
@media(prefers-reduced-motion:reduce){.ezqb-guest-primary{transition:none}}


/* v1.17.8 — Keep the 2-day offer visible on the storefront for all accounts,
   while keeping the activation control limited to server-eligible users. */
.ezqb-trial-offer .ezqb-trial-availability{margin-top:7px;font-size:11px;font-weight:700;color:#2364b0}
.ezqb-trial-offer .ezqb-trial-not-eligible{color:#6d7485;font-weight:600}
.ezqb-trial-unavailable-label{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:12px;border:1px solid #d6dfe9;background:#f8fafc;color:#5e6d81;font-size:12px;font-weight:800}
@media(max-width:740px){.ezqb-trial-unavailable-label{grid-column:1/-1;text-align:center;width:100%}}

/* v1.17.10: locked trial-only source tiles (no impact to paid accounts). */
.ezqb-trial-source-note{margin-bottom:12px;padding:12px 14px;border:1px solid #bcd8ff;border-radius:12px;background:#edf5ff;color:#1b4e9d;font-size:12px;font-weight:700}
.ezqb-source-card.ezqb-trial-locked{opacity:.54;cursor:not-allowed;filter:grayscale(.35);background:#f4f6fa}
.ezqb-source-card:disabled{cursor:not-allowed}
.ezqb-tool:disabled,.ezqb-basic-tool:disabled,.ezqb-basic-bottom-actions button:disabled{opacity:.43;cursor:not-allowed;filter:grayscale(.65)}

/* v1.17.23 — direct library access from QBank dashboard (trial access remains locked) */
.ezqb-sidenav .ezqb-side-menu button[data-act="library"]:disabled,
.ezqb-quickgrid button[data-act="library"]:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}
.ezqb-quickgrid button[data-act="library"] .ezqb-qico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* v1.17.24 — WhatsApp contact inside the existing trial confirmation dialog. */
.ezqb-trial-contact{margin-top:15px;padding-top:14px;border-top:1px solid #e9eff8}
.ezqb-trial-contact>label:not(.ezqb-trial-contact-consent){display:block;margin-bottom:8px;color:#253d5f;font-size:12px;font-weight:800}
.ezqb-trial-required{color:#d92d20}
.ezqb-trial-phone-row{display:flex;gap:8px;min-width:0}
.ezqb-trial-phone-row select,.ezqb-trial-phone-row input{min-height:45px;box-sizing:border-box;border-radius:10px;border:1px solid #cbd9ed;background:#fff;color:#172c4d;font-size:13px;padding:10px}
.ezqb-trial-phone-row select{width:117px;flex:0 0 117px;min-width:0}
.ezqb-trial-phone-row input{flex:1;min-width:0;width:100%}
.ezqb-trial-phone-row select:focus-visible,.ezqb-trial-phone-row input:focus-visible{outline:3px solid #8ab5ff;outline-offset:1px}
.ezqb-trial-contact>small{display:block;color:#62718a;font-size:11px;line-height:1.55;margin-top:7px}
.ezqb-trial-contact .ezqb-trial-contact-consent{display:flex;gap:9px;align-items:flex-start;margin-top:13px;color:#50617b;font-size:11.5px;font-weight:500;line-height:1.5;cursor:pointer}
.ezqb-trial-contact-consent input{width:16px;height:16px;flex:0 0 16px;margin:1px 0 0;accent-color:#1767e9}
@media(max-width:390px){.ezqb-trial-phone-row select{width:99px;flex-basis:99px}.ezqb-trial-confirm-dialog{padding:21px 17px}}
/* v1.17.25 guest storefront + native account modal */
body.ezqb-guest-page .entry-content:has(#ezqb-app){width:100%!important;max-width:none!important}
body.ezqb-guest-page #ezqb-app{position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:none;box-sizing:border-box;min-height:100dvh;background:#f6f9fe;padding:32px 20px 48px}
body.ezqb-guest-page #ezqb-app .ezqb-subscribe-wrap{width:min(1120px,100%);margin:auto}
.ezqb-auth-open{overflow:hidden!important}
.ezqb-auth-overlay,.ezqb-auth-overlay *{box-sizing:border-box}
.ezqb-auth-overlay{position:fixed;inset:0;z-index:2147483600;background:rgba(7,22,50,.66);display:flex;align-items:center;justify-content:center;padding:15px;overflow-y:auto;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.ezqb-auth-dialog{position:relative;width:min(460px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;border:1px solid #dae5f5;border-radius:22px;background:white;color:#122646;padding:clamp(20px,3.5vw,32px);box-shadow:0 24px 70px rgba(3,20,51,.25)}
.ezqb-auth-x{position:absolute;right:16px;top:14px;border:0;background:#f1f5fb;color:#36516c;border-radius:10px;width:34px;height:34px;font-size:23px;cursor:pointer}
.ezqb-auth-brand{display:flex;align-items:center;gap:8px;color:#1766e7;font-size:20px;margin-bottom:22px;font-weight:800}
.ezqb-auth-brand span{font-size:10px;color:#667a96;border-left:1px solid #d6e4f5;padding-left:10px;margin-left:3px}
.ezqb-auth-dialog h2{font-size:clamp(23px,3vw,30px)!important;line-height:1.18!important;color:#112342!important;margin:12px 0!important}
.ezqb-auth-subtitle{font-size:13px;line-height:1.65;color:#64758f;margin:0 0 20px}
.ezqb-auth-subtitle strong{color:#165fd6}
.ezqb-auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:12px;background:#f2f6fc;margin-bottom:19px;gap:4px}
.ezqb-auth-tabs button{background:transparent;color:#61718b;font-weight:800;border:0;border-radius:9px;padding:11px 6px;cursor:pointer;font-size:13px}
.ezqb-auth-tabs button.active{background:white;color:#1265dc;box-shadow:0 2px 9px rgba(32,63,105,.12)}
#ezqb-auth-form{display:flex;flex-direction:column;gap:12px}
#ezqb-auth-form>label:not(.ezqb-auth-check){font-size:12px;font-weight:800;color:#2e435e;display:flex;flex-direction:column;gap:7px}
#ezqb-auth-form input:not([type=checkbox]),#ezqb-auth-form select{min-width:0;width:100%;height:44px;font-size:14px;border:1px solid #d4dfec;border-radius:10px;color:#152e51;background:white;padding:0 12px;outline:none}
#ezqb-auth-form input:focus,#ezqb-auth-form select:focus{border-color:#2b7df4;box-shadow:0 0 0 3px rgba(43,125,244,.13)}
.ezqb-auth-phone-row{display:flex;align-items:stretch;gap:8px;min-width:0}
#ezqb-auth-form .ezqb-auth-phone-row select{width:118px;flex:0 0 118px;padding:0 5px}
#ezqb-auth-form .ezqb-auth-phone-row input{flex:1}
#ezqb-auth-form .ezqb-auth-check{display:flex!important;align-items:flex-start;gap:9px;font-size:11px;line-height:1.55;color:#566b86;font-weight:500}
#ezqb-auth-form .ezqb-auth-check input{flex:0 0 16px;margin:3px 0 0;accent-color:#1468ef}
#ezqb-auth-form a{color:#1667dc;text-decoration:none}
.ezqb-auth-error{color:#b42318;background:#fff2f0;border:1px solid #ffcfca;padding:10px 12px;border-radius:9px;font-size:12px;line-height:1.5}
.ezqb-auth-submit{display:flex;align-items:center;justify-content:center;gap:15px;min-height:47px;width:100%;border:0;background:#1868ec;color:white;border-radius:11px;font-size:13px;font-weight:800;cursor:pointer;margin-top:5px}
.ezqb-auth-submit:disabled{opacity:.65;cursor:progress}
.ezqb-auth-forgot{align-self:center;font-size:12px}
.ezqb-auth-fallback{text-align:center;font-size:11px;color:#7d8ca2;margin:0;line-height:1.5}
@media(max-width:600px){.ezqb-auth-overlay{align-items:flex-start;padding:10px}.ezqb-auth-dialog{max-height:calc(100dvh - 20px);border-radius:17px;padding:21px 18px}body.ezqb-guest-page #ezqb-app{padding:22px 13px 38px}.ezqb-auth-brand{margin-bottom:16px}}


/* v1.17.27 — Compact iPhone/mobile storefront authentication ONLY.
 * No changes to account forms, pricing, auth requests or checkout.
 * 16px input type size prevents Safari focus auto-zoom.
 */
@media (max-width: 600px) {
  .ezqb-auth-overlay {
    padding: max(7px, env(safe-area-inset-top)) 9px max(7px, env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    overscroll-behavior: contain;
  }
  .ezqb-auth-dialog {
    width: min(398px, 100%);
    max-height: min(94dvh, calc(100dvh - 14px));
    padding: 17px 17px 16px;
    border-radius: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .ezqb-auth-x {top: 12px; right: 12px; width: 32px; height: 32px; font-size: 21px;}
  .ezqb-auth-brand {font-size: 18px; gap: 6px; margin-bottom: 12px; padding-right: 38px;}
  .ezqb-auth-brand span {font-size: 10px; padding-left: 8px; margin-left: 1px;}
  .ezqb-auth-dialog .ezqb-kicker {font-size: 10px; line-height: 1.4; letter-spacing: .09em;}
  .ezqb-auth-dialog h2 {font-size: 21px!important; line-height: 1.17!important; margin: 7px 0 8px!important; letter-spacing: -.025em!important;}
  .ezqb-auth-subtitle {font-size: 11.5px; line-height: 1.5; margin: 0 0 13px;}
  .ezqb-auth-tabs {padding: 3px; gap: 3px; margin-bottom: 12px; border-radius: 11px;}
  .ezqb-auth-tabs button {min-height: 39px; padding: 7px 5px; font-size: 12px; border-radius: 8px;}
  #ezqb-auth-form {gap: 9px;}
  #ezqb-auth-form>label:not(.ezqb-auth-check) {font-size: 11.5px; gap: 5px;}
  #ezqb-auth-form input:not([type=checkbox]),
  #ezqb-auth-form select {height: 43px; min-height: 43px; font-size: 16px; border-radius: 10px; padding: 0 11px;}
  #ezqb-auth-form .ezqb-auth-phone-row select {width: 102px; flex-basis: 102px;}
  #ezqb-auth-form .ezqb-auth-check {font-size: 10.5px; line-height: 1.45; gap: 8px;}
  .ezqb-auth-error {font-size: 11px; padding: 8px 10px;}
  .ezqb-auth-submit {min-height: 43px; margin-top: 2px; font-size: 13px; border-radius: 10px;}
  .ezqb-auth-forgot {font-size: 11px;}
  .ezqb-auth-fallback {font-size: 10.5px; line-height: 1.45;}
}
@media (max-width: 375px) {
  .ezqb-auth-dialog {padding: 15px 14px; border-radius: 15px;}
  .ezqb-auth-dialog h2 {font-size: 20px!important;}
}
@media (prefers-reduced-motion: reduce) {
  .ezqb-auth-overlay *, .ezqb-auth-overlay {scroll-behavior: auto!important;}
}
