.tool-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--berry-black-60-opacity10);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(10, 5, 35, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.tool-grid-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 920px) {
  .tool-grid,
  .tool-grid-2 {
    grid-template-columns: 1fr;
  }
}

.tool-shell label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: var(--berry-black-60);
}

.tool-shell input[type="text"],
.tool-shell select,
.tool-shell textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 5, 35, 0.18);
  background: #fff;
  color: var(--berry-black-60);
  font-size: 16px;
}

/* Dropdowns: match SERP Preview Tool sizing */
.tool-shell select {
  height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.tool-shell textarea {
  min-height: 180px;
  resize: vertical;
}

.tool-shell textarea.tool-small-textarea {
  min-height: 92px;
}

.tool-shell input:focus,
.tool-shell select:focus,
.tool-shell textarea:focus {
  outline: none;
  border-color: rgba(0, 106, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 106, 255, 0.12);
}

/* ==========================
   SERP-style custom dropdown
   (ported from SERP Preview)
   ========================== */
.tool-shell .tiny-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex-wrap: wrap;
}

/* Hide the native select; keep it in DOM for form/value reads */
.tool-shell .tiny-select {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tool-shell .tiny-select-btn {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(10, 5, 35, 0.14);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(10, 5, 35, 0.06);
  font-size: 14px;
  color: var(--dark-berry-40-60);
  text-align: left;
}

.tool-shell .tiny-select-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.18), 0 6px 14px rgba(10, 5, 35, 0.06);
}

.tool-shell .tiny-menu {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(10, 5, 35, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(10, 5, 35, 0.14);
  padding: 8px;
  display: none;
  z-index: 50;
}

.tool-shell .tiny-menu.tiny-menu--sm {
  right: auto;
  min-width: 180px;
}

.tool-shell .tiny-menu.open {
  display: block;
}

.tool-shell .tiny-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.tool-shell .tiny-menu li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: rgba(10, 5, 35, 0.78);
}

.tool-shell .tiny-menu li:hover {
  background: rgba(29, 78, 216, 0.10);
}

.tool-shell .tiny-menu li.active {
  background: #1d4ed8;
  color: #fff;
}

.ua-shell {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(10, 5, 35, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

.ua-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ua-title {
  font-weight: 700;
  color: var(--berry-black-60);
}

.ua-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}


.ua-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ua-item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(10, 5, 35, 0.08);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 8px;
}

.ua-token {
  color: var(--berry-black-60);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;;
}

.ua-select {
  width: 100%;
}

@media (max-width: 920px) {
  .ua-grid-3 {
    grid-template-columns: 1fr;
  }
  .ua-token {
    white-space: normal;
  }
}

.paths-shell {
  margin-top: 18px;
}

.paths-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 6px 2px;
}

.paths-title {
  font-weight: 700;
  color: var(--berry-black-60);
}

.paths-help {
  color: var(--dark-berry-40-60);
  font-size: 14px;
}

.paths-add {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(37, 99, 235, 0.9);
  background: #fff;
  color: rgba(37, 99, 235, 0.95);
  font-weight: 900;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.paths-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 5, 35, 0.12);
  background: rgba(37, 99, 235, 0.05);
}

.paths-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.path-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.path-input {
  width: 100%;
  flex: 1;
}

