/* ═══════════════════════════════════════════════════════════
   Innovativ Tools — global.css
   Centralizovani stilovi za allinnovativ.dev
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --black:   #080a0f;
  --surface: #0f1117;
  --panel:   #161b26;
  --border:  #1e2535;
  --accent:  #00e5a0;
  --accent2: #4f8fff;
  --accent3: #ff6b35;
  --gold:    #ffd700;
  --danger:  #ff4757;
  --text:    #e8eaf0;
  --muted:   #6b7490;
  --muted-strong: #98a3bd;
  --white:   #ffffff;
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse   { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: .7; } }
@keyframes blink   { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes spin    { to { transform: rotate(360deg); } }

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 32px;
  background: rgba(8,10,15,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800; font-size: 17px;
  color: var(--white); text-decoration: none; letter-spacing: -.5px;
}
.nav-logo span { color: var(--accent); }
.nav-back {
  color: var(--muted); text-decoration: none;
  font-size: 13px; transition: color .2s;
}
.nav-back:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.search-mini {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px; padding: 7px 14px; width: 220px;
  transition: border-color .2s;
}
.search-mini:focus { border-color: var(--accent); }
@media (max-width: 600px) { nav { padding: 0 16px; } .search-mini { width: 130px; } }

/* ── AUTH NAV ───────────────────────────────────────────── */
#authNavArea { display: flex; align-items: center; gap: 8px; }
.auth-nav-btn {
  font-size: 12px; font-family: 'DM Mono', monospace;
  padding: 6px 14px; border-radius: 7px; cursor: pointer;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.auth-nav-btn.login  { color: var(--muted); border: 1px solid var(--border); background: transparent; }
.auth-nav-btn.login:hover  { border-color: var(--accent); color: var(--accent); }
.auth-nav-btn.register { background: var(--accent); color: var(--black); border: none; font-weight: 700; }
.auth-nav-btn.register:hover { opacity: .85; }
.auth-nav-btn.logout {
  color: var(--muted); border: 1px solid var(--border); background: transparent;
  font-family: 'DM Mono', monospace; font-size: 11px;
  padding: 5px 10px; border-radius: 6px; cursor: pointer;
}
.auth-nav-btn.logout:hover { border-color: var(--danger); color: var(--danger); }
.auth-nav-user { display: flex; align-items: center; gap: 8px; }
.auth-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.auth-name {
  font-size: 13px; color: var(--text);
  max-width: 100px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.auth-plan-badge {
  font-size: 9px; font-family: 'DM Mono', monospace;
  padding: 2px 6px; border-radius: 4px; font-weight: 700;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.app-layout { display: flex; min-height: 100vh; padding-top: 60px; }
.main { flex: 1; min-width: 0; overflow-y: auto; }

/* ── SIDEBAR ────────────────────────────────────────────── */
.sidebar {
  width: 240px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky; top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  background: var(--surface);
}
.sidebar-section { margin-bottom: 8px; }
.sidebar-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  color: var(--muted); letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 20px 4px; display: block;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; cursor: pointer; transition: all .2s;
  border-left: 2px solid transparent;
  color: var(--muted); font-size: 13px; text-decoration: none;
}
.sidebar-item:hover { color: var(--text); background: rgba(255,255,255,.03); }
.sidebar-item.active {
  color: var(--accent); border-left-color: var(--accent);
  background: rgba(0,229,160,.05);
}
.sidebar-item .si-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.si-badge {
  margin-left: auto; font-size: 9px;
  font-family: 'DM Mono', monospace;
  padding: 2px 6px; border-radius: 4px;
}
.si-badge.free  { background: rgba(0,229,160,.12); color: var(--accent); }
.si-badge.ai    { background: rgba(79,143,255,.12); color: var(--accent2); }
.si-badge.pro   { background: rgba(255,215,0,.12); color: var(--gold); border: 1px solid rgba(255,215,0,.2); }
.sidebar-upgrade { padding: 16px 20px; margin-top: auto; }
.sidebar-upgrade-btn {
  display: block; text-align: center; padding: 10px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000; border-radius: 10px; font-weight: 700;
  font-size: 12px; text-decoration: none;
}
@media (max-width: 768px) { .sidebar { display: none; } }

/* ── MOBILE HAMBURGER + DRAWER ──────────────────────────── */
#_hamburger {
  display: none; background: none; border: none;
  color: var(--muted); cursor: pointer; padding: 6px;
  border-radius: 8px; transition: color .2s; flex-shrink: 0;
}
#_hamburger:hover { color: var(--text); }
#_hamburger svg  { display: block; }
@media (max-width: 768px) { #_hamburger { display: flex; align-items: center; } }

#_drawerOverlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  animation: _ovIn .25s ease;
}
@keyframes _ovIn { from { opacity: 0; } to { opacity: 1; } }
#_drawerOverlay.open { display: block; }

#_drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 201;
  width: 260px; background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto; padding: 16px 0 32px;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
#_drawer.open { transform: translateX(0); }
#_drawerClose {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px 16px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
#_drawerClose .d-logo { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: 16px; color: var(--white); }
#_drawerClose button  { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; padding: 2px; }
#_drawerClose button:hover { color: var(--text); }

/* ── MOBILE TOOL NAV ────────────────────────────────────── */
.mobile-tool-nav {
  display: none; padding: 12px 16px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  overflow-x: auto; gap: 8px; flex-wrap: nowrap;
}
.mtn-item {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 14px;
  font-size: 12px; color: var(--muted);
  cursor: pointer; white-space: nowrap;
  transition: all .2s; flex-shrink: 0;
}
.mtn-item.active, .mtn-item:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 768px) { .mobile-tool-nav { display: flex; } }

