:root{--primary:#2563eb;--primary-dark:#1d4ed8;--accent:#0ea5e9;--surface:#ffffff;--surface-muted:#f1f5f9;--border:#e2e8f0;--text-main:#0f172a;--text-muted:#64748b;--shadow-soft:0 20px 45px rgba(15,23,42,0.08);--ed-line:#14b8a6;--ed-line-soft:rgba(20,184,166,0.12);--ed-void:#0c1222;--ed-glow:rgba(20,184,166,0.35);--ed-card:#111827;--ed-deck-bg:linear-gradient(145deg,rgba(241,245,249,0.95),rgba(255,255,255,0.99));}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.ed-hero-meter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:min(100%,280px);flex:0 1 320px;align-self:stretch;}
.ed-meter-cell{background:var(--surface-muted);border:1px solid var(--border);border-radius:14px;padding:14px 16px;text-align:center;}
.ed-meter-val{display:block;font-size:1.65rem;font-weight:800;color:var(--ed-line);line-height:1.1;letter-spacing:-0.02em;}
.ed-meter-lab{display:block;font-size:0.72rem;text-transform:uppercase;letter-spacing:0.12em;color:var(--text-muted);margin-top:6px;}
.ed-tool{padding:0 0 2.5rem;}
.ed-shell{position:relative;border-radius:20px;overflow:hidden;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);}
.ed-idle{padding:clamp(1.25rem,4vw,2.5rem);}
.ed-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
.ed-drop{margin:0 auto;max-width:420px;border:2px dashed var(--ed-line);border-radius:18px;padding:clamp(2rem,6vw,3rem) 1.5rem;text-align:center;background:var(--ed-line-soft);cursor:pointer;transition:border-color 0.2s ease,box-shadow 0.2s ease,transform 0.2s ease;}
.ed-drop:focus{outline:2px solid var(--primary);outline-offset:3px;}
.ed-drop--active{border-color:var(--primary);box-shadow:0 0 0 4px var(--ed-glow);}
.ed-drop:hover{transform:translateY(-2px);}
.ed-drop-ico{width:56px;height:56px;margin:0 auto 1rem;border-radius:14px;background:var(--ed-void);border:1px solid var(--border);display:grid;place-items:center;color:var(--ed-line);}
.ed-drop-ico svg{width:28px;height:28px;}
.ed-drop h2{font-size:1.15rem;font-weight:700;margin:0 0 0.5rem;color:var(--text-main);}
.ed-drop p{margin:0;font-size:0.95rem;color:var(--text-muted);line-height:1.55;}
.ed-drop-k{font-weight:600;color:var(--ed-line);}
.ed-work[hidden]{display:none!important;}
.ed-work{display:block;}
.ed-stage{display:grid;grid-template-columns:1fr;gap:0;background:var(--ed-void);}
@media (min-width:900px){.ed-stage{grid-template-columns:1fr 1fr;}}
.ed-pane{position:relative;margin:0;padding:clamp(0.75rem,2vw,1.25rem);background:radial-gradient(ellipse at 30% 0%,rgba(20,184,166,0.08),transparent 55%),var(--ed-card);}
.ed-pane--edge{border-top:1px solid var(--border);}
@media (min-width:900px){.ed-pane--edge{border-top:none;border-left:1px solid var(--border);}}
.ed-ribbon{position:absolute;top:12px;left:12px;z-index:2;font-size:0.65rem;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;padding:6px 10px;border-radius:8px;background:rgba(2,6,23,0.85);color:var(--ed-line);border:1px solid rgba(20,184,166,0.35);}
.ed-canvas-slot{display:flex;align-items:center;justify-content:center;min-height:200px;padding:8px;}
.ed-canvas-slot canvas{max-width:100%;height:auto;border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,0.45);vertical-align:middle;}
.ed-deck{padding:clamp(1rem,3vw,1.35rem) clamp(1rem,3vw,1.5rem) 1.25rem;background:var(--ed-deck-bg);border-top:1px solid var(--border);}
.ed-deck-grid{display:grid;gap:16px;}
@media (min-width:720px){.ed-deck-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:end;}}
.ed-field{display:flex;flex-direction:column;gap:8px;}
.ed-field span{font-size:0.8rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.06em;}
.ed-select{width:100%;appearance:none;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text-main);padding:12px 40px 12px 14px;font-size:0.95rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;}
.ed-slider-row{display:flex;flex-direction:column;gap:10px;}
.ed-slider-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
.ed-slider-top output{font-variant-numeric:tabular-nums;font-weight:800;color:var(--ed-line);font-size:1.1rem;}
.ed-range{width:100%;height:6px;border-radius:99px;appearance:none;background:var(--surface-muted);}
.ed-range::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:var(--ed-line);border:2px solid var(--surface);box-shadow:0 0 0 2px var(--ed-glow);cursor:pointer;}
.ed-range::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--ed-line);border:2px solid var(--surface);cursor:pointer;}
.ed-toggles{display:flex;flex-wrap:wrap;gap:12px 20px;}
.ed-switch{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:0.92rem;color:var(--text-main);}
.ed-switch input{width:18px;height:18px;accent-color:var(--ed-line);}
.ed-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px;}
@media (min-width:720px){.ed-actions{margin-top:0;justify-content:flex-end;}}
.ed-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px 18px;font-size:0.9rem;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--text-main);cursor:pointer;transition:background 0.15s ease,border-color 0.15s ease;}
.ed-btn:hover{background:var(--surface-muted);}
.ed-btn--prime{background:var(--ed-line);border-color:var(--ed-line);color:#020617;}
.ed-btn--prime:hover{filter:brightness(1.08);}
.ed-prose{margin-top:2.75rem;max-width:820px;}
.ed-prose h2{font-size:clamp(1.35rem,3vw,1.65rem);font-weight:800;margin:2.25rem 0 0.85rem;color:var(--text-main);line-height:1.25;}
.ed-prose h2:first-child{margin-top:0;}
.ed-prose p{font-size:1rem;line-height:1.72;color:var(--text-muted);margin:0 0 1rem;}
.ed-prose p.ed-lead{font-size:1.08rem;color:var(--text-main);}
.ed-prose ul{margin:0 0 1.1rem;padding-left:1.2rem;color:var(--text-muted);line-height:1.65;}
.ed-prose li{margin-bottom:0.45rem;}
.ed-prose a{color:var(--primary);text-decoration:underline;text-underline-offset:3px;}
.ed-prose a:hover{color:var(--ed-line);}
.ed-callout{margin:1.5rem 0;padding:1rem 1.15rem;border-radius:14px;border-left:4px solid var(--ed-line);background:var(--surface-muted);font-size:0.95rem;line-height:1.65;color:var(--text-main);}
.ed-callout strong{color:var(--text-main);}
.ed-table-wrap{overflow-x:auto;margin:1.25rem 0;border-radius:14px;border:1px solid var(--border);}
.ed-table{width:100%;border-collapse:collapse;font-size:0.88rem;}
.ed-table th,.ed-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);}
.ed-table th{background:var(--surface-muted);color:var(--text-main);font-weight:700;}
.ed-table td{color:var(--text-muted);}
.ed-table tr:last-child td{border-bottom:none;}
.ed-muted{font-size:0.9rem;color:var(--text-muted);margin-top:2rem;}
