/* Only applies inside the new shortcode. No changes to theme or previous tools. */
.smt-robots{--smt-r-ink:#172942;--smt-r-muted:#617086;--smt-r-border:#dce4ed;--smt-r-bg:#f6f9fc;--smt-r-blue:#155fc0;--smt-r-blue-dark:#0d4499;--smt-r-focus:#356ed3;color:var(--smt-r-ink);font:inherit;width:100%;max-width:100%;margin:0 auto 32px}
.smt-robots *{box-sizing:border-box}
.smt-robots__hero{padding:clamp(20px,3.5vw,36px);background:linear-gradient(135deg,#edf5ff 0%,#f8fbff 100%);border:1px solid #d6e5fa;border-radius:18px;margin-bottom:20px}
.smt-robots__eyebrow{font-size:.82em!important;text-transform:uppercase;letter-spacing:.04em;color:#285a9b!important;font-weight:700!important;margin:0 0 10px!important}
.smt-robots__hero h2{font-size:clamp(1.32rem,2.6vw,1.9rem)!important;line-height:1.25!important;margin:0 0 10px!important;color:#152d52!important;text-align:left!important}
.smt-robots__hero>p:not(.smt-robots__eyebrow){line-height:1.65!important;margin:0 0 16px!important;font-size:1rem!important;color:#354961!important}
.smt-robots__points{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:.84rem;font-weight:600;color:#22568e}
.smt-robots__points span::before{content:'✓';color:#137d5d;font-weight:800;margin-right:6px}
.smt-robots__tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--smt-r-border);margin-bottom:18px}
.smt-robots__tabs button{font:inherit!important;font-size:.96rem!important;font-weight:700!important;border:0!important;background:transparent!important;color:#50647e!important;cursor:pointer;padding:14px 18px!important;margin:0!important;box-shadow:none!important;border-bottom:3px solid transparent!important;border-radius:0!important}
.smt-robots__tabs button[aria-selected=true]{color:var(--smt-r-blue)!important;border-bottom-color:var(--smt-r-blue)!important}
.smt-robots__tabs button:hover{color:#124d9d!important}
.smt-robots__panel[hidden]{display:none!important}
.smt-robots__columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:18px;align-items:start}
.smt-robots__card{min-width:0;background:white;border:1px solid var(--smt-r-border);border-radius:16px;padding:clamp(16px,2vw,25px);box-shadow:0 5px 22px rgba(28,52,89,.035)}
.smt-robots__card h3{font-size:1.09rem!important;line-height:1.4!important;color:#172b49!important;text-align:left!important;margin:0 0 12px!important}
.smt-robots__card h3:not(:first-child){margin-top:24px!important}
.smt-robots__hint{font-size:.91rem!important;line-height:1.55!important;color:var(--smt-r-muted)!important;margin:4px 0 15px!important}
.smt-robots__field{margin-top:16px;min-width:0}
.smt-robots__template-field{margin-top:8px;margin-bottom:10px}
.smt-robots__template-field select{cursor:pointer}
.smt-robots__field>label,.smt-robots__field-label{display:block;color:#203653!important;font-size:.92rem!important;font-weight:700!important;margin-bottom:7px!important}
.smt-robots input[type=url],.smt-robots input[type=text],.smt-robots textarea,.smt-robots select{font:inherit!important;font-size:.95rem!important;line-height:1.5!important;color:var(--smt-r-ink)!important;width:100%;max-width:100%;min-width:0;padding:11px 12px!important;background:white!important;border:1px solid #c8d4e3!important;border-radius:9px!important;box-shadow:none!important;outline:0}
.smt-robots textarea{display:block;resize:vertical;tab-size:2;overflow:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:.88rem!important;overflow-wrap:normal}
.smt-robots textarea::placeholder,.smt-robots input::placeholder{color:#94a2b4!important;opacity:1}
.smt-robots input:focus-visible,.smt-robots textarea:focus-visible,.smt-robots select:focus-visible,.smt-robots button:focus-visible,.smt-robots summary:focus-visible{outline:3px solid rgba(53,110,211,.33)!important;outline-offset:2px!important}
.smt-robots .smt-robots__field small{display:block;font-size:.81rem;color:#65768e;line-height:1.55;margin-top:5px}
.smt-robots__details{margin-top:22px;border:1px solid var(--smt-r-border);border-radius:12px;background:#fcfdff;padding:13px 15px}
.smt-robots__details>summary{font-weight:750;color:#174d8b;cursor:pointer;line-height:1.45}
.smt-robots__details[open]>summary{margin-bottom:12px}
.smt-robots__botlist{display:grid;gap:11px}
.smt-robots__botrow{display:grid;grid-template-columns:minmax(0,1fr) 175px;align-items:center;gap:10px;border-bottom:1px solid #edf0f3;padding:5px 0 11px}
.smt-robots__botrow label{font-weight:600;line-height:1.4;font-size:.87rem;margin:0!important}
.smt-robots__botrow select{padding:8px 7px!important;font-size:.85rem!important}
.smt-robots__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.smt-robots button.smt-robots__button{appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:6px;border-radius:9px!important;border:1px solid #bad0ea!important;padding:11px 15px!important;font:inherit!important;font-size:.87rem!important;font-weight:700!important;line-height:1.35!important;cursor:pointer;min-height:42px;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;white-space:normal}
.smt-robots button.smt-robots__button--primary{background:var(--smt-r-blue)!important;color:white!important;border-color:var(--smt-r-blue)!important}
.smt-robots button.smt-robots__button--primary:hover{background:var(--smt-r-blue-dark)!important}
.smt-robots button.smt-robots__button--light{background:#f3f7fd!important;color:#184e90!important}
.smt-robots button.smt-robots__button--light:hover{background:#e4f0ff!important}
.smt-robots button:disabled{cursor:not-allowed!important;opacity:.55!important}
.smt-robots__status{padding:11px 13px;background:#f1f6fc;color:#355879;border:1px solid #dbe8f4;border-radius:9px;margin:12px 0 16px;line-height:1.5;font-size:.88rem;white-space:normal;overflow-wrap:anywhere}
.smt-robots__status[data-state=ok]{background:#effaf5;border-color:#c8e9da;color:#146247}
.smt-robots__status[data-state=warn]{background:#fff9eb;border-color:#f4e0b5;color:#785313}
.smt-robots__status[data-state=error]{background:#fff2f1;border-color:#f0cbc5;color:#8c322c}
.smt-robots__result textarea[data-robots-output]{background:#fbfcfe!important;min-height:330px}
.smt-robots__caution{border-left:3px solid #d9a33c;background:#fffaf1;padding:13px 15px;border-radius:0 10px 10px 0;margin-top:20px;color:#605333;font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}
.smt-robots__caution p{margin:5px 0 0!important;line-height:1.6!important;color:inherit!important;font-size:inherit!important}
.smt-robots__caution code{font-size:.93em;overflow-wrap:anywhere}
.smt-robots__separator{border:0;border-top:1px solid var(--smt-r-border);margin:28px 0 18px}
.smt-robots__issues ul{padding:0;margin:0;list-style:none;display:grid;gap:8px}
.smt-robots__issue{background:#f5f8fc;border:1px solid #dfe6ef;border-radius:9px;padding:10px 12px;font-size:.88rem;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere;line-height:1.5}
.smt-robots__issue--error{background:#fff4f2;border-color:#f3d3cb}
.smt-robots__issue--warn{background:#fffaf0;border-color:#f3e3ba}
.smt-robots__issue strong{color:#263d59}
.smt-robots__counts{color:var(--smt-r-muted);font-size:.84rem;line-height:1.6;overflow-wrap:anywhere}
.smt-robots__test-result{font-size:.88rem;line-height:1.6;margin-top:16px;overflow-wrap:anywhere}
.smt-robots__test-result:not(:empty){padding:13px;border:1px solid var(--smt-r-border);border-radius:10px;background:#f6f9fc}
.smt-robots__test-result[data-state=ok]{background:#effaf5;border-color:#c8e9da;color:#146247}
.smt-robots__test-result[data-state=warn]{background:#fff9eb;border-color:#f4e0b5;color:#785313}
.smt-robots__test-result[data-state=error]{background:#fff2f1;border-color:#f0cbc5;color:#8c322c}
@media (max-width:920px){.smt-robots__columns{grid-template-columns:minmax(0,1fr)}.smt-robots__result textarea[data-robots-output]{min-height:260px}}
@media (max-width:520px){.smt-robots__tabs button{flex:1 1 45%;padding:11px 8px!important;font-size:.85rem!important}.smt-robots__botrow{grid-template-columns:1fr;gap:5px}.smt-robots__botrow select{width:100%}.smt-robots__actions{display:grid;grid-template-columns:1fr}.smt-robots button.smt-robots__button{width:100%}.smt-robots__card{padding:16px}}
/* v1.5.2: review summaries, safe manual export and batch URL checks */
.smt-robots__preflight,.smt-robots__summary{margin:12px 0;color:#23456f;background:#f3f7fc;border:1px solid #dbe7f5;border-radius:10px;padding:11px 13px;font-size:.86rem;line-height:1.65;overflow-wrap:anywhere}
.smt-robots__summary:empty,.smt-robots__preflight:empty{display:none}
.smt-robots__preflight-issues ul{padding:0;margin:0 0 12px;list-style:none;display:grid;gap:8px}
.smt-robots__issue-advice{color:#325373;font-size:.95em}
.smt-robots__review{margin-top:13px;display:flex;align-items:flex-start;gap:10px;font-size:.86rem;line-height:1.5;font-weight:600;color:#74501a;background:#fff9eb;border:1px solid #efd8aa;border-radius:9px;padding:11px 12px;cursor:pointer}
.smt-robots__review[hidden]{display:none!important}
.smt-robots__review input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px;margin:2px 0 0!important;cursor:pointer;accent-color:#155fc0}
.smt-robots__table-wrap{max-width:100%;width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--smt-r-border);border-radius:10px;margin-top:11px}
.smt-robots__table{border-collapse:collapse;width:100%;min-width:560px;font-size:.79rem;table-layout:fixed;line-height:1.5}
.smt-robots__table caption{text-align:left;padding:11px 12px;font-weight:700;color:#29496c;background:#f3f7fc;caption-side:top}
.smt-robots__table th,.smt-robots__table td{border-bottom:1px solid #e6ecf4;padding:9px 9px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.smt-robots__table th{background:#f5f8fc;font-weight:700;color:#29496c}
.smt-robots__table th:first-child{width:45%}
.smt-robots__table tr:last-child td{border-bottom:0}
.smt-robots__cell--ok{color:#146247;font-weight:650}
.smt-robots__cell--warn{color:#8b5015;font-weight:650}
.smt-robots__cell--error{color:#92382b;background:#fff5f2}
.smt-robots__url{word-break:break-word}
.smt-robots__batch-results .smt-robots__hint{margin-top:10px!important}
@media(max-width:520px){.smt-robots__table{font-size:.76rem;min-width:500px}.smt-robots__review{font-size:.84rem}}

.smt-robots__rule{display:block;font-size:.85em;font-weight:400;color:#4e6381;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}
.smt-robots button.smt-robots__line-jump{align-self:flex-start;border:0!important;background:transparent!important;padding:2px 0!important;margin:2px 0 0!important;color:#155fc0!important;text-decoration:underline!important;font-size:.85rem!important;font-weight:650!important;cursor:pointer!important;box-shadow:none!important}
.smt-robots button.smt-robots__line-jump:hover{text-decoration:none!important}

.smt-robots__ai-choices{display:grid;gap:8px;border:1px solid #dbe6f2;background:#f8fbff;border-radius:10px;padding:12px 13px}
.smt-robots__ai-choices label{display:flex;align-items:flex-start;gap:9px;line-height:1.4;font-size:.86rem;font-weight:500;margin:0!important;cursor:pointer;color:#27435f}
.smt-robots__ai-choices input[type=checkbox]{flex:0 0 17px;width:17px!important;height:17px!important;margin:1px 0 0!important;accent-color:#155fc0}

/* 1.5.3: isolate native select dimensions from WordPress theme styles. */
.smt-robots[data-smt-robots] select[data-robots-template],
.smt-robots[data-smt-robots] select[data-robots-bot],
.smt-robots[data-smt-robots] select[data-robots-agent]{
  display:block!important;box-sizing:border-box!important;appearance:auto!important;
  -webkit-appearance:menulist!important;height:auto!important;min-height:48px!important;
  max-height:none!important;padding:10px 12px!important;line-height:1.5!important;
  text-indent:0!important;overflow:visible!important;vertical-align:middle!important;
}
.smt-robots[data-smt-robots] select option,.smt-robots[data-smt-robots] select optgroup{color:#172942;background:#fff}
.smt-robots[data-smt-robots] textarea[data-robots-output],.smt-robots[data-smt-robots] textarea[data-robots-input]{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important}
.smt-robots__example{background:#f5f8fc;border:1px solid #dbe6f2;border-radius:11px;padding:13px 14px;margin:14px 0 20px;min-width:0}
.smt-robots__example>summary{cursor:pointer;color:#194f8e;font-size:.91rem;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.smt-robots__example-note{font-size:.81rem!important;color:#526780!important;line-height:1.55!important;margin:9px 0!important;overflow-wrap:anywhere}
.smt-robots__example-feedback:empty{display:none!important}
.smt-robots__example-values{display:grid;gap:0;margin:10px 0!important;padding:0!important}
.smt-robots__example-values>div{display:grid;grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);gap:8px;padding:7px 0;border-top:1px solid #e0e8f2;align-items:start;min-width:0}
.smt-robots__example-values dt,.smt-robots__example-values dd{font-size:.81rem!important;line-height:1.45!important;margin:0!important;padding:0!important;min-width:0;overflow-wrap:anywhere}
.smt-robots__example-values dt{color:#475c76;font-weight:600}
.smt-robots__example-values dd{color:#203653;white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.smt-robots__example-values>div:last-child dd{font-family:inherit}
@media(max-width:520px){.smt-robots__example-values>div{grid-template-columns:minmax(0,1fr);gap:3px}.smt-robots__example{padding:12px}.smt-robots[data-smt-robots] select[data-robots-template],.smt-robots[data-smt-robots] select[data-robots-agent]{font-size:16px!important}}

/* 1.5.4: extended CMS rule groups */
.smt-robots[data-smt-robots] select[data-robots-profile]{display:block!important;box-sizing:border-box!important;appearance:auto!important;height:auto!important;min-height:48px!important;max-height:none!important;padding:10px 12px!important;line-height:1.5!important;text-indent:0!important;overflow:visible!important}
.smt-robots__profile{border:1px solid #dbe6f2;background:#f8fbff;padding:14px;border-radius:10px;margin:12px 0;min-width:0}
.smt-robots__profile[hidden]{display:none!important}
.smt-robots__profile-group{padding:10px 0;border-top:1px solid #dbe6f2;min-width:0}
.smt-robots__profile-group label{display:flex;gap:8px;align-items:flex-start;line-height:1.5!important;margin:0!important;cursor:pointer}
.smt-robots__profile-group input[type=checkbox]{flex:0 0 17px;width:17px!important;height:17px!important;margin:3px 0 0!important;accent-color:#155fc0}
.smt-robots__profile-group small{display:block;color:#526780;font-size:.82rem;line-height:1.5;margin:5px 0}
.smt-robots__profile-group summary{font-size:.82rem;cursor:pointer;color:#155fc0}
.smt-robots__profile-group pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;line-height:1.5;margin:6px 0;padding:8px;background:#fff;border:1px solid #dbe6f2;border-radius:6px}

/* Grouped bot directory, scoped to the robots tool. */
.smt-robots .smt-robots__botgroup{margin:10px 0;border:1px solid #dbe6f2;border-radius:9px;padding:10px 12px;min-width:0}
.smt-robots .smt-robots__botgroup>summary{cursor:pointer;color:#174d8b;font-weight:650;line-height:1.5}
.smt-robots .smt-robots__botgroup[open]>summary{margin-bottom:10px}
.smt-robots .smt-robots__botrow{grid-template-columns:minmax(0,1fr) minmax(0,205px);align-items:start}
.smt-robots .smt-robots__botrow small{display:block;font-size:.79rem;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
.smt-robots .smt-robots__ai-choices .smt-robots__botgroup label{margin:8px 0!important}
@media(max-width:600px){.smt-robots .smt-robots__botrow{grid-template-columns:1fr}}


/* 1.6.1: stronger visual structure for template guidance and grouped bot controls */
.smt-robots__hint--panel{margin:10px 0 0!important;padding:11px 12px!important;background:#f4f8fd!important;border:1px solid #dbe7f5!important;border-radius:10px!important}
.smt-robots__template-overview{margin:14px 0 0;padding:14px;border:1px solid #dbe6f2;border-radius:12px;background:#f8fbff}
.smt-robots__template-overview>strong{display:block;color:#173d6f;font-size:.92rem;line-height:1.45}
.smt-robots__template-grid{display:grid;gap:10px;margin-top:12px}
.smt-robots__template-box{background:#fff;border:1px solid #dce5f1;border-radius:10px;padding:11px 12px;min-width:0}
.smt-robots__template-box strong{display:block;margin:0 0 7px;color:#29496c;font-size:.85rem;line-height:1.45}
.smt-robots__template-box ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.smt-robots__template-box li{font-size:.83rem;line-height:1.5;color:#29415e;overflow-wrap:anywhere}
.smt-robots__template-box li::before{content:'•';color:#155fc0;font-weight:800;margin-right:7px}
.smt-robots__template-box--empty li::before{content:'–'}
.smt-robots__details{overflow:hidden}
.smt-robots__details>summary{list-style:none;display:flex;align-items:center;gap:8px}
.smt-robots__details>summary::-webkit-details-marker,.smt-robots__botgroup>summary::-webkit-details-marker,.smt-robots__example>summary::-webkit-details-marker{display:none}
.smt-robots__botgroup{background:#fbfdff}
.smt-robots .smt-robots__botgroup>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}
.smt-robots .smt-robots__botlist{gap:8px}
.smt-robots .smt-robots__botrow{padding:12px 0 13px;gap:14px}
.smt-robots .smt-robots__botrow>div{min-width:0}
.smt-robots .smt-robots__botrow select{width:100%;max-width:220px;justify-self:end;align-self:center}
.smt-robots .smt-robots__botrow label{font-size:.92rem;font-weight:700;color:#183350}
.smt-robots .smt-robots__botrow small{font-size:.81rem;color:#546b88}
.smt-robots__profile-group{background:#fff;border:1px solid #dce5f1;border-radius:10px;padding:12px 12px 10px;margin-top:10px}
.smt-robots__profile-badge{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:999px;background:#eaf3ff;color:#155fc0;font-size:.73rem;font-weight:700;vertical-align:middle}
.smt-robots__profile-summary{margin:0 0 10px;font-size:.82rem;line-height:1.55;color:#4e6381}
@media (min-width:921px){.smt-robots__card.smt-robots__result{position:sticky;top:24px}}
@media (max-width:640px){.smt-robots .smt-robots__botrow select{max-width:none}.smt-robots__template-grid{grid-template-columns:1fr}.smt-robots__template-overview{padding:12px}}

/* 1.6.2: native form dimensions and compact scoped controls. */
.smt-robots[data-smt-robots] select:not([multiple]){display:block!important;box-sizing:border-box!important;appearance:auto!important;-webkit-appearance:menulist!important;height:48px!important;min-height:48px!important;max-height:none!important;padding:0 12px!important;line-height:normal!important;text-indent:0!important;overflow:visible!important;vertical-align:middle!important;font-size:16px!important;background-image:none!important;max-width:100%!important;min-width:0!important;white-space:nowrap!important;text-overflow:ellipsis!important;margin:0!important}
.smt-robots[data-smt-robots] select[data-robots-bot]{font-size:14px!important;padding:0 8px!important}
.smt-robots[data-smt-robots] [hidden]{display:none!important}
.smt-robots .smt-robots__details{overflow:visible;min-width:0;padding:12px}
.smt-robots .smt-robots__details>summary,.smt-robots .smt-robots__botgroup>summary,.smt-robots .smt-robots__example>summary{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;list-style:none;overflow-wrap:anywhere}
.smt-robots .smt-robots__details>summary::before,.smt-robots .smt-robots__botgroup>summary::before,.smt-robots .smt-robots__example>summary::before{content:'▸';flex:none;color:#174d8b}
.smt-robots .smt-robots__details[open]>summary::before,.smt-robots .smt-robots__botgroup[open]>summary::before,.smt-robots .smt-robots__example[open]>summary::before{content:'▾'}
.smt-robots .smt-robots__botrow{padding:9px 0;gap:8px;grid-template-columns:minmax(0,1fr);align-items:start}
.smt-robots .smt-robots__botrow select{max-width:none;justify-self:stretch;align-self:start}
.smt-robots .smt-robots__botrow:last-child{border-bottom:0;padding-bottom:0}
.smt-robots .smt-robots__template-grid{grid-template-columns:minmax(0,1fr)}
.smt-robots .smt-robots__profile-group label.smt-robots__group-edit{display:block;font-size:.84rem;margin:10px 0!important}
.smt-robots .smt-robots__group-edit textarea{margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}
.smt-robots .smt-robots__card.smt-robots__result{position:static}
.smt-robots .smt-robots__probe-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.82rem;line-height:1.4;margin:12px 0 0;overflow-wrap:anywhere}
.smt-robots .smt-robots__probe-table th,.smt-robots .smt-robots__probe-table td{padding:8px 5px;border:1px solid #dbe6f2;text-align:left;vertical-align:top}
.smt-robots .smt-robots__probe-table th{background:#f4f8fd}.smt-robots .smt-robots__probe-table th:first-child{width:42%}.smt-robots .smt-robots__probe-table small{display:block;font-weight:400;color:#526780}
.smt-robots .smt-robots__code-preview{max-width:100%;max-height:290px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,Consolas,monospace;background:#f5f8fc;border:1px solid #dce5f1;padding:10px;border-radius:8px;margin:10px 0;color:#203653}
.smt-robots .smt-robots__code-line{display:grid;grid-template-columns:4ch minmax(0,1fr);gap:10px}.smt-robots .smt-robots__line-number{color:#73839a;text-align:right;user-select:none}.smt-robots .smt-robots__code-comment{color:#637286}.smt-robots .smt-robots__code-directive{color:#124e9e}
@media(min-width:1200px){.smt-robots .smt-robots__botrow{grid-template-columns:minmax(0,1fr) minmax(0,205px)}}
.smt-robots .smt-robots__template-box>summary{cursor:pointer;color:#29496c;font-size:.87rem;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.smt-robots .smt-robots__template-box[open]>summary{margin-bottom:8px}
