/* projects/jumeau/src/styles.css */
:root {
  --bg:#F5F7F1;
  --surface:#FFFFFF;
  --surface-2:#EEF2E9;
  --surface-3:#E4EADD;
  --ink:#1B261E;
  --muted:#5E6B60;
  --faint:#8A968B;
  --line:#E0E6DA;
  --line-strong:#C6D0C0;
  --accent:#2F6B45;
  --accent-hover:#275A3A;
  --accent-ink:#FFFFFF;
  --accent-soft:#E4EFE0;
  --par:#FFD600;
  --water:#2F6F8F;
  --water-soft:#E1EDF3;
  --sun:#B07A1C;
  --sun-soft:#F8EFD9;
  --soil:#8A6443;
  --ok:#2F6B45;
  --ok-bg:#E4EFE0;
  --warn:#96520F;
  --warn-bg:#FBEFDF;
  --crit:#A63A2D;
  --crit-bg:#FBE7E3;
  --info:#2F6F8F;
  --info-bg:#E1EDF3;
  --sim:#3F4FA8;
  --sim-soft:#E9ECFA;
  --sim-line:#C5CCF0;
  --adm:#7B4FB0;
  --adm-soft:#EEE6F8;
  --cable-hv:#C9A000;
  --cable-lv:#8B5A2B;
  --cable-data:#8E44AD;
  --c-tomate:#C4553B;
  --c-poivron:#CF8A2A;
  --c-aubergine:#6F4C91;
  --c-basilic:#3E8A4A;
  --c-batavia:#86A93A;
  --c-romaine:#5A8F52;
  --c-radis:#C24E78;
  --c-mache:#2E7C6E;
  --c-epinard:#3B6F3F;
  --c-engrais:#A5A06A;
  --c-engrais-bg:#EDEBDD;
  --c-fraise:#D0435A;
  --c-courgette:#6B9A2E;
  --sky:#D6E4EC;
  --grass:#E2EBD5;
  --grass-2:#D6E2C6;
  --film:#FBFDF8;
  --film-edge:#8FA08F;
  --path:#EDE6D6;
  --soilbed:#D9C7AE;
  --tree:#B9CBA4;
  --f-display:"Bitter",Georgia,"Times New Roman",serif;
  --f-body:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,"Cascadia Mono",Consolas,monospace;
  --r:10px;
  --top:60px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg:#111612;
    --surface:#181F1A;
    --surface-2:#1E261F;
    --surface-3:#253026;
    --ink:#E6ECE3;
    --muted:#9DAA9F;
    --faint:#77847A;
    --line:#29322B;
    --line-strong:#3A463C;
    --accent:#8CC59C;
    --accent-hover:#A6D5B3;
    --accent-ink:#0F2217;
    --accent-soft:#1D2E22;
    --water:#83BAD2;
    --water-soft:#1A2A32;
    --sun:#E0B25C;
    --sun-soft:#2E2718;
    --soil:#CDA27C;
    --ok:#8CC59C;
    --ok-bg:#1D2E22;
    --warn:#EBA868;
    --warn-bg:#2F2519;
    --crit:#F0917F;
    --crit-bg:#35201C;
    --info:#83BAD2;
    --info-bg:#1A2A32;
    --sim:#A4B0F2;
    --sim-soft:#1D2136;
    --sim-line:#3A4270;
    --adm:#C6A8EE;
    --adm-soft:#2C2238;
    --cable-hv:#F2D04B;
    --cable-lv:#C99A6B;
    --cable-data:#C59BE0;
    --c-tomate:#E27F66;
    --c-poivron:#E6A955;
    --c-aubergine:#A98BCB;
    --c-basilic:#7CC08A;
    --c-batavia:#B4D06A;
    --c-romaine:#8DBE84;
    --c-radis:#E683A8;
    --c-mache:#6BC0AF;
    --c-epinard:#7FB483;
    --c-engrais:#BDB887;
    --c-engrais-bg:#2A2A20;
    --c-fraise:#EC7C8E;
    --c-courgette:#A2CC62;
    --sky:#0E1720;
    --grass:#18221A;
    --grass-2:#1D2A1F;
    --film:#222B24;
    --film-edge:#6F8272;
    --path:#2A281F;
    --soilbed:#3E3428;
    --tree:#2F4331;
    color-scheme: dark;
  }
}
:root[data-theme=dark] {
  --bg:#111612;
  --surface:#181F1A;
  --surface-2:#1E261F;
  --surface-3:#253026;
  --ink:#E6ECE3;
  --muted:#9DAA9F;
  --faint:#77847A;
  --line:#29322B;
  --line-strong:#3A463C;
  --accent:#8CC59C;
  --accent-hover:#A6D5B3;
  --accent-ink:#0F2217;
  --accent-soft:#1D2E22;
  --water:#83BAD2;
  --water-soft:#1A2A32;
  --sun:#E0B25C;
  --sun-soft:#2E2718;
  --soil:#CDA27C;
  --ok:#8CC59C;
  --ok-bg:#1D2E22;
  --warn:#EBA868;
  --warn-bg:#2F2519;
  --crit:#F0917F;
  --crit-bg:#35201C;
  --info:#83BAD2;
  --info-bg:#1A2A32;
  --sim:#A4B0F2;
  --sim-soft:#1D2136;
  --sim-line:#3A4270;
  --adm:#C6A8EE;
  --adm-soft:#2C2238;
  --cable-hv:#F2D04B;
  --cable-lv:#C99A6B;
  --cable-data:#C59BE0;
  --c-tomate:#E27F66;
  --c-poivron:#E6A955;
  --c-aubergine:#A98BCB;
  --c-basilic:#7CC08A;
  --c-batavia:#B4D06A;
  --c-romaine:#8DBE84;
  --c-radis:#E683A8;
  --c-mache:#6BC0AF;
  --c-epinard:#7FB483;
  --c-engrais:#BDB887;
  --c-engrais-bg:#2A2A20;
  --c-fraise:#EC7C8E;
  --c-courgette:#A2CC62;
  --sky:#0E1720;
  --grass:#18221A;
  --grass-2:#1D2A1F;
  --film:#222B24;
  --film-edge:#6F8272;
  --path:#2A281F;
  --soilbed:#3E3428;
  --tree:#2F4331;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-wrap: balance;
}
p {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.mono {
  font-family: var(--f-mono);
  font-size: .92em;
  letter-spacing: -.01em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
svg text {
  font-family: var(--f-body);
}
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico.sm {
  width: 15px;
  height: 15px;
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  min-height: var(--top);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.gt-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--accent);
}
.gt-mark svg {
  width: 34px;
  height: 34px;
  display: block;
}
.gt-wm {
  font-family:
    Bitter,
    Georgia,
    serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.gt-wm b {
  font-weight: 500;
  color: var(--accent);
  margin-left: 3px;
}
@media (max-width: 980px) {
  .top .gt-tag {
    display: none;
  }
}
sup.tm {
  font-size: .42em;
  font-weight: 400;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  letter-spacing: 0;
}
.brand .farm {
  border-left: 1px solid var(--line);
  padding-left: 12px;
  min-width: 0;
  overflow: hidden;
}
.top .gt-wm {
  display: inline;
}
.top-in {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (min-width: 981px) {
  .top {
    display: grid;
    grid-template-columns: minmax(212px, auto) minmax(0, 1fr);
    gap: 0;
    padding-right: 0;
  }
  .top > .brand {
    max-width: min(720px, 55vw);
    padding-right: 16px;
  }
  #v-gestion > .vhead,
  #v-achat > .vhead {
    display: none;
  }
  #gestionBody .gs-hd .ph > h2 {
    display: none;
  }
  #gestionBody .gs-inl > #exDlg .ph > h2,
  #gestionBody .gs-inl > #exDlg .cad-in > p.small,
  #gestionBody .gs-inl > #exDlg #exSave,
  #gestionBody .gs-inl > #acctDlg .ph {
    display: none !important;
  }
  #gestionBody .gs-inl > #exDlg .ph {
    justify-content: flex-end;
  }
  #v-aide.on {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--top, 64px) - 24px);
  }
  .aide-fr {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
    border-radius: 12px;
    background: var(--surface);
  }
  #v-aide .aide-fr {
    border: 1px solid var(--line);
  }
  .aide-pan {
    padding: 0 !important;
    overflow: hidden;
  }
  .aide-pan .aide-fr {
    height: calc(100vh - 150px);
  }
  #cbAide .aide-fr {
    border-radius: 10px;
    border: 1px solid var(--line);
  }
  .ed-gone {
    display: none !important;
  }
  body.ed-on .top-in > #edBom,
  body.ed-on .top-in > #edExit {
    display: none !important;
  }
  .ed-stack {
    width: auto !important;
    top: 74px;
    right: 0 !important;
    align-items: center;
    gap: 2px;
    padding: 5px 4px !important;
    margin: 0 !important;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--line-strong);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, .14);
    overflow: visible !important;
    max-height: none !important;
  }
  .ed-stack > * {
    width: auto !important;
  }
  .ed-stack > .ed-cadbtn {
    width: 34px !important;
    height: 34px;
    min-height: 34px !important;
    padding: 0 !important;
    justify-content: center;
    font-size: 0;
    gap: 0;
    border: 0 !important;
    border-radius: 9px;
    background: none;
    color: var(--muted);
    box-shadow: none;
  }
  .ed-stack > .ed-cadbtn:hover:not(:disabled) {
    background: var(--accent-soft);
    color: var(--accent);
  }
  .ed-stack > .ed-cadbtn[aria-pressed=true] {
    background: var(--accent) !important;
    color: #fff !important;
  }
  #edExitI {
    color: var(--crit) !important;
  }
  #edExitI:hover {
    background: var(--crit-bg) !important;
    color: var(--crit) !important;
  }
  .ed-stack > .ed-cadbtn .chev {
    display: none;
  }
  .ed-stack > .ed-cadbtn svg {
    width: 16px;
    height: 16px;
    flex: none;
  }
  .ed-isep {
    display: block;
    width: 70%;
    height: 1px;
    background: var(--line-strong);
    margin: 3px auto;
  }
  .ed-stack > .ed-isep {
    min-height: 0 !important;
    height: 1px !important;
    width: 24px !important;
    flex: none;
  }
  #edCanvas .ed-stack {
    gap: 2px !important;
    top: 104px !important;
  }
  #edCanvas .ed-ctxbox {
    top: 104px;
  }
  #edCanvas .ed-stack > .ed-isep {
    margin: 4px auto !important;
  }
  .ed-ctxbox {
    position: absolute;
    top: 74px;
    right: 52px;
    z-index: 3;
    width: 170px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .ed-ctxbox [hidden] {
    display: none !important;
  }
  .ed-ctxbox .ed-seln {
    display: block;
    border: 1px solid var(--accent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    padding: 6px 6px 4px;
    font-weight: 500;
  }
  .ed-aff {
    position: absolute;
    left: 0;
    top: 84px;
    z-index: 6;
    display: flex;
    align-items: flex-start;
    max-height: calc(100% - 100px);
  }
  #edAff > #edNetGrp {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    width: 30px;
    box-sizing: border-box;
    padding: 14px 7px;
    line-height: 1.5;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border: 1px solid var(--line-strong);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, .16);
  }
  #edAff > #edNetGrp:hover {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  }
  #edAff > #edNetGrp svg {
    transform: rotate(90deg);
    color: var(--accent);
  }
  #edAff > #edNetGrp .chev {
    display: none;
  }
  #edAff > #edNetBox {
    width: 190px;
    margin: 0;
    border-left: 0;
    border-radius: 0 0 12px 0;
    max-height: calc(100vh - 260px);
    overflow: auto;
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  }
  #edNetBox .ed-zoom {
    display: flex;
  }
  #edNetBox .ed-zoom .ed-cadbtn {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  #edCanvas.ed-nolab #edSvg .ed-t,
  #edCanvas.ed-nolab #edSvg .ed-t2 {
    display: none;
  }
  #edCanvas.ed-nolab #edSvg [data-tabco] .ed-t,
  #edCanvas.ed-nolab #edSvg [data-tabco] .ed-t2 {
    display: inline;
  }
  .ex-per {
    display: grid;
    gap: 8px;
    padding: 6px 4px;
  }
  .ex-perr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  .ex-perr > b {
    min-width: 170px;
    font-size: 12.5px;
  }
  tr.mb-per td {
    background: var(--surface-2);
  }
  #userMenu #uAcct,
  #userMenu #uFarms,
  #userMenu #uHelp,
  #userMenu #uPw {
    display: none !important;
  }
  #gestionBody .gs-inl > dialog[open],
  #cbAide > dialog[open] {
    position: static !important;
    inset: auto !important;
    display: block;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: none !important;
    transform: none !important;
  }
  #gestionBody .gs-inl > dialog .cad-in {
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  #gestionBody .gs-inl #exClose,
  #gestionBody .gs-inl #helpClose,
  #cbAide #helpClose,
  #cbAide #helpT {
    display: none;
  }
  #gestionBody .gs-inl > #helpDlg .help-in {
    padding: 0;
    height: auto;
  }
  #gestionBody .gs-inl > #helpDlg .help-grid {
    height: 70vh;
  }
  .cb-mode {
    margin: 6px 12px 0;
    flex: none;
  }
  .cb-aide {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 12px 12px;
  }
  .cb-aide[hidden] {
    display: none;
  }
  #cbMode {
    flex-wrap: wrap;
    gap: 4px 0;
    align-items: center;
    overflow: visible;
  }
  #cbMode button {
    border: 0;
    border-radius: 0;
    background: none;
    padding: 2px 11px;
    white-space: nowrap;
    line-height: 18px;
  }
  #cbMode button:first-child {
    padding-left: 2px;
  }
  #cbMode button + button {
    border-left: 1px solid var(--line-strong);
  }
  #cbMode button:hover {
    color: var(--ink);
  }
  #cbMode button[aria-selected=true] {
    background: none;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
  .cb-mode button small {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--crit);
    margin-left: 2px;
  }
  .cb-mode button small:empty {
    display: none;
  }
  .ct-pane {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px 12px;
    overflow: hidden;
  }
  .ct-pane[hidden] {
    display: none;
  }
  .ct-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  .ct-chip {
    border: 1px solid var(--line-strong);
    background: var(--surface);
    border-radius: 999px;
    padding: 3px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
  }
  .ct-chip small {
    font-weight: 800;
    opacity: .8;
  }
  .ct-chip[aria-pressed=true] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  .ct-chip.ct-add {
    border-style: dashed;
    color: var(--accent);
  }
  .ct-chip.ct-add[aria-pressed=true] {
    color: #fff;
  }
  .ct-filt {
    font-size: 12.5px;
    background: var(--accent-soft);
    border-radius: 8px;
    padding: 5px 8px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
  }
  .ct-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 2px;
  }
  .ct-it {
    border: 1px solid var(--line);
    border-left: 4px solid var(--c,var(--muted));
    border-radius: 10px;
    background: var(--surface);
    padding: 8px 10px;
    display: grid;
    gap: 5px;
  }
  .ct-it.crit {
    --c:var(--crit);
  }
  .ct-it.warn {
    --c:var(--warn);
  }
  .ct-it.info {
    --c:var(--info);
  }
  .ct-it.tq {
    --c:var(--accent);
  }
  .ct-it.hl {
    box-shadow: 0 0 0 2px var(--accent);
  }
  .ct-top {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
  }
  .ct-top b {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
  }
  .ct-cat {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    white-space: nowrap;
  }
  .ct-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    font-size: 11.5px;
    color: var(--muted);
    align-items: center;
  }
  .ct-loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: var(--accent);
    cursor: pointer;
    text-align: left;
  }
  .ct-loc:hover {
    text-decoration: underline;
  }
  .ct-loc .ico {
    width: 13px;
    height: 13px;
    flex: none;
  }
  .ct-act {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  .ct-act button,
  .ct-act select {
    font: inherit;
    font-size: 12px;
    padding: 3px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    color: var(--ink);
  }
  .ct-act button:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .ct-act .ok {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 700;
  }
  .ct-st {
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 8px;
    background: var(--surface-2);
    white-space: nowrap;
  }
  .ct-st.ouvert {
    color: var(--crit);
  }
  .ct-st.test {
    color: var(--warn);
  }
  .ct-st.dev {
    color: var(--info);
  }
  .ct-st.livre,
  .ct-st.clos {
    color: var(--accent);
  }
  .ct-det {
    display: grid;
    gap: 8px;
    border-top: 1px dashed var(--line);
    padding-top: 8px;
  }
  .ct-desc {
    font-size: 12.5px;
    white-space: pre-wrap;
    line-height: 1.45;
  }
  .ct-lab {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
  }
  .ct-lab select {
    font: inherit;
    font-size: 12px;
    padding: 3px 6px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
  }
  .ct-msgs {
    display: grid;
    gap: 6px;
  }
  .ct-msg {
    background: var(--surface-2);
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12.5px;
    display: grid;
    gap: 3px;
  }
  .ct-msg small {
    color: var(--muted);
    font-size: 11px;
  }
  .ct-msg img {
    display: block;
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid var(--line);
    cursor: zoom-in;
  }
  .ct-rep {
    display: grid;
    gap: 6px;
  }
  .ct-rep .ct-act {
    justify-content: flex-end;
  }
  .ct-caps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ct-caps span {
    position: relative;
  }
  .ct-caps img {
    height: 54px;
    border-radius: 6px;
    border: 1px solid var(--line);
    display: block;
  }
  .ct-caps button {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 0;
    background: var(--crit);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }
  .ct-new {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background: var(--surface-2);
  }
  .ct-new label {
    display: grid;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
  }
  .ct-new input,
  .ct-new textarea,
  .ct-new select,
  .ct-rep textarea {
    font: inherit;
    font-size: 13px;
    padding: 6px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    resize: vertical;
  }
  .ct-new .ct-act {
    justify-content: flex-end;
  }
  .ct-empty {
    font-size: 12.5px;
    color: var(--muted);
    padding: 6px 2px;
  }
  .ct-tool {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--muted);
  }
  .ct-tool > span {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ct-lnk {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    white-space: nowrap;
  }
  .ct-lnk:hover,
  .ct-lnk[aria-pressed=true] {
    text-decoration: underline;
  }
  .ct-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    flex: none;
  }
  .ct-stats button {
    flex: 1 1 auto;
    border: 0;
    background: var(--surface);
    padding: 6px 6px 5px;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 1px;
    cursor: pointer;
    font: inherit;
    color: var(--muted);
    min-width: min-content;
  }
  .ct-stats button:first-child {
    border-left: 0;
  }
  .ct-stats button:hover {
    background: var(--surface-2);
  }
  .ct-stats b {
    font-size: 16px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--ink);
  }
  .ct-stats span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: keep-all;
    max-width: 13em;
  }
  .ct-stats [aria-selected=true] {
    background: var(--accent-soft);
    box-shadow: inset 0 -2px 0 var(--accent);
  }
  .ct-stats [aria-selected=true] span,
  .ct-stats [aria-selected=true] b {
    color: var(--accent);
  }
  .ct-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    min-width: 0;
  }
  .ct-sub select {
    font: inherit;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 3px 6px;
    background: var(--surface);
    color: var(--ink);
    max-width: 100%;
  }
  .ct-sub small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ct-filt {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--ink);
    background: none;
    padding: 0;
  }
  .ct-pane .ct-list {
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .ct-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    border-bottom: 1px solid var(--line);
  }
  .ct-row.hl {
    background: var(--accent-soft);
  }
  .ct-rh {
    grid-column: 1;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    column-gap: 9px;
    row-gap: 2px;
    text-align: left;
    border: 0;
    background: none;
    padding: 9px 2px;
    font: inherit;
    cursor: pointer;
    color: var(--ink);
    min-width: 0;
  }
  .ct-dot {
    grid-row: 1 / span 2;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 6px;
    background: var(--muted);
  }
  .ct-tx {
    font-size: 13px;
    line-height: 1.35;
  }
  .ct-rh small {
    grid-column: 2;
    font-size: 11px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ct-row.open .ct-tx {
    font-weight: 600;
  }
  .ct-row.open .ct-rh small {
    white-space: normal;
  }
  .ct-row.crit .ct-dot,
  .ct-row.tq.ouvert .ct-dot {
    background: var(--crit);
  }
  .ct-row.warn .ct-dot,
  .ct-row.tq.test .ct-dot {
    background: var(--warn);
  }
  .ct-row.info .ct-dot,
  .ct-row.tq.dev .ct-dot {
    background: var(--info);
  }
  .ct-row.tq.livre .ct-dot {
    background: var(--accent);
  }
  .ct-row.tq.clos .ct-dot {
    background: var(--line-strong);
  }
  .ct-ok {
    grid-column: 2;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 15px;
    line-height: 1;
    padding: 10px 6px;
    cursor: pointer;
  }
  .ct-ok:hover {
    color: var(--accent);
  }
  .ct-row > .ct-det {
    grid-column: 1 / -1;
    border-top: 0;
    padding: 0 2px 12px 19px;
    gap: 8px;
  }
  .ct-row .ct-act button,
  .ct-row .ct-act select {
    border-color: var(--line);
  }
  .ct-new {
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    background: none;
  }
  .ct-new input,
  .ct-new textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .ct-pane .ct-list {
    overflow-x: hidden;
  }
  .ct-row,
  .ct-row > .ct-det,
  .ct-rep,
  .ct-msgs {
    min-width: 0;
  }
  .ct-row .ct-act select {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 140px;
  }
  .ct-rep textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .ct-row .ct-meta {
    min-width: 0;
  }
  .ct-row .ct-meta .ct-lnk {
    white-space: normal;
    text-align: left;
  }
  .ct-ana {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--muted);
  }
  .cht-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
  }
  .cht-bar > b {
    flex: 1 1 120px;
    min-width: 0;
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cht-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    background: var(--surface-2);
    max-height: 46vh;
    overflow: auto;
  }
  .cht-list[hidden] {
    display: none;
  }
  .cht-q {
    font: inherit;
    font-size: 12.5px;
    padding: 6px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
  }
  .cht-g h5 {
    margin: 4px 2px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
  }
  .cht-it {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
  }
  .cht-it:hover,
  .cht-it.on {
    background: var(--surface);
  }
  .cht-it.on {
    box-shadow: inset 3px 0 0 var(--accent);
  }
  .cht-it > button:first-child {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 1px;
    text-align: left;
    border: 0;
    background: none;
    padding: 5px 8px;
    font: inherit;
    cursor: pointer;
    color: var(--ink);
  }
  .cht-it span {
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cht-it small {
    font-size: 10.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cht-x {
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
    padding: 0 8px;
    opacity: 0;
  }
  .cht-it:hover .cht-x {
    opacity: 1;
  }
  .cht-x:hover {
    color: var(--crit);
  }
  .gs-asst {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: calc(100vh - 150px);
    min-height: 460px;
    padding: 12px 14px;
    overflow: hidden;
  }
  .gs-asst > .cb-mode {
    margin: 0;
  }
  .gs-asst > .cb-aide,
  .gs-asst > .ct-pane {
    padding: 0;
  }
  .gs-asst > #cbBody {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-auto-rows: min-content;
    column-gap: 18px;
    row-gap: 10px;
    padding: 0;
    overflow: hidden;
    align-content: start;
  }
  .gs-asst > #cbBody > * {
    grid-column: 2;
  }
  .gs-asst > #cbBody > .msgs {
    overflow: auto;
    max-height: calc(100vh - 380px);
    min-height: 200px;
  }
  .gs-asst #chtList {
    grid-column: 1;
    grid-row: 1 / span 8;
    max-height: none;
    height: calc(100vh - 210px);
    align-self: stretch;
  }
  .gs-asst > .ct-pane .ct-list {
    max-width: 900px;
  }
  .ct-zoom {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .72);
    display: grid;
    place-items: center;
    padding: 24px;
    cursor: zoom-out;
  }
  .ct-zoom img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  }
  #cbAide > #helpDlg[open] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
  }
  #cbAide #helpDlg .help-in {
    padding: 0;
    height: auto;
    flex: 1;
    min-height: 0;
  }
  #cbAide #helpDlg .ph {
    display: none;
  }
  #cbAide #helpDlg .help-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
  }
  #cbAide #helpNav {
    display: block;
    max-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 6px;
  }
  #gsCompte > #acctDlg[open] {
    position: static;
    inset: auto;
    display: block;
    margin: 0;
    width: auto;
    max-width: none;
    max-height: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: none;
    transform: none;
  }
  #gsCompte > #acctDlg .cad-in {
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  #timeline .tl-years {
    padding-top: 8px;
  }
  #timeline .tl-years .yrs.tk {
    height: 22px;
  }
  #timeline .tl-head .months.tk {
    height: 24px;
  }
  #timeline .tl-years > div:first-child,
  #timeline .tl-head > div:first-child {
    padding-left: 10px;
    display: flex;
    align-items: flex-end;
  }
  #timeline .cal-uh {
    font-size: 12px;
    color: var(--ink);
  }
  #timeline small.cal-uh {
    font-size: 11px;
    color: var(--muted);
    padding-bottom: 4px;
  }
  .gt-wmw {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
  }
  .gt-tag {
    display: none;
  }
  .top .gt-tag {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--muted);
    white-space: nowrap;
  }
  .top-in > #topTtl {
    order: 2;
    text-align: right;
    margin-left: 12px;
  }
  .top-in > .top-sep-r,
  .top-in > .top-when,
  .top-in > .top-act {
    order: 3;
  }
  .top-in:has(> #topTtl:not([hidden])) > .top-sep:not(.top-sep-r) {
    display: none;
  }
  .top > .brand .farm {
    border-left: 1.5px solid var(--line-strong);
    padding-left: 14px;
    margin-left: 4px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 1 auto;
  }
  .top > .brand .farm b,
  .top > .brand .farm span {
    overflow: visible;
    text-overflow: clip;
  }
  body.ed-on .top > .brand .farm {
    display: none;
  }
  .brand .farm {
    border-left: 1px solid var(--line);
    padding-left: 12px;
  }
  .top-in {
    width: 100%;
    padding-left: 24px;
    padding-right: 12px;
    box-sizing: border-box;
    flex-wrap: nowrap;
  }
  .top::before {
    content: "";
    position: absolute;
    left: 227px;
    top: 0;
    bottom: -1px;
    width: 1px;
    background: var(--line);
    pointer-events: none;
  }
}
.brand .farm b {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand .farm span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-act {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tbtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.tbtn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tbtn svg {
  width: 20px;
  height: 20px;
}
.lang-w {
  position: relative;
}
.tbtn.lg .flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14);
}
.tbtn.lg[aria-expanded=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.lmenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lmenu[hidden] {
  display: none;
}
.lmenu button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
.lmenu button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.lmenu .flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14);
  flex: none;
}
.lmenu small {
  display: block;
  max-width: 190px;
  padding: 6px 8px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--faint);
}
.tbtn.av[aria-expanded=true] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.umenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: 260px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.umenu[hidden] {
  display: none;
}
.umenu > b {
  font-size: 14px;
}
.umenu label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.umenu select {
  font: inherit;
  font-size: 13px;
  padding: 5px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.umenu button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.umenu button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.umenu small {
  color: var(--faint);
  font-weight: 500;
}
.umenu button > span {
  min-width: 0;
}
.umenu button small {
  display: block;
  font-size: 11.5px;
  line-height: 1.3;
  margin-top: 1px;
}
.umenu button .ico {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.umenu .u-sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2px 0;
  width: 100%;
}
.umenu .u-out .ico {
  color: var(--muted);
}
.umenu .u-out:not(:disabled):hover {
  border-color: var(--crit);
  color: var(--crit);
}
.umenu .u-out:not(:disabled):hover .ico {
  color: var(--crit);
}
.umenu button:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.umenu button:disabled:hover {
  border-color: var(--line);
  color: var(--ink);
}
.top .clock {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.top .clock b {
  color: var(--ink);
  font-weight: 600;
}
.spacer {
  flex: 1;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}
.btn.ghost {
  border-color: transparent;
  background: none;
  padding-inline: 8px;
  color: var(--muted);
}
.btn.ghost:hover {
  color: var(--accent);
}
.btn.simb {
  background: var(--sim);
  border-color: var(--sim);
  color: #fff;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: calc(100% - var(--top));
}
body .shell,
body.nav-min .shell {
  grid-template-columns: minmax(0, 1fr) !important;
}
.shell > aside.side {
  display: none !important;
}
.top::before {
  display: none !important;
}
.side {
  position: sticky;
  top: calc(var(--top) + env(safe-area-inset-top, 0px));
  align-self: start;
  height: calc(100vh - var(--top));
  overflow: auto;
  border-right: 1px solid var(--line);
  padding: 14px 10px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
.nav button:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.nav button[aria-current=page] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.nav button .count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--crit-bg);
  color: var(--crit);
}
.nav button .count.w {
  background: var(--warn-bg);
  color: var(--warn);
}
.nav .sep {
  height: 1px;
  background: var(--line);
  margin: 8px 10px;
}
.loop[hidden] {
  display: none;
}
.loop {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 14px 6px 0;
}
.loop h4 {
  font-family: var(--f-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--faint);
  font-weight: 700;
  margin-bottom: 8px;
}
.loop h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-all {
  border: 0;
  background: none;
  padding: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.lp-nav {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 2px 0;
  margin: 2px 0;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.lp-nav:hover:not(:disabled) {
  color: var(--accent);
}
.lp-nav:disabled {
  opacity: .35;
  cursor: default;
}
.lp-back {
  color: var(--accent);
}
.lp {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  display: grid;
  gap: 3px;
  position: relative;
}
.lp::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--line-strong);
}
.lp li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px;
  align-items: start;
  font-size: 11.5px;
  line-height: 1.25;
}
.lp li.lp-day {
  display: block;
  margin: 6px 0 1px -14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}
