/* Central Clickoz tool template.
   Keep page-level UI here; the generator writes identical markup for every tool. */

:root{
  --accent-rgb: 34,211,238;
  --cms-surface: rgba(7,14,28,.78);
  --cms-surface-soft: rgba(255,255,255,.035);
  --cms-border: rgba(255,255,255,.10);
  --cms-border-accent: rgba(var(--accent-rgb), .22);
  --cms-text: rgba(248,252,255,.92);
  --cms-muted: rgba(248,252,255,.70);
  --cms-radius: 22px;
  --cms-glow: 0 0 34px rgba(var(--accent-rgb), .12);
}

.cms-tool-body *,
.cms-tool-body *::before,
.cms-tool-body *::after{
  box-sizing:border-box;
}

.cms-tool-page{
  padding-top: 18px;
}

.cms-tool-body .dot-btn{
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  flex:0 0 44px;
}

.cms-tool-body #colorMenu{
  width: 236px;
  max-width: calc(100vw - 24px);
}

.cms-tool-body .nav-actions .dropdown,
.cms-tool-body #gtNavWrap{
  flex:0 0 auto;
}

.cms-tool-hero{
  max-width: 1040px;
  margin: 0 auto 16px;
  text-align: center;
}

.cms-tool-hero .crumbs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin: 4px 0 12px;
  font-size: 13px;
  color: rgba(248,252,255,.66);
}

.cms-tool-hero .crumbs a{
  color: rgba(248,252,255,.82);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.cms-tool-title{
  margin: 0;
  font-size: clamp(36px, 5vw, 70px);
  line-height: .98;
  letter-spacing: .018em;
  text-transform: uppercase;
}

.cms-tool-sub{
  max-width: 820px;
  margin: 14px auto 0;
  color: rgba(248,252,255,.74);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.cms-tool-trust,
.cms-tool-workflow{
  display:flex;
  justify-content:center;
  align-items:stretch;
  flex-wrap:wrap;
  gap:10px;
}

.cms-tool-trust{
  margin-top:14px;
}

.cms-tool-brief{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:16px;
  text-align:left;
}

.cms-tool-brief article,
.cms-job-summary article{
  min-width:0;
  padding:13px;
  border-radius:18px;
  border:1px solid rgba(var(--accent-rgb), .18);
  background:
    radial-gradient(260px 130px at 0 0, rgba(var(--accent-rgb), .09), transparent 68%),
    rgba(255,255,255,.032);
}

.cms-tool-brief strong,
.cms-job-summary b{
  display:block;
  color:rgba(248,252,255,.94);
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.cms-tool-brief span,
.cms-job-summary span{
  display:block;
  margin-top:7px;
  color:rgba(248,252,255,.74);
  line-height:1.48;
  font-size:13.5px;
}

.cms-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding: 10px 13px;
  border-radius:999px;
  border:1px solid var(--cms-border-accent);
  background: rgba(var(--accent-rgb), .07);
  color: rgba(248,252,255,.88);
  font-weight:900;
  font-size: 13px;
}

.cms-tool-workflow{
  margin-top: 16px;
}

.cms-step-card{
  flex: 1 1 300px;
  max-width: 340px;
  min-width: min(100%, 280px);
  display:grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items:center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--cms-border-accent);
  background:
    radial-gradient(300px 140px at 0% 0%, rgba(var(--accent-rgb), .12), transparent 64%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.020)),
    rgba(7,14,28,.74);
  text-align:left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.cms-step-card:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), .38);
  box-shadow: var(--cms-glow);
}

.cms-step-card .emoji{
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 15px;
  border:1px solid rgba(var(--accent-rgb), .25);
  background: rgba(var(--accent-rgb), .09);
  font-size:20px;
  line-height:1;
}

.cms-step-card strong{
  display:block;
  text-transform:uppercase;
  letter-spacing:.035em;
  font-size:14px;
  line-height:1.15;
}

.cms-step-card span:not(.emoji){
  display:block;
  margin-top:5px;
  color:rgba(248,252,255,.69);
  line-height:1.45;
  font-size:14px;
}

.cms-tool-panel{
  position:relative;
  overflow:hidden;
  margin-top: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--cms-border-accent);
  background:
    radial-gradient(760px 320px at 16% 0%, rgba(var(--accent-rgb), .14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.018)),
    var(--cms-surface);
  box-shadow: 0 22px 70px rgba(0,0,0,.38);
}

.cms-job-summary{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-bottom:14px;
}

.cms-tool-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 18px;
  align-items:start;
}

.cms-tool-app,
.cms-result-card,
.cms-related-box,
.cms-info-card{
  border-radius: 20px;
  border: 1px solid var(--cms-border);
  background: var(--cms-surface-soft);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.cms-tool-app:hover,
.cms-result-card:hover,
.cms-related-box:hover,
.cms-info-card:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), .24);
  background:
    radial-gradient(420px 190px at 18% 0%, rgba(var(--accent-rgb), .075), transparent 70%),
    var(--cms-surface-soft);
  box-shadow: var(--cms-glow);
}

.cms-tool-app,
.cms-result-card{
  padding: 16px;
  text-align:left;
  font-size:16px;
}

.cms-result-card{
  position:sticky;
  top:calc(var(--navH, 76px) + 14px);
}

.cms-result-card.has-output{
  border-color: rgba(var(--accent-rgb), .26);
  background:
    radial-gradient(520px 240px at 50% 0%, rgba(var(--accent-rgb), .115), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.022)),
    rgba(7,14,28,.80);
}

.cms-example-box{
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--cms-border);
  background: rgba(0,0,0,.18);
}

.cms-example-box h3,
.cms-result-card h3,
.cms-related-box h3,
.cms-info-card h2{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.045em;
  line-height:1.12;
}

.cms-example-box h3,
.cms-result-card h3{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:32px;
  color:rgba(248,252,255,.96);
  font-size:clamp(18px, 1.8vw, 23px);
}

.cms-example-box h3::before,
.cms-result-card h3::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:999px;
  background:rgb(var(--accent-rgb));
  box-shadow:0 0 16px rgba(var(--accent-rgb), .58);
}

.cms-example-box pre,
.cms-output{
  margin: 10px 0 0;
  min-height: 84px;
  overflow:auto;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.24);
  color: rgba(248,252,255,.90);
  font-size: 14px;
  line-height: 1.62;
  text-align:left;
}

.cms-output{
  display:block;
}

