/* The agent portal. Shares the admin stylesheet and changes only what has to
   differ: a green accent so nobody confuses this with the staff screens, and
   a layout that works on the phone an agent is actually holding. */
.portal .atop{background:#14603a}
.portal .abrand .alogo{background:#1c7a49}
.portal .anav a.on{background:#1c7a49;color:#fff}
.portal .ame{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

.loginbox{max-width:430px;margin:48px auto;background:#fff;border:1px solid #dde6ee;
  border-radius:14px;padding:30px}
.loginbox h1{margin:0 0 4px;font-size:24px}

.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:0 0 20px}
.tile{background:#fff;border:1px solid #dde6ee;border-radius:12px;padding:18px}
.tile b{display:block;font-size:32px;line-height:1.1;color:#14603a}
.tile span{display:block;font-weight:600;margin-top:2px}
.tile.mut b{color:#5a6b7a}
.tile p{margin:8px 0 0}

.cols{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;align-items:start}
@media (max-width:820px){.cols{grid-template-columns:1fr}}
.qrcard{text-align:center}
.qrbox{display:inline-block;background:#fff;padding:10px;border:1px solid #e3eaf1;
  border-radius:10px;margin:6px 0 10px}
.qrbox svg{display:block}

.donebox{background:#e8f6ed;border:1px solid #bcdfc9;border-radius:12px;padding:20px;margin-bottom:18px}
.donebox h2{margin:0 0 8px;color:#14603a;font-size:19px}

.portal .btn.b-blue{background:#14603a;border-color:#14603a}
.portal .btn.b-blue:hover{background:#1c7a49;border-color:#1c7a49}
.portal .pill.on{background:#14603a;border-color:#14603a;color:#fff}
.afoot{margin-top:40px;padding:18px 0;border-top:1px solid #e3eaf1}

.portal .anav a.wa{display:inline-flex;align-items:center;gap:6px;background:#1f8a4c;color:#fff}
.portal .anav a.wa:hover{background:#25a05a}
.claimbox{border:2px solid #1c7a49;background:#f3fbf6}
.claimbox h2{color:#14603a;margin-top:0}
.invrow{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;
  padding:14px 0;border-bottom:1px solid #edf1f5;flex-wrap:wrap}
.invrow:last-child{border-bottom:0}
.invlines{margin:6px 0 0;padding-left:18px}
.portal .invtotal{color:#14603a}
.portal .thumb{width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #dde6ee}
.portal .photocell input[type="file"]{font-size:12px;max-width:140px}
.badge{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:#fff;
  color:#14603a;font-size:12px;font-weight:700;text-align:center}
.noticealert{border-left:4px solid #b9821f;background:#fdf8ef}
.noticealert h2{margin:0 0 8px;font-size:17px}
.noticealert ul{margin:0 0 12px;padding-left:20px}
.notice.unseen{border-left:4px solid #1c7a49}
.noticebody{white-space:pre-wrap;margin:6px 0 12px;line-height:1.55}
.msgrow{border-bottom:1px solid #edf1f5;padding:14px 0}
.msgrow:last-child{border-bottom:0}
.msgrow.unseen{border-left:4px solid #1c7a49;padding-left:12px}

/* Which release is actually running. There was no way to tell from inside the
   system, which is how a laptop ends up on one build while everybody assumes
   it is on another. */
.ver{margin-top:4px;font-size:12px;opacity:.75}

/* The welcome an agent sees the first time they sign in, and the nudge that
   replaces it until their address and identity are on file. Warm rather than
   administrative: somebody who has just been taken on is at their most
   willing in the first five minutes, and that is the only moment this will
   ever be easy. */
.welcome{background:var(--green-l);border:1px solid var(--green);
  border-radius:14px;margin-bottom:18px}
.welcome h2{color:var(--green)}
.welcome ul{margin:10px 0 12px 20px}
.welcome li{margin-bottom:6px}

/* How the year is going. Indicative only, and the wording that says so sits
   directly above the numbers in the same size type - small print is what makes
   a disclaimer look like concealment. */
.fcast{margin-bottom:18px}
.fcast .guide{background:var(--amber-l);border-left:4px solid var(--amber);
  border-radius:0 10px 10px 0;padding:12px 16px;margin:0 0 16px;font-size:.95rem}
.fgrid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.fcell{background:var(--surface);border:1px solid var(--rule);border-radius:12px;
  padding:12px 14px;text-align:center}
.fcell b{display:block;font-size:1.7rem;font-variant-numeric:tabular-nums;line-height:1.1}
.fcell span{display:block;font-size:.8rem;color:var(--ink-3);margin-top:4px}
.fcell.on{background:var(--green-l);border-color:var(--green)}
.fcell.on b{color:var(--green)}
.frange{margin-top:14px;font-size:1.02rem}

/* Did they start? The clause from the agreement, shown word for word. */
.startcheck .clause{background:var(--amber-l);border-left:4px solid var(--amber);
  border-radius:0 10px 10px 0;padding:12px 16px;margin:0 0 12px;font-size:.95rem}
.startrow{display:flex;justify-content:space-between;align-items:flex-start;
  gap:16px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--rule)}
.startrow form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}
.tbl tr.dim td{color:var(--ink-3)}

/* Release 57: where the student actually is, under the claim status. */
.stagenow{margin-top:5px;font-weight:700;color:var(--blue)}

/* Release 57 - the agent board. */
.board h2{margin:0 0 6px}
.board .guide{margin:0 0 14px;color:var(--ink-3);font-size:14px}
.pipeline{display:flex;flex-wrap:wrap;gap:10px}
.pcell{flex:1 1 150px;min-width:150px;background:var(--surface-2,#f3f7fa);border:1px solid var(--rule);border-radius:12px;padding:12px 14px}
.pcell b{display:block;font-size:26px;line-height:1.1}
.pcell span{display:block;font-size:13px;font-weight:700;color:var(--ink-2)}
.pcell .pnames{margin-top:6px;font-size:12px;color:var(--ink-3);line-height:1.45}
.pcell.pnone{border-style:dashed}
.needs{list-style:none;margin:0;padding:0}
.needs li{padding:10px 0;border-top:1px solid var(--rule)}
.needs li:first-child{border-top:0}
.needs li.warn a{color:#9a5b12}
.mgrid{display:flex;flex-wrap:wrap;gap:16px}
.mgrid>div{flex:1 1 140px}
.mgrid b{display:block;font-size:22px;line-height:1.15}
.mgrid span{display:block;font-size:13px;color:var(--ink-3)}
.activity{list-style:none;margin:0;padding:0}
.activity li{padding:7px 0;border-top:1px solid var(--rule);font-size:14px}
.activity li:first-child{border-top:0}
