/* SignIn/sign-in.css */
/* The sign-in page, written once for every website: the picture beside the card, the card, its fields and
   buttons, the notice, and the narrow screen. A website's own styles.css comes after this file and says its
   colours: --bg, --panel, --panel-2, --line, --text and --accent, and these of the sign-in page:
   --signin-visual, --signin-deep, --signin-soft, --signin-field-line, --signin-eye, --signin-notice. */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

main {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(420px, clamp(560px, 54vw, 920px)) minmax(360px, 1fr);
}

.visual {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  background: var(--signin-visual);
}

.visual img {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: block;
  object-fit: cover;
  object-position: center;
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, var(--signin-deep) 100%);
  pointer-events: none;
}

.reference {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / .34);
  border-radius: 6px;
  background: rgb(0 0 0 / .76);
  color: #fff;
  font-size: 13px;
}

.login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--signin-deep);
}

.card {
  width: min(100%, 486px);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 36px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1;
  letter-spacing: 0;
}

.intro {
  margin: 0 0 30px;
  color: var(--signin-soft);
  font-size: 17px;
}

label {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 56px;
  margin-bottom: 24px;
  padding: 0 16px;
  border: 1px solid var(--signin-field-line);
  border-radius: 8px;
  background: var(--panel-2);
  color: #fff;
  font: 700 14px Arial, Helvetica, sans-serif;
}

.password { position: relative; }
.password input { padding-right: 56px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:disabled { cursor: not-allowed; }

.password button {
  position: absolute;
  right: 12px;
  top: 41px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--signin-eye);
  cursor: pointer;
}

.password button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.sign-in {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--signin-deep);
  font: 800 16px Arial, Helvetica, sans-serif;
}

.forgot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-decoration: underline;
  margin: -6px 0 18px;
  color: var(--accent);
  text-align: right;
  font-size: 14px;
}

/* "Keep me signed in for 30 days" on the left and "Forgot password?" on the
   right, on one line under the password; on a narrow card they stack. */
.remember {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: -6px 0 18px;
}

.remember .forgot { width: auto; margin: 0 0 0 auto; }

.keep {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--signin-soft);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.keep input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.notice {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--signin-notice);
  color: var(--signin-soft);
  font-size: 14px;
  line-height: 1.5;
}

.notice strong {
  display: block;
  color: #fff;
}

