/* W4-01 — Farm command center */
.fcc-root {
    margin-bottom: 1.5rem;
}

.fcc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.12);
    padding: 1.25rem 1.35rem;
}

.fcc-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fcc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1b5e20;
    margin: 0;
}

.fcc-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0.15rem 0 0;
}

.fcc-period-toggle .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
}

.fcc-period-toggle .btn.active {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.fcc-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .fcc-strip {
        grid-template-columns: repeat(5, 1fr);
    }
}

.fcc-chip {
    background: linear-gradient(135deg, #f1f8e9 0%, #fff 100%);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    border-left: 3px solid #4caf50;
    min-height: 4.5rem;
}

.fcc-chip-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #558b2f;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.fcc-chip-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.fcc-chip-meta {
    font-size: 0.72rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.fcc-chip.net-positive {
    border-left-color: #2e7d32;
}

.fcc-chip.net-negative {
    border-left-color: #c62828;
    background: linear-gradient(135deg, #ffebee 0%, #fff 100%);
}

.fcc-chip.net-negative .fcc-chip-value {
    color: #c62828;
}

.fcc-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 992px) {
    .fcc-grid {
        grid-template-columns: 1.4fr 1fr;
    }
}

.fcc-panel-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #455a64;
    margin-bottom: 0.75rem;
}

.fcc-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 320px;
    overflow-y: auto;
}

.fcc-feed-item {
    display: flex;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.fcc-feed-item:last-child {
    border-bottom: none;
}

.fcc-feed-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    background: #e8f5e9;
    color: #2e7d32;
}

.fcc-feed-icon.cost {
    background: #fff3e0;
    color: #e65100;
}

.fcc-feed-icon.revenue {
    background: #e3f2fd;
    color: #1565c0;
}

.fcc-feed-body {
    flex: 1;
    min-width: 0;
}

.fcc-feed-title {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

.fcc-feed-sub {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0.1rem 0 0;
}

.fcc-feed-amt {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    color: #e65100;
}

.fcc-feed-amt.positive {
    color: #2e7d32;
}

.fcc-finance-block {
    background: #fafafa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.fcc-finance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.fcc-finance-row strong {
    font-size: 1rem;
}

.fcc-net-banner {
    margin-top: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fcc-net-banner.up {
    background: #e8f5e9;
    color: #1b5e20;
}

.fcc-net-banner.down {
    background: #ffebee;
    color: #b71c1c;
}

.fcc-net-banner.flat {
    background: #eceff1;
    color: #455a64;
}

.fcc-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.fcc-trend.up {
    color: #2e7d32;
}

.fcc-trend.down {
    color: #c62828;
}

.fcc-insight-line {
    font-size: 0.8rem;
    color: #546e7a;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #e0e0e0;
}

.fcc-attention-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fcc-attention-item {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.4rem;
    border-radius: 8px;
    font-size: 0.82rem;
    align-items: flex-start;
}

.fcc-attention-item.warning {
    background: #fff8e1;
    border-left: 3px solid #ff9800;
}

.fcc-attention-item.info {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.fcc-attention-item.critical {
    background: #ffebee;
    border-left: 3px solid #f44336;
}

.fcc-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #6c757d;
    font-size: 0.88rem;
}

.fcc-loading {
    opacity: 0.65;
    pointer-events: none;
}

.fcc-refresh-btn {
    font-size: 0.8rem;
}

/* W4-02 — actionable UI */
.fcc-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.fcc-quick-actions .btn {
    min-height: 2.5rem;
    padding: 0.35rem 0.75rem;
}

.fcc-empty-actions {
    justify-content: center;
}

.fcc-attention-content {
    flex: 1;
    min-width: 0;
}

.fcc-attention-item {
    align-items: flex-start;
}

.fcc-attention-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
    opacity: 0.85;
}

.fcc-attention-msg {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    line-height: 1.35;
}

.fcc-attention-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.fcc-action-btn {
    min-height: 2.25rem;
    font-weight: 600;
}

.fcc-feed-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 360px;
    overflow-y: auto;
}

.fcc-feed-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.45rem;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.fcc-feed-card:hover,
.fcc-feed-card:focus {
    border-color: #4caf50;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.12);
    outline: none;
}

.fcc-feed-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e8f5e9;
    color: #2e7d32;
}

.fcc-feed-card-icon.cost {
    background: #fff3e0;
    color: #e65100;
}

.fcc-feed-card-icon.revenue {
    background: #e3f2fd;
    color: #1565c0;
}

.fcc-feed-card-icon.soil {
    background: #ede7f6;
    color: #5e35b1;
}

