/* public/plus.css — THE PLATINUM PLUS LOOK (3.1215.0, lane plusspecial, 29 October 2026).
   Darren: "What can we do to make it special every time they login as well? That is very different from when anybody else
   logged in." A gold "Platinum Plus" badge, a quiet gold accent on a Plus workspace, the Plus home, and the staff program
   panel on the customer record. Theme tokens only (the --plus-* tokens are in public/theme.css, light and dark). */

/* ---- The badge, at the top of a Plus workspace's menu (public/env.js) ---------------------------------------------- */
.plus-badge-row{padding:6px 12px 8px}
.plus-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:var(--plus-fill);
  color:var(--plus-on-fill);font-weight:700;font-size:12px;letter-spacing:.02em;box-shadow:var(--sh-1);cursor:default;white-space:nowrap}
.plus-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--plus-on-fill);opacity:.55}

/* ---- The accent: a Plus workspace's menu carries a thin gold line, and its chosen item a gold marker ------------------- */
html.plus-ws[data-env="workspace"] #sb-env{box-shadow:inset 0 2px 0 var(--plus-bar)}
html.plus-ws[data-env="workspace"] #sb-env .env-item.active{box-shadow:inset 3px 0 0 var(--plus-bar)}

/* ---- The Plus home (public/apps/plushome.js) -------------------------------------------------------------------------- */
.plush{display:grid;gap:16px;max-width:1180px}
.plush-hero{position:relative;border-radius:14px;padding:22px 24px;background:var(--plus-hero);color:var(--plus-hero-ink);
  box-shadow:var(--sh-2);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;overflow:hidden}
.plush-hero h2{margin:0 0 4px;font-size:22px;color:var(--plus-hero-ink)}
.plush-hero p{margin:0;color:var(--plus-hero-muted)}
.plush-hero .plus-badge{font-size:13px}
.plush-since{display:block;margin-top:6px;font-size:12px;color:var(--plus-hero-muted)}
.plush-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.plush-grid > .plush-note{grid-row:span 2}
.plush-card{background:var(--s-panel);border:1px solid var(--s-line);border-radius:12px;padding:16px 18px;box-shadow:var(--sh-1);
  display:flex;flex-direction:column;gap:8px;min-width:0}
.plush-card.plush-note{border-color:var(--plus-line);background:var(--plus-soft)}
.plush-card h3{margin:0;font-size:13px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--plus-ink)}
.plush-big{font-size:28px;font-weight:700;line-height:1.15;color:var(--s-ink);overflow-wrap:anywhere}
.plush-when{font-size:20px;font-weight:700;line-height:1.25;color:var(--s-ink)}
.plush-sub{color:var(--s-muted);font-size:13px}
.plush-empty{color:var(--s-muted);font-style:italic}
.plush-status{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;width:max-content}
.plush-status.green{background:var(--s-ok-soft);color:var(--s-ok)}
.plush-status.amber{background:var(--s-warn-soft);color:var(--s-warn)}
.plush-status.red{background:var(--s-bad-soft);color:var(--s-bad)}
.plush-bar{height:8px;border-radius:999px;background:var(--s-line-2);overflow:hidden}
.plush-bar > i{display:block;height:100%;background:var(--plus-bar);border-radius:999px}
.plush-week{font-weight:700;color:var(--s-ink)}
.plush-note-body{white-space:pre-wrap;color:var(--s-ink);line-height:1.5}
.plush-who{display:flex;gap:12px;align-items:center;min-width:0}
.plush-face{flex:0 0 auto;width:56px;height:56px;border-radius:50%;overflow:hidden;display:grid;place-items:center;
  background:var(--plus-fill);color:var(--plus-on-fill);font-weight:700;font-size:18px;border:2px solid var(--plus-line)}
.plush-face img{width:100%;height:100%;object-fit:cover;display:block}
.plush-name{font-weight:700;color:var(--s-ink)}
.plush-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:auto}
.plush-actions a.btn{text-decoration:none}

/* ---- The staff program panel (public/apps/plusadmin.js, on the Office customer record) ------------------------------- */
.plusp{display:grid;gap:14px}
.plusp-head{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.plusp-head .plush-bar{flex:1 1 160px;min-width:120px}
.plusp-list{list-style:none;margin:0;padding:0 4px 0 0;display:grid;gap:6px;max-height:560px;overflow:auto}
.plusp-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:8px 10px;align-items:center;padding:8px 10px;
  border:1px solid var(--s-line);border-radius:10px;background:var(--s-panel)}
.plusp-row.done{background:var(--s-sunk)}
.plusp-row.done .plusp-title{color:var(--s-muted);text-decoration:line-through}
.plusp-row.now{border-color:var(--plus-line);box-shadow:inset 3px 0 0 var(--plus-bar)}
.plusp-n{font-weight:700;color:var(--plus-ink);text-align:center}
.plusp-title{font-weight:600;color:var(--s-ink);overflow-wrap:anywhere}
.plusp-goal{color:var(--s-muted);font-size:12px;overflow-wrap:anywhere}
.plusp-tools{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.plusp-tools .btn{padding:2px 8px;min-height:28px}
.plusp-box{border:1px solid var(--s-line);border-radius:12px;padding:12px 14px;background:var(--s-raised);display:grid;gap:8px}
.plusp-box h4{margin:0;font-size:14px}
.plusp-form{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end}
.plusp-form label{display:grid;gap:4px;font-size:12px;color:var(--s-muted)}
.plusp-form textarea{width:100%;min-height:84px}
.plusp-plan{max-height:220px;overflow:auto;margin:0;padding-left:18px;font-size:13px}
.plusp-plan .skip{color:var(--s-muted)}

/* ---- My details: the staff photo (public/apps/staffphoto.js) ------------------------------------------------------- */
.sph-row{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center}
.sph-face{width:72px;height:72px;font-size:22px}
.sph-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sph-up{cursor:pointer}

/* ---- Priority on the Tasks board (Plus customers' requests) --------------------------------------------------------- */
.chip.plus-priority{background:var(--plus-soft);color:var(--plus-ink);border:1px solid var(--plus-line);font-weight:700}

@media (max-width:1000px){
  .plush-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plush-grid > .plush-note{grid-row:auto;grid-column:1 / -1}
}
@media (max-width:600px){
  .plush-grid{grid-template-columns:minmax(0,1fr)}
  .plush-hero{padding:18px 16px}
  .plush-big{font-size:24px}
  .plusp-row{grid-template-columns:30px minmax(0,1fr)}
  .plusp-tools{grid-column:1 / -1;justify-content:flex-start}
}
