.grooming-calculator {
    background: var(--surface-alt);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1.75rem;
    border: 1px solid var(--border);
}

.calculator-inputs {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#grooming-result:not(:empty) {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

#grooming-result .calculator-note {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.calculator-inputs label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
}

.calculator-inputs input,
.calculator-inputs select {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    background: #fff;
}

.calculate-btn,
.print-btn,
.checklist-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 22px 36px -22px rgba(52, 74, 65, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calculate-btn:hover,
.print-btn:hover,
.checklist-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 44px -28px rgba(52, 74, 65, 0.36);
}

.calculator-result {
    background: #fff;
    border-radius: 0.85rem;
    border-left: 4px solid var(--success);
    padding: 1.5rem;
    box-shadow: 0 22px 45px -32px rgba(15, 23, 42, 0.2);
    margin-top: 1.25rem;
}

.health-callout {
    background: #f3e5d1;
    border-radius: 0.85rem;
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    margin-top: 1.25rem;
}

.highlight-box {
    background: var(--surface-alt);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    margin-top: 1rem;
}

.highlight-box.success {
    background: #e8f2ea;
    border-left: 3px solid var(--success);
}

.highlight-box.warning {
    background: #f7eddd;
    border-left: 3px solid var(--warning);
}

.highlight-box.info {
    background: #e1ebe4;
    border-left: 3px solid var(--info);
}

.living-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}

.living-card {
    background: var(--surface-alt);
    border-radius: 0.85rem;
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
}

.timeline {
    position: relative;
    margin-top: 2rem;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--warning) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.25rem;
    padding-left: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -0.45rem;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: var(--accent-dark);
    box-shadow: 0 0 0 4px #fff;
}

.timeline-marker--info {
    background: var(--info);
}

.timeline-marker--warning {
    background: var(--warning);
    color: var(--text);
}

.timeline-marker--success {
    background: var(--success);
}

.timeline-card {
    background: #fff;
    border-radius: 1rem;
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    box-shadow: 0 22px 45px -32px rgba(15, 23, 42, 0.2);
}

.timeline-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: var(--link);
}

.timeline-card--info {
    border-left-color: var(--info);
}

.timeline-card--info h3 {
    color: var(--info);
}

.timeline-card--warning {
    border-left-color: var(--warning);
}

.timeline-card--warning h3 {
    color: var(--warning);
}

.timeline-card--success {
    border-left-color: var(--success);
}

.timeline-card--success h3 {
    color: var(--success);
}

.timeline-card ul {
    margin: 0;
    padding-left: 1.5rem;
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
}

.shopping-section {
    background: var(--surface-alt);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.shopping-category {
    margin-bottom: 1.25rem;
}

.shopping-category h4 {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.45rem;
}

.checklist-items {
    display: grid;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    background: #fff;
    border: 1px solid transparent;
    transition: border 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.checklist-item:hover {
    border-color: rgba(88, 129, 87, 0.42);
    background: var(--accent-light);
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    cursor: pointer;
}

.checklist-item.checked {
    opacity: 0.65;
    background: var(--surface-alt);
}

.checklist-item.checked span:first-of-type {
    text-decoration: line-through;
}

.price-tag {
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

.progress-shell {
    background: var(--surface-alt);
    border-radius: 999px;
    overflow: hidden;
    height: 22px;
}

#progress-bar {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}