.cms-output-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:14px 0 0;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(var(--accent-rgb), .16);
  background:rgba(var(--accent-rgb), .055);
}

.cms-output-label span,
.cms-output-label small{
  display:inline-flex;
  align-items:center;
  min-width:0;
}

.cms-output-label span{
  color:rgba(248,252,255,.94);
  font-size:12px;
  font-weight:1000;
  line-height:1.15;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.cms-output-label span::before{
  content:"";
  width:8px;
  height:8px;
  margin-right:8px;
  border-radius:999px;
  background:rgb(var(--accent-rgb));
  box-shadow:0 0 16px rgba(var(--accent-rgb), .55);
  flex:0 0 auto;
}

.cms-output-label small{
  color:rgba(248,252,255,.62);
  font-size:12px;
  font-weight:800;
  line-height:1.25;
  text-align:right;
}

.cms-output-pre{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  color:rgba(248,252,255,.90);
  font: inherit;
  font-size:14px;
  line-height:1.62;
}

.cms-text-output{
  display:grid;
  gap:10px;
  white-space:normal;
}

.cms-text-title{
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  font-size:clamp(17px, 1.6vw, 21px);
  font-weight:1000;
  line-height:1.2;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.cms-text-title::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgb(var(--accent-rgb));
  box-shadow:0 0 16px rgba(var(--accent-rgb), .62);
  flex:0 0 auto;
}

.cms-text-section{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(var(--accent-rgb), .15);
  background:
    radial-gradient(280px 120px at 12% 0%, rgba(var(--accent-rgb), .075), transparent 70%),
    rgba(255,255,255,.030);
}

.cms-text-section b{
  display:block;
  color:rgba(248,252,255,.92);
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.cms-text-section span{
  display:block;
  margin-top:7px;
  color:rgba(248,252,255,.74);
  white-space:pre-wrap;
  line-height:1.62;
}

.cms-next-action{
  margin-top: 12px;
  padding: 14px;
  border-radius: 17px;
  border: 1px solid rgba(var(--accent-rgb), .18);
  background:
    radial-gradient(280px 130px at 12% 0%, rgba(var(--accent-rgb), .14), transparent 68%),
    rgba(255,255,255,.035);
}

.cms-next-action strong{
  display: block;
  text-align:center;
  color: rgba(248,252,255,.94);
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: 13px;
  line-height: 1.15;
}

.cms-next-action span{
  display: block;
  margin-top: 7px;
  color: rgba(248,252,255,.72);
  line-height: 1.58;
  font-size: 14px;
  text-align:center;
}

.cms-next-chips{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
  margin-top:10px;
}

.cms-next-chips a{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(var(--accent-rgb), .20);
  background:rgba(var(--accent-rgb), .075);
  color:rgba(248,252,255,.88);
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  line-height:1.15;
  transition:
    transform .16s var(--cms-ease),
    border-color .16s var(--cms-ease),
    background .16s var(--cms-ease),
    color .16s var(--cms-ease);
}

.cms-next-chips a:hover,
.cms-next-chips a:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(var(--accent-rgb), .38);
  background:rgba(var(--accent-rgb), .13);
  color:rgba(255,255,255,.96);
}

.cms-quality-action{
  margin-top:10px;
  padding:14px;
  border-radius:17px;
  border:1px solid rgba(var(--accent-rgb), .16);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), .075), rgba(255,255,255,.026)),
    rgba(0,0,0,.10);
}

.cms-quality-action strong{
  display:block;
  text-align:center;
  color:rgba(248,252,255,.94);
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.cms-quality-action ul{
  margin:11px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  list-style:none;
}

.cms-quality-action li{
  position:relative;
  padding:10px 11px 10px 28px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.085);
  background:rgba(255,255,255,.026);
  color:rgba(248,252,255,.72);
  line-height:1.48;
  font-size:13.5px;
  text-align:left;
}

.cms-quality-action li::before{
  content:"";
  position:absolute;
  left:12px;
  top:1.05em;
  width:6px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 14px rgba(var(--accent-rgb), .42);
}

.cms-output-pack{
  display: grid;
  gap: 12px;
}

.serp-pack{
  padding:15px;
  border-radius:19px;
  border:1px solid rgba(var(--accent-rgb), .20);
  background:
    radial-gradient(360px 190px at 10% 0%, rgba(var(--accent-rgb), .14), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.064), rgba(255,255,255,.025)),
    rgba(0,0,0,.18);
}

.serp-url{
  color:rgba(147,255,220,.82);
  font-size:13px;
  line-height:1.35;
  overflow-wrap:anywhere;
}

.serp-title{
  color:rgba(246,250,255,.96);
  font-size:clamp(18px, 2.2vw, 22px);
  line-height:1.28;
  font-weight:1000;
  letter-spacing:.01em;
}

.serp-desc{
  color:rgba(248,252,255,.74);
  font-size:14.5px;
  line-height:1.62;
}

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

.cms-quality-card{
  padding:12px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
}

.cms-quality-card strong,
.cms-quality-card span{
  display:block;
}

.cms-quality-card strong{
  color:rgba(248,252,255,.92);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.cms-quality-card span{
  margin-top:7px;
  color:rgba(248,252,255,.72);
  line-height:1.54;
  font-size:13.5px;
}

.cms-result-hero{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb), .20);
  background:
    radial-gradient(420px 190px at 14% 0%, rgba(var(--accent-rgb), .18), transparent 70%),
    linear-gradient(145deg, rgba(255,255,255,.070), rgba(255,255,255,.024)),
    rgba(0,0,0,.16);
}

.cms-result-hero span{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .20);
  background: rgba(var(--accent-rgb), .08);
  color: rgba(248,252,255,.78);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.cms-result-hero strong{
  display: block;
  margin-top: 12px;
  color: rgba(248,252,255,.96);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
}

.cms-output-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cms-output-cards article,
.cms-output-list{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(260px 110px at 12% 0%, rgba(var(--accent-rgb), .08), transparent 70%),
    rgba(255,255,255,.035);
}

