/* =====================================================================
 * 58 · 花卉花期日历 —— 独立视觉：全年花带 / 花园色卡
 * 骨架：12 月横向色带 / 月份按钮组 / 品种 chips / 花带矩阵 / 条件卡
 * 配色：草木绿 + 花瓣粉，与前七页的冷色 / 暖色系明显区分
 * ===================================================================== */
.fc-page {
    --fc-leaf: #3d8a58;
    --fc-leaf-deep: #27603c;
    --fc-leaf-soft: #eaf5ec;
    --fc-leaf-line: #c6e2ce;
    --fc-bloom: #d0678e;
    --fc-bloom-soft: #fbeaf1;
    --fc-sun: #c8922c;
    --fc-paper: #ffffff;
    --fc-paper-2: #f7faf7;
    --fc-ink: #1d3527;
    --fc-ink-2: #506b58;
    --fc-ink-3: #8ba595;
    --fc-line: #e0ebe2;
    --fc-red: #ab444c;
    --fc-red-soft: #fbebed;
    background: var(--hg6-c-bg);
}
:root[data-theme="dark"] .fc-page {
    --fc-leaf: #7dc798;
    --fc-leaf-deep: #a6dcb8;
    --fc-leaf-soft: #182a1e;
    --fc-leaf-line: #2d4c37;
    --fc-bloom: #eda3be;
    --fc-bloom-soft: #33212a;
    --fc-sun: #e3bd70;
    --fc-paper: var(--hg6-paper);
    --fc-paper-2: var(--hg6-paper-2);
    --fc-ink: var(--hg6-ink);
    --fc-ink-2: var(--hg6-ink-2);
    --fc-ink-3: var(--hg6-ink-3);
    --fc-line: var(--hg6-line);
    --fc-red: #f0969c;
    --fc-red-soft: #352023;
}
.fc-page h1, .fc-page h2, .fc-page h3 { font-family: var(--hg6-font); letter-spacing: var(--hg6-tracking); color: var(--fc-ink); }
.fc-page p { font-size: var(--hg6-fz-body); line-height: var(--hg6-lh); color: var(--fc-ink-2); }
.fc-page b { color: var(--fc-ink); }
.fc-page small { font-size: var(--hg6-fz-xs); color: var(--fc-ink-3); font-weight: 400; }
.fc-page code { font: 500 12.5px/1.6 var(--hg6-font); background: var(--fc-leaf-soft); color: var(--fc-leaf-deep); padding: 1px 5px; border-radius: 4px; }
.fc-inner { padding-top: 22px; }

