/*
  common.css
  - Composants partagés du design system Shuttle.
  - Boutons, champs, cards, modales, helpers communs.
  - Les layouts shell vivent dans base.css.
*/


/* =========================
   Topbar (brand + actions)
   ========================= */

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.brand-mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow: 0 8px 18px rgba(44,123,229,.18);
  border:1px solid var(--border);
  flex:0 0 auto;
  margin-left: 20px;
}
.brand-text{ min-width:0; line-height:1.12; }
.brand-text strong{
  font-size:13px;
  display:block;
  letter-spacing:.2px;
}
.brand-text span{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.search {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: var(--shuttle-control-h);
    border: 1px solid var(--shuttle-line);
    background: var(--shuttle-surface);
    border-radius: var(--shuttle-radius-sm);
    padding: 8px 12px;
}
.search input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--text);
    font-size: 13px;
}
.search .hint {
    font-size: 11px;
    color: var(--muted2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
}


/* =========================
   UI composants partagés
   ========================= */

.btn{
  min-height: var(--shuttle-control-h);
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  color:var(--text);
  padding:0 14px;
  border-radius: var(--shuttle-radius-sm);
  cursor:pointer;
  font-size:13px;
  font-weight: 700;
  user-select:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  box-shadow: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  white-space: nowrap;
  text-decoration:none;
}

.btn:hover{
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent) 6%, var(--shuttle-surface));
  border-color: color-mix(in srgb, var(--accent) 34%, var(--shuttle-line));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--title) 7%, transparent);
}
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline:none; box-shadow: var(--focus); }

.btn.primary{
  border-color: color-mix(in srgb, var(--accent) 72%, transparent);
  background: var(--accent);
  color: #fff;
}
.btn.primary:hover{
  background: var(--shuttle-accent-strong);
  border-color: var(--shuttle-accent-strong);
}
.btn.danger{ border-color: color-mix(in srgb, var(--danger) 42%, transparent); background: color-mix(in srgb, var(--danger) 10%, var(--shuttle-surface)); }
.btn.small{ min-height: 32px; padding:0 10px; font-size:12px; border-radius:9px; }

.btn.sidebar__quickButton{
  background: transparent;
  border-color: transparent;
  color: color-mix(in srgb, var(--accent) 78%, var(--rail-label));
  box-shadow: none;
}

.btn.sidebar__quickButton:hover{
  background: var(--rail-hover-bg);
  border-color: var(--rail-hover-border);
}

.btn.sidebar__quickButton.is-open{
  background: transparent;
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: none;
}

.pill{
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface-soft);
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 82%, transparent);
  display:flex;
  align-items:center;
  gap:8px;
  user-select:none;
  white-space:nowrap;
}

.field{
  display:flex;
  align-items:center;
  gap:8px;
  min-height: var(--shuttle-control-h);
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  border-radius: var(--shuttle-radius-sm);
  padding:7px 10px;
}
.field input{
  background:transparent;
  border:0;
  outline:0;
  color: var(--text);
  font-size:13px;
  width:280px;
  max-width:42vw;
}

.kbd{
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--theme-border) 56%, transparent);
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  color: var(--muted);
  white-space:nowrap;
  user-select:none;
}

.form__control,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea{
  width: 100%;
  border: 1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  color: var(--field-text);
  border-radius: var(--shuttle-radius-sm);
  padding: 10px 12px;
  outline: none;
  min-height: var(--shuttle-control-h);
}

select option,
select optgroup{
  background: var(--panel);
  color: var(--text);
}

input[type="color"]{
  min-height: 44px;
  padding: 6px;
}

input::placeholder,
textarea::placeholder{
  color: color-mix(in srgb, var(--field-text) 54%, transparent);
}

input:focus,
select:focus,
textarea:focus,
.form__control:focus{
  box-shadow: var(--focus);
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
}

/* Cards (utiles partout) */
.card{
  border-radius: var(--shuttle-radius-lg);
  border: 1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  box-shadow: var(--shuttle-card-shadow);
  overflow:hidden;
  padding:14px;
}
.card h2{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; color: var(--muted); font-size:13px; line-height:1.45; }

/* Modals (global) */
.modal{
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--title) 28%, transparent);
  display:none;
  z-index: 999999;
  padding: 18px;
}
.modal.show{ display:grid; place-items:center; }

