/* HabitatPass — styles consolidés */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');
* {

}

body {
  padding: 0;
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  width: 100%;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.5;
}

html {
  padding: 0;
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  width: 100%;
  height: 100%;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.5;
}

strong {
  font-weight: 700;
}

a {
  transition: all 100ms ease-in-out;
  color: var(--primary);
  text-decoration: none;
}

.menu {
  transition: transform .2s;
  padding-top: 20px;
  width: var(--sidebar-width);
  color: var(--text);
  height: 100dvh;
  position: fixed;
  z-index: 30;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  background: #fff;
  box-shadow: none;
  font-size: 13px;
  inset: 0 auto 0 0;
  margin: 0;
  padding: 0 0 24px;
  border-right: 1px solid #f1f3f5;
}

input {
  transition: all 100ms ease-in-out;
  padding: 9px 12px;
  display: inline-block;
  border: 1px solid #dee2e6;
  background-color: #fff;
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 5px;
  line-height: 17px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  box-shadow: none;
  font-family: inherit;
  background: #fff;
  max-width: 100%;
}

textarea {
  transition: all 100ms ease-in-out;
  padding: 9px 12px;
  display: inline-block;
  border: 1px solid #dee2e6;
  background-color: #fff;
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 5px;
  line-height: 17px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  box-shadow: none;
  font-family: inherit;
  background: #fff;
  max-width: 100%;
}

a:link {
  color: var(--primary);
  text-decoration: none;
}

a:visited {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #20675c;
}

img {
  border: none;
  text-decoration: none;
  max-width: 100%;
}

img a {
  border: none;
  text-decoration: none;
  max-width: 100%;
}

h1 {
  font-size: 18px;
  font-weight: 600;
  padding: 0;
  margin: 0 0 20px;
  color: var(--heading);
  letter-spacing: 0;
  line-height: 1.5;
}

h1.welcome {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-top: -4px;
  margin-bottom: 15px;
  margin: 0 0 20px;
  line-height: 1.5;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 18px;
  border-top: 1px solid #ccc;
  display: block;
  padding: 0;
  color: var(--heading);
  letter-spacing: 0;
  border: 0;
}

h2.nomargin {
  margin-top: 5px;
  border-top: none;
  padding-top: 0;
  display: block;
}

h2 i {
  color: var(--primary);
  text-shadow: none;
  padding-right: 5px;
  font-size: 18px;
}

h3 {
  color: var(--heading);
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 600;
}

h3:before {
  content: "";
  display: none;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #a1a1c2;
}

p {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 12px;
  color: inherit;
}

p.bold {
  color: #87909a;
  margin-bottom: 5px;
}

p.light {
  color: #87909a;
}

select {
  padding: 0 12px;
  display: inline-block;
  border: 1px solid #dee2e6;
  background-color: #fff;
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 5px;
  line-height: 19px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  box-shadow: none;
  font-family: inherit;
  height: 38px;
  margin: 0;
  background: #fff;
  max-width: 100%;
}

input[type=date] {
  font-family: "Instrument Sans", sans-serif;
}

input[type=file] {
  padding: 6px 7px 6px 8px;
}

input:disabled {
  background-color: #e9ecef;
  background: #f4f6f8;
  color: #87909a;
}

textarea.code {
  width: 100%;
  min-height: 40px;
  font-family: monospace;
  display: block;
}

input:focus {
  border: 1px solid #9aa1b1;
  border-color: #80b4aa;
  box-shadow: 0 0 0 3px rgba(40,127,113,.1);
}

a.button {
  cursor: pointer;
  padding: 7px 13px;
  color: var(--text);
  border: 1px solid #dee2e6;
  line-height: 22px;
  background-color: #fff;
  vertical-align: middle;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  box-shadow: none;
}

input.button {
  cursor: pointer;
  padding: 7px 13px;
  color: var(--text);
  border: 1px solid #dee2e6;
  line-height: 22px;
  background-color: #fff;
  vertical-align: middle;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  box-shadow: none;
}

