:root{--surface:#ffffff;--surface-muted:#f8fafc;--border:#e2e8f0;--text-main:#0f172a;--text-muted:#475569;--primary:#0d9488;--primary-dark:#0f766e;--accent:#14b8a6;--shadow-soft:0 10px 30px rgba(15,23,42,0.08);--gradient:linear-gradient(135deg,#f0fdfa 0%,#ecfeff 100%);--sio-accent:#0d9488;--sio-accent-soft:rgba(13,148,136,0.12);--sio-warn:#b45309;--sio-warn-bg:rgba(180,83,9,0.1);--sio-track:#e2e8f0;--sio-fill:linear-gradient(90deg,var(--sio-accent),#14b8a6);}
.sio-hero-metrics{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;flex:1;min-width:240px;max-width:420px;}
.sio-hero-metrics li{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;padding:12px 14px;}
.sio-hero-metrics strong{display:block;font-size:1.35rem;font-weight:700;color:var(--text-main);line-height:1.2;}
.sio-hero-metrics span{font-size:12px;color:var(--text-muted);letter-spacing:0.02em;text-transform:uppercase;}
.sio-workspace{margin-bottom:2.5rem;}
.sio-panel{background:var(--surface);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow-soft);overflow:hidden;}
.sio-studio{margin-top:0;display:grid;gap:0;}
@media (min-width:992px){.sio-studio{grid-template-columns:minmax(360px,480px) 1fr;}}
.sio-dropzone{position:relative;min-height:160px;padding:28px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;background:linear-gradient(145deg,var(--surface-muted) 0%,var(--surface) 55%);border-bottom:1px solid var(--border);cursor:pointer;transition:background 0.2s ease,border-color 0.2s ease;}
.sio-dropzone:focus{outline:2px solid var(--sio-accent);outline-offset:2px;}
.sio-dropzone.sio-dropzone-active{background:var(--sio-accent-soft);border-color:var(--sio-accent);}
.sio-dropzone-icon{width:48px;height:48px;border-radius:14px;background:var(--sio-accent-soft);color:var(--sio-accent);display:flex;align-items:center;justify-content:center;font-size:1.25rem;}
.sio-dropzone-icon svg{display:block;}
.sio-dropzone-title{font-size:1.05rem;font-weight:600;margin:0;color:var(--text-main);}
.sio-dropzone-hint{font-size:14px;color:var(--text-muted);margin:0;max-width:280px;}
.sio-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}
.sio-controls{padding:18px 16px 20px;display:flex;flex-direction:column;gap:20px;}
@media (min-width:768px){.sio-controls{padding:22px 24px 26px;gap:22px;}}
@media (min-width:992px){.sio-controls{border-right:1px solid var(--border);}}
.sio-control-block{display:flex;flex-direction:column;gap:10px;}
.sio-label-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
.sio-label{font-size:13px;font-weight:600;color:var(--text-main);letter-spacing:0.03em;text-transform:uppercase;}
.sio-label-val{font-size:14px;font-weight:600;color:var(--sio-accent);font-variant-numeric:tabular-nums;}
.sio-range-wrap{position:relative;}
.sio-range{width:100%;height:6px;border-radius:999px;background:var(--surface-muted);appearance:none;-webkit-appearance:none;margin:0;}
.sio-range::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--primary);border:2px solid var(--surface);box-shadow:0 1px 4px rgba(0,0,0,.2);cursor:pointer;}
.sio-range::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--primary);border:2px solid var(--surface);cursor:pointer;}
.sio-chip-row{display:flex;flex-wrap:wrap;gap:8px;}
.sio-chip{font-size:13px;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted);cursor:pointer;font-weight:500;transition:background 0.15s ease,color 0.15s ease,border-color 0.15s ease;}
.sio-chip[aria-pressed="true"]{background:var(--sio-accent-soft);border-color:var(--sio-accent);color:var(--text-main);}
.sio-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:var(--surface-muted);padding:6px;border-radius:14px;border:1px solid var(--border);}
.sio-seg button{font-size:13px;padding:10px 8px;border-radius:10px;border:none;background:transparent;color:var(--text-muted);font-weight:600;cursor:pointer;transition:background 0.15s ease,color 0.15s ease;}
.sio-seg button[aria-pressed="true"]{background:var(--surface);color:var(--text-main);box-shadow:0 1px 4px rgba(0,0,0,0.06);}
.sio-seg button:disabled{opacity:0.4;cursor:not-allowed;}
.sio-actions{display:flex;flex-direction:column;gap:10px;}
@media (min-width:480px){.sio-actions{flex-direction:row;flex-wrap:wrap;}}
.sio-btn{flex:1;min-height:48px;border-radius:14px;border:none;font-size:15px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform 0.12s ease,opacity 0.12s ease;}
.sio-btn:active{transform:scale(0.98);}
.sio-btn-primary{background:var(--sio-accent);color:#fff;}
.sio-btn-primary:disabled{opacity:0.45;cursor:not-allowed;transform:none;}
.sio-btn-ghost{background:var(--surface-muted);color:var(--text-main);border:1px solid var(--border);}
.sio-btn-ghost:disabled{opacity:0.4;cursor:not-allowed;}
.sio-btn-clear{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;}
.sio-btn-clear:hover{background:#fecaca;}
.sio-results{display:none;margin-top:4px;padding:14px 16px;border-radius:14px;background:var(--sio-warn-bg);border:1px solid rgba(180,83,9,0.25);}
.sio-results.sio-results-visible{display:block;}
.sio-results dl{display:grid;grid-template-columns:1fr auto;gap:6px 16px;margin:0;font-size:14px;}
.sio-results dt{color:var(--text-muted);margin:0;}
.sio-results dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;}
.sio-results .sio-savings{color:var(--sio-warn);font-weight:700;}
.sio-preview-rail{margin-top:18px;display:grid;gap:14px;}
@media (min-width:900px){.sio-preview-rail{grid-template-columns:1fr;gap:18px;}}
.sio-results-col{padding:18px 16px 20px;background:var(--surface);}
@media (min-width:768px){.sio-results-col{padding:22px 24px 26px;}}
.sio-results-col .sio-preview-rail{margin-top:0;}
.sio-preview-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--surface-muted);display:flex;flex-direction:column;min-height:220px;}
.sio-preview-head{font-size:12px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;padding:10px 14px;background:var(--surface);border-bottom:1px solid var(--border);color:var(--text-muted);}
.sio-preview-body{flex:1;display:flex;align-items:center;justify-content:center;padding:14px;min-height:200px;position:relative;}
.sio-preview-body img,.sio-preview-body canvas{max-width:100%;max-height:min(52vh,420px);width:auto;height:auto;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,0.08);}
.sio-ph{color:var(--text-muted);font-size:14px;text-align:center;padding:20px;}
.sio-privacy-note{font-size:13px;color:var(--text-muted);margin:12px 0 0;text-align:center;}
.sio-prose{margin-top:2.5rem;}
.sio-prose h2{font-size:1.35rem;margin-top:2rem;margin-bottom:0.75rem;font-weight:700;color:var(--text-main);}
.sio-prose h2:first-child{margin-top:0;}
.sio-prose p{color:var(--text-main);line-height:1.65;margin:0 0 1rem;}
.sio-prose ul{margin:0 0 1rem;padding-left:1.2rem;}
.sio-prose li{margin-bottom:0.45rem;line-height:1.6;}
.sio-callout{border-left:4px solid var(--sio-accent);padding:14px 16px;margin:1.25rem 0;background:var(--surface-muted);border-radius:0 12px 12px 0;font-size:15px;line-height:1.6;}
.sio-table-wrap{overflow-x:auto;margin:1rem 0;border:1px solid var(--border);border-radius:12px;}
.sio-table{width:100%;border-collapse:collapse;font-size:14px;}
.sio-table th,.sio-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);}
.sio-table th{background:var(--surface-muted);font-weight:600;color:var(--text-muted);font-size:12px;text-transform:uppercase;letter-spacing:0.04em;}
.sio-table tr:last-child td{border-bottom:none;}
.sio-trust{display:grid;gap:16px;margin-top:2rem;padding:20px;border-radius:16px;border:1px solid var(--border);background:var(--surface);}
@media (min-width:640px){.sio-trust{grid-template-columns:1fr 1fr;}}
.sio-trust h2{font-size:1.15rem;margin:0 0 0.5rem;}
.sio-trust p{font-size:14px;line-height:1.6;margin:0;color:var(--text-muted);}
