/* BLIT Global — Internal Team Only.
   A dark glass workspace: the public site's black stage and logo colours, with moving light behind frosted panels. */
@view-transition { navigation: auto; }
:root {
  --bg: #050506;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --solid: #111113;
  --fg: #f5f5f7;
  --dim: #a1a1a6;
  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.22);
  --green: #35b24a;
  --green-2: #7fe391;
  --red: #f0595a;
  --amber: #f0b429;
  --blue: #6aa5ff;
  --silver: #c7c7cc;
  --c: var(--silver);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Helvetica Neue", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --pad: clamp(16px, 2.6vw, 36px);
  --side: 248px;
  --r: 20px;
}
.g-pipeline { --c: var(--silver); }
.g-order { --c: var(--blue); }
.g-due { --c: var(--amber); }
.g-won { --c: var(--green); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; background: var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; }
h1 { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; overflow-wrap: anywhere; text-wrap: balance; }
h2 { font-size: 17px; letter-spacing: -0.01em; font-weight: 600; }
h3 { font-size: 13px; font-weight: 600; color: var(--dim); margin-top: 20px; text-transform: uppercase; letter-spacing: 0.07em; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
time { font-variant-numeric: tabular-nums; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-2); margin-bottom: 8px; }
.badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffb4b4; background: rgba(240, 89, 90, 0.13); border: 1px solid rgba(240, 89, 90, 0.4); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* Moving light behind everything */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
/* the glow is a soft gradient, not a blur: it looks the same and costs the computer almost nothing to draw */
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, var(--au) 0%, color-mix(in srgb, var(--au) 55%, transparent) 45%, transparent 100%); opacity: 0.2; will-change: transform; animation: drift 26s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { --au: var(--green); left: -28vmax; top: -36vmax; }
.aurora i:nth-child(2) { --au: var(--red); right: -32vmax; top: -30vmax; opacity: 0.15; animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { --au: #2d5fd0; left: 22vw; bottom: -52vmax; opacity: 0.13; animation-duration: 38s; animation-delay: -15s; }
.aurora::after { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent); }
@keyframes drift { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.18); } }

/* Glass */
.card, .side, .mtop, .col, .tile, .palette-box, .drawer, .toast { background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 50px rgba(0, 0, 0, 0.32); }
/* the frosted-glass blur stays only on what floats above other content (popups, the search box, messages); on every card it made pages slow to draw and to scroll, with nothing behind the card to blur */
.card, .side, .col, .tile { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* a soft highlight that follows the pointer */
.card, .tile, .deal-card, .col { position: relative; }
.card::before, .tile::before, .deal-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.11), transparent 62%); }
.card:hover::before, .tile:hover::before, .deal-card:hover::before { opacity: 1; }
.card > *, .tile > *, .deal-card > * { position: relative; }

