/* prism-shell: header, menu, footer and the shared pages of the Iriva services. Colours of CleverPrism, fonts of the
   Clever group. A service adds its own stylesheet after this one for the content of its pages. */
@font-face { font-family: "PST Mail Sans"; src: url("PSTMailSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "PST Mail Sans"; src: url("PSTMailSans-Semi.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("MonaSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --deep: #1b0f3b; --dark: #4a1a9e; --mid: #7c3aed; --light: #c07cff; --pale: #f3ecfe;
  --ink: #141414; --muted: #5e615c; --line: #e6e3ee; --bg: #faf9fc; --ok: #3f6e04; --alert: #a31405;
  --gradient: linear-gradient(92.92deg, #7c3aed, #c07cff);
  --spectrum: linear-gradient(90deg, #dc1908, #edc600, #5ea306, #0f67ce, #7c3aed);
  --display: "PST Mail Sans", Helvetica, Arial, sans-serif;
  --body: "Mona Sans", Helvetica, Arial, sans-serif;
  --shell-width: 1080px;
}
* { box-sizing: border-box; }
body.shell { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
.shell-wrap { width: min(100% - 40px, var(--shell-width)); margin: 0 auto; }
body.shell a { color: var(--mid); text-underline-offset: 3px; }

/* --- header --- */
.shell-top { background: var(--deep); color: #fff; }
.shell-top .shell-wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.shell-logo svg { display: block; height: 30px; width: auto; }
.shell-customers { color: var(--light) !important; font-size: 14px; text-decoration: none; }
.shell-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.shell-nav a, .shell-help { color: rgba(255, 255, 255, .74) !important; text-decoration: none; padding: 6px 11px; border-radius: 16px;
  font-size: 15px; white-space: nowrap; }
.shell-nav a:hover, .shell-help:hover { color: #fff !important; }
.shell-nav a[aria-current], .shell-help[aria-current] { color: #fff !important; background: rgba(255, 255, 255, .13); }
.shell-right { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); margin-left: auto; }
.shell-me { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.shell-name { color: #fff; }
.shell-org { font-size: 12px; color: rgba(255, 255, 255, .62); }
.shell-logout { color: var(--light) !important; white-space: nowrap; }

/* language: a flag that opens the list (no script) */
.shell-lang { position: relative; }
.shell-lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 5px 8px;
  border-radius: 12px; color: rgba(255, 255, 255, .8); font-size: 12px; letter-spacing: .04em; }
.shell-lang summary::-webkit-details-marker { display: none; }
.shell-lang summary:hover, .shell-lang[open] summary { background: rgba(255, 255, 255, .13); color: #fff; }
.shell-lang img { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.shell-lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(27, 15, 59, .18); min-width: 170px; }
.shell-lang li a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink) !important;
  text-decoration: none; font-size: 14px; }
.shell-lang li a:hover { background: var(--pale); }
.shell-lang li a[aria-current] { font-weight: 600; background: var(--pale); }
.shell-lang li img { box-shadow: 0 0 0 1px var(--line); }

/* --- second and third row --- */
.shell-supportbar { background: #fff4c4; color: #6b5300; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #f0e2a0; }
.shell-sub { background: #fff; border-bottom: 1px solid var(--line); }
.shell-sub .shell-wrap { display: flex; align-items: center; gap: 4px; min-height: 52px; flex-wrap: wrap; padding: 6px 0; }
.shell-sub a { color: var(--muted) !important; text-decoration: none; padding: 7px 13px; border-radius: 10px; font: 600 14px/1.2 var(--display);
  white-space: nowrap; }
.shell-sub a:hover { color: var(--deep) !important; }
.shell-sub a[aria-current] { color: var(--deep) !important; background: var(--pale); }
.shell-sub2 { background: var(--bg); }
.shell-sub2 .shell-wrap { min-height: 44px; }
.shell-sub2 a { font-size: 13px; padding: 5px 11px; }
.shell-sub2 a[aria-current] { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.shell-count { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 10px; background: var(--mid);
  color: #fff; font-size: 12px; text-align: center; }
.shell-sp { flex: 1; }
.shell-action, .shell-button { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; border-radius: 20px;
  padding: 9px 18px; background: var(--gradient); color: #fff !important; font: 600 14px/1.2 var(--display); text-decoration: none; }
.shell-action, .shell-sub a.shell-action { padding: 7px 14px; font-size: 13px; color: #fff !important; }
.shell-sub a.shell-action:hover { color: #fff !important; }
.shell-button.ghost { background: #fff; color: var(--dark) !important; border: 1px solid var(--line); }
.shell-button.danger { background: #fff; color: var(--alert) !important; border: 1px solid #f5c6c0; }
.shell-action:hover, .shell-button:hover { filter: brightness(1.06); }

/* --- content frame, shared pages --- */
.shell-main { flex: 1; padding: 40px 0 56px; }
.shell-message { max-width: 640px; padding-top: 12px; }
.shell-message h1, .shell-main > .shell-wrap > h1 { font: 600 clamp(28px, 4.5vw, 40px)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.shell-message p { color: var(--muted); font-size: 17px; }
.shell-eyebrow { font: 600 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--mid) !important; margin: 0 0 12px; }
.shell-lede { color: var(--muted); max-width: 64ch; font-size: 17px; }
.shell-confirm { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; max-width: 760px; }
.shell-confirm ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.shell-confirm form { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.shell-note { color: var(--muted); font-size: 14px; }

/* --- footer --- */
.shell-foot { color: var(--muted); font-size: 13px; padding: 0 0 28px; }
.shell-bar { height: 3px; background: var(--spectrum); margin-bottom: 18px; }

@media (max-width: 820px) {
  .shell-top .shell-wrap { padding: 10px 0; gap: 8px 14px; }
  .shell-nav { order: 3; flex-basis: 100%; }
  .shell-me { display: none; }
}