.lp li.lp-ev {
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 3px;
}
.lp li.lp-ev:hover {
  background: var(--surface-2);
}
.lp li.lp-ev::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-sizing: border-box;
}
.lp li.past::before {
  background: var(--accent);
}
.lp li.fut::before {
  background: var(--surface);
  border: 2px solid var(--accent);
}
.lp li.off::before {
  background: var(--crit);
}
.lp li.past {
  color: var(--muted);
}
.lp li.fut {
  color: var(--ink);
}
.lp .tm {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--faint);
  padding-top: 1px;
}
.lp .tx small {
  display: block;
  font-size: 10.5px;
  color: var(--faint);
}
.lp li.lp-now {
  margin: 6px 0 0 -14px;
  padding: 5px 6px 5px 14px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  grid-template-columns: 34px 1fr;
}
.lp li.lp-now::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-ink) 35%, transparent);
  animation: lpbeat 1.6s ease-in-out infinite;
}
.lp li.lp-now .tm {
  color: var(--accent-ink);
  font-weight: 700;
}
.lp li.lp-last {
  display: block;
  margin: 0 0 6px -14px;
  padding: 4px 6px 5px 14px;
  border-radius: 0 0 7px 7px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  font-size: 10.5px;
  color: var(--ink);
  line-height: 1.35;
}
@keyframes lpbeat {
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-ink) 0%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp li.lp-now::before {
    animation: none;
  }
}
.lp-dlg {
  width: min(640px, calc(100vw - 32px));
}
.cad-dlg.ex-dlg {
  width: min(880px, calc(100vw - 32px));
}
.ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.ex-dlg .cad-in {
  max-height: calc(100vh - 60px);
  overflow: auto;
}
.ex-save {
  display: flex;
  gap: 8px;
  align-items: end;
  margin: 6px 0 4px;
}
.ex-save label {
  flex: 1;
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.ex-save input {
  font: inherit;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.ex-h {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
  margin: 14px 0 8px;
}
.ex-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ex-del {
  padding: 2px 8px;
  font-size: 12px;
}
.ex-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ro {
  display: block;
  padding: 7px 0;
  font-weight: 600;
}
.ex-adr {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink);
}
.ex-adr .ico {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}
.ex-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.mvp-grid .gs-menu .mvp-n {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 1px 8px;
}
.mvp-grid .gs-menu button[aria-current=page] .mvp-n {
  background: var(--surface);
  color: var(--accent);
}
.mvp-docs {
  display: grid;
  gap: 6px;
}
.mvp-grp {
  display: grid;
  gap: 6px;
  margin: 6px 0 0 16px;
  padding-left: 10px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.mvp-grp:first-child {
  margin-top: 0;
}
.mvp-gh {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mvp-gh small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}
.mvp-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding-right: 12px;
}
.mvp-doc:hover {
  border-color: var(--accent);
}
.mvp-open {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  text-align: left;
  padding: 9px 10px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.mvp-open .ico {
  color: var(--muted);
  flex: none;
}
.mvp-tx {
  min-width: 0;
  flex: 1;
}
.mvp-tx b {
  display: block;
  font-weight: 600;
}
.mvp-tx small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.mvp-t {
  flex: none;
  min-width: 46px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
}
.mvp-t.mvp-md {
  background: var(--accent-soft);
  color: var(--accent);
}
.mvp-t.mvp-lien {
  background: #E7EEF6;
  color: #2C5A86;
}
.mvp-t.mvp-csv {
  background: #F5EEDC;
  color: #8A6417;
}
.mvp-plus {
  display: inline-block;
  margin-top: 8px;
}
.mvp-meta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1px;
  font-size: 12px;
  line-height: 1.35;
}
.mvp-meta b {
  font-weight: 600;
}
.mvp-meta small {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}
.mvp-encart {
  max-width: 640px;
  margin: 0 0 14px;
}
.mvp-encart td {
  white-space: nowrap;
}
.mvp-form {
  margin-top: 10px;
}
.mvp-g {
  flex: none;
  border: 0;
  background: none;
  padding: 4px 4px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 6px;
}
.mvp-g:hover {
  background: var(--surface-2);
}
.pill.mvp-obs {
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: line-through;
}
.mvp-st-obsolete .mvp-tx b {
  color: var(--muted);
}
.mvp-act {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
}
.mvp-act > .btn {
  flex: none;
}
.mvp-tx small.mvp-acst {
  color: var(--accent);
  margin-top: 2px;
}
.mvp-tx small.mvp-acst:empty {
  display: none;
}
.tk-dlg.mvp-dlg {
  width: min(660px, calc(100vw - 32px));
}
.mvp-dlg .tk-in {
  padding: 16px 18px;
}
.mvp-hh {
  margin: 16px 0 6px;
  font-size: 14px;
}
.mvp-hist {
  display: grid;
  max-height: min(46vh, 420px);
  overflow: auto;
  border-top: 1px solid var(--line);
}
.mvp-hl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 7px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mvp-hd {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.mvp-hq small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.mvp-vban {
  margin: 0 0 12px;
}
.mvp-lecteur {
  max-width: 900px;
  line-height: 1.6;
  font-size: 14.5px;
}
.mvp-lecteur h2,
.mvp-lecteur h3,
.mvp-lecteur h4,
.mvp-lecteur h5,
.mvp-lecteur h6 {
  font-family: var(--f-display);
  margin: 22px 0 8px;
  line-height: 1.3;
}
.mvp-lecteur h2 {
  font-size: 21px;
}
.mvp-lecteur h3 {
  font-size: 18px;
}
.mvp-lecteur h4 {
  font-size: 16px;
}
.mvp-lecteur p {
  margin: 8px 0;
}
.mvp-lecteur ul,
.mvp-lecteur ol {
  margin: 6px 0 10px;
  padding-left: 22px;
}
.mvp-lecteur li.mvp-sub {
  margin-left: 18px;
}
.mvp-lecteur code {
  background: var(--surface-2);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: .92em;
}
.mvp-lecteur pre {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 10px 12px;
  overflow: auto;
  font-size: 12.5px;
  line-height: 1.45;
}
.mvp-lecteur pre code {
  background: none;
  padding: 0;
}
.mvp-lecteur blockquote {
  margin: 10px 0;
  padding: 4px 14px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.mvp-lecteur hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
.mvp-lecteur a {
  color: var(--accent);
}
.mvp-tab {
  overflow-x: auto;
  margin: 10px 0;
}
.mvp-tab table {
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 100%;
}
.mvp-tab th,
.mvp-tab td {
  border: 1px solid var(--line);
  padding: 4px 8px;
  vertical-align: top;
  text-align: left;
}
.mvp-tab th {
  background: var(--surface-2);
  font-weight: 700;
}
.mvp-pli {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.mvp-pli:hover {
  color: var(--accent);
}
.mvp-pli:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.mvp-chev {
  flex: none;
  width: 1em;
  color: var(--muted);
}
.gs-sec.mvp-plie > h3 {
  margin-bottom: 0;
}
.ex-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}
.ex-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 5px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.ex-tabs button:hover {
  color: var(--ink);
}
.ex-tabs button[aria-selected=true] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.ex-tabs .ico {
  width: 15px;
  height: 15px;
}
.ex-map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  height: 60vh;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.ex-map.drag {
  cursor: grabbing;
}
.ex-mv {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 11px;
}
.ex-mv img {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
}
.ex-pin[hidden] {
  display: none;
}
.ex-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ex-pin > span:first-child {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.ex-pin::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--muted);
  border: 2px solid #fff;
  margin-top: 3px;
}
.ex-pin.mine::after {
  background: var(--accent);
}
.ex-pin:hover > span:first-child {
  border-color: var(--accent);
  color: var(--accent);
}
.ex-pin:hover,
.ex-pin:focus-visible {
  z-index: 5;
}
.ex-pv {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  text-align: left;
  cursor: pointer;
}
.ex-pv::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 14px;
}
.ex-pin.dn .ex-pv::before {
  top: auto;
  bottom: 100%;
}
.ex-pv:hover {
  border-color: var(--accent);
}
.ex-pin:hover .ex-pv,
.ex-pin:focus-visible .ex-pv {
  display: grid;
}
.ex-pin.dn .ex-pv {
  bottom: auto;
  top: calc(100% + 4px);
}
.ex-pin.lt .ex-pv {
  left: -10px;
  transform: none;
}
.ex-pin.rt .ex-pv {
  left: auto;
  right: -10px;
  transform: none;
}
.ex-pv .ex-th {
  height: 110px;
}
.ex-pv b {
  font-size: 13px;
}
.ex-pv small {
  font-size: 11.5px;
  color: var(--muted);
}
.ex-pv .ex-st {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.ex-pv .ex-st i {
  font-style: normal;
  font-size: 11px;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 1px 6px;
}
.ex-card {
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px;
  cursor: pointer;
  font: inherit;
}
.ex-card:hover,
.ex-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.ex-card b {
  font-size: 15px;
}
.ex-th {
  display: block;
  height: 150px;
  background: var(--grass);
  border-radius: 8px;
  overflow: hidden;
}
.ex-th svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ex-st {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ex-st i {
  font-style: normal;
  font-size: 11.5px;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 2px 8px;
}
.lp-page {
  max-height: calc(100vh - 290px);
}
.plc-card .ph {
  flex-wrap: wrap;
  gap: 6px;
}
.wir {
  display: block;
  width: 100%;
  height: auto;
  min-width: 820px;
}
.wir .w {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-linecap: butt;
}
.wir .w.pump {
  stroke: var(--water);
}
.wir .plc {
  fill: var(--ink);
  stroke: none;
}
.wir text {
  font-size: 12px;
  fill: var(--ink);
}
.wir .t {
  font-weight: 700;
}
.wir .s {
  fill: var(--muted);
  font-size: 11px;
}
.wir .plc ~ text.s {
  fill: var(--muted);
}
.wir .adr {
  font-family: var(--f-mono);
  font-size: 11px;
  fill: var(--surface);
}
.plc-z {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12.5px;
}
.plc-z th,
.plc-z td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.plc-z th.num,
.plc-z td.num {
  text-align: right;
}
.plc-gen {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.lp-log {
  max-height: 60vh;
  overflow: auto;
  padding-right: 4px;
}
.lp-log li {
  font-size: 13px;
  grid-template-columns: 48px 1fr;
}
.lp-log .tm {
  font-size: 12px;
}
.lp-log .tx small {
  font-size: 11.5px;
}
.lp-k {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.loop .edge {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  line-height: 1.4;
}
.loop .edge b {
  color: var(--ink);
}
main {
  min-width: 0;
  padding: 22px 28px 80px;
  padding-inline: max(16px, 28px);
}
@media (min-width: 981px) {
  main {
    padding-left: 24px;
    padding-right: 12px;
  }
}
.view {
  display: none;
}
.view.on {
  display: block;
  animation: vin .25s ease-out;
}
@keyframes vin {
  from {
    opacity: .4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .view.on {
    animation: none;
  }
}
.vhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.vhead h1 {
  font-size: 26px;
}
.vhead p {
  color: var(--muted);
  max-width: 70ch;
  margin-top: 4px;
}
@media (min-width: 901px) {
  .vhead > div > .eyebrow,
  .vhead > div > h1 {
    display: none;
  }
  .vhead > div > p {
    margin-top: 0;
  }
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
@media (max-width: 980px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    position: sticky;
    top: calc(var(--top) + env(safe-area-inset-top, 0px));
    z-index: 25;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 6px 16px;
    background: var(--bg);
  }
  .nav {
    flex-direction: row;
  }
  .nav button {
    white-space: nowrap;
    padding: 7px 10px;
  }
  .nav .sep,
  .loop {
    display: none;
  }
  main {
    padding: 18px 16px 80px;
  }
  .top .clock {
    display: none;
  }
}
@media (max-width: 640px) {
  .brand .farm span {
    display: none;
  }
  .top {
    gap: 10px;
  }
}
.banner {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
}
body.sim .banner.b-sim {
  display: flex;
  background: var(--sim);
  color: #fff;
}
body.offline .banner.b-off {
  display: flex;
  background: var(--crit-bg);
  color: var(--crit);
  border-bottom: 1px solid color-mix(in srgb, var(--crit) 30%, transparent);
}
body.sim main {
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 14px,
      color-mix(in srgb, var(--sim) 5%, transparent) 14px 15px);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.panel > h2,
.ph {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ph h2 {
  font-size: 16px;
}
.ph .muted {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 400;
}
.grid {
  display: grid;
  gap: 16px;
}
.g-today {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1181px) {
  #v-today .g-today {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    transition: grid-template-columns .35s cubic-bezier(.2, .8, .2, 1), column-gap .35s cubic-bezier(.2, .8, .2, 1);
  }
  #v-today .g-today > .stack:last-child > *:not(#tnPanel) {
    transition: opacity .25s ease;
  }
  #v-today .g-today.td-full {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0fr);
    column-gap: 0;
  }
  #v-today .g-today.td-full > .stack:last-child {
    padding-right: 0;
    overflow: hidden;
  }
  #v-today .g-today.td-full > .stack:last-child > *:not(#tnPanel) {
    opacity: 0;
    pointer-events: none;
  }
}
.td-pane[hidden],
#tdSide[hidden] {
  display: none;
}
.td-pane-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.td-pane-h b {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
}
.view.embed {
  display: block;
  animation: none;
}
.view.embed .vhead > div > .eyebrow,
.view.embed .vhead > div > h1,
.view.embed .vhead > div > p {
  display: none;
}
.view.embed .vhead {
  margin-bottom: 10px;
}
.view.embed #cropLife {
  display: none;
}
.cad-dlg.crop-dlg {
  width: min(820px, 94vw);
  max-width: none;
}
.crop-dlg .cad-in {
  max-height: 86vh;
  overflow: auto;
}
.crop-dlg #cropLife {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: none;
}
.view.embed .grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
.view.embed .panel:has(> .minimap) {
  display: none;
}
.nav-tog {
  align-self: flex-end;
  flex: none;
  width: 30px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin-bottom: -10px;
}
.nav-tog:hover {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 980px) {
  .nav-tog {
    display: none;
  }
}
@media (min-width: 981px) {
  body.nav-min .shell {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  body.nav-min .side {
    padding: 14px 8px 20px;
  }
  body.nav-min .nav-tog {
    align-self: center;
  }
  body.nav-min .nav button {
    font-size: 0;
    gap: 0;
    justify-content: center;
    padding: 9px 0;
  }
  body.nav-min .nav button .count,
  body.nav-min .loop {
    display: none;
  }
  body.nav-min .nav .sep {
    margin: 8px 4px;
  }
  body.nav-min .top::before {
    display: none;
  }
}
@media (min-width: 901px) {
  #v-today .vhead {
    display: none;
  }
}
.panel.td-map {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
@media (min-width: 1181px) {
  .g-today > .stack:first-child {
    align-self: stretch;
  }
  .panel.td-map {
    position: sticky;
    top: calc(var(--top, 60px) + 12px);
    height: calc(100vh - var(--top, 60px) - 36px);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .td-map .minimap {
    flex: 1 1 auto;
    min-height: 0;
  }
  .td-map .minimap svg.map {
    width: 100%;
    height: 100%;
    display: block;
  }
  .td-map .td-time {
    margin-top: 0;
    flex: none;
  }
  #v-today .g-today {
    height: calc(100vh - var(--top, 60px) - 46px);
    align-items: stretch;
  }
  #main:has(#v-today.on) {
    padding-bottom: 10px;
  }
  .shell:has(#v-today.on) {
    min-height: 0;
  }
  html:has(#v-today.on) {
    overflow: hidden;
  }
  #v-today .g-today > .stack:first-child {
    display: flex;
    flex-direction: column;
  }
  #v-today .g-today > .stack:first-child > .td-map {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }
  #v-today .g-today > .stack {
    min-height: 0;
  }
  #v-today .panel.td-map {
    position: relative;
    top: auto;
    height: 100%;
  }
  #v-today .g-today > .stack:last-child > * {
    flex: none;
  }
  #v-today .g-today > .stack:last-child {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-right: 4px;
  }
}
.td-time {
  margin-top: 8px;
  padding: 8px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.td-time[hidden] {
  display: none;
}
.td-map .td-time {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  margin: 0;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}
.tt-edge {
  position: absolute;
  bottom: 1px;
  width: 16px;
  height: 18px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
.tt-edge:hover {
  color: var(--accent);
}
.tt-edge.l {
  left: -12px;
}
.tt-edge.r {
  right: -12px;
}
.td-time .tt-r {
  margin: 0 8px;
}
.td-time .tt-r input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  background: none;
  margin: 4px 0 2px;
  cursor: grab;
}
.td-time .tt-r input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
}
.td-time .tt-r input[type=range]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
}
.td-time .tt-r input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
  margin-top: -6px;
}
.td-time .tt-r input[type=range]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
}
.td-time .tt-r.auj input[type=range]::-webkit-slider-thumb {
  background: var(--crit);
  box-shadow: 0 0 0 1px var(--crit);
}
.td-time .tt-r.auj input[type=range]::-moz-range-thumb {
  background: var(--crit);
  box-shadow: 0 0 0 1px var(--crit);
}
.tt-pt {
  position: absolute;
  bottom: 2px;
  line-height: 16px;
  white-space: nowrap;
  pointer-events: none;
  font-size: 11.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0 7px;
}
.tt-r.auj .tt-pt {
  color: var(--crit);
  background: color-mix(in srgb, var(--crit) 12%, var(--surface));
}
.tt-pt b {
  font-weight: 700;
}
.tt-dl {
  position: absolute;
  bottom: 2px;
  white-space: nowrap;
  pointer-events: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0 7px;
  line-height: 16px;
}
.tt-dl:empty {
  display: none;
}
.tt-h .tt-today {
  font-size: 12.5px;
  margin-left: 10px;
  color: var(--ink);
  white-space: nowrap;
}
.tt-h .tt-today.auj {
  color: var(--crit);
}
.tt-h .tt-lbl {
  margin-right: 0;
  flex: 0 1 auto;
}
.tt-h .tt-ctl {
  margin-left: 10px;
}
.tt-r input[type=range] {
  cursor: grab;
}
.tt-r input[type=range]:active {
  cursor: grabbing;
}
.tt-h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tt-h b {
  font-size: 13px;
  min-width: 15em;
  text-align: center;
}
.tt-h button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  padding: 2px 8px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.tt-h button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.tt-h button:disabled {
  opacity: .45;
  cursor: default;
}
.td-time .tt-h {
  flex-wrap: nowrap;
}
.tt-h .small {
  margin-left: 0;
}
.tt-h .tt-lbl {
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tt-ctl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.tt-ctl b {
  min-width: 13em;
  text-align: right;
  color: var(--accent);
}
.tt-ctl b.auj {
  color: var(--crit);
}
.tt-h .tt-tod:disabled {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--faint);
}
.tt-h .tt-tod {
  margin-right: 4px;
}
.tt-h .tt-tod:not(:disabled) {
  background: var(--crit);
  border-color: var(--crit);
  color: #fff;
}
.tt-h .tt-tod:not(:disabled):hover {
  filter: brightness(.92);
  color: #fff;
}
.tt-r {
  position: relative;
  padding: 0 7px;
}
.td-time .tt-m {
  margin-top: -4px;
}
.tt-tl {
  position: absolute;
  top: 1px;
  margin-left: -2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  color: var(--crit);
  white-space: nowrap;
  pointer-events: none;
}
.tt-tl.r {
  margin-left: 0;
  transform: translateX(calc(-100% + 2px));
}
.td-time .tt-tl:not(.tt-pl) {
  margin-left: -2px;
  transform: translateX(-50%);
  top: 1px;
  padding: 0 3px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  z-index: 3;
}
.td-time .tt-tod0:not(.tt-prev)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  height: calc(31px + var(--jh, 0px));
  border-left: 1.5px dotted var(--crit);
  transform: translateX(-50%);
  pointer-events: none;
}
.tt-tod0 {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 16px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--crit);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--crit);
  pointer-events: none;
  z-index: 2;
}
.tt-r input[type=range] {
  position: relative;
  z-index: 1;
}
.tt-r .tt-pt,
.tt-r .tt-dl {
  z-index: 4;
}
.tt-tod0.tt-prev {
  background: #f08c00;
  box-shadow: 0 0 0 1px #f08c00;
  z-index: 3;
}
.tt-tl.tt-pl {
  color: #e8590c;
}
#timeline .today-line.prev-line {
  border-left-color: #f08c00;
  z-index: 5;
}
#timeline .today-line.prev-line::before {
  color: #e8590c;
}
.cu-chain .ch[data-pd] {
  cursor: pointer;
  border-radius: 8px;
}
.cu-chain .ch[data-pd]:hover .dt {
  color: #e8590c;
  text-decoration: underline dotted;
}
.cu-chain .ch.on .dt {
  color: #e8590c;
  font-weight: 800;
}
.tt-r.tt-near input[type=range]::-webkit-slider-thumb {
  opacity: 0;
}
.tt-r.tt-near input[type=range]::-moz-range-thumb {
  opacity: 0;
}
.tt-r.tt-near .tt-pt,
.tt-r.tt-near .tt-dl {
  visibility: hidden;
}
.tt-m,
.tt-w {
  position: relative;
  height: 14px;
}
.tt-m span.y {
  color: var(--ink);
  font-weight: 800;
}
.tt-m span {
  position: absolute;
  top: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 3px;
  border-left: 1px solid var(--line-strong);
}
.tt-w i {
  position: absolute;
  top: 3px;
  width: 1px;
  height: 8px;
  background: var(--line-strong);
}
.tt-w i.y {
  top: -15px;
  height: 30px;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}
.tt-m span.y {
  background: var(--accent);
  color: #fff !important;
  border-left: 0;
  border-radius: 5px;
  padding: 0 5px;
  margin-left: -1px;
  letter-spacing: .02em;
}
.td-time .tt-r {
  padding-top: 6px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--ink) 8%, transparent) 0 6px,
      color-mix(in srgb, var(--ink) 3%, transparent) 6px 12px);
  background-size: calc(8px + (100% - 16px) * var(--tp, 0)) 100%;
  background-repeat: no-repeat;
}
.ap-band {
  position: absolute;
  top: calc(var(--hh, 34px) + 4px);
  bottom: 0;
  background: color-mix(in srgb, var(--info) 9%, transparent);
  z-index: 2;
  pointer-events: none;
}
.ap-line {
  position: absolute;
  top: calc(var(--hh, 34px) + 4px);
  bottom: 0;
  width: 0;
  border-left: 2px solid var(--info);
  z-index: 5;
}
.ap-line[hidden] {
  display: none;
}
.ap-t {
  position: absolute;
  top: -19px;
  left: -9px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  cursor: ew-resize;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--info);
  white-space: nowrap;
  touch-action: none;
}
.ap-t i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--info);
  background:
    radial-gradient(
      circle,
      var(--info) 0 2.5px,
      var(--surface) 3px);
  flex: none;
}
.ap-b .ap-t {
  left: auto;
  right: -9px;
  flex-direction: row-reverse;
}
.ap-t:hover i {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--info) 25%, transparent);
}
.ap-dlg .nc-tab td small {
  font-size: 11.5px;
}
.ap-lieu {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
}
.ap-lieu + .ap-lieu {
  border-top: 1px dashed var(--line);
  margin-top: 3px;
  padding-top: 5px;
}
.ap-lieu b {
  font-weight: 600;
  color: var(--ink);
}
.ap-lieu b i {
  font-weight: 400;
  color: var(--muted);
}
.ap-lieu span {
  color: var(--muted);
  font-size: 12px;
}
.ap-per {
  font-family: var(--f-body,inherit);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
#apDlg .dr-tab svg {
  transform: rotate(90deg);
}
.ap-per small {
  font-weight: 400;
  color: var(--muted);
}
.ap-dlg .nc-tab td {
  vertical-align: top;
}
.ap-dlg .nc-tab {
  font-size: 14px;
}
.ap-dlg .nc-tab col:first-child {
  width: 22%;
}
.ap-dlg .nc-tab col:nth-child(2) {
  width: 26%;
}
.ap-dlg .nc-tab col.nc-n {
  width: 13%;
}
.ap-dlg .nc-tab th {
  white-space: nowrap;
}
.ap-lieu b {
  overflow-wrap: anywhere;
}
.ap-lieu[data-apz] {
  cursor: pointer;
  border-radius: 6px;
  margin-left: -6px;
  margin-right: -6px;
  padding-left: 6px;
  padding-right: 6px;
}
.ap-lieu[data-apz]:hover {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.ap-lieu[aria-pressed=true] {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.ap-lieu[aria-pressed=true] b {
  color: var(--accent);
}
.ap-dlg .nc-tab th,
.ap-dlg .nc-tab td {
  padding: 9px 10px;
}
.ap-dlg h2 {
  font-size: 20px;
}
.ap-dlg .cad-in > p {
  font-size: 13.5px;
}
.td3-hour {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.td3-hour input {
  width: 240px;
  display: block;
  margin: 0;
}
.td3-in {
  position: relative;
  display: block;
  padding-bottom: 5px;
}
.td3-day {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.td3-hour .ico {
  color: var(--accent);
}
.td3-hour .mono {
  color: var(--accent);
  font-weight: 700;
}
.td3-hour .td3-day {
  display: none;
}
.td3-hour input {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  background: none;
  cursor: grab;
}
.td3-hour input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: var(--dayb,var(--line-strong));
}
.td3-hour input::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--dayb,var(--line-strong));
}
.td3-hour input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
  margin-top: -5px;
}
.td3-hour input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
}
.td3-in {
  padding-bottom: 0 !important;
}
.td3-hour .ico.lune {
  width: 20px;
  height: 20px;
}
.td3-hour[hidden],
#miniMap:not(.td3) .td3-hour {
  display: none;
}
.tt-jal {
  position: relative;
  margin: 1px 8px 0;
  display: grid;
  gap: 3px;
}
.tt-jal[hidden] {
  display: none;
}
.tt-jl {
  position: relative;
  height: 14px;
}
.tt-jal .zw-jd {
  top: 0;
  height: 14px;
  min-width: 9px;
}
.tt-jal .zw-jd > em,
.tt-jal .zw-jd > s,
.tt-jal .zw-jdow {
  display: none;
}
.tt-jal .zw-jd > b {
  top: 0;
  height: 14px;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 0 100%, 5px 50%);
}
.tt-jal .zw-jd > b {
  opacity: .92;
}
.tt-jal .zw-j {
  opacity: .92;
}
.tt-jal .zw-jd:hover > b,
.tt-jal .zw-j:hover {
  opacity: 1;
  filter: none;
}
.tt-jal .zw-j {
  top: 7px;
}
.tt-jnone {
  font-size: 11px;
  color: var(--muted);
}
.tt-band {
  position: absolute;
  top: -17px;
  height: calc(31px + var(--jh, 0px));
  border-radius: 5px;
  background: color-mix(in srgb, var(--sun) 38%, transparent);
  pointer-events: none;
  z-index: 0;
}
.tt-band[hidden] {
  display: none;
}
.td-time .tt-band {
  display: none;
}
.tt-band.ok {
  background: color-mix(in srgb, var(--ok) 30%, transparent);
}
.tt-band.warn {
  background: color-mix(in srgb, #E59A2F 45%, transparent);
}
.tt-band.warn::after {
  content: "Hors saison";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 13px;
  color: #A85A12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  z-index: 2;
}
.tt-m span,
.tt-w i {
  z-index: 1;
}
.tt-w i.t {
  background: var(--crit);
  height: 12px;
  top: 1px;
  width: 2px;
  transform: translateX(-50%);
}
.td-time .tt-m,
.td-time .tt-w {
  margin: 0 8px;
}
.tt-r input[type=range] {
  width: 100%;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.td-map > p {
  padding: 0 4px;
}
.top .brand {
  cursor: pointer;
}
.td-time .tt-main {
  flex: 1;
  min-width: 0;
}
.td-time .tt-comp {
  position: static;
  flex: none;
}
#miniMap > .compass {
  display: none;
}
#miniMap .mm-bar {
  top: 140px;
  right: 12px;
}
.td-tabs {
  margin: 0;
}
#tdTabs {
  flex: none;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
