/* Help: the person's own conversations with support (help.js), on top of app.css and ops.css, whose thread, compose and state classes it
   reuses, in the desktop app's direction A (calm rows with a tile, white message cards). Colors from tokens.css only; new classes start with hp-. */

.si[data-view="help"] { place-items: start center; grid-template-columns: minmax(0, 1fr); padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.si[data-view="help"] .si-card { width: min(640px, 100%); align-self: start; padding: 0; background: none; border: 0; box-shadow: none; text-align: left; }
.si[data-view="help"] .brand-logo { display: none; }
.si[data-view="help"] .si-foot { margin-top: 20px; margin-bottom: 0; }
.si-view[data-v="help"] { min-width: 0; }
.si-view[data-v="help"] h1:focus, .op-head h1:focus { outline: none; }

/* Their words sit on the right and Suprsuit's on the left. */
.hp-msg { max-width: min(100%, 34rem); align-self: flex-start; }
.hp-you { align-self: flex-end; background: var(--raise); }
/* The thread, the message box and the states reuse ops.css's classes; here they are white cards with a soft shadow and inset fields, not outlined boxes. */
.si-view[data-v="help"] .op-msg { border: 0; box-shadow: var(--shadow); }
.si-view[data-v="help"] .op-msg.hp-you { box-shadow: none; }
.si-view[data-v="help"] .op-input { border: 0; border-radius: var(--r-s); background: var(--raise); box-shadow: none; }
.si-view[data-v="help"] .op-ta { padding: 12px 14px; }
/* The thread, the message box and the states reuse ops.css's classes; here they are white cards with a soft shadow and inset fields, not outlined boxes. */
.si-view[data-v="help"] .op-msg { border: 0; box-shadow: var(--shadow); }
.si-view[data-v="help"] .op-msg.hp-you { box-shadow: none; }
.si-view[data-v="help"] .op-input { border: 0; border-radius: var(--r-s); background: var(--raise); box-shadow: none; }
.si-view[data-v="help"] .op-ta { padding: 12px 14px; }
.hp-compose { position: relative; }
.hp-count[hidden] { display: none; }
.hp-count { margin: 0; text-align: right; }

/* Settings' way in */
.hp-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px 10px 16px; border: 0; background: transparent;
  color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.hp-link:hover { background: var(--tint); }
.hp-link .ap-set-t { flex: 1; min-width: 0; }
.hp-link .ap-ic { flex: none; color: var(--muted); }

@media (min-width: 900px) {
  .si[data-view="help"] { padding: 48px 32px 48px calc(232px + 32px); }
}
