*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--vv-background);color:var(--vv-foreground);font-family:var(--vv-font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;word-break:keep-all}
a{color:inherit}
.page{max-width:1152px;margin:0 auto;padding:28px 16px 64px;display:flex;flex-direction:column;gap:16px}
.crumb{font-size:12.5px;color:var(--vv-muted-foreground)}
.crumb a{text-decoration:none}
.crumb a:hover{text-decoration:underline}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.page-head h1{margin:0;font-size:24px;font-weight:600;letter-spacing:-.02em}
.page-head p{margin:4px 0 0;color:var(--vv-muted-foreground);font-size:13.5px}

.card{border:1px solid var(--vv-border);border-radius:var(--vv-radius);background:#fff;padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}
.card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.card-head h2{margin:0;font-size:15px;font-weight:600}
.card-head .spacer{flex:1}
.card-note{margin:0;font-size:12.5px;color:var(--vv-muted-foreground)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 14px;border-radius:8px;border:1px solid var(--vv-border);background:#fff;color:var(--vv-foreground);font:inherit;font-size:13.5px;font-weight:500;text-decoration:none;white-space:nowrap;cursor:pointer}
.btn:hover{background:var(--vv-muted)}
.btn-primary{background:var(--vv-primary);border-color:var(--vv-primary);color:var(--vv-primary-foreground)}
.btn-primary:hover{background:#27272a}
.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.btn-sm{height:30px;padding:0 10px;font-size:12.5px}

.badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;border:1px solid var(--vv-border);font-size:11.5px;font-weight:500;color:#3f3f46;white-space:nowrap;background:#fff}
.badge-existing{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.badge-partial{border-color:#fde68a;background:#fffbeb;color:#b45309}
.badge-new{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.badge-muted{background:var(--vv-muted);border-color:transparent;color:var(--vv-muted-foreground)}

.shot{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;font-size:11.5px;font-weight:600;white-space:nowrap}
.shot-red{background:#fee2e2;color:#b91c1c}
.shot-green{background:#dcfce7;color:#15803d}
.shot-blue{background:#dbeafe;color:#1d4ed8}

.trail{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;overflow-x:auto}
.trail li{min-width:104px}
.trail a{display:flex;flex-direction:column;gap:4px;height:100%;padding:10px;border:1px solid var(--vv-border);border-radius:var(--vv-radius);text-decoration:none;background:#fff}
.trail a:hover{background:var(--vv-muted)}
.trail .trail-number{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:var(--vv-muted);font-size:11.5px;font-weight:600;color:#3f3f46}
.trail .trail-name{font-size:13px;font-weight:600}
.trail .trail-tool{font-size:11.5px;color:var(--vv-muted-foreground);line-height:1.35}
.trail li.on a{border-color:var(--vv-primary);box-shadow:inset 0 0 0 1px var(--vv-primary)}
.trail li.on .trail-number{background:var(--vv-primary);color:var(--vv-primary-foreground)}
.trail li.trail-live a{border-style:dashed}
.trail li.trail-live .trail-number{background:#eef3ff;color:#1d4ed8}

.table-wrap{overflow-x:auto;margin:0 -4px}
table{width:100%;border-collapse:collapse;font-size:13.5px}
th{text-align:left;font-weight:500;color:var(--vv-muted-foreground);font-size:12.5px;padding:8px 10px;border-bottom:1px solid var(--vv-border);white-space:nowrap}
td{padding:10px;border-bottom:1px solid var(--vv-border);vertical-align:top}
tr:last-child td{border-bottom:0}
td.num{width:44px;color:var(--vv-muted-foreground);font-variant-numeric:tabular-nums}
td.nowrap{white-space:nowrap}
.sub{display:block;margin-top:4px;font-size:12px;color:var(--vv-muted-foreground)}
.muted{color:var(--vv-muted-foreground)}

.step-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.step-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.step-aside{display:flex;flex-direction:column;gap:16px;position:sticky;top:calc(var(--vv-header-h) + 16px)}
.step-nav{display:flex;justify-content:space-between;gap:8px}
@media (max-width:920px){.step-grid{grid-template-columns:1fr}.step-aside{position:static}}

.facts{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px 12px;margin:0;font-size:13.5px}
.facts dt{color:var(--vv-muted-foreground)}
.facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:var(--vv-muted);border-radius:8px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.inline-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:var(--vv-muted);border-radius:6px;padding:2px 6px}
.field{display:flex;gap:8px;flex-wrap:wrap}
.field input{flex:1;min-width:240px;height:36px;border:1px solid var(--vv-border);border-radius:8px;padding:0 10px;font:inherit;font-size:13px;color:#3f3f46;background:#fafafa}
.chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.chips .arrow{color:var(--vv-muted-foreground);font-size:12px}

.product{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}
.product img{width:100%;border-radius:8px;border:1px solid var(--vv-border);display:block}
@media (max-width:640px){.product{grid-template-columns:1fr}}

.clips{display:flex;gap:10px;flex-wrap:wrap}
.clip{width:150px;aspect-ratio:9/16;object-fit:cover;border-radius:10px;border:1px solid var(--vv-border);background:var(--vv-muted);display:block}
.clip-sm{width:54px;border-radius:6px}
.capture{display:block;border:1px solid var(--vv-border);border-radius:8px;overflow:hidden}
.capture img{display:block;width:100%}
.price-card-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}
.price-card-layout img{width:100%;border-radius:10px;border:1px solid var(--vv-border);display:block}
@media (max-width:760px){.price-card-layout{grid-template-columns:1fr}}
.two-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:760px){.two-cards{grid-template-columns:1fr}}
.script-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.script-list li{display:grid;grid-template-columns:28px 76px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--vv-border);align-items:start}
.script-list li:last-child{border-bottom:0}
.script-list .order{color:var(--vv-muted-foreground);font-variant-numeric:tabular-nums}
.page-foot{margin-top:8px;font-size:12px;color:var(--vv-muted-foreground);line-height:1.6}