.dialog{
  width: min(980px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid var(--shuttle-line-strong);
  background: var(--shuttle-surface);
  box-shadow: 0 22px 60px color-mix(in srgb, var(--title) 18%, transparent);
  display:flex;
  flex-direction:column;
}
.dh{
  padding: 12px 14px;
  border-bottom: 1px solid var(--shuttle-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background: var(--shuttle-surface-soft);
}
.db{
  padding: 14px;
  overflow:auto;
  min-height:0;
  background: color-mix(in srgb, var(--shuttle-surface) 92%, transparent);
  display:flex;
  flex-direction:column;
  gap: 12px;
}


/* Search globale centrée */
.universal{
  display:flex;
  align-items:center;
  gap:8px;
  min-height: var(--shuttle-control-h);
  padding: 6px 8px;

  width: 100%;
  border: 1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  border-radius: var(--shuttle-radius-sm);
  z-index: 25;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--title) 7%, transparent);
  backdrop-filter: blur(12px);
}

.universalModal{
  padding: 18px;
}

.universalModal.show{
  place-items: start center;
}

.universalModal__dialog{
  width: min(760px, calc(100vw - 20px));
  margin-top: clamp(36px, 10vh, 112px);
}

.universalModal__body{
  gap: 14px;
  overflow: visible;
}

.universal--modal{
  width: 100%;
}

.universalPanel.universalPanel--modal{
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  transform: none;
  margin-top: 0;
}

.mobileNavModal__body{
  gap: 12px;
}

.mobileNavModal__section{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mobileNavModal__apps{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:8px;
}

.rail-item--mobile-modal{
  width:100%;
  justify-content:flex-start;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
}

.rail-item--mobile-modal .rail-label{
  max-width:none;
  text-align:left;
}

.universal__icon{
  color: var(--muted2);
}

.universal input{
  width:100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 12px;
  min-width: 120px;
}

.universal .rail-icon{
  width:28px;
  height:28px;
  min-width:28px;
  border-radius:11px;
  font-size:16px;
  box-shadow:none;
}

/* Optionnel : petit feedback focus */
.universal:focus-within{
  box-shadow: var(--focus);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
}

.appSearch,
.field[role="search"]{
  display:flex;
  align-items:center;
  gap:8px;
  min-height: var(--shuttle-control-h);
  padding:6px 8px;
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  border-radius: var(--shuttle-radius-sm);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--title) 7%, transparent);
  backdrop-filter: blur(12px);
}

.appSearch input,
.field[role="search"] input{
  width:100%;
  min-width:120px;
  background:transparent;
  border:0;
  outline:0;
  color:var(--text);
  font-size:12px;
}

.appSearch .universal__icon,
.field[role="search"] .universal__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  min-width:28px;
  border-radius:11px;
  color:var(--muted2);
  background: var(--shuttle-surface-soft);
}

.appSearch:focus-within,
.field[role="search"]:focus-within{
  box-shadow: var(--focus);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
}

.universalPanel{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--shuttle-line-strong);
  border-radius: var(--shuttle-radius-lg);
  background: var(--shuttle-surface);
  box-shadow: var(--shuttle-card-shadow-hover);
  backdrop-filter: blur(14px);
}

.universalPanel[hidden]{
  display:none !important;
}

.universalPanel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.universalFilters{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.universalFilters .pill{
  cursor:pointer;
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface-soft);
}

.universalFilters .pill.is-active{
  background: var(--shuttle-accent-soft);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  color: var(--text);
}

.universalPanel__body{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-height: min(62vh, 560px);
  overflow:auto;
  padding-right: 2px;
  scrollbar-width: none;
}
.universalPanel__body::-webkit-scrollbar{ width:0; height:0; }

