/* VerySimple Tools — lightweight, responsive, blue / white / charcoal */
.vst{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#1f2937;max-width:860px;margin:0 auto;line-height:1.55}
.vst *{box-sizing:border-box}
.vst h2.vst-title{font-size:1.6rem;margin:.2rem 0 .4rem;color:#111827}
.vst .vst-intro{color:#4b5563;margin:0 0 1rem}
.vst .vst-privacy{font-size:.85rem;color:#6b7280;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:.55rem .8rem;margin:0 0 1rem}
.vst .vst-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.1rem;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.vst label{display:block;font-weight:600;font-size:.9rem;margin:.7rem 0 .25rem}
.vst input[type=text],.vst input[type=url],.vst input[type=number],.vst input[type=date],.vst textarea,.vst select{width:100%;padding:.6rem .7rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;background:#fff;color:#111827}
.vst textarea{min-height:140px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92rem}
.vst input:focus,.vst textarea:focus,.vst select:focus{outline:2px solid #2563eb;outline-offset:1px;border-color:#2563eb}
.vst .vst-row{display:flex;gap:.75rem;flex-wrap:wrap}
.vst .vst-row>*{flex:1;min-width:140px}
.vst .vst-btn{display:inline-block;background:#2563eb;color:#fff;border:0;border-radius:8px;padding:.65rem 1.2rem;font-size:1rem;font-weight:600;cursor:pointer;margin:.8rem .4rem .2rem 0}
.vst .vst-btn:hover{background:#1d4ed8}
.vst .vst-btn.secondary{background:#374151}
.vst .vst-btn.secondary:hover{background:#111827}
.vst .vst-btn:disabled{opacity:.55;cursor:not-allowed}
.vst .vst-result{margin-top:1rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:.9rem 1rem;word-break:break-word}
.vst .vst-result:empty{display:none}
.vst .vst-result .vst-big{font-size:1.35rem;font-weight:700;color:#111827}
.vst .vst-error{margin-top:1rem;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:10px;padding:.8rem 1rem}
.vst .vst-error:empty{display:none}
.vst .vst-success{color:#065f46;font-weight:600}
.vst .vst-muted{color:#6b7280;font-size:.88rem}
.vst .vst-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;margin-top:.8rem}
.vst .vst-stat{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:.6rem;text-align:center}
.vst .vst-stat b{display:block;font-size:1.25rem;color:#111827}
.vst .vst-stat span{font-size:.82rem;color:#6b7280}
.vst input[type=file]{width:100%;padding:.5rem;border:1px dashed #9ca3af;border-radius:8px;background:#f9fafb}
.vst input[type=range]{width:100%}
.vst .vst-checks label{display:inline-flex;align-items:center;gap:.35rem;font-weight:400;margin:.3rem .9rem .3rem 0}
.vst canvas.vst-preview{max-width:100%;height:auto;border:1px solid #e5e7eb;border-radius:8px;background:#f3f4f6}
.vst img.vst-preview{max-width:100%;height:auto;border:1px solid #e5e7eb;border-radius:8px}
.vst .vst-drop{border:2px dashed #93c5fd;border-radius:10px;padding:1rem;text-align:center;color:#4b5563;background:#eff6ff;margin:.5rem 0}
.vst table.vst-table{width:100%;border-collapse:collapse;margin-top:.6rem}
.vst table.vst-table th,.vst table.vst-table td{border:1px solid #e5e7eb;padding:.45rem;text-align:left;font-size:.92rem}
.vst table.vst-table th{background:#f3f4f6}
.vst .vst-invoice{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.2rem;margin-top:1rem}
.vst .vst-invoice h3{margin:.1rem 0}
.vst .vst-qrcode{display:flex;justify-content:center;padding:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-top:.8rem}
.vst .vst-qrcode img,.vst .vst-qrcode canvas{max-width:100%;height:auto}
.vst .vst-output{width:100%;font-family:ui-monospace,Menlo,Consolas,monospace}
/* Tool directory */
.vst-dir h3{margin:1.2rem 0 .4rem;color:#111827;border-bottom:2px solid #2563eb;padding-bottom:.3rem}
.vst-dir ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.6rem}
.vst-dir li a{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.75rem .9rem;text-decoration:none;color:#1d4ed8;font-weight:600}
.vst-dir li a:hover{border-color:#2563eb;background:#eff6ff}
.vst-dir li a span{display:block;color:#6b7280;font-weight:400;font-size:.85rem}
@media (max-width:600px){.vst .vst-card{padding:.85rem}.vst h2.vst-title{font-size:1.35rem}}
@media print{
  body *{visibility:hidden}
  .vst .vst-invoice,.vst .vst-invoice *{visibility:visible}
  .vst .vst-invoice{position:absolute;left:0;top:0;width:100%;border:0}
}