a.button.open {
  cursor: pointer;
  padding: 7px 13px;
  color: var(--text);
  border: 1px solid #dee2e6;
  line-height: 22px;
  background-color: #fff;
  vertical-align: middle;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  box-shadow: none;
}

a.button.rewind {
  cursor: pointer;
  padding: 7px 13px;
  color: var(--text);
  border: 1px solid #dee2e6;
  line-height: 22px;
  background-color: #fff;
  vertical-align: middle;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  box-shadow: none;
}

table a.button {
  width: 30px;
  text-align: center;
  font-size: 15px;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 5px;
}

table a.button:hover {
  color: var(--primary);
  border: none;
  background: var(--primary-soft);
}

table a.rewind {
  width: auto;
}

input[type=checkbox] {
  height: 17px;
  width: 17px;
  min-width: 17px;
  margin-top: -1px;
  accent-color: var(--primary);
  padding: 0;
}

input[type=radio] {
  height: 17px;
  width: 17px;
  min-width: 17px;
  margin-top: -1px;
  accent-color: var(--primary);
  padding: 0;
}

input.button:hover {
  text-decoration: none;
  opacity: 1;
  background: #f3f6f7;
  border-color: #cbd2d8;
}

a.button:hover {
  text-decoration: none;
  opacity: 1;
  background: #f3f6f7;
  border-color: #cbd2d8;
}

input.button.show {
  color: #fff;
  background-color: #2b3754;
  background: var(--primary);
  border-color: var(--primary);
  cursor: pointer;
}

a.button.show {
  color: #fff;
  background-color: #2b3754;
  background: var(--primary);
  border-color: var(--primary);
  cursor: pointer;
}

div.blank {
  border: 2px dashed #e4e9f0;
  min-height: 200px;
  width: 100%;
  margin-bottom: 20px;
}

table {
  border-collapse: collapse;
  margin: 20px 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  box-shadow: var(--card-shadow);
  background: #fff;
  border-radius: 5px;
}

table#planning {
  min-width: 1200px;
}

.form table {
  width: auto;
  box-shadow: none;
  border: 0;
}

table tr {
  line-height: 22px;
  border-bottom: 1px solid var(--border);
}

table td {
  padding: 13px 16px;
  text-align: left;
  color: var(--text);
}

table th {
  padding: 13px 16px;
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

table td a {
  color: var(--primary);
}

.form table td {
  padding-left: 0;
  padding: 8px 12px 8px 0;
}

table tr:nth-child(even) {
  background-color: #f4f6fa;
  background: #fff;
}

.disabled {
  text-decoration-line: line-through;
  color: #c0c0c0;
}

.disabled td {
  color: #c0c0c0;
}

thead .tablesorter-header {
  background: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==) no-repeat center left;
  padding-left: 25px;
  cursor: pointer;
  background-position-x: 5px;
  color: var(--text);
}

thead .tablesorter-headerAsc {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}

