/* One combined target list, with stage filters and compact customer rows. */
#targetBoard{min-height:0;gap:20px;align-items:stretch}
#targetBoard .target-table-section{display:block;width:100%;min-width:0;min-height:0;background:#fff;border:1px solid #e1e5ec;border-radius:15px;overflow:hidden;box-shadow:0 5px 22px #0000000d}
#targetBoard .target-table-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e5eaf2;background:#fff}
.target-table-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.target-table-heading h3{font-size:20px;line-height:1.4;color:#293b58;margin:0;font-weight:750;letter-spacing:-.5px}
.target-table-count{font-size:12px;font-weight:650;color:#a08241;background:#f4f0e5;padding:5px 9px;border-radius:8px;white-space:nowrap}
.target-table-heading p{font-size:12px;color:#8996a9;margin:0}
#targetBoard .target-table-heading .stage-add-customer{margin:0;padding:9px 12px;min-height:36px;font-size:12px;white-space:nowrap;color:#8d7139;background:#fbf8f0;border:1px solid #e7ddc4;flex-shrink:0}
.target-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#cbd5e4 #f7f8fb;max-width:100%;outline-offset:-3px}
#targetBoard .target-list-table{width:100%;min-width:850px;border-collapse:collapse;table-layout:fixed;margin:0;background:#fff;color:#62728c;font-size:13px}
#targetBoard .target-table-OP{min-width:1120px}#targetBoard .target-table-PC{min-width:1200px}#targetBoard .target-table-PD{min-width:750px}
.target-col-num{width:48px}.target-col-name{width:145px}.target-col-meetings,.target-col-analysis{width:120px}.target-col-date{width:170px}.target-col-place{width:150px}.target-col-design,.target-col-calendar{width:90px}.target-col-memo{width:auto}.target-col-actions{width:300px}
#targetBoard .target-list-table th{background:#f6f8fc;color:#7f8ea5;font-size:12px;font-weight:650;padding:14px 14px;text-align:left;white-space:nowrap;border-bottom:1px solid #dfe6f1;letter-spacing:0}
#targetBoard .target-list-table td{padding:15px 14px;height:68px;border-bottom:1px solid #e7edf5;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;line-height:1.65}
#targetBoard .target-list-table tbody tr:last-child td{border-bottom:0}
#targetBoard .target-list-table tbody tr:hover td{background:#fafbfd}
#targetBoard .target-list-table td.target-cell-num{font-size:11px;color:#94a2b7;font-variant-numeric:tabular-nums}
#targetBoard .target-name-link{font-size:15px;line-height:1.5;font-weight:750;color:#293d5d;padding:0;min-height:30px;background:none;border:0;border-radius:3px;box-shadow:none;text-align:left;overflow-wrap:anywhere}
.target-name-link:hover{text-decoration:underline;text-underline-offset:4px}
#targetBoard .target-list-table .target-task{font-size:13px;color:#65758f;margin:0}
#targetBoard .target-list-table .target-date{padding:0;margin:0;background:none;color:#526887;font-size:12px;font-variant-numeric:tabular-nums;white-space:normal;line-height:1.6}
#targetBoard .target-list-table .target-date.missing{color:#a5aebc}
.target-table-status{display:inline-block;background:#f3f5f8;color:#8b99ad;border:1px solid #e2e7ef;border-radius:7px;font-size:11px;line-height:1.6;padding:4px 9px;white-space:nowrap}
.target-table-status.done{background:#eef3ff;border-color:#cddaff;color:#4166b8}
.target-table-memo{font-size:12px;line-height:1.7;color:#8492a8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.target-table-actions{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}
#targetBoard .target-table-actions button{font-size:10px;line-height:1.4;padding:7px 8px;min-height:32px;white-space:nowrap;border-radius:6px;border:1px solid transparent;box-shadow:none;background:#f0f3f9;color:#6a7f9e}
#targetBoard .target-table-actions .next-stage{background:#faf4e7;color:#8a6b2d;border-color:#e5d5ae}
#targetBoard .target-table-actions .target-call{background:#eff3fb;color:#627da4}
#targetBoard .target-table-actions .target-delete{background:#fff5f3;color:#ba7a70}
#targetBoard .target-table-actions button:hover{filter:brightness(.96)}
#targetBoard .target-list-table .target-table-empty{height:76px;text-align:center;font-size:12px;color:#9ca7b8;background:#fff}
#targetBoard .drag-over{outline:2px solid var(--stage-color);outline-offset:2px}
#targetBoard .target-stage-filters{display:flex;align-items:center;flex-wrap:nowrap;gap:7px!important;flex:1;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#cbd5e4 transparent;padding:3px 1px}
#targetBoard .target-unified-heading{padding:16px 20px;gap:12px}
#targetBoard .target-stage-filters button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 11px;background:#f6f8fb;color:#7e8ba0;border:1px solid transparent;border-radius:8px;font-size:12px;white-space:nowrap;box-shadow:none;flex-shrink:0}
#targetBoard .target-stage-filters button span{font-size:10px;font-weight:700;min-width:18px;text-align:center;color:#9aa5b5}
#targetBoard .target-stage-filters button[aria-pressed="true"]{background:#faf3e3;color:#8d6d2b;border-color:#e5d3a6;font-weight:750}
#targetBoard .target-stage-filters button[aria-pressed="true"] span{color:#a18447}
#targetBoard .target-stage-filters button:hover{border-color:#ddd4be}
#targetBoard .target-table-unified{min-width:1050px}
.target-unified .target-col-name{width:135px}.target-unified .target-col-stage{width:80px}.target-unified .target-col-progress{width:145px}.target-unified .target-col-schedule{width:175px}.target-unified .target-col-actions{width:270px}
.target-stage-badge{display:inline-block;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:750;white-space:nowrap;background:#f0f4f8;color:#657b95}
.target-stage-badge[data-badge-stage="A"]{background:#f0f3ff;color:#6573b1}.target-stage-badge[data-badge-stage="AP"]{background:#fbf3df;color:#aa8532}.target-stage-badge[data-badge-stage="OP"]{background:#edf4fc;color:#5181b1}.target-stage-badge[data-badge-stage="PC"]{background:#f3eefa;color:#9171ae}.target-stage-badge[data-badge-stage="PD"]{background:#eaf5ef;color:#579078}.target-stage-badge[data-badge-stage="OT"]{background:#fbf0e8;color:#ae7959}.target-stage-badge[data-badge-stage="CIS"]{background:#edf3f7;color:#5d879b}
.target-progress{display:flex;align-items:flex-start;flex-direction:column;gap:5px}.target-progress .target-calendar{margin:0;font-size:10px;line-height:1.5}.target-delivery-pending{font-size:12px;color:#8b99a9}.target-schedule-place{display:block;font-size:11px;line-height:1.6;color:#92a0b1;margin-top:3px;overflow-wrap:anywhere}
@media(max-width:620px){#targetBoard .target-unified-heading{align-items:stretch;flex-direction:column;padding:12px}.target-stage-filters{gap:5px!important}#targetBoard .target-stage-filters button{font-size:11px;padding:7px 9px;min-height:38px}#targetBoard .target-unified-heading .stage-add-customer{align-self:flex-end;padding:6px 10px;min-height:34px}}
.target-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:620px){#targetBoard{gap:15px}#targetBoard .target-table-heading{padding:15px 14px;gap:9px}.target-table-heading>div{gap:7px}.target-table-heading h3{font-size:18px}.target-table-heading p{flex-basis:100%;font-size:11px}.target-table-count{font-size:11px;padding:3px 7px}#targetBoard .target-table-heading .stage-add-customer{font-size:11px;min-height:38px;padding:8px 10px}#targetBoard .target-list-table td{height:64px;padding:13px 12px}#targetBoard .target-list-table th{padding:12px;font-size:11px}#targetBoard .target-list-table .target-cell-name{position:sticky;left:0;z-index:1;background:#fff;box-shadow:3px 0 5px #24365308}#targetBoard .target-list-table th:nth-child(2){position:sticky;left:0;z-index:2}#targetBoard .target-table-actions button{min-height:38px}#targetBoard .target-list-table tbody tr:hover .target-cell-name{background:#fafbfd}}

/* Imported schedules use one compact line; edit actions keep their source identity. */
#targetBoard .target-unified .target-col-schedule{width:220px}
#targetBoard .target-linked-schedule{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin-top:4px;line-height:1.5;font-size:12px}
#targetBoard .target-linked-activity{font-size:11px;font-weight:700;color:#596c83;flex:none}
#targetBoard .target-linked-date{white-space:nowrap;font-variant-numeric:tabular-nums}
#targetBoard .target-linked-edit{border:0;background:transparent;color:#76613d;border-radius:3px;padding:2px 3px;min-height:24px;font-size:11px;line-height:1.3;text-decoration:underline;text-underline-offset:3px;box-shadow:none}
#targetBoard .target-linked-edit:hover,#targetBoard .target-linked-edit:focus-visible{background:#f4f0e7;outline-offset:2px}
#targetBoard .target-progress .target-calendar.unmarked{background:none;padding:0;color:#a1a9b3;font-size:11px}
