/* AdVault Styles - Vintage Print Ad Archive Builder */
* { box-sizing: border-box; }
body {
 margin: 0;
 padding: 0;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
 line-height: 1.6;
 color: #333;
 background-color: #fff;
}
.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 1rem;
}
header {
 background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
 color: white;
 padding: 1.5rem 0;
 border-bottom: 3px solid #ed8936;
}
header h1 {
 margin: 0;
 font-size: 2rem;
 font-weight: 700;
}
header .tagline {
 margin: 0.25rem 0 0;
 font-size: 1rem;
 opacity: 0.9;
}
nav a {
 color: #fff;
 text-decoration: none;
 margin-left: 1.5rem;
 font-size: 0.9rem;
}
nav a:hover {
 text-decoration: underline;
}
nav a:focus {
 outline: 2px solid #ed8936;
 outline-offset: 2px;
}
.hero {
 background: linear-gradient(120deg, #f7fafc 0%, #edf2f7 100%);
 padding: 2.5rem 0;
 text-align: center;
 border-bottom: 1px solid #e2e8f0;
}
.hero h2 {
 margin-top: 0;
 font-size: 1.8rem;
 color: #2d3748;
}
.hero p {
 max-width: 600px;
 margin: 1rem auto;
 color: #4a5568;
 font-size: 1.1rem;
}
.primary-btn {
 background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
 color: white;
 border: none;
 padding: 0.75rem 1.5rem;
 font-size: 1rem;
 font-weight: 600;
 border-radius: 4px;
 cursor: pointer;
 transition: transform 0.2s, box-shadow 0.2s;
}
.primary-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 4px 12px rgba(237, 137, 54, 0.4);
}
.primary-btn:focus {
 outline: 2px solid #2d3748;
 outline-offset: 2px;
}
.secondary-btn {
 background: #e2e8f0;
 color: #4a5568;
 border: none;
 padding: 0.75rem 1.5rem;
 font-size: 1rem;
 border-radius: 4px;
 cursor: pointer;
}
.secondary-btn:hover {
 background: #cbd5e0;
}
.presets-section {
 padding: 2rem 0;
 background: #fafafa;
}
.presets-section h3 {
 margin-top: 0;
 color: #2d3748;
}
.presets-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 1.5rem;
 margin-top: 1.5rem;
}
.preset-card {
 background: white;
 border: 1px solid #e2e8f0;
 border-radius: 8px;
 padding: 1.25rem;
 transition: box-shadow 0.2s;
}
.preset-card:hover {
 box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.preset-card h4 {
 margin-top: 0;
 color: #2c5282;
 font-size: 1rem;
}
.preset-card p {
 margin: 0.25rem 0;
 font-size: 0.85rem;
}
.entry-form-section {
 padding: 2rem 0;
}
.entry-form-section h3 {
 margin-top: 0;
 color: #2d3748;
}
.ad-form {
 background: white;
 border: 1px solid #e2e8f0;
 border-radius: 8px;
 padding: 1.5rem;
 max-width: 600px;
 margin-top: 1rem;
}
.form-row {
 margin-bottom: 1rem;
}
.form-row label {
 display: block;
 margin-bottom: 0.25rem;
 font-weight: 600;
 color: #4a5568;
}
.form-row input, .form-row select, .form-row textarea {
 width: 100%;
 padding: 0.5rem;
 border: 1px solid #cbd5e0;
 border-radius: 4px;
 font-size: 1rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
 outline: none;
 border-color: #4299e1;
 box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}
.form-help {
 font-size: 0.85rem;
 color: #718096;
 margin-top: 0.5rem;
}
.form-actions {
 display: flex;
 gap: 1rem;
 margin-top: 1rem;
}
.archive-section h3 {
 margin-top: 0;
 color: #2d3748;
}
#archive-list {
 margin-top: 1rem;
 display: flex;
 flex-direction: column;
 gap: 1rem;
}
.archive-entry {
 background: white;
 border-left: 4px solid #4a5568;
 border-radius: 0 8px 8px 0;
 padding: 1rem;
 box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.archive-entry h4 {
 margin: 0 0 0.5rem 0;
 color: #2c5282;
}
.archive-entry p {
 margin: 0.25rem 0;
}
.archive-entry .value-badge {
 display: inline-block;
 background: #edf2f7;
 color: #2d3748;
 padding: 0.25rem 0.75rem;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
}
.archive-entry .actions {
 margin-top: 0.75rem;
}
.archive-entry button {
 margin-right: 0.5rem;
}
.empty-state {
 text-align: center;
 padding: 2rem;
 color: #718096;
}
.support-content {
 background: #f7fafc;
 padding: 2rem 0;
}
.support-content h3, .support-content h4 {
 color: #2d3748;
}
.support-content ul {
 padding-left: 1.5rem;
}
.support-content li {
 margin-bottom: 0.5rem;
}
footer {
 background: #2d3748;
 color: #a0aec0;
 padding: 1rem 0;
 font-size: 0.9rem;
}
footer a {
 color: #cbd5e0;
}
@media (max-width: 768px) {
 header h1 { font-size: 1.5rem; }
 nav a { margin: 0 0.5rem; }
 .hero h2 { font-size: 1.5rem; }
 .form-actions { flex-direction: column; }
 .archive-entry { border-left-width: 3px; }
 .support-content { padding: 1.5rem 0; }
}
@media (max-width: 480px) {
 .container { padding: 0 0.5rem; }
 .primary-btn, .secondary-btn { width: 100%; }
 .form-actions { gap: 0; }
 .presets-grid { grid-template-columns: 1fr; }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
