/* FC Data only: compact native-style planners without changing the Dashboard overview. */
body[data-dashboard-view="fcdata"] { background: #0a0a0a; }
body[data-dashboard-view="fcdata"] > .site-header { display: none; }
#dashboard[data-view="fcdata"] { width: 100%; padding: 0; font: 14px/1.45 "Segoe UI", Arial, sans-serif; }
#dashboard .fc-main { color: #b9b9b9; background: var(--fc-bg); min-height: 100vh; }
#dashboard .fc-main button { background: var(--fc-panel); border: 1px solid var(--fc-line); color: #bcbcbc; border-radius: 5px; min-height: 30px; padding: 5px 10px; }
#dashboard .fc-main button:hover { border-color: #888; background: var(--fc-raised); color: #fff; }
#dashboard .fc-main button[aria-pressed="true"], #dashboard .fc-main button[aria-current="page"] { color: #fff; background: var(--fc-accent); border-color: #666; }
#dashboard .fc-main :focus-visible { outline: 2px solid #c3a2ff; outline-offset: 2px; }
#dashboard .fc-main select, #dashboard .fc-main input:not([type=checkbox]) { background: var(--fc-bg); border: 1px solid var(--fc-line); color: #ccc; border-radius: 5px; padding: 5px 10px; }
#dashboard .fc-main input[type=checkbox] { accent-color: #1685fb; width: 14px; height: 14px; }
#dashboard .fc-demo-bar { min-height: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 2px 12px; color: #888; font-size: 11px; }
#dashboard .fc-demo-bar a { text-decoration: none; margin-right: auto; }
#dashboard .fc-demo-bar select { height: 24px; padding: 1px 5px; }
#dashboard .fc-demo-bar button { min-height: 24px; padding: 1px 8px; }
#dashboard .fc-navbar { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--fc-line); background: var(--fc-panel); min-height: 44px; }
#dashboard .fc-navbar h1 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 0; margin: 0 auto 0 0; color: #bcbcbc; white-space: nowrap; }
#dashboard .fc-navbar h1 img { width: 21px; height: 21px; }
#dashboard .fc-navbar nav { display: flex; align-items: center; gap: 3px; }
#dashboard .fc-navbar nav button { border-color: transparent; min-height: 29px; padding: 3px 9px; font-size: 13px; }
#dashboard .fc-navbar > button { font-size: 12px; padding: 3px 10px; min-height: 28px; }
#dashboard .fc-themes { display: flex; align-items: center; gap: 4px; }
#dashboard .fc-themes button { width: 23px; height: 23px; min-height: 23px; padding: 0; border: 1px solid #ffffff22; background: var(--swatch); border-radius: 50%; font-size: 12px; }
#dashboard .fc-themes button:hover, #dashboard .fc-themes button[aria-pressed="true"] { background: var(--swatch); border-color: #aaa; }
#dashboard .fc-page-content { padding: 12px; }
#dashboard .fc-updated { text-align: right; font-size: 12px; color: #888; min-height: 23px; margin-bottom: 10px; }
#dashboard .fc-totals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
#dashboard .fc-total { background: var(--fc-panel); border: 1px solid var(--fc-line); border-radius: 8px; min-height: 130px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px; }
#dashboard .fc-total strong { font-size: 38px; line-height: 1.3; font-weight: 750; color: #aaa; }
#dashboard .fc-total span { color: #aaa; font-size: 14px; }
#dashboard .fc-total small { color: #888; font-size: 12px; }
#dashboard .fc-main .fc-green, #dashboard .fc-category-active { color: #00d879; }
#dashboard .fc-main .fc-gold, #dashboard .fc-category-join { color: #ffda00; }
#dashboard .fc-main .fc-red { color: #ff5c65; }
#dashboard .fc-main .fc-cyan { color: #19d1d1; }
#dashboard .fc-section { margin: 0 0 18px; }
#dashboard .fc-section-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 61px; border-bottom: 1px solid var(--fc-line); }
#dashboard .fc-section-header h2 { flex: 1; margin: 0; }
#dashboard .fc-section-header h2 button { display: flex; align-items: center; width: 100%; gap: 14px; padding: 10px 0; border: 0; background: transparent; border-radius: 0; text-align: left; font-size: 24px; font-weight: 600; color: #b2b2b2; }
#dashboard .fc-section-header h2 button:hover { color: #eee; background: transparent; border-color: transparent; }
#dashboard .fc-section-header h2 button::before { content: '▶'; font-size: 15px; color: #b8c1c7; }
#dashboard .fc-section-header h2 button[aria-expanded="true"]::before { content: '▼'; }
#dashboard .fc-section-stats { font-size: 20px; color: #999; white-space: nowrap; }
#dashboard .fc-view-toggle { display: flex; gap: 5px; }
#dashboard .fc-view-toggle button { padding: 7px 12px; min-height: 35px; }
#dashboard .fc-section-body { padding-top: 14px; }
#dashboard .fc-housing-content { width: min(90%, 2250px); margin-inline: auto; }
#dashboard .fc-plot-filters { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; border: 1px solid var(--fc-line); background: var(--fc-panel); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
#dashboard .fc-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
#dashboard .fc-inline > b { color: #c4c4c4; }
#dashboard .fc-inline button { padding: 5px 9px; font-size: 13px; min-height: 32px; }
#dashboard .fc-check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
#dashboard .fc-check input { flex-shrink: 0; }
#dashboard .fc-field { display: inline-flex; align-items: center; gap: 9px; }
#dashboard .fc-world-picker { position: relative; border: 0; margin: 0; padding: 0; min-width: 220px; }
#dashboard .fc-world-picker > summary { display: flex; justify-content: space-between; align-items: center; list-style: none; color: #bdbdbd; border: 1px solid var(--fc-line); border-radius: 6px; padding: 7px 12px; background: var(--fc-bg); }
#dashboard .fc-world-picker > summary::-webkit-details-marker { display: none; }
#dashboard .fc-world-menu { position: absolute; top: calc(100% + 5px); left: 0; width: 300px; max-width: 75vw; z-index: 15; padding: 10px; border: 1px solid #666; border-radius: 7px; box-shadow: 0 8px 30px #000a; background: var(--fc-panel); }
#dashboard .fc-world-menu input[type=search] { width: 100%; }
#dashboard .fc-world-actions { display: flex; gap: 6px; margin-block: 8px; }
#dashboard .fc-world-actions button:last-child { margin-left: auto; }
#dashboard .fc-world-options { max-height: 260px; overflow: auto; }
#dashboard .fc-world-options > div { display: flex; justify-content: space-between; padding: 6px 2px; gap: 8px; }
#dashboard .fc-world-options small { color: #999; font-size: 11px; white-space: nowrap; }
#dashboard .fc-district-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 12px; }
#dashboard .fc-district { border: 1px solid var(--fc-line); border-radius: 9px; background: var(--fc-panel); }
#dashboard .fc-district > header { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 11px 13px; border-bottom: 1px solid var(--fc-line); }
#dashboard .fc-district h3 { font-size: 18px; color: #b4b4b4; margin: 0; }
#dashboard .fc-district header > span { font-size: 12px; white-space: nowrap; color: #999; }
#dashboard .fc-wards { padding: 10px 12px; }
#dashboard .fc-ward { display: flex; align-items: center; gap: 7px; padding: 7px 0; min-height: 34px; border-bottom: 1px solid #ffffff06; }
#dashboard .fc-ward > span:first-child { width: 29px; flex-shrink: 0; font-size: 12px; font-weight: 600; color: #999; }
#dashboard .fc-markers { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
#dashboard .fc-main .fc-plot-marker { position: relative; width: 19px; height: 20px; min-height: 20px; border: 0; padding: 0; background: transparent; color: #07160e; font-size: 9px; font-weight: 800; border-radius: 0; }
#dashboard .fc-plot-marker::before { content: ''; position: absolute; inset: 1px; background: #00d879; border-radius: 3px; }
#dashboard .fc-plot-marker span { position: relative; z-index: 1; }
#dashboard .fc-size-S::before { border-radius: 50%; inset: 2px; }
#dashboard .fc-size-M::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; inset: 0; }
#dashboard .fc-size-M span { top: 3px; }
#dashboard .fc-personal::before { background: #ffda00; }
#dashboard .fc-main .fc-plot-marker:hover { transform: scale(1.2); background: transparent; color: #000; }
#dashboard .fc-ward-bar { display: flex; flex: 1; height: 13px; overflow: hidden; border-radius: 3px; background: var(--fc-bg); }
#dashboard .fc-ward > b { min-width: 20px; text-align: right; font-size: 11px; }
#dashboard .fc-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 13px; font-size: 12px; color: #999; }
#dashboard .fc-legend > span { display: inline-flex; align-items: center; gap: 5px; }
#dashboard .fc-legend button { padding: 3px 8px; min-height: 26px; font-size: 11px; }
#dashboard .fc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
#dashboard .fc-bar-active { background: #00d879; }
#dashboard .fc-bar-managed { background: #c98230; }
#dashboard .fc-bar-join { background: #ffda00; }
#dashboard .fc-bar-excluded { background: #666; }
#dashboard .fc-bar-unknown { background: #8b8197; }
#dashboard .fc-capacity-content, #dashboard .fc-planner-content { width: min(80%, 2000px); margin-inline: auto; }
#dashboard .fc-info { border: 1px solid var(--fc-line); background: var(--fc-panel); border-radius: 7px; padding: 11px 13px; color: #999; font-size: 13px; }
#dashboard .fc-planner-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--fc-panel); border: 1px solid var(--fc-line); border-radius: 7px; padding: 10px 12px; }
#dashboard .fc-planner-controls select { min-width: 155px; }
#dashboard .fc-capacity-account > h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 19px; color: #bbb; margin: 12px 0 8px; }
#dashboard .fc-chip { font-size: 12px; padding: 1px 7px; color: #111; border-radius: 4px; font-weight: 700; }
#dashboard .fc-chip.fc-bar-excluded, #dashboard .fc-chip.fc-bar-unknown { color: #eee; }
#dashboard .fc-regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#dashboard .fc-region-card { padding: 12px; background: var(--fc-panel); border: 1px solid var(--fc-line); border-radius: 8px; }
#dashboard .fc-region-card > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
#dashboard .fc-region-card h3 { margin: 0; font-size: 18px; color: #bbb; }
#dashboard .fc-region-badge { display: inline-block; white-space: nowrap; font-size: 12px; border-radius: 12px; padding: 3px 8px; color: #00df82; background: #153020; font-weight: 700; }
#dashboard .fc-region-badge.fc-full { color: #ff5d5d; background: #3c1e21; }
#dashboard .fc-capacity-bar { height: 24px; display: flex; background: var(--fc-bg); overflow: hidden; border: 1px solid var(--fc-line); border-radius: 5px; }
#dashboard .fc-capacity-bar > span { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 800; color: #111; overflow: hidden; white-space: nowrap; }
#dashboard .fc-capacity-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 3px 0 12px; font-size: 12px; color: #999; }
#dashboard .fc-capacity-legend > span { display: flex; align-items: center; gap: 4px; }
#dashboard .fc-world-heading { display: block; font-size: 12px; color: #aaa; margin-bottom: 6px; }
#dashboard .fc-world-capacity > button { width: 100%; display: grid; grid-template-columns: 106px minmax(0, 1fr) 32px; gap: 7px; align-items: center; padding: 3px 0; border: 0; border-radius: 0; background: transparent; color: #aaa; font-size: 12px; text-align: left; min-height: 25px; }
#dashboard .fc-world-capacity .fc-capacity-bar { height: 11px; border-radius: 6px; }
#dashboard .fc-world-characters { padding: 5px 8px; font-size: 12px; border-left: 2px solid var(--fc-accent); }
#dashboard .fc-world-characters > span { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
#dashboard .fc-world-characters small { font-size: 10px; }
#dashboard .fc-capacity-foot { font-size: 11px; color: #999; border-top: 1px solid var(--fc-line); margin: 12px 0 0; padding-top: 9px; }
#dashboard .fc-empire-content { width: min(100%, 1080px); margin-inline: auto; }
#dashboard .fc-sort-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 11px; margin: 12px 0 9px; color: #999; }
#dashboard .fc-sort-bar > span { margin-right: 3px; }
#dashboard .fc-sort-bar button { min-height: 23px; padding: 2px 6px; font-size: 11px; }
#dashboard .fc-empire-regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
#dashboard .fc-empire-regions .fc-region-card { padding: 10px; }
#dashboard .fc-empire-regions .fc-region-card > header { margin-bottom: 18px; }
#dashboard .fc-empire-regions h3 { font-size: 17px; }
#dashboard .fc-empire-regions p { font-size: 12px; margin: 0 0 3px; color: #999; }
#dashboard .fc-empire-regions small { font-size: 12px; }
#dashboard .fc-main .table-wrap { border: 0; border-radius: 0; background: transparent; overflow: auto; max-height: none; }
#dashboard .fc-main table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
#dashboard .fc-main th, #dashboard .fc-main td { border: 0; border-bottom: 1px solid var(--fc-line); padding: 6px 10px; white-space: nowrap; }
#dashboard .fc-main th { position: static; background: var(--fc-panel); color: #aaa; font-weight: 700; }
#dashboard .fc-main tbody tr:nth-child(even) { background: transparent; }
#dashboard .fc-main tbody tr:hover { background: var(--fc-raised); }
#dashboard .fc-empire-table td:nth-child(n+3), #dashboard .fc-empire-table th:nth-child(n+3) { text-align: right; }
#dashboard .fc-empire-table .fc-gold { padding-left: 24px; font-weight: 700; }
#dashboard .fc-region-row { background: var(--fc-panel); font-weight: 700; }
#dashboard .fc-region-row th { padding: 0; }
#dashboard .fc-region-row button { width: 100%; text-align: left; border: 0; background: transparent; min-height: 29px; font-weight: 700; font-size: 13px; padding: 5px 10px; }
#dashboard .fc-empire-total td, #dashboard .fc-empire-total th { background: #ffda0015; border-top: 1px solid #a39230; color: #ddd; font-weight: 700; }
#dashboard .fc-planner-sort { margin-top: 0; }
#dashboard .fc-planner-sort .fc-field { margin-left: auto; }
#dashboard .fc-planner-sort select { font-size: 11px; padding: 1px 6px; height: 24px; }
#dashboard .fc-planner-grid { display: flex; justify-content: center; flex-wrap: wrap; align-items: flex-start; gap: 7px; overflow-x: auto; }
#dashboard .fc-planner-account { width: calc(var(--fc-columns) * var(--fc-card-width, 190px)); max-width: 100%; border: 1px solid var(--fc-line); background: var(--fc-panel); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
#dashboard .fc-planner-account > header { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 6px; background: var(--fc-raised); border-bottom: 1px solid var(--fc-line); font-size: 12px; }
#dashboard .fc-planner-account > header > small { font-size: 9px; white-space: nowrap; color: #999; }
#dashboard .fc-planner-characters { display: grid; grid-template-columns: repeat(var(--fc-columns), minmax(0, 1fr)); align-items: start; }
#dashboard .fc-planner-character { padding: 4px 5px; border-bottom: 1px solid var(--fc-line); }
#dashboard .fc-planner-character.fc-sleeping { opacity: .64; }
#dashboard .fc-planner-character.fc-excluded { border-left: 2px solid #a75f70; }
#dashboard .fc-planner-name { display: flex; align-items: baseline; overflow: hidden; white-space: nowrap; font-size: 11px; }
#dashboard .fc-planner-name b { overflow: hidden; text-overflow: ellipsis; }
#dashboard .fc-planner-name > span { font-size: 10px; color: #888; }
#dashboard .fc-retainer-row { display: grid; grid-template-columns: 23px 43px 32px minmax(0, 1fr); gap: 2px; font-size: 10px; line-height: 1.45; }
#dashboard .fc-retainer-row > span { color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dashboard .fc-retainer-row.fc-idle { background: #00d6d612; }
#dashboard .fc-sub-row { display: grid; grid-template-columns: 24px 38px 27px minmax(0, 1fr); gap: 3px; font-size: 10px; line-height: 1.45; }
#dashboard .fc-sub-row > span:last-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
#dashboard .fc-planner-footer { display: flex; align-items: center; justify-content: space-between; gap: 3px; font-size: 9px; color: #999; margin-top: 3px; white-space: nowrap; }
#dashboard .fc-nofc-content { width: min(100%, 1250px); margin-inline: auto; }
#dashboard .fc-nofc-controls { margin-bottom: 12px; font-size: 14px; }
#dashboard .fc-main .fc-nofc-table { max-height: 560px; border: 1px solid var(--fc-line); border-radius: 7px; background: var(--fc-panel); }
#dashboard .fc-nofc-table th { position: sticky; top: 0; }
#dashboard .fc-nofc-table th, #dashboard .fc-nofc-table td { font-size: 15px; padding: 8px 12px; }
#dashboard .fc-nofc-table td:first-child { font-weight: 700; }
#dashboard .fc-empty { padding: 25px 12px; color: #aaa; text-align: center; }
#dashboard .fc-page-footer { font-size: 11px; color: #777; text-align: center; padding: 10px; }
#dashboard[data-view="fcdata"] .modal { background: #141414; border-color: #666; }
@media (max-width: 1600px) {
    #dashboard .fc-capacity-content, #dashboard .fc-planner-content { width: 95%; }
    #dashboard .fc-navbar { flex-wrap: wrap; }
    #dashboard .fc-section-header h2 button { font-size: 21px; }
    #dashboard .fc-section-stats { font-size: 17px; }
    #dashboard .fc-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #dashboard .fc-region-card > header { margin-bottom: 12px; }
    #dashboard .fc-district h3 { font-size: 15px; }
    #dashboard .fc-district > header { padding-inline: 9px; }
}
@media (max-width: 1200px) {
    #dashboard .fc-navbar nav { order: 2; flex-basis: 100%; }
    #dashboard .fc-navbar nav button { flex: 1; }
    #dashboard .fc-district-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #dashboard .fc-housing-content { width: 100%; }
    #dashboard .fc-total { min-height: 112px; }
    #dashboard .fc-total strong { font-size: 30px; }
    #dashboard .fc-total span { font-size: 13px; }
    #dashboard .fc-section-stats { font-size: 14px; }
}
@media (max-width: 760px) {
    #dashboard .fc-page-content { padding: 9px; }
    #dashboard .fc-demo-bar > span { display: none; }
    #dashboard .fc-demo-bar .fc-field { font-size: 0; gap: 0; }
    #dashboard .fc-demo-bar select { font-size: 11px; width: 142px; }
    #dashboard .fc-navbar { gap: 8px; padding: 10px; }
    #dashboard .fc-navbar h1 { width: 100%; font-size: 20px; }
    #dashboard .fc-navbar nav { overflow: auto; gap: 2px; }
    #dashboard .fc-navbar nav button { font-size: 12px; padding: 5px 7px; flex: 0 0 auto; }
    #dashboard .fc-navbar > button { margin-right: auto; }
    #dashboard .fc-themes button { width: 20px; height: 20px; min-height: 20px; }
    #dashboard .fc-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px; }
    #dashboard .fc-total:last-child { grid-column: 1 / -1; min-height: 95px; }
    #dashboard .fc-section-header { flex-wrap: wrap; gap: 5px; padding: 8px 0; min-height: 55px; }
    #dashboard .fc-section-header h2 button { font-size: 17px; gap: 8px; padding: 7px 0; }
    #dashboard .fc-section-stats { font-size: 12px; white-space: normal; padding-left: 23px; }
    #dashboard .fc-section-header h2 { flex-basis: 100%; }
    #dashboard .fc-section[data-fc-section="housing"] h2 { flex-basis: auto; }
    #dashboard .fc-view-toggle button { min-height: 29px; font-size: 12px; padding: 4px 7px; }
    #dashboard .fc-plot-filters { padding: 8px; gap: 10px; }
    #dashboard .fc-account-filters { gap: 8px 11px; }
    #dashboard .fc-district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    #dashboard .fc-district > header { flex-wrap: wrap; }
    #dashboard .fc-wards { padding: 7px; }
    #dashboard .fc-capacity-content, #dashboard .fc-planner-content { width: 100%; }
    #dashboard .fc-regions { grid-template-columns: minmax(0, 1fr); }
    #dashboard .fc-empire-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #dashboard .fc-empire-regions h3 { font-size: 15px; }
    #dashboard .fc-empire-regions .fc-region-badge { font-size: 10px; padding: 2px 6px; }
    #dashboard .fc-planner-sort .fc-field { flex-basis: 100%; margin: 4px 0 0; }
    #dashboard .fc-planner-sort select { font-size: 12px; }
    #dashboard .fc-planner-account { --fc-card-width: 176px; overflow: auto; }
    #dashboard .fc-planner-characters { grid-template-columns: repeat(var(--fc-columns), minmax(174px, 1fr)); }
    #dashboard .fc-planner-account > header { position: sticky; left: 0; }
    #dashboard .fc-nofc-table th, #dashboard .fc-nofc-table td { font-size: 13px; }
}
