/* The starter admin stylesheet is loaded before the exported Leadmakers design. */
.site-header { display: block; max-width: none; margin: 0; padding: 0; }
.site-footer { display: block; max-width: none; margin: 0; padding: 62px 0 0; }
.hero { max-width: none; }
.hero::after { display: none; }
.hero .hero-copy { color: var(--white); }
.hero-home,
.hero-about { min-height: 560px; }
.contact-hero { min-height: 430px; }
.site-header .inline-form { display: inline; }
.site-header .inline-form button { min-height: auto; padding: 14px 0; color: rgba(255,255,255,.72); background: none; }
.site-header .inline-form button:hover { color: var(--white); }
.site-footer nav { align-items: flex-start; }
.dashboard,
.page-center,
.dashboard .card,
.login-card { color: #38001e; }
.dashboard h1,
.dashboard h2,
.dashboard h3,
.dashboard p,
.dashboard .metric p,
.dashboard .card-heading span,
.dashboard .bar-row span,
.dashboard .list span,
.dashboard td,
.login-card h1,
.login-card p { color: #38001e; }
.dashboard .muted,
.dashboard .card-heading span,
.dashboard td:first-child,
.login-card .muted { color: #5c4450; }
.dashboard .metric strong,
.dashboard .bar-row b,
.dashboard .list b { color: #38001e; }
.document-page { padding-bottom: 70px; }
.document-intro { max-width: 760px; margin: -8px 0 24px; color: var(--muted); }
.document-editor { max-width: 1020px; padding: 32px; }
.document-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 12px 0 20px; }
.document-section-heading h2 { margin: 0; font-size: 26px; }
.document-section-heading p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; }
.document-meta-grid,
.document-customer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 34px; }
.document-meta-grid { grid-template-columns: repeat(4, 1fr); }
.document-customer-panel { min-width: 0; margin: 0 0 34px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.document-customer-panel legend { padding: 0 8px; font-size: 26px; font-weight: 700; }
.document-customer-panel .document-customer-grid { margin-bottom: 0; }
.document-form label { display: grid; gap: 8px; font-size: .86rem; font-weight: 700; }
.document-form input,
.document-form textarea,
.document-form select { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 11px 12px; outline: 0; background: #fff; color: var(--ink); }
.document-form input:focus,
.document-form textarea:focus,
.document-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,96,33,.16); }
.document-wide { grid-column: 1 / -1; }
.document-items-heading { margin-top: 8px; }
.document-items { display: grid; gap: 12px; }
.document-item-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 140px auto; align-items: end; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.document-item-row .button { min-height: 44px; padding-inline: 14px; }
.document-vat-option { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px; margin: 26px 0 16px; }
.document-vat-option input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.document-vat-option span { display: grid; gap: 3px; }
.document-vat-option small { color: var(--muted); font-size: .82rem; font-weight: 400; }
.document-total-preview { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.document-total-preview strong { color: var(--accent); font-size: 1.25rem; }
@media (max-width: 820px) {
    .hero-home,
    .hero-about,
    .contact-hero { min-height: auto; }
    .site-header .inline-form button { padding: 14px 0; }
}
@media (max-width: 760px) {
    .document-editor { padding: 24px 20px; }
    .document-meta-grid,
    .document-customer-grid { grid-template-columns: 1fr; }
    .document-item-row { grid-template-columns: 1fr 1fr; }
    .document-item-description,
    .document-item-row .remove-document-item { grid-column: 1 / -1; }
    .document-item-row .remove-document-item { justify-self: start; }
    .document-section-heading { align-items: start; flex-direction: column; }
}