.fcc-feed-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.fcc-feed-card-type {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #78909c;
    font-weight: 700;
}

.fcc-feed-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
}

.fcc-feed-card-meta {
    font-size: 0.72rem;
    color: #6c757d;
}

.fcc-feed-card-amt {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e65100;
    white-space: nowrap;
}

.fcc-feed-card-amt.positive {
    color: #2e7d32;
}

.fcc-feed-chevron {
    color: #bdbdbd;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.fcc-offline-panel {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.fcc-queue-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
}

.fcc-queue-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fcc-queue-type {
    font-weight: 600;
}

.fcc-queue-time {
    color: #6c757d;
}

.fcc-highlight {
    outline: 2px solid #4caf50;
    outline-offset: 3px;
    transition: outline 0.2s;
}

/* W4-03 — filters & drill-down */
.fcc-feed-filters {
    gap: 0.25rem;
}

.fcc-feed-filters .btn {
    min-height: 2rem;
    font-size: 0.75rem;
}

.fcc-scope-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: #eceff1;
    color: #546e7a;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.fcc-scope-badge.period {
    background: #e3f2fd;
    color: #1565c0;
}

.fcc-breakdown-panel {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.fcc-breakdown-panel[hidden] {
    display: none !important;
}

.fcc-breakdown-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
}

.fcc-breakdown-cols {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .fcc-breakdown-cols {
        grid-template-columns: 1fr 1fr;
    }
}

.fcc-breakdown-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #78909c;
    margin-bottom: 0.35rem;
}

.fcc-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 160px;
    overflow-y: auto;
    font-size: 0.8rem;
}

.fcc-breakdown-list li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.35rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.fcc-breakdown-amt {
    font-weight: 700;
    white-space: nowrap;
}

.fcc-breakdown-date {
    color: #6c757d;
    font-size: 0.72rem;
}

.fcc-breakdown-empty {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.fcc-breakdown-toggle {
    font-weight: 600;
}

/* W4-04 — entity focus */
.sf-entity-focus,
.farm-action-deep-link-highlight.sf-entity-focus {
    outline: 2px solid #1565c0;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.2);
}

.sf-focus-banner {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.fcc-breakdown-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.35rem;
    width: 100%;
    text-align: left;
    padding: 0.35rem 0.25rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
}

.fcc-breakdown-row:hover,
.fcc-breakdown-row:focus {
    background: #f1f8e9;
    outline: none;
}

.fcc-breakdown-list li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* W4-05 — operator inbox */
.fcc-next-step {
    background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
    border: 1px solid rgba(46, 125, 50, 0.25);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.25rem;
}

.fcc-next-step-clear {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.fcc-next-step-clear-msg {
    margin: 0;
    font-size: 0.88rem;
    color: #546e7a;
}

.fcc-next-step-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2e7d32;
    margin-bottom: 0.35rem;
}

.fcc-next-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1b5e20;
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.fcc-next-step-reason {
    font-size: 0.82rem;
    color: #546e7a;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.fcc-next-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.fcc-next-step-actions .fcc-dismiss-rec {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: #78909c;
}

.fcc-severity-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.fcc-severity-badge.high {
    background: #ffebee;
    color: #c62828;
}

.fcc-severity-badge.medium {
    background: #fff8e1;
    color: #e65100;
}

.fcc-severity-badge.low {
    background: #eceff1;
    color: #546e7a;
}

.fcc-attention-item.fcc-severity-high {
    border-left-width: 4px;
}

.fcc-attention-item.fcc-severity-medium {
    border-left-width: 3px;
}

.fcc-attention-item.fcc-severity-low {
    border-left-width: 3px;
    border-left-color: #90a4ae;
}

.fcc-attention-detail {
    font-size: 0.78rem;
    color: #607d8b;
    margin: 0 0 0.45rem;
    line-height: 1.35;
}

.fcc-attention-not-now {
    font-size: 0.75rem;
    padding: 0.15rem 0.35rem;
    color: #90a4ae;
    text-decoration: none;
}

.fcc-attention-item.fcc-seen,
.fcc-feed-card.fcc-seen {
    opacity: 0.72;
}

.fcc-attention-item.fcc-seen.fcc-severity-high {
    opacity: 0.88;
}

.fcc-similar-note {
    font-size: 0.65rem;
    font-weight: 600;
    color: #78909c;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 0.35rem;
}

/* W5-03 — weather risk row */
.fcc-weather-section {
    margin-bottom: 1rem;
}

.fcc-weather-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.fcc-weather-risk {
    border-left: 3px solid #e65100;
    background: #fff8f1;
}

.fcc-weather-opportunity {
    border-left: 3px solid #1565c0;
    background: #f3f8ff;
}

.fcc-weather-calm {
    border-left: 3px solid #4caf50;
    background: #f1f8e9;
}

.fcc-weather-unavailable {
    border-left: 3px solid #b0bec5;
    background: #f5f5f5;
}

.fcc-weather-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    color: #546e7a;
    font-size: 1rem;
}