.shield {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

@media (max-width: 920px) {
  main { grid-template-columns: 1fr; }
  .visual {
    height: clamp(260px, 42dvh, 420px);
    min-height: 0;
  }
  .visual img { min-height: 0; }
  .login-wrap {
    min-height: auto;
    padding: 24px 16px 40px;
  }
  .card { padding: 28px; }
}

[hidden] { display: none !important; }
button { cursor: pointer; }
#status { line-height: 1.5; color: var(--signin-soft); overflow-wrap: anywhere; }
#status[data-error="true"] { color: #ffb4ab; }
.secondary { margin-top: 16px; padding: 10px 0; border: 0; background: none; color: var(--accent); text-decoration: underline; font: inherit; }
.notice { margin-top: 24px; }

/* Shell/styles.css */
:root {
      color-scheme: dark;
      --bg: #0B3D2E;
      --panel: #093427;
      --panel-2: #1E5E3A;
      --line: #2C6B4B;
      --text: #FFFFFF;
      --accent: #E1B21A;
      --signin-visual: #1E5E3A;
      --signin-deep: #062A1F;
      --signin-soft: #E6EFE9;
      --signin-field-line: #4F8A6A;
      --signin-eye: #E6EFE9;
      --signin-notice: #0D4634;
    }


/* The portal, signed in. The frame is the platform's (Common/Design/frame.css); the Portal gives it its
   colours, in the look George chose on 2026-10-15: a light side menu and a dark green top bar with a soft
   light a little right of its middle, measured on his proposal. */
.panel { --side-bg: #ecf7eb; --side-text: #0c2118; --side-hover: rgb(14 90 58 / .08); --side-current: linear-gradient(135deg, #105e3e, #0a4430);
  --top-bg: radial-gradient(ellipse 450px 162px at 63.5% 0, rgb(14 84 61), rgb(14 84 61 / .94) 11%, rgb(14 84 61 / .77) 22%, rgb(14 84 61 / .59) 33%,
    rgb(14 84 61 / .41) 44%, rgb(14 84 61 / .3) 56%, rgb(14 84 61 / .2) 67%, rgb(14 84 61 / .09) 78%, rgb(14 84 61 / .04) 89%, rgb(14 84 61 / 0)) #013226; --top-text: #ffffff; }
select { width: 100%; height: 56px; margin-bottom: 24px; padding: 0 12px; border: 1px solid #b8c7bd; border-radius: 8px; font: 700 14px Arial, Helvetica, sans-serif; }
input:disabled, select:disabled { opacity: .7; cursor: not-allowed; }
dialog { width: min(100% - 32px, 520px); padding: 28px; border: 1px solid var(--line); border-radius: 8px; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0 0 24px; }
.details dt { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.details dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dialog-actions .sign-in { width: auto; padding: 0 24px; height: 44px; }
.dialog-actions .row-action { margin: 0; height: 44px; padding: 0 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
td[data-state="active"] { color: var(--good); font-weight: 700; }
td[data-state="invited"] { color: var(--warn); font-weight: 700; }
td[data-state="suspended"] { color: var(--bad); font-weight: 700; }
.row-action { margin-right: 8px; padding: 8px 12px; border: 1px solid #c3d0c8; border-radius: 8px; background: var(--panel); color: var(--text); font: 600 13px Arial, Helvetica, sans-serif; }
.row-action:hover:not(:disabled) { background: var(--panel-2); }
.row-action[data-armed] { border-color: var(--bad); color: var(--bad); }
@media (max-width: 760px) {
  .details { grid-template-columns: minmax(0, 1fr); }
}

/* Design/frame.css */
/* The frame of a signed-in page: the top bar from edge to edge with the title of the side menu in the logo's
   letter and the person at its right, the side menu under it with the logo, and a light centre with white
   containers. The Portal draws with it, in the look George chose on 2026-10-15, "Curvas claras + Quick
   access", redrawn the same day on his proposal of a top bar across the whole page with the side menu
   starting under it, measured at 1536 px wide: a dark top bar 88 high with a soft light near its middle; at
   its left the side menu's light green rises into it, with the logo, and ends in a curve edged by layered
   greens and a gold line that reaches the bar's foot about 75px past the menu; the side menu 270 wide under
   the bar, whose foot flows away in two bands; a cream centre whose top left corner is rounded under the bar.
   Admin keeps its own frame in `App/Admin/styles.css` until it moves onto this one.
   Written by a script that measured the proposal (its curves are SVG in the backgrounds). A website gives only
   its colours, on `.panel`:
     --side-bg        the side menu on a narrow screen (on a wide one it is drawn with its curves)
     --side-text      the side menu's words and drawings
     --side-hover     an item under the pointer
     --side-current   the item open (a dark green, with white words and the drawing in the accent)
     --top-bg         the top bar
     --top-text       the top bar's words
   The accent (the open item's bar and drawing) is the website's `--accent`. */
/* The top bar spans both columns; the side menu takes the first column from the top, over the bar's left end,
   so the logo stands on the menu's green where it rises into the bar. Behind the centre's rounded corner shows
   the palest green of the bar's curve. */
.panel { min-height: 100dvh; display: grid; grid-template-columns: 270px minmax(0, 1fr); grid-template-rows: 88px 1fr;
  background: linear-gradient(#d4efd7, #d4efd7) 262px 88px / 28px 24px no-repeat, #fdfbf8; }

/* The centre is light. Everything inside takes its colours from these, so a section needs none of its own
   for text and surfaces. Its box gives way to the grid: the bar and the centre are placed by `.panel`. */
.panel-body {
  color-scheme: light;
  --bg: #fdfbf8; --panel: #ffffff; --panel-2: #f3f8f4; --line: #e3e9e4; --text: #0f1f18; --muted: #55635b;
  --good: #087348; --good-bg: #e3f3e8; --warn: #96650a; --warn-bg: #fdf0d2; --bad: #b3261e; --bad-bg: #fce4e1;
  --shadow: 0 1px 2px rgb(16 24 20 / .04), 0 8px 22px rgb(16 24 20 / .05);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  display: contents; color: var(--text);
}

/* The top bar, from edge to edge: the title of the side menu 67px past the menu, Contact us and who is signed
   in at the right. Its left end carries the curve the menu's green rises into, edged with a gold line. */
.panel-top { grid-column: 1 / -1; grid-row: 1; position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  height: 88px; padding: 0 29px 0 337px; color: var(--top-text); font-size: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='88' viewBox='0 0 360 88'%3E %3Cdefs%3E %3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x2='345'%3E%3Cstop offset='0' stop-color='%23c0e2c1'/%3E%3Cstop offset='0.093' stop-color='%23b5ddb5'/%3E%3Cstop offset='0.186' stop-color='%23a4d4a3'/%3E%3Cstop offset='0.232' stop-color='%238fc78f'/%3E%3Cstop offset='0.278' stop-color='%2375b679'/%3E%3Cstop offset='0.371' stop-color='%235da468'/%3E%3Cstop offset='0.464' stop-color='%234a9a63'/%3E%3Cstop offset='0.557' stop-color='%233e8f5e'/%3E%3Cstop offset='0.696' stop-color='%233e925f'/%3E%3Cstop offset='0.835' stop-color='%2332955a'/%3E%3Cstop offset='1' stop-color='%232e8853'/%3E%3C/linearGradient%3E %3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x2='300'%3E%3Cstop offset='0' stop-color='%23cfeacf'/%3E%3Cstop offset='0.16' stop-color='%23d1eccf'/%3E%3Cstop offset='0.267' stop-color='%23c2e6bf'/%3E%3Cstop offset='0.373' stop-color='%23b5dfb2'/%3E%3Cstop offset='0.48' stop-color='%23a8d8a9'/%3E%3Cstop offset='0.587' stop-color='%239bd1a0'/%3E%3Cstop offset='0.853' stop-color='%2398d1a1'/%3E%3Cstop offset='1' stop-color='%2383c792'/%3E%3C/linearGradient%3E %3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='170' x2='330'%3E%3Cstop offset='0' stop-color='%23e3d35a' stop-opacity='0'/%3E%3Cstop offset='0.219' stop-color='%23e3d35a' stop-opacity='0.5'/%3E%3Cstop offset='0.325' stop-color='%23ecd955' stop-opacity='1'/%3E%3Cstop offset='0.625' stop-color='%23f5ea7c' stop-opacity='1'/%3E%3Cstop offset='0.787' stop-color='%23e6d65a' stop-opacity='1'/%3E%3Cstop offset='0.887' stop-color='%23c9c060' stop-opacity='0.5'/%3E%3Cstop offset='1' stop-color='%23c9c060' stop-opacity='0'/%3E%3C/linearGradient%3E %3ClinearGradient id='h' gradientUnits='userSpaceOnUse' x2='170'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='0.3'/%3E%3Cstop offset='0.353' stop-color='%23f4f6c8' stop-opacity='0.45'/%3E%3Cstop offset='0.612' stop-color='%23eef0a0' stop-opacity='0.8'/%3E%3Cstop offset='0.753' stop-color='%23eef0a0' stop-opacity='0.75'/%3E%3Cstop offset='0.882' stop-color='%23e8eea0' stop-opacity='0.3'/%3E%3Cstop offset='1' stop-color='%23e8eea0' stop-opacity='0'/%3E%3C/linearGradient%3E %3C/defs%3E %3Cpath d='M0 0 H150 L150 0.3 C173.9 0.3 210.2 2.6 232 15.3 C248.8 25.1 252.3 31.2 264 45.2 C279.4 63.5 278.2 68.9 304 79.3 C314.5 83.5 333.8 88.3 345 88.3 L0 88.3 Z' fill='url(%23a)'/%3E %3Cpath d='M0 36 C18.9 21.8 22.4 18.4 48 12 C64.2 7.9 87.4 5.9 104 6 C137.2 6.3 159.4 7.4 192 15.5 C205.6 18.9 221 27.8 232.2 36 C238.9 40.9 251.3 54.1 257.7 60 C272.8 74 291.3 85.2 312 88.3 L0 88.3 Z' fill='url(%23b)'/%3E %3Cpath d='M0 36.8 C59.4 19 64.4 18 128 17.6 C154.1 17.4 172.1 20.9 196.5 28 C207.7 31.3 220.3 37.5 230 44 C239.8 50.5 244.5 56.2 252.4 64 C269.4 80.8 268.9 78.9 289.2 88 L289.2 89 L0 89 Z' fill='%23d4efd7'/%3E %3Cpath d='M0 36 C18.9 21.8 22.4 18.4 48 12 C64.2 7.9 87.4 5.9 104 6 C137.2 6.3 159.4 7.4 192 15.5 C205.6 18.9 221 27.8 232.2 36 C238.9 40.9 251.3 54.1 257.7 60 C272.8 74 291.3 85.2 312 88.3' fill='none' stroke='url(%23h)' stroke-width='1.3'/%3E %3Cpath d='M150 0.3 C173.9 0.3 210.2 2.6 232 15.3 C248.8 25.1 252.3 31.2 264 45.2 C279.4 63.5 278.2 68.9 304 79.3 C314.5 83.5 333.8 88.3 345 88.3' fill='none' stroke='url(%23g)' stroke-width='1.6'/%3E %3C/svg%3E") left top / 360px 88px no-repeat,
    linear-gradient(transparent 85px, rgb(0 0 0 / .1) 85px, rgb(0 0 0 / .25)), var(--top-bg); }
.panel-top nav { flex: 0 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 60%; white-space: nowrap; }
@font-face { font-family: Michroma; src: url("/assets/michroma-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.panel-top nav strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: Michroma, "Eurostile Extended", "Segoe UI", sans-serif;
  font-size: clamp(13px, 4.2vw, 16px); font-weight: 400; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; color: #fff; }
.panel-account { position: relative; z-index: 1; flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 26px; min-width: 0; }
.panel-contact { flex: none; display: inline-flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 8px; color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; }
.panel-contact:hover { background: rgb(255 255 255 / .08); }
.panel-contact svg, .panel-me svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* Who is signed in: a quiet line, the name, the initials in a green disc and a chevron; pressed, a menu with the
   account, the email and Sign out. */
.panel-me { position: relative; min-width: 0; padding-left: 22px; border-left: 1px solid rgb(255 255 255 / .25); }
.panel-me summary { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 0; border-radius: 999px; color: #fff; cursor: pointer; list-style: none; }
.panel-me summary::-webkit-details-marker { display: none; }
.panel-me summary:hover .panel-avatar { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35); }
.panel-name { min-width: 0; overflow: hidden; font-size: 16px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.panel-avatar { flex: none; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: #1f7a56;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.panel-chevron { width: 20px !important; height: 20px !important; margin-left: -2px; transition: transform .15s ease; }
.panel-me[open] .panel-chevron { transform: rotate(180deg); }
.panel-me-menu { position: absolute; right: 0; top: calc(100% + 14px); z-index: 5; display: grid; gap: 4px; min-width: 240px; padding: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 16px 40px rgb(16 24 20 / .18); color: var(--text); }
.panel-company { overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.panel-email { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.panel-signout { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.panel-signout:hover:not(:disabled) { background: var(--panel-2); }
.panel-signout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* The side menu: light green, a little deeper towards its right edge, which a fine line marks. It stands from
   the top of the page over the bar's left end: there only its own shape is drawn, rising into the bar with
   the logo (green, 188 wide) on it. Its foot flows away in two bands and fades into the page's cream. */
.panel-side { grid-column: 1; grid-row: 1 / 3; align-self: start; position: sticky; top: 0; z-index: 3; height: 100dvh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 43px 11px 24px 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='112' viewBox='0 0 270 112'%3E %3Cdefs%3E%3ClinearGradient id='m' gradientUnits='userSpaceOnUse' x2='270'%3E%3Cstop offset='0' stop-color='%23edf8ec'/%3E%3Cstop offset='0.556' stop-color='%23ecf7eb'/%3E%3Cstop offset='0.667' stop-color='%23ebf7ea'/%3E%3Cstop offset='0.778' stop-color='%23e9f6e8'/%3E%3Cstop offset='0.889' stop-color='%23e7f6e6'/%3E%3Cstop offset='0.993' stop-color='%23e3f4e3'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d='M0 37.2 C25.1 29.4 37.6 25.8 64 22.5 C84.4 19.9 107.4 18.6 128 18.9 C147.3 19.2 173.5 22 192 27.3 C206.6 31.5 222.2 38.6 234.3 48 C245.4 56.6 255.6 67 261.2 80 C264.8 88.4 269.1 103.3 269.5 112 L0 112 Z' fill='url(%23m)'/%3E %3C/svg%3E") left top / 270px 112px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='420' viewBox='0 0 270 420'%3E %3Cdefs%3E %3ClinearGradient id='m' gradientUnits='userSpaceOnUse' x2='270'%3E%3Cstop offset='0' stop-color='%23edf8ec'/%3E%3Cstop offset='0.556' stop-color='%23ecf7eb'/%3E%3Cstop offset='0.667' stop-color='%23ebf7ea'/%3E%3Cstop offset='0.778' stop-color='%23e9f6e8'/%3E%3Cstop offset='0.889' stop-color='%23e7f6e6'/%3E%3Cstop offset='0.993' stop-color='%23e3f4e3'/%3E%3C/linearGradient%3E %3ClinearGradient id='f' gradientUnits='userSpaceOnUse' x2='270'%3E%3Cstop offset='0' stop-color='%23edf8ec'/%3E%3Cstop offset='0.222' stop-color='%23edf8eb'/%3E%3Cstop offset='0.407' stop-color='%23f2f9ef'/%3E%3Cstop offset='0.593' stop-color='%23f9faf5'/%3E%3Cstop offset='0.778' stop-color='%23fdfbf8'/%3E%3Cstop offset='1' stop-color='%23fdfbf8'/%3E%3C/linearGradient%3E %3ClinearGradient id='l' gradientUnits='userSpaceOnUse' x2='270'%3E%3Cstop offset='0' stop-color='%23e8f6e7' stop-opacity='1'/%3E%3Cstop offset='0.593' stop-color='%23e8f6e7' stop-opacity='1'/%3E%3Cstop offset='0.741' stop-color='%23e8f6e7' stop-opacity='0.7'/%3E%3Cstop offset='0.889' stop-color='%23e8f6e7' stop-opacity='0.45'/%3E%3Cstop offset='1' stop-color='%23e8f6e7' stop-opacity='0.35'/%3E%3C/linearGradient%3E %3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x2='270'%3E%3Cstop offset='0' stop-color='%23e0f1e0'/%3E%3Cstop offset='0.178' stop-color='%23dbefda'/%3E%3Cstop offset='0.296' stop-color='%23d7eed7'/%3E%3Cstop offset='0.415' stop-color='%23d2edd2'/%3E%3Cstop offset='0.533' stop-color='%23cceacc'/%3E%3Cstop offset='0.652' stop-color='%23c7e8c8'/%3E%3Cstop offset='1' stop-color='%23c5e7c6'/%3E%3C/linearGradient%3E %3ClinearGradient id='w' gradientUnits='userSpaceOnUse' x1='58' x2='140'%3E%3Cstop offset='0' stop-color='%23eafaeb' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23eafaeb' stop-opacity='1'/%3E%3C/linearGradient%3E %3Cfilter id='s' filterUnits='userSpaceOnUse' x='-200' y='500' width='700' height='700'%3E%3CfeGaussianBlur stdDeviation='30'/%3E%3C/filter%3E %3CclipPath id='u'%3E%3Cpath d='M269.5 677 C268.7 679.9 264.3 697.5 264 698 C248.5 724.5 241.5 733.6 208 743 C188.4 748.5 178.7 748 152 758 C132.3 765.4 111.2 779.3 96 794 C70.2 819 64.1 834.4 48 866 C24.1 913 29.5 909.8 -8 945 L-8 1000 L300 1000 L300 677 Z'/%3E%3C/clipPath%3E %3CclipPath id='v'%3E%3Cpath d='M269 560 C269 582.1 268.7 587.7 256 608 C241.5 631.1 232.3 644.1 208 657 C201.2 660.6 182.3 668 176 668 C153.8 668 133.7 669.2 112 674 C89.2 679 66.3 689.7 48 704 C21.6 724.6 10.6 741.2 -8 768 L-8 945 C29.5 909.8 24.1 913 48 866 C64.1 834.4 70.2 819 96 794 C111.2 779.3 132.3 765.4 152 758 C178.7 748 188.4 748.5 208 743 C241.5 733.6 248.5 724.5 264 698 C264.3 697.5 268.7 679.9 269.5 677 L270 560 Z'/%3E%3C/clipPath%3E %3C/defs%3E %3Cg transform='translate(0 -557)'%3E %3Crect x='0' y='550' width='270' height='440' fill='url(%23f)'/%3E %3Cg clip-path='url(%23u)'%3E%3Cpath d='M269.5 677 C268.7 679.9 264.3 697.5 264 698 C248.5 724.5 241.5 733.6 208 743 C188.4 748.5 178.7 748 152 758 C132.3 765.4 111.2 779.3 96 794 C70.2 819 64.1 834.4 48 866 C24.1 913 29.5 909.8 -8 945' fill='none' stroke='url(%23l)' stroke-width='150' filter='url(%23s)'/%3E%3C/g%3E %3Cpath d='M269 560 C269 582.1 268.7 587.7 256 608 C241.5 631.1 232.3 644.1 208 657 C201.2 660.6 182.3 668 176 668 C153.8 668 133.7 669.2 112 674 C89.2 679 66.3 689.7 48 704 C21.6 724.6 10.6 741.2 -8 768 L-8 945 C29.5 909.8 24.1 913 48 866 C64.1 834.4 70.2 819 96 794 C111.2 779.3 132.3 765.4 152 758 C178.7 748 188.4 748.5 208 743 C241.5 733.6 248.5 724.5 264 698 C264.3 697.5 268.7 679.9 269.5 677 L270 560 Z' fill='url(%23b)'/%3E %3Cpath d='M269 631 C265.3 639.4 261.1 652.6 256 659.5 C241.7 678.7 238 683.6 216 696 C204.4 702.5 180 710.5 168 716.5 C152.8 724.1 132.4 736.9 120 748.5 C109.1 758.7 95.8 773.8 88 786.5 C77.4 803.9 67.5 826.9 58 846 L30 1000 L300 1000 L300 631 Z' fill='%23cfe9d1' clip-path='url(%23v)'/%3E %3Cpath d='M269 631 C265.3 639.4 261.1 652.6 256 659.5 C241.7 678.7 238 683.6 216 696 C204.4 702.5 180 710.5 168 716.5 C152.8 724.1 132.4 736.9 120 748.5 C109.1 758.7 95.8 773.8 88 786.5 C77.4 803.9 67.5 826.9 58 846' fill='none' stroke='url(%23w)' stroke-width='1.1'/%3E %3Cpath d='M270 550 V560 H269 C269 582.1 268.7 587.7 256 608 C241.5 631.1 232.3 644.1 208 657 C201.2 660.6 182.3 668 176 668 C153.8 668 133.7 669.2 112 674 C89.2 679 66.3 689.7 48 704 C21.6 724.6 10.6 741.2 -8 768 L-8 550 Z' fill='url(%23m)'/%3E %3Cpath d='M268.5 550 V680' stroke='%2364aa78' stroke-opacity='.15'/%3E %3Cpath d='M269.5 550 V680' stroke='%23fff' stroke-opacity='.35'/%3E %3C/g%3E %3C/svg%3E") left bottom / 270px 420px no-repeat,
    linear-gradient(90deg, rgb(100 170 120 / .15) 1px, rgb(255 255 255 / .35) 1px) right 0 top 112px / 2px calc(100% - 531px) no-repeat,
    linear-gradient(90deg, #edf8ec, #ecf7eb 150px, #ebf7ea 180px, #e9f6e8 210px, #e7f6e6 240px, #e3f4e3 268px) left 0 top 112px / 100% calc(100% - 531px) no-repeat; }
.panel-logo { flex: none; align-self: flex-start; display: block; width: 188px; height: 22px; margin-left: 12px; object-fit: contain; }
.panel-nav { display: flex; flex-direction: column; gap: 0; margin-top: 75px; }
/* The account's items (Billing, Configuration) stand a little apart from the work's. */
.panel-nav .panel-nav-split { margin-top: 11px; }
.panel-nav a { display: flex; align-items: center; gap: 24px; min-height: 57px; padding: 0 14px 0 5px; border-left: 4px solid transparent; border-radius: 8px;
  color: var(--side-text); text-decoration: none; font-size: 17px; font-weight: 500; }
.panel-nav a:hover { background: var(--side-hover); }
.panel-nav a[aria-current="page"] { background: var(--side-current); border-left-color: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgb(2 74 52 / .22); }
.panel-nav a[aria-current="page"] svg { color: var(--accent); }
.panel-nav svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.panel-group { display: flex; flex-direction: column; }
.panel-group summary { display: flex; align-items: center; gap: 24px; min-height: 57px; padding: 0 14px 0 5px; border-left: 4px solid transparent; border-radius: 8px;
  color: var(--side-text); font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.panel-group summary::-webkit-details-marker { display: none; }
.panel-group summary:hover { background: var(--side-hover); }
.panel-group summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.panel-group[open] summary::after { transform: rotate(45deg); }
.panel-group a { min-height: 40px; padding-left: 40px; gap: 12px; font-size: 15px; }
.panel-group a svg { width: 19px; height: 19px; }

/* A shortcut to each solution, on every page: a white container standing over the top bar's lower edge,
   part on the bar and part on the centre (George, 2026-10-15, after a picture of a menu of products), 62px
   past the menu. It stays with the top bar when the page scrolls. The solution open is in the website's
   green, with its drawing in the accent. With it, the centre starts lower, so the page's name keeps its room
   under it. */
.panel-top .panel-shortcuts { position: absolute; left: 332px; top: 69px; display: flex; gap: 4px; max-width: calc(100% - 366px);
  padding: 6px 10px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 10px 26px rgb(16 24 20 / .12); scrollbar-width: none; }
.panel-shortcuts a { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.panel-shortcuts a:hover { background: var(--panel-2); }
.panel-shortcuts a[aria-current="page"] { background: var(--good-bg); color: var(--good); }
.panel-shortcuts a[aria-current="page"] svg { color: var(--accent); }
.panel-shortcuts a:focus-visible { outline: 2px solid var(--good); outline-offset: 1px; }
.panel-shortcuts svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* The centre: cream, under the bar and beside the menu, its top left corner rounded; the page's name alone at
   its top, 72px high whatever stands at its right, then its tabs. A section's one main button stands at the
   right of the name. The centre fills the height of the window, so a section may stand a block at its foot. */
.panel-main { grid-column: 2; grid-row: 2; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 66px 39px 56px 42px; border-top-left-radius: 20px; background: var(--bg); }
.panel-main > .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; min-height: 72px; margin-bottom: 16px; }
.panel-main > .page-head h1 { margin: 0; font-size: 50px; font-weight: 800; letter-spacing: -.02em; line-height: 58px; }
#section-body { flex: 1; display: flex; flex-direction: column; }
#section-body > div:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
#section-body > div > .page:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
.panel-main .page-main-action { position: absolute; top: 66px; right: 39px; }
.panel-body button, .panel-body input, .panel-body select { font-family: inherit; }
.panel-body input, .panel-body select { border-color: #b8c7bd; background: var(--panel); color: var(--text); }
.panel-body dialog { border-color: var(--line); border-radius: 14px; background: var(--panel); color: var(--text); box-shadow: 0 24px 60px rgb(16 24 20 / .25); }
.panel-body dialog::backdrop { background: rgb(16 24 20 / .45); }
.panel-body [role="status"] { color: var(--muted); }
.panel-body [role="status"][data-error="true"] { color: var(--bad); }

/* On a narrow screen the parts stack: the menu with the logo on top, then the bar, then the centre. */
@media (max-width: 760px) {
  .panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; background: var(--bg, #fdfbf8); }
  .panel-side { grid-row: 1; position: static; z-index: auto; height: auto; padding: 16px; background: var(--side-bg); }
  .panel-logo { width: 150px; height: auto; margin-left: 0; }
  .panel-nav { flex-direction: row; flex-wrap: wrap; margin-top: 12px; }
  .panel-nav a, .panel-group summary { min-height: 44px; padding: 0 12px; gap: 12px; font-size: 15px; }
  .panel-group { width: 100%; }
  .panel-group a { padding-left: 14px; }
  .panel-main { grid-column: 1; grid-row: 3; border-top-left-radius: 0; padding: 32px 16px 40px; }
  .panel-main > .page-head h1 { font-size: 34px; line-height: 44px; }
  /* On a narrow screen the main button leaves the name's line, so it covers none of it, and stands under the tabs. */
  .panel-main .page-main-action { position: static; margin: 4px 0 12px; }
  .panel-contact span, .panel-name, .panel-chevron { display: none; }
  .panel-me { padding-left: 10px; }
  /* The title gives way first, so the account always fits. */
  .panel-top > nav:not(.panel-shortcuts) { flex: 1 1 auto; max-width: none; }
  .panel-account { flex: none; gap: 8px; }
  .panel-avatar { width: 38px; height: 38px; }
  /* On a narrow screen the bar has no curve, and the shortcut is a line of its own under the bar's words that
     scrolls inside itself. */
  .panel-top { grid-row: 2; height: auto; flex-wrap: wrap; padding: 12px 16px; background: var(--top-bg); }
  .panel-top .panel-shortcuts { position: static; order: 3; flex: 1 1 100%; max-width: 100%; }
}

/* Design/page.css */
/* The pieces every page of the platform is drawn with (Common/Design/DESIGN.md): the tabs under the page's
   name, Dashboard first, each with its drawing; the status line under them; the canvas of cards; the counts.
   Written once for every website: each website's own colours come from its variables, so the same rules draw
   the Portal's dark page and Admin's light one. A page's root carries the class `page` and says in
   `data-page` which tab is open; `Common/Sections/page-tabs.js` shows the blocks whose `data-shown-on`
   names that tab and hides the others.
   The Portal uses these from 2026-10-15; Admin keeps its own copy until a refactor moves it onto them. */
.page { --page-muted: var(--muted, #C8D8CF); --page-good: var(--good, #7ddc9a); --page-good-bg: var(--good-bg, rgb(125 220 154 / .14));
  --page-warn: var(--warn, var(--accent, #E1B21A)); --page-warn-bg: var(--warn-bg, rgb(225 178 26 / .14));
  --page-bad: var(--bad, #ffb4ab); --page-bad-bg: var(--bad-bg, rgb(255 180 171 / .14)); --page-tab: var(--good, #7ddc9a); }
.page .page-tabs { display: flex; flex-wrap: wrap; gap: 0 32px; margin: 0; border-bottom: 1px solid var(--line); }
.page .page-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 0 9px; border: 0; border-bottom: 3px solid transparent;
  background: none; color: var(--page-muted); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.page .page-tabs button svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page .page-tabs button[aria-selected="true"] { border-bottom-color: var(--page-tab); color: var(--page-tab); }
.page .page-tabs button:focus-visible { outline: 3px solid var(--page-tab); outline-offset: 3px; }
/* One line under the tabs where the page says what happened; it keeps its room when empty. */
.page .page-status { min-height: 22px; margin: 7px 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.page .page-status[data-error="true"] { color: var(--page-bad); }
/* The canvas: one grid of three tracks; a block spans them all unless it says otherwise. */
.page .page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.page .page-grid > .page-wide { grid-column: 1 / -1; }
.page [hidden] { display: none; }
/* A block of a tab that is not open (Common/Sections/page-tabs.js), on every website, whatever else styles it. */
[data-off-tab] { display: none !important; }
/* A count: its drawing on its colour, a quiet name, a large number and a line under it. */
.page .count-card { display: flex; align-items: center; gap: 20px; min-height: 135px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow, none); }
.page .count-card span { color: var(--page-muted); font-size: 16px; }
.page .count-card strong { display: block; margin-top: 1px; font-size: 38px; font-weight: 800; line-height: 1.1; }
.page .count-card small { display: block; margin-top: 3px; color: var(--page-muted); font-size: 15px; }
.page .count-card-icon { flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 12px; background: var(--page-good-bg); color: var(--page-good); }
.page .count-card-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page .count-card[data-state="warn"] .count-card-icon { background: var(--page-warn-bg); color: var(--page-warn); }
.page .count-card[data-state="bad"] .count-card-icon { background: var(--page-bad-bg); color: var(--page-bad); }
/* A card of the canvas: its title inside its own header. */
.page .page-card { min-width: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow, none); }
.page .page-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-bottom: 18px; }
.page .page-card h2 { margin: 0; font-size: 18px; font-weight: 800; }
.page .page-card > header small { color: var(--page-muted); font-size: 14px; }
/* A page or a tab not built yet: what it will show, in the card that says so. */
.page .page-planned { margin: 0; color: var(--page-muted); line-height: 1.5; }
@media (max-width: 960px) { .page .page-grid { grid-template-columns: minmax(0, 1fr); } }

/* Design/apps.css */
/* The apps of a catalogue, laid out as Composio's own page (George, 2026-10-15): All and Connected beside the tabs,
   the search and the list of categories, the popular apps, all apps in pages of whole rows, each app a round logo in
   a ring with its name under it, and the window of one app. Written once: the Portal's Integrations and Admin's
   Integrations › Apps draw with it (Common/Sections/apps.js). The colours are each website's variables. */
/* The tabs' row: the tabs at the left and, on Services, All and Connected at the right, over one line. */
/* The box stands over the row's right end without making it taller, so the tabs stay where they are on
   every tab (DESIGN.md: nothing of the heading moves). */
.integrations-tabs-row { position: relative; }
.integrations-filter { position: absolute; right: 0; bottom: 6px; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.integrations-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.integrations-filter button span { padding: 1px 7px; border-radius: 999px; background: var(--bg); color: var(--text); font-size: 12px; }
.integrations-filter button span:empty { display: none; }
.integrations-filter button[aria-pressed="true"] { background: var(--good-bg); color: var(--good); }
/* The categories as a list at the left, and the search taking the rest of the line. */
.integrations-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; }
.integrations-tools input, .integrations-tools select { height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.integrations-tools input { flex: 1 1 320px; min-width: 0; }
.integrations-tools select { flex: 0 1 300px; width: auto; min-width: 0; font-weight: 600; }
.integrations-main { display: grid; gap: 16px; min-width: 0; }
/* Each list is a white container with its title inside it, as every container of the platform. */
.integrations-section { padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.integrations-section > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-bottom: 18px; }
.integrations-section h2 { margin: 0; font-size: 18px; font-weight: 800; }
.integrations-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 22px 10px; }
/* An app: the logo in a soft raised disc, its name under it (George, 2026-11-19, the neumorphic disc "no card branco
   de hoje"): the face pressed in and the rim raised by a light from the top left. The rim says who provides it:
   white for Product3's and the customer's own, black metal for Composio's. */
.integrations-app { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 12px; background: none; color: var(--text); cursor: pointer; }
.integrations-app:focus-visible { outline: 3px solid var(--good); outline-offset: 2px; }
.integrations-bubble { position: relative; display: grid; place-items: center; box-sizing: border-box; width: 84px; height: 84px; margin: 3px; border: 6px solid transparent; border-radius: 50%;
  --face: linear-gradient(145deg, #e3e7ec, #f5f7f9); --rim: linear-gradient(145deg, #ffffff, #d9dfe6);
  background: var(--face) padding-box, var(--rim) border-box;
  box-shadow: 6px 6px 14px rgb(156 170 190 / .55), -6px -6px 14px rgb(255 255 255 / .95), inset 3px 3px 6px rgb(156 170 190 / .45), inset -3px -3px 6px rgb(255 255 255 / .9);
  transition: transform .15s ease, box-shadow .15s ease; }
.integrations-app:hover .integrations-bubble { transform: translateY(-2px);
  box-shadow: 8px 8px 18px rgb(156 170 190 / .6), -7px -7px 16px rgb(255 255 255 / 1), inset 3px 3px 6px rgb(156 170 190 / .45), inset -3px -3px 6px rgb(255 255 255 / .9); }
.integrations-app[data-by="composio"] .integrations-bubble { --rim: conic-gradient(from 200deg, #0b0b0c, #3a3b3e, #8d8f94, #26272a, #050506, #4a4b4f, #0b0b0c); }
.integrations-bubble.integrations-disc-green { --face: linear-gradient(145deg, #c4e9d6, #e7f7ef); }
.integrations-bubble.integrations-disc-red { --face: linear-gradient(145deg, #f3cdc9, #fdeceb); }
@media (prefers-reduced-motion: reduce) { .integrations-bubble { transition: none; } }
.integrations-logo { width: 40px; height: 40px; object-fit: contain; }
.integrations-letter { display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--text); font-weight: 800; font-size: 20px; }
.integrations-name { display: -webkit-box; max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.integrations-soon { margin-top: -4px; padding: 1px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 11px; font-weight: 700; }
/* Connected: a green disc and a tick; to connect again: a red disc and a mark; coming soon: quiet. */
.integrations-badge { position: absolute; z-index: 2; right: -8px; bottom: -8px; display: grid; place-items: center; width: 26px; height: 26px; border: 3px solid #eef1f4; border-radius: 50%; background: var(--good); color: #fff; }
.integrations-app[data-state="attention"] .integrations-badge { background: var(--bad); }
.integrations-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.integrations-app[data-state="soon"] .integrations-logo { filter: grayscale(1); opacity: .55; }
.integrations-none { grid-column: 1 / -1; margin: 0; padding: 32px 24px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
/* The window of one app. */
.integrations-app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.integrations-app-head h2 { margin: 0; font-size: 22px; }
.integrations-app-head small { color: var(--muted); }
.integrations-app-head .integrations-app-logo { display: grid; place-items: center; width: 52px; height: 52px; padding: 6px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; }
.integrations-app-words { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.integrations-app-state { margin: 0 0 20px; font-weight: 700; line-height: 1.5; }
.integrations-app-state[data-state="active"] { color: var(--good); }
.integrations-app-state[data-state="attention"] { color: var(--bad); }
/* The page of apps and its arrows, at the right of the container's title. */
.integrations-pager { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.integrations-pager button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); cursor: pointer; }
.integrations-pager button:hover:not(:disabled) { background: var(--panel-2); }
.integrations-pager button:disabled { opacity: .4; cursor: default; }
.integrations-pager svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The pager under the last row: how many are shown of how many, then Previous and Next with their words. */
@media (max-width: 700px) {
  .integrations-filter { position: static; margin: 6px 0; }
  .integrations-tools input, .integrations-tools select { flex: 1 1 100%; }
  .integrations-apps { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
}

/* Modules/Integrations/integrations.css */
/* Integrations: what only the Portal's page uses. The catalogue's apps, their window and its pages are the
   platform's (Common/Design/apps.css); the tabs, the counts and the colours too (Common/Design). */
/* The month's actions under the counts: three cards of a table each, stacked on a narrow screen. */
.integrations-usage { margin-top: 19px; }
.integrations-month .table-wrap { border: 0; background: transparent; }
.integrations-month table { width: 100%; }
.integrations-month .integrations-figure { text-align: right; white-space: nowrap; }
.integrations-month .integrations-total td { border-top: 1px solid var(--line); }
.integrations-month .integrations-empty { color: var(--muted); text-align: center; }
.integrations-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
/* The agents: each agent's state and the owner's Stop and Start again, in the section's own white containers. */
.integrations-agent-state { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.integrations-pill { padding: 3px 10px; border-radius: 999px; background: var(--good-bg); color: var(--good); font-size: 13px; font-weight: 700; }
.integrations-pill-off { background: #fbe9e7; color: var(--bad); }
/* The app's window says where it is connected, in the quiet colour. */
.integrations-app-state[data-state="off"] { color: var(--muted); }

/* Modules/SmartAgents/smartagents.css */
/* My Solutions › SmartAgents: one card per agent of the account, in rows that wrap; one column on a phone. */
.portal-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.portal-agent { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "picture words" "open open"; gap: 14px 16px;
  align-items: center; padding: 18px; border: 1px solid var(--line, #dce4eb); border-radius: 14px; background: #fff; color: #0c2118;
  box-shadow: 0 8px 30px rgb(26 50 71 / .06); }
.portal-agent-picture { grid-area: picture; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px;
  background: #e3f4ea; color: #0a5c3d; font-size: 30px; font-weight: 800; }
.portal-agent-words { grid-area: words; display: grid; gap: 4px; min-width: 0; }
.portal-agent-words h2 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.portal-agent-words p, .portal-agent-words small { margin: 0; color: #526784; font-size: 13px; }
.portal-agent-state { justify-self: start; padding: 3px 10px; border-radius: 999px; background: #e3f4ea; color: #0a5c3d; font-size: 12px; font-weight: 700; }
.portal-agent-state.is-starting { background: #fff4d6; color: #7a5600; }
.portal-agent-open { grid-area: open; justify-self: stretch; height: 42px; border: 0; border-radius: 9px; background: #0a5c3d; color: #fff;
  font: inherit; font-weight: 700; cursor: pointer; }
.portal-agent-open:hover { background: #0d7049; }
.portal-agent-open:focus-visible { outline: 3px solid #e1b21a; outline-offset: 2px; }
.portal-agent-open:disabled { opacity: .6; cursor: wait; }
.portal-agents-none { grid-column: 1 / -1; margin: 0; padding: 22px; border: 1px dashed #b9cbbf; border-radius: 12px; color: #526784; }
@media (max-width: 480px) { .portal-agents { grid-template-columns: minmax(0, 1fr); } }

/* Modules/Support/support.css */
/* The portal's Support, in the look of Team & Access (George's "Curvas claras", 2026-10-15): New ticket at the right of
   the page's name, the counts, the tickets in a white container, a ticket's side panel with its conversation, and the
   window that opens one. The tabs, the counts and the status line are the platform's; the table is the frame's. */
.support-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: #0a3d2a; color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px rgb(10 61 42 / .22); cursor: pointer; }
.support-primary:hover:not(:disabled) { background: #0f5c3c; }
.support-primary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.support-quiet { height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; }
.support-quiet:hover:not(:disabled) { background: var(--panel-2); }
.support-quiet:focus-visible, .support-primary:focus-visible { outline: 2px solid var(--good); outline-offset: 2px; }

/* The tickets, in a white container with a rounded border; a row opens its side panel. */
.support-main { display: grid; gap: 10px; min-width: 0; margin: 24px 0 32px; }
.support-table { min-width: 0; padding: 0 16px 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow, none); }
.support-main .table-wrap { position: relative; border: 0; border-radius: 0; background: transparent; }
.support-main table { font-size: 15px; }
.support-main thead th { padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.support-main tbody td { padding: 14px 18px; border-bottom: 0; }
.support-main tbody tr + tr td { border-top: 1px solid var(--line); }
#support-rows tr[data-ticket] { cursor: pointer; }
#support-rows tr[data-ticket]:hover td, #support-rows tr.support-row-open td { background: var(--panel-2); }
#support-rows tr.support-row-open td:first-child { box-shadow: inset 3px 0 0 var(--good); }
.support-none td { color: var(--muted); }
.support-number, .support-when { color: var(--muted); white-space: nowrap; }
.support-subject { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.support-subject:hover { text-decoration: underline; }
.support-subject:focus-visible { outline: 2px solid var(--good); outline-offset: 3px; border-radius: 3px; }
.support-state { white-space: nowrap; font-weight: 600; }
.support-state[data-state="good"] { color: var(--good); }
.support-state[data-state="warn"] { color: var(--warn); }
.support-state[data-state="bad"] { color: var(--bad); }
.support-dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.support-note { color: var(--muted); font-size: 14px; }
.support-note a { color: inherit; }

/* A ticket's side panel: the conversation, Product3's answers at the left and the account's at the right. */
.support-panel { position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; flex-direction: column; width: min(480px, calc(100vw - 24px));
  border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--text); box-shadow: 0 24px 64px rgb(16 24 20 / .22), 0 2px 6px rgb(16 24 20 / .06); }
.support-panel[hidden] { display: none; }
.support-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 0 28px; }
.support-panel-kicker { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.support-panel-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--text); cursor: pointer; }
.support-panel-close:hover { background: var(--good-bg); color: var(--good); }
.support-panel-close:focus-visible { outline: 2px solid var(--good); outline-offset: 2px; }
.support-panel-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.support-panel-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 28px 22px; }
.support-panel-title { margin: 0; overflow-wrap: anywhere; font-size: 22px; font-weight: 800; line-height: 1.25; }
.support-panel-facts { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.support-thread { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.support-thread-none { color: var(--muted); }
.support-message { max-width: 88%; padding: 10px 14px; border-radius: 14px; background: var(--panel-2); }
.support-message.is-yours { justify-self: end; background: var(--good-bg); }
.support-message.is-product3 { justify-self: start; }
.support-message small { color: var(--muted); font-size: 12.5px; }
.support-message p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-reply { display: grid; gap: 8px; }
.support-reply[hidden] { display: none; }
.support-reply label, .support-window label { font-size: 14px; font-weight: 600; }
.support-reply textarea, .support-window :is(input, select, textarea) { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px;
  background: var(--panel); color: var(--text); resize: vertical; }
.support-reply textarea:focus-visible, .support-window :is(input, select, textarea):focus-visible { outline: 2px solid var(--good); outline-offset: 1px; }
.support-panel-status { min-height: 22px; margin: 0; font-size: 14px; }
.support-panel-status[data-error="true"], #support-new-status[data-error="true"] { color: var(--bad); }
.support-reply-actions, .support-window-actions { display: flex; justify-content: flex-end; gap: 10px; }
.support-reply-actions [hidden] { display: none; }
.support-closed { padding: 12px 14px; border-radius: 10px; background: var(--panel-2); color: var(--muted); font-size: 14px; }

/* Opening a ticket: a rounded white window over a dimmed page, as Team & Access's. */
.panel-body dialog.support-window { width: min(100% - 32px, 560px); padding: 30px 32px 28px; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgb(16 24 20 / .28); }
.panel-body dialog.support-window::backdrop { background: rgb(12 33 24 / .5); }
.support-window form { display: grid; gap: 8px; }
.support-window-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.support-window-head h2 { margin: 0; font-size: 22px; }
.support-window-head p { margin: 2px 0 0; color: var(--muted); }
.support-window-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--good-bg); color: var(--good); }
.support-window-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#support-new-status { min-height: 22px; margin: 4px 0 0; font-size: 14px; }
.support-window-actions { margin-top: 10px; }
@media (max-width: 760px) { .support-main thead th:nth-child(3), .support-main tbody td:nth-child(3), .support-main thead th:nth-child(6), .support-main tbody td:nth-child(6) { display: none; } }

/* Modules/Team/team.css */
/* The portal's Team & Access, in the look George chose on 2026-10-15: Invite member at the right of the
   page's name, the members with their initials, role and access and the owner's menu on each, a person's
   side panel, the windows to add and to edit one, and at the foot of Members the line that invites the next
   teammate. The tabs, the counts, the containers (`page-card`) and the status line are the platform's; the
   table is the frame's. */
.team-primary { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: #0a3d2a; color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px rgb(10 61 42 / .22); cursor: pointer; }
.team-primary:hover:not(:disabled) { background: #0f5c3c; }
.team-primary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* The page fills the centre's height, so the banner stands at its foot under the members. */
#team:not([hidden]) { flex: 1; display: flex; flex-direction: column; }

/* Members' count beside its tab's name, in a pale green disc (George's picture of 2026-10-15). It does not
   make the tab taller, so the tabs stand where every page's do. */
.page .page-tabs .team-tab-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin: -6px 0 -6px 2px; padding: 0 8px; border-radius: 15px;
  background: var(--good-bg); color: var(--good); font-size: 15px; letter-spacing: 0; }

/* The members, in a white container with a rounded border. The rows are parted by a line that stops short of
   the container's sides, and a row is as tall as its initials. A row opens the person's side panel. */
.team-main { display: grid; gap: 10px; min-width: 0; }
#team-counts + .team-main { margin: 24px 0 32px; }
.team-table { min-width: 0; padding: 0 16px 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow, none); }
.team-main .table-wrap { position: relative; border: 0; border-radius: 0; background: transparent; }
.team-main thead th { border-bottom: 1px solid var(--line); }
.team-main tbody tr + tr td { border-top: 1px solid var(--line); }
.team-main tbody td { border-bottom: 0; }
.team-note { color: var(--muted); font-size: 14px; }
.team-note:empty { display: none; }
#team-rows tr { cursor: pointer; }
#team-rows tr:hover td, #team-rows tr.team-row-open td { background: var(--panel-2); }
/* Every row is one height, a login not taken yet included: an empty row that says nothing (George, 2026-10-16). */
#team-rows tr { height: 78px; }
#team-rows tr.team-open { cursor: default; }
#team-rows tr.team-open:hover td { background: none; }
#team-rows tr.team-row-open td:first-child { box-shadow: inset 3px 0 0 var(--good); }
.team-main table { font-size: 15px; }
.team-main th { padding: 12px 22px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.team-main td { padding: 14px 22px; }
.team-person { display: flex; align-items: center; gap: 16px; min-width: 240px; }
.team-initials { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--good-bg); color: #0d4a30; font-size: 15px; font-weight: 700; }
.team-who { display: grid; gap: 2px; min-width: 0; }
.team-title { display: flex; align-items: center; gap: 10px; }
.team-name { font-size: 16px; font-weight: 700; }
button.team-name { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
button.team-name:hover { text-decoration: underline; }
button.team-name:focus-visible { outline: 2px solid var(--good); outline-offset: 3px; border-radius: 3px; }
.team-you { padding: 3px 10px; border-radius: 6px; background: #e6f5d6; color: #2f6b1f; font-size: 13px; font-weight: 700; }
.team-email { overflow: hidden; color: var(--muted); font-size: 14px; text-overflow: ellipsis; }
.team-access { white-space: nowrap; }
.team-access .team-dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.team-main td.team-access[data-state] { font-weight: 600; }
/* Online: a green dot while the person is online, a grey one when not; then since when a member. */
.team-online, .team-since { white-space: nowrap; }
.team-online .team-dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: #a3aea8; vertical-align: 1px; }
.team-online[data-online="true"] { color: var(--good); font-weight: 600; }
.team-online[data-online="true"] .team-dot { background: currentColor; }
.team-since { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* At the foot of Members, "Your team, connected." with Talk to Product3 and Product3's green friend peeking
   over a hill (George's picture of 2026-10-15). */
.team-banner { margin-top: auto; position: relative; display: flex; align-items: center; min-height: 178px; padding: 22px 44px; overflow: hidden;
  border: 1px solid #d6ebd8; border-radius: 14px; background: linear-gradient(100deg, #f3faf2 0%, #eef7ec 55%, #e7f3e4 100%); }
.team-banner-words { position: relative; z-index: 1; max-width: min(470px, 52%); }
.team-banner h2 { margin: 0 0 8px; font-size: 30px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.team-banner p { max-width: 420px; margin: 0 0 16px; color: #56645d; font-size: 17px; line-height: 1.35; }
.team-talk { display: inline-flex; align-items: center; gap: 14px; height: 46px; padding: 0 26px; border-radius: 8px;
  background: linear-gradient(180deg, #13764b, #0b5c3b); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 14px rgb(11 92 59 / .22); }
.team-talk:hover { background: #0b5c3b; }
.team-talk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.team-talk svg:last-child { width: 18px; height: 18px; margin-left: 4px; }
.team-banner-art { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 66%; aspect-ratio: 760 / 180; }

/* A person's side panel: a white, rounded sheet that slides in at the right of the window, over the top bar,
   and leaves the members behind it live. Its name and initials large, the facts in a list, the actions, and
   the account's ID once at its foot. */
.team-panel { position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; flex-direction: column; width: min(440px, calc(100vw - 24px));
  border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--text); box-shadow: 0 24px 64px rgb(16 24 20 / .22), 0 2px 6px rgb(16 24 20 / .06);
  animation: team-panel-in .22s ease-out; }
@keyframes team-panel-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .team-panel { animation: none; } }
.team-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 0 28px; }
.team-panel-kicker { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.team-panel-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--text); cursor: pointer; }
.team-panel-close:hover { background: var(--good-bg); color: var(--good); }
.team-panel-close:focus-visible { outline: 2px solid var(--good); outline-offset: 2px; }
.team-panel-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.team-panel-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 28px 20px; }
.team-panel-person { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.team-panel-initials { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--good-bg); color: #0d4a30; font-size: 26px; font-weight: 800; }
.team-panel-who { display: grid; gap: 6px; min-width: 0; }
.team-panel-name { margin: 0; overflow-wrap: anywhere; font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.team-panel-role { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.team-panel-badge { padding: 3px 10px; border-radius: 6px; background: var(--panel-2); color: var(--text); font-size: 13px; font-weight: 700; }
.team-panel-access { margin: 0; font-size: 14px; font-weight: 600; }
.team-panel-access[data-state="active"] { color: var(--good); }
.team-panel-access[data-state="invited"] { color: var(--warn); }
.team-panel-access[data-state="suspended"] { color: var(--bad); }
.team-panel .team-dot { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.team-panel-facts { display: grid; margin: 0; }
.team-panel-facts > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.team-panel-facts dt { color: var(--muted); font-size: 14px; }
.team-panel-facts dd { display: grid; gap: 3px; margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.team-panel-facts dd small { color: var(--muted); font-size: 13px; font-weight: 400; }
.team-panel-facts time[title] { text-decoration: underline dotted rgb(85 99 91 / .5); text-underline-offset: 3px; cursor: help; }
.team-panel-facts dd.team-panel-presence { display: block; color: var(--muted); }
.team-panel-facts dd.team-panel-presence[data-online="true"] { color: var(--good); }
.team-panel-status { min-height: 22px; margin: 14px 0 6px; font-size: 14px; line-height: 1.5; }
.team-panel-actions { display: grid; gap: 8px; }
.team-panel-actions:empty { display: none; }
.team-panel-actions .row-action { width: 100%; margin: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 14px; font-weight: 600; text-align: left; }
.team-panel-actions .row-action:hover:not(:disabled) { border-color: #c9d6ce; background: var(--panel-2); }
/* The two strong actions stand apart from the others and catch the eye (George, 2026-10-16): Sign out everywhere
   red on a light red ground, Delete white on red; the first press, waiting for the second, turns them darker. */
.team-panel-actions .team-panel-danger { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.team-panel-actions .team-panel-danger svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.team-panel-actions .team-panel-sign-out { margin-top: 8px; border-color: #f1b8b1; background: var(--bad-bg); color: var(--bad); }
.team-panel-actions .team-panel-sign-out:hover:not(:disabled) { border-color: var(--bad); background: #f9d3ce; }
.team-panel-actions .team-panel-remove { border-color: var(--bad); background: var(--bad); color: #fff; }
.team-panel-actions .team-panel-remove:hover:not(:disabled) { border-color: #8c1d18; background: #8c1d18; }
.team-panel-actions .team-panel-sign-out[data-armed] { border-color: var(--bad); background: var(--bad); color: #fff; }
.team-panel-actions .team-panel-remove[data-armed] { border-color: #6f1611; background: #6f1611; color: #fff; box-shadow: 0 0 0 3px rgb(179 38 30 / .22); }
.team-panel-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px 20px; border-top: 1px solid var(--line); }
.team-panel-account div { display: grid; gap: 3px; min-width: 0; }
.team-panel-account span { color: var(--muted); font-size: 13px; }
.team-panel-account small { color: var(--muted); font-size: 12px; }
.team-panel-account code { overflow-wrap: anywhere; font: 600 13px ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* The quiet button, beside a green one or alone: Cancel, Copy. */
.team-quiet { height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; }
.team-quiet:hover:not(:disabled) { background: var(--panel-2); }
.team-quiet:focus-visible, .team-primary:focus-visible { outline: 2px solid var(--good); outline-offset: 2px; }

/* The windows, adding a team member and editing a person: a rounded white window over a dimmed page, the
   title with its green drawing, the fields of the new Portal, a green button and a quiet Cancel. */
.panel-body dialog.team-window { width: min(100% - 32px, 520px); padding: 30px 32px 28px; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgb(16 24 20 / .28); }
.panel-body dialog.team-window::backdrop { background: rgb(12 33 24 / .5); }
.team-window-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.team-window-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--good-bg); color: var(--good); }
.team-window-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.team-window-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.team-window-head p { margin: 3px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.team-window label { display: block; margin: 0 0 7px; color: var(--text); font-size: 14px; font-weight: 600; }
.team-window input, .team-window select { width: 100%; height: 48px; margin: 0 0 18px; padding: 0 14px; border: 1px solid #cfdad3; border-radius: 10px;
  background: var(--panel); color: var(--text); font-size: 15px; font-weight: 400; }
.team-window input:hover, .team-window select:hover { border-color: #b3c4b9; }
.team-window input:focus, .team-window select:focus { border-color: var(--good); outline: 3px solid rgb(8 115 72 / .16); outline-offset: 0; }
.team-window .details { margin: -6px 0 20px; }
.team-window-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 4px; }
.team-window-actions .team-primary { height: 44px; padding: 0 22px; font-size: 15px; box-shadow: 0 6px 14px rgb(10 61 42 / .2); }
#team-add-status, #person-dialog-status { min-height: 22px; margin: -4px 0 14px; line-height: 1.5; color: var(--muted); }
#team-add-status:empty, #person-dialog-status:empty { min-height: 0; margin: 0; }
#team-add-status[data-error="true"], #person-dialog-status[data-error="true"] { color: var(--bad); }
@media (max-width: 760px) {
  .team-panel { top: 8px; right: 8px; bottom: 8px; width: calc(100vw - 16px); border-radius: 18px; }
  .team-panel-head { padding: 14px 14px 0 20px; }
  .team-panel-scroll { padding: 14px 20px 18px; }
  .team-panel-account { padding: 14px 20px 16px; }
  .team-panel-facts > div { grid-template-columns: 104px minmax(0, 1fr); }
  .team-panel-initials { width: 64px; height: 64px; font-size: 22px; }
  .panel-body dialog.team-window { padding: 24px 20px 22px; }
  .team-banner { align-items: flex-start; padding: 22px 22px 120px; }
  .team-banner-words { max-width: none; }
  .team-banner-art { width: 100%; height: 120px; }
  .team-banner h2 { font-size: 24px; }
}
