/* Dr. QR stylesheet release 20261112-r9. */
:root{--drqr-css-release:20261112;}


:root{
  --bg:#f6f8fb;
  --surface:#ffffff;
  --surface2:#fbfcfe;
  --text:#101828;
  --muted:#475467;
  --border:#e4e7ec;
  --shadow: 0 6px 18px rgba(16,24,40,.08);
  --shadow2: 0 2px 8px rgba(16,24,40,.06);
  --brand:#0b5fff;
  --brand2:#0046d1;
  --focus: rgba(11,95,255,.18);
  --radius: 12px;
  --radius2: 10px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

html[data-theme="dark"]{
  --bg:#0b1220;
  --surface:#0f1a31;
  --surface2:#0c162b;
  --text:#e8eefc;
  --muted:#a6b6dc;
  --border: rgba(255,255,255,.12);
  --shadow: 0 10px 28px rgba(0,0,0,.35);
  --shadow2: 0 6px 18px rgba(0,0,0,.28);
  --brand:#4aa3ff;
  --brand2:#7fd0ff;
  --focus: rgba(74,163,255,.20);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a{ color: var(--brand2); text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }
a.button,
a.button:hover,
a.button:focus,
a.button:focus-visible{
  text-decoration: none !important;
}

.container{ max-width: var(--max); margin: 0 auto; padding: 22px 16px 34px; }

.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
html[data-theme="dark"] .header{
  background: var(--surface);
}

.header .inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 180px;
  color: inherit;
}
.brand,
.brand:hover{
  text-decoration: none;
}
.logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 12px;
  line-height: 1.05;
  text-align:center;
  box-shadow: var(--shadow2);
  flex: 0 0 auto;
}
.brand h1,
.brand .brand-title{
  margin:0;
  font-size: 16px;
  letter-spacing: -0.1px;
}
.brand .sub{
  margin:0;
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}
.nav a:hover{
  border-color: var(--border);
  background: var(--surface2);
  color: var(--text);
  text-decoration: none;
}
.nav a.active{
  background: rgba(11,95,255,.10);
  border-color: rgba(11,95,255,.18);
  color: var(--text);
}
html[data-theme="dark"] .nav a.active{
  background: rgba(74,163,255,.14);
  border-color: rgba(74,163,255,.26);
}

.header-right{
  display:flex;
  align-items:center;
  gap: 10px;
}

.nav-toggle{
  display:none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items:center;
  justify-content:center;
  padding: 0;
}
.nav-toggle svg{
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.nav-toggle span{
  width: 18px;
  height: 2px;
  background: var(--text);
  display:block;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }

.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 80;
}
.nav-drawer{
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform .2s ease;
  z-index: 90;
  display:flex;
  flex-direction: column;
}
.nav-drawer[hidden],
.nav-overlay[hidden]{
  display:none !important;
}
.nav-drawer header{
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.nav-drawer nav{
  padding: 14px 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.nav-drawer a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 650;
}
.nav-drawer a.active{
  background: rgba(11,95,255,.10);
  border-color: rgba(11,95,255,.18);
}
html[data-theme="dark"] .nav-drawer a.active{
  background: rgba(74,163,255,.14);
  border-color: rgba(74,163,255,.26);
}
.nav-open .nav-overlay{
  opacity: 1;
  pointer-events: auto;
}
.nav-open .nav-drawer{
  transform: translateX(0);
}

button, .button{
  appearance:none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 750;
  letter-spacing: .1px;
  box-shadow: none;
}
button:hover, .button:hover{
  background: var(--surface2);
}
button:focus, .button:focus, input:focus, textarea:focus, select:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus);
  border-color: rgba(11,95,255,.35);
}
html[data-theme="dark"] button:focus,
html[data-theme="dark"] .button:focus,
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus{
  border-color: rgba(74,163,255,.35);
}

button.primary, .button.primary{
  border-color: transparent;
  background: var(--brand);
  color: #ffffff;
}
button.primary:hover, .button.primary:hover{
  background: var(--brand2);
}

button.danger{
  background: rgba(240,68,56,.08);
  border-color: rgba(240,68,56,.22);
}
button:disabled{
  opacity: .6;
  cursor: not-allowed;
}

.hero{ padding: 14px 0 6px; }
.hero h2{
  margin:0;
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: -0.4px;
}
.hero p{ margin: 10px 0 0; color: var(--muted); max-width: 78ch; }

.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 980px){ .grid{ grid-template-columns: 1fr; } }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card .card-inner{ padding: 16px; }

.card h3{ margin: 0 0 8px; font-size: 16px; }
.muted{ color: var(--muted); font-size: 13px; }

.field{ display:flex; flex-direction: column; gap: 7px; margin-top: 12px; }
label{ font-size: 13px; color: var(--muted); font-weight: 650; }

input[type="text"], input[type="number"], select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
textarea{ min-height: 92px; resize: vertical; }

#textInput,
#inputText,
#jsonInput,
#urlList,
#xmlOutput,
#codeInput,
#codeOutput,
#textOriginal,
#textModified{
  min-height: 260px;
}
@media (max-width: 700px){
  #textInput,
  #inputText,
  #jsonInput,
  #urlList,
  #xmlOutput,
  #codeInput,
  #codeOutput,
  #textOriginal,
  #textModified{
    min-height: 220px;
  }
}

.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px){ .row{ grid-template-columns: 1fr; } }

