/* Aura Tools — tool CSS.
 * Verbatim classes from the static site's <style> block, scoped to
 * .aura-tool so GeneratePress defaults cannot silently restyle the tools.
 * Tokens match the static :root (also in the child theme style.css).
 * ONE deliberate change: in the static SPA .tool-view is display:none
 * until opened; in WordPress each tool is its own Page, so inside
 * .aura-tool the view is always displayed.
 */

.aura-tool {
  --bg: #F4F5F1; --surface: #FFFFFF; --surface2: #EEF1EA; --ink: #111713;
  --muted: #5B665E; --line: #DCE2D8; --green: #0A7A5C; --green-dark: #075E46;
  --mint: #DFF5E9; --orange: #FF5C28; --amber: #FFB020; --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 23, 19, .08);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.5;
}
.aura-tool h1, .aura-tool h2, .aura-tool h3 { font-family: "Bricolage Grotesque", "Manrope", sans-serif; letter-spacing: -.02em; }
.aura-tool .tool-view { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; margin: 10px 0 30px; box-shadow: var(--shadow); }
.aura-tool .tool-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
.aura-tool .tool-head h2 { margin: 4px 0 6px; font-size: 30px; }
.aura-tool .tool-head p { margin: 0; color: var(--muted); max-width: 640px; }
.aura-tool .back { white-space: nowrap; }
.aura-tool label { font-weight: 800; font-size: 14px; display: block; margin: 14px 0 7px; }
.aura-tool input[type=text], .aura-tool input[type=url], .aura-tool input[type=number], .aura-tool input[type=date], .aura-tool select, .aura-tool textarea { width: 100%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 13px; padding: 12px 14px; outline: none; }
.aura-tool textarea { min-height: 130px; resize: vertical; }
.aura-tool input:focus, .aura-tool textarea:focus, .aura-tool select:focus { border-color: var(--green); }
.aura-tool .drop { border: 2px dashed var(--line); border-radius: 18px; padding: 28px; text-align: center; background: var(--bg); cursor: pointer; }
.aura-tool .drop:hover { border-color: var(--green); }
.aura-tool .drop input { display: none; }
.aura-tool .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aura-tool .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.aura-tool .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.aura-tool .row > * { flex: 0 0 auto; }
.aura-tool .grow { flex: 1 1 180px !important; }
.aura-tool .result { background: var(--surface2); border-radius: 16px; padding: 16px; margin-top: 16px; }
.aura-tool .result img { max-width: 100%; border-radius: 12px; }
.aura-tool .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.aura-tool .kpi { background: var(--surface2); border-radius: 14px; padding: 14px; text-align: center; }
.aura-tool .kpi b { font-size: 22px; display: block; }
.aura-tool .kpi span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.aura-tool input[type=range] { width: 100%; accent-color: var(--green); min-height: 36px; }
.aura-tool .check { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 700; cursor: pointer; min-height: 48px; }
.aura-tool .check input { width: 20px; height: 20px; accent-color: var(--green); }
.aura-tool .meter { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.aura-tool .meter i { display: block; height: 100%; background: var(--green); width: 0%; }
.aura-tool .toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(80px); background: var(--ink); color: var(--bg); padding: 13px 18px; border-radius: 999px; font-weight: 800; z-index: 99; transition: transform .25s; box-shadow: var(--shadow); }
.aura-tool .toast.show { transform: translateX(-50%) translateY(0); }
.aura-tool .qrbox { display: grid; place-items: center; background: #fff; border-radius: 16px; padding: 20px; min-height: 220px; }
.aura-tool .qrbox img, .aura-tool .qrbox canvas { max-width: 100%; }
.aura-tool .small { font-size: 13px; color: var(--muted); }
.aura-tool .seo-note { background: var(--surface2); border-radius: 14px; padding: 14px 16px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.aura-tool .seo-note b { color: var(--ink); }
.aura-tool .btn { border: 0; cursor: pointer; border-radius: 13px; padding: 0 18px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; min-height: 46px; }
.aura-tool .btn-green { background: var(--green); color: #fff; }
.aura-tool .btn-green:hover { background: var(--green-dark); }
.aura-tool .btn-dark { background: var(--ink); color: var(--bg); }
.aura-tool .btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.aura-tool .btn-orange { background: var(--orange); color: #fff; }
.aura-tool .tag { background: var(--surface2); padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
@media (max-width: 860px) { .aura-tool .two { grid-template-columns: 1fr; } .aura-tool .kpis { grid-template-columns: 1fr 1fr; } .aura-tool .palette { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .aura-tool .three { grid-template-columns: 1fr; } .aura-tool .tool-view { padding: 18px; } }

/* Phase 2 (2026-11-20) — classes used by the remaining 26 tools,
 * verbatim from the static site's <style> block, scoped to .aura-tool. */
.aura-tool .palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.aura-tool .swatch { border-radius: 16px; min-height: 118px; padding: 12px; display: flex; align-items: flex-end; cursor: pointer; border: 0; color: #fff; font-weight: 800; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.aura-tool .big-clock { font-family: "Bricolage Grotesque", "Manrope", sans-serif; font-size: 52px; text-align: center; letter-spacing: .02em; }
.aura-tool canvas.preview { max-width: 100%; border-radius: 14px; background: repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 0 0/22px 22px; }

/* Phase 3 (2026-11-23) — Video Editor (tool 33). Preview video, text
 * overlay and live caption bar inside the preview box. */
.aura-tool video { max-width: 100%; width: 100%; border-radius: 14px; background: #000; display: block; }
.aura-tool .ve-preview { position: relative; overflow: hidden; /* 2026-11-23, v1.0.3: safety net for the rotated preview — 1 px rounding
 * must never let the video cover the controls below it. The real fix is
 * veLayoutPreview() in tool-videoeditor.js, which sizes the layout box
 * to the rotated video; this only clips a stray sub-pixel edge. */ }
.aura-tool .ve-overlay { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; font-weight: 800; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); padding: 6px 10px; z-index: 2; }
.aura-tool .ve-cap { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; pointer-events: none; font-weight: 700; color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.8); padding: 4px 12px; z-index: 2; font-size: 18px; }
@media (max-width: 540px) { .aura-tool .ve-cap { font-size: 14px; bottom: 30px; } }

/* v2 (2026-11-23, plugin 1.0.4) — multi-track timeline, AI progress,
 * overlay preview elements. Timeline scrolls horizontally on narrow
 * screens instead of breaking the layout. */
.aura-tool .ve-timeline { position: relative; border: 1px solid #DCE2D8; border-radius: 12px; background: #fff; padding: 8px 8px 10px; overflow-x: auto; }
.aura-tool .ve-ruler { position: relative; height: 18px; border-radius: 6px; cursor: pointer; background: repeating-linear-gradient(90deg, #DCE2D8 0 1px, transparent 1px 10%); }
.aura-tool .ve-playhead { position: absolute; top: 8px; bottom: 10px; width: 2px; background: #FF5C28; z-index: 5; pointer-events: none; }
.aura-tool .ve-playhead::before { content: ''; position: absolute; top: -8px; left: -5px; border: 6px solid transparent; border-top: 8px solid #FF5C28; }
.aura-tool .ve-lane { margin-top: 6px; }
.aura-tool .ve-lanelabel { display: block; font-size: 11px; font-weight: 700; color: #5B665E; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.aura-tool .ve-lanetrack { position: relative; height: 34px; background: #F4F5F1; border-radius: 8px; min-width: 100%; }
.aura-tool .ve-clip { position: absolute; top: 3px; height: 28px; border-radius: 7px; font-size: 12px; font-weight: 700; color: #111713; overflow: hidden; white-space: nowrap; cursor: grab; touch-action: none; user-select: none; display: flex; align-items: center; padding: 0 8px; box-sizing: border-box; }
.aura-tool .ve-clip:active { cursor: grabbing; }
.aura-tool .ve-clip-main { background: #DFF5E9; border: 1px solid #0A7A5C; }
.aura-tool .ve-clip-overlay { background: #E4E7FF; border: 1px solid #5B6EE1; }
.aura-tool .ve-clip-text { background: #FFF3D6; border: 1px solid #FFB020; }
.aura-tool .ve-clip-audio { background: #F3E8FF; border: 1px solid #9B6BD3; }
.aura-tool .ve-cliplabel { overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.aura-tool .ve-handle { flex: 0 0 8px; height: 100%; cursor: ew-resize; }
.aura-tool .ve-seg { position: absolute; top: 3px; height: 28px; background: rgba(10,122,92,.18); border-radius: 7px; pointer-events: none; }
.aura-tool .ve-marker { position: absolute; top: 0; width: 3px; height: 34px; pointer-events: none; z-index: 3; }
.aura-tool .ve-scene { background: #FFB020; }
.aura-tool .ve-beat { background: #FF5C28; width: 2px; }
.aura-tool .ve-capmark { position: absolute; top: 26px; height: 8px; background: rgba(255,176,32,.55); border-radius: 3px; pointer-events: none; }
.aura-tool .ve-progress { height: 10px; background: #EDF0EA; border-radius: 6px; overflow: hidden; }
.aura-tool .ve-bar { height: 100%; width: 0; background: #0A7A5C; border-radius: 6px; transition: width .3s ease; }
.aura-tool #veOvVid, .aura-tool #veOvImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; pointer-events: none; display: none; }
.aura-tool #veChromaCanvas { background: repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 0 0/22px 22px; }
@media (max-width: 540px) { .aura-tool .ve-clip { font-size: 11px; } }

/* ================= Video Editor v1.0.5 — CapCut-style dark editor workspace =================
   Scoped to #view-videoeditor so no other tool is affected. */
#view-videoeditor .ve-modes { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 14px; }
#view-videoeditor .ve-modes .small { color:#5b6b66; }
#view-videoeditor .ve-mode-on { background:#0f766e !important; color:#fff !important; border-color:#0f766e !important; }
#view-videoeditor .ve-shell { background:#15181a; border:1px solid #24292c; border-radius:16px; overflow:hidden; color:#e8ecec; }
#view-videoeditor .ve-topbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; background:#1d2123; border-bottom:1px solid #2a2f31; flex-wrap:wrap; }
#view-videoeditor .ve-brand { font-weight:800; font-size:16px; color:#fff; letter-spacing:.2px; }
#view-videoeditor .ve-topbar-hint { color:#9aa7a3; font-size:13px; }
#view-videoeditor .ve-topbar-left { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
#view-videoeditor .ve-topbar-actions { display:flex; gap:8px; flex-wrap:wrap; }
#view-videoeditor .ve-topbtn { background:#2a2f31; border-color:#3a4144; color:#e8ecec; }
#view-videoeditor .ve-topbtn:hover { background:#343a3d; }
#view-videoeditor .ve-topbtn.btn-orange { background:#e67e22; border-color:#e67e22; color:#fff; }
#view-videoeditor .ve-topbtn:disabled { opacity:.45; cursor:not-allowed; }
#view-videoeditor .ve-body { display:grid; grid-template-columns:300px minmax(0,1fr) 300px; gap:0; align-items:start; }
#view-videoeditor .ve-rail { padding:14px; display:flex; flex-direction:column; gap:14px; max-height:760px; overflow-y:auto; }
#view-videoeditor .ve-rail-left { border-right:1px solid #2a2f31; }
#view-videoeditor .ve-rail-right { border-left:1px solid #2a2f31; }
#view-videoeditor .ve-panel { background:#1d2123; border:1px solid #2a2f31; border-radius:12px; padding:14px; }
#view-videoeditor .ve-panel h3 { margin:0 0 10px; font-size:14px; color:#fff; letter-spacing:.2px; }
#view-videoeditor .ve-panel label { color:#c7d0cd; font-size:13px; }
#view-videoeditor .ve-panel .small { color:#9aa7a3; }
#view-videoeditor .ve-panel input[type="text"], #view-videoeditor .ve-panel input[type="number"], #view-videoeditor .ve-panel select, #view-videoeditor .ve-panel textarea { background:#262b2e; border-color:#3a4144; color:#eef2f1; }
#view-videoeditor .ve-panel input[type="text"]::placeholder, #view-videoeditor .ve-panel input[type="number"]::placeholder, #view-videoeditor .ve-panel textarea::placeholder { color:#7d8a86; }
#view-videoeditor .ve-panel .drop { background:#262b2e; border-color:#3a4144; color:#c7d0cd; }
#view-videoeditor .ve-panel .result { background:#262b2e; border-color:#3a4144; color:#c7d0cd; }
#view-videoeditor .ve-panel .btn-ghost { background:#2a2f31; border-color:#3a4144; color:#e8ecec; }
#view-videoeditor .ve-panel .btn-ghost:hover { background:#343a3d; }
#view-videoeditor .ve-panel .btn-green { background:#0f766e; border-color:#0f766e; }
#view-videoeditor .ve-panel .check { color:#c7d0cd; }
#view-videoeditor .ve-stage { padding:16px; display:flex; align-items:flex-start; justify-content:center; min-height:420px; background:#101213; }
#view-videoeditor .ve-preview { width:100%; max-width:880px; aspect-ratio:16/9; background:#000; }
#view-videoeditor .ve-dock { border-top:1px solid #2a2f31; padding:14px 16px; background:#1d2123; }
#view-videoeditor .ve-dock-head { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
#view-videoeditor .ve-dock-head h3 { margin:0; font-size:15px; color:#fff; }
#view-videoeditor .ve-dock-head .small { color:#9aa7a3; }
#view-videoeditor .ve-timeline { background:#101213; border:1px solid #2a2f31; border-radius:10px; overflow-x:auto; }
#view-videoeditor .ve-lanelabel { background:#1d2123; color:#c7d0cd; }
#view-videoeditor .ve-lanetrack { background:#181b1d; }
#view-videoeditor .ve-exportbar { margin-top:14px; }
#view-videoeditor .ve-exportbar label { color:#c7d0cd; font-size:13px; }
#view-videoeditor .ve-exportbar select { background:#262b2e; border-color:#3a4144; color:#eef2f1; }
#view-videoeditor .ve-exportbar .small { color:#9aa7a3; }
#view-videoeditor .ve-exportbar .btn-ghost { background:#2a2f31; border-color:#3a4144; color:#e8ecec; }
#view-videoeditor .ve-exportbar .result { background:#262b2e; border-color:#3a4144; color:#c7d0cd; }
#view-videoeditor .ve-progress { background:#2a2f31; }
#view-videoeditor .ve-bar { background:#0f766e; }
/* Dubbing: per-character rows and per-segment assignment list */
#view-videoeditor .ve-char-row { background:#262b2e; border:1px solid #3a4144; border-radius:10px; padding:10px; margin-bottom:10px; }
#view-videoeditor .ve-char-row label { color:#c7d0cd; }
#view-videoeditor .ve-char-row input[type="text"], #view-videoeditor .ve-char-row select { background:#1d2123; border-color:#3a4144; color:#eef2f1; }
#view-videoeditor .ve-seg-row { display:flex; align-items:center; gap:8px; padding:8px 0; border-top:1px solid #2a2f31; font-size:13px; }
#view-videoeditor .ve-seg-row:first-child { border-top:0; }
#view-videoeditor .ve-seg-time { color:#9aa7a3; white-space:nowrap; font-size:12px; }
#view-videoeditor .ve-seg-text { flex:1; min-width:0; color:#e8ecec; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#view-videoeditor .ve-seg-row select { background:#262b2e; border-color:#3a4144; color:#eef2f1; flex:0 0 130px; padding:6px 8px; }
#view-videoeditor .ve-tr-row { display:flex; gap:8px; padding:8px 0; border-top:1px solid #2a2f31; font-size:13px; }
#view-videoeditor .ve-tr-row:first-child { border-top:0; }
#view-videoeditor .ve-tr-row .ve-seg-text { white-space:normal; }
/* Text to Video */
#view-videoeditor .ve-t2v-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; align-items:start; }
#view-videoeditor .ve-t2v-left { padding:16px; display:flex; flex-direction:column; gap:12px; border-right:1px solid #2a2f31; }
#view-videoeditor .ve-t2v-left label { color:#c7d0cd; font-size:13px; }
#view-videoeditor .ve-t2v-left .small { color:#9aa7a3; }
#view-videoeditor .ve-t2v-left textarea, #view-videoeditor .ve-t2v-left input[type="number"], #view-videoeditor .ve-t2v-left select { background:#262b2e; border-color:#3a4144; color:#eef2f1; }
#view-videoeditor .ve-t2v-left .drop { background:#262b2e; border-color:#3a4144; color:#c7d0cd; }
#view-videoeditor .ve-t2v-left .btn-ghost { background:#2a2f31; border-color:#3a4144; color:#e8ecec; }
#view-videoeditor .ve-t2v-left .result { background:#262b2e; border-color:#3a4144; color:#c7d0cd; }
#view-videoeditor .ve-t2v-right { padding:16px; background:#101213; }
#view-videoeditor .ve-t2v-right canvas { width:100%; height:auto; display:block; border-radius:10px; background:#000; }
#view-videoeditor .ve-t2v-right .small { color:#9aa7a3; margin-top:8px; }
#view-videoeditor .ve-scene-chip { display:inline-block; background:#262b2e; border:1px solid #3a4144; color:#c7d0cd; border-radius:999px; padding:4px 10px; margin:0 6px 6px 0; font-size:12px; }
/* Responsive: stack the editor on small screens */
@media (max-width: 1080px) {
  #view-videoeditor .ve-body { grid-template-columns:280px minmax(0,1fr); }
  #view-videoeditor .ve-rail-right { grid-column:1 / -1; border-left:0; border-top:1px solid #2a2f31; max-height:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px; }
  #view-videoeditor .ve-t2v-body { grid-template-columns:1fr; }
  #view-videoeditor .ve-t2v-left { border-right:0; border-bottom:1px solid #2a2f31; }
}
@media (max-width: 760px) {
  #view-videoeditor .ve-body { grid-template-columns:1fr; }
  #view-videoeditor .ve-stage { order:-1; padding:10px; min-height:0; }
  #view-videoeditor .ve-rail { max-height:none; border:0; border-top:1px solid #2a2f31; padding:12px; }
  #view-videoeditor .ve-rail-left { border-right:0; }
  #view-videoeditor .ve-topbar { padding:10px 12px; }
  #view-videoeditor .ve-topbar-hint { display:none; }
  #view-videoeditor .ve-dock { padding:12px; }
  #view-videoeditor .ve-export-opts { grid-template-columns:1fr !important; }
  #view-videoeditor .ve-t2v-left, #view-videoeditor .ve-t2v-right { padding:12px; }
  #view-videoeditor .ve-seg-row { flex-wrap:wrap; }
  #view-videoeditor .ve-seg-row select { flex:1 1 120px; }
}

/* Tools 34-35 (2026-11-25, build-only) — negative-prompt chips and
 * saved-prompt / saved-outline history rows. Scoped to .aura-tool. */
.aura-tool .vp-chip { min-height: 38px; padding: 0 12px; }
.aura-tool .vp-hist { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.aura-tool .vp-hist:first-child { border-top: 0; }
.aura-tool .vp-hist span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aura-tool .vp-hist .btn { flex: 0 0 auto; min-height: 38px; }

/* Tools 36-38 (2026-11-25, build-only) — logo colour helper preview
 * and idea cards; the voiceover/presentation tools reuse .kpis,
 * .result, .vp-hist and the shared button styles. Scoped to .aura-tool. */
.aura-tool .lc-profile { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 32px; }
.aura-tool .lc-banner { border-radius: 16px; padding: 18px 22px; }
.aura-tool .lc-banner b { font-size: 22px; }
.aura-tool .lc-idea { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.aura-tool .lc-pal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aura-tool .lc-sw { border-radius: 12px; min-height: 64px; padding: 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; cursor: pointer; border: 0; font-weight: 800; font-size: 13px; text-align: left; }
@media (max-width: 860px) { .aura-tool .lc-pal { grid-template-columns: 1fr; } }

/* Tools 39-40 (2026-11-25, build-only) — AI chatbot message bubbles
 * and AI image generator result + history thumbnails. Scoped to
 * .aura-tool. */
.aura-tool .cb-chat { border: 1px solid var(--line); border-radius: 16px; background: var(--surface2); padding: 14px; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.aura-tool .cb-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.aura-tool .cb-user { align-self: flex-end; background: #0A7A5C; color: #fff; border-bottom-right-radius: 4px; }
.aura-tool .cb-ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.aura-tool .cb-think { font-style: italic; opacity: .75; }
.aura-tool .cb-copy { display: block; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.aura-tool .ig-result img { display: block; max-width: 100%; border-radius: 12px; }
.aura-tool .ig-hist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.aura-tool .ig-hist img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); }
@media (max-width: 860px) { .aura-tool .ig-hist { grid-template-columns: repeat(2, 1fr); } .aura-tool .cb-msg { max-width: 95%; } }

/* Tools 41–45 (2026-11-25, build-only) — invoice preview paper/table,
 * humanizer + MP4/OCR progress meters. Scoped to .aura-tool. */
.aura-tool .inv-paper { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px 22px; }
.aura-tool .inv-paper-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 12px; }
.aura-tool .inv-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.aura-tool .inv-table th, .aura-tool .inv-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.aura-tool .inv-table th { font-size: 13px; color: var(--muted); }
.aura-tool .inv-table input { margin: 0; }
.aura-tool .hu-meter { height: 12px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); overflow: hidden; }
.aura-tool .hu-meter-fill { height: 100%; width: 0%; background: #0A7A5C; border-radius: 999px; transition: width .3s ease; }
@media print { body * { visibility: hidden; } .aura-tool .inv-paper, .aura-tool .inv-paper *, .aura-tool .rs-paper, .aura-tool .rs-paper * { visibility: visible; } .aura-tool .inv-paper, .aura-tool .rs-paper { position: absolute; left: 0; top: 0; width: 100%; border: 0; } }

/* Tools 46–50 (2026-11-27, build-only) — PDF to JPG page rows,
 * email signature preview, JSON to CSV table preview, resume
 * paper (Modern + Classic) and its print layout. Scoped to
 * .aura-tool. The resume print rule above (shared with the
 * invoice paper) shows only the resume paper when printing. */
.aura-tool .pj-page { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.aura-tool .pj-page:last-child { border-bottom: 0; }
.aura-tool .es-preview { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px; min-height: 120px; }
.aura-tool #jcPreview { overflow-x: auto; }
.aura-tool .jc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.aura-tool .jc-table th, .aura-tool .jc-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.aura-tool .jc-table th { background: var(--surface2); color: var(--muted); font-size: 13px; }
.aura-tool .rs-paper { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 24px 26px; font-size: 14.5px; line-height: 1.55; color: #111713; }
.aura-tool .rs-paper .rs-name { font-size: 26px; font-weight: 800; line-height: 1.2; }
.aura-tool .rs-paper .rs-title { font-size: 16px; color: #5B665E; margin-top: 2px; }
.aura-tool .rs-paper .rs-contact { font-size: 13.5px; color: #5B665E; margin-top: 8px; }
.aura-tool .rs-paper .rs-sec { margin-top: 16px; }
.aura-tool .rs-paper .rs-sec-h { font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding-bottom: 4px; margin-bottom: 8px; }
.aura-tool .rs-paper.rs-modern .rs-sec-h { color: #0A7A5C; border-bottom: 2px solid #0A7A5C; }
.aura-tool .rs-paper.rs-classic .rs-sec-h { border-bottom: 1px solid #111713; }
.aura-tool .rs-paper .rs-job { margin-bottom: 10px; }
.aura-tool .rs-paper .rs-job-h { display: flex; justify-content: space-between; gap: 12px; }
.aura-tool .rs-paper .rs-dates { color: #5B665E; font-size: 13.5px; white-space: nowrap; }
.aura-tool .rs-paper .rs-bullets { white-space: pre-line; margin-top: 4px; color: #3A423C; }
.aura-tool .rs-paper .rs-skill { display: inline-block; background: #DFF5E9; border-radius: 999px; padding: 3px 12px; margin: 0 6px 6px 0; font-size: 13.5px; }
.aura-tool .rs-exp, .aura-tool .rs-edu { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }

/* Tools 51–55 (2026-11-28, build-only) — GPA course rows and the
 * voice recorder waveform + recording dot. Scoped to .aura-tool. */
.aura-tool .gp-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.aura-tool .gp-row input, .aura-tool .gp-row select { margin: 0; }
.aura-tool .gp-remove { min-height: 38px; padding: 0 12px; }
.aura-tool .vr-wave { width: 100%; height: 90px; background: #111713; border-radius: 14px; display: block; }
.aura-tool .vr-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #FF5C28; margin-right: 8px; animation: vrblink 1s steps(2) infinite; }
@keyframes vrblink { 50% { opacity: .15; } }
@media (max-width: 860px) { .aura-tool .gp-row { grid-template-columns: 1fr 1fr; } }