.cms-output-cards b,
.cms-output-list b{
  display: block;
  color: rgba(248,252,255,.92);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cms-output-cards span,
.cms-output-list span{
  display: block;
  margin-top: 7px;
  color: rgba(248,252,255,.72);
  line-height: 1.55;
  font-size: 14px;
}

.cms-output-list span{
  max-height: 280px;
  overflow:auto;
  padding-right: 3px;
}

.cms-example-options{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.cms-example-option{
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 13px;
  border: 1px solid rgba(var(--accent-rgb), .18);
  background: rgba(var(--accent-rgb), .055);
  color: var(--cms-text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  cursor:pointer;
  text-align:center;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.cms-example-option:hover,
.cms-example-option.active{
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), .42);
  background: rgba(var(--accent-rgb), .12);
}

.cms-form-grid{
  display:grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.cms-field{
  display:grid;
  gap: 8px;
  grid-column: span 6;
}

.cms-field.full,
.cms-field.type-text,
.cms-field.type-url,
.cms-field.type-search,
.cms-field.type-email,
.cms-field.type-textarea{
  grid-column: 1 / -1;
}

.cms-field label{
  color: rgba(248,252,255,.88);
  font-size: 13.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.cms-field input,
.cms-field select,
.cms-field textarea{
  width:100%;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.028)),
    rgba(2,8,20,.58);
  color: rgba(248,252,255,.92);
  outline:none;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  caret-color: rgb(var(--accent-rgb));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 10px 26px rgba(0,0,0,.16);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cms-field input:hover,
.cms-field select:hover,
.cms-field textarea:hover{
  border-color: rgba(var(--accent-rgb), .28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.034)),
    rgba(2,8,20,.66);
}

.cms-field textarea{
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.cms-field input:focus,
.cms-field select:focus,
.cms-field textarea:focus{
  border-color: rgba(var(--accent-rgb), .45);
  box-shadow:
    0 0 0 4px rgba(var(--accent-rgb), .12),
    0 0 0 1px rgba(var(--accent-rgb), .24) inset,
    0 16px 38px rgba(0,0,0,.22);
  transform: translateY(-1px);
}

.cms-tool-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 14px auto 0;
  align-items:center;
  justify-content:center;
  max-width:620px;
}

.cms-tool-actions .btn{
  min-height: 46px;
  border-radius: 15px;
  font-weight: 1000;
  flex: 1 1 160px;
  min-width: 150px;
  white-space: nowrap;
}

.cms-tool-actions .btn:hover{
  transform: translateY(-2px);
}

.cms-result-status{
  margin-top: 9px;
  color: rgba(248,252,255,.70);
  line-height: 1.55;
  text-align:center;
  font-size:15px;
}

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

.cms-input-warnings{
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), .24);
  background:
    radial-gradient(260px 120px at 0 0, rgba(var(--accent-rgb), .11), transparent 70%),
    rgba(var(--accent-rgb), .052);
  color: rgba(248,252,255,.82);
}

.cms-input-warnings[hidden]{
  display:none !important;
}

.cms-input-warnings strong{
  display:block;
  color:rgba(255,246,220,.94);
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.cms-input-warnings ul{
  margin:9px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:7px;
}

.cms-input-warnings li{
  position:relative;
  padding-left:15px;
  color:rgba(248,252,255,.74);
  font-size:13px;
  line-height:1.45;
}

.cms-input-warnings li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:6px;
  height:6px;
  border-radius:999px;
  background:rgb(var(--accent-rgb));
}

.cms-metric{
  padding: 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(190px 92px at 18% 0%, rgba(var(--accent-rgb), .08), transparent 70%),
    rgba(255,255,255,.035);
  text-align:center;
}

.cms-metric span{
  display:block;
  color:rgba(248,252,255,.63);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.cms-metric strong{
  display:block;
  margin-top: 5px;
  color: rgba(248,252,255,.94);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height:1.18;
  word-break:break-word;
}

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

.cms-related-box{
  padding: 14px;
}

.cms-related-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 12px;
}

.cms-related-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius:999px;
  border:1px solid rgba(var(--accent-rgb), .20);
  background: rgba(var(--accent-rgb), .065);
  color: rgba(248,252,255,.86);
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.cms-related-links a:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--accent-rgb), .13);
}

.cms-info-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.cms-info-card{
  padding: 18px;
}

.cms-info-card p{
  margin:10px 0 0;
  color:rgba(248,252,255,.72);
  line-height:1.78;
}

.cms-faq details{
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.030);
}

.cms-faq summary{
  cursor:pointer;
  color:rgba(248,252,255,.92);
  font-weight:900;
}

.cms-faq p{
  margin: 8px 0 0;
}

.cms-query-grid{
  display:flex;
  flex-wrap:wrap;
  gap: 9px;
  margin-top: 12px;
}

.cms-query-grid span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding: 8px 10px;
  border-radius:999px;
  border:1px solid rgba(var(--accent-rgb), .18);
  background:rgba(var(--accent-rgb), .06);
  color:rgba(248,252,255,.78);
  font-size:13px;
  font-weight:800;
}

.cms-ops-strip{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}

.cms-ops-strip article{
  min-height:156px;
  display:grid;
  align-content:start;
  gap:10px;
  padding:17px;
  border-radius:22px;
  border:1px solid rgba(var(--accent-rgb), .18);
  background:
    radial-gradient(360px 160px at 18% 0%, rgba(var(--accent-rgb), .12), transparent 70%),
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.020)),
    rgba(5,12,26,.66);
  box-shadow: 0 18px 54px rgba(0,0,0,.24);
}

.cms-ops-strip article > span{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  border:1px solid rgba(var(--accent-rgb), .24);
  background:rgba(var(--accent-rgb), .09);
  font-size:20px;
}

.cms-ops-strip strong{
  color:#fff;
  font-size:clamp(17px, 1.3vw, 21px);
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.028em;
}

.cms-ops-strip p{
  margin:0;
  color:rgba(248,252,255,.70);
  line-height:1.62;
}

.cms-diff-line{
  display:block;
  padding: 4px 8px;
  border-radius: 8px;
}