#miniMap .mm-bar {
  align-items: flex-start;
  gap: 8px;
}
#miniMap .mm-bar #tdTabs button {
  padding: 6px 12px;
}
#tdTabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 12.5px;
}
#tdTabs button .ico {
  color: currentColor;
}
#tdTabs .tk-dia {
  background: currentColor;
  margin: 0 2px;
}
.td-tabbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  padding: 2px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.td-tabbar {
  display: none !important;
}
#ptForm .qui-btn {
  min-width: 170px;
  max-width: 240px;
  align-self: stretch;
}
.td-tabbar .td-qui {
  margin-left: auto;
  flex: none;
  max-width: 100%;
}
.qui-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 8px;
  padding: 5px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.qui-btn:hover {
  border-color: var(--accent);
}
.qui-btn .chev {
  color: var(--muted);
  font-size: 11px;
}
.qui-btn .qn,
.qui-menu .qn {
  flex: 1;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qv {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 1px 8px;
}
.qc {
  min-width: 26px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-2,#eef0ea);
  border-radius: 999px;
  padding: 1px 7px;
}
.zw-jmenu.qui-menu {
  min-width: 260px;
}
.qui-menu button {
  width: 100%;
}
.qui-menu button[aria-checked=true] {
  background: var(--accent-soft);
}
.qui-menu button[aria-checked=true] .qc {
  background: var(--accent);
  color: #fff;
}
#tdTabs {
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
}
.td-tabbar .td-qui button {
  padding: 5px 12px;
  font-size: 12.5px;
}
#ptNew .ph .small {
  margin-left: auto;
}
#tdPane[data-v=cal] .td-pane-h,
#tdPane[data-v=crops] .td-pane-h,
#tdPane[data-v=log] .td-pane-h {
  display: none;
}
.mm-seg {
  display: inline-flex;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.mm-seg > .ed-cadbtn {
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  border: 1px solid var(--line-strong);
  height: 32px;
  box-sizing: border-box;
}
.mm-seg > .ed-cadbtn[aria-pressed=true] {
  border-color: var(--line-strong);
}
.mm-seg > .ed-cadbtn:not([hidden]) ~ .ed-cadbtn:not([hidden]) {
  border-left: 1px solid var(--line-strong);
  margin-left: -1px;
}
.mm-seg > .ed-cadbtn:not([hidden]):first-child,
.mm-seg > [hidden]:first-child + .ed-cadbtn {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}
.mm-seg > .ed-cadbtn:last-child:not([hidden]) {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}
.mm-bar {
  position: absolute;
  top: 13px;
  right: 58px;
  z-index: 4;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.mm-bar [hidden] {
  display: none !important;
}
.mm-bar .mm-stack,
.mm-bar .mm-stack.sm {
  position: relative;
  top: auto;
  right: auto;
  width: auto;
}
.mm-bar .mm-stack .ed-sub {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 150px;
}
.map .planche {
  cursor: inherit;
}
.map .planche.sel {
  stroke: var(--accent) !important;
  stroke-width: 3 !important;
  stroke-dasharray: none !important;
}
.g-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1180px) {
  .g-today {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .g-2,
  .g-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-content: start;
}
.stack > * {
  min-width: 0;
}
.viewsw {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.viewsw button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.viewsw button + button {
  border-left: 1px solid var(--line-strong);
}
.viewsw button[aria-pressed=true] {
  background: var(--accent);
  color: var(--accent-ink);
  cursor: default;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--muted);
}
.pill.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.pill.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.pill.crit {
  background: var(--crit-bg);
  color: var(--crit);
}
.pill.info {
  background: var(--info-bg);
  color: var(--info);
}
.pill.sim {
  background: var(--sim-soft);
  color: var(--sim);
}
.tbc {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--warn);
  border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent);
  border-radius: 4px;
  padding: 0 4px;
  white-space: nowrap;
  cursor: help;
}
.ed-keys {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 12.5px;
}
.ed-keys summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ed-keys summary::-webkit-details-marker {
  display: none;
}
.ed-keys summary::before {
  content: "\25b8";
  font-size: 11px;
}
.ed-keys[open] summary::before {
  content: "\25be";
}
.ed-keys summary:hover {
  color: var(--ink);
}
.ed-keys dl {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 5px 12px;
}
.ed-keys dt {
  color: var(--muted);
}
.ed-keys dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  font-size: 13px;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
  font-weight: 700;
}
td.num,
th.num {
  text-align: right;
}
.tscroll {
  overflow-x: auto;
}
.tscroll:has(#timeline) {
  overflow: visible;
}
#timeline {
  min-width: 0;
  padding-top: 0;
}
#timeline .tlin {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
#timeline .track {
  background-image: none;
}
#timeline .today-line {
  top: calc(var(--hh, 34px) + 4px);
}
#timeline .tl-head.tlr-w .months span,
#timeline .tl-head.tlr-d .months span {
  font-weight: 600;
  color: var(--faint);
  font-size: 10px;
}
.tl-tk {
  position: absolute;
  height: 20px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1.5px solid var(--jc);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--jc) 45%, var(--surface)) var(--p,0%),
      color-mix(in srgb, var(--jc) 14%, var(--surface)) var(--p,0%));
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 6px;
  cursor: pointer;
  text-align: left;
  z-index: 2;
}
.tl-tkd {
  position: absolute;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transform: translateX(-6px);
  z-index: 2;
}
.tl-tkd i {
  width: 10px;
  height: 10px;
  background: var(--jc);
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}
.tl-tk.done,
.tl-tkd.done {
  opacity: .5;
}
.tl-tk:hover,
.tl-tkd:hover span {
  text-decoration: underline;
}
.cal-nav .yr {
  display: flex;
  gap: 4px;
}
.cal-nav .yr button[aria-pressed=true] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  z-index: 60;
  transition: .25s;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.on {
  opacity: 1;
  transform: translateX(-50%);
}
.lede {
  font-size: 15px;
  color: var(--muted);
  max-width: 75ch;
}
.lede b {
  color: var(--ink);
  font-weight: 600;
}
.decisions {
  display: grid;
  gap: 10px;
}
.dec {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.dec .dic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--water-soft);
  color: var(--water);
}
.dec .dic.air {
  background: var(--sun-soft);
  color: var(--sun);
}
.dec .dic.no {
  background: var(--surface-2);
  color: var(--muted);
}
.dec h3 {
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 700;
}
.dec .what {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.dec .what b {
  color: var(--ink);
  font-weight: 600;
}
.dec .big {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  text-align: right;
  line-height: 1.1;
}
.dec .big small {
  display: block;
  font-family: var(--f-body);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}
.dec details {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.dec summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 12px 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
}
.dec summary:hover {
  border-color: var(--accent);
}
.dec summary::-webkit-details-marker {
  display: none;
}
.dec summary::before {
  content: "+";
  font-family: var(--f-mono);
  width: 14px;
}
.dec details[open] summary::before {
  content: "\2212";
}
.calc2 {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
}
.calc2 .cr {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.calc2 .cr i {
  font-style: normal;
  font-family: var(--f-mono);
  color: var(--faint);
  text-align: center;
  font-weight: 600;
}
.calc2 .cr b {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.calc2 .cr.res {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  font-weight: 600;
}
.calc2 .cr.res b {
  font-weight: 700;
}
.calc2 .ctot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 14px;
  background: color-mix(in srgb, var(--accent) 15%, var(--surface-2));
  font-weight: 700;
  font-size: 13.5px;
}
.calc2 .ctot b {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.calc2 .csrc {
  margin: 0;
  padding: 9px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.calc2 .csrc em {
  font-style: normal;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 8px;
}
.calc {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.75;
  overflow-x: auto;
}
.calc .r {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  white-space: nowrap;
}
.calc .tot {
  border-top: 1px solid var(--line-strong);
  margin-top: 4px;
  padding-top: 4px;
  font-weight: 600;
}
.calc .src {
  font-family: var(--f-body);
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 6px;
  white-space: normal;
  line-height: 1.45;
}
.alerts {
  display: grid;
  gap: 8px;
}
.al {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 0 12px;
  padding: 11px 12px 11px 0;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.al::before {
  content: "";
  border-radius: 4px;
  background: var(--info);
  grid-row: 1 / span 3;
}
.al.crit::before {
  background: var(--crit);
}
.al.warn::before {
  background: var(--warn);
}
.al:hover {
  border-color: var(--line-strong);
}
.al .t {
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.al .t span {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
}
.al .d {
  font-size: 12.8px;
  color: var(--muted);
  margin-top: 2px;
}
.al .a {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 5px;
}
.wx {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.wd {
  cursor: pointer;
}
.wd:hover {
  outline: 1px solid var(--accent);
}
.wd.on {
  outline: 2px solid var(--accent);
}
.wx.det {
  grid-template-columns: minmax(0, 1fr) minmax(0, 6fr);
}
.wxc {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr)) auto;
  gap: 4px;
  min-height: 190px;
}
.wxc-s {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.wxc-h {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.wxc-h b {
  color: var(--ink);
  font-weight: 600;
}
.wxc-s svg {
  flex: 1 1 0;
  height: auto;
  width: 100%;
  min-height: 0;
  display: block;
  background: var(--surface-2);
  border-radius: 6px;
}
.wxc-g {
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  vector-effect: non-scaling-stroke;
}
.wxc-now {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 1 3;
  opacity: .55;
  vector-effect: non-scaling-stroke;
}
.wxc-ax {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--faint);
}
.wxc-none {
  grid-row: 1 / -1;
  align-self: center;
  margin: 0;
}
.wd {
  padding: 9px 6px;
  border-radius: 9px;
  text-align: center;
  background: var(--surface-2);
  display: grid;
  gap: 3px;
  justify-items: center;
}
.wd.today {
  background: var(--accent-soft);
  outline: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.wd .dn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.wd .ico {
  width: 26px;
  height: 26px;
  color: var(--sun);
}
.wd.r .ico {
  color: var(--water);
}
.wd .tx {
  font-weight: 700;
  font-size: 14px;
}
.wd .tn {
  font-size: 12px;
  color: var(--muted);
}
.wd .rn {
  font-size: 11px;
  font-weight: 600;
  color: var(--water);
  min-height: 16px;
}
@media (max-width: 560px) {
  .wx {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.croplist {
  display: grid;
  gap: 2px;
}
.cl {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 6px;
  border-radius: 8px;
  border: 0;
  background: none;
  text-align: left;
  width: 100%;
}
.cl:hover {
  background: var(--surface-2);
}
.cl .nm {
  font-weight: 600;
  font-size: 13.5px;
}
.cl .zn {
  font-size: 12px;
  color: var(--muted);
}
.cl .rt {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.cl .rt b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.ring {
  width: 44px;
  height: 44px;
}
.minimap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--grass);
}
.map {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
}
.map .zone {
  cursor: pointer;
}
.map .zone:hover .zbox {
  stroke: var(--accent);
  stroke-width: 3;
}
.map .selfill {
  fill: var(--accent);
  fill-opacity: .2;
  stroke: none;
}
.map .zone:focus {
  outline: none;
}
.map .zone:focus-visible .zbox {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 6 3;
}
.map .lbl {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink);
}
.map:not(.hide-cult) .has-mat {
  display: none;
}
.map .lbl-in {
  paint-order: stroke;
  stroke: color-mix(in srgb, var(--surface) 80%, transparent);
  stroke-width: .28em;
  stroke-linejoin: round;
}
.map .sub {
  font-size: 11.5px;
  fill: var(--muted);
}
.map .bdg {
  font-size: 11px;
  font-weight: 700;
}
.map .pipe {
  fill: none;
  stroke: var(--water);
  stroke-width: 3.5;
  stroke-linecap: round;
  opacity: .55;
}
.map .pipe.act {
  opacity: 1;
  stroke-dasharray: 9 7;
  animation: flow 1s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -16;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map .pipe.act,
  .syn .flow {
    animation: none;
  }
}
.map .elec {
  fill: none;
  stroke: var(--sun);
  stroke-width: 2;
  stroke-dasharray: 3 4;
}
.map .sens circle {
  stroke: var(--surface);
  stroke-width: 2;
}
.map.hide-cult .l-cult,
.map.hide-water .l-water,
.map.hide-sens .l-sens,
.map.hide-elec .l-elec,
.map.hide-tk .l-tk {
  display: none;
}
.map.hide-n-eau .n-eau,
.map.hide-n-elec .n-elec,
.map.hide-n-data .n-data,
.map.hide-n-zt .n-zt,
.map.hide-n-tb .n-tb,
.map.hide-n-terre .n-terre {
  display: none;
}
.map .elec.n-data {
  stroke: var(--cable-data);
  stroke-dasharray: none;
}
.map .elec.n-terre {
  stroke: var(--ok);
  stroke-dasharray: 2 2;
}
.mm-net {
  padding-left: 10px;
}
.mm-stack .mm-fit {
  justify-content: flex-start;
  font-weight: 700;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.mm-stack .mm-fit:hover {
  background: color-mix(in srgb, var(--accent) 85%, #000);
}
.mm-stack .mm-fit .ico {
  color: #fff;
}
.map .tk-bdg {
  cursor: pointer;
}
.map .tk-bdg circle {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.map .tk-bdg text {
  fill: var(--accent-ink);
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.map .tk-bdg:hover circle {
  fill: var(--accent-hover);
}
.map .tk-bdg.on circle {
  stroke: var(--ink);
}
.maptools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.tog[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.tog i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: block;
}
.g-plan {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}
#v-plan .maptools {
  margin-bottom: 0;
}
@media (min-width: 901px) {
  #v-plan .vhead {
    display: none;
  }
}
@media (max-width: 1180px) {
  .g-plan {
    grid-template-columns: minmax(0, 1fr);
  }
}
.mapwrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--grass);
}
.zfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.zf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  font-size: 13px;
}
.zf.wide {
  grid-column: 1 / -1;
}
.zf span {
  color: var(--muted);
  flex: none;
}
.zf b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  .zfacts {
    grid-template-columns: minmax(0, 1fr);
  }
}
.species {
  display: grid;
  gap: 6px;
}
.sp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.sp i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: block;
  flex: none;
}
.assoc {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}
.as {
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}
.as b {
  font-weight: 600;
}
.sensor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sg {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}
.sg span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.sg b {
  font-size: 16px;
  font-weight: 600;
}
.sg b small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.form {
  display: grid;
  gap: 10px;
}
.form label {
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.form input,
.form select {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--surface);
  font-weight: 500;
  color: var(--ink);
  width: 100%;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form label > .fl {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zw-f {
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.cc {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 14px;
  display: grid;
  gap: 10px;
  text-align: left;
  width: 100%;
}
.cc:hover {
  border-color: var(--line-strong);
}
.cc.sel {
  border: 2px solid var(--accent);
  padding: 13px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent), 0 8px 18px rgba(0, 0, 0, .08);
}
.cc.sel .n {
  color: var(--accent);
}
.cards:has(.cc.sel) .cc:not(.sel) {
  opacity: .78;
}
.cards:has(.cc.sel) .cc:not(.sel):hover {
  opacity: 1;
}
.map .loc {
  animation: locp 1.6s ease-in-out infinite;
}
@keyframes locp {
  50% {
    stroke-opacity: .35;
    fill-opacity: .4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map .loc {
    animation: none;
  }
}
.cc .h {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cc .sw {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}
.cc .sw svg {
  width: 22px;
  height: 22px;
}
.cc .n {
  font-weight: 700;
  font-size: 15px;
}
.cc .l {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.cc .pct {
  margin-left: auto;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
}
.pipe4 {
  display: flex;
  gap: 2px;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.pipe4 span {
  display: block;
  height: 100%;
  background: var(--surface-3);
}
.pipe4 span.done {
  background: var(--crop);
}
.pipe4 span.cur {
  background:
    linear-gradient(
      90deg,
      var(--crop) var(--p),
      var(--surface-3) var(--p));
}
.stg {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--faint);
  gap: 4px;
}
.stg span.cur {
  color: var(--ink);
  font-weight: 700;
}
.cc .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.cc .facts div {
  font-size: 11.5px;
  color: var(--muted);
}
.cc .facts b {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}
.g-crop {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 1100px) {
  .g-crop {
    grid-template-columns: minmax(0, 1fr);
  }
}
.chart {
  display: block;
  width: 100%;
  height: auto;
}
.chart .ax {
  stroke: var(--line-strong);
  stroke-width: 1;
}
.chart .gr {
  stroke: var(--line);
  stroke-width: 1;
}
.chart text {
  fill: var(--muted);
  font-size: 11px;
}
.chart .lab {
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  display: block;
}
.legend i.d {
  background: none !important;
  border-top: 2px dashed currentColor;
  height: 0;
}
.stages-big {
  display: flex;
  gap: 0;
  margin: 6px 0 4px;
  overflow-x: auto;
}
.sb {
  flex: 1;
  min-width: 92px;
  text-align: center;
  position: relative;
  padding-top: 38px;
  font-size: 12px;
  color: var(--faint);
}
.sb svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  color: var(--faint);
}
.sb::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 2px;
  background: var(--line-strong);
}
.sb:last-child::after {
  display: none;
}
.sb.done {
  color: var(--muted);
}
.sb.done svg {
  color: var(--crop);
}
.sb.done::after {
  background: var(--crop);
}
.sb.cur {
  color: var(--ink);
  font-weight: 700;
}
.sb.cur svg {
  color: var(--crop);
}
.sb small {
  display: block;
  font-weight: 500;
  color: var(--faint);
  font-size: 11px;
}
.learn {
  display: grid;
  gap: 10px;
}
.lr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 9px;
}
.lr .v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  text-align: right;
}
.lr .d {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
}
.bullet {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
}
.tl {
  position: relative;
  min-width: 880px;
  padding-top: 20px;
}
.tl-head,
.tl-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.tl-head .months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  font-size: 11px;
  font-weight: 700;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tl-head .months span {
  padding: 0 0 6px 6px;
  border-left: 1px solid var(--line);
}
.tl-row {
  border-top: 1px solid var(--line);
}
.tl-row .rl {
  padding: 9px 10px 9px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.tl-row .rl small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 11.5px;
}
.track {
  position: relative;
  min-height: 46px;
  background-image:
    repeating-linear-gradient(
      90deg,
      var(--line) 0 1px,
      transparent 1px calc(100% / 12));
}
.bar {
  position: absolute;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  touch-action: none;
}
.bar .seg {
  height: 100%;
  display: block;
}
.bar .tx {
  position: absolute;
  left: 7px;
  right: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.bar.pep {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--crop) 28%, transparent) 0 4px,
      transparent 4px 8px);
  border: 1px dashed var(--crop);
  color: var(--muted);
}
.bar.planned,
.bar.proposed {
  cursor: grab;
}
.bar.proposed {
  outline: 2px dashed var(--ink);
  outline-offset: 1px;
}
.bar.dragging {
  cursor: grabbing;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  z-index: 5;
}
.bar.conflict {
  outline: 2px solid var(--crit);
  outline-offset: 1px;
}
.bar.past {
  opacity: .55;
}
.bar.sel {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent);
  opacity: 1;
  z-index: 4;
}
.tl:has(.bar.sel) .bar:not(.sel):not(.pep) {
  filter: saturate(.55);
  opacity: .7;
}
.today-line {
  position: absolute;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--crit);
  z-index: 4;
  pointer-events: none;
}
#timeline .today-line:not(.map-line) {
  width: 0;
  background: none;
  border-left: 2px dotted var(--crit);
}
#timeline .tl-gap {
  height: 18px;
}
#timeline .today-line:not(.map-line)::after {
  content: "";
  position: absolute;
  top: -16px;
  left: -5.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--crit);
}
#timeline .today-line:not(.map-line)::before {
  top: -20px;
  left: 8px;
  transform: none;
}
.today-line.map-line {
  width: 0;
  background: none;
  border-left: 2px dotted var(--accent);
}
.today-line.map-line::before {
  color: var(--accent);
}
.td-work {
  margin-bottom: 12px;
}
.td-work .ph h2 small {
  font-weight: 500;
  color: var(--muted);
  font-size: .8em;
}
.today-line::before {
  content: attr(data-d);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--crit);
  white-space: nowrap;
}
.panel[hidden] {
  display: none;
}
.jl-add {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.jl-add input:not([type=date]) {
  flex: 1 1 200px;
}
.jl-add select {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  min-width: 0;
  max-width: 100%;
}
.jl-add :disabled {
  opacity: .55;
  cursor: not-allowed;
}
.jl-add.tk-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: stretch;
  gap: 6px;
  margin-top: 0;
}
.tk-form > input[type=date],
.tk-form > .tk-dur,
.tk-form > button[type=submit] {
  grid-row: 1;
}
.tk-form > input[type=date] {
  grid-column: 3;
}
.tk-form > .tk-dur {
  grid-column: 4;
}
.tk-form > button[type=submit] {
  grid-column: 5;
}
.tk-form > textarea {
  grid-row: 2;
  grid-column: 1 / -1;
}
@media (min-width: 641px) {
  #ptForm > .tk-r1 {
    grid-column: 1 / 4;
    flex-wrap: nowrap;
    min-width: 0;
  }
  #ptForm > .tk-r1 > * {
    min-width: 0;
    flex: 0 1 auto;
  }
  #ptForm > .tk-r1 > button {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  #ptForm > .tk-r1 > select {
    flex: 0 0 auto;
    min-width: 118px;
  }
  #ptForm > .tk-r1 > .qui-btn {
    flex: 0 0 auto;
    min-width: 170px;
    max-width: 240px;
  }
  #ptForm .qui-btn .qn {
    min-width: 4.5em;
  }
  #ptForm > input[type=date] {
    grid-column: 4;
  }
  #ptForm > .tk-dur {
    grid-column: 5;
  }
  #ptForm > textarea {
    grid-column: 1 / 5;
  }
  #ptForm > button[type=submit] {
    grid-row: 2;
    grid-column: 5;
  }
}
.tk-addb:not(.primary) {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
.tk-addb:disabled {
  opacity: .75;
  cursor: not-allowed;
}
.pt-list {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.jl-add.tk-form[hidden] {
  display: none;
}
.tk-form .tk-r1 {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.tk-form .tk-r1 select {
  max-width: 100%;
}
.tk-form textarea {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  min-width: 0;
  resize: vertical;
  min-height: 44px;
}
.tk-form input[type=date],
.tk-form .tk-dur,
.tk-form button[type=submit] {
  align-self: stretch;
}
.tk-form input[type=date] {
  width: 126px;
  padding-inline: 6px;
}
.tk-form .tk-dur {
  width: 82px;
}
.tk-form button[type=submit] {
  padding-inline: 10px;
}
@media (max-width: 640px) {
  .jl-add.tk-form {
    grid-template-columns: 1fr 1fr;
  }
  .tk-form .tk-r1 {
    grid-column: 1 / -1;
  }
  .tk-form > input[type=date],
  .tk-form > .tk-dur {
    grid-row: 2;
  }
  .tk-form > input[type=date] {
    grid-column: 1;
  }
  .tk-form > .tk-dur {
    grid-column: 2;
  }
  .tk-form > textarea {
    grid-row: 3;
  }
  .tk-form > button[type=submit] {
    grid-row: 4;
    grid-column: 1 / -1;
  }
}
input[type=date]::-webkit-calendar-picker-indicator {
  display: none;
}
input[type=date] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23889' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 15px;
  padding-right: 28px !important;
  cursor: pointer;
}
.dp {
  position: fixed;
  z-index: 90;
  width: 262px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  font-size: 13px;
  color: var(--ink);
}
.dp-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.dp-h b {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
}
.dp-h button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  width: 28px;
  height: 26px;
  cursor: pointer;
  color: var(--ink);
  font-size: 10px;
  padding: 0;
}
.dp-h button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.dp-w,
.dp-g {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.dp-w span {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--faint);
  padding: 2px 0 4px;
}
.dp-g button {
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.dp-g button:hover {
  background: var(--surface-2);
}
.dp-g button.o {
  color: var(--faint);
}
.dp-g button.t {
  box-shadow: inset 0 0 0 1.5px var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.dp-g button.s {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: none;
}
.dp-g button:disabled {
  opacity: .3;
  cursor: not-allowed;
}
.dp-f {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.dp-f button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 6px;
}
.dp-f button:hover {
  background: var(--accent-soft);
}
.tk-obj {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.tk-obj span:not(.chev) {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.tk-obj .ico {
  color: var(--accent);
}
.tk-obj .chev {
  color: var(--muted);
  font-size: 11px;
}
.tk-obj:hover {
  border-color: var(--accent);
}
.tk-tree {
  min-width: 260px;
  max-width: 340px;
  max-height: 360px;
  overflow: auto;
  display: block;
  padding: 6px;
}
.tk-q {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  margin-bottom: 4px;
  background: var(--surface);
  color: var(--ink);
}
.tk-tn {
  display: flex;
  align-items: center;
  padding-left: calc(var(--d,0) * 14px);
}
.tk-tree .tk-tg {
  flex: none;
  width: 20px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tk-tree .tk-tp {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: left;
}
.tk-tp small {
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.tk-tree .tk-tp[aria-current=true] {
  background: var(--accent-soft);
  color: var(--accent);
}
.tk-who {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  max-width: 180px;
}
.jt-l .jt-who {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 600;
}
.jt-l .jt-who.auto {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}
.jt-who .ico {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex: none;
}
.af-t th,
.af-t td {
  padding: 6px 10px;
  white-space: nowrap;
}
.af-t td:first-child {
  font-weight: 600;
}
.tk-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.tk-type:hover:not(:disabled) {
  border-color: var(--accent);
}
.tk-type .chev {
  color: var(--muted);
  font-size: 11px;
  margin-left: 2px;
}
.tk-dia {
  display: inline-block;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
  vertical-align: 1px;
}
.tk-dia.none {
  border: 1.5px solid var(--faint);
}
.tk-menu {
  min-width: 200px;
}
.tk-menu button[aria-current=true] {
  background: var(--accent-soft);
}
.map .zsub {
  cursor: pointer;
}
.jl-add input {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  min-width: 0;
}
.jt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.jt:last-child {
  border-bottom: 0;
}
.jt input[type=checkbox] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--accent);
}
.jt-x {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
}
.jt-x small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}
.jt-x small.late {
  color: var(--crit);
  font-weight: 600;
}
.jt.done {
  background: var(--surface-2);
}
.jt.done .jt-x {
  color: var(--muted);
}
.jt-x .jt-d {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jt-act {
  display: grid;
  grid-template-columns: minmax(34px, auto) minmax(76px, auto);
  align-items: center;
  justify-items: center;
  gap: 14px;
  flex: none;
}
.jt-act > .jt-n {
  grid-column: 1;
}
.jt-act > :not(.jt-n) {
  grid-column: 2;
}
.jt-ths {
  margin-right: 14px;
}
.jt-cu[data-pid] {
  cursor: pointer;
}
.jt-cu[data-pid]:hover .jt-cun {
  text-decoration: underline;
}
.tk-del {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.tk-del .btn {
  color: var(--crit);
}
.jt-cb input {
  cursor: pointer;
}
#ptJournal[aria-pressed=true] {
  color: var(--accent);
  background: var(--accent-soft);
}
.jt .jt-x {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.jt-l {
  flex: none;
  width: var(--ow,14ch);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.jt-l .jt-o {
  width: auto;
}
.jt-l > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jt-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.jt-l .jt-t {
  overflow: visible;
  padding-left: 2px;
}
.jt-t .tk-dia {
  margin: 0 1px;
}
.jt-tl {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jt-l .jt-t {
  flex-wrap: wrap;
  row-gap: 1px;
}
.jt-l .jt-tl {
  flex: 0 1 auto;
  min-width: min(100%, 9em);
}
.cs-win > .cs-place {
  margin-left: -1px;
  padding-left: 0;
}
.jt-rs {
  font-weight: 500;
  color: var(--faint);
}
.jt-cu {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-style: normal;
  flex: none;
  margin: 0 2px;
  width: 76px;
  max-width: 76px;
}
.jt-cu svg {
  width: 34px;
  height: 34px;
  display: block;
}
.jt-cun {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jt-cu b {
  font-size: 10.5px;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
}
.jt-pdc {
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  margin: 0 2px;
  width: 76px;
}
.jt.sel {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.jt-pdc .ico {
  fill: color-mix(in srgb, var(--accent) 45%, var(--surface));
}
.jt-m small {
  white-space: nowrap;
}
.jt-rel {
  flex: none;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.jt-rel.late {
  color: var(--crit);
  font-weight: 700;
}
.jt-rel.now {
  color: var(--accent);
  font-weight: 700;
}
.jt-rel.today {
  color: var(--ok);
  font-weight: 700;
}
.jt-m small {
  display: block;
}
.jt-l .jt-who {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.jt-l .jt-p {
  white-space: normal;
  flex-wrap: wrap;
  overflow: visible;
  row-gap: 0;
}
.jt-jd {
  width: 22px;
  height: 9px;
  flex: none;
}
.jt-l .jt-p {
  padding: 0;
  margin-top: 1px;
}
.jt-m {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jt-m .jt-d {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jt-m small {
  margin-top: 0;
}
.jt-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex: none;
}
.jt-p {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  padding-right: 4px;
  white-space: nowrap;
}
.tk-pbar {
  display: block;
  box-sizing: border-box;
  width: 36px;
  height: 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-3));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
  overflow: hidden;
  flex: none;
  transform: translateZ(0);
}
.tk-pbar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 0;
}
.jt-x b.jt-h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.jt-o {
  flex: none;
  width: var(--ow,12ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jt-t {
  min-width: 0;
}
.jt .jt-x {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.jt .jt-x:hover b {
  color: var(--accent);
}
.jt-cb {
  display: flex;
  flex: none;
  cursor: pointer;
}
.jt-ths {
  display: flex;
  gap: 3px;
  flex: none;
  align-self: center;
}
.jt-th {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-3);
  cursor: pointer;
  flex: none;
}
.jt-th > span,
.jt-th img,
.jt-th video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jt-th > span.off {
  background:
    repeating-linear-gradient(
      135deg,
      var(--line) 0 3px,
      transparent 3px 6px);
}
.jt-th b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 11px;
}
.jt-n {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 0 4px;
}
.tk-in .jt-th {
  width: 72px;
  height: 54px;
}
.tk-desc {
  margin: 8px 0 0;
  white-space: pre-wrap;
  font-size: 13.5px;
}
.tk-when small {
  display: inline;
}
.jt-files,
.jt-ph {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.jt-files {
  color: var(--accent);
}
.jt-files:hover,
.jt-ph:hover {
  background: var(--surface-2);
  color: var(--accent);
}
.tk-car {
  border: 0;
  border-radius: 14px;
  padding: 0;
  width: min(860px, 94vw);
  max-width: 94vw;
  background: var(--surface);
  color: var(--ink);
}
.tk-car::backdrop {
  background: rgba(0, 0, 0, .55);
}
.tk-car-in {
  padding: 14px 16px;
}
.tk-car-v {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 6px;
}
.tk-car-m {
  height: min(60vh, 520px);
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border-radius: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
}
.tk-car-m img,
.tk-car-m video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.tk-car-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.tk-car-n:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tk-car-n[hidden] {
  visibility: hidden;
  display: block;
}
.tk-car-f {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.jt-tag {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--faint);
  flex: none;
  margin-top: 3px;
}
.jt-del,
.jl-del {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 6px;
}
.jt-del:hover,
.jl-del:hover {
  color: var(--crit);
  background: var(--crit-bg);
}
.jl-day {
  margin: 14px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.jl-day:first-child {
  margin-top: 0;
}
.jl-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.jl-row:last-child {
  border-bottom: 0;
}
.jl-row .jl-t {
  flex: 1;
  min-width: 0;
}
.jl-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.jl-badge {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  margin-top: 1px;
}
.jl-badge.recolte {
  background: var(--ok-bg);
  color: var(--ok);
}
.jl-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 6px 0;
}
.jl-harv {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  font-size: 13.5px;
}
.jl-harv b {
  text-align: right;
}
.ho-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ho-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.ho-list li span {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-3);
  color: var(--muted);
}
.ho-list li.ok span {
  background: var(--ok-bg);
  color: var(--ok);
}
.ho-list li small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.tlnote {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--surface-2);
  font-size: 13px;
  min-height: 42px;
}
.tlnote.bad {
  background: var(--crit-bg);
  color: var(--crit);
}
.cc .n .cc-np {
  font-family: var(--f-body,inherit);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.tlnote.good {
  background: var(--ok-bg);
  color: var(--ok);
}
#tlNote {
  display: none;
}
#calDlg.crop-dlg.side[open],
#cropDlg.crop-dlg.side[open],
#tkDlg.crop-dlg.side[open],
#tkThr.crop-dlg.side[open] {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid var(--line-strong);
  border-right: 0;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .16);
}
#calDlg .dr-tab,
#cropDlg .dr-tab,
#tkDlg .dr-tab,
#tkThr .dr-tab {
  background: var(--accent-soft);
}
.chain {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.ch {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  position: relative;
  padding-bottom: 12px;
}
.ch::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: -2px;
  width: 2px;
  background: var(--line-strong);
}
.ch:last-child::before {
  display: none;
}
.ch i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--crop,var(--accent));
  display: block;
  position: relative;
  z-index: 1;
}
.ch.h i {
  background: var(--crop,var(--accent));
}
.ch b {
  font-size: 13.5px;
}
.ch small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.ch .dt {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}
.msg {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12.8px;
  line-height: 1.45;
}
.msg.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.msg.crit {
  background: var(--crit-bg);
  color: var(--crit);
}
.msg.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.msg.info {
  background: var(--info-bg);
  color: var(--info);
}
.msg b {
  font-weight: 700;
}
.syn {
  display: block;
  width: 100%;
  height: auto;
  min-width: 760px;
}
.syn .p {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.8;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.syn .p.cut {
  stroke: var(--crit);
  stroke-dasharray: 4 4;
}
.syn .flow {
  fill: none;
  stroke: var(--water);
  stroke-width: 1.8;
  stroke-linecap: butt;
  stroke-dasharray: 3 7;
  animation: flow 1.4s linear infinite;
}
.syn .flow.weak {
  stroke: var(--warn);
}
.syn text {
  fill: var(--ink);
}
.syn .tag {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
  fill: var(--faint);
}
.syn .tag.inv,
.syn .lab.inv {
  fill: var(--surface);
}
.syn .lab {
  font-size: 11px;
  fill: var(--muted);
}
.syn .lab.strong,
.syn .strong {
  fill: var(--ink);
  font-weight: 600;
  font-size: 12px;
}
.syn .lab.crit {
  fill: var(--crit);
}
.syn .lab.warn {
  fill: var(--warn);
}
.syn .lab.ok {
  fill: var(--muted);
}
.syn .sym,
.ico-fan .sym {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.3;
}
.syn .sym.on,
.ico-fan .sym.on {
  stroke: var(--water);
}
.syn .plcb {
  fill: var(--ink);
  stroke: none;
}
.syn .lvl {
  fill: color-mix(in srgb, var(--water) 18%, var(--surface));
}
.syn .arc {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.syn .tip {
  fill: var(--ink);
}
.syn .ztf {
  fill: color-mix(in srgb, var(--water) 6%, transparent);
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}
.syn .ztn {
  fill: var(--ink);
}
.syn .spin,
.ico-fan .spin {
  animation: synspin 1.6s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes synspin {
  to {
    transform: rotate(360deg);
  }
}
.syn .ft {
  font-family: var(--f-mono);
  font-size: 6.5px;
  font-weight: 700;
  fill: var(--ink);
}
.syn .mesh {
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}
.syn .gauge {
  fill: var(--line);
}
.syn .gv.ok {
  fill: var(--ok);
}
.syn .gv.warn {
  fill: var(--warn);
}
.syn .gv.crit {
  fill: var(--crit);
}
.syn .stem,
.ico-fan .stem {
  stroke: var(--ink);
  stroke-width: 1.2;
}
.syn .end {
  stroke: var(--line-strong);
  stroke-width: 1.8;
}
.syn .ev {
  cursor: pointer;
}
.syn .ev.on .vb,
.syn .ev.on .act {
  stroke: var(--water);
  fill: color-mix(in srgb, var(--water) 18%, var(--surface));
}
.syn .ev.bad .vb,
.syn .ev.bad .act {
  stroke: var(--crit);
  fill: var(--crit-bg);
}
.syn .ev:hover .vb {
  stroke: var(--accent);
}
.syntabs {
  margin-bottom: 12px;
}
.eqg {
  display: grid;
  gap: 8px;
}
.eqr {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 16px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.eqn b {
  display: block;
  font-size: 13px;
}
.eqn small {
  color: var(--muted);
  font-size: 11.5px;
}
.eqc .k {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}
.eqc .v {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 2px;
  min-height: 24px;
  font-size: 13px;
}
.eqc small {
  color: var(--muted);
  font-size: 11px;
}
.bar3 {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.bar3 i {
  display: block;
  height: 100%;
  background: var(--water);
}
.ico-fan {
  width: 24px;
  height: 24px;
  flex: none;
}
.ico-fan .blade {
  fill: var(--ink);
}
.ico-fan .bulb,
.syn .bulb {
  fill: var(--line);
}
.ico-fan .bulb.on,
.syn .bulb.on {
  fill: var(--sun);
}
@media (prefers-reduced-motion: reduce) {
  .syn .spin,
  .ico-fan .spin,
  .syn .flow {
    animation: none;
  }
}
.st {
  font-weight: 600;
  white-space: nowrap;
}
.st.ok {
  color: var(--ok);
}
.st.warn {
  color: var(--warn);
}
.st.crit {
  color: var(--crit);
}
.st.off {
  color: var(--muted);
}
tr.sel td {
  background: var(--accent-soft);
}
tr.clk {
  cursor: pointer;
}
tr.clk:hover td {
  background: var(--surface-2);
}
.hyp {
  display: grid;
  gap: 8px;
}
.hy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 4px 10px;
  align-items: center;
  font-size: 13px;
}
.hy .bar2 {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-3);
  overflow: hidden;
}
.hy .bar2 span {
  display: block;
  height: 100%;
  background: var(--crit);
}
.hy b.p {
  text-align: right;
  font-family: var(--f-mono);
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.switch input {
  appearance: none;
  -webkit-appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  transition: .2s;
  cursor: pointer;
  margin: 0;
  flex: none;
}
.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
}
.switch input:checked {
  background: var(--crit);
}
.switch input.g:checked {
  background: var(--accent);
}
.switch input:checked::after {
  left: 19px;
}
.rules {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: 12.8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}
.rule code {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
}
body.offline .rule {
  background: var(--warn-bg);
}
body.offline .cloud-only {
  opacity: .45;
}
.tabs {
  display: inline-flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  background: none;
  padding: 8px 12px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button[aria-selected=true] {
  color: var(--accent);
  border-color: var(--accent);
}
.act {
  display: grid;
  gap: 8px;
}
.ac {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--surface-2);
}
.ac .ico {
  width: 22px;
  height: 22px;
  color: var(--muted);
}
.ac.on .ico {
  color: var(--accent);
}
.ac b {
  font-size: 13px;
}
.ac small {
  display: block;
  font-size: 11.8px;
  color: var(--muted);
}
.ac .v {
  font-family: var(--f-mono);
  font-size: 12.5px;
  text-align: right;
}
.meter {
  height: 6px;
  border-radius: 3px;
  background: var(--surface-3);
  overflow: hidden;
  margin-top: 4px;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--accent);
}
.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vs > div {
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-2);
}
.vs > div.good {
  background: var(--ok-bg);
}
.vs h4 {
  font-family: var(--f-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}
.vs .big {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
}
.vs p {
  font-size: 12.5px;
  color: var(--muted);
}
.g-sim {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 1060px) {
  .g-sim {
    grid-template-columns: minmax(0, 1fr);
  }
}
.qs {
  display: grid;
  gap: 6px;
}
.q {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  display: grid;
  gap: 2px;
}
.q small {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}
.q:hover {
  border-color: var(--sim-line);
}
.q[aria-pressed=true] {
  border-color: var(--sim);
  background: var(--sim-soft);
  color: var(--sim);
}
.simbox {
  border: 1px solid var(--sim-line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
}
.simbox h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.ctrl {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: var(--sim-soft);
  margin: 14px 0;
}
.ctrl label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.ctrl .rv {
  font-family: var(--f-mono);
  color: var(--sim);
  font-weight: 500;
}
.ctrl input[type=range] {
  width: 100%;
  accent-color: var(--sim);
}
.ctrl input[type=number],
.ctrl select {
  border: 1px solid var(--sim-line);
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--surface);
  width: 100%;
}
.cmp td.a {
  color: var(--muted);
}
.cmp td.s {
  font-weight: 700;
  color: var(--sim);
}
.cmp td.d {
  font-family: var(--f-mono);
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
}
.d.up {
  color: var(--crit);
}
.d.down {
  color: var(--ok);
}
.d.neu {
  color: var(--muted);
}
.d.upg {
  color: var(--ok);
}
.d.downb {
  color: var(--crit);
}
.months12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  margin-top: 6px;
}
.months12 div {
  height: 28px;
  border-radius: 5px;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}
.months12 div.y {
  background: var(--c-batavia);
  color: #fff;
}
.months12 div.y2 {
  background: var(--c-mache);
  color: #fff;
}
.verdict {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 4px solid var(--sim);
  background: var(--sim-soft);
  font-size: 13.5px;
}
.verdict b {
  font-weight: 700;
}
.g-chat {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}
@media (max-width: 1060px) {
  .g-chat {
    grid-template-columns: minmax(0, 1fr);
  }
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
}
.msgs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bub {
  max-width: min(680px, 92%);
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.bub.u {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom-right-radius: 4px;
}
.bub.b {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  white-space: pre-line;
}
.bub.b .srcs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
  white-space: normal;
}
.bub.b .srcs span {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}
.bub.b .go {
  margin-top: 9px;
  white-space: normal;
}
.ask {
  display: flex;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  background: var(--surface);
}
.ask input {
  flex: 1;
  border: 0;
  background: none;
  padding: 6px 8px;
  min-width: 0;
  outline: none;
}
.sugg {
  display: grid;
  gap: 6px;
}
.acct-dlg {
  width: min(520px, calc(100vw - 32px));
}
.acct-dlg .cad-in {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acct-sec h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.acct-sec dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0;
  font-size: 13px;
}
.acct-sec dt {
  color: var(--muted);
}
.acct-sec dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.acct-lg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.acct-lg label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
}
.acct-lg label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}
.acct-lg label:has(input:disabled) {
  opacity: .5;
  cursor: not-allowed;
}
.acct-lg input {
  accent-color: var(--accent);
  margin: 0;
}
.acct-lg svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex: none;
}
.acct-f {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.tkp-f {
  display: grid;
  gap: 12px;
}
.tkp-f label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.tkp-f input:not([type=radio]),
.tkp-f select {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.tkp-f input:focus,
.tkp-f select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.tkp-c {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.tkp-c > b {
  font-weight: 700;
}
.tkp-c > span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tkp-f label.tkp-sw {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
}
.tkp-sw input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tkp-sw:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.tkp-act {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.tkg-new {
  border-style: dashed !important;
}
.tkg-new .tk-sw {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.tkg-regl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
}
.tkg-regl input {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  text-align: right;
}
.acct-aff,
.acct-affp,
.acct-affn {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  margin-bottom: 8px;
}
.acct-aff label,
.acct-affp label,
.acct-affn label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.acct-aff input,
.acct-affp input,
.acct-affn input {
  accent-color: var(--accent);
  margin: 0;
}
.acct-affp b,
.acct-affn b {
  font-weight: 700;
  margin-right: 2px;
}
.acct-affp b {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--muted);
}
.acct-affn label.sub {
  color: var(--ink);
}
.acct-tt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 13px;
  margin-bottom: 8px;
}
.acct-tt b {
  flex-basis: 100%;
  font-weight: 700;
}
.acct-tt label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.acct-tt input {
  width: 56px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  background: var(--surface);
  color: var(--ink);
  accent-color: initial;
}
.acct-affn label:has(input:disabled) {
  opacity: .45;
}
.acct-dlg .cad-in {
  max-height: calc(100vh - 60px);
  overflow: auto;
}
.mm-blk {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  max-width: 100%;
}
.mm-blk > #tdTabs {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.mm-blk > * + * {
  border-left: 1px solid var(--line) !important;
}
.mm-blk .v3-tog[hidden] {
  display: none;
}
.mm-blk > #tdTabs {
  border-radius: 8px;
  overflow: hidden;
}
#miniMap .mm-dpane {
  transform: translateX(154px) !important;
}
#miniMap .mm-dpane.open {
  transform: none !important;
}
#miniMap .mm-dpane .mm-dbox {
  width: 154px;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 0 0 0 12px;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .16);
  padding: 6px;
  overflow: hidden;
}
#miniMap .mm-dtab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 7px;
  width: 30px;
  box-sizing: border-box;
  padding: 12px 7px;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--surface);
  color: var(--accent);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 2px 0 10px rgba(0, 0, 0, .16);
}
#miniMap .mm-dtab .dt-a {
  writing-mode: horizontal-tb;
  transform: rotate(180deg);
  font-size: 16px;
  line-height: 1;
}
#miniMap .mm-dtab:hover,
#miniMap .mm-dpane.open .mm-dtab {
  background: var(--accent-soft);
}
#mmPane .mm-blk {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: none;
}
#mmPane #tdTabs {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}
#mmPane #tdTabs button {
  justify-content: flex-start;
  width: 100%;
  padding: 8px 10px;
  border-left: 0 !important;
}
#mmPane #tdTabs button + button {
  border-top: 1px solid var(--line);
}
#miniMap .mm-drawer {
  position: absolute;
  right: 0;
  top: 140px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  transform: translateX(186px);
  transition: transform .28s ease, top .28s ease;
  max-height: calc(100% - 150px);
}
#miniMap .mm-drawer.open {
  transform: none;
}
#miniMap .mm-drawer,
#miniMap .mm-drawer .mm-stack {
  pointer-events: none;
}
#miniMap .mm-drawer .mm-stack > * {
  pointer-events: auto;
}
#miniMap .mm-drawer.na,
#miniMap .mm-drawer.na * {
  transition: none !important;
}
#miniMap .mm-drawer .mm-stack {
  position: static;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  max-height: 100%;
}
#miniMap .mm-drawer .mm-stack > [data-mm=menu] {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 7px;
  width: 30px;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, .16);
  letter-spacing: .02em;
}
#miniMap .mm-drawer .mm-stack > [data-mm=menu]:hover {
  background: var(--accent-soft);
}
#miniMap .mm-drawer .mm-stack > [data-mm=menu] .chev {
  display: none;
}
#miniMap .mm-drawer .mm-stack > [data-mm=menu] svg {
  transform: rotate(90deg);
  color: var(--accent);
}
#miniMap .mm-drawer.open .mm-stack > [data-mm=menu] {
  background: var(--accent-soft);
}
#miniMap .mm-drawer [data-mmbox],
#miniMap .mm-drawer [data-mmbox][hidden] {
  display: flex !important;
  flex-direction: column;
  width: 186px;
  box-sizing: border-box;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 0 0 0 12px;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .16);
  padding: 8px;
  max-height: inherit;
  overflow: auto;
  position: static;
}
#miniMap .mm-drawer [data-mmbox] .ed-cadbtn {
  width: 100%;
}
#miniMap .mm-aff [data-mmbox],
#miniMap .mm-aff .mm-stack > [data-mm=menu] {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.mm-stack [data-mmbox] > [data-mm=tt],
.mm-stack [data-mmbox] > [data-mm=cd],
.mm-stack [data-mmbox] > [data-mm=hist] {
  position: relative;
  margin-bottom: 11px;
  overflow: visible;
}
.mm-stack [data-mmbox] > [data-mm=tt]::after,
.mm-stack [data-mmbox] > [data-mm=cd]::after,
.mm-stack [data-mmbox] > [data-mm=hist]::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -7px;
  height: 1px;
  background: var(--line-strong);
  pointer-events: none;
}
.mm-blk .mm-stack {
  position: static;
  width: auto;
  display: flex;
  align-items: stretch;
}
.mm-blk .mm-stack > [data-mm=menu] {
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  box-shadow: none;
  height: auto;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}
