/* [project]/node_modules/@fontsource-variable/inter/index.css [app-client] (css) */
@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-cyrillic-ext-wght-normal.20g3-bbbhdq0_.woff2") format("woff2-variations");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-cyrillic-wght-normal.2cxlyxah-fd35.woff2") format("woff2-variations");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-greek-ext-wght-normal.0mkxydxl0e43d.woff2") format("woff2-variations");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-greek-wght-normal.1rx9vjatjkdar.woff2") format("woff2-variations");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-vietnamese-wght-normal.2kcj5i_8uff48.woff2") format("woff2-variations");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-latin-ext-wght-normal.3gdi_th3seg1n.woff2") format("woff2-variations");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../media/inter-latin-wght-normal.0gsaq8ukbf34m.woff2") format("woff2-variations");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* [project]/app/globals.css [app-client] (css) */
:root {
  --navy-900: #0f172a;
  --navy-800: #172554;
  --navy-700: #1e3a8a;
  --indigo-600: #2563eb;
  --indigo-500: #3b82f6;
  --indigo-100: #dbeafe;
  --indigo-50: #eff6ff;
  --ink: #172033;
  --ink-2: #475569;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --bg: #f8fafc;
  --bg-2: #fff;
  --white: #fff;
  --green-600: #15803d;
  --green-50: #f0fdf4;
  --amber-600: #b45309;
  --amber-50: #fffbeb;
  --red-600: #dc2626;
  --red-50: #fef2f2;
  --violet-600: #7c3aed;
  --violet-50: #f5f3ff;
  --cyan-600: #0f766e;
  --cyan-50: #f0fdfa;
  --r-sm: 6px;
  --r: 9px;
  --r-lg: 13px;
  --sh-1: 0 1px 2px #0f172a08;
  --sh-2: 0 5px 18px #0f172a12;
  --sh-3: 0 16px 36px #0f172a1f, 0 3px 8px #0f172a0a;
  --f: "Inter Variable", "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --d1: .12s;
  --d2: .18s;
  --d3: .24s;
}

:root[data-theme="dark"] {
  --ink: #e4e9f2;
  --ink-2: #a3aec2;
  --ink-3: #828fa6;
  --ink-4: #5e6a80;
  --line: #28303f;
  --line-2: #1e2531;
  --bg: #0b0f17;
  --bg-2: #141a24;
  --white: #141a24;
  --indigo-600: #5b8cff;
  --indigo-500: #6c98ff;
  --indigo-100: #233155;
  --indigo-50: #182238;
  --green-600: #4ade80;
  --green-50: #112a1d;
  --amber-600: #fbbf24;
  --amber-50: #2c2208;
  --red-600: #f87171;
  --red-50: #2c1515;
  --violet-600: #b39bfb;
  --violet-50: #241c3d;
  --cyan-600: #5eead4;
  --cyan-50: #0f2a27;
  --sh-1: 0 1px 2px #0000004d;
  --sh-2: 0 5px 18px #00000059;
  --sh-3: 0 16px 36px #00000073, 0 3px 8px #0003;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e4e9f2;
    --ink-2: #a3aec2;
    --ink-3: #828fa6;
    --ink-4: #5e6a80;
    --line: #28303f;
    --line-2: #1e2531;
    --bg: #0b0f17;
    --bg-2: #141a24;
    --white: #141a24;
    --indigo-600: #5b8cff;
    --indigo-500: #6c98ff;
    --indigo-100: #233155;
    --indigo-50: #182238;
    --green-600: #4ade80;
    --green-50: #112a1d;
    --amber-600: #fbbf24;
    --amber-50: #2c2208;
    --red-600: #f87171;
    --red-50: #2c1515;
    --violet-600: #b39bfb;
    --violet-50: #241c3d;
    --cyan-600: #5eead4;
    --cyan-50: #0f2a27;
    --sh-1: 0 1px 2px #0000004d;
    --sh-2: 0 5px 18px #00000059;
    --sh-3: 0 16px 36px #00000073, 0 3px 8px #0003;
  }
}