.cms-diff-add{ background: rgba(16,185,129,.14); color:#bbf7d0; }
.cms-diff-del{ background: rgba(239,68,68,.14); color:#fecaca; }
.cms-diff-same{ opacity:.72; }

@media (max-width: 980px){
  .cms-tool-grid,
  .cms-related,
  .cms-info-grid,
  .cms-ops-strip{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px){
  .cms-form-grid,
  .cms-metrics{
    grid-template-columns: 1fr;
  }

  .cms-field{
    grid-column: 1 / -1;
  }

  .cms-step-card{
    max-width: 100%;
  }

  .cms-tool-actions .btn{
    width: 100%;
    justify-content:center;
  }

  .cms-example-options{
    grid-template-columns: 1fr;
  }

  .cms-output-cards{
    grid-template-columns: 1fr;
  }

  .cms-quality-grid{
    grid-template-columns: 1fr;
  }

  .cms-output-label{
    align-items:flex-start;
    flex-direction:column;
  }

  .cms-output-label small{
    text-align:left;
  }
}

@media (max-width: 820px), (pointer: coarse){
  .cms-tool-panel{
    margin-top: 12px;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
  }

  .cms-tool-grid,
  .cms-related,
  .cms-info-grid,
  .cms-ops-strip{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cms-tool-app,
  .cms-result-card,
  .cms-related-box,
  .cms-info-card,
  .cms-ops-strip article{
    border-radius: 18px;
  }

  .cms-result-card{
    position:relative;
    top:auto;
  }

  .cms-example-box pre,
  .cms-output{
    max-height: 300px;
    -webkit-overflow-scrolling: touch;
  }

  .cms-field input,
  .cms-field select,
  .cms-field textarea{
    box-shadow: none;
    transform: none !important;
  }

  .cms-field textarea{
    min-height: 132px;
  }

  .cms-result-status{
    font-size:14px;
    line-height:1.45;
    margin-top:8px;
  }

  .cms-tool-actions{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width:none;
  }

  .cms-tool-actions .btn,
  .cms-example-option,
  .cms-related-links a{
    touch-action: manipulation;
  }

  .cms-output-cards{
    grid-template-columns: 1fr;
  }

  .cms-quality-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .cms-tool-actions{
    grid-template-columns: 1fr;
  }

  .cms-tool-actions .btn{
    width: 100%;
  }
}

/* v15: premium app-like tool runtime, local memory and consistent interaction states. */
:root{
  --cms-radius: 16px;
  --cms-radius-sm: 10px;
  --cms-ease: cubic-bezier(.2,.8,.2,1);
  --cms-shadow-hover: 0 18px 46px rgba(0,0,0,.30), 0 0 28px rgba(var(--accent-rgb), .10);
}

.cms-tool-body{
  text-rendering: optimizeLegibility;
}

.cms-tool-page{
  padding-top: clamp(10px, 2vw, 18px);
}

.cms-tool-title{
  letter-spacing: .006em;
}

.cms-tool-sub{
  color: rgba(248,252,255,.80);
  line-height: 1.48;
}

.cms-tool-trust{
  gap: 8px;
}

.cms-pill{
  min-height: 38px;
  border-radius: var(--cms-radius-sm);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .11), rgba(var(--accent-rgb), .045)),
    rgba(255,255,255,.026);
}

.cms-step-card,
.cms-tool-brief article,
.cms-job-summary article,
.cms-tool-panel,
.cms-tool-app,
.cms-result-card,
.cms-related-box,
.cms-info-card,
.cms-example-box,
.cms-text-section,
.cms-output,
.cms-example-box pre,
.cms-metric,
.cms-input-warnings,
.cms-next-action,
.cms-quality-action,
.cms-quality-action li,
.cms-ops-strip article{
  border-radius: var(--cms-radius) !important;
}

.cms-step-card,
.cms-tool-brief article,
.cms-job-summary article,
.cms-tool-app,
.cms-result-card,
.cms-related-box,
.cms-info-card,
.cms-ops-strip article{
  transition:
    transform .18s var(--cms-ease),
    border-color .18s var(--cms-ease),
    background .18s var(--cms-ease),
    box-shadow .18s var(--cms-ease);
}

.cms-tool-app:hover,
.cms-result-card:hover,
.cms-related-box:hover,
.cms-info-card:hover,
.cms-step-card:hover,
.cms-tool-brief article:hover,
.cms-job-summary article:hover{
  box-shadow: var(--cms-shadow-hover);
}

.cms-field input::placeholder,
.cms-field textarea::placeholder{
  color: rgba(248,252,255,.52);
}

.cms-field input,
.cms-field select,
.cms-field textarea{
  border-radius: 12px;
  border-color: rgba(255,255,255,.15);
  color: rgba(248,252,255,.96);
}

.cms-field label,
.cms-example-box h3,
.cms-result-card h3,
.cms-related-box h3,
.cms-info-card h2{
  letter-spacing: .025em;
}

.cms-result-status,
.cms-next-action span,
.cms-quality-action li,
.cms-output-cards span,
.cms-output-list span,
.cms-info-card p,
.cms-ops-strip p,
.cms-related-links a,
.cms-step-card span:not(.emoji){
  color: rgba(248,252,255,.78);
}

/* CMS box taxonomy: same Clickoz atmosphere, clearer visual hierarchy. */
.cms-tool-body{
  --cms-action-shadow: 0 32px 92px rgba(0,0,0,.46), 0 0 52px rgba(var(--accent-rgb), .12);
  --cms-flow-border: rgba(var(--accent-rgb), .18);
  --cms-support-border: rgba(255,255,255,.085);
}

.cms-tool-brief.cms-box-signal{
  max-width: 980px;
  margin: 14px auto 0;
  gap: 8px;
}

.cms-tool-brief.cms-box-signal article,
.cms-job-summary.cms-box-signal article{
  position: relative;
  min-height: 76px;
  padding: 10px 12px 10px 14px;
  border-color: rgba(var(--accent-rgb), .14);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .060), rgba(255,255,255,.018)),
    rgba(255,255,255,.026);
  box-shadow: none;
}

.cms-tool-brief.cms-box-signal article::before,
.cms-job-summary.cms-box-signal article::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:2px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--accent), transparent);
  opacity:.75;
}

.cms-tool-brief.cms-box-signal strong,
.cms-job-summary.cms-box-signal b{
  font-size: 11px;
  letter-spacing: .07em;
  color: rgba(248,252,255,.88);
}

.cms-tool-brief.cms-box-signal span,
.cms-job-summary.cms-box-signal span{
  margin-top: 6px;
  color: rgba(248,252,255,.66);
  font-size: 13px;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-tool-panel.cms-box-action{
  padding: clamp(14px, 2vw, 20px);
  border-color: rgba(var(--accent-rgb), .30);
  background:
    radial-gradient(820px 340px at 12% 0%, rgba(var(--accent-rgb), .18), transparent 64%),
    radial-gradient(600px 300px at 98% 4%, rgba(255,255,255,.070), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.070), rgba(255,255,255,.020)),
    rgba(5,12,26,.84);
  box-shadow: var(--cms-action-shadow);
}