.mm-blk .mm-stack > [data-mm=menu]:hover {
  color: var(--ink);
  background: var(--accent-soft);
}
.mm-blk .mm-stack > [data-mm=menu][aria-expanded=true] {
  background: var(--accent-soft);
  color: var(--ink);
}
.mm-blk [data-mmbox] {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 150px;
  z-index: 5;
}
.cb-fab {
  position: fixed;
  right: 0;
  bottom: 24px;
  z-index: 60;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 7px;
  width: 30px;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 2px 0 10px rgba(0, 0, 0, .16);
}
.cb-fab:hover {
  background: var(--accent-soft);
}
.cb-fab.in-map {
  position: absolute;
  bottom: 24px;
  z-index: 5;
}
.cb-tab {
  position: absolute;
  left: -30px;
  bottom: var(--cbt,24px);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 7px;
  width: 30px;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, .12);
}
.cb-tab svg {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}
.cb-fab svg {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}
.cb-fab[aria-expanded=true] {
  display: none;
}
.cb-pan {
  position: fixed;
  right: 0;
  top: 76px;
  bottom: 16px;
  z-index: 61;
  width: min(560px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .16);
  overflow: visible;
}
.cb-pan.anim {
  animation: cbIn .25s ease;
}
.cb-pan.out {
  animation: cbOut .25s ease forwards;
  pointer-events: none;
}
.cb-pan .cb-h {
  border-radius: 13px 0 0 0;
}
.cb-pan > :last-child {
  border-radius: 0 0 0 13px;
  overflow: hidden;
}
@keyframes cbIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
@keyframes cbOut {
  from {
    transform: none;
  }
  to {
    transform: translateX(100%);
  }
}
.cb-pan[hidden] {
  display: none;
}
.cb-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.cb-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  flex: none;
}
.cb-av svg {
  width: 24px;
  height: 24px;
}
.cb-t {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}
.cb-t b {
  display: block;
  font-size: 14.5px;
}
.cb-t small {
  font-size: 11.5px;
  opacity: .85;
}
.cb-x {
  border: 0;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cb-x:hover {
  background: rgba(255, 255, 255, .28);
}
.cb-b {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  gap: 10px;
}
.cb-b.chat {
  min-height: 0;
}
.cb-b[hidden] {
  display: none;
}
.cb-b .ask {
  position: sticky;
  bottom: 0;
}
.cb-b #askNote {
  margin: 0;
  font-size: 11px;
}
.cb-hon {
  margin: 0;
  padding: 14px;
}
@media (max-width: 980px) {
  .cb-fab {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .cb-pan {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    top: 64px;
  }
}
.sugg button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  padding: 9px 11px;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}
.sugg button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.g-ed {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 310px;
  gap: 14px;
  align-items: start;
}
@media (max-width: 1280px) {
  .g-ed {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .g-ed .ed-pal {
    position: static;
  }
  .ed-side {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
@media (max-width: 760px) {
  .g-ed {
    grid-template-columns: minmax(0, 1fr);
  }
  .ed-pal {
    flex-direction: row;
    overflow-x: auto;
    position: static !important;
    padding-bottom: 4px;
  }
  .ed-pal .grp {
    grid-auto-flow: column;
  }
  .ed-tool {
    min-width: 150px;
  }
}
.ed-pal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: calc(var(--top) + 12px);
}
.ed-pal h4 {
  font-family: var(--f-body);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--faint);
  margin: 0 0 3px 6px;
  white-space: nowrap;
}
.ed-pal .grp {
  display: grid;
  gap: 1px;
}
@media (min-width: 761px) {
  .ed-pal .pg h4 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 8px 4px 6px;
    margin: 0 0 2px;
    border-radius: 6px;
    -webkit-user-select: none;
    user-select: none;
  }
  .ed-pal .pg h4:hover {
    background: var(--surface-2);
    color: var(--ink);
  }
  .ed-pal .pg h4::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .15s;
  }
  .ed-pal .pg.closed h4::before {
    transform: rotate(-45deg);
  }
  .ed-pal .pg.closed .grp {
    display: none;
  }
}
.ed-tool {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid transparent;
  background: none;
  border-radius: 8px;
  padding: 3px 6px 3px 5px;
  text-align: left;
  font: inherit;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.ed-tool > span {
  min-width: 0;
  display: block;
  overflow: hidden;
}
.ed-tool .tlab {
  display: block;
  width: 100%;
  line-height: 16px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ed-tool small {
  display: block;
  font-weight: 500;
  color: var(--faint);
  font-size: 10.8px;
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ed-tool:hover {
  background: var(--surface-2);
}
.ed-tool[aria-pressed=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.ed-tool svg {
  width: 40px;
  height: 30px;
  padding: 3px 5px;
  box-sizing: border-box;
  display: block;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.ed-tool[aria-pressed=true] svg {
  border-color: var(--accent);
  background: var(--surface);
}
.mat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px 8px;
}
.mat-sw {
  display: inline-flex;
  flex: none;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}
button.mat-sw,
.mat-sw[data-goto] {
  cursor: pointer;
}
.mat-sw svg,
.mat-h svg {
  width: 34px;
  height: 25px;
  padding: 2px 4px;
  box-sizing: border-box;
  display: block;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}
button.mat-sw:hover svg,
.mat-sw[data-goto]:hover svg {
  border-color: var(--accent);
}
.mat-h {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mat-det {
  position: sticky;
  top: calc(var(--top) + 12px);
  max-height: calc(100vh - var(--top) - 24px);
  overflow: auto;
  padding-top: 0;
}
.mat-det > .ph {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--surface);
  padding-top: 16px;
  padding-bottom: 8px;
  margin-top: 0;
}
.mat-det > :first-child:not(.ph) {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .mat-det {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
#authDlg {
  width: min(880px, calc(100vw - 32px));
  max-width: none;
  border: 0;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 1px 2px rgba(16, 32, 20, .08),
    0 10px 28px rgba(16, 32, 20, .12),
    0 40px 90px -20px rgba(16, 32, 20, .38);
}
#authDlg::backdrop {
  opacity: 1;
  background:
    radial-gradient(
      900px 560px at 12% 0%,
      color-mix(in srgb, var(--accent) 24%, transparent),
      transparent 70%),
    radial-gradient(
      760px 520px at 100% 100%,
      color-mix(in srgb, var(--accent) 16%, transparent),
      transparent 70%),
    linear-gradient(color-mix(in srgb, var(--accent) 7%, transparent) 1px, transparent 1px) 0 0/32px 32px,
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 7%, transparent) 1px,
      transparent 1px) 0 0/32px 32px,
    var(--bg);
}
.auth-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 460px;
}
.auth-side {
  position: relative;
  overflow: hidden;
  padding: 34px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    linear-gradient(
      155deg,
      #3F855A 0%,
      #2F6B45 48%,
      #1D452D 100%);
}
.auth-side {
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s;
}
.auth-side:hover {
  filter: brightness(1.08);
}
.auth-side:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.auth-side::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, .16),
      transparent 68%);
  pointer-events: none;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-logo svg {
  width: 84px;
  height: 84px;
  flex: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .22));
}
.auth-wm {
  font-family:
    Bitter,
    Georgia,
    serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
}
.auth-wm b {
  font-weight: 500;
  opacity: .82;
  margin-left: 5px;
}
.auth-side {
  container-type: inline-size;
}
.auth-logo {
  flex-wrap: wrap;
  row-gap: 12px;
}
.auth-wm {
  white-space: nowrap;
  font-size: clamp(18px, 9.4cqi, 30px);
}
.auth-tag {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .94);
}
.auth-pts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, .86);
}
.auth-pts li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.auth-pts li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .75);
  transform: translateY(-1px);
}
.auth-foot {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}
.auth-in {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.auth-in h2 {
  margin: 0 0 2px;
  font-family:
    Bitter,
    Georgia,
    serif;
  font-size: 22px;
}
.pw-w {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.pw-w.pw-w > input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 38px !important;
}
.pw-w > input::-ms-reveal {
  display: none;
}
.pw-eye {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.pw-eye:hover,
.pw-eye[aria-pressed=true] {
  color: var(--accent);
}
.pw-eye svg {
  width: 18px;
  height: 18px;
}
.auth-in input {
  padding: 9px 11px;
  border-radius: 9px;
}
.auth-in input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.auth-in .btn.primary {
  padding: 11px 14px;
  font-weight: 600;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color .15s,
    box-shadow .15s,
    transform .15s;
}
.auth-demo:hover {
  border-style: solid;
  border-color: var(--accent);
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 60%, transparent);
  transform: translateY(-1px);
}
.auth-demo span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.auth-demo small {
  color: var(--muted);
  font-size: 12px;
}
.auth-demo .ico {
  color: var(--accent);
  flex: none;
}
.auth-modes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.auth-modes .auth-demo {
  align-items: flex-start;
}
.auth-admin {
  border-color: color-mix(in srgb, #B4532A 55%, var(--line));
  background: color-mix(in srgb, #B4532A 8%, var(--surface));
}
.auth-admin .ico {
  color: #B4532A;
}
.auth-admin:hover {
  border-color: #B4532A;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, #B4532A 60%, transparent);
}
@media (max-width: 720px) {
  .auth-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .auth-side {
    padding: 22px 20px;
    gap: 10px;
  }
  .auth-logo svg {
    width: 60px;
    height: 60px;
  }
  .auth-pts,
  .auth-foot {
    display: none;
  }
  .auth-in {
    padding: 22px 20px;
  }
}
.u-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.u-who small {
  color: var(--muted);
  font-size: 11.5px;
}
.ed-ro #edPal .ed-tool,
.ed-ro #edPal .ed-acc button:not(.ed-acc-h) {
  pointer-events: none;
  opacity: .45;
}
.ed-ro #edPal::before {
  content: attr(data-ro);
  display: block;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.ed-ro #edTbx,
.ed-ro #edSelTbx {
  display: none !important;
}
.ed-ro #edInsp input,
.ed-ro #edInsp select,
.ed-ro #edInsp textarea {
  pointer-events: none;
  opacity: .6;
}
.no-jn #tnTab,
.no-jn #tnPanel,
.no-tache #tnTab,
.no-tache #tnPanel,
.no-jn #jtForm,
.no-jn #jlForm,
.no-jn [data-jdel] {
  display: none !important;
}
.no-tache [data-jt] {
  pointer-events: none;
  opacity: .5;
}
.no-mat #matAdd,
.no-mat [data-rdel],
.no-mat [data-phdel],
.no-mat label:has([data-phadd]) {
  display: none !important;
}
.no-mat #matDet input,
.no-mat #matDet select,
.no-mat #matDet textarea {
  pointer-events: none;
  background: transparent;
}
.no-plc [data-gen],
.no-plc #plcGenAll {
  display: none !important;
}
.mx,
.mb-t {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.mx th,
.mx td,
.mb-t th,
.mb-t td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.mx th.mine,
.mx td.mine {
  background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
}
.mx-e {
  color: var(--accent);
}
.mx-l {
  color: var(--text);
}
.mx-n {
  color: var(--faint);
}
.mx td.ctr,
.mx th.ctr {
  text-align: center;
}
.mx-x {
  font-size: 14px;
}
.mx .mx-th th {
  background: var(--surface-2,color-mix(in srgb,var(--accent-soft) 35%,transparent));
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  padding-top: 10px;
}
.mx-notes {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 3px;
}
.mb-t td small {
  display: block;
  color: var(--muted);
}
.mb-t .ctr {
  text-align: center;
}
.mx th.rg,
.mb-t th.rg {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rg);
  border-bottom: 2px solid var(--rg);
}
.rg-u {
  --rg:var(--accent);
  --rg-soft:var(--accent-soft);
}
.rg-a {
  --rg:var(--adm);
  --rg-soft:var(--adm-soft);
}
.rg-s {
  --rg:#E8590C;
  --rg-soft:#FFE8D6;
}
.mb-t th.rg-s {
  color: var(--rg);
  background: color-mix(in srgb, var(--rg) 26%, var(--surface));
  border-left: 2px solid var(--rg);
}
.mb-t td.rg-s {
  border-left: 2px solid var(--rg);
}
.mx th.rg-u:not(.rg),
.mx th.rg-a:not(.rg),
.mb-t th.rg-u:not(.rg),
.mb-t th.rg-a:not(.rg),
.mx th.of-auto:not(.rg),
.mx th.of-sim:not(.rg) {
  color: var(--rg);
}
.mx td.rc,
.mb-t td.rc {
  background: color-mix(in srgb, var(--rg) 15%, var(--surface));
}
.mx th.rg-u,
.mx th.rg-a,
.mb-t th.rg-u,
.mb-t th.rg-a,
.mx th.of-auto,
.mx th.of-sim {
  background: color-mix(in srgb, var(--rg) 26%, var(--surface));
}
.mx td.rc .mx-x {
  color: var(--rg);
}
.mb-t td.rc input {
  accent-color: var(--rg);
}
.mb-rgl .mb-rgt {
  color: var(--rg);
}
.mb-rgl.rg-a .tk-req label:has(input:checked) {
  border-color: var(--adm);
  background: var(--adm-soft);
  color: var(--adm);
}
.mx .rg-sep,
.mb-t .rg-sep {
  border-left: 2px solid var(--line-strong);
}
.mb-rg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.mb-rgl {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mb-rgt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mb-per {
  margin: 4px 0 8px;
}
.mb-per > b {
  display: block;
  font-size: 12.5px;
  margin-bottom: 2px;
}
.mb-per .tk-req {
  margin-top: 4px;
}
.mb-t td:first-child {
  min-width: 190px;
}
.of-auto {
  --rg:var(--info);
}
.of-sim {
  --rg:var(--sim);
}
.of-t td.of-acc {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  vertical-align: top;
}
.of-prix {
  font-size: 16px;
  color: var(--rg);
}
.of-t td:not(:first-child) {
  min-width: 150px;
}
.of-lk {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 6px 0 0;
}
.of-lk:empty {
  display: none;
}
.of-in {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
}
.of-in input {
  font: inherit;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.of-cs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.of-c {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--rg) 45%, var(--surface));
  background: color-mix(in srgb, var(--rg) 10%, var(--surface));
  font: inherit;
  color: var(--ink);
  text-align: left;
  position: relative;
}
button.of-c:not(:disabled) {
  cursor: pointer;
}
button.of-c:not(:disabled):hover {
  border-color: var(--rg);
}
button.of-c:disabled {
  opacity: 1;
}
.of-c[aria-pressed=true] {
  border: 2px solid var(--rg);
  padding: 11px;
  background: color-mix(in srgb, var(--rg) 18%, var(--surface));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rg) 18%, transparent);
}
.of-sel {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--rg);
  color: #fff;
}
.of-ch {
  margin: 10px 0 0;
}
.of-bq {
  margin: 4px 0 12px;
}
.of-bq dd.mono {
  letter-spacing: .04em;
}
.of-bqf {
  display: grid;
  gap: 10px;
  max-width: 620px;
}
.of-bqf input {
  font: inherit;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.of-c > b {
  color: var(--rg);
}
.of-c .of-sans {
  color: var(--warn);
}
.of-tot {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--f-display);
}
.of-tot small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.of-c > small {
  color: var(--muted);
}
.mat-pil {
  margin: 0 0 12px;
}
.mat-ref .zw-f select {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.fo-sw {
  color: var(--accent);
}
.gs-g .gs-chk.wide {
  grid-column: 1 / -1;
  margin: 6px 0 2px;
}
.fo-nat {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 3px 0;
  font-weight: 500;
}
.fo-c.off {
  border-style: dashed;
  background: var(--surface-2);
}
.fo-lig {
  grid-template-columns: minmax(7em, 11em) minmax(0, 1fr);
}
.fo-map {
  margin-top: 10px;
}
.fo-map .ex-map {
  height: 60vh;
}
.ex-pin.fo-ferme::after {
  background: var(--warn);
}
.ex-pin.fo-on > span:first-child {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft,var(--surface));
}
.ex-pin.fo-off {
  opacity: .6;
}
.fo-logo {
  display: inline-flex;
  flex: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  color: var(--accent);
}
.fo-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  box-sizing: border-box;
}
.ed-tool .fo-logo svg,
.mat-h .fo-logo svg,
.fo-lg .fo-logo svg {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.fo-rwrap {
  overflow-x: auto;
  margin-top: 8px;
}
.fo-rtab {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fo-rtab th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.fo-rtab td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.fo-rtab .num {
  text-align: right;
  white-space: nowrap;
}
.fo-rtab tr[data-fci] {
  cursor: pointer;
}
.fo-rtab tr[data-fci]:hover td {
  background: var(--surface-2);
}
.fo-rtab tr[aria-selected=true] td {
  background: var(--accent-soft);
}
.fo-rtab tr[aria-selected=true] td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}
.fo-rtab tr.off td {
  color: var(--muted);
}
.fo-rtab tr.off b {
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}
.fo-rtab .fo-rgrp th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 11.5px;
  padding: 5px 8px;
}
.fo-rtab .fo-rvh {
  cursor: pointer;
}
.fo-rtab .fo-rvh:hover th,
.fo-rtab .fo-rvh[aria-selected=true] th {
  background: var(--accent-soft);
}
.fo-rvn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fo-rvn .fo-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.fo-rvn .fo-logo svg {
  width: 14px;
  height: 14px;
}
.fo-rvn .fo-web {
  font-weight: 500;
  margin-left: 6px;
}
.fo-rvl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 6px;
}
.fo-rvb {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 6px 10px 6px 6px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.fo-rvb:hover {
  border-color: var(--accent);
}
.fo-rvb .fo-logo {
  width: 32px;
  height: 32px;
}
.fo-rvb .fo-logo svg {
  width: 16px;
  height: 16px;
}
.fo-rvb b {
  display: block;
  font-weight: 600;
}
.fo-rvb small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.fp-h:disabled {
  cursor: default;
  opacity: 1;
}
.fo-rtab .fo-rgrp small {
  color: var(--muted);
  font-weight: 700;
  margin-left: 4px;
}
#foRefs .ph {
  flex-wrap: wrap;
  gap: 6px;
}
.mat-grid > .fo-inrefs {
  grid-column: 1/-1;
  margin: 2px 0 8px;
  border-color: var(--accent);
  box-shadow: none;
}
.fo-bar2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
}
.fo-bar2 .fo-filt {
  margin-top: 0;
}
.fo-dh {
  align-items: flex-start;
}
.fo-dn {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.fo-dn .fo-web {
  font-family: var(--f-ui,inherit);
  font-size: 12.5px;
  font-weight: 600;
}
.fo-dt {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: none;
}
.fo-dt .fo-star,
.fo-pvt .fo-star {
  position: static;
}
.fo-star[aria-pressed=true] .ico {
  fill: currentColor;
}
.fo-pvt {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.fo-pvt i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 1px 7px;
}
.fo-pvt .fo-star {
  width: auto;
  height: auto;
  opacity: 1;
  color: var(--sun);
  cursor: default;
}
.fo-pvt .fo-star .ico {
  width: 15px;
  height: 15px;
}
.ex-pv:has(.fo-pvt):not(:has(.fo-pvl)) > b {
  padding-right: 78px;
}
.ex-pin.fo-ferme {
  transform: translate(-50%, -50%);
}
.ex-pin.fo-ferme > span:first-child {
  display: none;
}
.ex-pin.fo-ferme::after {
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  transform: none;
  border: 0;
  background:
    radial-gradient(
      circle,
      #D2342A 0 4px,
      #fff 4.5px 7.5px,
      #D2342A 8px 10.5px,
      #fff 11px);
  box-shadow: 0 0 0 1.5px #D2342A, 0 2px 6px rgba(0, 0, 0, .35);
}
.fo-ctotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border-top: 2px solid var(--line);
  font-size: 13.5px;
}
.fo-ctotal b {
  font-size: 15px;
}
.brand .farm.farm-sw {
  position: relative;
  cursor: pointer;
  padding-right: 30px;
  border-radius: 0 8px 8px 0;
}
.brand .farm.farm-sw:hover,
.brand .farm.farm-sw[aria-expanded=true] {
  background: var(--surface-2);
}
.brand .farm.farm-sw:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.farm-chev {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.farm-menu {
  position: fixed;
  z-index: 400;
  min-width: 300px;
  max-width: 440px;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}
.farm-menu button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
  border: 0;
  background: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.farm-menu button b {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
}
.farm-menu button span {
  font-size: 11.5px;
  color: var(--muted);
}
.farm-menu button:hover,
.farm-menu button:focus-visible {
  background: var(--surface-2);
  outline: none;
}
.farm-menu button[aria-selected=true] b {
  color: var(--accent);
}
.fo-filt {
  margin-top: 8px;
  flex-wrap: wrap;
}
.fo-filt .ico {
  width: 14px;
  height: 14px;
}
.fo-filt button[data-fonat=fav] .ico {
  fill: currentColor;
}
.fo-tile {
  position: relative;
  padding-right: 30px;
}
.fo-star {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: none;
  padding: 0;
  color: var(--muted);
  opacity: .6;
  cursor: pointer;
}
.fo-tile .fo-star .ico {
  width: 18px;
  height: 18px;
  fill: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.fo-star:hover,
.fo-star[aria-pressed=true] {
  opacity: 1;
}
.fo-star:hover {
  color: var(--sun);
  background: var(--sun-soft);
}
.fo-star[aria-pressed=true] {
  color: var(--sun);
}
.fo-tile .fo-star[aria-pressed=true] .ico {
  fill: currentColor;
}
span.fo-star {
  cursor: default;
}
span.fo-star:hover {
  background: none;
}
.fo-web.fo-web-txt {
  color: var(--muted);
  font-weight: 500;
}
.fo-fiche {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.fo-fiche:hover {
  text-decoration: underline;
}
.fo-fiche .ico {
  width: 13px;
  height: 13px;
}
.fo-tile {
  cursor: pointer;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  min-height: 76px;
  padding: 6px 10px 6px 6px;
  border-color: var(--line);
  background: var(--surface);
}
.ed-tool > .fo-logo {
  display: flex;
}
.fo-tile .fo-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}
.fo-tile .fo-logo svg {
  width: 28px;
  height: 28px;
}
.fo-tile .tlab {
  font-size: 14px;
  line-height: 18px;
}
.fo-tile small {
  -webkit-line-clamp: 2;
  font-size: 11.5px;
}
.fo-tile small.fo-tl {
  display: flex;
  flex-direction: column;
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: normal;
  line-height: 1.35;
}
.fo-tile small.fo-tl span {
  display: block;
}
.fo-tile .fo-web {
  font-size: 12px;
  margin-top: 2px;
}
.mat-grid:has(> .fo-tile) {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}
.fo-web {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fo-web:hover {
  text-decoration: underline;
}
.zw-f .fo-web {
  display: inline;
  font-size: inherit;
}
.fo-lg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.fo-lg .fo-logo {
  width: 56px;
  height: 56px;
}
.fo-pvl {
  display: block;
  height: 44px;
}
.fo-pvl img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.fo-siren {
  display: flex;
  gap: 6px;
}
.fo-siren input {
  flex: 1;
  min-width: 0;
}
.fo-etabs {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  max-height: 340px;
  overflow: auto;
}
.fo-loc {
  grid-column: 1 / -1;
  margin: 2px 0 4px;
}
.fo-etab {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
}
.fo-etab input {
  margin-top: 3px;
}
.fo-etab small {
  display: block;
  font-size: 11.5px;
}
.fo-etab.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.fo-etab.off {
  opacity: .7;
}
.ac-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
}
.ac-tabs button {
  font-size: 14px;
  padding: 7px 16px;
}
.ac-n {
  display: inline-block;
  min-width: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.ac-n[hidden] {
  display: none;
}
#achatBody > #acBody {
  margin-top: 14px;
}
.ac-tab td {
  vertical-align: middle;
}
.ac-d b {
  display: block;
}
.ac-d small {
  font-size: 11px;
}
.ac-m th {
  background: var(--surface-2);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
.ac-mo {
  text-transform: capitalize;
}
.ac-m th {
  font-size: 12.5px;
  padding: 6px 8px;
}
.ac-st {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
}
.ac-st:hover {
  filter: brightness(.95);
  text-decoration: underline;
}
.ac-e {
  white-space: nowrap;
}
dialog.cu-pan {
  width: min(560px, calc(100vw - 32px));
}
dialog.cu-pan .gs-g {
  margin-top: 4px;
}
.pa-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 2px 0 4px;
}
.pa-pick select {
  max-width: 24em;
}
.pa-grp {
  margin-top: 14px;
}
.pa-gh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13.5px;
}
.pa-tab {
  table-layout: fixed;
  width: 100%;
  min-width: 940px;
}
.pa-tab th:nth-child(2) {
  width: 13%;
}
.pa-tab th:nth-child(3) {
  width: 13%;
}
.pa-tab th:nth-child(4) {
  width: 8%;
}
.pa-tab th:nth-child(5) {
  width: 11.5%;
}
.pa-tab th:nth-child(6) {
  width: 5%;
}
.pa-tab th:nth-child(7) {
  width: 12%;
}
.pa-tab th:nth-child(8) {
  width: 9%;
}
.pa-tab th:nth-child(9) {
  width: 32px;
}
.pa-cmd .pa-tab th:nth-child(n+2) {
  width: auto;
}
.pa-cmd .pa-tab {
  min-width: 640px;
  table-layout: auto;
}
.pa-tab td {
  vertical-align: middle;
}
.pa-tab td select {
  width: 100%;
}
.pa-tab input[type=number] {
  width: 6em;
  text-align: right;
}
.pa-tab input[type=date] {
  width: 10.5em;
}
.pa-tab select {
  max-width: 14em;
}
.pa-tab tr.pa-off td {
  background: var(--crit-bg);
}
.pa-x {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.pa-x:hover {
  color: var(--crit);
}
.pa-due {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 7em auto;
  gap: 6px 12px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.pa-due .num {
  text-align: right;
}
.pa-cmd {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 8px;
  background: var(--surface);
}
.pa-cmd > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13.5px;
}
.pa-cmd[open] > summary {
  border-bottom: 1px solid var(--line);
}
.pa-cmd .tscroll,
.pa-cmd .tkp-act {
  padding: 6px 12px;
  margin-top: 0;
}
@media (max-width: 640px) {
  .pa-due {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.gs-sec {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.gs-sec > h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.gs-sec > h3 small {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}
.gs-g {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}
.gs-g .zw-f {
  white-space: normal;
  margin: 5px 0;
  min-width: 0;
}
.gs-g .zw-f.wide {
  grid-column: 1 / -1;
}
.gs-g .zw-f input,
.gs-g .zw-f select {
  width: 100%;
  box-sizing: border-box;
}
.gs-g .zw-f .gs-v {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 3px 0;
  overflow-wrap: anywhere;
}
.gs-v.vide {
  color: var(--muted);
}
.gs-sec .tscroll {
  overflow-x: auto;
}
.gs-sec .cu-cy {
  margin: 2px 0 4px;
}
.gs-lig {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  padding: 4px 0;
  line-height: 1.4;
}
.gs-lig b {
  font-size: 12.5px;
  font-weight: 600;
}
.gs-g .zw-f .gs-v .tk-dia {
  width: 11px;
  height: 11px;
  margin: 4px 3px;
}
.cuc-t {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12.5px;
}
.cuc-t th {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 2px 0 6px;
}
.cuc-t th:first-child {
  width: 200px;
  text-align: left;
}
.cuc-t th.now {
  color: var(--accent);
}
.cuc-t td {
  border-top: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
  height: 38px;
  padding: 0;
  cursor: pointer;
}
.cuc-t td + td {
  border-left: 1px solid var(--line);
}
.cuc-t td.now {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.cuc-t tr[aria-selected=true] td {
  background: color-mix(in srgb, var(--accent) 11%, transparent);
}
.cuc-t td:hover {
  background: var(--surface-2);
}
.cuc-n {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 4px;
  text-align: left;
}
.cuc-n .cu-sw {
  width: 28px;
  height: 24px;
}
.cuc-n .cu-sw svg {
  width: 18px;
  height: 18px;
}
.cuc-n b {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cuc-n small {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 400;
}
.cuc-x {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.cuc-x.bof {
  opacity: .38;
}
.cuc-i {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-top: 2px;
}
.cuc-i .ico {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}
.cuc-i .chaud,
.cuc-lg .chaud {
  color: var(--crit);
}
.cuc-i .froid,
.cuc-lg .froid {
  color: var(--info);
}
.cuc-i .champ,
.cuc-lg .champ {
  color: var(--sun);
}
.cuc-lg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 4px;
}
.cuc-lg span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cuc-lg .ico {
  width: 13px;
  height: 13px;
}
.cuc-lg .cuc-x {
  display: inline-block;
  margin: 0;
}
.cuc-nd {
  color: var(--faint);
  font-size: 11.5px;
  cursor: pointer;
}
.cuc-zr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cuc-zr > b {
  font-size: 12px;
  color: var(--muted);
  margin-right: 2px;
}
.cuc-zr button[data-cuz] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
  cursor: pointer;
  color: var(--ink);
}
.cuc-zr button[data-cuz] i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--zc);
  flex: none;
}
.cuc-zr button[data-cuz][aria-pressed=true] {
  border-color: var(--zc);
  background: color-mix(in srgb, var(--zc) 14%, var(--surface));
}
.cuc-zr button[data-cuz][aria-pressed=false] {
  color: var(--faint);
  font-weight: 500;
}
.cuc-zr button[data-cuz][aria-pressed=false] i {
  opacity: .35;
}
.cuc-zr em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
}
.cuc-zh {
  border: 0;
  background: none;
  color: var(--info);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 4px;
}
.cuc-zh:hover {
  text-decoration: underline;
}
.zc {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 15px;
  color: #fff;
  background: var(--zc);
  border-radius: 4px;
  padding: 0 5px;
}
.cuc-t th.cuc-zh0 {
  width: 46px;
}
.cuc-t td.cuc-z {
  text-align: center;
  cursor: default;
}
.cuc-t.multi tr:not(.cuc-last) td:not([rowspan]) {
  border-bottom: 0;
}
.cuc-t.multi tr + tr:not(:has(td[rowspan])) td {
  border-top: 1px dashed var(--line);
}
dialog#zhDlg {
  width: min(940px, calc(100vw - 32px));
  max-width: none;
}
.zh-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.zh-map {
  width: 100%;
  height: auto;
  display: block;
}
.zh-zl {
  font: 800 30px var(--f-display,inherit);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 5px;
}
.zh-st {
  font: 600 13px var(--f-body,inherit);
  fill: var(--ink);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
}
.zh-st.b {
  font-weight: 800;
  fill: var(--crit);
}
.zh-leg {
  display: grid;
  gap: 10px;
}
.zh-li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.zh-li b {
  display: block;
  font-size: 13.5px;
}
.zh-li small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.zh-li .zc {
  margin-top: 2px;
}
@media (max-width: 640px) {
  .zh-body {
    grid-template-columns: 1fr;
  }
}
.cuc-lgp {
  position: sticky;
  top: calc(var(--top) + 8px);
  z-index: 4;
  padding-top: 10px;
  padding-bottom: 10px;
}
.cuc-lgp .cuc-lg {
  margin: 0;
}
.cuc-help {
  font-size: 12px;
  color: var(--muted);
  cursor: help;
  margin-left: auto;
}
.cuc-lg button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
  cursor: pointer;
}
.cuc-lg button:hover {
  border-color: var(--accent);
}
.cuc-lg button[aria-pressed=false] {
  color: var(--faint);
  background: var(--surface-2);
  text-decoration: line-through;
}
.cuc-lg button[aria-pressed=false] svg {
  opacity: .35;
}
.cuc-lg button.ns {
  cursor: help;
  color: var(--faint);
  border-style: dashed;
  text-decoration: none;
}
.cuc-lg button.ns em {
  font-style: normal;
  font-size: 10.5px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  padding: 0 4px;
}
.cuc-lg .hsol {
  color: var(--soil);
}
.cuc-lg .nutri {
  color: var(--sim);
}
.tk-sl-h {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin: 2px 0 4px;
}
.tk-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.tk-slot {
  position: relative;
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1.5px dashed var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
}
.tk-slot:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tk-slot.full {
  border-style: solid;
  cursor: default;
}
.tk-slot img,
.tk-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.tk-slot:hover .mat-thx {
  opacity: 1;
  visibility: visible;
}
.tka-f {
  margin: 6px 0 2px;
}
.tka-f > b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.tka-g {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}
.tka-c {
  font-size: 12.5px;
  padding: 2px 0;
}
.gs-txt {
  margin: 2px 0;
  font-size: 13px;
  line-height: 1.45;
}
.gs-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 3px 0;
  cursor: pointer;
}
.gs-chk input {
  margin: 0;
}
.gs-stat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}
.gs-stat > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.gs-stat b {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
.tk-sw {
  display: inline-flex;
  flex: none;
  width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.tk-sw .tk-dia {
  width: 11px;
  height: 11px;
}
#tkgBody .tk-sw {
  display: inline-flex;
}
.racc {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.racc-h {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-bottom: 8px;
}
.racc-g {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-top: 4px;
}
.racc-s {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.racc-g input,
.racc-g select {
  width: 100%;
  min-width: 0;
}
.racc-poe {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
  font-size: 13px;
  cursor: pointer;
}
.racc-poe input {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--cable-data);
}
.racc-l {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.racc-l i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.hs-del {
  color: var(--crit);
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--crit) 55%, transparent);
}
.hs-add {
  color: var(--ok);
}
.mb-ph {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mb-inact {
  padding: 3px 10px;
  font-size: 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.mb-inact[aria-pressed=true] {
  border-color: var(--crit);
  color: var(--crit);
}
.mb-t thead th,
.mb-t td.mb-vu {
  white-space: nowrap;
}
.us-scroll {
  max-height: calc(100vh - var(--top) - 120px);
  overflow: auto;
}
.us-scroll > table > thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background-color: var(--surface);
}
.us-scroll > table > thead tr:first-child th {
  height: 34px;
  box-sizing: border-box;
}
.us-scroll > table > thead tr:nth-child(2) th {
  top: 34px;
}
.mb-t td,
.mx td {
  vertical-align: middle;
}
.mx tbody td:first-child {
  min-width: 260px;
}
.mb-t tbody tr:nth-child(even) td {
  background-image: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent), color-mix(in srgb, var(--ink) 5%, transparent));
}
.mb-who {
  all: unset;
  cursor: pointer;
  display: block;
}
.mb-who:hover b {
  color: var(--accent);
  text-decoration: underline;
}
.mb-who:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 4px;
}
.mb-t .mb-act {
  white-space: nowrap;
}
.mb-t .mb-act .btn + .btn {
  margin-left: 6px;
}
.mb-t .mb-act .btn {
  padding: 4px 10px;
  font-size: 12px;
  border-color: var(--line-strong);
  color: var(--ink);
}
.mb-t .mb-act .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.mb-t tr.mb-off td,
.mb-t tr.mb-off b,
.mb-t tr.mb-off small {
  color: var(--crit);
}
.mb-h {
  font-size: 13px;
  margin: 14px 0 6px;
}
.mb-ses {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  margin: 0 0 6px;
  font-size: 12.5px;
}
.mb-ses summary {
  cursor: pointer;
}
.mb-ses ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
}
.mb-ses .mono {
  color: var(--muted);
  margin-right: 6px;
}
#mbHist {
  max-height: 46vh;
  overflow: auto;
}
.mb-add {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gs-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 760px) {
  .gs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.gs-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  position: sticky;
  top: calc(var(--top) + 12px);
}
.gs-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.gs-menu button[hidden] {
  display: none;
}
.gs-exp {
  margin: 8px 0 16px;
}
.gs-t td.gs-lic input,
.mb-t td.gs-lic input {
  accent-color: var(--ok);
}
.gs-std {
  margin-bottom: 14px;
}
.gs-menu button[aria-current=page] {
  background: var(--accent-soft);
  color: var(--accent);
}
.gs-t .gs-exh td {
  background: var(--surface-2);
  padding: 7px 8px;
}
.gs-tog {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  color: var(--text);
}
.gs-tog small {
  color: var(--muted);
}
.gs-car {
  width: 12px;
  color: var(--muted);
}
.gs-u {
  padding-left: 30px !important;
  position: relative;
}
.gs-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  vertical-align: 1px;
}
.gs-cat input {
  margin: 0;
  accent-color: var(--adm);
}
.gs-cat.on {
  border-color: var(--adm);
  background: var(--adm-soft);
  color: var(--adm);
}
.pill.mb-cat {
  background: var(--rg-soft);
  color: var(--rg);
}
.gs-br {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 50%;
  width: 10px;
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.gs-tout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  cursor: pointer;
}
.gs-tout input {
  margin: 0;
}
.gs-per small {
  display: block;
  margin-top: 2px;
}
.gs-t tr.gs-zr td {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
  border-top: 0;
}
.gs-t td.gs-zn {
  padding-left: 58px !important;
  color: var(--muted);
}
.gs-zn .gs-br {
  left: 38px;
}
.gs-t tr.gs-znh .gs-tog {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.gs-t tr.gs-znh .gs-tog small {
  font-weight: 400;
}
.cu-sw {
  display: inline-flex;
  flex: none;
  width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cu-sw svg,
.ed-tool .cu-sw svg {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.cu-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cu-bar input[type=search] {
  flex: 1 1 220px;
  min-width: 0;
}
.cu-kv dd input,
.cu-kv dd select {
  width: 100%;
  max-width: 220px;
  font: inherit;
  text-align: right;
}
.cu-cy {
  width: 100%;
  font-size: 12px;
  display: block;
  overflow-x: auto;
  text-align: left;
}
.cu-cy th,
.cu-cy td {
  padding: 2px 4px;
  white-space: nowrap;
}
.cu-cy input {
  width: 100%;
  min-width: 34px;
  font: inherit;
  box-sizing: border-box;
}
.mat-det .cu-kv {
  max-height: none;
}
.mat-ref {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
}
.mat-ref.on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface));
}
.mat-rh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 2px;
}
.mat-def {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.mat-ref .zw-g2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.mat-ref .zw-f input,
.mat-ref textarea {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.mat-ph {
  display: grid;
  gap: 4px;
  margin: 6px 0;
}
.mat-phl {
  font-size: 12.5px;
  font-weight: 600;
}
.mat-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mat-th {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: visible;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.mat-th > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}
.mat-th > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mat-th.add {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  border-style: dashed;
  cursor: pointer;
}
.mat-th.add:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.mat-thx {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font: 700 11px/16px var(--f-body,inherit);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s;
}
.mat-th:hover .mat-thx,
.mat-thx:focus-visible {
  opacity: 1;
  visibility: visible;
}
.mat-thx:hover {
  border-color: var(--crit);
  color: var(--crit);
  background: var(--crit-bg);
}
.mat-ref textarea {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 4px 6px;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
  min-width: 0;
}
.mat-acts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mat-tree details details {
  margin-left: 16px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.mat-tree summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
}
.mat-tree summary::-webkit-details-marker {
  display: none;
}
.mat-tree summary::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .15s;
}
.mat-tree details:not([open]) > summary::before {
  transform: rotate(-45deg);
}
.mat-tree summary:hover {
  background: var(--surface-2);
}
.mat-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 15em 6.5em;
  gap: 4px 12px;
  align-items: center;
  padding: 5px 8px 5px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mat-rn {
  min-width: 0;
}
.mat-rn small,
.mat-rl {
  color: var(--faint);
  font-size: 11.5px;
}
.mat-rl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.mat-row .num {
  text-align: right;
  white-space: nowrap;
}
.mat-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mat-tab tfoot th {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
@media (max-width: 640px) {
  .mat-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-left: 8px;
  }
  .mat-rl {
    display: none;
  }
  .mat-tree details details {
    margin-left: 8px;
    padding-left: 6px;
  }
}
.grpb {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.grpb button {
  border: 0;
  background: none;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.grpb button + button {
  border-left: 1px solid var(--line);
}
.grpb button:hover {
  color: var(--accent);
}
.grpb button[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--accent);
}
.grpb button:disabled {
  opacity: .4;
  cursor: default;
}
.top .ed-steps {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1150px;
  display: flex;
  border-radius: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.top .ed-steps[hidden],
body.wiz-on .top .ed-steps,
body.wiz-on #edSteps + .top-sep {
  display: none;
}
.top .ed-steps::-webkit-scrollbar {
  display: none;
}
.top .ed-step {
  flex: 1 1 0;
  min-width: 0;
  padding: 5px 10px 5px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top .ed-step:first-child {
  padding-left: 10px;
}
.top .ed-step:nth-child(2) {
  flex: 1.7 1 0;
}
.top .ed-step:nth-child(2) .ed-sb {
  flex: none;
}
@media (max-width: 1400px) {
  .top .ed-step,
  .top .ed-step:nth-child(2) {
    flex: none;
  }
  .top .ed-step select {
    max-width: 140px;
  }
  .top .ed-step:not(.on) select {
    display: none;
  }
  .top .ed-steps {
    flex: 0 0 auto;
  }
  .top .ed-step:not(.on) .ed-sb {
    grid-template-columns: 24px;
  }
  .top .ed-step:not(.on) .ed-sb b {
    display: none;
  }
}
.top .ed-sb {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
}
.top .ed-sb .num {
  width: 24px;
  height: 24px;
  font-size: 12.5px;
}
.top .ed-sb b {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top .ed-sb small {
  display: none;
}
.top .ed-step select {
  margin-left: 0;
  min-width: 0;
  max-width: 190px;
  font-size: 12px;
  padding: 2px 4px;
}
.top-sep {
  display: none;
  flex: none;
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}
body.ed-on .top-sep {
  display: block;
}
@media (max-width: 980px) {
  body.ed-on .top-sep {
    display: none;
  }
}
@media (min-width: 981px) {
  #edEnter:not([hidden]) ~ .top-sep-r {
    display: block;
  }
}
html {
  scrollbar-gutter: stable;
}
.top-when {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
}
.top-when .ed-saved {
  display: none;
  font-size: 11px;
  padding: 0;
}
body.ed-on .top-when .ed-saved {
  display: inline-flex;
}
.ph .ed-tipsbtn {
  margin-left: auto;
  flex: none;
}
.ph-q > .ed-tipsbtn {
  align-self: flex-start;
  margin-top: 1px;
}
.top-ttl {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  line-height: 1.15;
}
.top-ttl small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.top-ttl h1 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 900px) {
  .top-ttl {
    display: none !important;
  }
}
@media (min-width: 981px) {
  .top-ttl {
    border-left: 0;
    padding-left: 0;
  }
}
body.ed-on main {
  padding-top: 12px;
  padding-bottom: 0;
}
body.ed-on .shell {
  grid-template-columns: minmax(0, 1fr);
}
body.ed-on .side,
body.ed-on .bnav {
  display: none !important;
}
body.ed-on #v-editor {
  max-width: none;
}
body.ed-on .top-in {
  max-width: none;
  padding-right: 12px;
}
body.ed-on main {
  padding-inline: 12px;
}
.ed-exit {
  flex: none;
  gap: 6px;
  font-weight: 600;
  border-color: var(--accent);
  color: var(--accent);
}
#edEnter,
#edExit {
  min-width: 162px;
  justify-content: center;
}
.ed-exit:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 980px) {
  body.ed-on .top {
    flex-wrap: nowrap;
  }
  body.ed-on .top-in {
    flex: 1 1 0;
    min-width: 0;
    flex-wrap: nowrap;
  }
  body.ed-on .brand {
    flex: 0 1 auto;
    max-width: 40%;
  }
  .top .ed-step {
    flex: none;
  }
  .top .ed-steps {
    max-width: none;
  }
  body.ed-on .top-when {
    display: none;
  }
  .ed-tipsbtn {
    white-space: nowrap;
  }
}
@media (max-width: 760px) {
  .ed-canvas .ed-hist {
    top: 50px;
    left: 10px;
    right: auto;
    justify-content: flex-start;
    max-width: calc(100% - 180px);
  }
}
@media (max-width: 640px) {
  .ed-exit,
  #edEnter,
  #edExit {
    font-size: 0;
    gap: 0;
    padding: 6px 9px;
    min-width: 0;
  }
  .ed-exit .ico {
    font-size: initial;
  }
  body.ed-on .lang-w {
    display: none;
  }
}
.ed-canvas {
  position: relative;
  height: calc(100vh - var(--topH, 60px) - var(--edSteps, 92px) - 26px);
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--grass);
  touch-action: none;
  outline: none;
}
@media (max-width: 760px) {
  .ed-canvas {
    height: 62vh;
    min-height: 360px;
  }
}
.ed-canvas:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.ed-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ed-canvas,
svg text {
  -webkit-user-select: none;
  user-select: none;
}
.ed-canvas svg,
.ed-canvas svg * {
  cursor: var(--cur,default) !important;
}
.ed-tool {
  position: relative;
}
.ed-tool .rep {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ed-tool .rep:hover {
  border-color: var(--muted);
}
#edInsp input:disabled {
  background: var(--surface-2);
  color: var(--muted);
  cursor: not-allowed;
}
.ed-tool .rep[aria-checked=true] {
  border-color: var(--line);
}
.ed-tool .rep[aria-checked=true]::after {
  content: "";
  width: 5px;
  height: 2.5px;
  border: solid var(--ink);
  border-width: 0 0 2px 2px;
  transform: translateY(-.5px) rotate(-45deg);
}
.ed-seln {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 4px 3px 10px;
}
.ed-seln button {
  border: 0;
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  width: 20px;
  height: 20px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}