.universalGroup{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.universalGroup__title{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: 0 4px;
}

.universalResult{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  padding: 12px 14px;
  border-radius: var(--shuttle-radius-sm);
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  cursor:pointer;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.universalResult:hover,
.universalResult.is-active{
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, var(--shuttle-surface));
}

.universalResult__main{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.universalResult__title{
  font-weight:600;
  color: var(--text);
}

.universalResult__meta,
.universalResult__snippet{
  font-size:12px;
  color: var(--muted2);
  line-height:1.45;
}

.universalResult__app{
  align-self:flex-start;
}

.universalEmpty{
  padding: 18px;
  border:1px dashed var(--shuttle-line);
  border-radius: var(--shuttle-radius-md);
  color: var(--muted);
  text-align:center;
  background: var(--shuttle-surface-soft);
}

/* La pastille kbd existe déjà chez toi (.kbd) */

/* Petite dot si tu ne l’as pas déjà (tu l’as commentée avant) */
.dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background: color-mix(in srgb, var(--panel) 54%, transparent);
  border:1px solid color-mix(in srgb, var(--theme-border) 30%, transparent);
}

/* IMPORTANT : tu peux supprimer l'ancien bloc .actions/.search du topbar
   si tu ne l’utilises plus (sinon pas grave, mais doublon). */
/* Rail item utilisé dans la topbar */
.rail-item--topbar{
  padding:0;
  border-radius:12px;
  border:1px solid transparent;
  background: transparent;
}

.rail-item--topbar .rail-icon{
  width:32px;
  height:32px;
  font-size:16px;
  box-shadow: none;
}

.sidebar__search .universal{
  position:relative;
  min-width:0;
}

.sidebar__search .universal input{
  min-width:0;
  font-size:11.5px;
}

.sidebar__search .universalPanel{
  top: calc(100% + 8px);
  left: calc(100% + 8px);
  right: auto;
  width: min(480px, calc(100vw - 170px));
}

.rail-item--topbar:hover{
  background: color-mix(in srgb, var(--panel) 36%, transparent);
  border-color: color-mix(in srgb, var(--theme-border) 36%, transparent);
}

.rail-item--topbar.active{
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
}


/* Quick Create modal */
.qcGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 0;
}

.qcMain{
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface-soft);
  border-radius: var(--shuttle-radius-lg);
  padding: 14px 16px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.qcHeaderTitle{
  min-width: 0;
  flex: 1 1 auto;
}

.qcLabel{ font-size: 12px; color: var(--muted); }