.cms-tool-app.cms-box-action,
.cms-result-card.cms-box-action{
  border-color: rgba(255,255,255,.13);
  background:
    radial-gradient(520px 240px at 14% 0%, rgba(var(--accent-rgb), .090), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(4,10,23,.64);
}

.cms-result-card.cms-box-action{
  border-color: rgba(var(--accent-rgb), .22);
}

.cms-result-card.cms-box-action.has-output{
  border-color: rgba(var(--accent-rgb), .38);
  box-shadow: 0 22px 58px rgba(0,0,0,.34), 0 0 38px rgba(var(--accent-rgb), .13);
}

.cms-tool-workflow.cms-box-flow{
  margin-top: 12px;
  gap: 8px;
}

.cms-step-card.cms-box-flow,
.cms-related-box.cms-box-flow{
  border-color: var(--cms-flow-border);
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), .052), rgba(255,255,255,.018)),
    rgba(255,255,255,.022);
  box-shadow: none;
}

.cms-step-card.cms-box-flow{
  max-width: 330px;
  padding: 12px;
}

.cms-step-card.cms-box-flow .emoji{
  width: 38px;
  height: 38px;
  border-radius: 13px;
  opacity: .90;
}

.cms-step-card.cms-box-flow span:not(.emoji){
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-related.cms-box-flow{
  margin-top: 16px;
}

.cms-ops-strip.cms-box-support,
.cms-info-grid.cms-box-support{
  opacity: .92;
}

.cms-ops-strip.cms-box-support article,
.cms-info-grid.cms-box-support .cms-info-card{
  border-color: var(--cms-support-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.014)),
    rgba(255,255,255,.018);
  box-shadow: none;
}

.cms-info-grid.cms-box-support .cms-info-card p,
.cms-ops-strip.cms-box-support p{
  color: rgba(248,252,255,.64);
}

.cms-info-grid.cms-box-support .cms-info-card:not(.cms-faq) p{
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-result-card.cms-box-action .cms-output{
  border-color: rgba(var(--accent-rgb), .16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.020)),
    rgba(1,6,16,.38);
}

.cms-result-card.cms-box-action .cms-output-label{
  border-color: rgba(var(--accent-rgb), .22);
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), .105), rgba(255,255,255,.026));
}

.cms-output-pack{
  gap: 10px;
}

.cms-result-hero{
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--accent-rgb), .25);
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(var(--accent-rgb), .20), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.080), rgba(255,255,255,.026)),
    rgba(2,8,18,.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.cms-result-hero::after{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .62), transparent);
  opacity:.8;
}

.cms-result-hero strong{
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.42;
}

.cms-output-cards article,
.cms-output-list{
  border-color: rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.020)),
    rgba(2,8,18,.30);
}

.cms-output-list{
  border-left-color: rgba(var(--accent-rgb), .28);
}

.cms-output-list span{
  color: rgba(248,252,255,.82);
}

.cms-tool-feedback{
  position: sticky;
  top: calc(var(--navH, 72px) + 8px);
  z-index: 8;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--cms-radius-sm);
  background: rgba(var(--accent-rgb), .10);
  color: rgba(248,252,255,.95);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity .18s var(--cms-ease),
    transform .18s var(--cms-ease),
    max-height .18s var(--cms-ease),
    padding .18s var(--cms-ease),
    margin .18s var(--cms-ease),
    border-color .18s var(--cms-ease);
}

.cms-tool-feedback.show{
  max-height: 52px;
  margin: 0 0 10px;
  padding: 10px 12px;
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(var(--accent-rgb), .28);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.cms-tool-feedback[data-tone="warn"]{
  border-color: rgba(var(--accent-rgb), .34);
  background: rgba(var(--accent-rgb), .10);
}

.cms-local-history{
  display: grid;
  grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  padding: 11px;
  border-radius: var(--cms-radius);
  border: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(280px 120px at 0 0, rgba(var(--accent-rgb), .085), transparent 72%),
    rgba(255,255,255,.028);
}

.cms-local-history strong,
.cms-local-history span{
  display: block;
}

.cms-local-history strong{
  color: rgba(248,252,255,.94);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.cms-local-history > div:first-child span,
.cms-history-empty{
  margin-top: 4px;
  color: rgba(248,252,255,.62);
  font-size: 12px;
  font-weight: 800;
}

.cms-history-items{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.cms-history-chip{
  max-width: min(240px, 100%);
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .20);
  background: rgba(var(--accent-rgb), .070);
  color: rgba(248,252,255,.90);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform .16s var(--cms-ease), border-color .16s var(--cms-ease), background .16s var(--cms-ease);
}

.cms-history-chip span{
  display: inline;
  margin-right: 7px;
  color: rgb(var(--accent-rgb));
  font-size: 11px;
}

.cms-history-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--accent-rgb), .12);
}

.cms-shortcut-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 -2px;
}

.cms-shortcut-row span{
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.095);
  background: rgba(255,255,255,.030);
  color: rgba(248,252,255,.62);
  font-size: 11px;
  font-weight: 900;
}

.cms-output-empty{
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  border-radius: 12px;
  border: 1px dashed rgba(var(--accent-rgb), .22);
  background: rgba(var(--accent-rgb), .045);
}

.cms-output-empty b,
.cms-output-empty span{
  display: block;
}

.cms-output-empty b{
  color: rgba(248,252,255,.96);
  font-size: 15px;
}

.cms-output-empty span{
  max-width: 420px;
  color: rgba(248,252,255,.68);
  line-height: 1.5;
}

.cms-tool-actions .btn{
  transition:
    transform .16s var(--cms-ease),
    border-color .16s var(--cms-ease),
    box-shadow .16s var(--cms-ease),
    background .16s var(--cms-ease),
    filter .16s var(--cms-ease);
}

.cms-tool-actions .btn:hover,
.cms-tool-actions .btn:focus-visible{
  box-shadow: 0 12px 28px rgba(0,0,0,.20), 0 0 0 1px rgba(var(--accent-rgb), .16) inset;
}

.cms-tool-actions .btn[data-busy="true"]{
  opacity: .86;
  cursor: progress;
}

.cms-tool-actions .btn.is-copied{
  border-color: rgba(34,197,94,.48);
  background: rgba(34,197,94,.14);
}

.cms-tool-panel.is-running .cms-result-card::after{
  content: "";
  position: absolute;
  inset: auto 16px 16px 16px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .92), transparent);
  animation: cmsRunBar 1.05s linear infinite;
  opacity: .90;
}