.ed-el {
  cursor: move;
}
.pl-c4 {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  margin: 0 0 12px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r);
  background: var(--accent-soft);
}
.pl-c4 small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.pl-c4 .btn {
  justify-content: center;
}
#ed-base .ed-hid {
  display: none;
}
.ed-t {
  fill: var(--ink);
  font-weight: 700;
  pointer-events: none;
}
.ed-t2 {
  fill: var(--muted);
  pointer-events: none;
}
.ed-dim {
  fill: var(--accent);
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--surface);
  stroke-linejoin: round;
  pointer-events: none;
}
.ed-status {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  pointer-events: none;
}
.ed-status span {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--muted);
}
.ed-status span:empty {
  display: none;
}
.ed-status #edPos {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ed-scale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  color: var(--ink);
}
.ed-scale i {
  display: block;
  height: 5px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(
      90deg,
      var(--ink) 50%,
      var(--surface) 50%);
}
.ed-scale b {
  font-weight: 600;
}
.ed-side {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.ed-side .panel h3 {
  font-size: 13px;
  margin: 14px 0 8px;
}
.chk {
  display: grid;
  gap: 6px;
}
.ck {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  text-align: left;
  border: 0;
  background: var(--surface-2);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12.5px;
  width: 100%;
  line-height: 1.35;
}
.ck::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  background: var(--info);
}
.ck.warn::before {
  background: var(--warn);
}
.ck.crit::before {
  background: var(--crit);
}
.ck.ok::before {
  background: var(--ok);
}
.ck:hover {
  background: var(--surface-3);
}
.lay {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow: auto;
  margin-top: 8px;
}
.lay h5 {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--faint);
  margin: 0 0 3px;
}
.lay button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 12.5px;
}
.lay button span:last-child {
  color: var(--faint);
  font-family: var(--f-mono);
  font-size: 11px;
  white-space: nowrap;
}
.lay button:hover {
  background: var(--surface-2);
}
.lay button.on {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.ed-act {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ed-act .btn.primary,
.btn.wide {
  flex: 1 0 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.ed-lm {
  position: fixed;
  z-index: 60;
  min-width: 200px;
  max-height: calc(100vh - 16px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.ed-lm b {
  padding: 4px 8px 6px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.ed-lm button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.ed-lm button:hover:not([disabled]),
.ed-lm button:focus-visible {
  background: var(--accent-bg,rgba(120,180,140,.18));
  outline: none;
}
.ed-lm button[disabled] {
  opacity: .45;
  cursor: not-allowed;
}
.ed-lm .lm-opt i {
  width: 16px;
  height: 16px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.ed-lm .lm-opt[aria-checked=true] i {
  background: var(--accent);
  border-color: var(--accent);
}
.ed-lm .lm-opt[aria-checked=true] i::after {
  content: "";
  width: 8px;
  height: 4px;
  border: 2px solid var(--accent-ink);
  border-top: 0;
  border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.ed-lm .lm-opt[aria-checked=true] {
  font-weight: 600;
}
.ed-lm .lm-pic > svg {
  width: 30px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  padding: 1px;
  box-sizing: content-box;
  border: 1.5px solid transparent;
  opacity: .55;
}
.ed-lm .lm-pic[aria-checked=true] > svg {
  opacity: 1;
  border-color: var(--accent);
  background: var(--accent-bg,rgba(120,180,140,.18));
}
.ed-lm .lm-pic span {
  display: flex;
  flex-direction: column;
}
.ed-lm .lm-pic small {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
}
.ed-lm svg {
  width: 26px;
  height: 19px;
  flex: none;
}
.ed-lm small {
  display: block;
  font-size: 11px;
  color: var(--faint);
}
.parc-x {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  border-radius: 6px;
}
.parc-x:hover {
  color: var(--crit);
  background: var(--crit-bg);
}
.ed-alerts {
  display: none !important;
}
.ed-alerts {
  margin-bottom: 8px;
  border: 1px solid var(--warn);
  background: var(--warn-bg);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 1.4;
}
.ed-alerts.crit {
  border-color: var(--crit);
  background: var(--crit-bg);
}
.ed-alerts.ok {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}
.ed-alerts .al-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.ed-alerts .al-h b {
  font-size: 13px;
  color: var(--ink);
}
.ed-alerts .al-c {
  font-size: 11.5px;
  color: var(--muted);
}
.ed-alerts ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
}
.ed-alerts li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}
.ed-alerts li button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.4;
}
.ed-alerts li button:hover {
  text-decoration: underline;
}
.ed-alerts li i {
  font-style: normal;
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--warn);
}
.ed-alerts.crit li i {
  color: var(--crit);
}
.ed-alerts summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  cursor: pointer;
  list-style: none;
}
.ed-alerts summary::-webkit-details-marker {
  display: none;
}
.ed-alerts .al-m {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
}
.ed-alerts .al-m::before {
  content: "Voir plus \25be";
}
.ed-alerts details[open] .al-m::before {
  content: "Voir moins \25b4";
}
.ed-alerts ul {
  max-height: 36vh;
  overflow: auto;
}
.cad-dlg {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0;
  width: min(500px, calc(100vw - 32px));
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.wz {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
}
.wz .row2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.wz :is(input, select) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.wz-k {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--faint);
  margin-bottom: 6px;
}
.wz-on {
  padding: 10px 12px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
}
.wz-done {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.wz-done .wz-k {
  margin: 0;
}
.wz-done b {
  grid-column: 1;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}
.wz-done .wz-mod {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 4px 10px;
  font-size: 12.5px;
}
.wz-todo {
  padding: 8px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wz-msg {
  margin: 6px 0 0;
  min-height: 1em;
}
.wz-msg:empty {
  display: none;
}
.wz-n {
  font-weight: 600;
  color: var(--accent);
  margin: 4px 0 6px;
}
.wz-link {
  padding: 2px 0;
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: underline;
  justify-self: start;
  white-space: normal;
  text-align: left;
  max-width: 100%;
}
#wzGpsBox {
  margin-top: 6px;
}
.wz-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
}
.wz-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12.5px;
}
.cad-dlg::backdrop {
  background: rgba(10, 16, 12, .55);
}
.nc-sw svg {
  width: 18px;
  height: 18px;
}
.nc-tab {
  table-layout: fixed;
  width: 100%;
}
.nc-tab col.nc-n {
  width: 13%;
}
.pil-tabs {
  margin: 0 0 14px;
}
.pil-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#simBtn[aria-current=page],
#pilBtn[aria-current=page] {
  background: var(--accent);
  color: #fff;
}
.pt-page {
  position: fixed;
  top: var(--top);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--bg);
  padding: 16px 22px 18px;
}
.pt-page[hidden] {
  display: none;
}
.pt-page > .cad-in {
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px 22px;
}
.pt-page > .cad-in > .ph {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--surface);
  padding: 16px 0 10px;
  margin: 0 0 4px;
  border-bottom: 1px solid var(--line);
}
.pt-page > .cad-in > .ph h2 {
  margin: 0;
  font-size: 18px;
}
@media (max-width: 760px) {
  .pt-page {
    padding: 8px;
  }
  .pt-page > .cad-in {
    padding: 0 12px 14px;
  }
}
.pt-dlg .cad-in {
  grid-template-columns: minmax(0, 1fr);
}
.pt-dlg .cad-in > * {
  min-width: 0;
}
.pt-dlg .cad-in > .ph {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pt-vsw {
  position: static;
  margin-left: auto;
  box-shadow: none;
}
.pt-intro {
  margin: 2px 0 4px;
}
.pt-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 6px;
}
.pt-zoom {
  display: inline-flex;
  gap: 4px;
}
.pt-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 8px;
}
.pt-left {
  min-width: 0;
}
.pt-map {
  position: sticky;
  top: 66px;
  height: calc(100vh - var(--top) - 104px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--grass);
  display: flex;
  flex-direction: column;
}
.pt-map svg {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: block;
}
.pt-mhint {
  margin: 0;
  padding: 6px 10px;
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.pt-ml {
  fill: var(--ink);
  opacity: .65;
  text-anchor: middle;
  dominant-baseline: middle;
  font-family: var(--f-body);
  font-weight: 600;
  pointer-events: none;
}
.pt-mln {
  fill: none;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  opacity: .8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pt-mln.on {
  stroke: #e8590c !important;
  stroke-width: 5;
  opacity: 1;
}
.pt-mbx circle {
  fill: var(--surface);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
.pt-mbx.zt circle {
  stroke: var(--sun);
}
.pt-mbx.tabouret circle {
  stroke: var(--water);
}
.pt-mbx text {
  text-anchor: middle;
  font-family: var(--f-body);
  font-weight: 800;
  fill: var(--ink);
  pointer-events: none;
}
.pt-mbx.on circle {
  fill: #e8590c;
  stroke: #e8590c;
  stroke-width: 4;
}
.pt-mdv {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.pt-mdv.on {
  fill: #e8590c;
  stroke: #e8590c;
  stroke-width: 4;
}
.pt-mhit {
  fill: none;
  stroke: transparent;
  stroke-width: 12;
  vector-effect: non-scaling-stroke;
  pointer-events: stroke;
}
#ptMap [data-id],
#ptMap [data-goto] {
  cursor: pointer;
}
.pt-left .pt-pick {
  outline: 2px solid #e8590c;
  outline-offset: 2px;
  border-radius: 6px;
  background: color-mix(in srgb, #e8590c 9%, transparent);
}
.pt-left [data-hl]:hover {
  background: color-mix(in srgb, #e8590c 9%, transparent);
  border-radius: 6px;
}
.pt-adr {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cable-data);
  background: color-mix(in srgb, var(--cable-data) 10%, transparent);
  border-radius: 4px;
  padding: 0 4px;
  margin-right: 2px;
}
.pt-pil {
  display: block;
  margin: 2px 0 2px 34px;
  color: var(--muted);
  font-size: 11.5px;
}
.pt-prop > span {
  color: var(--muted);
}
.pt-prop small {
  font-style: italic;
}
@media (max-width: 900px) {
  .pt-split {
    grid-template-columns: 1fr;
  }
  .pt-map {
    position: relative;
    top: 0;
    height: 50vh;
    order: -1;
  }
}
.pt-sum {
  margin: 2px 0 10px;
  font-size: 13.5px;
  line-height: 1.5;
}
.pt-doc {
  display: flex;
  flex-direction: column;
}
.pt-root + .pt-root {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}
.pt-n {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pt-sub {
  margin: 4px 0 2px 14px;
  padding: 2px 0 4px 16px;
  border-left: 2px solid var(--c,var(--line-strong));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pt-via {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 4px;
  font-size: 12px;
  color: var(--muted);
}
.pt-via i {
  flex: none;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--c);
}
.pt-via small {
  color: var(--faint);
}
.pt-arr {
  font-weight: 800;
  color: var(--c);
}
.pt-j > .pt-via {
  color: var(--ink);
  font-weight: 700;
}
.pt-jlab {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  margin: 4px 0 0;
}
.pt-leaves {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 6px;
}
.pt-leaf {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--surface);
  min-width: 0;
}
.pt-leaf svg {
  flex: none;
  width: 28px;
  height: 20px;
}
.pt-leaf div {
  min-width: 0;
}
.pt-leaf b {
  display: block;
  font-size: 12.5px;
}
.pt-leaf small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.pt-leaf .pt-by {
  color: var(--faint);
}
.pt-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  margin: 4px;
}
.pt-k-free {
  border-color: var(--crit);
}
.pt-k-irr {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.pt-flow,
.pt-fl {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pt-flow > li {
  padding: 3px 0;
}
.pt-fl {
  margin: 2px 0 2px 12px;
  padding-left: 16px;
  border-left: 2px solid color-mix(in srgb, var(--fc,var(--line-strong)) 70%, transparent);
}
.pt-fl > li {
  position: relative;
  padding: 3px 0;
}
.pt-fl > li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 13px;
  width: 12px;
  border-top: 2px solid color-mix(in srgb, var(--fc,var(--line-strong)) 70%, transparent);
}
.pt-card.zt {
  --fc:var(--cable-hv);
}
.pt-card.tabouret {
  --fc:var(--water);
}
.pt-fn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  vertical-align: middle;
}
.pt-fn svg {
  width: 26px;
  height: 19px;
  flex: none;
}
.pt-fn small,
.pt-fout small {
  color: var(--muted);
}
.pt-fin {
  display: inline-block;
  margin-left: 10px;
  font-size: 11.5px;
  color: var(--info);
}
.pt-fout {
  font-size: 12.5px;
}
.pt-f1 {
  margin-left: 10px;
}
.pt-sec {
  color: var(--faint);
}
.pt-fins {
  list-style: none;
  margin: 2px 0 2px 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pt-fins .pt-fin {
  margin: 0;
}
.pt-card.dev {
  padding: 7px 10px;
}
.pt-card.dev header {
  margin: 0;
}
.pt-more {
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12.5px;
}
.pt-io2 {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin-top: 4px;
}
.pt-io2 > span:first-child {
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.pt-none {
  margin: 2px 0;
}
.pt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
  gap: 12px;
  margin-top: 6px;
}
.pt-cards > .pt-h,
.pt-cards > p {
  grid-column: 1/-1;
}
.pt-h {
  margin: 14px 0 0;
  font-size: 15px;
}
.pt-h small {
  color: var(--muted);
  font-weight: 600;
  margin-left: 4px;
}
.pt-card {
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface);
  scroll-margin-top: 80px;
  min-width: 0;
}
.pt-card.zt {
  border-color: var(--sun);
}
.pt-card.tabouret {
  border-color: var(--water);
}
.pt-card header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.pt-card [data-ptcol] {
  cursor: pointer;
  border-radius: 8px;
}
.pt-card [data-ptcol] > div {
  flex: 1;
  min-width: 0;
}
.pt-card [data-ptcol]:hover {
  background: var(--surface-2);
}
.pt-chev {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .15s;
}
.pt-card.pt-col .pt-chev {
  transform: rotate(-90deg);
}
.pt-card.pt-col {
  padding-top: 7px;
  padding-bottom: 7px;
}
.pt-card.pt-col > header {
  margin-bottom: 0;
}
.pt-card.pt-col > :not(header) {
  display: none;
}
.pt-colbar {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.pt-colbar .small {
  margin-left: 4px;
}
.pt-card header b {
  display: block;
}
.pt-card header small {
  color: var(--muted);
}
.pt-hl {
  animation: pilHl 1.6s ease;
}
.pt-tag {
  flex: none;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--sun) 16%, transparent);
}
.pt-card.tabouret .pt-tag {
  background: color-mix(in srgb, var(--water) 16%, transparent);
}
.pt-ic {
  width: 34px;
}
.pt-ic svg {
  width: 30px;
  height: 22px;
  display: block;
}
.pt-tab {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.pt-tab th {
  text-align: left;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  padding: 3px 6px;
  border-bottom: 1px solid var(--line);
}
.pt-tab td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pt-tab td small {
  display: block;
  color: var(--muted);
}
.pt-tab tr:last-child td {
  border-bottom: 0;
}
.pt-rc {
  line-height: 1.35;
}
.pt-rc small {
  color: var(--muted);
}
.pt-rd {
  font-size: 10.5px;
  font-weight: 700;
}
.pt-in {
  color: var(--info);
}
.pt-out {
  color: var(--accent);
}
.pt-cmd {
  color: var(--cable-lv);
}
.pt-dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 12px;
  margin: 0;
  font-size: 12.5px;
}
.pt-dl dt {
  color: var(--muted);
  font-weight: 700;
}
.pt-dl dd {
  margin: 0;
}
.pt-io {
  display: block;
}
.pt-io code {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--cable-data);
}
.pt-warn {
  color: var(--crit);
}
.pt-probs {
  margin: 8px 0;
  border: 1px solid var(--warn);
  background: var(--warn-bg);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12.5px;
}
.pt-probs summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--warn);
}
.pt-probs ul {
  margin: 6px 0 2px;
  padding-left: 18px;
}
@media (max-width: 760px) {
  .pt-dlg .cad-in > .ph {
    flex-wrap: wrap;
  }
  .pt-vsw {
    margin-left: 0;
    order: 3;
  }
  .pt-dl {
    grid-template-columns: 1fr;
  }
}
.cad-dlg.bom-dlg {
  width: min(1100px, 94vw);
  max-width: none;
  max-height: 88vh;
}
.bom-dlg .cad-in {
  max-height: calc(88vh - 2px);
  overflow: auto;
}
.bom-dlg .cad-in > .ph {
  position: sticky;
  top: -18px;
  z-index: 3;
  background: var(--surface);
  margin-top: -18px;
  padding-top: 18px;
  padding-bottom: 8px;
}
.bom-dlg .panel .ph {
  position: static;
}
.nc-go {
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.nc-go:hover {
  color: var(--ink);
}
.gs-hd {
  margin-bottom: 16px;
}
.gs-hd .ph {
  flex-wrap: wrap;
  gap: 10px;
}
.bp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.bp-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.bp-card small {
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.bp-card b {
  font-size: 14px;
}
.bp-card span {
  color: var(--muted);
  font-size: 12.5px;
}
.bp-cats {
  flex-wrap: wrap;
}
.bp-art {
  padding: 2px 4px 10px;
}
.bp-art > .pill {
  margin-left: 8px;
}
.bp-art h3 {
  margin: 12px 0 4px;
  font-size: 18px;
  font-family: var(--f-display);
}
.bp-art h4 {
  margin: 14px 0 4px;
  font-size: 14px;
}
.bp-art p {
  margin: 0 0 6px;
  line-height: 1.55;
}
.bp-r {
  color: var(--muted);
}
.bp-src {
  margin-top: 16px !important;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.gs-foadd {
  margin-left: 10px;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--accent);
  max-width: 260px;
}
.ed-vsw.gs-seg {
  position: static;
  box-shadow: none;
  top: auto;
  right: auto;
  z-index: auto;
}
.fp-card .ph {
  gap: 10px;
}
.fp-h {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.fp-h b {
  display: block;
  font-size: 15px;
}
.fp-h small {
  color: var(--muted);
}
.fp-h:hover b {
  color: var(--accent);
  text-decoration: underline;
}
.fp-o {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fp-o svg {
  width: 24px;
  height: 18px;
}
.fp-o .cu-sw {
  width: 22px;
  height: 22px;
}
.fp-sans {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fp-t td,
.fp-t th {
  font-size: 12.5px;
}
.gs-hd .zw-tabs {
  margin: 0;
}
.gs-hd p {
  margin: -4px 0 0;
}
.gs-sub {
  margin-top: 10px;
}
.cad-in {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
}
.cad-res {
  display: grid;
  gap: 6px;
  max-height: 230px;
  overflow: auto;
  align-content: start;
  grid-auto-rows: max-content;
}
.cad-res:not(:empty) {
  margin-top: 12px;
  padding-top: 1px;
}
.cad-res button {
  display: grid;
  gap: 3px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.35;
  min-height: max-content;
  flex-shrink: 0;
}
.cad-res button b {
  line-height: 1.3;
}
.cad-res button small {
  color: var(--muted);
  font-size: 11.8px;
  line-height: 1.35;
}
.cad-res button:hover {
  background: var(--surface-3);
}
.cad-res button[aria-checked=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cad-res button[aria-checked=true] b {
  color: var(--accent);
}
.empty-card {
  max-width: 640px;
  margin: 9vh auto;
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.empty-card p {
  color: var(--muted);
  line-height: 1.55;
}
.empty-act {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ed-saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 0 4px;
}
.ed-saved .ico {
  color: var(--ok);
}
.ed-saved.ko {
  color: var(--crit);
}
.ed-tipsbtn {
  border: 1px solid var(--crit);
  background: var(--crit-bg);
  color: var(--crit);
  border-radius: 999px;
  padding: 2px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.6;
}
.ed-tipsbtn:hover {
  background: var(--crit);
  color: #fff;
}
.c4pl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.c4pl > b,
.c4pl > small {
  flex-basis: 100%;
}
.c4pl > small {
  font-size: 11px;
  font-weight: 700;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}
.ph-q .ed-errbtn {
  flex: none;
  align-self: center;
  margin: 0 8px;
  white-space: nowrap;
}
#tipsList {
  max-height: min(60vh, 520px);
  overflow: auto;
  margin: 10px 0 4px;
}
.ed-wait {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ed-wait[hidden] {
  display: none;
}
.ed-welcome {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}
.ew-card {
  pointer-events: auto;
  display: grid;
  gap: 8px;
  width: min(400px, calc(100% - 24px));
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.ew-card b {
  font-family: var(--f-display);
  font-size: 16px;
}
.ew-card p {
  margin: 0 0 4px;
}
.ew-card .btn {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}
.btn.danger {
  color: var(--crit);
}
.btn.danger:hover {
  border-color: var(--crit);
  color: var(--crit);
}
details.panel > summary {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.row3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.gen {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  gap: 10px;
}
.gen b {
  font-size: 13px;
}
.ed-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.ed-step {
  display: grid;
  gap: 6px;
  padding: 10px 14px;
  position: relative;
  align-content: start;
}
.ed-step + .ed-step {
  border-left: 1px solid var(--line);
}
.ed-step + .ed-step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.ed-step.on + .ed-step::before {
  background: var(--accent-soft);
}
.ed-sb {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  color: var(--muted);
}
.ed-sb .num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  background: var(--surface-2);
  color: var(--muted);
}
.ed-sb b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}
.ed-sb small {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}
.ed-step.on {
  background: var(--accent-soft);
}
.ed-step.on .num {
  background: var(--accent);
  color: var(--accent-ink);
}
.ed-step.on b {
  color: var(--accent);
}
.ed-step select {
  margin-left: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 4px 6px;
  background: var(--surface);
  font-size: 12.5px;
  max-width: calc(100% - 42px);
}
@media (max-width: 860px) {
  .ed-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .ed-step + .ed-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .ed-step + .ed-step::before {
    display: none;
  }
}
.ed-crumb {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12.5px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px 6px;
  max-width: calc(100% - 20px);
}
.ed-crumb button {
  border: 0;
  background: none;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--muted);
}
.ed-crumb button:hover {
  background: var(--surface-2);
  color: var(--accent);
}
.ed-crumb b {
  padding: 2px 6px;
  color: var(--ink);
}
.ed-crumb i {
  font-style: normal;
  color: var(--faint);
}
.prog-dlg {
  width: min(860px, calc(100vw - 32px));
}
.prog-sub {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.prog-wk {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 12px;
  cursor: copy;
  -webkit-user-select: none;
  user-select: none;
}
.prog-wk .pw-bg {
  fill: var(--surface-2);
}
.prog-wk .pw-l {
  stroke: var(--line);
  stroke-width: 1;
}
.prog-wk .pw-h {
  font-size: 10px;
  fill: var(--muted);
}
.prog-wk .pw-d {
  font-size: 12px;
  font-weight: 700;
  fill: var(--ink);
}
.prog-wk .pw-r {
  fill: color-mix(in srgb, var(--cable-data) 55%, var(--surface));
  stroke: var(--cable-data);
  stroke-width: 1;
  cursor: pointer;
}
.prog-wk .pw-r.one {
  fill: color-mix(in srgb, var(--sun) 55%, var(--surface));
  stroke: var(--sun);
}
.prog-wk .pw-r.bad {
  fill: color-mix(in srgb, var(--crit) 45%, var(--surface));
  stroke: var(--crit);
}
.prog-wk .pw-r.on {
  stroke-width: 2.5;
}
.prog-l {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prog-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.prog-row.on {
  border-color: var(--pc,var(--cable-data));
  box-shadow: 0 0 0 1px var(--pc,var(--cable-data));
}
.prog-row input[type=time],
.prog-row input[type=date],
.prog-row input[type=number] {
  font: inherit;
  padding: 4px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.prog-row input[type=number] {
  width: 76px;
}
.prog-days {
  display: flex;
  gap: 3px;
}
.prog-days button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.prog-days button[aria-pressed=true] {
  background: var(--pc,var(--cable-data));
  border-color: var(--pc,var(--cable-data));
  color: var(--surface);
}
.prog-row .prog-msg {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--crit);
}
.prog-row .prog-msg.ok {
  color: var(--muted);
}
.prog-row.hl {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}
.prog-row .prog-msg.warn {
  color: var(--warn);
  font-weight: 600;
}
.prog-wk .pw-o {
  pointer-events: all;
  cursor: pointer;
}
.prog-leg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.prog-leg button {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 2px 4px;
  margin: 0 -4px;
  border-radius: 6px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.prog-leg button:hover,
.prog-leg button.hl {
  background: var(--accent-soft);
  color: var(--accent);
}
.prog-wk .pw-r.hl,
.prog-wk .pw-o.hl {
  fill: color-mix(in srgb, var(--accent) 40%, var(--surface)) !important;
  stroke: var(--accent) !important;
  stroke-width: 2 !important;
}
.prog-leg button[aria-pressed=false] {
  opacity: .4;
}
.prog-leg button[aria-pressed=false] i {
  filter: grayscale(1);
}
.prog-leg i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
}
.prog-leg .pl-cur {
  background: color-mix(in srgb, var(--cable-data) 55%, var(--surface));
  border: 1px solid var(--cable-data);
}
.prog-f {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.au-prog {
  cursor: pointer;
}
.ed-crumb .up {
  margin-left: 6px;
  border: 1px solid var(--crit);
  background: var(--crit-bg);
  color: var(--crit);
  font-weight: 700;
}
.ed-crumb .up:hover {
  background: var(--crit);
  color: var(--surface);
}
.ed-crumb .up.ok {
  border-color: var(--ok);
  background: var(--ok-bg);
  color: var(--ok);
}
.ed-crumb .up.ok:hover {
  background: var(--ok);
  color: var(--surface);
}
.v3bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.v3bar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.v3bar input[type=range] {
  width: 170px;
  accent-color: var(--sun);
}
.v3wrap {
  position: relative;
  height: min(72vh, 680px);
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
}
#miniMap .v3wrap {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  z-index: 1;
}
#miniMap.td3 svg.map {
  visibility: hidden;
}
#miniMap .v3wrap #v3comp,
#miniMap .v3wrap #v3lays {
  display: none;
}
.v3wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.v3lab {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.v3lab div {
  position: absolute;
  transform: translate(-50%, -100%);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  white-space: nowrap;
  border: 1px solid var(--line);
}
.v3lays {
  position: absolute;
  right: 10px;
  top: 76px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.v3lays[hidden] {
  display: none;
}
.v3lays .ed-cadbtn {
  width: 190px;
  justify-content: flex-start;
}
.v3lays .ed-cadbtn i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.v3lab div.n {
  background: var(--crit);
  color: #fff;
  border-color: var(--crit);
}
.v3msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  padding: 20px;
  text-align: center;
}
#miniMap .v3help {
  display: none;
}
.v3help {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  font-size: 11.5px;
  color: var(--muted);
  pointer-events: none;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 3px 8px;
  border-radius: 6px;
}
.g-ed.c4 {
  grid-template-columns: 300px minmax(0, 1fr) 340px;
}
#v-editor.wiz-on .g-ed {
  grid-template-columns: minmax(0, 1fr) 340px;
}
#v-editor.wiz-on :is(#edSteps, .ed-pal, #edSum, #edData, #edAlerts, #edSelN, [aria-label=Historique], .vhead .btn, .ed-crumb) {
  display: none !important;
}
#v-editor.wiz-on [aria-label=Outils] button:not([data-edtool=hand]),
#v-editor.wiz-on .ed-stack :is([data-edtool], #edMulti, #edMeasGrp, #edMeasBox) {
  display: none !important;
}
@media (max-width: 760px) {
  #v-editor.wiz-on .g-ed {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1280px) {
  .g-ed.c4 {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .g-ed.c4 {
    grid-template-columns: minmax(0, 1fr);
  }
}
#c4q {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--surface);
  margin-top: 4px;
}
.c4cats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
}
.c4combo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  padding: 2px 2px 2px 4px;
  margin: 6px 0 8px;
}
.c4combo:focus-within {
  border-color: var(--accent);
}
.c4combo #c4q {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: none;
  background: none;
  padding: 5px 4px !important;
  margin: 0 !important;
}
.c4cchip {
  flex: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.c4cbtn {
  flex: none;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 4px 8px;
  cursor: pointer;
}
.c4cdrop {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 4px);
  z-index: 20;
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  padding: 4px;
  max-height: 260px;
  overflow: auto;
}
.c4cdrop[hidden] {
  display: none;
}
.c4cdrop button {
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
}
.c4cdrop button:hover {
  background: var(--surface-2);
}
.c4cdrop button[aria-selected=true] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.zw-date {
  display: flex;
  align-items: center;
  gap: 6px;
}
.zw-date input {
  flex: 1;
  min-width: 0;
}
.zw-wk {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.zw-tgt {
  flex: none;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
.zw-tgt svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.zw-tgt:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.zw-tgt[aria-pressed=true] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.c4tl.pick {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.c4tl.pick .track {
  cursor: crosshair !important;
}
.zw-sec {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.zw-sec button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 5px 10px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.zw-sec button + button {
  border-left: 1px solid var(--line);
}
.zw-sec button .ico {
  color: var(--zc);
}
.zw-sec button i {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--faint);
}
.zw-sec button:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.zw-sec button[aria-selected=true] {
  background: var(--accent-soft);
  color: var(--accent);
}
@media (max-width: 640px) {
  .zw-sec button {
    padding: 4px 7px;
  }
}
.zw-lm {
  display: grid;
  gap: 3px;
  margin-bottom: 4px;
}
.zw-lm button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid transparent;
  background: none;
  border-radius: 8px;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.zw-lm button .ico {
  color: var(--zc);
}
.zw-lm button i {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--faint);
}
.zw-lm button:hover {
  background: var(--surface-2);
}
.zw-lm button[aria-selected=true] {
  background: color-mix(in srgb, var(--zc) 14%, var(--surface));
  border-color: var(--zc);
}
.c4cats button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.c4cats button[aria-pressed=true] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.c4grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-height: calc(100vh - 360px);
  min-height: 260px;
  overflow: auto;
  padding: 2px;
}
.ed-pal:has(.c4grid) {
  position: static;
}
.ctile {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  padding: 8px 4px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
  font-size: 11.3px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.ctile:hover {
  border-color: var(--accent);
}
.ctile.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
  background: var(--accent-soft);
}
.ctile .cg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.ctile .cg svg {
  width: 28px;
  height: 28px;
}
.ctile i {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.ctile i.in {
  background: var(--ok);
}
.cal-add {
  position: absolute;
  z-index: 3;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 24px;
  padding: 0 7px 0 6px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  opacity: .8;
}
.cal-add:hover,
.cal-add:focus-visible {
  opacity: 1;
  background: var(--accent);
  color: #fff;
}
.cal-add.on-line {
  margin-left: 0;
  transform: translateX(-50%);
  opacity: 1;
}
.cal-loss {
  position: absolute;
  z-index: 3;
  margin-left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--crit);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  cursor: help;
}
.cu-msg {
  margin: 0;
  font-size: 12.5px;
}
#timeline .tl-row.row-sel {
  background: color-mix(in srgb, var(--accent) 11%, transparent);
}
#timeline .tl-row.row-sel .rl {
  color: var(--accent);
}
#timeline .rl[data-rsel] {
  cursor: pointer;
}
#timeline .tl-row .rl {
  padding-left: 8px;
}
.cal-tip {
  position: fixed;
  z-index: 200;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.cal-tip b {
  font-size: 12.5px;
  font-weight: 700;
}
.cal-tip span {
  opacity: .9;
}
.cal-tip small {
  opacity: .65;
  font-size: 11px;
  margin-top: 2px;
}
.cal-tip .tip-crit {
  opacity: 1;
  color: #FF9B8C;
  font-weight: 700;
}
.cal-tip[hidden] {
  display: none;
}
.cal-vue {
  align-items: center;
}
.cal-zt {
  margin-right: auto;
}
.cal-z {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
#tkDlg {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
#tkDlg .tk-new {
  background: var(--surface);
}
.cs-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.cs-nav button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--accent);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cs-nav button:hover {
  background: var(--accent-soft);
}
.cs-nav b {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
}
.tk-drw .tk-in {
  overflow: auto;
  gap: 10px;
}
.tk-drw .tk-ph {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tk-newtop {
  flex: none;
  white-space: nowrap;
}
#tkDlg .tk-editb {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}
#tkDlg .tk-editb[hidden] {
  display: none;
}
.cs-win .tk-newtop {
  margin-left: auto;
}
.cs-win .tk-fermer + .tk-newtop {
  margin-left: 6px;
}
.tk-fermer {
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.tk-drw .cs-win #tkPen {
  margin-right: 4px;
}
.cs-win .tk-fermer,
.tk-drw .cs-win #tkPen {
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
}
.cs-win .cs-nav + .tk-newtop {
  margin-left: 8px;
}
.cs-win .tk-pen + .tk-pen.tk-newtop {
  margin-left: 2px;
}
.tk-bin:not(:disabled):hover {
  color: var(--crit);
}
.tk-bin:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.tk-avp .tk-pen + .tk-bin {
  margin-left: 2px;
}
.crop-dlg .crop-x {
  display: none;
}
#tkDlg .tk-h:empty {
  display: none;
}
.tk-fbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  cursor: pointer;
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
.tk-fbtn:hover {
  background: var(--accent-soft);
}
.tk-drw .tk-ph h2 {
  font-size: 16px;
  margin: 0;
}
.tk-alts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tk-alts button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.tk-alts button i {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border-radius: 1.5px;
}
.tk-alts button[aria-pressed=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}
.cal-vue {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin: 0 0 6px;
}
.cal-vue button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.cal-vue button[aria-pressed=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}
#timeline .cal-jal .track {
  min-height: 30px;
  background-image: none;
}
#timeline .cal-jal .rl small {
  font-size: 11px;
}
#timeline .cal-jal {
  border-top: 0;
}
.dr-x {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-right: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dr-x:hover {
  background: var(--accent-soft);
}
.tn-h .dr-x {
  margin-top: 1px;
}
.crop-dlg .dr-x {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 2;
}
.crop-dlg .cad-in .cs-win {
  left: 20px;
}
.dr-tab {
  position: absolute;
  top: 14px;
  left: -30px;
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 7px;
  width: 30px;
  box-sizing: border-box;
  padding: 12px 7px;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 2px 0 10px rgba(0, 0, 0, .16);
}
.dr-tab:hover {
  background: var(--accent-soft);
}
.dr-tab:focus:not(:focus-visible) {
  outline: none;
}
.dr-tab .dt-a {
  writing-mode: horizontal-tb;
  transform: rotate(180deg);
  font-size: 16px;
  line-height: 1;
}
dialog.side[open],
aside.tn-panel.side {
  overflow: visible;
}
dialog.side[open].cad-dlg,
aside.tn-panel.side,
#tkDlg.side[open],
.crop-dlg.side[open] {
  border: 1px solid var(--line-strong);
  border-right: 0;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .16);
  border-radius: 14px 0 0 14px;
  background: var(--surface);
}
#tkDlg.side .tk-new {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
#calDlg.side[open],
#cropDlg.side[open],
#tkDlg.side[open] {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.side .dr-tab,
.tn-panel.side .dr-tab {
  top: var(--tabtop,-1px);
}
.crop-dlg.side .cad-in {
  position: static;
  height: auto;
  box-sizing: border-box;
  overflow: auto;
}
.tn-panel.side .tn-in {
  overflow: auto;
  box-sizing: border-box;
}
.tn-panel:not(.side) .dr-tab,
dialog:not(.side) .dr-tab {
  left: auto;
  right: 10px;
  top: 10px;
  writing-mode: horizontal-tb;
  transform: none;
  width: auto;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: none;
}
.crop-dlg {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.crop-dlg .crop-dlg-b > .panel,
.crop-dlg #cropLife {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}
#calLife:has(.cs-empty) {
  background: none;
}
.crop-dlg .crop-dlg-b {
  height: 100%;
}
.cs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 340px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.cs-empty svg {
  width: 120px;
  height: 120px;
  opacity: .14;
  filter: grayscale(1);
}
.cs-empty svg path:first-child {
  fill: color-mix(in srgb, var(--accent) 42%, var(--surface));
}
.cs-empty p {
  margin: 0;
  max-width: 34ch;
}
#miniMap .cu-tab {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
#miniMap .cu-tab:hover,
#miniMap .cu-tab[aria-expanded=true] {
  background: var(--accent-soft);
}
.side[open],
.tn-panel.side {
  border-radius: 14px 0 0 14px;
}
.tn-panel.side {
  box-sizing: border-box;
  overflow: auto;
}
.cu-dlg.side[open] {
  animation: csSide .3s ease;
}
.bar-del {
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
  margin-left: -23px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: #b8bec4;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.bar-del:hover,
.bar-del:focus-visible,
.bar-del:active {
  background: var(--crit);
  color: #fff;
}
.bar-del .ico {
  display: block;
  width: 13px;
  height: 13px;
  margin: 0;
  flex: none;
}
.cs-ph {
  align-items: flex-start;
}
.cs-season {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.cs-season.ok {
  color: var(--ok);
}
.cs-season.warn {
  color: #b35c00;
}
.cs-needs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cs-need {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.cs-need b {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.cs-need b.nv {
  color: var(--faint);
}
.cs-need span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.25;
}
.cs-need em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.cs-win {
  display: none;
}
.crop-dlg .cs-win {
  display: flex;
  align-items: baseline;
  gap: 6px;
  position: absolute;
  top: 6px;
  left: 20px;
  right: 16px;
  color: var(--ink);
  white-space: nowrap;
  overflow: visible;
  z-index: 2;
}
.crop-dlg .cad-in {
  padding-top: 42px;
}
.crop-dlg .cs-where,
.crop-dlg .cs-sub {
  display: none;
}
.cs-place {
  field-sizing: content;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 2px 26px 2px 6px;
  margin-left: -7px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23476a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.cs-place:hover,
.cs-place:focus {
  border-color: var(--line-strong);
  background-color: var(--surface);
  outline: none;
}
.cs-surf {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.crop-dlg.side[open] {
  border-radius: 14px 0 0 14px;
  animation: csSide .3s ease;
}
@keyframes csSide {
  from {
    clip-path: inset(-24px -24px -24px 100%);
  }
  to {
    clip-path: inset(-24px -24px -24px -60px);
  }
}
.cs-np {
  font-size: .72em;
  font-weight: 600;
}
dialog:not([open]) {
  display: none !important;
}
.gt-tip {
  position: fixed;
  z-index: 10000;
  max-width: 300px;
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  white-space: pre-line;
  overflow-wrap: break-word;
}
.gt-tip[hidden] {
  display: none;
}
#miniMap .tdi-bar {
  position: absolute;
  right: 0;
  top: 140px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 4px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, .14);
  transition: top .28s ease;
}
#miniMap .tdi {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
#miniMap .tdi[hidden] {
  display: none;
}
#miniMap .tdi:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
#miniMap .tdi[aria-pressed=true] {
  background: var(--accent);
  color: #fff;
}
#miniMap .tdi[aria-pressed=true] .tk-dia {
  border-color: #fff !important;
}
#miniMap .tdi svg {
  width: 18px;
  height: 18px;
}
#miniMap .tdi .tk-dia {
  margin: 0 !important;
}
#miniMap .tdi-ed {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  border-radius: 9px 9px 0 0;
  margin-bottom: 3px;
}
.drawer-on #miniMap .tdi-bar {
  visibility: hidden;
}
#miniMap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: color-mix(in srgb, var(--surface) 0%, transparent);
  transition: background .25s ease;
}
body.drawer-dim #miniMap::after {
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}
body.drawer-dim #tdTime {
  z-index: 9;
}
.jt.zsel {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  box-shadow: inset 3px 0 0 var(--accent);
}
.jl-zs {
  margin: 0 0 6px;
}
#tdSecs .td-fbar {
  position: sticky;
  top: var(--stk0, 0px);
  z-index: 7;
  background: var(--surface);
  margin-top: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}
