button, input, select { font: inherit; color: inherit; }

.ac-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }
.ac-hero { text-align: center; padding: 16px 0 4px; }
.ac-hero .kicker { color: var(--g-2); text-transform: uppercase; letter-spacing: 1.2px; font-size: 12px; font-weight: 700; }
.ac-hero h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -1.4px; margin: 12px 0 10px; font-weight: 600; }
.ac-hero p { color: var(--muted); font-size: 15px; max-width: 640px; margin: 0 auto; line-height: 1.5; }

.ac-drop { margin: 18px 0; padding: 30px 18px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--surface); text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.ac-drop:hover, .ac-drop.drag { border-color: var(--accent); }
.ac-drop strong { font-size: 15px; }
.ac-drop span { color: var(--g-2); font-size: 12.5px; max-width: 560px; margin: 0 auto; }

.ac-app { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 820px) { .ac-app { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }

.ac-opts { padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.ac-presets { display: flex; flex-direction: column; gap: 6px; }
.ac-lab { color: var(--g-2); text-transform: uppercase; letter-spacing: .5px; font-size: 11px; font-weight: 700; }
.ac-preset-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-preset-btns button { flex: 1 1 auto; padding: 8px 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); cursor: pointer; font-size: 11.5px; font-weight: 600; }
.ac-preset-btns button:hover { border-color: var(--accent); }
.ac-row { display: flex; flex-direction: column; gap: 6px; font-size: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.ac-row > span { color: var(--g-2); text-transform: uppercase; letter-spacing: .5px; font-size: 11px; font-weight: 700; }
.ac-row select { padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); font-size: 13px; outline: 0; }
.ac-check { display: flex; align-items: center; gap: 8px; cursor: pointer; padding-top: 11px; border-top: 1px solid var(--line); }
.ac-check input { accent-color: var(--accent); }
.ac-check span { font-size: 12.5px; }
.ac-note { color: var(--g-3); font-size: 11px; line-height: 1.5; margin: 2px 0 0; }

.ac-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ac-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-btn { padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 700; text-decoration: none; color: inherit; display: inline-block; }
.ac-btn:hover { border-color: var(--line-2); }
.ac-btn.primary { background: var(--solid); color: #fff; border-color: var(--solid); }
.ac-btn:disabled { opacity: .5; cursor: default; }

.ac-list { display: flex; flex-direction: column; gap: 8px; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.ac-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-item-main strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-meta { color: var(--g-2); font: 11px "DM Mono", monospace; }
.ac-item-side { flex: none; display: flex; align-items: center; gap: 10px; }
.ac-prog { display: inline-block; width: 90px; height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; vertical-align: middle; }
.ac-prog b { display: block; height: 100%; width: 0; background: var(--accent); }
.ac-dl { font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.ac-err { color: var(--danger, #ff6a5f); font-size: 11.5px; }
.ac-warn { color: #f0a800; font-weight: 700; }
.ac-x { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--g-2); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.ac-x:hover { color: var(--ink); }

.ac-content { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.ac-content h2 { font-size: 22px; letter-spacing: -.5px; margin: 0 0 8px; }
.ac-content h3 { font-size: 15px; margin: 14px 0 4px; }
.ac-content p, .ac-content li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ac-content ol, .ac-content ul { margin: 4px 0; padding-left: 20px; }
.ac-faq details { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 12px 14px; margin-bottom: 8px; }
.ac-faq summary { font-weight: 600; cursor: pointer; font-size: 14px; }
.ac-faq details p { margin: 8px 0 0; }
.ac-related { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ac-related a { color: var(--accent); font-size: 13.5px; text-decoration: none; }
.ac-related a:hover { text-decoration: underline; }
