/* What only the portal needs, on top of the Hub's app.css. Every colour and
   step is one of the Hub's tokens, so the two apps stay one design system. */

.sideperson .whoname { display: flex; flex-direction: column; line-height: 1.25; }
.sideperson .whoname .dim { margin-top: 1px; }

.nextcall { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px;
            align-items: start; padding: 18px 20px; margin-bottom: 28px;
            background: var(--surface); border: 1px solid var(--line);
            border-radius: 12px; box-shadow: var(--shadow-1); }
.calchip { border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
           text-align: center; background: var(--surface); }
.calchip span { display: block; background: var(--accent); color: var(--accent-ink);
                font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 3px 0; }
.calchip b { display: block; font-size: 24px; font-weight: 700; padding: 4px 0 6px;
             font-variant-numeric: tabular-nums; }
.nextbody { min-width: 0; }
.nextbody .lbl { font-size: 11px; font-weight: 700; letter-spacing: .08em;
                 text-transform: uppercase; color: var(--ink-3); }
.nextbody h2 { margin: 4px 0 2px; font-size: 18px; }
.nextbody .meta { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.nextbody .desc { margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; max-width: 64ch; }

.week { display: grid; gap: 22px; }
.dayblock h3 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
               text-transform: uppercase; color: var(--ink-3); }
.calllist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.callrow { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px;
           align-items: baseline; padding: 11px 14px; background: var(--surface);
           border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-1); }
.callrow .when { font-weight: 650; font-variant-numeric: tabular-nums; }
.callrow .what { display: flex; flex-direction: column; min-width: 0; }
.callrow .what .dim { margin-top: 2px; }
.empty { color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: 10px;
         padding: 18px; }

/* On a phone the rail is the Hub's own drawer (app.css), opened from the
   Menu button; only the call rows need narrowing here. */
@media (max-width: 900px) {
  .callrow { grid-template-columns: 72px minmax(0, 1fr); }
}

/* The Hub hides its Menu button under 640px because its top bar carries one.
   The portal has no top bar yet, so the button stays. */
@media (max-width: 640px) {
  .navtoggle { display: inline-flex; align-items: center; justify-content: center;
               position: sticky; top: 10px; margin: 10px 0 0 12px;
               width: 38px; height: 38px; z-index: 55;
               background: var(--panel); border: 1px solid var(--line);
               border-radius: var(--r-md); box-shadow: var(--shadow-1); cursor: pointer; }
}

.signin-foot { margin: 18px 0 0; text-align: center; font-size: 13px; }
.signin-hint { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