:root[data-theme="dark"] .notice {
  background: var(--amber-50);
  color: var(--amber-600);
  border-color: #4a3a12;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .notice {
    background: var(--amber-50);
    color: var(--amber-600);
    border-color: #4a3a12;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--f);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv05", "cv08", "ss01";
  font-size: 13px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

svg.i {
  flex: none;
  width: 18px;
  height: 18px;
  display: block;
}

svg.i.s {
  width: 15px;
  height: 15px;
}

.app {
  height: 100vh;
  display: flex;
}

.sb {
  background: var(--bg-2);
  width: 240px;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
  flex-direction: column;
  flex: none;
  padding: 16px 0;
  transition: width .18s;
  display: flex;
  position: relative;
}

.sb-toggle {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.sb-collapse-btn {
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  width: 24px;
  height: 24px;
  color: var(--ink-3);
  z-index: 5;
  box-shadow: var(--sh-1);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 22px;
  right: -12px;
}

.sb-collapse-btn:hover {
  color: var(--indigo-600);
  border-color: #d6defb;
}

.sb-collapse-btn .i {
  width: 13px;
  height: 13px;
  transition: transform .18s;
  transform: rotate(180deg);
}

.sb:has(.sb-toggle:checked) {
  width: 76px;
}

.sb:has(.sb-toggle:checked) .sb-collapse-btn .i {
  transform: rotate(0);
}

.sb:has(.sb-toggle:checked) .brand {
  justify-content: center;
  padding: 2px 0 20px;
}

.sb:has(.sb-toggle:checked) .wordmark {
  display: none;
}

.sb:has(.sb-toggle:checked) .wordmark-icon {
  display: block;
}

.sb:has(.sb-toggle:checked) .navlist {
  align-items: center;
  width: 100%;
  padding: 0 12px;
}

.sb:has(.sb-toggle:checked) .navlist > div {
  flex-direction: column;
  align-items: center;
  width: 100%;
  display: flex;
}

.sb:has(.sb-toggle:checked) .navlist > div + div {
  border-top: 1px solid var(--line-2);
  margin-top: 8px;
  padding-top: 8px;
}

.sb:has(.sb-toggle:checked) .nav {
  justify-content: center;
  gap: 0;
  width: 44px;
  height: 44px;
  padding: 0;
}

.sb:has(.sb-toggle:checked) .nav .navtext {
  display: none;
}

.sb:has(.sb-toggle:checked) .nav .ct {
  display: none;
}

.sb:has(.sb-toggle:checked) .sbsect {
  display: none;
}

.sb:has(.sb-toggle:checked) .sbfoot-info {
  display: none;
}

.sb:has(.sb-toggle:checked) .sb-create-btn .navtext {
  display: none;
}

.sb:has(.sb-toggle:checked) .sbfoot {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

:is(.sb:has(.sb-toggle:checked) .sbfoot > details, .sb:has(.sb-toggle:checked) .sbfoot > form) {
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.sb:has(.sb-toggle:checked) .sbfoot .iconbtn {
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: flex;
}

.sb:has(.sb-toggle:checked) .sbfoot form button {
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: flex;
}

.sb:has(.sb-toggle:checked) .sbfoot .notif-pop {
  inset: auto auto 0 52px !important;
}

.brand {
  align-items: center;
  gap: 10px;
  padding: 2px 18px 18px;
  display: flex;
}

.wordmark {
  object-fit: contain;
  object-position: left center;
  width: 190px;
  height: 28px;
}

.wordmark-icon {
  object-fit: contain;
  width: 30px;
  height: 30px;
  display: none;
}

.login-wordmark {
  object-fit: contain;
  object-position: left center;
  width: 300px;
  height: 45px;
}

.logo {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 9px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  box-shadow: 0 3px 8px #2563eb38;
}

.bname {
  color: var(--ink);
  letter-spacing: -.01em;
  font-size: 15.5px;
  font-weight: 750;
}

.bname small {
  color: var(--ink-4);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  display: block;
}

.navlist {
  flex-direction: column;
  gap: 1px;
  padding: 0 8px;
  display: flex;
  overflow-y: auto;
}

.nav {
  color: var(--ink-3);
  transition: background-color var(--d1) ease, color var(--d1) ease;
  border-radius: 8px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  font-size: 13px;
  display: flex;
  position: relative;
}

.nav:hover {
  color: var(--ink);
  background: var(--bg);
}

.nav.on {
  color: var(--indigo-600);
  background: var(--indigo-50);
  font-weight: 650;
}

.nav:before {
  content: "";
  background: var(--indigo-600);
  opacity: 0;
  width: 3px;
  transition: transform var(--d2) var(--ease), opacity var(--d1) ease;
  border-radius: 0 3px 3px 0;
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: -8px;
  transform: scaleY(0);
}

.nav.on:before {
  opacity: 1;
  transform: scaleY(1);
}

.nav .ct {
  background: var(--indigo-600);
  color: #fff;
  border-radius: 10px;
  margin-left: auto;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
}

.sbsect {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 18px 12px 6px;
  font-size: 9px;
  font-weight: 750;
}

.sbfoot {
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px 0;
  display: flex;
}

.sbfoot .nm {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.sbfoot .rl {
  color: var(--ink-4);
  font-size: 10px;
}

.sbfoot button {
  color: var(--ink-4);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 4px;
}

.sbfoot button:hover {
  color: var(--indigo-600);
  background: var(--indigo-50);
}

.sb-create {
  padding: 0 12px 10px;
  position: relative;
}

.sb-create-btn {
  border-radius: 8px;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 12px;
}

.sb-create .menu-pop {
  min-width: 0;
  top: calc(100% - 4px);
  left: 12px;
  right: 12px;
}

.sb:has(.sb-toggle:checked) .sb-create {
  justify-content: center;
  padding: 0 0 12px;
  display: flex;
}

.sb:has(.sb-toggle:checked) .sb-create-btn {
  border-radius: 14px;
  flex: none;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

.sb:has(.sb-toggle:checked) .sb-create-btn .i {
  width: 19px;
  height: 19px;
}

.sb:has(.sb-toggle:checked) .sb-create .menu-pop {
  min-width: 180px;
  top: 0;
  left: 62px;
  right: auto;
}

.main {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.top {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  flex: none;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 26px;
  display: flex;
}

.srch {
  background: var(--bg);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 480px;
  height: 36px;
  color: var(--ink-4);
  border-radius: 9px;
  flex: 0 480px;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  padding: 0 12px;
  display: flex;
}

.srch:focus-within {
  border-color: var(--indigo-500);
  background: var(--bg-2);
}

.srch input {
  color: var(--ink);
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.iconbtn {
  width: 36px;
  height: 36px;
  color: var(--ink-3);
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.iconbtn:hover {
  background: var(--bg);
}

.iconbtn .bdot {
  background: var(--red-600);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 5px;
  right: 4px;
}

.content {
  flex: 1;
  padding: 22px 26px 40px;
  overflow: auto;
}

.content.flush {
  padding: 0;
  display: flex;
  overflow: hidden;
}

.menu {
  position: relative;
}

.menu > summary {
  cursor: pointer;
  list-style: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu-pop {
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  z-index: 40;
  transform-origin: 100% 0;
  width: 230px;
  animation: popIn var(--d2) var(--ease);
  border-radius: 11px;
  padding: 6px;
  position: absolute;
  top: 42px;
  right: 0;
}

.menu-pop a {
  color: var(--ink-2);
  transition: background-color var(--d1) ease, color var(--d1) ease;
  border-radius: 7px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  display: flex;
}

.menu-pop a:hover {
  background: var(--bg);
  color: var(--ink);
}

.h1 {
  letter-spacing: -.02em;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
}

.h2 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.sub {
  color: var(--ink-3);
  font-size: 12px;
}

.muted {
  color: var(--ink-3);
}

.faint {
  color: var(--ink-4);
}

.mono {
  font-family: var(--mono);
  color: var(--ink-4);
  font-size: 11px;
}

.eyebrow {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-size: 9.5px;
  font-weight: 700;
}

.pagehead {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  display: flex;
}

.row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.wrap {
  flex-wrap: wrap;
}

.grow {
  flex: 1;
  min-width: 0;
}

.ellip {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}

.pad {
  padding: 16px 18px;
}

.grid {
  gap: 14px;
  display: grid;
}

.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.g5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stack > * + * {
  margin-top: 10px;
}

.divider {
  border-top: 1px solid var(--line-2);
  margin: 14px 0;
}

.btn {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--d1) ease, border-color var(--d1) ease, color var(--d1) ease, box-shadow var(--d1) ease, transform var(--d1) ease;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:hover {
  background: var(--bg);
}

.btn.pri {
  background: var(--indigo-600);
  color: #fff;
  border-color: var(--indigo-600);
}

.btn.pri:hover {
  background: var(--indigo-500);
}

.btn.ok {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
}

.btn.danger {
  color: var(--red-600);
  border-color: #f6d7d2;
}

.btn.sm {
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
}

.btn.ghost {
  background: none;
  border-color: #0000;
}

.btn:disabled {
  opacity: .55;
  cursor: default;
}

.chip {
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: background-color var(--d1) ease, border-color var(--d1) ease, color var(--d1) ease;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
}

a.chip:hover {
  background: var(--bg);
}

.chip.on {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-color: #d6defb;
  font-weight: 600;
}

.badge {
  white-space: nowrap;
  border-radius: 20px;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  display: inline-flex;
}

.badge .d {
  background: currentColor;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.b-gray {
  color: var(--ink-2);
  background: #eef1f6;
}

.b-blue {
  background: var(--indigo-100);
  color: var(--indigo-600);
}

.b-green {
  background: var(--green-50);
  color: var(--green-600);
}

.b-amber {
  background: var(--amber-50);
  color: var(--amber-600);
}

.b-red {
  background: var(--red-50);
  color: var(--red-600);
}

.b-violet {
  background: var(--violet-50);
  color: var(--violet-600);
}

.b-cyan {
  background: var(--cyan-50);
  color: var(--cyan-600);
}

.av {
  color: #fff;
  letter-spacing: .02em;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  display: inline-flex;
}

.a1 {
  background: #3b5bdb;
}

.a2 {
  background: #2b8a5b;
}

.a3 {
  background: #b7791f;
}

.a4 {
  background: #c6453d;
}

.a5 {
  background: #7048c4;
}

.a6 {
  background: #1098ad;
}

.a7 {
  background: #d6538b;
}

.a8 {
  background: #475569;
}

.av.on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--green-600);
}

.av.photo {
  background: var(--bg);
  overflow: hidden;
}

.av.photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-edit {
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  flex: none;
  padding: 0;
  position: relative;
}

.avatar-edit:disabled {
  cursor: default;
}

.avatar-edit-badge {
  background: var(--indigo-600);
  color: #fff;
  border: 2px solid var(--bg-2);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  display: flex;
  position: absolute;
  bottom: -2px;
  right: -2px;
}

.avatar-edit-spin {
  background: #0f172a73;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
}

.avatar-edit-spin .spin {
  color: #fff;
  width: 18px;
  height: 18px;
}

.pill {
  border: 1px solid;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.pill span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.lp-email {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-color: #d6defb;
}

.lp-task {
  color: #2b8a5b;
  background: #e7f6ee;
  border-color: #c9ebd8;
}

.lp-document {
  color: #7048c4;
  background: #f1ecfb;
  border-color: #e2d7f5;
}

.lp-issue {
  color: #c6453d;
  background: #fdf0ee;
  border-color: #f6d7d2;
}

.lp-project, .lp-channel {
  color: #1098ad;
  background: #e6f7fa;
  border-color: #cdeef2;
}

.field {
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  display: flex;
}

.field label, .lbl {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
}

.input, .field input, .field select, .field textarea {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 8px;
  outline: none;
  width: 100%;
  padding: 9px 11px;
  font-size: 13px;
}

.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px #4c6ef51f;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

select.input.sm {
  width: auto;
  padding: 5px 8px;
  font-size: 12px;
}

.list-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-4);
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
}

.lrow {
  border-bottom: 1px solid var(--line-2);
  transition: background-color var(--d1) ease, box-shadow var(--d1) ease;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  display: flex;
}

.lrow:last-child {
  border-bottom: 0;
}

a.lrow:hover, .lrow.hover:hover {
  background: var(--bg-2);
}

.lrow.unread {
  background: var(--indigo-50);
}

.dotp {
  border-radius: 50%;
  flex: none;
  width: 7px;
  height: 7px;
  display: inline-block;
}

.stat .l {
  color: var(--ink-3);
  margin-bottom: 6px;
  font-size: 11px;
}

.stat .v {
  color: var(--ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.stat .d {
  margin-top: 4px;
  font-size: 10.5px;
}

a.stat:hover {
  border-color: #d6defb;
}

.pane {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.pane-head {
  border-bottom: 1px solid var(--line);
  flex: none;
  padding: 13px 16px;
}

.pane-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.rail {
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  flex: none;
  width: 300px;
  padding: 16px;
  overflow-y: auto;
}

.collab-rail {
  width: 330px;
  padding: 16px;
  transition: width .2s, padding .2s;
  overflow: hidden;
}

.collab-rail:has(.collab-details:not([open])) {
  width: 46px;
  padding: 6px;
}

.collab-details {
  min-width: 296px;
}

.collab-toggle {
  border: 1px solid var(--line);
  width: 100%;
  height: 32px;
  color: var(--indigo-600);
  background: var(--bg-2);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
  display: flex;
}

.collab-toggle::-webkit-details-marker {
  display: none;
}

.collab-toggle:hover {
  background: var(--indigo-50);
  border-color: #bfdbfe;
}

.collab-details:not([open]) .collab-toggle {
  justify-content: center;
  width: 32px;
  padding: 0;
}

.collab-details:not([open]) .collab-toggle span {
  display: none;
}

.collab-details[open] .collab-toggle {
  margin-bottom: 12px;
}

.collab-details[open] .collab-toggle .i {
  transform: rotate(180deg);
}

.chatwall {
  background-color: var(--bg);
  background-image: radial-gradient(#4c6ef517 1.2px, #0000 0);
  background-size: 24px 24px;
}

.msg {
  align-items: flex-end;
  gap: 9px;
  margin-bottom: 2px;
  display: flex;
}

.msg.head {
  margin-top: 12px;
}

.msg:first-child.head {
  margin-top: 0;
}

.msg.me {
  flex-direction: row-reverse;
}

.msg-content {
  flex: 0 auto;
  min-width: 0;
  max-width: 60%;
}

@media (max-width: 700px) {
  .msg-content {
    max-width: 85%;
  }
}

.chat-activity {
  text-align: center;
  justify-content: center;
  margin: 16px 0;
  display: flex;
}

.chat-activity-pill {
  border: 1px solid var(--line);
  background: var(--bg-2);
  max-width: min(580px, 90%);
  color: var(--ink-3);
  border-radius: 16px;
  padding: 7px 14px;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 1px 3px #0f172a0f;
}

.chat-activity-pill > span {
  display: block;
}

.chat-activity-content {
  text-align: left;
  justify-content: center;
  align-items: center;
  gap: 7px;
  display: flex;
}

.chat-activity-content .av {
  flex: none;
}

.chat-activity-content strong {
  color: var(--ink);
  font-weight: 700;
}

.chat-activity-content q {
  color: var(--indigo-600);
  font-weight: 650;
}

.chat-activity-meta {
  color: var(--ink-4);
  justify-content: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 10px;
  display: flex !important;
}

.chat-activity-meta a {
  color: var(--indigo-600);
  font-weight: 650;
}

.chat-activity-meta time:not(:first-child):before {
  content: "·";
  margin-right: 8px;
}

.chat-activity.fresh {
  animation: msgIn var(--d2) var(--ease) backwards;
}

.avatar-sp {
  flex: none;
  width: 28px;
}

.bubble {
  text-align: left;
  background: var(--indigo-600);
  color: #fff;
  border: 1px solid var(--indigo-600);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 13px 13px 13px 4px;
  max-width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.5;
  display: inline-block;
  box-shadow: 0 2px 6px #4c6ef540;
}

.msg.me .bubble {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line);
  border-radius: 13px 13px 4px;
  box-shadow: 0 1px 2px #0f172a0d;
}

.msg .meta {
  color: var(--ink-4);
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  font-size: 10px;
  display: flex;
}

.msg.me .meta {
  justify-content: flex-end;
}

.msg .meta .i {
  width: 12px;
  height: 12px;
}

.msg .meta .i.read {
  color: var(--indigo-500);
}

.bubble .pill {
  margin-bottom: 6px;
}

.msg:not(.me) .bubble .pill {
  color: #fff;
  background: #ffffff26;
  border-color: #ffffff40;
}

.mention {
  background: var(--indigo-100);
  color: var(--indigo-600);
  border-radius: 4px;
  padding: 0 3px;
  font-weight: 600;
}

.msg:not(.me) .mention {
  color: #fff;
  background: #ffffff38;
}

.composer {
  position: relative;
}

.composer textarea {
  border: 1px solid var(--line);
  resize: none;
  background: var(--bg-2);
  width: 100%;
  min-height: 44px;
  max-height: 180px;
  transition: border-color var(--d1) ease, box-shadow var(--d1) ease;
  border-radius: 10px;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
}

.composer textarea:focus {
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px #4c6ef51f;
}

.mdrop {
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  z-index: 30;
  animation: popUp var(--d1) var(--ease);
  border-radius: 11px;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
}

.mdrop.below {
  animation-name: popIn;
  top: calc(100% + 6px);
  bottom: auto;
}

.mdrop .opt {
  cursor: pointer;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  display: flex;
}

.mdrop .opt.hi, .mdrop .opt:hover {
  background: var(--indigo-50);
}

.vis {
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  display: flex;
}

.speed-fab {
  background: var(--indigo-50);
  color: var(--indigo-600);
  transition: transform var(--d1) ease, background-color var(--d1) ease;
}

.speed-fab:hover {
  background: var(--indigo-100);
}

.speed-fab.on {
  background: var(--indigo-600);
  color: #fff;
  transform: rotate(45deg);
}

.speed-opts {
  z-index: 30;
  flex-direction: column;
  gap: 8px;
  display: flex;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
}

.speed-opt {
  border: 1px solid var(--line);
  background: var(--bg-2);
  width: 40px;
  height: 40px;
  color: var(--indigo-600);
  cursor: pointer;
  box-shadow: var(--sh-2);
  animation: speedRoll var(--d2) var(--ease) backwards;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.speed-opt:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-200, #c7d2fe);
}

.speed-opt:first-child {
  animation-delay: 0s;
}

.speed-opt:nth-child(2) {
  animation-delay: 40ms;
}

.speed-opt:nth-child(3) {
  animation-delay: 80ms;
}

@keyframes speedRoll {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.5) rotate(-90deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

.kb {
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
  display: flex;
  overflow-x: auto;
}

.kcol {
  flex-direction: column;
  flex: 0 0 236px;
  display: flex;
}

.khead {
  color: var(--ink);
  align-items: center;
  gap: 8px;
  padding: 4px 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.kbody {
  min-height: 120px;
  transition: background-color var(--d1) ease, box-shadow var(--d1) ease;
  background: #eef1f7;
  border-radius: 11px;
  padding: 9px;
}

.kbody.over {
  background: var(--indigo-100);
  box-shadow: inset 0 0 0 2px #bfd2ff;
}

.kcard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  cursor: grab;
  transition: border-color var(--d1) ease, box-shadow var(--d1) ease, opacity var(--d1) ease, transform var(--d1) ease;
  border-radius: 9px;
  margin-bottom: 8px;
  padding: 10px 11px;
  display: block;
}

.kcard:hover {
  box-shadow: var(--sh-2);
  border-color: #d6defb;
}

.kcard.dragging {
  opacity: .45;
  transform: scale(.98);
}

.kcard.moved {
  animation: flashIn .7s var(--ease);
}

.tl {
  padding-bottom: 14px;
  padding-left: 26px;
  position: relative;
}

.tl:before {
  content: "";
  background: var(--line);
  width: 2px;
  position: absolute;
  top: 18px;
  bottom: -2px;
  left: 7px;
}

.tl:last-child:before {
  display: none;
}

.tl .dot {
  background: var(--bg-2);
  border: 2px solid var(--green-600);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 3px;
  left: 0;
}

.empty {
  text-align: center;
  color: var(--ink-3);
  padding: 44px 20px;
}

.empty .h2 {
  margin: 10px 0 4px;
}

.notice {
  color: #8a6d1f;
  background: #fff8e8;
  border: 1px solid #f0e2bf;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12px;
}

.notice.blue {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-color: #d6defb;
}

.notice.green {
  background: var(--green-50);
  color: var(--green-600);
  border-color: #c9ebd8;
}

.notice.red {
  background: var(--red-50);
  color: var(--red-600);
  border-color: #f6d7d2;
}

.bar {
  background: var(--line-2);
  border-radius: 4px;
  height: 7px;
  overflow: hidden;
}

.bar > i {
  transform-origin: 0;
  height: 100%;
  animation: barIn .6s var(--ease) backwards;
  transition: width var(--d3) var(--ease);
  border-radius: 4px;
  display: block;
}

.field-review {
  border: 1.5px solid var(--amber-600) !important;
  background: var(--amber-50) !important;
}

.modal-backdrop {
  z-index: 100;
  animation: fadeIn var(--d2) ease;
  background: #0f172a73;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

.modal {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  animation: modalIn var(--d3) var(--ease);
  margin: auto;
  overflow-y: auto;
}

.drawer-backdrop {
  z-index: 105;
  animation: fadeIn var(--d2) ease;
  background: #0f172a59;
  position: fixed;
  inset: 0;
}

.drawer {
  background: var(--bg-2);
  width: min(320px, 100vw);
  animation: drawerIn var(--d3) var(--ease);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  box-shadow: -10px 0 34px #0f172a29;
}

.drawer-head {
  border-bottom: 1px solid var(--line);
  height: 56px;
  color: var(--ink);
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
}

.drawer-body {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
}

@keyframes drawerIn {
  from {
    transform: translateX(100%);
  }
}

.tabbar {
  display: none;
}

@media (max-width: 820px) {
  .sb {
    display: none;
  }

  .top {
    gap: 8px;
    padding: 0 12px;
  }

  .top .hide-m {
    display: none;
  }

  .content {
    padding: 16px 14px 90px;
  }

  .content.flush {
    padding-bottom: 64px;
  }

  .g4, .g5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .g2, .g3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .content {
    overflow-x: hidden;
  }

  .photo-pick {
    flex-wrap: wrap;
  }

  .photo-pick input[type="file"] {
    flex: 100%;
    max-width: none !important;
  }

  .pagehead {
    margin-bottom: 14px;
  }

  .rail {
    display: none;
  }

  .pane {
    flex: auto !important;
    width: 100% !important;
  }

  .hide-m {
    display: none !important;
  }

  .tabbar {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    z-index: 50;
    height: 62px;
    padding-bottom: env(safe-area-inset-bottom);
    justify-content: space-around;
    align-items: center;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .tabbar a {
    color: var(--ink-4);
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    font-size: 10px;
    display: flex;
  }

  .tabbar a.on {
    color: var(--indigo-600);
    font-weight: 600;
  }

  .tabbar a.cam {
    background: var(--red-600);
    color: #fff;
    width: 52px;
    height: 52px;
    box-shadow: var(--sh-2);
    border-radius: 50%;
    justify-content: center;
    margin-top: -24px;
    padding: 0;
  }
}

@media (min-width: 821px) {
  .show-m {
    display: none !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.98);
  }
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: translateY(4px) scale(.98);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
}

@keyframes slideInR {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

@keyframes composeIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

@keyframes zoomOpen {
  from {
    opacity: 0;
    transform: scale(.96);
  }
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes barIn {
  from {
    transform: scaleX(0);
  }
}

@keyframes flashIn {
  from {
    box-shadow: 0 0 0 3px #2563eb47;
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.page {
  min-width: 0;
  min-height: 0;
  animation: riseIn var(--d2) var(--ease) backwards;
  flex-direction: column;
  flex: 1;
  display: flex;
}

.pane-enter {
  animation: zoomOpen var(--d3) var(--ease) backwards;
  transform-origin: center;
}

.fade-enter {
  animation: fadeIn var(--d2) ease backwards;
}

.stagger .card {
  animation: riseIn var(--d3) var(--ease) backwards;
}

.stagger .grid > :nth-child(2) {
  animation-delay: 30ms;
}

.stagger .grid > :nth-child(3) {
  animation-delay: 60ms;
}

.stagger .grid > :nth-child(4) {
  animation-delay: 90ms;
}

a.card {
  transition: border-color var(--d1) ease, box-shadow var(--d1) ease;
}

a.card:hover {
  box-shadow: var(--sh-2);
}

.badge, .ct, .bdot {
  font-variant-numeric: tabular-nums;
  transition: background-color var(--d2) ease, color var(--d2) ease;
}

.tabbar a {
  transition: color var(--d1) ease;
}

.sk {
  background: linear-gradient(90deg, #eef1f6 25%, #f6f8fb 37%, #eef1f6 63%) 0 0 / 200% 100%;
  border-radius: 7px;
  animation: 1.3s infinite shimmer;
  display: block;
}

.spin {
  border: 2px solid;
  border-right-color: #0000;
  border-radius: 50%;
  flex: none;
  width: 13px;
  height: 13px;
  animation: .7s linear infinite spin;
  display: inline-block;
}

.mail-row {
  position: relative;
}

a.mail-row:hover {
  background: var(--bg);
}

a.mail-row.unread:hover {
  background: var(--indigo-50);
}

a.mail-row.sel, a.mail-row.sel:hover {
  background: var(--indigo-50);
  box-shadow: inset 3px 0 0 var(--indigo-600);
}

.mail-row .dotp {
  transition: transform var(--d2) var(--ease), opacity var(--d2) ease;
}

.fold-link {
  transition: background-color var(--d1) ease, color var(--d1) ease;
}

.fold-link:hover {
  background: var(--bg);
}

.convo {
  transition: background-color var(--d1) ease;
}

.convo:hover {
  background: var(--bg);
}

.star-btn {
  width: 26px;
  height: 26px;
  color: var(--ink-4);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--d1) ease, color var(--d1) ease, background-color var(--d1) ease;
  background: none;
  border: 0;
  border-radius: 6px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.convo:hover .star-btn, .star-btn.on {
  opacity: 1;
}

.star-btn.on {
  color: var(--amber-600);
}

.star-btn:hover {
  background: var(--line-2);
  color: var(--amber-600);
}

.msg.fresh {
  animation: msgIn var(--d2) var(--ease) backwards;
}

.msg.sending .bubble {
  opacity: .7;
}

.msg.failed .bubble {
  box-shadow: 0 0 0 1.5px var(--red-600);
}

.msg .meta button {
  color: var(--red-600);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
}

.bubble.hit {
  animation: flashIn 1.6s var(--ease);
  border-radius: 9px;
}

.bubble.deleted {
  border: 1px dashed var(--line) !important;
  box-shadow: none !important;
  background: none !important;
}

.typing-row {
  animation: fadeIn var(--d2) var(--ease);
  padding: 2px 16px 8px;
}

.typing-dots {
  vertical-align: middle;
  gap: 3px;
  margin-right: 6px;
  display: inline-flex;
}

.typing-dots span {
  background: var(--ink-3, var(--ink-2));
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: 1.2s ease-in-out infinite typingBounce;
}

.typing-dots span:nth-child(2) {
  animation-delay: .15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    opacity: .5;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.msg-ctx {
  z-index: 60;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  width: 170px;
  animation: popIn var(--d2) var(--ease);
  border-radius: 11px;
  padding: 6px;
  position: fixed;
}

.msg-ctx button {
  width: 100%;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--d1) ease, color var(--d1) ease;
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: center;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
}

.msg-ctx button:hover {
  background: var(--bg);
  color: var(--ink);
}

.msg-ctx button.danger {
  color: var(--red-600);
}

.msg-ctx button.danger:hover {
  background: var(--red-50);
}

.msg-ctx-react {
  border-bottom: 1px solid var(--line-2);
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 4px 2px 8px;
  display: flex;
}

.msg-ctx-react button {
  border-radius: 50%;
  flex: none;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 16px;
}

.msg-ctx-react button.on, .msg-ctx-react button:hover {
  background: var(--indigo-50);
}

.reply-quote {
  border-left: 3px solid var(--indigo-500);
  cursor: pointer;
  text-align: left;
  background: #0000000d;
  border-radius: 7px;
  flex-direction: column;
  gap: 1px;
  max-width: 100%;
  margin-bottom: 5px;
  padding: 5px 9px;
  display: flex;
}

.msg:not(.me) .reply-quote {
  background: #ffffff29;
  border-left-color: #fff9;
}

.reply-quote b {
  color: var(--indigo-600);
  font-size: 11px;
}

.msg:not(.me) .reply-quote b {
  color: #ffffffd9;
}

.reply-quote span {
  opacity: .85;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11.5px;
  overflow: hidden;
}

.react-row {
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
  display: flex;
}

.react-row button {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.react-row button.on {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-color: #c7d2fe;
}

.chat-search-toggle {
  z-index: 5;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  width: 32px;
  height: 32px;
  position: absolute;
  top: 10px;
  right: 16px;
}

.chat-search-bar {
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  flex: none;
  padding: 8px 10px;
  position: relative;
}

.chat-search-bar input {
  color: var(--ink);
  background: none;
  border: 0;
  outline: none;
  font-size: 12.5px;
}

.chat-search-bar .iconbtn {
  border-radius: 7px;
  width: 28px;
  height: 28px;
}

.chat-search-bar .iconbtn:disabled {
  opacity: .4;
  cursor: default;
}

.chat-jump-btn {
  z-index: 5;
  border: 1px solid var(--line);
  background: var(--bg-2);
  width: 38px;
  height: 38px;
  color: var(--ink-3);
  box-shadow: var(--sh-2);
  cursor: pointer;
  animation: popUp var(--d2) var(--ease);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 14px;
  right: 18px;
}

.chat-jump-btn:hover {
  background: var(--bg);
  color: var(--ink);
}

.chat-jump-badge {
  background: var(--indigo-600);
  color: #fff;
  border: 2px solid var(--bg-2);
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -6px;
  right: -6px;
}

.callmsg {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 13px 13px 13px 4px;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  max-width: min(380px, 85%);
  padding: 9px 10px 9px 11px;
  display: flex;
}

.msg.me .callmsg {
  border-radius: 13px 13px 4px;
}

.callmsg .cm-ic {
  background: var(--green-50);
  width: 34px;
  height: 34px;
  color: var(--green-600);
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.callmsg.bad .cm-ic {
  background: var(--red-50);
  color: var(--red-600);
}

.callmsg.muted .cm-ic {
  color: var(--ink-3);
  background: #eef1f6;
}

.callmsg b {
  color: var(--ink);
  font-size: 13px;
  display: block;
}

.callmsg.bad b {
  color: var(--red-600);
}

.callmsg .faint {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  display: block;
}

.callmsg .btn {
  flex: none;
}

.callmsg-ic {
  background: var(--green-50);
  width: 28px;
  height: 28px;
  color: var(--green-600);
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.callmsg-ic.bad {
  background: var(--red-50);
  color: var(--red-600);
}

.callmsg-ic.muted {
  color: var(--ink-3);
  background: #eef1f6;
}

.meetingmsg {
  background: var(--indigo-50);
  border: 1px solid #c7d2fe;
  border-radius: 13px 13px 13px 4px;
  min-width: 250px;
  max-width: min(360px, 85%);
  padding: 11px 12px;
}

.msg.me .meetingmsg {
  border-radius: 13px 13px 4px;
}

.meetingmsg .mm-ic {
  background: var(--indigo-600);
  color: #fff;
  border-radius: 9px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: inline-flex;
}

.meetingmsg b {
  color: var(--indigo-700, var(--indigo-600));
  font-size: 13px;
}

.meetingmsg .mm-desc {
  color: var(--ink-2);
  white-space: pre-wrap;
  margin: 8px 0 0;
  font-size: 12px;
}

:root[data-theme="dark"] .meetingmsg, :root:not([data-theme="light"]) .meetingmsg {
  background: #4c6ef524;
  border-color: #4c6ef559;
}

.task-mention {
  color: #1f6b45;
  background: #f0faf4;
  border: 1px solid #c9ebd8;
  border-radius: 9px;
  flex-direction: column;
  gap: 3px;
  width: min(360px, 100%);
  margin-bottom: 7px;
  padding: 9px 11px;
  display: flex;
}

.task-mention:hover {
  border-color: #2b8a5b;
}

.task-mention-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
}

.task-mention-title {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.task-mention-open {
  font-size: 10.5px;
  font-weight: 650;
}

:root[data-theme="dark"] .task-mention {
  color: #9fe2bb;
  background: #2b8a5b2b;
  border-color: #2b8a5b80;
}

.refcard {
  background: var(--bg-2);
  width: min(360px, 100%);
  color: var(--ink);
  border: 1px solid var(--line);
  white-space: normal;
  text-align: left;
  transition: border-color var(--d1) ease, box-shadow var(--d1) ease;
  border-radius: 10px;
  margin-bottom: 7px;
  padding: 10px 12px;
  display: block;
}

.refcard:hover {
  box-shadow: var(--sh-2);
  border-color: #d6defb;
}

.msg.me .bubble .refcard {
  border-color: #0000;
}

.refcard .rc-top {
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--indigo-600);
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.refcard .rc-att {
  color: var(--ink-4);
  align-items: center;
  gap: 3px;
  margin-left: auto;
  display: inline-flex;
}

.refcard .rc-subj {
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.refcard .rc-from {
  color: var(--ink-3);
  margin-bottom: 6px;
  font-size: 11px;
}

.refcard .rc-snip {
  color: var(--ink-2);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}

.refcard .rc-open {
  color: var(--indigo-600);
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 600;
}

.chat-task-pins {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
}

.chat-task-pins > .eyebrow {
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  display: flex;
}

.chat-task-pin-list {
  flex-direction: column;
  gap: 6px;
  max-height: 176px;
  display: flex;
  overflow-y: auto;
}

.chat-task-pin {
  border: 1px solid var(--line);
  background: var(--bg);
  width: 100%;
  color: var(--ink-2);
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  font-size: 11.5px;
  display: inline-flex;
}

.chat-task-pin:hover {
  border-color: var(--indigo-500);
  color: var(--indigo-600);
}

.chat-task-pin .ellip {
  font-weight: 650;
}

.chat-task-pin-status {
  color: var(--ink-4);
  white-space: nowrap;
  margin-left: auto;
  font-size: 10.5px;
}

.chat-task-preview {
  max-width: 660px;
  padding: 22px;
}

.chat-task-preview-section {
  border-top: 1px solid var(--line-2);
  padding: 14px 0;
}

.chat-task-preview-section > p {
  color: var(--ink-2);
  white-space: pre-wrap;
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
}

.chat-task-preview-item {
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: 12.5px;
  line-height: 1.4;
  display: flex;
}

.chat-task-preview-item > span:first-child {
  color: var(--ink-4);
  font-size: 17px;
  line-height: 1;
}

.chat-task-preview-item > span.done {
  color: var(--green-600);
}

.chat-task-preview-message {
  border-bottom: 1px solid var(--line-2);
  padding: 7px 0;
  font-size: 12px;
}

.chat-task-preview-message:last-child {
  border-bottom: 0;
}

.chat-task-preview-message p {
  white-space: pre-wrap;
  margin: 4px 0 0;
  line-height: 1.45;
}

.task-attachment {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 10px;
  margin: 14px 0;
  padding: 14px;
}

.task-attachment-name {
  overflow-wrap: anywhere;
  margin: 7px 0 10px;
  font-size: 12.5px;
  font-weight: 650;
}

.task-attachment img {
  object-fit: contain;
  border-radius: 8px;
  max-width: 100%;
  max-height: 360px;
  margin-bottom: 12px;
  display: block;
}

.task-attachment iframe {
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
  height: 360px;
  margin-bottom: 12px;
  display: block;
}

.task-attachment p {
  margin: 0 0 10px;
  font-size: 12px;
}

.chat-email-preview {
  max-width: 760px;
  padding: 22px;
}

.chat-email-thread {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.chat-email-message {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
}

.chat-email-message-toggle {
  width: 100%;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  display: flex;
}

.chat-email-message-toggle:hover {
  background: var(--bg);
}

.chat-email-message-toggle b, .chat-email-message-toggle small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.chat-email-message-toggle small {
  margin-top: 2px;
  font-size: 11px;
}

.chat-email-message-toggle time {
  flex: none;
  font-size: 10.5px;
}

.chat-email-message-body {
  border-top: 1px solid var(--line-2);
  overflow-wrap: anywhere;
  padding: 14px;
}

.chat-email-attachments {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 11px;
  display: flex;
}

.chat-email-attachments span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 8px;
}

.task-detail-page {
  background: var(--bg);
  padding: 28px clamp(18px, 3vw, 48px) 64px;
}

.task-detail-shell {
  grid-template-columns: minmax(0, 1fr) 296px;
  align-items: start;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
}

.task-detail-main {
  min-width: 0;
}

.task-detail-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  margin: 14px 0 18px;
  display: grid;
}

.task-detail-heading .eyebrow {
  grid-column: 1 / -1;
}

.task-detail-heading .h1 {
  letter-spacing: -.035em;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
}

.task-detail-heading .btn {
  border-color: var(--line);
  background: var(--bg-2);
  padding: 8px 14px;
}

.task-detail-header-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.task-detail-summary {
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  border-radius: 12px;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 14px;
}

.task-detail-summary .badge {
  padding: 5px 10px;
  font-size: 11px;
}

.task-detail-owner {
  color: var(--ink-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
}

.task-edit-assignees {
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 4px;
  max-height: 160px;
  margin-top: 6px;
  padding: 6px;
  display: grid;
  overflow-y: auto;
}

.task-edit-assignees label {
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 5px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.task-edit-assignees label:hover {
  background: var(--indigo-50);
}

.task-detail-description {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 18px 20px;
}

.task-detail-description p {
  white-space: pre-wrap;
  color: var(--ink-2);
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
}

.task-detail-workspace {
  grid-template-columns: minmax(380px, 1.5fr) minmax(260px, .7fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.task-detail-work {
  grid-area: 1 / 2;
}

.task-detail-card {
  border-radius: 12px;
  padding: 20px;
}

.task-detail-sectionhead {
  border-bottom: 1px solid var(--line-2);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  display: flex;
}

.task-detail-sectionhead .h2 {
  margin-top: 4px;
  font-size: 16px;
}

.task-detail-count {
  color: var(--ink-3);
  background: var(--bg);
  border: 1px solid var(--line);
  white-space: nowrap;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 650;
}

.task-detail-comments {
  grid-area: 1 / 1;
  min-height: 420px;
  padding: 24px;
}

.task-detail-comments .task-detail-sectionhead .h2 {
  font-size: 18px;
}

.task-detail-comments .task-detail-comment {
  border-bottom: 1px solid var(--line-2);
  gap: 12px;
  padding: 12px 0;
}

.task-detail-comments .task-detail-comment:last-child {
  border-bottom: 0;
}

.task-detail-comments .task-detail-comment > .grow {
  line-height: 1.6;
  background: none !important;
  padding: 4px 0 !important;
}

.task-detail-comments textarea {
  min-height: 120px;
}

.task-comment-source {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-radius: 5px;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  display: inline-block;
}

.task-comment-source:hover {
  text-decoration: underline;
}

.task-detail-side {
  min-width: 0;
  position: sticky;
  top: 24px;
}

.task-detail-side .stack > * + * {
  margin-top: 14px;
}

.task-detail-side .refcard {
  width: 100%;
  margin-bottom: 0;
}

.task-details-history {
  padding-top: 2px;
}

.task-details-history .h2 {
  margin: 5px 0 12px;
  font-size: 15px;
}

.task-details-history-list {
  gap: 12px;
  display: grid;
}

.task-details-history-item {
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex;
}

.task-details-history-item > div {
  min-width: 0;
}

.task-details-history-item span {
  color: var(--ink-2);
}

.task-details-history-item small {
  color: var(--ink-4);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .task-detail-workspace {
    grid-template-columns: 1fr;
  }

  .task-detail-work, .task-detail-comments {
    grid-area: auto / 1;
  }

  .task-detail-comments {
    order: 1;
  }

  .task-detail-work {
    order: 2;
  }
}

@media (max-width: 820px) {
  .task-detail-page {
    padding: 16px 14px 90px;
  }

  .task-detail-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .task-detail-side {
    position: static;
  }

  .task-detail-heading .h1 {
    font-size: 22px;
  }

  .task-detail-owner {
    margin-left: 0;
  }
}

.person {
  transition: border-color var(--d1) ease, box-shadow var(--d1) ease, transform var(--d1) ease;
}

.person:hover {
  box-shadow: var(--sh-2);
  border-color: #d6defb;
  transform: translateY(-1px);
}

.dropzone {
  text-align: center;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color var(--d1) ease, background-color var(--d1) ease;
  border: 1.5px dashed #c9d2e6;
  border-radius: 12px;
  padding: 22px;
  display: block;
}

.dropzone:hover, .dropzone:focus-within, .dropzone.drag {
  border-color: var(--indigo-500);
  background: var(--indigo-50);
}

.toaster {
  z-index: 200;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  display: flex;
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  pointer-events: auto;
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--sh-3);
  animation: popUp var(--d2) var(--ease);
  transition: opacity var(--d2) ease, transform var(--d2) ease;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
}

.toast.red {
  background: var(--red-600);
}

.toast.green {
  background: var(--green-600);
}

.toast.out {
  opacity: 0;
  transform: translateY(6px);
}

.notif-pop {
  width: min(340px, 100vw - 24px);
  max-height: 440px;
  padding: 4px;
  overflow-y: auto;
}

.notif-pop .np-head {
  align-items: center;
  padding: 8px 10px 6px;
  display: flex;
}

.notif-pop a.np-item {
  align-items: flex-start;
}

.notif-pop a.np-item.unread {
  background: var(--indigo-50);
  color: var(--ink);
}

.notif-pop a.np-item.unread:hover {
  background: var(--indigo-50);
}

.menu > summary.iconbtn {
  list-style: none;
}

.compose {
  background: var(--bg-2);
  border: 1px solid var(--line);
  z-index: 120;
  width: min(540px, 100vw - 32px);
  animation: composeIn var(--d3) var(--ease);
  transition: transform var(--d3) var(--ease), opacity var(--d2) ease;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  flex-direction: column;
  display: flex;
  position: fixed;
  bottom: 0;
  right: 24px;
  box-shadow: 0 18px 50px #0f172a38, 0 2px 8px #0f172a0f;
}

.compose.min {
  transform: translateY(calc(100% - 44px));
}

.compose.closing {
  opacity: 0;
  transform: translateY(28px);
}

.compose.max {
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  width: min(880px, 100vw - 48px);
  height: min(82vh, 780px);
  margin-left: calc(min(880px, 100vw - 48px) / -2);
  inset: 7vh auto auto 50%;
}

.compose-backdrop {
  z-index: 119;
  animation: fadeIn var(--d2) ease;
  background: #0f172a59;
  position: fixed;
  inset: 0;
}

.compose-bar {
  background: var(--navy-800);
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 11px 11px 0 0;
  flex: none;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 0 6px 0 14px;
  display: flex;
}

.compose-bar b {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
}

.compose-bar button {
  color: #c7d2ea;
  cursor: pointer;
  width: 30px;
  height: 30px;
  transition: background-color var(--d1) ease, color var(--d1) ease;
  background: none;
  border: 0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  line-height: 1;
  display: flex;
}

.compose-bar button:hover {
  color: #fff;
  background: #ffffff1f;
}

.compose form {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.compose-body {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 2px 14px 12px;
  display: flex;
}

.compose .cf {
  border-bottom: 1px solid var(--line-2);
  align-items: center;
  gap: 8px;
  display: flex;
}

.compose .cf label {
  width: 54px;
  color: var(--ink-4);
  flex: none;
  font-size: 12px;
}

.compose .cf input, .compose .cf select {
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 13px;
}

.compose textarea {
  resize: none;
  border: 0;
  outline: none;
  flex: 1;
  min-height: 240px;
  padding: 12px 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.compose.max textarea {
  min-height: 0;
}

.compose-foot {
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  display: flex;
}

.cmdk-backdrop {
  z-index: 150;
  animation: fadeIn var(--d1) ease;
  background: #0f172a59;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

.cmdk {
  background: var(--bg-2);
  width: min(560px, 100%);
  box-shadow: var(--sh-3);
  animation: modalIn var(--d2) var(--ease);
  border-radius: 14px;
  overflow: hidden;
}

.cmdk-input {
  border-bottom: 1px solid var(--line);
  color: var(--ink-4);
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  display: flex;
}

.cmdk-input input {
  color: var(--ink);
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  padding: 15px 0;
  font-size: 14px;
}

.cmdk-list {
  max-height: 360px;
  padding: 6px;
  overflow-y: auto;
}

.cmdk-sect {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 10px 10px 4px;
  font-size: 9.5px;
  font-weight: 700;
}

.cmdk-item {
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  transition: background-color 80ms;
  display: flex;
}

.cmdk-item.hi {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

kbd {
  font-family: var(--mono);
  color: var(--ink-4);
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0 5px;
  font-size: 10px;
}

.call-pop {
  z-index: 170;
  background: var(--bg-2);
  border: 1px solid var(--line);
  width: min(400px, 100vw - 24px);
  animation: popIn var(--d3) var(--ease);
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  display: flex;
  position: fixed;
  top: 76px;
  right: 20px;
  box-shadow: 0 22px 50px #0f172a3d;
}

.call-kind {
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-600);
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.call-ring {
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  position: relative;
}

.call-ring:before, .call-ring:after {
  content: "";
  opacity: 0;
  pointer-events: none;
  border: 2px solid #22c55e;
  border-radius: 50%;
  animation: 1.6s ease-out infinite ringPulse;
  position: absolute;
  inset: -4px;
}

.call-ring:after {
  animation-delay: .8s;
}

@keyframes ringPulse {
  0% {
    opacity: .6;
    transform: scale(.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

.call-btn {
  cursor: pointer;
  color: #fff;
  width: 44px;
  height: 44px;
  transition: background-color var(--d1) ease, transform var(--d1) ease, color var(--d1) ease;
  background: #ffffff24;
  border: 0;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.call-btn:hover {
  background: #ffffff3d;
}

.call-btn:active:not(:disabled) {
  transform: scale(.94);
}

.call-btn .i {
  width: 20px;
  height: 20px;
}

.call-btn.ok {
  background: var(--green-600);
}

.call-btn.ok:hover {
  background: #166534;
}

.call-btn.end {
  background: var(--red-600);
}

.call-btn.end:hover {
  background: #b91c1c;
}

.call-btn.end .i {
  transform: rotate(135deg);
}

.call-btn.off {
  color: var(--navy-900);
  background: #fff;
}

.call-btn:disabled {
  opacity: .5;
  cursor: default;
}

.call-win {
  z-index: 165;
  color: #fff;
  background: var(--navy-900);
  width: min(360px, 100vw - 24px);
  animation: composeIn var(--d3) var(--ease);
  border-radius: 18px;
  flex-direction: column;
  display: flex;
  position: fixed;
  bottom: 20px;
  right: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px #0f172a61;
}

.call-win.is-video.float {
  width: min(460px, 100vw - 24px);
}

.call-win.max {
  border-radius: 0;
  width: auto;
  inset: 0;
}

.call-win.min {
  border-radius: 999px;
  width: auto;
  max-width: calc(100vw - 24px);
}

.call-stage {
  background: #0b1220;
  justify-content: center;
  align-items: center;
  min-height: 210px;
  display: flex;
  position: relative;
}

.call-win.is-video.float .call-stage {
  aspect-ratio: 16 / 10;
}

.call-win.max .call-stage {
  flex: 1;
}

.call-win.min .call-stage {
  display: none;
}

.call-remote {
  object-fit: cover;
  background: #0b1220;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.call-win.max .call-remote {
  object-fit: contain;
}

.call-local {
  z-index: 2;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #1e293b;
  border: 2px solid #ffffffd9;
  border-radius: 10px;
  width: 28%;
  max-width: 220px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  transform: scaleX(-1);
  box-shadow: 0 6px 18px #00000059;
}

.call-local-off {
  color: #94a3b8;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  transform: none;
}

.call-who {
  z-index: 1;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px;
  display: flex;
  position: relative;
}

.call-who b {
  font-size: 17px;
}

.call-who .st {
  color: #c7d2ea;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}

.call-bar {
  align-items: center;
  gap: 8px;
  padding: 12px 12px 12px 16px;
  display: flex;
}

.call-bar .info {
  flex: 1;
  min-width: 0;
}

.call-bar .info b {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  display: block;
  overflow: hidden;
}

.call-bar .info span {
  color: #c7d2ea;
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}

.call-win.ended .call-bar .info span, .call-win.ended .call-who .st {
  color: #fca5a5;
}

.call-win.max .call-bar {
  justify-content: center;
  padding: 18px;
}

.call-win.max .call-bar .info {
  flex: none;
  margin-right: 16px;
}

.call-win.min .call-bar {
  padding: 7px 8px;
}

.call-win.min .call-btn {
  width: 36px;
  height: 36px;
}

.call-win.min .call-btn .i {
  width: 17px;
  height: 17px;
}

.call-tools {
  align-items: center;
  margin-left: 2px;
  display: inline-flex;
}

.call-ghost {
  color: #c7d2ea;
  cursor: pointer;
  width: 30px;
  height: 30px;
  transition: background-color var(--d1) ease, color var(--d1) ease;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
}

.call-ghost:hover {
  color: #fff;
  background: #ffffff1f;
}

.call-win :focus-visible, .call-pop :focus-visible {
  outline-color: #93c5fd;
}

@media (max-width: 820px) {
  .call-pop {
    width: auto;
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .call-win {
    width: auto;
    bottom: 74px;
    left: 12px;
    right: 12px;
  }

  .call-win.is-video.float {
    width: auto;
  }

  .call-win.max {
    inset: 0;
  }
}

:where(a, button, summary, label, select, [tabindex]):focus-visible {
  outline: 2px solid var(--indigo-500);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .toaster {
    bottom: 76px;
  }

  .compose, .compose.max {
    border: 0;
    border-radius: 0;
    width: auto;
    height: auto;
    margin-left: 0;
    inset: 0;
  }

  .compose-bar {
    border-radius: 0;
  }

  .compose-bar .desk {
    display: none;
  }

  .compose textarea {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
  }
}

.calendar-page {
  max-width: 1600px;
  margin: 0 auto;
}

.calendar-toolbar {
  gap: 8px;
  margin-bottom: 18px;
}

.calendar-back {
  margin-bottom: 4px;
  font-size: 12px;
  display: inline-block;
}

.calendar-back:hover {
  color: var(--indigo-600);
}

.calendar-notice {
  margin-bottom: 16px;
}

.calendar-notice a {
  color: var(--indigo-600);
  font-weight: 700;
}

.calendar-shell {
  margin-bottom: 18px;
  overflow: hidden;
}

.calendar-month-head {
  border-bottom: 1px solid var(--line);
  gap: 7px;
  padding: 14px 16px;
}

.calendar-month-head .h2 {
  font-size: 17px;
}

.calendar-legend {
  color: var(--ink-3);
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  font-size: 10.5px;
  display: inline-flex;
}

.calendar-month-head .btn {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 22px;
}

.calendar-scroll {
  overflow-x: auto;
}

.calendar-weekdays, .calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-width: 770px;
  display: grid;
}

.calendar-weekdays {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.calendar-weekdays > div {
  color: var(--ink-4);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 11px;
  font-size: 10px;
  font-weight: 800;
}

.calendar-day {
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-2);
  min-height: 116px;
  padding: 8px;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.outside {
  background: var(--bg);
}

.calendar-day.selected {
  box-shadow: inset 0 0 0 2px var(--indigo-600);
}

.calendar-date {
  width: 26px;
  height: 26px;
  color: var(--ink-2);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.calendar-date:hover {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.calendar-day.today .calendar-date {
  background: var(--indigo-600);
  color: #fff;
}

.calendar-day.outside .calendar-date {
  color: var(--ink-4);
}

.calendar-day-events {
  gap: 3px;
  margin-top: 5px;
  display: grid;
}

.calendar-event {
  border-radius: 5px;
  min-width: 0;
  padding: 3px 5px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
}

.calendar-event.google {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.calendar-event.meeting {
  background: var(--green-50);
  color: var(--green-600);
}

.calendar-more {
  color: var(--ink-3);
  padding-left: 4px;
  font-size: 10px;
  font-weight: 700;
}

.calendar-more:hover {
  color: var(--indigo-600);
}

.calendar-agenda .h2 {
  font-size: 15px;
}

.calendar-agenda-row {
  border-top: 1px solid var(--line-2);
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  display: flex;
}

.calendar-agenda-row b {
  font-size: 12.5px;
  display: block;
}

.calendar-agenda-row .faint {
  margin-top: 2px;
  font-size: 11px;
}

.calendar-source-dot {
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.calendar-source-dot.google {
  background: var(--indigo-600);
}

.calendar-source-dot.meeting {
  background: var(--green-600);
}

@media (max-width: 700px) {
  .calendar-toolbar .grow {
    flex-basis: 100%;
  }

  .calendar-month-head {
    flex-wrap: wrap;
  }

  .calendar-month-head .h2 {
    flex-basis: 100%;
  }

  .calendar-agenda-row {
    flex-wrap: wrap;
  }

  .calendar-agenda-row .grow {
    flex-basis: calc(100% - 20px);
  }
}

.share-chat-dialog {
  flex-direction: column;
  width: min(460px, 100vw - 28px);
  max-height: min(620px, 100vh - 32px);
  display: flex;
}

.share-chat-email {
  border: 1px solid var(--line);
  background: var(--bg);
  min-width: 0;
  color: var(--ink-2);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font-size: 12px;
  display: flex;
}

.share-chat-email .i {
  color: var(--indigo-600);
  flex: none;
}

.share-chat-search {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-4);
  border-radius: 9px;
  gap: 8px;
  margin: 13px 0 8px;
  padding: 0 10px;
}

.share-chat-search:focus-within {
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px #4c6ef51f;
}

.share-chat-search input {
  width: 100%;
  height: 38px;
  color: var(--ink);
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
}

.share-chat-hint {
  margin: 0 2px 7px;
  font-size: 10.5px;
}

.share-chat-list {
  min-height: 80px;
  overflow-y: auto;
}

.share-chat-option {
  width: 100%;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  display: flex;
}

.share-chat-option:hover, .share-chat-option:focus-visible, .share-chat-option.selected {
  background: var(--indigo-50);
  outline: 0;
}

.share-chat-option.selected {
  box-shadow: inset 3px 0 0 var(--indigo-600);
}

.share-chat-option:disabled {
  cursor: wait;
  opacity: .65;
}

.share-chat-option > .i {
  color: var(--indigo-600);
}

.share-chat-option-label {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.share-chat-option-label b {
  font-size: 12.5px;
}

.share-chat-option-label small {
  color: var(--ink-4);
  font-size: 10.5px;
}

.share-chat-group-icon {
  background: var(--cyan-50);
  width: 34px;
  height: 34px;
  color: var(--cyan-600);
  border-radius: 9px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.share-chat-empty {
  text-align: center;
  padding: 18px 10px;
  font-size: 12px;
}

.task-create-options {
  margin: 4px 0 14px;
}

.task-create-assignees, .task-create-project {
  position: relative;
}

.task-create-people {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 9px;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 5px;
  display: flex;
}

.task-create-person {
  background: var(--indigo-50);
  max-width: 100%;
  color: var(--ink-2);
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  padding: 3px 6px 3px 3px;
  font-size: 11.5px;
  font-weight: 650;
  display: inline-flex;
}

.task-create-person > span:not(.av) {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.task-create-person button {
  color: var(--ink-3);
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 16px;
  line-height: 1;
}

.task-create-person button:hover {
  color: var(--red-600);
}

.task-create-add {
  color: var(--indigo-600);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
}

.task-create-add:hover {
  background: var(--indigo-50);
}

.task-create-assignees > small {
  margin-top: 5px;
  font-size: 10.5px;
  display: block;
}

.task-create-menu {
  z-index: 130;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--sh-3);
  border-radius: 10px;
  padding: 7px;
  position: absolute;
  top: calc(100% - 3px);
  left: 0;
  right: 0;
}

.task-create-menu > input {
  border: 1px solid var(--line);
  background: var(--bg);
  width: 100%;
  height: 34px;
  color: var(--ink);
  border-radius: 7px;
  outline: 0;
  padding: 0 9px;
}

.task-create-menu > input:focus {
  border-color: var(--indigo-500);
}

.task-create-menu-list {
  max-height: 210px;
  padding-top: 5px;
  overflow-y: auto;
}

.task-create-choice {
  width: 100%;
  min-height: 34px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  font-size: 11.5px;
  display: flex;
}

.task-create-choice:hover, .task-create-choice:focus-visible {
  background: var(--indigo-50);
  outline: 0;
}

.task-create-choice.active {
  background: var(--indigo-50);
}

.task-create-choice b, .task-create-choice small {
  display: block;
}

.task-create-choice small {
  color: var(--ink-4);
  font-size: 10px;
}

.task-create-check {
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 17px;
  height: 17px;
  display: inline-flex;
}

.task-create-check.on {
  background: var(--indigo-600);
  border-color: var(--indigo-600);
}

.task-create-no-results {
  padding: 10px;
  font-size: 11px;
}

.task-create-grid {
  align-items: start;
  gap: 12px;
}

.task-create-select {
  border: 1px solid var(--line);
  background: var(--bg-2);
  width: 100%;
  height: 39px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 12px;
  display: flex;
}

.task-create-select:hover {
  border-color: var(--indigo-500);
}

.task-create-select .i {
  color: var(--ink-4);
  flex: none;
}

.task-create-priority {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  gap: 4px;
  min-height: 39px;
  padding: 4px;
  display: flex;
}

.task-create-priority button {
  color: var(--ink-3);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: 1;
  padding: 4px 5px;
  font-size: 11px;
  font-weight: 650;
}

.task-create-priority button.selected {
  background: var(--bg-2);
  color: var(--indigo-600);
  box-shadow: var(--sh-1);
}

.task-create-due {
  grid-column: 1 / -1;
}

.task-create-date-input {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--indigo-600);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  display: flex;
}

.task-create-date-input:focus-within {
  border-color: var(--indigo-500);
}

.task-create-date-input input {
  width: 100%;
  height: 38px;
  color: var(--ink);
  font: inherit;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light dark;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  padding: 0;
}

@media (prefers-color-scheme: dark) {
  .task-create-date-input input {
    --lightningcss-light: ;
    --lightningcss-dark: initial;
  }
}

.task-create-date-shortcuts {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
  display: flex;
}

.task-create-date-shortcuts button {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-3);
  cursor: pointer;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 10.5px;
}

.task-create-date-shortcuts button:hover {
  color: var(--indigo-600);
  border-color: var(--indigo-500);
}

@media (max-width: 560px) {
  .task-create-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=_1oe5yc0s_2rcz._.css.map*/