:root{--bg: #FAFAFC;--ink: #15161A;--muted: #5C6170;--line: #E4E6EC;--soft: #F1F2F6;--purple: #7652AE;--purple-lip: #5E3D94;--azure: #1A6FC0;--azure-lip: #0F4F8C;--green: #26A348;--green-lip: #16803A;--navy: #0D3F75}*{box-sizing:border-box}html,body{margin:0;height:100%;background:#ecedf2;color:var(--ink);font-family:Poppins,system-ui,sans-serif;-webkit-tap-highlight-color:transparent}*{scrollbar-width:none}*::-webkit-scrollbar{display:none}button,input{font-family:inherit}a{color:var(--purple)}#app{min-height:100%;display:flex;justify-content:center}.phone{width:100%;max-width:430px;height:100dvh;background:var(--bg);display:flex;flex-direction:column;overflow:hidden;position:relative}@media(min-width:600px){.phone{height:min(100dvh,900px);margin:auto 0;border-radius:28px;box-shadow:0 20px 60px #15161a1f}#app{align-items:center;padding:16px}}.top{display:flex;align-items:center;gap:12px;padding:12px 16px 8px;flex-shrink:0}.top .label{font-size:15px;font-weight:600}.top .sub{font-size:14px;color:var(--muted)}.icon-btn{width:44px;height:44px;border:0;background:none;display:flex;align-items:center;justify-content:center;color:var(--ink);cursor:pointer;border-radius:22px;flex-shrink:0}.prog{flex:1;display:grid;gap:5px}.prog span{height:8px;border-radius:4px;background:var(--line)}.prog span.on{background:var(--ink)}.body{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:4px 20px 24px}.foot{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:6px}h1{margin:0;font-size:24px;font-weight:600;line-height:1.25;letter-spacing:-.02em}h2{margin:0;font-size:20px;font-weight:600;letter-spacing:-.02em}.muted{font-size:15px;color:var(--muted);line-height:1.45;margin:0}.over{font-size:14px;font-weight:600;color:var(--muted)}.clay{border:0;border-radius:20px;font-weight:600;font-size:17px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none;min-height:52px;padding:0 18px;transition:transform .08s,box-shadow .08s}.clay:active{transform:translateY(3px);box-shadow:none!important}.clay[disabled]{opacity:.45;pointer-events:none}.c-purple{background:var(--purple);color:#fff;box-shadow:0 4px 0 var(--purple-lip)}.c-white{background:#fff;color:var(--ink);box-shadow:0 4px #cdd1da}.c-azure{background:var(--azure);color:#fff;box-shadow:0 4px 0 var(--azure-lip)}.c-green{background:var(--green);color:#fff;box-shadow:0 4px 0 var(--green-lip)}.c-navy{background:var(--navy);color:#fff;box-shadow:0 2px #082b52}.small{min-height:44px;font-size:15px;padding:0 14px;border-radius:16px}.judge{justify-content:flex-start;min-height:60px;gap:12px}.judge b{font-size:20px}.judge span{font-weight:400;font-size:16px}.card{background:#fff;border-radius:20px;box-shadow:0 1px 2px #15161a0a,0 8px 24px #15161a0f;padding:16px;display:flex;flex-direction:column;gap:10px}.pill{height:32px;padding:0 14px;border-radius:999px;background:var(--soft);display:inline-flex;align-items:center;font-size:14px;color:#3b3f4a;align-self:flex-start}.pill.warn{background:#fff4d6;color:#6b4700}.pill.ok{background:#eaf8ee;color:#115f2b}.pill.blue{background:#e8f1fb;color:#0f4f8c}.scene{position:relative;border-radius:20px;overflow:hidden;height:260px;flex-shrink:0;background:var(--soft)}.scene img{width:100%;height:100%;object-fit:cover;display:block}.scene .pill{position:absolute;top:12px;left:12px;background:#fff;font-weight:600;color:var(--ink)}.gato{display:flex;align-items:flex-end;gap:10px}.gato img{width:64px;height:auto;flex-shrink:0}.gato.big img{width:100px}.bubble{flex:1;background:#fff;border-radius:20px;padding:14px 16px;box-shadow:0 1px 2px #15161a0a,0 8px 24px #15161a0f;display:flex;flex-direction:column;gap:6px}.bubble p{margin:0;font-size:17px;font-weight:600;line-height:1.38}.replay{align-self:flex-start;border:0;background:var(--soft);border-radius:999px;height:32px;padding:0 12px;font-size:14px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:var(--ink)}.mic-wrap{display:flex;flex-direction:column;align-items:center;gap:8px}.mic{width:96px;height:96px;border-radius:48px;border:0;background:var(--azure);color:#fff;box-shadow:0 4px 0 var(--azure-lip);display:flex;align-items:center;justify-content:center;cursor:pointer}.mic.rec{background:#d93a3a;box-shadow:0 4px #a82424;animation:pulse 1.2s infinite}@keyframes pulse{50%{box-shadow:0 4px #a82424,0 0 0 14px #d93a3a26}}.mic-label{font-size:18px;font-weight:600}.blocks{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-start}.blk{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.chip{height:44px;min-width:84px;border:0;border-radius:999px;display:inline-flex;align-items:center;gap:3px;padding:0 14px 0 10px;cursor:pointer;color:var(--ink)}.chip .bar{width:3px;border-radius:2px;background:#15161a80}.chip.hl{outline:3px solid #F5B400;outline-offset:3px}.gloss{font-size:15px;font-weight:600}.src{font-size:13px;color:var(--muted)}.changed{font-size:13px;font-weight:600;color:#8a5a00}.same{font-size:13px;color:#115f2b}.wave{position:relative;height:88px;border-radius:12px;overflow:hidden;touch-action:manipulation;cursor:crosshair}.wave canvas{width:100%;height:100%;display:block}label.f{font-size:15px;font-weight:600}.field{height:48px;width:100%;border:1px solid #CDD1DA;border-radius:999px;padding:0 18px;font-size:16px;background:#fff;color:var(--ink)}.field:focus{outline:3px solid rgba(26,111,192,.25);border-color:var(--azure)}.gl{height:40px;font-size:15px;padding:0 12px}.row{display:flex;gap:8px;flex-wrap:wrap}.check{display:flex;gap:12px;align-items:flex-start;padding:6px 0;font-size:16px;line-height:1.4}.check input{width:24px;height:24px;margin:0;accent-color:var(--purple);flex-shrink:0}.tif{font-family:Noto Sans Tifinagh,Poppins,sans-serif}.path{display:flex;flex-direction:column}.step{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid var(--line);font-size:15px}.step:last-child{border-bottom:0}.dot{width:30px;height:30px;border-radius:15px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex-shrink:0}.step.done .dot{background:#eaf8ee;color:#115f2b}.step.now .dot{background:var(--ink);color:#fff}.step.now{font-weight:600}.step .k{font-size:12px;color:var(--muted);display:block;font-weight:400}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stat{display:flex;flex-direction:column;align-items:center;padding:10px 4px;border-radius:12px;background:var(--soft)}.stat b{font-size:22px}.stat span{font-size:13px;color:var(--muted)}.cmp{display:grid;grid-template-columns:96px 1fr;gap:10px 8px;align-items:center}.cmp>span{font-size:14px}.toast{position:absolute;left:16px;right:16px;bottom:16px;background:var(--ink);color:#fff;border-radius:16px;padding:12px 16px;font-size:15px}.page{width:100%;min-height:100dvh;background:var(--bg);padding:32px 20px 56px}.page .wrap{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:24px}.page h1{font-size:clamp(26px,4vw,40px)}.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.kpis .card b{font-size:34px;letter-spacing:-.02em}.tbl{overflow-x:auto}.tbl table{width:100%;border-collapse:collapse;font-size:15px;min-width:640px}.tbl th{text-align:left;color:var(--muted);font-weight:600;padding:12px 8px}.tbl td{padding:10px 8px;border-top:1px solid var(--line);vertical-align:middle}.futures{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.brand{display:flex;align-items:center;gap:10px}.brand img{height:22px;width:auto}.kept{align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:999px;background:#eaf8ee;color:#115f2b;font-size:19px;font-weight:600;margin:0 auto}.select{appearance:none;-webkit-appearance:none;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2315161A' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;padding-right:44px}.select:invalid,.select option[value=""]{color:var(--muted)}.merge{align-self:center;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border:1.5px dashed #CDD1DA;border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}.merge:active{background:var(--soft)}