/* App frame: sidebar on wide screens, bottom bar on phones */
body.app { padding-left: var(--side); }
.side { position: fixed; z-index: 30; inset: 12px auto 12px 12px; width: calc(var(--side) - 24px); display: flex; flex-direction: column; gap: 14px; padding: 16px 12px 12px; border-radius: 24px; }
.side .brand img { height: 46px; width: auto; margin-left: 4px; }
.side .badge { margin: -6px 0 0 6px; }
.kbtn { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); color: var(--dim); font-size: 14px; cursor: pointer; text-align: left; transition: border-color 0.2s, color 0.2s; }
.kbtn:hover { border-color: var(--line-2); color: #fff; }
.kbtn span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
kbd { font: inherit; font-size: 11px; font-weight: 600; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: rgba(255, 255, 255, 0.06); white-space: nowrap; }
.nav { display: grid; gap: 3px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 13px; font-size: 15px; font-weight: 500; color: #d2d2d7; text-decoration: none; transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.nav .s { display: none; }
.nav .l { flex: 1; min-width: 0; line-height: 1.15; }
.nbadge { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; box-shadow: 0 0 14px rgba(240, 89, 90, 0.7); }
.nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; transform: translateX(2px); }
.nav a[aria-current] { background: linear-gradient(100deg, rgba(53, 178, 74, 0.3), rgba(53, 178, 74, 0.06)); color: #fff; box-shadow: inset 0 0 0 1px rgba(127, 227, 145, 0.35); }
.nav a[aria-current] .ic { color: var(--green-2); }
.nav a[aria-current]::after { content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--green-2); box-shadow: 0 0 12px var(--green); }
.side .new { margin-top: 2px; }
.side-end { margin-top: auto; display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px; border-radius: 12px; }
.who:hover { background: rgba(255, 255, 255, 0.07); }
.who span { display: grid; min-width: 0; }
.who strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { font-size: 12px; color: var(--dim); }
.av { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(145deg, #4a4a50, #1f1f22); border: 1px solid var(--line-2); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; flex: none; text-decoration: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--dim); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mtop { display: none; }
@media (max-width: 900px) {
  body.app { padding-left: 0; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .mtop { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-width: 0 0 1px; border-radius: 0; background: rgba(5, 5, 6, 0.78); }
  .mtop .brand img { height: 36px; width: auto; }
  .mtop .badge { margin-right: auto; }
  .side { inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px; width: auto; flex-direction: row; padding: 6px; border-radius: 22px; background: rgba(14, 14, 16, 0.86); }
  .side > :not(.nav) { display: none; }
  .nav { flex: 1; display: flex; gap: 2px; }
  .nav a { flex: 1; flex-direction: column; gap: 3px; justify-content: center; min-height: 52px; padding: 4px 2px; font-size: 10.5px; border-radius: 16px; }
  .nav a:hover { transform: none; }
  .nav .l { display: none; }
  .nav .s { display: block; }
  .nav a { position: relative; }
  .nbadge { position: absolute; top: 2px; right: 6%; min-width: 17px; height: 17px; font-size: 10px; padding: 0 4px; }
  .nav a[aria-current]::after { display: none; }
}
@media (max-width: 420px) { .mtop .badge { font-size: 9px; padding: 3px 7px; letter-spacing: 0.08em; } }

/* Page */
.page { max-width: 1480px; margin: 0 auto; padding: clamp(18px, 2.6vw, 34px) var(--pad) 70px; display: grid; gap: 18px; align-content: start; animation: rise 0.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.page > * { min-width: 0; }
.narrow { width: 100%; max-width: 520px; margin: 0 auto; display: grid; gap: 16px; }
.narrow.wide { max-width: 820px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.hero h1 { max-width: 20em; background: linear-gradient(100deg, #fff 30%, #b9f3c3 70%, #ffc2c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumb { font-size: 14px; }
.crumb a { color: var(--dim); text-decoration: none; }
.crumb a:hover { color: #fff; }
.desc { max-width: 70ch; color: #d2d2d7; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: #fff; color: #000; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.16); }
.btn:active { transform: scale(0.97); }
.btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.btn.ghost { background: rgba(255, 255, 255, 0.07); color: #fff; border-color: var(--line); font-weight: 500; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--line-2); box-shadow: none; }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn.danger { color: #ff9a9b; }
.btn[disabled] { opacity: 0.5; cursor: progress; }

/* Cards, messages */
.card { border-radius: var(--r); padding: clamp(16px, 1.8vw, 24px); min-width: 0; }
.card > h2 { margin-bottom: 14px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head a { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--dim); text-decoration: none; }
.card-head a:hover { color: #fff; }
.card-head a .ic { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.card-head a:hover .ic { transform: translateX(3px); }
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.split.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .split, .split.three { grid-template-columns: minmax(0, 1fr); } }
.flash { padding: 12px 16px; border-radius: 14px; font-size: 15px; background: rgba(53, 178, 74, 0.16); border: 1px solid rgba(53, 178, 74, 0.45); }
.flash.err { background: rgba(240, 89, 90, 0.15); border-color: rgba(240, 89, 90, 0.5); }
.flash.warn { background: rgba(240, 180, 41, 0.13); border-color: rgba(240, 180, 41, 0.45); }
.js .page > .flash.ok { display: none; } /* shown as a toast instead */
.pw { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; background: #000; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line); user-select: all; }
.empty { text-align: center; padding: clamp(40px, 8vw, 90px) 20px; display: grid; gap: 12px; justify-items: center; border: 1px dashed var(--line-2); border-radius: var(--r); background: rgba(255, 255, 255, 0.02); }
.empty p { color: var(--dim); max-width: 52ch; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--c) 18%, transparent); color: color-mix(in srgb, var(--c) 72%, #fff); white-space: nowrap; }
.pill.green { --c: var(--green); }
.pill.red { --c: var(--red); }
.pill.grey { background: rgba(255, 255, 255, 0.08); color: var(--dim); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.narrow:not(.wide) .form, .form.one { grid-template-columns: minmax(0, 1fr); }
.form > h2, .form > p, .form > .flash, .form .span2, .form-end, .form fieldset { grid-column: 1 / -1; }
.form fieldset { border: 0; border-top: 1px solid var(--line); margin: 6px 0 0; padding: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.form fieldset:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form legend { padding: 0; font-size: 15px; font-weight: 600; float: left; width: 100%; grid-column: 1 / -1; margin-bottom: 2px; }
label { display: grid; gap: 6px; font-size: 14px; color: #d2d2d7; align-content: start; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="date"], input[type="search"], input[type="file"], select, textarea {
  width: 100%; min-height: 46px; font: inherit; font-size: 16px; color: #fff; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-2); border-radius: 13px; padding: 10px 13px; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
textarea { resize: vertical; line-height: 1.4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(53, 178, 74, 0.2); background: rgba(0, 0, 0, 0.6); }
input[disabled] { color: var(--dim); }
input[type="file"] { padding: 9px; font-size: 14px; border-style: dashed; }
input[type="file"]::file-selector-button { font: inherit; font-size: 13px; font-weight: 600; margin-right: 12px; padding: 6px 14px; border-radius: 999px; border: 0; background: #fff; color: #000; cursor: pointer; }
label.check { display: flex; align-items: center; gap: 9px; }
label.check input { width: 18px; height: 18px; accent-color: var(--green); }
.form-end { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .form, .form fieldset { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #d2d2d7; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.chip:hover { border-color: var(--line-2); color: #fff; transform: translateY(-1px); }
.chip .ic { width: 16px; height: 16px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: #fff; color: #000; border-color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.chip.picked { background: rgba(53, 178, 74, 0.25); border-color: var(--green-2); color: #fff; }
.progress { position: relative; height: 28px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--green), var(--green-2)); transition: width 0.25s; }
.progress span { position: relative; display: block; text-align: center; font-size: 13px; line-height: 26px; font-weight: 600; }

/* Sign in */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px 0; }
.bare .page { padding-top: 0; padding-bottom: 0; }
.login-card { width: min(410px, 92vw); display: grid; gap: 14px; padding: 30px; border-radius: 28px; animation: rise 0.7s var(--ease) both; }
.login-card img { height: 66px; width: auto; margin: 0 auto 2px; }
.login-card .badge { justify-self: center; }
.login-card h1 { font-size: 30px; text-align: center; }
.login-card > .dim { text-align: center; }
.login a { color: var(--dim); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px; }
.pw-wrap .icon-btn { position: absolute; right: 3px; top: 3px; }
.pw-wrap .icon-btn[aria-pressed="true"] { color: var(--green-2); }

/* Tables */
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: top; }
.table tbody tr { transition: background-color 0.15s; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.045); }
.table tr:last-child td { border-bottom: 0; }
.table tr.off { opacity: 0.55; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a { text-decoration: none; }
.table a:hover { text-decoration: underline; }
.table .actions form { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

/* CRM toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.seg a { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: #d2d2d7; transition: color 0.2s, background-color 0.2s; }
.seg a:hover { color: #fff; }
.seg a[aria-current] { background: #fff; color: #000; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-items: center; }
.filters input, .filters select { width: auto; min-height: 38px; padding: 5px 13px; font-size: 14px; border-radius: 999px; }
.filters input[type="search"] { flex: 1 1 220px; max-width: 340px; }
.board-hint { margin-bottom: -8px; }

/* Board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(244px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 34px; align-items: start; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; }
.col { border-radius: 18px; min-height: 200px; display: flex; flex-direction: column; scroll-snap-align: start; scroll-margin-left: 12px; transition: border-color 0.2s, box-shadow 0.3s, background-color 0.2s; animation: rise 0.5s var(--ease) both; }
.col:nth-child(2) { animation-delay: 0.03s; } .col:nth-child(3) { animation-delay: 0.06s; } .col:nth-child(4) { animation-delay: 0.09s; } .col:nth-child(5) { animation-delay: 0.12s; } .col:nth-child(n+6) { animation-delay: 0.15s; }
.col::after { content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 2px; border-radius: 2px; background: var(--c); box-shadow: 0 0 14px var(--c); opacity: 0.85; }
.col:target { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 40px color-mix(in srgb, var(--c) 30%, transparent); }
.col header { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2px 8px; padding: 13px 12px 9px 14px; }
.col h2 { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.count { font-size: 12px; font-weight: 600; color: var(--dim); background: rgba(255, 255, 255, 0.09); border-radius: 999px; padding: 1px 8px; }
.col .add { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--dim); transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.col .add:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: rotate(90deg); }
.col .add .ic { width: 16px; height: 16px; }
.sum { grid-column: 1 / -1; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.cards { flex: 1; display: grid; gap: 8px; align-content: start; padding: 4px 8px 10px; min-height: 96px; border-radius: 0 0 16px 16px; }
.col.over { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, var(--glass)); box-shadow: 0 0 0 1px var(--c), 0 0 46px color-mix(in srgb, var(--c) 28%, transparent); }
.col.over .cards::after { content: "Drop here"; display: grid; place-items: center; min-height: 54px; border: 1.5px dashed var(--c); border-radius: 13px; font-size: 13px; color: var(--dim); }
.deal-card { display: grid; gap: 4px; padding: 11px 12px; border-radius: 13px; background: rgba(28, 28, 31, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; cursor: grab; overflow: hidden; transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s, opacity 0.2s; }
.deal-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); }
.deal-card:active { cursor: grabbing; }
.deal-card.dragging { opacity: 0.35; transform: scale(0.97) rotate(-1.5deg); }
.deal-card.landed { animation: land 0.55s var(--ease); }
@keyframes land { 0% { transform: scale(0.94); box-shadow: 0 0 0 2px var(--green-2), 0 0 40px rgba(53, 178, 74, 0.6); } }
.deal-card.hold { opacity: 0.6; }
.deal-card.hidden { display: none; }
.deal-card strong { font-size: 14.5px; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.deal-card .co { font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.deal-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; font-size: 12.5px; }
.deal-card .meta b { font-weight: 600; font-variant-numeric: tabular-nums; }
.deal-card .av { margin-left: auto; width: 24px; height: 24px; font-size: 9.5px; }
.due { font-size: 12.5px; font-weight: 600; color: #d2d2d7; white-space: nowrap; }
.due.late { color: #ff9a9b; }
.due.today { color: #f6cd6b; }

/* Deal page: the path as a lit track */
.path { position: relative; display: flex; gap: 0; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: none; }
.path::-webkit-scrollbar { display: none; }
.path::before, .path::after { content: ""; position: absolute; left: 0; top: 23px; height: 3px; border-radius: 3px; }
.path::before { right: 0; background: rgba(255, 255, 255, 0.12); }
.path::after { width: var(--p); background: linear-gradient(90deg, var(--silver), var(--green-2)); box-shadow: 0 0 14px rgba(127, 227, 145, 0.7); animation: grow 0.9s var(--ease) both; }
@media (max-width: 1250px) { .path::before, .path::after { display: none; } }
@keyframes grow { from { width: 0; } }
.path button { position: relative; z-index: 1; flex: 1 0 86px; display: grid; justify-items: center; gap: 8px; padding: 4px 6px; border: 0; background: none; color: var(--dim); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: color 0.2s; }
.path button i { width: 18px; height: 18px; border-radius: 50%; background: #1d1d20; border: 2px solid rgba(255, 255, 255, 0.25); transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.path button:hover { color: #fff; }
.path button:hover i { transform: scale(1.25); border-color: #fff; }
.path button.done { color: #d2d2d7; }
.path button.done i { background: #fff; border-color: #fff; }
.path button.now { color: #fff; font-weight: 700; }
.path button.now i { background: var(--c); border-color: #fff; transform: scale(1.3); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent), 0 0 22px var(--c); }
.next.late { border-color: rgba(240, 89, 90, 0.55); }
.next-what { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.facts { display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
.facts dt { color: var(--dim); }
.facts dd { overflow-wrap: anywhere; }
.notes, .post-body, .t-body { overflow-wrap: anywhere; font-size: 15px; color: #e8e8ed; }
.notes { margin-top: 6px; }
.timeline { display: grid; gap: 16px; }
.timeline li { position: relative; padding-left: 44px; min-height: 32px; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: -14px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.t-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); color: #fff; flex: none; }
.timeline .t-ico { position: absolute; left: 0; top: 0; }
.t-ico .ic { width: 16px; height: 16px; }
.t-ico.t-stage { color: var(--dim); background: rgba(255, 255, 255, 0.04); }
.t-ico.t-call { background: rgba(106, 165, 255, 0.2); color: #a8c9ff; }
.t-ico.t-email { background: rgba(240, 180, 41, 0.18); color: #f6cd6b; }
.t-ico.t-meeting { background: rgba(240, 89, 90, 0.18); color: #ffb0b0; }
.t-ico.t-whatsapp { background: rgba(53, 178, 74, 0.22); color: var(--green-2); }
.t-head { font-size: 13px; color: var(--dim); }
.t-head strong { color: #fff; font-weight: 600; }
.t-stage .t-body { color: var(--dim); }
.rel { display: grid; gap: 11px; }
.rel li { display: grid; gap: 1px; font-size: 14.5px; }
.rel a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.rel a:hover { text-decoration: underline; }
.rel span { font-size: 13px; }
.danger-zone { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Overview */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1180px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat { display: grid; gap: 5px; height: 100%; text-decoration: none; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s; }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--c); filter: blur(46px); opacity: 0.28; transition: opacity 0.3s, transform 0.5s var(--ease); pointer-events: none; }
.stat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5); }
.stat:hover::after { opacity: 0.5; transform: scale(1.3); }
.stat-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #d2d2d7; font-weight: 500; }
.stat-value { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-value small { font-size: 0.45em; font-weight: 600; letter-spacing: 0.04em; color: var(--dim); vertical-align: 0.5em; }
.stat-more { font-size: 13px; font-weight: 600; color: #d2d2d7; font-variant-numeric: tabular-nums; }
.journey { position: relative; display: grid; grid-template-columns: repeat(11, minmax(96px, 1fr)); overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; }
.journey li { position: relative; display: grid; grid-template-rows: 20px auto; }
.journey li::before { content: ""; position: absolute; left: 0; right: 0; top: 54px; height: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 30%, transparent)); }
.journey li:first-child::before { left: 50%; }
.journey li:last-child::before { right: 50%; }
.phase { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); padding-left: 10px; white-space: nowrap; }
.journey a { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0 4px 8px; text-decoration: none; text-align: center; border-radius: 14px; transition: background-color 0.2s; }
.journey a:hover { background: rgba(255, 255, 255, 0.05); }
.node { height: 68px; display: grid; place-items: center; }
.node b { display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; font-size: 15px; font-weight: 700; color: #000; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent), 0 0 26px color-mix(in srgb, var(--c) 60%, transparent); transition: transform 0.3s var(--ease); animation: pop 0.6s var(--ease) both; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.journey a:hover .node b { transform: scale(1.14); }
.journey .zero .node b { background: #1d1d20; color: var(--dim); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16); }
.journey strong { font-size: 13px; font-weight: 600; line-height: 1.2; }
.journey .dim { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.rows { display: grid; gap: 2px; margin: 0 -8px; }
.rows a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 14px; text-decoration: none; transition: background-color 0.2s; }
.rows a:hover { background: rgba(255, 255, 255, 0.06); }
.rows a > .ic { width: 16px; height: 16px; color: var(--dim); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.rows a:hover > .ic { opacity: 1; transform: none; }
.grow { flex: 1; min-width: 0; display: grid; gap: 1px; }
.grow strong { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.grow .dim { font-size: 13px; }
.one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-chip { display: grid; justify-items: center; width: 44px; padding: 5px 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); flex: none; }
.date-chip b { font-size: 17px; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.date-chip.late { background: rgba(240, 89, 90, 0.16); border-color: rgba(240, 89, 90, 0.5); color: #ffb0b0; }
.date-chip.today { background: rgba(240, 180, 41, 0.15); border-color: rgba(240, 180, 41, 0.5); color: #f6cd6b; }

/* Dashboards and videos */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tile { display: grid; gap: 6px; height: 100%; align-content: start; padding: 16px; border-radius: var(--r); text-decoration: none; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s; }
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.tile strong { font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, #6fe085, #1f9a38); margin-bottom: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 24px rgba(53, 178, 74, 0.4); transition: transform 0.4s var(--ease); }
.tile:hover .tile-ico { transform: scale(1.08) rotate(-5deg); }
.tile-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.thumb { aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(140deg, #1f2a22, #2a1c1c) center / cover; display: grid; place-items: center; margin-bottom: 6px; overflow: hidden; }
.thumb svg { width: 50px; height: 50px; padding: 10px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); fill: #fff; transition: transform 0.35s var(--ease), background-color 0.2s; }
.tile:hover .thumb svg { transform: scale(1.18); background: var(--green); }
.frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; height: max(520px, calc(100vh - 230px)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.frame iframe { width: 100%; height: 100%; border: 0; }
.frame.img { height: auto; background: var(--solid); }
.frame.img img { width: 100%; }
.player { border-radius: var(--r); overflow: hidden; background: #0b0b0c; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-height: 76vh; width: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.player video, .player iframe { width: 100%; height: 100%; border: 0; background: #000; }
.player-link { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--dim); }

/* Updates */
.feed { display: grid; gap: 14px; max-width: 860px; }
.post header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-bottom: 12px; }
.post h2 { font-size: 21px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.post.pinned { border-color: rgba(53, 178, 74, 0.5); background: linear-gradient(160deg, rgba(53, 178, 74, 0.1), var(--glass) 40%); }
.post-body a, .t-body a, .notes a, .desc a, .mini a { color: #9fd0ff; }

/* Search palette */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade 0.2s both; }
@keyframes fade { from { opacity: 0; } }
.palette { position: fixed; inset: 0; z-index: 61; display: grid; justify-items: center; align-content: start; padding: 12vh 16px 16px; pointer-events: none; }
.palette-box { pointer-events: auto; width: min(620px, 100%); border-radius: 22px; background: rgba(20, 20, 22, 0.92); overflow: hidden; animation: drop 0.28s var(--ease) both; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08); }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.97); } }
.palette-in { display: flex; align-items: center; gap: 12px; padding: 4px 18px; border-bottom: 1px solid var(--line); color: var(--dim); }
.palette-in input { flex: 1; min-height: 56px; border: 0; background: none; padding: 0; font-size: 18px; box-shadow: none; border-radius: 0; }
.palette-in input:focus { box-shadow: none; background: none; }
.palette-list { max-height: min(52vh, 420px); overflow-y: auto; padding: 8px; }
.palette-list p { padding: 6px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); }
.palette-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; text-decoration: none; }
.palette-list a.on { background: rgba(255, 255, 255, 0.1); }
.palette-list a .ic { color: var(--dim); }
.palette-list a.on .ic { color: var(--green-2); }
.palette-list a span { flex: 1; min-width: 0; display: grid; }
.palette-list a strong { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-list a small { font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-list em { font-style: normal; font-size: 11.5px; color: var(--dim); }
.palette-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* Quick view */
.drawer { position: fixed; z-index: 61; top: 12px; right: 12px; bottom: 12px; width: min(480px, calc(100vw - 24px)); border-radius: 24px; background: rgba(18, 18, 20, 0.94); display: flex; flex-direction: column; overflow: hidden; animation: slide 0.38s var(--ease) both; box-shadow: -30px 0 100px rgba(0, 0, 0, 0.6); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer.closing { animation: slide 0.22s var(--ease) reverse both; }
.peek-head { display: flex; justify-content: space-between; gap: 12px; padding: 20px 14px 16px 22px; border-bottom: 1px solid var(--line); }
.peek-head h2 { font-size: 23px; letter-spacing: -0.025em; line-height: 1.15; overflow-wrap: anywhere; }
.peek-head .eyebrow { display: flex; gap: 6px; }
.peek-body { flex: 1; overflow-y: auto; padding: 18px 22px 26px; display: grid; gap: 14px; align-content: start; }
.peek-body h3 { margin-top: 8px; }
.peek-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.peek-actions form { display: contents; }
.mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini div { padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.mini dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.mini dd { font-size: 14.5px; font-weight: 500; overflow-wrap: anywhere; }
.peek-loading { flex: 1; display: grid; place-items: center; color: var(--dim); }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: #fff; animation: turn 0.8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* Toasts */
.toasts { position: fixed; z-index: 80; right: 18px; bottom: 18px; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 36px)); padding: 12px 14px 12px 16px; border-radius: 16px; background: rgba(24, 24, 27, 0.95); font-size: 14.5px; animation: toast-in 0.4s var(--ease) both; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 12px var(--green); flex: none; }
.toast.err::before { background: var(--red); box-shadow: 0 0 12px var(--red); }
.toast.out { animation: toast-in 0.3s var(--ease) reverse both; }
.toast button { border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.toast button:hover { background: rgba(255, 255, 255, 0.24); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@media (max-width: 900px) { .toasts { right: 12px; left: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); justify-items: stretch; } .toast { max-width: none; } .drawer { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 88dvh; border-radius: 24px 24px 0 0; } @keyframes slide { from { transform: translateY(60px); opacity: 0; } } }
#confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .aurora i { animation: none; }
  @view-transition { navigation: none; }
}

/* New Leads */
.connect { display: grid; gap: 12px; border-style: dashed; border-color: var(--line-2); background: linear-gradient(150deg, rgba(106, 165, 255, 0.1), var(--glass) 55%); }
.connect .soon { justify-self: start; }
.connect ol { display: grid; gap: 8px; counter-reset: n; font-size: 14.5px; color: #d2d2d7; }
.connect ol li { counter-increment: n; display: flex; gap: 10px; }
.connect ol li::before { content: counter(n); flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 700; color: #fff; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lead-actions form { display: contents; }

/* Pipeline Weekly Update: video first, the written brief beneath */
.standup { display: grid; gap: 18px; max-width: 1120px; width: 100%; margin: 0 auto; }
.standup .eyebrow { margin: 0; }
.standup-title { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -0.04em; }
.standup-lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--dim); max-width: 64ch; margin-top: -8px; }
.standup-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: -8px; }
.brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.brief .card { border-top: 2px solid var(--c); }
.brief h2 { display: flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, #fff); }
.brief ul, .brief ol { display: grid; gap: 10px; padding-left: 20px; font-size: 15px; color: #e8e8ed; }
.brief ul { list-style: disc; } .brief ol { list-style: decimal; }
.brief li::marker { color: var(--dim); }
.earlier { border-top: 1px solid var(--line); padding-top: 4px; display: grid; gap: 10px; }
a.chip { text-decoration: none; }
@media (max-width: 800px) { .brief { grid-template-columns: minmax(0, 1fr); } }

/* Claude AI chat */
.chat-page { display: grid; gap: 16px; max-width: 920px; width: 100%; margin: 0 auto; }
.chat { display: flex; flex-direction: column; padding: 0; overflow: hidden; height: max(420px, calc(100dvh - 300px)); }
.chat-log { flex: 1; overflow-y: auto; padding: 22px clamp(14px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.chat-empty { margin: auto; text-align: center; display: grid; gap: 10px; justify-items: center; padding: 20px 0; }
.chat-empty h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; }
.orb { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from 0deg, var(--green), #6aa5ff, var(--red), var(--amber), var(--green)); filter: blur(0.5px); box-shadow: 0 0 50px rgba(53, 178, 74, 0.5); animation: turn 9s linear infinite; position: relative; }
.orb::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.5), rgba(10, 10, 12, 0.92) 60%); }
.ideas { justify-content: center; max-width: 620px; margin-top: 6px; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: min(720px, 88%); animation: rise 0.35s var(--ease) both; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.ai { align-self: flex-start; align-items: flex-start; }
.bubble { padding: 11px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.msg.me .bubble { background: #fff; color: #000; border-bottom-right-radius: 6px; }
.msg.ai .bubble { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble p { margin: 0 0 8px; } .bubble > :last-child { margin-bottom: 0; }
.bubble ul, .bubble ol { margin: 0 0 8px; padding-left: 22px; display: grid; gap: 4px; }
.bubble ul { list-style: disc; } .bubble ol { list-style: decimal; }
.bubble code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(127, 127, 127, 0.22); padding: 1px 5px; border-radius: 5px; }
.bubble a { color: #9fd0ff; }
.msg.me .bubble a { color: #0a58ca; }
.act { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--green-2); background: rgba(53, 178, 74, 0.13); border: 1px solid rgba(53, 178, 74, 0.4); transition: background-color 0.2s; }
.act:hover { background: rgba(53, 178, 74, 0.26); }
.act .ic { width: 14px; height: 14px; }
.typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.18s; } .typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); }
.composer textarea { flex: 1; min-height: 46px; max-height: 200px; resize: none; border-radius: 16px; }
.composer .btn { width: 46px; min-height: 46px; padding: 0; flex: none; }
.chat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
@media (max-width: 900px) { .chat { height: max(380px, calc(100dvh - 330px)); } .msg { max-width: 94%; } }
@media (max-width: 900px) { .nav { overflow-x: auto; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } .nav a { flex: 1 0 58px; } }
.head-row h1 + p { margin-top: 8px; }

/* ---------- Claudio, the companion ---------- */
.claudio { --o: #D97757; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.claudio.float { position: fixed; right: 18px; bottom: 14px; width: 132px; }
.claudio.staged { position: relative; width: 150px; flex: none; align-items: center; }
.claudio > * { pointer-events: auto; }
.cl-figure { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 14px 22px rgba(217, 119, 87, 0.35)); transition: transform 0.3s var(--ease), filter 0.3s; }
.cl-figure:hover { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 18px 30px rgba(217, 119, 87, 0.55)); }
.cl-figure:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 30px; }
.claudio-svg { display: block; width: 100%; height: auto; overflow: visible; }
.claudio-svg * { transform-box: fill-box; }
.cl-all { animation: cl-bob 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.cl-shadow { animation: cl-shadow 3.6s ease-in-out infinite; transform-origin: center; }
.cl-eyes { animation: cl-blink 5.2s infinite; transform-origin: center; }
.cl-pupils { transition: transform 0.12s linear; }
.cl-hat { transform-origin: 50% 100%; animation: cl-hat 7s ease-in-out infinite; }
.cl-arm-l { transform-origin: 100% 0%; } .cl-arm-r { transform-origin: 0% 0%; }
.cl-open, .cl-oh { opacity: 0; }
.cl-brows { transition: transform 0.25s var(--ease); }
@keyframes cl-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(0.8deg); } }
@keyframes cl-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.84); opacity: 0.6; } }
@keyframes cl-blink { 0%, 44%, 48%, 92%, 96%, 100% { transform: scaleY(1); } 46%, 94% { transform: scaleY(0.08); } }
@keyframes cl-hat { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-5deg) translateY(-2px); } 95% { transform: rotate(3deg); } }
/* moods */
.claudio[data-mood="wave"] .cl-arm-l { animation: cl-wave 0.55s ease-in-out 3; }
@keyframes cl-wave { 0%, 100% { transform: rotate(115deg); } 50% { transform: rotate(150deg); } }
.claudio[data-mood="wave"] .cl-smile, .claudio[data-mood="cheer"] .cl-smile, .claudio[data-mood="hop"] .cl-smile { opacity: 0; }
.claudio[data-mood="wave"] .cl-open, .claudio[data-mood="cheer"] .cl-open, .claudio[data-mood="hop"] .cl-open { opacity: 1; }
.claudio[data-mood="hop"] .cl-all { animation: cl-hop 0.45s var(--ease) 2; }
@keyframes cl-hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-20px) scale(0.96, 1.05); } 80% { transform: translateY(0) scale(1.05, 0.94); } }
.claudio[data-mood="cheer"] .cl-all { animation: cl-hop 0.42s var(--ease) infinite; }
.claudio[data-mood="cheer"] .cl-arm-l { transform: rotate(140deg); } .claudio[data-mood="cheer"] .cl-arm-r { transform: rotate(-140deg); }
.claudio[data-mood="cheer"] .cl-hat { animation: cl-toss 0.84s ease-in-out infinite; }
@keyframes cl-toss { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(-14deg); } }
.claudio[data-mood="tip"] .cl-hat { animation: cl-tip 1.6s var(--ease); }
.claudio[data-mood="tip"] .cl-arm-r { transform: rotate(-128deg); transition: transform 0.3s var(--ease); }
@keyframes cl-tip { 0%, 100% { transform: rotate(0); } 30%, 70% { transform: rotate(16deg) translate(6px, -8px); } }
.claudio[data-mood="look"] .cl-all { animation: cl-look 1.7s ease-in-out; }
@keyframes cl-look { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-5deg); } 70% { transform: rotate(5deg); } }
.claudio[data-mood="point"] .cl-arm-l { transform: rotate(100deg); transition: transform 0.3s var(--ease); }
.claudio[data-mood="think"] .cl-pupils { transform: translate(5px, -7px) !important; }
.claudio[data-mood="think"] .cl-brows { transform: translateY(-4px) rotate(-3deg); }
.claudio[data-mood="think"] .cl-arm-r { transform: rotate(-150deg) translate(-8px, 6px); transition: transform 0.35s var(--ease); }
.claudio[data-mood="think"] .cl-smile, .claudio[data-mood="oops"] .cl-smile { opacity: 0; }
.claudio[data-mood="think"] .cl-oh, .claudio[data-mood="oops"] .cl-oh { opacity: 1; }
.claudio[data-mood="think"] .cl-all { animation: cl-sway 2.4s ease-in-out infinite; }
@keyframes cl-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.claudio[data-mood="oops"] .cl-all { animation: cl-shake 0.4s linear 2; }
.claudio[data-mood="oops"] .cl-brows { transform: translateY(3px); }
@keyframes cl-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
/* what he says */
.cl-bubble { position: relative; max-width: 230px; width: max-content; margin-right: 6px; padding: 10px 14px; border: 0; border-radius: 18px 18px 6px 18px; background: #fff; color: #17110e; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: left; cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(217, 119, 87, 0.55); }
.cl-bubble.pop { animation: cl-pop 0.45s var(--ease) both; transform-origin: 85% 100%; }
@keyframes cl-pop { from { opacity: 0; transform: scale(0.6) translateY(10px); } }
.cl-bubble::after { content: ""; position: absolute; right: 26px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; box-shadow: 2px 2px 0 rgba(217, 119, 87, 0.55); }
.cl-bubble.thinking { font-style: italic; color: #6b4a3c; }
.cl-bubble.thinking::before { content: ""; display: inline-block; width: 22px; height: 6px; margin-right: 8px; background: radial-gradient(circle, var(--o) 2.6px, transparent 3px) 0 0 / 8px 6px; animation: cl-dots 1s steps(3) infinite; }
@keyframes cl-dots { from { clip-path: inset(0 66% 0 0); } to { clip-path: inset(0 -34% 0 0); } }
.claudio.staged .cl-bubble { position: absolute; left: 86%; bottom: 78%; margin: 0; border-radius: 18px 18px 18px 6px; z-index: 2; }
.claudio.staged .cl-bubble::after { right: auto; left: 18px; }
.claudio.staged .cl-bubble.pop { transform-origin: 10% 100%; }
.cl-hide { position: absolute; right: -4px; bottom: 96px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 20, 22, 0.9); color: var(--dim); font-size: 14px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.claudio:hover .cl-hide, .cl-hide:focus-visible { opacity: 1; }
.cl-tab { position: fixed; z-index: 55; right: 0; bottom: 90px; padding: 9px 9px 9px 12px; border: 0; border-radius: 14px 0 0 14px; background: #D97757; color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; box-shadow: 0 8px 26px rgba(217, 119, 87, 0.5); }
.claudio.open .cl-bubble { display: none; }
/* his small chat */
.cl-panel { position: fixed; z-index: 56; right: 18px; bottom: 164px; width: min(400px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 190px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: rgba(18, 16, 15, 0.96); border: 1px solid rgba(217, 119, 87, 0.5); box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 60px rgba(217, 119, 87, 0.2); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); animation: cl-panel 0.35s var(--ease) both; transform-origin: 90% 100%; }
@keyframes cl-panel { from { opacity: 0; transform: scale(0.85) translateY(20px); } }
.cl-panel.dropping, .chat.dropping { outline: 2px dashed #D97757; outline-offset: -6px; }
.cl-head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(217, 119, 87, 0.28), transparent 70%); }
.cl-head div { flex: 1; display: grid; }
.cl-head strong { font-size: 16px; letter-spacing: -0.01em; }
.cl-head small { font-size: 12px; color: var(--dim); }
.cl-head .icon-btn { font-size: 20px; }
.cl-panel .chat-log { padding: 14px; gap: 10px; }
.cl-panel .bubble { font-size: 14.5px; padding: 9px 13px; }
.cl-panel .msg { max-width: 92%; }
.cl-panel .msg.me .bubble { background: #D97757; color: #fff; }
.cl-panel .chat-empty { text-align: left; justify-items: start; margin: 0; padding: 4px 2px; gap: 4px; font-size: 14.5px; }
.cl-panel .composer { padding: 10px; gap: 6px; }
.cl-panel .composer .btn { background: #D97757; color: #fff; width: 42px; min-height: 42px; }
.cl-panel .composer textarea { min-height: 42px; font-size: 15px; padding: 9px 12px; }
.attach { font-size: 22px; color: #fff; }
.attached { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.attached[hidden] { display: none; }
.filechip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 500; background: rgba(217, 119, 87, 0.16); border: 1px solid rgba(217, 119, 87, 0.5); color: #ffd3c2; overflow-wrap: anywhere; }
.filechip .ic { width: 14px; height: 14px; }
.filechip button { border: 0; background: none; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 0 0 2px; }
.filechip.busy { font-style: italic; opacity: 0.8; }
.filelist { display: grid; gap: 4px; margin-top: 10px; }
.filelist li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.filelist a { text-decoration: none; } .filelist a:hover { text-decoration: underline; }
.filelist form { display: contents; }
.with-claudio { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.chat-page .eyebrow { color: #EE9A78; }
@media (max-width: 900px) {
  .claudio.float { right: 8px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 84px; }
  .cl-bubble { max-width: 190px; font-size: 13px; padding: 8px 12px; }
  .cl-hide { bottom: 62px; opacity: 1; }
  .cl-panel { right: 8px; left: 8px; width: auto; bottom: calc(82px + env(safe-area-inset-bottom)); height: min(520px, calc(100dvh - 160px)); }
  .claudio.open.float { display: none; }
  .claudio.staged { width: 96px; }
  .claudio.staged .cl-bubble { left: 70%; max-width: 170px; }
  .toasts { bottom: calc(176px + env(safe-area-inset-bottom)); }
}
@media (min-width: 901px) { .toasts { right: 164px; } .page { padding-bottom: 110px; } }
@media (prefers-reduced-motion: reduce) { .cl-all, .cl-shadow, .cl-eyes, .cl-hat { animation: none !important; } }

/* Daily Pipeline: the founders' turn, with Claudio asking */
.feedback { display: grid; gap: 16px; border-color: rgba(217, 119, 87, 0.45); background: linear-gradient(160deg, rgba(217, 119, 87, 0.12), var(--glass) 45%); scroll-margin-top: 20px; }
.feedback-head { display: flex; align-items: flex-end; gap: clamp(14px, 3vw, 30px); padding-top: 56px; }
.feedback-head h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 4px; }
.claudio.inline { width: 118px; }
.claudio.inline .cl-figure { cursor: default; }
.claudio.inline .cl-figure:hover { transform: none; }
.claudio.inline .cl-bubble { cursor: default; left: 70%; bottom: 84%; max-width: min(300px, 58vw); }
.notes-list { display: grid; gap: 8px; }
.notes-list li form { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.notes-list li.done { opacity: 0.55; }
.notes-list li.done .note-body { text-decoration: line-through; }
.tick { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-2); background: none; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.tick:hover { border-color: var(--green-2); transform: scale(1.12); }
.done .tick { background: var(--green); border-color: var(--green); }
.note-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 5px; }
.note-body { font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .feedback-head { flex-direction: column; align-items: flex-start; padding-top: 64px; } .claudio.inline .cl-bubble { left: 60%; } }

/* Claudio in 3D: the canvas replaces the flat drawing */
.claudio.is3d .claudio-svg { display: none; }
.claudio-3d { display: block; width: 100%; }
.claudio.is3d .cl-figure { filter: drop-shadow(0 10px 26px rgba(212, 104, 63, 0.3)); }
.claudio.is3d.float { width: 176px; right: 8px; bottom: 4px; }
.claudio.is3d.staged { width: 210px; }
.claudio.is3d.inline { width: 170px; }
.claudio.is3d .cl-bubble { margin-right: 26px; margin-bottom: -18px; }
.claudio.is3d.staged .cl-bubble { margin: 0; bottom: 80%; left: 78%; }
.claudio.is3d.inline .cl-bubble { left: 70%; bottom: 86%; }
.claudio.is3d .cl-hide { bottom: 120px; right: 10px; }
.feedback-head { padding-top: 64px; }
@media (max-width: 900px) {
  .claudio.is3d.float { width: 112px; right: 2px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .claudio.is3d .cl-bubble { margin-right: 12px; margin-bottom: -10px; }
  .claudio.is3d .cl-hide { bottom: 78px; right: 4px; }
  .claudio.is3d.staged { width: 130px; } .claudio.is3d.inline { width: 124px; }
}
@media (min-width: 901px) { .cl-panel { bottom: 186px; } .toasts { right: 190px; } }

/* ---------- Daily Standup: the live meeting ---------- */
.meet { display: grid; gap: 18px; padding: clamp(16px, 2.2vw, 26px); border-color: var(--line-2); background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 60%), var(--glass); }
.meet-people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; }
.person { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 12px; border: 1px solid transparent; border-radius: 20px; background: none; color: var(--dim); font: inherit; cursor: pointer; transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease), color 0.25s; }
.person:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.person strong { font-size: 15px; font-weight: 600; color: #fff; }
.person small { font-size: 11.5px; text-align: center; line-height: 1.2; }
.person.speaking { background: rgba(255, 255, 255, 0.08); border-color: var(--line-2); transform: translateY(-6px); color: #fff; }
.p1 { --a: #ffd9a0; --b: #f08a5d; } .p2 { --a: #fff3c4; --b: #8fb4ff; } .p3 { --a: #b8fff0; --b: #2a9d8f; } .p4 { --a: #f4b183; --b: #7b4bd6; }
.sphere { position: relative; width: clamp(54px, 7vw, 84px); aspect-ratio: 1; margin: 14px 0 10px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0%, var(--a) 22%, var(--b) 78%); box-shadow: inset -8px -10px 22px rgba(0, 0, 0, 0.28), 0 12px 30px color-mix(in srgb, var(--b) 45%, transparent); animation: orb-idle 4.5s ease-in-out infinite; }
.person:nth-child(3) .sphere { animation-delay: -1.2s; } .person:nth-child(4) .sphere { animation-delay: -2.3s; } .person:nth-child(5) .sphere { animation-delay: -3.1s; }
@keyframes orb-idle { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.02); } }
.sphere i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--a); opacity: 0; }
.speaking .sphere { animation: orb-talk 0.62s ease-in-out infinite; }
@keyframes orb-talk { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.09, 0.95); } 65% { transform: scale(0.97, 1.06); } }
.playing .speaking .sphere i { animation: orb-ring 1.8s ease-out infinite; }
.speaking .sphere i:nth-child(2) { animation-delay: 0.6s; } .speaking .sphere i:nth-child(3) { animation-delay: 1.2s; }
@keyframes orb-ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.9); opacity: 0; } }
.host { display: block; width: clamp(96px, 12vw, 150px); margin-bottom: -4px; }
.host .claudio { width: 100% !important; }
.host .cl-figure { cursor: pointer; }
.meet-screen { position: relative; min-height: 290px; padding: clamp(18px, 2.4vw, 30px); border-radius: 22px; background: rgba(0, 0, 0, 0.42); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.meet-screen::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--a, #D97757), var(--b, #D97757)); }
.meet[data-who="0"] .meet-screen { --a: #EE9A78; --b: #D97757; } .meet[data-who="1"] .meet-screen { --a: #ffd9a0; --b: #f08a5d; } .meet[data-who="2"] .meet-screen { --a: #fff3c4; --b: #8fb4ff; } .meet[data-who="3"] .meet-screen { --a: #b8fff0; --b: #2a9d8f; } .meet[data-who="4"] .meet-screen { --a: #f4b183; --b: #7b4bd6; }
.meet-speaker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a, var(--dim)); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; }
.playing .eq i { animation: eq 0.7s ease-in-out infinite; } .eq i:nth-child(2) { animation-delay: 0.15s; } .eq i:nth-child(3) { animation-delay: 0.3s; } .eq i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.meet-screen h2 { font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.035em; line-height: 1.05; }
.meet-lines { display: grid; gap: 10px; max-width: 62ch; }
.meet-lines li { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.38; color: #6e6e76; transition: color 0.4s, transform 0.4s var(--ease); }
.meet-lines li.said { color: #c7c7cc; }
.meet-lines li.on { color: #fff; transform: translateX(6px); }
.meet-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.meet-stats li { display: grid; gap: 2px; min-width: 130px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); animation: rise 0.5s var(--ease) both; }
.meet-stats strong { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.meet-stats span { font-size: 12.5px; color: var(--dim); }
.meet-answer { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.meet-answer .bubble { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.meet-answer-by { font-size: 13px; color: var(--dim); }
.meet-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.meet-bar .btn .ic { fill: none; }
.meet-steps { flex: 1; min-width: 120px; display: flex; gap: 5px; }
.meet-steps li { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.meet-steps li.done { background: #fff; }
.meet-steps li.now i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 5px; animation: step 1.6s ease-in-out infinite; }
@keyframes step { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.meet-voice { font-size: 14px; }
.meet.hand { border-color: #D97757; box-shadow: 0 0 0 1px #D97757, 0 0 60px rgba(217, 119, 87, 0.25); }
.meet-ask { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(217, 119, 87, 0.1); border: 1px solid rgba(217, 119, 87, 0.45); animation: rise 0.35s var(--ease) both; }
.meet-ask .form-end { align-items: center; }
.recorded summary { cursor: pointer; font-size: 14px; color: var(--dim); padding: 6px 0; }
.recorded summary:hover { color: #fff; }
.recorded .player { margin-top: 10px; }
@media (max-width: 640px) { .meet-people { gap: 2px; } .person small { display: none; } .person strong { font-size: 12.5px; } .meet-screen { min-height: 250px; } .meet-steps { order: 5; flex-basis: 100%; } }

/* on the standup page the floating Claudio steps aside for the meeting controls */
@media (min-width: 901px) { body:has(#meet) .claudio.is3d.float { width: 124px; } body:has(#meet) .meet-bar { padding-right: 96px; } }
.meet-ask[hidden], .meet-answer[hidden] { display: none; }

/* Claudio, larger */
.claudio.is3d.float { width: 236px; right: 4px; bottom: 0; }
.claudio.is3d.staged { width: 270px; }
.claudio.is3d.inline { width: 210px; }
.host { width: clamp(120px, 15vw, 190px); }
.claudio.is3d .cl-bubble { margin-right: 40px; margin-bottom: -26px; font-size: 14.5px; }
.claudio.is3d .cl-hide { bottom: 170px; right: 14px; }
.feedback-head { padding-top: 70px; }
@media (min-width: 901px) { .cl-panel { bottom: 232px; } .toasts { right: 250px; } .page { padding-bottom: 150px; } body:has(#meet) .claudio.is3d.float { width: 170px; } body:has(#meet) .meet-bar { padding-right: 140px; } }
@media (max-width: 900px) {
  .claudio.is3d.float { width: 148px; right: 0; bottom: calc(74px + env(safe-area-inset-bottom)); }
  .claudio.is3d .cl-bubble { margin-right: 18px; margin-bottom: -14px; font-size: 13px; }
  .claudio.is3d .cl-hide { bottom: 108px; right: 6px; }
  .claudio.is3d.staged { width: 170px; } .claudio.is3d.inline { width: 150px; }
  .cl-panel { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

.claudio.is3d .cl-figure { filter: drop-shadow(0 12px 30px rgba(255, 122, 51, 0.42)); }
.cl-bubble { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 122, 51, 0.7); }
.cl-bubble::after { box-shadow: 2px 2px 0 rgba(255, 122, 51, 0.7); }

/* Claudio, a size down */
.claudio.is3d.float { width: 188px; }
.claudio.is3d.staged { width: 220px; }
.claudio.is3d.inline { width: 176px; }
.host { width: clamp(110px, 13vw, 165px); }
.claudio.is3d .cl-bubble { margin-right: 30px; margin-bottom: -20px; }
.claudio.is3d .cl-hide { bottom: 134px; right: 10px; }
@media (min-width: 901px) { .cl-panel { bottom: 190px; } .toasts { right: 204px; } .page { padding-bottom: 120px; } body:has(#meet) .claudio.is3d.float { width: 150px; } body:has(#meet) .meet-bar { padding-right: 120px; } }
@media (max-width: 900px) {
  .claudio.is3d.float { width: 118px; }
  .claudio.is3d .cl-bubble { margin-right: 14px; margin-bottom: -10px; }
  .claudio.is3d .cl-hide { bottom: 84px; right: 4px; }
  .claudio.is3d.staged { width: 140px; } .claudio.is3d.inline { width: 128px; }
}

.split.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .split.two { grid-template-columns: minmax(0, 1fr); } }

div.who:hover { background: none; }
.mtop form { display: contents; }

/* Everything one size down, so more fits on a laptop and on a phone */
body { zoom: 0.88; min-height: calc(100dvh / 0.88); }
.login { min-height: calc(100dvh / 0.88); }
.chat { height: max(420px, calc(100dvh / 0.88 - 300px)); }
.frame { height: max(520px, calc(100vh / 0.88 - 230px)); }
.cl-panel { height: min(560px, calc(100dvh / 0.88 - 220px)); }
@media (max-width: 900px) { body { zoom: 0.9; min-height: calc(100dvh / 0.9); } .login { min-height: calc(100dvh / 0.9); } .chat { height: max(380px, calc(100dvh / 0.9 - 330px)); } .cl-panel { height: min(520px, calc(100dvh / 0.9 - 180px)); } .drawer { max-height: calc(88dvh / 0.9); } }
@media (max-width: 640px) {
  .meet-people { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
  .host { width: 100%; max-width: 92px; }
  .sphere { width: clamp(40px, 12vw, 54px); margin: 8px 0 8px; }
  body:has(#meet) .claudio.is3d.float { width: 92px; }
  body:has(#meet) .claudio.is3d.float .cl-bubble { max-width: 160px; font-size: 12.5px; }
}

/* Daily Standup: sound gate, absent presenters, key points, day picker */
.meet-gate { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 12px 20px; border-radius: 999px; border: 1px solid #ff7a33; background: rgba(255, 122, 51, 0.16); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; animation: pulse 1.6s ease-in-out infinite; }
.meet-gate[hidden] { display: none; }
.person.away { opacity: 0.32; cursor: default; }
.person.away:hover { background: none; color: var(--dim); }
.person.away .sphere { animation: none; filter: grayscale(0.8); }
.meet-points { display: flex; flex-wrap: wrap; gap: 8px; }
.meet-points:empty, .meet-stats:empty { display: none; }
.meet-points li { padding: 7px 13px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: #e8e8ed; background: color-mix(in srgb, var(--b, #fff) 16%, transparent); border: 1px solid color-mix(in srgb, var(--a, #fff) 38%, transparent); animation: rise 0.5s var(--ease) both; }
.meet-lines { max-height: 300px; overflow-y: auto; scrollbar-width: none; }
.meet-lines::-webkit-scrollbar { display: none; }
.daybar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.daybar .eyebrow { margin: 0 10px 0 0; }
.daybar .icon-btn { text-decoration: none; font-size: 18px; border: 1px solid var(--line); }
.daybar .icon-btn.off { opacity: 0.3; pointer-events: none; }
.daypick { min-height: 40px; font-weight: 600; }
.cal { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: 318px; max-width: calc(100vw / 0.9 - 40px); padding: 14px; border-radius: 20px; background: rgba(20, 20, 22, 0.97); border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); animation: drop 0.25s var(--ease) both; }
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 11px; font-weight: 600; color: var(--dim); text-align: center; padding: 4px 0; }
.cal-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: 13.5px; color: #55555c; text-decoration: none; font-variant-numeric: tabular-nums; }
.cal-day.has { color: #fff; font-weight: 600; background: rgba(53, 178, 74, 0.2); border: 1px solid rgba(127, 227, 145, 0.5); transition: transform 0.2s var(--ease), background-color 0.2s; }
.cal-day.has:hover { background: var(--green); transform: scale(1.12); }
.cal-day.sel { background: #fff; color: #000; border-color: #fff; }
.cal-day.today:not(.sel) { box-shadow: 0 0 0 2px #ff7a33; }
.cal-foot { margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.cal-foot a { color: #fff; }
/* Dashboards: straight to the dashboard */
.dash-head h1 { font-size: clamp(22px, 2.4vw, 30px); }
.dash-head .pill { vertical-align: 2px; }
.dash-head + .frame, .dash-head ~ .frame { height: max(560px, calc(100vh / 0.88 - 190px)); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; overflow-wrap: anywhere; }
.meet-lines { padding-left: 2px; }
.meet-lines li.on { transform: none; padding-left: 10px; border-left: 3px solid var(--a, #fff); margin-left: -13px; }
.cal { background: #141416; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Daily Standup: the words on the left, what they are about on the right */
.meet-text { display: grid; gap: 14px; align-content: start; min-width: 0; }
.meet-visual { display: grid; gap: 12px; align-content: start; min-width: 0; }
.meet-visual[hidden] { display: none; }
.meet-visual img { width: 100%; border-radius: 18px; border: 1px solid var(--line); background: #050506; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(8px) scale(0.985); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.meet-visual img.in { opacity: 1; transform: none; }
.meet-cards { display: grid; gap: 8px; }
.meet-cards:empty { display: none; }
.meet-cards li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); animation: rise 0.45s var(--ease) both; }
.cc-av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; font-size: 13px; font-weight: 700; color: #000; background: linear-gradient(140deg, var(--a, #fff), var(--b, #bbb)); }
.cc-body { flex: 1; min-width: 0; display: grid; }
.cc-body strong { font-size: 15px; } .cc-body small { font-size: 12.5px; color: var(--dim); }
@media (min-width: 1100px) { .meet.has-visual .meet-screen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 28px; align-items: start; } }

/* Dashboards: the dashboard takes the whole page */
.page:has(.dash-head) { max-width: none; padding-top: 14px; padding-bottom: 16px; gap: 10px; }
.dash-head { align-items: center; }
.dash-head .eyebrow { display: none; }
.dash-head h1 { font-size: 20px; letter-spacing: -0.02em; display: inline; margin-right: 12px; }
.dash-head p { display: inline; font-size: 13px; }
.dash-head ~ .frame { height: calc(100vh / 0.88 - 132px); min-height: 480px; border-radius: 16px; }
.manage-row { margin: 8px 0 12px; }
@media (max-width: 900px) { .dash-head ~ .frame { height: calc(100dvh / 0.9 - 250px); } }

/* Daily Standup: a photograph of what is being talked about */
.meet-photo { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.meet-photo.in { opacity: 1; transform: none; }
.meet-photo[hidden] { display: none; }
.meet-photo img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 30%; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
.meet-photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cc-av.pic { padding: 0; overflow: hidden; width: 72px; height: 46px; background: #fff; }
.cc-av.pic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
#meet-play[hidden] { display: none; }
/* Overview: who has signed in */
.access-list { display: grid; gap: 6px; margin-bottom: 10px; }
.access-list li { display: grid; grid-template-columns: 110px 1fr 1fr 1fr; gap: 12px; font-size: 14px; }
@media (max-width: 700px) { .access-list li { grid-template-columns: 1fr 1fr; } }

.meet:not(.playing) .person.speaking .sphere { animation: orb-idle 4.5s ease-in-out infinite; }
.person { user-select: none; -webkit-user-select: none; }

/* Dashboards: the outreach dashboard, in the portal's own design */
.od-head { align-items: flex-end; }
#od { display: grid; gap: 16px; }
.od-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.od-kpis .stat { cursor: default; }
.od-kpis .stat-value { font-size: clamp(26px, 2.6vw, 38px); }
@media (max-width: 1250px) { .od-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .od-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.od-donut { display: flex; align-items: center; gap: 18px; }
.od-total { font-size: 26px; font-weight: 700; fill: #fff; }
.od-cap { font-size: 8.5px; letter-spacing: 1.5px; fill: #a1a1a6; }
.od-legend { flex: 1; display: grid; gap: 6px; font-size: 14.5px; }
.od-legend li { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 10px; }
.od-legend li.click { cursor: pointer; } .od-legend li.click:hover { background: rgba(255, 255, 255, 0.07); }
.od-legend li.off { opacity: 0.35; }
.od-legend strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.od-bars { display: flex; align-items: flex-end; gap: 12px; height: 160px; }
.od-bar { flex: 1; display: grid; justify-items: center; gap: 6px; align-content: end; max-width: 90px; }
.od-bar i { display: block; width: 70%; height: 0; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #8fb4ff, #3f6fd1); transition: height 0.9s var(--ease); }
.od-bar strong { font-size: 13px; color: #a8c9ff; } .od-bar span { font-size: 11.5px; color: var(--dim); }
.od-funnel { display: grid; gap: 9px; justify-items: center; }
.od-funnel li { display: flex; justify-content: space-between; align-items: center; width: 34%; min-width: 180px; padding: 11px 16px; border-radius: 13px; font-size: 14.5px; font-weight: 600; color: #fff; background: color-mix(in srgb, var(--c) 30%, #161618); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); transition: width 1s var(--ease); white-space: nowrap; overflow: hidden; }
.od-segs { display: grid; gap: 8px; }
.od-segs li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 26px; gap: 12px; align-items: center; font-size: 14px; }
.od-segs i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #35b24a, #7fe391); }
.od-segs strong { text-align: right; font-variant-numeric: tabular-nums; }
.od-table-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 6px; }
.od-table-head input { width: min(340px, 100%); min-height: 38px; border-radius: 999px; font-size: 14px; padding: 6px 14px; }
.od-row { cursor: pointer; } .od-row:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.od-shot { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.od-list { list-style: disc; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.od-angle { padding: 12px 14px; border-radius: 14px; background: rgba(53, 178, 74, 0.12); border: 1px solid rgba(53, 178, 74, 0.4); font-size: 14.5px; }

/* anything marked hidden stays hidden, whatever its layout (Claudio's chat panel closes with this) */
[hidden] { display: none !important; }

/* Quotes & Invoices */
.r { text-align: right; }
.table th.r, .table td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-new { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.doc-kind { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: #fff; transition: transform 0.25s var(--ease), border-color 0.25s; }
.doc-kind:hover { transform: translateY(-2px); border-color: var(--line-2); }
.doc-kind > span:nth-child(2) { display: grid; flex: 1; min-width: 0; } .doc-kind strong { font-size: 15px; } .doc-kind small { font-size: 12.5px; }
.doc-kind > .ic { width: 18px; height: 18px; opacity: 0.6; }
@media (max-width: 1250px) { .doc-new { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .doc-new { grid-template-columns: minmax(0, 1fr); } }
.doc-search { width: min(320px, 100%); min-height: 38px; border-radius: 999px; font-size: 14px; padding: 6px 14px; margin-left: auto; }
.narrow.doc-edit { max-width: 1040px; }
.doc-lines { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.doc-items { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.doc-items th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); padding: 0 6px 2px; }
.doc-items th.r { text-align: right; }
.doc-items td { padding: 0 3px; vertical-align: top; }
.doc-items td:first-child { width: 38%; } .doc-items td:nth-child(3) { width: 9%; } .doc-items td:nth-child(4) { width: 9%; } .doc-items td:nth-child(5) { width: 12%; }
.doc-items input, .doc-items textarea { width: 100%; min-height: 42px; padding: 9px 11px; font-size: 14.5px; border-radius: 11px; }
.doc-items textarea { resize: vertical; line-height: 1.35; }
.doc-items input.r { text-align: right; font-variant-numeric: tabular-nums; }
.doc-items .amt { padding: 11px 8px 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 96px; }
.doc-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)) 1fr; gap: 14px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.doc-sum input { text-align: right; }
.doc-total { display: grid; gap: 4px; justify-self: end; min-width: 240px; }
.doc-total div { display: flex; justify-content: space-between; gap: 24px; color: var(--dim); font-variant-numeric: tabular-nums; }
.doc-total .big { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.form fieldset.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .doc-items thead { display: none; } .doc-items, .doc-items tbody { display: block; }
  .doc-items tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; }
  .doc-items td { display: grid; gap: 4px; padding: 0; width: auto !important; } .doc-items td:first-child { grid-column: 1 / -1; }
  .doc-items td[data-l]::before { content: attr(data-l); font-size: 12px; color: var(--dim); }
  .doc-items .amt { padding: 0; align-content: center; } .doc-items td:last-child { justify-items: end; align-content: end; }
  .doc-sum { grid-template-columns: 1fr 1fr; } .doc-total { grid-column: 1 / -1; justify-self: stretch; }
}
.doc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.doc-steps, .doc-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.doc-steps .chip.picked { background: #fff; color: #000; border-color: #fff; }
/* the document itself: a sheet of paper inside the dark page */
.sheet { width: 100%; max-width: 900px; margin: 0 auto; background: #fff; color: #1a1a1d; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); font-size: 14.5px; line-height: 1.5; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 44px; background: #0b0b0d; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet-top img { height: 58px; width: auto; }
.sheet-top div { text-align: right; } .sheet-top h2 { font-size: 26px; letter-spacing: -0.02em; color: #fff; } .sheet-top p { color: #7fe391; font-weight: 600; letter-spacing: 0.04em; }
.sheet-body { padding: 34px 44px 28px; display: grid; gap: 24px; }
.sheet h3 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #6e6e73; font-weight: 600; margin-bottom: 5px; }
.sheet-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.sheet-parties p, .sheet-foot p { color: #333336; overflow-wrap: anywhere; } .sheet strong { color: #000; }
.sheet-meta { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid #e2e2e6; border-radius: 12px; overflow: hidden; }
.sheet-meta div { flex: 1 1 130px; padding: 10px 14px; border-right: 1px solid #e2e2e6; margin-right: -1px; border-bottom: 1px solid #e2e2e6; margin-bottom: -1px; }
.sheet-meta dt { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: #6e6e73; } .sheet-meta dd { font-weight: 600; color: #000; }
.sheet-items { width: 100%; border-collapse: collapse; }
.sheet-items th { text-align: left; font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: #fff; background: #1f8f35; padding: 9px 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet-items th:first-child { border-radius: 8px 0 0 8px; width: 34px; } .sheet-items th:last-child { border-radius: 0 8px 8px 0; }
.sheet-items td { padding: 11px 12px; border-bottom: 1px solid #ececef; vertical-align: top; color: #1a1a1d; }
.sheet-items .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-items small { display: block; color: #6e6e73; font-size: 12.5px; }
.sheet-items tr { break-inside: avoid; }
.sheet-totals { justify-self: end; min-width: 290px; display: grid; gap: 5px; break-inside: avoid; }
.sheet-totals div { display: flex; justify-content: space-between; gap: 30px; color: #333336; font-variant-numeric: tabular-nums; }
.sheet-totals .big { margin-top: 5px; padding: 11px 14px; border-radius: 10px; background: #f1f8f2; border: 1px solid #bfe3c5; color: #000; font-size: 19px; font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; font-size: 13.5px; break-inside: avoid; }
.sheet-sign { display: flex; gap: 60px; padding-top: 34px; break-inside: avoid; }
.sheet-sign div { flex: 0 1 250px; } .sheet-sign i { display: block; border-top: 1px solid #1a1a1d; margin-bottom: 6px; } .sheet-sign span { font-size: 12.5px; color: #333336; }
.sheet-end { padding: 14px 44px; border-top: 1px solid #ececef; color: #6e6e73; font-size: 12px; text-align: center; }
@media (max-width: 640px) { .sheet-top, .sheet-body { padding-left: 20px; padding-right: 20px; } .sheet-top { padding-top: 18px; padding-bottom: 18px; } .sheet-top img { height: 40px; } .sheet-top h2 { font-size: 19px; } .sheet-items th:nth-child(4), .sheet-items td:nth-child(4) { display: none; } .sheet-sign { gap: 24px; } }
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; } body { zoom: 1 !important; min-height: 0 !important; padding: 0 !important; }
  .side, .mtop, .aurora, #claudio, .claudio, .cl-tab, .cl-panel, .toasts, .flash, .no-print, .skip, .bnav { display: none !important; }
  .page { display: block; max-width: none; padding: 0 !important; margin: 0; animation: none; }
  .sheet { max-width: none; border-radius: 0; box-shadow: none; font-size: 12.5px; }
  .sheet-top { padding: 18px 26px; border-radius: 10px; } .sheet-body { padding: 22px 4px 10px; gap: 18px; } .sheet-end { padding: 10px 0 0; }
}
.doc-mini { display: grid; gap: 2px; }
.doc-mini li a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; text-decoration: none; color: #fff; }
.doc-mini li a:hover { background: rgba(255, 255, 255, 0.07); }
.doc-mini .grow { flex: 1; min-width: 0; display: grid; } .doc-mini small { color: var(--dim); }

.doc-items input.cost { border-style: dashed; color: #ffd9a8; }
.doc-items td:nth-child(5) { width: 11%; }
.doc-margin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 12px 16px; max-width: 900px; width: 100%; margin: 0 auto; border-style: dashed; }
.doc-margin dl { display: flex; flex-wrap: wrap; gap: 6px 28px; } .doc-margin dt { font-size: 12px; color: var(--dim); } .doc-margin dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.doc-margin .big dd { color: var(--green-2); } .doc-margin p { flex-basis: 100%; }
@media (max-width: 900px) { .nav { overflow-x: auto; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } .nav a { flex: 0 0 62px; } }

/* Sourcing and Contacts */
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 640px) { .stats.three { grid-template-columns: minmax(0, 1fr); } }
.toolbar .doc-search { margin-left: auto; }
.sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.sup { display: grid; gap: 8px; align-content: start; } .sup .card-head { margin-bottom: 0; } .sup .form-end { margin-top: 6px; }
.how { display: grid; gap: 12px; counter-reset: how; }
.how li { counter-increment: how; position: relative; padding-left: 42px; color: #d2d2d7; font-size: 14.5px; }
.how li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(53, 178, 74, 0.2); border: 1px solid rgba(127, 227, 145, 0.45); color: #fff; }
.how strong { color: #fff; }
.rfq-list { display: grid; gap: 8px; }
.rfq-list details { border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; } .rfq-list summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rfq-list details[open] { display: grid; gap: 10px; } .rfq-list h3 { font-size: 13px; color: var(--dim); }
.co-groups { display: grid; gap: 22px; }
.co-group h2 { font-size: 17px; margin-bottom: 10px; } .co-group h2 a { color: #fff; text-decoration: none; } .co-group h2 a:hover { text-decoration: underline; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.person-card { display: flex; align-items: center; gap: 13px; padding: 14px 16px; text-decoration: none; color: #fff; transition: transform 0.25s var(--ease), border-color 0.25s; }
.person-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.person-card .grow { display: grid; min-width: 0; } .person-card small { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av.big { width: 64px; height: 64px; font-size: 22px; } .who-big { display: flex; align-items: center; gap: 16px; }

.toolbar > input.doc-search { max-width: 420px; }

.prod-pic { width: 88px; text-align: center; } .prod-pic img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: block; transition: transform 0.25s var(--ease); }
.prod-pic a:hover img { transform: scale(1.06); } .prod-pic img.rel { opacity: 0.85; } .prod-pic small { font-size: 10.5px; } .prod-pic .t-ico { width: 72px; height: 72px; border-radius: 12px; display: inline-grid; place-items: center; }
.prod-pic img { min-width: 72px; }

/* the side menu always fits the window: the sections scroll inside it if the window is short, the account stays at the bottom */
@media (min-width: 901px) {
  .side > * { flex: none; }
  .side .nav { flex: 0 1 auto; min-height: 0; overflow-y: auto; margin: 0 -12px; padding: 1px 12px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
  .side-end { padding-top: 10px; }
}
@media (min-width: 901px) and (max-height: 900px) {
  .side { gap: 10px; padding-top: 12px; padding-bottom: 8px; }
  .side .brand img { height: 38px; }
  .side .nav { gap: 1px; } .side .nav a { min-height: 38px; font-size: 14.5px; }
  .side .kbtn { min-height: 36px; } .side .new { min-height: 40px; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .side { gap: 7px; } .side .brand img { height: 32px; } .side .nav a { min-height: 34px; font-size: 14px; } .side .new { min-height: 36px; } .side-end { padding-top: 6px; }
}
@media (min-width: 901px) and (max-height: 900px) { .side .badge { margin-top: -2px; } }
@media (min-width: 901px) and (min-height: 721px) and (max-height: 900px) { .side .nav { gap: 5px; } .side .nav a { min-height: 43px; font-size: 15.5px; } .side .nav .ic { width: 21px; height: 21px; } }
@media (min-width: 901px) and (min-height: 901px) { .side .nav { gap: 6px; } .side .nav a { min-height: 46px; font-size: 15.5px; } }

.nav-more, .more-sheet { display: none; }

/* ============ PHONE ============ one simple layout for small screens; nothing here applies on a computer */
@media (max-width: 900px) {
  /* bottom bar: four sections and More */
  .side { inset: auto 0 0 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border-width: 1px 0 0; background: rgba(12, 12, 14, 0.94); }
  .nav { overflow: visible; gap: 4px; }
  .nav a { display: none; flex: 1 1 0; min-height: 56px; font-size: 11.5px; }
  .nav a.pri { display: flex; }
  .nav a .ic, .nav-more .ic { width: 24px; height: 24px; }
  .nav a[aria-current]::after { display: none; }
  .nav-more { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border: 0; border-radius: 16px; background: none; color: #d2d2d7; font: inherit; font-size: 11.5px; font-weight: 500; cursor: pointer; }
  .nav-more .ic { fill: currentColor; stroke: none; }
  .nav-more.on, .nav-more.open { background: linear-gradient(100deg, rgba(53, 178, 74, 0.3), rgba(53, 178, 74, 0.06)); color: #fff; box-shadow: inset 0 0 0 1px rgba(127, 227, 145, 0.35); }
  .nav-more .nbadge { position: absolute; top: 4px; right: 18%; }
  .more-sheet:not([hidden]) { display: block; position: fixed; z-index: 29; inset: 0; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .more-grid { position: absolute; left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(20, 20, 23, 0.98); animation: rise 0.25s var(--ease) both; }
  .more-grid a, .more-grid button { position: relative; width: 100%; display: grid; justify-items: center; gap: 7px; padding: 16px 6px 13px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; font-size: 13.5px; font-weight: 500; text-decoration: none; text-align: center; cursor: pointer; }
  .more-grid .ic { width: 25px; height: 25px; }
  .more-grid a[aria-current] { border-color: rgba(127, 227, 145, 0.5); background: rgba(53, 178, 74, 0.2); }
  .more-grid .nbadge { position: absolute; top: 8px; right: 12px; }
  .more-grid form { display: contents; }
  body.app { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mtop { padding: 6px 12px; } .mtop .brand img { height: 32px; } .mtop .icon-btn { display: none; } .mtop form { display: none; }

  /* page: tighter, one column, shorter headings */
  .page { padding: 16px 14px 40px; gap: 14px; }
  h1 { font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; }
  .card h2, section > h2 { font-size: 18px; }
  .head-row { display: grid; gap: 10px; align-items: start; }
  .head-row > div > p.dim { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
  .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .row-actions > .btn, .row-actions > form, .row-actions > form > .btn, .head-row > .btn { flex: 1 1 auto; justify-content: center; }
  .btn { min-height: 46px; } .btn.sm { min-height: 40px; }
  .card { padding: 16px; border-radius: 20px; }
  .split, .split.two, .split.three, .split.deal { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .crumb { font-size: 14px; }

  /* numbers: two small tiles per row */
  .stats, .stats.three, .od-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stats.three li:last-child { grid-column: 1 / -1; }
  .stat { padding: 13px 14px; gap: 2px; min-height: 0; }
  .stat-label { font-size: 12.5px; } .stat-value, .od-kpis .stat-value { font-size: 25px; } .stat-value small { font-size: 12px; }
  .stat .dim.small, .stat-more { font-size: 11.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* tabs and filters scroll sideways instead of wrapping */
  .toolbar { display: grid; gap: 10px; }
  .seg { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; } .seg::-webkit-scrollbar { display: none; }
  .seg a { flex: none; white-space: nowrap; min-height: 40px; }
  .toolbar > input.doc-search, .doc-search, .od-table-head input { width: 100%; max-width: none; margin: 0; min-height: 44px; }
  .chips-row, .chips { flex-wrap: wrap; }

  /* tables become simple stacked rows */
  .table-wrap { overflow: visible; }
  .table thead { display: none; }
  .table, .table tbody { display: block; }
  .table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .table tr:last-child { border-bottom: 0; }
  .table td { display: block; padding: 0; border: 0; font-size: 14px; color: var(--dim); grid-column: 1; min-width: 0; }
  .table td:empty { display: none; }
  .table td:first-child { color: #fff; font-size: 15.5px; }
  .table td.r, .table td:last-child { grid-column: 2; grid-row: 1; text-align: right; align-self: start; color: #fff; }
  .table td.r ~ td.r { grid-row: 2; }
  .table td[colspan] { grid-column: 1 / -1; }
  #od-rows td:nth-child(1), #od-rows td:nth-child(4) { display: none; }
  #od-rows td:nth-child(2) { color: #fff; font-size: 15.5px; }
  #doc-list td:nth-child(2), #doc-list td:nth-child(4) { display: none; }
  #inv-list tr { grid-template-columns: 64px minmax(0, 1fr) auto; }
  #inv-list td { grid-column: 2; } #inv-list td.prod-pic { grid-column: 1; grid-row: 1 / span 4; width: auto; } #inv-list td.r, #inv-list td:last-child { grid-column: 3; }
  #inv-list td:nth-child(2) { color: #fff; font-size: 15.5px; } #inv-list td:nth-child(7), #inv-list td:nth-child(5) { display: none; }
  .prod-pic img, .prod-pic .t-ico { width: 60px; height: 60px; min-width: 60px; }

  /* dashboards */
  .od-head .row-actions { display: block; }
  .od-donut { gap: 14px; } .od-bars { height: 130px; }
  .od-segs li { grid-template-columns: minmax(0, 46%) minmax(0, 1fr) 22px; font-size: 13px; }
  .od-funnel li { min-width: 0; font-size: 13.5px; padding: 9px 12px; }
  .od-table-head { padding: 14px 14px 4px; }

  /* CRM: one stage per screen, swipe between stages */
  .board-hint { display: none; }
  .board { grid-auto-columns: 86%; gap: 10px; scroll-snap-type: x mandatory; margin-inline: -14px; padding-inline: 14px; scroll-padding-inline: 14px; scrollbar-width: none; }
  .board::-webkit-scrollbar { display: none; } .board > * { scroll-snap-align: start; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; } .filters select, .filters .btn, .toolbar > a.btn { display: none; }
  .filters input[type=search] { width: 100%; min-height: 44px; }
  .path { overflow-x: auto; scrollbar-width: none; }

  /* Daily Standup */
  .daybar { flex-wrap: wrap; gap: 8px; }
  .day-admin { display: none; }

  /* documents */
  .doc-new { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .doc-kind { padding: 12px; gap: 8px; } .doc-kind .t-ico, .doc-kind small { display: none; } .doc-kind strong { font-size: 14px; }
  .doc-bar { display: grid; gap: 10px; } .doc-next form, .doc-next .btn { flex: 1 1 auto; } .doc-next .btn { width: 100%; justify-content: center; }
  .doc-margin dl { gap: 6px 18px; }
  .sheet { border-radius: 12px; font-size: 13px; } .sheet-body { padding: 20px 16px 16px; gap: 18px; } .sheet-top { padding: 16px; } .sheet-top img { height: 36px; } .sheet-top h2 { font-size: 17px; }
  .sheet-items th, .sheet-items td { padding: 8px 6px; } .sheet-totals { min-width: 0; width: 100%; } .sheet-end { padding: 12px 16px; }

  /* contacts and sourcing */
  .people, .sup-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .who-big { gap: 12px; } .av.big { width: 52px; height: 52px; font-size: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }

  /* Claudio stays out of the way: a small figure above the bar, no speech bubbles over the page */
  .claudio.float { width: 64px; right: 6px; bottom: calc(88px + env(safe-area-inset-bottom)); }
  .claudio.float .cl-bubble, .claudio.float .cl-hide { display: none !important; }
  .cl-tab { display: none !important; }
  .cl-panel { left: 0; right: 0; bottom: 0; top: 52px; width: auto; height: auto; border-radius: 22px 22px 0 0; z-index: 60; }
  .toasts { left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); }
  .drawer { border-radius: 22px 22px 0 0; }
  .access-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: 13px; }
}

/* CRM board: scroll bar on top, compact cards, five per stage until asked for more */
.board-scroll { overflow-x: auto; overflow-y: hidden; height: 14px; margin-bottom: -6px; scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.06); }
.board-scroll i { display: block; height: 1px; }
.board-scroll::-webkit-scrollbar { height: 10px; } .board-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.32); border-radius: 6px; } .board-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.06); border-radius: 6px; }
.board { scrollbar-width: none; padding-bottom: 12px; } .board::-webkit-scrollbar { display: none; }
.deal-card { padding: 9px 11px; gap: 1px; border-radius: 12px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.deal-card .co { order: -1; grid-column: 1; font-size: 14.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-card strong { grid-column: 1; font-size: 12.5px; font-weight: 500; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-card .meta { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; justify-content: flex-end; }
.deal-card .meta b { display: none; } .deal-card .av { margin-left: 0; width: 22px; height: 22px; }
.deal-card.beyond { display: none; }
.more-row { display: flex; gap: 6px; padding: 0 10px 10px; }
.more-row button { flex: 1; min-height: 34px; border-radius: 10px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.04); color: #d2d2d7; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.more-row button:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (max-width: 900px) { .board-scroll { display: none; } }
.deal-card .meta { flex-direction: column; align-items: flex-end; gap: 1px; } .deal-card .meta b { display: inline; font-size: 12.5px; } .deal-card .av { display: none; }
@media (max-width: 900px) {
  body .claudio.is3d.float, body:has(#meet) .claudio.is3d.float, body .claudio.float { width: 62px; right: 6px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .claudio.staged .cl-bubble { display: none !important; }
  .head-row > .btn { width: 100%; }
}

/* never flash the flat Claudio before the 3D one is ready */
.claudio:not(.is3d):not(.no3d) .claudio-svg { visibility: hidden; }
.claudio.is3d .cl-figure canvas { animation: cl-in 0.35s ease both; } @keyframes cl-in { from { opacity: 0; } }
/* side menu: logo and badge centred */
@media (min-width: 901px) {
  .side > .brand { display: flex; justify-content: center; align-self: stretch; }
  .side .brand img { margin-left: 0; height: 54px; }
  .side > .badge { align-self: center; margin-left: 0; margin-right: 0; }
}
@media (min-width: 901px) and (max-height: 900px) { .side .brand img { height: 46px; } }
@media (min-width: 901px) and (max-height: 720px) { .side .brand img { height: 36px; } }
@media (min-width: 901px) { .side .brand img { height: 68px; } }
@media (min-width: 901px) and (max-height: 900px) { .side .brand img { height: 60px; } }
@media (min-width: 901px) and (max-height: 720px) { .side .brand img { height: 44px; } }

/* Inbox */
.mail-list { padding: 4px; display: grid; }
.mail-row { display: flex; align-items: flex-start; gap: 13px; padding: 13px 14px; border-radius: 14px; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: background-color 0.15s; }
.mail-row:last-child { border-bottom: 0; } .mail-row:hover { background: rgba(255, 255, 255, 0.06); }
.mail-row .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mail-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; } .mail-top strong { font-size: 15px; }
.mail-sub { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mail-when { white-space: nowrap; padding-top: 2px; }
.mail-body { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; max-width: 78ch; }
.mail-sum { display: grid; gap: 8px; justify-items: start; border-style: dashed; } .mail-sum p { font-size: 15px; }
.mail-wait { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.mail-form textarea { line-height: 1.5; font-size: 15px; }
.draft summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; } .draft[open] { display: grid; gap: 14px; } .draft[open] summary { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .mail-row { padding: 12px 10px; gap: 10px; } .mail-when { font-size: 11.5px; } .mail-wait .btn { width: 100%; justify-content: center; } }

/* Claudio's report */
.report { display: grid; gap: 2px; }
.report li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 14.5px; line-height: 1.45; }
.report li:last-child { border-bottom: 0; } .report .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; } .report .pill { flex: none; margin-top: 1px; } .report .dim { white-space: nowrap; padding-top: 2px; }
.report-day { font-weight: 600; color: var(--dim); font-size: 13px !important; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 16px !important; }
@media (max-width: 900px) { .report li { flex-wrap: wrap; gap: 6px 10px; } .report .grow { flex-basis: 100%; order: 3; } }

/* New Leads: rows that open a quick view */
.lead-row { cursor: pointer; } .lead-row:focus-visible { outline: 2px solid #fff; outline-offset: -2px; } .lead-row.off { opacity: 0.55; }
.lead-side { display: grid; gap: 8px; justify-items: end; flex: none; } .lead-side .lead-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lead-msg { max-height: 46vh; overflow: auto; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 900px) { .lead-row { flex-wrap: wrap; } .lead-side { flex-basis: 100%; justify-items: stretch; padding-left: 45px; } .lead-side .lead-actions { justify-content: flex-start; } }
.seg .nbadge { position: static !important; display: inline-grid; margin-left: 6px; min-width: 20px; height: 20px; font-size: 11px; vertical-align: middle; }

.origin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0; }
.mini .wide { grid-column: 1 / -1; }

/* New Leads: colour says where the conversation stands (bar and first tag) and where the lead came from (second tag) */
.lead-row { position: relative; padding-left: 20px; }
.lead-row::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: var(--bar, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--bar, transparent) 60%, transparent); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.lead-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 -4px; } .lead-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lead-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.chip.origin { border-color: color-mix(in srgb, var(--c) 45%, transparent); color: color-mix(in srgb, var(--c) 70%, #fff); } .chip.origin.picked { background: color-mix(in srgb, var(--c) 28%, transparent); border-color: var(--c); color: #fff; }
.lead-focus { display: grid; gap: 8px; padding: 16px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 13%, transparent), rgba(255, 255, 255, 0.03)); }
.lead-focus h3 { margin: 0; color: color-mix(in srgb, var(--c) 70%, #fff); }
.lead-focus .lead-msg { max-height: 52vh; padding: 0; border: 0; background: none; font-size: 16px; line-height: 1.6; color: #fff; }

.pill.from { background: transparent; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); padding: 2px 9px; }

.report-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; } .report-link .nbadge { position: static !important; margin-left: 4px; }
/* Claude page: big tiles top right (Claudio's report, Code changes) */
.claude-tiles { display: grid; grid-template-columns: 250px; gap: 8px; align-self: flex-start; justify-items: stretch; margin-left: auto; }
.ctile { position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-2); color: var(--fg); text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; }
.ctile:hover { border-color: var(--line-2); transform: translateY(-1px); }
.ctile-ic { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--green) 14%, transparent); font-size: 18px; line-height: 1; color: var(--green-2); } .ctile-ic svg { width: 18px; height: 18px; }
.ctile > span:not(.ctile-ic) { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.ctile b { font-size: 14.5px; font-weight: 650; } .ctile small { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctile br { display: none; }
.ctile.has-new { border-color: color-mix(in srgb, var(--green) 60%, transparent); box-shadow: 0 0 16px rgba(53, 178, 74, 0.22); }
.ctile-count { flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; box-shadow: 0 0 10px rgba(240, 89, 90, 0.6); }
.claude-tiles form { display: flex; justify-content: flex-end; }
@media (max-width: 760px) { .claude-tiles { width: 100%; margin-left: 0; grid-template-columns: 1fr 1fr; } .claude-tiles form { grid-column: 1 / -1; } .ctile { padding: 10px 12px; gap: 10px; } .ctile-ic { flex-basis: 32px; width: 32px; height: 32px; } }
/* Claude page: compact header with Claudio, then one row of shortcut buttons right above the chat */
.chat-page { gap: 10px; }
.chat-top { display: grid; gap: 10px; }
.chat-top .with-claudio { gap: 14px; }
.chat-top .claudio.staged { width: 92px; }
.chat-top .eyebrow { margin: 0 0 2px; }
.chat-top h1 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0; }
.chat-top p.dim { margin: 4px 0 0; font-size: 13.5px; }
.cbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.cbar form { display: contents; }
.cbtn { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 84px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-2); color: var(--fg); text-decoration: none; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.cbtn:hover { border-color: var(--line-2); transform: translateY(-1px); }
.cbtn-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green-2); margin-bottom: 3px; }
.cbtn-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbtn b { font-size: 14px; font-weight: 650; line-height: 1.2; }
.cbtn small { max-width: 100%; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbtn.new .cbtn-ic { background: var(--green); color: #fff; }
.cbtn.has-new { border-color: color-mix(in srgb, var(--green) 60%, transparent); box-shadow: 0 0 14px rgba(53, 178, 74, 0.2); }
.cbtn-n { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
@media (max-width: 760px) { .cbar { grid-template-columns: repeat(3, 1fr); } .cbtn { min-height: 74px; padding: 9px 10px; } .chat-top .claudio.staged { width: 72px; } }
@media (max-width: 420px) { .cbar { grid-template-columns: repeat(2, 1fr); } }
/* Claude page: one line of equal, bigger square buttons right above the chat, and a compact header (matches the markup in claude.php) */
.chat-head { margin-bottom: 0; }
.chat-head .with-claudio { gap: 14px; }
.chat-head .claudio.staged { width: 92px; }
.chat-head .eyebrow { margin: 0 0 2px; }
.chat-head h1 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0; }
.chat-head p.dim { margin: 4px 0 0; font-size: 13.5px; }
.claude-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 160px; gap: 12px; margin: 2px 0 6px; }
.claude-bar form { display: contents; }
.claude-bar .ctile { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; aspect-ratio: 1 / 1; min-height: 0; width: 100%; padding: 12px 8px; font: inherit; cursor: pointer; }
.claude-bar .ctile-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; }
.claude-bar .ctile-ic svg { width: 24px; height: 24px; }
.claude-bar .ctile b { font-size: 15px; line-height: 1.2; }
.claude-bar .ctile small { max-width: 100%; }
.claude-bar .ctile-count { position: absolute; top: 8px; right: 8px; }
.claude-bar .ctile-new .ctile-ic { background: var(--green); color: #fff; }
.claude-bar .ctile:disabled { opacity: 0.6; cursor: default; transform: none; }
@media (max-width: 760px) { .claude-bar { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); } .claude-bar .ctile-ic { width: 38px; height: 38px; } .claude-bar .ctile b { font-size: 13.5px; } .chat-head .claudio.staged { width: 72px; } }

.lead-legend { margin: -4px 0; } .lead-legend .chip i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.lead-legend .chip.none { opacity: 0.55; }

/* Claudio's report: the whole line opens what it is about */
.report li { padding: 0; display: block; }
.report li > a, .report li > .row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.report li.go > a { cursor: pointer; transition: background-color 0.15s; } .report li.go > a:hover { background: rgba(255, 255, 255, 0.07); } .report li.go > a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.report li > a > .ic { width: 16px; height: 16px; flex: none; margin-top: 3px; opacity: 0.45; transition: transform 0.2s, opacity 0.2s; } .report li.go > a:hover > .ic { opacity: 1; transform: translateX(3px); }
.report li.report-day { padding: 16px 10px 4px !important; }
@media (max-width: 900px) { .report li > a, .report li > .row { flex-wrap: wrap; gap: 6px 10px; } .report li > a > .ic { display: none; } }

.report .newdot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; margin-top: 7px; box-shadow: 0 0 10px var(--red); }
.report li.fresh > a, .report li.fresh > .row { background: rgba(240, 89, 90, 0.07); }

/* a report line that was already opened and reviewed steps back */
.report li.done > a, .report li.done > .row { opacity: 0.45; filter: grayscale(1); transition: opacity 0.2s; }
.report li.done.go > a:hover { opacity: 0.8; }

/* Claudio's report: reject an action, or ask him to fix it */
.report-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 10px 12px 10px; }
.report-acts:empty { display: none; }
.report li.done .report-acts { opacity: 0.8; }
.report li.reverted > a .grow, .report li.reverted > .row .grow { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.4); }
.queued { display: grid; gap: 10px; border-color: rgba(240, 180, 41, 0.5); }

/* an email opened in Inbox: what to do next on top, then who wrote and what they wrote in separate boxes */
.next-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; position: sticky; top: 8px; z-index: 5; background: rgba(18, 18, 20, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.next-acts > .dim { margin-right: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.next-acts .danger { margin-left: 0; } .next-acts form:has(.danger) { margin-left: auto; }
.form-hello { display: flex; align-items: center; gap: 16px; border-color: rgba(192, 132, 252, 0.5); background: linear-gradient(120deg, rgba(192, 132, 252, 0.22), rgba(53, 178, 74, 0.12) 70%, rgba(255, 255, 255, 0.03)); }
.form-emoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 6px 14px rgba(192, 132, 252, 0.5)); }
.form-hello h2 { font-size: 20px; } .form-hello p { color: #d2d2d7; font-size: 14.5px; }
.form-who .mini { margin-top: 10px; }
.form-msg { border-color: var(--line-2); } .form-msg .mail-body { font-size: 16.5px; line-height: 1.65; color: #fff; margin-top: 10px; }
@media (max-width: 900px) { .next-acts { position: static; } .next-acts form, .next-acts > a, .next-acts .btn { flex: 1 1 100%; width: 100%; justify-content: center; } .next-acts form:has(.danger) { margin-left: 0; } .form-emoji { font-size: 32px; } }
.next-acts:not(:has(.btn)) { display: none; }
.report-acts:not(:has(*)) { display: none; }

/* the coloured box that opens every section */
.banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-color: color-mix(in srgb, var(--c) 50%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--c) 20%, transparent), color-mix(in srgb, var(--c) 7%, transparent) 60%, rgba(255, 255, 255, 0.03)); }
.banner-emoji { font-size: 34px; line-height: 1; flex: none; filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--c) 55%, transparent)); }
.banner h2 { font-size: 19px; letter-spacing: -0.01em; } .banner p { color: #d2d2d7; font-size: 14.5px; margin-top: 2px; } .banner p strong { color: #fff; }
.banner .pill { vertical-align: middle; }
@media (max-width: 900px) { .banner { padding: 13px 14px; gap: 12px; } .banner-emoji { font-size: 27px; } .banner h2 { font-size: 16.5px; } .banner p { font-size: 13.5px; } }

/* Claudio's briefing on Overview */
.brief { display: grid; gap: 2px; }
.brief li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 14.5px; line-height: 1.5; }
.brief li:last-child { border-bottom: 0; } .brief-emoji { font-size: 19px; line-height: 1.3; flex: none; } .brief strong { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }
.brief a { white-space: nowrap; }
.cl-bubble { max-width: 280px; }

/* anything discarded, declined, lost or cancelled steps back: grey and dim, everywhere */
.off, .table tr.off, .mail-row.off, .lead-row.off { opacity: 0.45; filter: grayscale(1); transition: opacity 0.2s; }
.mail-row.off:hover, .lead-row.off:hover, .table tr.off:hover { opacity: 0.8; }
#col-discarded .deal-card { opacity: 0.5; filter: grayscale(1); } #col-discarded .deal-card:hover { opacity: 0.85; }
#col-discarded h2, #col-discarded .count { opacity: 0.7; }
.deal-card.hold { filter: grayscale(0.6); }

/* Settings */
.set-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.set-grid .card { display: grid; gap: 12px; scroll-margin-top: 16px; } .set-grid h3 { margin-top: 6px; }
a.who { color: inherit; } a.who[aria-current] { background: rgba(255, 255, 255, 0.09); }
@media (max-width: 1100px) { .set-grid { grid-template-columns: minmax(0, 1fr); } }

/* bottom of the side menu: profile, then Settings and Sign out as two equal buttons */
.side-end { display: grid; gap: 10px; align-items: stretch; }
.side-end .who { padding: 4px 6px; }
.side-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-acts form { display: contents; }
.side-act { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #d2d2d7; font: inherit; font-size: 13.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.side-act:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: var(--line-2); }
.side-act .ic { width: 17px; height: 17px; flex: none; }
.side-act[aria-current] { background: linear-gradient(100deg, rgba(53, 178, 74, 0.3), rgba(53, 178, 74, 0.06)); color: #fff; border-color: rgba(127, 227, 145, 0.4); }
@media (min-width: 901px) and (max-height: 720px) { .side-end { gap: 6px; } .side-act { min-height: 32px; font-size: 13px; } .side-end .who .av { width: 28px; height: 28px; } }
.side-act { white-space: nowrap; font-size: 13px; gap: 6px; padding: 0 6px; } .side-act .ic { width: 16px; height: 16px; }

/* Expenses: subscriptions and company costs */
.sub-row { position: relative; padding-left: 20px; }
.sub-row::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: var(--bar, transparent); }
.sub-cost { display: grid; justify-items: end; gap: 2px; flex: none; text-align: right; } .sub-cost strong { font-size: 16px; font-variant-numeric: tabular-nums; } .sub-cost .todo { color: #f0b429; font-weight: 600; font-size: 13.5px; }
.sub-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 6px; }
.month-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px 6px; font-weight: 600; } .month-head span { color: var(--dim); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .sub-row { flex-wrap: wrap; } .sub-cost { flex-basis: 100%; justify-items: start; text-align: left; padding-left: 45px; } .sub-acts { justify-content: flex-start; } }

/* admin popup above the profile at the bottom of the side menu */
.side-end { position: relative; }
button.who { width: 100%; border: 1px solid transparent; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
button.who:hover, button.who.open { background: rgba(255, 255, 255, 0.08); border-color: var(--line); }
button.who .chev { margin-left: auto; width: 16px; height: 16px; opacity: 0.6; transition: transform 0.2s; flex: none; } button.who.open .chev { transform: rotate(180deg); }
.admin-pop { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 40; display: grid; gap: 2px; padding: 10px 8px 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(24, 24, 27, 0.98); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); animation: rise 0.2s var(--ease) both; }
.admin-pop .eyebrow { padding: 0 8px 4px; }
.admin-pop a { display: flex; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 11px; color: #fff; text-decoration: none; }
.admin-pop a:hover, .admin-pop a:focus-visible { background: rgba(255, 255, 255, 0.09); outline: none; }
.admin-pop a[aria-current] { background: rgba(53, 178, 74, 0.2); }
.admin-pop a > span:first-child { font-size: 19px; line-height: 1; width: 24px; text-align: center; }
.admin-pop a > span:last-child { display: grid; } .admin-pop strong { font-size: 14.5px; } .admin-pop small { font-size: 12px; color: var(--dim); }
code.copy { display: inline-block; margin-top: 4px; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); font-size: 13px; user-select: all; overflow-wrap: anywhere; }

/* Security page and the second step at sign-in */
.qr-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.qr { width: 190px; height: 190px; padding: 10px; border-radius: 14px; background: #fff; flex: none; } .qr svg { display: block; width: 100%; height: 100%; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 360px; margin: 10px 0; } .codes code { padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); font-size: 15px; text-align: center; letter-spacing: 0.04em; user-select: all; }
input.code { font-size: 26px; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums; }
.checks { display: grid; gap: 8px; } .checks li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; } .checks li b { flex: none; width: 20px; text-align: center; }
label.tick { display: flex !important; width: 100%; font-weight: 500; flex-direction: row; align-items: center; gap: 9px; font-size: 14px; color: #d2d2d7; } label.tick input { width: 18px !important; height: 18px; flex: none; margin: 0; }
.list { display: grid; } .list-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); } .list-row:first-child { border-top: 0; }
.list-row .grow { flex: 1; min-width: 0; display: grid; } .list-row strong { font-size: 14.5px; font-weight: 600; } .list-row.off { opacity: 0.6; }
details.more { border-top: 1px solid var(--line); padding: 10px 0 2px; } details.more summary { cursor: pointer; font-weight: 600; font-size: 14.5px; } details.more[open] summary { margin-bottom: 12px; }

/* overview journey: the discarded step stands apart on the left, outside the line */
.journey li.aside { opacity: 0.6; border-right: 1px dashed var(--line-2); } .journey li.aside::before { display: none; } .journey li.aside .node b { background: #1d1d20; color: var(--dim); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16); }
.journey li.aside + li::before { left: 50%; }

/* Prospecting: companies found by a search */
.found { display: grid; } .found-row { display: grid; grid-template-columns: 22px minmax(0, 1.5fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); } .found-row:first-child { border-top: 0; }
.found-row input[type=checkbox] { width: 18px; height: 18px; margin: 0; } .found-row > div { display: grid; min-width: 0; } .found-row strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.found-row .dim { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .found-row.off { opacity: 0.55; }
.found-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 4px 0 8px; }
.run-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: inherit; } .run-row:hover, .run-row[aria-current] { background: rgba(255, 255, 255, 0.07); } .run-row > span:first-child { flex: 1; min-width: 0; display: grid; }
.search-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 130px auto; gap: 10px; align-items: end; }
@media (max-width: 900px) { .search-form { grid-template-columns: 1fr; } .found-row { grid-template-columns: 22px minmax(0, 1fr) auto; } .found-row > div:nth-of-type(2) { display: none; } }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.found-row .fit { font-size: 12.5px; color: #d2d2d7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; } .found-row .fit-no { color: var(--dim); }

/* Prospecting: tabs, tool store, tool forms, logs, raw results */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; } .tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: #d2d2d7; font-weight: 600; font-size: 14.5px; } .tabs a:hover { background: rgba(255, 255, 255, 0.06); } .tabs a[aria-current] { background: #fff; color: #000; border-color: #fff; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 10px; }
.tool-card { display: grid; gap: 5px; align-content: start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-decoration: none; color: inherit; transition: background-color 0.2s, border-color 0.2s; } .tool-card:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-2); }
.tool-card strong { font-size: 15px; } .clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.search-form.two { grid-template-columns: minmax(0, 1fr) auto; } .search-form.two3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.tool-form .hint { margin: -6px 0 6px; } .tool-form details.more { margin-top: 6px; } .tool-form details.more > label, .tool-form details.more > p { margin-top: 10px; }
pre.log { max-height: 380px; overflow: auto; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
table.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; } table.ptable th, table.ptable td { text-align: left; padding: 7px 10px; border-top: 1px solid var(--line); } table.ptable th { color: var(--dim); font-weight: 600; border-top: 0; }
.raw-wrap { overflow-x: auto; } table.ptable.raw td { white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .search-form.two, .search-form.two3 { grid-template-columns: 1fr; } }

/* Prospecting, guided: goal cards, the four steps, click-for-info, openers */
.pick-title { font-size: 20px; margin: 6px 0 12px; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 16px; }
.goal-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); text-decoration: none; color: inherit; transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s; }
.goal-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.07); border-color: #818cf8; }
.goal-card .g-ico { font-size: 28px; line-height: 1; } .goal-card strong { font-size: 16.5px; }
.g-meta { display: grid; gap: 3px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: #d2d2d7; } .g-meta b { display: inline-block; min-width: 62px; color: var(--dim); font-weight: 600; }
.steps { display: flex; gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); font-size: 13.5px; font-weight: 600; }
.steps li b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-size: 12.5px; }
.steps li.now { color: #fff; border-color: #818cf8; background: rgba(129, 140, 248, 0.16); } .steps li.now b { background: #818cf8; color: #000; }
.steps li.done { color: #d2d2d7; } .steps li.done b { background: rgba(53, 178, 74, 0.3); color: #7ee08e; }
details.info { display: inline-block; position: relative; vertical-align: middle; }
details.info > summary { list-style: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--dim); font-size: 11.5px; font-weight: 700; font-style: italic; font-family: Georgia, serif; cursor: pointer; user-select: none; }
details.info > summary::-webkit-details-marker { display: none; } details.info > summary:hover, details.info[open] > summary { color: #fff; border-color: #818cf8; background: rgba(129, 140, 248, 0.25); }
details.info > div { position: absolute; z-index: 30; left: -8px; top: 26px; width: min(340px, 78vw); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(24, 24, 27, 0.98); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); font-size: 13.5px; font-weight: 400; line-height: 1.5; color: #e5e5ea; white-space: normal; text-align: left; }
.goal-form label > span:first-child, .tool-form label > span:first-child { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.goal-form .form { max-width: 640px; } .chips-row.eg { align-items: center; font-size: 13px; color: var(--dim); margin: -4px 0 8px; } .chips-row.eg button { cursor: pointer; border: 0; font: inherit; font-size: 12.5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.found-row .quote { font-size: 12.5px; color: #c7c7cc; font-style: italic; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
details.opener { margin-top: 3px; font-size: 13px; } details.opener summary { cursor: pointer; color: #9fd0ff; } details.opener p { margin: 4px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); white-space: normal; user-select: all; }
@media (max-width: 900px) { .steps li span { display: none; } .steps li.now span { display: inline; } .two-col { grid-template-columns: 1fr; } }

.goal-card { position: relative; } .goal-card.main { border-color: rgba(129, 140, 248, 0.6); background: rgba(129, 140, 248, 0.09); } .goal-card .g-tag { position: absolute; top: 14px; right: 14px; }
@media (min-width: 901px) { .goal-grid { grid-template-columns: repeat(6, 1fr); } .goal-card { grid-column: span 2; } .goal-card.main { grid-column: span 3; } }

.plans { margin: 10px 0 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); max-width: 820px; overflow-x: auto; } .plans .card-head { margin-bottom: 4px; justify-content: flex-start; gap: 8px; } .plans tr.best td { background: rgba(53, 178, 74, 0.1); } .plans td, .plans th { white-space: nowrap; }

/* Prospecting: the detail panel of one result */
.found-row a.open-detail { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, 0.35); } .found-row a.open-detail:hover { color: #9fd0ff; border-bottom-color: #9fd0ff; }
dl.kv { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 7px 14px; margin: 0; font-size: 14.5px; } dl.kv dt { color: var(--dim); } dl.kv dd { margin: 0; overflow-wrap: anywhere; } dl.kv a { color: #9fd0ff; }
dl.kv.all { font-size: 13.5px; } .peek-img { width: 100%; max-height: 190px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.quote-box { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 14.5px; line-height: 1.5; user-select: all; }
.profile h4 { margin: 12px 0 2px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: #a5b4fc; } .profile p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.55; }

/* Inventory: tick boxes, and pictures that open large with an × */
td.pick { width: 34px; } td.pick input { width: 18px; height: 18px; margin: 0; } tr.picked td { background: rgba(129, 140, 248, 0.08); } .inv-bar { margin: 0 2px 10px; } .inv-bar button[disabled] { opacity: 0.45; cursor: default; }
.lightbox { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 62; max-width: min(92vw, 900px); max-height: 90vh; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); display: grid; gap: 8px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(90vh - 80px); object-fit: contain; display: block; border-radius: 10px; }
.lightbox .lb-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; background: #111; color: #fff; border: 2px solid #fff; font-size: 24px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-cap { margin: 0; color: #111; font-size: 14px; font-weight: 600; text-align: center; }
@media (max-width: 900px) { .lightbox .lb-close { top: 6px; right: 6px; } }

/* Claudio's report: tick boxes to mark lines as read without opening them */
.report li.pickable { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; } .report li.pickable > .pick { padding: 13px 0 0 8px; } .report li.pickable > .pick input { width: 18px; height: 18px; margin: 0; }
.report li.pickable > .report-acts { grid-column: 2; } .report li.picked > a, .report li.picked > .row { background: rgba(129, 140, 248, 0.1); }
#report-bulk { margin: 0 2px 10px; } #report-bulk button[disabled] { opacity: 0.45; cursor: default; }

.cl-head .cl-follow { font-size: 12px; padding: 5px 9px; white-space: nowrap; } .cl-head .cl-follow[aria-pressed=false] { opacity: 0.6; }

/* Claudio showing what he did: he travels across the page himself, points, and each tap pops an orange burst */
.claudio.cl-walk { z-index: 2147483000; pointer-events: none; transition-property: transform; transition-timing-function: cubic-bezier(0.3, 0.9, 0.3, 1); will-change: transform; transform-origin: 50% 90%; }
.claudio.cl-walk > * { pointer-events: none; } .claudio.cl-walk .cl-hide { visibility: hidden; }
.claudio.cl-walk .cl-figure { transition: transform 0.14s ease-out; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55)); } .claudio.cl-press .cl-figure { transform: translate(-7px, 3px) scale(0.95); }
.cl-burst { position: fixed; z-index: 2147482999; width: 0; height: 0; pointer-events: none; }
.cl-burst .ring { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #ff7a33; box-shadow: 0 0 18px rgba(255, 122, 51, 0.8); animation: cl-ring 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.cl-burst .ring.two { border-color: #ffd0a6; animation-delay: 0.12s; opacity: 0; }
.cl-burst b { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; opacity: 0; animation: cl-confetti 0.95s cubic-bezier(0.12, 0.75, 0.3, 1) forwards; }
.cl-burst b.dot { border-radius: 50%; } .cl-burst b.strip { width: 3px; height: 9px; border-radius: 2px; } .cl-burst b.sq { width: 6px; height: 6px; border-radius: 1px; }
@keyframes cl-ring { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(3.6); opacity: 0; } }
@keyframes cl-confetti { 0% { transform: translate(0, 0) rotate(0) scale(0.4); opacity: 1; } 55% { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); opacity: 1; } 100% { transform: translate(calc(var(--x) * 1.15), calc(var(--y) + 26px)) rotate(calc(var(--r) * 1.4)) scale(0.6); opacity: 0; } }
.cl-lit { outline: 2px solid #ff7a33 !important; outline-offset: 3px; border-radius: 12px; box-shadow: 0 0 0 6px rgba(255, 122, 51, 0.18), 0 0 26px rgba(255, 122, 51, 0.35) !important; transition: box-shadow 0.4s, outline-color 0.4s; animation: cl-lit 1.2s ease-in-out 2; }
@keyframes cl-lit { 50% { box-shadow: 0 0 0 10px rgba(255, 122, 51, 0.08), 0 0 34px rgba(255, 122, 51, 0.5); } }
@media (prefers-reduced-motion: reduce) { .cl-burst b, .cl-burst .ring.two { display: none; } .cl-lit { animation: none; } }

/* Claudio filling a form on screen: the box he is typing in, and the button he waits at */
.cl-typing { border-color: #ff7a33 !important; box-shadow: 0 0 0 3px rgba(255, 122, 51, 0.28) !important; caret-color: #ff7a33; }
.cl-wait { position: relative; outline: 2px solid #ff7a33 !important; outline-offset: 3px; animation: cl-wait 1.3s ease-in-out infinite; }
@keyframes cl-wait { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 51, 0.55); } 50% { box-shadow: 0 0 0 10px rgba(255, 122, 51, 0); } }
/* the small chat opens already at its latest message: nothing slides or scrolls into place */
.cl-panel .chat-log { scroll-behavior: auto; } .cl-panel .chat-log.loading { visibility: hidden; } .cl-panel .chat-log.no-anim * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .cl-wait { animation: none; } }

/* the three choices beside Claudio while he waits for a decision */
.claudio.has-choice { z-index: 2147482000; }
.cl-choice { position: absolute; right: calc(100% + 10px); bottom: 12px; display: grid; gap: 6px; width: 172px; padding: 8px; border-radius: 16px; background: rgba(24, 24, 27, 0.96); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); animation: rise 0.25s var(--ease) both; }
.cl-choice button { border: 0; border-radius: 11px; padding: 9px 10px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: center; transition: transform 0.12s, filter 0.2s; } .cl-choice button:hover { transform: translateY(-1px); filter: brightness(1.08); } .cl-choice button:active { transform: scale(0.97); }
.cl-choice .yes { background: #35b24a; color: #fff; } .cl-choice .again { background: #fff; color: #111; } .cl-choice .no { background: #f0595a; color: #fff; }
.claudio.cl-walk .cl-choice { display: none; }

.cl-choice small { font-size: 11.5px; color: var(--dim); text-align: center; line-height: 1.3; padding: 0 2px 2px; }

/* Prospecting: the daily schedule */
.sched { border-color: rgba(53, 178, 74, 0.45); } .sched.is-paused { border-color: var(--line); }
.sched-table td, .sched-table th { white-space: nowrap; vertical-align: top; } .sched-table tr.off td { opacity: 0.5; } .sched-table tr.sum td { border-top: 2px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.sched .sched-pause { background: #f0b429; color: #111; } .sched .sched-go { background: #35b24a; color: #fff; } .sched .btn[disabled] { opacity: 0.35; cursor: default; }
fieldset.sched-m { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0 0 12px; grid-column: 1 / -1; } fieldset.sched-m legend { padding: 0 8px; font-weight: 700; } fieldset.sched-m .span2, fieldset.sched-m .tick { grid-column: 1 / -1; }
@media (max-width: 900px) { fieldset.sched-m { grid-template-columns: 1fr; } }

/* Prospecting: where each run stands */
.run-line { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 4px 0; border-top: 1px solid var(--line); } .run-line:first-of-type { border-top: 0; }
.run-stand { display: grid; gap: 3px; min-width: 0; } .run-state { font-size: 13.5px; font-weight: 700; } .run-acts { display: flex; gap: 6px; justify-content: flex-end; min-width: 108px; }
.bar { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); overflow: hidden; } .bar b { display: block; height: 100%; border-radius: 5px; background: #35b24a; transition: width 0.5s var(--ease); }
.run-line.st-done .run-state { color: #7ee08e; } .run-line.st-fail .run-state { color: #ff9a9b; } .run-line.st-run .run-state { color: #f0b429; }
.standing { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 10px 0 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); } .standing > div { display: grid; gap: 4px; flex: 1; min-width: 220px; } .standing.complete { border-color: rgba(53, 178, 74, 0.55); background: rgba(53, 178, 74, 0.09); }
@media (max-width: 900px) { .run-line { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; } .run-acts { justify-content: flex-start; } }

.run-line { grid-template-columns: 30px minmax(0, 1.6fr) minmax(0, 1fr) auto; } .run-line.no-pick { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; } .run-line .pick input { width: 18px; height: 18px; margin: 0; } .run-line.picked { background: rgba(129, 140, 248, 0.08); border-radius: 12px; }
.bulk-bar { margin: 4px 0 10px; } .bulk-bar button[disabled] { opacity: 0.4; cursor: default; }
@media (max-width: 900px) { .run-line, .run-line.no-pick { grid-template-columns: 1fr; } }

/* prospecting shown across the portal: a line on the CRM and New leads, a card on the Overview */
.sched-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(53, 178, 74, 0.4); background: rgba(53, 178, 74, 0.07); text-decoration: none; color: inherit; font-size: 14px; transition: background-color 0.2s; }
.sched-strip:hover { background: rgba(53, 178, 74, 0.13); } .sched-strip.paused { border-color: var(--line); background: rgba(255, 255, 255, 0.03); } .sched-strip .go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--dim); } .sched-strip .go .ic { width: 14px; height: 14px; }
.sched-home { border-color: rgba(53, 178, 74, 0.4); } .sched-home.is-paused { border-color: var(--line); }
.sched-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sched-m-card { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-decoration: none; color: inherit; } a.sched-m-card:hover { background: rgba(255, 255, 255, 0.07); } .sched-m-card strong { font-size: 15.5px; } .sched-m-card.total { background: rgba(129, 140, 248, 0.08); border-color: rgba(129, 140, 248, 0.3); }

/* Email sending: the steps an email goes through, with what is at each one */
.sendflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 10px; padding: 0; list-style: none; counter-reset: sf; }
.sendflow li { position: relative; } .sendflow li + li::before { content: "→"; position: absolute; left: -9px; top: 50%; transform: translate(-50%, -50%); color: var(--dim); font-size: 13px; }
.sendflow a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-decoration: none; color: inherit; height: 100%; } .sendflow a:hover { background: rgba(255, 255, 255, 0.07); }
.sendflow span { font-size: 13px; color: #d2d2d7; } .sendflow strong { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--dim); } .sendflow small { font-size: 12px; color: var(--dim); }
.sendflow li.has strong { color: #fff; } .sendflow li.due a { border-color: rgba(240, 180, 41, 0.6); background: rgba(240, 180, 41, 0.08); } .sendflow li.ok a { border-color: rgba(53, 178, 74, 0.5); } .sendflow li.bad a { border-color: rgba(240, 89, 90, 0.6); background: rgba(240, 89, 90, 0.08); }
.send-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); } .send-row .grow { flex: 1; min-width: 0; display: grid; } .send-row strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sendbox.compact .sendflow strong { font-size: 22px; }
@media (max-width: 900px) { .sendflow { grid-template-columns: 1fr 1fr; } .sendflow li + li::before { display: none; } }

.lead-row .pick { flex: none; display: grid; place-items: center; padding: 0 2px; } .lead-row .pick input { width: 18px; height: 18px; margin: 0; } .lead-row.picked { background: rgba(129, 140, 248, 0.1); }

.when-in { width: auto; min-width: 190px; padding: 6px 10px; font-size: 13.5px; border-radius: 10px; } a.pill.mailpill { text-decoration: none; }

.sched-day { margin: 16px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #7d8696); }
.drip-nums { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; } .drip-nums span { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 13.5px; }

.money-alert { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(240, 180, 41, 0.55); background: rgba(240, 180, 41, 0.12); color: inherit; text-decoration: none; font-size: 14px; } .money-alert strong { white-space: nowrap; } .money-alert.out { border-color: rgba(240, 89, 90, 0.7); background: rgba(240, 89, 90, 0.14); }

/* New leads: clearer sections and bigger names */
.who-big .run-row strong { font-size: 17px; line-height: 1.3; } .who-big .run-row strong .dim { font-size: 15px; } .who-big .run-row .dim.small { font-size: 14.5px; display: block; margin-top: 3px; } .who-big { padding: 10px 0; }
.who-big .run-stand .dim.small { font-size: 14px; } .who-big .pill { font-size: 13px; }
.plan-group { border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 0 14px; background: rgba(255, 255, 255, 0.02); } .plan-group[open] { padding-bottom: 6px; }
.plan-group > summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 2px; cursor: pointer; font-size: 16px; list-style: none; } .plan-group > summary::-webkit-details-marker { display: none; }
.plan-group > summary::before { content: "▸"; color: var(--muted, #7d8696); transition: transform 0.15s; } .plan-group[open] > summary::before { transform: rotate(90deg); }
.plan-group.alert { border-color: rgba(240, 89, 90, 0.55); background: rgba(240, 89, 90, 0.06); }
#lead-list .mail-top strong { font-size: 17px; } #lead-list .mail-top .dim.small { font-size: 15px; } #lead-list .mail-sub { font-size: 15px; } #lead-list .mail-snip { font-size: 14px; } #lead-list .lead-row { padding-top: 14px; padding-bottom: 14px; }
#auto-emails, #plan-days, #plan-people, #plan-checks { margin-bottom: 18px; } #plan-days h2, #plan-people h2, #plan-checks h2 { font-size: 19px; }

/* ecosystem dashboard */
.eco-kpis .stat-value { font-size: clamp(28px, 2.8vw, 40px); } .eco-health { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; } .eco-health .pill { font-size: 13px; }
.eco-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .eco-flow li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 16px; border-radius: 13px; overflow: hidden; border: 1px solid var(--line); }
.eco-flow .bar { position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--c) 28%, transparent); border-right: 2px solid var(--c); } .eco-flow .lab, .eco-flow strong, .eco-flow .dim { position: relative; } .eco-flow .lab { font-size: 15.5px; font-weight: 600; } .eco-flow strong { font-size: 22px; font-variant-numeric: tabular-nums; } .eco-flow .dim { grid-column: 1 / -1; }
.eco-days { display: flex; align-items: flex-end; gap: 8px; height: 210px; padding-top: 6px; } .eco-day { flex: 1; min-width: 0; display: grid; grid-template-rows: 18px minmax(0, 1fr) auto; gap: 5px; height: 100%; text-align: center; }
.eco-day .n { font-size: 12.5px; font-weight: 700; } .eco-day .col { display: flex; flex-direction: column; justify-content: flex-end; border-radius: 8px; background: rgba(255, 255, 255, 0.04); overflow: hidden; } .eco-day .col i { display: block; } .eco-day .col .sent { background: #35b24a; } .eco-day .col .plan { background: rgba(240, 180, 41, 0.75); }
.eco-day .d { font-size: 11.5px; color: var(--dim); line-height: 1.25; } .eco-day.today .d { color: #fff; font-weight: 700; } .eco-day.today .col { outline: 1px solid rgba(255, 255, 255, 0.35); }
.eco-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 8px; } .eco-key.sent { background: #35b24a; } .eco-key.plan { background: rgba(240, 180, 41, 0.75); }
.eco-standup { margin: 16px 0; }
.eco-day { display: flex; flex-direction: column; } .eco-day .n { flex: none; height: 18px; } .eco-day .col { flex: 1 1 0; min-height: 0; } .eco-day .d { flex: none; height: 30px; }

.mailflag { font-size: 12.5px; white-space: nowrap; } .mailflag-a { text-decoration: none; } .person-card .mailflag { margin-top: 5px; justify-self: start; width: max-content; } .deal-card .mailflag { font-size: 11.5px; padding: 2px 7px; } .table.results td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; } .table.results .pill { font-size: 13px; }

.eco-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } @media (max-width: 1250px) { .eco-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 620px) { .eco-actions { grid-template-columns: minmax(0, 1fr); } }
.eco-action { display: grid; gap: 5px; align-content: start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: inherit; text-decoration: none; transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.eco-action:hover { transform: translateY(-3px); border-color: rgba(53, 178, 74, 0.6); background: rgba(53, 178, 74, 0.07); } .eco-action.off { opacity: 0.72; } .eco-action.off:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.05); }
.eco-action .top { display: flex; justify-content: space-between; align-items: center; } .eco-action .ico { font-size: 22px; } .eco-action strong { font-size: 16px; line-height: 1.25; } .eco-action .what { font-size: 13px; color: var(--dim); } .eco-action .next { font-size: 15px; font-weight: 600; margin-top: 4px; }

.check-steps { margin: 6px 0 12px 20px; display: grid; gap: 6px; line-height: 1.5; } .check-steps li { padding-left: 4px; }

#eco-warnings { margin-top: 14px; } #eco-warnings .money-alert:last-child { margin-bottom: 0; }

.deal-card .card-flag { display: block; margin-top: 6px; } .deal-card .card-flag .mailflag { font-size: 11.5px; padding: 2px 8px; }

.meet-voices { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); display: grid; gap: 8px; } .voice-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; } .voice-row span { font-weight: 600; } .voice-row select { width: 100%; }

.stage-pick .stage-filter { width: 100%; margin: 4px 0 10px; } .stage-list { display: grid; gap: 6px; max-height: none; margin-top: 8px; }
.stage-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, 0.02); } .stage-row:hover { background: rgba(255, 255, 255, 0.06); }
.stage-row input { width: 18px; height: 18px; margin-top: 3px; flex: none; } .stage-row .grow { display: grid; gap: 2px; min-width: 0; } .stage-row strong { font-size: 15.5px; } .stage-row:has(input:checked) { border-color: rgba(53, 178, 74, 0.7); background: rgba(53, 178, 74, 0.09); } .stage-row[hidden] { display: none; }

.person-row { cursor: pointer; border-radius: 12px; transition: background 0.15s; } .person-row:hover { background: rgba(255, 255, 255, 0.045); } .person-row:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.advice { padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(240, 130, 60, 0.5); background: rgba(240, 130, 60, 0.09); display: grid; gap: 6px; margin-bottom: 4px; } .advice h3 { margin: 0; font-size: 18px; } .advice p { margin: 0; line-height: 1.5; } .advice .deep { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 4px; } .advice form { margin-top: 4px; }
.person-pop h3 { margin: 16px 0 8px; } .person-pop .peek-actions + .peek-actions { margin-top: 8px; } .mail-preview { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; }

/* the big popup: nearly the whole screen, two columns, so everything needed for a decision is in view */
.drawer.wide { left: 50%; right: auto; top: 16px; bottom: 16px; width: min(1240px, calc(100vw - 32px)); transform: translateX(-50%); } .drawer.wide .peek-head h2 { font-size: clamp(22px, 2.2vw, 30px); }
.peek-cols { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 26px; align-items: start; } .peek-col { min-width: 0; display: grid; gap: 4px; align-content: start; } .peek-col + .peek-col { padding-left: 26px; border-left: 1px solid var(--line); }
.drawer.wide .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } .drawer.wide .advice p { font-size: 15px; } .drawer.wide .peek-actions .btn { font-size: 14.5px; }
details.mail-preview { margin-bottom: 8px; } details.mail-preview > summary { cursor: pointer; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; list-style: none; } details.mail-preview > summary::-webkit-details-marker { display: none; }
.seq-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .seq-steps li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); } .seq-steps li.done { border-color: rgba(53, 178, 74, 0.55); background: rgba(53, 178, 74, 0.08); } .seq-steps li.next { border-color: rgba(240, 180, 41, 0.55); }
@media (max-width: 900px) { .drawer.wide { left: 0; right: 0; width: auto; transform: none; top: auto; } .peek-cols { grid-template-columns: minmax(0, 1fr); } .peek-col + .peek-col { padding-left: 0; border-left: 0; } }

/* the big popup: the header stays, each column slides on its own, and long texts slide inside their own box */
.drawer.wide .peek-body.peek-cols { overflow: hidden; flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); padding-bottom: 0; }
.drawer.wide .peek-col { overflow-y: auto; max-height: 100%; min-height: 0; padding-right: 10px; padding-bottom: 22px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.28) transparent; overscroll-behavior: contain; }
.drawer.wide .peek-col::-webkit-scrollbar, .scrollbox::-webkit-scrollbar { width: 8px; } .drawer.wide .peek-col::-webkit-scrollbar-thumb, .scrollbox::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.28); border-radius: 8px; }
.scrollbox { max-height: 132px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.28) transparent; overscroll-behavior: contain; } .scrollbox.tall { max-height: 300px; } .advice .deep.scrollbox { max-height: 170px; }
.drawer.wide .mini div { padding: 9px 12px; } .drawer.wide .person-pop h3 { margin: 14px 0 7px; } .drawer.wide .advice { margin-bottom: 0; }
@media (max-width: 900px) { .drawer.wide .peek-body.peek-cols { overflow-y: auto; display: block; } .drawer.wide .peek-col { overflow: visible; max-height: none; padding-right: 0; } }

.seq-note { margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: rgba(240, 180, 41, 0.1); border: 1px solid rgba(240, 180, 41, 0.4); font-size: 14.5px; line-height: 1.45; } .seq-steps li { align-items: baseline; } .seq-steps li span { text-align: right; }

/* the big list for moving deals: three columns of deals, with the filter and the Move button always in view */
.drawer.wide .stage-pick { align-content: start; } .drawer.wide .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } @media (max-width: 1300px) { .drawer.wide .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 900px) { .drawer.wide .stage-list { grid-template-columns: minmax(0, 1fr); } }
.stage-top { position: sticky; top: -18px; z-index: 2; margin: 0 -22px; padding: 12px 22px 10px; background: rgba(18, 18, 20, 0.97); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; } .stage-top .stage-filter { margin: 0; } .stage-top .bulk-bar { margin: 0; gap: 14px; }
.drawer.wide .stage-row strong { font-size: 16px; } .drawer.wide .stage-row .dim.small { font-size: 13.5px; overflow-wrap: anywhere; }
@media (max-width: 900px) { .stage-top { grid-template-columns: minmax(0, 1fr); } }

.retry-form { display: grid; gap: 8px; margin: 2px 0 6px; } .retry-form textarea { width: 100%; margin-top: 4px; }

/* Claudio's rating: diamond, gold, plain, red */
.pill.fit { font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.pill.fit-5 { color: #06202b; background: linear-gradient(135deg, #7ff0ff, #5aa8ff 60%, #b7a6ff); border-color: rgba(127, 240, 255, 0.9); box-shadow: 0 0 14px rgba(110, 200, 255, 0.45); }
.pill.fit-4 { color: #2a1c00; background: linear-gradient(135deg, #ffe07a, #f0b429); border-color: rgba(240, 180, 41, 0.9); }
.pill.fit-3 { color: #d2d2d7; background: rgba(255, 255, 255, 0.07); border-color: var(--line); font-weight: 600; }
.pill.fit-low { color: #ffd3d3; background: rgba(240, 89, 90, 0.2); border-color: rgba(240, 89, 90, 0.75); }
.person-row.is-fit-5, .deal-card.is-fit-5 { box-shadow: inset 3px 0 0 #6fd8ff; } .person-row.is-fit-4, .deal-card.is-fit-4 { box-shadow: inset 3px 0 0 #f0b429; } .person-row.is-fit-low, .deal-card.is-fit-low { box-shadow: inset 3px 0 0 rgba(240, 89, 90, 0.8); }
.person-row.is-fit-5 { background: linear-gradient(90deg, rgba(110, 200, 255, 0.07), transparent 45%); } .person-row.is-fit-4 { background: linear-gradient(90deg, rgba(240, 180, 41, 0.06), transparent 45%); } .person-row.is-fit-low { background: linear-gradient(90deg, rgba(240, 89, 90, 0.05), transparent 45%); }
.person-row[class*="is-fit"] { padding-left: 10px; } .deal-card .card-flag .pill.fit { font-size: 11.5px; padding: 2px 7px; }

.seg-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1000px) { .seg-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .stat.seg-5 { border-color: rgba(111, 216, 255, 0.55); } .stat.seg-4 { border-color: rgba(240, 180, 41, 0.55); }

/* Companies */
.co-kpis .stat.on { outline: 2px solid var(--c); outline-offset: 2px; } .co-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; } .co-filters input[type=search] { flex: 1 1 320px; min-width: 240px; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 10px; }
.co-card { display: grid; gap: 6px; align-content: start; padding: 15px 16px; text-decoration: none; color: inherit; transition: transform 0.2s, border-color 0.2s; } .co-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.35); }
.co-card.is-fit-5 { box-shadow: inset 3px 0 0 #6fd8ff; } .co-card.is-fit-4 { box-shadow: inset 3px 0 0 #f0b429; } .co-card.is-fit-low { box-shadow: inset 3px 0 0 rgba(240, 89, 90, 0.8); opacity: 0.8; }
.co-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .co-top strong { font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; } .co-mid { display: flex; flex-wrap: wrap; gap: 6px; } .co-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 2px; }
.co-people { display: grid; gap: 7px; } .co-person { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; color: inherit; background: rgba(255, 255, 255, 0.02); } a.co-person:hover { background: rgba(255, 255, 255, 0.06); }
.co-person .grow { display: grid; gap: 3px; min-width: 0; } .co-person strong { font-size: 15.5px; } .co-person .dim.small { overflow-wrap: anywhere; } .co-person.is-fit-5 { box-shadow: inset 3px 0 0 #6fd8ff; } .co-person.is-fit-4 { box-shadow: inset 3px 0 0 #f0b429; }

/* account research */
.intel { margin-top: 18px; }
.intel h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim, #9aa3ad); margin: 16px 0 6px; }
.intel-brief { border: 1px solid rgba(120, 200, 255, .22); background: rgba(80, 160, 255, .06); border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.intel-brief p { margin: 0 0 9px; line-height: 1.5; } .intel-brief p:last-child { margin-bottom: 0; }
.intel-brief .eyebrow { display: block; margin-bottom: 2px; }
.intel-brief ul { margin: 0 0 4px 18px; padding: 0; } .intel-brief li { margin-bottom: 5px; line-height: 1.45; }
.intel-jobs { list-style: none; margin: 0; padding: 0; max-height: 230px; }
.intel-jobs li { padding: 7px 0 7px 12px; border-left: 2px solid rgba(255,255,255,.12); margin-left: 4px; }
.intel-jobs li.now { border-left-color: #4ade80; }
.intel-jobs li span { display: block; }
.intel-posts article { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); } .intel-posts article:last-child { border-bottom: 0; }
.intel-posts p { margin: 0 0 4px; line-height: 1.45; }
.intel-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.intel-flag { border: 1px solid rgba(250, 190, 60, .45); background: rgba(250, 190, 60, .09); border-radius: 12px; padding: 9px 12px; }
.intel-strip { padding: 0; margin: 0 0 18px; }
.intel-strip > summary { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 13px 18px; cursor: pointer; list-style: none; }
.intel-strip > summary::-webkit-details-marker { display: none; }
.intel-strip > summary .go { margin-left: auto; opacity: .7; }
.intel-strip.paused { opacity: .85; }
.intel-body { padding: 4px 18px 18px; border-top: 1px solid rgba(255,255,255,.08); }
.intel-set { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin: 14px 0; }
.intel-set label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.intel-set label span { display: flex; align-items: center; gap: 6px; }
.intel-set input[type=number] { width: 78px; }
.intel-cost { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.side > .refresh-btn { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit; opacity: .8; transition: transform .35s ease, opacity .2s, background .2s; z-index: 2; }
.side > .refresh-btn:hover { opacity: 1; background: rgba(255,255,255,.14); transform: rotate(180deg); }
.side > .refresh-btn:active { transform: rotate(360deg); }
.intel-set input[type=number] { padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: inherit; font: inherit; }
.pill.fit-none { background: rgba(255,255,255,.07); color: inherit; opacity: .85; }
.co-filters { gap: 14px; margin: 6px 0 14px; }
.co-filters input, .co-filters select { min-height: 44px; padding: 8px 20px; }
.co-filters select { padding-right: 44px; min-width: 170px; background-position: right 16px center; }
.co-filters input[type="search"] { padding-left: 22px; max-width: 420px; }
.co-filters .btn { padding-left: 24px; padding-right: 24px; }
.sub-row a.sub-link, .sub-row a.av-link { color: inherit; text-decoration: none; display: flex; }
.sub-row a.sub-link { display: grid; min-width: 0; cursor: pointer; }
.sub-row a.sub-link:hover strong { text-decoration: underline; }
/* Discarded stands apart from the pipeline: first on the left, set off by a gap and a divider */
.board #col-discarded { order: -1; margin-right: 30px; position: relative; opacity: .78; border-style: dashed; }
.board #col-discarded:hover, .board #col-discarded.over { opacity: 1; }
.board #col-discarded::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: -22px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.16); pointer-events: none; }
.stage-chips { margin: 10px 0 12px; display: grid; gap: 8px; }
.stage-chips .chips-row { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stage-chips .chips-row > .dim { min-width: 68px; }
.stage-chips button.chip { cursor: pointer; font: inherit; font-size: 13.5px; }
/* People as a list */
.people-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.people-chips button.chip { cursor: pointer; font: inherit; font-size: 13.5px; }
.people-table-wrap { padding: 0; overflow-x: auto; }
.people-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.people-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; font-weight: 600; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; position: sticky; top: 0; }
.people-table td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: middle; }
.people-table tbody tr:hover { background: rgba(255,255,255,.04); }
.people-table tbody tr:last-child td { border-bottom: 0; }
.people-table td small { display: block; font-size: 12.5px; }
.people-table a { color: inherit; text-decoration: none; } .people-table td a:hover { text-decoration: underline; }
.people-table a.who { display: flex; align-items: center; gap: 10px; min-width: 190px; } .people-table a.who:hover { text-decoration: none; } .people-table a.who:hover strong { text-decoration: underline; }
.people-table a.who span { display: grid; } .people-table a.who strong { font-weight: 600; font-size: 14.5px; }
.people-table .btn.sm { white-space: nowrap; }
.quick-edit { display: grid; gap: 12px; }
.quick-edit .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .quick-edit .form-grid { grid-template-columns: 1fr; } }
.drawer .rel li .pill { width: fit-content; }
.card.sup[data-person] { cursor: pointer; } .card.sup[data-person]:hover { border-color: rgba(255,255,255,.28); }
.money-table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 14px; }
.money-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.money-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.money-table td small { display: block; font-size: 12.5px; margin-top: 2px; } .money-table td small.warn { color: #f5c451; }
.money-table td a { color: inherit; text-decoration: none; } .money-table td a:hover { text-decoration: underline; }
.money-table tr.off { opacity: .6; } .money-table tr.sum td { border-bottom: 0; background: rgba(255,255,255,.04); }
#set-money h3 { margin-top: 22px; }
/* totals in two currencies: one line each */
.stat-value.cur-total { font-size: 0; display: block; }
.cur-two { display: grid; gap: 8px; margin: 6px 0 4px; }
.cur-two > span { display: grid; grid-template-columns: 26px 44px 1fr; align-items: baseline; font-size: 25px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.cur-two > span + span { padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); color: #c7d0d9; font-weight: 600; }
.cur-two i { font-style: normal; font-size: 17px; align-self: center; }
.cur-two small { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: #9aa3ad; }
.cur-pair { display: inline-grid; justify-items: end; gap: 1px; } .cur-pair strong { font-size: 15.5px; white-space: nowrap; } .cur-pair small { font-size: 12.5px; color: #9aa3ad; white-space: nowrap; }
.sub-cost .cur-pair { justify-items: end; }
.money-table tr.sum.big td strong { font-size: 17px; white-space: nowrap; }
.cur-parts { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: #9aa3ad; margin-top: 6px; line-height: 1.35; white-space: normal; }
.cur-total-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.cur-total-row > strong { font-size: 15px; }
.cur-total-row .cur-two { display: flex; gap: 26px; margin: 0; } .cur-total-row .cur-two > span { display: flex; gap: 8px; font-size: 20px; padding: 0; border: 0; }
.cur-total-row .cur-parts { flex-basis: 100%; text-align: right; margin-top: 0; }
.due-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #f0595a; box-shadow: 0 0 0 4px rgba(240,89,90,.18); margin-right: 4px; vertical-align: middle; flex: none; }
.btn-help { margin: 4px 0 10px; line-height: 1.6; } .btn-help strong { color: #e6e9ec; }
/* company expenses by year */
.cy-filters { margin: 4px 0 14px; display: grid; gap: 10px; } .cy-filters .chips-row { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cy-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .cy-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; } .cy-grid .cy-wide { grid-column: 1 / -1; } @media (max-width: 1000px) { .cy-grid { grid-template-columns: minmax(0, 1fr); } }
.cy-grid .card h2 { margin-bottom: 2px; } .cy-grid .card h3 { margin: 18px 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; }
.cy-h { margin: 22px 0 10px; font-size: 20px; }
.cy-svg { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.cy-svg .grid { stroke: rgba(255,255,255,.07); stroke-width: 1; } .cy-svg .axis { stroke: rgba(255,255,255,.22); stroke-width: 1; }
.cy-svg text { font-family: inherit; fill: #9aa3ad; font-size: 11.5px; } .cy-svg .val, .cy-svg .lab { fill: #d7dce1; font-size: 12px; } .cy-svg .lab.strong { fill: #f2f4f6; font-weight: 600; } .cy-svg .ring-big { fill: #f2f4f6; font-size: 26px; font-weight: 700; }
.cy-svg .mark { transition: opacity .15s; cursor: default; outline: none; } .cy-svg:hover .mark { opacity: .55; } .cy-svg .mark:hover, .cy-svg .mark:focus { opacity: 1; }
.cy-svg .band { opacity: .42; transition: opacity .15s; outline: none; } .cy-svg .band:hover, .cy-svg .band:focus { opacity: .8; } .cy-svg .hit { outline: none; cursor: default; } .cy-svg .prev { stroke-dasharray: 5 4; }
.cy-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 13px; color: #c7d0d9; } .cy-legend span { display: inline-flex; align-items: center; gap: 7px; } .cy-legend i, .cy-list i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; flex: none; }
.cy-ringwrap { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 8px; } @media (max-width: 560px) { .cy-ringwrap { grid-template-columns: 1fr; } }
.cy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; } .cy-list li { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto 42px; gap: 10px; align-items: center; } .cy-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cy-list em { font-style: normal; color: #9aa3ad; text-align: right; font-size: 13px; }
.cy-ranked { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; } .cy-ranked li { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr) auto; gap: 10px; align-items: center; outline: none; } .cy-ranked span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d7dce1; }
.cy-ranked b { display: block; height: 10px; } .cy-ranked b i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #3987e5; } .cy-ranked strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.cy-tips { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; } @media (max-width: 900px) { .cy-tips { grid-template-columns: 1fr; } }
.cy-tips li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; } .cy-tips p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; } .cy-tips span { font-size: 18px; line-height: 1.2; }
.cy-tip { position: fixed; z-index: 9999; pointer-events: none; background: #f2f4f6; color: #101214; font-size: 12.5px; font-weight: 500; padding: 7px 10px; border-radius: 8px; max-width: 320px; box-shadow: 0 6px 24px rgba(0,0,0,.4); line-height: 1.35; }
/* money on the dashboard */
.eco-money .goal { margin: 6px 0 16px; } .goal-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; } .goal-top > span { display: grid; gap: 3px; } .goal-top strong { font-size: 19px; }
.goal-form { display: flex; gap: 8px; align-items: flex-end; } .goal-form label { display: grid; gap: 4px; } .goal-form input { width: 150px; }
.goal-bar { position: relative; height: 16px; border-radius: 8px; background: rgba(255,255,255,.08); margin: 12px 0 8px; overflow: hidden; } .goal-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 6px 6px 0; } .goal-bar .ord { background: rgba(57,135,229,.42); } .goal-bar .got { background: #3987e5; }
.goal-key { display: flex; gap: 6px 20px; flex-wrap: wrap; margin: 0; } .goal-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; } .goal-key i.got { background: #3987e5; } .goal-key i.ord { background: rgba(57,135,229,.42); }
.money-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 900px) { .money-kpis { grid-template-columns: minmax(0, 1fr); } } .money-kpis .cur-two > span { font-size: 21px; }
.cy-svg .band { opacity: .34; }
.cy-listhead { align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; } .cy-listhead .cy-h { margin: 0; } .cy-listhead .doc-search { max-width: 380px; flex: 1 1 240px; }
.pill.payer { font-weight: 600; } .pill.payer.p-bernardo { background: rgba(57,135,229,.2); color: #9cc4f5; } .pill.payer.p-lana { background: rgba(213,81,129,.2); color: #f0a3bf; }
.cy-people { margin-bottom: 16px; } .cy-people th.r, .cy-people td.r { text-align: right; } .cy-people td small { display: block; margin-top: 4px; }
.cy-people .share { display: grid; grid-template-columns: minmax(60px, 1fr) 40px; gap: 8px; align-items: center; } .cy-people .share b { height: 10px; background: rgba(255,255,255,.08); border-radius: 5px; overflow: hidden; display: block; } .cy-people .share b i { display: block; height: 100%; background: #3987e5; border-radius: 0 4px 4px 0; } .cy-people .share em { font-style: normal; color: #c7d0d9; font-size: 13px; }
.cy-all { margin: 18px 0; } .cy-all > summary { list-style: none; cursor: pointer; display: inline-flex; } .cy-all > summary::-webkit-details-marker { display: none; }
.fx-pill { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: 12.5px; color: #c7d0d9; white-space: nowrap; } .fx-pill strong { color: #f2f4f6; font-weight: 600; } .fx-pill span { color: #9aa3ad; } .card-head .fx-pill, .row-actions .fx-pill { margin: 0; }
.pm-list { display: grid; gap: 8px; } .pm-row { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); }
.pm-row > summary { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer; list-style: none; } .pm-row > summary::-webkit-details-marker { display: none; } .pm-row > summary:hover { background: rgba(255,255,255,.04); border-radius: 12px; }
.pm-row[open] { border-color: rgba(255,255,255,.26); } .pm-row .quick-edit { padding: 6px 14px 14px; border-top: 1px solid rgba(255,255,255,.08); }
.person-money .rel li { display: grid; gap: 4px; margin-bottom: 10px; } .person-money .rel .row-actions { margin-top: 2px; }
/* owner popup: tools */
.pm-tools { position: sticky; top: 0; z-index: 2; background: #121316; padding: 0 0 10px; display: grid; gap: 10px; }
.pm-search { width: 100%; min-height: 46px; border-radius: 14px; padding: 8px 16px; font-size: 15px; }
.pm-toolrow { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .pm-toolrow .chips-row { margin: 0; display: flex; gap: 6px; }
.pm-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); } .pm-seg button { border: 0; background: none; color: #c7d0d9; font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; cursor: pointer; } .pm-seg button.picked { background: #f2f4f6; color: #101214; font-weight: 600; }
.pm-tools button.chip, .pm-bars button { cursor: pointer; font: inherit; } .pm-tools button.chip { min-height: 32px; font-size: 13px; }
.pm-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; min-height: 30px; } .pm-count strong { color: #f2f4f6; }
.pm-edit { opacity: 0; margin-left: 2px; color: #9aa3ad; transition: opacity .15s; } .pm-row > summary:hover .pm-edit, .pm-row[open] .pm-edit { opacity: 1; }
.pm-bars li { display: block; } .pm-bars button { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; background: none; border: 0; color: inherit; padding: 4px 6px; border-radius: 8px; text-align: left; font-size: 13.5px; }
.pm-bars button:hover { background: rgba(255,255,255,.06); } .pm-bars button.picked { background: rgba(57,135,229,.18); outline: 1px solid rgba(57,135,229,.5); }
.pm-switch { align-self: center; margin-left: auto; margin-right: 10px; }
.drawer.saving .peek-body { opacity: .5; pointer-events: none; transition: opacity .15s; }
.eco-money.small { padding-top: 16px; padding-bottom: 14px; } .eco-money.small h2 { font-size: 17px; } .eco-money.small .goal { margin: 4px 0 12px; } .goal-line { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 0; } .eco-money.small .goal-bar { height: 10px; margin: 8px 0 0; }
.money-row { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; } @media (max-width: 1100px) { .money-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 600px) { .money-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.money-row a { display: grid; gap: 2px; padding: 9px 11px; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); color: inherit; text-decoration: none; } .money-row a:hover { border-color: rgba(255,255,255,.24); }
.money-row span { font-size: 11.5px; color: #9aa3ad; letter-spacing: .02em; } .money-row strong { font-size: 15.5px; white-space: nowrap; } .money-row small { font-size: 12px; color: #9aa3ad; white-space: nowrap; }
.goal-set { margin-top: 10px; } .goal-set summary { cursor: pointer; } .goal-set .goal-form { margin-top: 8px; }
/* settings: automatic actions */
.auto-row { display: flex; gap: 14px 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); } .auto-row:first-of-type { border-top: 0; }
.auto-sw { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; flex: 1 1 320px; } .auto-sw input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; accent-color: #35b24a; } .auto-sw span { display: grid; gap: 2px; } .auto-sw small { font-size: 13px; line-height: 1.4; }
.auto-nums { display: flex; gap: 14px; flex-wrap: wrap; } .auto-num { display: grid; gap: 3px; font-size: 13px; } .auto-num > span:last-child { display: flex; align-items: center; gap: 6px; color: #c7d0d9; }
.auto-num input { width: 78px; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: inherit; font: inherit; min-height: 0; }
.money-charts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; margin: 16px 0 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); align-items: start; } @media (max-width: 1000px) { .money-charts { grid-template-columns: minmax(0, 1fr); } }
.money-charts h3 { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; } .money-charts .cy-ringwrap { grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); }
.set-steps { margin: 4px 0 12px 18px; padding: 0; display: grid; gap: 5px; line-height: 1.5; } .set-steps a { color: inherit; }
/* inbox: slim status line, day headings, rows that open in place */
.send-strip { padding: 12px 16px; margin-bottom: 14px; } .ss-top { display: flex; gap: 8px 18px; align-items: center; flex-wrap: wrap; }
.ss-n { color: #9aa3ad; font-size: 14px; text-decoration: none; white-space: nowrap; } .ss-n strong { color: #c7d0d9; font-size: 16px; margin-right: 3px; } .ss-n.has strong { color: #f2f4f6; } .ss-n.due strong { color: #f0b429; } .ss-n.ok strong { color: #4ade80; } .ss-n.bad strong { color: #f0595a; } a.ss-n:hover { color: #f2f4f6; }
.ss-beat { margin-left: auto; white-space: nowrap; } .ss-queue { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; } .ss-queue > summary { cursor: pointer; font-size: 13.5px; color: #c7d0d9; list-style: none; display: inline-flex; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); } .ss-queue > summary::-webkit-details-marker { display: none; } .ss-queue[open] > summary { margin-bottom: 6px; }
.mail-chips { margin: 10px 0 12px; }
.mail-day { margin: 0; padding: 12px 18px 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9aa3ad; font-weight: 600; } .mail-day:not(:first-child) { border-top: 1px solid rgba(255,255,255,.07); margin-top: 4px; }
.mail-list .mail-row { transition: background .15s; } .mail-list .mail-row:hover { background: rgba(255,255,255,.05); }
.mail-row.fresh .mail-top strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3987e5; margin-right: 7px; vertical-align: middle; }
.mail-side { display: grid; justify-items: end; gap: 4px; flex: none; } .mail-open { font-size: 12.5px; color: #c7d0d9; opacity: 0; transition: opacity .15s; white-space: nowrap; } .mail-row:hover .mail-open { opacity: 1; }
.mail-read { max-height: 52vh; line-height: 1.6; } .mail-thread li a { display: grid; gap: 2px; color: inherit; text-decoration: none; padding: 6px 8px; border-radius: 8px; } .mail-thread li a:hover { background: rgba(255,255,255,.06); }

/* ---------- Simple view: slimmer page tops, same content. Switched in Settings > Look; Classic view removes this class and nothing below applies. ---------- */
body.simple h1 { font-size: clamp(24px, 2.3vw, 31px); }
body.simple .head-row { align-items: center; gap: 8px 18px; }
body.simple .page { gap: 10px; padding-top: clamp(14px, 1.6vw, 20px); } body.simple .page > * { margin-top: 0; margin-bottom: 0; }
body.simple .banner { padding: 9px 16px; gap: 12px; } body.simple .banner-emoji { font-size: 22px; filter: none; }
body.simple .banner > div { display: flex; align-items: baseline; gap: 4px 14px; flex-wrap: wrap; min-width: 0; } body.simple .banner h2 { font-size: 15.5px; white-space: nowrap; }
body.simple .banner p { font-size: 13px; margin: 0; color: #b6bcc4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; cursor: help; } body.simple .banner p.open { display: block; }
body.simple .stats { gap: 10px; } body.simple .stats .card.stat, body.simple .stats > li > .card { padding: 11px 14px; }
body.simple .stat-value { font-size: clamp(21px, 1.9vw, 27px); } body.simple .stats .stat-label { font-size: 12.5px; }
body.simple .stats .card .dim.small, body.simple .stats .stat-more { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
body.simple .cur-two { gap: 4px; margin: 3px 0 2px; } body.simple .cur-two > span { font-size: 19px; } body.simple .cur-two > span + span { padding-top: 4px; } body.simple .cur-parts { display: none; }
body.simple .card { padding: clamp(13px, 1.3vw, 18px); }
body.simple .card > h2 { font-size: 17px; } body.simple .card > .card-head h2 { font-size: 17px; }
body.simple .card > p.dim { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; cursor: help; } body.simple .card > p.dim.open { display: block; }
body.simple .strip-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 10px; } body.simple .strip-pair > * { margin: 0; }
body.simple .sched-strip { padding: 7px 12px; font-size: 13px; }
body.simple .toolbar { margin-top: 10px; }
body.simple .btn-help { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
body.simple .eco-health { margin: 8px 0; }
body.simple .board-hint, body.simple .fx-note-line, body.simple .lead-legend, body.simple .btn-help { display: none; }
body.simple .fit-chips, body.simple .people-chips, body.simple .mail-chips { margin: 0; }
body.simple .cy-filters { margin: 0; gap: 8px; } body.simple .co-filters { margin: 0; }
/* settings: voice chooser */
.voice-pick { display: grid; gap: 10px; margin: 8px 0 14px; } .vp-row { display: grid; grid-template-columns: minmax(130px, 170px) minmax(0, 1fr) auto minmax(0, 220px); gap: 10px; align-items: center; } @media (max-width: 900px) { .vp-row { grid-template-columns: 1fr; } }
.vp-row select, .vp-row input { min-height: 40px; } [data-sample].is-playing { background: #35b24a; color: #fff; border-color: #35b24a; }
.vp-found { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; } .vp-found li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; } .vp-found small { display: block; margin-top: 2px; line-height: 1.4; } .vp-found code { font-size: 12.5px; background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; user-select: all; }
/* standup: text uses the whole screen, the line being spoken stands out, the day's numbers sit right under the title */
.meet-text > .meet-speaker { order: 1; } .meet-text > h2 { order: 2; } .meet-text > .meet-stats { order: 3; } .meet-text > .meet-gate { order: 4; } .meet-text > .meet-lines { order: 5; } .meet-text > .meet-points { order: 6; }
.meet-lines { max-width: none; gap: 4px; max-height: min(52vh, 560px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.meet-lines li { padding: 10px 16px; border-radius: 14px; border-left: 4px solid transparent; color: #7f7f88; font-size: clamp(16.5px, 1.45vw, 20px); line-height: 1.45; scroll-margin: 12px; }
.meet-lines li.said { color: #b4b4bc; }
.meet-lines li.on { color: #fff; font-weight: 500; background: rgba(255, 255, 255, 0.08); border-left-color: var(--a, #fff); transform: none; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
/* modern standup lines: a quiet timeline, a small label over each line, figures in the presenter's colour, the spoken line lifted onto a soft tinted card */
.meet-lines { position: relative; gap: 2px; max-width: 980px; padding-left: 18px; }
.meet-lines::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(color-mix(in srgb, var(--a, #fff) 45%, transparent), transparent); }
.meet-lines li { position: relative; display: grid; gap: 3px; padding: 12px 18px; border-left: 0; border-radius: 16px; color: #8a8a93; font-size: clamp(16px, 1.35vw, 19px); font-weight: 400; letter-spacing: -0.006em; line-height: 1.5; transition: color .35s, background .35s, box-shadow .35s, opacity .35s; }
.meet-lines li::before { content: ""; position: absolute; left: -16px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: #2b2b31; border: 1px solid rgba(255, 255, 255, 0.18); transition: background .35s, box-shadow .35s; }
.meet-lines li.said { color: #c9c9cf; } .meet-lines li.said::before { background: color-mix(in srgb, var(--a, #fff) 55%, #2b2b31); border-color: transparent; }
.meet-lines li.on { color: #fff; font-weight: 500; background: linear-gradient(100deg, color-mix(in srgb, var(--b, #fff) 16%, rgba(255, 255, 255, 0.04)), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a, #fff) 22%, transparent), 0 10px 30px rgba(0, 0, 0, 0.28); }
.meet-lines li.on::before { background: var(--a, #fff); border-color: transparent; box-shadow: 0 0 0 5px color-mix(in srgb, var(--a, #fff) 20%, transparent); }
.ml-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--a, #fff) 70%, #8a8a93); }
.meet-lines li:not(.on):not(.said) .ml-tag { color: #5e5e66; }
.ml-num { font-weight: 650; color: var(--a, #fff); font-variant-numeric: tabular-nums; }
.meet-lines li:not(.on):not(.said) .ml-num { color: #a8a8b0; }
@media (max-width: 700px) { .meet-lines { padding-left: 14px; } .meet-lines li { padding: 10px 12px; } .meet-lines li::before { left: -13px; } }
.meet-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.meet-stats li { min-width: 0; padding: 12px 16px; border-color: color-mix(in srgb, var(--a, #fff) 30%, transparent); background: color-mix(in srgb, var(--b, #fff) 9%, rgba(255, 255, 255, 0.03)); }
.meet-stats strong { font-size: clamp(22px, 2.2vw, 30px); color: var(--a, #fff); }
.meet-stats span { font-size: 13px; color: #c7c7cc; }
@media (min-width: 1100px) { .meet.has-visual .meet-stats { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }
/* Listen: Claudio's short spoken version of what he wrote */
.say-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(238, 154, 120, 0.5); background: rgba(217, 119, 87, 0.14); color: #ffd3c2; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
.say-btn:hover { background: rgba(217, 119, 87, 0.28); transform: translateY(-1px); } .say-btn.is-playing { background: #d97757; color: #fff; border-color: #d97757; } .say-btn.is-loading { opacity: .75; cursor: progress; }
.say-line { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid #d97757; border-radius: 0 10px 10px 0; background: rgba(217, 119, 87, 0.1); font-size: 13.5px; line-height: 1.45; color: #f3e6e0; font-style: italic; max-width: 640px; }
.advice .say-btn, .intel-brief .say-btn { margin-top: 10px; }
.opp-set { display: grid; gap: 12px; margin-top: 14px; } .opp-set textarea { font-family: inherit; font-size: 14px; line-height: 1.5; min-height: 170px; }
.job-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line, rgba(255,255,255,.08)); } .job-row .grow { flex: 1 1 320px; min-width: 0; } .job-row.off { opacity: .72; }
.job-row .job-top { margin: 0 0 4px; } .job-row p { margin: 0 0 4px; } .job-row .row-actions { display: flex; gap: 6px; flex-wrap: wrap; } .job-row .row-actions form { margin: 0; } .job-note { background: rgba(57,135,229,.10); border-left: 3px solid #3987e5; padding: 8px 10px; border-radius: 6px; line-height: 1.5; }
.job-edit { flex: 1 1 100%; } .job-edit > summary { cursor: pointer; display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); font-size: 13px; list-style: none; } .job-edit > summary::-webkit-details-marker { display: none; } .job-edit[open] > summary { background: rgba(255,255,255,.08); }
.job-edit form { margin-top: 12px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); } .job-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; } .job-edit label { display: grid; gap: 5px; font-size: 12.5px; color: #9aa3ad; } .job-edit textarea { min-height: 0; } .job-name { color: inherit; text-decoration: none; } .job-name:hover strong { text-decoration: underline; }
.job-row:target, .job-edit:target { scroll-margin-top: 90px; }
.code-one pre { white-space: pre-wrap; word-break: break-word; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 12px 14px; border-radius: 10px; max-height: 420px; overflow: auto; margin: 6px 0 14px; } .code-old { background: rgba(240,89,90,.09); border: 1px solid rgba(240,89,90,.28); } .code-new { background: rgba(53,178,74,.09); border: 1px solid rgba(53,178,74,.3); } .code-one h3 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; margin: 10px 0 0; } .code-one .row-actions { display: flex; gap: 8px; } .code-one .row-actions form { margin: 0; }
.msg .in-line { display: block; margin-top: 4px; font-size: 11.5px; color: #c98500; text-align: right; } .msg.status-note .bubble { border: 1px dashed rgba(201,133,0,.5); background: rgba(201,133,0,.08); }
.nav-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #f0595a; color: #fff; font-size: 11px; font-weight: 700; margin-left: 6px; }
/* Claude AI page: three squares, each its own colour, and a bigger Claudio */
.claude-bar .ctile-ic { font-size: 24px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.claude-bar .ctile-green { background: linear-gradient(160deg, rgba(53,178,74,.26), rgba(53,178,74,.07)); border-color: rgba(53,178,74,.5); } .claude-bar .ctile-green .ctile-ic { background: rgba(53,178,74,.28); color: #fff; }
.claude-bar .ctile-blue { background: linear-gradient(160deg, rgba(57,135,229,.26), rgba(57,135,229,.07)); border-color: rgba(57,135,229,.5); } .claude-bar .ctile-blue .ctile-ic { background: rgba(57,135,229,.28); }
.claude-bar .ctile-orange { background: linear-gradient(160deg, rgba(217,89,38,.28), rgba(217,89,38,.07)); border-color: rgba(217,89,38,.52); } .claude-bar .ctile-orange .ctile-ic { background: rgba(217,89,38,.3); }
.chat-head .claudio.staged { width: 168px; } .chat-head .with-claudio { gap: 20px; align-items: center; }
@media (max-width: 760px) { .chat-head .claudio.staged { width: 116px; } .claude-bar { grid-template-columns: repeat(3, 1fr); } }
.msg .work-note { display: block; margin-top: 6px; font-size: 12px; color: #9aa3ad; }
/* Claude AI page: the three shortcuts as horizontal bars side by side — emoji on the left, name and note on the right */
.claude-bar { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; }
.claude-bar .ctile { flex-direction: row; justify-content: flex-start; align-items: center; text-align: left; aspect-ratio: auto; min-height: 68px; padding: 12px 16px; gap: 14px; display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; }
.claude-bar .ctile .ctile-ic { grid-row: 1 / 3; grid-column: 1; align-self: center; }
.claude-bar .ctile b { grid-column: 2; align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.claude-bar .ctile small { grid-column: 2; align-self: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.claude-bar .ctile-count { top: 50%; right: 12px; transform: translateY(-50%); }
@media (max-width: 760px) { .claude-bar { grid-template-columns: 1fr; } .claude-bar .ctile { min-height: 58px; } .claude-bar .ctile-ic { width: 40px; height: 40px; } }
/* the same three bars side by side on a tablet and a phone too, only smaller */
@media (max-width: 1100px) { .claude-bar { gap: 8px; } .claude-bar .ctile { padding: 10px 12px; grid-template-columns: 38px minmax(0, 1fr); column-gap: 10px; min-height: 60px; } .claude-bar .ctile-ic { width: 38px; height: 38px; font-size: 20px; border-radius: 10px; } .claude-bar .ctile b { font-size: 14px; } }
/* popups on a phone: a bottom sheet that fits the screen, scrolls inside, smaller titles, inputs that do not make the phone zoom in */
@media (max-width: 900px) {
  .drawer, .drawer.wide { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: 100vw; transform: none; height: auto; max-height: calc(90dvh / 0.9); border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); z-index: 70; }
  .drawer .peek-head { padding: 14px 10px 12px 16px; position: sticky; top: 0; }
  .drawer .peek-head h2, .drawer.wide .peek-head h2 { font-size: 19px; }
  .drawer .peek-body, .drawer.wide .peek-body.peek-cols { min-height: 0; flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px 16px 22px; }
  .drawer.wide .peek-col { padding-right: 0; padding-bottom: 8px; }
  .drawer .mini, .drawer.wide .mini { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .drawer .peek-actions .btn, .drawer.wide .peek-actions .btn { font-size: 14px; flex: 1 1 auto; }
  .drawer.wide .advice p { font-size: 14px; }
  .drawer input, .drawer select, .drawer textarea { font-size: 18px; max-width: 100%; }
  .stage-top { margin: 0 -16px; padding: 10px 16px; }
}
/* CRM and every other popup, phone only (900px wide or less): a compact bottom sheet of 80% of the screen, normal text sizes, chips in one sliding row, so the list of deals gets the room. The computer view is not touched. */
@media (max-width: 900px) {
  .drawer, .drawer.wide { top: auto; bottom: 0; left: 0; right: 0; width: auto; max-width: 100%; height: auto; max-height: calc(80dvh / 0.9); transform: none; border-radius: 18px 18px 0 0; font-size: 14px; z-index: 70; padding-bottom: env(safe-area-inset-bottom); }
  .drawer .peek-head { padding: 12px 8px 10px 14px; gap: 8px; align-items: flex-start; background: rgba(18, 18, 20, 0.97); }
  .drawer .peek-head h2, .drawer.wide .peek-head h2 { font-size: 18px; line-height: 1.2; }
  .drawer .peek-head .eyebrow { font-size: 11px; }
  .drawer .peek-head p.dim { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .drawer .peek-head .icon-btn { width: 40px; height: 40px; flex: none; }
  .drawer .peek-body, .drawer.wide .peek-body.peek-cols { padding: 12px 14px 18px; gap: 10px; overflow-x: hidden; }
  .drawer .peek-body h3 { font-size: 15.5px; }
  .drawer .mini div, .drawer.wide .mini div { padding: 8px 10px; } .drawer .mini dd { font-size: 14px; }
  .drawer .peek-actions .btn, .drawer.wide .peek-actions .btn { flex: 1 1 calc(50% - 4px); min-height: 40px; font-size: 13.5px; padding: 8px 10px; }
  .drawer input, .drawer select, .drawer textarea { font-size: 16px; max-width: 100%; }
  .drawer table { display: block; overflow-x: auto; }
  .drawer img, .drawer video { max-width: 100%; height: auto; }
  /* the Move deals popup of the CRM (the + on each step, Follow-up included) */
  .drawer .stage-pick > p.dim.small { margin: 0; font-size: 12.5px; }
  .drawer .chips-row { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .drawer .chips-row::-webkit-scrollbar { display: none; }
  .drawer .chips-row .chip, .drawer .stage-chips button.chip { flex: none; white-space: nowrap; font-size: 12.5px; }
  .drawer .stage-top { top: -12px; margin: 0 -14px; padding: 8px 14px; gap: 8px; }
  .drawer .stage-top .stage-filter { min-height: 38px; padding: 6px 12px; }
  .drawer .stage-top .bulk-bar { gap: 8px; flex-wrap: wrap; }
  .drawer .stage-top .btn { min-height: 38px; font-size: 13.5px; padding: 6px 12px; }
  .drawer .stage-chips { margin: 6px 0 8px; gap: 6px; }
  .drawer .stage-chips .chips-row > .dim { min-width: 0; flex: none; }
  .drawer .stage-list { gap: 6px; }
  .drawer .stage-row { padding: 8px 10px; gap: 10px; }
  .drawer .stage-row strong, .drawer.wide .stage-row strong { font-size: 14.5px; }
  .drawer .stage-row .dim.small, .drawer.wide .stage-row .dim.small { font-size: 12.5px; }
}
@media (max-width: 760px) { .claude-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .claude-bar .ctile { min-height: 52px; padding: 8px; grid-template-columns: 28px minmax(0, 1fr); column-gap: 7px; } .claude-bar .ctile-ic { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; } .claude-bar .ctile b { font-size: 11.5px; line-height: 1.2; white-space: normal; grid-row: 1 / 3; align-self: center; } .claude-bar .ctile small { display: none; } .claude-bar .ctile-count { top: 4px; right: 4px; transform: none; min-width: 16px; height: 16px; font-size: 10px; } }

/* CRM · By company: one row per company */
.co-list { display: grid; gap: 8px; margin-top: 6px; }
.co-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) 84px minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.1fr); gap: 14px; align-items: center; padding: 13px 16px; text-decoration: none; color: inherit; transition: border-color 0.2s, background-color 0.2s; }
.co-row:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); }
.co-row.is-fit-5 { box-shadow: inset 3px 0 0 #6fd8ff; } .co-row.is-fit-4 { box-shadow: inset 3px 0 0 #f0b429; }
.co-row > span { min-width: 0; display: grid; gap: 2px; } .co-row-main strong { font-size: 16px; overflow-wrap: anywhere; } .co-row-pills { display: flex !important; flex-wrap: wrap; gap: 5px; align-items: center; }
.co-row-count { justify-items: center; text-align: center; padding: 6px 4px; border-radius: 12px; background: rgba(57, 135, 229, 0.14); border: 1px solid rgba(57, 135, 229, 0.35); } .co-row-count b { font-size: 20px; line-height: 1; } .co-row-count small { font-size: 11px; color: #9aa3ad; }
.co-main { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .co-row-who small, .co-row-next small { font-size: 11.5px; }
.co-row-people { display: flex !important; flex-wrap: wrap; gap: 5px; } .co-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: #c9ced6; white-space: nowrap; } .co-chip .av { width: 22px; height: 22px; font-size: 10px; } .co-chip.more { padding: 3px 9px; }
.co-row-next span, .co-row-next .due { font-size: 13.5px; overflow-wrap: anywhere; white-space: normal; display: block; min-width: 0; } .co-row { overflow: hidden; }
@media (max-width: 1300px) { .co-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) 78px minmax(0, 1.2fr); } .co-row-people, .co-row-next { grid-column: span 2; } }
/* the company popup: a main-contact button beside each person, and tidier spacing */
.co-people { gap: 8px; } .co-person { align-items: center; } .co-person .grow > span:last-child { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.drawer .timeline li { height: auto; min-height: 0; padding-bottom: 12px; } .drawer .timeline .t-body { line-height: 1.4; overflow-wrap: anywhere; } .drawer .timeline .t-head { margin-bottom: 2px; }
.co-mainform { margin: -4px 0 4px; display: flex; justify-content: flex-end; } .co-mainform .btn { font-size: 12.5px; padding: 4px 10px; min-height: 0; }
.drawer.wide .peek-head { align-items: flex-start; } .drawer.wide .peek-head .eyebrow { flex-wrap: wrap; row-gap: 4px; } .drawer.wide .peek-col > h3:first-child { margin-top: 0; }
.drawer.wide .peek-actions { display: flex; flex-wrap: wrap; gap: 8px; } .drawer.wide .peek-actions .btn { flex: 0 1 auto; }

/* ===== Phone only (screens 900px wide or less). Nothing below changes the computer view. ===== */
@media (max-width: 900px) {
  /* nothing may push a page sideways */
  main, .page { max-width: 100%; overflow-x: clip; }
  .banner > div, .card-head > *, .head-row > *, .run-row > span, .set-grid > *, .card { min-width: 0; }
  .banner h2, .banner p, .card-head h2, .page-head h1 { white-space: normal !important; overflow-wrap: anywhere; }
  .card-head, .head-row, .toolbar, .found-bar, .row-actions { flex-wrap: wrap; row-gap: 8px; }
  .run-row strong, .run-row .dim { white-space: normal; overflow-wrap: anywhere; }
  .fx-pill { flex-wrap: wrap; max-width: 100%; }
  /* wide tables slide inside their own box instead of stretching the page */
  .money-table, .table-wrap { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .money-table th, .money-table td { white-space: nowrap; } .money-table td:first-child, .money-table th:first-child { white-space: normal; min-width: 150px; }
  /* the small "i" explanations open inside the screen */
  details.info[open] { display: block; width: 100%; margin-top: 6px; } details.info > div { position: static; width: auto; max-width: 100%; margin-top: 6px; box-shadow: none; font-weight: 400; }
  /* popups: the full width of the phone, and their heading never slides out of view */
  .drawer, .drawer.wide { left: 0; right: auto; width: calc(100vw / 0.9); max-width: none; overflow-x: clip; }
  .drawer .peek-head { overflow: visible; overflow-x: clip; flex: 0 0 auto; } .drawer .peek-head > div { min-width: 0; flex: 1 1 auto; }
  .drawer .peek-head .eyebrow { flex-wrap: wrap; row-gap: 4px; }
  .drawer .peek-head h2, .drawer .peek-head p { overflow-wrap: anywhere; }
  .drawer .peek-body > *, .drawer .peek-col { min-width: 0; max-width: 100%; }
  .drawer .peek-actions { flex-wrap: wrap; }
  /* typing in a box must not make the iPhone zoom the page (the text has to be at least 16px on screen) */
  main input:not([type=checkbox]):not([type=radio]):not([type=range]), main select, main textarea, .cl-panel textarea, .palette-box input { font-size: 18px !important; }
  /* things to tap are big enough for a thumb */
  .btn { min-height: 46px; } .btn.sm { min-height: 42px; } .icon-btn { min-width: 44px; min-height: 44px; }
  .col .add { width: 44px; height: 44px; }
  .seg a, .chip, .pm-sort, .say-btn, .act { min-height: 40px; display: inline-flex; align-items: center; }
  .table td a, .list-row a, .rel a { padding-block: 5px; display: inline-block; }
  .tick input[type=checkbox], input[type=checkbox] { width: 22px; height: 22px; }
  /* Claudio stays small and above the bottom menu, so he never covers a button */
  .claudio.float, .claudio.is3d.float { right: 2px; bottom: calc(108px + env(safe-area-inset-bottom)); width: 92px; }
  .claudio.is3d .cl-hide { bottom: calc(108px + env(safe-area-inset-bottom)); }
  .claudio.float .cl-bubble { max-width: 230px; font-size: 13.5px; }
  /* CRM board: one step per screen, sliding with the thumb; the empty Discarded step goes to the end */
  .board { grid-auto-columns: 84%; gap: 10px; scroll-snap-type: x mandatory; scroll-padding-left: 2px; -webkit-overflow-scrolling: touch; }
  .board > * { scroll-snap-align: start; }
  .board #col-discarded, .board .strip-pair:has(#col-discarded) { order: 99; }
  .board-scroll { display: none; }
  /* number tiles show their whole text */
  .stat, .tile { height: auto; overflow: visible; } .stat *, .tile * { white-space: normal; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
  /* CRM · By company on a phone: each company is a compact card */
  .co-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px 10px; padding: 12px; }
  .co-row-main { grid-column: 1; } .co-row-count { grid-column: 2; grid-row: 1 / 3; align-self: start; } .co-row-pills { grid-column: 1; }
  .co-row-who, .co-row-people, .co-row-next { grid-column: 1 / -1; }
  .co-mainform { justify-content: flex-start; } .co-mainform .btn { min-height: 38px; }
  /* top bar of the phone app: the logo bigger and in the middle, the refresh button at the top right */
  .mtop { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 8px 10px; }
  .mtop .brand { grid-column: 2; grid-row: 1; justify-self: center; display: block; line-height: 0; }
  .mtop .brand img { height: 56px; width: auto; }
  .mtop .badge { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; font-size: 8.5px; padding: 3px 6px; letter-spacing: 0.06em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .mtop .refresh-btn { display: grid !important; place-items: center; grid-column: 3; grid-row: 1; justify-self: end; width: 46px; height: 46px; min-width: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff; }
  .mtop .refresh-btn svg { width: 20px; height: 20px; }
  /* a bit of air at the bottom so the last button is never under the menu */
  main { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