@keyframes cmsRunBar{
  from{ transform: translateX(-55%); }
  to{ transform: translateX(55%); }
}

.cms-reveal{
  opacity:0;
  transform: translateY(10px);
  transition:
    opacity .24s var(--cms-ease, cubic-bezier(.2,.8,.2,1)) var(--cms-reveal-delay, 0ms),
    transform .24s var(--cms-ease, cubic-bezier(.2,.8,.2,1)) var(--cms-reveal-delay, 0ms);
}

.cms-reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

@media (max-width: 820px), (pointer: coarse){
  .cms-tool-page{
    width: min(100% - 20px, 1120px);
  }

  .cms-tool-hero{
    text-align: left;
    margin-bottom: 10px;
  }

  .cms-tool-hero .crumbs{
    justify-content: flex-start;
    margin-bottom: 8px;
  }

  .cms-tool-title{
    font-size: clamp(32px, 10.5vw, 42px);
    line-height: 1;
  }

  .cms-tool-sub{
    margin-top: 9px;
    font-size: 15.5px;
    line-height: 1.45;
  }

  .cms-tool-trust{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .cms-tool-trust::-webkit-scrollbar{
    display: none;
  }

  .cms-tool-brief,
  .cms-job-summary{
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cms-tool-brief::-webkit-scrollbar,
  .cms-job-summary::-webkit-scrollbar{
    display: none;
  }

  .cms-tool-brief.cms-box-signal article,
  .cms-job-summary.cms-box-signal article{
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
    min-height: 72px;
  }

  .cms-pill{
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .cms-tool-workflow{
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cms-tool-workflow::-webkit-scrollbar{
    display: none;
  }

  .cms-step-card{
    flex: 0 0 min(84vw, 330px);
    grid-template-columns: 36px 1fr;
    padding: 11px;
    scroll-snap-align: start;
  }

  .cms-step-card .emoji{
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .cms-tool-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: static;
    bottom: auto;
    z-index: 1;
    padding: 8px;
    border: 1px solid rgba(var(--accent-rgb), .18);
    border-radius: 14px;
    background: rgba(5,12,26,.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(0,0,0,.28);
  }

  .cms-next-chips{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:2px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }

  .cms-next-chips::-webkit-scrollbar{
    display:none;
  }

  .cms-next-chips a{
    flex:0 0 auto;
    scroll-snap-align:start;
    max-width:min(78vw, 260px);
    white-space:nowrap;
  }

  .cms-tool-actions .btn.primary{
    grid-column: 1 / -1;
  }

  .cms-tool-panel.cms-box-action{
    padding: 10px;
    border-radius: 20px !important;
  }

  .cms-tool-app.cms-box-action,
  .cms-result-card.cms-box-action{
    padding: 12px;
  }

  .cms-related.cms-box-flow{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cms-output-cards{
    grid-template-columns: 1fr;
  }

  .cms-result-hero{
    padding: 12px;
  }

  .cms-shortcut-row{
    display: none;
  }

  .cms-local-history{
    grid-template-columns: 1fr;
  }

  .cms-history-items{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .cms-history-items::-webkit-scrollbar{
    display: none;
  }

  .cms-history-chip{
    flex: 0 0 auto;
    max-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce){
  .cms-tool-panel.is-running .cms-result-card::after{
    animation: none;
  }

  .cms-reveal{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* v20: clearer output surface across all generated Clickoz tools. */
.cms-output:focus-visible{
  outline:2px solid rgba(var(--accent-rgb), .62);
  outline-offset:3px;
}

.cms-result-card.has-output .cms-output{
  border-color:rgba(var(--accent-rgb), .22);
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(var(--accent-rgb), .10), transparent 72%),
    rgba(0,0,0,.22);
}

.cms-output-label{
  align-items:flex-start;
}

.cms-output-label span{
  overflow-wrap:anywhere;
}

.cms-output-label small{
  max-width:44%;
}

.cms-next-action{
  text-align:left;
}

.cms-next-action strong,
.cms-next-action span{
  text-align:left;
}

.cms-next-chips{
  justify-content:flex-start;
}

.cms-quality-action summary{
  cursor:pointer;
  color:rgba(248,252,255,.94);
  font-size:12px;
  font-weight:1000;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.cms-output-empty{
  text-align:left;
}

@media (max-width: 620px){
  .cms-output-label{
    display:grid;
    grid-template-columns:1fr;
  }

  .cms-output-label small{
    max-width:100%;
    text-align:left;
  }

  .cms-next-chips{
    display:grid;
    grid-template-columns:1fr;
  }

  .cms-next-chips a{
    width:100%;
  }

  .cms-tool-actions{
    position:static !important;
    bottom:auto !important;
  }
}

/* v21: make generated tool output read like a result, not a cramped log. */
.cms-result-card.has-output .cms-output{
  padding:16px;
  border-radius:18px;
  color:rgba(248,252,255,.92);
  font-size:15px;
  line-height:1.68;
}

.cms-text-output{
  gap:12px;
}

.cms-text-section{
  padding:14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.050), rgba(255,255,255,.024)),
    rgba(0,0,0,.12);
}

.cms-text-section b{
  margin-bottom:8px;
}

.cms-text-body{
  margin:8px 0 0;
  color:rgba(248,252,255,.82);
  font-size:15px;
  line-height:1.68;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.cms-output-list span{
  max-height:none;
  overflow:visible;
  color:rgba(248,252,255,.80);
  font-size:14.5px;
  line-height:1.62;
}

.cms-result-hero strong{
  font-size:clamp(18px, 2vw, 24px);
  line-height:1.38;
}

.cms-output-pre{
  font-family:ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size:13.5px;
  line-height:1.66;
}

/* v23: clearer premium workbench layout for generated tools. */
.cms-tool-hero{
  max-width:1120px;
}

.cms-hero-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, 360px);
  gap:clamp(14px, 2.6vw, 28px);
  align-items:stretch;
  text-align:left;
}

.cms-hero-copy{
  min-width:0;
  align-self:center;
}

.cms-tool-kicker{
  margin:0 0 10px;
  color:rgb(var(--accent-rgb));
  font-size:12px;
  font-weight:1000;
  line-height:1.1;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.cms-tool-title{
  text-transform:none;
  letter-spacing:0;
  font-size:clamp(38px, 6vw, 68px);
  line-height:1.02;
}

.cms-tool-sub{
  max-width:720px;
  margin:12px 0 0;
}

.cms-tool-trust{
  justify-content:flex-start;
}

.cms-tool-promise{
  position:relative;
  overflow:hidden;
  display:grid;
  align-content:center;
  min-height:210px;
  padding:18px;
  border:1px solid rgba(var(--accent-rgb), .24);
  border-radius:18px;
  background:
    radial-gradient(420px 210px at 10% 0%, rgba(var(--accent-rgb), .16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.020)),
    rgba(5,12,26,.70);
  box-shadow:0 20px 54px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.cms-tool-promise::before{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .68), transparent);
}

.cms-tool-promise span,
.cms-workbench-meta span,
.cms-panel-heading span,
.cms-section-label span{
  color:rgb(var(--accent-rgb));
  font-size:11px;
  font-weight:1000;
  line-height:1.1;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.cms-tool-promise strong{
  display:block;
  margin-top:8px;
  color:#fff;
  font-size:clamp(18px, 2vw, 24px);
  line-height:1.25;
}

.cms-tool-promise p{
  margin:12px 0 0;
  color:rgba(248,252,255,.72);
  font-size:14px;
  line-height:1.55;
}

.cms-tool-brief.cms-box-signal{
  max-width:1120px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.cms-tool-brief.cms-box-signal article{
  min-height:96px;
  padding:14px;
}

.cms-tool-brief.cms-box-signal span{
  -webkit-line-clamp:3;
  font-size:13.5px;
  line-height:1.45;
}

.cms-workbench-head{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:14px;
  align-items:end;
  margin:0 0 16px;
  padding:0 0 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.cms-workbench-head h2{
  margin:0;
  color:#fff;
  font-size:clamp(24px, 3vw, 36px);
  line-height:1.08;
}

.cms-workbench-head p{
  max-width:680px;
  margin:8px 0 0;
  color:rgba(248,252,255,.72);
  font-size:15px;
  line-height:1.55;
}

.cms-workbench-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.cms-workbench-meta span{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border:1px solid rgba(var(--accent-rgb), .18);
  border-radius:999px;
  background:rgba(var(--accent-rgb), .065);
  color:rgba(248,252,255,.82);
  letter-spacing:.04em;
}

.cms-tool-grid{
  grid-template-columns:minmax(0, 1.05fr) minmax(340px, .95fr);
}

.cms-tool-app.cms-box-action,
.cms-result-card.cms-box-action{
  padding:18px;
}

.cms-panel-heading{
  margin:0 0 14px;
  padding:0 0 12px;
  border-bottom:1px solid rgba(255,255,255,.085);
}

.cms-panel-heading h2{
  margin:7px 0 0;
  color:#fff;
  font-size:clamp(19px, 2vw, 26px);
  line-height:1.16;
  letter-spacing:0;
  text-transform:none;
}

.cms-panel-heading p,
.cms-panel-note,
.cms-section-label small{
  margin:7px 0 0;
  color:rgba(248,252,255,.66);
  font-size:13.5px;
  line-height:1.48;
}

.cms-example-box{
  margin-bottom:14px;
}

.cms-example-box h3{
  justify-content:flex-start;
  min-height:auto;
  font-size:15px;
}

.cms-panel-note{
  display:block;
  margin-bottom:10px;
}

.cms-section-label{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  gap:4px 10px;
  align-items:center;
  margin:14px 0 10px;
  padding:11px 12px;
  border:1px solid rgba(var(--accent-rgb), .15);
  border-radius:14px;
  background:rgba(var(--accent-rgb), .045);
}

.cms-section-label strong{
  color:rgba(248,252,255,.94);
  font-size:13px;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.cms-section-label small{
  grid-column:1 / -1;
  margin:0;
}

.cms-result-card .cms-result-status{
  text-align:left;
}

.cms-example-sequence{
  margin:10px 0 0;
  padding:11px;
  border:1px solid rgba(var(--accent-rgb), .14);
  border-radius:14px;
  background:rgba(var(--accent-rgb), .045);
}

.cms-sequence-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:9px;
}

.cms-sequence-head strong{
  color:rgba(248,252,255,.94);
  font-size:12px;
  line-height:1.1;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.cms-sequence-head span{
  color:rgba(248,252,255,.58);
  font-size:12px;
  font-weight:800;
  text-align:right;
}

.cms-sequence-track{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}

.cms-sequence-step{
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.030);
  opacity:.88;
  animation:cmsSequenceIn .28s var(--cms-ease, ease) both;
  animation-delay:var(--seq-delay, 0ms);
}

.cms-sequence-step.is-active{
  border-color:rgba(var(--accent-rgb), .28);
  background:rgba(var(--accent-rgb), .070);
}

.cms-sequence-step b,
.cms-sequence-step span{
  display:block;
}

.cms-sequence-step b{
  color:rgba(248,252,255,.90);
  font-size:12px;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.cms-sequence-step span{
  margin-top:6px;
  color:rgba(248,252,255,.64);
  font-size:12.5px;
  line-height:1.35;
}

.cms-run-meter{
  display:grid;
  grid-template-columns:auto repeat(3, minmax(0, 1fr));
  gap:8px;
  align-items:center;
  margin:12px 0 0;
  padding:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.028);
}

.cms-run-meter strong{
  color:rgba(248,252,255,.68);
  font-size:11px;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.cms-run-meter span{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:rgba(248,252,255,.62);
  font-size:12px;
  font-weight:900;
  line-height:1.15;
  text-align:center;
}

.cms-run-meter i{
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(248,252,255,.24);
}

.cms-run-meter span.is-active{
  border-color:rgba(var(--accent-rgb), .28);
  color:rgba(248,252,255,.90);
  background:rgba(var(--accent-rgb), .070);
}

.cms-run-meter span.is-active i{
  background:rgb(var(--accent-rgb));
  box-shadow:0 0 12px rgba(var(--accent-rgb), .62);
}

.cms-local-history summary{
  cursor:pointer;
  list-style:none;
}

.cms-local-history summary::-webkit-details-marker{
  display:none;
}

@keyframes cmsSequenceIn{
  from{opacity:0; transform:translateY(6px);}
  to{opacity:.88; transform:translateY(0);}
}

@media (max-width: 940px){
  .cms-hero-layout,
  .cms-workbench-head,
  .cms-tool-grid{
    grid-template-columns:1fr;
  }

  .cms-tool-promise{
    min-height:auto;
  }

  .cms-workbench-meta{
    justify-content:flex-start;
  }

  .cms-result-card{
    position:relative;
    top:auto;
  }
}

@media (max-width: 720px){
  .cms-tool-title{
    font-size:clamp(32px, 10vw, 46px);
  }

  .cms-workbench-head h2{
    font-size:24px;
  }

  .cms-sequence-track,
  .cms-run-meter{
    grid-template-columns:1fr;
  }

  .cms-run-meter strong{
    text-align:left;
  }

  .cms-tool-app.cms-box-action,
  .cms-result-card.cms-box-action{
    padding:12px;
  }
}

/* v25: stronger generated tool hero support area and unclipped SEO route cards. */
body.cms-tool-body .cms-tool-page{
  width:min(100% - 28px, 1180px);
}

body.cms-tool-body .cms-tool-brief.cms-box-signal{
  max-width:1120px !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  align-items:stretch !important;
  gap:12px !important;
}

body.cms-tool-body .cms-tool-brief.cms-box-signal article{
  min-height:136px !important;
  display:grid !important;
  align-content:start !important;
}

body.cms-tool-body .cms-tool-brief.cms-box-signal span,
body.cms-tool-body .cms-step-card.cms-box-flow span:not(.emoji),
body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card p,
body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card:not(.cms-faq) p,
body.cms-tool-body .cms-ops-strip.cms-box-support p{
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
  text-overflow:clip !important;
}

body.cms-tool-body .cms-workbench-head{
  grid-template-columns:1fr !important;
  justify-items:center !important;
  text-align:center !important;
  gap:14px !important;
}

body.cms-tool-body .cms-workbench-head p{
  margin-left:auto !important;
  margin-right:auto !important;
}

body.cms-tool-body .cms-workbench-meta{
  width:min(100%, 620px) !important;
  justify-content:center !important;
  align-items:center !important;
  gap:10px !important;
}

body.cms-tool-body .cms-workbench-meta span{
  min-width:160px !important;
  justify-content:center !important;
  padding:9px 14px !important;
  border-color:rgba(var(--accent-rgb), .24) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), .18), transparent 65%),
    rgba(var(--accent-rgb), .070) !important;
}

body.cms-tool-body .cms-related.cms-box-flow,
body.cms-tool-body .cms-ops-strip.cms-box-support,
body.cms-tool-body .cms-info-grid.cms-box-support{
  max-width:1120px !important;
}

body.cms-tool-body .cms-ops-strip.cms-box-support{
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  align-items:stretch !important;
}

body.cms-tool-body .cms-ops-strip.cms-box-support article{
  min-height:178px !important;
  gap:12px !important;
}

body.cms-tool-body .cms-info-grid.cms-box-support{
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  align-items:stretch !important;
}

body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card{
  min-height:210px !important;
  display:flex !important;
  flex-direction:column !important;
}

body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card p,
body.cms-tool-body .cms-ops-strip.cms-box-support p{
  font-size:clamp(14px, .9vw, 15.5px) !important;
  line-height:1.66 !important;
}

body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card.cms-search-card{
  grid-column:1 / -1 !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:minmax(260px, .8fr) minmax(0, 1.2fr) !important;
  gap:16px !important;
  align-items:start !important;
  background:
    radial-gradient(620px 230px at 0 0, rgba(var(--accent-rgb), .12), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.016)),
    rgba(255,255,255,.020) !important;
}

body.cms-tool-body .cms-search-actions{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:10px !important;
  align-self:stretch !important;
}

body.cms-tool-body .cms-search-actions a{
  min-height:46px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:10px 14px !important;
  border-radius:14px !important;
  border:1px solid rgba(var(--accent-rgb), .26) !important;
  color:rgba(248,252,255,.92) !important;
  text-decoration:none !important;
  font-weight:1000 !important;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .055)),
    rgba(3,10,23,.56) !important;
  box-shadow:0 0 24px rgba(var(--accent-rgb), .10) !important;
  transition:transform .16s var(--cms-ease, ease), border-color .16s var(--cms-ease, ease), background .16s var(--cms-ease, ease);
}

body.cms-tool-body .cms-search-actions a:hover,
body.cms-tool-body .cms-search-actions a:focus-visible{
  transform:translateY(-1px) !important;
  border-color:rgba(var(--accent-rgb), .44) !important;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .085)),
    rgba(3,10,23,.68) !important;
}

body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card.cms-search-card .cms-query-chips{
  grid-column:1 / -1 !important;
  margin-top:0 !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card.cms-search-card .cms-query-chips span{
  min-height:34px !important;
  color:rgba(248,252,255,.82) !important;
}

@media (max-width: 940px){
  body.cms-tool-body .cms-info-grid.cms-box-support,
  body.cms-tool-body .cms-ops-strip.cms-box-support{
    grid-template-columns:1fr !important;
  }

  body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card.cms-search-card{
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 820px), (pointer: coarse){
  body.cms-tool-body .cms-tool-page{
    width:min(100% - 20px, 1120px) !important;
  }

  body.cms-tool-body .cms-tool-brief.cms-box-signal{
    display:grid !important;
    grid-template-columns:1fr !important;
    overflow:visible !important;
    padding:0 !important;
    gap:10px !important;
  }

  body.cms-tool-body .cms-tool-brief.cms-box-signal article{
    flex:initial !important;
    width:100% !important;
    min-height:0 !important;
    scroll-snap-align:unset !important;
  }

  body.cms-tool-body .cms-workbench-meta{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }

  body.cms-tool-body .cms-workbench-meta span{
    min-width:0 !important;
    padding-inline:8px !important;
  }

  body.cms-tool-body .cms-related-links,
  body.cms-tool-body .cms-query-chips{
    flex-wrap:wrap !important;
    overflow:visible !important;
  }

  body.cms-tool-body .cms-related-links a,
  body.cms-tool-body .cms-query-chips span{
    flex:1 1 160px !important;
    min-width:0 !important;
    white-space:normal !important;
  }
}

@media (max-width: 560px){
  body.cms-tool-body .cms-workbench-meta,
  body.cms-tool-body .cms-search-actions{
    grid-template-columns:1fr !important;
  }

  body.cms-tool-body .cms-workbench-meta span,
  body.cms-tool-body .cms-search-actions a{
    width:100% !important;
  }

  body.cms-tool-body .cms-info-grid.cms-box-support .cms-info-card{
    min-height:0 !important;
  }
}