.fcc-weather-risk .fcc-weather-icon {
    color: #e65100;
}

.fcc-weather-opportunity .fcc-weather-icon {
    color: #1565c0;
}

.fcc-weather-calm .fcc-weather-icon {
    color: #2e7d32;
}

.fcc-weather-body {
    flex: 1;
    min-width: 0;
}

.fcc-weather-summary {
    display: block;
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 0.2rem;
}

.fcc-weather-recommendation {
    font-size: 0.8rem;
    color: #546e7a;
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.fcc-weather-conditions {
    font-size: 0.72rem;
    color: #78909c;
}

.fcc-weather-action {
    flex-shrink: 0;
    align-self: center;
}

.fcc-weather-action .btn {
    min-height: 2rem;
    font-size: 0.78rem;
}

@media (max-width: 575px) {
    .fcc-weather-action {
        width: 100%;
        padding-left: 2.65rem;
    }

    .fcc-weather-action .btn {
        width: 100%;
    }
}

/* W5-02 — weekly review strip */
.fcc-weekly-section {
    margin-bottom: 1rem;
}

.fcc-weekly-strip {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.fcc-weekly-empty {
    padding: 1rem;
    margin: 0;
}

.fcc-weekly-net {
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed #e0e0e0;
}

.fcc-weekly-net-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.82rem;
}

.fcc-weekly-net-row.sub {
    font-size: 0.75rem;
    color: #78909c;
    margin-top: 0.2rem;
}

.fcc-weekly-net-label {
    color: #546e7a;
    font-weight: 600;
}

.fcc-weekly-net-value {
    font-size: 1.05rem;
    color: #1b5e20;
}

.fcc-weekly-net-dir {
    font-weight: 600;
}

.fcc-weekly-net-dir.up {
    color: #2e7d32;
}

.fcc-weekly-net-dir.down {
    color: #c62828;
}

.fcc-weekly-net-dir.flat {
    color: #78909c;
}

.fcc-weekly-lane {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.fcc-week-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
}

.fcc-week-day-today .fcc-week-day-label {
    color: #2e7d32;
    font-weight: 700;
}

.fcc-week-day-dots {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
}

.fcc-week-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: 1.5px solid #cfd8dc;
    background: transparent;
    display: block;
}

.fcc-week-dot.on {
    border-color: transparent;
}

.fcc-week-dot-activity.on {
    background: #2e7d32;
}

.fcc-week-dot-soil.on {
    background: #5e35b1;
}

.fcc-week-dot-feed.on {
    background: #e65100;
}

.fcc-week-dot-revenue.on {
    background: #1565c0;
}

.fcc-week-day-label {
    font-size: 0.62rem;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.fcc-weekly-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    font-size: 0.68rem;
    color: #78909c;
    margin-bottom: 0.45rem;
}

.fcc-weekly-legend .fcc-week-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.2rem;
    width: 0.45rem;
    height: 0.45rem;
}

.fcc-weekly-summary-text {
    font-size: 0.78rem;
    color: #607d8b;
    margin: 0;
    line-height: 1.4;
}

.fcc-weekly-summary-sep {
    margin: 0 0.35rem;
    opacity: 0.6;
}

@media (max-width: 400px) {
    .fcc-week-day-label {
        font-size: 0.58rem;
    }

    .fcc-week-dot {
        width: 0.5rem;
        height: 0.5rem;
    }
}

/* W5-04 — weekly priorities */
.fcc-priorities-section {
    margin-bottom: 1rem;
}