#tdSecs .crop-tab th {
  top: calc(var(--stk0, 0px) + var(--fbh, 0px));
}
.crop-tabw {
  grid-column: 1 / -1;
}
.ct-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.ct-sort:hover {
  color: var(--accent);
}
.ct-sort i {
  font-style: normal;
  font-size: 9px;
  color: var(--accent);
}
.crop-tab th.num .ct-sort {
  flex-direction: row-reverse;
}
.ccr.fini td {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--ink) 4%, transparent) 0 6px,
      transparent 6px 12px);
}
.ccr-fin {
  color: var(--muted);
}
.ccr.fini .ccr-bar i {
  background: color-mix(in srgb, var(--crop) 55%, var(--line));
}
#tdSecs .td-sech b .td-sdate {
  font-family: var(--font, inherit);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-left: 6px;
}
.crop-tab {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.crop-tab th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  font-weight: 700;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 2;
}
.crop-tab td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.crop-tab .num {
  text-align: right;
  white-space: nowrap;
}
.crop-tab td small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}
.ccr {
  cursor: pointer;
}
.ccr:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.ccr.zsel {
  background: color-mix(in srgb, var(--accent) 11%, transparent);
}
.ccr.zsel td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}
.ccr.sel {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.ccr:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.ccr-n {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ccr-n b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ccr-n .sw {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}
.ccr-n .sw svg {
  width: 20px;
  height: 20px;
}
.ccr-bar {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  margin-top: 4px;
  overflow: hidden;
  max-width: 110px;
}
.ccr-bar i {
  display: block;
  height: 100%;
  background: var(--crop);
}
.minimap svg.map,
.mapwrap svg.map {
  user-select: none;
  -webkit-user-select: none;
}
#timeline .tlin > .tl-years,
#timeline .tlin > .tl-head {
  position: sticky;
  z-index: 6;
  background: var(--surface);
}
.qui-menu .zw-jmc small {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.qui-menu [data-q] .qk {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1.6px solid var(--line-strong);
  border-radius: 4px;
  box-sizing: border-box;
  margin-right: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
}
.qui-menu [data-q][aria-checked=true] .qk {
  background: var(--accent);
  border-color: var(--accent);
}
.qui-menu [data-q][aria-checked=true] .qk::after {
  content: "";
  width: 7px;
  height: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}
#acctDlg.acct-dlg {
  width: min(680px, calc(100vw - 32px));
  height: min(860px, calc(100vh - 32px));
}
#acctDlg .acct-sec h3 {
  margin: 0;
}
#acctDlg .acct-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  text-align: left;
}
#acctDlg .acct-h::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s;
  margin: 0 4px 3px;
}
#acctDlg .acct-sec.open .acct-h::after {
  transform: rotate(-135deg);
  margin-bottom: -3px;
}
#acctDlg .acct-sec:not(.open) .acct-b {
  display: none;
}
#acctDlg .acct-sec.open .acct-b {
  margin-top: 12px;
}
#acctDlg .acct-sec:not(.open) {
  cursor: pointer;
}
#acctDlg .acct-sec:not(.open):hover {
  border-color: var(--accent);
}
#acctDlg .acct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
#acctDlg .acct-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
#acctDlg .acct-form label small {
  font-weight: 500;
}
#acctDlg .acct-form input {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
#acctDlg .acct-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
#acctDlg .acct-form > p,
#acctDlg .acct-form > .btn {
  grid-column: 1 / -1;
  margin: 0;
}
#acctDlg .acct-form > .btn {
  justify-self: start;
}
@media (max-width: 560px) {
  #acctDlg .acct-form {
    grid-template-columns: 1fr;
  }
  #acctDlg .acct-form > span {
    display: none;
  }
}
#acctDlg .cad-in {
  gap: 12px;
}
#acctDlg .acct-sec {
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
#acctDlg .acct-sec h3 {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin: 0 0 10px;
}
#acctDlg .acct-sec > p.small {
  margin-top: -4px !important;
}
#acctDlg .acct-aff,
#acctDlg .acct-affp,
#acctDlg .acct-affn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
}
#acctDlg .acct-aff > b,
#acctDlg .acct-affp > b,
#acctDlg .acct-affn > b {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 2px 0 0;
}
#acctDlg .acct-quil {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
}
#acctDlg .acct-quil[hidden] {
  display: none;
}
#acctDlg .acct-aff label,
#acctDlg .acct-affp label,
#acctDlg .acct-affn label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
  transition:
    background .15s,
    border-color .15s,
    color .15s;
}
#acctDlg .acct-aff label:hover,
#acctDlg .acct-affp label:hover,
#acctDlg .acct-affn label:hover {
  border-color: var(--accent);
}
#acctDlg .acct-aff label:has(input:checked),
#acctDlg .acct-affp label:has(input:checked),
#acctDlg .acct-affn label:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
#acctDlg .acct-aff input,
#acctDlg .acct-affp input,
#acctDlg .acct-affn input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
#acctDlg .acct-aff label:has(input:focus-visible),
#acctDlg .acct-affp label:has(input:focus-visible),
#acctDlg .acct-affn label:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#acctBody {
  display: grid;
  gap: 14px;
}
#acctDlg .acct-sec {
  padding: 18px 20px;
}
#acctDlg .acct-sec:not(.open) {
  cursor: pointer;
}
#acctDlg .acct-sec.open .acct-b {
  margin-top: 16px;
}
#acctDlg .acct-sec dl {
  gap: 10px 24px;
  font-size: 14px;
}
#acctDlg .acct-b > p.small {
  margin-top: 14px !important;
  line-height: 1.5;
}
#gestionBody #gsCompte {
  padding: 20px;
}
#acctDlg #acctAffCur {
  align-self: flex-start;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
#acctDlg #acctAffCur:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#v-today .g-today > .stack:last-child > #tdSecs {
  flex: 1 1 0;
  min-height: 0;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}
#tdSecs > :not([hidden]) {
  flex: 1 1 0;
  min-height: 0;
}
#tdSecs > .td-sec:not([hidden]) {
  display: flex;
  flex-direction: column;
}
#tdSecs > .td-sec > .td-secb {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
#tdSecs > #persoTasks:not([hidden]) {
  display: flex;
  flex-direction: column;
}
#tdSecs > #persoTasks > #ptList {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-right: -6px;
  padding-right: 6px;
}
@media (max-width: 1180px) {
  #v-today .g-today > .stack:last-child > #tdSecs,
  #tdSecs > :not([hidden]),
  #tdSecs > .td-sec > .td-secb,
  #tdSecs > #persoTasks > #ptList {
    flex: none;
    min-height: auto;
    overflow: visible;
  }
}
#miniMap #tnTab,
#tnPanel #tnX,
#miniMap .cb-fab,
#cbTab {
  padding: 14px 7px !important;
  line-height: 1.5 !important;
  gap: 7px !important;
  font-size: 12.5px !important;
}
#tnPanel #tnX,
#cbTab {
  background: var(--accent-soft) !important;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .16) !important;
}
#miniMap #tnTab .tk-dia,
#tnPanel #tnX .tk-dia {
  width: 10px !important;
  height: 10px !important;
  margin: 0 2.5px !important;
}
#miniMap .cb-fab svg,
#cbTab svg {
  width: 15px !important;
  height: 15px !important;
}
#timeline .cal-usr-h {
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border-top: 1px solid var(--line-strong);
}
#timeline .cal-usr-h .rl b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  color: var(--ink);
}
#timeline .cal-usr-h.na .rl b {
  color: var(--muted);
}
#timeline .cal-ldtrk {
  position: relative;
  min-height: 40px;
}
#timeline .cal-ld {
  position: absolute;
  bottom: 4px;
  background: color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 3px 3px 0 0;
  max-height: calc(100% - 8px);
}
#timeline .cal-ld:hover {
  background: var(--accent);
}
#timeline .cal-usr-z .rl {
  padding-left: 14px;
}
#timeline .cal-usr-tg {
  cursor: pointer;
}
#timeline .cal-usr-tg .cal-chev {
  flex: none;
  width: 13px;
  height: 13px;
  transition: transform .15s;
}
#timeline .cal-usr-tg[aria-expanded=true] .cal-chev {
  transform: rotate(90deg);
}
#timeline .cal-usr-tg:hover b {
  text-decoration: underline;
}
#tkDlg .tk-editb {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  gap: 6px;
}
#tkDlg .tk-in .tk-line > .tk-lab:first-child {
  width: 130px;
  min-width: 130px;
  flex: none;
}
#tkDlg .tk-note {
  grid-template-columns: 130px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}
