:root { color-scheme: light; --ink:#203048; --muted:#67758a; --line:#d9e1eb; --blue:#245ca2; --navy:#142339; --surface:#fff; --bg:#f2f5f9; font-family:'Segoe UI',Arial,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-size:14px; line-height:1.55; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button,a { touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible { outline:3px solid #75a8e8; outline-offset:3px; }
a { color:var(--blue); }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:30px; line-height:1.2; letter-spacing:-.7px; margin-bottom:8px; }
h2 { font-size:18px; line-height:1.3; letter-spacing:-.3px; margin-bottom:10px; }
h3 { font-size:15px; margin-bottom:8px; }
p { margin-bottom:14px; }
.ft-loading { padding:40px; }
.ft-topbar { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 28px; background:var(--navy); color:#f4f8ff; min-height:82px; }
.ft-brand { display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; font-size:17px; font-weight:650; line-height:1.35; }
.ft-brand > span { display:grid; place-items:center; width:40px; height:40px; background:#244667; border:1px solid #5c8ca8; color:#a2d5f5; border-radius:7px; font:700 14px Consolas,monospace; flex-shrink:0; }
.ft-brand small { display:block; color:#aab9cd; font:8px/1.8 Consolas,monospace; letter-spacing:1px; margin-top:3px; }
.ft-top-actions { display:flex; align-items:center; gap:17px; }
.ft-top-actions > label { display:flex; align-items:center; gap:8px; color:#bac9dd; font-size:11px; white-space:nowrap; }
.ft-top-actions select { color:#eff5ff; background:#243953; border:1px solid #5c738e; border-radius:5px; padding:7px 10px; }
.ft-topbar .ft-button-quiet { background:transparent; border-color:#63768e; color:#e7eff9; }
.ft-back-project { font-size:11px; color:#c7d8ed; text-decoration:none; }
.ft-demo-banner { padding:9px 28px; display:flex; align-items:center; gap:10px; background:#e3f2ed; border-bottom:1px solid #bddbce; color:#215846; font:700 9px/1.7 Consolas,monospace; letter-spacing:.6px; }
.ft-demo-banner > span:not(.ft-demo-dot) { color:#47695e; font:11px/1.6 'Segoe UI',Arial,sans-serif; letter-spacing:0; }
.ft-demo-banner a { margin-left:auto; font:11px 'Segoe UI',Arial,sans-serif; letter-spacing:0; color:#235c4b; white-space:nowrap; }
.ft-demo-dot { width:6px; height:6px; border-radius:50%; background:#368565; flex-shrink:0; }
.ft-layout { display:grid; grid-template-columns:205px minmax(0,1fr); min-height:calc(100vh - 119px); }
.ft-sidebar { border-right:1px solid var(--line); background:#fff; padding:27px 15px; }
.ft-sidebar > p { font:9px Consolas,monospace; letter-spacing:1.3px; color:#8390a3; padding-left:10px; margin-bottom:18px; }
.ft-sidebar nav { display:flex; flex-direction:column; gap:8px; }
.ft-sidebar nav button { display:flex; align-items:center; gap:10px; padding:10px; border:1px solid transparent; color:#4f6177; background:transparent; border-radius:6px; text-align:left; font-size:12px; white-space:nowrap; }
.ft-sidebar nav button:hover { background:#f1f5fa; }
.ft-sidebar nav button.is-current { background:#e7effb; border-color:#c9d9ee; color:#214f8a; font-weight:600; }
.ft-sidebar nav button > span { display:grid; place-items:center; width:25px; height:25px; background:#edf1f6; border:1px solid #dce3ed; border-radius:4px; font:9px Consolas,monospace; flex-shrink:0; }
.ft-sidebar nav button.is-current > span { background:#d1e2f7; border-color:#b3cae7; }
.ft-sidebar nav button b { margin-left:auto; font:9px Consolas,monospace; color:#7c8c9e; }
.ft-sidebar-note { padding:20px 10px; margin-top:28px; border-top:1px solid var(--line); }
.ft-sidebar-note strong { font-size:11px; }
.ft-sidebar-note p { color:var(--muted); font-size:11px; line-height:1.8; margin-top:10px; }
.ft-sidebar-note > span { font:8px Consolas,monospace; color:#7992aa; }
.ft-main { width:100%; max-width:1650px; padding:24px 28px 50px; min-width:0; margin-inline:auto; }
.ft-notice { padding:11px 15px; background:#eaf1fb; border:1px solid #ceddf0; color:#345b8b; border-radius:6px; font-size:11px; margin-bottom:25px; overflow-wrap:anywhere; }
.ft-kicker { color:#6b83a0; font:9px/1.5 Consolas,monospace; letter-spacing:1.1px; margin-bottom:10px; }
.ft-page-heading,.ft-summary-title { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:25px; }
.ft-page-heading > div > p:last-child,.ft-summary-title > div > p:last-child { color:var(--muted); margin:0; font-size:12px; }
.ft-badge { display:inline-flex; align-items:center; padding:4px 8px; border:1px solid #d6dfe9; border-radius:4px; background:#edf1f6; color:#586c83; font:10px/1.5 Consolas,monospace; white-space:nowrap; }
.ft-badge.green { background:#e2f3e9; color:#24613f; border-color:#b9dfc9; }
.ft-badge.blue { background:#e3eefb; color:#25558b; border-color:#bfd4ef; }
.ft-badge.amber { background:#fff1d9; color:#855c18; border-color:#e8d2aa; }
.ft-badge.red { background:#fce6e8; color:#9a3441; border-color:#edbec5; }
.ft-badge.l1 { background:#efe2d9; color:#71422b; border-color:#d3b9a7; }
.ft-badge.l2 { background:#283344; color:#fff; border-color:#283344; }
.ft-badge.l3 { background:#e6e8ed; color:#434e61; border-color:#b8c0cd; }
.ft-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:9px 14px; border:1px solid #24558f; background:var(--blue); color:#fff; border-radius:5px; font-size:12px; font-weight:550; text-decoration:none; min-height:38px; }
.ft-button:hover { background:#194b89; }
.ft-button-quiet { background:#fff; color:#375d87; border-color:#bfcfe1; }
.ft-button-quiet:hover { background:#edf3fb; }
.ft-link { display:inline; border:0; padding:0; background:none; color:#215d9f; text-decoration:underline; text-underline-offset:3px; font-size:inherit; text-align:left; overflow-wrap:anywhere; }
.ft-link:hover { color:#143c6c; }
.ft-panel { background:#fff; border:1px solid var(--line); border-radius:8px; padding:22px; margin-bottom:22px; min-width:0; }
.ft-dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; margin-bottom:25px; }
.ft-module-card { display:block; position:relative; text-align:left; border:1px solid #d4dfed; background:#fff; border-radius:8px; padding:23px; color:var(--ink); }
.ft-module-card:hover { border-color:#7fa8d8; background:#fafdff; }
.ft-module-icon { display:grid; place-items:center; width:34px; height:34px; background:#e7effa; color:#3e6c9e; border:1px solid #cddbf0; border-radius:6px; font:11px Consolas,monospace; }
.ft-module-card > strong { position:absolute; right:24px; top:22px; font:28px/1.4 Consolas,monospace; color:#7d9ab9; }
.ft-module-card h2 { font-size:16px; margin:20px 0 10px; }
.ft-module-card p { color:var(--muted); font-size:12px; min-height:38px; }
.ft-card-open { font-size:11px; color:#326aa8; }
.ft-guided { border:1px solid #cbdbea; background:#eaf2fb; border-radius:8px; padding:24px; margin-bottom:25px; display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:22px; }
.ft-guided > div > p:last-child { font-size:12px; color:#64809b; margin:0; }
.ft-guided h2 { font-size:18px; }
.ft-guided > button { background:#fff; border:1px solid #c9d9eb; border-radius:6px; padding:17px; color:var(--ink); text-align:left; }
.ft-guided > button:hover { border-color:#658fba; }
.ft-guided > button > span { display:block; color:#6788ae; font:10px Consolas,monospace; margin-bottom:12px; }
.ft-guided > button > strong { display:block; font-size:12px; margin-bottom:8px; }
.ft-guided > button > small { font-size:11px; color:var(--muted); line-height:1.7; }
.ft-empty { padding:25px 15px; text-align:center; color:#74869d; background:#f7f9fc; border:1px dashed #cdd8e6; border-radius:6px; }
.ft-empty p { font-size:12px; margin:8px 0 0; }
.ft-filterbar { display:flex; gap:14px; align-items:flex-end; flex-wrap:wrap; margin-bottom:24px; }
.ft-filterbar > label { flex:1; min-width:140px; font-size:11px; color:#5f7188; }
.ft-filterbar > .ft-search-label { flex:2; min-width:250px; }
input,select,textarea { display:block; max-width:100%; width:100%; padding:9px 10px; background:#fff; color:var(--ink); border:1px solid #b9c9db; border-radius:5px; margin-top:6px; min-height:38px; }
textarea { resize:vertical; }
input[type="checkbox"] { width:20px; height:20px; min-height:20px; accent-color:var(--blue); }
.ft-results-caption { display:flex; justify-content:space-between; gap:16px; font-size:11px; color:#587694; margin-bottom:14px; flex-wrap:wrap; }
.ft-results-caption > span { color:#8b99aa; }
.ft-table-wrap { overflow:auto; max-width:100%; border:1px solid #dbe3ed; border-radius:5px; }
table { width:100%; border-collapse:collapse; font-size:12px; }
th { background:#edf2f8; color:#536d8a; font-size:10px; font-weight:650; text-align:left; white-space:nowrap; }
th,td { padding:12px; border-bottom:1px solid #dde5ef; vertical-align:middle; }
tbody tr:last-child > * { border-bottom:0; }
tbody tr:hover { background:#f8fbff; }
td { min-width:75px; max-width:260px; }
td .ft-link { font-family:Consolas,monospace; font-size:12px; font-weight:600; white-space:nowrap; }
td input { margin:0; min-width:120px; font-size:12px; }
.ft-detail-navigation { display:flex; justify-content:space-between; gap:15px; margin-bottom:20px; font-size:11px; flex-wrap:wrap; }
.ft-detail-navigation > span { color:#7f8d9f; }
.ft-record-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.ft-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:12px; margin-block:25px; }
.ft-metric { border:1px solid #d9e3ef; border-radius:5px; padding:13px; background:#f4f7fb; min-width:0; }
.ft-metric > span { display:block; font-size:9px; color:#7890a9; text-transform:uppercase; letter-spacing:.7px; margin-bottom:7px; }
.ft-metric > strong { display:block; font-size:14px; color:#315474; font-weight:600; overflow-wrap:anywhere; }
.ft-detail-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.ft-detail-fields > div { border:1px solid #dce4ee; border-radius:5px; padding:12px 14px; }
.ft-detail-fields dt { font-size:10px; color:#8191a5; margin-bottom:5px; }
.ft-detail-fields dd { margin:0; font-size:12px; color:#3a506a; overflow-wrap:anywhere; }
.ft-detail-tabs { display:flex; gap:8px; flex-wrap:wrap; padding-bottom:20px; border-bottom:1px solid var(--line); margin-bottom:23px; }
.ft-detail-tabs button { background:#f3f6fa; border:1px solid #ced9e6; color:#5e7590; padding:8px 13px; border-radius:6px; font-size:11px; }
.ft-detail-tabs button[aria-pressed="true"] { background:#e1edfc; border-color:#7da6d7; color:#255a99; }
.ft-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }
.ft-section-heading h2 { margin-bottom:6px; }
.ft-section-heading p { font-size:12px; color:#7c8da3; margin:0; }
.ft-form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.ft-note-form { margin-bottom:25px; padding:17px; background:#f2f6fc; border:1px solid #d7e3f1; border-radius:6px; }
.ft-note-form label { display:block; font-size:11px; color:#667e98; }
.ft-note-form button { margin-top:12px; }
.ft-notes article { padding:17px; border:1px solid #dce5f0; border-radius:5px; margin-bottom:12px; }
.ft-notes article > div { display:flex; justify-content:space-between; gap:15px; font-size:10px; margin-bottom:10px; color:#607e9f; }
.ft-notes time { color:#8b9caf; }
.ft-notes p { font-size:12px; white-space:pre-wrap; overflow-wrap:anywhere; margin:0; }
.ft-photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; }
.ft-photo-grid figure { margin:0; border:1px solid #d7e2ed; border-radius:6px; overflow:hidden; }
.ft-photo-grid img { width:100%; height:220px; object-fit:contain; display:block; background:#edf2f7; }
.ft-photo-grid figcaption { padding:12px; font-size:10px; color:#7a8da3; }
.ft-label-graphic { background:#f5e5ab; border:14px solid #f4f6f8; padding:25px; min-height:220px; color:#3a3830; display:flex; flex-direction:column; justify-content:center; }
.ft-label-graphic span { font:8px Consolas,monospace; letter-spacing:1px; }
.ft-label-graphic strong { font:30px/1.4 Consolas,monospace; margin-top:10px; }
.ft-label-graphic b { font-size:11px; font-weight:500; }
.ft-label-graphic i { font:18px/2 Consolas,monospace; font-style:normal; }
.ft-board-tools { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-bottom:18px; }
.ft-phase-legend { display:flex; align-items:center; gap:8px; margin-bottom:15px; }
.ft-phase-legend > span:last-child { margin-left:5px; color:#8594a8; font-size:10px; }
.ft-phase-layout table { table-layout:fixed; min-width:650px; }
.ft-phase-layout th:first-child { width:50px; text-align:center; }
.ft-phase-layout th:not(:first-child) { text-align:center; }
.ft-phase-layout td { border-left:1px solid #d8e1ed; padding:9px; vertical-align:top; }
.ft-way-number { text-align:center; font-size:17px; font-family:Consolas,monospace; vertical-align:middle; }
.ft-phase-cell { background:#f2f7fe; border:1px solid #c7daed; border-radius:5px; padding:12px; min-height:140px; display:flex; flex-direction:column; gap:8px; }
.ft-phase-cell > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ft-phase-cell strong { font-size:12px; font-weight:600; }
.ft-phase-cell small { font-size:10px; color:#7b8fa6; }
.ft-phase-cell > span { font-size:10px; }
.ft-phase-cell .ft-link { font-size:11px; }
.ft-phase-cell.is-spare { background:#f7f9fc; border-style:dashed; color:#8a99ac; }
.ft-phase-cell.is-spare strong { font:11px Consolas,monospace; letter-spacing:1px; }
.ft-cell-edit { color:#4e7bb1; background:#fff; border:1px solid #c6d8ed; border-radius:4px; font-size:9px; padding:3px 7px; }
.ft-unpopulated { min-height:140px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; border:1px dashed #d4dce7; color:#9aa8b9; font-size:11px; }
.ft-drawing { border:1px solid #b9c8d8; background:#fff; margin-bottom:25px; }
.ft-drawing > div { padding:15px 20px; border-bottom:1px solid #cdd8e5; display:flex; justify-content:space-between; gap:15px; font:10px Consolas,monospace; }
.ft-drawing > div:last-child { border-top:1px solid #cdd8e5; border-bottom:0; }
.ft-drawing svg { display:block; width:100%; height:auto; }
.ft-dialog { width:min(720px,calc(100% - 30px)); max-height:90vh; padding:26px; color:var(--ink); border:1px solid #b8cadf; border-radius:10px; box-shadow:0 20px 70px #0b1c3744; }
.ft-dialog::backdrop { background:#14233999; }
.ft-dialog-title { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; border-bottom:1px solid var(--line); padding-bottom:17px; margin-bottom:20px; }
.ft-dialog-title h2 { margin:0; font-size:22px; }
.ft-dialog-title .ft-kicker { margin-bottom:6px; }
.ft-dialog-title > button { background:none; border:0; font-size:27px; color:#7d8da1; line-height:1; }
.ft-dialog-help { padding:12px 14px; border:1px solid #cddded; border-radius:5px; background:#edf4fb; color:#5a7b9d; font-size:11px; line-height:1.8; }
.ft-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ft-form-grid > label { color:#67809c; font-size:11px; }
.ft-form-grid > label.is-wide { grid-column:1/-1; }
.ft-form-error { color:#aa3745; font-size:12px; margin:20px 0 0; }
.ft-embedded .ft-back-project { display:none; }
@media(max-width:1200px) {
 .ft-dashboard-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ft-guided { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
 .ft-guided > div { grid-column:1/-1; }
 .ft-main { padding:20px; }
}
@media(max-width:1000px) {
 .ft-layout { grid-template-columns:minmax(0,1fr); }
 .ft-sidebar { padding:12px 18px; border-right:0; border-bottom:1px solid var(--line); min-width:0; }
 .ft-sidebar > p,.ft-sidebar-note { display:none; }
 .ft-sidebar nav { flex-direction:row; overflow:auto; gap:8px; padding:3px 0; }
 .ft-sidebar nav button { flex-shrink:0; padding:7px 10px; }
 .ft-sidebar nav button b { margin-left:8px; }
 .ft-topbar { padding:15px 20px; gap:15px; }
 .ft-top-actions { gap:12px; }
 .ft-demo-banner { padding-inline:20px; flex-wrap:wrap; }
 .ft-demo-banner > span:not(.ft-demo-dot) { order:3; width:100%; margin-left:16px; }
 .ft-demo-banner a { margin-left:auto; }
 .ft-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:650px) {
 body { font-size:13px; }
 .ft-topbar { padding:15px; flex-wrap:wrap; gap:16px; }
 .ft-brand { font-size:15px; }
 .ft-brand > span { width:34px; height:34px; }
 .ft-brand small { font-size:7px; }
 .ft-top-actions { width:100%; justify-content:space-between; }
 .ft-top-actions > label { font-size:10px; }
 .ft-top-actions select { padding:6px 8px; }
 .ft-topbar .ft-button { min-height:34px; font-size:10px; padding:7px 10px; }
 .ft-back-project { font-size:9px; }
 .ft-demo-banner { padding:10px 15px; font-size:8px; }
 .ft-demo-banner > span:not(.ft-demo-dot) { font-size:10px; margin-left:0; }
 .ft-demo-banner a { font-size:10px; }
 .ft-sidebar { padding:9px 12px; }
 .ft-sidebar nav button { font-size:10px; }
 .ft-sidebar nav button > span { width:21px; height:21px; font-size:8px; }
 .ft-main { padding:15px 12px 30px; }
 .ft-notice { padding:10px 12px; font-size:10px; margin-bottom:20px; }
 h1 { font-size:25px; }
 h2 { font-size:17px; }
 .ft-page-heading { flex-wrap:wrap; gap:13px; }
 .ft-page-heading > div > p:last-child { font-size:11px; }
 .ft-dashboard-grid { grid-template-columns:1fr 1fr; gap:10px; }
 .ft-module-card { padding:15px; }
 .ft-module-card > strong { top:15px; right:15px; font-size:23px; }
 .ft-module-card h2 { font-size:13px; margin-top:18px; }
 .ft-module-card p { font-size:10px; min-height:50px; }
 .ft-card-open { font-size:10px; }
 .ft-guided { padding:18px; grid-template-columns:1fr; }
 .ft-guided > div { grid-column:auto; }
 .ft-guided > button { padding:15px; }
 .ft-guided > button > span { float:left; margin-right:16px; }
 .ft-guided > button > strong,.ft-guided > button > small { margin-left:32px; display:block; }
 .ft-panel { padding:15px; }
 .ft-filterbar { gap:12px; }
 .ft-filterbar > label,.ft-filterbar > .ft-search-label { flex:auto; min-width:0; width:100%; }
 .ft-button { font-size:11px; padding:9px 12px; }
 .ft-summary-title { flex-wrap:wrap; }
 .ft-metrics { grid-template-columns:1fr 1fr; gap:9px; }
 .ft-metric { padding:11px; }
 .ft-metric > span { font-size:8px; }
 .ft-metric > strong { font-size:12px; }
 .ft-detail-fields { grid-template-columns:1fr; gap:9px; }
 .ft-detail-fields > div { padding:11px; }
 .ft-detail-fields dd { font-size:11px; }
 .ft-detail-tabs { gap:7px; }
 .ft-detail-tabs button { font-size:10px; padding:7px 10px; }
 .ft-section-heading { flex-wrap:wrap; gap:13px; }
 .ft-section-heading p { font-size:11px; }
 table { font-size:11px; }
 th,td { padding:10px; }
 .ft-table-wrap { margin-inline:0; }
 .ft-phase-legend { flex-wrap:wrap; }
 .ft-phase-legend > span:last-child { width:100%; margin-left:0; }
 .ft-board-tools { justify-content:flex-start; }
 .ft-form-grid { grid-template-columns:1fr; }
 .ft-dialog { padding:20px; }
 .ft-dialog-title h2 { font-size:18px; }
 .ft-notes article > div { flex-wrap:wrap; gap:6px; }
 .ft-drawing > div { flex-wrap:wrap; font-size:9px; padding:12px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
@media print {
 body { background:#fff; }
 .ft-topbar,.ft-sidebar,.ft-demo-banner,.ft-notice,.ft-button,.ft-filterbar,.ft-detail-tabs,.ft-detail-navigation,.ft-cell-edit,.ft-board-tools { display:none !important; }
 .ft-layout { display:block; }
 .ft-main { padding:0; max-width:none; }
 .ft-panel { border:0; padding:0; }
 .ft-table-wrap { overflow:visible; border:0; }
 table { font-size:9px; min-width:0 !important; }
 th,td { padding:6px; }
 .ft-phase-cell { min-height:80px; }
 input { border:0; padding:0; min-height:0; }
 .ft-link { color:#000; text-decoration:none; }
}