thead .tablesorter-headerDesc {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

thead th.sorter-false {
  background: none;
  padding-left: 15px;
  color: var(--text);
}

thead tr {
  background-color: #fff;
  line-height: 20px;
  border-top: 1px solid #e4e9f0;
  border-bottom: 1px solid #e4e9f0;
  color: #081731;
  background: #f8f9fa;
  border-color: var(--border);
}

table label {
  font-size: 13px;
}

span.caption {
  background-color: #a1a1c2;
  color: #6b7280;
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
  background: #eef0f3;
  font-size: 11px;
}

span.caption.blue {
  background-color: #59d5ff;
  background: #e0eefc;
  color: #3184ca;
}

span.caption.orange {
  background-color: #faad15;
  background: #fff0df;
  color: #d78f40;
}

span.caption.green {
  background-color: #41b883;
  background: #e0f0e9;
  color: #287f71;
}

span.caption.red {
  background-color: #f5222e;
  background: #fde4e8;
  color: #d94d66;
}

span.caption.white {
  background-color: #fff;
  color: #a1a1c2;
}

.controlhead {
  height: var(--header-height);
  background-color: #fff;
  border-bottom: 1px solid #eeeef3;
  box-shadow: var(--card-shadow);
  backdrop-filter: none;
  margin: 0 auto 0 auto;
  width: auto;
  right: 0;
  min-width: 0;
  box-sizing: border-box;
  color: var(--text);
  font-size: 16px;
  padding: 0 24px;
  position: fixed;
  z-index: 20;
  top: 0;
  left: var(--sidebar-width);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 0;
  transition: left .2s;
}

.controlhead .icons {
  flex-shrink: 0;
  float: none;
  margin-left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.controlhead .right {
  flex: 0 0 auto;
  max-width: 45%;
  min-width: 0;
  float: none;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.controlhead img {
  vertical-align: middle;
  margin-top: -10px;
}

.controlhead a.button {
  flex-shrink: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  vertical-align: middle;
  display: inline-flex;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  padding: 6px;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  margin: 0;
  border-radius: 5px;
}

.controlhead a:hover {
  color: #000;
}

.controlhead i {
  font-size: 20px;
  margin-top: 2px;
  color: inherit;
  margin: 0;
}

.controlhead span.caption {
  margin-left: 10px;
}

.controlhead .nova {
  float: left;
  width: 270px;
  text-align: left;
  padding-left: 28px;
  font-size: 20px;
  line-height: 23px;
}

.controlhead .powered {
  font-size: 16px;
  color: #a1a1c2;
}

.controlhead .texte {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 14px;
}

label {
  font-size: 14px;
  margin-right: 10px;
  color: var(--text);
}

label.disabled {
  color: #ccc;
}

form label.samesize {
  width: 190px;
  display: inline-block;
  min-height: 29px;
}

.fancybox-inner label.samesize {
  width: 190px;
  display: inline-block;
  min-height: 29px;
}

form label.setup {
  color: var(--text);
  font-size: 14px;
}

form label.setup i {
  font-size: 18px;
}

.alert {
  margin: 0 0 20px 0;
  color: #091832;
  font-size: 14px;
  padding: 15px 20px;
  display: block;
  line-height: 22px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: var(--card-shadow);
  border: 1px solid #f1f3f5;
  background: #fff;
}

.alert.red strong {
  color: #f5222e;
}

.alert.red {
  color: #cb405e;
  background: #fff0f3;
  border-color: #f8d4dd;
}

.alert.red i {
  color: #f5222e;
}

.alert.green strong {
  color: #41b883;
}

.alert.green {
  color: #287f71;
  background: #ecf7f2;
  border-color: #d4eae0;
}

.alert.green i {
  color: #41b883;
}

.alert.orange strong {
  color: #faad15;
}

.alert.orange {
  color: #faad15;
}

.alert.orange i {
  color: #faad15;
}

span.captionvign {
  background-color: #a1a1c2;
  color: #fff;
  padding-top: 3px;
  border-radius: 40px;
  width: 26px;
  height: 26px;
  text-align: center;
  font-size: 16px;
  position: absolute;
  margin-top: -8px;
  margin-left: -2px;
}

span.captionvign.orange {
  background-color: #faad15;
}

span.captionvign.green {
  background-color: #41b883;
}

span.captionvign.red {
  background-color: #f5222e;
}

.form {
  padding-bottom: 5px;
  margin: 0;
}

.menu input {
  background: #212f4d;
  color: #c6cbe0;
  border: 1px solid #34415c;
}

.menu input::placeholder {
  color: #97a1aa;
}

.menu .controltitle {
  text-transform: uppercase;
  padding: 0 9px;
  display: block;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .7px;
  margin: 18px 0 10px;
  color: #68707b;
}

.menu .smallline {
  margin: 20px 0;
  background: transparent;
  height: 0;
  width: auto;
}

.menu .session {
  font-size: 15px;
  font-weight: bold;
  padding-left: 15px;
  float: left;
}

.menu .session a.button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6b748b;
  vertical-align: middle;
  display: inline-block;
  line-height: 34px;
  text-decoration: none;
  font-size: 21px;
  padding: 0 10px;
}

.menu a em.icon {
  font-size: 16px;
  width: 20px;
  float: none;
  color: inherit;
  order: -1;
  flex: 0 0 18px;
  font-style: normal;
}

.menu a {
  color: #cbd4e3;
  padding: 0 15px 0 15px;
  height: 30px;
  line-height: 29px;
  text-decoration: none;
  display: block;
  border-radius: 4px;
}

.menu a.active {
  background-color: #212f4d;
  color: var(--primary);
  background: var(--primary-soft);
}

.menu a.active:hover {
  background-color: #212f4d;
  color: var(--primary);
  background: var(--primary-soft);
}

.menu a:hover {
  background-color: #212f4d;
  color: #fff;
}

.menu a.active em.icon {
  color: var(--primary);
}

.menu a.active:hover em.icon {
  color: var(--primary);
}

div.nova {
  padding-left: 15px;
  height: var(--header-height);
  display: flex;
  text-align: left;
  width: 100%;
  align-items: center;
}

div.nova a {
  color: #262d34;
  font-size: 23px;
  padding: 0;
  height: auto;
  line-height: 1;
  background: transparent;
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -.5px;
}

div.nova #closemenu {
  display: none;
}

div.nova a:hover {
  color: #262d34;
  background: transparent;
  height: auto;
  line-height: 1;
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.5px;
}

div.nova .powered {
  font-size: 23px;
  letter-spacing: -.5px;
  color: inherit;
  display: inline;
}

.fancybox-wrap {
  border-radius: 10px;
}

.fancybox-skin {
  border-radius: 10px;
}

.fancybox-outer {
  border-radius: 10px;
}

.fancybox-inner {
  border-radius: 10px;
}

.fancybox-image {
  border-radius: 10px;
}

.fancybox-wrap iframe {
  border-radius: 10px;
}

.fancybox-wrap object {
  border-radius: 10px;
}

.fancybox-nav {
  border-radius: 10px;
}

.fancybox-nav span {
  border-radius: 10px;
}

.fancybox-tmp {
  border-radius: 10px;
}

.menu #controls {
  padding: 8px 20px;
}