#tkDlg .tk-note > .tk-note-h {
  grid-column: 1;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 4px;
}
#tkDlg .tk-note > :not(.tk-note-h) {
  grid-column: 2;
}
#simBtn,
#pilBtn,
#edEnter {
  display: none !important;
}
#miniMap .tdi-bar .tdi-ed,
#miniMap .tdi-bar .tdi-ed:hover {
  color: var(--warn) !important;
}
#miniMap .tdi-bar .tdi-sep {
  display: block;
  width: 60%;
  height: 1px;
  margin: 4px auto;
  background: var(--line-strong);
}
#miniMap .tdi-bar .tdi-sep[hidden] {
  display: none;
}
.td-sec .view.embed .pil-tabs {
  flex-wrap: wrap;
}
.cal-tip .tip-who {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cal-tip .tip-who svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.cal-tip .tip-pc {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-tip .tip-pc i {
  display: inline-block;
  width: 46px;
  height: 5px;
  border-radius: 3px;
  background:
    linear-gradient(
      90deg,
      #9fd3a9 var(--p),
      rgba(255, 255, 255, .25) var(--p));
}
.cal-tip .tip-cu {
  margin-top: 4px;
}
.cal-tip .tip-cu .jt-cu {
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-direction: row !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}
.cal-tip .tip-cu .jt-cu svg {
  width: 24px !important;
  height: 24px !important;
  flex: none;
}
.cal-tip .tip-cu .jt-cu .jt-cun {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap;
}
.cal-tip .tip-cu .jt-cu .jt-cun,
.cal-tip .tip-cu .jt-cu b {
  color: #fff;
  font-size: 12px;
  opacity: 1;
}
.cs-opt.cs-pil {
  cursor: pointer;
}
.cs-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin-left: -7px;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.cs-pick > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-pick .ico {
  color: var(--accent);
  transition: transform .15s;
}
.cs-pick:hover,
.cs-pick:focus-visible,
.cs-pick[aria-expanded=true] {
  border-color: var(--line-strong);
  background: var(--surface);
  outline: none;
}
.cs-pick[aria-expanded=true] .ico {
  transform: rotate(180deg);
}
.zw-jmenu.cs-menu {
  max-height: min(420px, 70vh);
  min-width: 260px;
  z-index: 200;
  display: block;
  overflow: auto;
}
.cs-menu .cs-mh {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 6px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-menu .cs-mh:first-child {
  margin-top: 2px;
}
.cs-menu .cs-mh small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--faint);
}
.cs-menu .tk-tp {
  width: 100%;
  padding-left: 16px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
}
.cs-menu .tk-tp:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.cs-menu .tk-tp small {
  margin-left: auto;
}
.cs-opt svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cs-opt svg *,
.te-it svg * {
  fill: none !important;
  stroke: currentColor !important;
}
.cs-opt svg[viewBox="0 0 24 24"],
.te-it svg[viewBox="0 0 24 24"] {
  stroke-width: 1.75;
}
#calDlg .dr-tab[aria-selected=false] {
  background: var(--surface);
  color: var(--muted);
  box-shadow: 1px 0 6px rgba(0, 0, 0, .1);
}
#calDlg .dr-tab[aria-selected=false]:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.te-h {
  font-size: 14px;
  margin: 14px 0 8px;
}
.te-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.te-it {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font: inherit;
  color: var(--ink);
  text-align: left;
}
button.te-it {
  cursor: pointer;
}
button.te-it:hover {
  border-color: var(--accent);
}
.te-it[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.te-it svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.te-it span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.te-it b {
  font-size: 13px;
}
.te-it small {
  font-size: 11.5px;
  color: var(--muted);
}
#calDlg .cad-in {
  grid-template-columns: minmax(0, 1fr);
}
#calDlg.side > .cad-in,
#cropDlg.side > .cad-in {
  padding-top: 50px;
}
#calDlg.side .cad-in .cs-win,
#cropDlg.side .cad-in .cs-win {
  top: 0;
  left: 0;
  right: 14px;
  padding: 4px 6px 4px 20px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-radius: 14px 0 0 0;
  align-items: center;
}
#calDlg .crop-dlg-b,
#calLife,
#calTech {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.te-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.te-v > .view.te-embed > .vhead {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 0 10px;
  padding: 0;
  gap: 12px;
}
.te-v > .view.te-embed > .vhead > div {
  display: none;
}
.te-v .switch {
  white-space: nowrap;
}
.te-v {
  margin-top: 10px;
  min-width: 0;
  overflow-x: auto;
}
#calDlg.te-on .cad-in {
  overflow-x: hidden;
}
.te-v .tscroll,
.te-v table {
  max-width: 100%;
}
.te-v > .view.te-embed {
  display: block;
  padding: 0;
  margin: 0;
}
.te-v #pilTabs,
.te-v #pilHead {
  display: none;
}
.cs-opt.cs-pil:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
}
.cs-opt svg use {
  stroke: currentColor;
}
.pil-prog {
  border: 1px solid var(--line-strong);
  margin-bottom: 12px;
}
.pil-prog.pil-hl {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pilHl 1.6s ease;
}
@keyframes pilHl {
  0% {
    background: var(--accent-soft);
  }
  100% {
    background: var(--surface);
  }
}
.pil-prog .ph h2 {
  font-size: 15px;
}
.pp-dec {
  margin: 0 0 6px;
}
.pp-t {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.pp-t td {
  padding: 3px 6px;
  border-bottom: 1px solid var(--line);
}
.pp-t td.num {
  text-align: right;
  white-space: nowrap;
}
.pp-l {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}
#plcList tr.pil-hlr td {
  background: var(--accent-soft);
}
.nc-syn {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  flex-basis: 100%;
  margin: 4px 0 0 34px;
  font-size: 12px;
  color: var(--muted);
}
.nc-syn b {
  color: var(--ink);
  font-weight: 600;
}
.mat-tree summary:has(.nc-syn) {
  flex-wrap: wrap;
}
.nc-date.alt {
  color: var(--crit);
}
.nc-by {
  margin-right: 8px;
}
.nc-by button {
  font-size: 12.5px;
}
#v-nomc .nc-head {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--surface);
  padding-top: 2px;
  box-shadow: 0 1px 0 var(--line);
}
.td-sech {
  flex-wrap: nowrap;
}
.td-sech > b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.td-sech .td-seg {
  margin-left: auto;
}
#tdSecs .pil-head {
  align-items: center;
  row-gap: 8px;
}
#tdSecs .pil-head > #pilTabs {
  flex: none;
  margin-left: auto;
}
#tdSecs .td-sec:has(#pilTabs) .td-secb .panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface);
}
#tdSecs .td-sec:has(#pilTabs) .td-secb .panel + .panel {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
#tdSecs .td-sec:has(#pilTabs) .td-secb .pil-prog {
  background: var(--surface-2);
}
#tdSecs .td-sec:has(#pilTabs) .td-secb .pil-prog.pil-hl {
  border-color: var(--accent);
}
#tdSecs .td-sec:has(#pilTabs) .pil-head {
  margin-bottom: 14px;
}
#tdSecs .td-sec:has(#pilTabs) .td-secb .grid {
  gap: 12px;
}
.td-seg {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  padding: 3px !important;
  margin: 0;
  border: 1px solid var(--line-strong) !important;
  border-radius: 999px !important;
  background: var(--surface-2) !important;
  flex: none;
  width: auto !important;
}
.td-seg button {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  height: auto !important;
  border: 0 !important;
  background: none !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  font: inherit;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  margin: 0 !important;
}
.td-seg button:hover {
  color: var(--ink) !important;
  background: var(--surface) !important;
}
.td-seg button[aria-pressed=true],
.td-seg button[aria-selected=true] {
  background: var(--accent) !important;
  color: #fff !important;
}
.td-seg button svg,
.td-seg button .ico {
  width: 14px;
  height: 14px;
  flex: none;
}
.td-seg button .tk-dia {
  width: 10px !important;
  height: 10px !important;
  margin: 0 2px !important;
}
.td-seg button[aria-pressed=true] .tk-dia {
  border-color: #fff !important;
}
.td-seg button:is([aria-pressed=true], [aria-selected=true]) :is(svg, .ico, svg use) {
  color: #fff !important;
  stroke: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.mat-row.nc-row {
  grid-template-columns: auto minmax(0, 1fr) 124px 112px 140px 72px;
}
.nc-sum .mat-rn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mat-tree summary.nc-sum {
  display: grid;
  grid-template-columns: 6px auto minmax(0, 1fr) 124px 112px 140px 72px;
  gap: 4px 12px;
  align-items: center;
  flex-wrap: nowrap;
}
.nc-sum .mat-rl {
  font-size: 12.5px;
  color: var(--muted);
}
.nc-sum .num {
  text-align: right;
  white-space: nowrap;
}
.nc-sum .pill {
  margin-left: 6px;
}
.pil-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.pil-head #pilLieu {
  flex: 0 1 auto;
  min-width: 180px;
  max-width: 280px;
  height: 34px;
}
.pil-head .pil-tabs {
  flex: 1 1 auto;
}
.td-sec .view.embed .tscroll:has(> svg) {
  overflow-x: hidden;
}
.td-sec .view.embed .tscroll > svg {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100%;
  height: auto;
}
.td-sech > .cal-vue {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 0 0 6px;
  flex-wrap: nowrap;
}
.td-sech > .cal-vue .cal-zt {
  font-family: var(--font, inherit);
  font-weight: 500;
  flex: 1 1 0;
  min-width: 60px;
  white-space: normal;
  line-height: 1.25;
}
.td-sech > .cal-vue button {
  flex: none;
  padding: 3px 9px;
}
.td-sech:has(> .cal-vue) > b {
  flex: none;
}
.td-sech > .cal-vue + .wx-x {
  margin-left: 4px;
}
#timeline > .cal-vue {
  position: sticky;
  z-index: 6;
  background: var(--surface);
  margin-bottom: 0;
  padding-bottom: 6px;
}
#tdSecs .td-fbar.in {
  background: var(--surface) !important;
  margin-bottom: 0;
  padding-bottom: 12px;
}
#v-log .g-2 {
  grid-template-columns: minmax(0, 1fr);
}
#v-log .stack[hidden],
#v-log .panel[hidden] {
  display: none;
}
#tdSec-log .td-secb .panel > .ph {
  position: sticky;
  top: var(--fbh, 0px);
  z-index: 6;
  background: var(--surface);
  padding-top: 6px;
  padding-bottom: 6px;
  margin-top: 0;
}
#timeline .tl-past {
  position: absolute;
  left: 150px;
  top: calc(var(--hh, 34px) + 4px);
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--ink) 7%, transparent) 0 6px,
      color-mix(in srgb, var(--ink) 4%, transparent) 6px 12px);
}
#calDlg.cs-past[open],
#cropDlg.cs-past[open],
#calDlg.side.cs-past[open],
#cropDlg.side.cs-past[open],
#tkDlg.cs-past[open],
#tkDlg.side.cs-past[open],
#tkThr.cs-past[open],
#tkThr.side.cs-past[open] {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--ink) 4%, transparent) 0 6px,
      color-mix(in srgb, var(--ink) 1.5%, transparent) 6px 12px),
    color-mix(in srgb, var(--muted) 12%, var(--surface));
}
.cs-past .cs-need {
  background: color-mix(in srgb, var(--muted) 10%, var(--surface));
}
.cs-past .tk-new {
  background: transparent;
}
.cs-win .cs-opts {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  flex: none;
}
.cs-opt {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--accent);
  cursor: help;
}
.cs-opt svg {
  width: 20px;
  height: 20px;
}
.cs-opt::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: max-content;
  max-width: 220px;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease .1s, visibility 0s linear .22s;
}
.cs-opt:hover::after,
.cs-opt:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transition: opacity .12s ease .1s;
}
.cs-st {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
}
.cs-obj {
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
}
.cs-obj b {
  color: var(--ink);
}
.cs-where {
  color: var(--ink);
  font-weight: 700;
}
.cad-dlg.crop-dlg[open] {
  width: min(680px, calc(100vw - 32px));
}
.crop-dlg[open] {
  position: fixed;
  inset: auto;
  top: 84px;
  margin: 0;
  z-index: 70;
  max-height: calc(100vh - 100px);
  overflow: auto;
  animation: cuIn .25s ease;
}
.crop-dlg .cad-in {
  position: relative;
  padding-top: 34px;
}
.crop-x {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 2;
}
.crop-dlg [data-side=crops],
.crop-dlg [data-side=cal],
.crop-dlg [data-side=ed] {
  display: none;
}
.cu-chain {
  margin-top: 6px;
}
.cu-dlg .tk-in > .cu-det {
  max-height: 34vh;
  overflow: auto;
}
.cu-dlg .tk-in > .cu-list {
  min-height: 220px;
}
.cu-rm {
  background: var(--crit);
  border-color: var(--crit);
  color: #fff;
}
.cu-rm:hover {
  filter: brightness(.92);
  color: #fff;
}
.cu-det .cu-why {
  margin-top: 8px;
}
.cad-dlg.cu-dlg {
  width: min(940px, calc(100vw - 32px));
}
.cu-dlg .tk-in {
  height: 100%;
}
.cu-body,
.cu-dlg .tk-in > .cu-body {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}
.cu-body > .cu-list {
  overflow: visible;
}
.cu-addtop {
  margin-left: auto;
  flex: none;
  align-self: center;
  white-space: nowrap;
}
.cu-stages {
  margin: 6px 0 2px;
}
.cu-stages .sb {
  cursor: pointer;
  border-radius: 8px;
  padding-bottom: 3px;
}
.cu-stages .sb:hover small {
  color: #e8590c;
}
.cu-stages .sb.on small {
  color: #e8590c;
  font-weight: 800;
}
.cu-dlg[open] {
  position: fixed;
  inset: auto;
  top: 84px;
  margin: 0;
  z-index: 70;
  height: calc(100vh - 110px);
  max-height: 820px;
  animation: cuIn .28s ease;
}
@keyframes cuIn {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}
.cu-dlg .cad-in {
  padding: 16px 18px;
}
.cu-dlg .tn-h {
  align-items: flex-start;
  gap: 10px;
}
.cu-dlg .tn-h .wx-x {
  margin-left: auto;
}
.cu-bar {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.cu-bar .zw-f {
  margin: 0;
}
.cu-bar input[type=search] {
  flex: 1;
  min-width: 200px;
  font: inherit;
  font-size: 13px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.cu-dlg .tk-in > .cu-list {
  flex: 1 1 auto;
  min-height: 160px;
  overflow: auto;
  padding-right: 2px;
}
.cu-list .c4grid {
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  max-height: none;
  min-height: 0;
  overflow: visible;
  margin-bottom: 8px;
}
.cu-det {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
p.cu-det {
  margin: 0;
}
.cu-dh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.cu-lv {
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--lv);
  color: var(--ink);
}
.cu-why {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 12.5px;
  display: grid;
  gap: 3px;
  max-height: 96px;
  overflow: auto;
}
.cu-why li {
  display: flex;
  gap: 7px;
  align-items: baseline;
}
.cu-why i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-1px);
}
.c4cal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.c4top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
.c4top button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  padding: 2px 9px;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}
.c4top .c4best {
  color: var(--ok);
  border-color: var(--ok);
}
.c4b {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}
.c4b.plant {
  background: var(--ok);
}
.c4b.harv {
  top: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--crop) 55%, transparent);
}
.c4b.pc {
  background: color-mix(in srgb, var(--soil) 75%, transparent);
}
.c4b.mine {
  background: var(--crop);
}
.c4b.mine.h {
  background: color-mix(in srgb, var(--crop) 70%, var(--ink));
}
.c4cur {
  position: absolute;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  pointer-events: none;
  z-index: 3;
}
.c4cur::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.c4why {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.c4why div {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 8px;
  font-size: 12.3px;
  line-height: 1.35;
}
.c4why i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  display: block;
}
.c4step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.c4step b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  flex: none;
}
.c4sel {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--surface);
  font-size: 12.5px;
}
.c4units {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.c4units button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  min-width: 32px;
}
.c4units button[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}
.c4selinfo {
  margin: 6px 2px 0;
}
.rainbars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  height: 64px;
  margin-top: 8px;
  align-items: end;
}
.rainbars span {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  text-align: center;
}
.rainbars i {
  align-self: end;
  display: block;
  background: var(--water);
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.rainbars small {
  font-size: 9.5px;
  color: var(--faint);
}
.ctile .dg {
  position: absolute;
  top: 4px;
  left: 5px;
  color: var(--crit);
  line-height: 0;
}
.ctile .dg .ico {
  width: 14px;
  height: 14px;
}
.ctile .c4main {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 800;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 0 6px;
  white-space: nowrap;
}
.ctile.on {
  padding-bottom: 10px;
}
.c4chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2px 0 0;
}
.c4chips button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 600;
}
.c4chips i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.c4leg {
  margin: 8px 2px 0;
  line-height: 1.6;
}
.c4leg i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin: 0 4px 0 6px;
  vertical-align: -1px;
}
.c4leg .dg,
.c4sp .dg,
.c4mix .dg {
  color: var(--crit);
  display: inline-flex;
  vertical-align: -3px;
}
.c4sp .sg > span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
}
.c4sp .sg.far {
  box-shadow: 0 0 0 1.5px var(--crit) inset;
}
.c4far {
  display: block;
  color: var(--crit);
  font-size: 11px;
  line-height: 1.3;
  margin-top: 3px;
}
.c4sp {
  border-left: 4px solid var(--crop);
  padding-left: 10px;
  margin-bottom: 14px;
}
.c4sp.assoc {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.c4tgt {
  margin: 0 0 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface-2);
}
.c4busy {
  font-size: 12px;
  margin: 8px 0 4px;
  padding: 8px 10px;
}
.lnk {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}
.c4list {
  max-height: calc(100vh - 300px);
  min-height: 300px;
  overflow: auto;
  padding: 2px;
}
.c4list .c4grid {
  max-height: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
  margin-bottom: 6px;
}
.c4h {
  display: flex;
  flex-direction: column;
  margin: 10px 2px 6px;
  font-size: 13px;
  font-weight: 800;
}
.c4h small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.c4h.rec span {
  color: var(--ok);
}
.c4cat {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
  margin: 10px 2px 5px;
}
.ctile .cp {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.ctile .cd {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--d);
  background: color-mix(in srgb, var(--d) 14%, transparent);
}
.c4badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.c4top input[type=date] {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--surface);
  font-size: 12.5px;
}
.c4win {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.c4tl {
  position: relative;
}
.c4tl .tl-head .months {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  letter-spacing: .02em;
}
.c4tl .tl-head .months span {
  padding: 0 0 4px 4px;
  font-size: 10.5px;
  overflow: hidden;
  white-space: nowrap;
}
.c4rows {
  max-height: 260px;
  overflow: auto;
}
.tl-years {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.tl-years .yrs {
  display: flex;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .04em;
}
.tl-years .yrs span {
  padding: 0 0 2px 5px;
  border-left: 2px solid var(--line-strong);
  white-space: nowrap;
  overflow: hidden;
}
.tl-years .yrs span:first-child {
  border-left: 0;
  padding-left: 4px;
}
.yr-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px solid var(--line-strong);
  pointer-events: none;
  z-index: 1;
}
.c4tl.yr .c4tod {
  top: calc(var(--hh, 34px) + 4px);
}
.c4tl.yr .c4cur {
  top: var(--hh, 34px);
}
.c4tl {
  -webkit-user-select: none;
  user-select: none;
}
.c4tl .track {
  background-image: none;
}
.tl-years .yrs.tk,
.tl-head .months.tk {
  position: relative;
  display: block;
}
.tl-years .yrs.tk {
  height: 17px;
}
.tl-head .months.tk {
  height: 18px;
}
.tl-years .yrs.tk span {
  position: absolute;
  top: 0;
  box-sizing: border-box;
}
.tl-head .months.tk span {
  position: absolute;
  top: 0;
  padding: 0 0 4px 4px;
  border-left: 0;
  white-space: nowrap;
}
.tl-gl {
  position: absolute;
  top: var(--hh, 35px);
  bottom: 0;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.tl-gl.l-m {
  background: var(--line-strong);
}
.tl-gl.l-d {
  background: color-mix(in srgb, var(--line) 55%, transparent);
}
.c4tl .tl-head.tlr-w .months span,
.c4tl .tl-head.tlr-d .months span {
  font-weight: 600;
  color: var(--faint);
  font-size: 10px;
}
.tl-band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
  z-index: 6;
}
.tl-band::after {
  content: attr(data-lab);
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}
.c4win .tl-zout {
  margin-right: 8px;
}
.c4win button[data-cwz],
.c4win #c4wz {
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--surface);
  border-radius: 6px;
  padding: 1px 7px;
  cursor: pointer;
}
.c4tl .track.zw-jtrk.ro {
  cursor: default;
  min-height: 26px;
}
.ed-calv {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--grass);
  padding: 58px 172px 14px 12px;
  overflow: auto;
}
.ed-calv[hidden] {
  display: none;
}
.ed-canvas .ed-crumb {
  z-index: 3;
}
.ed-calp {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.ed-calp .c4rows {
  max-height: none;
}
.ed-calp .rl .lnk {
  font: inherit;
  font-weight: 700;
  padding: 0;
}
.ed-calp .rl small {
  display: block;
}
.ed-vsw {
  position: absolute;
  top: 10px;
  right: 78px;
  z-index: 4;
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.ed-vsw[hidden] {
  display: none;
}
.ed-vsw button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 6px 11px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.ed-vsw button + button {
  border-left: 1px solid var(--line);
}
.ed-vsw button:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.ed-vsw button[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--accent);
}
.ed-calp .zw-tk:first-of-type {
  border-top: 0;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .ed-vsw {
    top: 56px;
    right: 10px;
  }
  .ed-vsw button {
    padding: 5px 8px;
  }
}
.calv-off {
  display: none !important;
}
@media (max-width: 760px) {
  .ed-calv {
    padding: 58px 10px 14px;
  }
}
.c4tl .tl-row .rl {
  padding: 6px 8px 6px 0;
  font-size: 12.5px;
}
.c4tl .track {
  min-height: 38px;
}
.c4tl .track.c4trk {
  cursor: copy;
}
.c4tl .bar {
  height: 22px;
}
.c4tl .bar.past {
  opacity: .6;
}
.c4tl .bar.past,
.c4tl .bar.current,
.c4tl .bar.planned,
.c4tl .bar.proposed,
.c4tl .bar.draft {
  cursor: grab;
}
.c4tl .bar.draft {
  outline: 2px dashed var(--ink);
  outline-offset: 1px;
  z-index: 2;
}
.c4tl .bar.last {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.c4ref .track {
  min-height: 26px;
}
.c4ref .c4b {
  top: 4px;
  bottom: auto;
  height: 18px;
}
.c4none {
  position: absolute;
  left: 8px;
  top: 6px;
  font-size: 11px;
  color: var(--faint);
}
.c4tod {
  top: 22px;
}
.c4tl .c4cur {
  top: 18px;
}
.c4how {
  margin: 6px 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.c4hist {
  display: grid;
  gap: 6px;
}
.c4hist > div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: start;
  font-size: 12.5px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface-2);
}
.c4hist > div.last {
  box-shadow: 0 0 0 2px var(--accent) inset;
}
.c4hist i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-top: 4px;
}
.c4hist small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.c4perma {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
}
.c4perma input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.wz-end {
  margin-top: 12px;
}
.wz-end .btn {
  width: 100%;
  justify-content: center;
}
.c4perma small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}
.zw-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 10px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 8px 10px;
  margin-bottom: 8px;
}
.zw-bar[hidden] {
  display: none;
}
.zw-bar {
  flex-wrap: nowrap;
}
.zw-bar .zw-crumb {
  flex: 0 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
.zw-bar .zw-crumb b {
  flex: 0 1 auto;
  min-width: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zw-bar .zw-crumb button {
  flex: none;
  white-space: nowrap;
}
.zw-bar .zw-tabs {
  flex: none;
  flex-wrap: nowrap;
  gap: 4px;
}
.zw-bar.tight .zw-crumb .lbl {
  display: none;
}
.zw-bar {
  gap: 6px;
  padding: 6px 8px;
}
.zw-bar .zw-crumb {
  padding: 3px 4px;
  gap: 2px;
}
.zw-bar .zw-crumb button {
  padding: 2px 5px;
}
.zw-bar .zw-crumb b {
  min-width: 3.4em;
  padding: 0 2px;
}
.zw-bar .zw-tabs button {
  font-size: 12px;
  padding: 3px 8px 3px 6px;
}
.zw-bar .zw-end {
  gap: 6px;
}
.zw-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.zw-head {
  flex-wrap: nowrap;
  align-items: center;
}
.zw-head h2 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zw-perma {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px 3px 7px;
}
.zw-perma input {
  margin: 0;
  accent-color: var(--accent);
}
.zw-perma:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.zw-bar .zw-tabs button {
  padding: 3px 9px 3px 7px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .zw-bar,
  .zw-bar .zw-tabs {
    flex-wrap: wrap;
  }
}
.zw-crumb {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12.5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px 6px;
}
.zw-crumb button {
  border: 0;
  background: none;
  padding: 2px 6px;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.zw-crumb button:hover {
  background: var(--surface-2);
  color: var(--accent);
}
.zw-crumb b {
  padding: 2px 6px;
  color: var(--ink);
}
.zw-crumb i {
  font-style: normal;
  color: var(--faint);
}
.zw-crumb .up {
  margin-left: 6px;
  border: 1px solid var(--crit);
  background: var(--crit-bg);
  color: var(--crit);
  font-weight: 700;
}
.zw-crumb .up:hover {
  background: var(--crit);
  color: var(--surface);
}
.zw-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.zw-head b {
  font-size: 15px;
}
.zw-head .small {
  flex: 1;
  min-width: 0;
}
.zw-x {
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0 4px;
}
.zw-x:hover {
  color: var(--ink);
}
.zw-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.zw-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 12px 3px 9px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.zw-tabs button .ico {
  color: var(--zc);
}
.zw-tabs button[aria-selected=true] {
  background: color-mix(in srgb, var(--zc) 18%, var(--surface));
  border-color: var(--zc);
  color: var(--ink);
}
.zw-dbtn {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2px 0;
}
.zw-dbtn button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  padding: 2px 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.zw-dbtn .c4best {
  color: var(--ok);
  border-color: var(--ok);
}
.ed-canvas.zw-hide {
  display: none;
}
.ed-canvas.zw-on .ed-crumb {
  display: none;
}
.zw-f {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 600;
  margin: 6px 0;
}
.zw-f:has(> small) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 6px;
  align-items: baseline;
}
.zw-f:has(> small) > small {
  font-weight: 500;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zw-f:has(> small) > :not(small) {
  grid-column: 1 / -1;
}
.zw-f input,
.zw-f select {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 4px 6px;
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
}
.zw-f span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.zw-f span input {
  width: 80px;
}
.zw-g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}
.zw-seg {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  margin: 4px 0 6px;
}
.zw-seg button {
  flex: 1;
  border: 0;
  background: var(--surface);
  padding: 5px 6px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
}
.zw-seg button[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
}
.zw-line {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 8px 0;
  background: var(--surface);
}
.zw-line small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.zw-line p {
  margin: 6px 0 0;
}
.zw-line small.zw-warn,
.zw-warn {
  color: var(--crit);
}
.zw-jt {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0 6px;
}
.zw-jt button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 9px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.zw-jt button[aria-pressed=true] {
  border-color: var(--ink);
  font-weight: 700;
}
.zw-jt i,
.zw-jl i {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-radius: 1px;
  display: inline-block;
  flex: none;
}
.zw-jls {
  margin-top: 6px;
}
.zw-jl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 2px 0;
}
.zw-jl span {
  flex: 1;
}
.zw-j {
  position: absolute;
  top: 12px;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  transform: rotate(45deg);
  background: var(--jc);
  border: 0;
  border-radius: 1.5px;
  cursor: grab;
  z-index: 2;
}
.zw-jd {
  position: absolute;
  top: 11px;
  height: 12px;
  z-index: 2;
  cursor: grab;
  min-width: 12px;
  box-sizing: border-box;
}
.zw-jd > b {
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 6px;
  border-radius: 1px;
  overflow: hidden;
  background: color-mix(in srgb, var(--jc) 35%, var(--surface));
}
.zw-jd > b.full {
  background: var(--jc);
}
.zw-jd > b > i {
  display: block;
  height: 100%;
  background: var(--jc);
}
.zw-jd > em {
  position: absolute;
  top: .5px;
  width: 11px;
  height: 11px;
  background: var(--jc);
  transform: rotate(45deg);
  border-radius: 1.5px;
  cursor: ew-resize;
}
.zw-jd > em.a {
  left: -5.5px;
}
.zw-jd > em.b {
  right: -5.5px;
}
.zw-jd.task,
.zw-jd.ro,
.zw-jd.task > em,
.zw-jd.ro > em {
  cursor: pointer;
}
.zw-jd.wait {
  opacity: .5;
}
#timeline .cal-jal .zw-jd {
  top: 8px;
  height: 14px;
  min-width: 9px;
}
#timeline .cal-jal .zw-jd > em {
  display: none;
}
#timeline .cal-jal .zw-jd > b {
  top: 0;
  height: 14px;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 0 100%, 5px 50%);
}
#timeline .cal-jal .zw-jd:hover > b {
  filter: brightness(.92);
}
.zw-jdow,
.zw-jd > s {
  display: none;
  position: absolute;
  top: -1px;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 800;
  line-height: 10px;
  color: var(--muted);
  text-decoration: none;
  pointer-events: none;
  z-index: 2;
}
.zw-jd > s {
  top: -12px;
}
.zw-jdow.on,
.zw-jd.dragging > s {
  display: block;
}
.zw-jguide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--accent);
  pointer-events: none;
  z-index: 3;
}
.zw-jguide b {
  position: absolute;
  top: -1px;
  left: 3px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  background: var(--surface);
  padding: 0 3px;
  border-radius: 4px;
  white-space: nowrap;
}
.zw-jd > s.a {
  left: 0;
}
.zw-jd > s.b {
  left: 100%;
}
.zw-jd.dragging {
  cursor: grabbing;
}
.zw-jcols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4px;
}
.zw-jmc {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.zw-jmenu .jdi {
  width: 24px;
  height: 10px;
  flex: none;
}
.zw-jb {
  position: absolute;
  top: 9px;
  height: 15px;
  box-sizing: border-box;
  border-radius: 5px;
  background: color-mix(in srgb, var(--jc) 20%, var(--surface));
  border: 1.5px solid var(--jc);
  overflow: hidden;
  cursor: help;
  z-index: 1;
  min-width: 4px;
}
.zw-jb > i {
  display: block;
  height: 100%;
  background: var(--jc);
  opacity: .75;
}
.zw-jb.wait {
  border-style: dashed;
}
.zw-tk {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}
.zw-tkc {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
  background: var(--surface);
}
.zw-tkh {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  padding-bottom: 4px;
}
.zw-tkh > i,
.zw-tkr > i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.zw-tkh small,
.zw-tkr small {
  color: var(--faint);
  font-size: 11.5px;
}
.zw-tkr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 6px 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.zw-tkr > span > small {
  display: block;
}
.zw-tkr.wait {
  opacity: .6;
}
.zw-tkp {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
}
.zw-tkp button {
  border: 0;
  background: var(--surface);
  padding: 3px 7px;
  font: inherit;
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.zw-tkp button + button {
  border-left: 1px solid var(--line);
}
.zw-tkp button[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
}
.zw-tkp button:disabled {
  cursor: not-allowed;
}
.tk-open {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.tk-open:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.tk-dlg {
  width: min(600px, calc(100vw - 32px));
  max-height: 90vh;
  overflow: hidden;
}
.tk-dlg .tk-in {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(90vh - 2px);
  overflow: hidden;
  box-sizing: border-box;
}
.tk-dlg .tk-in > * {
  flex: none;
  margin-top: 0;
}
.tk-dlg .tk-in > .tk-h {
  flex: 1 1 auto;
  min-height: 70px;
  max-height: none;
}
.jt-clos {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
}
.jt-clos b {
  font-size: 13px;
  color: var(--ink);
}
.jt.jt-noresp {
  background: color-mix(in srgb, var(--crit) 9%, var(--surface));
}
.jt-who.none,
.tk-meta .none {
  color: var(--crit);
  font-weight: 600;
}
.tk-mdel {
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  width: 30px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
}
.tk-mdel:hover,
.tk-mdel:focus-visible {
  border-color: var(--crit);
  color: var(--crit);
  background: color-mix(in srgb, var(--crit) 8%, var(--surface));
}
.tk-h li {
  transition: background .12s;
  border-radius: 0 8px 8px 0;
}
.tk-h li:has(.tk-mdel:hover),
.tk-h li:has(.tk-mdel:focus-visible) {
  background: var(--surface-3,#eceee9);
}
.tk-h li > div {
  width: 100%;
}
.tk-foot .tk-rm {
  margin-right: auto;
}
#thSave {
  margin-left: auto;
}
.tk-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 6px;
  align-items: center;
}
.tk-top .tk-t1 {
  margin: 0;
  font-size: 16px;
}
.tk-ty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  justify-self: start;
}
.tk-avp {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
}
.tk-avp .tk-pen {
  margin-left: 0;
}
.tk-meta .tk-av {
  margin-left: auto;
}
.tk-meta .tk-pen {
  margin-left: 6px;
}
.tk-savel {
  justify-content: flex-end;
}
.tk-pen.save {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.tk-pen.save:hover {
  filter: brightness(.92);
  color: #fff;
}
.tk-send {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tk-send:not(.primary) {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
.tk-line.tk-top {
  align-items: flex-start;
}
.tk-editb .tk-msg {
  flex: 1;
  width: auto;
  min-height: calc(2 * 1.45em + 14px);
  padding: 6px 10px;
}
.tk-editb .tk-type {
  min-width: 190px;
}
.tk-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink);
}
.tk-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tk-meta .tk-st {
  color: var(--muted);
  font-weight: 700;
}
.tk-pen {
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 8px;
  width: 30px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
}
.tk-pen:hover,
.tk-pen[aria-expanded=true] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.tk-editb {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2,var(--surface));
}
.tk-in .ph {
  margin: 0;
  flex-wrap: nowrap;
  align-items: flex-start;
}
.tk-in .ph h2 {
  font-size: 16px;
}
.tk-x {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.tk-x:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.tk-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pt-qui {
  margin-right: 6px;
}
.tk-in .tk-line + .tk-line {
  margin-top: 6px;
}
.tk-ed {
  font: inherit;
  font-size: 13px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  min-width: 190px;
}
.tk-ed:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}
.tk-msg {
  font: inherit;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  resize: none;
  overflow-y: auto;
  min-height: calc(2 * 1.45em + 20px);
  max-height: calc(4 * 1.45em + 20px);
  box-sizing: border-box;
  width: 100%;
}
.tk-msg:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}
.tk-msg::placeholder {
  color: var(--faint);
}
.tk-drop {
  flex-wrap: wrap;
}
.tk-prev,
.tk-drop .tk-prev {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.tk-drop .tk-pv {
  display: block;
  flex: none;
}
.tk-prev:empty {
  display: none;
}
.tk-pv {
  position: relative;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.tk-pv img,
.tk-pv video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tk-pv button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  padding: 0;
  cursor: pointer;
}
.tk-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2,var(--surface));
  color: var(--muted);
  cursor: pointer;
}
.tk-drop:hover,
.tk-drop.over {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.tk-drop.on {
  border-style: solid;
  border-color: var(--accent);
}
.tk-drop span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tk-drop b {
  color: var(--ink);
  font-size: 13px;
}
.tk-drop small {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tk-drop .ico {
  width: 22px;
  height: 22px;
  flex: none;
}
.tk-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.tk-foot .tk-rm {
  background: var(--crit);
  border-color: var(--crit);
  color: #fff;
}
.tk-foot .tk-rm:hover {
  filter: brightness(.92);
  color: #fff;
}
.tk-lab {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  min-width: 86px;
}
#ptNew .pc-only,
#ptNew.pc #ptType,
#ptNew.pc #ptQui {
  display: none;
}
#ptNew.pc .pc-only {
  display: inline-flex;
}
.cc-reco {
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 1px;
  transform: none;
  background: var(--ok);
}
.cc-reco.r1 {
  background: #E08A1E;
}
.cc-reco.r2 {
  background: var(--crit);
}
.cc-reco.rn {
  background: var(--faint);
}
.td-fbar {
  padding: 8px 10px;
}
.jt[data-jk] {
  cursor: pointer;
}
.jt.sel,
.jt.sel.jt-noresp {
  background: color-mix(in srgb, var(--accent) 11%, transparent);
}
.td-fbar.in {
  padding: 0;
  margin: 0 0 12px;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.td-fbar .tk-r1 {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}
.td-fbar .tk-r1 > * {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.td-fbar .tk-r1 > .tk-obj {
  flex: 1 1 auto;
}
.td-fbar .qui-btn {
  flex: 0 0 auto;
  min-width: 170px;
  max-width: 240px;
}
.td-fbar .qui-btn .qn {
  min-width: 4.5em;
}
.tn-panel {
  position: fixed;
  top: 84px;
  right: 16px;
  z-index: 60;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 100px);
  overflow: auto;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: -8px 12px 36px rgba(0, 0, 0, .24);
  padding: 14px 18px 16px;
  transform: translateX(calc(100% + 32px));
  opacity: 0;
  visibility: hidden;
  transition:
    transform .3s ease,
    opacity .3s ease,
    visibility 0s linear .3s;
}
.tn-panel.open {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform .3s ease, opacity .3s ease;
}
.tn-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tn-h h2 {
  margin: 0;
  font-size: 17px;
}
.tn-in .tk-line + .tk-line {
  margin-top: 8px;
}
.tn-in .tk-obj,
.tn-in .tk-type,
.tn-in .tk-who {
  min-width: 220px;
  max-width: 100%;
}
.tn-in .tk-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.tn-in .tk-line.tk-top {
  align-items: start;
}
.tn-in .tk-line:has(#tnDue) {
  grid-template-columns: 96px minmax(0, 1fr) 110px;
}
.tn-in .tk-line > .tk-obj,
.tn-in .tk-line > .tk-type,
.tn-in .tk-line > .tk-who,
.tn-in .tk-line > #tnDue,
.tn-in .tk-line > .tk-dur {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 38px;
  box-sizing: border-box;
  margin: 0;
}
.tn-in .tk-line > .tk-msg {
  width: 100%;
  box-sizing: border-box;
}
.tn-in .tk-lab {
  min-width: 0;
}
.tn-in .tk-msg {
  flex: 1;
  width: auto;
  min-height: calc(3 * 1.45em + 14px);
  padding: 6px 10px;
}
.tn-in .tk-dur {
  min-width: 0;
  width: 96px;
}
.tn-in .tk-addb:not(.primary) {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
#miniMap .tn-tab {
  position: absolute;
  right: 0;
  top: 140px;
  z-index: 5;
  transition: top .28s ease;
}
#miniMap .tn-tab .dt-a {
  font-weight: 800;
}
#miniMap .mm-dtab {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
#miniMap .mm-dtab:hover,
#miniMap .mm-dpane.open .mm-dtab {
  background: var(--accent-soft);
}
.tn-panel.side {
  transform: none;
  clip-path: inset(-24px -24px -24px 100%);
  transition:
    clip-path .3s ease,
    opacity .2s ease,
    visibility 0s linear .3s;
}
.tn-panel.side.open {
  clip-path: inset(-24px -24px -24px -60px);
  transition: clip-path .3s ease, opacity .2s ease;
}
.tk-req {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tk-req label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  cursor: pointer;
  background: var(--surface);
}
.tk-req label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.tk-req input {
  margin: 0;
  accent-color: var(--accent);
}
.tk-note {
  display: grid;
  gap: 6px;
}
.tk-note-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.tk-note-h .tk-pen {
  margin-left: auto;
}
.tk-note-v {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 10px;
  font-size: 13px;
  white-space: pre-wrap;
  color: var(--ink);
}
.tk-note-v.vide {
  border-left-color: var(--line);
  color: var(--faint);
  font-style: italic;
}
.tk-note-v.ed {
  cursor: text;
}
.tk-note-v[hidden] {
  display: none;
}
.tk-note textarea {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 5px 7px;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.tk-newc {
  display: grid;
  gap: 4px;
}
.tk-new.ferme > .tk-newc {
  display: none;
}
.tk-newt {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: none;
  padding: 2px 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  text-align: left;
}
.tk-newt .tk-newchev {
  margin-left: auto;
  transition: transform .2s;
}
.tk-new:not(.ferme) .tk-newt .tk-newchev {
  transform: rotate(180deg);
}
.tk-new.ferme {
  padding-top: 6px;
  padding-bottom: 6px;
}
#tkDlg.side[open] {
  display: flex;
  flex-direction: column;
}
#tkDlg.side > .tk-in {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
#tkDlg .tk-in > .tk-h {
  max-height: none;
  overflow-y: auto;
  min-height: 60px;
  align-content: start;
  margin-right: -16px;
  scrollbar-gutter: stable;
}
#tkDlg .cad-in .cs-win {
  right: 20px;
}
#tkDlg .tk-in > .tk-new {
  margin-top: auto;
}
.tk-new {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.tk-new textarea {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 5px 7px;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.tk-new input[type=file] {
  font-size: 12px;
  padding: 3px 0;
  border: 0;
  background: none;
}
.tk-act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.tk-hh {
  font-size: 14px;
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tk-hh small {
  font-size: 12px;
  color: var(--faint);
  font-weight: 500;
}
.tk-h {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}
.tk-h li {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 10px;
  font-size: 13px;
}
.tk-h li.muted {
  border-left-color: var(--line);
}
.tk-h li > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.tk-h li small {
  color: var(--faint);
  font-size: 11.5px;
}
.tk-h li p {
  margin: 3px 0 0;
  white-space: pre-wrap;
}
.tk-m {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.tk-m a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-3);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}
.tk-m a img,
.tk-m a video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tk-m a.off {
  font-style: italic;
}
.jt-hist {
  border: 0;
  background: none;
  padding: 0 4px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .zw-tkr {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .zw-tkp {
    grid-column: 2 / -1;
    justify-self: start;
  }
}
.zw-jx {
  position: absolute;
  top: 0;
  margin-left: 6px;
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font: 700 10px/12px var(--f-body,inherit);
  text-align: center;
  cursor: pointer;
  z-index: 3;
}
.zw-jx:hover,
.zw-jx:focus-visible {
  border-color: var(--crit);
  color: var(--crit);
  background: var(--crit-bg);
}
.zw-jx {
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s .35s, visibility 0s .47s;
}
.zw-j:hover + .zw-jx,
.zw-jd:hover + .zw-jx,
.zw-j:focus-visible + .zw-jx,
.zw-jd:focus-visible + .zw-jx,
.zw-jx:hover,
.zw-jx:focus-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.zw-jmenu {
  position: fixed;
  z-index: 60;
  min-width: 330px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  padding: 4px;
  display: grid;
}
.zw-jmh {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 6px 8px 4px;
}
.zw-jmenu button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  border-radius: 7px;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.zw-jmenu button:hover,
.zw-jmenu button:focus-visible {
  background: var(--surface-2);
}
.zw-jmenu button i {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}
.zw-jmenu .tk-pbar i {
  height: 100%;
  transform: none;
  border-radius: 0;
}
.zw-j.auto {
  background: var(--surface);
  border: 2px solid var(--jc);
  box-shadow: none;
  cursor: help;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  top: 13px;
  z-index: 1;
}
.zw-j.dragging {
  cursor: grabbing;
}
.c4tl .track.zw-jtrk {
  cursor: copy;
  min-height: 34px;
}
.zw-reco {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}
.zw-chk {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  margin: 4px 2px 8px;
  cursor: pointer;
}
.zw-chk input {
  margin-top: 2px;
  accent-color: var(--accent);
}
.zw-picks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 6px 0;
}
.zw-picks.two {
  grid-template-columns: 1fr 1fr;
}
.zw-picks button {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 6px 8px;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.zw-picks button[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.zw-picks svg {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--ok);
}
.zw-picks b {
  display: block;
  font-size: 12.5px;
}
.zw-picks small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
}
.zw-f input[readonly] {
  background: var(--surface-2);
  color: var(--muted);
}
.zw-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.zw-caps button {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 7px 8px;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.zw-caps button:hover {
  border-color: var(--sim);
}
.zw-caps svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--sim);
}
.zw-caps b {
  display: block;
  font-size: 12.5px;
}
.zw-caps small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
}
.zw-rh {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.zw-rh small {
  color: var(--muted);
  font-size: 12px;
}
.zw-rc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.zw-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.zw-card:hover {
  border-color: var(--crop);
}
.zw-card.on {
  border-color: var(--crop);
  box-shadow: inset 0 0 0 1px var(--crop);
  background: color-mix(in srgb, var(--crop) 8%, var(--surface));
}
.zw-card .cg {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--crop);
  background: color-mix(in srgb, var(--crop) 15%, transparent);
}
.zw-card .cg svg {
  width: 18px;
  height: 18px;
}
.zw-cb small {
  display: block;
  font-size: 11.5px;
  line-height: 1.35;
}
.zw-pd {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.zw-pd button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.zw-pd button:hover {
  border-color: var(--accent);
}
.zw-pd small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.zw-pdc {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 50%;
  text-align: right;
}
.zw-pdc i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.c4mix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12.5px;
}
.c4mix th,
.c4mix td {
  text-align: right;
  padding: 4px 6px;
  border-bottom: 1px solid var(--line);
}
.c4mix th:first-child,
.c4mix td:first-child {
  text-align: left;
}
.c4mix td i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
}
.c4mix tfoot td {
  font-weight: 700;
  border-bottom: 0;
}
@media (max-width: 760px) {
  .c4win {
    margin-left: 0;
  }
}
.sg small.muted {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.cyl {
  display: grid;
  gap: 6px;
}
.cyi {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface-2);
}
.cyi i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: block;
}
.cyi small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.cyi.past {
  opacity: .6;
}
.cyi.current {
  outline: 1px solid var(--accent);
}
.compass {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 58px;
  height: 58px;
  z-index: 4;
  cursor: pointer;
  border-radius: 50%;
}
.compass:hover {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}
.ed-canvas.co-open.box-in .ed-crumb {
  display: flex !important;
}
.ed-canvas.menus-off .ed-stack,
.ed-canvas.co-open .ed-stack,
.ed-canvas.co-open .ed-hist,
.ed-canvas.co-open .ed-crumb,
.ed-canvas.co-open .compass,
.ed-canvas.co-open .ed-status {
  display: none;
}
.compass svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ed-stack {
  position: absolute;
  top: 74px;
  right: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 150px;
  max-height: calc(100% - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px;
  margin: -2px;
}
.ed-chk {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  align-self: end;
  min-height: 36px;
  font-weight: 600;
  cursor: pointer;
}
.ab-sec {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
}
.ab-sec:first-child {
  border-top: 0;
  padding-top: 0;
}
.ab-t {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}
.ab-q {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.ab-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.form label.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.form label.chip:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
  font-weight: 600;
}
.chip:has(input[type=checkbox]:checked)::before {
  content: "\2713";
  font-size: 11px;
}
.chip:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.ab-opt {
  display: grid;
  gap: 8px;
  padding: 9px 11px;
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--surface-2);
}
.ab-ot {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.bx-add:hover rect {
  stroke: var(--accent);
}
.ab-row4 {
  grid-template-columns: repeat(4, 1fr);
}
.ab-add select {
  width: 100%;
}
.ab-tog {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ab-tog .ab-ot::before {
  content: "\25b8";
  display: inline-block;
  width: 12px;
  color: var(--muted);
  font-size: 10px;
  transition: transform .15s;
}
.ab-opt.open .ab-tog .ab-ot::before {
  transform: rotate(90deg);
}
.ab-sum {
  font-size: 11px;
  color: var(--muted);
  padding-left: 12px;
}
.form label.ab-bool {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.form label.ab-bool input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}
.ab-det {
  display: grid;
  gap: 6px;
  margin: -4px 0 4px 24px;
}
.ab-det small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}
.ab-oh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ab-x {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 18px;
  padding: 0;
  font-size: 14px;
  cursor: pointer;
}
.ab-x:hover {
  color: var(--crit);
  border-color: var(--crit);
}
.ab-link {
  justify-self: start;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ed-sub2 {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin: -4px 0 2px 8px;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
}
.tabv-l {
  display: grid;
  gap: 6px;
}
.tabv {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.tabv-n {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tabv-n svg {
  width: 26px;
  height: 20px;
  flex: none;
}
.tabv-n small {
  color: var(--muted);
}
.tabv input {
  grid-column: 1 / -1;
  font: inherit;
  font-size: 12.5px;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.tabv-s {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tabv-s i {
  font-style: normal;
  font-size: 11.5px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--muted);
}
.tabv-s i.on {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.tabv-s i.bad {
  background: var(--crit-bg);
  color: var(--crit);
  font-weight: 600;
}
.tabv-a {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tabv-fam {
  padding-left: 10px;
  margin-top: 4px;
}
.ed-sec {
  margin: 2px 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}
.ed-tips {
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.ed-tips h3 {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
}
.ed-tips > * + * {
  margin-top: 6px;
}
.ed-tips .msg {
  margin-bottom: 0;
}
.ed-tips .ck {
  background: var(--surface);
}
details.ed-tips > summary {
  cursor: pointer;
  list-style: none;
}
details.ed-tips > summary::-webkit-details-marker {
  display: none;
}
details.ed-tips > summary h3 {
  display: inline;
  margin: 0;
}
details.ed-tips > summary::after {
  content: " \25b8";
  color: var(--accent);
  font-size: 11px;
}
details.ed-tips[open] > summary::after {
  content: " \25be";
}
details.ed-tips[open] > summary {
  display: block;
  margin-bottom: 6px;
}
.qrk {
  flex: none;
  display: inline-block;
  box-sizing: border-box;
  padding: 2px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  line-height: 0;
}
.qrk svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ph-q {
  justify-content: space-between;
  flex-wrap: nowrap;
}
.ph-n {
  display: grid;
  gap: 5px;
  justify-items: start;
  min-width: 0;
}
.ph .qrk {
  margin: 0;
}
.ph-t {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ph-t .hlp {
  margin-left: 0;
  width: 20px;
  height: 20px;
  font-size: 11px;
}
.tabv-p {
  justify-self: start;
  font-size: 12px;
}
.tabv-h {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.tabv-fam:not(.open) > .tabv-in {
  display: none;
}
.tabv-in {
  display: grid;
  gap: 6px;
}
.tabv-hint {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.tabv-fam .ho,
.tabv-fam.open .hc {
  display: none;
}
.tabv-fam.open .ho {
  display: inline;
}
.tabv-h::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin: 0 8px 0 6px;
  flex: none;
  transition: transform .15s;
  color: var(--muted);
}
.tabv-fam:not(.open) > .tabv-h::after {
  transform: rotate(-45deg);
}
.tabv-cal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.tabv-cal select {
  font: inherit;
  font-size: 12.5px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}
.tabv-a .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}
.tabv-a .btn svg {
  width: 24px;
  height: 18px;
  flex: none;
}
.ed-sub2.ed-multi {
  gap: 2px;
}
.ed-sub2.ed-multi label {
  display: flex !important;
  grid-template-columns: none;
  min-height: 26px;
  font-weight: 500;
}
.ed-sub2 label {
  display: grid !important;
  grid-template-columns: 1fr 120px;
  align-items: center;
  gap: 8px;
}
.ed-chk input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
.cad-dlg.help-dlg {
  width: min(860px, 94vw);
  max-width: none;
  height: min(78vh, 700px);
  padding: 0;
}
.help-in {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 20px 14px;
  box-sizing: border-box;
}
.help-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  min-height: 0;
  flex: 1;
}
#helpNav {
  overflow: auto;
  border-right: 1px solid var(--line);
  padding-right: 8px;
}
#helpNav b {
  display: block;
  margin: 10px 0 3px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}
#helpNav b:first-child {
  margin-top: 0;
}
#helpNav button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
}
#helpNav button:hover {
  background: var(--surface-2);
}
#helpNav button.on {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
#helpBody {
  overflow: auto;
  padding-right: 6px;
  font-size: 13.5px;
  line-height: 1.55;
}
#helpBody .hg {
  margin: 18px 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}
#helpBody .hg:first-child {
  margin-top: 0;
}
#helpBody section {
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
  border: 1px solid transparent;
}
#helpBody section.on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
}
#helpBody h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
}
#helpBody p {
  margin: 0 0 6px;
}
#helpBody ul {
  margin: 0 0 6px;
  padding-left: 18px;
}
@media (max-width: 640px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
  #helpNav {
    display: none;
  }
}
.hlp {
  margin-left: 6px;
  width: 22px;
  height: 22px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.hlp:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#edHelp {
  width: 30px;
  padding: 0;
  font-weight: 700;
}
.ed-tbx {
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ed-tbx[hidden] {
  display: none;
}
.ed-tbx:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.ed-tbx.off,
.ed-tbx.off:hover {
  color: var(--faint);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-color: var(--line);
  cursor: default;
  opacity: .8;
}
.ed-tbx svg {
  width: 14px;
  height: 14px;
}
.ed-enter {
  position: absolute;
  z-index: 4;
  height: 18px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 10.5px;
  line-height: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  cursor: pointer;
  white-space: nowrap;
}
.ed-enter[hidden] {
  display: none;
}
.ed-enter:hover {
  filter: brightness(1.1);
}
.ed-canvas.co-open :is(#edSelTbx, #edSelEnter, #edEnterTip) {
  display: none;
}
.ed-lm .lm-g {
  display: block;
  margin: 6px 4px 2px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
}
.ed-top {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: calc(100% - 90px);
  pointer-events: none;
}
.ed-top > * {
  pointer-events: auto;
}
.ed-top .ed-crumb {
  position: static;
  max-width: none;
}
.ed-hist {
  position: absolute;
  top: 24px;
  right: 78px;
  z-index: 4;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100% - 150px);
}
.ed-canvas.lv-sub .ed-zoom {
  display: none;
}
.ed-hist > span {
  display: flex;
  gap: 6px;
}
.ed-hist .ed-cadbtn {
  height: 30px;
  background: color-mix(in srgb, var(--ink) 38%, transparent);
  border-color: transparent;
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.ed-hist .ed-cadbtn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ink) 58%, transparent);
  border-color: transparent;
}
.ed-hist .ed-cadbtn:disabled {
  opacity: .5;
}
.ed-hist .ed-cadbtn[aria-pressed=true] {
  background: var(--accent);
  color: #fff;
}
.ed-hist > span[aria-label=Historique] .ed-cadbtn {
  width: 34px;
  padding: 0;
}
.ed-cadbtn:disabled {
  opacity: .45;
  cursor: default;
  border-color: var(--line-strong);
}
#edNetGrp .chev,
#edResGrp .chev {
  margin-left: auto;
  font-size: 10px;
  transition: transform .15s;
}
#edResGrp[aria-expanded=true] {
  border-color: var(--accent);
}
#edResGrp[aria-expanded=true] .chev {
  transform: rotate(180deg);
}
.ed-res {
  margin-left: 0;
  padding-left: 6px;
  border-left: 2px solid var(--line);
}
#edNetGrp[aria-expanded=true] {
  border-color: var(--accent);
}
#edNetGrp[aria-expanded=true] .chev {
  transform: rotate(180deg);
}
.ed-cadbtn.ed-net[aria-pressed=true] {
  background: color-mix(in srgb, var(--nc) 22%, var(--surface));
  border-color: var(--nc);
  color: var(--ink);
}
.ed-cadbtn.ed-net[aria-pressed=false] {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
#edMeasGrp .chev {
  margin-left: auto;
  font-size: 10px;
  transition: transform .15s;
}
#edMeasGrp[aria-expanded=true] {
  border-color: var(--accent);
}
#edMeasGrp[aria-expanded=true] .chev {
  transform: rotate(180deg);
}
.ed-sub {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-top: -2px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.ed-sub .ed-cadbtn {
  box-shadow: none;
  justify-content: flex-start;
  min-height: 28px;
}
.ed-sub .ed-sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1px 0;
  width: 100%;
}
.ed-zoom {
  display: flex;
  padding-bottom: 6px;
  margin-bottom: 1px;
  border-bottom: 1px solid var(--line);
}
.ed-zoom #edFit {
  flex: 1;
  justify-content: center;
  font-weight: 700;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ed-zoom #edFit:hover {
  background: color-mix(in srgb, var(--accent) 85%, #000);
}
.ed-sub label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 2px 2px 0 4px;
}
.ed-sub select {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  width: 100%;
  padding: 3px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.ed-stack > * {
  box-sizing: border-box;
  width: 100%;
  min-height: 30px;
}
.ed-stack [hidden] {
  display: none !important;
}
.ed-pl {
  margin-top: 4px;
  border-color: var(--accent);
}
.ed-pl b {
  font-size: 12px;
  padding: 0 2px;
}
.ed-pl small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 2px 0;
}
.ed-pl .ed-cadbtn[aria-pressed=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.ed-stack .ed-seln {
  display: block;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  padding: 6px 6px 4px;
  font-weight: 500;
}
.ed-seln .sl-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 2px 4px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
}
.ed-seln .sl-h b {
  font-size: 12px;
}
.ed-seln .sl-h {
  padding: 0 2px 4px 4px;
}
.ed-seln .sl-all {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
  padding: 4px 6px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: none;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.ed-seln .sl-all:hover {
  color: var(--crit);
  background: var(--surface-2);
}
.ed-seln ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}
.ed-seln li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 2px 2px 2px 4px;
  border-radius: 6px;
  font-size: 12px;
}
.ed-seln li:hover {
  background: var(--surface-2);
}
.ed-seln li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ed-seln li button {
  flex: none;
  width: 18px;
  height: 18px;
  font-size: 12px;
}
.ed-seln li button:hover {
  color: var(--crit);
}
.ed-cadbtn {
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.ed-cadbtn:hover {
  border-color: var(--accent);
}
.ed-cadbtn[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
#edCoteIn {
  position: absolute;
  z-index: 30;
  height: 26px;
  padding: 2px 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  border: 2px solid #c9a400;
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.ed-cadbtn.ed-cons {
  border-color: color-mix(in srgb, var(--par) 70%, #8a6d00);
  color: #6b5300;
}
.ed-cadbtn.ed-cons[aria-pressed=true] {
  background: color-mix(in srgb, var(--par) 38%, var(--surface));
  border-color: #c9a400;
  color: #5a4500;
}
.ed-cadbtn.ed-cons[hidden] {
  display: none;
}
#edCanvas .ed-stack #edConsBtn {
  color: #E8B400 !important;
}
#edCanvas .ed-stack #edConsBtn svg {
  stroke-width: 2.4;
}
#edCanvas .ed-stack #edConsBtn:hover {
  background: color-mix(in srgb, #FFD400 14%, var(--surface)) !important;
}
#edCanvas .ed-stack #edConsBtn[aria-pressed=true] {
  background: color-mix(in srgb, #FFD400 26%, var(--surface)) !important;
  color: #D9A300 !important;
}
:root[data-theme=dark] .ed-cadbtn.ed-cons,
:root[data-theme=dark] .ed-cadbtn.ed-cons[aria-pressed=true] {
  color: #ffe25a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .ed-cadbtn.ed-cons {
    color: #ffe25a;
  }
}
.ed-cadbtn[hidden] {
  display: none;
}
.compass.viz-c {
  top: 58px;
}
.compass.sm {
  width: 44px;
  height: 44px;
  right: 6px;
  top: 6px;
}
.mm-stack {
  position: absolute;
  right: 10px;
  top: 74px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: 150px;
}
.mm-stack.sm {
  right: 6px;
  top: 56px;
  width: 140px;
}
.mm-stack .ed-sub {
  align-self: stretch;
}
.mm-stack [hidden] {
  display: none !important;
}
.mm-sw {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.map.mm-noph .mm-ph,
.map.mm-nocd .mm-cd {
  display: none;
}
#jlNote[hidden] {
  display: none;
}
#wxPanel .ph {
  display: flex;
  align-items: center;
}
.wx-x {
  margin-left: auto;
  flex: none;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0;
}
.wx-x:hover {
  background: var(--accent-soft);
  color: var(--ink);
}
.td-sech {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 6px;
}
#tdSecs .td-sec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
#tdSecs .td-sech {
  padding: 0 0 12px;
}
#tdSecs .td-sech b {
  font-size: 16px;
}
#tdSecs .td-sech .wx-x {
  margin-left: auto;
}
#miniMap .cb-pan {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 0;
  z-index: 71;
  width: min(560px, calc(100% - 60px));
}
.cb-pan:not([hidden]) {
  z-index: 71;
}
body:has(#ptDlg:not([hidden])) .cb-pan {
  z-index: 61;
}
#edCanvas > .cb-pan.in-map {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  right: auto;
  z-index: 30;
  width: min(560px, calc(100% - 60px));
}
#edCanvas > .cb-fab.in-map {
  z-index: 30;
}
#miniMap .mm-aff {
  right: auto;
  left: 0;
  transform: translateX(-186px);
}
#miniMap .mm-aff.open {
  transform: none;
}
#miniMap .mm-aff .mm-stack {
  flex-direction: row-reverse;
}
#miniMap .mm-aff .mm-stack > [data-mm=menu] {
  border-left: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .16);
}
#miniMap .mm-aff [data-mmbox],
#miniMap .mm-aff [data-mmbox][hidden] {
  border-left: 0;
  border-right: 1px solid var(--line-strong);
  border-radius: 0 0 12px 0;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, .16);
}
#miniMap .tn-tab {
  right: auto;
  left: 0;
  border-left: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .16);
}
#miniMap .tn-tab .tk-dia,
#tnPanel .dr-tab .tk-dia {
  flex: none;
}
#miniMap:has(.mm-aff.open) .tn-tab {
  visibility: hidden;
}
#tnPanel.side {
  border-left: 0;
  border-right: 1px solid var(--line-strong);
  border-radius: 0 14px 14px 0;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, .16);
  clip-path: inset(-24px 100% -24px -24px);
}
#tnPanel.side.open {
  clip-path: inset(-24px -60px -24px -24px);
}
#tnPanel .dr-tab {
  left: auto;
  right: -30px;
  border-left: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .16);
}
.cb-fab {
  right: auto;
  left: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .16);
}
.cb-pan,
#miniMap .cb-pan {
  right: auto;
  left: 0;
  border-right: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, .16);
}
.cb-pan .cb-h {
  border-radius: 0 13px 0 0;
}
.cb-pan > :last-child {
  border-radius: 0 0 13px 0;
}
.cb-pan.anim {
  animation: cbInG .25s ease;
}
.cb-pan.out {
  animation: cbOutG .25s ease forwards;
}
@keyframes cbInG {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: none;
  }
}
@keyframes cbOutG {
  from {
    transform: none;
  }
  to {
    transform: translateX(-100%);
  }
}
.cb-tab {
  left: auto;
  right: -30px;
  border-left: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .12);
}
#tdSecs .td-secb .panel {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}
#tdSecs .td-secb .panel + .panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.td-sech b {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
}
.td-sec .view.embed {
  margin: 0;
}
#persoTasks .ph {
  display: flex;
  align-items: center;
}
#persoTasks .ph .wx-x {
  order: 9;
}
.td-map .td-time.tt-off {
  background: none;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}
