/* VibAir - interface publique et assistance */

/* ===== Interface publique ===== */
html,
body.public-mode {
  min-height: 100%;
}

body.public-mode {
  overflow-x: hidden;
}

.public-mode .public-app {
  display: block;
}

.public-project-open {
  cursor: pointer;
}

/* Compte et sauvegarde serveur */
.account-view [hidden] {
  display: none !important;
}

.public-nav { width: min(1040px, 100%); }
.public-nav-links button.signed-in::before { width: 7px; height: 7px; border-radius: 50%; background: #54df97; box-shadow: 0 0 0 4px rgba(84, 223, 151, .12); content: ""; }

.account-view { padding-inline: max(4vw, calc((100vw - 1800px) / 2)); }
.account-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.account-heading h1 { margin: 16px 0 14px; color: #fff; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.07em; }
.account-heading p { margin: 0; color: #9ba69e; font-size: 14px; line-height: 1.7; }
.account-loading { display: grid; min-height: 250px; place-items: center; color: #9ba69e; }
.account-loading span { width: 34px; height: 34px; border: 3px solid #253029; border-top-color: #1672ff; border-radius: 50%; animation: account-spin .8s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }

.account-auth { display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr); gap: 24px; width: min(960px, 100%); margin: auto; }
.account-auth-intro,
.account-auth-card,
.profile-summary,
.profile-card { border: 1px solid #2b312b; border-radius: 20px; background: #111411; }
.account-auth-intro { padding: clamp(30px, 5vw, 54px); background: radial-gradient(circle at 12% 4%, rgba(22,114,255,.18), transparent 42%), #111411; }
.account-security-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #275da9; border-radius: 17px; background: #102347; color: #6fa5ff; font-size: 22px; }
.account-auth-intro h2 { margin: 26px 0 12px; color: #fff; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.05em; }
.account-auth-intro > p { color: #9ba69e; font-size: 13px; line-height: 1.7; }
.account-auth-intro ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: #cad2cc; font-size: 12px; }
.account-auth-intro li { display: flex; align-items: center; gap: 9px; }
.account-auth-intro li i { color: #58df98; }
.account-auth-card { padding: 26px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid #2b312b; border-radius: 12px; background: #0b0f0c; }
.auth-tabs button { min-height: 39px; border: 0; border-radius: 9px; background: transparent; color: #818c83; font-size: 12px; font-weight: 750; cursor: pointer; }
.auth-tabs button.active { background: #19221b; color: #fff; box-shadow: inset 0 0 0 1px #303a32; }
.google-auth-button { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; margin-top: 18px; border: 1px solid #354139; border-radius: 11px; background: #171c18; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.google-auth-button > .fa-google { color: #fff; font-size: 17px; }
.google-auth-button:hover { border-color: #526057; background: #202721; color: #fff; transform: translateY(-1px); }
.google-auth-button.disabled { opacity: .45; cursor: not-allowed; transform: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #6f7971; font-size: 9px; text-transform: uppercase; }
.auth-divider::before,.auth-divider::after { height: 1px; flex: 1; background: #29302a; content: ""; }
.auth-form { display: none; gap: 13px; }
.auth-form.active { display: grid; animation: public-view-in .4s ease both; }
.auth-form label,.profile-form label { display: grid; gap: 7px; color: #aeb8b0; font-size: 11px; font-weight: 650; }
.auth-form input,.profile-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #303a32; border-radius: 10px; outline: 0; background: #0b0f0c; color: #fff; font: inherit; }
.auth-form input:focus,.profile-form input:focus { border-color: #1672ff; box-shadow: 0 0 0 3px rgba(22,114,255,.13); }
.auth-form label small { color: #727d74; font-size: 9px; font-weight: 500; }
.auth-inline-actions {
  display: grid;
  gap: 8px;
}
.forgot-password-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 52px;
  padding: 7px 11px 7px 8px;
  align-items: center;
  gap: 10px;
  border: 1px solid #29342d;
  border-radius: 12px;
  outline: 0;
  background: #0d120e;
  color: #dce3de;
  text-decoration: none;
  transition:
    border-color .4s ease,
    background-color .4s ease,
    box-shadow .4s ease,
    transform .4s cubic-bezier(.2,.8,.2,1);
}
.forgot-password-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #12264b;
  color: #6d9eff;
  font-size: 12px;
}
.forgot-password-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.forgot-password-copy strong {
  color: #f3f6f4;
  font-size: 11px;
  line-height: 1.25;
}
.forgot-password-copy small {
  overflow: hidden;
  color: #7f8b82;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.forgot-password-arrow {
  color: #66736a;
  font-size: 10px;
  transition: color .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.forgot-password-link:hover,
.forgot-password-link:focus-visible {
  border-color: #315d9f;
  background: #111a16;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  transform: translateY(-1px);
}
.forgot-password-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(22,114,255,.15), 0 10px 28px rgba(0,0,0,.2);
}
.forgot-password-link:hover .forgot-password-arrow,
.forgot-password-link:focus-visible .forgot-password-arrow {
  color: #6d9eff;
  transform: translateX(3px);
}
#resendVerificationButton {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #3b4c40;
  border-radius: 10px;
  background: #151c17;
  color: #cbd4cd;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}
#resendVerificationButton:hover,
#resendVerificationButton:focus-visible {
  border-color: #526359;
  background: #1b241e;
  color: #fff;
}
.auth-name-grid,.profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-message,.profile-message { min-height: 18px; margin: 12px 0 0; color: #9ba69e; font-size: 11px; text-align: center; }
.auth-message.error,.profile-message.error { color: #ff8c8c; }
.auth-message.warning { color: #ffc56f; }
.profile-message.success { color: #64dfa0; }

.account-profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.profile-summary { position: sticky; top: 110px; padding: 30px 22px; text-align: center; }
.profile-avatar { display: grid; width: 86px; height: 86px; margin: 0 auto 17px; overflow: hidden; place-items: center; border: 1px solid #315fa0; border-radius: 28px; background: linear-gradient(145deg,#143165,#0d4bcd); color: #fff; font-size: 25px; font-weight: 850; box-shadow: 0 18px 40px rgba(13,75,205,.24); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-summary h2 { margin: 0; color: #fff; font-size: 20px; }
.profile-summary > p { margin: 7px 0 18px; overflow: hidden; color: #8f9a91; font-size: 10px; text-overflow: ellipsis; }
.profile-badges { display: grid; gap: 7px; }
.profile-badges span { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border: 1px solid #29312a; border-radius: 9px; background: #0d110e; color: #aeb7b0; font-size: 9px; }
.profile-badges i { color: #58df98; }
.account-logout { width: 100%; min-height: 40px; margin-top: 22px; border: 1px solid #3a3030; border-radius: 9px; background: #171111; color: #d99d9d; font-size: 10px; font-weight: 700; cursor: pointer; }
.profile-content { display: grid; gap: 20px; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.profile-stat-grid article { display: grid; min-width: 0; min-height: 120px; align-content: center; gap: 5px; padding: 15px; border: 1px solid #29342c; border-radius: 14px; background: linear-gradient(145deg,#0c110d,#101712); }
.profile-stat-grid article > span { display: grid; width: 34px; height: 34px; margin-bottom: 5px; place-items: center; border-radius: 10px; background: #10203c; color: #6d9bff; }
.profile-stat-grid strong { color: #f3f7f4; font-size: 25px; line-height: 1; }
.profile-stat-grid small { overflow: hidden; color: #7d8980; font-size: 8px; line-height: 1.4; text-overflow: ellipsis; }
.profile-storage-summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 0 14px; border: 1px solid #29342c; border-radius: 12px; background: #0b100c; }
.profile-storage-summary > span { display: flex; align-items: center; gap: 9px; color: #869188; font-size: 9px; }
.profile-storage-summary i { color: #59db99; }
.profile-storage-summary strong { color: #cfd8d1; font-size: 10px; }
.profile-security-list { display: grid; gap: 7px; }
.profile-security-list article { display: grid; min-height: 60px; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid #29332b; border-radius: 12px; background: #0b100c; }
.security-status-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #162019; color: #839087; }
.security-status-icon.verified { background: #12301f; color: #58df98; }
.profile-security-list article > div { display: grid; gap: 3px; min-width: 0; }
.profile-security-list b { color: #e5ebe7; font-size: 10px; }
.profile-security-list small { overflow: hidden; color: #768278; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.profile-security-list article > strong { color: #79857c; font-size: 8px; font-weight: 700; }
.profile-security-list article > strong.secure { color: #59d996; }
.security-action-row { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 15px; margin-top: 13px; padding: 12px 13px; border: 1px solid #3b3232; border-radius: 12px; background: #130f0f; }
.security-action-row > span { display: grid; gap: 4px; }
.security-action-row b { color: #e8dede; font-size: 10px; }
.security-action-row small { color: #816f6f; font-size: 8px; }
.security-action-row button { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #614141; border-radius: 9px; background: #231414; color: #e9a2a2; font-size: 8px; font-weight: 750; cursor: pointer; }
.security-action-row button:disabled { opacity: .5; cursor: wait; }
.profile-card { padding: 26px; }
.profile-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.profile-card-heading span { color: #5c91ec; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-card-heading h2 { margin: 5px 0 0; color: #fff; font-size: 22px; }
.profile-card-heading > i,.profile-card-heading > b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgba(22,114,255,.12); color: #6da4ff; font-size: 15px; }
.profile-form { display: grid; gap: 14px; }
.profile-form label > span small { color: #6f7971; font-size: 8px; font-weight: 500; }
.profile-form input[readonly] { opacity: .62; cursor: not-allowed; }
.profile-form .marketing-primary { justify-self: start; margin-top: 4px; }
.cloud-sites-list { display: grid; gap: 8px; }
.cloud-site-row { display: grid; grid-template-columns: 12px minmax(150px,1fr) auto; align-items: center; gap: 12px; min-height: 66px; padding: 10px 12px; border: 1px solid #29312a; border-radius: 11px; background: #0c100d; }
.cloud-site-state { display: grid; place-items: center; }
.cloud-site-state i { width: 8px; height: 8px; border-radius: 50%; background: #69736b; }
.cloud-site-state.published i { background: #56df98; box-shadow: 0 0 0 5px rgba(86,223,152,.1); }
.cloud-site-row > div:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.cloud-site-row b { overflow: hidden; color: #eef2ef; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cloud-site-row small { color: #7f8a81; font-size: 9px; }
.cloud-site-actions { display: flex; align-items: center; gap: 5px; }
.cloud-site-actions button,.cloud-site-actions a { display: inline-flex; min-height: 32px; padding: 0 9px; align-items: center; border: 1px solid #303a32; border-radius: 7px; background: #141a15; color: #b9c2bb; font-size: 8px; font-weight: 700; text-decoration: none; cursor: pointer; }
.cloud-site-actions .danger { color: #df8b8b; }
.cloud-sites-empty { display: grid; min-height: 150px; place-items: center; color: #7f8a81; text-align: center; }
.cloud-sites-empty[hidden] { display: none; }
.cloud-sites-empty i { color: #4d5d51; font-size: 28px; }
.cloud-sites-empty p { margin: 7px 0; font-size: 11px; }
.cloud-sites-empty button { border: 0; background: transparent; color: #6fa5ff; font-size: 10px; cursor: pointer; }

@media (max-width: 900px) {
  .account-auth,.account-profile { grid-template-columns: 1fr; }
  .profile-summary { position: static; }
  .cloud-site-row { grid-template-columns: 12px 1fr; }
  .cloud-site-actions { grid-column: 2; flex-wrap: wrap; }
  .profile-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .account-view { padding-top: 120px; }
  .account-auth-card,.account-auth-intro,.profile-card { padding: 20px; }
  .auth-name-grid,.profile-form-grid { grid-template-columns: 1fr; }
  .cloud-site-actions button,.cloud-site-actions a { flex: 1; justify-content: center; }
  .profile-security-list article { grid-template-columns: 36px minmax(0,1fr); }
  .profile-security-list article > strong { grid-column: 2; }
  .security-action-row { align-items: stretch; flex-direction: column; }
  .security-action-row button { justify-content: center; }
}

/* Accueil premium --------------------------------------------------------- */
.premium-proof-section {
  display: grid;
  width: min(1160px, calc(100% - 44px));
  margin: 8px auto 20px;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfdce7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(43, 35, 78, .06);
}

.premium-proof-section > div {
  display: grid;
  min-width: 0;
  padding: 25px 24px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-right: 1px solid #e7e4ed;
}

.premium-proof-section > div:last-child { border-right: 0; }
.premium-proof-section strong { color: #674ee8; font-size: 25px; letter-spacing: -.06em; }
.premium-proof-section span { display: grid; gap: 4px; color: #26232e; font-size: 10px; font-weight: 800; line-height: 1.25; }
.premium-proof-section small { color: #8a8791; font-size: 7px; font-weight: 550; line-height: 1.45; }

.studio-deep-dive {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(42px, 6vw, 78px);
}

.studio-deep-copy h2,
.premium-section-heading h2,
.ownership-copy h2 {
  margin: 17px 0 20px;
  color: #1f1d26;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.067em;
}

.studio-deep-copy h2 span { color: #77727f; }
.studio-deep-copy > p,
.premium-section-heading > p,
.ownership-copy > p {
  margin: 0;
  color: #77737f;
  font-size: 12px;
  line-height: 1.75;
}

.studio-benefits {
  display: grid;
  gap: 4px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.studio-benefits li {
  display: grid;
  padding: 13px 0;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e7e4eb;
}

.studio-benefits li > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #eeebff;
  color: #674ee8;
  font-size: 13px;
}

.studio-benefits li span { display: grid; gap: 3px; }
.studio-benefits b { color: #34313b; font-size: 10px; }
.studio-benefits small { color: #85818d; font-size: 8px; line-height: 1.5; }

.premium-studio-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #33313c;
  border-radius: 20px;
  background: #0d0f0e;
  box-shadow: 0 32px 80px rgba(28, 23, 52, .23);
  color: #fff;
  transform: perspective(1200px) rotateY(-1.5deg) rotateX(.5deg);
  transition: transform .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s ease;
}

.premium-studio-window:hover { box-shadow: 0 38px 90px rgba(38, 30, 74, .29); transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px); }
.premium-studio-top { display: flex; min-height: 48px; padding: 0 13px; align-items: center; gap: 9px; border-bottom: 1px solid #282c29; background: #121512; }
.studio-live-dot { width: 8px; height: 8px; border: 2px solid #9bffc7; border-radius: 50%; background: #43d88c; box-shadow: 0 0 0 4px rgba(67,216,140,.1); }
.premium-studio-top > b { font-size: 9px; }
.premium-studio-top > div { display: flex; margin-left: auto; align-items: center; gap: 7px; }
.premium-studio-top > div > i { width: 16px; height: 16px; border: 1px solid #343934; border-radius: 5px; }
.premium-studio-top button { height: 27px; padding: 0 11px; border: 0; border-radius: 7px; background: #176df0; color: #fff; font-size: 7px; font-weight: 800; }

.premium-studio-body { display: grid; min-height: 430px; grid-template-columns: 130px minmax(0, 1fr) 145px; }
.premium-studio-left,
.premium-studio-right { min-width: 0; padding: 14px 12px; background: #111512; }
.premium-studio-left { display: flex; flex-direction: column; gap: 6px; border-right: 1px solid #282c29; }
.premium-studio-left > span { display: flex; min-height: 30px; padding: 0 9px; align-items: center; gap: 7px; border-radius: 7px; color: #858d87; font-size: 7px; font-weight: 700; }
.premium-studio-left > span.active { background: #112448; color: #70a8ff; }
.premium-studio-left > small { margin: 13px 0 4px; color: #5d6760; font-size: 6px; letter-spacing: .12em; text-transform: uppercase; }
.premium-studio-left > b { min-height: 26px; padding: 8px; border-left: 1px solid #354039; color: #9da69f; font-size: 7px; font-weight: 600; }
.premium-studio-left > b:nth-of-type(2) { margin-left: 7px; color: #d7ddd8; }

.premium-studio-canvas {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 43px 20px 20px;
  place-items: center;
  background-color: #090c0a;
  background-image: radial-gradient(#26302a .7px, transparent .7px);
  background-size: 13px 13px;
}

.premium-device-tabs { position: absolute; top: 10px; display: flex; gap: 4px; padding: 4px; border: 1px solid #2d332f; border-radius: 7px; background: #111512; }
.premium-device-tabs i { width: 20px; height: 16px; border-radius: 4px; background: #1c211d; }
.premium-device-tabs i:first-child { background: #123063; }
.premium-studio-canvas article { position: relative; width: min(100%, 340px); min-height: 300px; overflow: hidden; border-radius: 4px; background: #fafafa; color: #141414; box-shadow: 0 16px 45px rgba(0,0,0,.3); }
.premium-studio-canvas article nav { display: flex; min-height: 39px; padding: 0 16px; align-items: center; border-bottom: 1px solid #ededed; font-size: 5px; }
.premium-studio-canvas article nav b { color: #126cf0; font-size: 7px; }
.premium-studio-canvas article nav span { margin-left: auto; color: #666; }
.premium-studio-canvas article nav i { width: 26px; height: 12px; margin-left: 10px; border-radius: 5px; background: #116af0; }
.premium-canvas-copy { padding: 56px 34px; }
.premium-canvas-copy small { color: #126cf0; font-size: 5px; font-weight: 800; text-transform: uppercase; }
.premium-canvas-copy h3 { max-width: 240px; margin: 9px 0 12px; font-size: 29px; line-height: .98; letter-spacing: -.07em; }
.premium-canvas-copy p { width: 55%; height: 4px; margin: 5px 0; border-radius: 5px; background: #dfe1e0; }
.premium-canvas-copy button { min-height: 23px; margin-top: 15px; padding: 0 11px; border: 0; border-radius: 6px; background: #126cf0; color: #fff; font-size: 5px; font-weight: 800; }
.premium-selection-box { position: absolute; top: 92px; left: 29px; width: 250px; height: 73px; border: 1px solid #1672ff; pointer-events: none; }
.premium-selection-box span { position: absolute; top: -13px; left: -1px; padding: 3px 6px; background: #1672ff; color: #fff; font-size: 5px; }

.premium-studio-right { display: flex; flex-direction: column; gap: 9px; border-left: 1px solid #282c29; }
.premium-studio-right > small { color: #5e98f3; font-size: 6px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.premium-studio-right > b { margin-bottom: 8px; font-size: 10px; }
.premium-studio-right label { display: grid; gap: 6px; color: #8f9991; font-size: 6px; }
.premium-studio-right label span { display: block; min-height: 26px; border: 1px solid #303630; border-radius: 6px; background: #0c100d; }
.premium-studio-right label i { width: 27px; height: 27px; border: 5px solid #0c100d; border-radius: 7px; background: #1672ff; box-shadow: 0 0 0 1px #3b433d; }
.premium-studio-right .fake-premium-range { position: relative; min-height: 4px; margin: 11px 0; border: 0; border-radius: 5px; background: linear-gradient(90deg,#1672ff 58%,#2d342f 58%); }
.premium-studio-right .fake-premium-range::after { position: absolute; top: -4px; left: 54%; width: 12px; height: 12px; border: 3px solid #111512; border-radius: 50%; background: #1672ff; content: ""; }
.premium-studio-status { display: flex; min-height: 38px; padding: 0 14px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #282c29; color: #78827a; font-size: 6px; }
.premium-studio-status span { display: inline-flex; align-items: center; gap: 6px; }
.premium-studio-status i { color: #5c98f4; }

.premium-capabilities { padding-top: 70px; }
.premium-section-heading { display: grid; max-width: 760px; margin: 0 auto 52px; justify-items: center; text-align: center; }
.premium-section-heading > p { max-width: 650px; }
.premium-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dfdce5; border-left: 1px solid #dfdce5; }
.premium-capability-grid article { position: relative; min-height: 270px; padding: 36px 32px; border-right: 1px solid #dfdce5; border-bottom: 1px solid #dfdce5; background: #fff; transition: background-color .45s ease, transform .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s ease; }
.premium-capability-grid article:hover { z-index: 2; background: #faf9ff; box-shadow: 0 24px 60px rgba(45,37,80,.1); transform: translateY(-5px); }
.premium-capability-grid article > span { display: grid; width: 44px; height: 44px; margin-bottom: 34px; place-items: center; border-radius: 13px; background: #eeebff; color: #684fe8; font-size: 16px; }
.premium-capability-grid h3 { margin: 0 0 10px; color: #25222c; font-size: 18px; letter-spacing: -.04em; }
.premium-capability-grid p { margin: 0; color: #7d7984; font-size: 10px; line-height: 1.7; }
.premium-capability-grid small { position: absolute; bottom: 25px; color: #9a96a1; font-size: 7px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.ownership-cloud-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: center; gap: clamp(50px, 7vw, 90px); }
.ownership-visual { position: relative; min-height: 510px; }
.ownership-code-card { position: absolute; top: 30px; left: 0; width: 78%; overflow: hidden; border: 1px solid #37343f; border-radius: 18px; background: #17161b; box-shadow: 0 32px 70px rgba(28,23,52,.2); }
.ownership-code-card > div { display: flex; min-height: 44px; padding: 0 14px; align-items: center; gap: 6px; border-bottom: 1px solid #302e36; background: #1d1b21; }
.ownership-code-card > div span { width: 7px; height: 7px; border-radius: 50%; background: #ff786c; }
.ownership-code-card > div span:nth-child(2) { background: #f2c65d; }
.ownership-code-card > div span:nth-child(3) { background: #55d58b; }
.ownership-code-card > div b { margin-left: 8px; color: #8e8996; font-size: 7px; }
.ownership-code-card pre { margin: 0; padding: 35px 27px 48px; color: #ded9e5; font: 11px/1.85 Consolas, Monaco, monospace; }
.ownership-code-card pre i { color: #6da7ff; font-style: normal; }
.ownership-code-card pre em { color: #e9a56f; font-style: normal; }
.ownership-publish-card { position: absolute; right: 0; bottom: 50px; width: 62%; padding: 23px; border: 1px solid #dcd9e5; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 26px 65px rgba(38,31,72,.17); backdrop-filter: blur(14px); }
.publish-card-icon { display: grid; width: 42px; height: 42px; margin-bottom: 17px; place-items: center; border-radius: 12px; background: #e9f9f0; color: #20935b; }
.ownership-publish-card > div { display: grid; gap: 5px; }
.ownership-publish-card > div small { color: #96919d; font-size: 7px; text-transform: uppercase; }
.ownership-publish-card > div b { color: #2b2831; font-size: 12px; }
.ownership-publish-card ul { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; color: #68646f; font-size: 8px; }
.ownership-publish-card li { display: flex; align-items: center; gap: 8px; }
.ownership-publish-card li i { width: 8px; height: 8px; border: 2px solid #c4c0cb; border-radius: 50%; }
.ownership-publish-card li:first-child i { border-color: #6f56ec; box-shadow: inset 0 0 0 2px #fff; background: #6f56ec; }
.ownership-security-card { position: absolute; bottom: 0; left: 26px; display: flex; min-width: 225px; padding: 13px 15px; align-items: center; gap: 11px; border: 1px solid #dcd9e5; border-radius: 13px; background: #fff; box-shadow: 0 18px 45px rgba(38,31,72,.13); }
.ownership-security-card > i { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; background: #eeebff; color: #684fe8; }
.ownership-security-card span { display: grid; gap: 3px; }
.ownership-security-card b { color: #302d36; font-size: 9px; }
.ownership-security-card small { color: #8b8792; font-size: 7px; }
.ownership-points { display: grid; gap: 12px; margin: 28px 0 30px; }
.ownership-points span { display: flex; align-items: center; gap: 10px; color: #4b4851; font-size: 10px; font-weight: 700; }
.ownership-points i { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #e8f8ef; color: #26935d; font-size: 7px; }
.ownership-copy .marketing-secondary > span i { font-size: 14px; }

/* Footer public complet */
.public-footer.footer-premium {
  display: block;
  min-height: 0;
  padding: 0 max(5vw, calc((100vw - 1800px) / 2));
  border-top: 1px solid #292e2a;
  background:
    radial-gradient(circle at 14% 8%, rgba(26,109,240,.12), transparent 28%),
    #0d110e;
  color: #fff;
  text-align: left;
}

.footer-premium-main { display: grid; padding: 72px 0 56px; grid-template-columns: 1.45fr .65fr .78fr 1fr; gap: clamp(32px, 4.5vw, 62px); }
.footer-brand-column { max-width: 360px; }
.footer-premium-logo { width: auto; height: auto; margin-bottom: 27px; padding: 0; border: 0; background: transparent; }
.footer-premium-logo .nav-symbol-logo { width: 44px; height: 44px; object-fit: contain; }
.footer-brand-column h2 { margin: 0 0 15px; color: #fff; font-size: 27px; line-height: 1.08; letter-spacing: -.05em; }
.footer-brand-column p { margin: 0; color: #929b94; font-size: 10px; line-height: 1.7; }
.footer-create-button { display: inline-flex; min-height: 41px; margin-top: 23px; padding: 0 16px; align-items: center; gap: 10px; border: 1px solid #2d6fd2; border-radius: 10px; background: #1268e8; color: #fff; font-size: 9px; font-weight: 800; cursor: pointer; transition: background-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.footer-create-button:hover { background: #2378f4; box-shadow: 0 12px 30px rgba(18,104,232,.22); transform: translateY(-2px); }
.footer-link-column { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-link-column strong,
.footer-trust-column > strong { margin-bottom: 14px; color: #fff; font-size: 9px; letter-spacing: .04em; }
.footer-link-column button { min-height: 30px; padding: 0; border: 0; background: transparent; color: #8f9991; font: inherit; font-size: 9px; cursor: pointer; transition: color .4s ease, transform .4s ease; }
.footer-link-column button:hover { color: #fff; transform: translateX(3px); }
.footer-trust-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-trust-column > span { display: flex; align-items: center; gap: 8px; color: #a5aea7; font-size: 8px; }
.footer-trust-column > span i { color: #53d991; font-size: 7px; }
.footer-service-status { display: flex; width: 100%; margin-top: 12px; padding: 13px; align-items: center; gap: 11px; border: 1px solid #29322b; border-radius: 11px; background: rgba(23,29,24,.72); }
.footer-service-status > i { width: 8px; height: 8px; border-radius: 50%; background: #50da8f; box-shadow: 0 0 0 5px rgba(80,218,143,.1); }
.footer-service-status span { display: grid; gap: 3px; }
.footer-service-status b { color: #dce3de; font-size: 8px; }
.footer-service-status small { color: #6f7a72; font-size: 6px; }
.footer-premium-bottom { display: grid; min-height: 78px; padding: 20px 0; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; border-top: 1px solid #272d28; }
.public-footer.footer-premium .footer-premium-bottom > span,
.public-footer.footer-premium .footer-premium-bottom > p { margin: 0; color: #737d75; font-size: 7px; }
.footer-premium-bottom > p { text-align: center; }
.footer-premium-bottom > div { display: flex; justify-content: flex-end; gap: 16px; }
.footer-premium-bottom button { padding: 0; border: 0; background: transparent; color: #89938c; font-size: 7px; cursor: pointer; transition: color .4s ease; }
.footer-premium-bottom button:hover { color: #fff; }

@media (max-width: 1000px) {
  .premium-proof-section { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .premium-proof-section > div:nth-child(2) { border-right: 0; }
  .premium-proof-section > div:nth-child(-n+2) { border-bottom: 1px solid #e7e4ed; }
  .studio-deep-dive,
  .ownership-cloud-section { grid-template-columns: 1fr; }
  .studio-deep-copy,
  .ownership-copy { max-width: 720px; }
  .premium-studio-window { transform: none; }
  .premium-capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ownership-visual { width: min(680px,100%); margin: 0 auto; }
  .footer-premium-main { grid-template-columns: 1.3fr .7fr .7fr; }
  .footer-trust-column { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; }
  .footer-trust-column > strong { grid-column: 1 / -1; margin-bottom: 0; }
  .footer-service-status { margin-top: 0; }
}

@media (max-width: 700px) {
  .premium-proof-section { width: calc(100% - 30px); grid-template-columns: 1fr; }
  .premium-proof-section > div { border-right: 0; border-bottom: 1px solid #e7e4ed; }
  .premium-proof-section > div:nth-child(3) { border-bottom: 1px solid #e7e4ed; }
  .premium-proof-section > div:last-child { border-bottom: 0; }
  .premium-studio-body { grid-template-columns: 86px minmax(0,1fr); min-height: 390px; }
  .premium-studio-right { display: none; }
  .premium-studio-canvas { padding-inline: 12px; }
  .premium-canvas-copy { padding-inline: 25px; }
  .premium-canvas-copy h3 { font-size: 24px; }
  .premium-selection-box { width: min(220px, calc(100% - 50px)); }
  .premium-capability-grid { grid-template-columns: 1fr; }
  .premium-capability-grid article { min-height: 240px; }
  .ownership-visual { min-height: 450px; }
  .ownership-code-card { width: 90%; }
  .ownership-publish-card { width: 72%; }
  .footer-premium-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-column { grid-column: 1 / -1; max-width: 520px; }
  .footer-trust-column { grid-template-columns: 1fr; }
  .footer-trust-column > strong { grid-column: auto; }
  .footer-premium-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-premium-bottom > div { justify-content: center; }
}

@media (max-width: 440px) {
  .studio-deep-copy h2,
  .premium-section-heading h2,
  .ownership-copy h2 { font-size: 38px; }
  .premium-studio-left { display: none; }
  .premium-studio-body { grid-template-columns: minmax(0,1fr); }
  .premium-studio-canvas article { min-height: 280px; }
  .ownership-visual { min-height: 420px; }
  .ownership-code-card { width: 100%; }
  .ownership-code-card pre { padding: 28px 18px 42px; font-size: 9px; }
  .ownership-publish-card { right: 0; bottom: 42px; width: 82%; }
  .ownership-security-card { bottom: 0; left: 8px; min-width: 205px; }
  .footer-premium-main { grid-template-columns: 1fr; padding-top: 56px; }
  .footer-brand-column { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-studio-window,
  .premium-capability-grid article,
  .footer-create-button,
  .footer-link-column button { transition: none; }
}

/* Harmonisation sombre de la vitrine ------------------------------------- */
.premium-proof-section {
  border-color: #2b312b;
  background: #111411;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .24);
}

.premium-proof-section > div { border-color: #2b312b; }
.premium-proof-section span { color: #f4f7f5; }
.premium-proof-section small { color: #89938c; }

.studio-deep-copy h2,
.premium-section-heading h2,
.ownership-copy h2 { color: #f7f9f7; }

.studio-deep-copy h2 span { color: #9aa39c; }
.studio-deep-copy > p,
.premium-section-heading > p,
.ownership-copy > p { color: #9aa39c; }
.studio-benefits li { border-color: #2b312b; }
.studio-benefits li > i { background: #102347; color: #70a8ff; }
.studio-benefits b { color: #eef2ef; }
.studio-benefits small { color: #89938c; }

.premium-studio-canvas article {
  background: #111411;
  color: #f5f7f5;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .48);
}

.premium-studio-canvas article nav { border-color: #292f2a; }
.premium-studio-canvas article nav span { color: #909991; }
.premium-canvas-copy p { background: #303731; }

.premium-capability-grid {
  border-color: #2b312b;
  background: #0d110e;
}

.premium-capability-grid article {
  border-color: #2b312b;
  background: #111411;
}

.premium-capability-grid article:hover {
  background: #181c18;
  box-shadow: 0 25px 64px rgba(0, 0, 0, .28);
}

.premium-capability-grid article > span { background: #102347; color: #70a8ff; }
.premium-capability-grid h3 { color: #f2f5f3; }
.premium-capability-grid p { color: #929c94; }
.premium-capability-grid small { color: #68736b; }

.ownership-publish-card,
.ownership-security-card {
  border-color: #2b312b;
  background: rgba(17, 20, 17, .97);
  box-shadow: 0 26px 65px rgba(0, 0, 0, .34);
}

.ownership-publish-card > div small { color: #737e75; }
.ownership-publish-card > div b,
.ownership-security-card b { color: #eef2ef; }
.ownership-publish-card ul { color: #a5aea7; }
.ownership-publish-card li i { border-color: #4a554c; }
.ownership-publish-card li:first-child i { border-color: #1672ff; box-shadow: inset 0 0 0 2px #111411; background: #1672ff; }
.publish-card-icon { background: #102c1e; color: #55dc94; }
.ownership-security-card > i { background: #102347; color: #70a8ff; }
.ownership-security-card small { color: #7d887f; }
.ownership-points span { color: #c9d0cb; }

@media (max-width: 1000px) {
  .premium-proof-section > div:nth-child(-n+2) { border-bottom-color: #2b312b; }
}

@media (max-width: 700px) {
  .premium-proof-section > div,
  .premium-proof-section > div:nth-child(3) { border-bottom-color: #2b312b; }
}

.gallery-project-button,
.public-project-open { position: relative; overflow: hidden; cursor: pointer; }

/* Cartes projets et galerie */
.projects-grid,
.site-gallery { gap: 20px; }

.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #1a221d;
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  
  .gallery-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); border-color: #2a332c; }
  
  .gallery-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #111512;
    border-bottom: 1px solid #1a221d;
  }
  
  .gallery-card-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333d36;
  }
  .gallery-card:hover .gallery-card-header .dot-close { background: #ff5f56; }
  .gallery-card:hover .gallery-card-header .dot-min { background: #ffbd2e; }
  .gallery-card:hover .gallery-card-header .dot-max { background: #27c93f; }
  
  .gallery-card .gallery-project-button {
    position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #080a09;
    border-radius: 0;
  }
  
  .gallery-card .site-thumbnail {
    border-radius: 0;
  }

  .gallery-card-info { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 14px 14px 18px;
    background: transparent;
    border: 0;
  }
  .gallery-card-info > div:first-child { flex: 1; min-width: 0; text-align: left; }
  .gallery-card-info h3 { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #e2e8e4; margin: 0; }
  .gallery-card-info small { display: none; }
  .gallery-card-info > button { display: none; }
  .gallery-card-info .gallery-badges { display: flex; gap: 6px; }
  .gallery-card-info .gallery-badges i { padding: 4px 10px; border-radius: 4px; background: #cce991; color: #1e2d10; font-size: 9px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

  .project-card {
    border: 0;
    border-radius: 16px;
    background: #111511;
    box-shadow: 0 1px 0 rgba(255,255,255,.045), 0 16px 42px rgba(0,0,0,.22);
    transition: box-shadow .24s ease, transform .24s cubic-bezier(.2,.8,.2,1);
  }
  .project-card:hover {
    box-shadow: 0 1px 0 rgba(255,255,255,.065), 0 22px 52px rgba(0,0,0,.28);
    transform: translateY(-2px);
  }
  .project-card-info {
    display: flex;
    min-height: 64px;
    padding: 11px 12px 11px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-radius: 0 0 16px 16px;
    background: #111511;
  }
  .project-card-info > div:first-child {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
  }
  .project-card-info h3 {
    color: #f0f4f1;
    font-size: 12px;
    font-weight: 780;
  }
  .project-card-info small { color: #69736b; font-size: 7px; }


@media (hover: none) {
  .project-card:hover,
  .gallery-card:hover { box-shadow: 0 1px 0 rgba(255,255,255,.045), 0 16px 42px rgba(0,0,0,.22); transform: none; }
}

/* Fluidité : les grandes zones hors écran ne sont peintes qu'au moment utile. */
.marketing-section,
.premium-proof-section,
.final-cta,
.public-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .gallery-card,
  .project-preview-action { transition: none; }
}

/* Sélecteur de templates */
.create-view {
  padding-right: clamp(22px, 5vw, 82px);
  padding-left: clamp(22px, 5vw, 82px);
  background:
    radial-gradient(circle at 50% 4%, rgba(13, 75, 205, .18), transparent 28%),
    #0a0c0b;
}

.create-view .create-intro {
  max-width: 840px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.create-view .create-intro h1 {
  margin-top: 14px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: .98;
}

.create-view .create-intro h1 span { color: #6d94ff; }
.create-view .create-intro > p { max-width: 680px; margin: 22px auto 0; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.7; }

.template-picker-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid #29312b;
  border-radius: 26px;
  background: #111511;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.template-picker-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.template-picker-heading > div > span {
  color: #6d94ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.template-picker-heading h2 { margin: 7px 0 0; color: #f5f8f6; font-size: clamp(24px, 2vw, 34px); letter-spacing: -.045em; }
.template-picker-heading > p { max-width: 520px; margin: 0; color: #8f9991; font-size: clamp(11px, .85vw, 13px); line-height: 1.65; }

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 440px;
}

.template-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #1a221d;
    border-radius: 12px;
    outline: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    contain: layout paint;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  
  .template-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); border-color: color-mix(in srgb, var(--template-accent) 45%, #2a332c); }
  .template-card:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--template-accent) 35%, transparent); }
  .template-card.selected { border-color: var(--template-accent); box-shadow: 0 0 0 1px var(--template-accent), 0 15px 35px rgba(0,0,0,.4); }
  
  .template-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #111512;
    border-bottom: 1px solid #1a221d;
  }
  
  .template-card-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333d36;
  }
  .template-card:hover .template-card-header .dot-close { background: #ff5f56; }
  .template-card:hover .template-card-header .dot-min { background: #ffbd2e; }
  .template-card:hover .template-card-header .dot-max { background: #27c93f; }
  
  .template-card-visual { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #080a09; }
  .template-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .template-card:hover .template-card-visual img { transform: scale(1.02); }
  
  .template-selected-mark {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 3;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    opacity: 0;
    transform: scale(.72);
    transition: opacity .22s ease, transform .22s ease;
    background: var(--template-accent);
    color: #fff;
    border-radius: 50%;
  }
  
  .template-card.selected .template-selected-mark { opacity: 1; transform: scale(1); }
  
  .template-card-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 14px 14px 18px;
    background: transparent;
  }
  .template-card-content > strong { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #e2e8e4; }
  .template-badges { display: flex; gap: 6px; }
  .template-badges i { padding: 4px 10px; border-radius: 4px; background: #cce991; color: #1e2d10; font-size: 9px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

  .template-launch-bar {
  display: grid;
  margin-top: 18px;
  padding: 17px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, .55fr) auto;
  align-items: end;
  gap: 16px;
  border: 1px solid #29322b;
  border-radius: 17px;
  background: #0c100d;
}

.template-launch-bar .project-name-entry { margin: 0; }
.template-launch-bar .project-name-entry input { height: 48px; border-color: #303a32; background: #121713; color: #f4f7f5; font-size: 13px; }
.template-launch-bar .project-name-entry input:focus { border-color: #4779e5; box-shadow: 0 0 0 3px rgba(13,75,205,.18); }
.template-launch-summary { display: flex; min-height: 48px; padding: 6px 0; flex-direction: column; justify-content: center; }
.template-launch-summary small { color: #68736b; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.template-launch-summary strong { margin-top: 5px; color: #f1f5f2; font-size: 13px; }
.template-launch-bar .marketing-primary { min-height: 48px; padding-right: 22px; padding-left: 22px; white-space: nowrap; }

.resume-project-panel {
  display: grid;
  width: min(1120px, 100%);
  margin: 24px auto 0;
  padding: 17px 18px;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, .75fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid #273029;
  border-radius: 18px;
  background: #111511;
}

.resume-project-copy { display: flex; align-items: center; gap: 14px; }
.resume-project-copy .option-icon { flex: 0 0 auto; }
.resume-project-copy small { color: #6d94ff; font-size: 8px; font-weight: 780; text-transform: uppercase; }
.resume-project-copy h2 { margin: 4px 0; color: #eef2ef; font-size: 17px; letter-spacing: -.025em; }
.resume-project-copy p { margin: 0; color: #7d887f; font-size: 9px; line-height: 1.5; }
.resume-project-panel .resume-preview { min-height: 62px; margin: 0; padding: 9px 11px; }
.resume-project-panel .marketing-secondary { min-height: 42px; white-space: nowrap; }
.create-view .create-help { width: min(780px, 100%); margin-top: 22px; justify-content: center; }

@media (min-width: 1500px) {
  .template-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 380px; }
  .template-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #1a221d;
    border-radius: 12px;
    outline: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    contain: layout paint;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  
  .template-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); border-color: color-mix(in srgb, var(--template-accent) 45%, #2a332c); }
  .template-card:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--template-accent) 35%, transparent); }
  .template-card.selected { border-color: var(--template-accent); box-shadow: 0 0 0 1px var(--template-accent), 0 15px 35px rgba(0,0,0,.4); }
  
  .template-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #111512;
    border-bottom: 1px solid #1a221d;
  }
  
  .template-card-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333d36;
  }
  .template-card:hover .template-card-header .dot-close { background: #ff5f56; }
  .template-card:hover .template-card-header .dot-min { background: #ffbd2e; }
  .template-card:hover .template-card-header .dot-max { background: #27c93f; }
  
  .template-card-visual { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #080a09; }
  .template-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .template-card:hover .template-card-visual img { transform: scale(1.02); }
  
  .template-selected-mark {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 3;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    opacity: 0;
    transform: scale(.72);
    transition: opacity .22s ease, transform .22s ease;
    background: var(--template-accent);
    color: #fff;
    border-radius: 50%;
  }
  
  .template-card.selected .template-selected-mark { opacity: 1; transform: scale(1); }
  
  .template-card-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 14px 14px 18px;
    background: transparent;
  }
  .template-card-content > strong { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #e2e8e4; }
  .template-badges { display: flex; gap: 6px; }
  .template-badges i { padding: 4px 10px; border-radius: 4px; background: #cce991; color: #1e2d10; font-size: 9px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

  .template-launch-bar { grid-template-columns: 1fr 1fr; }
  .template-launch-bar .project-name-entry { grid-column: 1 / -1; }
  .resume-project-panel { grid-template-columns: 1fr auto; }
  .resume-project-panel .resume-preview { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  .create-view { padding-right: 15px; padding-left: 15px; }
  .create-view .back-link { position: static; margin-bottom: 28px; }
  .template-picker-shell { padding: 12px; border-radius: 20px; }
  .template-grid { grid-template-columns: 1fr; min-height: 0; }
  .template-card-visual { aspect-ratio: 16 / 9; }
  .template-launch-bar { grid-template-columns: 1fr; }
  .template-launch-summary { display: none; }
  .template-launch-bar .marketing-primary { width: 100%; }
  .resume-project-panel { grid-template-columns: 1fr; }
  .resume-project-panel .resume-preview { grid-column: auto; grid-row: auto; }
  .resume-project-panel .marketing-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .template-card,
  .template-card-visual img,
  .template-selected-mark { transition: none; }
}

/* Application installable et page À propos -------------------------------- */
.public-nav { width: min(1240px, calc(100% - 28px)); }
.phone-editor-notice { display: none; }

.application-view,
.about-view {
  padding-right: clamp(22px, 5vw, 82px);
  padding-left: clamp(22px, 5vw, 82px);
  background:
    radial-gradient(circle at 76% 8%, rgba(22, 114, 255, .15), transparent 30%),
    #090c0a;
}

.application-hero,
.about-hero {
  display: grid;
  width: min(1240px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.application-copy h1,
.about-hero-copy h1 {
  margin: 18px 0 22px;
  color: #f7faf8;
  font-size: clamp(54px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.075em;
}

.application-copy h1 span,
.about-hero-copy h1 span { color: #6d94ff; }
.application-copy > p,
.about-hero-copy > p { max-width: 650px; margin: 0; color: #9aa59d; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.75; }
.application-actions,
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-hero-actions a { text-decoration: none; }
.pwa-install-button:disabled { opacity: .58; box-shadow: none; cursor: not-allowed; transform: none; }
.pwa-install-status { min-height: 23px; margin-top: 13px !important; color: #8aa9e7 !important; font-size: 10px !important; }
.pwa-install-status[data-state="installed"] { color: #6ce7a4 !important; }
.pwa-install-status[data-state="unavailable"] { color: #d0a56f !important; }
.application-requirements { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.application-requirements span { display: inline-flex; min-height: 34px; padding: 0 11px; align-items: center; gap: 7px; border: 1px solid #2d382f; border-radius: 999px; background: #111612; color: #b5c0b7; font-size: 9px; font-weight: 750; }
.application-requirements i { color: #6c9eff; }

.application-visual { position: relative; min-width: 0; padding: 44px 0 54px; }
.app-window { overflow: hidden; border: 1px solid #313a34; border-radius: 22px; background: #0b0e0c; box-shadow: 0 40px 110px rgba(0,0,0,.55); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.app-window-top { display: grid; min-height: 50px; padding: 0 15px; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #282e29; background: #131713; }
.app-window-top > div { display: flex; gap: 5px; }
.app-window-top > div i { width: 8px; height: 8px; border-radius: 50%; background: #3a433c; }
.app-window-top b { color: #eef3ef; font-size: 9px; }
.app-window-top > span { justify-self: end; color: #60df9a; font-size: 7px; font-weight: 750; }
.app-window-body { display: grid; min-height: 430px; grid-template-columns: 128px minmax(0, 1fr) 145px; }
.app-window-body > aside { display: flex; min-width: 0; padding: 15px 11px; flex-direction: column; gap: 9px; background: #111511; }
.app-window-body > aside:first-child { border-right: 1px solid #272e28; }
.app-window-body > aside:last-child { border-left: 1px solid #272e28; }
.app-window-body aside strong { display: flex; min-height: 32px; align-items: center; gap: 7px; color: #73a2ff; font-size: 8px; }
.app-window-body aside > span { display: block; height: 45px; border: 1px solid #2a322b; border-radius: 8px; background: #0d110e; }
.app-window-body aside small { margin-top: 8px; color: #79847b; font-size: 7px; }
.app-window-body > main { min-width: 0; padding: 12px; background: radial-gradient(circle, rgba(73,88,78,.22) 1px, transparent 1px) 0 0 / 18px 18px, #090c0a; }
.app-window-body main nav { display: flex; width: max-content; min-height: 30px; margin: 0 auto 20px; padding: 0 9px; align-items: center; gap: 14px; border: 1px solid #2b332d; border-radius: 8px; background: #111511; color: #66736a; font-size: 8px; }
.app-window-body main nav i:first-child { color: #5c90fb; }
.app-window-body main article { width: 88%; min-height: 330px; margin: auto; padding: 48px 36px; background: linear-gradient(145deg, #f8faf9, #e7eee9); color: #151b17; box-shadow: 0 15px 45px rgba(0,0,0,.24); }
.app-window-body main article small { color: #2a6d4c; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.app-window-body main article h2 { max-width: 260px; margin: 13px 0; font-size: 28px; line-height: .96; letter-spacing: -.06em; }
.app-window-body main article p { width: 80%; height: 6px; margin: 7px 0; border-radius: 9px; background: #d0d9d2; }
.app-window-body main article p + p { width: 55%; }
.app-window-body main article .app-demo-button { display: inline-flex; min-height: 28px; margin-top: 26px; padding: 0 12px; align-items: center; border-radius: 999px; background: #1762dc; color: #fff; font-size: 7px; font-weight: 800; }
.app-privacy-badge { position: absolute; right: -12px; bottom: 12px; display: flex; min-width: 260px; padding: 13px 15px; align-items: center; gap: 12px; border: 1px solid #315b43; border-radius: 14px; background: rgba(15, 27, 19, .96); box-shadow: 0 18px 40px rgba(0,0,0,.38); }
.app-privacy-badge > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #153a26; color: #62e29c; }
.app-privacy-badge > span { display: grid; gap: 4px; }
.app-privacy-badge b { color: #edf4ef; font-size: 10px; }
.app-privacy-badge small { color: #829087; font-size: 8px; }

.application-feature-grid,
.about-values { display: grid; width: min(1240px, 100%); margin: clamp(60px, 8vw, 110px) auto 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.application-feature-grid article,
.about-values article { min-height: 230px; padding: clamp(23px, 3vw, 36px); border: 1px solid #29322b; border-radius: 20px; background: #111511; }
.application-feature-grid article > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #11254b; color: #6f9fff; font-size: 17px; }
.application-feature-grid h2,
.about-values h2 { margin: 25px 0 10px; color: #f1f5f2; font-size: 21px; letter-spacing: -.035em; }
.application-feature-grid p,
.about-values p { margin: 0; color: #89958c; font-size: 11px; line-height: 1.7; }

.about-manifesto-card { position: relative; min-height: 420px; padding: clamp(32px, 5vw, 58px); overflow: hidden; border: 1px solid #334039; border-radius: 28px; background: radial-gradient(circle at 90% 10%, rgba(38,126,255,.24), transparent 38%), linear-gradient(145deg,#121a15,#0c100d); box-shadow: 0 38px 100px rgba(0,0,0,.38); }
.about-quote-mark { display: block; height: 80px; color: #5a8eff; font-family: Georgia, serif; font-size: 110px; line-height: 1; opacity: .8; }
.about-manifesto-card > p { margin: 12px 0 54px; color: #e9eeea; font-size: clamp(25px, 3vw, 39px); font-weight: 700; line-height: 1.22; letter-spacing: -.045em; }
.about-manifesto-card > div { display: flex; align-items: center; gap: 13px; }
.about-manifesto-card img { width: 48px; height: 48px; object-fit: contain; }
.about-manifesto-card > div > span { display: grid; gap: 4px; }
.about-manifesto-card b { color: #fff; font-size: 11px; }
.about-manifesto-card small { color: #88958c; font-size: 9px; }
.about-manifesto-card a { color: #7da8ff; }
.about-values article > span { color: #6495f7; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.about-information { display: grid; width: min(1240px, 100%); margin: clamp(70px, 9vw, 120px) auto 0; padding: clamp(25px, 4.5vw, 58px); grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr); gap: clamp(30px, 6vw, 78px); border: 1px solid #2b342d; border-radius: 26px; background: #111511; }
.about-information-copy h2 { margin: 14px 0 16px; color: #f1f5f2; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.06em; }
.about-information-copy p { margin: 0; color: #8f9a92; font-size: 12px; line-height: 1.75; }
.about-information-copy strong { color: #dbe5dd; }
.about-version-grid { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.about-version-grid > div { display: flex; min-height: 112px; padding: 17px; flex-direction: column; justify-content: space-between; border: 1px solid #2c362e; border-radius: 14px; background: #0b0f0c; }
.about-version-grid dt { color: #768179; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.about-version-grid dd { margin: 0; overflow-wrap: anywhere; color: #eff4f0; font-size: clamp(16px, 1.55vw, 23px); font-weight: 800; letter-spacing: -.025em; }
.about-version-grid a { color: #7ca7ff; text-decoration: none; }
.footer-premium-bottom a { color: #9db9f4; text-decoration: none; }

html[data-pwa-capable="false"] .create-view .template-picker-shell,
html[data-pwa-capable="false"] .create-view .resume-project-panel,
html[data-pwa-capable="false"] .create-view .create-help { display: none; }
html[data-pwa-capable="false"] .phone-editor-notice { display: grid; width: min(760px, 100%); margin: 20px auto 0; padding: 22px; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 17px; border: 1px solid #344039; border-radius: 18px; background: #111611; }
.phone-editor-notice > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 15px; background: #12254a; color: #6f9fff; font-size: 20px; }
.phone-editor-notice h2 { margin: 0 0 6px; color: #f4f7f5; font-size: 20px; }
.phone-editor-notice p { margin: 0; color: #8c988f; font-size: 11px; line-height: 1.55; }

@media (max-width: 1000px) {
  .application-hero,
  .about-hero { grid-template-columns: 1fr; }
  .application-visual { width: min(780px, 100%); margin: auto; }
  .about-manifesto-card { min-height: 360px; }
  .about-information { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .application-view,
  .about-view { padding-right: 15px; padding-left: 15px; }
  .application-copy h1,
  .about-hero-copy h1 { font-size: clamp(48px, 15vw, 68px); }
  .application-visual { display: none; }
  .application-feature-grid,
  .about-values { grid-template-columns: 1fr; }
  .application-feature-grid article,
  .about-values article { min-height: 190px; }
  .about-version-grid { grid-template-columns: 1fr; }
  html[data-pwa-capable="false"] .phone-editor-notice { grid-template-columns: 52px minmax(0, 1fr); }
  .phone-editor-notice .marketing-secondary { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .app-window { transform: none; }
}

/* Navigation publique, mouvements premium et lisibilité ----------------- */
.public-nav-links a {
  display: inline-flex;
  height: 39px;
  padding: 0 14px;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: #a2aaa0;
  font-size: 11px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .4s ease, background-color .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.public-nav-links a:hover,
.public-nav-links a.active {
  background: #181c18;
  color: #5b95ff;
}
.public-nav-links a.signed-in::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #54df97;
  box-shadow: 0 0 0 4px rgba(84,223,151,.12);
  content: "";
}
.public-create-button { text-decoration: none; transition-duration: .4s; }
.footer-link-column a,
.footer-premium-bottom a {
  color: #8f9991;
  font-size: 11px;
  text-decoration: none;
  transition: color .4s ease, transform .4s ease;
}
.footer-link-column a { display: inline-flex; min-height: 30px; align-items: center; }
.footer-premium-bottom a { font-size: 9px; }
.footer-link-column a:hover,
.footer-premium-bottom a:hover { color: #fff; transform: translateX(3px); }
.public-menu-scrim { display: none; }

.premium-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .72s ease var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}
.premium-reveal.is-visible { opacity: 1; transform: none; }
.premium-proof-section,
.studio-deep-dive,
.premium-capabilities-section,
.ownership-cloud-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

@media (min-width: 1500px) {
  .public-nav { width: min(1120px, calc(100% - 44px)); }
  .public-nav-links a { font-size: 12px; }
  .hero-copy > p,
  .studio-deep-copy > p,
  .premium-section-heading > p,
  .ownership-copy > p { font-size: 15px; }
}

@media (max-width: 800px) {
  body.public-menu-open { overflow: hidden; }
  .public-header { z-index: 300; padding: 10px 12px; }
  .public-nav {
    position: relative;
    z-index: 2;
    grid-template-columns: auto 1fr auto;
    width: 100%;
    min-height: 58px;
    padding: 7px 8px 7px 13px;
    border-radius: 20px;
    backdrop-filter: blur(14px);
  }
  .public-logo { z-index: 2; }
  .public-create-button { justify-self: end; min-height: 42px; }
  .public-menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid #303730;
    border-radius: 13px;
    background: #171c18;
    cursor: pointer;
  }
  .public-menu-button span {
    position: absolute;
    width: 18px;
    height: 1.5px;
    margin: 0;
    border-radius: 99px;
    background: #f5f7f5;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  }
  .public-menu-button span:first-child { transform: translateY(-4px); }
  .public-menu-button span:last-child { transform: translateY(4px); }
  .public-nav.menu-open .public-menu-button span:first-child { transform: rotate(45deg); }
  .public-nav.menu-open .public-menu-button span:last-child { transform: rotate(-45deg); }
  .public-nav-links {
    position: fixed;
    top: 78px;
    right: 12px;
    left: 12px;
    z-index: 301;
    display: flex !important;
    max-height: calc(100dvh - 96px);
    padding: 12px;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #303830;
    border-radius: 22px;
    background: #101411;
    box-shadow: 0 28px 80px rgba(0,0,0,.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(.985);
    transform-origin: top center;
    transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1), visibility .45s;
  }
  .public-nav.menu-open .public-nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .public-nav-links a {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    justify-content: space-between;
    border-radius: 13px;
    color: #d8dfda;
    font-size: 15px;
  }
  .public-nav-links a.active { background: #17243a; color: #75a7ff; }
  .public-menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 290;
    display: block;
    border: 0;
    background: rgba(3,6,4,.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(5px);
    transition: opacity .45s ease, visibility .45s;
  }
  body.public-menu-open .public-menu-scrim { opacity: 1; visibility: visible; pointer-events: auto; }
  .account-heading p,
  .account-auth-intro > p,
  .application-feature-grid p,
  .about-values p,
  .about-information-copy p,
  .phone-editor-notice p { font-size: 14px; }
  .auth-form label,
  .profile-form label,
  .cloud-site-row b,
  .profile-summary h2 { font-size: 13px; }
  .auth-form label small,
  .profile-form label > span small,
  .cloud-site-row small,
  .profile-badges span { font-size: 11px; }
  .footer-link-column a { min-height: 34px; font-size: 13px; }
  .public-footer.footer-premium .footer-premium-bottom > span,
  .public-footer.footer-premium .footer-premium-bottom > p,
  .footer-premium-bottom a { font-size: 11px; }
}

@media (max-width: 520px) {
  .public-create-button {
    width: 42px;
    padding: 0;
    font-size: 0;
  }
  .public-create-button svg { width: 18px; height: 18px; }
  .account-heading h1 { font-size: clamp(42px, 14vw, 58px); }
  .marketing-badge,
  .hero-reassurance,
  .inner-hero > p,
  .create-intro > p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-reveal,
  .premium-reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .public-nav-links,
  .public-menu-scrim,
  .public-menu-button span { transition: none; }
}

/* Profil : informations regroupées sans multiplier les cartes encadrées. */
.profile-content .profile-card {
  padding: 28px 4px 34px;
  border: 0;
  border-top: 1px solid #2a332c;
  border-radius: 0;
  background: transparent;
}

.profile-content .profile-card:first-child {
  padding-top: 4px;
  border-top: 0;
}

.profile-stat-grid {
  gap: 0;
  border-top: 1px solid #29342c;
  border-bottom: 1px solid #29342c;
}

.profile-stat-grid article {
  border: 0;
  border-right: 1px solid #29342c;
  border-radius: 0;
  background: transparent;
}

.profile-stat-grid article:last-child { border-right: 0; }

.profile-storage-summary {
  padding-inline: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-security-list { gap: 0; }

.profile-security-list article {
  border: 0;
  border-bottom: 1px solid #29332b;
  border-radius: 0;
  background: transparent;
}

.security-action-row {
  padding-inline: 2px;
  border: 0;
  border-top: 1px solid #3b3232;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 760px) {
  .profile-stat-grid article:nth-child(2) { border-right: 0; }
  .profile-stat-grid article:nth-child(-n + 2) { border-bottom: 1px solid #29342c; }
}

/* Défilement public discret, sans rail visible dans le menu mobile. */
body.public-mode {
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 132, 122, .34) transparent;
}

body.public-mode::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

body.public-mode::-webkit-scrollbar-track { background: transparent; }
body.public-mode::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(118, 132, 122, .34);
}

.public-nav-links {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.public-nav-links::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ===== Centre d'assistance ===== */
/* Assistance humaine et administration privée VibAir ---------------------- */

.public-nav-links [hidden],
.support-view [hidden],
.admin-view [hidden],
.profile-summary [hidden] {
  display: none !important;
}

.human-support-section {
  display: grid;
  width: min(1800px, calc(100% - 48px));
  margin: 20px auto 120px;
  padding: clamp(42px, 6vw, 76px);
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  border-top: 1px solid #293129;
  border-bottom: 1px solid #293129;
  background:
    radial-gradient(circle at 88% 16%, rgba(26, 112, 255, .16), transparent 33%),
    linear-gradient(135deg, rgba(16, 22, 17, .92), rgba(8, 12, 9, .72));
}

.human-support-copy h2 {
  margin: 16px 0 20px;
  color: #f7faf8;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: .95;
  letter-spacing: -.07em;
}

.human-support-copy > p {
  max-width: 600px;
  margin: 0;
  color: #9ba69e;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.75;
}

.human-support-points {
  display: grid;
  gap: 13px;
  margin: 30px 0;
}

.human-support-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd4cd;
  font-size: 13px;
}

.human-support-points i {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #102a1b;
  color: #58df98;
}

.human-support-proof {
  position: relative;
  display: grid;
  gap: 16px;
}

.support-person {
  display: grid;
  min-height: 260px;
  padding: clamp(30px, 4vw, 48px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  border: 1px solid #2b3c4e;
  border-radius: 26px;
  background: rgba(12, 18, 14, .88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.support-person-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #2378ff, #0648bd);
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.support-person > div {
  min-width: 0;
}

.support-person small {
  color: #70a1ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.support-person b {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 24px;
}

.support-person p {
  margin: 28px 0 0;
  color: #bdc7c0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.support-person > i {
  color: #58df98;
  font-size: 20px;
}

.automation-promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #2b332d;
  border-bottom: 1px solid #2b332d;
}

.automation-promise > span {
  display: grid;
  min-height: 112px;
  padding: 20px;
  align-content: center;
  gap: 5px;
}

.automation-promise > span + span {
  border-left: 1px solid #2b332d;
}

.automation-promise i {
  margin-bottom: 5px;
  color: #68a0ff;
  font-size: 18px;
}

.automation-promise b {
  color: #edf2ee;
  font-size: 12px;
}

.automation-promise small {
  color: #77847a;
  font-size: 9px;
}

.support-view,
.admin-view {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 130px clamp(20px, 4vw, 64px) 100px;
}

.support-hero {
  display: grid;
  padding: 28px 0 70px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  border-bottom: 1px solid #2a322c;
}

.support-hero h1,
.admin-topline h1 {
  margin: 16px 0 18px;
  color: #f6f9f7;
  font-size: clamp(58px, 7vw, 102px);
  line-height: .9;
  letter-spacing: -.075em;
}

.support-hero h1 span {
  color: #2777ff;
}

.support-hero > div:first-child > p,
.admin-topline > div > p {
  max-width: 680px;
  margin: 0;
  color: #909d93;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.75;
}

.support-service-promise {
  display: grid;
  padding: 28px 0;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid #344039;
  border-bottom: 1px solid #344039;
}

.support-service-promise > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  background: #123166;
  color: #74a6ff;
  font-size: 21px;
}

.support-service-promise div {
  display: grid;
  gap: 5px;
}

.support-service-promise small {
  color: #5edc99;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.support-service-promise b {
  color: #eff4f0;
  font-size: 17px;
}

.support-service-promise p {
  margin: 0;
  color: #7e8a81;
  font-size: 11px;
}

.support-auth-required {
  display: grid;
  min-height: 190px;
  margin-top: 54px;
  padding: 34px;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #313a33;
  border-bottom: 1px solid #313a33;
}

.support-auth-required > i {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 18px;
  background: #122b57;
  color: #71a2ff;
  font-size: 21px;
}

.support-auth-required h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 25px;
}

.support-auth-required p {
  margin: 0;
  color: #89958c;
  font-size: 13px;
  line-height: 1.6;
}

.support-workspace {
  display: grid;
  min-height: 680px;
  margin-top: 52px;
  grid-template-columns: 330px minmax(0, 1fr);
  border-top: 1px solid #2b342d;
  border-bottom: 1px solid #2b342d;
}

.support-sidebar {
  min-width: 0;
  padding: 28px 22px 28px 0;
  border-right: 1px solid #2b342d;
}

.support-sidebar-heading,
.support-panel-heading,
.support-conversation-heading,
.admin-section-heading,
.admin-ticket-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.support-sidebar-heading small,
.support-panel-heading small,
.admin-section-heading small,
.admin-ticket-detail-heading small {
  color: #6d9fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.support-sidebar-heading h2,
.support-panel-heading h2,
.admin-section-heading h2 {
  margin: 5px 0 0;
  color: #f5f8f6;
  font-size: 24px;
}

.support-sidebar-heading > span {
  color: #89958c;
  font-size: 10px;
}

.support-new-ticket {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin: 24px 0 16px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #286ee1;
  border-radius: 12px;
  background: #1268e8;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.support-new-ticket:disabled {
  border-color: #313832;
  background: #171c18;
  color: #667068;
  cursor: not-allowed;
}

.support-admin-shortcut {
  display: grid;
  min-height: 58px;
  margin-bottom: 12px;
  padding: 9px 12px;
  grid-template-columns: 33px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #334766;
  border-radius: 12px;
  background: #111b2b;
  color: #80aaff;
  text-decoration: none;
}

.support-admin-shortcut > span {
  display: grid;
  gap: 2px;
}

.support-admin-shortcut b {
  color: #e7eefc;
  font-size: 10px;
}

.support-admin-shortcut small {
  color: #71829e;
  font-size: 8px;
}

.support-ticket-list {
  display: grid;
  gap: 5px;
}

.support-ticket-item,
.admin-ticket-item {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 15px;
  gap: 8px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0 12px 12px 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .35s ease, border-color .35s ease;
}

.support-ticket-item:hover,
.support-ticket-item.active,
.admin-ticket-item:hover,
.admin-ticket-item.active {
  border-left-color: #2878ff;
  background: #121a25;
}

.support-ticket-item-top,
.support-ticket-item > span,
.admin-ticket-item > span,
.admin-ticket-item footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.support-ticket-item small,
.admin-ticket-item small {
  color: #728077;
  font-size: 8px;
}

.support-ticket-item b,
.admin-ticket-item b {
  overflow: hidden;
  color: #dce3de;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-item time,
.admin-ticket-item time,
.admin-ticket-item footer span {
  color: #667169;
  font-size: 8px;
}

.support-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6598f6;
}

.support-status-dot.awaiting_user { background: #f2bd62; }
.support-status-dot.paused { background: #9b8ed0; }
.support-status-dot.closed { background: #5e6a62; }

.support-status {
  display: inline-flex;
  width: max-content;
  min-height: 24px;
  padding: 0 9px;
  align-items: center;
  border-radius: 99px;
  background: #122851;
  color: #78a8ff;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.support-status.awaiting_user { background: #322713; color: #ebbe70; }
.support-status.paused { background: #242035; color: #b5a5e5; }
.support-status.closed { background: #1d231f; color: #818d84; }

.support-empty,
.support-welcome,
.admin-ticket-placeholder {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #758178;
  text-align: center;
}

.support-empty i,
.support-welcome i,
.admin-ticket-placeholder i {
  color: #416dab;
  font-size: 28px;
}

.support-empty p,
.support-welcome p,
.admin-ticket-placeholder p {
  margin: 0;
  font-size: 11px;
}

.support-panel {
  min-width: 0;
  padding: 34px 0 34px 34px;
}

.support-welcome {
  min-height: 600px;
}

.support-welcome h2 {
  margin: 0;
  color: #ecf1ed;
  font-size: 26px;
}

.support-compose {
  display: grid;
  max-width: 760px;
  gap: 19px;
}

.support-panel-heading {
  margin-bottom: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid #29322b;
}

.support-panel-heading button {
  width: 40px;
  height: 40px;
  border: 1px solid #303a32;
  border-radius: 11px;
  background: transparent;
  color: #9ba69e;
  cursor: pointer;
}

.support-compose label,
.admin-ticket-management label,
.support-reply > label,
.admin-ticket-reply > label {
  display: grid;
  gap: 8px;
  color: #aeb9b1;
  font-size: 11px;
  font-weight: 700;
}

.support-compose input,
.support-compose select,
.support-compose textarea,
.support-reply textarea,
.admin-ticket-management select,
.admin-ticket-reply textarea,
.admin-ticket-tools input {
  width: 100%;
  border: 1px solid #303a32;
  outline: 0;
  background: #0b0f0c;
  color: #eff3f0;
  font: inherit;
}

.support-compose input,
.support-compose select,
.admin-ticket-management select,
.admin-ticket-tools input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 11px;
}

.support-compose textarea,
.support-reply textarea,
.admin-ticket-reply textarea {
  padding: 14px;
  border-radius: 12px;
  line-height: 1.65;
  resize: vertical;
}

.support-compose input:focus,
.support-compose select:focus,
.support-compose textarea:focus,
.support-reply textarea:focus,
.admin-ticket-reply textarea:focus,
.admin-ticket-tools input:focus {
  border-color: #2878ff;
  box-shadow: 0 0 0 3px rgba(40, 120, 255, .12);
}

.support-compose label > small {
  color: #657168;
  font-size: 9px;
  font-weight: 500;
}

.support-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.support-form-actions p,
.support-reply > p,
.admin-ticket-reply > p {
  margin: 0;
  color: #e78f8f;
  font-size: 10px;
}

.support-conversation {
  display: grid;
  min-height: 600px;
  grid-template-rows: auto minmax(300px, 1fr) auto;
}

.support-conversation-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid #29322b;
}

.support-conversation-heading h2 {
  margin: 5px 0;
  color: #f3f6f4;
  font-size: 24px;
}

.support-conversation-heading p {
  margin: 0;
  color: #758179;
  font-size: 9px;
}

.support-conversation-heading > div:last-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.support-conversation-heading button,
.admin-ticket-management > button,
.admin-section-heading button {
  display: inline-flex;
  min-height: 38px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  border: 1px solid #344039;
  border-radius: 10px;
  background: #151a16;
  color: #c4ccc6;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.support-messages,
.admin-ticket-messages {
  min-height: 0;
  max-height: 480px;
  padding: 26px 6px 26px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #344039 transparent;
}

.support-message {
  max-width: min(720px, 86%);
  margin-bottom: 18px;
  padding: 17px 19px;
  border-left: 2px solid #3b4651;
  background: #101411;
}

.support-message.from-admin {
  border-left-color: #2c7cff;
  background: #101824;
}

.support-message.from-user {
  margin-left: auto;
  border-left-color: #4ad893;
}

.support-message-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-message-author > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: #1a2638;
  color: #74a4ff;
}

.support-message-author > div {
  display: grid;
  gap: 2px;
}

.support-message-author b {
  color: #dce3de;
  font-size: 10px;
}

.support-message-author small {
  color: #68736b;
  font-size: 8px;
}

.support-message > p {
  margin: 13px 0 0 41px;
  color: #aeb8b1;
  font-size: 12px;
  line-height: 1.7;
}

.support-reply {
  padding-top: 20px;
  border-top: 1px solid #29322b;
}

.support-reply > div,
.admin-ticket-reply > div {
  position: relative;
  margin-top: 8px;
}

.support-reply textarea {
  min-height: 90px;
  padding-right: 62px;
}

.support-reply button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #1268e8;
  color: #fff;
  cursor: pointer;
}

.profile-admin-link {
  display: flex;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #35537c;
  border-radius: 10px;
  background: #101b2c;
  color: #7ea9ff;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.admin-topline {
  display: flex;
  padding: 28px 0 54px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  border-bottom: 1px solid #2a322c;
}

.admin-identity {
  display: grid;
  min-width: 220px;
  padding: 18px 20px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 12px;
  border-left: 2px solid #2878ff;
  background: #111722;
}

.admin-identity > i {
  grid-row: 1 / 3;
  align-self: center;
  color: #73a4ff;
  font-size: 22px;
}

.admin-identity b {
  color: #e7edf7;
  font-size: 11px;
}

.admin-identity small {
  color: #718097;
  font-size: 8px;
}

.admin-metrics {
  display: grid;
  margin: 40px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #2c352e;
  border-bottom: 1px solid #2c352e;
}

.admin-metrics article {
  display: flex;
  min-height: 112px;
  padding: 24px;
  align-items: center;
  gap: 16px;
}

.admin-metrics article + article {
  border-left: 1px solid #2c352e;
}

.admin-metrics i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #112348;
  color: #72a3ff;
}

.admin-metrics span {
  display: grid;
  gap: 4px;
}

.admin-metrics small {
  color: #758078;
  font-size: 9px;
}

.admin-metrics b {
  color: #f3f7f4;
  font-size: 27px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 34px;
}

.admin-ticket-console,
.admin-people-panel {
  min-width: 0;
}

.admin-section-heading {
  min-height: 64px;
  padding-bottom: 18px;
  border-bottom: 1px solid #2b342d;
}

.admin-section-heading > i {
  color: #6b9eff;
}

.admin-ticket-tools {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #2b342d;
}

.admin-ticket-filters {
  display: flex;
  gap: 5px;
}

.admin-ticket-filters button {
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #7f8a82;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.admin-ticket-filters button.active {
  background: #142442;
  color: #75a5ff;
}

.admin-ticket-tools > label {
  position: relative;
  width: min(290px, 42%);
}

.admin-ticket-tools > label i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #647168;
  font-size: 11px;
  transform: translateY(-50%);
}

.admin-ticket-tools input {
  min-height: 40px;
  padding-left: 36px;
  font-size: 10px;
}

.admin-ticket-body {
  display: grid;
  min-height: 660px;
  grid-template-columns: 290px minmax(0, 1fr);
}

.admin-ticket-list {
  max-height: 720px;
  padding: 14px 14px 14px 0;
  overflow-y: auto;
  border-right: 1px solid #2b342d;
  scrollbar-width: thin;
}

.admin-ticket-item p {
  overflow: hidden;
  margin: 0;
  color: #839087;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-ticket-detail {
  min-width: 0;
  padding: 25px 0 0 26px;
}

.admin-ticket-detail-shell {
  display: grid;
  min-height: 630px;
  grid-template-rows: auto minmax(260px, 1fr) auto auto;
}

.admin-ticket-detail-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid #2b342d;
}

.admin-ticket-detail-heading h3 {
  margin: 6px 0;
  color: #f1f5f2;
  font-size: 20px;
}

.admin-ticket-detail-heading p {
  margin: 0;
  color: #77837a;
  font-size: 9px;
}

.admin-ticket-management {
  display: grid;
  padding: 18px 0;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .55fr) auto;
  align-items: end;
  gap: 10px;
  border-top: 1px solid #2b342d;
}

.admin-ticket-management select {
  min-height: 42px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 10px;
}

.admin-ticket-management > button {
  min-height: 42px;
  border-color: #286ee1;
  background: #1268e8;
  color: #fff;
}

.admin-ticket-reply {
  padding-top: 16px;
}

.admin-ticket-reply textarea {
  min-height: 98px;
  padding-right: 120px;
}

.admin-ticket-reply button {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: #1268e8;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.admin-people-summary {
  display: grid;
  padding: 18px 0;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #2b342d;
}

.admin-people-summary span {
  display: grid;
  gap: 3px;
  text-align: center;
}

.admin-people-summary span + span {
  border-left: 1px solid #2b342d;
}

.admin-people-summary b {
  color: #eff3f0;
  font-size: 18px;
}

.admin-people-summary small {
  color: #727e75;
  font-size: 7px;
}

.admin-user-list {
  display: grid;
  gap: 2px;
  padding-top: 13px;
}

.admin-user-item {
  display: grid;
  min-height: 58px;
  padding: 8px 3px;
  grid-template-columns: 36px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #252d27;
}

.admin-user-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #17243a;
  color: #78a6ff;
  font-size: 11px;
  font-weight: 850;
}

.admin-user-item > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-user-item b {
  overflow: hidden;
  color: #dbe2dd;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-item b em {
  margin-left: 6px;
  color: #6e9eff;
  font-size: 7px;
  font-style: normal;
}

.admin-user-item small {
  overflow: hidden;
  color: #6f7a72;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-item > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4c5650;
}

.admin-user-item > i.online {
  background: #4ddd91;
  box-shadow: 0 0 0 4px rgba(77, 221, 145, .1);
}

@media (min-width: 1700px) {
  .support-view,
  .admin-view {
    width: min(1640px, 100%);
  }

  .support-ticket-item b,
  .admin-ticket-item b,
  .support-message > p,
  .support-compose label {
    font-size: 14px;
  }
}

@media (max-width: 1120px) {
  .human-support-section {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-people-panel {
    border-top: 1px solid #2b342d;
    padding-top: 26px;
  }

  .admin-user-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
}

@media (min-width: 801px) and (max-width: 1800px) {
  .public-nav-links a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 9px;
  }

  .public-create-button {
    padding-right: 13px;
    padding-left: 13px;
  }
}

@media (max-width: 850px) {
  .support-view,
  .admin-view {
    padding: 112px 16px 70px;
  }

  .support-hero {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .support-workspace {
    grid-template-columns: 1fr;
  }

  .support-sidebar {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid #2b342d;
  }

  .support-ticket-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-panel {
    padding-left: 0;
  }

  .admin-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-metrics article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #2c352e;
  }

  .admin-metrics article:nth-child(4) {
    border-top: 1px solid #2c352e;
  }

  .admin-ticket-tools {
    padding: 14px 0;
    align-items: stretch;
    flex-direction: column;
  }

  .admin-ticket-filters {
    overflow-x: auto;
  }

  .admin-ticket-tools > label {
    width: 100%;
  }

  .admin-ticket-body {
    grid-template-columns: 1fr;
  }

  .admin-ticket-list {
    display: grid;
    max-height: 340px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #2b342d;
  }

  .admin-ticket-detail {
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .human-support-section {
    width: calc(100% - 28px);
    padding: 42px 18px;
  }

  .support-person {
    padding: 24px 19px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .support-person-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .support-person > i {
    display: none;
  }

  .automation-promise {
    grid-template-columns: 1fr;
  }

  .automation-promise > span + span {
    border-top: 1px solid #2b332d;
    border-left: 0;
  }

  .support-auth-required {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 26px 8px;
  }

  .support-auth-required > i {
    width: 48px;
    height: 48px;
  }

  .support-auth-required .marketing-primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .support-ticket-list,
  .admin-ticket-list,
  .admin-user-list {
    grid-template-columns: 1fr;
  }

  .support-conversation-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-message {
    max-width: 96%;
  }

  .support-message > p {
    margin-left: 0;
  }

  .support-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .support-form-actions .marketing-primary {
    width: 100%;
  }

  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-metrics article + article,
  .admin-metrics article:nth-child(3) {
    border-top: 1px solid #2c352e;
    border-left: 0;
  }

  .admin-ticket-management {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-ticket-item,
  .admin-ticket-item {
    transition: none;
  }
}

/* Espace de lecture prioritaire ----------------------------------------- */

.support-conversation.is-ticket-fullscreen {
  padding-top: 16px;
  padding-bottom: 16px;
  grid-template-rows: auto minmax(60dvh, 1fr) auto;
}

.support-conversation.is-ticket-fullscreen .support-conversation-heading {
  min-height: 76px;
  padding-bottom: 12px;
}

.support-conversation.is-ticket-fullscreen .support-messages,
.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
  min-height: 60dvh;
  max-height: none;
  padding-top: 18px;
  padding-bottom: 18px;
}

.support-conversation.is-ticket-fullscreen .support-reply {
  padding-top: 10px;
}

.support-conversation.is-ticket-fullscreen .support-reply textarea {
  min-height: 82px;
  max-height: 150px;
}

.admin-ticket-detail.is-ticket-fullscreen {
  padding-top: 12px;
  padding-bottom: 12px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
  grid-template-rows: auto minmax(60dvh, 1fr) auto auto;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading {
  min-height: 72px;
  padding-bottom: 10px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
  padding: 9px 0 7px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management .assist-select-trigger {
  min-height: 42px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply {
  padding-top: 8px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply textarea {
  height: 84px;
  min-height: 84px;
  max-height: 150px;
}

.support-reply > label,
.admin-ticket-reply > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.support-reply > label small,
.admin-ticket-reply > label small {
  color: #68766d;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: right;
}

.support-conversation.is-ticket-fullscreen .support-message,
.admin-ticket-detail.is-ticket-fullscreen .support-message {
  max-width: min(920px, 88%);
}

@media (max-width: 720px) {
  .support-conversation.is-ticket-fullscreen {
    padding: 10px;
    grid-template-rows: auto minmax(60dvh, 1fr) auto;
  }

  .admin-ticket-detail.is-ticket-fullscreen {
    padding: 10px;
    overflow-y: auto;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
    height: auto;
    min-height: calc(100dvh - 20px);
    grid-template-rows: auto minmax(60dvh, auto) auto auto;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
    overflow-y: visible;
  }

  .support-conversation.is-ticket-fullscreen .support-conversation-heading,
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading {
    min-height: 0;
  }

  .support-conversation.is-ticket-fullscreen .support-messages,
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
    min-height: 60dvh;
    padding: 14px 0;
  }

  .support-conversation.is-ticket-fullscreen .support-message,
  .admin-ticket-detail.is-ticket-fullscreen .support-message {
    max-width: 97%;
    padding: 14px;
  }

  .support-reply > label,
  .admin-ticket-reply > label {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .support-reply > label small,
  .admin-ticket-reply > label small {
    font-size: 9px;
    text-align: left;
  }

  .support-reply textarea,
  .admin-ticket-reply textarea {
    font-size: 16px;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
    grid-template-columns: 1fr;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management > button {
    width: 100%;
    grid-column: auto;
    justify-content: center;
  }

  .support-ticket-back {
    min-height: 44px;
  }
}

@media (max-height: 780px) {
  .admin-ticket-detail.is-ticket-fullscreen {
    overflow-y: auto;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
    height: auto;
    min-height: calc(100dvh - 24px);
    grid-template-rows: auto minmax(60dvh, auto) auto auto;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
    overflow-y: visible;
  }
}

/* Conversation plein écran ---------------------------------------------- */

body.ticket-overlay-open {
  overflow: hidden !important;
}

.support-conversation.is-ticket-fullscreen,
.admin-ticket-detail.is-ticket-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  margin: 0;
  border: 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(34, 111, 255, .12), transparent 32%),
    #080d0a;
  animation: ticket-overlay-enter .46s cubic-bezier(.2, .75, .2, 1) both;
}

.support-conversation.is-ticket-fullscreen {
  padding: clamp(18px, 3vw, 42px) clamp(18px, 5vw, 82px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.support-conversation.is-ticket-fullscreen .support-conversation-heading,
.support-conversation.is-ticket-fullscreen .support-messages,
.support-conversation.is-ticket-fullscreen .support-reply {
  width: min(1800px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.support-conversation.is-ticket-fullscreen .support-conversation-heading {
  display: grid;
  min-height: 92px;
  padding: 0 0 20px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.support-conversation.is-ticket-fullscreen .support-messages,
.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
  max-height: none;
  overscroll-behavior: contain;
}

.support-conversation.is-ticket-fullscreen .support-messages {
  padding: 32px clamp(0px, 2vw, 24px);
}

.support-conversation.is-ticket-fullscreen .support-reply {
  padding: 20px 0 0;
  background: linear-gradient(180deg, rgba(8, 13, 10, 0), #080d0a 22%);
}

.support-conversation.is-ticket-fullscreen .support-reply textarea {
  min-height: 104px;
  border-color: #344039;
  background: #0d1410;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .2);
}

.support-ticket-back {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #344039;
  border-radius: 12px;
  background: #111713;
  color: #d7ded9;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, color .3s ease, transform .3s ease;
}

.support-ticket-back:hover {
  border-color: #3c7de9;
  background: #11213b;
  color: #fff;
  transform: translateX(-2px);
}

.support-ticket-back:focus-visible {
  outline: 3px solid rgba(59, 128, 255, .3);
  outline-offset: 3px;
}

.admin-ticket-detail.is-ticket-fullscreen {
  padding: clamp(18px, 3vw, 42px) clamp(18px, 4.5vw, 72px);
  overflow: hidden;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
  width: min(1480px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  grid-template-rows: auto minmax(120px, 1fr) auto auto;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading {
  display: grid;
  min-height: 92px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
  padding: 28px clamp(0px, 2vw, 22px);
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
  padding: 18px 0 12px;
  grid-template-columns: minmax(260px, 420px) minmax(170px, 250px) auto;
  justify-content: start;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply {
  padding-top: 12px;
}

@keyframes ticket-overlay-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Menus déroulants de l’assistance -------------------------------------- */

.assist-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.assist-native-select {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.assist-select-trigger {
  display: grid;
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 15px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid #344039;
  border-radius: 12px;
  outline: 0;
  background: #0d1310;
  color: #edf2ee;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.assist-select-trigger i {
  color: #718078;
  font-size: 10px;
  transition: color .3s ease, transform .35s ease;
}

.assist-select-trigger:hover,
.assist-select.is-open .assist-select-trigger {
  border-color: #397ff2;
  background: #101925;
}

.assist-select-trigger:focus-visible {
  border-color: #397ff2;
  box-shadow: 0 0 0 4px rgba(40, 120, 255, .15);
}

.assist-select.is-open .assist-select-trigger i {
  color: #78a8ff;
  transform: rotate(180deg);
}

.assist-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 120;
  max-height: min(292px, 42vh);
  padding: 7px;
  overflow-y: auto;
  border: 1px solid #35433a;
  border-radius: 14px;
  background: rgba(14, 20, 16, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  scrollbar-width: thin;
  scrollbar-color: #425148 transparent;
  animation: assist-menu-enter .32s cubic-bezier(.2, .75, .2, 1) both;
}

.assist-select.opens-up .assist-select-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom;
}

.assist-select-option {
  display: grid;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  outline: 0;
  background: transparent;
  color: #aab5ad;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}

.admin-ticket-management .assist-select-option {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #aab5ad;
}

.assist-select-option i {
  color: transparent;
  text-align: center;
}

.assist-select-option:hover,
.assist-select-option:focus-visible {
  background: #172235;
  color: #f6f9f7;
}

.assist-select-option.is-selected {
  background: #14294e;
  color: #85afff;
}

.assist-select-option.is-selected i {
  color: #72a5ff;
}

.assist-select-option:disabled {
  opacity: .4;
  cursor: not-allowed;
}

@keyframes assist-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  .support-conversation.is-ticket-fullscreen,
  .admin-ticket-detail.is-ticket-fullscreen {
    padding: 14px;
  }

  .support-conversation.is-ticket-fullscreen .support-conversation-heading,
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading {
    min-height: 0;
    padding-bottom: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .support-conversation.is-ticket-fullscreen .support-ticket-back,
  .admin-ticket-detail.is-ticket-fullscreen .support-ticket-back {
    grid-column: 1 / -1;
    width: max-content;
  }

  .support-conversation.is-ticket-fullscreen .support-conversation-heading > div:last-child {
    justify-content: flex-end;
  }

  .support-conversation.is-ticket-fullscreen .support-conversation-heading h2,
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading h3 {
    font-size: 18px;
  }

  .support-conversation.is-ticket-fullscreen .support-messages,
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
    padding: 18px 0;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
    max-height: 170px;
    overflow-y: auto;
    grid-template-columns: 1fr 1fr;
  }

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management > button {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-conversation.is-ticket-fullscreen,
  .admin-ticket-detail.is-ticket-fullscreen,
  .assist-select-menu {
    animation: none;
  }

  .support-ticket-back,
  .assist-select-trigger,
  .assist-select-trigger i,
  .assist-select-option {
    transition: none;
  }
}

/* Correction finale : aucun panneau ne doit recouvrir la conversation. */
.admin-ticket-detail.is-ticket-fullscreen {
  padding: clamp(16px, 2.4vw, 32px) clamp(18px, 4vw, 64px);
  overflow: hidden !important;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
  display: grid;
  width: min(1540px, 100%);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: minmax(430px, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 22px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 82px;
  padding-bottom: 14px;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  height: auto;
  min-height: 0 !important;
  max-height: none !important;
  padding: 20px clamp(0px, 1.5vw, 18px);
  overflow-x: hidden;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  min-width: 0;
  margin: 0;
  padding: 14px 0 0;
  overflow: visible;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, .62fr) auto;
  border-top: 1px solid #2b342d;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  min-width: 0;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid #2b342d;
}

.admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply textarea {
  height: 76px;
  min-height: 76px;
  max-height: 120px;
}

@media (max-width: 1100px) {
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    column-gap: 0;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
    grid-column: 1;
    grid-row: 3;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply {
    grid-column: 1;
    grid-row: 4;
    padding-top: 10px;
    border-top: 0;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply textarea {
    height: 70px;
    min-height: 70px;
  }
}

@media (max-width: 720px) {
  .admin-ticket-detail.is-ticket-fullscreen {
    padding: 10px 12px;
    overflow: hidden !important;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-heading {
    min-height: 0;
    padding-bottom: 10px;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
    min-height: 0 !important;
    padding: 12px 0;
    overflow-y: auto !important;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
    max-height: none;
    padding-top: 9px;
    overflow: visible;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 7px;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management .assist-select-trigger,
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management > button {
    min-height: 42px;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply {
    padding-top: 8px;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply > label {
    flex-direction: row;
    align-items: center;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply textarea {
    height: 68px;
    min-height: 68px;
  }
}

@media (max-width: 520px) {
  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-management > button {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-reply > label small {
    display: none;
  }
}

@media (max-height: 780px) {
  .admin-ticket-detail.is-ticket-fullscreen {
    overflow: hidden !important;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-detail-shell {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .admin-ticket-detail.is-ticket-fullscreen .admin-ticket-messages {
    min-height: 0 !important;
    overflow-y: auto !important;
  }
}

/* --- RESTORED PROJECT ART AND PROJECT CARD INFO STYLES --- */
.project-card .site-thumbnail.project-art,
.gallery-card .site-thumbnail.project-art {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--thumb-primary) 35%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--thumb-page) 88%, #000), color-mix(in srgb, var(--thumb-primary) 24%, var(--thumb-page)));
  color: var(--thumb-text);
}

.project-art-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
}

.project-art.has-cover::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(3,8,5,.82) 0%, rgba(3,8,5,.52) 52%, rgba(3,8,5,.12) 100%);
  content: "";
}

.project-art-glow {
  position: absolute;
  right: -12%;
  bottom: -38%;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--thumb-primary) 45%, transparent), transparent 68%);
  opacity: .62;
}

.project-art-top {
  position: absolute;
  top: 15px;
  right: 82px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.68);
  font-size: 7px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-art-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--thumb-primary);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--thumb-primary) 28%, transparent);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.project-art-copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  max-width: 76%;
}

.project-art-copy small {
  display: block;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--thumb-primary) 72%, #fff);
  font-size: 7px;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-art-copy h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(18px, 1.45vw, 27px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.055em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-art-copy p {
  display: -webkit-box;
  max-width: 460px;
  margin: 9px 0 0;
  overflow: hidden;
  color: rgba(255,255,255,.7);
  font-size: 8px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card-info,
.gallery-card-info {
  display: flex;
  min-height: 64px;
  padding: 11px 12px 11px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 0 0 16px 16px;
  background: #111511;
}

.project-card-info > div:first-child,
.gallery-card-info > div:first-child {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  text-align: left;
}
.project-card-info h3,
.gallery-card-info h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #f0f4f1;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-card-info small,
.gallery-card-info small {
  display: block;
  margin: 0;
  flex: 0 0 auto;
  color: #69736b;
  font-size: 7px;
  white-space: nowrap;
}
.project-card-info small::before,
.gallery-card-info small::before { content: none; }
.project-card-info > .project-card-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.project-action,
.project-menu-trigger,
.gallery-card-info > button {
  display: inline-flex;
  width: auto;
  min-width: 34px;
  min-height: 34px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: #192019;
  color: #aab4ac;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.project-menu-trigger,
.gallery-card-info > button { width: 34px; padding: 0; }
.project-action { background: #12284a; color: #7eafff; }
.project-action:hover,
.gallery-card-info > button:hover { background: #17345f; color: #a7c8ff; transform: translateY(-1px); }
.project-menu-trigger:hover { background: #202820; color: #fff; }
.project-menu-popover { right: 0; bottom: 42px; z-index: 20; width: 174px; padding: 6px; border: 1px solid #29332b; border-radius: 11px; background: #101410; box-shadow: 0 20px 48px rgba(0,0,0,.44); }
.project-menu-popover button { min-height: 36px; border-radius: 7px; color: #aeb7b0; font-size: 8px; }
.project-menu-popover button:hover { background: #192019; color: #fff; }

.project-status {
  top: 12px;
  right: 12px;
  min-height: 25px;
  padding: 0 9px;
  border: 0;
  background: rgba(11,16,12,.9);
  box-shadow: 0 7px 20px rgba(0,0,0,.22);
  color: #a5afa7;
  font-size: 7px;
}

.project-status i { background: #3f8cff; box-shadow: none; }
.project-status.published { color: #78e8aa; }