/* ---------- 首屏：花带 ---------- */
.fc-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px;
    background: var(--fc-paper); border: 1px solid var(--fc-line);
    border-top: 5px solid var(--fc-leaf); border-radius: var(--hg6-r-l);
    padding: 34px 34px 30px; box-shadow: var(--hg6-sh-2);
}
.fc-kicker { font: 600 11px/1.4 var(--hg6-num); letter-spacing: .16em; color: var(--fc-leaf-deep); text-transform: uppercase; }
.fc-hero h1 { font-size: var(--hg6-fz-h1); font-weight: 780; line-height: 1.28; margin: 14px 0 15px; }
.fc-lead { font-size: var(--hg6-fz-lead) !important; line-height: 1.9 !important; max-width: 62ch; margin: 0 0 20px; }
.fc-lead b { border-bottom: 2px solid var(--fc-leaf-line); }
.fc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-tags span { font-size: var(--hg6-fz-sm); padding: 6px 13px; border-radius: 6px; border: 1px solid var(--fc-leaf-line); background: var(--fc-paper-2); color: var(--fc-ink-2); }
.fc-hero-band { align-self: center; padding: 16px; border: 1px dashed var(--fc-leaf-line); border-radius: var(--hg6-r-m); background: var(--fc-paper-2); }
.fc-band-cap { display: block; font: 600 10px/1.4 var(--hg6-num); letter-spacing: .12em; color: var(--fc-ink-3); text-align: center; }
.fc-band-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 12px 0; }
.fc-band-strip i { height: 54px; border-radius: 3px; background: var(--fc-leaf-soft); }
.fc-band-strip i:nth-child(1) { background: #e9d6b8; }
.fc-band-strip i:nth-child(2) { background: #e6d0c0; }
.fc-band-strip i:nth-child(3) { background: #f0d7e4; }
.fc-band-strip i:nth-child(4) { background: #f2c9d9; }
.fc-band-strip i:nth-child(5) { background: #e9b7cd; }
.fc-band-strip i:nth-child(6) { background: #d9a7c1; }
.fc-band-strip i:nth-child(7) { background: #c7ddb9; }
.fc-band-strip i:nth-child(8) { background: #b7d3a7; }
.fc-band-strip i:nth-child(9) { background: #e2d19a; }
.fc-band-strip i:nth-child(10) { background: #dcc78c; }
.fc-band-strip i:nth-child(11) { background: #d7cfae; }
.fc-band-strip i:nth-child(12) { background: #e4dcc4; }
:root[data-theme="dark"] .fc-band-strip i { opacity: .55; }

/* ---------- 首屏操作入口 ---------- */
.fc-quick { margin-top: 16px; padding: 24px 30px 26px; border: 1px solid var(--fc-line); border-radius: var(--hg6-r-l); background: var(--fc-paper); box-shadow: var(--hg6-sh-1); }
.fc-quick-hd, .fc-panel-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.fc-quick-hd h2, .fc-panel-hd h2 { font-size: var(--hg6-fz-h2); font-weight: 720; margin: 0; }
.fc-quick-hd small, .fc-panel-hd small { margin-left: auto; }
.fc-quick-hd h2 span, .fc-panel-hd > span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; margin-right: 4px; border-radius: 7px; background: var(--fc-leaf-soft); color: var(--fc-leaf-deep); font: 700 11px/1 var(--hg6-num); }
.fc-months { display: grid; grid-template-columns: repeat(13, 1fr); gap: 5px; }
.fc-month { cursor: pointer; padding: 9px 2px; border: 1px solid var(--fc-line); border-radius: 8px; background: var(--fc-paper-2); font: 600 12px/1.3 var(--hg6-num); color: var(--fc-ink-2); transition: all .16s ease; }
.fc-month:hover { border-color: var(--fc-leaf-line); }
.fc-month.is-on { background: var(--fc-leaf); border-color: var(--fc-leaf); color: #fff; }
.fc-month--all { font-family: var(--hg6-font); font-size: 11.5px; }
.fc-varieties { margin-top: 18px; padding-top: 15px; border-top: 1px dashed var(--fc-line); }
.fc-variety-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-variety-hd span { font-size: var(--hg6-fz-sm); font-weight: 600; color: var(--fc-ink-2); }
.fc-variety-hd small { margin-left: 5px; }
.fc-variety-hd button { margin-left: auto; cursor: pointer; font: 500 12px/1.3 var(--hg6-font); padding: 4px 10px; border: 1px dashed var(--fc-leaf-line); border-radius: 999px; background: transparent; color: var(--fc-leaf-deep); }
.fc-variety-hd button:first-of-type { margin-left: auto; }
.fc-variety-hd button + button { margin-left: 0; }
.fc-variety-hd button:hover { background: var(--fc-leaf-soft); }
.fc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.fc-chip { cursor: pointer; padding: 6px 13px; border: 1px solid var(--fc-line); border-radius: 999px; background: var(--fc-paper-2); font: 500 13px/1.4 var(--hg6-font); color: var(--fc-ink-2); transition: all .16s ease; }
.fc-chip:hover { border-color: var(--fc-leaf-line); }
.fc-chip.is-on { background: var(--fc-bloom); border-color: var(--fc-bloom); color: #fff; }
.fc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.fc-btn { font: 600 14px/1.4 var(--hg6-font); cursor: pointer; padding: 10px 20px; border: 1px solid var(--fc-leaf-line); border-radius: 9px; background: var(--fc-paper); color: var(--fc-leaf-deep); transition: all .18s ease; }
.fc-btn:hover { background: var(--fc-leaf-soft); border-color: var(--fc-leaf); }
.fc-btn--main { background: var(--fc-leaf); border-color: var(--fc-leaf); color: #fff; box-shadow: 0 6px 16px rgba(61, 138, 88, .22); }
.fc-btn--main:hover { background: var(--fc-leaf-deep); color: #fff; }
.fc-btn--quiet { border-color: var(--fc-line); color: var(--fc-ink-2); }
.fc-offset { display: inline-flex; align-items: center; gap: 7px; font-size: var(--hg6-fz-sm); color: var(--fc-ink-2); }
.fc-offset input { width: 66px; font: 600 14px/1.4 var(--hg6-num); padding: 7px 8px; border: 1px solid var(--fc-line); border-radius: 8px; background: var(--fc-paper-2); color: var(--fc-ink); }
.fc-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.fc-demo span { font-size: var(--hg6-fz-xs); color: var(--fc-ink-3); }
.fc-demo button { font: 500 12px/1.3 var(--hg6-font); padding: 5px 10px; cursor: pointer; border: 1px dashed var(--fc-leaf-line); border-radius: 999px; background: transparent; color: var(--fc-ink-2); }
.fc-demo button:hover { background: var(--fc-leaf-soft); }
.fc-err { margin-top: 11px; font-size: var(--hg6-fz-sm); color: var(--fc-red); }
.fc-err:not(:empty) { background: var(--fc-red-soft); border-left: 3px solid var(--fc-red); padding: 9px 12px; border-radius: 0 8px 8px 0; }

/* ---------- 花带矩阵 ---------- */
.fc-band, .fc-body, .fc-batch, .fc-read { margin-top: var(--hg6-gap); }
.fc-panel { min-width: 0; border: 1px solid var(--fc-line); border-radius: var(--hg6-r-l); background: var(--fc-paper); padding: 22px 22px 24px; box-shadow: var(--hg6-sh-1); }
.fc-panel-hd { padding-bottom: 13px; border-bottom: 1px solid var(--fc-line); }
.fc-panel-hd h2 { font-size: 17px; }
.fc-band-head, .fc-band-row { display: grid; grid-template-columns: 92px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; }
.fc-band-head { margin-bottom: 8px; }
.fc-band-head span { text-align: center; font: 600 10.5px/1.4 var(--hg6-num); color: var(--fc-ink-3); }
.fc-band-head span:first-child { text-align: left; font-family: var(--hg6-font); }
.fc-band-rows { display: grid; gap: 5px; }
.fc-band-row { }
.fc-band-name { font-size: var(--hg6-fz-sm); font-weight: 600; color: var(--fc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-band-cell { height: 22px; border-radius: 4px; background: var(--fc-paper-2); border: 1px solid var(--fc-line); }
.fc-band-cell.is-on { background: var(--fc-leaf); border-color: var(--fc-leaf); }
.fc-band-cell.is-sel { outline: 2px solid var(--fc-bloom); outline-offset: 1px; }
.fc-band-cell.is-both { background: var(--fc-bloom); border-color: var(--fc-bloom); }
.fc-band-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.fc-band-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: var(--hg6-fz-xs); color: var(--fc-ink-2); }
.fc-band-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.fc-lg-on { background: var(--fc-leaf); }
.fc-lg-sel { border: 2px solid var(--fc-bloom); }
.fc-lg-off { background: var(--fc-paper-2); border: 1px solid var(--fc-line); }
.fc-empty { color: var(--fc-ink-3); text-align: center; padding: 18px; margin: 0; }

/* ---------- 当月 / 条件 ---------- */
.fc-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--hg6-gap); align-items: start; }
.fc-month-list { display: grid; gap: 9px; }
.fc-month-item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--fc-line); border-radius: 10px; background: var(--fc-paper-2); }
.fc-month-item i { width: 12px; height: 12px; border-radius: 50%; background: var(--fc-bloom); flex: none; }
.fc-month-item b { font-size: 14px; }
.fc-month-item small { display: block; margin-top: 2px; }
.fc-cond-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fc-cond { border: 1px solid var(--fc-line); border-radius: 10px; padding: 13px 14px; background: var(--fc-paper-2); }
.fc-cond h3 { font-size: 14px; margin-bottom: 8px; }
.fc-cond dl { margin: 0; display: grid; gap: 5px; }
.fc-cond dl div { display: flex; gap: 8px; font-size: var(--hg6-fz-sm); }
.fc-cond dt { flex: none; width: 48px; font-weight: 700; color: var(--fc-leaf-deep); }
.fc-cond dd { margin: 0; color: var(--fc-ink-2); }
.fc-cond .fc-prune { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--fc-line); font-size: var(--hg6-fz-sm); line-height: 1.7; color: var(--fc-ink-2); }
.fc-warns { margin-top: 14px; display: grid; gap: 7px; }
.fc-warn { font-size: var(--hg6-fz-sm); line-height: 1.7; padding: 8px 11px; border-radius: 8px; background: var(--fc-leaf-soft); color: var(--fc-leaf-deep); border-left: 3px solid var(--fc-leaf); }
.fc-warn--bad { background: var(--fc-red-soft); color: var(--fc-red); border-left-color: var(--fc-red); }

/* ---------- 批量 / 阅读 / 脚注 ---------- */
.fc-tip { margin-bottom: 12px; }
.fc-page textarea { width: 100%; resize: vertical; font: 500 13px/1.75 var(--hg6-font); color: var(--fc-ink); background: var(--fc-paper-2); border: 1px solid var(--fc-line); border-radius: 9px; padding: 9px 11px; outline: none; }
.fc-page textarea:focus { border-color: var(--fc-leaf); box-shadow: 0 0 0 3px var(--fc-leaf-soft); }
.fc-batch-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 13px 0 15px; }
.fc-table-wrap { overflow-x: auto; border: 1px solid var(--fc-line); border-radius: var(--hg6-r-m); }
.fc-table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--hg6-fz-sm); min-width: 880px; }
.fc-table-wrap th { background: var(--fc-leaf-soft); color: var(--fc-leaf-deep); font-weight: 700; text-align: left; }
.fc-table-wrap th, .fc-table-wrap td { padding: 9px 11px; border-bottom: 1px solid var(--fc-line); white-space: nowrap; }
.fc-table-wrap td { color: var(--fc-ink-2); }
.fc-table-wrap tr:last-child td { border-bottom: none; }
.fc-read { padding: 0 2px; }
.fc-read-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fc-read-hd h2 { font-size: var(--hg6-fz-h2); }
.fc-read-hd span { font-size: var(--hg6-fz-xs); color: var(--fc-ink-3); }
.fc-read-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fc-read-grid p { margin: 0; padding: 17px 19px; border-radius: var(--hg6-r-m); background: var(--fc-paper); border: 1px solid var(--fc-line); border-left: 3px solid var(--fc-leaf-line); }
.fc-read-grid p b { border-bottom: 2px solid var(--fc-leaf-line); }
.fc-foot { margin: 22px 2px 0; font-size: var(--hg6-fz-sm) !important; line-height: 1.85; color: var(--fc-ink-3) !important; }

@media (max-width: 1000px) {
    .fc-hero { grid-template-columns: 1fr; }
    .fc-months { grid-template-columns: repeat(7, 1fr); }
    .fc-cond-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .fc-hero, .fc-quick { padding: 22px 18px; border-radius: var(--hg6-r-m); }
    .fc-body, .fc-read-grid { grid-template-columns: 1fr; }
    .fc-panel { padding: 18px 16px 20px; overflow-x: auto; }
    .fc-months { grid-template-columns: repeat(5, 1fr); }
    .fc-band-head, .fc-band-row { grid-template-columns: 66px repeat(12, 18px); min-width: 300px; }
    .fc-demo { margin-left: 0; width: 100%; }
}