.td-time.tt-off .tt-main {
  visibility: hidden;
}
.td-time.tt-off .tt-comp {
  pointer-events: auto;
}
.mm-grp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-strong);
  margin: 2px -8px 0;
  padding: 4px 8px 0;
}
.mm-grp-h {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  padding: 5px 2px;
  cursor: pointer;
  text-align: left;
}
.mm-grp-h::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s;
  flex: none;
  margin: 0 3px;
}
.mm-grp.open .mm-grp-h::before {
  transform: rotate(45deg);
}
.mm-grp-h:hover {
  color: var(--ink);
}
.mm-grp-b {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 4px;
}
.mm-grp.open .mm-grp-b {
  display: flex;
}
.mm-grp .mm-net {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.mm-stack .mm-wx {
  display: none;
}
#miniMap .mm-stack .mm-wx {
  display: flex;
}
.mm-stack .ed-cadbtn.ed-net[aria-pressed=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.mm-stack [data-mmbox] .ed-cadbtn:not(.mm-fit) svg {
  color: var(--accent);
}
.mm-stack [data-mmbox] .ed-cadbtn:not(.mm-fit) svg [style*="stroke:"] {
  stroke: var(--accent) !important;
}
.mm-stack [data-mmbox] .ed-cadbtn:not(.mm-fit) svg [style*="fill:var"] {
  fill: var(--accent) !important;
}
.map .tk-bdg.late circle {
  fill: #e03131;
}
.map .tk-bdg.soon circle {
  fill: #f08c00;
}
.map .tk-bdg.ok circle {
  fill: #2f9e44;
}
.map .tk-bdg.late text,
.map .tk-bdg.soon text,
.map .tk-bdg.ok text {
  fill: #fff;
}
.map .tk-bdg:hover circle {
  filter: brightness(1.12);
}
.map.mm-nolab text.lbl,
.map.mm-nolab text.sub {
  display: none;
}
.map.mm-nolab .l-cult text {
  display: inline;
}
.mm-tip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.mm-tip[hidden] {
  display: none;
}
.v3lab.nolab div:not(.k-cult):not(.k-tk):not(.n) {
  display: none !important;
}
.v3lab.nocult .k-cult,
.v3lab.notk .k-tk {
  display: none !important;
}
.v3lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.v3lines line {
  stroke: var(--ink);
  stroke-width: 1.2;
  opacity: .6;
}
.v3lines circle {
  fill: var(--ink);
  opacity: .75;
}
.v3lab div.k-cult {
  border-color: var(--c);
  display: flex;
  align-items: center;
  gap: 5px;
}
.v3lab div.k-cult i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}
.v3lab div.k-tk {
  pointer-events: auto;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border-color: var(--surface);
  border-width: 2px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
  padding: 1px 6px;
  transform: translate(-50%, -50%);
}
.v3lab div.k-tk.late {
  background: #e03131;
}
.v3lab div.k-tk.soon {
  background: #f08c00;
}
.v3lab div.k-tk.ok {
  background: #2f9e44;
}
.v3lab div.k-tk.on {
  box-shadow: 0 0 0 2px var(--ink);
}
.mapwrap,
.minimap {
  position: relative;
}
.map rect,
.map circle,
.map path,
.map polyline,
.map polygon,
.map line {
  vector-effect: non-scaling-stroke;
}
.map .l-mat circle.cring {
  vector-effect: none;
}
.tl-head .yr {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  padding-bottom: 4px;
}
.tl-head .yr button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.tl-head .yr button[aria-pressed=true] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.ed-pal .sec {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px 6px;
  letter-spacing: .02em;
}
.ed-pal .grp {
  gap: 2px;
}
.ed-tool {
  cursor: grab;
  touch-action: none;
}
.ed-fiche {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 40px;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.ed-fiche[hidden] {
  display: none !important;
}
.chainn {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-top: 4px;
}
.chainn i {
  color: var(--faint);
  font-style: normal;
  font-size: 11px;
}
.chainv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
}
.chainv i {
  color: var(--faint);
  font-style: normal;
  font-size: 12px;
  line-height: 1;
}
.chainv .chipn {
  max-width: 100%;
  text-align: center;
}
.chainv .tb {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 100%;
}
.chainv .tb.multi {
  border-top: 1px solid var(--line-strong);
  padding-top: 4px;
  margin-top: 1px;
}
.chainv .tn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}
.chainv .nbox {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  margin-top: 7px;
  padding: 10px 8px 6px;
  border: 1.5px solid;
  border-radius: 10px;
}
.chainv .nbox.zt {
  border-color: var(--sun);
  background: color-mix(in srgb, var(--sun) 7%, transparent);
}
.chainv .nbox.tb {
  border-color: var(--water);
  background: color-mix(in srgb, var(--water) 7%, transparent);
}
.chainv .nboxlab {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 5px;
  border-radius: 6px;
  background: var(--surface);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  white-space: nowrap;
}
.chainv .nbox.zt > .nboxlab {
  color: var(--sun);
}
.chainv .nbox.tb > .nboxlab {
  color: var(--water);
}
.chipn.pipe {
  border-style: dashed;
  border-color: var(--water);
  color: var(--water);
  font-weight: 500;
  font-size: 11px;
}
.chipn.cur {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.chipn {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.chipn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.viz {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(72vh, 660px);
  min-height: 420px;
  background: var(--surface);
}
.viz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.viz-crumb {
  display: flex;
  gap: 2px;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
}
.viz-crumb button {
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--muted);
  padding: 3px 6px;
  border-radius: 6px;
}
.viz-crumb button:hover {
  background: var(--surface-2);
  color: var(--accent);
}
.viz-crumb b {
  padding: 3px 6px;
}
.viz-crumb i {
  font-style: normal;
  color: var(--faint);
}
.viz-modes {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
}
.viz-modes button {
  border: 0;
  background: var(--surface);
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.viz-modes button + button {
  border-left: 1px solid var(--line);
}
.viz-modes button[aria-selected=true] {
  background: var(--sim);
  color: #fff;
}
.viz-modes button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.viz-svg {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 0;
}
.viz-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.viz-bar input[type=range] {
  flex: 1;
  min-width: 120px;
  accent-color: var(--sim);
}
.viz-bar select {
  margin-left: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 4px;
  background: var(--surface);
}
.vz-t {
  fill: var(--ink);
  font-weight: 700;
  pointer-events: none;
}
.vz-zone {
  cursor: zoom-in;
}
.vz-log {
  display: grid;
  gap: 5px;
  font-size: 12.5px;
}
.vz-log div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 6px;
  color: var(--faint);
}
.vz-log div.on {
  color: var(--ink);
}
.vz-log .mono {
  color: var(--sim);
}
.dots::after {
  content: "\2026";
  animation: dots 1s steps(3) infinite;
}
@keyframes dots {
  0% {
    content: ".";
  }
  50% {
    content: "..";
  }
  100% {
    content: "...";
  }
}
.bnav {
  display: none;
}
.more-dlg {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: none;
  margin: auto 0 0;
}
.more-dlg::backdrop {
  background: rgba(10, 16, 12, .55);
}
.more-in {
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  border-radius: 18px 18px 0 0;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .35);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.more-grid button {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 14px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  min-height: 76px;
}
.more-grid button[aria-current=page] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.more-grid .ico {
  width: 24px;
  height: 24px;
}
@media (max-width: 760px) {
  .side {
    display: none;
  }
  .bnav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--surface);
    border-top: 1px solid var(--line-strong);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  }
  .bnav button {
    border: 0;
    background: none;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    padding: 6px 2px;
    min-height: 52px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
    border-radius: 10px;
  }
  .bnav button[aria-current=page] {
    color: var(--accent);
    background: var(--accent-soft);
  }
  .bnav .ico {
    width: 22px;
    height: 22px;
  }
  main {
    padding: 14px 14px calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .toast {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 24px);
  }
  .top {
    padding: 8px 14px;
  }
  .gt-mark svg {
    width: 30px;
    height: 30px;
  }
  .gt-wm {
    font-size: 17px;
  }
  .vhead {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .vhead h1 {
    font-size: 22px;
  }
  .view:not(#v-honest):not(#v-empty):not(#v-log) .vhead > div > p {
    display: none;
  }
  .vhead p {
    font-size: 13.5px;
  }
  .btn {
    min-height: 42px;
  }
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  .panel {
    padding: 14px;
  }
  .g-today,
  .g-2,
  .g-3,
  .g-plan,
  .g-crop,
  .g-sim,
  .g-chat {
    gap: 12px;
  }
  .calc2 .ctot {
    flex-wrap: wrap;
  }
  .dec {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 12px;
  }
  .dec .big {
    grid-column: 2;
    text-align: left;
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
    font-size: 20px;
  }
  .dec .big small {
    display: inline;
    margin-top: 0;
  }
  .view table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  .lede {
    font-size: 14px;
  }
  #v-editor .vhead p {
    display: none;
  }
  .ed-steps {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 10px;
  }
  .ed-steps::-webkit-scrollbar {
    display: none;
  }
  .ed-step {
    flex: none;
    padding: 8px 12px;
  }
  .ed-step + .ed-step {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .ed-step + .ed-step::before {
    display: none;
  }
  .ed-sb {
    grid-template-columns: 28px auto;
    gap: 8px;
  }
  .ed-sb small {
    display: none;
  }
  .ed-step select {
    margin-left: 0;
    max-width: 180px;
    font-size: 14px !important;
  }
  .grpb button {
    padding: 9px 12px;
    font-size: 13px;
    min-height: 40px;
  }
  .ed-canvas {
    height: calc(100vh - 300px);
    min-height: 340px;
  }
  .ed-pal:not(:has(.c4grid)) {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
    position: static !important;
  }
  .ed-pal:not(:has(.c4grid))::-webkit-scrollbar {
    display: none;
  }
  .ed-pal:not(:has(.c4grid)) > div,
  .ed-pal:not(:has(.c4grid)) .grp {
    display: contents;
  }
  .ed-pal:not(:has(.c4grid)) h4,
  .ed-pal:not(:has(.c4grid)) .sec {
    display: none;
  }
  .ed-pal .ed-tool {
    flex: none;
    min-width: 0;
    min-height: 46px;
    grid-template-columns: 40px auto;
    width: auto;
    padding: 6px 12px 6px 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    touch-action: pan-x;
  }
  .ed-pal .ed-tool small {
    display: none;
  }
  .ed-fiche {
    display: inline-flex;
  }
  .ed-status {
    font-size: 11px;
  }
  .ed-crumb {
    font-size: 12px;
  }
  .cad-dlg {
    width: calc(100vw - 20px);
  }
}
.an-dock {
  position: fixed;
  right: 0;
  bottom: 96px;
  z-index: 59;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, .14);
  padding: 3px 0;
  transition: right .2s;
}
.an-dock[hidden] {
  display: none;
}
.an-dock.flottant {
  border-right: 1px solid var(--line-strong);
  border-radius: 10px 0 0 10px;
}
.an-dock button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
}
.an-dock button + button {
  border-top: 1px solid var(--line);
}
.an-dock button:hover {
  background: var(--accent-soft);
}
.an-dock button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.an-dock svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.an-dock .an-d-msg.nonlu {
  color: var(--crit);
}
.an-past {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 15px;
  height: 15px;
  line-height: 15px;
  border-radius: 8px;
  padding: 0 3px;
  background: var(--muted);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}
.an-past.crit {
  background: var(--crit);
  box-shadow: 0 0 0 2px var(--surface);
}
@media (max-width: 640px) {
  .an-dock {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  }
}
@media print {
  .an-dock {
    display: none;
  }
}
.cad-dlg.an-dlg {
  width: min(1500px, calc(100vw - 32px));
  height: calc(100vh - 32px);
  max-width: none;
  max-height: none;
  overflow: hidden;
}
.an-boite {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.an-boite > .ph {
  padding: 12px 16px 6px;
  margin: 0;
  gap: 10px;
  align-items: baseline;
}
.an-sous {
  font-size: 12.5px;
  color: var(--muted);
}
.an-barre {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 6px 16px 8px;
  border-bottom: 1px solid var(--line);
}
.an-barre[hidden],
.an-pied[hidden] {
  display: none;
}
.an-coul {
  display: flex;
  gap: 4px;
}
.an-coul button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
  cursor: pointer;
  padding: 0;
}
.an-coul button[aria-pressed=true] {
  box-shadow: 0 0 0 2px var(--ink);
}
.an-barre select {
  font: inherit;
  font-size: 12.5px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.an-zoom {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.an-zoom b {
  min-width: 46px;
  text-align: center;
  font-size: 12.5px;
}
.an-esp {
  flex: 1 1 auto;
}
.an-centre {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  background: var(--surface-2);
  padding: 16px;
}
.an-echelle {
  margin: 0 auto;
  overflow: hidden;
}
.an-zone {
  position: relative;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
  transform-origin: 0 0;
}
.an-cadre {
  display: block;
  border: 0;
  background: var(--bg);
  pointer-events: none;
}
.an-dlg .an-zone:has(> .an-svg.inactif) > .an-cadre {
  pointer-events: auto;
}
.an-photo {
  display: block;
  max-width: none;
}
.an-blanc {
  background: #fff;
}
.an-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}
.an-svg.inactif {
  pointer-events: none;
}
.an-saisie {
  position: absolute;
  z-index: 2;
  font: inherit;
  font-weight: 600;
  border: 1px dashed currentColor;
  background: rgba(255, 255, 255, .9);
  padding: 2px 4px;
  min-width: 160px;
}
.an-pied {
  border-top: 1px solid var(--line);
  padding: 8px 16px 12px;
  max-height: 42vh;
  overflow: auto;
}
.an-pied .zw-f input:not([type=checkbox]),
.an-pied .zw-f select,
.an-pied .zw-f textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-weight: 500;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.an-pied .zw-g2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0 12px;
}
.an-pied .tkp-act {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.an-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.an-sansc {
  margin: 40px auto;
  max-width: 520px;
}
.an-dlg.an-cache {
  visibility: hidden;
}
.an-dlg.an-cache::backdrop {
  background: transparent;
}
.an-voile {
  visibility: visible;
  position: fixed;
  inset: 0;
  z-index: 10;
  cursor: crosshair;
  background: rgba(0, 0, 0, .25);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.an-voile.trace {
  background: none;
}
.an-aide {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
}
.an-sel {
  position: fixed;
  border: 2px dashed #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 0 9999px rgba(0, 0, 0, .4);
  pointer-events: none;
}
.an-vig {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  padding: 0;
  margin: 6px 0 2px;
  cursor: zoom-in;
  max-width: 100%;
}
.an-vig:hover {
  border-color: var(--accent);
}
.an-vig-in {
  transform-origin: 0 0;
  pointer-events: none;
}
.an-vig-in .an-cadre {
  pointer-events: none;
}
.cad-dlg.msg-dlg {
  width: min(1100px, 94vw);
  max-width: none;
  max-height: 88vh;
}
.msg-dlg .cad-in {
  max-height: calc(88vh - 2px);
  overflow: auto;
}
.msg-outils {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 10px;
}
.msg-n {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--warn);
}
.msg-g {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  min-height: 420px;
}
.msg-liste {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
  max-height: 62vh;
}
.msg-it {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  cursor: pointer;
}
.msg-it b {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.msg-it small {
  color: var(--muted);
  white-space: nowrap;
}
.msg-it span {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.msg-it:hover {
  background: var(--surface-2);
}
.msg-it.sel,
.msg-it[aria-selected=true] {
  background: var(--accent-soft);
}
.msg-it.nonlu b,
.msg-it.nonlu span {
  font-weight: 700;
  color: var(--ink);
}
.msg-det h3 {
  margin: 0 0 2px;
  font-size: 15px;
}
.msg-de {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.msg-tx {
  white-space: pre-wrap;
  margin: 0 0 8px;
}
.msg-img {
  display: block;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.msg-det .tkp-act {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.msg-dest {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-weight: 500;
  padding: 4px 0;
}
@media (max-width: 720px) {
  .msg-g {
    grid-template-columns: minmax(0, 1fr);
  }
  .msg-liste {
    max-height: 30vh;
  }
}

/* commun/attente.css */
#gtAttente {
  inset: 0 0 auto 0;
  width: 100%;
  height: 3px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}
#gtAttente::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--accent,#2F6B45);
  animation: gt-attente 1.1s ease-in-out infinite;
}
@keyframes gt-attente {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
@media (prefers-reduced-motion: reduce) {
  #gtAttente::before {
    animation: none;
    width: 100%;
    opacity: .6;
  }
}
body[aria-busy=true] {
  cursor: progress;
}

/* angular:styles/global:styles */
