/* ==========================================================================
   app.css — styles used only by app-development.html
   Kept out of style.css so the other pages don't pay for the device mock.
   ========================================================================== */

/* ---- layout: phone beside the module list -------------------------------- */
.appmock {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-top: var(--space-5);
}

.appmock__phone { display: flex; justify-content: center; }

.appmock__modules h3 {
  font-size: 1.15rem;
  margin: 0 0 var(--space-3);
}

.appmock__note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: var(--space-4) 0 0;
  font-size: .87rem;
  color: var(--muted);
}
.appmock__note svg { width: 17px; height: 17px; flex: none; color: var(--muted); }

/* ---- the device frame ---------------------------------------------------- */
.phone {
  position: relative;
  width: 274px;
  border-radius: 34px;
  padding: 11px;
  background: linear-gradient(160deg, #223140, #101a24);
  box-shadow: 0 20px 45px rgba(14, 26, 38, .28), 0 2px 6px rgba(14, 26, 38, .18);
}

.phone__notch {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 19px;
  background: #101a24;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone__screen {
  background: #f4f7fa;
  border-radius: 25px;
  padding: 30px 15px 17px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* ---- mock screen contents ------------------------------------------------ */
.pm__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1px;
}
.pm__hello { font-size: .72rem; color: var(--muted); font-weight: 500; }
.pm__avatar {
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--brand, #12455f);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .02em;
  display: grid;
  place-items: center;
}

.pm__label {
  display: block;
  font-size: .61rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.pm__punch,
.pm__job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
}

.pm__state {
  display: block;
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.pm__btn {
  background: #1f7a4d;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: .85rem;
  padding: .58rem;
  border-radius: 9px;
  letter-spacing: .01em;
}

.pm__job strong {
  display: block;
  color: var(--ink);
  font-size: .87rem;
  line-height: 1.3;
}
.pm__meta { font-size: .74rem; color: var(--muted); }

.pm__rows {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.pm__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .48rem .8rem;
  font-size: .79rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.pm__row:last-child { border-bottom: none; }
.pm__row b { color: var(--ink); font-weight: 600; }

.pm__week {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brand, #12455f);
  color: #fff;
  border-radius: 11px;
  padding: .6rem .85rem;
  font-size: .8rem;
}
.pm__week b { font-size: .95rem; }

/* ---- module list --------------------------------------------------------- */
.modlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }

.modlist li { display: flex; gap: .75rem; align-items: flex-start; }

.modlist__dot {
  flex: none;
  width: 9px; height: 9px;
  margin-top: .42rem;
  border-radius: 50%;
  background: var(--accent, #e2761b);
  box-shadow: 0 0 0 3px rgba(226, 118, 27, .16);
}

.modlist strong {
  display: block;
  color: var(--ink);
  font-size: .96rem;
  margin-bottom: .12rem;
}
.modlist div { font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* ---- callout ------------------------------------------------------------- */
.callout {
  margin-top: var(--space-6);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand, #12455f);
  border-radius: 12px;
  padding: var(--space-4) var(--space-5);
  background: var(--surface, #f6f9fb);
}
.callout h3 { font-size: 1.06rem; margin: 0 0 .5rem; }
.callout p { margin: 0; font-size: .96rem; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .appmock { grid-template-columns: 1fr; gap: var(--space-5); }
  .appmock__phone { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .appmock__phone { justify-content: center; }
  .callout { padding: var(--space-4); }
}