/* ── TOOL PANELS ────────────────────────────────────────── */
.tool-panel { display: none; padding: 40px; min-height: calc(100vh - 60px); animation: fadeIn .2s ease; }
.tool-panel.active { display: block; }
@media (max-width: 600px) { .tool-panel { padding: 24px 16px; } }

.tool-header {
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.tool-title-row { display: flex; align-items: center; gap: 14px; }
.tool-big-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.tool-title {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800; font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -1px; color: var(--white);
}
.tool-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.share-btn {
  background: var(--panel); border: 1px solid var(--border);
  color: var(--muted); padding: 8px 16px; border-radius: 8px;
  font-size: 12px; cursor: pointer; transition: all .2s;
  font-family: 'DM Mono', monospace; white-space: nowrap;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── HOME CARDS ─────────────────────────────────────────── */
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 32px; }
.home-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  cursor: pointer; transition: all .25s; text-align: left;
}
.home-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,229,160,.08); }
.home-card.ai-card:hover { border-color: var(--accent2); box-shadow: 0 12px 32px rgba(79,143,255,.08); }
.hc-icon { font-size: 28px; margin-bottom: 12px; }
.hc-title { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 15px; color: var(--white); margin-bottom: 5px; }
.hc-desc { color: var(--muted); font-size: 12px; line-height: 1.5; margin-bottom: 10px; }
.hc-meta { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }
.hc-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 9px; font-family: 'DM Mono', monospace; margin-bottom: 8px; }
.hc-badge.free { background: rgba(0,229,160,.12); color: var(--accent); }
.hc-badge.ai   { background: rgba(79,143,255,.12); color: var(--accent2); }
.hc-badge.pro  { background: linear-gradient(135deg,rgba(255,215,0,.15),rgba(255,107,53,.15)); color: var(--gold); border: 1px solid rgba(255,215,0,.2); }
.home-card.pro-card:hover { border-color: var(--gold); box-shadow: 0 12px 32px rgba(255,215,0,.1); }