.fcc-priorities {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.fcc-priorities-intro {
    margin: 0 0 0.65rem;
}

.fcc-priorities-calm {
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #33691e;
}

.fcc-priorities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fcc-priority-item {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.fcc-priority-item:last-child {
    border-bottom: none;
}

.fcc-priority-item.fcc-priority-done {
    opacity: 0.72;
}

.fcc-priority-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.fcc-priority-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.fcc-priority-tag.new {
    background: #e3f2fd;
    color: #1565c0;
}

.fcc-priority-tag.ongoing {
    background: #fff8e1;
    color: #e65100;
}

.fcc-priority-title {
    font-size: 0.9rem;
    color: #212529;
}

.fcc-priority-reason {
    font-size: 0.8rem;
    color: #607d8b;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.fcc-priority-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.fcc-priority-done-btn {
    font-size: 0.75rem;
    padding: 0.15rem 0.35rem;
    color: #78909c;
    text-decoration: none;
}

@media (max-width: 575px) {
    .fcc-priority-actions .btn {
        width: 100%;
    }
}

.fcc-priority-badge {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.fcc-priority-badge.carried {
    background: #ede7f6;
    color: #4527a0;
}

.fcc-priority-badge.focus {
    background: #e8f5e9;
    color: #2e7d32;
}

.fcc-priority-item.fcc-priority-focus {
    border-left: 3px solid #66bb6a;
    padding-left: 0.5rem;
    background: #f9fbf9;
}

.fcc-priority-item.fcc-priority-attention {
    border-left-color: #ef6c00;
    background: #fffaf5;
}

.fcc-focus-priorities {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #e0e0e0;
}

.fcc-focus-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2e7d32;
    margin: 0 0 0.5rem;
}

.fcc-other-heading {
    margin: 0 0 0.45rem;
}

.fcc-focus-list .fcc-priority-item {
    padding: 0.75rem 0;
}

.fcc-focus-progress {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.fcc-focus-progress--not-started {
    background: #eceff1;
    color: #546e7a;
}

.fcc-focus-progress--in-progress {
    background: #e3f2fd;
    color: #1565c0;
}

.fcc-focus-progress--on-track {
    background: #e8f5e9;
    color: #2e7d32;
}

.fcc-focus-progress--needs-attention {
    background: #fff3e0;
    color: #e65100;
}

.fcc-focus-progress--completed {
    background: #f1f8e9;
    color: #558b2f;
}

.fcc-reset-focus-retro {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.fcc-reset-focus-retro-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
}

.fcc-week-set {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
    color: #2e7d32;
}

.fcc-week-set .fcc-reset-reopen {
    margin-left: auto;
    font-size: 0.8rem;
    padding: 0;
}

/* W6-01 — weekly reset */
.fcc-reset-section {
    margin-bottom: 1rem;
}

.fcc-reset-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    background: #f5f7fa;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.fcc-reset-panel {
    margin-top: 0.65rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
}

.fcc-reset-steps-indicator {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #78909c;
    margin-bottom: 0.75rem;
}

.fcc-reset-step-title {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.fcc-reset-step-lead {
    font-size: 0.85rem;
    color: #607d8b;
    margin: 0 0 0.85rem;
}

.fcc-reset-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.fcc-reset-bullets {
    margin: 0 0 0.85rem;
    padding-left: 1.15rem;
    font-size: 0.85rem;
    color: #455a64;
}

.fcc-reset-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #37474f;
}

.fcc-reset-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.85rem;
}

.fcc-reset-carry-row,
.fcc-reset-focus-row {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    margin: 0;
}

.fcc-reset-carry-row:last-child,
.fcc-reset-focus-row:last-child {
    border-bottom: none;
}

.fcc-reset-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

/* W5-01 — daily operating checklist */
.fcc-checklist-section {
    margin-bottom: 1.1rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fcc-checklist {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.fcc-checklist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.fcc-checklist-progress {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.fcc-check-ring {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.fcc-check-ring-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 3;
}

.fcc-check-ring-fill {
    fill: none;
    stroke: #2e7d32;
    stroke-width: 3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.fcc-check-progress-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #37474f;
}

.fcc-routine-freshness {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.72rem;
    color: #78909c;
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e0e0e0;
}

.fcc-routine-freshness strong {
    color: #455a64;
    font-weight: 600;
}

.fcc-routine-pill {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.68rem;
}

.fcc-checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fcc-check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.fcc-check-row:last-child {
    border-bottom: none;
}

.fcc-check-status {
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
    margin-top: 0.1rem;
    font-size: 0.95rem;
}

.fcc-check-done .fcc-check-status {
    color: #2e7d32;
}

.fcc-check-due .fcc-check-status {
    color: #90a4ae;
}

.fcc-check-attention .fcc-check-status {
    color: #e65100;
}

.fcc-check-optional .fcc-check-status {
    color: #b0bec5;
}

.fcc-check-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.fcc-check-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #212529;
}

.fcc-check-reason {
    font-size: 0.75rem;
    color: #607d8b;
    line-height: 1.35;
}

.fcc-check-action {
    flex-shrink: 0;
    align-self: center;
}

.fcc-check-action .btn {
    min-height: 2rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .fcc-check-row {
        flex-wrap: wrap;
    }

    .fcc-check-action {
        width: 100%;
        padding-left: 1.8rem;
    }

    .fcc-check-action .btn {
        width: 100%;
    }
}
