/* Signed-in application shell.
   Unlike the marketing pages (which scale in vw so the composition holds),
   these are product screens — sized in px, because an interface should not
   grow with the window. */

.app {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
  background: #0a0806;
  font-family: var(--font-ui);
  color: var(--white);
}

/* An inline SVG with no width fills its container, so every icon needs a
   floor. Context-specific rules below override this. */
.app .icon {
  width: 18px;
  height: auto;
  flex-shrink: 0;
}

/* ---- Sidebar --------------------------------------------------------- */

.side {
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #0c0a08 0%, #080706 100%);
  position: sticky;
  top: 0;
  height: 100vh;
}

.side__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  margin-bottom: 24px;
  text-decoration: none;
}

/* The supplied wordmark, same true-alpha file the marketing header uses. */
.side__mark {
  display: block;
  width: 112px;
  aspect-ratio: 1138 / 229;
  background-image: url('/lumiq-logo.png');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
}

.side__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.side__word {
  font-family: var(--font-mark);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--white);
}

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

.snav {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--hover) var(--ease), color var(--hover) var(--ease);
}

.snav .icon {
  width: 17px;
  flex-shrink: 0;
  opacity: 0.75;
}

.snav:hover {
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.95);
}

.snav.is-active {
  background: linear-gradient(120deg, rgba(201, 160, 99, 0.2), rgba(201, 160, 99, 0.08));
  border: 1px solid rgba(201, 160, 99, 0.32);
  color: var(--gold-bright);
  font-weight: 500;
}

.snav.is-active .icon {
  opacity: 1;
}

/* Marks a nav entry that leaves this product for another one. */
.snav__tag {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(201, 160, 99, 0.28);
  border-radius: 6px;
  background: rgba(201, 160, 99, 0.09);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Sidebar cards */

.side__card {
  margin-top: 20px;
  padding: 15px 14px 14px;
  border: 1px solid rgba(201, 160, 99, 0.22);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(30, 25, 19, 0.6), rgba(12, 10, 8, 0.5));
}

.side__creditRow {
  display: flex;
  align-items: center;
  gap: 11px;
}

.side__creditNum {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}

.side__creditLabel {
  margin: 3px 0 0 41px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.gem {
  display: inline-flex;
  align-items: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Definite heights so the auto-height SVG can't stretch vertically inside the
   flex row. */
.side__creditRow .gem .icon { width: 22px; height: 22px; }
.creditpill .gem .icon { width: 16px; height: 16px; }

.side__btn {
  display: grid;
  place-items: center;
  height: 38px;
  margin-top: 12px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--hover) var(--ease), box-shadow var(--hover) var(--ease);
}

.side__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 160, 99, 0.28);
}

.side__proTitle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.side__proTitle .icon {
  width: 16px;
  color: var(--gold);
}

.side__proText {
  margin: 9px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.side__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 20px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(126, 217, 87, 0.4);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8fdc63;
}

/* ---- Main + topbar --------------------------------------------------- */

.main {
  padding: 24px 36px 42px;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.topbar__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.topbar__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
}

.topbar__title--sans {
  font-family: var(--font-ui);
  font-size: 27px;
  font-weight: 500;
}

.topbar__sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.creditpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(201, 160, 99, 0.3);
  border-radius: 999px;
  background: rgba(201, 160, 99, 0.06);
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
  text-decoration: none;
}

.creditpill b {
  font-weight: 500;
}

.creditpill .plus {
  color: var(--gold);
  font-size: 17px;
  line-height: 1;
}

.bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
}

.bell .icon {
  width: 17px;
}

.bell i {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold-bright);
  color: #1a1206;
  font-size: 9.5px;
  font-weight: 700;
  font-style: normal;
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.who__av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(150deg, #d9bb85, #b08c53);
  color: #1a1206;
  font-size: 14px;
  font-weight: 600;
}

.who__name {
  font-size: 13.5px;
  color: var(--white);
  white-space: nowrap;
}

.who__pro {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 10px;
  border: 1px solid rgba(201, 160, 99, 0.35);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--gold-bright);
}

/* ---- Shared surfaces -------------------------------------------------- */

/* Scoped to .app so it outranks landing.css's `.card { height: 100% }`,
   which is meant for the marketing dashboard's feature tiles and otherwise
   stretches every card in here to fill its row. */
.app .card {
  height: auto;
  /* Also resets landing.css's `overflow: hidden`, which silently clipped
     any card whose content ran taller than its computed box. Cards that
     genuinely need clipping re-declare it themselves. */
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(24, 20, 16, 0.5), rgba(11, 9, 8, 0.55));
}

/* Cards that clip on purpose — media corners must stay rounded. */
.app .vidcard,
.app .workcard,
.app .toolcard,
.app .hero-banner,
.app .landing-panel {
  overflow: hidden;
}

.sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 30px 0 15px;
}

.sechead h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}

.seclink {
  font-size: 13.5px;
  color: var(--gold);
  text-decoration: none;
}

.seclink:hover {
  color: var(--gold-bright);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 19px;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform var(--hover) var(--ease), box-shadow var(--hover) var(--ease);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 160, 99, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--hover) var(--ease), background-color var(--hover) var(--ease);
}

.btn-ghost:hover {
  border-color: rgba(201, 160, 99, 0.45);
  background: rgba(201, 160, 99, 0.07);
}

.shot {
  background: linear-gradient(158deg, #2b2a26 0%, #14130f 100%);
}
/* Generated stills; the gradient stays under each as the load/fail fallback. */
.shot-a { background-image: url('/gen/dash-villa.jpg'), linear-gradient(158deg, #3a4450 0%, #171b20 100%); background-size: cover; background-position: center; }
.shot-b { background-image: url('/gen/dash-interior.jpg'), linear-gradient(158deg, #4a3a28 0%, #1c1611 100%); background-size: cover; background-position: center; }
.shot-c { background-image: url('/gen/dash-beach.jpg'), linear-gradient(158deg, #2c3d4a 0%, #131a20 100%); background-size: cover; background-position: center; }
.shot-d { background: linear-gradient(158deg, #46372a 0%, #1a1510 100%); }

.play {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Log out — quiet until hovered, then a soft warning tint. */
.snav--logout:hover { color: #d98a7a; }
.snav--logout:hover .icon { color: #d98a7a; }