.qcHeader{
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.qcRow{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.qcField{
  display:grid;
  gap:8px;
  padding: 12px;
  border:1px solid var(--shuttle-line);
  background: var(--shuttle-surface);
  border-radius: var(--shuttle-radius-md);
}

.qcTypeField{
  min-height: 48px;
}

.qcTypeField--header{
  flex: 0 1 220px;
  width: auto;
  min-width: 168px;
  max-width: 220px;
  margin-inline: 0;
  padding-inline: 8px;
}

.qcTypeField select{
  appearance:auto;
  min-height: 30px;
  line-height: 1.3;
  font-size: 13px;
}

.qcTypeField select option{
  color: var(--text);
  background: var(--panel);
}

.qcRow textarea{
  min-height: 180px;
  resize: vertical;
  border-radius: var(--field-radius);
}

.qcFooter{
  display:flex;
  justify-content:flex-end;
  padding-top: 4px;
}
.qcToast{
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px){
  .qcTypeField--header{
    flex-basis: 196px;
    min-width: 148px;
    max-width: 196px;
  }
}

@media (max-width: 820px){
  .qcHeader{
    gap: 6px;
  }

  .qcTypeField--header{
    flex-basis: 176px;
    min-width: 136px;
    max-width: 176px;
  }
}

@media (max-width: 760px){
  .qcHeader{
    flex-wrap: wrap;
    align-items: stretch;
  }

  .qcHeaderTitle{
    width: 100%;
  }

  .qcTypeField--header{
    order: 3;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  #quickCreate{
    position: static;
    right: auto;
    bottom: auto;
    z-index: auto;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: none;
    justify-content: center;
    padding: 6px;
  }

  #quickCreate .rail-icon{
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

.themeTrigger{
  position: relative;
}

.themeTrigger__icon{
  font-size: 14px;
}

.themeMenu{
  position: absolute;
  top: calc(100% + 10px);
  right: 58px;
  z-index: 30;
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  display: grid;
  gap: 12px;
  border-radius: var(--shuttle-radius-lg);
  border: 1px solid var(--shuttle-line-strong);
  background: var(--shuttle-surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shuttle-card-shadow-hover);
}

.themeMenu__section{
  display: grid;
  gap: 6px;
}

.themeMenu__modes,
.themeMenu__swatches{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.themeMenu__footer{
  padding-top: 4px;
  border-top: 1px solid color-mix(in srgb, var(--theme-border) 34%, transparent);
}

.themeSwatch{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #8b7bff, #4dd9ff);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--panel) 42%, transparent);
}

.themeSwatch--blue{ background: linear-gradient(135deg, #4f8cff, #78d7ff); }
.themeSwatch--green{ background: linear-gradient(135deg, #1ec98f, #7df7d1); }
.themeSwatch--orange{ background: linear-gradient(135deg, #ff8d4d, #ffd166); }
.themeSwatch.is-active{
  border-color: var(--text);
}

.inboxTopbar{
  position:relative;
}

.has-offline-dot{
  position:relative;
}

.has-offline-dot::after{
  content:"";
  position:absolute;
  right:3px;
  bottom:3px;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#12b981;
  border:2px solid color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow:0 0 0 1px color-mix(in srgb, var(--theme-border) 24%, transparent);
  opacity:0;
  transform:scale(.7);
  transition:opacity .16s ease, transform .16s ease, background .16s ease;
}

.has-offline-dot.is-online::after,
.has-offline-dot.is-offline::after{
  opacity:1;
  transform:scale(1);
}

.has-offline-dot.is-offline::after{
  background:#f5803e;
}

.inboxBadge{
  position:absolute;
  top:2px;
  right:2px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:grid;
  place-items:center;
  box-shadow:0 0 0 2px var(--panel);
}

.inboxPanel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:min(420px, calc(100vw - 24px));
  max-height:min(70vh, 560px);
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:10px;
  padding:12px;
  border-radius:18px;
  border:1px solid color-mix(in srgb, var(--theme-border) 42%, transparent);
  background:color-mix(in srgb, var(--panel) 96%, transparent);
  box-shadow:var(--shadow-lg);
  z-index:120;
}

.inboxPanel[hidden]{
  display:none !important;
}

.inboxPanel__head,
.inboxPanel__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.inboxPanel__body{
  min-height:0;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:8px;
  scrollbar-width:none;
}

.inboxPanel__body::-webkit-scrollbar{ width:0; height:0; }

.inboxItem{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid color-mix(in srgb, var(--theme-border) 32%, transparent);
  background:color-mix(in srgb, var(--panel) 18%, transparent);
}

.inboxItem.is-unread{
  border-color:color-mix(in srgb, var(--accent) 42%, transparent);
  background:color-mix(in srgb, var(--accent) 10%, transparent);
}

.inboxItem__main{
  min-width:0;
  display:grid;
  gap:4px;
}

.inboxItem__main strong{
  font-size:13px;
}

.inboxItem__main p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.inboxItem__actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.commentThread{
  display:grid;
  gap:10px;
}

.commentThread--nested{
  margin-top:10px;
  margin-left:18px;
  padding-left:12px;
  border-left:1px solid color-mix(in srgb, var(--theme-border) 22%, transparent);
}

.commentItem{
  display:grid;
  gap:6px;
  padding:10px 12px;
  border:1px solid color-mix(in srgb, var(--theme-border) 24%, transparent);
  border-radius:14px;
  background:color-mix(in srgb, var(--panel) 14%, transparent);
}

.commentItem__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.commentItem__body{
  line-height:1.55;
  word-break:break-word;
}

.commentItem__actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.commentReplyState{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding:8px 10px;
  border:1px solid color-mix(in srgb, var(--theme-border) 24%, transparent);
  border-radius:12px;
  background:color-mix(in srgb, var(--accent) 8%, transparent);
}

/* Interaction polish */
.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"],
button:disabled,
button[disabled]{
  opacity:.48;
  filter:saturate(.55);
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.btn:disabled:hover,
.btn[disabled]:hover,
.btn[aria-disabled="true"]:hover,
button:disabled:hover,
button[disabled]:hover{
  transform:none;
  background:var(--shuttle-surface);
  border-color:var(--shuttle-line);
}

summary.btn{
  list-style:none;
}

summary.btn::-webkit-details-marker{
  display:none;
}

details[open] > summary.btn{
  border-color:color-mix(in srgb, var(--accent) 34%, var(--shuttle-line));
  background:var(--shuttle-accent-soft);
  color:color-mix(in srgb, var(--accent) 84%, var(--text) 16%);
}

.modal{
  backdrop-filter:blur(10px);
}

.dialog{
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--shuttle-surface-warm) 64%, transparent), transparent 56%),
    var(--shuttle-surface);
  box-shadow:
    0 28px 70px color-mix(in srgb, var(--title) 22%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel) 64%, transparent);
}

.dh{
  background:color-mix(in srgb, var(--shuttle-surface) 92%, transparent);
}

.db{
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 4%, transparent), transparent 32%),
    color-mix(in srgb, var(--shuttle-surface-soft) 42%, transparent);
}

.df{
  border-top:1px solid var(--shuttle-line);
  background:color-mix(in srgb, var(--shuttle-surface) 92%, transparent);
}

.inboxPanel,
.inboxItem,
.commentItem,
.commentReplyState{
  border-color:var(--shuttle-line);
  background:var(--shuttle-surface-soft);
}

.inboxItem.is-unread,
.commentReplyState{
  border-color:color-mix(in srgb, var(--accent) 34%, var(--shuttle-line));
  background:var(--shuttle-accent-soft);
}