.control {
  padding: calc(var(--header-height) + 20px) 24px 40px;
  margin-left: var(--sidebar-width);
  min-height: 100dvh;
  transition: margin-left .2s;
  overflow-x: auto;
}

.block {
  padding: 20px;
  background-color: #f2f4f8;
  margin-bottom: 20px;
  padding-bottom: 5px;
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: 5px;
  box-shadow: var(--card-shadow);
}

#loginwindow {
  width: min(470px,calc(100% - 32px));
  margin: 10vh auto 30px;
}

#logincontent {
  text-align: center;
  background-color: #fff;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  border-radius: 6px;
}

#logincontent i {
  display: block;
  margin: 0 auto 15px auto;
  padding: 15px;
  width: 74px;
  border-radius: 50%;
  color: var(--primary);
  background-color: #E8E6FC;
  background: var(--primary-soft);
}

#logincontent input.button.show {
  margin-top: 15px;
}

#logincontent p {
  text-align: left;
}

#logincontent h2 {
  padding: 0;
  border: 0;
}

#logincontent input {
  width: 100%;
  max-width: 100%;
}

#logincontent label input {
  width: auto;
}

#loginwindow p.small {
  padding-top: 5px;
  font-size: 10px;
  color: #87909a;
  text-align: right;
  letter-spacing: 1px;
}

.smallline {
  display: block;
  width: 170px;
  height: 2px;
  background-color: var(--primary-soft);
  margin: 18px auto;
}

.tabname {
  display: none;
}

.tabhead {
  display: none;
}

