.rows.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.ac-card {
display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 20px;
background: linear-gradient(165deg, rgba(0, 200, 255, 0.07), rgba(10, 16, 28, 0.6) 55%);
border: 1px solid rgba(0, 225, 255, 0.16); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
transition: border-color .2s, transform .15s, box-shadow .2s; animation: acIn .25s ease;
}
@keyframes acIn { from { opacity: 0; transform: translateY(6px); } }
.ac-card:hover { border-color: rgba(0, 225, 255, 0.4); box-shadow: 0 14px 34px rgba(0, 200, 255, 0.1); }
.ac-card.off { background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(10, 16, 28, 0.6) 55%); border-color: rgba(255, 255, 255, 0.08); }
.ac-card.is-new { animation: acNew 1.2s ease; }
@keyframes acNew { 0% { box-shadow: 0 0 0 2px rgba(111, 242, 184, 0.7); } 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); } }
.ac-card.is-removing { animation: acOut .35s ease forwards; }
@keyframes acOut { to { opacity: 0; transform: scale(.96); } }
.ac-card > * { min-width: 0; }
.ac-top { display: flex; align-items: center; gap: 10px; }
.ac-title { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ac-title small { color: rgba(205, 222, 240, 0.55); font-size: 11.5px; }
.ac-chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ac-chips .pill, .ac-chips .trial-badge { font-size: 11px; }
.ac-edit { flex: none; }
.ac-creds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px; border-radius: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.06); }
.ac-creds > * { min-width: 0; }
.ac-line { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 6px 4px 4px; border-radius: 12px; }
.ac-line:hover { background: rgba(255, 255, 255, 0.03); }
.ac-line.muted { color: rgba(205, 222, 240, 0.6); font-size: 12.5px; }
.ac-k { display: inline-flex; align-items: center; gap: 5px; flex: none; width: 78px; font-size: 12px; color: rgba(205, 222, 240, 0.6); }
.ac-k svg { width: 14px; height: 14px; }
.ac-name, .ac-pw-val { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; color: #eaf6ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.ac-pw-val { color: rgba(205, 222, 240, 0.55); letter-spacing: .08em; }
.ac-pw-val.on { color: #fde68a; letter-spacing: .02em; }
.ac-pw-none { flex: 1; min-width: 0; font-size: 12px; }
.ac-tools { display: flex; gap: 5px; flex: none; }
.ac-btn {
display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 10px; cursor: pointer;
font: inherit; font-size: 12px; font-weight: 800; color: #7ee8ff; background: rgba(0, 200, 255, 0.1); border: 1px solid rgba(0, 225, 255, 0.3);
transition: background .15s, transform .12s, color .15s;
}
.ac-btn svg { width: 14px; height: 14px; }
.ac-btn:hover { background: rgba(0, 200, 255, 0.2); }
.ac-btn:active { transform: scale(.95); }
.ac-btn.ghost { color: #cfe8ff; background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.ac-btn.warn { color: #fde047; background: rgba(253, 224, 71, 0.08); border-color: rgba(253, 224, 71, 0.4); }
.ac-btn.ok, .ac-both.ok { color: #04110b; background: linear-gradient(135deg, #6ff2b8, #34d399); border-color: transparent; }
.ac-both {
display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; margin-top: 2px; border-radius: 12px; cursor: pointer;
font: inherit; font-size: 13.5px; font-weight: 900; color: #1a1300; border: 0;
background: linear-gradient(90deg, #fde68a, #f59e0b); box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25); transition: transform .12s, filter .15s;
}
.ac-both svg { width: 16px; height: 16px; }
.ac-both:hover { filter: brightness(1.06); }
.ac-both:active { transform: scale(.98); }
.ac-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: rgba(205, 222, 240, 0.7); }
.ac-meta span { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-meta svg { width: 13px; height: 13px; flex: none; opacity: .75; }
.ac-ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; color: #7ee8ff; background: rgba(0, 200, 255, 0.08); }
.ac-ic svg { width: 15px; height: 15px; }
.ac-v { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ac-v small { font-size: 10.5px; color: rgba(205, 222, 240, 0.5); }
.ac-v .ac-name, .ac-v .ac-pw-val { font-size: 14.5px; }
.ac-tools .ac-btn:not(.warn) { width: 36px; height: 36px; padding: 0; justify-content: center; }
.ac-tools .ac-btn:not(.warn) span { display: none; }
.ac-tools .ac-btn svg { width: 16px; height: 16px; }
.ac-tools .ac-btn.ok:not(.warn) { width: auto; padding: 0 10px; }
.ac-tools .ac-btn.ok span { display: inline; }
@media (max-width: 560px) {
.rows.ac-grid { grid-template-columns: minmax(0, 1fr); }
.ac-k { width: auto; }
.ac-card { padding: 12px; gap: 10px; border-radius: 18px; }
.ac-creds { padding: 8px; }
.ac-both { height: 46px; font-size: 14px; }
.ac-edit .btn-label { display: none; }
.ac-edit { width: 38px; padding: 0; justify-content: center; }
.ac-ic { display: none; }
.ac-v .ac-name, .ac-v .ac-pw-val { white-space: normal; word-break: break-all; font-size: 14px; }
.ac-meta { gap: 4px; font-size: 11px; }
.ac-meta span { padding: 2px 8px; }
}