.path-remove {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(10, 5, 35, 0.18);
  background: rgba(10, 5, 35, 0.05);
  color: var(--berry-black-60);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.path-remove:hover {
  background: rgba(10, 5, 35, 0.08);
}

@media (max-width: 920px) {
  .paths-head {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.tool-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  background: rgba(0, 106, 255, 0.12);
  color: var(--berry-black-60);
  border: 1px solid rgba(10, 5, 35, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.tool-btn:hover {
  background: rgba(0, 106, 255, 0.2);
  transform: translateY(-1px);
}

.tool-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.tool-meta {
  color: var(--dark-berry-40-60);
  font-size: 14px;
}

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

.tool-status {
  margin-top: 10px;
  font-size: 14px;
}

.tool-status .ok {
  color: #0f7a3d;
  font-weight: 700;
}

.tool-status .warn {
  color: #9a5b00;
  font-weight: 700;
}

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

.tool-checks label {
  margin: 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}

.tool-checks input[type="checkbox"],
.tool-checks input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-100);
}
        /* Remove the global container bottom gap for this tool page */
        .main > .container{
          margin-bottom: 0;
        }

/* --- Article container (match SERP Preview Tool sizing + typography) --- */
#robotsContent *{box-sizing:border-box}

#robotsContent .wrap{max-width:1360px;margin:0 auto;padding:0}

#robotsContent .content-card{
  margin-top: 100px; /* gap after tool section (same as SERP page) */
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#robotsContent .content-card h2{
  margin: 0 0 12px 0;
  color: black;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

#robotsContent .content-card h3{
  margin: 18px 0 8px;
  color: black;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

#robotsContent .content-card p{
  margin: 0 0 12px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

#robotsContent .content-card ol,
#robotsContent .content-card ul{
  margin: 0 0 12px;
  padding-left: 26px;
  list-style-position: outside;
  color: black;
  line-height: 1.55;
}

#robotsContent .content-card ul{ list-style: disc; }
#robotsContent .content-card ol{ list-style: decimal; }

#robotsContent .content-card li{
  margin: 0 0 8px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  display: list-item;
  padding-left: 6px;
}

/* --- FAQ styles (match SERP Preview) --- */
#robotsContent .serp-faq.FaqSection .FaqTitle h2 { margin-bottom: 30px; }

#robotsContent .serp-faq.first-faq-block .accordian-wrapper {
  background: linear-gradient(138deg, #fff0 0%, #fff0 100%);
  padding: .15rem;
  border-radius: 15px;
  position: relative;
}

#robotsContent .serp-faq.first-faq-block .faq-boxes {
  background-color: #fff;
  backdrop-filter: blur(10px);
  padding: 0;
  border-radius: 15px;
  border: 2px solid #a200ff38;
}

#robotsContent .serp-faq.first-faq-block .faq-boxes.active {
  background-color: #FBF4FF;
  border: 2px solid #A200FF;
}

#robotsContent .serp-faq .accordion-body {
  padding: 0 15px 18px 22px;
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

#robotsContent .serp-faq .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 15px 18px 22px;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff0;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

#robotsContent .serp-faq .accordion-button h3 {
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}

#robotsContent .serp-faq.first-faq-block .get-started-faq-inner .accordion .accordion-item .accordion-button:not(.collapsed)::before {
  border: 6px solid #c3dae7;
  background-color: #0582d2;
  top: 28%;
}

#robotsContent .serp-faq .accordion-button:not(.collapsed) {
  color: #212529;
  background-color: #fff0;
  transition: 0.2s ease-in all;
  padding-bottom: 12px;
  border: 0;
  box-shadow: none;
}

#robotsContent .serp-faq .accordion-button h3{ color: #000; }

#robotsContent .serp-faq .accordion-button:focus {
  z-index: 3;
  border-color: #cecbdc;
  outline: 0;
  box-shadow: 0 0 0 .25rem #fff0;
}

#robotsContent .serp-faq.first-faq-block .accordion-item {
  background-color: #fff0;
  border: 0 solid rgb(0 0 0 / .125);
  margin-bottom: 20px;
}

#robotsContent .serp-faq.first-faq-block .accordion-body p {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  margin-bottom: 0;
  padding-right: 11%;
  line-height: 26px;
}

#robotsContent .serp-faq.first-faq-block .accordion-body p a {
  color: #4A2574;
  font-size: 18px;
  line-height: 32px;
  text-decoration: none;
  font-weight: 400;
}

#robotsContent .serp-faq.first-faq-block .accordion-button:not(.collapsed)::after {
  content: "–";
  transform: none;
}

#robotsContent .serp-faq.first-faq-block .accordion-button::after {
  margin-left: auto;
  content: "+";
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  align-self: center;
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #4A2574;
}

/* Collapse behavior (we implement via JS; keep same class names) */
#robotsContent .serp-faq .accordion-collapse{ display: none; }
#robotsContent .serp-faq .accordion-collapse.show{ display: block; }

@media (max-width: 480px){
  #robotsContent .serp-faq.first-faq-block .faq-boxes{ padding-right: 18px; }
}