ul.tabs-list {
  padding: 0;
  margin-top: 20px;
  margin-bottom: 0;
}

.tabs-list li {
  display: inline-block;
  color: #61697f;
  padding: 10px 18px;
  border-bottom: 2px solid #f1f2f7;
  border-bottom-color: var(--border);
}

.tabs-list li.current {
  border-bottom: 2px solid #3e36cf;
  font-weight: 600;
  color: var(--primary);
  border-color: var(--primary);
}

.tabs-list li a {
}

.tabs .content {
  padding: 20px 0;
  margin-bottom: 20px;
}

.tab table {
  margin-top: 0;
}

.logviewer {
  color: #333;
  line-height: 18px;
  font-family: monospace;
  font-size: 12px;
}

.vignette {
  display: inline-block;
  width: 255px;
  height: 350px;
  background-color: #f1f5f9;
  margin: 20px 20px 0 0;
  padding: 10px;
  text-align: center;
  vertical-align: top;
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: 5px;
  box-shadow: var(--card-shadow);
}

.vignette .spacer {
  display: inline-block;
  height: 260px;
  vertical-align: middle;
}

.vignette img {
  max-height: 260px;
  width: fit-content;
  vertical-align: middle;
  overflow: hidden;
}

.vignette .title {
  padding-top: 10px;
  font-size: 14px;
  color: #6b748b;
}

.clear {
  clear: both;
}

.hidden {
  display: none;
}

.fancybox-inner label {
  padding-left: 2px;
}

.responsive {
  display: none;
}

.fancybox-inner h2 {
  padding: 0 0 5px 0;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #eee;
  display: block;
  border-top: 0;
}

@media screen and (max-width: 1400px), screen and (max-device-width: 1400px) {
.control .blockright {
  float: none;
  width: 100%;
  margin-bottom: 20px;
}

.control .blockright a.button {
  display: inline-block;
  width: auto;
}

.control .blockright label {
  display: inline-block;
  width: auto;
}

.control .blockright input.button {
  display: inline-block;
  width: auto;
}

.control .blockright label.samesize {
  display: block;
}

.control .blockright p {
  margin: 0;
}

.control .blockleft {
  float: none;
  width: 100%;
}
}

@media screen and (max-width: 1000px), screen and (max-device-width: 1000px) {
input {
  max-width: 90%;
  margin-bottom: 5px;
}

textarea {
  max-width: 90%;
  margin-bottom: 5px;
}

table input {
  max-width: 200px;
  margin-bottom: 5px;
}

table textarea {
  max-width: 200px;
  margin-bottom: 5px;
}

.notresponsive {
  display: none;
}

.responsive {
  display: block;
}

.responsiveblock {
  display: block;
}

tr.responsive {
  display: table-row;
}

.logviewer {
  overflow: hidden;
  height: auto;
}

.controlhead .icons {
  margin-left: 0;
  padding-left: 25px;
}

.control {
  padding-left: 25px;
  margin-left: 0;
}
}

@media screen and (max-width: 700px), screen and (max-device-width: 700px) {
th.tools {
  width: 60px;
}

input.button {
  margin-bottom: 5px;
}

a.button {
  margin-bottom: 5px;
}

.controlhead .texte {
  display: none;
}

h1.welcome {
  font-size: 45px;
  letter-spacing: -1px;
}

#loginwindow {
  margin: 0;
  width: 100%;
}

#logincontent {
  padding: 40px;
  width: 100%;
  border: none;
  box-shadow: none;
}

#loginwindow p.small {
  display: none;
}

#customform {
  display: none;
}

.menu {
  width: 100%;
  margin-top: 64px;
}

.menu a {
  font-size: 18px;
  height: 55px;
  line-height: 50px;
}

.menu a em.icon {
  font-size: 20px;
  margin-right: 10px;
}

div.nova a:hover {
  background: transparent;
}

div.nova .powered {
  display: none;
}

.controlhead {
  padding-left: 0;
}

