:root {
    --ink: #065166;
    --deep: #002b37;
    --orange: #f37450;
    --paper: #f7fbfc;
    --line: #d5e6eb;
    --muted: #5d7f88;
    --green: #3dbaa4;
    --red: #c44536;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: #e7f2f6;
    color: var(--deep);
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  }
  button, input, textarea, select { font: inherit; }
  .app { height: 100vh; overflow: hidden; }
  .window {
    background: white;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .window:has(#chat:not(.hidden)) {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }
  .window:has(#chat:not(.hidden)) .body,
  .window:has(#chat:not(.hidden)) .stage,
  #chat:not(.hidden) {
    min-height: 0;
    overflow: hidden;
  }
  .top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 6;
    background: white;
  }
  .menu {
    display: none;
    width: 40px; height: 40px; border-radius: 8px;
    border: 1px solid var(--line); background: white; color: var(--ink);
    cursor: pointer; font-size: 20px;
  }
  .brand { height: 52px; width: auto; display: block; }
  .gauges {
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 22px;
  }
  .gauge { display: flex; flex-direction: column; gap: 4px; }
  .gauge .track {
    width: 108px; height: 8px; border-radius: 8px; background: #e7f2f5; overflow: hidden;
  }
  .gauge .fill { height: 100%; border-radius: 8px; }
  .gauge .fill.ok { width: 42%; background: var(--green); }
  .gauge .fill.hours { width: 30%; background: var(--green); }
  .gauge .fill.warn { width: 86%; background: var(--orange); }
  .gauge .fill.stop { width: 100%; background: var(--red); }
  .gauge small { color: var(--muted); display: block; font-size: 11px; }
  .refill {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    padding: 0;
    text-align: left;
    cursor: pointer;
  }
  .refill.hot { color: var(--orange); font-weight: 700; }
  .refill.stop { color: var(--red); font-weight: 700; }
  .body { display: grid; grid-template-columns: 210px 1fr; flex: 1; position: relative; min-height: 0; overflow: hidden; }
  .rail {
    display: flex; flex-direction: column;
    min-height: 0;
    overflow: auto;
    background: var(--paper); border-right: 1px solid var(--line); padding: 12px;
  }
  .by { margin-top: auto; width: 128px; align-self: center; padding-top: 28px; }
  .rail-foot { margin-top: auto; display: flex; flex-direction: column; }
  .rail-foot .by { margin-top: 8px; }
  .who { position: relative; margin-left: 10px; align-self: center; }
  .cart-btn {
    position: relative;
    margin-left: 18px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    align-self: center;
  }
  .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--orange, #F96E46);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
  }
  .cart-lines { display: grid; gap: 12px; margin: 0 0 18px; }
  .cart-line {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: white;
  }
  .cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
  .cart-line .ph { width: 72px; height: 72px; border-radius: 8px; background: #d5e6eb; }
  .cart-line h3 { margin: 0 0 4px; font-size: 16px; }
  .cart-line .meta { margin: 0; color: var(--muted); font-size: 13px; }
  .cart-line .line-price { margin: 6px 0 0; font-weight: 700; color: var(--deep); }
  .qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
  .qty button, .cart-remove {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    cursor: pointer;
    border-radius: 8px;
  }
  .qty button { width: 28px; height: 28px; }
  .cart-remove { padding: 8px 10px; color: var(--muted); }
  .who-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .who-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 8;
    min-width: 200px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 43, 55, .12);
    padding: 6px;
  }
  .who-menu button,
  .who-menu a {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
  }
  .who-menu button:hover,
  .who-menu a:hover { background: var(--paper); }
  .who-menu a.logout { color: var(--red); }
  .who-menu a.logout:hover { background: #fdeceb; color: var(--red); }
  .login .note a.logout { color: var(--red); }
  .account-form { max-width: none; display: flex; flex-direction: column; gap: 0; }
  .account {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    align-items: stretch; margin-top: 8px;
  }
  .account-card {
    min-width: 0; border: 1px solid var(--line); border-top: 4px solid var(--orange);
    border-radius: 14px; padding: 16px 18px 18px; background: white;
  }
  .account-card h2 {
    margin: 0 0 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  }
  .account-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .account-card label,
  .account-label {
    display: block; margin: 14px 0 6px;
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  }
  .account-names label,
  .account-names .account-label { margin-top: 12px; }
  .account-value {
    margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--paper); color: var(--deep);
  }
  .account-card .primary { align-self: flex-start; margin-top: auto; }
  .account-form input[type="email"],
  .account-form input[type="password"],
  .account-form input[type="text"],
  .account-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    background: white;
  }
  #profil .sheet { display: flex; flex-direction: column; min-height: 0; }
  .portrait {
    flex: none;
    align-self: start;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(520px, 1.1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "head head"
      "note board"
      "save save";
    gap: 16px 20px;
    align-items: stretch;
    background: white; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 14px; padding: 19px 21px 16px;
  }
  .id-card {
    grid-area: head;
    display: flex;
    justify-content: center;
    background: transparent; color: var(--deep); padding: 0;
  }
  .id-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; min-width: 0; }
  .id-who { display: flex; align-items: center; gap: 16px; }
  .mono {
    flex: none; width: 59px; height: 59px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper); color: var(--ink); font-size: 18px; font-weight: 700;
    border: 1px solid var(--line);
  }
  .sheet .id-card h1 { margin: 0; flex: none; font-size: 29px; line-height: 1.1; color: var(--deep); white-space: nowrap; }
  .note-block > label {
    display: block; margin: 0 0 6px; color: var(--muted);
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  }
  .role-slot { flex: none; width: 240px; min-width: 0; }
  .note-block { grid-area: note; align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
  .note-block label { margin-top: 0; }
  .role-pick { position: relative; }
  .role-face {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    text-align: left; cursor: pointer; color: var(--deep); background: white;
    border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: 16px;
  }
  .role-face::after {
    content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: rotate(45deg) translateY(-2px);
  }
  .role-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .role-value.is-empty { color: var(--muted); }
  .role-menu {
    position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 6px);
    background: white; border: 1px solid var(--line); border-radius: 12px; padding: 6px;
    box-shadow: 0 16px 40px rgba(0, 43, 55, .18);
  }
  .role-opt {
    display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px;
    border-radius: 8px; color: var(--deep); font-size: 15px; font-weight: 550;
    letter-spacing: 0; text-transform: none; cursor: pointer;
  }
  .role-opt:hover { background: var(--paper); }
  .role-opt input { width: 16px; height: 16px; accent-color: var(--orange); }
  .role-all { margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 700; }
  .note-block textarea {
    width: 100%; color: var(--deep); background: white;
    border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px;
  }
  .note-block textarea {
    flex: 1; min-height: 117px; resize: vertical; font-size: 16px; line-height: 1.45;
  }
  .id-card input::placeholder, .note-block textarea::placeholder { color: var(--muted); }
  .id-card input:focus, .role-face:focus, .note-block textarea:focus { outline: none; border-color: var(--orange); }
  .map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .map-head h2 { margin: 0; font-size: 18px; }
  .map-head p { margin: 0; color: var(--muted); font-size: 13px; }
  .map { grid-area: board; min-height: 0; display: flex; align-self: stretch; }
  .portrait .board {
    flex: 1; width: 100%; margin: 0;
    display: grid; grid-template-columns: 148px repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: minmax(37px, auto);
    gap: 8px; align-items: stretch;
  }
  .portrait .board h2 { padding: 8px 10px; font-size: 13px; }
  .portrait .seat { min-height: 37px; }
  .board h2 {
    margin: 0; padding: 6px 8px; border-radius: 10px; text-align: center;
    font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  }
  .board h2.decouvre { background: #fff6d6; color: #8a6200; }
  .board h2.aise { background: #e5f2f6; color: var(--ink); }
  .board h2.maitrise { background: #e7f6f2; color: #0e6b58; }
  .board-name { display: flex; align-items: center; font-weight: 650; color: var(--ink); }
  .seat {
    position: relative; border: 0; border-radius: 10px; min-height: 28px; cursor: pointer;
  }
  .seat.decouvre { background: #fff6d6; }
  .seat.aise { background: #e5f2f6; }
  .seat.maitrise { background: #e7f6f2; }
  .seat.decouvre.on { background: #f0c400; }
  .seat.decouvre.on::after { border-color: #5c4300; }
  .seat.aise.on { background: var(--ink); }
  .seat.maitrise.on { background: #0e6b58; }
  .seat.on::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 11px; height: 6px; border-left: 2px solid white; border-bottom: 2px solid white;
    transform: translate(-50%, -70%) rotate(-45deg);
  }
  .seat:hover { filter: brightness(.97); }
  .seat:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .portrait-save {
    grid-area: save; display: flex; flex-direction: column; align-items: center; gap: 10px;
    margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line);
  }
  .portrait-save .done { margin: 0; }
  .portrait-save .primary {
    width: auto; margin: 0; background: var(--ink); color: white;
    border-radius: 8px; padding: 10px 14px; font-size: 15px;
  }
  #structure .sheet { display: flex; flex-direction: column; min-height: 0; }
  .org {
    flex: none;
    align-self: start;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas: "head head" "id note" "work note" "stack stack" "save save";
    gap: 14px 28px;
    background: white; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 14px; padding: 16px 20px 14px;
  }
  .org-head { grid-area: head; display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; }
  .brand-mark {
    position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; overflow: hidden; cursor: pointer;
    background: white; color: var(--orange); border: 1px solid var(--line);
  }
  .brand-mark.has-logo {
    width: auto; height: 64px; max-width: 280px; border-radius: 14px; padding: 6px 12px;
  }
  .brand-mark.has-logo img { width: auto; height: 100%; object-fit: contain; }
  .brand-mark input {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
    opacity: 0; cursor: pointer; border: 0; background: transparent;
  }
  .mark-hint { display: grid; place-items: center; }
  .org .trade {
    flex: none; width: auto; min-width: 8ch; max-width: 100%; margin: 0; padding: 0;
    border: 0; background: transparent; color: var(--deep); field-sizing: content;
    font-size: 28px; font-weight: 650; line-height: 1.1;
  }
  .org .trade::placeholder { color: var(--muted); }
  .org-id { grid-area: id; }
  .org-work { grid-area: work; display: flex; flex-direction: column; min-width: 0; }
  .org-note { grid-area: note; display: flex; flex-direction: column; min-height: 0; }
  .org label, .org-label {
    display: block; margin: 8px 0 4px; color: var(--muted);
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  }
  .org-id > :first-child, .org-work > label:first-of-type, .org-note > label { margin-top: 0; }
  .org input, .org textarea {
    width: 100%; color: var(--deep); background: white;
    border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 15px;
  }
  .org textarea { min-height: 52px; resize: vertical; font-size: 15px; line-height: 1.4; }
  .org-note textarea { flex: 1; min-height: 64px; }
  .org input::placeholder, .org textarea::placeholder { color: var(--muted); }
  .org input:focus, .org textarea:focus, .org .trade:focus { outline: none; border-color: var(--orange); }
  .org .trade:focus { border-color: transparent; }
  .org .pair { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .forms { display: flex; flex-wrap: wrap; gap: 8px; }
  .forms .pill {
    border: 1px solid var(--line); background: white; color: var(--ink);
    border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 14px; font-weight: 650;
  }
  .forms .pill.on { background: var(--ink); color: white; border-color: var(--ink); }
  .audiences { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; min-height: 36px; }
  .org .audiences label {
    display: flex; align-items: center; gap: 8px; margin: 0;
    font-size: 15px; font-weight: 650; letter-spacing: 0; text-transform: none; cursor: pointer; color: var(--ink);
  }
  .org .audiences input {
    width: 16px; height: 16px; margin: 0; padding: 0; flex: none;
    border: 0; border-radius: 50%; background: transparent; accent-color: var(--ink);
  }
  .org .portrait-save { border-top-color: var(--line); }
  .org .stack {
    grid-area: stack;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 22px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .org .stack-item > .org-label { margin-top: 0; }
  .org .stack .depends { display: none; }
  .org .stack .is-open .depends { display: block; }
  .lock p { margin: 0 0 8px; }
  .lock p:last-child { margin: 0; }
  .rail button {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    text-align: left; border: 0; background: transparent; color: var(--ink);
    padding: 10px; border-radius: 8px; cursor: pointer; margin-bottom: 4px;
  }
  .rail button.on { background: white; box-shadow: 0 1px 0 var(--line); }
  .neptune-dock {
    flex-shrink: 0;
    align-self: stretch;
    min-width: 0;
    max-width: 100%;
    margin-top: auto;
    padding: 12px 10px 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 43, 55, .05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
  }
  .neptune-dock .by { width: 96px; height: auto; margin: 0 auto; padding: 0; }
  .neptune-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; min-width: 0; }
  .neptune-dock button {
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 4px 7px;
    background: white;
    border: 1px solid var(--line);
    color: var(--ink);
    text-align: center;
    font-size: 12px;
    font-weight: 650;
    border-radius: 10px;
    box-shadow: none;
  }
  .neptune-dock button span { white-space: nowrap; }
  .neptune-dock button svg { display: block; flex: none; }
  .neptune-dock .label { display: inline-flex; align-items: center; gap: 4px; }
  .neptune-dock .pip {
    position: static;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--orange); box-shadow: none;
  }
  .neptune-dock button.on,
  .neptune-dock button:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
  .news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .news-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 16px; }
  .news-card a {
    display: flex; flex-direction: column; height: 100%; gap: 10px;
    color: var(--ink); text-decoration: none;
  }
  .news-card img {
    width: 100%; height: 148px; object-fit: cover; border-radius: 12px; background: white;
  }
  .news-card h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.25; }
  .news-card p {
    margin: 0; font-size: 14px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  }
  .news-card .more {
    margin-top: auto; padding-top: 8px; text-align: center;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  }
  .badge { background: var(--orange); color: white; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
  .rail-alert { display: inline-flex; align-items: center; color: var(--red); flex: none; }
  .stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: auto; }
  .stage > .screen { display: flex; flex-direction: column; flex: 1; }
  .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 16px; }
  .home-kpis { grid-template-columns: .8fr 1fr 1fr; align-items: stretch; }
  .home-top {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; align-items: stretch; margin-top: 4px;
  }
  .promo {
    flex: none;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 40px; padding: 0 28px; overflow: hidden;
    background: var(--orange); color: var(--ink);
  }
  .promo-mark { display: inline-flex; flex: none; }
  .promo p {
    margin: 0; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 15px; font-weight: 700; line-height: 40px;
  }
  .home-split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; align-items: start; margin-top: 14px;
  }
  .board[data-board] { margin-top: 0; }
  .home-top .board { height: 100%; }
  .home-top .board, .home-split .board {
    border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 14px 10px; background: white;
  }
  .home-split .board[data-board="seo"],
  .home-split .board[data-board="business"],
  .home-top .board[data-board="performance"] {
    border-top: 4px solid var(--orange); background: white;
  }
  .home-top .board[data-board="performance"] {
    height: 100%; display: flex; flex-direction: column;
  }
  .home-top .scores { margin-top: auto; margin-bottom: auto; }
  .board[data-board] h2 {
    margin: 0 0 8px; padding: 0; border-radius: 0; text-align: left; background: transparent;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  }
  .home-split .board[data-board="seo"] h2 { color: var(--ink); }
  .home-split .board[data-board="business"] h2 { color: #c4512e; }
  .home-top .board[data-board="performance"] h2 { color: #0e6b58; }
  .board[data-board] h3 { margin: 6px 0 0; font-size: 14px; }
  .board[data-board] > .note:empty { display: none; }
  .board-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0 4px; }
  .home-split .kpi, .home-top .perf { padding: 10px 8px; }
  .scores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
  .ring { position: relative; width: 108px; margin: 4px auto 2px; }
  .ring svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
  .ring circle { fill: none; stroke-width: 10; }
  .ring .track { stroke: #e7f2f6; }
  .ring .value {
    stroke: var(--line);
    stroke-linecap: round;
    stroke-dasharray: 264;
    stroke-dashoffset: calc(264 - (264 * var(--p)) / 100);
  }
  .ring.poor .value { stroke: var(--red); }
  .ring.mid .value { stroke: var(--orange); }
  .ring.good .value { stroke: var(--green); }
  .ring b {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 26px; margin: 0;
  }
  .rank { list-style: none; margin: 8px 0 0; padding: 0; }
  .rank li {
    display: grid; grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px 12px; align-items: baseline;
    padding: 10px 0; border-bottom: 1px solid var(--line);
  }
  .rank .n { color: var(--muted); font-weight: 700; }
  .rank .meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
  .rank li.empty { display: block; color: var(--muted); border-bottom: 0; }
  .perf { text-align: center; background: white; }
  .perf .device { display: block; color: var(--muted); font-size: 13px; }
  .speed { width: 100%; max-width: 220px; height: auto; }
  .speed text { font-family: "Segoe UI", Helvetica, Arial, sans-serif; }
  .perf strong { display: block; margin-top: 2px; font-size: 14px; }
  .access { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
  .access article {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    background: white; border: 1px solid var(--line); border-radius: 10px;
    padding: 0 0 0 10px; min-height: 46px; overflow: hidden;
  }
  .access article.is-soon { background: #f4f7f8; }
  .access img { width: 36px; height: 24px; object-fit: contain; object-position: left center; }
  .access h3 { margin: 0; font-size: 14px; }
  .access small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; }
  .soc {
    width: 28px; height: 28px; border-radius: 6px;
    display: grid; place-items: center;
    background: #d5e0e4; color: #5c727a;
    font-size: 13px; font-weight: 800;
  }
  .soc-facebook::before { content: "f"; }
  .soc-linkedin::before { content: "in"; font-size: 11px; }
  .soc-instagram::before { content: "◎"; }
  .soc-propulse { background: #e5f2f6; color: var(--ink); }
  .soc-propulse::before { content: "P"; }
  .tag.off { background: var(--ink); color: white; }
  .tag {
    align-self: stretch; display: grid; place-items: center; text-align: center;
    min-width: 112px; padding: 0 8px; background: #0e6b58; color: white;
    font-size: 11px; font-weight: 700; letter-spacing: .03em;
  }
  .tag.err { background: var(--red); color: white; }
  .tag.soon { background: #d5e0e4; color: #4e646c; }
  .kpi b { display: block; font-size: 22px; margin-top: 4px; }
  .kpi .up { color: var(--green); font-size: 13px; }
  .kpi .down { color: var(--red); font-size: 13px; }
  .compare { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
  .compare .now, .compare .next { background: white; border-radius: 8px; padding: 8px 10px; }
  .rowact { display: flex; gap: 6px; }
  .choice.on { background: var(--ink); color: white; }
  .layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: minmax(0, 1fr);
    flex: 1;
    min-height: 0;
  }
  .layout.folded { grid-template-columns: 84px 1fr; }
  .side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background: var(--paper);
    padding: 14px;
  }
  .new-thread {
    display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px;
    margin: 0 0 10px; border: 1px solid var(--line); background: white; color: var(--ink);
    border-radius: 8px; padding: 9px 10px; cursor: pointer; font-weight: 650; font-size: 13px;
    white-space: nowrap;
  }
  .new-thread i { font-style: normal; font-size: 18px; line-height: 1; }
  .side.folded .new-thread {
    border-color: transparent; background: transparent; color: white;
    margin: 0 0 8px; padding: 8px 0 12px;
  }
  .side.folded .new-thread i { font-size: 44px; font-weight: 500; }
  .side.folded .new-thread span { display: none; }
  .fold {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    border: 0; background: transparent; color: var(--muted); cursor: pointer;
    font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
    padding: 8px 4px; margin: 0 0 8px;
  }
  .fold i { font-style: normal; font-size: 18px; color: var(--ink); }
  .side.folded {
    padding: 10px 6px;
    background: var(--orange);
    border-right-color: var(--orange);
  }
  .side.folded .threads { display: none; }
  .side.folded .fold { flex-direction: column; gap: 12px; margin: 0; color: white; }
  .side.folded .fold i { color: white; font-size: 22px; font-weight: 650; line-height: 1; white-space: nowrap; }
  .side.folded .fold span { writing-mode: vertical-rl; transform: rotate(180deg); }
  .threads { min-height: 0; overflow-y: auto; }
  .thread-item {
    display: block; width: 100%; text-align: left;
    border: 0; background: transparent; color: var(--ink);
    padding: 10px; border-radius: 8px; cursor: pointer; margin-bottom: 4px;
  }
  .thread-item.on { background: white; box-shadow: 0 1px 0 var(--line); }
  .main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: #eef4f6; }
  .msgs { padding: 22px 28px; display: flex; flex-direction: column; gap: 12px; }
  #msgs { flex: 1; min-height: 0; overflow-y: auto; }
  .empty-chat {
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .empty-chat img { width: 96px; height: auto; transform: rotate(-45deg); }
  .empty-chat p {
    margin: 0;
    max-width: 16em;
    color: var(--deep);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 650;
  }
  #ticketAskWrap { flex-shrink: 0; }
  .msg { max-width: 74%; display: flex; flex-direction: column; }
  .msg.me { align-self: flex-end; align-items: flex-end; }
  .msg .meta { font-size: 11px; color: var(--muted); margin: 0 6px 3px; }
  .bubble {
    margin: 0; padding: 12px 16px; line-height: 1.45; font-size: 15px;
    white-space: pre-line;
  }
  .me .bubble { background: var(--ink); color: white; border-radius: 18px 18px 4px 18px; }
  .sia .bubble { background: white; color: var(--deep); border-radius: 18px 18px 18px 4px; }
  .ai-fallback { align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 74%; }
  .ai-fallback .done { margin: 0; }
  .paste { background: #f3fafb; border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
  .paste .k { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .paste .v { font-weight: 600; color: var(--ink); }
  .file {
    display: flex; gap: 10px; align-items: center; margin-top: 8px;
    padding: 8px; border-radius: 12px; background: var(--paper);
    border: 1px solid var(--line); color: inherit; text-decoration: none;
  }
  .file i {
    width: 36px; height: 36px; border-radius: 8px; background: var(--orange); color: white;
    display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 11px;
  }
  .ask { display: flex; gap: 8px; margin-top: 10px; }
  .ask button, .send, .primary {
    background: var(--ink); color: white; border: 0; border-radius: 8px; padding: 10px 14px; cursor: pointer;
  }
  .ask .ghost, .ghost {
    background: white; color: var(--ink); border: 1px solid var(--line);
  }
  .card > .ghost { margin-top: 12px; border-radius: 8px; padding: 10px 14px; cursor: pointer; }
  .composer {
    flex-shrink: 0;
    margin-top: auto; display: flex; align-items: flex-end; gap: 8px; padding: 14px 18px;
    background: white; border-top: 1px solid var(--line);
  }
  .ask-box { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
  .composer input {
    width: 100%; min-width: 0; background: var(--paper); border: 1px solid var(--line);
    border-radius: 8px; padding: 12px 14px;
  }
  .composer .plus, .composer .mic {
    flex-shrink: 0; width: 44px; height: 44px; padding: 0;
    display: grid; place-items: center;
    background: var(--paper); color: var(--ink);
    border: 1px solid var(--line); border-radius: 8px;
    font-size: 24px; line-height: 1; cursor: pointer;
  }
  .composer .plus:disabled, .composer .mic:disabled { opacity: .45; cursor: default; }
  .composer .mic.on { background: var(--orange); color: white; border-color: var(--orange); }
  .file-pick { display: none; }
  .picked {
    display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
    color: var(--ink); font-size: 13px;
  }
  .picked span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .picked button {
    margin-left: auto; border: 0; background: transparent; color: var(--ink);
    font-size: 16px; line-height: 1; cursor: pointer;
  }
  .sheet { padding: 28px; background: white; flex: 1; }
  .sheet h1 { margin: 0 0 8px; font-size: 26px; }
  .themes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .replay-card { width: min(760px, 100%); margin: 0 auto 28px; }
  .cases-card .accordion { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .cases-card .accordion details:nth-child(-n+2) { border-top: 0; }
  .replay-card h2, .cases-card h2 { margin: 0 0 12px; font-size: 18px; }
  .player { position: relative; border-radius: 12px; overflow: hidden; background: var(--deep); aspect-ratio: 16 / 9; }
  .player video { display: block; width: 100%; height: 100%; background: var(--deep); }
  .player .screenvid {
    position: relative; display: block; height: 100%; background: var(--deep); color: white;
  }
  .player .screenvid img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .player .screenvid i {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; background: var(--orange);
    display: grid; place-items: center; font-style: normal; font-size: 22px;
  }
  .player .duration {
    position: absolute; right: 10px; bottom: 10px;
    background: rgba(0, 43, 55, .72); color: white;
    font-size: 12px; font-weight: 700; letter-spacing: .04em;
    padding: 4px 8px; border-radius: 99px;
  }
  .replay-meta { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; font-size: 14px; }
  .replay-meta span { color: var(--muted); }
  .accordion details { border-top: 1px solid var(--line); }
  .accordion details:first-child { border-top: 0; }
  .accordion summary {
    cursor: pointer; padding: 12px 2px; font-weight: 650; color: var(--ink); line-height: 1.35;
    list-style: none; display: flex; gap: 10px; align-items: flex-start;
  }
  .accordion summary .qtext { flex: 1; }
  .accordion .thema {
    flex: none; margin-top: 1px;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 99px;
  }
  .thema.seo { background: #e7f6f2; color: #0e6b58; }
  .thema.business { background: #fff1ec; color: #9a3b24; }
  .thema.maintenance { background: #e8f4f8; color: var(--ink); }
  .thema.communication { background: #fff6d8; color: #7a4e08; }
  .card.faq-card { margin-top: 28px; background: var(--orange); border-color: var(--orange); }
  .faq-card .faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
  .faq-card h2 { margin: 0 0 12px; font-size: 18px; color: white; }
  .faq-card .accordion details { border-top-color: rgba(255, 255, 255, .35); }
  .faq-card .accordion summary { color: white; }
  .faq-card .accordion summary::before { border-right-color: white; border-bottom-color: white; }
  .faq-card .accordion details p { color: rgba(255, 255, 255, .92); }
  .accordion summary::-webkit-details-marker { display: none; }
  .accordion summary::before {
    content: ""; flex: none; width: 7px; height: 7px; margin-top: 6px;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: rotate(-45deg);
  }
  .accordion details[open] summary::before { transform: rotate(45deg); margin-top: 4px; }
  .accordion details p { margin: 0 0 12px 18px; color: var(--muted); line-height: 1.45; }
  .accordion details b { color: var(--ink); font-weight: 650; }
  .q { list-style: none; margin: 10px 0 0; padding: 0; }
  .q li {
    margin: 0 0 8px; padding: 10px 12px; background: white; border-radius: 8px;
    color: var(--ink); line-height: 1.4;
  }
  .tutos { margin: 28px 0 12px; font-size: 18px; }
  .reel { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
  .reel-track { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .reel > button {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
    background: white; color: var(--ink); cursor: pointer;
  }
  .slide { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .slide .screenvid {
    position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
    background: var(--deep); color: white;
  }
  .slide .screenvid img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .slide .screenvid i {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%; background: var(--orange);
    display: grid; place-items: center; font-style: normal; font-size: 18px;
  }
  .slide .cap { padding: 14px 16px; }
  .slide .cap h3 { margin: 0 0 6px; }
  .slide .cap p { margin: 0; color: var(--muted); }
  .lead { color: var(--muted); margin: 0 0 18px; }
  .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
  .filters button {
    border: 1px solid var(--line); background: white; color: var(--ink);
    border-radius: 99px; padding: 8px 14px; cursor: pointer;
  }
  .filters button.on { background: var(--ink); color: white; border-color: var(--ink); }
  .switch {
    display: inline-flex; align-items: center; gap: 8px;
    margin-left: auto; cursor: pointer; font-size: 14px; font-weight: 650; color: var(--ink);
  }
  .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .switch i {
    position: relative; width: 46px; height: 26px; border-radius: 99px; background: #d5e6eb;
  }
  .switch i::after {
    content: ""; position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px; border-radius: 50%; background: white;
    box-shadow: 0 1px 2px rgba(0, 43, 55, .2);
    transition: transform .16s ease;
  }
  .switch input:checked + i { background: var(--orange); }
  .switch input:checked + i::after { transform: translateX(20px); }
  .switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
  .cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .cards .card:only-child { grid-column: 1 / -1; }
  .card {
    border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper);
  }
  .card.offer {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 14px 14px;
    overflow: hidden;
    background: white;
  }
  .fresh {
    position: absolute; top: 10px; left: 10px; z-index: 1;
    background: var(--orange); color: white;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 4px 8px; border-radius: 99px;
  }
  .product .fresh { position: static; display: inline-block; margin: 0 0 8px; }
  .card.offer .shot {
    display: block;
    width: calc(100% + 28px);
    height: 112px;
    margin: 0 -14px 12px;
    object-fit: cover;
  }
  .card.offer p { margin: 0 0 12px; }
  .card.offer .from { margin: 2px 0 12px; font-weight: 700; color: var(--deep); }
  .product .from { margin: 8px 0 16px; font-weight: 700; color: var(--deep); font-size: 22px; }
  .product .desc { margin: 0 0 16px; }
  .product .desc > :first-child { margin-top: 0; }
  .product .desc > :last-child { margin-bottom: 0; }
  .long {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    max-width: 46rem;
  }
  .long h2 { margin: 0 0 12px; font-size: 20px; }
  .long .desc { line-height: 1.55; }
  .long .desc p,
  .long .desc ul { margin: 0 0 12px; }
  .long .desc ul { padding-left: 1.2em; }
  .long .desc h2 { margin: 22px 0 8px; font-size: 18px; color: var(--deep); }
  .long .desc > :last-child { margin-bottom: 0; }
  .screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
  }
  .tier:disabled { opacity: .45; cursor: default; }
  .card.offer > .primary,
  .card.offer > .ghost { margin-top: auto; align-self: flex-start; }
  .product { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
  .product img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; }
  .need label { display: block; font-weight: 650; margin-bottom: 8px; }
  .need input[type="text"] {
    width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  }
  .need textarea {
    width: 100%; min-height: 150px; resize: vertical;
    border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  }
  .need .primary { margin-top: 12px; }
  .addname { display: flex; gap: 8px; }
  .addname input { flex: 1; }
  .addname .ghost { padding: 10px 14px; border-radius: 8px; cursor: pointer; }
  .namelist { list-style: none; margin: 12px 0 0; padding: 0; }
  .namelist li {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid var(--line);
  }
  .namelist button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
  .back {
    display: inline-block; margin: 0 0 16px; padding: 0;
    border: 0; background: transparent; color: var(--ink); cursor: pointer;
  }
  .card h3 { margin: 0 0 6px; }
  .tiers { margin: 14px 0; }
  .tier {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1.2fr auto;
    gap: 8px;
    align-items: center;
    text-align: left;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--ink);
  }
  .tier.on { border-color: var(--orange); background: #fff8f5; }
  .tier b { color: var(--deep); }
  .tier .off { color: var(--orange); font-size: 12px; }
  .note { font-size: 13px; color: var(--muted); }
  .grid { width: 100%; border-collapse: collapse; }
  .grid th, .grid td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .pill { display: inline-block; padding: 3px 8px; border-radius: 99px; font-size: 12px; background: #e7f6f2; color: #0e6b58; }
  .pill.wait { background: #e8f4f8; color: var(--ink); }
  .pill.no { background: #fdeceb; color: #8d2b22; }
  .hidden { display: none !important; }
  a.thread-item { text-decoration: none; color: inherit; display: block; }
  .shot { height: 112px; background: #d5e6eb; }
  .product .shot { height: 320px; border-radius: 12px; }
  .shot-sia { background: linear-gradient(135deg, #065166, #f37450); }
  .shot-hebergement { background: linear-gradient(135deg, #0e6b58, #d5e6eb); }
  .shot-site { background: linear-gradient(135deg, #002b37, #3dbaa4); }
  .shot-creation { background: linear-gradient(135deg, #f37450, #f7fbfc); }
  .mark { width: 76px; height: 40px; display: grid; place-items: center; font-weight: 700; color: var(--ink); }
  .tag.wait { background: #fff1ec; color: #9a3b24; }
  .card.compare { margin-top: 10px; }
  body:has(.gate) { background: #F96E46; }
  .gate {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    background: #F96E46;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
  }
  .gate-rings,
  .gate-line {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
  .gate-rings {
    width: min(1500px, 150vw);
    height: auto;
    left: 46%;
    top: 42%;
    transform: translate(-50%, -48%);
  }
  .gate-line {
    left: -6%;
    top: 16%;
    width: 112%;
    height: auto;
  }
  .gate-mark {
    position: absolute;
    z-index: 2;
    top: 22px;
    right: 32px;
    width: 138px;
  }
  .gate-mark img { display: block; width: 100%; height: auto; }
  .gate-card {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 36px 32px 28px;
    box-shadow: 0 22px 50px rgba(92, 28, 10, .22);
  }
  .gate-logo {
    display: block;
    width: 196px;
    height: auto;
    margin: 0 auto 22px;
  }
  .gate-card h1 {
    margin: 0 0 6px;
    font-size: 26px;
    text-align: center;
    letter-spacing: -0.02em;
  }
  .gate-card .lead {
    margin: 0 0 22px;
    text-align: center;
  }
  .login form { display: grid; gap: 16px; }
  .login form p { margin: 0; }
  .login label { display: block; font-weight: 650; margin: 0 0 6px; font-size: 14px; color: var(--ink); }
  .login .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
    color: var(--deep);
  }
  .login input[type="text"],
  .login input[type="password"],
  .login input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5e0e4;
    border-radius: 10px;
    background: #f7fbfc;
  }
  .login input[type="text"]:focus,
  .login input[type="password"]:focus,
  .login input[type="email"]:focus {
    outline: none;
    border-color: var(--ink);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6, 81, 102, .16);
  }
  .login #wp-submit,
  .login .gate-submit {
    width: 100%;
    background: var(--ink);
    color: white;
    border: 0;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 650;
  }
  .login #wp-submit:hover,
  .login .gate-submit:hover { background: var(--deep); }
  .gate-card .done { text-align: center; margin: 0 0 16px; }
  .gate-card .alert {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff1ec;
    color: #9a3b24;
    text-align: center;
    font-size: 14px;
  }
  .login .note { margin: 16px 0 0; text-align: center; }
  .login .note a { color: var(--ink); }
  .menu:hover,
  .cart-btn:hover,
  .who-btn:hover,
  .qty button:hover,
  .cart-remove:hover,
  .rail button:hover,
  .new-thread:hover,
  .thread-item:hover,
  .reel > button:hover,
  .role-face:hover,
  .filters button:hover,
  .composer .plus:hover,
  .composer .mic:hover {
    background: var(--paper);
  }
  .rail button.on:hover,
  .thread-item.on:hover { background: white; }
  .ask button:hover,
  .send:hover,
  .primary:hover,
  .filters button.on:hover,
  .contact-fab summary:hover .bubble {
    background: var(--deep);
    color: white;
  }
  .ghost.choice.on { background: var(--ink); color: white; border-color: var(--ink); }
  .ghost.choice.on:hover { background: var(--deep); color: white; border-color: var(--deep); }
  .ask .ghost:hover,
  .ghost:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--ink);
  }
  .refill:hover,
  .back:hover,
  .login .note a:hover,
  .namelist button:hover { text-decoration: underline; }
  .namelist button:hover,
  .picked button:hover,
  .back:hover { color: var(--deep); }
  .fold:hover { color: var(--ink); }
  .side.folded .fold:hover,
  .side.folded .new-thread:hover { background: transparent; color: white; }
  .forms .pill:hover { background: var(--paper); }
  .forms .pill.on:hover { background: var(--deep); color: white; border-color: var(--deep); }
  .tier:hover { border-color: var(--ink); }
  .tier.on:hover { border-color: var(--orange); background: #fff8f5; }
  .accordion summary:hover .qtext { text-decoration: underline; }
  .news-card a:hover .more,
  a.file:hover { text-decoration: underline; }
  a.file:hover { border-color: var(--ink); }
  .brand-mark:hover { box-shadow: 0 0 0 3px rgba(6, 81, 102, .12); }
  .gate-mark:hover { opacity: .82; }
  .composer .mic.on:hover { background: var(--orange); color: white; border-color: var(--orange); }
  .composer .plus:disabled:hover,
  .composer .mic:disabled:hover { background: var(--paper); }
  .send:disabled:hover,
  .primary:disabled:hover,
  .ask button:disabled:hover { background: var(--ink); color: white; text-decoration: none; }
  .tier:disabled:hover { background: white; border-color: var(--line); }
  button:disabled,
  button:disabled:hover { cursor: default; }
  .contact-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 20;
  }
  body:has(#chat:not(.hidden)) .contact-fab { display: none; }
  .contact-fab summary {
    list-style: none; cursor: pointer; width: 58px; margin-left: auto;
  }
  .contact-fab summary::-webkit-details-marker { display: none; }
  .contact-fab .bubble {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--orange); color: white;
    box-shadow: 0 10px 24px rgba(243, 116, 80, .35);
  }
  .contact-fab .shut { display: none; }
  .contact-fab[open] .mail { display: none; }
  .contact-fab[open] .shut { display: block; }
  .contact-fab .panel {
    position: absolute; right: 0; bottom: 70px;
    width: min(340px, calc(100vw - 36px));
    max-height: min(460px, calc(100vh - 140px));
    overflow: auto;
    background: white;
    border: 1px solid var(--line);
    border-top: 4px solid var(--orange);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 43, 55, .16);
    padding: 16px 16px 18px;
  }
  .contact-fab h2 { margin: 0 0 6px; font-size: 18px; color: var(--deep); }
  .contact-fab .lead, .contact-fab .from { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
  .contact-fab .from { font-size: 13px; }
  .contact-fab .warn { margin: 0 0 12px; color: var(--red); font-size: 14px; }
  .contact-fab .done { margin: 0; }
  .contact-fab form { display: grid; gap: 0; }
  .contact-fab label {
    display: block; margin: 0 0 6px;
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  }
  .contact-fab input[type="text"],
  .contact-fab textarea {
    width: 100%; margin: 0 0 12px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
    padding: 10px 12px; color: var(--deep);
  }
  .contact-fab textarea { min-height: 120px; resize: vertical; }
  .contact-fab input:focus, .contact-fab textarea:focus {
    outline: 2px solid var(--ink); outline-offset: 1px;
  }
  .contact-fab .primary { justify-self: start; margin-top: 2px; }
  .contact-fab .hp {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
  }
  .contact-fab summary:focus-visible .bubble { outline: 2px solid var(--ink); outline-offset: 3px; }
  .ticket {
    margin-top: 10px; background: #f3fafb; border-radius: 10px; padding: 10px;
  }
  .ticket textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-height: 70px; }
  .done { color: var(--green); font-weight: 650; }
  @media (max-width: 1100px) {
    .cards, .themes, .news-grid { grid-template-columns: 1fr 1fr; }
    .reel-track { grid-template-columns: 1fr 1fr; }
    .reel-track .slide:nth-child(3) { display: none; }
  }
  @media (max-width: 800px) {
    .menu { display: grid; place-items: center; order: 1; }
    .gate { padding: 96px 16px 32px; }
    .gate-mark { top: 14px; right: 14px; width: 96px; }
    .gate-line { top: 11%; }
    .gate-rings { width: 190vw; left: 40%; }
    .brand { order: 2; }
    .cart-btn { order: 3; margin-left: auto; }
    .who { order: 4; margin-left: 10px; }
    .top { flex-wrap: wrap; padding: 12px; }
    .brand { height: 40px; }
    .gauges { order: 4; flex: 1 0 100%; margin-left: 0; gap: 16px; }
    .gauge { flex: 1; min-width: 0; }
    .gauge .track { width: 100%; }
    .gauge .refill { display: block; white-space: normal; line-height: 1.2; }
    .body { grid-template-columns: 1fr; }
    .rail {
      display: none;
      position: absolute;
      z-index: 4;
      top: 0; left: 0; bottom: 0;
      width: min(280px, 86vw);
      box-shadow: 8px 0 24px rgba(0, 43, 55, .16);
    }
    body.nav-open .rail { display: flex; }
    .kpis, .home-kpis, .board-kpis, .scores, .themes, .cards, .news-grid, .product, .layout, .compare, .access, .home-top, .home-split, .account, .account-names { grid-template-columns: 1fr; }
    .replay-card { width: 100%; }
    .cases-card .accordion, .faq-card .faq-cols { grid-template-columns: 1fr; }
    .cases-card .accordion details:nth-child(2) { border-top: 1px solid var(--line); }
    .reel { grid-template-columns: auto 1fr auto; }
    .reel-track { grid-template-columns: 1fr; }
    .reel-track .slide:nth-child(n+2) { display: none; }
    .sheet { padding: 18px 16px; }
    .empty-chat p { font-size: 28px; }
    .portrait {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto auto;
      grid-template-areas: "head" "note" "board" "save";
    }
    .role-slot { width: min(240px, 100%); flex: none; }
    .id-head { flex-wrap: wrap; justify-content: center; }
    .map { height: auto; }
    .portrait .board { grid-template-columns: 92px repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(48px, auto); }
    .org {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto auto auto;
      grid-template-areas: "head" "id" "work" "note" "stack" "save";
    }
    .org .stack { grid-template-columns: 1fr; }
    .org-note textarea { flex: none; min-height: 64px; }
    .msgs { padding: 16px; }
    .msg { max-width: 92%; }
    .product img, .product .shot { height: 200px; }
    .layout, .layout.folded { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
    .side { max-height: 38vh; border-right: 0; border-bottom: 1px solid var(--line); }
    .side.folded { max-height: none; border-bottom-color: var(--orange); }
    .side.folded .fold { flex-direction: row; }
    .side.folded .fold span { writing-mode: horizontal-tb; transform: none; }
    .contact-fab { right: 16px; bottom: 16px; }
  }
