/* Suivi signature électronique Haïti. Atlas Perspective colours, system fonts (no external loads). */
:root {
  --navy: #0B1F33; --navy-deep: #081A2A; --gold: #8C7A5B; --gold-text: #6E5F45; --gold-soft: #C9B99A;
  --paper: #F6F4EF; --card: #FFFFFF; --line: #D9D3C7; --line-strong: #BFB8AA; --text: #16273A; --muted: #5C6470;
  --red: #B42318; --red-soft: #FDECEA; --orange: #B54708; --orange-soft: #FEF0E1;
  --green: #2E7D4F; --green-soft: #E6F2EA; --blue: #2F5D8A; --blue-soft: #E5EDF5; --grey-soft: #ECEAE4;
  --head: Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 15px/1.45 var(--body); }
a { color: var(--navy); text-decoration-color: var(--gold-soft); text-underline-offset: 2px; }
a:hover { color: var(--gold-text); }
h1, h2 { font-family: var(--head); font-weight: normal; color: var(--navy); }
h1 { font-size: 1.7rem; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.red { color: var(--red); }
.nowrap { white-space: nowrap; }
.n { text-align: right; font-variant-numeric: tabular-nums; }
abbr.inst { text-decoration: none; font-weight: 600; letter-spacing: .02em; cursor: help; }

/* top bar */
.top { background: var(--navy); color: #F3F0EA; display: flex; align-items: center; gap: 1.5rem; padding: .6rem 1.25rem; flex-wrap: wrap; }
.top .brand { color: #F3F0EA; text-decoration: none; font-family: var(--head); font-size: 1.1rem; }
.top .brand span { color: var(--gold-soft); }
.top nav { display: flex; gap: .2rem; flex-wrap: wrap; flex: 1; }
.top nav a { color: #AEB6C1; text-decoration: none; padding: .35rem .7rem; border-radius: 4px; }
.top nav a:hover { color: #F3F0EA; background: rgba(255,255,255,.06); }
.top nav a.on { color: #F3F0EA; box-shadow: inset 0 -2px 0 var(--gold-soft); }
.logout { display: flex; gap: .6rem; align-items: center; font-size: .85rem; color: #AEB6C1; margin: 0; }
.logout .link { color: var(--gold-soft); }

main { max-width: 1280px; margin: 0 auto; padding: 1.25rem; }
main.narrow { max-width: 460px; padding-top: 8vh; }
.page-gantt main { max-width: none; }
.foot { text-align: center; color: var(--muted); font-size: .78rem; padding: 2rem 1rem; }

.head { margin-bottom: 1rem; }
.head p { margin: .2rem 0; }
.crumbs { margin: 0 0 .3rem; font-size: .85rem; color: var(--muted); }
.code { color: var(--gold-text); font-variant-numeric: tabular-nums; }
h1 .code { font-size: .8em; margin-right: .2rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 1rem; }
.notice { background: #FBF7EE; border: 1px solid var(--gold-soft); border-radius: 6px; padding: .6rem 1rem; }

.flash { padding: .55rem .9rem; border-radius: 4px; background: var(--blue-soft); }
.flash.ok { background: var(--green-soft); }
.flash.erreur { background: var(--red-soft); color: var(--red); }

/* buttons and forms */
button, .btn { font: inherit; font-size: .88rem; border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  padding: .32rem .75rem; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { border-color: var(--gold); color: var(--text); }
button.primary { background: var(--navy); color: #F3F0EA; border-color: var(--navy); padding: .45rem 1rem; }
button.primary:hover { background: var(--navy-deep); color: #fff; }
button.link { border: 0; background: none; padding: 0; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-soft); }
button.link.red { color: var(--red); }
button.small { padding: .15rem .5rem; font-size: .8rem; }
input, select, textarea { font: inherit; font-size: .92rem; border: 1px solid var(--line-strong); border-radius: 4px; padding: .38rem .5rem;
  background: #fff; color: var(--text); max-width: 100%; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { width: 100%; }
.f { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .8rem; min-width: 0; }
.f.wide input, .f.wide textarea, .f.wide select { width: 100%; }
.f.check { flex-direction: row; align-items: center; gap: .4rem; align-self: end; }
.lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.row > .f { flex: 1 1 180px; }
fieldset.f { border: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.checks label { display: flex; align-items: center; gap: .25rem; font-size: .9rem; }
.login h1 { font-size: 1.4rem; }
.login h1 span { color: var(--gold-text); }
.login button.primary { width: 100%; margin-top: .3rem; }
.login input { width: 100%; }
form.inline { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin: 0; }
form.danger { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary h2 { display: inline; }
details > summary::after { content: " ▸"; color: var(--gold); }
details[open] > summary::after { content: " ▾"; }
details[open] > summary { margin-bottom: .8rem; }

/* status badges and bars */
.st { display: inline-block; font-size: .76rem; padding: .08rem .45rem; border-radius: 3px; white-space: nowrap; font-weight: 600; }
.st-a_lancer { background: var(--grey-soft); color: var(--muted); }
.st-en_cours { background: var(--blue-soft); color: var(--blue); }
.st-bloque { background: var(--orange-soft); color: var(--orange); }
.st-termine { background: var(--green-soft); color: var(--green); }
.st-abandonne { background: var(--grey-soft); color: var(--muted); text-decoration: line-through; }
.st-late { background: var(--red-soft); color: var(--red); }
.bar { display: inline-block; width: 70px; height: 6px; background: var(--grey-soft); border-radius: 3px; vertical-align: middle; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--gold); }
.diamond { color: var(--gold); }
.approx { color: var(--gold-text); font-weight: bold; cursor: help; }
.dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .45rem; vertical-align: middle; }

/* dashboard */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.tile { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 6px;
  padding: .7rem 1rem; text-decoration: none; color: var(--text); }
.tile b { display: block; font-family: var(--head); font-size: 2rem; font-weight: normal; line-height: 1.1; }
.tile span { color: var(--muted); font-size: .88rem; }
.tile.late { border-top-color: var(--red); } .tile.late b { color: var(--red); }
.tile.warn { border-top-color: var(--orange); }
.tile.ok { border-top-color: var(--green); }
ul.list { list-style: none; margin: 0; padding: 0; }
ul.list li { padding: .4rem 0; border-bottom: 1px solid var(--grey-soft); }
ul.list li:last-child { border-bottom: 0; }
ul.list a { text-decoration: none; }
ul.list a:hover { text-decoration: underline; }
ul.list .meta { display: block; font-size: .8rem; color: var(--muted); }
ul.list q { display: block; font-size: .85rem; color: var(--text); quotes: none; margin-top: .15rem; }
table.plain { width: 100%; border-collapse: collapse; }
table.plain th { text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  border-bottom: 1px solid var(--line); padding: .35rem .5rem; }
table.plain td { padding: .4rem .5rem; border-bottom: 1px solid var(--grey-soft); vertical-align: top; }
tr.off td { color: var(--muted); }

/* activity table */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.filters input[type=search] { min-width: 200px; }
.tablewrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
table.acts { width: 100%; border-collapse: collapse; min-width: 980px; }
table.acts thead th { position: sticky; top: 0; background: var(--card); text-align: left; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); padding: .55rem .5rem; border-bottom: 1px solid var(--line); font-weight: 600; z-index: 1; }
table.acts td { padding: .45rem .5rem; border-bottom: 1px solid var(--grey-soft); vertical-align: top; }
table.acts td.code { color: var(--gold-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.acts td.title a { text-decoration: none; }
table.acts td.title a:hover { text-decoration: underline; }
tr.axe-row th { text-align: left; background: var(--navy); color: #F3F0EA; font-family: var(--head); font-weight: normal; font-size: 1rem;
  padding: .5rem .6rem; border-left: 6px solid; }
tr.group-row td { background: #F1EEE6; font-weight: 600; }
tr.group-row td a { text-decoration: none; }
tr.group-row .add { font-weight: bold; color: var(--gold-text); margin-left: .3rem; }
tr.late td.code { box-shadow: inset 3px 0 0 var(--red); }
tr.termine td.title a, tr.abandonne td.title a { color: var(--muted); }

/* detail */
dl.facts { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem .8rem; margin: 0; }
dl.facts dt { color: var(--muted); font-size: .85rem; }
dl.facts dd { margin: 0; }
.desc { white-space: pre-line; border-top: 1px solid var(--grey-soft); padding-top: .8rem; }
.comment { border-bottom: 1px solid var(--grey-soft); padding: .5rem 0; }
.comment .meta { margin: 0; font-size: .8rem; color: var(--muted); }
.comment .body { margin: .2rem 0 0; white-space: pre-line; }
.comment-form { margin-top: .8rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.invite input.copy { width: min(640px, 100%); font-family: ui-monospace, Menlo, monospace; font-size: .82rem; }

/* gantt */
.gantt-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
.gantt-tools .check { display: flex; gap: .3rem; align-items: center; font-size: .9rem; }
.legend { display: inline-flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: center; margin-left: .5rem; }
.legend .lg { display: inline-block; width: 14px; height: 9px; border-radius: 2px; vertical-align: middle; margin-right: -.3rem; }
.lg.st-a_lancer { background: #A9AFB8; } .lg.st-en_cours { background: var(--blue); } .lg.st-bloque { background: var(--orange); }
.lg.st-late { background: var(--red); } .lg.st-termine { background: var(--green); } .lg.today { background: var(--gold); width: 2px; }
.gantt { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: auto; max-height: calc(100vh - 210px); }
.g-grid { position: relative; }
.g-labels { position: sticky; left: 0; z-index: 3; background: var(--card); border-right: 1px solid var(--line); }
.g-row { height: 30px; display: flex; align-items: center; border-bottom: 1px solid var(--grey-soft); }
.g-label { width: 340px; min-width: 340px; padding: 0 .5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .83rem;
  position: sticky; left: 0; z-index: 2; background: var(--card); height: 100%; display: flex; align-items: center; gap: .35rem;
  border-right: 1px solid var(--line); }
.g-label a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.g-label .c { color: var(--gold-text); font-variant-numeric: tabular-nums; min-width: 3.2rem; }
.g-label .i { margin-left: auto; color: var(--muted); font-size: .75rem; padding-left: .3rem; }
.g-row.grp .g-label { background: #F1EEE6; font-weight: 600; }
.g-row.grp { background: #FAF8F3; }
.g-row.axe .g-label { background: var(--navy); color: #F3F0EA; font-family: var(--head); font-size: .92rem; }
.g-row.axe { background: var(--navy); }
.g-row.axe .g-label a { color: #F3F0EA; }
.g-toggle { border: 0; background: none; padding: 0 .2rem; cursor: pointer; color: var(--gold-text); font-size: .8rem; width: 1rem; }
.g-head { position: sticky; top: 0; z-index: 4; background: var(--card); border-bottom: 1px solid var(--line); display: flex; }
.g-head .g-label { z-index: 5; height: 44px; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.g-scale { position: relative; height: 44px; }
.g-tick { position: absolute; top: 0; height: 100%; border-left: 1px solid var(--line); font-size: .72rem; color: var(--muted); padding: 2px 4px; white-space: nowrap; }
.g-tick.year { font-weight: 700; color: var(--navy); border-left-color: var(--line-strong); }
.g-tick .y { display: block; height: 18px; }
.g-tick .m { position: absolute; bottom: 4px; }
.g-area { position: relative; flex: none; height: 100%; }
.g-vline { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--grey-soft); pointer-events: none; }
.g-vline.year { border-left-color: var(--line); }
.g-today { position: absolute; top: 0; bottom: 0; border-left: 2px solid var(--gold); z-index: 1; pointer-events: none; }
.g-bar { position: absolute; top: 8px; height: 14px; border-radius: 3px; background: #A9AFB8; overflow: hidden; z-index: 1; }
.g-bar .p { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,255,255,.35); }
.g-bar.st-en_cours { background: var(--blue); } .g-bar.st-bloque { background: var(--orange); }
.g-bar.st-termine { background: var(--green); } .g-bar.st-abandonne { background: var(--grey-soft); }
.g-bar.late { background: var(--red); }
.g-bar.approx { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.28) 0 4px, transparent 4px 8px); }
.g-bar.grp { top: 11px; height: 8px; background: var(--navy); border-radius: 0; overflow: visible; }
.g-bar.grp::before, .g-bar.grp::after { content: ""; position: absolute; bottom: -4px; border: 4px solid transparent; border-top-color: var(--navy); }
.g-bar.grp::before { left: 0; border-left-color: var(--navy); } .g-bar.grp::after { right: 0; border-right-color: var(--navy); }
.g-bar.edit { cursor: grab; }
.g-bar.edit .h { position: absolute; right: 0; top: 0; bottom: 0; width: 7px; cursor: ew-resize; background: rgba(0,0,0,.18); }
.g-bar.drag { opacity: .75; cursor: grabbing; }
.g-ms { position: absolute; top: 8px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg); background: var(--gold); z-index: 2;
  border: 1px solid var(--gold-text); }
.g-ms.late { background: var(--red); border-color: var(--red); } .g-ms.st-termine { background: var(--green); border-color: var(--green); }
.g-ms.edit { cursor: grab; }
.g-tip { position: fixed; z-index: 20; background: var(--navy); color: #F3F0EA; font-size: .78rem; padding: .35rem .55rem; border-radius: 4px;
  pointer-events: none; max-width: 340px; }
svg.g-deps { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 1; overflow: visible; }
svg.g-deps path { fill: none; stroke: var(--gold-text); stroke-width: 1.2; opacity: .65; }

/* critical items, deliverables, focus (v1.1) */
.crit { display: inline-block; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; padding: .05rem .4rem;
  border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; white-space: nowrap; }
.tag-now { display: inline-block; background: var(--orange-soft); color: var(--orange); font-size: .72rem; font-weight: 600;
  padding: .05rem .4rem; border-radius: 3px; white-space: nowrap; }
.conflict { display: inline-block; background: var(--red-soft); color: var(--red); border: 1px solid var(--red); font-size: .72rem;
  font-weight: 600; padding: 0 .35rem; border-radius: 3px; white-space: nowrap; cursor: help; }
.deliv { font-weight: 600; }
.deliv .doc, .lg.deliv { display: inline-block; width: 9px; height: 11px; border: 1.5px solid var(--navy); border-radius: 1px;
  margin-right: .35rem; vertical-align: -1px; background: linear-gradient(var(--navy), var(--navy)) 1px 3px / 5px 1px no-repeat,
  linear-gradient(var(--navy), var(--navy)) 1px 6px / 5px 1px no-repeat, #fff; }
tr.focus-now td.code { box-shadow: inset 3px 0 0 var(--blue); }
tr.focus-next td.code { box-shadow: inset 3px 0 0 var(--gold); }
tr.late td.code { box-shadow: inset 3px 0 0 var(--red); }
.tile.now { border-top-color: var(--blue); } .tile.now b { color: var(--blue); }
.tile.next { border-top-color: var(--gold); }
h2 a.small { font-family: var(--body); font-size: .8rem; margin-left: .4rem; }
ol.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem; }
ol.milestones a { display: block; height: 100%; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 4px;
  padding: .5rem .7rem; text-decoration: none; color: var(--text); }
ol.milestones a:hover { border-color: var(--gold); border-left-color: var(--red); }
ol.milestones .when { font-weight: 700; }
ol.milestones .count { float: right; font-size: .76rem; color: var(--red); font-weight: 600; }
ol.milestones .what { display: block; margin: .25rem 0; font-size: .88rem; line-height: 1.3; }
ol.milestones .who { font-size: .78rem; color: var(--muted); }
ol.milestones li.late a { background: var(--red-soft); }

/* gantt v1.1 */
.legend { display: flex; flex-wrap: wrap; gap: .25rem .9rem; align-items: center; margin: .3rem 0; color: var(--muted); }
.legend .lg { display: inline-block; width: 16px; height: 9px; border-radius: 2px; vertical-align: middle; margin-right: .3rem; }
.lg.approx { background: #A9AFB8 repeating-linear-gradient(135deg, rgba(255,255,255,.45) 0 3px, transparent 3px 6px); }
.lg.ms { width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); border-radius: 0; }
.lg.ms.crit { background: var(--navy); border: 2px solid var(--red); width: 10px; height: 10px; }
.lg.band { background: rgba(140,122,91,.15); border-right: 1px dashed var(--gold); }
.lg.dep { height: 0; border-top: 1.5px solid #1F3A5A; border-radius: 0; }
.legend .lg.deliv { width: 9px; height: 11px; border-radius: 1px; }
.g-body { position: relative; }
.g-overlay { position: absolute; top: 0; z-index: 0; pointer-events: none; }
.g-nextband { position: absolute; top: 0; bottom: 0; background: rgba(140,122,91,.08); border-right: 1px dashed var(--gold-soft); }
.g-critline { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(180,35,24,.5); }
.g-head-crit { position: absolute; bottom: 3px; width: 9px; height: 9px; margin-left: -4.5px; transform: rotate(45deg); background: var(--red); cursor: help; }
.g-ms.crit { width: 18px; height: 18px; top: 6px; margin-left: -9px; background: var(--navy); border: 2px solid var(--red); box-shadow: 0 0 0 2px #fff; }
.g-ms.crit.st-termine { background: var(--green); }
.g-deliv { position: absolute; top: 9px; width: 10px; height: 12px; border: 1.5px solid var(--navy); border-radius: 1px; z-index: 2; cursor: help;
  background: linear-gradient(var(--navy), var(--navy)) 1px 3px / 6px 1px no-repeat, linear-gradient(var(--navy), var(--navy)) 1px 6px / 6px 1px no-repeat, #fff; }
.g-deliv.done { border-color: var(--green); }
.g-row.dim .g-label a, .g-row.dim .g-label .c, .g-row.dim .g-label .i { opacity: .45; }
.g-row.dim .g-bar, .g-row.dim .g-ms, .g-row.dim .g-deliv { opacity: .28; }
.g-bar.f-now { top: 6px; height: 18px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--navy); }
.g-bar.f-next { outline: 2px dashed var(--gold); outline-offset: 2px; }
.g-ms.f-next { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold); }
.g-row.row-now .g-label { font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); }
.g-row.row-next .g-label { box-shadow: inset 3px 0 0 var(--gold); }
.g-chip { flex: none; font-size: .66rem; font-weight: 600; padding: 0 .3rem; border-radius: 3px; white-space: nowrap; }
.g-chip.now { background: var(--blue-soft); color: var(--blue); }
.g-chip.next { background: #FBF4E6; color: var(--gold-text); }
.g-label a.crit-label { color: var(--red); font-weight: 700; }
svg.g-deps path { fill: none; stroke: #1F3A5A; stroke-width: 1.3; opacity: .85; }
svg.g-deps path.bad { stroke: var(--red); stroke-width: 1.7; opacity: 1; }

/* quick update and freshness (v1.2) */
.orange { color: var(--orange); font-weight: 600; }
.fresh { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.fresh.stale { color: var(--orange); font-weight: 600; }
button.express { font-size: .76rem; padding: .12rem .5rem; margin-top: .25rem; border-color: var(--gold); color: var(--gold-text); white-space: nowrap; }
button.express:hover { background: #FBF4E6; }
.todo { border-top: 3px solid var(--gold); }
.todo-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.todo-list li.stale { box-shadow: inset 3px 0 0 var(--orange); padding-left: .6rem; }
.todo-list li button.express { margin-top: 0; font-size: .85rem; padding: .3rem .8rem; }
h2.section-title { margin-top: 1.4rem; }
dialog.express-dialog { border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem 1.4rem; width: min(560px, calc(100vw - 2rem));
  box-shadow: 0 12px 40px rgba(11,31,51,.25); color: var(--text); }
dialog.express-dialog::backdrop { background: rgba(11,31,51,.45); }
dialog.express-dialog input[type=range] { width: 100%; accent-color: var(--gold); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* natures and summary (v1.3) */
nav.natures { display: flex; flex-wrap: wrap; gap: .35rem; margin: -.3rem 0 1rem; }
nav.natures a { font-size: .82rem; padding: .2rem .65rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none;
  color: var(--text); background: #fff; white-space: nowrap; }
nav.natures a span { color: var(--muted); margin-left: .15rem; }
nav.natures a.on { background: var(--navy); border-color: var(--navy); color: #F3F0EA; }
nav.natures a.on span { color: var(--gold-soft); }
.nature-line { color: var(--gold-text); }
.brief { border-left: 4px solid var(--gold); }
.brief h2 .nature, h2 .nature { font-family: var(--body); font-size: .74rem; font-weight: 600; color: var(--gold-text); background: #FBF4E6;
  padding: .1rem .5rem; border-radius: 3px; margin-left: .4rem; vertical-align: 2px; }
.brief dl.facts { grid-template-columns: 10rem 1fr; }

@media (max-width: 700px) {
  main { padding: .8rem; }
  .top { gap: .4rem .8rem; padding: .6rem .8rem; }
  .top .logout { margin-left: auto; }
  .top nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; }
  .top nav a { white-space: nowrap; }
  .g-label { width: 200px; min-width: 200px; }
  dl.facts { grid-template-columns: 7rem 1fr; }
}
@media print {
  @page { size: A3 landscape; margin: 10mm; }
  body { background: #fff; font-size: 11px; }
  .top, .foot, .gantt-tools, .filters, .btn, form, details:not([open]), #g-msg { display: none !important; }
  .card, .tablewrap { border: 0; }
  main { max-width: none; padding: 0; }
  .gantt { max-height: none; overflow: visible; border: 0; }
  .g-label, .g-labels, .g-head { position: static; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