.menu .controltitle {
  font-size: 20px;
}
}

:root {
  --sidebar-width: 260px;
  --header-height: 70px;
  --primary: #2B6B5D;
  --primary-soft: #e9f2ef;
  --text: #4a5a6b;
  --heading: #343a40;
  --border: #e9edf1;
  --canvas: #f8f9fa;
  --card-shadow: 0 2px 8px rgba(18,38,63,.035);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.menu-search {
  position: relative;
  margin: 6px 0 24px;
}

.menu-search>i {
  position: absolute;
  left: 11px;
  top: 13px;
  font-size: 14px;
  color: #87909a;
}

.menu input#menusearch {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 10px 10px 32px;
  color: var(--text);
  background: #f4f7f9;
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 14px;
  border-radius: 5px;
}

.menu a.menuitem {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  line-height: 1.5;
  padding: 10px 12px;
  margin: 3px 0;
  border-radius: 7px;
  font-size: 14px;
  color: #3f4855;
}

.menu a.menuitem:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.menu .fa-spin {
  animation: none;
}

.controlhead a.button:hover {
  background: #f4f7f9;
  opacity: 1;
}

.topbar-greeting {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
}

.profile-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar i {
  font-size: 15px;
}

.sidebar-collapsed .menu {
  transform: translateX(-100%);
}

.sidebar-collapsed .control {
  margin-left: 0;
}

.sidebar-collapsed .controlhead {
  left: 0;
  width: auto;
}

.menu-backdrop {
  display: none;
}

.welcome-card {
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: 5px;
  box-shadow: var(--card-shadow);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.welcome-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.welcome-card p {
  margin: 0;
  color: #87909a;
}

.welcome-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  font-size: 25px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
}

textarea:focus {
  border-color: #80b4aa;
  box-shadow: 0 0 0 3px rgba(40,127,113,.1);
}

select:focus {
  border-color: #80b4aa;
  box-shadow: 0 0 0 3px rgba(40,127,113,.1);
}

textarea:disabled {
  background: #f4f6f8;
  color: #87909a;
}

select:disabled {
  background: #f4f6f8;
  color: #87909a;
}

input[type=submit] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: pointer;
}

input.button.show:hover {
  background: #226d61;
  border-color: #226d61;
  color: #fff;
}

a.button.show:hover {
  background: #226d61;
  border-color: #226d61;
  color: #fff;
}

input[type=submit]:hover {
  background: #226d61;
  border-color: #226d61;
  color: #fff;
}

tbody tr:hover {
  background: #fafbfc;
}

@media(max-width:991px) {
.menu {
  transform: translateX(-100%);
  width: 260px;
  height: 100dvh;
  margin-top: 0;
}

.control {
  margin-left: 0;
  padding: 90px 20px 30px;
}

.controlhead {
  left: 0;
  width: auto;
  padding: 0 20px;
}

.sidebar-open .menu {
  transform: translateX(0);
}

.sidebar-open .menu-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(34,43,54,.3);
  border: 0;
  border-radius: 0;
  z-index: 25;
}

input {
  max-width: 100%;
}

textarea {
  max-width: 100%;
}
}

@media(max-width:600px) {
.control {
  padding: 86px 16px 24px;
}

.controlhead {
  padding: 0 14px;
  gap: 8px;
}

.topbar-greeting {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  max-width: calc(100vw - 175px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.controlhead .texte {
  display: none;
}

.controlhead .right {
  gap: 6px;
}

.menu a.menuitem {
  font-size: 14px;
  min-height: 42px;
}

.menu a em.icon {
  font-size: 16px;
  margin: 0;
}

.menu .controltitle {
  font-size: 10px;
}

div.nova .powered {
  display: inline;
}

h1.welcome {
  font-size: 18px;
  letter-spacing: 0;
}

.welcome-card {
  padding: 20px;
  align-items: flex-start;
}

form label.samesize {
  display: block;
  width: auto;
  margin-bottom: 6px;
}

#loginwindow {
  margin: 32px auto;
}

#logincontent {
  padding: 24px;
}
}