.inline{ display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.checkbox{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
}
.checkbox input{ width:18px; height:18px; }

.btns{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.help{
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
}

.notice{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(18,183,106,.28);
  background: rgba(18,183,106,.08);
  color: var(--text);
  font-size: 13px;
  display:none;
}
.notice.error{
  border-color: rgba(240,68,56,.30);
  background: rgba(240,68,56,.10);
}

.preview{
  display:flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 14px;
}
.qr-box{
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface2);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.qr-box > div{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }

.placeholder-preview{
  width: min(420px, 100%);
}
.qr-box.placeholder-preview canvas{
  image-rendering: auto !important;
  shape-rendering: auto !important;
}

.small{
  font-size: 12px;
  color: var(--muted);
  text-align:center;
  max-width: 54ch;
}

.footer{
  border-top: 1px solid var(--border);
  margin-top: 22px;
  background: var(--surface);
}
.footer .inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 16px 28px;
  color: var(--muted);
  font-size: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-top{
  width: 100%;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.footer-tools-title{
  margin: 0;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.footer-tools-nav{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.footer-tools-col{
  display:flex;
  flex-direction: column;
  gap: 6px;
}
.footer-tools-col h3{
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text);
}
.footer-tools-col a{
  color: var(--muted);
  font-size: 13px;
}
.footer-tools-col a:hover{
  color: var(--text);
}
.footer-bottom{
  width: 100%;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  align-items:center;
  gap: 0;
  flex-wrap: wrap;
}
.footer-links a,
.footer-links .link-button{
  position: relative;
  padding: 6px 10px;
  color: var(--muted);
  font-weight: 650;
}
.footer-links > * + *::before{
  content:"";
  position:absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--border);
}
.link-button{
  border: 0;
  background: none;
  cursor: pointer;
}
.link-button:hover{ text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px){
  .footer-tools-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px){
  .footer .inner{
    justify-content: flex-start;
  }
  .footer-tools-nav{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links{
    width: 100%;
    gap: 4px 0;
  }
}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
}

.progress{ width:100%; margin-top: 12px; display:none; }
.progress .bar{
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  overflow: hidden;
}
.progress .bar > div{
  height:100%;
  width:0%;
  background: var(--brand);
  border-radius: 999px;
  transition: width .15s ease;
}
.progress .text{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.flap-container{
  margin-top: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
}
.flap-container.open{ max-height: 900px; }
.flap-content{ padding: 12px 12px; color: var(--muted); font-size: 13px; }

hr.sep{ border:0; border-top: 1px solid var(--border); margin: 14px 0; }


.qr-list{
  width: 100%;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 980px){
  .qr-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .qr-list{ grid-template-columns: 1fr; }
}
.qr-item{
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 14px;
  padding: 10px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.qr-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.qr-thumb > div{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.qr-meta{
  display:flex;
  flex-direction: column;
  gap: 4px;
}
.qr-meta .name{
  font-size: 12px;
  font-weight: 750;
  color: var(--text);
  word-break: break-word;
}
.qr-meta .data{
  font-size: 11px;
  color: var(--muted);
  word-break: break-word;
  max-height: 2.9em;
  overflow: hidden;
}

.tools-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 980px){ .tools-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px){ .tools-grid{ grid-template-columns: 1fr; } }

.tool-card{
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 14px;
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.tool-card h4{ margin:0; font-size: 15px; }
.tool-card p{ margin:0; color: var(--muted); font-size: 13px; }
.tool-card .button{ align-self:flex-start; }

.filters{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.stepper{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 720px){ .stepper{ grid-template-columns: 1fr; } }
.step{
  border: 1px solid var(--border);
  background: var(--surface2);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
}
.step strong{ color: var(--text); }

.preview-panel{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}
.preview-panel .qr-box{ width: 260px; margin: 0 auto; }

.summary{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
}

.chip-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 880px){ .chip-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 620px){ .chip-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.chip{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
  cursor:pointer;
  font-weight: 650;
  text-align:center;
}
.chip.active{
  background: rgba(11,95,255,.10);
  border-color: rgba(11,95,255,.18);
}
html[data-theme="dark"] .chip.active{
  background: rgba(74,163,255,.14);
  border-color: rgba(74,163,255,.26);
}

.result{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
  font-size: 13px;
}
.result.ok{ border-color: rgba(18,183,106,.28); background: rgba(18,183,106,.08); }
.result.error{ border-color: rgba(240,68,56,.30); background: rgba(240,68,56,.10); }

.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; }

.diff{
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  font-size: 13px;
}
.diff-line{
  display:flex;
  gap: 10px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}
.diff-line:last-child{ border-bottom: 0; }
.diff-line.add{ background: rgba(18,183,106,.10); }
.diff-line.remove{ background: rgba(240,68,56,.10); }
.diff-line.change{ background: rgba(245,158,11,.12); }

mark{
  background: rgba(11,95,255,.18);
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

.stats{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.preview-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 980px){ .preview-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 620px){ .preview-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.preview-tile{
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 12px;
  padding: 10px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  align-items:center;
}
.preview-tile img{
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.tools-store{
  --store-gap-1: 10px;
  --store-gap-2: 14px;
  --store-gap-3: 20px;
  --store-gap-4: 26px;
  --store-radius: 16px;
  --store-shadow: 0 10px 24px rgba(16,24,40,.08);
}

.store-hero{
  border: 1px solid var(--border);
  background:
    linear-gradient(130deg, rgba(11,95,255,.10), rgba(11,95,255,.03) 36%, transparent 70%),
    var(--surface);
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
  padding: var(--store-gap-4);
  display:grid;
  gap: var(--store-gap-2);
}
html[data-theme="dark"] .store-hero{
  background:
    linear-gradient(130deg, rgba(74,163,255,.16), rgba(74,163,255,.07) 36%, transparent 70%),
    var(--surface);
}
.store-headline h2{
  margin:0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.6px;
}
.store-headline p{
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 72ch;
  font-size: 14px;
}
.store-search-wrap{
  max-width: 680px;
}
.store-search-label{
  display:block;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.store-search-wrap input{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
}
.store-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: var(--store-gap-2);
  flex-wrap: wrap;
}

.store-categories{
  margin-top: var(--store-gap-3);
}

.store-top-tools{
  margin-top: var(--store-gap-3);
  border: 1px solid var(--border);
  border-radius: var(--store-radius);
  background: var(--surface);
  box-shadow: var(--shadow2);
  padding: var(--store-gap-3);
  display: grid;
  gap: 10px;
}

.store-top-tools h2{
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.store-top-tools p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.store-top-grid{
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-top-grid a{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  padding: 10px;
  text-decoration: none;
  color: var(--text);
  display: grid;
  gap: 6px;
}

.store-top-grid a strong{
  font-size: 14px;
  line-height: 1.2;
}

.store-top-grid a span{
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.store-top-grid a:hover{
  border-color: rgba(11,95,255,.30);
  background: rgba(11,95,255,.08);
}

@media (max-width: 760px){
  .store-top-grid{
    grid-template-columns: 1fr;
  }
}

.store-chip-row{
  display:flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.store-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.store-chip span{
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 2px 8px;
  font-size: 11px;
  color: var(--muted);
}
.store-chip.is-active{
  background: rgba(11,95,255,.12);
  border-color: rgba(11,95,255,.24);
  color: var(--text);
}
html[data-theme="dark"] .store-chip.is-active{
  background: rgba(74,163,255,.18);
  border-color: rgba(74,163,255,.28);
}
.store-chip:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus);
}

.store-results{
  margin-top: var(--store-gap-3);
}
.store-grid{
  display:grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){
  .store-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px){
  .store-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1380px){
  .store-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.store-card{
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--store-radius);
  padding: var(--store-gap-2);
  display:flex;
  flex-direction: column;
  gap: var(--store-gap-2);
  min-height: 240px;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
}
.store-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--store-shadow);
  border-color: rgba(11,95,255,.25);
  text-decoration: none;
}
.store-card:focus-within{
  border-color: rgba(11,95,255,.35);
  box-shadow: 0 0 0 4px var(--focus);
}
.store-card:focus-visible{
  outline: none;
  border-color: rgba(11,95,255,.35);
  box-shadow: 0 0 0 4px var(--focus);
}
html[data-theme="dark"] .store-card:hover{
  border-color: rgba(74,163,255,.28);
}

.store-card-top{
  display:flex;
  align-items:center;
  gap: 12px;
}
.store-icon{
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface2);
  object-fit: cover;
  flex: 0 0 auto;
}
.store-card h3{
  margin:0;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.15px;
}
.store-description{
  margin:0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card-bottom{
  margin-top: auto;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.store-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
}
.store-tag{
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface2);
}
.store-card .button{
  align-self:flex-start;
}
.store-section{
  margin-top: 18px;
}
.store-section .store-grid{
  margin-top: 12px;
}
.store-section .store-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1080px){
  .store-section .store-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .store-section .store-grid{ grid-template-columns: 1fr; }
}
.tools-cta{
  display:flex;
  justify-content:center;
  margin-top: 16px;
}

.store-empty{
  margin-top: 14px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--surface2);
  color: var(--muted);
  padding: 12px 14px;
  font-size: 13px;
}

.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  display: none;
}
.cookie-banner .row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
}
.cookie-banner p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 70ch;
}
.cookie-actions{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 95;
}
.cookie-modal{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  z-index: 110;
  display: none;
}
.cookie-modal h3{ margin: 0 0 8px; }
.cookie-modal .choices{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal .choice{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
}
.cookie-open .cookie-overlay{
  opacity: 1;
  pointer-events: auto;
}
.cookie-open .cookie-modal{
  display: block;
}
@media (max-width: 860px){
  .nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
}
@media (min-width: 861px){
  .nav-drawer,
  .nav-overlay{
    display:none !important;
  }
}

.actions-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.help-tip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 0;
}
.help-tip:hover{
  color: var(--text);
}
.field-help{
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 700px) and (max-width: 1024px){
  .sitemap-input .row{
    gap: 16px;
    margin-top: 4px;
  }
  .sitemap-input .field{
    margin-top: 14px;
  }
  .sitemap-input .checkbox{
    margin-top: 8px;
  }
}

.qr-box svg,
.qr-box canvas{
  width: 100% !important;
  height: 100% !important;
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.toast-root{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 140;
  display:flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast{
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow2);
  font-size: 13px;
}
.toast.error{
  border-color: rgba(240,68,56,.30);
  background: rgba(240,68,56,.12);
}

.faq-card{
  margin-top: 20px;
}
.faq-anchor{
  color: var(--muted);
}
.faq-title{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.faq-list{
  margin-top: 10px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  overflow: hidden;
}
.faq-question-label{
  margin: 0;
  padding: 12px 12px 6px;
  font-size: 15px;
  font-weight: 750;
}
.faq-answer{
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 13px;
}
.faq-answer[hidden]{
  display:none;
}

.related-tools{
  margin-top: 20px;
}

.related-tools-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.related-tools-head a{
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.related-tools-intro{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.related-tools-grid{
  margin-top: 12px;
  display:grid;
  gap:10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-tool-link{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  padding: 10px;
  text-decoration:none;
  color: var(--text);
  display:grid;
  gap:5px;
}

.related-tool-link strong{
  font-size: 14px;
  line-height: 1.2;
}

.related-tool-link span{
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.related-tool-link:hover{
  border-color: rgba(11,95,255,.30);
  background: rgba(11,95,255,.08);
}

@media (max-width: 760px){
  .related-tools-grid{
    grid-template-columns: 1fr;
  }
}

.diff-shell{
  margin-top: 16px;
}
.diff-controls{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.diff-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.diff-panel{
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.diff-panel header{
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}
.diff-code{
  max-height: 420px;
  overflow: auto;
}
.diff-row{
  display:grid;
  grid-template-columns: 44px 24px 1fr;
  border-bottom: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size: 12px;
}
.diff-row:last-child{ border-bottom: 0; }
.diff-ln{
  color: var(--muted);
  background: var(--surface2);
  border-right: 1px solid var(--border);
  padding: 6px 8px;
}
.diff-ind{
  color: var(--muted);
  background: var(--surface2);
  border-right: 1px solid var(--border);
  padding: 6px 4px;
  text-align: center;
  font-weight: 700;
}
.diff-txt{
  padding: 6px 8px;
  white-space: pre-wrap;
  word-break: break-word;
}
.diff-row.add .diff-txt{
  background: rgba(18,183,106,.12);
}
.diff-row.remove .diff-txt{
  background: rgba(240,68,56,.12);
}
.diff-row.change .diff-txt{
  background: rgba(245,158,11,.14);
}
.diff-word-add{
  background: rgba(18,183,106,.26);
  border-radius: 3px;
}
.diff-word-remove{
  background: rgba(240,68,56,.26);
  border-radius: 3px;
  text-decoration: line-through;
}
.diff-summary{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.change-links{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.change-links button{
  font-size: 12px;
  padding: 6px 8px;
}
.mobile-view-toggle{
  display:none;
  margin-top: 10px;
  gap: 8px;
}
.mobile-view-toggle button.active{
  background: rgba(11,95,255,.12);
  border-color: rgba(11,95,255,.2);
}

.icon-crop-box{
  width: min(320px, 100%);
  aspect-ratio: 1/1;
  margin: 10px auto 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface2);
}
.icon-crop-box canvas{
  width: 100%;
  height: 100%;
  display:block;
  touch-action: none;
}

.panel-stack{
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
}
.panel-stack h3{
  margin: 0 0 8px;
}

.table-wrap{
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: auto;
  background: var(--surface);
}
.table-wrap canvas{
  display: block;
  max-width: 100%;
  height: auto;
}

.data-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th,
.data-table td{
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 8px 10px;
  vertical-align: top;
}
.data-table th{
  background: var(--surface2);
  color: var(--muted);
  font-weight: 700;
}
.data-table tr:last-child td{
  border-bottom: 0;
}
.bulk-status-table{
  table-layout: fixed;
  width: 100%;
}
.bulk-status-table th,
.bulk-status-table td{
  overflow-wrap: anywhere;
  word-break: break-word;
}
.bulk-status-table th:nth-child(1),
.bulk-status-table td:nth-child(1){
  width: 20%;
}
.bulk-status-table th:nth-child(4),
.bulk-status-table td:nth-child(4){
  width: 15%;
}
.bulk-status-table th:nth-child(5),
.bulk-status-table td:nth-child(5){
  width: 18%;
}
.bulk-status-table th:nth-child(7),
.bulk-status-table td:nth-child(7){
  width: 22%;
}

.status-row-2xx td{
  background: rgba(18,183,106,.12);
}
.status-row-3xx td{
  background: rgba(245,158,11,.16);
}
.status-row-4xx td{
  background: rgba(240,68,56,.14);
}
.status-row-5xx td{
  background: rgba(146,64,14,.16);
}
.status-row-error td{
  background: rgba(107,114,128,.18);
}

.data-table td.status-cell-2xx{
  background: rgba(18,183,106,.16);
}
.data-table td.status-cell-3xx{
  background: rgba(245,158,11,.20);
}
.data-table td.status-cell-4xx{
  background: rgba(240,68,56,.18);
}
.data-table td.status-cell-5xx{
  background: rgba(146,64,14,.20);
}
.data-table td.status-cell-err{
  background: rgba(107,114,128,.22);
}

.social-preview-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}
@media (min-width: 720px){
  .social-preview-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.social-card{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.social-card h4{
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.social-image{
  aspect-ratio: 1200 / 630;
  min-height: 120px;
  max-height: 180px;
  background: rgba(11,95,255,.08);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.social-image.has-image{
  color: transparent;
}
.social-body{
  padding: 10px 12px;
  margin-top: auto;
}
.social-body strong{
  display: block;
  line-height: 1.3;
  margin-bottom: 6px;
}
.social-body p{
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}
.social-body span{
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 920px){
  .diff-grid{
    grid-template-columns: 1fr;
  }
  .mobile-view-toggle{
    display:flex;
  }
}

.bulk-upload-card{
  margin-top: 14px;
}
.bulk-dropzone{
  margin-top: 10px;
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 20px;
  background: var(--surface2);
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.bulk-dropzone:hover,
.bulk-dropzone:focus-visible,
.bulk-dropzone.is-dragging{
  border-color: rgba(11,95,255,.45);
  background: rgba(11,95,255,.06);
  outline: none;
}
html[data-theme="dark"] .bulk-dropzone:hover,
html[data-theme="dark"] .bulk-dropzone:focus-visible,
html[data-theme="dark"] .bulk-dropzone.is-dragging{
  border-color: rgba(74,163,255,.45);
  background: rgba(74,163,255,.10);
}
.bulk-dropzone p{
  margin: 4px 0;
}
.bulk-upload-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.bulk-upload-meta{
  margin-top: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bulk-workspace{
  margin-top: 16px;
  display:grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 16px;
}
@media (max-width: 980px){
  .bulk-workspace{
    grid-template-columns: 1fr;
  }
}
.bulk-settings-group{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.bulk-settings-group:first-of-type{
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}
.bulk-settings-group h4{
  margin: 0 0 8px;
  font-size: 14px;
}

.bulk-preview-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.bulk-thumb-card{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  overflow: hidden;
  display:flex;
  flex-direction: column;
  cursor: pointer;
}
.bulk-thumb-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus);
  border-color: rgba(11,95,255,.35);
}
.bulk-thumb-media{
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.bulk-thumb-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.bulk-thumb-body{
  padding: 8px;
  display:flex;
  flex-direction: column;
  gap: 4px;
}
.bulk-thumb-name{
  font-size: 12px;
  line-height: 1.3;
  word-break: break-word;
}
.bulk-thumb-meta,
.bulk-thumb-size{
  font-size: 11px;
  color: var(--muted);
}
.bulk-thumb-flag{
  margin-top: 2px;
  display:inline-flex;
  align-items:center;
  width: fit-content;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
  color: var(--text);
  border-radius: 999px;
  font-size: 10px;
  padding: 2px 6px;
}

.bulk-action-bar{
  position: sticky;
  bottom: 10px;
  margin-top: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}
.bulk-progress-wrap{
  min-width: 260px;
  flex: 1 1 300px;
}
.bulk-progress-label{
  font-size: 12px;
  color: var(--muted);
}
.bulk-progress{
  margin-top: 6px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  overflow: hidden;
}
.bulk-progress > div{
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
  transition: width .14s ease;
}
.bulk-actions{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bulk-mobile-note{
  margin-top: 14px;
  display:none;
}
@media (max-width: 860px){
  .bulk-mobile-note{ display:block; }
}

.bulk-modal{
  position: fixed;
  inset: 0;
  z-index: 130;
}
.bulk-modal[hidden]{
  display:none;
}
.bulk-modal-backdrop{
  position:absolute;
  inset: 0;
  background: rgba(15,23,42,.55);
}
.bulk-modal-panel{
  position: relative;
  width: min(900px, 94vw);
  max-height: 90vh;
  margin: 4vh auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
}
.bulk-modal-head{
  padding: 12px;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.bulk-modal-body{
  padding: 12px;
  overflow: auto;
}
.bulk-modal-body img{
  width: 100%;
  height: auto;
  max-height: 66vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
}
#modalMeta{
  margin: 0;
  padding: 0 12px 12px;
}
body.bulk-modal-open{
  overflow: hidden;
}

.imgc-dropzone{
  margin-top: 12px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: var(--surface2);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.imgc-dropzone:hover,
.imgc-dropzone:focus-visible,
.imgc-dropzone.is-dragging{
  border-color: rgba(11,95,255,.45);
  background: rgba(11,95,255,.06);
  outline: none;
}
html[data-theme="dark"] .imgc-dropzone:hover,
html[data-theme="dark"] .imgc-dropzone:focus-visible,
html[data-theme="dark"] .imgc-dropzone.is-dragging{
  border-color: rgba(74,163,255,.45);
  background: rgba(74,163,255,.10);
}

.imgc-meta{
  margin-top: 10px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.imgc-settings-group{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.imgc-preview-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
@media (max-width: 720px){
  .imgc-preview-grid{
    grid-template-columns: 1fr;
  }
}

.imgc-item{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface2);
  padding: 10px;
}

.imgc-item-head{
  display:flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.imgc-item-head strong{
  font-size: 13px;
  word-break: break-word;
}
.imgc-item-head span{
  font-size: 12px;
  color: var(--muted);
}

.imgc-canvas-frame{
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
}
.imgc-canvas-wrap{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.imgc-canvas{
  max-width: 100%;
  display:block;
  touch-action: none;
  cursor: grab;
}
.imgc-canvas:active{
  cursor: grabbing;
}

.imgc-controls{
  margin-top: 8px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.imgc-controls[hidden],
.imgc-size-row[hidden],
.imgc-warn[hidden]{
  display: none !important;
}
.imgc-inline-controls{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}
.imgc-inline-controls label{
  display:flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.imgc-size-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 520px){
  .imgc-size-row{
    grid-template-columns: 1fr;
  }
}
.imgc-size-row label{
  display:flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.imgc-note{
  font-size: 12px;
  color: var(--muted);
}
.imgc-warn{
  margin-top: 8px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}


/* Dr. QR shared visual refresh. Existing tool layouts and controls stay intact. */
:root{--bg:#f7f4eb;--surface:#fffef9;--surface2:#f0f1e8;--text:#20291f;--muted:#536051;--border:#d9ddcf;--brand:#315c3c;--brand2:#2b5135;--focus:rgba(73,117,48,.22);--shadow:0 4px 0 rgba(32,41,31,.035);--shadow2:0 2px 5px rgba(32,41,31,.04);--radius:16px;--radius2:10px;--max:1200px;--action:#20291f;--action-text:#fffef9;--accent:#d8f56b}
html[data-theme="dark"]{--bg:#161e19;--surface:#1f2922;--surface2:#26332a;--text:#f3f5e9;--muted:#bbc7b9;--border:#435146;--brand:#d8f56b;--brand2:#d8f56b;--focus:rgba(216,245,107,.28);--shadow:0 4px 0 rgba(0,0,0,.12);--shadow2:0 2px 6px rgba(0,0,0,.15);--action:#d8f56b;--action-text:#20291f}
body{line-height:1.6}h1,h2,h3{letter-spacing:-.035em}h1{font-size:clamp(30px,4.6vw,52px);line-height:1.12}.hero{padding:32px 0 16px}.hero h1{margin:0 0 14px;max-width:24ch}.hero p{font-size:16px;line-height:1.65}.header{background:var(--bg)}.header .inner{padding-top:16px;padding-bottom:16px}.logo{background:var(--action);color:var(--action-text);border-radius:7px;box-shadow:none}.brand .brand-title{font-size:21px;letter-spacing:-.04em}.brand .sub{font-size:11px}.nav a{border-radius:5px}.nav a.active{background:var(--surface2);border-color:var(--border)}html[data-theme="dark"] .nav a.active{background:var(--surface2);border-color:var(--border)}
button,.button{min-height:42px;border-radius:8px;font-weight:650}button.primary,.button.primary,.primary{background:var(--action);color:var(--action-text);border-color:var(--action)}button.primary:hover,.button.primary:hover,.primary:hover{background:var(--action);color:var(--action-text);filter:brightness(1.13)}button:disabled,.button:disabled{opacity:.5;cursor:not-allowed}input[type="text"],input[type="number"],input[type="search"],input[type="url"],input[type="email"],select,textarea{border-radius:8px;border-color:var(--border);font:inherit;background:var(--surface);color:var(--text)}input[type="search"]{padding:12px}input[type="file"]{max-width:100%;font:inherit}.mono,textarea.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}.card .card-inner{padding:22px}.card h2{font-size:21px;margin:0 0 12px}.grid>*{min-width:0}.result,.notice,.help{overflow-wrap:anywhere}.table-wrap{max-width:100%;overflow-x:auto}.table-wrap td{overflow-wrap:anywhere}.card,section{scroll-margin-top:100px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b76a24;outline-offset:3px}
.tool-guide{margin-top:34px;padding:28px 0 10px;border-top:1px solid var(--border);max-width:100%;font-size:15px}.tool-guide>p,.tool-guide>ol{max-width:88ch}.tool-guide h2{font-size:26px;line-height:1.25}.tool-guide h3{font-size:18px}.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.guide-columns p{max-width:45ch}.processing-note{padding:12px 15px;background:var(--surface2);border-left:3px solid var(--brand);font-size:13px;color:var(--muted);border-radius:0 8px 8px 0}.eyebrow{text-transform:uppercase;font-size:11px!important;letter-spacing:.14em;font-weight:750}.reader-canvas{display:block;max-width:100%;max-height:380px;width:auto;height:auto;object-fit:contain;margin:20px auto;background:#fff}#decodedContent{min-height:190px;overflow-wrap:anywhere}#readerOpen[hidden],.reader-canvas[hidden]{display:none}
.store-hero{background:transparent!important;border:0!important;box-shadow:none!important;padding:32px 0 20px!important}.store-headline h1{font-size:clamp(32px,4.8vw,56px);max-width:22ch;line-height:1.1}.store-headline p{max-width:76ch;font-size:16px}.store-chip{min-height:42px;border-radius:7px!important}.store-chip.is-active{background:var(--action)!important;color:var(--action-text)!important;border-color:var(--action)!important}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.store-card{padding:16px!important;box-shadow:none!important;display:flex;flex-direction:column;gap:12px;min-height:0!important;overflow:hidden;background:var(--surface);border:1px solid var(--border)}.store-card[hidden]{display:none!important}.store-card:hover{border-color:var(--muted);transform:translateY(-2px)}.store-card-top{gap:0;min-height:0!important}.store-card h2{font-size:20px;line-height:1.25;margin:0}.store-description{line-height:1.6;min-height:0!important}.store-card-bottom{margin-top:auto;display:flex;gap:14px;align-items:stretch;flex-direction:column}.store-card-bottom a{width:100%;text-align:center}.store-tags{gap:5px}.store-tag{background:var(--surface2)!important;color:var(--muted)!important;border:0!important;font-size:11px!important}.tool-mini{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:158px;padding:20px;border-radius:9px;color:#233023;position:relative;overflow:hidden}.tool-mini::after{content:'↗';position:absolute;right:13px;bottom:8px;font-size:22px;opacity:.45}.tool-mini span{font-size:10px;letter-spacing:.04em;line-height:1.4;max-width:88%}.tool-mini strong{white-space:pre-line;font-size:clamp(15px,1.8vw,23px);line-height:1.35;letter-spacing:-.035em;max-width:95%;overflow-wrap:anywhere}.tool-mini i{font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-style:normal}.mini-0{background:#e0e8cf}.mini-1{background:#f0c09b}.mini-2{background:#dce6e9}.mini-3{background:#e8dbef}.mini-4{background:#f1e4b7}.footer{background:var(--bg);margin-top:48px}.footer .inner{padding-top:28px}.footer h3{color:var(--text)}.related-tools{margin-top:32px}.related-tools h3{font-size:23px}.related-card{box-shadow:none}.kbd,code{overflow-wrap:anywhere}img{max-width:100%}
@media(max-width:980px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header .inner{padding:12px 16px}.tool-mini strong{font-size:21px}}
@media(max-width:600px){.hero{padding-top:22px}.hero h1{font-size:32px}.hero p{font-size:15px}.card .card-inner{padding:18px}.guide-columns{grid-template-columns:1fr;gap:10px}.store-grid{grid-template-columns:1fr;gap:18px}.store-card{padding:16px!important}.store-hero{padding-top:20px!important}.store-headline h1{font-size:36px}.tool-mini{min-height:145px}.header .brand{min-width:130px}.brand .sub{display:none}.tool-guide{padding-top:22px}.tool-guide h2{font-size:24px}.actions-row{flex-wrap:wrap}.actions-row>*{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}


/* Task-specific workspaces and reading layouts. */
.utility-page main,.document-page main{max-width:1320px;padding:0 32px 40px;margin:auto;width:100%;box-sizing:border-box}.utility-page main>*:not(.workbench-hero),.document-page main>*{min-width:0}.utility-skip{position:absolute;left:20px;top:-100px;z-index:100;background:var(--action);color:var(--action-text);padding:12px}.utility-skip:focus{top:12px}
.utility-page .workbench-hero,.document-page .workbench-hero{display:block;background:transparent;border:0;box-shadow:none;padding:26px 0 30px;margin:0}.workbench-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;font-size:12px}.workbench-breadcrumb>a{text-decoration:none;font-weight:650}.workbench-breadcrumb>span{border:1px solid var(--border);border-radius:100px;padding:5px 13px;background:var(--surface)}.utility-page .workbench-kicker{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;margin:0 0 12px;color:var(--muted)}.utility-page .workbench-hero h1,.document-page .workbench-hero h1{font-size:clamp(32px,4vw,52px);max-width:30ch;margin:0 0 12px;line-height:1.08}.utility-page .workbench-hero>p:not(.workbench-kicker),.document-page .workbench-hero>p{max-width:78ch;font-size:16px;line-height:1.65;margin:0 0 20px}.task-steps{display:flex;list-style:none;padding:18px 0 0;margin:25px 0 0;border-top:1px solid var(--border);gap:40px;flex-wrap:wrap}.task-steps li{display:flex;gap:12px;align-items:center;font-size:13px}.task-steps span{font:11px ui-monospace,monospace;color:var(--muted);display:inline-grid;place-items:center;border:1px solid var(--border);height:28px;width:28px;border-radius:50%}.task-steps li:first-child span{background:var(--accent);color:#20291f;border-color:var(--accent)}
.utility-page .utility-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0;border:1px solid var(--border);border-radius:16px;overflow:hidden;margin:0!important;background:var(--surface);box-shadow:0 10px 35px #20291f05;align-items:stretch}.utility-page .utility-workspace>.card{margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;min-width:0}.utility-page .utility-workspace>.workspace-output{border-left:1px solid var(--border);background:var(--surface2)}.utility-page .utility-workspace .card-inner{padding:28px}.pane-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:750;color:var(--muted);margin-bottom:12px}.utility-page .utility-workspace h3{font-size:22px;margin:0 0 18px}.utility-page .utility-workspace textarea{min-height:310px;resize:vertical;width:100%;box-sizing:border-box;line-height:1.65}.utility-page .utility-workspace .panel-stack h3{font-size:15px;margin:0 0 10px}.utility-page .utility-workspace .panel-stack{background:var(--surface2);padding:16px;border-radius:8px;margin:15px 0}.utility-page .utility-workspace .actions-row{padding-top:16px;margin-top:16px;border-top:1px solid var(--border);display:flex;gap:8px;flex-wrap:wrap}.utility-page .utility-workspace .row{align-items:flex-start}.utility-page .utility-workspace .row>*{min-width:0}.utility-page .utility-workspace .result{margin-top:16px}.utility-page .visual-workspace{grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr)}.utility-page .visual-workspace .workspace-output>.card-inner{height:100%;box-sizing:border-box}.utility-page .visual-workspace canvas{max-width:100%;height:auto}.utility-page .workspace-tip>.card{border:0;box-shadow:none;background:transparent}.utility-page .workspace-tip .card-inner{padding:20px 0}.utility-page .workspace-tip h3{font-size:14px;margin-bottom:6px}.utility-page .workspace-tip p{font-size:13px;max-width:95ch}.utility-page .workspace-caption{font-size:13px;color:var(--muted)}
.page-character-counter .utility-workspace{grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr)}.page-character-counter #stats{display:grid;grid-template-columns:1fr;gap:0;background:transparent;border:0;padding:0}.page-character-counter #stats>div{padding:16px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-size:13px}.page-character-counter #stats strong{font-size:30px;letter-spacing:-.05em}.page-character-counter #reading{font-size:22px}.page-json-validator .utility-workspace textarea,.page-code-beautifier .utility-workspace textarea{font-family:ui-monospace,Consolas,monospace;font-size:13px;background:var(--surface)}.page-csv-json-converter .table-wrap{max-height:240px;overflow:auto}.page-csv-json-converter .utility-workspace textarea{min-height:240px}.page-the-one .install-workspace{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}.page-the-one #bookmarkletButton{padding:18px 28px;font-size:22px;border:2px dashed var(--muted);border-radius:10px}.page-the-one .btns{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:24px 0}
.page-scene7-cropper .scene7-studio{background:var(--surface);border-radius:16px;box-shadow:none}.page-scene7-cropper .scene7-studio>.card-inner{padding:0}.page-scene7-cropper .s7-controls{padding:24px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:24px}.page-scene7-cropper .scene7-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)}.scene7-frame,.scene7-delivery{min-width:0;padding:24px}.scene7-delivery{background:var(--surface2);border-left:1px solid var(--border)}.scene7-workspace h2{font-size:20px;margin:0 0 16px}.page-scene7-cropper .s7-stage-wrap{min-height:300px}.page-scene7-cropper .s7-output-wrap textarea{min-height:150px}.page-scene7-cropper #notice{margin:0 24px}.page-scene7-cropper .s7-preview-wrap{min-height:200px;margin-bottom:24px}
.page-pdf-toolbox .pdf-studio{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.page-pdf-toolbox .pdf-controls-card{position:sticky;top:100px;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.page-pdf-toolbox .pdf-controls-card h2{font-size:21px;margin:0 0 8px}.page-pdf-toolbox .pdf-control-grid{display:grid;grid-template-columns:1fr;gap:10px}.page-pdf-toolbox .pdf-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.page-pdf-toolbox .pdf-comparison{min-width:0}.comparison-heading{display:flex;align-items:baseline;gap:16px;justify-content:space-between;margin-bottom:18px}.comparison-heading h2{font-size:22px;margin:0}.comparison-heading span{font-size:12px;color:var(--muted)}.page-pdf-toolbox .pdf-preview-card{min-width:0;border-radius:12px;box-shadow:none;overflow:hidden}.page-pdf-toolbox .pdf-canvas-wrap{min-height:360px;background:var(--surface2)}.page-pdf-toolbox .pdf-preview-top{flex-wrap:wrap;gap:10px}.page-pdf-toolbox .pdf-status{margin:0 0 18px;border-left:3px solid var(--brand);background:var(--surface2);padding:12px 16px;border-radius:0 8px 8px 0}
.page-bulk-image-resizer .batch-studio{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--surface)}.page-bulk-image-resizer .bulk-upload-card{border:0;border-bottom:1px solid var(--border);border-radius:0;box-shadow:none}.page-bulk-image-resizer .bulk-upload-card .card-inner{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center}.page-bulk-image-resizer .bulk-upload-card h3{font-size:22px}.page-bulk-image-resizer .bulk-dropzone{padding:18px;border:1px dashed var(--muted);min-height:0}.page-bulk-image-resizer .bulk-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:0;margin:0}.page-bulk-image-resizer .bulk-workspace>.card{border:0;border-radius:0;box-shadow:none}.page-bulk-image-resizer .bulk-workspace>.card:first-child{background:var(--surface2);border-right:1px solid var(--border)}.page-bulk-image-resizer .bulk-action-bar{position:sticky;bottom:12px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-top:20px;z-index:3;box-shadow:0 4px 25px #20291f10}
.page-emoji .character-command{background:var(--surface);border:1px solid var(--border);border-radius:14px;margin-bottom:24px;padding:20px}.page-emoji .emoji-tabs{margin:0 0 20px;border:0;display:flex;gap:8px}.page-emoji .emoji-tab{border:1px solid var(--border);border-radius:8px;padding:10px 18px}.page-emoji .emoji-tab.is-active{background:var(--action);color:var(--action-text)}.page-emoji .emoji-controls{background:transparent;border:0;padding:0;margin:0}.page-emoji .emoji-layout{grid-template-columns:200px minmax(0,1fr);gap:28px}.page-emoji .emoji-sidebar{background:transparent;border:0;border-right:1px solid var(--border);border-radius:0;padding:0 20px 0 0}.page-emoji .emoji-sidebar h3{font-size:13px}.page-emoji .emoji-selection{background:var(--action);color:var(--action-text);border:0;border-radius:10px;padding:16px 20px}.page-emoji .emoji-selection .button{background:var(--surface);color:var(--text)}.page-meme .gallery-command{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);padding:20px;border:1px solid var(--border);border-radius:12px}.page-meme .meme-search-row{flex:1;max-width:700px}.page-meme #memeGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.page-meme #memeGrid .store-card{padding:0!important;border-radius:12px;box-shadow:none}
.document-page .reading-layout{display:grid;grid-template-columns:230px minmax(0,780px);gap:70px;border-top:1px solid var(--border);padding-top:36px}.document-page .reading-contents{position:sticky;top:105px;align-self:start;display:flex;flex-direction:column;gap:0}.reading-contents a{font-size:13px;text-decoration:none;padding:9px 0;border-bottom:1px solid var(--border)}.reading-contents a:hover{color:var(--brand);text-decoration:underline}.document-page .reading-body .card{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 28px}.document-page .reading-body .card-inner{padding:0}.document-page .reading-body h2,.document-page .reading-body h3{scroll-margin-top:110px;font-size:23px;margin:32px 0 12px;padding-top:20px;border-top:1px solid var(--border)}.document-page .reading-body .card:first-child h2:first-child,.document-page .reading-body .card:first-child h3:first-child{margin-top:0}.document-page .reading-body p,.document-page .reading-body li{font-size:16px;line-height:1.8}.document-page .reading-body form{background:var(--surface);padding:26px;border:1px solid var(--border);border-radius:12px}.document-page .reading-body input,.document-page .reading-body textarea{max-width:100%;box-sizing:border-box}.document-page .reading-body textarea{min-height:200px}
@media(max-width:1050px){.page-pdf-toolbox .pdf-studio{grid-template-columns:280px minmax(0,1fr)}.page-pdf-toolbox .pdf-preview-grid{grid-template-columns:1fr}.document-page .reading-layout{gap:35px;grid-template-columns:190px minmax(0,1fr)}.page-meme #memeGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.utility-page main,.document-page main{padding:0 18px 30px}.workbench-breadcrumb{margin-bottom:20px}.task-steps{gap:12px;justify-content:space-between}.task-steps li{font-size:11px;gap:6px;flex:1;align-items:flex-start}.task-steps span{flex-shrink:0;height:23px;width:23px}.utility-page .utility-workspace,.page-character-counter .utility-workspace,.utility-page .visual-workspace,.page-the-one .install-workspace{grid-template-columns:1fr}.utility-page .utility-workspace>.workspace-output{border-left:0;border-top:1px solid var(--border)}.utility-page .utility-workspace .card-inner{padding:22px}.utility-page .utility-workspace textarea{min-height:240px}.page-character-counter #stats{grid-template-columns:1fr 1fr;gap:0 20px}.page-character-counter #stats>div{display:block}.page-character-counter #stats strong{display:block}.page-scene7-cropper .s7-controls,.page-scene7-cropper .scene7-workspace{grid-template-columns:1fr}.scene7-delivery{border-left:0;border-top:1px solid var(--border)}.page-pdf-toolbox .pdf-studio{grid-template-columns:1fr}.page-pdf-toolbox .pdf-controls-card{position:static}.page-pdf-toolbox .pdf-preview-grid{grid-template-columns:1fr 1fr}.page-pdf-toolbox .pdf-canvas-wrap{min-height:200px}.page-bulk-image-resizer .bulk-upload-card .card-inner,.page-bulk-image-resizer .bulk-workspace{grid-template-columns:1fr}.page-bulk-image-resizer .bulk-workspace>.card:first-child{border-right:0;border-bottom:1px solid var(--border)}.page-emoji .emoji-layout{grid-template-columns:1fr}.page-emoji .emoji-sidebar{position:static;border-right:0;border-bottom:1px solid var(--border);padding:0 0 18px}.page-emoji .character-command{padding:16px}.page-meme .gallery-command{flex-direction:column;align-items:stretch}.page-meme #memeGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-page .reading-layout{grid-template-columns:1fr;gap:28px}.document-page .reading-contents{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.document-page .reading-contents .pane-eyebrow{grid-column:1/-1}}
@media(max-width:450px){.page-pdf-toolbox .pdf-preview-grid{grid-template-columns:1fr}.task-steps li{flex-direction:column}.utility-page .workbench-hero h1,.document-page .workbench-hero h1{font-size:32px}.document-page .reading-contents{grid-template-columns:1fr}}


/* One Dr. QR identity across all task-specific page layouts. */
.drqr-product{--action:#20291f;--action-text:#fffef9;--focus:rgba(73,117,48,.22)}
html[data-theme=dark] .drqr-product{--action:#d8f56b;--action-text:#20291f}
.drqr-product .sp-page{--sp-surface:var(--surface);--sp-soft:var(--surface2);--sp-ink:var(--text);--sp-line:var(--border);--sp-accent:#b16027;--sp-muted:var(--muted)}
.drqr-product .qrp-page{--qrp-ink:var(--text);--qrp-muted:var(--muted);--qrp-paper:var(--bg);--qrp-white:var(--surface);--qrp-line:var(--border);--qrp-soft:var(--surface2);--qrp-lime:var(--accent)}
.drqr-product .sp-page button.primary,.drqr-product .web-tool-page button.primary,.drqr-product .qrp-page button.primary,.drqr-product main button.primary,.drqr-product main .button.primary{background:var(--action);border-color:var(--action);color:var(--action-text)}
.drqr-product .sp-page button.primary:hover,.drqr-product main button.primary:hover{background:var(--action);color:var(--action-text);filter:brightness(1.1)}
.drqr-product .sp-page :is(input,textarea,select):focus-visible,.drqr-product .sp-page button:focus-visible,.drqr-product .sp-page a:focus-visible,.drqr-product .qrp-page :focus-visible{outline:3px solid #b76a24;outline-offset:3px}
.drqr-product .sp-page :is(.sp-workspace,.sp-result,.sp-regex-command,.sp-insights,.sp-image-upload,.sp-image-preview,.sp-image-settings,.sp-meme-stage,.sp-meme-caption,.sp-meme-library){border-radius:14px;box-shadow:none}
.drqr-product .qrp-page label,.drqr-product .qrp-page .field>label,.drqr-product .qrp-page button,.drqr-product .qrp-page .button{font-size:13px;line-height:1.5}
.drqr-product .qrp-page :is(input[type=text],input[type=url],input[type=number],textarea,select){font-size:14px}
.drqr-product .qrp-page #typeGrid button{min-height:64px;font-size:12px}
.drqr-product .qrp-page .help,.drqr-product .qrp-page .notice,.drqr-product .qrp-page .muted{font-size:13px;line-height:1.65}
.drqr-product .header .logo{background:var(--action);color:var(--action-text)}
.drqr-product main [hidden]{display:none!important}
.drqr-product .product-skip{position:absolute;left:16px;top:-100px;z-index:120;background:var(--action);color:var(--action-text);padding:12px 18px;border-radius:6px;text-decoration:none}.drqr-product .product-skip:focus{top:12px}
html[data-theme=dark] .drqr-product .sp-page{--sp-accent:#d8f56b}
@media(max-width:600px){.drqr-product .qrp-page button,.drqr-product .qrp-page .button{min-height:44px}.drqr-product .qrp-page #typeGrid button{font-size:12px}.drqr-product .sp-page .sp-hero h1{font-size:36px!important}.drqr-product .qrp-page :is(input[type=text],input[type=url],input[type=number],textarea,select){font-size:16px}}

/* Keep tool-page navigation clear of content anchors. */
.drqr-product > .header{position:relative;top:auto}
.drqr-product main{scroll-margin-top:16px}


/* Shared finishing layer across the tool and information pages. */
.page-finished .header .brand .sub{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.page-finished :is(.workbench-hero,.qrp-hero,.sp-hero,.web-tool-hero){position:relative;padding-top:28px;padding-bottom:28px;border-bottom:1px solid var(--border);margin-bottom:26px}
.page-finished :is(.workbench-hero,.qrp-hero,.sp-hero,.web-tool-hero) h1{font-size:clamp(34px,4.5vw,60px);line-height:1.08;letter-spacing:-.045em;font-weight:700;max-width:23ch}
.page-finished :is(.workbench-breadcrumb,.qrp-breadcrumb){font-size:11px;margin-bottom:22px}
.page-finished .page-processing{font-size:11px!important;line-height:1.6!important;margin:20px 0 0!important;color:var(--muted)!important;max-width:none!important}
.page-processing::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#7b954b;vertical-align:middle;margin-right:8px}
.page-finished .qrp-types .qrp-hero h1{font-size:clamp(44px,5.2vw,68px);letter-spacing:-.05em;margin-bottom:20px}
.qrp-types .qrp-hero h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400}
.qrp-types .qrp-builder-grid{display:grid;grid-template-columns:210px minmax(0,1fr);gap:26px;align-items:start}
.qrp-types .qrp-type-picker{padding:0;background:transparent;border:0;box-shadow:none}
.qrp-types .qrp-picker-heading{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;margin-bottom:16px}
.qrp-types .qrp-picker-heading h2{font-size:17px;letter-spacing:-.03em}
.qrp-types .qrp-picker-heading>span:last-child{grid-column:2;font-size:10px;margin:0;color:var(--muted)}
.qrp-types #typeGrid{grid-template-columns:1fr;gap:7px}
.page-finished .qrp-types #typeGrid button{justify-content:flex-start;align-items:flex-start;text-align:left;flex-direction:column;gap:5px;padding:11px 13px;min-height:65px;background:var(--surface);border:1px solid var(--border);color:var(--text)}
.qrp-types #typeGrid button strong{font-size:12px;font-weight:700}
.qrp-types #typeGrid button span{font-size:10px;font-weight:400;line-height:1.4;color:var(--muted)}
.page-finished .qrp-types #typeGrid button[aria-pressed=true]{background:var(--action);border-color:var(--action);color:var(--action-text)}
.qrp-types #typeGrid button[aria-pressed=true] span{color:inherit;opacity:.85}
.qrp-types #typeInfo{font-size:11px;margin-top:14px!important;color:var(--muted)}
.qrp-types .qrp-type-workspace{margin-top:0;gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.qrp-types .qrp-form-panel{border-radius:5px}
.qrp-types .qrp-form-inner{padding:22px}
.qrp-types .qrp-output{border-radius:5px;box-shadow:none;border-color:var(--border);background:var(--surface2)}
.qrp-types .qrp-output-inner{padding:22px}
.qrp-types .qrp-output .qr-box{background:#fff;border-radius:3px;min-height:210px}
.qrp-types .qrp-output h2{font-size:31px}
.qrp-types #dataSummary{font-size:12px}
.qrp-types .qrp-type-workspace .actions-row{gap:8px}
.qrp-types .qrp-type-workspace .actions-row button{min-height:44px}
@media(max-width:1100px){.qrp-types .qrp-builder-grid{grid-template-columns:180px minmax(0,1fr);gap:20px}.qrp-types .qrp-type-workspace{grid-template-columns:minmax(0,1fr)}.qrp-types .qrp-sticky{position:static}.qrp-types .qrp-output .qr-box{min-height:230px}}
@media(max-width:760px){.page-finished :is(.workbench-hero,.qrp-hero,.sp-hero,.web-tool-hero){padding-top:22px;padding-bottom:22px;margin-bottom:22px}.page-finished :is(.workbench-hero,.qrp-hero,.sp-hero,.web-tool-hero) h1{font-size:38px}.page-finished .qrp-types .qrp-hero h1{font-size:46px;margin-bottom:16px}.page-finished .qrp-description{font-size:14px}.qrp-types .qrp-builder-grid{grid-template-columns:1fr;gap:12px}.qrp-types .qrp-type-picker{margin-bottom:8px}.qrp-types .qrp-picker-heading{display:flex;gap:10px;margin-bottom:15px}.qrp-types .qrp-picker-heading>span:last-child{margin-left:auto}.qrp-types #typeGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.page-finished .qrp-types #typeGrid button{min-height:46px;align-items:center;justify-content:center;padding:10px 5px;text-align:center}.qrp-types #typeGrid button strong{font-size:12px}.qrp-types #typeGrid button span{display:none}.qrp-types #typeInfo{margin-bottom:0}.qrp-types .qrp-type-workspace{gap:20px}.qrp-types .qrp-form-inner,.qrp-types .qrp-output-inner{padding:20px}.page-finished .page-processing{margin-top:15px!important;font-size:10px!important}}
@media(max-width:480px){.page-finished .header .brand .sub{display:none}.page-finished :is(.workbench-hero,.qrp-hero,.sp-hero,.web-tool-hero) h1{font-size:34px}.page-finished .qrp-types .qrp-hero h1{font-size:41px}.page-finished .qrp-types .qrp-description{font-size:13px}.page-finished :is(.workbench-breadcrumb,.qrp-breadcrumb){margin-bottom:20px}}

/* Shared page scrollbar: keep the track discoverable on every main page. */
html:root:root {
  --drqr-scrollbar-release:20261112-r11;
  height:auto;
  min-height:100%;
  overflow-y:scroll;
  scrollbar-gutter:stable;
  scrollbar-width:auto;
  scrollbar-color:#68775c #e7e9df;
}
html:root[data-theme="dark"] { scrollbar-color:#b6ca91 #20291f; }
body { height:auto; min-height:100vh; overflow-y:visible; }
html::-webkit-scrollbar { width:16px; }
html::-webkit-scrollbar-track { background:#e7e9df; }
html::-webkit-scrollbar-thumb { background:#68775c; border:3px solid #e7e9df; border-radius:10px; min-height:48px; }
html[data-theme="dark"]::-webkit-scrollbar-track { background:#20291f; }
html[data-theme="dark"]::-webkit-scrollbar-thumb { background:#b6ca91; border-color:#20291f; }
@media(forced-colors:active) { html:root:root { scrollbar-color:auto; } }