/* ── BADGES ─────────────────────────────────────────────── */
.badge-free { background: rgba(0,229,160,.12); border: 1px solid rgba(0,229,160,.2); color: var(--accent); }
.badge-ai   { background: rgba(79,143,255,.12); border: 1px solid rgba(79,143,255,.2); color: var(--accent2); }
.badge-pro  { background: rgba(255,180,0,.18); border: 1px solid rgba(255,180,0,.35); color: var(--gold); font-weight: 700; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  background: var(--accent); color: var(--black);
  border: none; padding: 12px 26px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 14px; cursor: pointer; transition: all .2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,229,160,.3); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); padding: 12px 26px;
  border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 14px; cursor: pointer;
  transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #ff8c00);
  color: #000; border: none; padding: 12px 26px;
  border-radius: 8px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: opacity .2s; text-decoration: none; display: inline-block;
}
.btn-gold:hover { opacity: .9; }

/* ── FORM ELEMENTS ──────────────────────────────────────── */
.fg { margin-bottom: 16px; }
.fg label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--muted); margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: .5px;
}
.fi, .fta, .fsel {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px; padding: 11px 14px;
 transition: border-color .2s;
}
.fi:focus, .fta:focus, .fsel:focus { border-color: var(--accent); }
.fta { resize: vertical; min-height: 120px; line-height: 1.6; }
.fsel { appearance: none; cursor: pointer; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .two-col { grid-template-columns: 1fr; } }

.run-btn {
  width: 100%; padding: 13px;
  background: var(--accent); color: var(--black);
  border: none; border-radius: 10px;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all .2s; margin-bottom: 20px;
}
.run-btn:hover { opacity: .85; transform: translateY(-1px); }
.run-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.run-btn.blue { background: var(--accent2); color: white; }