@media(prefers-reduced-motion:reduce) {
* {
  transition: none!important;
  animation: none!important;
}

*::before {
  transition: none!important;
  animation: none!important;
}

*::after {
  transition: none!important;
  animation: none!important;
}
}

.menu .nova .admin-logo {
  display: block;
  width: 226px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0;
}


/* Connexion HabitatPass : champs lisibles et commandes adaptées au tactile. */
#loginwindow.habitat-login {width:min(470px,calc(100% - 32px)); margin:clamp(24px,6vh,72px) auto 32px;}
.habitat-login #logincontent {width:100%; padding:32px; border:1px solid var(--border,#e1e7e4); border-radius:16px; background:#fff; text-align:left; box-sizing:border-box;}
.habitat-login .login-brand {display:block; width:min(260px,100%); margin:0 auto 24px;}
.habitat-login .login-brand .admin-logo {display:block; width:100%; height:auto; max-height:76px; object-fit:contain; margin:0;}
.habitat-login #logincontent .login-title {margin:0 0 8px; padding:0; border:0; text-align:center; font-size:24px; line-height:1.3; color:#1e4439;}
.habitat-login #logincontent .login-intro {margin:0 0 24px; text-align:center; color:#52655c; font-size:14px; line-height:1.5;}
.habitat-login #logincontent .smallline {margin:0 0 24px;}
.habitat-login #logincontent p {margin:0 0 18px; line-height:1.5; overflow-wrap:anywhere;}
.habitat-login #logincontent p.login-label {margin-bottom:7px;}
.habitat-login #logincontent .login-label label {display:block; color:#294d40; font-size:14px; font-weight:600;}
.habitat-login #logincontent input:not([type=hidden]):not([type=checkbox]):not([type=submit]):not([type=radio]) {display:block; width:100%; min-width:0; max-width:100%; min-height:50px; padding:12px 14px; border:1px solid #becfc5; border-radius:9px; background:#fff; color:#243d32; font-size:16px; line-height:1.5; box-sizing:border-box;}
.habitat-login #logincontent input:focus-visible {outline:3px solid rgba(43,107,93,.2); outline-offset:2px; border-color:#2B6B5D;}
.habitat-login #logincontent input.button {width:100%; max-width:100%; min-height:48px; margin:0; padding:12px 10px; border-radius:9px; font-size:14px; line-height:1.5; box-sizing:border-box; cursor:pointer;}
.habitat-login #logincontent input.button:not(.show) {background:#fff; border:1px solid #becfc5; color:#2B6B5D;}
.habitat-login #logincontent input.button:not(.show):hover {background:#edf4ef;}
.habitat-login #logincontent .login-check label {display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.6; cursor:pointer;}
.habitat-login #logincontent .login-check input[type=checkbox] {flex:0 0 19px; width:19px; height:19px; min-height:19px; margin:2px 0 0; accent-color:#2B6B5D;}
.habitat-login #logincontent #code {text-align:center; font-size:24px; font-weight:600; letter-spacing:.2em; font-variant-numeric:tabular-nums;}
.habitat-login #logincontent .alert {max-width:100%; box-sizing:border-box; overflow-wrap:anywhere;}
.habitat-login #logincontent form:last-child p:last-child {margin-bottom:0;}
@media(max-width:600px) {
#loginwindow.habitat-login {width:calc(100% - 24px); margin:20px auto 24px;}
.habitat-login #logincontent {padding:26px 22px; border-radius:14px;}
.habitat-login .login-brand {width:min(245px,100%); margin-bottom:22px;}
.habitat-login #logincontent .login-title {font-size:22px;}
.habitat-login #logincontent .login-intro {margin-bottom:22px;}
}
@media(max-width:360px) {
.habitat-login #logincontent {padding:24px 18px;}
.habitat-login #logincontent .login-title {font-size:20px;}
}
