/* 阳台种菜时令日历 balcony-planting-calendar */
.bpc-head .head-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg,#f59e0b,#fbbf24); margin-bottom: 10px; font-size: 28px; line-height: 1; }
.bpc-headline { font-size: 20px; font-weight: 700; color: #1f2937; margin: 0 0 6px; }
.bpc-cond { font-size: 13px; color: #6b7280; line-height: 1.7; }
.bpc-month-tip { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.75; color: #7c4a03; background: linear-gradient(135deg,#fffbeb,#fef3c7); border: 1px solid rgba(245,158,11,.25); border-radius: 12px; padding: 11px 14px; margin: 12px 0 2px; }
.bpc-month-tip .tip-ico { flex: none; font-size: 16px; }

.bpc-block-title { font-size: 14.5px; font-weight: 700; color: #1f2937; margin: 20px 0 10px; padding-left: 10px; border-left: 3px solid #f59e0b; }

.bpc-pick-head { font-size: 13px; color: #6b7280; margin-bottom: 10px; }
.bpc-pick-head b { color: #b45309; font-size: 15px; }
.bpc-veg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bpc-veg { border: 1px solid #eee; border-radius: 12px; padding: 11px 12px; background: #fcfcfd; }
.bpc-veg.is-good { border-color: rgba(22,101,52,.28); background: #f7fdf9; }
.bpc-veg.is-fair { border-color: rgba(180,83,9,.3); background: #fffdf5; }
.bpc-veg.is-poor { border-color: rgba(185,28,28,.25); background: #fdfaf9; opacity: .92; }
.veg-top { display: flex; align-items: center; gap: 7px; }
.veg-mark { font-size: 13px; flex: none; }
.veg-icon { font-size: 17px; }
.veg-name { flex: 1; font-size: 14px; font-weight: 700; color: #1f2937; }
.veg-fit { flex: none; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.fit-good { color: #166534; background: #dcfce7; }
.fit-fair { color: #92400e; background: #fef3c7; }
.fit-poor { color: #991b1b; background: #fee2e2; }

.veg-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; }
.vtag { font-size: 11px; color: #4b5563; background: #f3f4f6; border-radius: 6px; padding: 2px 7px; line-height: 1.5; }
.vtag-multi { color: #15803d; background: #dcfce7; }
.vtag-hard { color: #b45309; background: #fef3c7; }

.veg-note { font-size: 12.5px; color: #4b5563; line-height: 1.7; }
.veg-warns { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.veg-warn { font-size: 11.5px; line-height: 1.6; border-radius: 8px; padding: 5px 8px; }
.veg-warn.w-warn { color: #92400e; background: #fffbeb; border: 1px solid rgba(180,83,9,.18); }
.veg-warn.w-info { color: #1e40af; background: #eff6ff; border: 1px solid rgba(37,99,235,.14); }

.bpc-empty-month { font-size: 13.5px; line-height: 1.8; color: #7c4a03; background: #fffbeb; border: 1px dashed rgba(245,158,11,.45); border-radius: 12px; padding: 16px; text-align: center; }

/* 全年月历 */
.bpc-year-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bpc-month { border: 1px solid #eee; border-radius: 10px; padding: 8px 10px; background: #fcfcfd; }
.bpc-month.is-active { border-color: #f59e0b; background: linear-gradient(135deg,#fffbeb,#fef3c7); box-shadow: 0 0 0 2px rgba(245,158,11,.12); }
.bm-head { font-size: 12.5px; font-weight: 700; color: #1f2937; display: flex; justify-content: space-between; align-items: center; }
.bpc-month.is-active .bm-head { color: #b45309; }
.bm-cnt { font-size: 10.5px; font-weight: 600; color: #9ca3af; }
.bm-names { font-size: 11px; color: #6b7280; line-height: 1.6; margin-top: 4px; min-height: 34px; }

.bpc-list { list-style: none; margin: 0; padding: 0; }
.bpc-list li { position: relative; font-size: 13px; color: #374151; line-height: 1.75; padding: 7px 0 7px 22px; border-bottom: 1px dashed #f0e7d6; }
.bpc-list li:last-child { border-bottom: none; }
.bpc-list li::before { content: '•'; position: absolute; left: 6px; top: 7px; color: #f59e0b; font-weight: 700; }

.bpc-textarea { width: 100%; min-height: 260px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: 12.5px; line-height: 1.8; color: #374151; resize: vertical; background: #fcfcfd; font-family: inherit; }
.bpc-text-actions { display: flex; gap: 10px; margin-top: 10px; }

.bpc-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 16px); background: rgba(31,41,55,.94); color: #fff; font-size: 13px; padding: 10px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 999; max-width: 88vw; text-align: center; }
.bpc-toast.show { opacity: 1; transform: translate(-50%, 0); }

[data-theme="dark"] .bpc-headline,
[data-theme="dark"] .bpc-block-title,
[data-theme="dark"] .veg-name,
[data-theme="dark"] .bm-head { color: #e5e7eb; }
[data-theme="dark"] .bpc-cond,
[data-theme="dark"] .bpc-pick-head,
[data-theme="dark"] .veg-note,
[data-theme="dark"] .bm-names { color: #9ca3af; }
[data-theme="dark"] .bpc-month-tip { background: rgba(245,158,11,.1); border-color: rgba(251,191,36,.25); color: #fcd34d; }
[data-theme="dark"] .bpc-pick-head b { color: #fbbf24; }
[data-theme="dark"] .bpc-veg { background: rgba(255,255,255,.03); border-color: #2d333b; }
[data-theme="dark"] .bpc-veg.is-good { background: rgba(74,222,128,.07); border-color: rgba(74,222,128,.25); }
[data-theme="dark"] .bpc-veg.is-fair { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.25); }
[data-theme="dark"] .bpc-veg.is-poor { background: rgba(248,113,113,.06); border-color: rgba(248,113,113,.22); }
[data-theme="dark"] .vtag { background: rgba(255,255,255,.07); color: #cbd5e1; }
[data-theme="dark"] .vtag-multi { background: rgba(74,222,128,.14); color: #86efac; }
[data-theme="dark"] .vtag-hard { background: rgba(251,191,36,.14); color: #fcd34d; }
[data-theme="dark"] .fit-good { background: rgba(74,222,128,.16); color: #86efac; }
[data-theme="dark"] .fit-fair { background: rgba(251,191,36,.16); color: #fcd34d; }
[data-theme="dark"] .fit-poor { background: rgba(248,113,113,.16); color: #fca5a5; }
[data-theme="dark"] .veg-warn.w-warn { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.22); color: #fcd34d; }
[data-theme="dark"] .veg-warn.w-info { background: rgba(96,165,250,.1); border-color: rgba(96,165,250,.2); color: #93c5fd; }
[data-theme="dark"] .bpc-empty-month { background: rgba(245,158,11,.08); border-color: rgba(251,191,36,.3); color: #fcd34d; }
[data-theme="dark"] .bpc-month { background: rgba(255,255,255,.03); border-color: #2d333b; }
[data-theme="dark"] .bpc-month.is-active { background: rgba(245,158,11,.12); border-color: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,.18); }
[data-theme="dark"] .bpc-month.is-active .bm-head { color: #fcd34d; }
[data-theme="dark"] .bpc-list li { color: #cbd5e1; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .bpc-textarea { background: #161b22; border-color: #2d333b; color: #cbd5e1; }

@media print {
    .breadcrumb, .calc-layout .calc-card, .calc-table-card, .detail-tabs, .related-tools, .calc-disclaim, .ft-btns, .bpc-text-actions, .bpc-toast { display: none !important; }
    .calc-layout { display: block !important; }
    .calc-result-card { box-shadow: none !important; border: none !important; padding: 0 !important; }
    .bpc-veg, .bpc-month { break-inside: avoid; }
}

@media (max-width: 640px) {
    .bpc-veg-grid { grid-template-columns: 1fr; }
    .bpc-year-grid { grid-template-columns: repeat(3, 1fr); }
}
