.tool-upload small{color:#71847a}.tool-existing-files{display:grid;gap:7px;padding:14px;border:1px solid rgba(151,186,166,.16);border-radius:8px}.tool-existing-files>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#91a399;font-size:.66rem}.tool-existing-files form{margin:0}.tool-existing-files button{padding:6px 8px;border:1px solid rgba(255,111,125,.3);border-radius:5px;background:transparent;color:#ff8994;cursor:pointer}.tool-downloads{padding:0 38px 38px}.tool-downloads>span{color:#35f27a;font-size:.57rem;font-weight:800;letter-spacing:.15em}.tool-downloads h2{color:#fff}.tool-downloads>a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid rgba(151,186,166,.17);border-radius:8px;color:#dce8e1!important;text-decoration:none!important}.tool-downloads>a div{display:flex;flex-direction:column;gap:4px}.tool-downloads small{color:#70847a}.tool-downloads b{color:#35f27a;font-size:.66rem}@media(max-width:780px){.tool-downloads{padding:0 24px 24px}.tool-existing-files>div{align-items:flex-start;flex-direction:column}}

/* ═══════════════════════════════════════════════════════════════════
   SECURITY TOOL DETAIL PAGE — professional redesign
   ═══════════════════════════════════════════════════════════════════ */
.tool-detail{width:min(900px,calc(100% - 32px));margin:auto;padding:52px 0 90px;color:#eaf5ef}

.tool-back{
  display:inline-flex;align-items:center;gap:7px;margin-bottom:28px;
  color:#82968b!important;font-size:.82rem;text-decoration:none!important;
  transition:color .15s;
}
.tool-back:hover{color:#35f27a!important}
.tool-back svg{flex-shrink:0}

.tool-detail-card{
  overflow:hidden;border:1px solid rgba(151,186,166,.17);
  border-radius:16px;background:#0a1511;
}

/* Header */
.tool-detail-header{padding:36px clamp(24px,5vw,52px);border-bottom:1px solid rgba(151,186,166,.14)}
.tool-detail-meta-top{display:flex;align-items:center;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.tool-category-badge{
  display:inline-block;padding:4px 10px;border-radius:99px;
  background:rgba(53,242,122,.1);border:1px solid rgba(53,242,122,.3);
  color:#35f27a;font-size:.6rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
}
.tool-status-badge{
  display:inline-block;padding:4px 10px;border-radius:99px;
  font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.tool-status-published{background:rgba(53,242,122,.1);border:1px solid rgba(53,242,122,.3);color:#35f27a}
.tool-status-draft{background:rgba(255,184,76,.1);border:1px solid rgba(255,184,76,.3);color:#ffb84c}

.tool-detail-title{
  margin:0 0 12px;color:#fff;
  font:600 clamp(1.8rem,5vw,3.2rem)/1.08 "Space Grotesk",sans-serif!important;
  letter-spacing:-.04em;
}
.tool-detail-summary{
  max-width:680px;margin:0 0 24px;color:#8fa298;font-size:1rem;line-height:1.65;
}

/* Action buttons */
.tool-detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tool-btn-tool,.tool-btn-category,.tool-btn-edit{
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 15px;border-radius:8px;font-size:.75rem;font-weight:700;
  text-decoration:none!important;cursor:pointer;transition:.15s;
}
.tool-btn-tool{
  background:#35f27a;color:#041109!important;
}
.tool-btn-tool:hover{background:#6af0a1;transform:translateY(-1px)}
.tool-btn-category{
  background:transparent;border:1px solid rgba(151,186,166,.22);color:#9bb0a5!important;
}
.tool-btn-category:hover{border-color:rgba(53,242,122,.4);color:#35f27a!important}
.tool-btn-edit{
  background:transparent;border:1px solid rgba(255,184,76,.3);color:#ffb84c!important;
}
.tool-btn-edit:hover{border-color:rgba(255,184,76,.6);background:rgba(255,184,76,.06)}
.tool-btn-edit svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}

/* Info bar */
.tool-info-bar{
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  padding:14px clamp(24px,5vw,52px);
  border-bottom:1px solid rgba(151,186,166,.1);
  background:rgba(255,255,255,.015);
}
.tool-info-item{
  display:flex;align-items:center;gap:6px;
  color:#82968b;font-size:.72rem;
}
.tool-info-item svg{flex-shrink:0;opacity:.6}
.tool-info-link{color:#35f27a!important;text-decoration:none}
.tool-info-link:hover{text-decoration:underline}
.tool-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-bottom:1px solid rgba(151,186,166,.1);background:rgba(151,186,166,.1)}
.tool-facts>div{display:flex;min-width:0;align-items:center;gap:11px;padding:17px 18px;background:#09140f}.tool-facts svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:#35f27a;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-facts span{display:flex;min-width:0;flex-direction:column;gap:3px;color:#647a6f;font-size:.56rem;letter-spacing:.08em;text-transform:uppercase}.tool-facts strong{overflow:hidden;color:#dce9e2;font-size:.68rem;letter-spacing:0;text-overflow:ellipsis;text-transform:none;white-space:nowrap}
.tool-resource-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:28px clamp(24px,5vw,52px) 0;padding:18px;border:1px solid rgba(53,242,122,.2);border-radius:13px;background:linear-gradient(135deg,rgba(53,242,122,.07),rgba(255,255,255,.015))}.tool-resource-icon{display:grid;width:43px;height:43px;place-items:center;border-radius:11px;background:rgba(53,242,122,.11);color:#35f27a}.tool-resource-icon svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8}.tool-resource-card>div{display:flex;min-width:0;flex-direction:column;gap:4px}.tool-resource-card small{color:#35f27a;font-size:.54rem;font-weight:800;letter-spacing:.15em}.tool-resource-card strong{overflow:hidden;color:#ecf6f0;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.tool-resource-card>div span{color:#748a7f;font-size:.63rem}.tool-resource-card>a{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border-radius:8px;background:#35f27a;color:#041109!important;font-size:.68rem;font-weight:800;text-decoration:none!important}.tool-resource-card>a svg{width:15px;fill:none;stroke:currentColor;stroke-width:2}
.tool-section-title svg{width:19px;height:19px;fill:none;stroke:#35f27a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tool-description-body blockquote{margin:20px 0;padding:14px 18px;border-left:3px solid #35f27a;background:rgba(53,242,122,.05);color:#c8d8cf}.tool-description-body ul,.tool-description-body ol{padding-left:24px}.tool-description-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.tool-description-body th,.tool-description-body td{padding:10px 12px;border:1px solid rgba(151,186,166,.16);text-align:left}.tool-description-body th{background:rgba(53,242,122,.07);color:#eef8f2}.tool-file-download{display:inline-flex;align-items:center;gap:7px}.tool-file-download svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}

/* Description section */
.tool-description-section{padding:36px clamp(24px,5vw,52px);border-bottom:1px solid rgba(151,186,166,.1)}
.tool-section-title{
  display:flex;align-items:center;gap:8px;margin:0 0 18px;
  color:#fff;font-size:.9rem;font-weight:700;letter-spacing:.02em;
}
.tool-description-body{color:#b8c8bf;font-size:.88rem;line-height:1.8}
.tool-description-body h1,.tool-description-body h2,.tool-description-body h3{margin:1.4em 0 .5em;color:#fff}
.tool-description-body h1:first-child,.tool-description-body h2:first-child,.tool-description-body h3:first-child{margin-top:0}
.tool-description-body p{margin:0 0 1em}
.tool-description-body p:last-child{margin-bottom:0}
.tool-description-body a{color:#35f27a}
.tool-description-body pre{
  overflow:auto;padding:16px;border-radius:8px;
  background:#040c08;border:1px solid rgba(151,186,166,.14);color:#a7f5c2;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;
}
.tool-description-body code{padding:.15em .35em;border-radius:4px;background:#06100c;color:#7fffae;font-size:.88em}
.tool-description-body pre code{padding:0;background:transparent}

/* Downloads section */
.tool-downloads-section{padding:36px clamp(24px,5vw,52px)}
.tool-download-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:20px;height:20px;padding:0 5px;border-radius:99px;
  background:rgba(53,242,122,.15);color:#35f27a;
  font-size:.62rem;font-weight:800;
}
.tool-files-list{display:flex;flex-direction:column;gap:10px}
.tool-file-card{
  display:flex;align-items:center;gap:14px;padding:14px 16px;
  border:1px solid rgba(151,186,166,.16);border-radius:10px;
  background:rgba(255,255,255,.02);transition:border-color .15s,background .15s;
}
.tool-file-card:hover{border-color:rgba(53,242,122,.35);background:rgba(53,242,122,.03)}
.tool-file-icon{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;flex-shrink:0;border-radius:10px;
  background:rgba(53,242,122,.08);border:1px solid rgba(53,242,122,.2);
  color:#35f27a;
}
.tool-file-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.tool-file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tool-file-name{
  color:#d8e8e0;font-size:.82rem;font-weight:700;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.tool-file-meta{color:#6f877b;font-size:.65rem}
.tool-file-download{
  flex-shrink:0;padding:8px 14px;border-radius:7px;
  background:#35f27a;color:#041109!important;font-size:.72rem;font-weight:800;
  text-decoration:none!important;transition:background .15s,transform .12s;
}
.tool-file-download:hover{background:#6af0a1;transform:translateY(-1px)}

/* Empty state */
.tool-empty-state{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  padding:60px 24px;text-align:center;color:#6f877b;
}
.tool-empty-state svg{opacity:.3}
.tool-empty-state p{margin:0;font-size:.82rem}

/* Responsive */
@media(max-width:600px){
  .tool-detail{padding:30px 0 60px}
  .tool-detail-header,.tool-description-section,.tool-downloads-section{padding:24px 20px}
  .tool-info-bar{padding:12px 20px;gap:12px}
  .tool-detail-actions{gap:6px}
  .tool-btn-tool,.tool-btn-category,.tool-btn-edit{padding:8px 12px;font-size:.7rem}
  .tool-file-card{flex-wrap:wrap}
  .tool-file-download{width:100%;justify-content:center}
  .tool-facts{grid-template-columns:1fr 1fr}.tool-resource-card{grid-template-columns:auto minmax(0,1fr);margin:20px 16px 0}.tool-resource-card>a{grid-column:1/-1;justify-content:center}.tool-resource-card>div span{display:none}
}
@media(max-width:420px){.tool-detail{width:calc(100% - 20px)}.tool-detail-header,.tool-description-section,.tool-downloads-section{padding:21px 16px}.tool-info-bar{padding:12px 16px}.tool-facts{grid-template-columns:1fr}.tool-detail-actions>a{flex:1;justify-content:center}.tool-file-name{white-space:normal;overflow-wrap:anywhere}}

/* Premium, readable tool guide shell */
.tool-detail{width:min(1080px,calc(100% - 36px));padding-top:42px}.tool-back{display:inline-flex;min-height:38px;align-items:center;gap:7px;padding:0 11px;border:1px solid rgba(151,186,166,.16);border-radius:10px;background:rgba(7,18,13,.72);font-size:.7rem;font-weight:750}.tool-detail-card{border-radius:22px!important;background:linear-gradient(155deg,#0c1d15,#07110d 64%)!important;box-shadow:0 32px 90px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.025)}.tool-detail-header{position:relative;padding:clamp(30px,5vw,58px)!important;background:radial-gradient(circle at 92% 4%,rgba(53,242,122,.15),transparent 33%)}.tool-detail-title{max-width:860px;font-size:clamp(2.65rem,7vw,5.4rem)!important}.tool-detail-summary{max-width:780px!important;color:#a7b9af!important;font-size:clamp(.91rem,1.3vw,1.04rem)!important;line-height:1.72!important}.tool-detail-actions>a{min-height:43px;padding:0 14px!important;border-radius:10px!important;font-size:.7rem!important;font-weight:800}.tool-info-bar{padding:15px clamp(22px,4vw,48px)}.tool-facts{margin:clamp(22px,4vw,38px);gap:10px}.tool-facts>div{min-height:82px;padding:15px;border-radius:13px}.tool-resource-card{margin-inline:clamp(22px,4vw,38px)}.tool-description-section,.tool-downloads-section{padding:clamp(26px,4vw,46px)}.tool-description-body{color:#c2d1c9;font-size:.9rem;line-height:1.86}.tool-description-body :is(h1,h2,h3){scroll-margin-top:100px;color:#f1faf5;line-height:1.2}.tool-description-body :is(pre,table){max-width:100%;overflow:auto}.tool-description-body img{max-width:100%;height:auto}.tool-description-body a{overflow-wrap:anywhere}
@media(max-width:640px){.tool-detail{width:calc(100% - 20px);padding-top:25px}.tool-detail-card{border-radius:17px!important}.tool-detail-header{padding:25px 18px!important}.tool-detail-title{font-size:2.6rem!important}.tool-detail-summary{font-size:.88rem!important}.tool-detail-actions{display:grid!important;grid-template-columns:1fr}.tool-detail-actions>a{width:100%;justify-content:center}.tool-info-bar{padding:13px 18px}.tool-info-item{width:100%}.tool-facts{margin:18px 14px;grid-template-columns:1fr}.tool-resource-card{margin:18px 14px 0}.tool-description-section,.tool-downloads-section{padding:24px 18px}.tool-description-body{font-size:.86rem;line-height:1.78}}
.tool-detail-card .tool-detail-header .tool-btn-tool{color:#031109!important}

/* Tool editor studio */
.tool-editor-page{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:34px 0 90px;color:#e9f4ee}.tool-editor-nav{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.tool-editor-nav a{color:#8da499!important;font-size:.7rem;font-weight:750;text-decoration:none!important}.tool-editor-nav a:hover{color:#66d996!important}.tool-editor-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding:clamp(28px,4vw,48px);border:1px solid #1d3b2d;border-radius:22px;background:radial-gradient(circle at 90% 5%,rgba(62,200,127,.17),transparent 38%),linear-gradient(145deg,#0d2118,#08130e);box-shadow:0 24px 70px rgba(0,0,0,.22)}.tool-editor-hero>div>span{color:#63d798;font-size:.62rem;font-weight:850;letter-spacing:.16em}.tool-editor-hero h1{margin:10px 0 12px;color:#f5fff9;font:650 clamp(2.25rem,5vw,4.45rem)/.98 'Space Grotesk',sans-serif!important;letter-spacing:-.055em}.tool-editor-hero p{max-width:690px;margin:0;color:#9bb2a6;font-size:.84rem;line-height:1.7}.tool-editor-hero aside{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.tool-editor-hero aside span{padding:7px 9px;border:1px solid rgba(99,215,152,.22);border-radius:999px;background:rgba(99,215,152,.055);color:#9fceb4;font-size:.54rem;font-weight:850;letter-spacing:.1em}.tool-editor-form{display:grid;gap:16px;margin-top:16px}.tool-editor-card{display:grid;gap:17px;padding:clamp(21px,3vw,31px);border:1px solid #193729;border-radius:17px;background:linear-gradient(150deg,#0c1b14,#08130e);box-shadow:inset 0 1px rgba(255,255,255,.018)}.tool-editor-section-head{display:flex;align-items:flex-start;gap:13px;padding-bottom:15px;border-bottom:1px solid rgba(133,176,153,.12)}.tool-editor-section-head>span{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border:1px solid rgba(99,215,152,.28);border-radius:9px;background:rgba(99,215,152,.07);color:#64db99;font-size:.65rem;font-weight:900}.tool-editor-section-head h2{margin:0;color:#eff9f3;font:650 1.12rem 'Space Grotesk',sans-serif}.tool-editor-section-head p{margin:4px 0 0;color:#70877b;font-size:.65rem}.tool-editor-card label{display:grid;gap:7px;color:#a9beb2;font-size:.68rem;font-weight:750}.tool-editor-card label>small{color:#71877b;font-size:.58rem;font-weight:600}.tool-editor-card label>small b{color:#9eb6a9}.tool-editor-card :is(input,select,textarea){width:100%;box-sizing:border-box;border:1px solid #264737;border-radius:10px;outline:0;background:#06110c;color:#eef9f2;padding:12px 13px;font:500 .76rem/1.5 inherit;transition:border-color .15s,box-shadow .15s}.tool-editor-card :is(input,select,textarea):focus{border-color:#55c98a;box-shadow:0 0 0 3px rgba(85,201,138,.1)}.tool-editor-card textarea{resize:vertical}.tool-field-error{color:#ff8994!important}.tool-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tool-tag-preview{display:flex;min-height:0;flex-wrap:wrap;gap:6px;margin-top:-8px}.tool-tag-preview span,.tool-tag-chip{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid rgba(89,205,139,.24);border-radius:999px;background:rgba(89,205,139,.07);color:#91ddb2;font-size:.58rem;font-weight:750}.tool-markdown-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:7px;border:1px solid #244535;border-radius:11px 11px 0 0;background:#07140e}.tool-markdown-toolbar button,.tool-markdown-tabs button{min-height:31px;padding:0 10px;border:1px solid rgba(145,180,160,.16);border-radius:7px;background:#0d2017;color:#b8cbc0;font-size:.62rem;font-weight:800;cursor:pointer}.tool-markdown-toolbar button:hover{border-color:#55c98a;color:#71dfa3}.tool-markdown-toolbar>span{margin-left:auto;padding:0 7px;color:#648075;font-size:.56rem}.tool-markdown-tabs{display:flex;gap:4px;margin-top:-17px;padding:7px;border-inline:1px solid #244535;background:#08170f}.tool-markdown-tabs button.is-active{border-color:rgba(85,201,138,.4);background:rgba(85,201,138,.12);color:#72dda2}.tool-markdown-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:520px;margin-top:-17px;border:1px solid #244535;border-radius:0 0 12px 12px;overflow:hidden}.tool-markdown-write{min-width:0;border-right:1px solid #244535}.tool-markdown-write textarea{height:100%;min-height:520px;border:0!important;border-radius:0!important;background:#05100a!important;box-shadow:none!important;font:500 .75rem/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}.tool-markdown-write>small{padding:0 12px 8px}.tool-markdown-preview{min-width:0;max-height:650px;padding:22px;overflow:auto;background:#0a1811}.tool-markdown-preview.is-loading{opacity:.65}.tool-preview-empty{display:grid;height:100%;place-content:center;gap:7px;text-align:center;color:#667e71}.tool-preview-empty strong{color:#9cb4a7}.tool-preview-error{padding:14px;border:1px solid rgba(255,137,148,.25);border-radius:9px;color:#ff9da6}.tool-markdown-workspace[data-mode=write]{grid-template-columns:1fr}.tool-markdown-workspace[data-mode=write] .tool-markdown-preview{display:none}.tool-markdown-workspace[data-mode=write] .tool-markdown-write{border:0}.tool-markdown-workspace[data-mode=preview]{grid-template-columns:1fr}.tool-markdown-workspace[data-mode=preview] .tool-markdown-write{display:none}.tool-upload-zone{position:relative;display:grid!important;min-height:155px;place-items:center;align-content:center;gap:7px!important;border:1px dashed #356149;border-radius:13px;background:rgba(68,175,115,.035);text-align:center;cursor:pointer;transition:.15s}.tool-upload-zone:hover,.tool-upload-zone.is-dragging,.tool-upload-zone.just-pasted{border-color:#5fd697;background:rgba(68,175,115,.085)}.tool-upload-zone input{position:absolute;width:1px!important;height:1px;opacity:0;pointer-events:none}.tool-upload-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;background:rgba(83,204,137,.11);color:#66d99a;font-size:1.35rem}.tool-upload-zone strong{color:#dcebe3;font-size:.76rem}.tool-upload-zone small{max-width:520px;color:#71877b!important}.tool-upload-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tool-upload-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;border:1px solid #1f3d2e;border-radius:10px;background:#08150f}.tool-upload-item>img,.tool-upload-item>span{width:48px;height:42px;border-radius:7px;object-fit:cover}.tool-upload-item>span{display:grid;place-items:center;background:#10261b;color:#77ba95;font-size:.5rem;font-weight:850}.tool-upload-item>div{display:grid;min-width:0;gap:3px}.tool-upload-item strong{overflow:hidden;color:#cfdfd6;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.tool-upload-item small{color:#688074;font-size:.55rem}.tool-upload-item button{border:0;background:transparent;color:#e98691;font-size:.56rem;cursor:pointer}.tool-existing-files{display:grid;gap:7px;padding:14px;border:1px solid #1f3d2e;border-radius:10px}.tool-existing-files>strong{color:#dcebe3;font-size:.7rem}.tool-editor-submit{position:sticky;bottom:12px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #31523f;border-radius:14px;background:rgba(8,20,14,.94);box-shadow:0 18px 50px rgba(0,0,0,.38);backdrop-filter:blur(12px)}.tool-editor-submit .publish-check{display:flex;align-items:center;gap:10px;margin:0}.tool-editor-submit .publish-check input{width:18px;height:18px;accent-color:#58ce8d}.tool-editor-submit .publish-check span{display:grid;gap:2px}.tool-editor-submit .publish-check strong{color:#dcebe3;font-size:.7rem}.tool-editor-submit .publish-check small{color:#6f8579;font-size:.55rem}.tool-editor-submit>div{display:flex;align-items:center;gap:9px}.tool-editor-submit a{padding:10px;color:#8ea398!important;font-size:.65rem;text-decoration:none!important}.tool-editor-submit button{min-height:42px;padding:0 19px;border:1px solid #5bd591;border-radius:10px;background:#54c987;color:#041109;font-size:.68rem;font-weight:900;cursor:pointer;box-shadow:0 10px 26px rgba(55,177,107,.13)}.tool-editor-submit button:hover{background:#67dda0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:820px){.tool-editor-hero{grid-template-columns:1fr}.tool-editor-hero aside{justify-content:flex-start}.tool-form-row{grid-template-columns:1fr}.tool-markdown-workspace{grid-template-columns:1fr;min-height:0}.tool-markdown-write{border-right:0;border-bottom:1px solid #244535}.tool-markdown-write textarea{min-height:380px}.tool-markdown-preview{min-height:330px}.tool-upload-preview{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tool-editor-page{width:calc(100% - 20px);padding-top:22px}.tool-editor-hero{padding:24px 19px;border-radius:17px}.tool-editor-hero h1{font-size:2.25rem}.tool-editor-card{padding:19px 15px}.tool-markdown-toolbar>span{width:100%;margin:4px 0 0}.tool-markdown-tabs{overflow:auto}.tool-upload-preview{grid-template-columns:1fr}.tool-editor-submit{position:static;align-items:stretch;flex-direction:column}.tool-editor-submit>div{display:grid;grid-template-columns:auto 1fr}.tool-editor-submit button{width:100%}}

/* Curated public directory */
.tools-directory{width:min(1220px,calc(100% - 36px));padding-top:42px}.tools-directory>.tools-directory-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,380px);align-items:end;gap:30px;padding:clamp(30px,5vw,56px);border-radius:23px;background:radial-gradient(circle at 88% 8%,rgba(66,195,124,.18),transparent 34%),linear-gradient(145deg,#0d2118,#07120d 68%);box-shadow:0 30px 80px rgba(0,0,0,.25)}.tools-directory-hero h1{font-size:clamp(2.7rem,6vw,5.5rem)!important}.tools-directory-hero p{font-size:.86rem}.tools-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.tools-directory .tools-hero-actions>a{display:inline-flex;min-height:44px;margin:0;align-items:center;padding:0 16px;border:1px solid #54c987;border-radius:10px;background:#54c987;color:#041109!important;font-size:.68rem;font-weight:850;text-decoration:none!important}.tools-directory .tools-hero-actions>.tools-secondary-action{border-color:#2e5842;background:#10261b;color:#bce4cd!important}.tools-directory-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tools-directory-stats div{display:grid;gap:3px;padding:17px 14px;border:1px solid rgba(130,177,151,.15);border-radius:12px;background:rgba(6,17,11,.68)}.tools-directory-stats strong{overflow:hidden;color:#e8f5ed;font:650 clamp(1rem,2vw,1.55rem) 'Space Grotesk',sans-serif;text-overflow:ellipsis}.tools-directory-stats span{color:#71877b;font-size:.55rem}.tools-directory-filters{display:grid!important;grid-template-columns:minmax(240px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto auto!important;align-items:end;margin:18px 0 10px!important;border-radius:15px!important}.tools-tag-filter{display:flex;gap:7px;padding:7px 0 16px;overflow-x:auto}.tools-tag-filter a{flex:0 0 auto;padding:7px 10px;border:1px solid #244635;border-radius:999px;background:#0a1811;color:#89a598!important;font-size:.58rem;font-weight:750;text-decoration:none!important}.tools-tag-filter a:hover,.tools-tag-filter a.is-active{border-color:#54c987;background:rgba(84,201,135,.1);color:#70dba0!important}.tools-results-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 15px}.tools-results-head>div{display:flex;align-items:baseline;gap:7px}.tools-results-head strong{color:#eef8f2;font:650 1.45rem 'Space Grotesk',sans-serif}.tools-results-head span,.tools-results-head small{color:#71877b;font-size:.62rem}.tool-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tool-directory-card{min-height:255px;padding:22px;border-radius:15px;background:linear-gradient(155deg,#0d2118,#08140e);box-shadow:inset 0 1px rgba(255,255,255,.02)}.tool-directory-card:hover{transform:translateY(-4px);border-color:#3e8e64;box-shadow:0 18px 38px rgba(0,0,0,.18)}.tool-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.tool-card-top>span{color:#65d697;font-size:.57rem;font-weight:850;letter-spacing:.12em}.tool-card-top time{color:#5f776b;font-size:.52rem}.tool-directory-card h2{margin-top:24px;font-size:1.45rem}.tool-directory-card p{font-size:.7rem;line-height:1.72}.tool-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:15px}.tool-card-tags span{padding:4px 7px;border-radius:999px;background:rgba(88,197,136,.07);color:#7db697;font-size:.51rem}.tool-directory-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:19px;border-top:1px solid rgba(133,176,153,.11)}.tool-directory-card footer b{margin:0;padding:0;color:#65d697}.tool-directory-card footer>span{color:#65d697;font-size:1rem}.tools-directory .tools-empty>span{color:#58c989;font-size:.58rem;font-weight:850;letter-spacing:.14em}.tools-directory .tools-empty a{color:#65d697!important;font-size:.68rem;font-weight:800;text-decoration:none!important}
@media(max-width:900px){.tools-directory>.tools-directory-hero{grid-template-columns:1fr}.tools-directory-stats{max-width:620px}.tools-directory-filters{grid-template-columns:1fr 1fr!important}.tools-directory-filters>label:first-child{grid-column:1/-1}.tool-directory-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.tools-directory{width:calc(100% - 20px);padding-top:25px}.tools-directory>.tools-directory-hero{padding:26px 20px;border-radius:18px}.tools-directory-hero h1{font-size:2.55rem!important}.tools-directory-stats{grid-template-columns:1fr}.tools-directory-filters{grid-template-columns:1fr!important}.tools-directory-filters>label:first-child{grid-column:auto}.tools-directory-filters :is(button,a){width:100%;box-sizing:border-box;text-align:center}.tools-results-head{align-items:flex-start;flex-direction:column}.tool-directory-grid{grid-template-columns:1fr}.tool-directory-card{min-height:225px}}

/* Rich tool detail metadata and media */
.tool-btn-github{display:inline-flex;min-height:43px;align-items:center;gap:7px;padding:0 14px;border:1px solid #375345;border-radius:10px;background:#111d17;color:#d9e8df!important;font-size:.7rem;font-weight:800;text-decoration:none!important;transition:.15s}.tool-btn-github:hover{border-color:#70a68a;background:#17271e;transform:translateY(-1px)}.tool-detail-tags{display:flex;gap:6px;flex-wrap:wrap;padding:0 clamp(22px,4vw,48px) 20px;border-bottom:1px solid rgba(151,186,166,.1);background:rgba(255,255,255,.015)}.tool-detail-tags a{padding:5px 9px;border:1px solid rgba(90,198,137,.2);border-radius:999px;background:rgba(90,198,137,.06);color:#85c9a2!important;font-size:.57rem;font-weight:750;text-decoration:none!important}.tool-gallery-section,.tool-related-section{padding:clamp(26px,4vw,46px);border-bottom:1px solid rgba(151,186,166,.1)}.tool-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:17px}.tool-section-heading>div>span{color:#5ccf91;font-size:.54rem;font-weight:850;letter-spacing:.14em}.tool-section-heading h2{margin:5px 0 0;color:#eef8f2;font:650 1.25rem 'Space Grotesk',sans-serif}.tool-section-heading>small{color:#70877a;font-size:.58rem}.tool-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tool-gallery-item{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;border:1px solid #244735;border-radius:13px;background:#06110c;color:#dce9e2!important;text-decoration:none!important}.tool-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.tool-gallery-item:hover img{transform:scale(1.025)}.tool-gallery-item span{position:absolute;right:8px;bottom:8px;left:8px;padding:7px 9px;border-radius:8px;background:rgba(4,13,8,.8);overflow:hidden;font-size:.58rem;text-overflow:ellipsis;white-space:nowrap;backdrop-filter:blur(7px)}.tool-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tool-related-grid a{display:flex;min-height:175px;flex-direction:column;padding:17px;border:1px solid #203e2f;border-radius:12px;background:#08160f;color:inherit!important;text-decoration:none!important}.tool-related-grid a:hover{border-color:#4fae78}.tool-related-grid span{color:#5bc98e;font-size:.52rem;font-weight:850;letter-spacing:.12em}.tool-related-grid strong{margin:12px 0 7px;color:#e8f4ed;font-size:.9rem}.tool-related-grid small{display:-webkit-box;overflow:hidden;color:#7f968a;font-size:.59rem;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.tool-related-grid b{margin-top:auto;padding-top:12px;color:#62d395;font-size:.58rem}
@media(max-width:640px){.tool-detail-actions .tool-btn-github{width:100%;justify-content:center}.tool-detail-tags{padding:0 18px 16px}.tool-gallery{grid-template-columns:1fr}.tool-related-grid{grid-template-columns:1fr}.tool-gallery-section,.tool-related-section{padding:24px 18px}}
