/* PATH 1.0 · The True Troop Consulting */
:root {
  --navy: #1B2A4A; --navy-2: #24365d; --navy-3: #0f1a30; --gold: #C9A84C; --gold-2: #b08f35; --gold-soft: #f3e9c9; --cream: #FAF6EC; --paper: #ffffff;
  --ink: #1B2A4A; --ink-2: #4a556b; --ink-3: #7a8499; --rule: #e4dcc8; --rule-2: #ece6d6;
  --near: #4f73a8; --near-soft: #e4ecf7; --other: #b9bfca; --done: #d9dbe0; --warn: #a8501f; --warn-soft: #fbeadf; --bad: #9b1c1c; --bad-soft: #fbe3e3; --good: #2f6b4f; --good-soft: #e2f0e9;
  --shadow: 0 1px 2px rgba(27, 42, 74, .06), 0 8px 24px rgba(27, 42, 74, .06);
  --bar: 58px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--cream); }
button, input, select { font: inherit; color: inherit; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 50; height: var(--bar); background: var(--navy); color: #fff; display: flex; align-items: center; gap: 18px; padding: 0 28px; border-bottom: 2px solid var(--gold); }
.brand { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.brand .suite { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.brand .name { font-size: 22px; font-weight: 700; letter-spacing: .14em; }
.brand .tag { font-size: 13px; color: #c9d1e2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .sp { flex: 1; }
.chip-v { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(201, 168, 76, .7); color: var(--gold); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 4px; border: 1px solid var(--navy); background: var(--paper); color: var(--navy); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--cream); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
.btn.gold:hover { background: #d7b962; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; font-weight: 400; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: default; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }

/* landing */
.hero { padding: 64px 0 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.04; letter-spacing: -.025em; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; box-shadow: inset 0 -.32em 0 var(--gold-soft); }
.hero p.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0 0 26px; }
.hero .acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .quiet { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.drop { background: var(--paper); border: 1.5px dashed #cdbf95; border-radius: 10px; padding: 36px 30px; text-align: center; box-shadow: var(--shadow); cursor: pointer; }
.drop.over { border-color: var(--gold-2); background: #fffdf5; }
.drop .ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.drop h2 { font-size: 20px; margin: 0 0 6px; }
.drop p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.drop .lock { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin: 30px 0 60px; }
.three > div { padding: 26px 28px 8px 0; }
.three > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.three .n { font-size: 12px; letter-spacing: .18em; color: var(--gold-2); font-weight: 700; }
.three h3 { font-size: 18px; margin: 8px 0 6px; }
.three p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* messages */
.msg { margin: 22px 0 0; padding: 14px 18px; border-radius: 6px; border: 1px solid var(--rule); background: var(--paper); display: flex; gap: 12px; align-items: flex-start; }
.msg.err { border-color: #e6b4b4; background: var(--bad-soft); color: #6f1414; }
.busy { margin: 22px 0 0; padding: 14px 18px; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--rule); border-top-color: var(--navy); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* results */
.results { padding: 26px 0 70px; }
.filebar { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 13px; color: var(--ink-2); padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.filebar b { color: var(--ink); font-weight: 700; }
.filebar .fname { font-size: 14px; color: var(--ink); font-weight: 700; }
.filebar select { height: 30px; border: 1px solid #cfc7b0; border-radius: 4px; background: var(--paper); padding: 0 8px; max-width: 280px; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end; margin: 22px 0 6px; }
.pick label.l { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 6px; }
.pick > div { min-width: 0; }
.pick .row { display: flex; gap: 10px; flex-wrap: wrap; }
.pick select.target { flex: 1 1 380px; min-width: 0; max-width: 100%; width: 100%; height: 44px; border: 1.5px solid var(--navy); border-radius: 4px; background: var(--paper); padding: 0 12px; font-weight: 700; font-size: 15px; }
.pick input.find { flex: 0 1 220px; min-width: 120px; height: 44px; border: 1px solid #cfc7b0; border-radius: 4px; background: var(--paper); padding: 0 12px; }
.pick .opts { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); padding-bottom: 10px; }
.pick .opts input[type=number] { width: 58px; height: 30px; border: 1px solid #cfc7b0; border-radius: 4px; padding: 0 6px; background: var(--paper); }
.verdict { margin: 26px 0 22px; padding: 30px 34px; background: var(--navy); color: #fff; border-radius: 10px; position: relative; overflow: hidden; }
.verdict::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.verdict .eyebrow { color: var(--gold); }
.verdict h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.015em; margin: 10px 0 10px; font-weight: 700; max-width: 30em; }
.verdict h2 b { color: var(--gold); font-weight: 700; }
.verdict p { margin: 0; color: #d5dbe8; font-size: 16px; max-width: 58em; }
.verdict p b { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.tile { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 18px 20px 16px; text-align: left; cursor: pointer; position: relative; }
.tile:hover { border-color: #cdbf95; box-shadow: var(--shadow); }
.tile .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.tile .v { font-size: 38px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 4px; }
.tile .d { font-size: 13px; color: var(--ink-2); }
.tile.lead { border-top: 3px solid var(--gold); }
.tile.alert .v { color: var(--warn); }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: thin; }
.tab { border: 0; background: none; padding: 12px 16px 11px; font-size: 14px; font-weight: 700; color: var(--ink-3); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected=true] { color: var(--ink); border-bottom-color: var(--gold); }
.tab .ct { font-weight: 400; color: var(--ink-3); margin-left: 6px; font-size: 12.5px; }
.panel { background: var(--paper); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 8px 8px; padding: 24px 26px 26px; }
.panel h3 { font-size: 20px; margin: 0 0 4px; letter-spacing: -.01em; }
.panel p.sub { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; max-width: 62em; }
.tools { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.tools input[type=search] { height: 34px; border: 1px solid #cfc7b0; border-radius: 4px; padding: 0 10px; min-width: 220px; background: var(--paper); }
.seg { display: inline-flex; border: 1px solid #cfc7b0; border-radius: 4px; overflow: hidden; flex-wrap: wrap; }
.seg button { border: 0; background: var(--paper); padding: 0 12px; height: 32px; font-size: 13px; cursor: pointer; border-right: 1px solid #e3dcc9; color: var(--ink-2); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed=true] { background: var(--navy); color: #fff; }
.check { display: inline-flex; gap: 7px; align-items: center; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.count { font-size: 13px; color: var(--ink-3); margin-left: auto; }

/* key */
.key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--ink-2); margin: 12px 0 0; }
.key i { display: inline-block; width: 22px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.k-drv { background: var(--navy); border-bottom: 3px solid var(--gold); }
.k-cal { background: repeating-linear-gradient(135deg, var(--navy) 0 4px, var(--gold) 4px 7px); }
.k-near { background: var(--near); }
.k-other { background: var(--other); }
.k-dd { width: 0 !important; height: 12px !important; border-left: 2px dashed var(--warn); border-radius: 0 !important; }

/* gantt */
.gantt { border: 1px solid var(--rule-2); border-radius: 6px; overflow: auto; background: #fff; max-height: 640px; }
.gantt svg { display: block; }
.gantt text { font-family: Arial, Helvetica, sans-serif; }
.g-row { cursor: pointer; }
.g-row:hover .g-bg { fill-opacity: .14; }
.g-row:focus-visible { outline: none; }
.g-row:focus-visible .g-bg { fill-opacity: .14; stroke: var(--gold); stroke-width: 2; }

/* tables */
.tw { overflow: auto; border: 1px solid var(--rule-2); border-radius: 6px; max-height: 620px; }
table.t { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
table.t th { position: sticky; top: 0; background: var(--navy); color: #fff; text-align: left; font-weight: 700; padding: 9px 10px; white-space: nowrap; font-size: 12px; letter-spacing: .03em; border-bottom: 2px solid var(--gold); z-index: 2; }
table.t th button { all: unset; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
table.t th button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
table.t th .ar { opacity: .55; font-size: 10px; }
table.t td { padding: 8px 10px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
table.t tbody tr:nth-child(even) td { background: #fdfbf5; }
table.t tbody tr:hover td { background: #f9f3e0; }
table.t tr.click { cursor: pointer; }
table.t td.num, table.t th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.t td.nw { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.t .id { font-weight: 700; white-space: nowrap; }
table.t td .mut { color: var(--ink-3); font-size: 12px; }
table.t td.why { min-width: 300px; color: var(--ink-2); }
.more { margin: 12px 0 0; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-3); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 700; white-space: nowrap; letter-spacing: .02em; }
.p-drv { background: var(--navy); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.p-cal { background: var(--gold-soft); color: #6d5510; border: 1px solid #e0cf9a; }
.p-near { background: var(--near-soft); color: #2e4f80; }
.p-float { background: #eef0f3; color: #4a556b; }
.p-done { background: #eef0f3; color: #7a8499; }
.p-warn { background: var(--warn-soft); color: var(--warn); }
.p-bad { background: var(--bad-soft); color: var(--bad); }
.p-info { background: #eef0f3; color: #4a556b; }
.p-tgt { background: var(--gold); color: var(--navy-3); }

/* trace */
.trace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.trace h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.card { display: block; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; margin: 0 0 10px; cursor: pointer; border-left: 4px solid var(--other); }
.card:hover { box-shadow: var(--shadow); border-color: #cdbf95; }
.card.c-drv { border-left-color: var(--gold); }
.card.c-near { border-left-color: var(--near); }
.card.c-bad { border-left-color: var(--bad); }
.card .h { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.card .id { font-weight: 700; font-size: 13px; }
.card .nm { font-size: 14px; margin: 2px 0 6px; }
.card .meta { font-size: 12.5px; color: var(--ink-2); }
.card .why { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.focus { background: var(--navy); color: #fff; border-radius: 10px; padding: 20px 22px; position: sticky; top: calc(var(--bar) + 14px); }
.focus .id { color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.focus h5 { font-size: 21px; margin: 4px 0 12px; line-height: 1.2; }
.focus dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 13.5px; }
.focus dt { color: #b9c3d8; }
.focus dd { margin: 0; }
.focus .drv { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; color: #e4e8f1; }
.focus .nav { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.empty { color: var(--ink-3); font-size: 13.5px; padding: 10px 0; }

/* notes */
.note { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule-2); align-items: start; }
.note:last-child { border-bottom: 0; }
.note .a { font-weight: 700; }

/* method */
.method { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 46px; }
.method h4 { font-size: 15px; margin: 18px 0 4px; }
.method p, .method li { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.method ul { margin: 0; padding-left: 18px; }
.settings { margin-top: 6px; border: 1px solid var(--rule-2); border-radius: 6px; overflow: hidden; }
.settings div { display: grid; grid-template-columns: 240px 1fr; gap: 12px; padding: 8px 12px; font-size: 13.5px; border-bottom: 1px solid var(--rule-2); }
.settings div:last-child { border-bottom: 0; }
.settings div span:first-child { color: var(--ink-3); }

/* download and share */
.band { margin-top: 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 26px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 36px; align-items: center; border-top: 3px solid var(--gold); }
.band h3 { margin: 6px 0 6px; font-size: 22px; letter-spacing: -.01em; }
.band p { margin: 0; color: var(--ink-2); font-size: 14.5px; max-width: 46em; }
.band .do { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.share { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; padding: 22px 30px; background: var(--navy); color: #fff; border-radius: 10px; }
.share p { margin: 0; color: #d5dbe8; font-size: 14.5px; }
.share p b { color: #fff; }
.share a { color: var(--gold); }
.share .links { display: flex; gap: 8px; flex-wrap: wrap; }
.share .links a, .share .links button { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; background: transparent; text-decoration: none; font-size: 13px; cursor: pointer; }
.share .links a:hover, .share .links button:hover { background: rgba(255, 255, 255, .12); color: #fff; }

footer { border-top: 1px solid var(--rule); padding: 26px 0 40px; font-size: 13px; color: var(--ink-3); }
footer .wrap { display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: space-between; }
footer b { color: var(--ink); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .hero h1 { font-size: 40px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trace { grid-template-columns: 1fr; }
  .focus { position: static; order: -1; }
  .method { grid-template-columns: 1fr; }
  .band, .share, .pick { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { padding: 0 14px; gap: 10px; }
  .brand .tag, .brand .suite, .chip-v { display: none; }
  .wrap { padding: 0 14px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16.5px; }
  .three { grid-template-columns: 1fr; }
  .three > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .verdict { padding: 22px 20px 22px 24px; }
  .verdict h2 { font-size: 22px; }
  .tile .v { font-size: 30px; }
  .panel { padding: 18px 14px; }
  .band, .share { padding: 20px 18px; }
  .note { grid-template-columns: 1fr; gap: 4px; }
  .settings div { grid-template-columns: 1fr; gap: 2px; }
  .top .btn.ghost { display: none; }
  .pick .opts { gap: 10px 18px; }
  .pick .opts .check { flex-wrap: wrap; }
  .pick input.find { flex: 1 1 100%; }
}
@media print {
  .top, .drop, .band, .share, .tabs, .tools, .pick { display: none !important; }
  body { background: #fff; }
  .panel { border: 0; padding: 0; }
  .tw, .gantt { max-height: none; overflow: visible; }
}
