.ar-card { padding: 28px; }
.ar-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.ar-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.ar-inputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
.ar-field { display: flex; flex-direction: column; gap: 6px; }
.ar-field label { font-size: .85em; font-weight: 600; color: #374151; }
.ar-field input, .ar-field select { border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; font-size: .95em; font-family: inherit; }
.ar-field input:focus, .ar-field select:focus { outline: none; border-color: var(--site-light); }

.ar-ratio-display { text-align: center; font-size: .92em; color: var(--site-dark); font-weight: 700; margin-bottom: 18px; padding: 10px; background: #f0fdfa; border-radius: 8px; }

.ar-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ar-preset-btn { background: none; border: 1px solid #ddd; border-radius: 20px; padding: 6px 14px; font-size: .82em; font-weight: 600; color: var(--site-dark); cursor: pointer; }
.ar-preset-btn:hover { background: #f0fdfa; border-color: var(--site-light); }
.ar-preset-btn.ar-active { background: var(--site-dark); color: #fff; border-color: var(--site-dark); }

.ar-scale-table-wrap { overflow-x: auto; }
table.ar-scale-table { width: 100%; border-collapse: collapse; font-size: .92em; }
table.ar-scale-table th { background: var(--site-dark); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
table.ar-scale-table td { padding: 9px 14px; border-bottom: 1px solid #eee; font-family: "Courier New", monospace; }
table.ar-scale-table tr:nth-child(even) td { background: #f7f8fa; }

.ar-custom-scale { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ar-custom-scale label { font-size: .85em; font-weight: 600; color: #374151; }
.ar-custom-scale input { border: 1px solid #ddd; border-radius: 8px; padding: 8px 12px; width: 100px; }
.ar-custom-result { font-family: "Courier New", monospace; font-weight: 700; color: var(--site-dark); }

@media (max-width: 600px) {
    .ar-inputs { grid-template-columns: 1fr; }
}