/* ── OUTPUT / RESULT ────────────────────────────────────── */
.result-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  font-size: 14px; line-height: 1.8; color: var(--text);
  white-space: pre-wrap; word-wrap: break-word; display: none;
}
.result-box.show { display: block; }
.result-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  color: var(--accent); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px;
}
.copy-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 6px 14px; border-radius: 6px;
  font-size: 11px; cursor: pointer; transition: all .2s;
  margin-top: 10px; font-family: 'DM Mono', monospace;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── TABS ───────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab {
  padding: 9px 18px; border-bottom: 2px solid transparent;
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.tab.active { border-bottom-color: var(--accent); color: var(--accent); }

/* ── AI KEY PANEL ───────────────────────────────────────── */
.key-panel {
  background: rgba(79,143,255,.07); border: 1px solid rgba(79,143,255,.18);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.key-panel-label { font-size: 12px; color: var(--muted); flex: 1; min-width: 160px; }
.key-panel-label a { color: var(--accent2); text-decoration: none; }
.key-panel-label a:hover { text-decoration: underline; }
.key-panel input {
  flex: 2; min-width: 180px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: 'DM Mono', monospace;
  font-size: 12px; padding: 7px 12px;
  transition: border-color .2s;
}
.key-panel input:focus { border-color: var(--accent2); }
.key-panel button {
  background: var(--accent2); color: white; border: none;
  padding: 7px 14px; border-radius: 8px;
  font-weight: 600; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.key-saved { color: var(--accent); font-size: 12px; font-weight: 600; }

/* ── CHAT ───────────────────────────────────────────────── */
.chat-msgs {
  height: 320px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; margin-bottom: 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg { display: flex; gap: 8px; }
.msg.user { flex-direction: row-reverse; }
.msg-bubble { max-width: 82%; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.6; }
.msg.user .msg-bubble { background: var(--accent); color: var(--black); font-weight: 500; }
.msg.ai  .msg-bubble { background: var(--panel); border: 1px solid var(--border); color: var(--text); }
.msg-av {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; background: var(--border);
}
.chat-row { display: flex; gap: 8px; }
.chat-inp {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px; padding: 10px 14px;
 transition: border-color .2s;
}
.chat-inp:focus { border-color: var(--accent); }
.chat-send {
  background: var(--accent); color: var(--black); border: none;
  border-radius: 10px; padding: 10px 20px;
  font-weight: 700; font-size: 13px; cursor: pointer;
  transition: opacity .2s;
}
.chat-send:hover { opacity: .85; }
.model-pill {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 12px;
  font-size: 11px; color: var(--muted); cursor: pointer;
  transition: all .2s; font-family: 'DM Mono', monospace;
}
.model-pill.active { border-color: var(--accent); color: var(--accent); background: rgba(0,229,160,.08); }
.model-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

/* ── COUNTER ─────────────────────────────────────────────── */
.counter-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.counter-cell { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.counter-cell .n { font-family: 'Syne', system-ui, sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); }
.counter-cell .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
@media (max-width: 480px) { .counter-grid { grid-template-columns: repeat(2,1fr); } }

/* ── PASSWORD ────────────────────────────────────────────── */
.pass-opts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.chk-label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); cursor: pointer; }
.chk-label input { accent-color: var(--accent); }
.pass-out-row { display: flex; gap: 8px; align-items: center; }
.pass-strength-bar { height: 5px; border-radius: 3px; margin-top: 8px; transition: all .4s; background: var(--border); }

/* ── COLOR PALETTE ──────────────────────────────────────── */
.color-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.color-chip { height: 40px; flex: 1; min-width: 50px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(255,255,255,.08); transition: transform .15s; position: relative; }
.color-chip:hover { transform: scale(1.05); }
.chip-hex { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 9px; font-family: 'DM Mono', monospace; color: rgba(255,255,255,.7); }

/* ── TIMER ──────────────────────────────────────────────── */
.timer-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.preset-btn { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-size: 13px; color: var(--muted); cursor: pointer; transition: all .2s; }
.preset-btn:hover { border-color: var(--accent); color: var(--accent); }
.timer-display { font-family: 'Syne', system-ui, sans-serif; font-size: clamp(64px,12vw,100px); font-weight: 800; color: var(--accent); letter-spacing: -4px; text-align: center; margin: 16px 0; line-height: 1; }
.timer-controls { display: flex; gap: 10px; justify-content: center; }
.tc-btn { background: var(--panel); border: 1px solid var(--border); color: var(--text); padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.tc-btn:hover { border-color: var(--accent); color: var(--accent); }
.tc-btn.go { background: var(--accent); color: var(--black); border-color: var(--accent); }

/* ── TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text); padding: 10px 20px; border-radius: 10px;
  font-size: 13px; opacity: 0; transition: all .3s; z-index: 999; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 40px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: 18px; }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 12px; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 600px) { footer { padding: 32px 20px; flex-direction: column; } }

/* Visible keyboard focus. This selector fires on keyboard navigation only, so a
   mouse click still gets no ring. outline-offset is load-bearing, not cosmetic:
   white on --accent measures 1.65:1, but the 2px offset lifts the ring off a
   filled button onto the page background, where it measures ~19.6:1. Never
   switch the outline off to defeat this - fix the rule that needs it instead. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible{outline:2px solid var(--white);outline-offset:2px}

/* ── GENERIC .btn (tool pages) ─────────────────────────────
   Several tool pages use plain class="btn" / "btn ghost" (PDF Merge,
   PDF to Word, Sign Document, Background Remover, Image Compressor,
   Regex Tester, SQL Formatter, URL Encoder, XML Sitemap) but no rule
   existed, so they rendered as unstyled browser buttons. :where() keeps
   specificity at zero, and buttons with btn-* modifiers (pages that define
   their own .btn system) are left alone. */
:where(.btn:not([class*="btn-"])){display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;border-radius:10px;border:1px solid transparent;background:var(--accent);color:var(--black);font-family:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none;transition:opacity .2s,transform .2s,border-color .2s,color .2s}
:where(.btn:not([class*="btn-"])):hover{opacity:.88;transform:translateY(-1px)}
:where(.btn:not([class*="btn-"])):disabled{opacity:.5;cursor:not-allowed;transform:none}
:where(.btn.ghost:not([class*="btn-"])){background:transparent;color:var(--text);border-color:var(--border)}
:where(.btn.ghost:not([class*="btn-"])):hover{opacity:1;border-color:var(--accent);color:var(--accent)}
