@charset "UTF-8";
/*

###########
# WARNING #
###########

this file is generated by scss with the `make css` command from the
root directory of the project.  Do not modify this file by hand,
your changes will be overwritten.  Modify `resources/app/css/screen.scss`
and run `make css` instead.

*/
:root {
  --transition: all .2s ease-out;
  --transition-in: all .11s ease-out;
  --transition-out: all .51s ease-out;
  --dark-mode-bg-darkest: #171717;
  --dark-mode-bg-darkest-transparent: rgba(23,23,23, 0.92);
  --dark-mode-bg-dark: #1C1C1B;
  --dark-mode-bg-dark-transparent: rgba(28, 28, 27, 0.9);
  --dark-mode-bg-mid: #2D2D2F;
  --dark-mode-bg-light: #2A2A2B;
  --dark-mode-bg-highlight: #2E2E30;
  --dark-mode-bg-highlight2: #2E2E30;
  --dark-mode-border: black;
  --dark-mode-bg-capp: #1C1C1B;
  --dark-mode-bg-utility: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  --dark-mode-box-shadow: 1px 1px 4px 1px #121212;
  --dark-mode-box-shadow-listee: 1px 1px 4px 1px #232019;
  --dark-mode-text-muted: #62666e;
  --dark-mode-text-body: #e8e7df;
  --dark-mode-text-placeholder: #62666e;
  --dark-mode-green: #065f58;
  --dark-mode-green-highlight: #308271;
  --light-mode-bg-darkest: #e6ecf7;
  --light-mode-bg-darkest-transparent: rgba(230, 236, 247, 0.92);
  --light-mode-bg-dark: #e6ecf7;
  --light-mode-bg-dark-transparent: rgba(237, 240, 245, 0.9);
  --light-mode-bg-mid: #EFF3FC;
  --light-mode-bg-mid-transparent: rgba(245, 246, 252, 0.66);
  --light-mode-bg-light: white;
  --light-mode-bg-highlight: #F8FAFF;
  --light-mode-bg-highlight2: white;
  --light-mode-border: #D0DAEE;
  --light-mode-border-muted: #C2CDE1;
  --light-mode-box-shadow: 1px 1px 4px 1px #D0DAEE;
  --light-mode-box-shadow-listee: 1px 1px 4px 1px #e1e8f5;
  --light-mode-box-shadow-green: 1px 0px 4px 1px #065f58;
  --light-mode-channel-button: linear-gradient(315deg, #dce5f2 0%, #f5f7fa 74%);
  --light-mode-bg-capp: var(--light-mode-bg-darkest-transparent);
  --light-mode-bg-menu: #E7ECF6;
  --light-mode-text-muted: #7e8ca8;
  --light-mode-text-body: #575859;
  --light-mode-text-placeholder: #9fabc2;
  --light-mode-green: #308271;
  --light-mode-green-highlight: #065f58;
  --cellara-red-dark-mode: #b87b83;
  --cellara-red-light-mode: #b12f41;
  --cellara-light-red-light-mode: #a6777d;
  --cellara-gold-dark-mode: #f0bb6e;
  --cellara-gold-light-mode: #c7821e;
  --cellara-red: #b04d5b;
  --cellara-blue: #5297da;
  --cellara-black: #312f2f;
  --cellara-white: white;
  --cellara-dark-grey: #6e6d72;
  --cellara-light-grey: #bec0be;
  --cellara-navy: #1c4288;
  --cellara-pink: #c17785;
  --cellara-teal: #61b4aa;
  --cellara-green: #006d5b;
  --cellara-gold: #f1ad4a;
  --cellara-orange: #ca5927;
  --cellara-purple: #504e96;
  --highlight-dark: #171717;
  --highlight-light: #e6ecf7;
  --highlight-green-light: #d1f0e8;
  --selected-light: #d8dfed;
  --selected-dark: #242424;
  --text-white: #e8e7df;
  --add-button-height: 70px;
  --add-button-width: 70px;
  --background-light-mode-see-through: rgb(245,246,252,0.9);
  --background-dark-mode-see-through: rgb(35,35,36, 0.9);
  --background-dark-mode: #232324;
  --background-light-mode: #f5f6fc;
  --edit-text-background: #faf7f0;
  --title-text-light-mode: rgba(0, 0, 0, 0.65);
  --secondary-text-dark-mode: #cccac4;
  --bottom-buttons-background-light: rgb(245,246,252,0.9);
  --bottom-buttons-background-dark: rgb(35,35,36, 0.95);
  --box-shadow-light-mode: 1px 1px 4px 0px #dde3ed;
  --box-shadow-gold-left-button-dark-mode: -3px 0px 8px 0px #d6cbae;
  --box-shadow-gold-right-button-dark-mode: 3px 0px 8px 0px #d6cbae;
  --card-background-dark-mode: rgba(55, 55, 57, 0.98);
  --card-background-light-mode: rgba(245, 246, 252, 0.98);
  --card-border-light-mode: #dde3ed;
  --card-border-dark-mode: black;
  --card-text-light-mode: #7e8ca8;
  --card-text-dark-mode: white;
  --parents-background-light-mode: rgba(245, 246, 252, 0.92);
  --parents-background-dark-mode: rgba(55, 55, 57, 0.94);
  --button-background-light-mode: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  --button-border-light-mode: #dde3ed;
  --button-text-light-mode: #7e8ca8;
  --button-background-dark-mode: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  --button-border-dark-mode: black;
  --button-text-dark-mode: white;
  --button-border-gold: #d48d26;
  --control-button-border-dark-mode: #3d3d3d;
  --cell-background-dark-mode: #faf8f5;
  --cell-text-dark-mode: #3d3d3d;
  --connection-background-light-mode: #ECF1FB;
  --connection-text-light-mode: #657b99;
  --connection-border-light-mode: #2a5b9c;
  --connection-background-dark-mode: #213353;
  --connection-text-dark-mode: white;
  --connection-border-dark-mode: #002b54;
  --connected-cell-border-light-mode: #dde3ed;
  --connected-cell-text-dark-mode: #3d3d3d;
  --connected-cell-background-dark-mode: #faf8f5;
  --connected-cell-background-light-mode: white;
  --cellara-black-button-background: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  --cellara-green-button-background-dark: linear-gradient(315deg, #00251a 0%, #006d5b 20%);
  --cellara-green-button-background-light: linear-gradient(315deg, #00251a 0%, #006d5b 20%);
  --cellara-green-button-background: linear-gradient(315deg, #065f58 0%, #308271 80%);
  --cellara-blue-button-background: linear-gradient(315deg, #2676CC 10%, #5297da 80%);
  --button-background-gold: var(--cellara-gold);
  --button-border-dark-mode: black;
  --button-border-green: #065f58;
  /* linked cell vars */
  --linked-cell-display: flex;
  --linked-cell-justify-content: center;
  --linked-cell-border-color: #e5e5e5;
  --linked-cell-background-color: white;
  --linked-cell-border-style: solid;
  --linked-cell-border-radius: 4px;
  --linked-cell-border-width: 1px;
  --linked-cell-padding-top: 5px;
  --linked-cell-padding-bottom: 5px;
  --linked-cell-padding-left: 7px;
  --linked-cell-padding-right: 7px;
  --linked-cell-margin: .4em;
  --linked-cell-transform: translate(0, 0);
  --linked-cell-box-shadow: 0px 0px 8px 1px #c9c9c9;
  --linked-cell-color: #575859;
  /* add cell cards */
  --add-cell-card-grey-background: rgb(245,246,252,0.95);
  --light-mode-gradient: linear-gradient(315deg, #E1E7F1 0%, #f5f7fa 80%);
  --dark-mode-gradient: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  --light-mode-bg-indoor-followers: #f3f6fb;
  --dark-mode-bg-indoor-followers: #212121;
}

.activity-beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  contain: layout paint;
}

.activity-beam[data-beam] {
  position: absolute;
  inset: 0;
  background: transparent;
}

@property --beam-angle-absm {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}
@property --beam-opacity-absm {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}
[data-beam=absm] {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

[data-beam=absm][data-active] {
  animation: beam-spin-absm 1.96s linear infinite, beam-fade-in-absm 0.6s ease forwards;
}

[data-beam=absm][data-fading] {
  animation: beam-spin-absm 1.96s linear infinite, beam-fade-out-absm 0.5s ease forwards;
}

[data-beam=absm][data-active]::after,
[data-beam=absm][data-fading]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 11px;
  padding: 1px;
  clip-path: inset(0 round 12px);
  background: conic-gradient(from var(--beam-angle-absm), transparent 0%, transparent 54%, rgba(255, 255, 255, 0.1) 57%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.6) 63%, rgba(255, 255, 255, 0.75) 66%, rgba(255, 255, 255, 0.6) 69%, rgba(255, 255, 255, 0.3) 72%, rgba(255, 255, 255, 0.1) 75%, transparent 78%, transparent 100%), radial-gradient(ellipse 9px 18px at 2% 68%, rgb(50, 200, 80), transparent), radial-gradient(ellipse 4px 8px at 2% 68%, rgb(30, 185, 170), transparent), radial-gradient(ellipse 59px 9px at 72% -3%, rgb(255, 120, 40), transparent), radial-gradient(ellipse 42px 7px at 74% 100%, rgb(100, 70, 255), transparent), radial-gradient(ellipse 10px 17px at 100% 27%, rgb(240, 50, 180), transparent), radial-gradient(ellipse 10px 18px at 100% 27%, rgb(180, 40, 240), transparent), radial-gradient(ellipse 5px 10px at 100% 27%, rgb(40, 140, 255), transparent), radial-gradient(ellipse 11px 12px at 100% 27%, rgb(255, 50, 100), transparent);
  -webkit-mask: conic-gradient(from var(--beam-angle-absm), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100%), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-in, xor;
  mask: conic-gradient(from var(--beam-angle-absm), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100%), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: intersect, exclude;
  pointer-events: none;
  z-index: 2;
  opacity: calc(var(--beam-opacity-absm) * 0.26 * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
  filter: brightness(1.3) saturate(1.2);
}

[data-beam=absm][data-active]::before,
[data-beam=absm][data-fading]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  clip-path: inset(0 round 12px);
  background: radial-gradient(ellipse 9px 18px at 2% 68%, rgba(50, 200, 80, 0.5), transparent), radial-gradient(ellipse 4px 8px at 2% 68%, rgba(30, 185, 170, 0.45), transparent), radial-gradient(ellipse 59px 9px at 72% -3%, rgba(255, 120, 40, 0.35), transparent), radial-gradient(ellipse 42px 7px at 74% 100%, rgba(100, 70, 255, 0.35), transparent), radial-gradient(ellipse 10px 17px at 100% 27%, rgba(240, 50, 180, 0.3), transparent), radial-gradient(ellipse 10px 18px at 100% 27%, rgba(180, 40, 240, 0.4), transparent), radial-gradient(ellipse 5px 10px at 100% 27%, rgba(40, 140, 255, 0.3), transparent), radial-gradient(ellipse 11px 12px at 100% 27%, rgba(255, 50, 100, 0.3), transparent);
  box-shadow: inset 0 0 5px 1px rgba(255, 255, 255, 0.3);
  -webkit-mask-image: conic-gradient(from var(--beam-angle-absm), transparent 0%, transparent 22%, rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.4) 36%, white 46%, white 82%, rgba(255, 255, 255, 0.4) 88%, rgba(255, 255, 255, 0.12) 94%, transparent 97%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-image: conic-gradient(from var(--beam-angle-absm), transparent 0%, transparent 22%, rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.4) 36%, white 46%, white 82%, rgba(255, 255, 255, 0.4) 88%, rgba(255, 255, 255, 0.12) 94%, transparent 97%, transparent 100%);
  mask-composite: add;
  pointer-events: none;
  z-index: 1;
  opacity: calc(var(--beam-opacity-absm) * 0.42 * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
  filter: brightness(1.3) saturate(1.2);
}

[data-beam=absm] [data-beam-bloom] {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 11px;
  clip-path: inset(0 round 12px);
  background: conic-gradient(from var(--beam-angle-absm), transparent 0%, transparent 58%, rgba(255, 255, 255, 0.03) 62%, rgba(255, 255, 255, 0.08) 65%, rgba(255, 255, 255, 0.2) 67%, rgba(255, 255, 255, 0.45) 69%, rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0.85) 70.5%, rgba(255, 255, 255, 0.45) 71.5%, rgba(255, 255, 255, 0.2) 73%, rgba(255, 255, 255, 0.08) 75%, rgba(255, 255, 255, 0.03) 78%, transparent 82%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
  filter: blur(8px) brightness(1.3) saturate(1.2);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}

[data-beam=absm][data-active] [data-beam-bloom],
[data-beam=absm][data-fading] [data-beam-bloom] {
  display: block;
  opacity: calc(var(--beam-opacity-absm) * 0.38 * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
}

@keyframes beam-spin-absm {
  to {
    --beam-angle-absm: 360deg;
  }
}
@keyframes beam-fade-in-absm {
  to {
    --beam-opacity-absm: 1;
  }
}
@keyframes beam-fade-out-absm {
  from {
    --beam-opacity-absm: 1;
  }
  to {
    --beam-opacity-absm: 0;
  }
}
[data-beam=absm][data-paused],
[data-beam=absm][data-paused]::after,
[data-beam=absm][data-paused]::before,
[data-beam=absm][data-paused] [data-beam-bloom] {
  animation-play-state: paused !important;
}

@property --beam-angle-abmd {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}
@property --beam-opacity-abmd {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}
[data-beam=abmd] {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

[data-beam=abmd][data-active] {
  animation: beam-spin-abmd 1.96s linear infinite, beam-fade-in-abmd 0.6s ease forwards;
}

[data-beam=abmd][data-fading] {
  animation: beam-spin-abmd 1.96s linear infinite, beam-fade-out-abmd 0.5s ease forwards;
}

[data-beam=abmd][data-active]::after,
[data-beam=abmd][data-fading]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 1px;
  clip-path: inset(0 round 16px);
  background: conic-gradient(from var(--beam-angle-abmd), transparent 0%, transparent 54%, rgba(255, 255, 255, 0.1) 57%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.6) 63%, rgba(255, 255, 255, 0.75) 66%, rgba(255, 255, 255, 0.6) 69%, rgba(255, 255, 255, 0.3) 72%, rgba(255, 255, 255, 0.1) 75%, transparent 78%, transparent 100%), radial-gradient(ellipse 70px 40px at 33% -7.4%, rgb(255, 50, 100), transparent), radial-gradient(ellipse 60px 35px at 12% -5%, rgb(40, 140, 255), transparent), radial-gradient(ellipse 40px 70px at 2.1% 68.3%, rgb(50, 200, 80), transparent), radial-gradient(ellipse 20px 35px at 2.1% 68.3%, rgb(30, 185, 170), transparent), radial-gradient(ellipse 180px 32px at 74.4% 100%, rgb(100, 70, 255), transparent), radial-gradient(ellipse 85px 26px at 55% 100%, rgb(40, 140, 255), transparent), radial-gradient(ellipse 74px 32px at 93.9% 0%, rgb(255, 120, 40), transparent), radial-gradient(ellipse 26px 42px at 100% 27.1%, rgb(240, 50, 180), transparent), radial-gradient(ellipse 52px 48px at 100% 27.1%, rgb(180, 40, 240), transparent);
  -webkit-mask: conic-gradient(from var(--beam-angle-abmd), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100%), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-in, xor;
  mask: conic-gradient(from var(--beam-angle-abmd), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100%), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: intersect, exclude;
  pointer-events: none;
  z-index: 2;
  opacity: calc(var(--beam-opacity-abmd) * 0.26 * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
  filter: brightness(1.3) saturate(1.2);
}

[data-beam=abmd][data-active]::before,
[data-beam=abmd][data-fading]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 63px 36px at 33% -7.4%, rgba(255, 50, 100, 0.45), transparent), radial-gradient(ellipse 54px 32px at 12% -5%, rgba(40, 140, 255, 0.45), transparent), radial-gradient(ellipse 36px 63px at 2.1% 68.3%, rgba(50, 200, 80, 0.45), transparent), radial-gradient(ellipse 18px 32px at 2.1% 68.3%, rgba(30, 185, 170, 0.45), transparent), radial-gradient(ellipse 162px 29px at 74.4% 100%, rgba(100, 70, 255, 0.45), transparent), radial-gradient(ellipse 77px 23px at 55% 100%, rgba(40, 140, 255, 0.45), transparent), radial-gradient(ellipse 67px 29px at 93.9% 0%, rgba(255, 120, 40, 0.45), transparent), radial-gradient(ellipse 23px 38px at 100% 27.1%, rgba(240, 50, 180, 0.45), transparent), radial-gradient(ellipse 47px 43px at 100% 27.1%, rgba(180, 40, 240, 0.45), transparent);
  box-shadow: inset 0 0 9px 1px rgba(255, 255, 255, 0.27);
  -webkit-mask-image: conic-gradient(from var(--beam-angle-abmd), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100%), linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white), linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white);
  -webkit-mask-composite: source-in, source-over;
  mask-image: conic-gradient(from var(--beam-angle-abmd), transparent 0%, transparent 30%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%, white 52%, white 80%, rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%, transparent 95%, transparent 100%), linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white), linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white);
  mask-composite: intersect, add;
  pointer-events: none;
  z-index: 1;
  opacity: calc(var(--beam-opacity-abmd) * 0.42 * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
  clip-path: inset(0 round 16px);
  filter: brightness(1.3) saturate(1.2);
}

[data-beam=abmd] [data-beam-bloom] {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 15px;
  clip-path: inset(0 round 16px);
  background: conic-gradient(from var(--beam-angle-abmd), transparent 0%, transparent 58%, rgba(255, 255, 255, 0.03) 62%, rgba(255, 255, 255, 0.08) 65%, rgba(255, 255, 255, 0.2) 67%, rgba(255, 255, 255, 0.45) 69%, rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0.85) 70.5%, rgba(255, 255, 255, 0.45) 71.5%, rgba(255, 255, 255, 0.2) 73%, rgba(255, 255, 255, 0.08) 75%, rgba(255, 255, 255, 0.03) 78%, transparent 82%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
  filter: blur(8px) brightness(1.3) saturate(1.2);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}

[data-beam=abmd][data-active] [data-beam-bloom],
[data-beam=abmd][data-fading] [data-beam-bloom] {
  display: block;
  opacity: calc(var(--beam-opacity-abmd) * 0.24 * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
}

@keyframes beam-spin-abmd {
  to {
    --beam-angle-abmd: 360deg;
  }
}
@keyframes beam-fade-in-abmd {
  to {
    --beam-opacity-abmd: 1;
  }
}
@keyframes beam-fade-out-abmd {
  from {
    --beam-opacity-abmd: 1;
  }
  to {
    --beam-opacity-abmd: 0;
  }
}
[data-beam=abmd][data-paused],
[data-beam=abmd][data-paused]::after,
[data-beam=abmd][data-paused]::before,
[data-beam=abmd][data-paused] [data-beam-bloom] {
  animation-play-state: paused !important;
}

[data-beam=absm][data-circle] {
  --beam-strength: 2.6;
}

[data-beam=absm][data-circle],
[data-beam=absm][data-circle]::after,
[data-beam=absm][data-circle]::before,
[data-beam=absm][data-circle] [data-beam-bloom] {
  border-radius: 50%;
}

[data-beam=absm][data-circle]::after,
[data-beam=absm][data-circle]::before,
[data-beam=absm][data-circle] [data-beam-bloom] {
  clip-path: inset(0 round 50%);
}

/* css reset  */
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  padding-left: 0px;
  padding-right: 0px;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* end css reset  */
body {
  min-height: 100vh;
}
body.light {
  background-color: var(--light-mode-bg-darkest);
  transition: all 0.51s ease-out;
}
body.dark {
  background-color: var(--dark-mode-bg-darkest);
  transition: all 0.51s ease-out;
}

body code {
  color: var(--cellara-blue);
}

div.type-selector {
  height: 32px;
  display: flex;
  flex-wrap: nowrap;
  width: 130px;
}

:focus {
  outline: none !important;
}

input::placeholder {
  color: #B8B8B8;
  font-size: 18px;
  font-weight: normal;
}

textarea::placeholder {
  color: #B8B8B8;
  font-weight: normal;
}

ol {
  display: flex;
  /* why is this here? */
  /* flex-direction: column-reverse; */
  width: 50%;
}

td, li {
  white-space: nowrap;
}

div.color.orange {
  color: #ca5927;
}

div.main {
  width: 100%;
  transition: all 0.51s ease-out;
}

.kn-red-font.light {
  color: var(--cellara-red);
}
.kn-red-font.dark {
  color: #e0909b;
}

div.completed-on {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5297da;
  margin: 10px;
}

div.connected-to-do-name {
  max-width: 100%;
  font-size: 15px;
  margin-left: 3px;
}

div.large-checkbox {
  padding-top: 1px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 9px;
  margin-left: 19px;
  transform: scale(1.8);
}

div.connected-to-do-shell-short {
  z-index: 0.6;
  transition: all 0.51s ease-out;
  display: flex;
  justify-content: center;
  background-color: white;
  min-height: 33px;
  border-style: solid;
  border-radius: 23px;
  border-width: 1px;
  margin: 4px;
  padding-right: 8px;
  padding-left: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  position: relative;
  color: var(--light-mode-text-body);
}
div.connected-to-do-shell-short.light-mode {
  border-color: var(--light-mode-border);
}
div.connected-to-do-shell-short.light-mode:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03, 1.03);
  box-shadow: var(--light-mode-box-shadow);
}
div.connected-to-do-shell-short.dark-mode {
  background-color: var(--dark-mode-bg-mid);
  color: var(--text-white);
  border-color: black;
}
div.connected-to-do-shell-short.dark-mode:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03, 1.03);
  background-color: var(--dark-mode-bg-highlight);
}

div.connected-to-do-shell-long {
  z-index: 0.6;
  transition: all 0.12s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 33px;
  border-radius: 23px;
  border-width: 1px;
  color: var(--light-mode-text-body);
  min-width: 200px;
  position: relative;
  border-style: solid;
  margin: 4px;
  padding-right: 8px;
  padding-left: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
}
div.connected-to-do-shell-long.light-mode {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-light);
  transition: all 0.51s ease-out;
}
div.connected-to-do-shell-long.light-mode:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03, 1.03);
  box-shadow: var(--light-mode-box-shadow);
}
div.connected-to-do-shell-long.dark-mode {
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
  border-color: black;
  transition: all 0.51s ease-out;
}
div.connected-to-do-shell-long.dark-mode:hover {
  border-color: black;
  background-color: var(--dark-mode-bg-highlight);
  color: var(--text-white);
  transform: scale(1.02, 1.02);
  transition: all 0.04s ease-out;
}
div.connected-to-do-shell-long.dark-mode:active {
  transition: all 0.04s ease-out;
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-highlight);
}

button.connected-to-do {
  text-align: left;
  border-width: 0px;
  border-radius: 23px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  margin: -2px;
  transition: var(--transition);
}
button.connected-to-do.light-mode {
  background-color: transparent;
}
button.connected-to-do.dark-mode {
  background-color: transparent;
  color: var(--text-white);
}

.todo-checkbox.todo-checkbox {
  margin-right: 5px;
  margin-top: 1px;
  scale: 0.95;
}

.linked-cell.issue .issue-status-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #d9534f;
  margin-left: 6px;
}
.linked-cell.issue .issue-status-chip.issue-status-in-progress {
  background: #e0a106;
}
.linked-cell.issue .issue-status-chip.issue-status-resolved {
  background: #3c9a5f;
}

.main-cell-card.body.issue .issue-status-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #d9534f;
  margin-bottom: 8px;
}
.main-cell-card.body.issue .issue-status-badge.issue-status-in-progress {
  background: #e0a106;
}
.main-cell-card.body.issue .issue-status-badge.issue-status-resolved {
  background: #3c9a5f;
}

ant.select {
  width: 800px;
}

.chat-go-to-bottom-button {
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  width: 80px;
  height: 80px;
  opacity: 80%;
  border-width: 1px;
  border-style: solid;
  bottom: 98px;
}
.chat-go-to-bottom-button.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
}
.chat-go-to-bottom-button.dark {
  border-color: var(--dark-mode-text-muted);
  background-color: var(--dark-mode-bg-darkest);
}

button.linked-cell {
  margin: 0px;
  padding: 0px;
  border-radius: 10px;
  overflow: visible;
  border-width: 0px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}
button.linked-cell:hover {
  z-index: 2;
}
button.linked-cell.light, button.linked-cell.dark, button.linked-cell.light:hover, button.linked-cell.dark:hover, button.linked-cell.light:active, button.linked-cell.dark:active {
  background-color: transparent;
}
button.linked-cell.selected > div.linked-cell {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}
button.linked-cell:has(> div.linked-cell.customization) {
  border-radius: 20px;
}
button.linked-cell > .linked-cell {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-avatar.customization-avatar {
  width: 20px;
  height: 20px;
  font-size: 8px;
}

div.linked-cell {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out, background-color 0.2s ease-out;
  z-index: 0.6;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #575859;
  border-style: solid;
  border-radius: 10px;
  border-width: 1px;
  padding: 9px 8px;
  margin: 0;
  font-size: 15px;
  cursor: pointer;
}
div.linked-cell.drag.drag-target {
  box-shadow: 0px 0px 6px 3px var(--cellara-gold);
}
div.linked-cell.selected, div.linked-cell.selected:hover {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}
div.linked-cell.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-light);
}
div.linked-cell.dark {
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
  border-color: var(--dark-mode-border);
}
div.linked-cell.light:hover {
  transition: all 0.02s ease-out;
  transform: scale(1.01);
  box-shadow: var(--light-mode-box-shadow);
  border-color: #88a1c2;
}
div.linked-cell.light:active {
  transform: scale(1.01);
}
div.linked-cell.dark:hover {
  transition: all 0.02s ease-out;
  background-color: var(--dark-mode-bg-highlight);
  transform: scale(1.01);
  border-color: #615b41;
  box-shadow: var(--dark-mode-box-shadow);
}
div.linked-cell.dark:active {
  transition: all 0.04s ease-out;
  transform: scale(1.01);
  background-color: var(--dark-mode-bg-highlight);
}
div.linked-cell.light.listee {
  border-color: var(--light-mode-bg-darkest-transparent);
  background-color: var(--light-mode-bg-light);
}
div.linked-cell.dark.listee {
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
  border-color: var(--dark-mode-bg-dark);
}
div.linked-cell.light.listee:hover {
  transition: all 0.02s ease-out;
  transform: scale(1.01);
  box-shadow: var(--light-mode-box-shadow);
  border-color: #88a1c2;
}
div.linked-cell.light-listee:active {
  transition: all 0.04s ease-out;
  transform: scale(1.01);
}
div.linked-cell.dark.listee:hover {
  transition: all 0.02s ease-out;
  background-color: var(--dark-mode-bg-highlight);
  transform: scale(1.01);
  border-color: #615b41;
  box-shadow: var(--dark-mode-box-shadow);
}
div.linked-cell.dark-listee:active {
  transition: all 0.04s ease-out;
  transform: scale(1.01);
  background-color: var(--dark-mode-bg-highlight);
}
div.linked-cell.file {
  padding: 0px;
}
div.linked-cell.person {
  display: flex;
  align-items: center;
}

.anticon-file-pdf {
  margin-top: 14px;
}

span.url-content {
  word-break: break-word;
  text-align: center;
}

div.date-field-text {
  height: 100%;
  display: flex;
  align-items: center;
  user-select: none;
}

div.main-cell-body {
  transition: var(--transition);
  font-size: 14px;
  width: 100%;
  font-weight: normal;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 10px;
  height: fit-content;
  margin-top: 0px;
}
div.main-cell-body.url {
  display: flex;
  justify-content: center;
}

div.main-cell-left-buttons {
  margin-top: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
}

div.main-cell-right-buttons {
  margin-top: 3px;
  margin-right: 3px;
  margin-bottom: 3px;
}

div.period-selector {
  display: flex;
  justify-content: flex-end;
}

button.square-card.dark {
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: 10px;
  font-size: 20px;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 90px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
}

button.square-card.light {
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: 10px;
  font-size: 20px;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 90px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
}

button.edit-cell {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  background-color: transparent;
}
button.edit-cell.light {
  transition: 0.51s ease-out;
  border-color: transparent;
  background-color: transparent;
  color: var(--light-mode-text-muted);
}
button.edit-cell.dark {
  transition: 0.51s ease-out;
  border-color: transparent;
  background-color: transparent;
  color: var(--dark-mode-text-muted);
}
button.edit-cell.light:hover {
  transition: transform 0.04s ease-out;
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
}
button.edit-cell.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
}
button.edit-cell.light:active {
  transition: transform 0.08s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
button.edit-cell.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}

div.edit-cell-spacer {
  height: 45px;
  width: 45px;
  margin: 8px;
}

div.selector-option {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

div.delete-item-button {
  margin: 0px;
  padding: 0px;
}

button.delete-item {
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  transition: var(--transition);
  position: absolute;
}
button.delete-item.edit-light {
  height: 45px;
  width: 45px;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  opacity: 1;
  background-color: var(--cellara-pink);
  border-color: var(--button-border-light-mode);
  color: white;
  position: absolute;
  margin-top: -120px;
}
button.delete-item.read-light {
  height: 10px;
  width: 10px;
  border-width: 0px;
  opacity: 0;
  transition: 0.1s;
  margin-left: 10px;
  background-image: var(--button-background-light-mode);
  border-color: var(--button-border-light-mode);
  color: var(--button-text-light-mode);
}
button.delete-item.edit-dark {
  height: 45px;
  width: 45px;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-left: 5px;
  opacity: 1;
  background-color: transparent;
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
  position: absolute;
  margin-top: -120px;
}
button.delete-item.read-dark {
  height: 10px;
  width: 10px;
  border-width: 0px;
  opacity: 0;
  transition: 0.1s;
  margin-left: 10px;
  background-image: var(--button-background-dark-mode);
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}

div.main-cell-buttons {
  position: absolute;
  margin-top: -55px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
}
div.main-cell-buttons.read {
  margin-top: 100px;
  height: 10px;
  border-width: 0px;
  opacity: 0;
  pointer-events: none;
  transition: 0.1s;
}

div.cursor-options {
  display: flex;
}

button.main-cell {
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}
button.main-cell.left {
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}
button.main-cell.middle {
  border-radius: 0px;
}
button.main-cell.right {
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}
button.main-cell.edit {
  height: 45px;
  width: 45px;
  font-size: 20px;
  opacity: 1;
}
button.main-cell.read {
  height: 10px;
  width: 10px;
  border-width: 0px;
  opacity: 0;
  justify-self: flex-end;
  transform: scale(0.5);
  pointer-events: none;
  transition: 0.1s;
}
button.main-cell.read-dark {
  height: 10px;
  width: 10px;
  border-width: 0px;
  opacity: 0;
  transition: 0.1s;
  margin-left: 10px;
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
  background-color: transparent;
  justify-self: flex-end;
  transform: scale(0.5);
  pointer-events: none;
  margin-top: 65px;
}
button.main-cell.light {
  background-color: transparent;
  border-color: var(--light-mode-border);
  color: var(--button-text-light-mode);
}
button.main-cell.dark {
  background-color: transparent;
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}

button.delete-main-cell {
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}
button.delete-main-cell.edit-light {
  height: 45px;
  width: 45px;
  font-size: 20px;
  opacity: 1;
  background-color: var(--cellara-pink);
  border-color: var(--button-border-light-mode);
  color: white;
}
button.delete-main-cell.read-light {
  height: 10px;
  width: 10px;
  border-width: 0px;
  opacity: 0;
  transition: 0.1s;
  border-color: var(--button-border-light-mode);
  color: var(--button-text-light-mode);
  margin-right: 10px;
  background-color: transparent;
  transform: scale(0.5);
  pointer-events: none;
  margin-top: 65px;
}
button.delete-main-cell.edit-dark {
  height: 45px;
  width: 45px;
  font-size: 20px;
  opacity: 1;
  background-color: transparent;
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}
button.delete-main-cell.read-dark {
  height: 10px;
  width: 10px;
  border-width: 0px;
  opacity: 0;
  transition: 0.1s;
  margin-left: 10px;
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
  background-color: transparent;
  justify-self: flex-end;
  transform: scale(0.5);
  pointer-events: none;
  margin-top: 65px;
}

div.card-sizer {
  transition: var(--transition);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: nowrap;
  font-weight: normal;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

button.card-sizers {
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  transition: var(--transition);
}
button.card-sizers.edit-light {
  height: 42px;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-left: 5px;
  opacity: 1;
  background-image: var(--button-background-light-mode);
  border-color: var(--button-border-light-mode);
  color: var(--button-text-light-mode);
}
button.card-sizers.read-light {
  height: 0px;
  width: 0px;
  border-width: 0px;
  opacity: 0;
}
button.card-sizers.edit-dark {
  height: 42px;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-left: 5px;
  opacity: 1;
  background-image: var(--button-background-dark-mode);
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}
button.card-sizers.read-dark {
  height: 10px;
  width: 10px;
  border-width: 0px;
  border-radius: 50%;
  opacity: 0;
  margin-top: 70px;
  margin-right: 10px;
  background-image: var(--button-background-dark-mode);
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}

div.card-sizera.closed {
  height: 0px;
  width: 0px;
}

button.card-sizers2 {
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-left: 10px;
  transition: var(--transition);
}
button.card-sizers2.edit-light {
  height: 42px;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  opacity: 1;
  background-image: var(--button-background-light-mode);
  border-color: var(--button-border-light-mode);
  color: var(--button-text-light-mode);
}
button.card-sizers2.read-light {
  height: 0px;
  width: 0px;
  border-width: 0px;
  font-size: 0px;
  opacity: 0;
  margin-top: 70px;
  transition: 0.1s;
}
button.card-sizers2.edit-dark {
  height: 42px;
  width: 42px;
  opacity: 1;
  background-image: var(--button-background-dark-mode);
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}
button.card-sizers2.read-dark {
  height: 0px;
  width: 0px;
  border-width: 0px;
  font-size: 0px;
  opacity: 0;
  background-image: var(--button-background-dark-mode);
  border-color: var(--button-border-dark-mode);
  color: black;
  margin-top: 70px;
  transition: 0.1s;
}

div.remove-connection {
  transition: var(--transition);
  opacity: 1;
  position: absolute;
  padding-left: 2px;
  left: 0;
  top: 0;
  border-style: solid;
  border-width: 1px;
  font-family: Helvetica;
  font-size: 18px;
  width: 30px;
  color: white;
  z-index: 90;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-width: 1px;
  background-color: #966f20;
  transform: translateX(-5px);
  height: calc(100% - 8px);
  margin-top: 4px;
  margin-left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-5px);
}
div.remove-connection.light {
  border-color: #dde3ed;
  background-color: var(--button-background-gold);
}
div.remove-connection.dark {
  border-width: 1px;
  border-color: black;
  background-color: #966f20;
}
div.remove-connection.light-file {
  border-color: #dde3ed;
  background-color: var(--button-background-gold);
  height: 35px;
  border-radius: 5px;
  margin-left: 5px;
  padding-left: 1px;
}
div.remove-connection.dark-file {
  border-width: 1px;
  border-color: black;
  background-color: #966f20;
  height: 35px;
  border-radius: 5px;
  margin-left: 5px;
  padding-left: 1px;
}
div.remove-connection:hover {
  background-color: var(--cellara-red);
}
div.remove-connection.hidden {
  opacity: 0;
  z-index: -1;
  width: 1px;
  color: transparent;
  font-size: 1px;
}

div.remove-connection2 {
  opacity: 1;
  padding: 2px;
  margin: 0px;
  margin-left: -32px;
  margin-top: -10px;
  margin-bottom: -10px;
  border-style: solid;
  margin-right: 2px;
  border-radius: 3px;
  border-width: 1px;
  transition: opacity 0.1s;
  font-family: Helvetica;
  font-size: 18px;
  width: 32px;
  color: white;
  z-index: 30;
  border-color: #bfbfbf;
}
div.remove-connection2.light {
  background-color: #bfbfbf;
}
div.remove-connection2.dark {
  background-color: #bfbfbf;
}
div.remove-connection2:hover {
  background-color: var(--cellara-red);
}

div.linked-cell-name {
  font-size: inherit;
  text-align: left;
  padding-left: 3px;
  padding-right: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  height: fit-content;
  min-width: 0;
  flex: 1;
}

.happy-span {
  text-align: center;
}

div.main-cell-name-container {
  margin: 0px;
  padding: 7px;
  padding-right: 15px;
  padding-left: 15px;
  font-size: 18px;
  border-radius: 7px;
  text-align: center;
  min-height: 45px;
  border-width: 1px;
  border-color: transparent;
  border-style: solid;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.main-cell-name-container.light {
  transition: var(--transition-out);
}
div.main-cell-name-container.light.edit:hover {
  transition: var(--transition-in);
  border-width: 1px;
  border-color: var(--light-mode-bg-darkest-transparent);
  border-style: solid;
  background-color: var(--light-mode-bg-highlight);
}
div.main-cell-name-container.light.add:hover {
  transition: var(--transition-in);
  border-width: 1px;
  border-color: var(--light-mode-bg-darkest-transparent);
  border-style: solid;
  background-color: var(--light-mode-bg-highlight);
}
div.main-cell-name-container.dark {
  transition: var(--transition-out);
}
div.main-cell-name-container.dark.edit:hover {
  transition: var(--transition-in);
  border-width: 1px;
  border-color: var(--dark-mode-bg-dark-transparent);
  border-style: solid;
  background-color: var(--dark-mode-bg-highlight);
}
div.main-cell-name-container.dark.add:hover {
  transition: var(--transition-in);
  border-width: 1px;
  border-color: var(--dark-mode-bg-dark-transparent);
  border-style: solid;
  background-color: var(--dark-mode-bg-highlight);
}

div.item-name {
  text-align: center;
  height: 100%;
  font-size: 18px;
  border-width: 0px;
  border-radius: 5px;
  margin: 0px;
}
div.item-name.dark {
  color: var(--text-white);
}

div.cell-name {
  display: flex;
  justify-content: center;
  height: 100%;
  font-size: 18px;
  border-width: 1px;
  border-radius: 5px;
  margin: 0px;
}

.settings-login {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

img.logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.cellara-event-date-picker {
  margin: 0px;
  margin-left: 3px;
  margin-right: 3px;
  padding: 0px;
  border-radius: 5px;
  height: 40px;
  border-width: 0px;
  width: 135px;
  display: flex;
}
div.cellara-event-date-picker.light {
  border-color: var(--light-mode-border);
}
div.cellara-event-date-picker.dark {
  border-color: var(--dark-mode-border);
}
div.cellara-event-date-picker.hide {
  scale: 0;
}

.event-date-picker {
  margin: 0px;
  margin-left: 3px;
  margin-right: 3px;
  padding: 0px;
  border-radius: 5px;
  height: 30px;
  border-width: 1px;
  border-style: solid;
}
.event-date-picker.light {
  border-color: var(--light-mode-border);
}
.event-date-picker.dark {
  color: white;
  background-color: #232324;
  border-color: black;
}

.event-time-picker {
  margin: 0px;
  padding: 0px;
  border-radius: 5px;
  height: 30px;
  border-width: 1px;
  border-style: solid;
}
.event-time-picker.dark {
  color: white;
  background-color: #232324;
  border-color: black;
}

.rubber-band {
  position: absolute;
  border: 1px dashed var(--cellara-blue);
  background-color: rgba(82, 151, 218, 0.15);
  pointer-events: none;
  z-index: 100;
}

.delete-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.delete-confirm-popup {
  border-radius: 15px;
  padding: 24px 28px;
  min-width: 300px;
  text-align: center;
}
.delete-confirm-popup.light {
  background-color: var(--light-mode-bg-light);
  color: #505d75;
  border: 1px solid var(--light-mode-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.delete-confirm-popup.dark {
  background-color: var(--dark-mode-bg-light);
  color: white;
  border: 1px solid var(--dark-mode-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.delete-confirm-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.delete-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

button.delete-confirm-primary {
  height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--cellara-blue);
  background-color: var(--cellara-blue);
  color: white;
  font-size: 15px;
  cursor: pointer;
}
button.delete-confirm-primary:hover {
  opacity: 0.9;
}

button.delete-confirm-secondary {
  height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  background-color: transparent;
  font-size: 15px;
  cursor: pointer;
}
button.delete-confirm-secondary.light {
  border-color: var(--light-mode-border);
  color: #505d75;
}
button.delete-confirm-secondary.light:hover {
  background-color: var(--light-mode-bg-highlight);
}
button.delete-confirm-secondary.dark {
  border-color: var(--dark-mode-border);
  color: white;
}
button.delete-confirm-secondary.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
}

button.delete-confirm-destructive {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
}
button.delete-confirm-destructive:hover {
  text-decoration: underline;
}

.cellara-users-table-container {
  padding: 12px;
  overflow: hidden;
  min-width: 0;
}

.cellara-users-loading,
.cellara-users-error {
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.cellara-users-error {
  color: #e74c3c;
}

table.cellara-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
table.cellara-users-table th {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666;
}
table.cellara-users-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e0e0e0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
table.cellara-users-table th:nth-child(1), table.cellara-users-table td:nth-child(1) {
  width: 20%;
}
table.cellara-users-table th:nth-child(2), table.cellara-users-table td:nth-child(2) {
  width: 12%;
}
table.cellara-users-table th:nth-child(3), table.cellara-users-table td:nth-child(3) {
  width: 12%;
}
table.cellara-users-table th:nth-child(4), table.cellara-users-table td:nth-child(4) {
  width: 8%;
}
table.cellara-users-table th:nth-child(5), table.cellara-users-table td:nth-child(5) {
  width: 48%;
}
table.cellara-users-table td:nth-child(5) {
  word-break: break-word;
  white-space: normal;
  line-height: 1.4;
}
table.cellara-users-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
table.cellara-users-table.dark th {
  color: #aaa;
  border-bottom-color: var(--dark-mode-border);
}
table.cellara-users-table.dark td {
  border-bottom-color: var(--dark-mode-border);
}
table.cellara-users-table.dark tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.cellara-user-name-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.cellara-user-name-link:hover {
  text-decoration: underline;
}

.cellara-user-name-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cellara-user-detail-container {
  padding: 16px;
  overflow: auto;
}

table.cellara-user-detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
table.cellara-user-detail-table th, table.cellara-user-detail-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
table.cellara-user-detail-table th {
  font-weight: 600;
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
table.cellara-user-detail-table th:nth-child(1), table.cellara-user-detail-table td:nth-child(1) {
  width: 60%;
}
table.cellara-user-detail-table th:nth-child(2), table.cellara-user-detail-table td:nth-child(2) {
  width: 40%;
  text-align: right;
}
table.cellara-user-detail-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
table.cellara-user-detail-table .cellara-user-totals-row {
  font-weight: 600;
}
table.cellara-user-detail-table .cellara-user-totals-row td {
  background-color: rgba(0, 0, 0, 0.04);
}
table.cellara-user-detail-table.dark th {
  color: #aaa;
  border-bottom-color: var(--dark-mode-border);
}
table.cellara-user-detail-table.dark td {
  border-bottom-color: var(--dark-mode-border);
}
table.cellara-user-detail-table.dark tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
table.cellara-user-detail-table.dark .cellara-user-totals-row td {
  background-color: rgba(255, 255, 255, 0.06);
}

.linked-table-cells {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.linked-table-planned {
  opacity: 0.38;
  font-size: 12px;
}

.linked-cell.linked-table-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding: 2px 9px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 7px;
  white-space: nowrap;
}
.linked-cell.linked-table-chip .linked-cell-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

button.link-button {
  font-size: 15px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 12px;
  padding-right: 12px;
  user-select: none;
  margin-bottom: 0; /* was 4px — tighten label-to-cell gap */
  width: max-content;
}
button.link-button.light {
  background-color: transparent;
  border-color: var(--light-mode-border);
  color: var(--connection-text-light-mode);
  transition: all 0.51s ease-out;
}
button.link-button.dark {
  background-color: transparent;
  color: var(--dark-mode-text-muted);
  border-color: black;
  transition: all 0.51s ease-out;
}

div.editable-link {
  display: flex;
  margin: 0px;
}

div.drag-landing {
  box-shadow: 0px 0px 8px 3px #308271;
  background-color: #308271;
  margin-right: 40px;
  margin-left: 40px;
}

*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target {
  /*      &.linked-cell { // this is what highlights standard linked cells in linked view
          &.light > div > div > button > div {
               @include drag-highlight-color-light;
            //   margin: 100px;
        //       margin: 1000px; // bug bait
               transition: all 0.2s ease-in-out;
           }
           &.dark  > * > * > * {
               @include drag-highlight-color-dark;
           //    margin: 1000px; // bug bait
               transition: all 0.2s ease-in-out;
           }
       } */
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-display.light > * {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-display.dark > * {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-container.light > *:nth-child(2) {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
  margin-right: 0;
  margin-left: 0;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-container.dark > *:nth-child(2) {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
  margin-right: 0;
  margin-left: 0;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.linked-cell.light > * {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.linked-cell.dark > * {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-card.read-light {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
  margin-top: -2px;
  margin-bottom: -2px;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-card.list.read-light {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
  margin-top: 0px;
  margin-bottom: 0px;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-card.read-dark {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
  margin-top: -2px;
  margin-bottom: -2px;
  transition: all 0.2s ease-in-out;
}
*.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.drag-drag-target.main-cell-card.list.read-dark {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
  margin-top: 0px;
  margin-bottom: 0px;
  transition: all 0.2s ease-in-out;
}

*.drag-drag-target > * > button.connected-file.light {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
}
*.drag-drag-target > * > button.connected-file.dark {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
}

/*
*.drag-drag-target > * > div.connected-to-do-shell-short {
    &.light {
        @include drag-highlight-color-light;
    }
    &.dark {
        @include drag-highlight-color-dark;
    }
}

*.drag-drag-target > * > div.connected-to-do-shell-long {
    &.light {
        @include drag-highlight-color-light;
    }
    &.dark {
        @include drag-highlight-color-dark;
    }
}

*.drag-drag-target > * > button.linked-cell-long {
    &.light {
        @include drag-highlight-color-light;
    }
    &.dark {
        @include drag-highlight-color-dark;
    }
}

 */
*.drag-drag-target > * > .connected-cell.light {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
}
*.drag-drag-target > * > .connected-cell.dark {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
}

*.drag-drag-target > * > button.linked-cell-calendar.light {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
}
*.drag-drag-target > * > button.linked-cell-calendar.dark {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
}

.multi-day-event-bar.drag-drag-target.light {
  border-color: var(--cellara-blue);
  border-style: solid;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  margin-top: 4px;
  transition: all 0.25s ease-out;
}
.multi-day-event-bar.drag-drag-target.dark {
  border-color: var(--cellara-blue);
  border-style: solid;
  #_box-shadow: 0px 0px 8px 1px #03fcb6;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
}

.listee-rows-row-inner, .listee-topnub,
.membership-slot-inner, .membership-topnub {
  transition: all 0.2s ease-in-out;
}

body.drag-drag-target {
  box-shadow: inset 0px 0px 8px 3px #308271;
}

.drag-chat-target {
  box-shadow: inset 0px 0px 8px 3px var(--cellara-green) !important;
  transition: box-shadow 0.25s ease-out;
}

.listee-rows-row-outer, .listee-topnub, .listee-rows-row-inner,
.membership-slot-outer, .membership-topnub, .membership-slot-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.listee-rows-row-outer.flying-solo, .listee-topnub.flying-solo, .listee-rows-row-inner.flying-solo,
.membership-slot-outer.flying-solo, .membership-topnub.flying-solo, .membership-slot-inner.flying-solo {
  width: 10px;
  height: 10px;
  width: 100%;
  margin-top: -5px;
  margin-bottom: -5px;
}
.listee-rows-row-outer.flying-solo > *, .listee-topnub.flying-solo > *, .listee-rows-row-inner.flying-solo > *,
.membership-slot-outer.flying-solo > *, .membership-topnub.flying-solo > *, .membership-slot-inner.flying-solo > * {
  position: absolute;
  height: 100px;
  z-index: 10;
}

.linked-cell[data-drag-context-id=basic] {
  position: relative;
  z-index: 2;
}

.listee-rows-row-inner,
.membership-slot-inner {
  transition: all 0.2s ease-in-out;
  width: min(80px, 100%);
  height: min(20px, 100%);
  position: relative;
}

.new-share {
  box-shadow: 0px 1px 5px 1px var(--cellara-green);
}

button.linked-cell.new-share {
  box-shadow: 0px 1px 5px 1px var(--cellara-green);
  z-index: 1;
}
button.linked-cell.new-share.light {
  box-shadow: 0px 1px 5px 1px var(--cellara-green);
}
button.linked-cell.new-share.dark {
  box-shadow: 0px 1px 5px 1px var(--cellara-green);
}

button.linked-cell:has(> div.linked-cell.unread-chat) {
  z-index: 1;
}

div.linked-cell.chat.unread-chat,
div.linked-cell.person.unread-chat {
  box-shadow: 0px 0px 5px 3px var(--cellara-green);
}
div.linked-cell.chat.unread-chat:hover,
div.linked-cell.person.unread-chat:hover {
  box-shadow: 0px 0px 5px 3px var(--cellara-green);
}

.add-cell-component-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

div.add-cell-button-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  position: fixed;
  bottom: 10px;
  width: 80px;
  height: 80px;
  scale: 1;
  transition: var(--transition);
}
div.add-cell-button-container.chat {
  position: unset;
  height: 50px;
  width: 50px;
  margin: 2px;
}
div.add-cell-button-container.edit {
  opacity: 0;
  scale: 0.5;
}

div.new-cell-container {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%);
  margin: 0px;
  border-radius: 10px;
  z-index: 99;
  transition: var(--transition);
}
div.new-cell-container.hide-light {
  transition: var(--transition);
  opacity: 0;
  z-index: 1;
  height: 0px;
  transform: translate(-50%) translateY(1000px) scaleY(0.1);
}
div.new-cell-container.hide-dark {
  transition: var(--transition);
  opacity: 0;
  z-index: 1;
  height: 0px;
  transform: translate(-50%) translateY(1000px) scaleY(0.1);
}
div.new-cell-container.add-light {
  transition: var(--transition);
}
div.new-cell-container.add-dark {
  transition: var(--transition);
}
div.new-cell-container.hide {
  margin: 0px;
  height: 0px;
  min-height: 0px;
  width: 0px;
  opacity: 0;
  background-image: none;
  font-size: 1px;
}

div.add-cell-card-header {
  padding: 0px;
  display: flex;
  margin: 10px;
  margin-bottom: 5px;
}

div.add-cell-pop-up-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  height: 50px;
}

div.add-cell-card-sizer {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
div.add-cell-card-sizer.light {
  background-color: rgba(245, 246, 252, 0.92);
}
div.add-cell-card-sizer.dark {
  background-color: rgba(30, 30, 31, 0.88);
}

div.add-cell-above-card {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  opacity: 1;
  align-items: flex-end;
}

div.new-cell-card {
  display: grid;
  transition: var(--transition);
  z-index: 30;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%) scale(1);
  margin: 0px;
  border-radius: 10px;
  transform-origin: bottom;
  grid-template-rows: auto 55px;
}
div.new-cell-card.small {
  opacity: 1;
  min-width: 500px;
  max-width: 500px;
  min-height: 350px;
}
div.new-cell-card.medium {
  opacity: 1;
  min-width: 600px;
  max-width: 70vw;
  min-height: 600px;
  max-height: 70vh;
}
div.new-cell-card.large {
  opacity: 1;
  min-width: 800px;
  max-width: 90vw;
  min-height: 700px;
  max-height: 90vh;
}
div.new-cell-card.none {
  left: 50%;
  bottom: 0px;
  opacity: 0;
  z-index: 0;
  transform: scale(0.01);
  height: 1px;
  width: 0px;
  min-width: 0px;
  max-width: 1vw;
  min-height: 0px;
  max-height: 1vh;
}
div.new-cell-card.hide-light {
  opacity: 0;
  transform: translate(-50%) scale(0.01);
  min-width: 0px;
  max-width: 0px;
}
div.new-cell-card.hide-dark {
  opacity: 0;
  transform: translate(-50%) scale(0.01);
  min-width: 0px;
  max-width: 0px;
}

div.add-cell-card.body {
  display: flex;
  z-index: 35;
}

div.add-cell-card-right-container {
  display: flex;
  flex-wrap: nowrap;
  width: 105px;
}

div.add-cell-card-right-column {
  width: 5px;
}
div.add-cell-card-right-column.light {
  background-color: rgba(245, 246, 252, 0.95);
}
div.add-cell-card-right-column.dark {
  background-color: rgba 55, 55, 57, 0.95;
}

div.add-cell-contents {
  transition: var(--transition);
  display: flex;
  flex-wrap: wrap;
  padding: 0px;
  padding-top: 15px;
  border-radius: 15px;
  border-top-right-radius: 0px;
  width: 100%;
  height: 100%;
}
div.add-cell-contents.add-light {
  transition: var(--transition);
}
div.add-cell-contents.hide-light {
  bottom: 0px;
  left: 50%;
  transform: scale(1%);
  transform-origin: bottom;
  transition: var(--transition);
}
div.add-cell-contents.hide-dark {
  bottom: 0px;
  left: 50%;
  transform: scale(1%);
  transition: var(--transition);
}

div.card-sizer-background {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding-top: 10px;
  padding-bottom: 0px;
  padding-right: 10px;
  padding-left: 10px;
  transition: var(--transition);
}
div.card-sizer-background.hide-light {
  height: 0px;
  width: 0px;
  margin-bottom: -100px;
  opacity: 0;
}
div.card-sizer-background.hide-dark {
  height: 0px;
  width: 0px;
  margin-bottom: -100px;
  opacity: 0;
  font-size: 0px;
}
div.card-sizer-background.add-dark {
  background-color: rgba(30, 30, 31, 0.88);
  opacity: 1;
}
div.card-sizer-background.add-light {
  background-color: rgba(245, 246, 252, 0.92);
  opacity: 1;
}

div.add-cell-card.sizer {
  height: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin-right: 5px;
  justify-self: flex-end;
}

div.add-cell-card.title.some-light {
  /* display: flex; */
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #575859;
  position: static;
}

span.name-ghost-sizer {
  min-width: 30px;
  transition: var(--transition);
  text-align: center;
  display: block;
  font-size: 18px;
}
span.name-ghost-sizer.light {
  width: 100%;
  height: fit-content;
}
span.name-ghost-sizer.dark {
  width: 100%;
  color: white;
  height: fit-content;
}

div.add-cell-body-container {
  height: 100%;
}

div.add-cell-body-placeholder {
  position: absolute;
  margin-left: 10px;
  margin-top: 10px;
  color: transparent;
  user-select: none;
  pointer-events: none;
}
div.add-cell-body-placeholder.light {
  color: var(--light-mode-text-placeholder);
}
div.add-cell-body-placeholder.dark {
  color: var(--dark-mode-text-placeholder);
}

div.add-cell-card.body {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-radius: 15px;
  transition: var(--transition);
  font-size: 14px;
}

div.add-cell-card-body-editor {
  height: 100%;
  padding: 0px;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  margin-top: 0px;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
}
div.add-cell-card-body-editor.dark {
  border-top-color: var(--dark-mode-bg-dark-transparent);
  border-top-style: solid;
  border-top-width: 1px;
}

div.add-cell-content {
  min-height: 200px;
}
div.add-cell-content.optional-fields {
  display: grid;
  grid-template-rows: 40px auto;
}

div.add-cell-optional-fields {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

img.optional-field-icon {
  width: 25px;
  height: 25px;
}

div.event-time-picker {
  padding: 0px;
}

.ant-form-item {
  margin-bottom: 0px;
}

div.add-cell-body {
  display: flex;
  width: 100%;
  padding: 0px;
  transition: var(--transition);
  border-radius: 15px;
}
div.add-cell-body.add-dark {
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgba(30, 30, 31, 0.88);
}
div.add-cell-body.add-light {
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgba(245, 246, 252, 0.92);
}
div.add-cell-body.hide-dark {
  color: white;
}

div.add-cell-icon {
  height: 45px;
  width: 45px;
  padding-top: 6px;
  margin: 3px;
}

div.add-cell-card-name-container {
  width: 100%;
  height: 100%;
}

div.add-cell-card-shame-container {
  width: 100%;
  height: 100%;
}

div.add-cell-name {
  width: 100%;
}

div.choose-cell-type {
  transition: var(--transition);
  font-size: 14px;
  z-index: 31;
  margin-top: 10px;
  margin-right: -7px;
  padding-bottom: 10px;
  width: 150px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: center;
}
div.choose-cell-type.hide-light {
  transition: var(--transition);
  margin-left: 60px;
  width: 0px;
}
div.choose-cell-type.hide-dark {
  transition: var(--transition);
  width: 0px;
}

div.cell-type-select-container {
  display: flex;
  border-width: 0px;
}

div.cell-type-select-contents {
  display: flex;
  width: 100%;
}
div.cell-type-select-contents.light {
  color: var(--card-text-light-mode);
}
div.cell-type-select-contents.dark {
  color: white;
}

div.cell-type-select {
  display: flex;
  padding: 5px;
  margin-bottom: 4px;
  height: 32px;
  margin-right: 10px;
  margin-left: 5px;
  border-width: 1px;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.cell-type-sele3ct.dark {
  display: flex;
  padding: 5px;
  margin-bottom: 5px;
  height: 32px;
  margin-right: 2px;
  border-width: 1px;
  width: 100%;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

div.shadow-blocker {
  height: 32px;
  width: 10px;
  margin-left: -1px;
  z-index: 90;
  border-width: 0px;
}
div.shadow-blocker.active-light {
  background-color: white;
}
div.shadow-blocker.active-dark {
  background-color: var(--cellara-black);
}

div.cell-type-select {
  z-index: 40;
  width: 120px;
}
div.cell-type-select.active-light {
  display: flex;
  padding: 4px;
  margin-right: 0px;
  border-style: solid;
  border-color: var(--light-mode-border);
  border-width: 1px;
  border-right-width: 0px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  height: 32px;
  width: 120px;
  transition: var(--transition);
  width: 120px;
  background-color: white;
  box-shadow: 0px 0px 4px 1px var(--cellara-green), -1px 0px 4px 1px var(--cellara-green), -1px 0px 4px 1px var(--cellara-green); /* Top shadow */
}
div.cell-type-select.active-dark {
  display: flex;
  padding: 4px;
  margin-right: 0px;
  border-width: 0px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  height: 32px;
  width: 120px;
  transition: var(--transition);
  background-color: var(--cellara-black);
  box-shadow: 0px 0px 4px 1px var(--cellara-green), -1px 0px 4px 1px var(--cellara-green), -1px 0px 4px 1px var(--cellara-green); /* Top shadow */
}

div.cell-type-select-name {
  font-size: 14px;
  margin-left: 6px;
}

div.add-cell-button-component {
  position: fixed;
  height: 0px;
  bottom: 80px;
  left: 0px;
  right: 0px;
  z-index: 50;
}

div.add-cell-card.title.none-dark {
  display: flex;
  justify-content: center;
  font-size: 1px;
  color: #fafbff;
}

div.add-cell-card.title.none-light {
  display: flex;
  justify-content: center;
  font-size: 1px;
  font-weight: bold;
  color: #575859;
}

div.add-cell-card.title.some-dark {
  display: flex;
  justify-content: center;
  font-size: 16px;
  color: #fafbff;
}

div.add-cell-card.title.some-light {
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #575859;
}

input.add-cell-card.name {
  text-align: center;
  padding-top: 15px;
  padding-bottom: 5px;
  border-width: 0px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  font-weight: bold;
  height: 100%;
  width: 100%;
  font-size: 18px;
  padding-right: 2px;
  padding-left: 2px;
  background-color: transparent;
}
div.add-cell-card.name-underline {
  border-bottom: 1px solid #e5e5e5;
  margin-right: 10px;
  width: 90%;
  display: flex;
  justify-self: center;
  height: 10px;
}

div.new-cell-body {
  height: 100%;
  min-height: 350px;
  width: 100%;
  border-radius: 10px;
  padding: 5px;
  transition: var(--transition);
  overflow: auto;
}
div.new-cell-body.light {
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
  border-width: 1px;
  border-style: solid;
  box-shadow: var(--light-mode-box-shadow);
}
div.new-cell-body.dark {
  color: white;
  border-width: 1px;
  border-style: solid;
  background-color: var(--dark-mode-bg-light);
  border-color: black;
}
div.new-cell-body.hide {
  height: 60px;
  padding: 0px;
  opacity: 0;
}

div.cell-body.hide {
  scale: 0;
}

div.add-cell-inside {
  display: grid;
  grid-template-rows: max-content;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  padding: 5px;
  row-gap: 5px;
}
div.add-cell-inside.light {
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
  border-width: 1px;
  border-style: solid;
  box-shadow: var(--light-mode-box-shadow);
}
div.add-cell-inside.dark {
  color: white;
  border-width: 1px;
  border-style: solid;
  background-color: var(--dark-mode-bg-light);
  border-color: black;
}

div.add-cell-card.body.meaning-full {
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  margin-top: 10px;
  flex-grow: 1;
  margin-bottom: 40px;
  width: 100%;
  margin-bottom: 10px;
  height: 100%;
}

div.add-cell-card.body.meaning-split {
  grid-row: 3/4;
  grid-column: 1/2;
  margin-top: 10px;
}

.meaning-split {
  max-width: 66%;
  margin-top: 10px;
}

textarea.meaning {
  height: 100%;
  width: 100%;
  border-width: 0px;
}

div.add-cell-card-cell-type-icon {
  margin-top: 10px;
  position: fixed;
  margin-left: 60px;
  border-top-left-radius: 20px;
}
div.add-cell-card-cell-type-icon.light {
  background-color: white;
}
div.add-cell-card-cell-type-icon.dark {
  background-color: var(--cellara-black);
}

div.new-cell-divider {
  height: 5px;
}
div.new-cell-divider.dark {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: black;
}

div.new-cell-top {
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding-left: 2px;
  gap: 5px;
}
div.new-cell-top div.main-icon {
  margin-right: 3px;
}
div.add-cell-card.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}
div.add-cell-card.footer.add-dark {
  background-color: var(--dark-mode-bg-dark-transparent);
}
div.add-cell-card.footer.add-light {
  background-color: var(--light-mode-bg-dark-transparent);
}
div.add-cell-card.footer.hide-dark {
  background-color: var(--dark-mode-bg-dark-transparent);
}
div.add-cell-card.footer.hide-light {
  background-color: var(--light-mode-bg-dark-transparent);
}

div.add-cell-card-footer-spacer {
  width: 30px;
}

div.add-cell-card.footer.left {
  width: 60px;
  display: flex;
  justify-content: flex-start;
}

div.add-cell-card.footer.middle {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

div.add-cell-card-footer-right {
  display: flex;
  justify-content: flex-end;
}

div.add-cell-card.footer.right {
  width: 60px;
  display: flex;
  justify-content: flex-end;
}

div.connect-to {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-right: 10px;
  margin-left: 10px;
  z-index: 80;
  width: 100px;
  font-size: 14px;
}
div.connect-to.hide-light {
  opacity: 0;
}
div.connect-to.hide-dark {
  opacity: 0;
}
div.connect-to.add-dark {
  color: #bdd4f2;
  opacity: 1;
}
div.connect-to.add-light {
  color: var(--connection-text-light-mode);
  opacity: 1;
}

div.connect-to-text {
  padding-left: 5px;
}

div.connect-to-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

div.connect-to-cell {
  display: flex;
  padding-left: 5px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  max-width: 225px;
}

div.connect-to-checkbox {
  height: 42px;
  width: 42px;
  border-width: 2px;
  border-style: solid;
  color: var(--connection-text-light-mode);
  margin-left: 5px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}
div.connect-to-checkbox.connect-dark {
  border-color: var(--connection-border-dark-mode);
  background-image: var(--cellara-blue-button-background);
}
div.connect-to-checkbox.connect-light {
  border-color: var(--connection-border-dark-mode);
  background-image: var(--cellara-blue-button-background);
}
div.connect-to-checkbox.empty-dark {
  border-color: var(--cellara-blue);
  background-color: var(--connection-background-light-mode);
}
div.connect-to-checkbox.empty-light {
  background-color: #f0f6ff;
  border-color: var(--connection-border-light-mode);
}

input#new-cell-name.add-cell-exists {
  color: #b12f41;
}

.cell-type-select.cell-type-select--chat {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.chat-recipients-container {
  margin-bottom: 2em;
}

.chat-recipient-list {
  position: absolute;
}

.chat-cell-button {
  height: 50px;
  width: 80px;
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 5px;
  border-width: 1px;
  border-style: solid;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-color: #065f58;
  color: white;
  font-size: 15px;
  z-index: 50;
  cursor: pointer;
  transition: var(--transition);
}

.people-finder {
  background-color: rgba(177, 85, 191, 0.5);
  border-radius: 0.3em;
  position: fixed;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.people-finder.open {
  opacity: 1;
  transition: var(--transition);
  pointer-events: all;
}

.people-finder.person + * {
  pointer-events: none;
  cursor: pointer;
}

.people-file-finder.file + * {
  pointer-events: none;
  cursor: pointer;
}

.people-finder.person::after {
  content: "";
  pointer-events: auto;
  cursor: pointer;
}

.chat-optional-fields.chat-recipient {
  display: flex;
  flex-direction: row;
  position: relative;
  pointer-events: all;
  z-index: 1;
}

.main-cell--chat-cell {
  display: grid;
  grid-template-rows: min-content min-content;
  grid-row-gap: 1em;
}

.add-cell-card--add-chat-recipient-field {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.add-cell-card--add-chat-recipient-field input {
  background-color: transparent;
  border: 1px solid var(--dark-mode-border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  color: var(--text-white);
}
.add-cell-card--add-chat-recipient-field input::placeholder {
  color: var(--dark-mode-text-placeholder);
}
.light .add-cell-card--add-chat-recipient-field input {
  background-color: white;
  border-color: var(--light-mode-border);
  color: var(--light-mode-text-body);
}
.light .add-cell-card--add-chat-recipient-field input::placeholder {
  color: var(--light-mode-text-placeholder);
}

.recipient-picker {
  position: relative;
}
.recipient-picker__input {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--dark-mode-border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-white);
  outline: none;
}
.recipient-picker__input::placeholder {
  color: var(--dark-mode-text-placeholder);
}
.light .recipient-picker__input {
  background-color: white;
  border-color: var(--light-mode-border);
  color: var(--light-mode-text-body);
}
.light .recipient-picker__input::placeholder {
  color: var(--light-mode-text-placeholder);
}
.recipient-picker__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: var(--dark-mode-bg-mid);
  border: 1px solid var(--dark-mode-border);
  border-radius: 0 0 4px 4px;
  z-index: 10;
}
.light .recipient-picker__dropdown {
  background: white;
  border-color: var(--light-mode-border);
}
.recipient-picker__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.recipient-picker__item:hover {
  background: var(--dark-mode-bg-highlight);
}
.light .recipient-picker__item:hover {
  background: var(--light-mode-bg-highlight);
}
.recipient-picker__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cellara-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
}
.recipient-picker__info {
  min-width: 0;
}
.recipient-picker__name {
  font-size: 14px;
  color: var(--text-white);
}
.light .recipient-picker__name {
  color: var(--light-mode-text-body);
}
.recipient-picker__email {
  font-size: 11px;
  color: var(--dark-mode-text-muted);
}
.light .recipient-picker__email {
  color: var(--light-mode-text-muted);
}
.recipient-picker__empty {
  padding: 12px;
  text-align: center;
  color: var(--dark-mode-text-muted);
  font-size: 13px;
}

.add-cell-card--add-chat-selected-recipients {
  display: grid;
  grid-template-columns: min-content min-content min-content min-content min-content;
  grid-column-gap: 0.1em;
  width: 100%;
  min-width: 2em;
}

.share-popup {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: var(--dark-mode-bg-mid);
  border: 1px solid var(--dark-mode-border);
  border-radius: 8px;
  padding: 12px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.share-popup.light {
  background: white;
  border-color: var(--light-mode-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.share-popup__header {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}
.light .share-popup__header {
  color: var(--light-mode-text-heading);
}
.share-popup__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.share-popup__chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--dark-mode-bg-highlight);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-white);
}
.light .share-popup__chip {
  background: var(--light-mode-bg-highlight);
  color: var(--light-mode-text-body);
}
.share-popup__chip-remove {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 2px;
  font-size: 12px;
}
.share-popup__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.share-popup__cancel, .share-popup__submit {
  padding: 6px 16px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  cursor: pointer;
}
.share-popup__cancel {
  background: transparent;
  color: var(--text-white);
}
.light .share-popup__cancel {
  color: var(--light-mode-text-body);
}
.share-popup__submit {
  background: var(--cellara-orange);
  color: white;
}
.share-popup__submit:disabled {
  opacity: 0.5;
  cursor: default;
}

.share-scope-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-scope-popup {
  background: var(--dark-mode-bg-mid);
  border: 1px solid var(--dark-mode-border);
  border-radius: 12px;
  padding: 20px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.light .share-scope-popup {
  background: white;
  border-color: var(--light-mode-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.share-scope-popup__header {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}
.light .share-scope-popup__header {
  color: var(--light-mode-text-heading);
}
.share-scope-popup__body {
  font-size: 14px;
  color: var(--text-secondary, #aaa);
  margin-bottom: 16px;
}
.light .share-scope-popup__body {
  color: var(--light-mode-text-body);
}
.share-scope-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.share-scope-popup__btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--dark-mode-border);
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}
.light .share-scope-popup__btn {
  border-color: var(--light-mode-border);
  color: var(--light-mode-text-body);
}
.share-scope-popup__btn:hover {
  background: var(--dark-mode-bg-highlight);
}
.light .share-scope-popup__btn:hover {
  background: var(--light-mode-bg-highlight);
}
.share-scope-popup__btn--primary {
  background: var(--cellara-orange);
  border-color: var(--cellara-orange);
  color: white;
}
.light .share-scope-popup__btn--primary {
  background: var(--cellara-orange);
  border-color: var(--cellara-orange);
  color: white;
}
.share-scope-popup__btn--primary:hover {
  opacity: 0.9;
}

button.some-light.some-light,
button.some-dark.some-dark {
  border-radius: 6px;
}

div.link-selector {
  border-radius: 50%;
  background-color: var(--cellara-teal);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: start;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform ease-in 0.33s;
}
div.link-selector.spin-in {
  transform: rotate(-360deg);
  transition: transform ease-in 0.33s;
}

.link-selector-label {
  color: var(--cellara-white);
}

div.link-selector.dark:first-child {
  background-color: #308271;
  border-radius: 4px;
  border-style: solid;
}

button.save-edits {
  height: 32px;
  width: 62px;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  color: white;
  font-size: 14px;
  user-select: none;
}

button.cancel-edits.dark {
  height: 32px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: black;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-color: #dde3ed;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  font-size: 14px;
}

button.cancel-edits.light {
  height: 32px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
  font-size: 14px;
}

button.cancel {
  transition: var(--transition);
  height: 41px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  opacity: 1;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  position: relative;
}
button.cancel.light {
  color: #7e8ca8;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}
button.cancel.light:hover {
  background-color: var(--light-mode-bg-highlight);
}
button.cancel.light:active {
  background-color: var(--light-mode-bg-highlight);
}
button.cancel.dark {
  border-color: var(--dark-mode-border);
  color: white;
  background-color: var(--dark-mode-bg-light);
}
button.cancel.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
}
button.cancel.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}
button.cancel.none-dark {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: var(--dark-mode-border);
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-color: var(--dark-mode-bg-light);
  font-size: 1px;
  opacity: 0;
}
button.cancel.none-light {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #dde3ed;
  font-size: 1px;
  opacity: 0;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}
button.cancel.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.save {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--button-border-green);
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 2px;
  margin-left: 2px;
  transition: var(--transition);
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}
button.save.light {
  border-color: var(--button-border-green);
  background-color: #308271;
}
button.save.light:hover {
  background-color: #065f58;
}
button.save.light:active {
  background-color: #065f58;
}
button.save.dark {
  border-color: black;
  background-color: #065f58;
}
button.save.dark:hover {
  background-color: #308271;
}
button.save.dark:active {
  background-color: #308271;
}
button.save.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.save-connection {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  transition: var(--transition);
  user-select: none;
  background-color: transparent;
}
button.save-connection.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}
button.save-connection.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
button.save-connection.light:active {
  transition: transform 0.08s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
button.save-connection.dark {
  border-color: black;
  background-color: var(--connection-background-dark-mode);
}
button.save-connection.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--cellara-navy);
}
button.save-connection.dark:active {
  transition: transform 0.08s ease-out;
  background-color: var(--cellara-navy);
}

button.cancel-connection {
  transition: var(--transition);
  height: 40px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  background-color: transparent;
}
button.cancel-connection.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}
button.cancel-connection.light:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
}
button.cancel-connection.light:active {
  transition: transform 0.08s ease-out;
  background-color: white;
}
button.cancel-connection.dark {
  border-color: black;
  color: white;
}
button.cancel-connection.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
}
button.cancel-connection.dark:active {
  transition: transform 0.08s ease-out;
  background-color: #212020;
}

button.save-to.some-light {
  height: 40px;
  width: 123px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 15px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.some-dark {
  height: 40px;
  width: 123px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 15px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.none-light {
  height: 1px;
  width: 1px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 1px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.none-dark {
  height: 1px;
  width: 1px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 1px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.connect {
  height: 40px;
  width: 100px;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  border-color: #065f58;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  transition: var(--transition);
}
button.connect.light {
  background-color: var(--cellara-navy);
  border-color: var(--connection-background-dark-mode);
  color: white;
}
button.connect.light:hover {
  background-color: var(--connection-background-dark-mode);
}
button.connect.light:active {
  background-color: var(--connection-background-dark-mode);
}
button.connect.dark {
  background-image: none;
  background-color: var(--connection-background-dark-mode);
  border-color: black;
  color: white;
}
button.connect.dark:hover {
  background-color: var(--cellara-navy);
}
button.connect.dark:active {
  background-color: var(--cellara-navy);
}
button.connect.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}
button.connect.placeholder {
  visibility: hidden;
}

button.flip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 36px;
  margin-top: 10px;
  font-size: 14px;
  user-select: none;
}
button.flip-items.dark {
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: black;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}
button.flip-items.light {
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: #dde3ed;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
}
button.flip-items.flip-item-buttons-flipped {
  background-color: var(--cellara-green);
  color: var(--cellara-white);
  background-image: none;
}

img.add-button-plus {
  margin-top: -80px;
  width: 30px;
  color: white;
}

.chat-add-cell {
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 20px;
  padding-bottom: 10px;
  position: fixed;
  left: 10px;
  bottom: 70px;
  border-top-right-radius: 45px;
  border-top-left-radius: 45px;
  border-bottom-right-radius: 45px;
  border-bottom-left-radius: 10px;
}
.chat-add-cell.closed {
  display: none;
  visibility: hidden;
  scale: 0;
  opacity: 0;
  font-size: 0px;
  padding-right: 0px;
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.chat-add-cell.open {
  height: 200px;
  width: 200px;
}
.chat-add-cell.light {
  background-color: var(--card-background-light-mode);
  border-color: var(--card-border-light-mode);
  border-style: solid;
  border-width: 1px;
}
.chat-add-cell.dark {
  background-color: var(--card-background-dark-mode);
  border-color: var(--card-border-dark-mode);
  border-style: solid;
  border-width: 1px;
}

.new-cell-button-chat-background {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 70px;
  height: 50px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  margin-left: 2px;
  border-width: 1px;
  border-style: solid;
}
.new-cell-button-chat-background.light {
  background-color: orange;
  border-right-width: 0px;
  border-color: var(--light-mode-border);
}
.new-cell-button-chat-background.dark {
  background-color: var(--dark-mode-bg-highlight);
  border-right-width: 0px;
  border-color: black;
  color: var(--dark-mode-text-body);
}

.new-cell-button {
  transition: var(--transition);
  height: 60px;
  border-radius: 70px;
  width: 60px;
  border-width: 1px;
  z-index: 90;
  -webkit-user-drag: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  padding-bottom: 8px;
  border-style: solid;
  cursor: pointer;
}
.new-cell-button.chat {
  height: 48px;
  width: 48px;
  position: absolute;
  left: 0;
  cursor: pointer;
}
.new-cell-button.chat.light:hover {
  box-shadow: none;
  transform: none;
}
.new-cell-button.chat.light:active {
  box-shadow: none;
  transform: none;
}
.new-cell-button.chat.dark:hover {
  box-shadow: none;
  transform: none;
}
.new-cell-button.chat.dark:active {
  box-shadow: none;
  transform: none;
}
.new-cell-button.light {
  box-shadow: 2px 2px 5px 1px #bec0be;
  border-color: transparent;
  background-color: var(--cellara-green);
}
.new-cell-button.light.full-chat {
  box-shadow: none;
}
.new-cell-button.light.message-open {
  box-shadow: none;
}
.new-cell-button.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  background-color: var(--cellara-green);
}
.new-cell-button.light:hover {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: var(--transition);
  transform: scale(1.05);
}
.new-cell-button.light:active {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: var(--transition);
  transform: scale(0.95);
}
.new-cell-button.dark:hover {
  box-shadow: 0px 0px 5px 1px;
  transition: var(--transition);
  transform: scale(1.05);
  border-color: black;
}
.new-cell-button.dark:active {
  box-shadow: 0px 0px 5px 1px;
  transition: var(--transition);
  transform: scale(0.95);
  border-color: black;
}

img.add-button {
  transition: all 0.12s ease-out;
  height: 70px;
  border-radius: 70px;
  width: 70px;
  border-width: 0px;
  z-index: 90;
  -webkit-user-drag: none;
}
img.add-button.chat {
  height: 50px;
  width: 50px;
}
img.add-button.light {
  box-shadow: 2px 2px 5px 1px #bec0be;
}
img.add-button.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
img.add-button.light:hover {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: var(--transition);
  transform: scale(1.05);
  border-width: 0px;
}
img.add-button.light:active {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: transform 0.08s ease-in-out;
  transform: scale(0.95);
}
img.add-button.dark:hover {
  box-shadow: 0px 0px 5px 1px;
  transition: var(--transition);
  transform: scale(1.05);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
img.add-button.dark:active {
  box-shadow: 0px 0px 5px 1px;
  transition: var(--transition);
  transform: scale(0.95);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

img.add-button2 {
  transition: all 0.12s ease-out;
  height: 70px;
  border-radius: 70px;
  width: 70px;
  border-width: 0px;
  z-index: 90;
  -webkit-user-drag: none;
}
img.add-button2.light {
  box-shadow: 2px 2px 5px 1px #bec0be;
}
img.add-button2.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
img.add-button2.light:hover {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: transform 0.08s ease-in-out;
  transform: scale(1.11);
  border-width: 0px;
}
img.add-button2.light:active {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: transform 0.08s ease-in-out;
  transform: scale(0.95);
}
img.add-button2.dark:hover {
  box-shadow: 0px 0px 5px 1px;
  transition: transform 0.08s ease-in-out;
  transform: scale(1.11);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
img.add-button2.dark:active {
  box-shadow: 0px 0px 5px 1px;
  transition: transform 0.08s ease-in-out;
  transform: scale(0.95);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

img.edit-button {
  transition: all 0.12s ease-out;
  height: 40px;
  border-radius: 40px;
  width: 70px;
  border-width: 0px;
  z-index: 90;
  -webkit-user-drag: none;
}
img.edit-button.light {
  box-shadow: 2px 2px 5px 1px #bec0be;
}
img.edit-button.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
img.edit-button.light:hover {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: transform 0.08s ease-in-out;
  transform: scale(1.11);
  border-width: 0px;
}
img.edit-button.light:active {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: transform 0.08s ease-in-out;
  transform: scale(0.95);
}
img.edit-button.dark:hover {
  box-shadow: 0px 0px 5px 1px;
  transition: transform 0.08s ease-in-out;
  transform: scale(1.11);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
img.edit-button.dark:active {
  box-shadow: 0px 0px 5px 1px;
  transition: transform 0.08s ease-in-out;
  transform: scale(0.95);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

button.new-cell-button2 {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  grid-column: button;
  grid-row: button;
  padding: 12px;
  border-radius: 50%;
  border-width: 0px;
  transition: background-color 0.51s ease-out;
}
button.new-cell-button2.chat {
  padding: 0px;
}
button.new-cell-button2.light {
  background-color: rgba(230, 236, 247, 0.5);
}
button.new-cell-button2.dark {
  background-color: rgba(23, 23, 23, 0.4);
}

div.add-button {
  display: flex;
  justify-content: center;
}
div.add-button.none {
  visibility: hidden;
  opacity: 0;
  z-index: 90;
  height: 0px;
  width: 0px;
}
div.add-button.some {
  opacity: 1;
  height: 100%;
  width: 100%;
  align-items: center;
  grid-row: 4;
  grid-column: 2;
  transition: width ease-out 0.1s, height ease-out 0.1s, visibility ease-in 0.1s 0.1s;
  pointer-events: all;
  user-select: none;
}

.x-url.x-url-timeline {
  width: 600px;
}

div.linked-cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /*max-width: 600px;   */
}

div.linked-cells-group {
  display: grid;
  grid-template-rows: auto auto;
  padding-left: 4px;
  padding-right: 4px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

div.linked-cells-connection.rest {
  grid-row: 1;
  display: grid;
  justify-content: flex-end;
  padding-bottom: 0;
  padding-top: 8px;
  padding-left: 5px;
  padding-right: 5px;
}

div.linked-cells-connection.left {
  grid-row: 1;
  display: grid;
  justify-content: flex-start;
  padding-bottom: 0;
  padding-top: 8px;
  padding-left: 5px;
  padding-right: 5px;
}

div.linked-cells-connection.right {
  grid-row: 1;
  width: 100%;
  padding-bottom: 0;
  padding-top: 8px;
  padding-left: 5px;
  padding-right: 5px;
}

div.linked-cells-section.right {
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
}

div.linked-cells-section.left {
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
}

div.linked-cells-section.rest {
  grid-row: 2;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
}

div.linked-cell-display.right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

div.linked-cell-display.left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

div.linked-cell-display.left:has(> button.linked-cell > div.linked-cell.customization) {
  flex-direction: column;
  align-items: flex-start;
}

div.linked-cell-display.rest {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

div.linked-cell-display {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  overflow: visible;
  /* max-width: 60%; */
}

div.linked-cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /*max-width: 600px;   */
}

.link-group-slot {
  width: 0; /* was 5px — hidden when not dragging */
  transition: width 200ms ease-out;
  flex-shrink: 0;
}
.link-group-slot:has(> .drag-drag-target) {
  width: 40px;
}

.link-group-slot-inner {
  width: 100%;
  height: 100%;
  min-height: 0; /* was 20px — prevents phantom gaps when slots wrap */
  border-radius: 4px;
  transition: background-color 200ms ease-out;
  position: relative;
}
.link-group-slot-inner::before { /* invisible hit area for drag events */
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -8px;
  right: -8px;
  z-index: 1;
}

div.linked-cells-group:has(.drag-drag-target) .link-group-slot-inner {
  background-color: transparent;
  min-height: 20px; /* restore during drag */
}

div.linked-cells-group:has(.drag-drag-target) .link-group-slot {
  width: 5px; /* restore during drag */
}

div.linked-cells-group:has(.drag-drag-target) .link-group-topnub {
  width: 5px; /* restore during drag */
}

.link-group-topnub {
  width: 0; /* was 5px — prevents first-cell horizontal offset */
  transition: width 200ms ease-out;
  flex-shrink: 0;
}
.link-group-topnub:has(> .drag-drag-target) {
  width: 40px;
}

.link-group-slide-in {
  display: grid;
  grid-template-columns: 1fr;
  animation: link-group-slide-in 200ms ease-out;
}
.link-group-slide-in > * {
  overflow: hidden;
  min-width: 0;
}

@keyframes link-group-slide-in {
  from {
    grid-template-columns: 0fr;
  }
}
div.linked-cell-display.grid-layout {
  display: grid !important;
  gap: 4px;
  flex-wrap: initial;
}

.grid-cell {
  min-height: 60px;
  display: flex;
  align-items: start;
  justify-content: center;
  border-radius: 8px;
}

.main-blob:has(.grid-layout)::before,
.main-blob:has(.grid-layout)::after {
  clip-path: none;
  inset: 0;
  border-radius: 20px;
}

.grid-cell-empty {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 60px;
  aspect-ratio: 1;
}

.grid-cell .linked-cell,
.grid-cell > button.linked-cell {
  width: 100%;
}

.grid-selector {
  position: absolute;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 12px;
  z-index: 100;
}

.grid-selector-matrix {
  display: grid;
  grid-template-columns: repeat(6, 24px);
  gap: 2px;
}

.grid-selector-cell {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: background-color 150ms ease, border-color 150ms ease;
  cursor: pointer;
}

.grid-selector-cell.highlighted {
  background-color: rgba(76, 175, 80, 0.4);
  border-color: rgba(76, 175, 80, 0.6);
}

.grid-selector-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  color: var(--text-color-secondary, #999);
}

.columns-layout {
  display: grid;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.columns-layout > .slide-blocks {
  min-height: 80px;
}
.columns-layout > .slide-blocks > .slide-empty-hint {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.columns-layout > .slide-blocks > .slide-empty-hint > .slide-drop-zone {
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  margin: 0 !important;
}

.column-selector {
  position: absolute;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 12px;
  z-index: 100;
  display: flex;
  gap: 8px;
  align-items: center;
}

.column-selector-option {
  display: flex;
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
}
.column-selector-option.active {
  background-color: rgba(76, 175, 80, 0.4);
  border-color: rgba(76, 175, 80, 0.6);
}
.column-selector-option .col-bar {
  width: 8px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

div.date-on-button {
  font-size: 14px;
}

div.day-grid {
  display: grid;
  grid-template-rows: auto auto auto;
}

div.day.row1 {
  grid-row: 1;
  width: 175px;
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: #e5e5e5;
  border-width: 1px;
  background-color: #fffced;
}

div.day.dow {
  --padding-left: 50px;
}

div.edit-item-day {
  width: 30px;
  margin-right: 16px;
}

div.day.row2 {
  width: 100%;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

div.day-month {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 20px;
  height: 36px;
  font-weight: bold;
}

div.day-day {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 30px;
  margin-top: -6px;
  font-weight: bold;
}

div.day-row3 {
  grid-row: 3;
  width: 100%;
  padding-top: 6px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.base-synthetic-date-item-container {
  display: grid;
  grid-template-rows: auto auto;
}

.base-synthetic-date-item-container-child {
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.week-item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 26px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
}

div.edit-item-week {
  display: flex;
}

button.connected-date-weekly-header.light {
  font-weight: normal;
  display: flex;
  flex-wrap: wrap;
  justify-self: center;
  justify-content: center;
  align-items: center;
  border-color: #e5e5e5;
  background-color: white;
  border-style: solid;
  border-radius: 4px;
  border-width: 1px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  margin: 0.4em;
  transform: translate(0, 0);
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  color: var(--light-mode-text-body);
}

button.connected-date-weekly-header.dark {
  display: flex;
  flex-wrap: wrap;
  justify-self: center;
  justify-content: center;
  align-items: center;
  border-color: #e5e5e5;
  background-color: white;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
  min-width: 90px;
  max-width: 120px;
  margin: 0.4em;
  transform: translate(0, 0);
  color: var(--light-mode-text-body);
}

button.connected-date-weekly-header-today.light {
  display: flex;
  flex-wrap: wrap;
  justify-self: center;
  justify-content: center;
  border-color: #e5e5e5;
  background-color: white;
  border-style: solid;
  border-radius: 4px;
  border-width: 1px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  min-width: 90px;
  max-width: 120px;
  margin: 0.6em;
  transform: translate(0, 0);
  color: var(--light-mode-text-body);
  box-shadow: 0px 0px 8px 3px #308271;
}

button.connected-date-weekly-header-today.dark {
  display: flex;
  flex-wrap: wrap;
  justify-self: center;
  justify-content: center;
  border-color: #308271;
  background-color: white;
  border-radius: 4px;
  border-width: 5px;
  border-style: solid;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
  min-width: 90px;
  max-width: 120px;
  margin: 0.3em;
  transform: translate(0, 0);
  color: var(--light-mode-text-body);
}

button.connected-date.light {
  z-index: 0.6;
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: #dde3ed;
  background-color: white;
  border-style: solid;
  border-radius: 4px;
  border-width: 1px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 7px;
  padding-right: 7px;
  margin: 0.4em;
  box-shadow: 1px 1px 4px 0px #dde3ed;
  color: var(--light-mode-text-body);
}

button.connected-date.dark {
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: black;
  background-color: white;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
  max-width: 400px;
  margin: 0.4em;
  transform: translate(0, 0);
  color: var(--light-mode-text-body);
}

.date-cell-card-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.file-image {
  width: fit-content;
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  padding: 0px;
  object-fit: contain;
}

.file-video {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  object-fit: contain;
}

.file-connected-image {
  max-height: 150px;
  max-width: 45vw;
  width: auto;
  padding: 0px;
  border-radius: 4px;
  min-width: 30px;
  min-height: 30px;
}

.file-connected-video {
  max-height: 150px;
  max-width: 45vw;
  width: auto;
  border-radius: 4px;
  min-width: 60px;
  min-height: 40px;
}

div.file-main-cell-container {
  border-radius: 8px;
}

div.main-file-card {
  display: flex;
  flex-wrap: wrap;
}
div.main-file-card.light-mode {
  grid-row: 2;
  display: grid;
  grid-template-rows: auto auto;
  background-color: white;
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-color: #dde3ed;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin-top: 5px;
  font-weight: normal;
  border-radius: 10px;
  box-shadow: 1px 1px 4px 0px #dde3ed;
}
div.main-file-card.dark-mode {
  grid-row: 2;
  display: grid;
  grid-template-rows: auto auto;
  background-color: var(--card-background-dark-mode);
  color: white;
  font-size: 14px;
  border-color: black;
  border-style: solid;
  border-width: 1px;
  width: 100%;
  height: 100%;
  margin-top: 5px;
  font-weight: normal;
  border-radius: 10px;
}

div.file-main-cell {
  border-width: 0px;
  border-radius: 1em;
  padding: 0px;
}
div.file-main-cell.light-mode {
  border-width: 1px;
  border-style: solid;
  background-color: linear-gradient(315deg, #E1E7F1 0%, #f5f7fa 80%);
  box-shadow: 1px 1px 4px 1px #c9c9c9;
  border-color: var(--card-border-light-mode);
}
div.file-main-cell.dark-mode {
  border-width: 1px;
  border-style: solid;
  background-color: var(--card-background-dark-mode);
  border-color: var(--card-border-dark-mode);
  color: white;
}

.file-main-cell.header {
  display: flex;
  justify-content: space-between;
}

.file-cell-main.name {
  display: flex;
  align-items: center;
  font-size: 20px;
}
.file-cell-main.name.light {
  font-weight: bold;
}
.file-main-cell-edit-button {
  width: 70px;
  display: flex;
  justify-content: flex-end;
}

.choose-file {
  z-index: 80;
  position: absolute;
  margin: 10px;
  background-color: var(--cellara-teal);
}

.file-cell.body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

div.add-file-upload {
  display: flex;
  align-items: center;
  width: 100%;
}
div.add-file-upload.hide {
  scale: 0;
}

input.file-to-upload {
  display: flex;
  width: 100%;
  justify-content: center;
}

div.file-linked-cell-name {
  display: flex;
}

span.kn-red-font {
  margin-right: 5px;
}

button.connected-file {
  z-index: 0.6;
  transition: all 0.51s ease-out;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  --max-width: 100%;
  transform: translate(0, 0);
}
button.connected-file.light {
  border-color: var(--connected-cell-border-light-mode);
  background-color: white;
  box-shadow: 1px 1px 4px 0px #dde3ed;
}
button.connected-file.light:hover {
  transition: all 0.04s ease-in-out;
  transform: scale(1.03, 1.03);
  box-shadow: 1px 2px 8px 2px rgba(0, 0, 0, 0.1);
}
button.connected-file.dark {
  border-color: black;
  background-color: black;
}
button.connected-file.dark:hover {
  transition: all 0.04s ease-in-out;
  transform: scale(1.03, 1.03);
  box-shadow: 1px 2px 8px 2px rgba(0, 0, 0, 0.1);
}

.connected-file-background {
  padding: 0px;
  margin: 0.4em;
}

.text-file-display {
  width: 100%;
  height: 80vh;
  border: none;
}

.remove-connected-file {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
}

button.linked-cell-long {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-style: solid;
  border-radius: 12px;
  border-width: 1px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 15px;
  padding-left: 13px;
  min-width: 200px;
  margin: 5px;
  transition: none;
}
button.linked-cell-long.light-mode {
  border-color: var(--light-mode-border);
  background-color: white;
  background-color: var(--light-mode-bg-light);
  color: #575859;
}
button.linked-cell-long.light-mode:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03);
  box-shadow: var(--light-mode-box-shadow);
}
button.linked-cell-long.light-mode:active {
  transition: all 0.04s ease-out;
  transform: scale(0.98);
}
button.linked-cell-long.dark-mode {
  border-color: black;
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
}
button.linked-cell-long.dark-mode:hover {
  border-color: black;
  background-color: var(--dark-mode-bg-highlight);
  color: var(--text-white);
  transform: scale(1.02, 1.02);
  transition: all 0.04s ease-out;
}
button.linked-cell-long.dark-mode:active {
  transition: all 0.04s ease-out;
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-highlight);
}

.linked-cell {
  transition: none;
  z-index: 0.6;
  display: flex;
  align-items: center;
  color: #575859;
  position: relative;
  border-style: solid;
  border-radius: 12px;
  border-width: 1px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 15px;
  padding-left: 13px;
  margin: 4px;
  font-size: 15px;
  background-color: transparent;
  cursor: pointer;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.linked-cell.light {
  transition: none;
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-light);
}
.linked-cell.dark {
  transition: none;
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
  border-color: black;
}
.linked-cell.light:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03);
  box-shadow: var(--light-mode-box-shadow);
}
.linked-cell.light:active {
  transition: all 0.04s ease-out;
  transform: scale(0.98);
}
.linked-cell.dark:hover {
  transition: all 0.04s ease-out;
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-highlight);
  transform: scale(1.03);
}
.linked-cell.dark:active {
  transition: all 0.04s ease-out;
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-highlight);
}

div.linked-cell.icon {
  margin-right: 7px;
}

div.linked-cell.name {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: normal;
  min-width: 0;
  overflow: hidden;
}

.linked-cell-container.drag-drag-target {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}

.linked-cell-container div.add-connection-popup {
  position: absolute;
  min-width: 450px;
  z-index: 5;
  left: -225px;
}

.preview-cell > * > * > .new-linked-cell,
.preview-cell > .linked-cell-container > * > .linked-cell,
.preview-cell > .linked-cell-container > .linked-to-do > * {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}

button.edit-item-active {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  border-color: var(--button-border-green);
  border-width: 1px;
}
button.edit-item-active.light {
  background-color: var(--light-mode-green);
}
button.edit-item-active.dark {
  background-color: var(--light-mode-green);
}
button.edit-item-active:hover {
  background-image: var(--cellara-green-button-background);
}

button.edit-item {
  grid-column: 3;
  height: 38px;
  width: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px;
  font-size: 20px;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
}

div.edit-item-spacer {
  width: 30px;
  margin-left: 16px;
}

button.text-edit {
  background-color: white;
  border-width: 1px;
  border-radius: 50%;
  border-style: solid;
  height: 42px;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px;
  background-image: linear-gradient(315deg, white 0%, #f5f7fa 74%);
  z-index: 20;
}
button.text-edit.light {
  background-color: white;
  border-width: 1px;
  border-radius: 7px;
  border-style: solid;
  border-color: #dde3ed;
  color: #7e8ca8;
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
}
button.text-edit.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 1px;
  border-radius: 7px;
  border-style: solid;
  border-color: black;
  color: #7e8ca8;
  margin: 4px;
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button.text-sizer.light.RichEditor-styleButton {
  background-color: white;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: #dde3ed;
  color: #7e8ca8;
  height: 30px;
  margin: 4px;
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  z-index: 20;
}

button.text-sizer {
  height: 42px;
  width: 70px;
  margin: 4px;
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}
button.text-sizer.light {
  background-color: white;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: #dde3ed;
  color: #7e8ca8;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
}
button.text-sizer.dark {
  background-color: white;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: black;
  color: #7e8ca8;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}

div.text-edit-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 250px;
  padding: 10px;
  margin-bottom: -45px;
  z-index: 90;
  border-radius: 5px;
  border-width: 1px;
}
div.text-edit-options.light {
  background-color: rgba(245, 246, 252, 0.95);
  border-width: 1px;
  border-color: none;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
}
div.text-edit-options.dark {
  background-color: rgba(55, 55, 57, 0.95);
  border-style: solid;
  border-color: black;
}

div.text-edit-options.light::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: -0.5em;
  bottom: -1em;
  left: 50%;
  box-sizing: border-box;
  border: 0.5em solid #000;
  border-color: transparent transparent rgba(245, 246, 252, 0.95) rgba(245, 246, 252, 0.95);
  transform-origin: 0 0;
  transform: rotate(-45deg);
  box-shadow: -3px 3px 7px -2px #c9c9c9;
}

div.text-edit-options.dark::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: -0.5em;
  bottom: -1em;
  left: 50%;
  box-sizing: border-box;
  border: 0.5em solid white;
  border-color: transparent transparent rgba(55, 55, 57, 0.95) rgba(55, 55, 57, 0.95);
  transform-origin: 0 0;
  transform: rotate(-45deg);
}

button.delete-item.dark {
  height: 38px;
  width: 38px;
  border-style: solid;
  border-width: 1px;
  border-radius: 20px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-color: black;
  color: white;
}

button.delete-item.light {
  height: 38px;
  width: 38px;
  border-style: solid;
  border-width: 1px;
  border-radius: 20px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #dde3ed;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
  color: #7e8ca8;
}

div.edit-item-display.dark {
  border-color: black;
  border-width: 1px;
  border-radius: 5px;
  background-color: rgba(55, 55, 57, 0.95);
}

div.edit-item-display.light {
  border-color: #e0e0e0;
  border-width: 1px;
  border-radius: 5px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  background-color: rgba(245, 246, 252, 0.95);
}

div.edit-item-background.small {
  display: grid;
  grid-template-rows: 50px auto 10px;
  grid-template-columns: 10px auto 10px;
  width: 450px;
  min-height: 3px;
  transition: width ease-out 0.33s, min-height ease-out 0.33s;
}

div.edit-item-background.medium {
  display: grid;
  grid-template-rows: 50px auto 10px;
  grid-template-columns: 10px auto 10px;
  width: 550px;
  min-height: 400px;
  transition: width ease-out 0.33s, min-height ease-out 0.33s;
}

div.edit-item-background.large {
  display: grid;
  grid-template-rows: 50px auto 10px;
  grid-template-columns: 10px auto 10px;
  width: 700px;
  min-height: 550px;
  transition: width ease-out 0.33s, min-height ease-out 0.33s;
}

div.edit-item-header {
  grid-row: 1/4;
  grid-column: 2/3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  color: #575859;
  /* background-color: rgb(245,246,252,0.9); */
  color: #fafbff;
  /*  
  (if (= @color-mode "light") "0px 0px 8px 1px #c9c9c9") */
}

div.edit-item-title.dark {
  font-size: 16px;
  font-weight: normal;
  display: flex;
  color: white;
}

div.edit-item-title.light {
  display: flex;
  font-size: 16px;
  font-weight: bold;
}

div.edit-item-card.dark {
  grid-row: 2/3;
  grid-column: 2/3;
  display: grid;
  grid-template-rows: 55px auto;
  background-color: white;
  width: 100%;
  font-size: 14px;
  border-color: #e0e0e0;
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
}

div.edit-item-card.light {
  grid-row: 2/3;
  grid-column: 2/3;
  display: grid;
  grid-template-rows: 55px auto;
  background-color: white;
  width: 100%;
  font-size: 14px;
  border-color: #e0e0e0;
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
}

div.edit-type-selector {
  grid-row: 1/2;
  display: flex;
  justify-content: flex-end;
  padding-right: 12px;
  padding-top: 12px;
}

div.edit-item-name {
  width: 100%;
  padding: 0px;
  margin: 0px;
}
div.edit-item-name.hidden {
  height: 0px;
  margin-left: -1px;
  margin-right: -1px;
  z-index: 0;
  opacity: 0;
}

input.edit-item-name {
  text-align: center;
  padding: 0px;
  margin: 0px;
  font-size: 18px;
  font-weight: bold;
  background-color: var(--edit-text-background);
  border-width: 0px;
  border-radius: 5px;
  width: 100%;
  z-index: 20;
}
input.edit-item-name.dark {
  background-color: var(--cellara-black);
}

textarea.edit-item-name {
  text-align: center;
  padding: 0px;
  margin: 0px;
  height: 30px;
  font-size: 18px;
  font-weight: normal;
  background-color: inherit;
  border-radius: 5px;
  width: 100%;
  border-width: 0px;
  overflow: hidden;
  resize: none;
  z-index: 99;
}
textarea.edit-item-name.open-dark {
  border-radius: 5px;
  border-style: solid;
  border-color: black;
}
textarea.edit-item-name.light {
  background-color: var(--edit-text-background);
}

div.edit-item-body {
  grid-row: 3/3;
  padding-left: 15px;
  padding-right: 15px;
  height: 100%;
}

textarea.edit-item-meaning {
  width: 100%;
  min-height: 2em;
  border-width: 0px;
}

div.edit-item-footer {
  grid-row: 3/4;
  grid-column: 2/3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
  /*   box-shadow: 0px 0px 8px 1px #c9c9c9;
  (if (= @color-mode "light") "0px 0px 8px 1px #c9c9c9") */
}

input.edit-item-name.edit-item-exists {
  color: #b12f41;
}

div.edit-item-exists {
  color: #b12f41;
}

.edit-item-card-image {
  max-height: 500px;
  width: auto;
}

.edit-item-card-text {
  max-height: 500px;
  width: auto;
}

.edit-item-card-list {
  padding-bottom: 15px;
}

.person-file-select-edit-results {
  background-color: rgba(177, 85, 191, 0.5);
  border-radius: 0.3em;
  position: fixed;
  opacity: 0;
  transition: all 0.125s ease-in-out;
  pointer-events: none;
}

.person-file-select-edit-results.open {
  opacity: 1;
  transition: all 0.25s ease-in-out;
  pointer-events: all;
}

.person-file-select-edit-results.file + * {
  pointer-events: none;
  cursor: pointer;
}

button.date-arrow.light-mode {
  z-index: 90px;
  height: 32px;
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  font-size: 20px;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #cccccc;
}

div.date-select-option {
  display: flex;
  justify-content: center;
  align-items: center;
  /*  padding-right: 5px;
  padding-left: 5px; */
}

button.date-arrow.dark-mode {
  z-index: 90px;
  height: 32px;
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-color: black;
}

button.date-selector {
  z-index: 10;
}

button.date-selector.light-mode {
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  height: 45px;
  padding: 10px;
  margin-right: 2px;
  margin-left: 2px;
  background-image: linear-gradient(315deg, #ebf1f5 20%, #f5f8fa 80%);
  border-color: #dde3ed;
  width: 200px;
  display: flex;
  flex-wrap: no-wrap;
  justify-content: space-between;
  align-items: center;
  padding-left: 12px;
  padding-right: 10px;
  z-index: 1;
  font-size: 18px;
}

button.date-selector.dark-mode {
  width: 180px;
  height: 45px;
  display: flex;
  flex-wrap: no-wrap;
  justify-content: space-between;
  align-items: center;
  margin-right: 2px;
  margin-left: 2px;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  border-color: black;
  background-image: linear-gradient(315deg, #222224 0%, #313133 60%);
  padding-left: 12px;
  padding-right: 10px;
  z-index: 1;
  font-size: 18px;
}

div.date-selector-arrow.closed {
  margin-left: 7px;
  display: flex;
  margin-top: 5px;
  transform: rotate(0deg);
  transition: transform 0.33s, padding-bottom 0.33s;
}

div.date-selector-arrow.open {
  margin-left: 7px;
  display: flex;
  margin-bottom: 5px;
  transform: rotate(180deg);
  transition: transform 0.33s, padding-bottom 0.33s;
}

.date-selector-arrow-icon {
  padding-bottom: 5px;
  font-size: 12px;
}

.date-selector-arrow-icon-caret-left {
  font-size: 16px;
  padding-right: 2px;
}

.date-selector-arrow-icon-caret-right {
  font-size: 16px;
  padding-right: 2px;
}

div.date-selections.closed-light-mode {
  height: 0px;
  /* z-index: 12; */
  margin-top: 20px;
  position: absolute;
  width: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: #7e8ca8;
  border-width: 0px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
}

div.date-selections.open-light-mode {
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  border-color: #cccccc;
  margin-top: 28px;
  padding-top: 4px;
  padding-bottom: 2px;
  position: absolute;
  width: 90px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
  background-color: white;
}

div.date-selections.open-dark-mode {
  z-index: 0;
  margin-left: 5px;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  background-color: #373739;
  border-color: black;
  margin-top: 28px;
  padding-top: 4px;
  padding-bottom: 2px;
  width: 200px;
  position: absolute;
  flex-wrap: wrap;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
}

div.date-selections.closed-dark-mode {
  height: 0px;
  position: absolute;
  margin-top: 20px;
  width: 90px;
  border-width: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #373739;
  border-color: black;
  position: absolute;
  flex-wrap: wrap;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
}

button.date-selection.open-light-mode {
  width: 90px;
  height: 30px;
  opacity: 1;
  background-color: white;
  border-width: 0px;
  padding: 5px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, opacity ease-out 0.33s;
}

button.date-selection.open-light-mode:hover {
  width: 100%;
  background-color: #ebf5ff;
  border-width: 0px;
  padding: 5px;
}

button.date-selection.closed-light-mode {
  width: 100%;
  height: 1px;
  opacity: 0;
  border-width: 0px;
  border-radius: 4px;
  margin-top: -24px;
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}

button.date-selection.open-dark-mode {
  width: 90px;
  height: 30px;
  opacity: 1;
  border-width: 0px;
  padding: 5px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, opacity ease-out 0.33s;
  background-color: #373739;
  color: white;
}

button.date-selection.closed-dark-mode {
  width: 100%;
  height: 1px;
  opacity: 0;
  background-color: #373739;
  border-width: 0px;
  padding: 5px;
  color: white;
  margin-top: -24px;
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}

button.date-selection.open-dark-mode:hover {
  width: 100%;
  background-color: black;
  color: white;
  border-width: 0px;
  padding: 5px;
}

button.cell-type-selector.light-mode {
  width: 125px;
  display: flex;
  flex-wrap: no-wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 31;
  margin-right: 5px;
  margin-left: 5px;
  height: 32px;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  border-color: #dde3ed;
  --box-shadow: 0px 0px 8px 1px #c9c9c9;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  padding-left: 12px;
  padding-right: 10px;
}

button.cell-type-selector.dark-mode {
  width: 125px;
  display: flex;
  flex-wrap: no-wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 31;
  margin-right: 5px;
  margin-left: 5px;
  height: 32px;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  border-color: black;
  background-color: #373739;
  padding-left: 12px;
  padding-right: 10px;
}

div.type-selections.closed-light-mode {
  height: 0px;
  /* z-index: 12; */
  margin-top: 20px;
  position: absolute;
  width: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: #7e8ca8;
  border-width: 0px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
}

div.type-selections.open-light-mode {
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  border-color: #cccccc;
  margin-top: 28px;
  padding-top: 10px;
  padding-bottom: 2px;
  position: absolute;
  width: 110px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
  background-color: white;
}

div.cell-type-selector {
  display: flex;
}

div.type-selections.open-dark-mode {
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  background-color: #373739;
  border-color: black;
  margin-top: 28px;
  padding-top: 10px;
  padding-bottom: 2px;
  width: 110px;
  position: absolute;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
}

div.type-selections.closed-dark-mode {
  height: 1px;
  margin-top: 20px;
  padding-top: 4px;
  width: 110px;
  margin-left: 5px;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  background-color: #373739;
  border-color: black;
  position: absolute;
  flex-wrap: wrap;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, box-shadow ease-out 0.33s;
}

button.type-selection.open-light-mode {
  display: flex;
  justify-content: flext-start;
  align-items: center;
  width: 110px;
  height: 30px;
  opacity: 1;
  border-width: 0px;
  padding: 10px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, opacity ease-out 0.33s;
  background-color: white;
  font-size: 14px;
}

button.type-selection.open-light-mode:hover {
  width: 100%;
  background-color: #ebf5ff;
  border-width: 0px;
  padding: 10px;
}

button.type-selection.closed-light-mode {
  width: 100%;
  height: 1px;
  opacity: 0;
  border-width: 0px;
  border-radius: 4px;
  margin-top: -24px;
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}

button.type-selection.open-dark-mode {
  display: flex;
  justify-content: flext-start;
  align-items: center;
  width: 110px;
  height: 30px;
  opacity: 1;
  border-width: 0px;
  padding: 10px;
  transition: height ease-out 0.33s, margin-top ease-out 0.33s, padding-top ease-out 0.33s, opacity ease-out 0.33s;
  background-color: #373739;
  color: white;
  font-size: 14px;
}

button.type-selection.closed-dark-mode {
  width: 100%;
  height: 1px;
  opacity: 0;
  background-color: #373739;
  border-width: 0px;
  padding: 5px;
  color: white;
  margin-top: -24px;
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}

button.type-selection.open-dark-mode:hover {
  width: 100%;
  background-color: black;
  color: white;
  border-width: 0px;
  padding: 10px;
}

div.cell-type-name {
  padding-left: 6px;
}

div.cell-type-icon {
  display: flex;
  align-items: center;
}

div.type-selected-name {
  padding-left: 8px;
  font-size: 14px;
}

.cell-type-select-container {
  display: flex;
  justify-content: center;
}

.cell-type-select-arrow-down {
  padding-bottom: 5px;
  font-size: 12px;
}

div.edit-cell-type-selector {
  display: flex;
}

button.edit-cell-type-selector {
  width: 45px;
  height: 45px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  border-style: solid;
  border-width: 1px;
  border-radius: 7px;
  box-sizing: border-box;
  z-index: 90;
  user-select: none;
  background-color: transparent;
  border-color: transparent;
}
button.edit-cell-type-selector.light {
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
}
button.edit-cell-type-selector.light:hover {
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
}
button.edit-cell-type-selector.light:active {
  transition: var(--transition);
  background-color: white;
}
button.edit-cell-type-selector.dark {
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-bg-dark-transparent);
  color: var(--button-text-dark-mode);
}
button.edit-cell-type-selector.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-bg-dark-transparent);
}
button.edit-cell-type-selector.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}

div.mobile-add-cell-type-selector {
  display: contents;
}

button.mobile-add-cell-type-selector {
  width: 46px;
  height: 42px;
  font-size: 15px;
  margin: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  border-style: solid;
  border-width: 1px;
  border-radius: 7px;
  padding-top: 5px;
  padding-bottom: 5px;
  user-select: none;
  transition: var(--transition);
}
button.mobile-add-cell-type-selector.light {
  background-color: transparent;
  border-color: var(--button-border-light-mode);
}
button.mobile-add-cell-type-selector.light:hover {
  transform: scale(1.05);
  background-color: #fafbff;
}
button.mobile-add-cell-type-selector.light:active {
  transform: scale(0.98);
  background-color: white;
}
button.mobile-add-cell-type-selector.dark {
  background-color: transparent;
  border-color: var(--button-border-dark-mode);
  color: var(--button-text-dark-mode);
}
button.mobile-add-cell-type-selector.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
  transform: scale(1.05);
}
button.mobile-add-cell-type-selector.dark:active {
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-highlight);
}
button.mobile-add-cell-type-selector.hide {
  margin: 0px;
  height: 0px;
  width: 0px;
  opacity: 0;
  transform: scale(0);
  background-image: none;
  font-size: 1px;
  transition: var(--transition);
  border-color: transparent;
}

div.add-cell-type-header {
  font-size: 18px;
  margin: 0px;
  margin-bottom: 0;
  display: flex;
  width: 100%;
}

div.choose-cell-type-header {
  font-size: 18px;
  margin-bottom: 0;
  display: flex;
  width: 100%;
}
div.choose-cell-type-header.light {
  color: var(--light-mode-text-muted);
}
div.choose-cell-type-header.dark {
  color: var(--dark-mode-text-muted);
}

div.edit-cell-type-selections {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: absolute;
  z-index: 91;
  user-select: none;
  width: min-content;
  border-width: 1px;
  border-style: solid;
  border-radius: 12px;
  padding-right: 5px;
  padding-left: 5px;
  padding-bottom: 5px;
  padding-top: 0px;
  margin-top: 0px;
  margin-left: -5px;
  transition: var(--transition);
  transform-origin: top left;
  transform: scale(1);
  border-color: transparent;
}
div.edit-cell-type-selections.open-light {
  color: var(--light-mode-text-muted);
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-mid);
  padding-top: 5px;
  margin-left: 0px;
}
div.edit-cell-type-selections.open-dark {
  color: var(--dark-mode-text-muted);
  border-color: black;
  background-color: var(--dark-mode-bg-light);
  padding-top: 5px;
  margin-left: 0px;
  padding-right: 10px;
}
div.edit-cell-type-selections.closed-light {
  transform: scale(0);
  opacity: 0;
}
div.edit-cell-type-selections.closed-dark {
  transform: scale(0);
  opacity: 0;
}

div.edit-cell-type-selections-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 5px;
  margin-bottom: 5px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
}

div.edit-cell-type-selections-body-left {
  grid-column-start: 1;
}

div.edit-cell-type-selections-body-right {
  grid-column-start: 2;
}

div.edit-cell-type-selector-arrow {
  width: 10px;
  padding: 2px;
  margin-right: 5px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 24;
  transition: transform 0.33s;
  color: var(--button-text-light-mode);
}
div.edit-cell-type-selector-arrow.open-light {
  transform: rotate(180deg);
}
div.edit-cell-type-selector-arrow.open-dark {
  transform: rotate(180deg);
}

div.edit-cell-type-selections-header {
  display: flex;
  justify-content: flex-start;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  width: 100%;
}

button.cell-type-selection {
  display: flex;
  align-items: center;
  padding-left: 10px;
  width: 110px;
  height: 36px;
  opacity: 1;
  border-width: 1px;
  border-color: transparent;
  border-style: solid;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 2px;
  margin-bottom: 5px;
  color: transparent;
  background-color: transparent;
  border-radius: 10px;
  transition: var(--transition);
}
button.cell-type-selection.light {
  color: var(--card-text-light-mode);
  border-color: var(--button-border-light-mode);
  background-color: var(--light-mode-bg-mid);
}
button.cell-type-selection.dark {
  color: var(--connection-text-dark-mode);
  background-color: var(--dark-mode-bg-light);
}
button.cell-type-selection.light:hover {
  transform: scale(1.05);
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-border);
}
button.cell-type-selection.light:active {
  transform: scale(0.98);
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-border);
}
button.cell-type-selection.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
  border-color: black;
}

div.date-picker-cell {
  transition: none;
  height: 100%;
}
div.date-picker-cell:hover2 {
  background-color: blue;
}
div.date-picker-cell.light {
  background-color: var(--light-mode-bg-mid);
  border-color: var(--light-mode-bg-darkest);
  border-top-style: solid;
  border-right-style: solid;
  border-top-width: 1px;
  border-right-width: 1px;
}
div.date-picker-cell.light:hover {
  background-color: var(--light-mode-bg-highlight);
}
div.date-picker-cell.light2:hover {
  background-color: pink;
}

div.date-picker-cell.top-left-right-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  height: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.3) 1px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
}
div.date-picker-cell.top-left-right-light:hover {
  background-color: var(--light-mode-bg-highlight2);
}

div.date-picker-cell.top-left-right-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  height: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.3) 1px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
}
div.date-picker-cell.top-left-right-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.top-left-right-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-color: var(--dark-mode-border);
  border-bottom-color: var(--dark-mode-bg-dark);
  box-shadow: rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px, rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px, rgba(22, 22, 22, 0.3) 6px 0px 0px -1.1px;
  height: 100%;
  width: 100%;
  background-color: var(--dark-mode-bg-mid);
  color: rgb(126, 140, 168);
}

.date-picker-cell.bottom-left-right-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-width: 1px;
  border-style: solid;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  border-top-color: var(--light-mode-bg-darkest);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px, rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.3) 1px 0px 1px -1.1px;
  height: 100%;
}
.date-picker-cell.bottom-left-right-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.bottom-left-right-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-width: 1px;
  border-style: solid;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-color: var(--dark-mode-border);
  border-top-color: var(--dark-mode-bg-dark);
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.top-left-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-left-radius: 10px;
  border-color: var(--light-mode-border-muted);
  border-right-color: var(--light-mode-bg-darkest);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
  height: 100%;
  width: 100%;
}
.date-picker-cell.top-left-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.top-left-dark {
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-left-radius: 10px;
  border-color: var(--dark-mode-bg-dark);
  border-top-color: var(--dark-mode-border);
  border-left-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px, rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px;
  height: 100%;
  width: 100%;
  background-color: var(--dark-mode-bg-mid);
  color: rgb(126, 140, 168);
}

.date-picker-cell.top-right-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  border-radius: 0px;
  border-top-right-radius: 10px;
  box-shadow: rgba(201, 201, 201, 0.3) 2px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
  height: 100%;
  width: 100%;
}
.date-picker-cell.top-right-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.top-right-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-color: var(--dark-mode-border);
  border-top-right-radius: 10px;
  box-shadow: rgba(22, 22, 22, 0.3) 6px 0px 0px -1.1px, rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px;
  height: 100%;
  width: 100%;
  background-color: var(--dark-mode-bg-mid);
  color: rgb(126, 140, 168);
}

.date-picker-cell.top-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-top-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px -1px 2px -1.1px;
  height: 100%;
  width: 100%;
}
.date-picker-cell.top-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.top-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-top-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px;
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.middle-light {
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--light-mode-bg-darkest);
  background-color: var(--light-mode-bg-mid);
  height: 100%;
}
.date-picker-cell.middle-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.middle-dark {
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--dark-mode-bg-dark);
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.bottom-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-bottom-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px;
  height: 100%;
}
.date-picker-cell.bottom-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.bottom-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-bottom-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.left-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-left-width: 1px;
  border-left-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-left-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px;
  height: 100%;
}
.date-picker-cell.left-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.left-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-left-width: 1px;
  border-left-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-left-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px;
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.right-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-right-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) 2px 0px 1px -1.1px;
  height: 100%;
}
.date-picker-cell.right-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.right-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-right-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.3) 6px 0px 0px -1.1px;
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.bottom-right-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom-right-radius: 10px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--light-mode-border-muted);
  border-top-color: var(--light-mode-bg-darkest);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px 2px 1px -1.1px, rgba(201, 201, 201, 0.3) 2px 0px 0px -1.1px;
  height: 100%;
}
.date-picker-cell.bottom-right-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.bottom-right-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-bottom-right-radius: 10px;
  border-color: var(--dark-mode-bg-dark);
  border-bottom-color: var(--dark-mode-border);
  border-right-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

.date-picker-cell.bottom-left-light {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-width: 1px;
  border-style: solid;
  border-left-color: var(--light-mode-border-muted);
  border-bottom-color: var(--light-mode-border-muted);
  border-right-color: var(--light-mode-bg-darkest);
  border-top-color: var(--light-mode-bg-darkest);
  border-bottom-left-radius: 10px;
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px, rgba(201, 201, 201, 0.1) -1px 0px 0px -1.1px;
  height: 100%;
}
.date-picker-cell.bottom-left-light:hover {
  background-color: var(--light-mode-bg-highlight);
}

.date-picker-cell.bottom-left-dark {
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  border-width: 1px;
  border-style: solid;
  border-bottom-left-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 0px -1.1px, rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px;
  border-color: var(--dark-mode-bg-dark);
  border-bottom-color: var(--dark-mode-border);
  border-left-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  color: rgb(126, 140, 168);
}

div.date-picker-day-container {
  display: flex;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

div.date-picker-day {
  display: flex;
  justify-content: flex-end;
  width: 85%;
  align-items: center;
  user-select: none;
}
div.date-picker-day.light {
  color: var(--light-mode-text-muted);
}

button.close-mini-card {
  width: 40px;
  height: 40px;
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
  transition: var(--transition);
}
button.close-mini-card.light {
  background-color: var(--light-mode-bg-mid);
  border-color: transparent;
}
button.close-mini-card.dark {
  background-color: transparent;
  color: var(--dark-mode-text-body);
  border-color: transparent;
}
button.close-mini-card.light:hover {
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-border);
}
button.close-mini-card.light:active {
  background-color: var(--light-mode-bg-highlight);
}
button.close-mini-card.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
}
button.close-mini-card.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}
button.close-mini-card.hide {
  height: 0px;
  width: 0px;
  font-size: 0px;
  padding: 0px;
  border-color: transparent;
  opacity: 0;
}

div.mini-card-title {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

div.cellara-event-date-picker-close-spacer {
  width: 40px;
  height: 40px;
  transition: var(--transition);
}
div.cellara-event-date-picker-close-spacer.hide {
  height: 0px;
  width: 0px;
  font-size: 0px;
  padding: 0px;
}

div.date-picker {
  transition: var(--transition);
  z-index: 0.6;
  display: flex;
  align-items: center;
  color: #575859;
  border-style: solid;
  border-radius: 5px;
  border-width: 1px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 13px;
  padding-left: 11px;
  margin: 0px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  /*
  width: 140px;
  height: 100%;
  border-radius: 5px;
  padding-right: 15px;
  transition: var(--transition-out);
  position: relative;
  font-size: 15px;
  user-select: none;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  display: flex;
  text-wrap: nowrap;
  align-items: center; */
}
div.date-picker.light {
  background-color: var(--light-mode-bg-light);
  border-color: transparent;
}
div.date-picker.light:hover {
  transition: var(--transition-in);
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
}
div.date-picker.dark {
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
  border-color: transparent;
}
div.date-picker.dark:hover {
  transition: var(--transition-in);
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-bg-darkest-transparent);
}

div.old-cellara-event-date-picker {
  margin-left: -1px;
  width: 140px;
  border-width: 0px;
  transition: var(--transition);
  display: flex;
}
div.old-cellara-event-date-picker.hide {
  height: 0px;
  width: 0px;
}

div.cellara-event-time-picker-am-pm {
  position: absolute;
  display: flex;
  align-items: center;
  padding-left: 75px;
  color: var(--light-mode-text-placeholder);
  padding-top: 10px;
  user-select: none;
  pointer-events: none;
}
div.cellara-event-time-picker-am-pm.dark {
  color: var(--dark-mode-text-muted);
}
div.cellara-event-time-picker-am-pm.placeholder {
  padding-left: 40px;
}

div.am-pm-buttons {
  position: absolute;
  transition: var(--transition);
  display: flex;
}
div.am-pm-buttons.closed {
  height: 0px;
  margin-top: -20px;
}
div.am-pm-buttons.open {
  height: 50px;
}

div.am-pm-close {
  z-index: 50;
  height: 100%;
  width: 50px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 5px;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
}
div.am-pm-close.light {
  color: var(--light-mode-text-muted);
  background-color: var(--light-mode-bg-mid);
  border-color: var(--light-mode-border);
}
div.am-pm-close.dark {
  border-color: var(--dark-mode-border);
  color: white;
  background-color: var(--dark-mode-bg-light);
}
div.am-pm-close.hide {
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
  color: transparent;
}

div.am-pm {
  border-width: 1px;
  border-style: solid;
  width: 50px;
  height: 100%;
  cursor: pointer;
  z-index: 50;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-top: 5px;
}
div.am-pm.light {
  color: var(--light-mode-text-muted);
  background-color: var(--light-mode-bg-mid);
  border-color: var(--light-mode-border);
}
div.am-pm.dark {
  border-color: var(--dark-mode-border);
  color: white;
  background-color: var(--dark-mode-bg-mid);
}
div.am-pm.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
div.am-pm.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--dark-mode-bg-highlight);
}
div.am-pm.hide {
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
  color: transparent;
}

div.date-picker-dows {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
div.date-picker-dow {
  width: 100%;
  padding-right: 15px;
  text-align: end;
  transition: var(--transition);
  color: transparent;
  user-select: none;
}
div.date-picker-dow.light {
  color: var(--light-mode-text-muted);
}
div.date-picker-dow.dark {
  color: var(--dark-mode-text-muted);
}
div.date-picker-dow.hide {
  font-size: 0px;
  padding-right: 0px;
}

div.cellara-event-date-picker-calendar-container {
  height: 420px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  pointer-events: none;
  margin-top: -200px;
  z-index: 91;
}
div.cellara-event-date-picker-calendar-container.open-edit-cell {
  pointer-events: all;
}
div.cellara-event-date-picker-calendar-container.open-add-cell {
  pointer-events: all;
  bottom: 70px;
}

div.cellara-event-date-picker-calendar {
  width: 100%;
  position: fixed;
  transition: var(--transition);
  border-style: solid;
  border-width: 1px;
  border-radius: 15px;
  padding: 8px;
  height: inherit;
  display: grid;
  grid-template-rows: 45px 60px 24px 272px;
}
div.cellara-event-date-picker-calendar.light {
  z-index: 82;
  background-color: var(--light-mode-bg-menu);
  transition: var(--transition);
  border-color: var(--light-mode-border);
}
div.cellara-event-date-picker-calendar.dark {
  z-index: 82;
  background-color: var(--dark-mode-bg-dark);
  border-color: var(--dark-mode-border);
  transition: var(--transition);
}
div.cellara-event-date-picker-calendar.hide {
  height: 0px;
  width: 0px;
  margin-left: 100px;
  margin-top: 60px;
  grid-template-rows: 0px 0px 0px 0px;
  padding: 0px;
  border-color: transparent;
}

div.calendar-grid-monthly {
  width: 100%;
}
div.calendar-grid-monthly.hide {
  opacity: 0;
  transition: var(--transition);
  font-size: 0px;
}

div.date-picker-calendar-header {
  height: 50px;
  display: flex;
  transition: var(--transition);
}
div.date-picker-calendar-header.hide {
  height: 0px;
}

div.date-picker-calendar-container {
  transition: var(--transition);
  display: flex;
  height: 100%;
  width: 100%;
}
div.date-picker-calendar-title {
  height: 42px;
  width: 100%;
  padding: 8px;
  padding-left: 10px;
  text-align: center;
  font-size: 16px;
  transition: var(--transition);
  text-wrap: nowrap;
  user-select: none;
}
div.date-picker-calendar-title.light {
  color: var(--light-mode-text-muted);
  border-color: var(--light-mode-border);
}
div.date-picker-calendar-title.dark {
  color: var(--dark-mode-text-muted);
  border-color: var(--dark-mode-border);
}
div.date-picker-calendar-title.hide {
  font-size: 1px;
  opacity: 0;
  padding: 0px;
}

div.date-picker-header-subcontainer {
  display: flex;
}

div.date-picker-row {
  text-align: center;
  font-size: 16px;
  width: 100%;
}
div.date-picker-row.light {
  border-color: var(--light-mode-border);
}
div.date-picker-row.dark {
  color: var(--dark-mode-text-body);
  border-color: var(--dark-mode-border);
}
div.date-picker-row.hide {
  font-size: 0px;
}
div.date-picker-row.row-1 {
  grid-row: 1;
  height: 50px;
  display: flex;
}
div.date-picker-row.row-2 {
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
div.date-picker-row.row-3 {
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
div.date-picker-row.row-4 {
  grid-row: 4;
}

div.date-picker-current-month {
  transition: var(--transition);
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  height: 45px;
  user-select: none;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-style: solid;
  margin-right: -1px;
  margin-left: -1px;
}
div.date-picker-current-month.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
  color: var(--light-mode-text-muted);
}
div.date-picker-current-month.dark {
  border-color: var(--dark-mode-border);
}
div.date-picker-current-month.hide {
  height: 0px;
  font-size: 1px;
  opacity: 0;
  padding: 0px;
  width: 0px;
}

div.calendar-grid-cell-container {
  transition: var(--transition);
}
div.calendar-grid-cell-container.hide {
  width: 0px;
  height: 0px;
  font: 0px;
}

div.calendar-grid-cell-background.hide {
  padding: 0px;
  margin: 0px;
}

div.date-picker-footer {
  display: flex;
  justify-content: center;
  transition: var(--transition);
}
div.date-picker-footer.hide {
  height: 0px;
  width: 0px;
  transform: scale(0);
}

button.date-picker-hot-button {
  width: 90px;
  height: 40px;
  margin: 5px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  transition: var(--transition);
}
button.date-picker-hot-button.light {
  color: var(--light-mode-text-muted);
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}
button.date-picker-hot-button.dark {
  border-color: var(--dark-mode-border);
  color: white;
  background-color: var(--dark-mode-bg-light);
}
button.date-picker-hot-button.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
  transform: scale(1.05);
}
button.date-picker-hot-button.light:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: var(--light-mode-bg-highlight);
}
button.date-picker-hot-button.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--dark-mode-bg-highlight);
  transform: scale(1.05);
}
button.date-picker-hot-button.dark:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-highlight);
}
button.date-picker-hot-button.none-dark {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: var(--dark-mode-border);
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  background-color: var(--dark-mode-bg-light);
  font-size: 1px;
  opacity: 0;
}
button.date-picker-hot-button.none-light {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  border-color: #dde3ed;
  font-size: 1px;
  opacity: 0;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}
button.date-picker-hot-button.hide {
  height: 0px;
  width: 0px;
  transform: scale(0);
}

div.cellara-event-time-picker {
  width: 110px;
  inputMode: decimal;
  border-radius: 5px;
  height: 37px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  display: flex;
  transition: var(--transition-out);
  font-size: 14px;
  cursor: pointer;
}
div.cellara-event-time-picker.light {
  background-color: var(--light-mode-bg-light);
}
div.cellara-event-time-picker.light:hover {
  transition: var(--transition-in);
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-border);
}
div.cellara-event-time-picker.dark {
  background-color: var(--dark-mode-bg-light);
  color: white;
}
div.cellara-event-time-picker.dark:hover {
  transition: var(--transition-in);
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
}

input.cellara-event-time-picker-input {
  width: 100%;
  height: 100%;
  border-color: transparent;
  border-radius: 5px;
  background-color: transparent;
  transition: var(--transition);
  padding-left: 5px;
  cursor: pointer;
}

div.cellara-event-time-picker-icon {
  pointer-events: none;
  font-size: 18px;
  margin-left: 10px;
  color: var(--cellara-pink);
  user-select: none;
  display: flex;
  align-items: center;
}

div.date-field {
  width: 140px;
  height: 100%;
  border-radius: 5px;
  transition: var(--transition-out);
  position: relative;
  font-size: 14px;
  user-select: none;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  display: flex;
  text-wrap: nowrap;
  align-items: center;
  padding-left: 6px;
}

div.date-picker-icon {
  font-size: 18px;
  margin-right: 5px;
  user-select: none;
  pointer-events: none;
  display: flex;
  height: 25px;
  width: 25px;
}
div.date-picker-icon.light {
  color: var(--cellara-red-light-mode);
}
div.date-picker-icon.dark {
  color: var(--cellara-red-dark-mode);
}

div.date-field-icon {
  font-size: 18px;
  margin-right: 5px;
  user-select: none;
  pointer-events: none;
  display: flex;
  height: 25px;
  width: 25px;
}
div.date-field-icon.light {
  color: var(--cellara-red-light-mode);
}
div.date-field-icon.dark {
  color: var(--cellara-red-dark-mode);
}

div.close-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
div.close-card-icon.light {
  color: var(--light-mode-text-muted);
  border-color: var(--light-mode-border);
}
div.close-card-icon.dark {
  border-color: var(--dark-mode-border);
  color: var(--dark-mode-text-muted);
}

div.event-date-picker-change-period {
  position: initial;
  height: 45px;
  width: 45px;
  opacity: 95%;
  border-radius: 0px;
  pointer-events: initial;
  border-width: 1px;
  border-style: solid;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}
div.event-date-picker-change-period.hide {
  height: 0px;
  width: 0px;
  font-size: 0px;
  color: transparent;
  border-color: transparent;
}
div.event-date-picker-change-period.right {
  border-top-left-radius: 45%;
  border-bottom-left-radius: 45%;
}
div.event-date-picker-change-period.left {
  border-top-right-radius: 45%;
  border-bottom-right-radius: 45%;
}
div.event-date-picker-change-period.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
  color: var(--light-mode-text-muted);
}
div.event-date-picker-change-period.light:hover {
  transform: scale(1.05);
  background-color: var(--light-mode-bg-light);
}
div.event-date-picker-change-period.light:active {
  transform: scale(0.98);
  background-color: var(--light-mode-bg-light);
}
div.event-date-picker-change-period.dark {
  background-color: transparent;
  color: var(--dark-mode-text-body);
  border-color: var(--dark-mode-border);
}

div.week-grid {
  display: grid;
  grid-template-rows: auto auto;
}

div.week-row1 {
  grid-row: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 26px;
  font-weight: bold;
}

div.week-row2 {
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.small-day-card.day {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  border-style: solid;
  border-color: #e5e5e5;
  border-width: 1px;
  background-color: #fffced;
  padding-right: 5px;
  padding-left: 5px;
}

div.small-day-card.date {
  display: flex;
  width: 100%;
  justify-content: center;
}

div.small-day-card.year {
  width: 100%;
  margin-top: -3px;
  display: flex;
  justify-content: center;
}

div.small-day-card.light {
  border-radius: 3px;
  padding: 6px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
}

div.small-day-card.dark {
  border-radius: 3px;
  border-style: solid;
  border-color: #b5b5b5;
  border-width: 1px;
  padding: 6px;
}

.week-row2-child {
  padding: 10px;
}

div.week-cell-card.light {
  display: flex;
  justify-content: center;
  justify-self: center;
  background-color: white;
  font-size: 14px;
  border-color: #e0e0e0;
  padding: 5px;
  margin: 10px;
  font-weight: normal;
  border-radius: 10px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
}

div.week-cell-card.dark {
  display: flex;
  justify-content: center;
  justify-self: center;
  background-color: white;
  font-size: 14px;
  border-color: #e0e0e0;
  border-style: solid;
  border-width: 1px;
  margin: 10px;
  padding: 5px;
  font-weight: normal;
  border-radius: 10px;
}

div.date-cell-card.light {
  display: flex;
  justify-content: center;
  justify-self: center;
  background-color: white;
  font-size: 14px;
  border-color: #e0e0e0;
  padding: 10px;
  margin: 10px;
  font-weight: normal;
  border-radius: 10px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  width: 175px;
}

div.date-cell-card.dark {
  display: flex;
  justify-content: center;
  justify-self: center;
  background-color: white;
  font-size: 14px;
  border-color: #e0e0e0;
  border-style: solid;
  border-width: 1px;
  margin: 10px;
  padding: 10px;
  font-weight: normal;
  border-radius: 10px;
}

div.day-cell-card.light {
  display: flex;
  justify-content: center;
  justify-self: center;
  background-color: white;
  font-size: 22px;
  border-color: #e0e0e0;
  padding: 10px;
  padding-left: 15px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
}

div.day-cell-card.dark {
  display: flex;
  justify-content: center;
  justify-self: center;
  background-color: white;
  font-size: 14px;
  border-color: #e0e0e0;
  border-style: solid;
  border-width: 1px;
  margin: 10px;
  padding: 10px;
  padding-left: 15px;
  border-radius: 10px;
}

div.day-cell-card.day {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  border-style: solid;
  border-color: #e5e5e5;
  border-width: 1px;
  background-color: #fffced;
}

div.day-cell-card.date {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 10px;
  font-weight: bold;
}

img.cell-zoom {
  width: 30px;
  height: 30px;
}

span.date-time.event-light {
  color: var(--cellara-red-light-mode);
}
span.date-time.event-dark {
  color: var(--cellara-red-dark-mode);
}
span.date-time.memory-light {
  color: var(--cellara-gold-light-mode);
}
span.date-time.memory-dark {
  color: var(--cellara-gold-dark-mode);
}

div.main-cell-container {
  transition: var(--transition);
}
div.main-cell-container.small {
  width: 25vw;
  margin-right: 20px;
  margin-left: 20px;
}
div.main-cell-container.medium {
  max-width: 1200px;
  margin-right: 8px;
  margin-left: 8px;
  display: flex;
  justify-content: center;
}
div.main-cell-container.large {
  margin-right: 10px;
  margin-left: 10px;
}

div.main-cell-card {
  transition: var(--transition);
  grid-row: 2;
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  height: fit-content;
  width: 100%;
  border-radius: 10px;
  max-width: 840px;
  margin-right: 8px;
  padding: 5px;
  display: grid;
  position: relative;
  overscroll-behavior: none;
}
div.main-cell-card.read-light {
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
  font-weight: normal;
  box-shadow: 1px 1px 4px 0px #dde3ed;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
  color: var(--light-mode-text-body);
}
div.main-cell-card.edit-light {
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
  font-weight: normal;
  box-shadow: var(--light-mode-box-shadow);
}
div.main-cell-card.read-dark {
  background-color: var(--dark-mode-bg-light);
  border-color: black;
  color: var(--dark-mode-text-body);
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
  box-shadow: var(--dark-mode-box-shadow);
}
div.main-cell-card.edit-dark {
  background-color: var(--dark-mode-bg-light);
  border-color: black;
  color: var(--dark-mode-text-body);
  box-shadow: var(--dark-mode-box-shadow);
}
div.main-cell-card.file-read-light {
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
  font-weight: normal;
  box-shadow: 1px 1px 4px 0px #dde3ed;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
  color: var(--light-mode-text-body);
  padding: 2px;
}
div.main-cell-card.file-edit-light {
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
  font-weight: normal;
  box-shadow: var(--light-mode-box-shadow);
  padding: 2px;
}
div.main-cell-card.file-read-dark {
  background-color: var(--dark-mode-bg-light);
  border-color: black;
  color: var(--dark-mode-text-body);
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
  padding: 2px;
  box-shadow: var(--dark-mode-box-shadow);
}
div.main-cell-card.file-edit-dark {
  background-color: var(--dark-mode-bg-light);
  border-color: black;
  color: var(--dark-mode-text-body);
  padding: 2px;
  box-shadow: var(--dark-mode-box-shadow);
}
div.main-cell-card.file-read-light, div.main-cell-card.file-edit-light, div.main-cell-card.file-read-dark, div.main-cell-card.file-edit-dark {
  width: 100%;
  max-width: 100%;
}
div.main-cell-card.person-chat-active {
  max-width: none;
  width: 100%;
}

.main-cell-card.file-read-light .main-cell-name-container,
.main-cell-card.file-edit-light .main-cell-name-container,
.main-cell-card.file-read-dark .main-cell-name-container,
.main-cell-card.file-edit-dark .main-cell-name-container {
  text-align: left;
  justify-content: flex-start;
}

div.main-cell-top {
  width: 100%;
  display: grid;
  grid-template-columns: 45px auto min-content 45px;
  column-gap: 5px;
}
div.main-cell-top.person-header {
  grid-template-columns: 45px auto min-content min-content 45px;
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0;
  margin-bottom: 5px;
  border-radius: 24px 24px 0 0;
}
.dark div.main-cell-top.person-header {
  background: var(--dark-mode-bg-light);
}
.light div.main-cell-top.person-header {
  background: var(--light-mode-bg-light);
}
div.main-cell-top.contacts-header {
  grid-template-columns: 35px auto min-content min-content 45px;
  column-gap: 5px;
  align-items: center;
}
div.main-cell-top.contacts-header .main-cell-name-container {
  text-align: left;
  justify-content: flex-start;
  padding-left: 0px;
  font-size: 20px;
  transition: none;
}
div.main-cell-top.channels-header {
  grid-template-columns: 35px auto min-content min-content 45px;
  column-gap: 5px;
  align-items: center;
}
div.main-cell-top.channels-header .main-cell-name-container {
  text-align: left;
  justify-content: flex-start;
  padding-left: 0px;
  font-size: 20px;
  transition: none;
}
div.main-cell-top.channels-header > .add-contact-plus-btn,
div.main-cell-top.channels-header > button.edit-cell,
div.main-cell-top.channels-header > button.edit-item-active {
  display: none;
}
div.main-cell-top.home-header {
  grid-template-columns: 35px auto min-content 45px;
  column-gap: 5px;
  align-items: center;
}
div.main-cell-top.home-header .main-cell-name-container {
  text-align: left;
  justify-content: flex-start;
  padding-left: 0px;
  font-size: 20px;
  transition: none;
}
div.main-cell-top.history-header {
  grid-template-columns: 35px auto 1fr min-content;
  column-gap: 5px;
  align-items: start;
}
div.main-cell-top.history-header .main-cell-name-container {
  align-self: start;
  text-align: left;
  justify-content: flex-start;
  padding-left: 0px;
  font-size: 20px;
  transition: none;
}
div.main-cell-top.history-header .history-subheader {
  display: none;
}
div.main-cell-top.history-header .period-container {
  justify-self: center;
}
div.main-cell-top.history-header .period-container .period {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
div.main-cell-top.history-header .period-container .period-title {
  font-size: 16px;
}
div.main-cell-top.history-header .period-container .period-title-row2 {
  font-size: 14px;
  opacity: 0.6;
}
div.main-cell-top.history-header .period-selector {
  position: relative;
}
div.main-cell-top.history-header .period-selector button.period-selector {
  font-size: 13px;
  padding: 4px 10px;
}
div.main-cell-top.history-header .period-selector .period-selections {
  right: 0;
  left: auto;
}
div.main-cell-top.settings-header {
  grid-template-columns: 35px auto min-content 45px;
  column-gap: 5px;
  align-items: center;
}
div.main-cell-top.settings-header .main-cell-name-container {
  text-align: left;
  justify-content: flex-start;
  padding-left: 0px;
  font-size: 20px;
  transition: none;
}

.main-blob-card:has(.channels-header) > .main-cell-buttons,
.main-blob-card:has(.settings-header) > .main-cell-buttons {
  display: none;
}

div.main-cell-card:has(.main-blob),
div.main-cell-card:has(.channels-blob) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.add-contact-plus-btn {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  padding-bottom: 3px;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  background-color: transparent;
  cursor: pointer;
  margin-right: 0px;
}
.add-contact-plus-btn.light {
  transition: 0.51s ease-out;
  border-color: transparent;
  color: var(--light-mode-text-muted);
}
.add-contact-plus-btn.dark {
  transition: 0.51s ease-out;
  border-color: transparent;
  color: var(--dark-mode-text-muted);
}
.add-contact-plus-btn.light:hover {
  transition: transform 0.04s ease-out;
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
}
.add-contact-plus-btn.dark:hover {
  transition: transform 0.04s ease-out;
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-highlight);
}

div.main-cell-pop-up-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 55px;
  align-items: center;
}

div.main-cell-pop-up-buttons-right {
  display: flex;
  margin: 0px;
  padding: 0px;
}

div.main-cell-outside-buttons {
  width: 42px;
  margin-top: 10px;
}

div.main-cell-card.header {
  width: auto;
  display: flex;
  justify-content: center;
  padding: 0px;
  margin-top: 5px;
  margin-bottom: 5px;
  height: fit-content;
  border: none;
}
div.main-cell-card.header.file {
  height: 54px;
}

div.cell-name-container {
  height: fit-content;
  width: 100%;
  cursor: text;
}

div.cell-body.add {
  height: calc(100% - 45px);
}

div.main-cell-card-file-name {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.main-cell-contents {
  display: block;
  margin-bottom: 0px;
  transition: var(--transition);
}
div.main-cell-contents.simple-cell {
  display: block;
  margin-bottom: 0px;
}

div.add-cell-name-placeholder {
  position: absolute;
  padding: 8px;
  pointer-events: none;
  transition: var(--transition);
  font-size: 18px;
}
div.add-cell-name-placeholder.light {
  color: var(--light-mode-text-placeholder);
}
div.add-cell-name-placeholder.dark {
  color: var(--dark-mode-text-placeholder);
}
div.add-cell-name-placeholder.hide {
  height: 0px;
  color: transparent;
}

div.main-cell-optional- {
  display: flex;
  justify-content: center;
  width: 100%;
}

div.current-cell-controls {
  display: flex;
  flex-wrap: wrap;
}

div.change-size-button {
  margin: 0px;
  padding: 0px;
}

button.change-size {
  height: 45px;
  width: 45px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  user-select: none;
  background-color: transparent;
}
button.change-size.light {
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
  color: var(--light-mode-text-muted);
}
button.change-size.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
}
button.change-size.light:active {
  transition: transform 0.08s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
button.change-size.dark {
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-bg-dark-transparent);
  color: var(--dark-mode-text-muted);
}
button.change-size.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
  border-color: var(--dark-mode-bg-dark-transparent);
}
button.change-size.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}
button.change-size.hide {
  scale: 0;
  width: 0px;
}

div.edit-cell-button {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0px;
}

div.main-cell-optional-fields {
  width: 100%;
  margin-top: 0px;
  display: flex;
  justify-content: center;
  margin-bottom: 7px;
}

div.main-cell-card.body {
  transition: var(--transition);
  font-size: 14px;
  width: 100%;
  min-width: 0;
  font-weight: normal;
  height: 100%;
  padding-top: 5px;
  padding-left: 0;
  padding-right: 0;
  border: none;
  /* Reusable data table — base styles for all computed table views */
}
div.main-cell-card.body.patch-spec-card {
  height: auto;
}
div.main-cell-card.body.event {
  display: grid;
  grid-template-rows: auto 1fr;
  padding-top: 5px;
}
div.main-cell-card.body.memory {
  display: grid;
  grid-template-rows: auto 1fr;
  padding-top: 5px;
}
div.main-cell-card.body.to-do {
  display: grid;
  padding-top: 5px;
}
div.main-cell-card.body.code-deploy {
  padding: 12px 16px 16px;
}
div.main-cell-card.body.code-deploy .deploy-fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
div.main-cell-card.body.code-deploy .deploy-field {
  font-size: 13px;
}
div.main-cell-card.body.code-deploy .deploy-label {
  color: #999;
}
div.main-cell-card.body.code-deploy .deploy-pass {
  color: #69db7c;
  font-weight: 600;
}
div.main-cell-card.body.code-deploy .deploy-fail {
  color: #ff8787;
  font-weight: 600;
}
div.main-cell-card.body.code-deploy .deploy-deployer {
  color: #4dabf7;
}
div.main-cell-card.body.code-deploy .deploy-details pre {
  margin: 4px 0 0;
  white-space: pre-wrap;
  font-size: 12px;
}
div.main-cell-card.body.code-deploy pre.cs-code {
  font-family: monospace;
  font-size: 12px;
  color: #ccc;
  white-space: pre-wrap;
  line-height: 1.5;
  margin: 8px 0 0;
}
div.main-cell-card.body.code-deploy .rc-run-button {
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 12px;
  font-size: 12px;
  color: #ddd;
  background: #2a4d3a;
  border: 1px solid #3d6e54;
  border-radius: 3px;
  cursor: pointer;
}
div.main-cell-card.body.code-deploy .rc-run-button:hover:not(:disabled) {
  background: #355f48;
  border-color: #4d8a68;
}
div.main-cell-card.body.code-deploy .rc-run-button:disabled {
  opacity: 0.6;
  cursor: progress;
}
div.main-cell-card.body.code-deploy pre.rc-run-result {
  margin: 8px 0 0;
  padding: 8px 10px;
  font-family: monospace;
  font-size: 11px;
  white-space: pre-wrap;
  line-height: 1.4;
  background: #1a1a1a;
  border-radius: 3px;
  max-height: 240px;
  overflow: auto;
}
div.main-cell-card.body.code-deploy pre.rc-run-result.ok {
  color: #aaffaa;
  border-left: 2px solid #3d6e54;
}
div.main-cell-card.body.code-deploy pre.rc-run-result.error {
  color: #ffaaaa;
  border-left: 2px solid #b04848;
}
div.main-cell-card.body.code-deploy .computed-grid {
  display: grid;
  grid-template-columns: 1fr auto auto repeat(2, 70px);
  gap: 1px;
  font-size: 12px;
  margin-top: 8px;
}
div.main-cell-card.body.code-deploy .computed-grid > span {
  padding: 4px 8px;
}
div.main-cell-card.body.code-deploy .computed-grid .header {
  font-weight: 600;
  color: #999;
  border-bottom: 1px solid #444;
  text-transform: capitalize;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-name {
  color: #ddd;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-id {
  font-family: monospace;
  font-size: 11px;
  color: #888;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-num {
  text-align: right;
  color: #aaa;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-path {
  text-align: center;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-path.yes {
  color: #7ec87e;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-path.no {
  color: #555;
}
div.main-cell-card.body.code-deploy .computed-grid .cell-total {
  font-weight: 600;
  color: #ddd;
  border-top: 1px solid #444;
  text-align: right;
}
div.main-cell-card.body .data-table {
  display: grid;
  gap: 1px;
  font-size: 12px;
  margin-top: 8px;
  /* tool-registry: L | Name | Audience | Description — audience is a
     short group keyword or a few agent names; Description gets all
     remaining width. */
  /* live-agent-rails: Rail | Onramp | Entry EC | Steps | Status.
     Keep Rail + Onramp compact; give Entry EC and (especially) Steps the
     room so EC chip names sit on one line instead of wrapping. Status is a
     one-word tag. */
}
div.main-cell-card.body .data-table > span {
  padding: 4px 8px;
}
div.main-cell-card.body .data-table .header {
  font-weight: 600;
  color: #999;
  border-bottom: 1px solid #444;
}
div.main-cell-card.body .data-table .cell-total {
  font-weight: 600;
  color: #ddd;
  border-top: 1px solid #444;
}
div.main-cell-card.body .data-table .dt-name {
  color: #ddd;
  padding: 0 !important;
}
div.main-cell-card.body .data-table .cs-code {
  font-family: monospace;
  font-size: 11px;
  color: #999;
  white-space: pre-wrap;
  line-height: 1.4;
}
div.main-cell-card.body .data-table .dt-refs {
  font-size: 11px;
  color: #7ec87e;
}
div.main-cell-card.body .data-table .dt-layer {
  text-align: center;
  color: #7ec87e;
  font-size: 11px;
}
div.main-cell-card.body .data-table .dt-desc {
  font-size: 12px;
  color: #aaa;
}
div.main-cell-card.body .data-table.rc-inventory {
  grid-template-columns: 50px minmax(100px, auto) 1fr 1fr;
}
div.main-cell-card.body .data-table.tool-registry {
  grid-template-columns: 36px minmax(150px, max-content) minmax(90px, 200px) 1fr;
}
div.main-cell-card.body .data-table.live-agent-rails {
  grid-template-columns: minmax(120px, 0.85fr) minmax(110px, 0.95fr) minmax(150px, 1.4fr) minmax(190px, 1.9fr) 52px;
}
div.main-cell-card.body .rc-inventory-header {
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 12px;
  color: #aaa;
}
div.main-cell-card.body .rc-inventory-header .rc-inventory-hint {
  margin-bottom: 6px;
}
div.main-cell-card.body .rc-inventory-header .rc-inventory-hint code {
  color: #7ec87e;
  background: rgba(0, 0, 0, 0.2);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 11px;
}
div.main-cell-card.body .rc-inventory-header .rc-inventory-quickstart {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
div.main-cell-card.body .rc-inventory-header .rc-inventory-quickstart code {
  color: #88b8e8;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
}
div.main-cell-card.body.plan, div.main-cell-card.body.claude-plan {
  padding: 12px 16px 16px;
}
div.main-cell-card.body.plan .plan-body pre, div.main-cell-card.body.claude-plan .plan-body pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.5;
}
div.main-cell-card.body.workflow {
  padding: 12px 16px 16px;
}
div.main-cell-card.body.workflow .workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
div.main-cell-card.body.workflow .workflow-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(128, 128, 128, 0.18);
  border-radius: 9px;
  background: rgba(128, 128, 128, 0.04);
}
div.main-cell-card.body.workflow .workflow-step.human {
  border-color: rgba(255, 200, 80, 0.35);
  background: rgba(255, 200, 80, 0.06);
}
div.main-cell-card.body.workflow .workflow-step-num {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.5;
  min-width: 18px;
  text-align: right;
}
div.main-cell-card.body.workflow .workflow-step-rc-link {
  flex: 1 1 auto;
  min-width: 0;
}
div.main-cell-card.body.workflow .workflow-step-rc-link .linked-cell {
  margin: 0;
  padding: 4px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
div.main-cell-card.body.workflow .workflow-step-rc-missing {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 140, 140, 0.85);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.main-cell-card.body.workflow .workflow-step-fire-as {
  font-size: 12px;
  opacity: 0.7;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.12);
  white-space: nowrap;
}
div.main-cell-card.body.workflow .workflow-step-phase {
  font-size: 11px;
  opacity: 0.55;
  font-style: italic;
  text-transform: lowercase;
  white-space: nowrap;
}
div.main-cell-card.body.workflow .workflow-step-marker {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}
div.main-cell-card.body.workflow .workflow-step-pill {
  display: flex;
  align-items: center;
}
div.main-cell-card.body.workflow .workflow-step-desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
  flex-basis: 100%;
  margin-top: 4px;
}
div.main-cell-card.body.workflow .workflow-version-chain {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.7;
}
div.main-cell-card.body.qa {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
div.main-cell-card.body.qa .qa-prompt {
  padding: 12px 14px;
  border: 1px solid rgba(128, 128, 128, 0.18);
  border-radius: 9px;
  background: rgba(128, 128, 128, 0.04);
  font-size: 14px;
  line-height: 1.55;
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
}
div.main-cell-card.body.qa .qa-answer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
div.main-cell-card.body.qa .qa-answer-label {
  font-size: 12px;
  opacity: 0.6;
  font-weight: 500;
}
div.main-cell-card.body.qa .qa-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
div.main-cell-card.body.qa .qa-submit {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
  background: rgba(80, 140, 255, 0.12);
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}
div.main-cell-card.body.qa .qa-submit:hover:not(:disabled) {
  background: rgba(80, 140, 255, 0.22);
  border-color: rgba(80, 140, 255, 0.5);
}
div.main-cell-card.body.qa .qa-submit:disabled {
  opacity: 0.5;
  cursor: default;
}
div.main-cell-card.body .plan-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
div.main-cell-card.body .plan-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
div.main-cell-card.body .plan-status-pill {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.3);
  background: rgba(128, 128, 128, 0.08);
}
div.main-cell-card.body .plan-status-pill.status-drafting {
  background: rgba(255, 170, 80, 0.14);
  border-color: rgba(255, 170, 80, 0.4);
}
div.main-cell-card.body .plan-status-pill.status-ready {
  background: rgba(80, 200, 120, 0.12);
  border-color: rgba(80, 200, 120, 0.4);
}
div.main-cell-card.body .plan-status-pill.status-executing {
  background: rgba(80, 140, 255, 0.16);
  border-color: rgba(80, 140, 255, 0.45);
}
div.main-cell-card.body .plan-status-pill.status-done {
  background: rgba(128, 128, 128, 0.08);
  opacity: 0.7;
}
div.main-cell-card.body .plan-status-pill.status-archived {
  background: rgba(128, 128, 128, 0.05);
  opacity: 0.5;
}
div.main-cell-card.body .plan-status-pill.status-record {
  background: rgba(162, 155, 254, 0.14);
  border-color: rgba(162, 155, 254, 0.45);
  color: rgba(162, 155, 254, 0.95);
}
div.main-cell-card.body .plan-execute.is-record {
  opacity: 0.85;
  cursor: default;
  background: rgba(162, 155, 254, 0.12);
  border-color: rgba(162, 155, 254, 0.35);
}
div.main-cell-card.body .plan-phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 6px 2px 0;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.35);
  background: rgba(128, 128, 128, 0.08);
}
div.main-cell-card.body .plan-syncing-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-style: italic;
  color: rgba(128, 128, 128, 0.85);
  animation: plan-syncing-pulse 1.4s ease-in-out infinite;
}
@keyframes plan-syncing-pulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
div.main-cell-card.body .plan-executions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
}
div.main-cell-card.body .linked-qa-pill {
  display: inline-flex;
  align-items: center;
}
div.main-cell-card.body .linked-qa-pill .linked-qa-pill-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(80, 200, 120, 0.18);
  color: rgba(80, 200, 120, 0.95);
  border: 1px solid rgba(80, 200, 120, 0.4);
}
div.main-cell-card.body .linked-qa-record {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(240, 140, 200, 0.35);
  border-radius: 10px;
  background: rgba(240, 140, 200, 0.06);
}
div.main-cell-card.body .linked-qa-record-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.6;
  color: rgba(240, 140, 200, 0.95);
}
div.main-cell-card.body .linked-qa-record-prompt {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
}
div.main-cell-card.body .linked-qa-record-answer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  background: rgba(80, 200, 120, 0.08);
  border-left: 2px solid rgba(80, 200, 120, 0.55);
  border-radius: 4px;
}
div.main-cell-card.body .linked-qa-record-answer-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.55;
}
div.main-cell-card.body .linked-qa-record-answer-text {
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
div.main-cell-card.body .linked-qa-record-chip {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(80, 200, 120, 0.14);
  border: 1px solid rgba(80, 200, 120, 0.4);
  color: rgba(80, 200, 120, 0.95);
}
div.main-cell-card.body .plan-body-markdown {
  min-width: 0;
  max-width: 100%;
  overflow-x: visible;
}
div.main-cell-card.body .plan-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
}
div.main-cell-card.body .plan-timeline-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.65;
}
div.main-cell-card.body .plan-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  /* Faint vertical rail on the left to thread the steps together */
}
div.main-cell-card.body .plan-timeline-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 1px;
  background: rgba(128, 128, 128, 0.18);
  pointer-events: none;
}
div.main-cell-card.body .plan-timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
}
div.main-cell-card.body .plan-timeline-marker {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.3);
  background: rgba(20, 20, 30, 0.85);
  font-size: 11px;
  position: relative;
  z-index: 1;
}
div.main-cell-card.body .plan-timeline-item.kind-qa .plan-timeline-marker {
  border-color: rgba(240, 140, 200, 0.5);
  background: rgba(240, 140, 200, 0.12);
}
div.main-cell-card.body .plan-timeline-item.kind-execution .plan-timeline-marker {
  border-color: rgba(80, 140, 255, 0.45);
  background: rgba(80, 140, 255, 0.14);
}
div.main-cell-card.body .plan-timeline-item.kind-origin .plan-timeline-marker {
  border-color: rgba(180, 180, 180, 0.45);
  background: rgba(180, 180, 180, 0.12);
}
div.main-cell-card.body .plan-timeline-origin {
  padding: 10px 12px;
  background: rgba(128, 128, 128, 0.06);
  border: 1px solid rgba(128, 128, 128, 0.15);
  border-radius: 8px;
}
div.main-cell-card.body .plan-timeline-origin-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
div.main-cell-card.body .plan-timeline-origin-text {
  font-size: 13px;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.85;
}
div.main-cell-card.body .plan-timeline-body {
  min-width: 0;
}
div.main-cell-card.body .plan-timeline-empty {
  font-size: 13px;
  opacity: 0.55;
  font-style: italic;
  padding: 12px 0 0 32px;
}
div.main-cell-card.body .plan-executions-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.65;
}
div.main-cell-card.body .plan-executions-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
div.main-cell-card.body .plan-executions-empty {
  font-size: 13px;
  opacity: 0.55;
  font-style: italic;
  padding: 4px 0;
}
div.main-cell-card.body .plan-execute {
  align-self: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(80, 140, 255, 0.55);
  border-radius: 8px;
  background: rgba(80, 140, 255, 0.85);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}
div.main-cell-card.body .plan-execute:hover:not(:disabled) {
  background: rgb(80, 140, 255);
  border-color: rgba(80, 140, 255, 0.8);
}
div.main-cell-card.body .plan-execute:disabled {
  opacity: 0.6;
  cursor: default;
}
div.main-cell-card.body .plan-execute.is-executing {
  opacity: 1;
  cursor: not-allowed;
  border-color: rgba(80, 140, 255, 0.7);
  background: rgba(80, 140, 255, 0.22);
  animation: plan-execute-pulse 1.8s ease-in-out infinite;
}
div.main-cell-card.body .plan-archive {
  align-self: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
  background: rgba(128, 128, 128, 0.08);
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}
div.main-cell-card.body .plan-archive:hover:not(:disabled) {
  background: rgba(128, 128, 128, 0.18);
  border-color: rgba(128, 128, 128, 0.5);
}
div.main-cell-card.body .plan-archive:disabled {
  opacity: 0.5;
  cursor: default;
}
@keyframes plan-execute-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(80, 140, 255, 0.55);
    background: rgba(80, 140, 255, 0.22);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(80, 140, 255, 0);
    background: rgba(80, 140, 255, 0.34);
  }
}
div.main-cell-card.body .plan-error {
  color: #e74c3c;
  font-size: 12px;
  padding: 4px 0;
}
div.main-cell-card.body .plan-open-questions {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(240, 140, 200, 0.35);
  border-radius: 12px;
  background: rgba(240, 140, 200, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
div.main-cell-card.body .plan-open-questions-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.75;
}
div.main-cell-card.body .qa-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(128, 128, 128, 0.04);
  border: 1px solid rgba(128, 128, 128, 0.15);
  border-radius: 8px;
  text-align: left;
}
div.main-cell-card.body .qa-inline .qa-inline-prompt {
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
div.main-cell-card.body .qa-inline .qa-inline-answer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
div.main-cell-card.body .qa-inline .qa-inline-label {
  font-size: 11px;
  opacity: 0.55;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
div.main-cell-card.body .qa-inline .qa-inline-textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
  font-family: inherit;
  resize: vertical;
}
div.main-cell-card.body .qa-inline .qa-inline-textarea:focus {
  outline: none;
  border-color: rgba(80, 140, 255, 0.55);
}
div.main-cell-card.body .qa-inline .qa-inline-answered {
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(80, 200, 120, 0.08);
  border-left: 2px solid rgba(80, 200, 120, 0.55);
  border-radius: 4px;
  white-space: pre-wrap;
}
div.main-cell-card.body .qa-inline .qa-inline-error {
  color: #e74c3c;
  font-size: 12px;
  padding: 2px 0;
}
div.main-cell-card.body .qa-inline .qa-inline-actions {
  display: flex;
  justify-content: flex-end;
}
div.main-cell-card.body .qa-inline .qa-inline-submit {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(80, 140, 255, 0.45);
  border-radius: 6px;
  background: rgba(80, 140, 255, 0.16);
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease-out;
}
div.main-cell-card.body .qa-inline .qa-inline-submit:hover:not(:disabled) {
  background: rgba(80, 140, 255, 0.28);
}
div.main-cell-card.body .qa-inline .qa-inline-submit:disabled {
  opacity: 0.5;
  cursor: default;
}
div.main-cell-card.body .qa-inline .qa-inline-submitted {
  font-size: 12px;
  padding: 4px 0;
  opacity: 0.75;
}
div.main-cell-card.body .active-plans-header {
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
  margin-bottom: 12px;
}
div.main-cell-card.body .active-plans-hint {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.5;
}
div.main-cell-card.body .active-plans-hint code {
  padding: 1px 6px;
  background: rgba(128, 128, 128, 0.12);
  border-radius: 4px;
  font-size: 12px;
}
div.main-cell-card.body .active-plans-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
div.main-cell-card.body .active-plans-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
div.main-cell-card.body .active-plans-status {
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.3);
}
div.main-cell-card.body .active-plans-status.status-ready {
  background: rgba(80, 200, 120, 0.12);
  border-color: rgba(80, 200, 120, 0.4);
}
div.main-cell-card.body .active-plans-status.status-executing {
  background: rgba(80, 140, 255, 0.16);
  border-color: rgba(80, 140, 255, 0.45);
}
div.main-cell-card.body .active-plans-status.status-drafting {
  background: rgba(255, 170, 80, 0.14);
  border-color: rgba(255, 170, 80, 0.4);
}
div.main-cell-card.body .active-plans-status.status-awaiting-answer {
  background: rgba(240, 140, 200, 0.14);
  border-color: rgba(240, 140, 200, 0.4);
}
div.main-cell-card.body .active-plans-empty {
  font-size: 13px;
  opacity: 0.55;
  font-style: italic;
  padding: 12px 0;
}
div.main-cell-card.body .active-plans-empty code {
  padding: 1px 6px;
  background: rgba(128, 128, 128, 0.12);
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
}

div.main-cell-card.footer {
  grid-row: 3/4;
  display: flex;
  justify-content: flex-end;
  border: none;
}

div.main-cell-date-and-time {
  width: 100%;
  display: flex;
  justify-content: center;
  font: caption;
}
div.main-cell-date-and-time.read {
  padding-bottom: 5px;
}

div.main-cell-event-date {
  display: flex;
  align-items: center;
}

div.main-cell-event-date-text {
  text-align: center;
  font-size: 14px;
  margin-left: 5px;
  margin-right: 5px;
}

div.main-cell-event-time {
  display: flex;
  align-items: center;
  width: 110px;
}

div.main-cell-event-time-text {
  text-align: center;
  font-size: 14px;
  margin-left: 5px;
  margin-right: 5px;
}

div.slide-blocks {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100px;
  padding: 8px 0;
}
div.slide-blocks > button.linked-cell {
  align-self: flex-start;
}
div.slide-blocks .drag-drag-target {
  box-shadow: none !important;
}

div.cell-grid.home div.indoor-followers div.linked-cell-display {
  align-items: stretch;
}

div.cell-grid.home div.indoor-followers button.linked-cell {
  width: 100%;
  justify-content: flex-start;
}

div.slide-text-block {
  padding: 8px 12px;
  min-height: 1.5em;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
div.slide-text-block.edit {
  outline: none;
  border-radius: 4px;
  cursor: text;
  padding: 3px 7px;
}
div.slide-text-block.edit:focus {
  background-color: rgba(128, 128, 128, 0.08);
}
div.slide-text-block.edit:empty::before {
  content: "Type text here...";
  color: var(--light-mode-text-placeholder);
}
div.slide-text-block.edit.dark:empty::before {
  color: var(--dark-mode-text-placeholder);
}
div.slide-text-block.read {
  cursor: default;
}

.workstream-workflow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 14px;
  background: rgba(128, 128, 128, 0.05);
  border: 1px solid rgba(128, 128, 128, 0.18);
  border-radius: 10px;
}
.workstream-workflow .workstream-workflow-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.7;
}
.workstream-workflow .workstream-workflow-icon {
  font-size: 13px;
  opacity: 0.6;
}
.workstream-workflow .workstream-workflow-name {
  flex: 1;
}
.workstream-workflow .workstream-workflow-count {
  font-size: 11px;
  opacity: 0.5;
  font-weight: 400;
}
.workstream-workflow .workstream-workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.workstream-workflow .workstream-workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  opacity: 0.55;
  transition: background 0.15s ease-out, opacity 0.15s ease-out;
}
.workstream-workflow .workstream-workflow-step.active {
  background: rgba(80, 140, 255, 0.1);
  border-color: rgba(80, 140, 255, 0.35);
  opacity: 1;
}
.workstream-workflow .workstream-workflow-step.running {
  background: rgba(80, 140, 255, 0.12);
  border-color: rgba(80, 140, 255, 0.45);
  opacity: 1;
}
.workstream-workflow .workstream-workflow-step.done {
  opacity: 0.85;
}
.workstream-workflow .workstream-workflow-step.failed {
  background: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.45);
  opacity: 1;
}
.workstream-workflow .workstream-workflow-step.stuck {
  background: rgba(241, 196, 15, 0.1);
  border-color: rgba(241, 196, 15, 0.55);
  opacity: 1;
}
.workstream-workflow .workstream-workflow-status-icon {
  font-size: 14px;
  line-height: 1.2;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  opacity: 0.85;
}
.workstream-workflow .workstream-workflow-status-icon.status-running {
  color: rgba(80, 180, 255, 0.95);
  animation: workstream-step-pulse 1.4s ease-in-out infinite;
}
.workstream-workflow .workstream-workflow-status-icon.status-done {
  color: rgba(80, 200, 120, 0.95);
}
.workstream-workflow .workstream-workflow-status-icon.status-failed {
  color: rgba(231, 76, 60, 0.95);
}
.workstream-workflow .workstream-workflow-status-icon.status-stuck {
  color: rgba(241, 196, 15, 0.95);
  animation: workstream-step-pulse 1.8s ease-in-out infinite;
}
.workstream-workflow .workstream-workflow-status-icon.status-pending {
  color: rgba(160, 160, 160, 0.55);
}
@keyframes workstream-step-pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.workstream-workflow .workstream-workflow-step-elapsed {
  font-size: 11px;
  opacity: 0.65;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.workstream-workflow .workstream-workflow-step-artifact {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.7;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.workstream-workflow .workstream-workflow-step-arrow {
  opacity: 0.5;
}
.workstream-workflow .workstream-workflow-step-artifact-name {
  font-style: italic;
  opacity: 0.85;
}
.workstream-workflow .workstream-workflow-step-error {
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 12px;
  background: rgba(231, 76, 60, 0.1);
  border-left: 2px solid rgba(231, 76, 60, 0.6);
  border-radius: 4px;
  color: rgba(231, 76, 60, 0.95);
}
.workstream-workflow .workstream-workflow-step-stuck {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.workstream-workflow .workstream-workflow-step-stuck-hint {
  font-size: 12px;
  padding: 4px 8px;
  background: rgba(241, 196, 15, 0.08);
  border-left: 2px solid rgba(241, 196, 15, 0.55);
  border-radius: 4px;
  color: rgba(241, 196, 15, 0.95);
}
.workstream-workflow .workstream-workflow-retrigger {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(241, 196, 15, 0.6);
  border-radius: 6px;
  background: rgba(241, 196, 15, 0.15);
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease-out;
}
.workstream-workflow .workstream-workflow-retrigger:hover {
  background: rgba(241, 196, 15, 0.28);
}
.workstream-workflow .workstream-workflow-marker {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.workstream-workflow .workstream-workflow-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.workstream-workflow .workstream-workflow-step-label {
  font-size: 13px;
  font-weight: 500;
}
.workstream-workflow .workstream-workflow-step-cursor {
  color: rgba(80, 140, 255, 0.85);
  font-weight: 600;
}
.workstream-workflow .workstream-workflow-step-desc {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.4;
}

.linked-qa-inline {
  display: block;
  margin: 4px 0;
  max-width: 560px;
}
.linked-qa-inline .qa-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: 8px;
  text-align: left;
  color: inherit;
}
.linked-qa-inline .qa-inline-prompt {
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.linked-qa-inline .qa-inline-answer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.linked-qa-inline .qa-inline-label {
  font-size: 11px;
  opacity: 0.6;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.linked-qa-inline .qa-inline-textarea {
  width: 100%;
  min-height: 64px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  font-family: inherit;
  resize: vertical;
}
.linked-qa-inline .qa-inline-textarea:focus {
  outline: none;
  border-color: rgba(80, 140, 255, 0.6);
}
.linked-qa-inline .qa-inline-answered {
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(80, 200, 120, 0.1);
  border-left: 2px solid rgba(80, 200, 120, 0.6);
  border-radius: 4px;
  white-space: pre-wrap;
}
.linked-qa-inline .qa-inline-error {
  color: #e74c3c;
  font-size: 12px;
  padding: 2px 0;
}
.linked-qa-inline .qa-inline-actions {
  display: flex;
  justify-content: flex-end;
}
.linked-qa-inline .qa-inline-submit {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(80, 140, 255, 0.5);
  border-radius: 6px;
  background: rgba(80, 140, 255, 0.18);
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease-out;
}
.linked-qa-inline .qa-inline-submit:hover:not(:disabled) {
  background: rgba(80, 140, 255, 0.3);
}
.linked-qa-inline .qa-inline-submit:disabled {
  opacity: 0.5;
  cursor: default;
}

.slide-cell-block-edit-wrapper {
  display: flex;
  align-items: center;
  cursor: grab;
  margin: 0;
}
.slide-cell-block-edit-wrapper:active {
  cursor: grabbing;
}

.slide-cell-block-missing {
  font-style: italic;
  opacity: 0.5;
  padding: 6px 12px;
}

div.slide-text-block-wrapper.edit {
  position: relative;
  border-radius: 4px;
  margin: 0;
}
div.slide-text-block-wrapper.edit:hover > .slide-text-block-remove, div.slide-text-block-wrapper.edit:hover > .slide-text-block-drag {
  opacity: 1;
}
div.slide-text-block-wrapper.edit:hover > .slide-text-block.edit {
  background-color: rgba(128, 128, 128, 0.08);
}

.slide-text-block-remove {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(128, 128, 128, 0.15);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color: rgba(128, 128, 128, 0.6);
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.15s;
}
.slide-text-block-remove:hover {
  background-color: rgba(128, 128, 128, 0.25);
  color: rgba(128, 128, 128, 0.9);
}

.slide-text-block-drag {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(128, 128, 128, 0.15);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  color: rgba(128, 128, 128, 0.6);
  font-size: 16px;
  cursor: grab;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.15s;
}
.slide-text-block-drag:active {
  cursor: grabbing;
}
.slide-text-block-drag:hover {
  background-color: rgba(128, 128, 128, 0.25);
}

div.slide-drop-zone {
  height: 0;
  margin: 0 8px;
  position: relative;
  z-index: 2;
  transition: height 100ms ease-out, background-color 100ms ease-out;
  border-radius: 4px;
}
div.slide-drop-zone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  bottom: -16px;
}
div.slide-drop-zone.active {
  height: 28px;
  background-color: rgba(48, 130, 113, 0.18);
  overflow: hidden;
}

div.slide-empty-hint {
  text-align: center;
  padding: 20px;
  font-size: 14px;
}
div.slide-empty-hint.light {
  color: var(--light-mode-text-placeholder);
}
div.slide-empty-hint.dark {
  color: var(--dark-mode-text-placeholder);
}

div.workstream-action-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0 12px 0;
}

button.workstream-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}
button.workstream-primary:hover:not(:disabled) {
  filter: brightness(1.1);
}
button.workstream-primary:active:not(:disabled) {
  transform: translateY(1px);
}
button.workstream-primary:disabled {
  cursor: default;
  opacity: 0.7;
}
button.workstream-primary.approve-prompt {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
button.workstream-primary.execute {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
button.workstream-primary.force-execute {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
  color: white;
  font-size: 13px;
  padding: 6px 12px;
}
button.workstream-primary.is-executing {
  background: rgba(251, 146, 60, 0.25);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.4);
}
button.workstream-primary.is-done {
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
button.workstream-primary.is-failed {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: white;
}
button.workstream-primary.is-archived {
  background: rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

button.workstream-archive {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
  cursor: pointer;
  transition: background 0.15s;
}
button.workstream-archive:hover {
  background: rgba(148, 163, 184, 0.22);
}

div.workstream-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 13px;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

div.workstream-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

div.workstream-error {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-size: 13px;
}

div.workstream-display-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  opacity: 0.95;
}

.style-guide-cell-host {
  display: block;
  width: 100%;
  min-width: 0;
}

.pitch-cell,
.pitch-cell .pitch-play-cluster,
.pitch-cell .pitch-hz-label,
.pitch-cell .pitch-play-button,
.keyboard-cell,
.keyboard-cell .keyboard-controls,
.keyboard-cell .keyboard-instrument-control,
.keyboard-cell .keyboard-octave-control,
.keyboard-cell .keyboard-octave-slider,
.keyboard-cell .keyboard-pad,
.keyboard-cell .keyboard-pad-label-wrap,
.keyboard-cell .keyboard-pad-label,
.keyboard-cell .keyboard-pad-button,
.harmony-cell,
.harmony-cell .harmony-note-label-wrap,
.harmony-cell .harmony-note-label,
.harmony-cell .harmony-play-button,
.progression-cell,
.progression-cell .progression-controls,
.progression-cell .progression-step,
.progression-cell .progression-step-label-wrap,
.progression-cell .progression-step-button,
.progression-cell .progression-play-toggle,
.progression-cell .progression-beat-chip {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.pitch-cell .pitch-play-cluster,
.pitch-cell .pitch-play-button,
.keyboard-cell .keyboard-pad-button,
.harmony-cell .harmony-play-button,
.progression-cell .progression-step-button,
.progression-cell .progression-play-toggle {
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.pitch-cell .pitch-play-button,
.keyboard-cell .keyboard-pad-button,
.harmony-cell .harmony-play-button,
.progression-cell .progression-step-button,
.progression-cell .progression-play-toggle {
  -webkit-user-drag: none;
}

.keyboard-cell {
  width: 100%;
}

.harmony-cell {
  width: 100%;
}

.progression-cell {
  width: 100%;
}

.keyboard-cell-shell {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.harmony-cell-shell {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.progression-cell-shell {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.harmony-note-grid {
  width: min(100%, 430px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.harmony-note-label-wrap {
  position: relative;
  width: fit-content;
  max-width: 88px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.harmony-play-button {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.62);
  background: rgba(40, 40, 42, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.harmony-play-button.light {
  background: #ffffff;
  border-color: var(--light-mode-border);
}

.harmony-play-button .custom-channel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.harmony-empty {
  font-size: 13px;
  font-weight: 650;
  opacity: 0.7;
}

.keyboard-controls {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: minmax(118px, 150px) minmax(180px, 1fr);
  align-items: end;
  gap: 12px;
}

.progression-controls {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: minmax(78px, auto) minmax(118px, 1fr) minmax(76px, 92px) minmax(70px, auto);
  align-items: end;
  gap: 10px;
}

.progression-sound-control,
.progression-bpm-control,
.progression-octave-control,
.progression-loop-control {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progression-loop-control {
  height: 34px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: end;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.78;
}

.progression-bpm-input {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(128, 128, 128, 0.32);
  background: rgba(22, 22, 22, 0.82);
  color: #f5f1ea;
  font-size: 14px;
  font-weight: 650;
  padding: 0 8px;
}

.progression-controls.light .progression-bpm-input {
  background: #ffffff;
  color: #0c0310;
}

.progression-octave-control {
  grid-column: 2/-1;
}

.progression-play-toggle {
  min-width: 0;
  border: 1px solid rgba(128, 128, 128, 0.32);
  background: rgba(40, 40, 42, 0.96);
  color: #f5f1ea;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 800;
}

.progression-play-toggle.light {
  background: #ffffff;
  color: #0c0310;
  border-color: var(--light-mode-border);
}

.progression-play-toggle.main {
  height: 34px;
  border-radius: 8px;
  padding: 0 10px;
}

.progression-play-toggle.playing {
  border-color: rgba(25, 187, 138, 0.78);
  box-shadow: 0 0 16px rgba(25, 187, 138, 0.28);
}

.progression-play-toggle.disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.progression-play-symbol {
  line-height: 1;
}

.progression-play-label {
  font-size: 13px;
  line-height: 1;
}

.progression-journey {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 2px 8px 8px;
  scroll-snap-type: x proximity;
}

.progression-step {
  width: 92px;
  min-width: 92px;
  display: grid;
  grid-template-rows: 30px 24px 66px;
  justify-items: center;
  align-items: center;
  gap: 6px;
  scroll-snap-align: center;
  position: relative;
}

.progression-step::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -18px;
  width: 24px;
  border-top: 1px solid rgba(128, 128, 128, 0.32);
}

.progression-step:last-child::after {
  display: none;
}

.progression-step-label-wrap {
  position: relative;
  width: fit-content;
  max-width: 86px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progression-beat-chips {
  display: flex;
  justify-content: center;
  gap: 3px;
  width: 100%;
}

.progression-beat-chip {
  width: 17px;
  height: 19px;
  border-radius: 6px;
  border: 1px solid rgba(128, 128, 128, 0.24);
  background: rgba(128, 128, 128, 0.16);
  color: inherit;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.progression-beat-chip.selected {
  border-color: rgba(25, 187, 138, 0.74);
  background: rgba(25, 187, 138, 0.22);
}

.progression-step-button {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.62);
  background: rgba(40, 40, 42, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.progression-step-button.light {
  background: #ffffff;
  border-color: var(--light-mode-border);
}

.progression-step-button.disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.progression-step-button .custom-channel-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progression-empty {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.72;
}

.progression-pad-meta {
  width: 100%;
  margin-top: 5px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.58;
}

.keyboard-instrument-control,
.keyboard-octave-control {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.keyboard-control-label,
.keyboard-octave-value {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.72;
}

.keyboard-instrument-select {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(128, 128, 128, 0.32);
  background: rgba(22, 22, 22, 0.82);
  color: #f5f1ea;
  font-size: 14px;
  font-weight: 650;
  padding: 0 28px 0 10px;
}

.keyboard-controls.light .keyboard-instrument-select {
  background: #ffffff;
  color: #0c0310;
}

.keyboard-octave-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.keyboard-octave-slider {
  width: 100%;
  margin: 0;
  accent-color: #19bb8a;
}

.keyboard-octave-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.66;
  text-align: center;
}

.keyboard-pad-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 80px));
  justify-content: center;
  align-items: start;
  gap: 18px 10px;
}

.keyboard-octave-sections {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.keyboard-octave-section {
  width: 100%;
  min-width: 0;
}

.keyboard-octave-divider {
  width: min(100%, 390px);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(128, 128, 128, 0.82);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.keyboard-octave-divider::before,
.keyboard-octave-divider::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid rgba(128, 128, 128, 0.28);
}

.keyboard-sample-prewarmer {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.keyboard-pad {
  width: 80px;
  min-width: 0;
  position: relative;
}

.keyboard-cell .keyboard-pad.edit {
  opacity: 1;
  scale: 1;
}

.keyboard-pad-label-wrap {
  position: relative;
  width: fit-content;
  max-width: 80px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.keyboard-pad-label-wrap > .remove-connection.hidden {
  pointer-events: none;
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content,
.harmony-note-label-wrap > button.linked-cell.blob-content,
.progression-step-label-wrap > button.linked-cell.blob-content {
  width: fit-content;
  max-width: 78px;
  height: 30px;
  min-height: 0;
  padding: 0;
  border-radius: 8px;
  overflow: visible;
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.keyboard-pad-label,
.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.harmony.keyboard-pad-label,
.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.progression.keyboard-pad-label,
.harmony-note-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.harmony-note-label,
.progression-step-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.progression-step-label,
.progression-step-label-wrap > button.linked-cell.blob-content > .linked-cell.harmony.progression-step-label {
  width: fit-content;
  max-width: 78px;
  min-width: 0;
  min-height: 0;
  height: 30px;
  margin: 0;
  padding: 0 6px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: normal;
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.keyboard-pad-label.light,
.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.harmony.keyboard-pad-label.light,
.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.progression.keyboard-pad-label.light,
.harmony-note-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.harmony-note-label.light,
.progression-step-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.progression-step-label.light,
.progression-step-label-wrap > button.linked-cell.blob-content > .linked-cell.harmony.progression-step-label.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-light);
  color: #575859;
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.keyboard-pad-label.dark,
.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.harmony.keyboard-pad-label.dark,
.keyboard-pad-label-wrap > button.linked-cell.blob-content > .linked-cell.progression.keyboard-pad-label.dark,
.harmony-note-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.harmony-note-label.dark,
.progression-step-label-wrap > button.linked-cell.blob-content > .linked-cell.pitch.progression-step-label.dark,
.progression-step-label-wrap > button.linked-cell.blob-content > .linked-cell.harmony.progression-step-label.dark {
  border-color: black;
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.pitch.keyboard-pad-label.light,
.keyboard-pad-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.harmony.keyboard-pad-label.light,
.keyboard-pad-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.progression.keyboard-pad-label.light,
.harmony-note-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.pitch.harmony-note-label.light,
.progression-step-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.pitch.progression-step-label.light,
.progression-step-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.harmony.progression-step-label.light {
  box-shadow: var(--light-mode-box-shadow);
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.pitch.keyboard-pad-label.dark,
.keyboard-pad-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.harmony.keyboard-pad-label.dark,
.keyboard-pad-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.progression.keyboard-pad-label.dark,
.harmony-note-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.pitch.harmony-note-label.dark,
.progression-step-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.pitch.progression-step-label.dark,
.progression-step-label-wrap > button.linked-cell.blob-content:hover > .linked-cell.harmony.progression-step-label.dark {
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-highlight);
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content:active > .linked-cell.pitch.keyboard-pad-label,
.keyboard-pad-label-wrap > button.linked-cell.blob-content:active > .linked-cell.harmony.keyboard-pad-label,
.keyboard-pad-label-wrap > button.linked-cell.blob-content:active > .linked-cell.progression.keyboard-pad-label,
.harmony-note-label-wrap > button.linked-cell.blob-content:active > .linked-cell.pitch.harmony-note-label,
.progression-step-label-wrap > button.linked-cell.blob-content:active > .linked-cell.pitch.progression-step-label,
.progression-step-label-wrap > button.linked-cell.blob-content:active > .linked-cell.harmony.progression-step-label {
  transform: scale(0.98);
}

.keyboard-pad-label-wrap .linked-cell.pitch.keyboard-pad-label > .cell-icon,
.keyboard-pad-label-wrap .linked-cell.harmony.keyboard-pad-label > .cell-icon,
.keyboard-pad-label-wrap .linked-cell.progression.keyboard-pad-label > .cell-icon,
.harmony-note-label-wrap .linked-cell.pitch.harmony-note-label > .cell-icon,
.progression-step-label-wrap .linked-cell.pitch.progression-step-label > .cell-icon,
.progression-step-label-wrap .linked-cell.harmony.progression-step-label > .cell-icon {
  display: none;
}

.keyboard-pad-label-wrap .linked-cell.pitch.keyboard-pad-label > .linked-cell-name,
.keyboard-pad-label-wrap .linked-cell.harmony.keyboard-pad-label > .linked-cell-name,
.keyboard-pad-label-wrap .linked-cell.progression.keyboard-pad-label > .linked-cell-name,
.harmony-note-label-wrap .linked-cell.pitch.harmony-note-label > .linked-cell-name,
.progression-step-label-wrap .linked-cell.pitch.progression-step-label > .linked-cell-name,
.progression-step-label-wrap .linked-cell.harmony.progression-step-label > .linked-cell-name {
  flex: 0 1 auto;
  max-width: 100%;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content > .remove-connection,
.harmony-note-label-wrap > button.linked-cell.blob-content > .remove-connection,
.progression-step-label-wrap > button.linked-cell.blob-content > .remove-connection {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  left: auto;
  right: -9px;
  top: -8px;
  transform: none;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.keyboard-pad-label-wrap > button.linked-cell.blob-content > .remove-connection.hidden,
.harmony-note-label-wrap > button.linked-cell.blob-content > .remove-connection.hidden,
.progression-step-label-wrap > button.linked-cell.blob-content > .remove-connection.hidden {
  pointer-events: none;
}

.keyboard-pad-label {
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 30px !important;
  box-sizing: border-box;
  line-height: 1;
  font-size: 13px !important;
  font-weight: 650;
  border-style: solid;
  border-width: 1px;
  border-radius: 8px;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.keyboard-pad-label.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-light);
  color: #575859;
}

.keyboard-pad-label.dark {
  border-color: black;
  background-color: var(--dark-mode-bg-light);
  color: var(--text-white);
}

.keyboard-pad-link {
  font: inherit;
  color: inherit;
  cursor: pointer;
  margin: 0;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.keyboard-pad-link.light:active,
.keyboard-pad-link.dark:active {
  transform: scale(0.98);
}

.keyboard-pad-link.light:hover {
  box-shadow: var(--light-mode-box-shadow);
}

.keyboard-pad-link.dark:hover {
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-highlight);
}

.keyboard-pad-link:focus-visible {
  outline: 2px solid rgba(25, 187, 138, 0.78);
  outline-offset: 3px;
}

.keyboard-pad-play-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keyboard-pad-base-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  line-height: 1;
  opacity: 0.62;
}

.keyboard-pad-button {
  justify-self: center;
}

.keyboard-pad-button.disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.keyboard-pad-button .custom-channel-icon {
  pointer-events: none;
}

.keyboard-empty {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.72;
}
.keyboard-empty.light {
  color: #505d75;
}
.keyboard-empty.dark {
  color: #f4f0eb;
}

@media (max-width: 360px) {
  .keyboard-controls {
    grid-template-columns: 1fr;
  }
  .progression-controls {
    grid-template-columns: 1fr 1fr;
  }
  .progression-octave-control {
    grid-column: 1/-1;
  }
  .keyboard-pad-grid {
    grid-template-columns: repeat(3, minmax(0, 80px));
  }
}
.deploy-log-grid {
  display: grid;
  grid-template-columns: minmax(120px, max-content) minmax(80px, max-content) minmax(90px, max-content) 1fr;
  align-items: center;
  column-gap: 16px;
  font-size: 13px;
  margin-top: 4px;
}
.deploy-log-grid .deploy-log-cell {
  min-width: 0;
  overflow: hidden;
  padding: 7px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}
.deploy-log-grid .deploy-col-head {
  position: sticky;
  top: 0;
  z-index: 1;
  font-weight: 600;
  opacity: 0.6;
  white-space: nowrap;
}
.deploy-log-grid .deploy-when {
  white-space: nowrap;
  color: var(--cellara-dark-grey);
  cursor: pointer;
}
.deploy-log-grid .deploy-who {
  white-space: nowrap;
  color: var(--cellara-blue);
  cursor: pointer;
}
.deploy-log-grid .deploy-pass {
  color: #69db7c;
  font-weight: 600;
}
.deploy-log-grid .deploy-fail {
  color: #ff8787;
  font-weight: 600;
}
.deploy-log-grid .deploy-version {
  color: var(--cellara-dark-grey);
}
.deploy-log-grid .deploy-version-col {
  white-space: nowrap;
  cursor: pointer;
}
.deploy-log-grid .deploy-chip-col {
  overflow: visible;
  cursor: pointer;
}
.deploy-log-grid .deploy-chip-col .linked-cell {
  max-width: 100%;
}
.deploy-log-grid .deploy-chip-col .linked-cell-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deploy-log-grid .deploy-cell-col {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
}
.deploy-log-grid .deploy-cell-summary {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deploy-log-grid .deploy-summary {
  cursor: pointer;
}
.deploy-log-grid .deploy-summary-collapsed {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.deploy-log-view.dark .deploy-log-grid .deploy-col-head {
  background: var(--dark-mode-bg-light);
}

.deploy-log-view.light .deploy-log-grid .deploy-col-head {
  background: var(--light-mode-bg-light);
}

* > .pfp-id {
  clip-path: ellipse();
  height: 40px;
  width: 40px;
  margin-right: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.main-cell-card.header.person {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.linked-cell.person {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}

.linked-cell.person.agent-presence-online::after, .linked-cell.person.agent-presence-stale-version::after, .linked-cell.person.agent-presence-offline::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(15, 15, 15, 0.85);
  z-index: 2;
  pointer-events: none;
  top: calc(50% + 10px);
  left: 30px;
}
.linked-cell.person.agent-presence-online::after {
  background: transparent;
  box-shadow: none;
}
.linked-cell.person.agent-presence-stale-version::after {
  background: #dcb432;
}
.linked-cell.person.agent-presence-offline::after {
  background: #dc4646;
}
.linked-cell.person.agent-presence-offline .linked-cell-name {
  opacity: 0.6;
}

.avatar-beam-slot {
  position: relative;
  display: flex;
  flex-shrink: 0;
  margin: 2px 5px 2px 0;
}
.avatar-beam-slot > .person-avatar {
  margin: 0;
}

.messages-row {
  position: relative;
}
.messages-row.agent-presence-online::before, .messages-row.agent-presence-stale-version::before, .messages-row.agent-presence-offline::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(15, 15, 15, 0.85);
  z-index: 2;
  pointer-events: none;
  top: calc(50% + 15px);
  left: 51px;
}
.messages-row.agent-presence-online::before {
  background: transparent;
  box-shadow: none;
}
.messages-row.agent-presence-stale-version::before {
  background: #dcb432;
}
.messages-row.agent-presence-offline::before {
  background: #dc4646;
}
.messages-row.agent-presence-offline .messages-row--name {
  opacity: 0.6;
}
.messages-row.agent-presence-online:has(.unread)::before, .messages-row.agent-presence-stale-version:has(.unread)::before, .messages-row.agent-presence-offline:has(.unread)::before {
  background: #3cc878;
  box-shadow: 0 0 0 2px rgba(15, 15, 15, 0.85);
}

.channel.agent-presence-online::before, .channel.agent-presence-stale-version::before, .channel.agent-presence-offline::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(15, 15, 15, 0.85);
  z-index: 2;
  pointer-events: none;
  top: 60px;
  left: 50px;
}
.channel.agent-presence-online::before {
  background: transparent;
  box-shadow: none;
}
.channel.agent-presence-stale-version::before {
  background: #dcb432;
}
.channel.agent-presence-offline::before {
  background: #dc4646;
}
.channel.agent-presence-offline .channel-name {
  opacity: 0.6;
}

.person-avatar {
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: avatar-fade-in 200ms ease-in;
}

.person-avatar.chat-pfp img {
  animation: none;
}

@keyframes avatar-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.person-avatar-initials {
  background-color: #e0622a;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  user-select: none;
}

.person-avatar-large {
  width: 60px;
  height: 60px;
  font-size: 22px;
  margin-right: 12px;
}

.person-avatar-small {
  width: 40px;
  height: 40px;
  font-size: 15px;
  margin-right: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.person-avatar-messages {
  width: 50px;
  height: 50px;
  font-size: 18px;
}

.person-avatar.chat-pfp {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.person-avatar-linked-cell {
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  font-size: 9px;
  margin-left: 4px;
  margin-right: 6px;
}

.person-avatar.person-avatar-linked-cell img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.person-top-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 8px;
}

.person-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.person-email-field {
  font-size: 13px;
  color: #888;
}
.light .person-email-field {
  color: #666;
}

.person-photo-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: #999;
  border: 1px solid #444;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  margin-top: 4px;
}
.person-photo-upload:hover {
  border-color: #888;
  color: #ccc;
}
.light .person-photo-upload {
  color: #666;
  border-color: #ccc;
}
.light .person-photo-upload:hover {
  border-color: #999;
  color: #333;
}

.person-photo-upload-hidden {
  display: none;
}

.person-icon-photo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.person-icon-photo-area .pfp-id {
  height: 40px !important;
  width: 40px !important;
  min-height: 40px;
  min-width: 40px;
  max-height: 40px;
  max-width: 40px;
  object-fit: cover;
  flex: 0 0 40px;
  margin: 0;
}
.person-icon-photo-area .person-photo-change .person-photo-upload {
  padding: 2px 6px;
  font-size: 9px;
  margin-top: 0;
  white-space: nowrap;
}

.person-email-section {
  margin-top: 16px;
  border-top: 1px solid #333;
  padding-top: 12px;
}
.light .person-email-section {
  border-top-color: #e0e0e0;
}

.person-email-header {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.light .person-email-header {
  color: #666;
}

.main-cell-card.person .main-cell-name-container,
.main-cell-card.agent .main-cell-name-container {
  text-align: left;
  justify-content: flex-start;
}

.person-tab-slider {
  display: flex;
  gap: 0;
  align-items: center;
  margin: 0 0 5px 0;
}

.person-tab {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  color: #888;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
  white-space: nowrap;
}
.person-tab:hover {
  color: #ccc;
}
.person-tab.active {
  color: #fff;
  border-bottom-color: #e0622a;
}
.light .person-tab {
  color: #999;
}
.light .person-tab:hover {
  color: #333;
}
.light .person-tab.active {
  color: #111;
  border-bottom-color: #e0622a;
}

.person-info-view {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.person-info-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.person-info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.person-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
}
.light .person-info-label {
  color: #999;
}

.person-info-value {
  font-size: 14px;
  color: #ddd;
}
.light .person-info-value {
  color: #333;
}
.person-info-value a {
  color: #67b5c9;
  text-decoration: none;
}
.person-info-value a:hover {
  text-decoration: underline;
}

.person-info-input {
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid #444;
  border-radius: 4px;
  background: transparent;
  color: #ddd;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.person-info-input:focus {
  border-color: #e0622a;
}
.light .person-info-input {
  border-color: #ccc;
  color: #333;
}
.light .person-info-input:focus {
  border-color: #e0622a;
}

.person-info-empty {
  font-size: 13px;
  color: #666;
  font-style: italic;
}
.light .person-info-empty {
  color: #aaa;
}

.person-shared-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person-shared-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.person-shared-section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-top: 4px;
}
.light .person-shared-section-label {
  color: #999;
}

.person-shared-empty {
  font-size: 13px;
  color: #666;
  font-style: italic;
  padding: 16px 0;
  text-align: center;
}
.light .person-shared-empty {
  color: #aaa;
}

.person-chat-inline {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.person-chat-inline .chat-capp--body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

.linked-cell.person.pending {
  cursor: default;
}
.linked-cell.person.pending .person-avatar-initials {
  background-color: #888;
}

.person-avatar-initials.pending {
  background-color: #888;
}

.main-icon.pending svg.cell-icon path {
  fill: #888;
}

.person-name-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pending-label {
  font-size: 10px;
  color: #888;
  font-style: italic;
  padding-left: 3px;
}

.add-contact-btn {
  width: 40px !important;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  padding: 0 !important;
  border-style: solid !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}
.add-contact-btn:hover {
  opacity: 1;
}

.add-contact-plus {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.dark .add-contact-plus {
  color: #fff;
}

.add-contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-contact-popup {
  width: 340px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 201;
}
.add-contact-popup.dark {
  background: var(--card-background-dark-mode);
  color: #fff;
  border: 1px solid var(--card-border-dark-mode);
}
.add-contact-popup__header {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.add-contact-popup__result {
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 13px;
}
.add-contact-popup__result.success {
  background: #e8f5e9;
  color: #2e7d32;
}
.add-contact-popup__result.error {
  background: #fce4ec;
  color: #c62828;
}
.dark .add-contact-popup__result.success {
  background: #1b5e20;
  color: #a5d6a7;
}
.dark .add-contact-popup__result.error {
  background: #b71c1c;
  color: #ef9a9a;
}
.add-contact-popup__body {
  margin-bottom: 16px;
}
.add-contact-popup__body .recipient-picker__input {
  width: 100%;
  box-sizing: border-box;
}
.add-contact-popup__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.add-contact-popup__cancel, .add-contact-popup__submit {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.add-contact-popup__cancel {
  background: #e0e0e0;
  color: #333;
}
.dark .add-contact-popup__cancel {
  background: #444;
  color: #ccc;
}
.add-contact-popup__cancel:hover {
  background: #d0d0d0;
}
.dark .add-contact-popup__cancel:hover {
  background: #555;
}
.add-contact-popup__submit {
  background: var(--cellara-blue);
  color: #fff;
}
.add-contact-popup__submit:hover {
  opacity: 0.9;
}
.add-contact-popup__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.person-avatar-presence {
  width: 28px;
  height: 28px;
  font-size: 11px;
}
.person-avatar-presence.typing {
  animation: presence-typing-pulse 1s ease-in-out infinite;
  box-shadow: 0 0 0 2px var(--cellara-green);
}

@keyframes presence-typing-pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
.follow-mode-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(0, 200, 255, 0.15);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 6px;
  font-size: 12px;
  color: #0cf;
  margin-right: 8px;
}

.follow-stop-btn {
  background: transparent;
  border: 1px solid rgba(0, 200, 255, 0.4);
  color: #0cf;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
}
.follow-stop-btn:hover {
  background: rgba(0, 200, 255, 0.2);
}

.follow-btn {
  color: #888;
}
.follow-btn.following {
  color: #0cf;
}

.presence-viewers {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.person-chat-embedded {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 250px);
  min-height: 300px;
  overflow: hidden;
}
.person-chat-embedded > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.person-chat-embedded .chat-header {
  display: none;
}
.person-chat-embedded .chat-capp-card > .main-cell-buttons {
  display: none;
}
.person-chat-embedded .chat-edit-recipients {
  display: none;
}
.person-chat-embedded .chat-capp-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: none !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  overflow: hidden;
}
.person-chat-embedded .chat-capp--body {
  flex: 1;
  min-height: 0;
}

.person-chat-empty {
  font-size: 13px;
  color: #666;
  font-style: italic;
  padding: 40px 0;
  text-align: center;
  margin: auto 0;
}
.light .person-chat-empty {
  color: #aaa;
}

div.event-date {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
  margin-top: -10px;
}

div.connected-event-time {
  color: #b12f41;
}

.no-event-on-date-main-cell {
  display: none;
}

.chat-capp-member-pfps {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.chat-capp-member-pfps > * {
  clip-path: ellipse();
  background: darkseagreen;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-name {
  text-transform: capitalize;
  margin-right: 7px;
  margin-left: 7px;
}

div.flow-quadrant {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

div.sub-quadrant.rest {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 150px;
}

div.sub-quadrant.right {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
}

div.sub-quadrant.left {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
}

div.cell-grid {
  display: grid;
  grid-template-rows: 110px auto;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 840px) minmax(0, 1fr);
  column-gap: 12px;
  min-height: 95vh;
}

div.cell-grid-header {
  grid-column: 1/-1;
  grid-row: 1/2;
  height: 110px;
  position: sticky;
  top: 0;
  z-index: 10;
}

div.parent-container {
  grid-column: 1/2;
  grid-row: 2/3;
  justify-self: end;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 200px;
  min-width: 150px;
  overflow: hidden;
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

div.child-container {
  grid-column: 3/4;
  grid-row: 2/3;
  justify-self: start;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 200px;
  overflow: hidden;
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

div.main-container {
  grid-column: 2/3;
  grid-row: 2/3;
  display: flex;
  justify-content: center;
}

div.item-grid-bottom,
div.core-controls {
  grid-column: 1/-1;
}

div.parent-container div.parent-cells,
div.parent-container div.flow-quadrant,
div.parent-container div.sub-quadrant,
div.parent-container div.linked-cells-group,
div.parent-container div.linked-cells-section,
div.parent-container div.linked-cell-display,
div.child-container div.child-cells,
div.child-container div.flow-quadrant,
div.child-container div.sub-quadrant,
div.child-container div.linked-cells-group,
div.child-container div.linked-cells-section,
div.child-container div.linked-cell-display {
  max-width: 100%;
  min-width: 0;
}

div.parent-container button.linked-cell,
div.child-container button.linked-cell {
  max-width: 100%;
}

div.parent-container div.parent-cells,
div.child-container div.child-cells {
  padding-inline: 10px;
}

div.parent-container div.linked-cell-display,
div.child-container div.linked-cell-display {
  row-gap: 12px;
}

div.cell-grid.chat {
  grid-template-columns: minmax(150px, 1fr) minmax(0, 800px) minmax(0, 1fr);
  padding: 0 16px;
}

div.cell-grid.file,
div.cell-grid.history,
div.cell-grid.indoor,
div.cell-grid.person-chat-active {
  padding: 0 16px;
}

div.cell-grid.history {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  padding: 0 clamp(96px, 7vw, 128px);
}
div.cell-grid.history > div.main-container {
  grid-column: 1/-1;
  justify-content: center;
  width: 100%;
}
div.cell-grid.history div.main-cell,
div.cell-grid.history div.the-great-filter,
div.cell-grid.history div.the-great-filter > div,
div.cell-grid.history div.main-cell-card,
div.cell-grid.history div.main-blob,
div.cell-grid.history div.main-blob-card {
  width: 100%;
  max-width: 2000px;
  box-sizing: border-box;
}
div.cell-grid.history div.main-blob,
div.cell-grid.history div.main-blob-card {
  clip-path: none;
  overflow: visible;
}

div.cell-grid.messages div.parent-container,
div.cell-grid.calendar div.parent-container,
div.cell-grid.search div.parent-container,
div.cell-grid.history div.parent-container,
div.cell-grid.messages div.child-container,
div.cell-grid.calendar div.child-container,
div.cell-grid.search div.child-container,
div.cell-grid.history div.child-container {
  display: none;
}

div.cell-grid.messages:has(.messages-wide) {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  padding: 0;
  min-height: 0;
  height: 100vh;
  overflow: hidden;
}
div.cell-grid.messages:has(.messages-wide) > div.main-container {
  grid-column: 1/-1;
}
div.cell-grid.messages:has(.messages-wide) div.main-cell-card:not(.body),
div.cell-grid.messages:has(.messages-wide) div.main-blob,
div.cell-grid.messages:has(.messages-wide) div.main-blob-card {
  border: none !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  padding: 0;
  margin: 0;
  max-width: none;
  min-height: 0;
}
div.cell-grid.messages:has(.messages-wide) .messages-cell-body {
  position: fixed;
  top: 110px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 2000px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
}
div.cell-grid.messages:has(.messages-wide) .messages-cell-body.dark {
  background-color: var(--dark-mode-bg-light);
}
div.cell-grid.messages:has(.messages-wide) .messages-cell-body.light {
  background-color: var(--light-mode-bg-light);
}

div.cell-grid.chat div.child-container,
div.cell-grid.file div.child-container,
div.cell-grid.history div.child-container,
div.cell-grid.person-chat-active div.child-container {
  min-width: 0;
}

div.cell-grid.indoor div.parent-container {
  align-items: flex-start;
}

div.core-controls {
  display: flex;
  justify-content: center;
}

div.core-controls-middle.chat {
  width: 100%;
}

div.channels-container {
  transition: var(--transition);
}
div.channels-container.edit {
  scale: 0;
}

div.parent-cells,
div.child-cells {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px 0 220px;
  width: 100%;
}
div.parent-cells.large,
div.child-cells.large {
  height: 0;
  transform: scale(0);
}

div.main-cell {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
}

div.main-container.chat > div.main-cell,
div.main-container.file > div.main-cell,
div.main-container.history > div.main-cell,
div.cell-grid.person-chat-active div.main-cell {
  margin: 0;
  width: 100%;
}

div.main-container.chat > div.main-cell {
  max-width: 800px;
}

div.the-great-filter {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-bottom: 150px;
}
div.the-great-filter.chat {
  height: 100%;
  min-height: unset;
  padding-bottom: 0;
  align-items: flex-start;
}
div.the-great-filter.file {
  height: 100%;
  padding-bottom: 30px;
  align-items: flex-start;
}
div.the-great-filter.tall-content {
  align-items: flex-start;
  padding-bottom: 90px;
}
div.the-great-filter.history {
  align-items: flex-start;
}

div.main-container.chat div.the-great-filter,
div.main-container.file div.the-great-filter,
div.main-container.history div.the-great-filter,
div.cell-grid.person-chat-active div.the-great-filter {
  width: 100%;
}

div.cell-grid.person-chat-active div.the-great-filter {
  min-height: unset;
  padding-bottom: 0;
}

div.the-great-filter.chat > div,
div.the-great-filter.file > div,
div.the-great-filter.history > div {
  width: 100%;
}

div.item-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 20px;
  min-height: 100%;
}

div.item-grid-top {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 90px;
  width: 100%;
  transition: var(--transition);
}
div.item-grid-top.large {
  height: 10px;
  transform: scale(0);
}

div.item-grid-middle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: 100%;
  margin-bottom: 10px;
}

div.item-grid-middle-left,
div.item-grid-middle-right {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: var(--transition);
}
div.item-grid-middle-left.large,
div.item-grid-middle-right.large {
  height: 0;
  transform: scale(0);
}

div.item-grid-middle-left {
  grid-column: 1/2;
  justify-content: flex-end;
}

div.item-grid-middle-right {
  grid-column: 3/4;
  justify-content: flex-start;
}

div.item-grid-middle-main {
  grid-column: 2/3;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  transition: var(--transition);
}

div.item-grid-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  user-select: none;
  transition: var(--transition);
}
div.item-grid-bottom.large {
  transform: scale(0);
}

div.indoor-followers {
  margin: 8px 0 0;
  padding: 12px 13px 9px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0 0 9px 9px;
}
div.indoor-followers:empty {
  display: none;
}
div.indoor-followers .linked-cells-group {
  padding: 4px 0;
}
div.indoor-followers .linked-cell-display {
  flex-direction: column;
  align-items: flex-start;
}
div.indoor-followers .linked-cell-display:has(button.linked-cell > .linked-cell.file) {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

input.search,
.search-contenteditable {
  border-width: 1px;
  border-style: solid;
}
input.search.light,
.search-contenteditable.light {
  border-color: var(--light-mode-border);
}

#search-input {
  font-size: 15px;
  padding: 10px;
  padding-right: 40px;
  padding-left: 15px;
  height: 50px;
  width: 300px;
  border-radius: 45px;
}

#search-input[contenteditable] {
  outline: none;
  -webkit-user-select: text;
  white-space: nowrap;
  overflow: hidden;
}
#search-input[contenteditable].light, #search-input[contenteditable].dark {
  line-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}

div.search-for-connection {
  margin: 5px;
  border-radius: 5px;
}

div.search-for-connection.bar {
  display: flex;
  justify-content: center;
}

div.search-box {
  display: flex;
  justify-content: center;
  border-radius: 45px;
  z-index: 99;
}

div.search-box.light > div > input,
div.search-box.light > div > .search-contenteditable {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
}

div.search-box.dark > div > input,
div.search-box.dark > div > .search-contenteditable {
  border-color: var(--dark-mode-border);
}

div.search-bar {
  margin-top: 20px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}
div.search-bar:hover {
  transition: var(--transition);
  transform: scale(1.02);
}
#search-input.light {
  background-color: white;
}
#search-input.dark {
  border-color: black;
  border-right-radius: 0px;
  background-color: var(--dark-mode-bg-highlight);
  color: var(--dark-mode-text-body);
}

/* v1.1-w6-t5: search icon box intentionally 24px */
div.search-icon-container {
  pointer-events: none;
  width: 28px;
  height: 28px;
  position: absolute;
  right: 13px;
}
div.search-icon-container.light {
  color: var(--button-text-light-mode);
}
div.search-icon-container.dark {
  color: var(--dark-mode-text-body);
}

button.search {
  z-index: 90;
  margin-left: -30px;
  padding-left: 3px;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 0px;
  border-top-right-radius: 45px;
  border-bottom-right-radius: 45px;
}
button.search.light {
  box-shadow: 1px 1px 2px 0px #dde3ed;
  font-size: 20px;
  color: #7e8ca8;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
  border-left-color: #dde3ed;
}
button.search.dark {
  color: white;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-color: black;
}
button.search.light:active {
  box-shadow: inset 0px 0px 2px #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  transition: var(--transition);
  transform: scale(0.95);
  border-width: 0px;
}
button.search.dark:active {
  transition: var(--transition);
  transform: scale(0.95);
  background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
}

div.search-selections.no-results {
  opacity: 0;
  z-index: -1;
  height: 0px;
  pointer-events: none;
  position: absolute;
}

div.search {
  position: relative;
  opacity: 1;
  transition: var(--transition);
  z-index: 66;
  display: grid;
  grid-template-rows: auto;
}
div.search.hide {
  transform: scaley(0);
}

div.search.collapsed,
div.search.expanded {
  position: static;
  transform: none;
  left: auto;
  margin-top: 0;
  display: grid;
  grid-template-rows: auto;
}

div.search .search-channel-btn {
  display: grid;
  grid-template-rows: 30px 40px;
  width: 80px;
  cursor: pointer;
  user-select: none;
}
div.search .search-channel-btn .channel-name {
  justify-self: center;
}
div.search .search-channel-btn button.channel {
  justify-self: center;
  transition: box-shadow 0.3s ease;
}
div.search .search-channel-btn button.channel svg {
  width: 28px;
  height: 28px;
}

div.search.expanded .search-channel-btn button.channel {
  box-shadow: 0 0 8px 2px rgba(212, 175, 55, 0.5);
}

div.search .search-expanded {
  position: absolute;
  top: 100%;
  left: 0;
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  z-index: 66;
  pointer-events: none;
}

div.search.expanded .search-expanded {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

div.search.search-hide {
  opacity: 0;
  transition: var(--transition);
}

div.search.edit {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

div.search-selections {
  width: max-content;
  min-width: 300px;
  max-width: 60vw;
  transition: var(--transition);
  transform-origin: top;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  margin-top: 42px;
  padding: 5px;
  border-radius: 1em;
  border-style: solid;
}
div.search-selections.light {
  position: absolute;
  left: 0;
  color: #7e8ca8;
  border-width: 1px;
  border-color: var(--light-mode-border);
  box-shadow: var(--light-mode-box-shadow);
  background-color: var(--light-mode-bg-darkest-transparent);
  margin-top: 70px;
}
div.search-selections.dark {
  position: absolute;
  left: 0;
  color: #7e8ca8;
  border-width: 1px;
  border-color: black;
  background-color: var(--dark-mode-bg-darkest-transparent);
  margin-top: 70px;
}

div.search-selections.some {
  transform: scaleY(0);
  transform-origin: top;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: column;
  padding-top: 3px;
  padding-right: 5px;
  padding-left: 5px;
  max-height: 10000px;
}

div.search-selections.some.expanded-search-results {
  transform: scaleY(1);
  transform-origin: top;
}

div.search-selections.fade {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: column;
  padding-top: 13px;
  padding-right: 5px;
  padding-left: 5px;
}

div.search-selection {
  min-height: 30px;
  opacity: 1;
  border-width: 0px;
  padding: 1px;
  transition: none;
  display: flex;
}

.search-selection.kbd-highlight {
  box-shadow: 0px 1px 5px 1px var(--cellara-blue);
}

div.editor-container.RichEditor-root {
  border-width: 0px;
  margin: 0px;
  height: 100%;
}

.editor {
  box-sizing: border-box;
  --border: 1px solid #ddd;
  cursor: text;
  padding: 16px;
  border-radius: 2px;
  margin-bottom: 2em;
  --box-shadow: inset 0px 1px 8px -4px #ABABAB;
  --background: #fefefe;
  width: 100%;
  overflow-y: scroll;
}

/* editor controls section  */
/* https://codepen.io/AvanthikaMeenakshi/pen/MWWpOJz */
.RichEditor-root {
  background: #fff;
  border: 1px solid #ddd;
  font-family: "Georgia", serif;
  font-size: 14px;
  height: 100%;
}

.RichEditor-editor {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  cursor: text;
  font-size: 14px;
  padding-top: 0px;
  margin: 0px;
  margin-top: -1px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 0px;
  overflow: visible;
  transition: height ease-out 1.33s;
  width: 100%;
  height: auto;
}

.RichEditor-editor .public-DraftEditorPlaceholder-root,
.RichEditor-editor .public-DraftEditor-content {
  margin: 0px -15px 0px;
  padding: 10px;
}

.RichEditor-editor .public-DraftEditor-content {
  --overflow: auto;
}

/* Phase 2 — maddox-only Pretext-rendered note display.
   Browser does no wrapping; each .pretext-note-line is its own block.
   Left accent stripe so maddox can identify maxi-mode surfaces at a glance. */
.editor-container.pretext-note {
  /* .editor-container default is display:flex (line 188 below); override
     so paragraphs stack vertically inside this Pretext-rendered note. */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
  padding-right: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: normal;
  /* Relative so Stage 2 overlay children (caret + selection rects) can
     absolute-position against the container's line-span coordinate space. */
  position: relative;
}
.editor-container.pretext-note .pretext-note-paragraph {
  margin: 0;
  padding: 4px 0;
}
.editor-container.pretext-note .pretext-note-paragraph.blank {
  min-height: 22px;
}
.editor-container.pretext-note .pretext-note-line {
  display: block;
  white-space: pre;
}

/* Stage 2 overlay primitives. Absolute-positioned inside any Pretext
   container that marks itself `position: relative`. Colors are theme-
   aware via a small hand-rolled media query; Stage 5+ will move theme
   state to the composition root. */
.pretext-caret {
  position: absolute;
  width: 2px;
  background: #2563eb; /* blue-600 — light-mode default */
  pointer-events: none;
  animation: pretext-caret-blink 1.06s steps(2, end) infinite;
}

.dark .pretext-caret {
  background: #60a5fa; /* blue-400 */
}

@keyframes pretext-caret-blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
.pretext-selection-rect {
  position: absolute;
  background: rgba(37, 99, 235, 0.18);
  pointer-events: none;
  border-radius: 1px;
}

.dark .pretext-selection-rect {
  background: rgba(96, 165, 250, 0.22);
}

/* Pretext-native editor — plain textarea. Inherits .pretext-note for the
   green stripe + padding + font. Width is set inline from the Pretext
   tight-wrap measurement; the browser wraps natively at that width. */
/* Contenteditable-div editor. Browser owns caret/selection/input; our
   imperative DOM inserts atomic @-mention spans. */
div.pretext-editor {
  background: transparent;
  color: inherit;
  border: 0;
  outline: none;
  padding: 8px;
  width: 100%;
  min-height: 120px;
  box-sizing: border-box;
  /* Wrap like a textarea: preserve newlines + spaces, break long words. */
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: break-word;
  /* Keep caret nice and visible; suppress the default focus box. */
  caret-color: currentColor;
  /* Placeholder — we render it via a CSS attribute selector on
     data-placeholder so no extra DOM is needed. Only shows when the
     contenteditable is empty (no child nodes of substance). */
  /* @-mention atoms — inherits .cell-inline-link colour/cursor. The
     `user-select: all` bit makes double-click select the whole mention
     rather than landing caret inside (contenteditable=false already
     prevents caret-in-span, this just refines selection UX). */
  /* --- Inline markdown styling (true WYSIWYG) ---------------------------
     Markers are NOT in the DOM. Storage still serializes to markdown
     (`**bold**`, `## heading`, …); humans only see styled content.
     Caret flows through real text only — no grey hashmarks. */
  /* [text](url) — label only; URL on title/data-md-url. */
  /* --- Line-level markdown wrappers ---
     Each styled line is an inline <span class="md-line md-*"> so caret
     offsets stay flat. Explicit "\n" text nodes between sibling wrappers
     visually break lines via `white-space: pre-wrap` on the root.
     Prefix tokens live in data-md-prefix (serializer). List bullets/numbers
     are contenteditable=false `.md-chrome` spans (not CSS ::before — that
     pollutes innerText / caret math). */
  /* shared anchor; per-kind styles below */
}
div.pretext-editor:focus {
  outline: none;
}
div.pretext-editor:empty::before {
  content: attr(data-placeholder);
  color: #999;
  font-style: italic;
  opacity: 0.7;
  pointer-events: none;
}
div.pretext-editor .cell-inline-link {
  user-select: all;
  display: inline;
}
div.pretext-editor .md-marker {
  /* Legacy safety: if an old paint left markers around, hide them. */
  display: none !important;
}
div.pretext-editor .md-bold .md-inner,
div.pretext-editor .md-bold {
  font-weight: 700;
}
div.pretext-editor .md-italic .md-inner,
div.pretext-editor .md-italic {
  font-style: italic;
}
div.pretext-editor .md-code .md-inner,
div.pretext-editor .md-code {
  font-family: "Menlo", "Monaco", "Consolas", monospace;
  font-size: 0.92em;
  background: rgba(128, 128, 128, 0.12);
  padding: 1px 3px;
  border-radius: 3px;
}
div.pretext-editor .md-link .md-link-text,
div.pretext-editor .md-link {
  color: #3b82f6;
  text-decoration: underline;
}
div.pretext-editor .md-h1 {
  font-size: 1.55em;
  font-weight: 700;
  line-height: 1.25;
}
div.pretext-editor .md-h2 {
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.3;
}
div.pretext-editor .md-h3 {
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.35;
}
div.pretext-editor .md-chrome {
  /* Human list chrome — not selectable as “content”, not in source. */
  user-select: none;
  pointer-events: none;
  font-weight: 600;
  color: inherit;
}
div.pretext-editor .md-bullet .md-chrome {
  font-weight: 700;
}
div.pretext-editor .md-quote {
  color: #888;
  font-style: italic;
  border-left: 3px solid rgba(128, 128, 128, 0.45);
  padding-left: 0.55em;
  margin-left: 0.1em;
}
@media (max-width: 600px) {
  div.pretext-editor {
    font-size: 16px !important;
  }
}

/* Right-click format menu — intentional, pointer-anchored popup for users
   who don't know markdown. Shares the card look with .cell-link-autocomplete. */
.md-format-menu {
  position: fixed;
  z-index: 1000;
  background: var(--dark-mode-bg-mid, #222);
  border: 1px solid var(--dark-mode-border, #333);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  user-select: none;
}
.md-format-menu .md-format-row {
  display: flex;
  gap: 2px;
}
.light .md-format-menu {
  background: var(--light-mode-bg-light, #fff);
  border: 1px solid var(--light-mode-border, #ddd);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.md-format-menu .md-format-btn {
  appearance: none;
  background: transparent;
  color: inherit;
  border: 0;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.md-format-menu .md-format-btn:hover {
  background: rgba(128, 128, 128, 0.15);
}

.public-DraftEditor-content {
  height: auto;
  overflow: visible;
}

div.DraftEditor-root.DraftEditor-root {
  position: initial;
}

.RichEditor-hidePlaceholder .public-DraftEditorPlaceholder-root {
  display: none;
}

.RichEditor-editor .RichEditor-blockquote {
  border-left: 5px solid #eee;
  color: #666;
  font-family: "Hoefler Text", "Georgia", serif;
  font-style: italic;
  margin: 16px 0;
  padding: 10px 20px;
}

.RichEditor-editor .public-DraftStyleDefault-pre {
  background-color: rgba(0, 0, 0, 0.05);
  filter: invert(30%); /* makes blackish text whiteish text to solve light vs dark mode */
  font-family: "Inconsolata", "Menlo", "Consolas", monospace;
  font-size: 12px;
  padding: 5px;
  padding-left: 10px;
  margin-bottom: 0px;
}

.RichEditor-controls {
  font-family: "Helvetica", sans-serif;
  --font-size: 14px;
  user-select: none;
}

.RichEditor-styleButton {
  color: #999;
  cursor: pointer;
  padding: 2px 0;
  display: inline-block;
}

.RichEditor-activeButton {
  color: #5890ff;
}

div.main-editor-container {
  transition: var(--transition);
}
div.main-editor-container.edit {
  min-height: 40px;
  width: 100%;
}
div.main-editor-container.hide {
  min-height: 0px;
  height: 0px;
}

.editor-container {
  width: 100%;
  height: 100%;
  margin: 0px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  border-radius: 7px;
  min-height: inherit;
  transition: var(--transition-out);
  display: flex;
}
.editor-container.empty {
  margin-top: 0px;
  height: 0px;
  border-width: 0px;
  transition: none;
}
.editor-container.light:active {
  transition: var(--transition-in);
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
}
.editor-container.light:hover {
  transition: var(--transition-in);
  background-color: var(--light-mode-bg-highlight);
  border-color: var(--light-mode-bg-darkest-transparent);
}
.editor-container.dark:active {
  transition: var(--transition-in);
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-bg-darkest-transparent);
}
.editor-container.dark:hover {
  transition: var(--transition-in);
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-bg-dark-transparent);
}

.editor-medium-height {
  overflow-x: hidden;
  max-width: 90vw;
}

.editor-large-height {
  max-height: 612px;
}

.DraftEditor-editorContainer.DraftEditor-editorContainer {
  z-index: 0;
}

div.edit-event-body {
  width: 100%;
}

div.edit-event-body-placeholder {
  position: absolute;
}

div.meta-link-type-options {
  display: grid;
  grid-template-areas: "label middle value" "label middle value" "label middle value";
  grid-template-columns: auto 1em auto;
}

label.meta-link-type-options-label {
  grid-column-start: label;
  grid-column-end: label;
}

div.meta-link-type-name {
  grid-column-start: value;
  grid-column-end: value;
}

input.meta-link-type-options-input {
  grid-column-start: value;
  grid-column-end: value;
}

select.meta-link-type-options-select {
  grid-column-start: value;
  grid-column-end: value;
}

div.meta-link-type-options-select {
  grid-column-start: value;
  grid-column-end: value;
}

div.meta-link-type-reverse-name {
  grid-column-start: value;
  grid-column-end: value;
}

svg.channel-icon {
  scale: 0.85;
  min-height: 28px;
  min-width: 28px;
}

.custom-channel-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-channel-icon svg {
  width: 100%;
  height: 100%;
}

.channel-avatar {
  width: 40px;
  height: 40px;
  overflow: hidden;
  font-size: 11px;
}

div.channel {
  display: grid;
  grid-template-rows: 30px 40px;
  width: 80px;
  user-select: none;
  transition: var(--transition);
}
div.channel.edit {
  opacity: 0;
  scale: 0.5;
}

.capp--icon-channel {
  height: 32px;
  width: 32px;
  -webkit-user-drag: none;
  pointer-events: none;
}
.capp--icon-channel.light {
  fill: #505d75;
}
.capp--icon-channel.light:hover {
  transition: none;
  transform: none;
}
.capp--icon-channel.dark {
  color: white;
}
.capp--icon-channel.dark:hover {
  transition: none;
  transform: none;
}

div.channel.title {
  grid-row: 1/2;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.channel.title.light {
  color: #505d75;
}
div.channel.title.light:hover {
  transition: none;
  transform: none;
}
div.channel.title.dark {
  color: white;
}
div.channel.title.dark:hover {
  transition: none;
  transform: none;
}

div.channel-name {
  font-size: 15px;
}
div.channel-name.light {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(245, 246, 252, 0.95);
  border-radius: 5px;
  padding-right: 12px;
  padding-left: 12px;
  height: 22px;
  color: #505d75;
  width: fit-content;
  justify-self: center;
}
div.channel-name.dark {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(55, 55, 57, 0.6);
  border-radius: 5px;
  padding-right: 12px;
  padding-left: 12px;
  height: 22px;
  color: white;
  width: fit-content;
  justify-self: center;
}

div.channel.button {
  grid-row: 2/3;
  display: flex;
  justify-content: center;
  align-items: center;
}

button.channel {
  height: 54px;
  width: 54px;
  transition: var(--transition-out);
  font-size: 24px;
}
button.channel.light {
  background-color: #b8c6db;
  background-image: var(--light-mode-channel-button);
  border-width: 1px;
  border-radius: 50%;
  border-style: solid;
  border-color: var(--light-mode-border);
  color: var(--button-text-light-mode);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
}
button.channel.light:active {
  transition: var(--transition-in);
  scale: 0.98;
  box-shadow: inset 0px 0px 10px #f5f7fa;
  background-color: #f5f7fa;
}
button.channel.light:hover {
  transform: scale(1.05);
  transition: var(--transition-in);
}
button.channel.dark {
  border-width: 1px;
  border-color: black;
  border-style: solid;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  justify-self: center;
}
button.channel.dark:active {
  transition: var(--transition-in);
  scale: 0.98;
  box-shadow: inset 0px 0px 10px #1a1a1a;
  background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
}
button.channel.dark:hover {
  transform: scale(1.05);
  transition: var(--transition-in);
}
button.channel.drag-over {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}
button.channel.drop-success {
  animation: drop-glow-green 0.6s ease-out;
}
button.channel.unread-messages {
  box-shadow: 0px 0px 5px 3px var(--cellara-green);
}

@keyframes drop-glow-green {
  0% {
    box-shadow: 0px 0px 6px 3px var(--cellara-green);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 109, 91, 0);
  }
}
div.channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  width: calc(100% - 20px);
  position: fixed;
  z-index: 50;
  margin: 10px;
  transition: var(--transition);
}
div.channels.edit {
  height: 0px;
  overflow: hidden;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

div.channels.logged-out {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.channel-drag-slot {
  cursor: grab;
}
.channel-drag-slot.dragging {
  opacity: 0.4;
  cursor: grabbing;
}
.channel-drag-slot.drag-over .channel, .channel-drag-slot.drag-over button.channel {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
  transition: all 0.25s ease-out;
}

div.channels.row1 {
  grid-row: 1/2;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

div.channels.row2 {
  grid-row: 2/3;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

div.channels.row2-right {
  grid-row: 2/3;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.right-channels {
  position: fixed;
  top: 10px;
  right: 15px;
  z-index: 26;
}
.right-channels.channel-fade {
  height: 0px;
}

.middle-channels {
  position: fixed;
  height: 0px;
  top: 20px;
  left: 0px;
  right: 0px;
  z-index: 0;
}

.left-channels {
  position: fixed;
  z-index: 26;
  top: 10px;
  left: 15px;
}
.left-channels.channel-fade {
  height: 0px;
}

.channel-button.notification-badges {
  opacity: 0;
  position: absolute;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}

.channel-button.notification-badges.show {
  opacity: 1;
  position: absolute;
  pointer-events: none;
}

.channel-button.notification-badges-count {
  position: relative;
  height: 1em;
  width: 1em;
  top: 3em;
  left: 4em;
  background: var(--cellara-blue);
  color: white;
  border-radius: 50%;
  padding: 2px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.contacts-channel-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  min-height: 150px;
  align-content: center;
}

.contact-remove-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border-width: 1px;
  border-style: solid;
  font-family: Helvetica;
  font-size: 14px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 90;
}
.contact-remove-badge.light {
  background-color: var(--button-background-gold);
  border-color: #dde3ed;
}
.contact-remove-badge.dark {
  background-color: #966f20;
  border-color: black;
}
.contact-remove-badge:hover {
  background-color: var(--cellara-red);
}

/*
.exploding-channel-button {

    height: var(--add-button-height);
    width: var(--add-button-width);
    border-radius: 50%;
    border-width: 1px;
    border-color: var(--cellara-black);
    position: fixed;
    left: -10000px;
    pointer-events: all;

}
*/
div.linked-cell-card.img {
  padding: 0px;
}

div.exploded-item-layer {
  /* position: fixed; */
  /* bottom: -20vh; */
  transition: all ease 0.033s;
}

div.exploding-item-type {
  transition: all ease 0.33s;
  background-color: pink;
}

div.spinspin.spinspin.spinspin {
  transform: rotate(225 deg);
  /* transform: rotate(transform: rotate(405deg);360deg); */
  /* transition-delay: 0.1s; */
  /* transition: all ease-in 0.33s; */
}

div.exploded-item-layer-horizontal {
  position: relative;
  /* height: 1em; */
  height: 100%;
  width: 100%;
  /* top: 0.5em; */
  /* width: 0.2em; */
  /* background-color: black; */
  /* opacity: 0.3em; */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  transition: all ease 0.33s;
}

div.exploded-item-layer-horizontal.layout-plane-internal-components-transition {
  align-items: flex-end;
  grid-row: unset;
  grid-column: unset;
}

div.exploded-item-layer.exploded-note-layer {
  width: 100%;
  display: flex;
  justify-content: center;
  grid-row: 2;
  grid-column: 2;
  /* transition-delay: 0.5s; */
}

/* div.exploded-item-layer { */
/*     width: 100%; */
/*     display: flex; */
/*     justify-content: center; */
/*     /\* transition-delay: 0.5s; *\/ */
/* } */
/* div.exploded-item-layer.exploded-note-layer.y-offset { */
/* } */
div.exploded-item-layer {
  /* bottom: 80px; */
  /* left: -20px; */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* align-content: center; */
  width: 100%;
  /* background-color: black; */
  /* opacity: 0.3; */
  /* height: 0.2em; */
  /* grid-row: 3; */
  /* grid-column: 2; */
}

div.exploded-item-layer.fly-in.y-offset.y-offset-shape-transition {
  position: fixed;
  /* bottom: 10px; */
  bottom: 80px;
  /* left: 0; */
  margin: 0;
  /* right: 0; */
  /* top: 0; */
  z-index: 29;
  transition: all ease 0.33s;
  grid-row: unset;
  grid-column: unset;
}

div.exploded-item-layer.fly-in.y-offset.y-offset-internal-components-transition,
div.exploded-item-layer.fly-in.y-offset.y-offset-phase-2 {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  transition: all ease 0.33s;
  grid-row: unset;
  grid-column: unset;
}

div.exploded-item-layer.fly-in.y-offset.y-offset-phase-2 {
  /* opacity: 0; */
  /* transition: opacity ease-in 0.33s; */
  z-index: 0;
}

div.exploded-item-layer.fly-in.go-away {
  transition: opacity ease-out 0.33s;
  opacity: 0;
  display: none;
}

img.add-button.add-button-explode-mode {
  transform: rotate(405deg);
}

div.exploding-item-type.fly-in.x-offset.x-offset-shape-transition {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  min-width: 700px;
  /* width: 700px; */
  min-height: 460px;
  /* height: 460px; */
  /* box-sizing: content-box; */
  /* padding-right: auto; */
  background-color: var(--add-cell-card-grey-background);
}

div.exploding-item-type.fly-in.x-offset.x-offset-shape-transition > .exploded-item-icon {
  margin-right: 85%;
  margin-bottom: auto;
  margin-top: 10px;
  opacity: 0.5;
  transform: scale(0.5);
}

div.exploding-item-type.fly-in.x-offset.x-offset-shape-transition > .exploded-item-icon:nth-child(2) {
  transform: scale(0);
}

div.exploding-item-type.fly-in.x-offset.x-offset-internal-components-transition {
  margin: 10px;
  margin-bottom: 10px;
  min-width: 700px;
  min-height: 460px;
  background-color: white;
  transition: all ease 0.15s;
}

div.exploding-item-type.fly-in.x-offset.x-offset-phase-2 {
  margin: 10px;
  margin-bottom: 10px;
  min-width: 700px;
  min-height: 460px;
  background-color: white;
  transition: all ease 0.33s;
  opacity: 0;
}

div.exploding-item-type {
  transform: scale(0) rotate(360deg);
  background-color: var(--cellara-white);
  position: relative;
  min-height: 1px;
  min-width: 1px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: black;
  font-size: 1em;
  opacity: 1;
  /* margin-bottom: 20vh;        /\**\/ */
  background-color: var(--linked-cell-background-color);
  border-color: var(--linked-cell-border-color);
  border-style: var(--linked-cell-border-style);
  border-radius: var(--linked-cell-border-radius);
  border-width: var(--linked-cell-border-width);
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: var(--linked-cell-padding-left);
  padding-right: var(--linked-cell-padding-right);
  /* margin: var(--linked-cell-margin); */
  /* transform: var(--linked-cell-transform); */
  box-shadow: var(--linked-cell-box-shadow);
  color: var(--linked-cell-color);
  min-height: 1px;
  min-width: 1px;
  /* height: 20px; */
  /* width: 20px; */
  cursor: pointer;
  pointer-events: all;
}

div.exploding-item-type.dark-mode {
  box-shadow: none;
}

div.exploding-item-type.fly-in {
  transform: scale(1) rotate(0);
  /* border: 0.3em solid black; */
  /* border-radius: 0; */
  opacity: 1;
}

div.exploded-item-layer.fly-in {
  /* margn-bottom: 20vh; */
  transition-delay: 0s;
}

div.exploding-item-type.exploded-note.fly-in {
  transition-delay: 0s;
  margin: 0;
}

div.exploding-item-type.exploded-link.fly-in {
  transition-delay: 0.0166666667s;
}

div.exploded-item-layer.exploded-link-layer.fly-in {
  transition-delay: 0.0166666667;
}

div.exploding-item-type.exploded-file.fly-in {
  transition-delay: 0.0333333333s;
}

div.exploded-item-layer.exploded-file-layer.fly-in {
  transition-delay: 0.0333333333s;
}

div.exploding-item-type.exploded-memory.fly-in {
  transition-delay: 0.05s;
}

div.exploded-item-layer.exploded-memory-layer.fly-in {
  transition-delay: 0.05s;
}

div.exploding-item-type.exploded-event.fly-in {
  transition-delay: 0.0666666667s;
}

div.exploded-item-layer.exploded-event-layer.fly-in {
  transition-delay: 0.0666666667s;
}

div.exploding-item-type.exploded-todo.fly-in {
  transition-delay: 0.1s;
}

div.exploded-item-layer.exploded-todo-layer.fly-in {
  transition-delay: 0.1s;
}

div.exploding-item-type.exploded-memory.fly-in.x-offset.x-offset-shape-transition {
  /* transition: all ease-in 0.33s, margin-left ease-out 0.3s; */
}

div.exploded-item-icon {
  display: grid;
  grid-template-areas: "first second";
  align-items: center;
}

div.exploded-item-icon:nth-child(1) {
  grid-row: first;
  /* margin-top: auto; */
  /* margin-bottom: auto; */
}

div.exploded-item-icon:nth-child(2) {
  grid-row: second;
}

div.exploded-item-icon.exploded-todo-icon {
  /* padding: 20px; */
}

div.exploding-item-type.exploded-todo.fly-in.x-offset.x-offset-shape-transition {
  transition: all ease-in 0.33s;
}

div.exploding-item-type.exploded-list.fly-in {
  transition-delay: 0.1166666667s;
}

div.exploded-item-layer.exploded-list-layer.fly-in {
  transition-delay: 0.1166666667s;
}

div.exploding-item-type.exploded-person.fly-in {
  transition-delay: 0.1333333333s;
}

div.exploded-item-layer.exploded-person-layer.fly-in {
  transition-delay: 0.1333333333s;
}

div.exploding-item-type.exploded-person {
  transition-delay: 0.0166666667s;
}

div.exploded-item-layer.exploded-person-layer {
  transition-delay: 0.0166666667s;
  grid-row: 4;
  grid-column: 3;
}

div.exploding-item-type.exploded-list {
  transition-delay: 0.0333333333s;
}

div.exploded-item-layer.exploded-list-layer {
  transition-delay: 0.0333333333s;
  grid-row: 3;
  grid-column: 3;
}

div.exploding-item-type.exploded-todo {
  transition-delay: 0.05s;
}

div.exploded-item-layer.exploded-todo-layer {
  transition-delay: 0.05s;
  grid-row: 2;
  grid-column: 3;
}

div.exploding-item-type.exploded-event {
  transition-delay: 0.0666666667s;
}

div.exploded-item-layer.exploded-event-layer {
  grid-row: 2;
  grid-column: 2;
  transition-delay: 0.0666666667s;
}

div.exploding-item-type.exploded-memory {
  transition-delay: 0.0833333333s;
}

div.exploded-item-layer.exploded-memory-layer {
  transition-delay: 0.0833333333s;
  grid-row: 2;
  grid-column: 1;
}

div.exploding-item-type.exploded-file {
  transition-delay: 0.1s;
}

div.exploded-item-layer.exploded-file-layer {
  transition-delay: 0.1s;
  grid-row: 4;
  grid-column: 1;
}

div.exploding-item-type.exploded-link {
  transition-delay: 0.1166666667s;
}

div.exploded-item-layer.exploded-link-layer {
  transition-delay: 0.1166666667s;
  grid-row: 3;
  grid-column: 1;
}

div.exploding-item-type.exploded-note {
  transition-delay: 0.1333333333s;
  height: 37px;
  width: 75px;
}

div.exploded-item-layer.exploded-note-layer {
  grid-row: 3;
  grid-column: 2;
}

div.exploding-item-type.exploded-chat {
  transition-delay: 0.1333333333s;
  height: 37px;
  width: 75px;
}

div.exploded-item-layer.exploded-chat-layer {
  grid-row: 1;
  grid-column: 2;
}

div.exploded-item-layer.exploded-chat-layer.fly-in.y-offset.y-offset-phase-1 > div > div > div > svg {
  margin-right: 0.25em;
}

.DraftEditor-editorContainer.DraftEditor-editorContainer {
  z-index: 0;
}

button.some-light.some-light,
button.some-dark.some-dark {
  border-radius: 6px;
}

div.link-selector {
  border-radius: 50%;
  background-color: var(--cellara-teal);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: start;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform ease-in 0.33s;
}

div.link-selector.spin-in {
  transform: rotate(-360deg);
  transition: transform ease-in 0.33s;
}

.link-selector-label {
  color: var(--cellara-white);
}

div.link-selector.dark:first-child {
  background-color: #308271;
  border-radius: 4px;
  border-style: solid;
}

button.save-edits {
  height: 32px;
  width: 62px;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  color: white;
  font-size: 14px;
  user-select: none;
}

button.cancel-edits.dark {
  height: 32px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: black;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-color: #dde3ed;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  font-size: 14px;
}

button.cancel-edits.light {
  height: 32px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
  font-size: 14px;
}

button.cancel {
  transition: var(--transition);
  height: 41px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  opacity: 1;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  position: relative;
}

button.cancel.light {
  color: #7e8ca8;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}

button.cancel.light:hover {
  background-color: var(--light-mode-bg-highlight);
}

button.cancel.light:active {
  background-color: var(--light-mode-bg-highlight);
}

button.cancel.dark {
  border-color: var(--dark-mode-border);
  color: white;
  background-color: var(--dark-mode-bg-light);
}

button.cancel.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
}

button.cancel.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}

button.cancel.none-dark {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: var(--dark-mode-border);
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-color: var(--dark-mode-bg-light);
  font-size: 1px;
  opacity: 0;
}

button.cancel.none-light {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #dde3ed;
  font-size: 1px;
  opacity: 0;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}

button.cancel.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.save {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--button-border-green);
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 2px;
  margin-left: 2px;
  transition: var(--transition);
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

button.save.light {
  border-color: var(--button-border-green);
  background-color: #308271;
}

button.save.light:hover {
  background-color: #065f58;
}

button.save.light:active {
  background-color: #065f58;
}

button.save.dark {
  border-color: black;
  background-color: #065f58;
}

button.save.dark:hover {
  background-color: #308271;
}

button.save.dark:active {
  background-color: #308271;
}

button.save.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.save-connection {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  transition: var(--transition);
  user-select: none;
  background-color: transparent;
}

button.save-connection.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}

button.save-connection.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
}

button.save-connection.light:active {
  transition: transform 0.08s ease-out;
  background-color: var(--light-mode-bg-highlight);
}

button.save-connection.dark {
  border-color: black;
  background-color: var(--connection-background-dark-mode);
}

button.save-connection.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--cellara-navy);
}

button.save-connection.dark:active {
  transition: transform 0.08s ease-out;
  background-color: var(--cellara-navy);
}

button.cancel-connection {
  transition: var(--transition);
  height: 40px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  background-color: transparent;
}

button.cancel-connection.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}

button.cancel-connection.light:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
}

button.cancel-connection.light:active {
  transition: transform 0.08s ease-out;
  background-color: white;
}

button.cancel-connection.dark {
  border-color: black;
  color: white;
}

button.cancel-connection.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
}

button.cancel-connection.dark:active {
  transition: transform 0.08s ease-out;
  background-color: #212020;
}

button.save-to.some-light {
  height: 40px;
  width: 123px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 15px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.some-dark {
  height: 40px;
  width: 123px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 15px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.none-light {
  height: 1px;
  width: 1px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 1px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.none-dark {
  height: 1px;
  width: 1px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 1px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.connect {
  height: 40px;
  width: 100px;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  border-color: #065f58;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  transition: var(--transition);
}

button.connect.light {
  background-color: var(--cellara-navy);
  border-color: var(--connection-background-dark-mode);
  color: white;
}

button.connect.light:hover {
  background-color: var(--connection-background-dark-mode);
}

button.connect.light:active {
  background-color: var(--connection-background-dark-mode);
}

button.connect.dark {
  background-image: none;
  background-color: var(--connection-background-dark-mode);
  border-color: black;
  color: white;
}

button.connect.dark:hover {
  background-color: var(--cellara-navy);
}

button.connect.dark:active {
  background-color: var(--cellara-navy);
}

button.connect.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.connect.placeholder {
  visibility: hidden;
}

button.flip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 36px;
  margin-top: 10px;
  font-size: 14px;
  user-select: none;
}

button.flip-items.dark {
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: black;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}

button.flip-items.light {
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: #dde3ed;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
}

button.flip-items.flip-item-buttons-flipped {
  background-color: var(--cellara-green);
  color: var(--cellara-white);
  background-image: none;
}

div.new-link-card {
  position: fixed;
  z-index: 20;
  width: 255px;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
}
div.new-link-card.closed {
  scale: 0;
  opacity: 0;
}
div.new-link-card.light {
  background-color: var(--light-mode-bg-mid);
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
}
div.new-link-card.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  background-color: var(--dark-mode-bg-mid);
}

div.new-link-header {
  padding-top: 20px;
  padding-left: 25px;
  padding-bottom: 15px;
  font-weight: bold;
  font-size: 20px;
  text-transform: capitalize;
}
div.new-link-header.light {
  color: var(--card-text-light-mode);
}
div.new-link-header.dark {
  color: lightsteelblue;
}

div.new-link-body {
  height: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

div.flipper {
  display: flex;
  justify-self: center;
  margin-top: 15px;
  width: 180px;
  height: 45px;
}

button.flip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  height: 45px;
  padding-bottom: 5px;
  padding-top: 5px;
  background-color: transparent;
  transition: var(--transition);
}
button.flip.right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.flip.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}
button.flip.light:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
  transform: scale(1.05);
}
button.flip.light:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: white;
}
button.flip.left {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.flip.light-highlight-right {
  border-color: #dde3ed;
  color: #7e8ca8;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.flip.light-highlight:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
  transform: scale(1.05);
}
button.flip.light-highlight:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: white;
}
button.flip.light-highlight {
  border-color: #dde3ed;
  color: #7e8ca8;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.flip.right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.flip.dark-right:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.flip.dark-right:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}
button.flip.dark-left {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.flip.dark-left:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.flip.dark-left:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}
button.flip.dark-highlight-right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.flip.dark-highlight-right:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.flip.dark-highlight-right:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}
button.flip.dark-highlight-left {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.flip.dark-highlight-left:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.flip.dark-highlight-left:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}

div.flip-preview {
  margin-left: 10px;
  margin-right: 10px;
  height: 15px;
  width: 35px;
  border-radius: 3px;
  border-width: 1px;
  border-color: black;
  border-style: solid;
}
div.flip-preview.light {
  border-color: #dde3ed;
  background-color: white;
  box-shadow: 1px 1px 4px 0px #dde3ed;
}
div.flip-preview.light.true {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}
div.flip-preview.light-highlight {
  border-color: #dde3ed;
  background-color: white;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}
div.flip-preview.dark {
  background-color: --cellara-black;
}
div.flip-preview.dark.true {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}

div.flip-arrow {
  color: var(--button-text-light-mode);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 40px;
}

div.new-link-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 10px;
}

button.cancel-new-link {
  transition: var(--transition);
  height: 40px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  opacity: 1;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  background-color: transparent;
}
button.cancel-new-link.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}
button.cancel-new-link.light:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
}
button.cancel-new-link.light:active {
  transition: transform 0.08s ease-out;
  background-color: white;
}
button.cancel-new-link.dark {
  border-color: black;
  color: white;
}
button.cancel-new-link.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
}
button.cancel-new-link.dark:active {
  transition: transform 0.08s ease-out;
  background-color: #212020;
}

button.save-new-link {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  transition: var(--transition);
  user-select: none;
  background-color: transparent;
}
button.save-new-link.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}
button.save-new-link.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
button.save-new-link.light:active {
  transition: transform 0.08s ease-out;
  background-color: var(--light-mode-bg-highlight);
}
button.save-new-link.dark {
  border-color: black;
  background-color: var(--connection-background-dark-mode);
}
button.save-new-link.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--cellara-navy);
}
button.save-new-link.dark:active {
  transition: transform 0.08s ease-out;
  background-color: var(--cellara-navy);
}

div.link-selector.dark:first-child {
  background-color: #308271;
  border-radius: 4px;
  border-style: solid;
}

div.add-connection-background {
  width: 100%;
  display: grid;
  z-index: 1;
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
}
div.add-connection-background.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  background-color: var(--dark-mode-bg-mid);
}
div.add-connection-background.light {
  background-color: var(--light-mode-bg-mid);
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
}

.add-connection-header {
  grid-row: 1/2;
  padding: 20px;
  padding-bottom: 15px;
  height: 100%;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: capitalize;
}
.add-connection-header.light {
  color: var(--card-text-light-mode);
}
.add-connection-header.dark {
  color: lightsteelblue;
}

div.add-connection-header-title {
  padding-left: 5px;
  font-weight: bold;
  position: static;
  text-transform: none;
}

div.link-type-selector {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #505d75;
}

.link-type-selector.link-type-selector-label {
  padding: 0;
  margin: 0;
  display: flex;
  align-content: center;
  justify-content: center;
  text-transform: capitalize;
}

button.link-type-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-width: 0px;
  border-style: solid;
  width: 200px;
}

button.link-type-selection {
  display: flex;
  width: 100%;
  height: 30px;
  opacity: 1;
  background-color: transparent;
  border-width: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  color: transparent;
  text-transform: capitalize;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 5px;
}
button.link-type-selection.open.light {
  border-color: transparent;
  background-color: transparent;
  color: var(--light-mode-text-muted);
}
button.link-type-selection.closed.light {
  height: 1px;
  opacity: 0;
  margin-top: -24px;
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}
button.link-type-selection.open.dark {
  color: var(--connection-text-dark-mode);
  background-color: var(--card-background-dark-mode);
  transition: height ease-out 0.2s, color ease-out 0.4s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}
button.link-type-selection.closed.dark {
  height: 1px;
  opacity: 0;
  margin-top: -24px;
  background-color: var(--card-background-dark-mode);
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, opacity ease-out 0.2s;
}
button.link-type-selection.open.light:hover {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
}
button.link-type-selection.open.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
}

div.link-type-selector-current {
  width: 180px;
  height: 45px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
  z-index: 25;
  user-select: none;
}
div.link-type-selector-current.dark {
  background-color: var(--connection-background-dark-mode);
  color: var(--connection-text-dark-mode);
  border-color: black;
}
div.link-type-selector-current.light {
  background-color: var(--connection-background-light-mode);
  color: var(--connection-text-light-mode);
  border-color: var(--connection-border-light-mode);
}

div.link-type-selections {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: absolute;
  z-index: 20;
  user-select: none;
  width: 170px;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 5px;
  padding-top: 5px;
}
div.link-type-selections.closed.light {
  font-size: 0px;
  border-width: 0px;
  margin-top: 10px;
}
div.link-type-selections.closed.dark {
  font-size: 0px;
  border-width: 0px;
  margin-top: 10px;
  background-color: var(--card-background-dark-mode);
}
div.link-type-selections.open.light {
  background-color: var(--card-background-light-mode);
  color: #7e8ca8;
  padding-top: 5px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, box-shadow ease-out 0.2s;
}
div.link-type-selections.open.dark {
  color: #7e8ca8;
  border-color: black;
  padding-top: 5px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  background-color: var(--card-background-dark-mode);
  transition: height ease-out 0.2s, margin-top ease-out 0.2s, padding-top ease-out 0.2s, box-shadow ease-out 0.2s;
}

div.add-connection-popup-drag {
  /* different style if added from save + connect button */
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -97px;
  margin-left: -120px;
  position: absolute;
  min-width: 250px;
}

div.connection-direction {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

div.connection-direction-background {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 45px;
  background-color: green;
}

div.connection-direction-parent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  border-width: 1px;
  border-style: solid;
  border-color: grey;
  height: 45px;
  padding-bottom: 5px;
  padding-top: 5px;
  border-radius: 5px;
}

button.connection-direction {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  height: 45px;
  padding-bottom: 5px;
  padding-top: 5px;
  background-color: transparent;
  transition: var(--transition);
}
button.connection-direction.right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.connection-direction.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}
button.connection-direction.light:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
  transform: scale(1.05);
}
button.connection-direction.light:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: white;
}
button.connection-direction.left {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.connection-direction.light-highlight-right {
  border-color: #dde3ed;
  color: #7e8ca8;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.connection-direction.light-highlight:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
  transform: scale(1.05);
}
button.connection-direction.light-highlight:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: white;
}
button.connection-direction.light-highlight {
  border-color: #dde3ed;
  color: #7e8ca8;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.connection-direction.right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.connection-direction.dark-right:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.connection-direction.dark-right:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}
button.connection-direction.dark-left {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.connection-direction.dark-left:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.connection-direction.dark-left:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}
button.connection-direction.dark-highlight-right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
button.connection-direction.dark-highlight-right:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.connection-direction.dark-highlight-right:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}
button.connection-direction.dark-highlight-left {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
button.connection-direction.dark-highlight-left:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
  transform: scale(1.05);
}
button.connection-direction.dark-highlight-left:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-color: #212020;
}

div.connection-direction-main-cell {
  color: var(--button-text-light-mode);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 40px;
}

div.connection-direction-connected-cell {
  margin-left: 10px;
  margin-right: 10px;
  height: 15px;
  width: 35px;
  border-radius: 20px;
  border-width: 1px;
  border-color: black;
  border-style: solid;
}
div.connection-direction-connected-cell.light {
  border-color: #dde3ed;
  background-color: white;
  box-shadow: 1px 1px 4px 0px #dde3ed;
}
div.connection-direction-connected-cell.light-highlight {
  border-color: #dde3ed;
  background-color: white;
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}
div.connection-direction-connected-cell.dark {
  background-color: --cellara-black;
}
div.connection-direction-connected-cell.dark-highlight {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}

/* different style if added from dragging*/
.add-connection-popup {
  position: absolute;
  z-index: 20;
  width: 255px;
  pointer-events: all;
}
.add-connection-popup.add-connection-popup-fixed {
  position: fixed;
  bottom: 30px;
}

.add-connection-popup-child {
  width: 100%;
}

.add-connection-popup-container {
  margin-left: 1em;
}

.add-connection-popup-layout-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-connection-popup-label-layer {
  position: absolute;
  top: 0;
  right: 0;
  width: fit-content;
  max-width: 600px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 1em;
  justify-content: space-around;
  grid-gap: 1em;
  justify-items: flex-end;
  pointer-events: none;
  z-index: 4;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  pointer-events: visible;
}
.add-connection-popup-label-layer > *:first-child {
  grid-row: 1;
  grid-column: 1;
}

.add-connection-popup-link-types-layer {
  position: absolute;
  top: 0;
  right: 0;
  width: fit-content;
  max-width: 600px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 1em;
  justify-content: space-around;
  grid-gap: 1em;
  justify-items: flex-end;
  pointer-events: none;
  z-index: 3;
  transform-origin: top right;
  transform: scale(0);
  transition: transform ease-in 0.33s;
  opacity: 1;
}
.add-connection-popup-link-types-layer.enter {
  z-index: 3;
  transform-origin: top right;
  transform: scale(1);
  transition: transform ease-in 0.33s;
  width: 100%;
  opacity: 1;
  pointer-events: auto;
}
div.add-connection-body {
  grid-row: 2/3;
  height: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

div.add-connection-body-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px;
}

div.connection-dropdown-row {
  display: flex;
  align-items: center;
  margin-left: 55px;
}

.connected-cell-parent > * > * {
  font-size: 18px;
  display: flex;
  align-items: center;
}

.dropdown-arrow-icon-counter-weight {
  width: 20px;
}

div.link-type-selector-arrow {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 24;
  transition: transform 0.33s;
}
div.link-type-selector-arrow.closed.light {
  color: var(--cellara-green);
}
div.link-type-selector-arrow.open.light {
  color: var(--cellara-green);
  transform: rotate(180deg);
}
div.link-type-selector-arrow.closed.dark {
  color: white;
}
div.link-type-selector-arrow.open.dark {
  color: white;
  transform: rotate(180deg);
}

div.link-type-selections-header {
  display: flex;
  justify-content: flex-start;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  width: 100%;
}

div.add-connection-footer {
  grid-row: 3/4;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.base-add-connection-popup-container:first-child {
  right: 0px;
  left: 0px;
  top: 30vh;
  pointer-events: none;
  z-index: 1;
}

.add-connection-popup-new-connection-mode-container {
  display: flex;
  flex-direction: row;
}

.add-connection-popup-dialogue-vignette-layer {
  position: relative;
  width: 100%;
  background-color: transparent;
  opacity: 0;
  z-index: 2;
  transition: background-color ease-in 0.33s, opacity ease-in 0.33s;
  pointer-events: none;
}
.add-connection-popup-dialogue-vignette-layer.spin-in {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

button.some-light.some-light,
button.some-dark.some-dark {
  border-radius: 6px;
}

div.link-selector {
  border-radius: 50%;
  background-color: var(--cellara-teal);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: start;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform ease-in 0.33s;
}

div.link-selector.spin-in {
  transform: rotate(-360deg);
  transition: transform ease-in 0.33s;
}

.link-selector-label {
  color: var(--cellara-white);
}

div.link-selector.dark:first-child {
  background-color: #308271;
  border-radius: 4px;
  border-style: solid;
}

button.save-edits {
  height: 32px;
  width: 62px;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  color: white;
  font-size: 14px;
  user-select: none;
}

button.cancel-edits.dark {
  height: 32px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: black;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-color: #dde3ed;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  font-size: 14px;
}

button.cancel-edits.light {
  height: 32px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
  font-size: 14px;
}

button.cancel {
  transition: var(--transition);
  height: 41px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  opacity: 1;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  position: relative;
}

button.cancel.light {
  color: #7e8ca8;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}

button.cancel.light:hover {
  background-color: var(--light-mode-bg-highlight);
}

button.cancel.light:active {
  background-color: var(--light-mode-bg-highlight);
}

button.cancel.dark {
  border-color: var(--dark-mode-border);
  color: white;
  background-color: var(--dark-mode-bg-light);
}

button.cancel.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
}

button.cancel.dark:active {
  background-color: var(--dark-mode-bg-highlight);
}

button.cancel.none-dark {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-color: var(--dark-mode-border);
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background-color: var(--dark-mode-bg-light);
  font-size: 1px;
  opacity: 0;
}

button.cancel.none-light {
  height: 1px;
  width: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #dde3ed;
  font-size: 1px;
  opacity: 0;
  background-color: var(--light-mode-bg-light);
  border-color: var(--light-mode-border);
}

button.cancel.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.save {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--button-border-green);
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 2px;
  margin-left: 2px;
  transition: var(--transition);
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

button.save.light {
  border-color: var(--button-border-green);
  background-color: #308271;
}

button.save.light:hover {
  background-color: #065f58;
}

button.save.light:active {
  background-color: #065f58;
}

button.save.dark {
  border-color: black;
  background-color: #065f58;
}

button.save.dark:hover {
  background-color: #308271;
}

button.save.dark:active {
  background-color: #308271;
}

button.save.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.save-connection {
  height: 40px;
  width: 100px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  color: white;
  font-size: 15px;
  cursor: pointer;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  transition: var(--transition);
  user-select: none;
  background-color: transparent;
}

button.save-connection.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}

button.save-connection.light:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--light-mode-bg-highlight);
}

button.save-connection.light:active {
  transition: transform 0.08s ease-out;
  background-color: var(--light-mode-bg-highlight);
}

button.save-connection.dark {
  border-color: black;
  background-color: var(--connection-background-dark-mode);
}

button.save-connection.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: var(--cellara-navy);
}

button.save-connection.dark:active {
  transition: transform 0.08s ease-out;
  background-color: var(--cellara-navy);
}

button.cancel-connection {
  transition: var(--transition);
  height: 40px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  font-size: 15px;
  z-index: 50;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  background-color: transparent;
}

button.cancel-connection.light {
  border-color: #dde3ed;
  color: #7e8ca8;
}

button.cancel-connection.light:hover {
  transition: transform 0.04s ease-out;
  background-color: #fafbff;
}

button.cancel-connection.light:active {
  transition: transform 0.08s ease-out;
  background-color: white;
}

button.cancel-connection.dark {
  border-color: black;
  color: white;
}

button.cancel-connection.dark:hover {
  transition: transform 0.04s ease-out;
  background-color: #252525;
}

button.cancel-connection.dark:active {
  transition: transform 0.08s ease-out;
  background-color: #212020;
}

button.save-to.some-light {
  height: 40px;
  width: 123px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 15px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.some-dark {
  height: 40px;
  width: 123px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 15px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.none-light {
  height: 1px;
  width: 1px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 1px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.save-to.none-dark {
  height: 1px;
  width: 1px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  color: white;
  font-size: 1px;
  transition: width ease-out 0.33s, height ease-out 0.33s, font-size ease-out 0.33s;
}

button.connect {
  height: 40px;
  width: 100px;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  border-color: #065f58;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  transition: var(--transition);
}

button.connect.light {
  background-color: var(--cellara-navy);
  border-color: var(--connection-background-dark-mode);
  color: white;
}

button.connect.light:hover {
  background-color: var(--connection-background-dark-mode);
}

button.connect.light:active {
  background-color: var(--connection-background-dark-mode);
}

button.connect.dark {
  background-image: none;
  background-color: var(--connection-background-dark-mode);
  border-color: black;
  color: white;
}

button.connect.dark:hover {
  background-color: var(--cellara-navy);
}

button.connect.dark:active {
  background-color: var(--cellara-navy);
}

button.connect.hide {
  opacity: 1;
  transform: scale(0);
  width: 0px;
}

button.connect.placeholder {
  visibility: hidden;
}

button.flip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 36px;
  margin-top: 10px;
  font-size: 14px;
  user-select: none;
}

button.flip-items.dark {
  color: white;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: black;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}

button.flip-items.light {
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  border-color: #dde3ed;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
}

button.flip-items.flip-item-buttons-flipped {
  background-color: var(--cellara-green);
  color: var(--cellara-white);
  background-image: none;
}

/*
removed this stuff because it put on-hover effects (yellow remove connection)
on the popup connection parent connected cell, investigate if other bugs found
 */
.loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.loading-bar {
  position: fixed;
  top: 50%;
  left: 0;
  height: 5px;
  background-color: #007bff;
  z-index: 1001;
}

div.page {
  margin: 0px;
  padding: 0px;
}

div.top-bar.light {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: rgba(245, 246, 252, 0.9);
  z-index: 80;
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
  height: 90px;
  position: fixed;
}

div.top-bar.dark {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: rgba(35, 35, 36, 0.95);
  z-index: 80;
  width: 100%;
  height: 90px;
  position: fixed;
}

div.top-bar-mobile.hide {
  height: 0px;
  transform: scale(0);
}

div.channels-left {
  display: contents;
}

div.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
}

div.channels-right {
  display: contents;
}

div.spacer-50px {
  width: 100px;
}

div.spacer-120px {
  width: 120px;
}

div.top-text-options {
  display: flex;
  justify-content: center;
  align-items: center;
}

div.bottom-text-options {
  display: flex;
  justify-content: center;
  align-items: center;
}

div.left-text-options {
  --display: flex;
  justify-content: center;
  padding-left: 5px;
}

div.middle-text-options {
  display: flex;
  justify-content: center;
  padding-left: 20px;
  width: 100%;
}

div.right-text-options {
  display: flex;
  justify-content: center;
  padding-left: 20px;
  width: 100%;
}

div.flex-center-nowrap {
  display: flex;
  /*   flex-wrap: no-wrap; */
  align-items: center;
  justify-content: center;
}

.centered-container {
  display: flex;
  justify-content: center;
}

div.edit-item-button-spacer {
  grid-column: 3;
  height: 32px;
  width: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 8px;
  font-size: 20px;
  border-width: 1px;
  border-style: transparent;
  border-radius: 4px;
}

span.cell-icon.link {
  display: flex;
  align-items: center;
  height: 20px;
  width: 25px;
  min-width: 25px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
span.cell-icon.to-do {
  color: var(--cellara-blue);
  margin-top: 2px;
  height: 20px;
  width: 25px;
  min-width: 25px;
  cursor: pointer;
}
span.cell-icon.small-calendar {
  display: flex;
  align-items: center;
  height: 20px;
  width: 25px;
  min-width: 25px;
  margin-top: 1px;
}

.linked-cell-icon {
  max-height: 22px;
  max-width: 22px;
  display: flex;
  align-items: center;
}

img.scroll-down {
  height: 40px;
}

div.checkbox-shell {
  pointer-events: none;
}

div.to-do-checkbox.light {
  color: var(--cellara-blue);
}

img.home-cell-logo {
  margin: 8px;
  height: 35px;
  width: 35px;
}

img.connected-date-capp-icon {
  margin-top: -5px;
  margin-bottom: -5px;
  height: 25px;
  margin-left: -5px;
  padding-right: 5px;
  align-self: center;
}

div.square-card-button.icon {
  padding: 0px;
  margin-right: -1px;
  margin-bottom: 1px;
  width: 100%;
}

img.bullet-icon {
  padding: 3px;
  scale: 2;
}

div.linked-cell.icon {
  margin-right: 7px;
}

div.connection-icon {
  display: flex;
  align-items: center;
  color: #61b4aa;
  font-size: 18px;
}

div.main-icon {
  height: 40px;
  width: 40px;
  margin: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}
div.main-icon.hide {
  scale: 0;
  width: 0px;
}
div.main-icon.has-person-photo {
  height: auto;
  width: 45px;
  align-self: start;
  justify-content: flex-start;
}

div.main-icon-spacer {
  width: 33px;
  margin: 0px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

div.small-icon {
  display: flex;
  align-items: center;
  padding-right: 5px;
}

div.item-icon {
  grid-column: 1;
  height: 35px;
  width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px;
  font-size: 20px;
  border-width: 0px;
}

div.icon-padding-left {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-left: 2px;
}

.render-icon-image.tiny {
  margin: 0px;
  width: 13px;
}
.render-icon-image.small {
  margin-bottom: 0px;
  margin-top: 3px;
  margin-left: -3px;
  margin-right: 3px;
}
.render-icon-image.small-calendar {
  margin-bottom: 0px;
  margin-top: -2px;
  margin-left: -2px;
  margin-right: 3px;
}
.render-icon-image.light-mode {
  width: 60px;
  height: 35px;
  border-radius: 10px;
}
.render-icon-image.dark-mode {
  width: 60px;
  height: 35px;
  border-radius: 10px;
}

.render-main-list-icon {
  font-size: 28px;
  padding-top: 10px;
  padding-left: 10px;
}

div.list-body-save-instructions {
  margin-top: 20px;
  text-align: center;
  justify-self: center;
  width: 80%;
  max-width: 240px;
  font-size: 14px;
}
div.list-body-save-instructions.light {
  color: var(--light-mode-text-placeholder);
}
div.list-body-save-instructions.dark {
  color: var(--dark-mode-text-placeholder);
}

div.list-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: darkslategray;
  padding-bottom: 5px;
  border-radius: 20px;
  margin-top: 10px;
}

div.list-progress-bar {
  width: 200px;
  display: flex;
  justify-content: flex-start;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
}
div.list-progress-bar.light {
  border-color: #9bbfbf;
  color: white;
}
div.list-progress-bar.dark {
  border-color: darkslategray;
  color: var(--cellara-white);
}

div.list-progress-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 3px;
}
div.list-progress-details.light-mode {
  color: darkslategray;
}
div.list-progress-details.dark-mode {
  color: #9bbfbf;
}

.list-progress-bar-completed {
  display: flex;
  justify-content: center;
  border-radius: 20px;
  transition: var(--transition);
}
.list-progress-bar-completed.light-mode {
  background-color: #9bbfbf;
}
.list-progress-bar-completed.dark-mode {
  background-color: darkslategray;
}

div.list-progress-percent {
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 24;
  padding-left: 12px;
  transition: var(--transition);
}

.list-progress-percent-over-25-pct {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 24;
  padding-left: 12px;
  transition: var(--transition);
}

.list-progress-percent-under-25-pct {
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 24;
  padding-left: 12px;
  transition: var(--transition);
}

div.in-folder:not(.listee-rows) {
  display: flex;
  flex-wrap: wrap;
}

div.in-folder-cell {
  display: flex;
  justify-content: flex-start;
  width: fit-content;
}

.listee-slide-in {
  display: grid;
  grid-template-rows: 1fr;
  animation: listee-slide-in 200ms ease-out;
}
.listee-slide-in > * {
  overflow: hidden;
  min-height: 0;
}

@keyframes listee-slide-in {
  from {
    grid-template-rows: 0fr;
  }
}
.listee-row,
.membership-row {
  display: flex;
  justify-content: flex-start;
}

.membership-row > button.linked-cell > .linked-cell,
.listee-row > button.linked-cell > .linked-cell {
  padding: 3px 6px;
}

.listee-rows-row,
.membership-slot-outer {
  height: 8px;
  transition: height 100ms ease-out;
  position: relative;
}
.listee-rows-row:has(> .drag-drag-target),
.membership-slot-outer:has(> .drag-drag-target) {
  height: 28px;
}

.listee-rows-row-inner::before,
.membership-slot-inner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  bottom: -12px;
  z-index: 2;
}

.listee-topnub,
.membership-topnub {
  height: 10px;
  transition: height 100ms ease-out;
  position: relative;
}
.listee-topnub:has(> .drag-drag-target),
.membership-topnub:has(> .drag-drag-target) {
  height: 28px;
}

.main-cell-card.drag-drag-target .listee-rows-row-inner {
  background-color: transparent;
  border-radius: 4px;
  transition: background-color 200ms ease-out;
}

.listee-dont-show-connection {
  display: none;
}

.listee-row.preview > button.linked-cell > .linked-cell,
button.linked-cell.preview > .linked-cell {
  box-shadow: 0px 0px 6px 3px var(--cellara-blue);
}

.list-sort-container {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: -14px;
}

.list-sort-button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  background: transparent;
  transition: background-color 150ms ease;
}
.list-sort-button.light {
  color: #6b7280;
}
.list-sort-button.light:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.list-sort-button.dark {
  color: #9ca3af;
}
.list-sort-button.dark:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.list-sort-icon {
  flex-shrink: 0;
}

.list-sort-dropdown {
  position: absolute;
  top: 100%;
  right: 8px;
  z-index: 50;
  min-width: 150px;
  border-radius: 8px;
  padding: 4px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.list-sort-dropdown.light {
  background: white;
  border: 1px solid #e5e7eb;
}
.list-sort-dropdown.dark {
  background: #1f2937;
  border: 1px solid #374151;
}

.list-sort-option {
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 100ms ease;
}
.light .list-sort-option {
  color: #374151;
}
.light .list-sort-option:hover {
  background-color: #f3f4f6;
}
.light .list-sort-option.active {
  color: var(--cellara-blue);
  font-weight: 600;
}
.dark .list-sort-option {
  color: #d1d5db;
}
.dark .list-sort-option:hover {
  background-color: #374151;
}
.dark .list-sort-option.active {
  color: var(--cellara-blue);
  font-weight: 600;
}

.list-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
}
.list-pagination.light {
  color: #6b7280;
}
.list-pagination.dark {
  color: #9ca3af;
}

.list-pagination-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  background: transparent;
  color: inherit;
  transition: background-color 150ms ease;
}
.light .list-pagination-arrow:hover:not(:disabled) {
  background-color: rgba(0, 0, 0, 0.05);
}
.dark .list-pagination-arrow:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.08);
}
.list-pagination-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.list-pagination-info {
  font-size: 13px;
  user-select: none;
}

@keyframes listee-page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.page-slide-next > .listee-row,
.page-slide-prev > .listee-row {
  animation: listee-page-fade-in 50ms ease-out both;
}

/* tap to connect stuff  */
@keyframes confly {
  50% {
    box-shadow: 0px 0px 30px 20px var(--cellara-gold);
    transform: scale(1.75);
  }
}
.linked-cell-fly {
  position: relative;
  top: 0;
  transition: all ease-out 0.33s;
  transform-origin: bottom;
}

div.linked-cell-fly.fly-go {
  /* position: relative; */
  /* position: fixed; */
  /* top: 70vh; */
  transform: scale(1.5);
  z-index: 1;
  width: max-content;
  max-width: 100vh;
}

button.linked-cell-fly-button.linked-cell-fly-button.linked-cell-fly-button {
  animation-name: confly;
  animation-duration: 1s;
  box-shadow: 0px 0px 10px var(--cellara-gold);
  z-index: 10;
}

div.fly-out {
  display: none;
}

div.flying-linked-cell-layer.flying-linked-cell-layer {
  position: fixed;
  height: 0px;
  bottom: 22vh;
  left: 0px;
  right: 0px;
  visibility: visible;
  opacity: 1;
  display: flex;
  justify-content: center;
  /* flex-wrap: no-wrap; */
  align-items: flex-start;
  /* height: 0px; */
  transition: all ease-out 0.33s;
  transform: scale(1);
  max-width: 80vw;
}

div.flying-linked-cell-layer.fly-out {
  transform: translateY(35vh) scale(0);
  transition: all ease-out 0.33s;
}

/* end tap to connect stuff  */
div.remove-connection.remove-flying-linked-cell-button {
  border-width: 2px;
  height: 100%;
}

div.flying-linked-cell-button {
  display: flex;
  align-items: center;
}

button.linked-cell-long.flying-linked-cell-border,
button.linked-cell.flying-linked-cell-border {
  border-top-right-radius: initial;
  border-bottom-right-radius: initial;
}

div.add-cell-component-grid-container.add-cell-component-grid-container-closed {
  /* grid-template-rows: repeat(1, 1fr); */
  /* grid-template-columns: repeat(1, 1fr) ; */
}

div.add-cell-component-grid-container {
  display: grid;
  position: relative;
  /* grid-template-areas:  */
  /*     "button button button" */
  /*     "button button button" */
  /*     "button button button"; */
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  min-height: 10em;
  align-items: center;
  justify-items: center;
  pointer-events: none;
  z-index: 2;
}

div.add-cell-component-grid-container-subgrid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  min-height: 10em;
  align-items: center;
  justify-items: center;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  transform: scale(1, 1);
  transform-origin: bottom;
  transition: transform ease-in 0.33s;
}

div.add-cell-component-grid-container-subgrid.add-cell-component-grid-container-subgrid-closed {
  transform: scale(0, 0);
  transform-origin: bottom;
  opacity: 0;
  transition: all ease-in 0.33s;
}

div.add-cell-component-grid-container-subgrid > #hidden-plus-button {
  grid-row: 3;
  grid-column: 2;
  /* opacity: 1; */
  height: 70px;
  width: 70px;
  /* background-color: red; */
  /* content: "Hello"; */
}

div.add-cell-component-grid-container {
  display: grid;
  /* grid-template-areas:  */
  /*     "button button button" */
  /*     "button button button" */
  /*     "button button button"; */
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  min-height: 10em;
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

div.add-cell-component-grid-container {
  display: grid;
  /* grid-template-areas:  */
  /*     "button button button" */
  /*     "button button button" */
  /*     "button button button"; */
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  min-height: 10em;
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

div.add-cell-card-fade-in-container {
  opacity: 0;
  transition: opacity ease-in 0.33s;
  /* z-index: -1; */
}

div.add-cell-card-fade-in-container.add-cell-card-fade-in {
  opacity: 1;
  position: relative;
  z-index: 30;
}

div.exploding-item-type.exploded-item-type-fade-out {
  opacity: 0;
  z-index: -1;
  transition: opacity ease-in 0.33s;
}

/* exploding buttons */
.link-fanout-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-fanout-item {
  background-color: var(--cellara-white);
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: black;
  font-size: 1em;
  background-color: var(--linked-cell-background-color);
  border-color: var(--linked-cell-border-color);
  border-style: var(--linked-cell-border-style);
  border-radius: var(--linked-cell-border-radius);
  border-width: var(--linked-cell-border-width);
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: var(--linked-cell-padding-left);
  padding-right: var(--linked-cell-padding-right);
  /* margin: var(--linked-cell-margin); */
  /* transform: var(--linked-cell-transform); */
  box-shadow: var(--linked-cell-box-shadow);
  color: var(--linked-cell-color);
  cursor: pointer;
  pointer-events: all;
  transform: scale(0);
  transition: transform ease-in 0.33s, opacity ease-in 0.33s;
  opacity: 1;
  text-transform: capitalize;
  white-space: nowrap;
  align-self: center;
}
.link-fanout-item.spin-in {
  transform: scale(1) rotate(360deg);
  opacity: 1;
  transition: opacity ease-in 0.33s, transform ease-in 0.33s;
}
.link-fanout-item.spin-out {
  transform: translateX(-80px);
  transition: opacity ease-in 0.33s, transform ease-in 0.33s;
  opacity: 0;
}
.link-fanout-item.spin-out.spin-out-left {
  transform: translateX(80px);
}
.link-fanout-item.spin-start {
  transform: translateX(80px);
  transition: none;
  opacity: 0;
}
.link-fanout-item.spin-start.spin-out-left {
  transform: translateX(-80px);
}

.link-fanout-spinin {
  border-radius: 50%;
  background-color: var(--cellara-teal);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: start;
  cursor: pointer;
  grid-row: 1;
  grid-column: 4;
  color: var(--cellara-white);
  align-self: start;
  opacity: 0;
  pointer-events: none;
}
.link-fanout-spinin.spin-in {
  transform: rotate(-360deg);
  transition: transform ease-in 0.33s;
}

.connection-more {
  background-color: var(--cellara-white);
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: black;
  font-size: 1em;
  background-color: var(--linked-cell-background-color);
  border-color: var(--linked-cell-border-color);
  border-style: var(--linked-cell-border-style);
  border-radius: var(--linked-cell-border-radius);
  border-width: var(--linked-cell-border-width);
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: var(--linked-cell-padding-left);
  padding-right: var(--linked-cell-padding-right);
  /* margin: var(--linked-cell-margin); */
  /* transform: var(--linked-cell-transform); */
  box-shadow: var(--linked-cell-box-shadow);
  color: var(--linked-cell-color);
  cursor: pointer;
  pointer-events: all;
  height: 25px;
  width: 78px;
  align-self: center;
  transform: rotate(0deg) scale(0) translateX(-80px);
  transform-origin: top left;
  transition: transform ease-in 0.33s, opacity ease-in 0.33s;
  opacity: 1;
  grid-row: 3;
  grid-column: 4;
}
.connection-more.spin-in {
  transform: scale(1) translateX(0px);
  opacity: 1;
  transition: opacity ease-in 0.33s, transform ease-in 0.33s;
}
.connection-more.spin-out {
  transform: translateX(-80px);
  transition: opacity ease-in 0.33s, transform ease-in 0.33s;
  opacity: 0;
}
.connection-more.spin-out.spin-out-left {
  transform: translateX(80px);
}
.connection-more.spin-start {
  transform: translateX(80px);
  transition: none;
  opacity: 0;
}
.connection-more.spin-start.spin-out-left {
  transform: translateX(-80px);
}

.connection-back {
  background-color: var(--cellara-white);
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: black;
  font-size: 1em;
  background-color: var(--linked-cell-background-color);
  border-color: var(--linked-cell-border-color);
  border-style: var(--linked-cell-border-style);
  border-radius: var(--linked-cell-border-radius);
  border-width: var(--linked-cell-border-width);
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: var(--linked-cell-padding-left);
  padding-right: var(--linked-cell-padding-right);
  /* margin: var(--linked-cell-margin); */
  /* transform: var(--linked-cell-transform); */
  box-shadow: var(--linked-cell-box-shadow);
  color: var(--linked-cell-color);
  cursor: pointer;
  pointer-events: all;
  height: 25px;
  width: 78px;
  align-self: center;
  transform: rotate(0deg) scale(0) translateX(-80px);
  transform-origin: top left;
  transition: transform ease-in 0.33s, opacity ease-in 0.33s;
  opacity: 1;
  grid-row: 1;
  grid-column: 1;
}
.connection-back.spin-in {
  transform: scale(1) translateX(0px);
  opacity: 1;
  transition: opacity ease-in 0.33s, transform ease-in 0.33s;
}
.connection-back.spin-out {
  transform: translateX(-80px);
  transition: opacity ease-in 0.33s, transform ease-in 0.33s;
  opacity: 0;
}
.connection-back.spin-out.spin-out-left {
  transform: translateX(80px);
}
.connection-back.spin-start {
  transform: translateX(80px);
  transition: none;
  opacity: 0;
}
.connection-back.spin-start.spin-out-left {
  transform: translateX(-80px);
}

.sync-in-progress.sync-in-progress.sync-in-progress.sync-in-progress > * {
  background-color: var(--cellara-blue);
  background-image: none;
  color: var(--cellara-white);
}

.loading-progress-bar {
  opacity: 0;
  pointer-events: none;
}

.loading-progress-bar.show {
  position: fixed;
  top: 200px;
  left: 200px;
  opacity: 1;
  pointer-events: auto;
}

.cellara-signup-form {
  display: grid;
  grid-template-columns: -1px 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 10px;
}

.cellara-signup-form-label--username {
  grid-column: 2/3;
  grid-row: 1/2;
  justify-self: end;
}

.cellara-signup-form-input--username {
  grid-column: 3/4;
  grid-row: 1/2;
  justify-self: start;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

.cellara-signup-form-label--email {
  grid-column: 2/3;
  grid-row: 2/3;
  justify-self: end;
}

.cellara-signup-form-input--email {
  grid-column: 3/4;
  grid-row: 2/3;
  justify-self: start;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

.cellara-signup-form-label--password {
  grid-column: 2/3;
  grid-row: 3/4;
  justify-self: end;
}

.cellara-signup-form-input--password {
  grid-column: 3/4;
  grid-row: 3/4;
  justify-self: start;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

.cellara-signup-form-submit {
  grid-column: 3/4;
  grid-row: 4/5;
  justify-self: end;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

/* AI Command Bar */
.ai-command-bar {
  display: none;
}

.ai-toggle {
  transition: var(--transition);
  height: 60px;
  width: 60px;
  border-radius: 70px;
  border-width: 1px;
  border-style: solid;
  z-index: 90;
  -webkit-user-drag: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
}
.ai-toggle.light {
  box-shadow: 2px 2px 5px 1px #bec0be;
  border-color: transparent;
  background-color: var(--cellara-green);
}
.ai-toggle.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  background-color: var(--cellara-green);
}
.ai-toggle.light:hover {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: var(--transition);
  transform: scale(1.05);
}
.ai-toggle.light:active {
  box-shadow: 0px 0px 5px 1px #bec0be;
  transition: var(--transition);
  transform: scale(0.95);
}
.ai-toggle.dark:hover {
  box-shadow: 0px 0px 5px 1px;
  transition: var(--transition);
  transform: scale(1.05);
  border-color: black;
}
.ai-toggle.dark:active {
  box-shadow: 0px 0px 5px 1px;
  transition: var(--transition);
  transform: scale(0.95);
  border-color: black;
}

.ai-toggle-icon {
  line-height: 1;
}

.ai-command-area {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: 90vw;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.ai-command-area.light {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ai-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.ai-input:focus {
  border-color: rgba(100, 149, 237, 0.6);
}
.ai-input.light {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.12);
  color: #333;
}
.ai-input.light:focus {
  border-color: rgba(66, 133, 244, 0.5);
}
.ai-input.light::placeholder {
  color: rgba(0, 0, 0, 0.35);
}
.ai-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.ai-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #6495ed;
  border-radius: 50%;
  animation: ai-spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes ai-spin {
  to {
    transform: rotate(360deg);
  }
}
.ai-status {
  padding: 4px 0;
  min-height: 20px;
}

.ai-status-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.ai-command-area.light .ai-status-text {
  color: rgba(0, 0, 0, 0.4);
}

.ai-results {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-result-item {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.ai-result-item.success {
  background: rgba(76, 175, 80, 0.12);
  color: #81c784;
}
.ai-command-area.light .ai-result-item.success {
  background: rgba(76, 175, 80, 0.08);
  color: #388e3c;
}
.ai-result-item.error {
  background: rgba(244, 67, 54, 0.12);
  color: #e57373;
}
.ai-command-area.light .ai-result-item.error {
  background: rgba(244, 67, 54, 0.08);
  color: #d32f2f;
}
.ai-result-item.info {
  background: rgba(100, 149, 237, 0.12);
  color: #90caf9;
}
.ai-command-area.light .ai-result-item.info {
  background: rgba(66, 133, 244, 0.08);
  color: #1565c0;
}

/* Semantic search separator */
.search-semantic-separator {
  padding: 4px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2px;
}
.search-semantic-separator.light {
  color: rgba(0, 0, 0, 0.35);
  border-top-color: rgba(0, 0, 0, 0.08);
}

.search-selection.semantic {
  opacity: 0.85;
}

.composer-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(900px, 100vw - 32px);
  z-index: 9999;
  padding: 10px 16px;
  background: var(--app-bg, rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}
.composer-bar.light {
  background: rgba(255, 255, 255, 0.92);
  color: #222;
}
.composer-bar.dark {
  background: rgba(20, 20, 20, 0.92);
  color: #ddd;
}
.composer-bar .composer-error {
  color: #d4684a;
  font-size: 12px;
  margin-bottom: 4px;
}
.composer-bar .composer-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer-bar .composer-add-cell-wrap {
  position: relative;
  flex: 0 0 auto;
}
.composer-bar .composer-add-cell-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid black;
  background: var(--cellara-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  padding: 0 0 6px;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.composer-bar .composer-add-cell-button:hover {
  transform: scale(1.04);
}
.composer-bar .composer-add-cell-button:active {
  transform: scale(0.96);
}
.composer-bar .composer-add-cell-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.composer-bar.light .composer-add-cell-button {
  border-color: transparent;
  box-shadow: 2px 2px 5px 1px #bec0be;
}
.composer-bar .composer-textarea {
  flex: 1 1 auto;
  min-height: 32px;
  max-height: 200px;
  resize: vertical;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(128, 128, 128, 0.4);
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.4;
}
.composer-bar .composer-textarea:focus {
  outline: none;
  border-color: rgba(70, 130, 200, 0.7);
}
.composer-bar .composer-textarea:disabled {
  opacity: 0.6;
}
.composer-bar .pretext-editor.composer-pretext {
  flex: 1 1 auto;
  min-height: 32px;
  max-height: 40vh;
  overflow-y: auto;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(128, 128, 128, 0.4);
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  outline: none;
  word-break: break-word;
  white-space: pre-wrap;
}
.composer-bar .pretext-editor.composer-pretext:focus {
  border-color: rgba(70, 130, 200, 0.7);
}
.composer-bar .pretext-editor.composer-pretext:empty::before {
  content: attr(data-placeholder);
  opacity: 0.5;
  pointer-events: none;
}
.composer-bar .composer-submit {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(70, 130, 200, 0.7);
  background: rgba(70, 130, 200, 0.85);
  color: white;
  font-weight: 600;
  cursor: pointer;
}
.composer-bar .composer-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.composer-bar .composer-submit:not(:disabled):hover {
  background: rgb(70, 130, 200);
}

.infra-error-banner {
  background: rgba(220, 70, 70, 0.1);
  border: 1px solid rgba(220, 70, 70, 0.35);
  border-radius: 6px;
  padding: 8px 10px;
  color: #f3a8a8;
  font-size: 13px;
  line-height: 1.45;
}
.infra-error-banner .infra-error-hint {
  margin-top: 4px;
  opacity: 0.85;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.workstream-message {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(128, 128, 128, 0.08);
  max-width: 82%;
}
.workstream-message.user {
  align-self: flex-end;
  margin-left: auto;
  background: rgba(70, 130, 200, 0.18);
  text-align: right;
}
.workstream-message.friend {
  align-self: flex-start;
  margin-right: auto;
}
.workstream-message .workstream-message-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  opacity: 0.65;
}
.workstream-message.user .workstream-message-meta {
  justify-content: flex-end;
}
.workstream-message .workstream-message-author {
  font-weight: 600;
}
.workstream-message .workstream-message-body {
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.activity-bubble.activity-bubble-mine {
  flex-direction: row-reverse;
}

/* Chat message cell — constrains markdown content to parent width */
.message-cell {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.markdown-content {
  line-height: 1.6;
  color: inherit;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
}
.markdown-content > *:not(.markdown-table-scroll) {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.markdown-content p {
  margin: 0 0 0.55em 0;
}
.markdown-content p:last-child {
  margin-bottom: 0;
}
.markdown-content h1, .markdown-content h2, .markdown-content h3, .markdown-content h4, .markdown-content h5, .markdown-content h6 {
  margin: 1.15em 0 0.4em 0;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.markdown-content h1:first-child, .markdown-content h2:first-child, .markdown-content h3:first-child, .markdown-content h4:first-child, .markdown-content h5:first-child, .markdown-content h6:first-child {
  margin-top: 0;
}
.markdown-content h1 {
  font-size: 1.35em;
}
.markdown-content h2 {
  font-size: 1.18em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.markdown-content h3 {
  font-size: 1.05em;
  opacity: 0.92;
}
.markdown-content h4 {
  font-size: 1em;
  opacity: 0.88;
}
.markdown-content code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "SF Mono", "Menlo", "Consolas", ui-monospace, monospace;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  text-decoration: none;
  color: inherit;
  display: inline !important;
  border: none;
  box-shadow: none;
  flex: none;
  width: auto;
  max-width: 100%;
}
.markdown-content .cell-inline-link {
  display: inline;
  white-space: normal;
  word-break: break-word;
}
.markdown-content pre {
  background: rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.85em 1.05em;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0.75em 0;
  font-size: 0.84em;
  line-height: 1.55;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  font-family: "SF Mono", "Menlo", "Consolas", ui-monospace, monospace;
}
.markdown-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  display: inline;
  white-space: pre-wrap;
  border: none;
}
.markdown-content ul, .markdown-content ol {
  display: block !important;
  flex-direction: unset;
  flex-wrap: unset;
  width: auto !important;
  max-width: 100%;
  margin: 0.45em 0 0.55em;
  padding-left: 1.45em;
  overflow-wrap: anywhere;
  word-break: break-word;
  list-style-position: outside;
}
.markdown-content li {
  display: list-item !important;
  margin: 0.2em 0;
  white-space: normal; /* override _base.scss td,li { white-space: nowrap } */
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.markdown-content blockquote {
  border-left: 3px solid rgba(108, 92, 231, 0.55);
  background: rgba(108, 92, 231, 0.06);
  margin: 0.75em 0;
  padding: 0.65em 0.95em;
  border-radius: 0 10px 10px 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 1.02em;
  line-height: 1.55;
}
.markdown-content a {
  color: #6c5ce7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.markdown-content strong {
  font-weight: 600;
}
.markdown-content em {
  font-style: italic;
  opacity: 0.95;
}
.markdown-content .markdown-table-scroll {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 0.75em 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}
.markdown-content table {
  border-collapse: collapse;
  margin: 0.5em 0;
  font-size: 0.9em;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  width: max-content;
  max-width: none;
  min-width: min(100%, max-content);
}
.markdown-content .markdown-table-scroll > table {
  margin: 0;
  min-width: 100%;
}
.markdown-content th, .markdown-content td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5em 0.85em;
  text-align: left;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}
.markdown-content th, .markdown-content td code {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.markdown-content th {
  background: rgba(0, 0, 0, 0.045);
  font-weight: 600;
  font-size: 0.78em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}
.markdown-content td:first-child,
.markdown-content th:first-child {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
}
.markdown-content tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.025);
}
.markdown-content tbody tr:hover td {
  background: rgba(108, 92, 231, 0.06);
}
.markdown-content td:not(:first-child) {
  min-width: 10em;
}
.markdown-content hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 1.1em 0;
}
.markdown-content img {
  max-height: 80px;
  max-width: 120px;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 0.4em;
}

/* Dark mode — plans + chat live here most of the time */
.dark .markdown-content h2 {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.dark .markdown-content h3, .dark .markdown-content h4 {
  opacity: 0.9;
}
.dark .markdown-content code {
  background: rgba(255, 255, 255, 0.1);
}
.dark .markdown-content pre {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark .markdown-content blockquote {
  border-left-color: rgba(162, 155, 254, 0.75);
  background: rgba(108, 92, 231, 0.12);
  color: rgba(255, 255, 255, 0.84);
}
.dark .markdown-content a {
  color: #a29bfe;
}
.dark .markdown-content .markdown-table-scroll {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}
.dark .markdown-content th, .dark .markdown-content td {
  border-color: rgba(255, 255, 255, 0.12);
}
.dark .markdown-content th {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}
.dark .markdown-content td:first-child,
.dark .markdown-content th:first-child {
  color: rgba(255, 255, 255, 0.94);
}
.dark .markdown-content tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}
.dark .markdown-content tbody tr:hover td {
  background: rgba(108, 92, 231, 0.12);
}
.dark .markdown-content hr {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* Claude streaming UI */
.claude-thinking {
  opacity: 0.6;
  animation: claude-pulse 1.5s ease-in-out infinite;
}

@keyframes claude-pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}
.claude-tool-uses {
  margin-top: 0.4em;
  font-size: 0.85em;
}

.claude-tool-use {
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.2em 0;
  color: #6c5ce7;
}

.claude-tool-use.done {
  color: #27ae60;
}

.claude-tool-name {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.9em;
}

.claude-tool-spinner {
  animation: claude-pulse 1s ease-in-out infinite;
}

/* Agent Activity cells */
.linked-cell.agent-activity {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  padding: 4px 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.agent-activity-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.agent-model-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  margin-right: 0.4em;
}

.agent-model-badge.haiku {
  background: #2ecc71;
}

.agent-model-badge.sonnet {
  background: #6c5ce7;
}

.agent-model-badge.opus {
  background: #e67e22;
}

.agent-model-badge.codex {
  background: #2563eb;
  font-size: 9px;
}

.agent-model-badge.grok {
  background: #111827;
  color: #f9fafb;
  font-size: 11px;
  border: 1px solid #374151;
}

.agent-model-badge.unknown {
  background: #64748b;
}

.agent-model-badge--photo {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.agent-model-badge--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.agent-activity-spinner {
  animation: agent-spin 1.5s linear infinite;
  display: inline-block;
  margin-left: 0.4em;
}

@keyframes agent-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.agent-duration {
  font-size: inherit;
  opacity: 0.7;
}

.agent-activity-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.agent-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.agent-phase {
  font-size: 0.85em;
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-elapsed {
  font-size: 0.8em;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-left: 0.5em;
}

.agent-activity-stats {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 2px;
}

.agent-pulse-bar {
  height: 3px;
  width: 60px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #6c5ce7, transparent);
  background-size: 120px 3px;
  animation: agent-pulse 2s ease-in-out infinite;
}

@keyframes agent-pulse {
  0%, 100% {
    opacity: 0.3;
    background-position: -60px;
  }
  50% {
    opacity: 1;
    background-position: 60px;
  }
}
.agent-stat-text {
  font-size: 0.75em;
  opacity: 0.5;
}

.agent-activity-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.agent-activity-action-btn {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid var(--light-mode-border);
  background: transparent;
  color: var(--light-mode-text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.agent-activity-action-btn:hover {
  background: rgba(108, 92, 231, 0.1);
  border-color: rgba(108, 92, 231, 0.3);
}

.dark .agent-activity-action-btn {
  border-color: var(--dark-mode-border);
  color: var(--dark-mode-text-muted);
}
.dark .agent-activity-action-btn:hover {
  background: rgba(108, 92, 231, 0.15);
  border-color: rgba(108, 92, 231, 0.4);
}

.agent-tool-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 3px;
  align-items: center;
  overflow: hidden;
  max-height: 18px;
}

.agent-tool-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Activity cell main view */
.agent-activity-main {
  padding: 16px;
}

.linked-cell.workstream {
  position: relative;
}

.the-great-filter.workstream .main-blob-card {
  border-radius: 16px;
}

.the-great-filter.agent-activity .main-blob::before,
.the-great-filter.agent-activity .main-blob::after {
  display: none;
}
.the-great-filter.agent-activity .main-blob-card {
  border-radius: 16px;
  background: radial-gradient(ellipse 55% 45% at 30% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 65%), linear-gradient(140deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.015) 100%), rgba(26, 26, 28, 0.92);
}

.light .the-great-filter.agent-activity .main-blob-card {
  background: radial-gradient(ellipse 60% 40% at 25% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%), linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.4) 35%, rgba(255, 255, 255, 0.28) 100%), rgba(248, 248, 250, 0.94);
}

.agent-activity-main-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  margin-bottom: 16px;
}

.agent-status-label {
  font-weight: 500;
  font-size: 14px;
}

/* --- Activity Parts (linked cells) --- */
.agent-activity-parts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  min-width: 0;
  max-width: 100%;
}

.agent-activity-part {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.agent-activity-part-time {
  flex-shrink: 0;
  font-size: 0.7em;
  opacity: 0.4;
  min-width: 36px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Plan cell blocks — applies to .plan-blocks regardless of ancestor.
   .plan / .claude-plan ancestor classes were dropped from plan-cell so
   it inherits note's width/scroll behavior; the per-block styling stays. */
.plan-blocks {
  padding: 8px 0;
  min-width: 0;
  overflow: hidden;
}

/* Phase 2 — maddox-only Pretext rendering for plan / research block text. */
.pretext-block {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: normal;
  padding-left: 12px;
}
.pretext-block .pretext-block-paragraph {
  margin: 0;
  padding: 4px 0;
}
.pretext-block .pretext-block-paragraph.blank {
  min-height: 22px;
}
.pretext-block .pretext-line {
  display: block;
  white-space: pre;
}

.activity-preview {
  margin-top: 3px;
  min-width: 0;
  overflow: hidden;
}

.activity-preview-line {
  font-size: 0.75em;
  opacity: 0.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.linked-cell.agent-activity.done .agent-phase {
  opacity: 1;
}

.linked-cell.agent-activity.error .agent-phase {
  color: #e74c3c;
}

.linked-cell.agent-activity.stale .agent-phase {
  color: rgba(245, 245, 245, 0.62);
}

/* --- Agent Action Buttons --- */
.linked-cell.agent-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.linked-cell.agent-action:hover {
  background: rgba(46, 204, 113, 0.25);
  border-color: rgba(46, 204, 113, 0.5);
}

.linked-cell.agent-action:active {
  transform: scale(0.97);
}

.linked-cell.agent-action.triggered {
  background: rgba(149, 165, 166, 0.1);
  border-color: rgba(149, 165, 166, 0.2);
  cursor: default;
  opacity: 0.6;
}

.agent-action-icon {
  font-size: 1em;
}

.agent-action-label {
  font-size: 0.85em;
  font-weight: 600;
}

.agent-action-done {
  font-size: 0.85em;
}

/* --- Agent Choice Cells --- */
.linked-cell.agent-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px;
}

.agent-choice-question {
  font-size: 0.85em;
  font-weight: 500;
  opacity: 0.9;
}

.agent-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.agent-choice-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid rgba(108, 92, 231, 0.3);
  background: rgba(108, 92, 231, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  color: inherit;
}

.agent-choice-pill:hover:not(:disabled) {
  background: rgba(108, 92, 231, 0.25);
  border-color: rgba(108, 92, 231, 0.5);
}

.agent-choice-pill:active:not(:disabled) {
  transform: scale(0.97);
}

.agent-choice-pill.selected {
  background: rgba(108, 92, 231, 0.3);
  border-color: #6c5ce7;
}

.agent-choice-pill.dimmed {
  opacity: 0.3;
  cursor: default;
}

.agent-choice-label {
  font-size: 0.85em;
  font-weight: 600;
}

.agent-choice-desc {
  font-size: 0.75em;
  opacity: 0.6;
  margin-top: 2px;
}

.cell-inline-link {
  color: var(--cellara-green);
  text-decoration: underline;
  text-decoration-color: var(--cellara-green);
  cursor: pointer;
}
.cell-inline-link:hover {
  opacity: 0.8;
}

.cell-link-autocomplete {
  position: fixed;
  z-index: 10001;
  background: var(--dark-mode-bg-mid);
  border: 1px solid var(--dark-mode-border);
  border-radius: 6px;
  box-shadow: var(--dark-mode-box-shadow);
  max-height: 240px;
  overflow-y: auto;
  min-width: 200px;
  max-width: 320px;
}
.light .cell-link-autocomplete {
  background: var(--light-mode-bg-light);
  border: 1px solid var(--light-mode-border);
  box-shadow: var(--light-mode-box-shadow);
}
.cell-link-autocomplete-item {
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dark-mode-text-body);
}
.light .cell-link-autocomplete-item {
  color: var(--light-mode-text-body);
}
.cell-link-autocomplete-item:hover, .cell-link-autocomplete-item.selected {
  background: var(--dark-mode-bg-highlight);
}
.light .cell-link-autocomplete-item:hover, .light .cell-link-autocomplete-item.selected {
  background: var(--light-mode-bg-highlight);
}
.cell-link-autocomplete-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capp-container {
  height: 100%;
  width: 100%;
  border-radius: 5px;
}

@media screen and (min-width: 600px) {
  .capp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 5px;
  }
}
.capp--calendar {
  width: 100%;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 100px;
}

div.capp--calendar_content {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

div.capp--calendar-container {
  display: flex;
  justify-content: center;
}

div.calendar-container {
  display: flex;
  justify-content: center;
}
div.calendar-container.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-capp);
}
div.calendar-container.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-capp);
  border-color: black;
}

div.calendar {
  display: grid;
  grid-template-columns: 50px auto 50px;
  width: 100%;
}

div.calendar-card {
  grid-column: 2;
  padding: 10px;
  margin-top: 110px;
  margin-bottom: 120px;
  min-height: 300px;
  min-width: 620px;
  border-radius: 1em;
  user-select: none;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  margin-right: 5px;
  margin-left: 5px;
  transition: var(--transition);
  max-width: 1400px;
}
div.calendar-card.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
div.calendar-card.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
}

.calendar-card div.capp-name {
  padding-left: 5px;
  padding-right: 20px;
  width: 155px;
}

div.calendar2.day {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  min-height: 400px;
  width: 90vw;
  border-radius: 1em;
  border-style: solid;
  border-width: 1px;
  user-select: none;
}
div.calendar2.week {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 400px;
  width: 90vw;
  min-width: 800px;
  border-radius: 1em;
  user-select: none;
  border-width: 1px;
  border-style: solid;
  border-color: inherit;
}
div.calendar2.month {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 70vh;
  border-radius: 1em;
  user-select: none;
  width: 90vw;
  border-width: 1px;
  border-style: solid;
}
div.calendar2.quarter {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 400px;
  border-radius: 1em;
  user-select: none;
  width: 90vw;
  border-width: 1px;
  border-style: solid;
}
div.calendar2.year {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 400px;
  border-radius: 1em;
  user-select: none;
  width: 90vw;
  border-width: 1px;
  border-style: solid;
}

.capp--calendar-daily {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  min-height: 400px;
  width: 90vw;
  border-radius: 1em;
  border-style: solid;
  border-width: 1px;
  user-select: none;
}
.capp--calendar-daily.light {
  background-color: var(--light-mode-bg-capp);
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
}
.capp--calendar-daily.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-capp);
  border-color: black;
}

.capp--calendar-weekly {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 400px;
  width: 90vw;
  min-width: 800px;
  border-radius: 1em;
  user-select: none;
  border-width: 1px;
  border-style: solid;
}
.capp--calendar-weekly.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-capp);
}
.capp--calendar-weekly.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-capp);
  border-color: black;
}

.capp--calendar-monthly {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 70vh;
  border-radius: 1em;
  user-select: none;
  width: 90vw;
  border-width: 1px;
  border-style: solid;
}
.capp--calendar-monthly.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-capp);
}
.capp--calendar-monthly.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-capp);
  border-color: black;
  max-height: 100%;
}

.capp--calendar-monthly-screen.dark {
  background-image: none;
  background-color: var(--dark-mode-bg-dark);
}

.capp--calendar-quarterly {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 400px;
  border-radius: 1em;
  user-select: none;
  width: 90vw;
  border-width: 1px;
  border-style: solid;
}
.capp--calendar-quarterly.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-capp);
}
.capp--calendar-quarterly.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-capp);
  border-color: black;
}

.capp--calendar-yearly {
  padding-top: 6px;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  margin-top: 120px;
  margin-bottom: 200px;
  margin-right: 20px;
  margin-left: 20px;
  min-height: 400px;
  border-radius: 1em;
  user-select: none;
  width: 90vw;
  border-width: 1px;
  border-style: solid;
}
.capp--calendar-yearly.light {
  background-color: var(--light-mode-bg-capp);
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
}
.capp--calendar-yearly.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-capp);
  border-color: black;
}

div.calendar-dow {
  color: rgb(126, 140, 168);
  padding-right: 3px;
}

div.calendar-day {
  margin-left: 2px;
}
div.calendar-day.day {
  font-size: 20px;
}
div.calendar-day.light {
  color: var(--light-mode-text-muted);
}
div.calendar-day.dark {
  color: var(--dark-mode-text-body);
}

div.daily-calendar-body {
  display: flex;
  align-items: center;
  flex-direction: column;
}

div.calendar-grid-daily {
  min-height: 220px;
  min-width: 250px;
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
  padding-right: 5px;
  padding-left: 5px;
}
div.calendar-grid-daily.light {
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
}
div.calendar-grid-daily.dark {
  background-color: var(--dark-mode-bg-mid);
  border-color: var(--dark-mode-border);
}

.calendar-grid-weekly {
  border-radius: 10px;
  border-style: solid;
  border-width: 1px;
  width: 100%;
}
.calendar-grid-weekly.light {
  box-shadow: rgba(201, 201, 201, 0.3) 2px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px, rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px, rgba(201, 201, 201, 0.1) -1px 0px 0px -1.1px;
  border-color: transparent;
}
.calendar-grid-weekly.dark {
  border-color: transparent;
}

div.calendar-grid-cell-weekly {
  display: flex;
  flex-direction: column;
  border-width: 1px;
  border-style: solid;
  height: inherit;
}
div.calendar-grid-cell-weekly.light {
  border-top-color: var(--light-mode-border-muted);
  border-bottom-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
}
div.calendar-grid-cell-weekly.light.dow6 {
  border-left-color: var(--light-mode-border-muted);
  border-right-color: var(--light-mode-bg-darkest);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
div.calendar-grid-cell-weekly.light.dow0, div.calendar-grid-cell-weekly.light.dow1, div.calendar-grid-cell-weekly.light.dow2, div.calendar-grid-cell-weekly.light.dow3, div.calendar-grid-cell-weekly.light.dow4 {
  border-left-width: 0px;
  border-right-color: var(--light-mode-bg-darkest);
}
div.calendar-grid-cell-weekly.light.dow5 {
  border-right-color: var(--light-mode-border-muted);
  border-left-width: 0px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
div.calendar-grid-cell-weekly.dark {
  border-top-color: var(--dark-mode-border);
  border-bottom-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-mid);
}
div.calendar-grid-cell-weekly.dark.dow6 {
  border-left-color: var(--dark-mode-border);
  border-right-color: var(--dark-mode-bg-darkest);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
div.calendar-grid-cell-weekly.dark.dow0, div.calendar-grid-cell-weekly.dark.dow1, div.calendar-grid-cell-weekly.dark.dow2, div.calendar-grid-cell-weekly.dark.dow3, div.calendar-grid-cell-weekly.dark.dow4 {
  border-left-width: 0px;
  border-right-color: var(--dark-mode-bg-darkest);
}
div.calendar-grid-cell-weekly.dark.dow5 {
  border-right-color: var(--dark-mode-border);
  border-left-width: 0px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.calendar-grid-monthly {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 columns for each day of the week */
  width: 100%;
}

.calendar-monthly-weeks {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.calendar-week-row {
  position: relative;
  width: 100%;
}

.calendar-multi-day-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  gap: 4px 0;
  pointer-events: none;
}

.calendar-day-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.calendar-day-cells-weekly {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}

.calendar-display-section-weeks {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.multi-day-event-bar {
  display: flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 28px;
  box-sizing: border-box;
  margin: 1px 2px;
  transition: var(--transition);
  pointer-events: auto;
}
.multi-day-event-bar.light {
  background-color: white;
  border: 1px solid var(--light-mode-border);
  color: var(--light-mode-text-body);
}
.multi-day-event-bar.light:hover {
  transform: scale(1.02, 1.02);
  box-shadow: var(--light-mode-box-shadow);
}
.multi-day-event-bar.dark {
  background-color: var(--dark-mode-bg-light);
  border: 1px solid var(--dark-mode-border);
  color: var(--text-white);
}
.multi-day-event-bar.dark:hover {
  transform: scale(1.02, 1.02);
  background-color: var(--dark-mode-bg-highlight);
}
.multi-day-event-bar.continues-before {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
  border-left: none;
}
.multi-day-event-bar.continues-after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 0;
  border-right: none;
}

span.multi-day-bar-icon {
  display: inline-flex;
  align-items: center;
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  margin-right: 4px;
}

span.multi-day-bar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

div.calendar-grid-quarterly {
  display: grid;
  width: 100%;
}

div.calendar-grid-yearly {
  display: grid;
  width: 100%;
}

div.calendar-grid-section {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
}
div.calendar-grid-monthly-subsection {
  width: 100%;
}
div.calendar-grid-monthly-subsection.dow6 {
  margin-top: 50px;
}

div.calendar-grid-quarterly-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 columns for each day of the week */
  grid-gap: 0px;
  width: 100%;
}

div.calendar-grid-yearly-month {
  display: grid;
  grid-template-columns: repeat(7, 0.5fr); /* 7 columns for each day of the week */
  grid-gap: 0px;
  width: 100%;
}

.capp--calendar-mobile.light {
  margin: 0.7em;
  padding: 10px;
  min-height: 400px;
  border-radius: 1em;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
}

.capp--calendar-mobile.dark {
  margin: 0.7em;
  padding: 10px;
  min-height: 400px;
  color: var(--cellara-white);
  border-radius: 1em;
  background-color: var(--dark-mode-bg-mid);
}

.capp--calendar_mode-select-desktop.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}

.capp--icon {
  height: 45px;
  width: 45px;
  padding-right: 7px;
}

div.calendar-mode-selector {
  display: flex;
  border-radius: 30px;
  font-size: 16px;
}
div.calendar-mode-selector.light {
  background-image: linear-gradient(315deg, #e6ecf5 0%, #fafdff 80%);
}
div.calendar-mode-selector.dark {
  background-color: var(--dark-mode-bg-mid);
}

button.calendar-mode-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  border-style: solid;
  font-size: 15px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  cursor: pointer;
  background-color: inherit;
  margin: 0px;
}
button.calendar-mode-button.light {
  color: #7e8ca8;
  border-color: var(--light-mode-border);
}
button.calendar-mode-button.dark {
  color: white;
  border-color: black;
}
button.calendar-mode-button.left {
  border-top-left-radius: 45%;
  border-bottom-left-radius: 45%;
  border-left-width: 1px;
  border-right-width: 0px;
  padding-left: 15px;
  padding-right: 12px;
  width: 52px;
}
button.calendar-mode-button.right {
  border-top-right-radius: 45%;
  border-bottom-right-radius: 45%;
  border-left-width: 0px;
  border-right-width: 1px;
  padding-right: 15px;
  padding-left: 12px;
  width: 52px;
}
button.calendar-mode-button.middle {
  border-left-width: 0px;
  border-right-width: 0px;
  padding-right: 11px;
  padding-left: 11px;
}
button.calendar-mode-button.light:hover {
  background-color: var(--highlight-light);
  box-shadow: var(--box-shadow-light-mode);
}
button.calendar-mode-button.dark:hover {
  background-color: var(--highlight-dark);
}
button.calendar-mode-button.dark:active {
  box-shadow: inset 0px 0px 10px #1a1a1a;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 30%);
}
button.calendar-mode-button.current.light {
  background-color: var(--selected-light);
  border-width: 1px;
}
button.calendar-mode-button.current.dark {
  background-color: var(--highlight-dark);
  background-image: linear-gradient(315deg, #252526 0%, #373739 80%);
  border-width: 1px;
}
button.calendar-mode-button.current.dark:active {
  box-shadow: inset 0px 0px 10px #1a1a1a;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 30%);
}

.calendar-cell {
  display: flex;
  list-style: none;
  justify-content: center;
}

div.calendar-event-item {
  display: flex;
  justify-contents: center;
}

div.remove-calendar-cell-button {
  margin-top: 5px;
}

span.calendar-cell {
  text-align: left;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 7px;
  padding-right: 6px;
  overflow: hidden;
  position: relative;
  max-height: 75px;
}

span.calendar-icon {
  display: inline-block;
  height: 20px;
  width: 20px;
}

span.calendar-cell-name {
  padding-left: 3px;
  box-decoration-break: clone;
  font-size: 14px;
}

div.quarterly-calendar-event-container {
  padding: 0px;
  margin: 0px;
}

button.linked-cell-quarterly-calendar {
  display: flex;
  padding: 1px;
  margin: 0.5px;
  color: var(--connected-cell-text-dark-mode);
  border-radius: 4px;
  font-size: 11px;
  border-style: solid;
}
button.linked-cell-quarterly-calendar .light-mode {
  background-color: var(--connected-cell-background-light-mode);
  border-color: var(--light-mode-border);
  border-width: 0px;
  box-shadow: var(--light-mode-box-shadow);
}
button.linked-cell-quarterly-calendar.dark-mode {
  background-color: var(--connected-cell-background-dark-mode);
  border-width: 1px;
  border-color: black;
}

button.linked-cell-calendar {
  transition: var(--transition);
  margin: 2px;
  padding: 0px;
  width: calc(100% - 4px);
  font-size: 15px;
  border-radius: 5px;
  color: var(--connected-cell-text-dark-mode);
  border-style: solid;
  border-width: 1px;
  word-break: break-word;
  text-align: left;
  display: flex;
}
button.linked-cell-calendar.light {
  border-color: var(--light-mode-border);
  background-color: white;
}
button.linked-cell-calendar.light:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03, 1.03);
  box-shadow: var(--light-mode-box-shadow);
}
button.linked-cell-calendar.dark {
  border-color: black;
  color: var(--text-white);
  background-color: var(--dark-mode-bg-light);
}
button.linked-cell-calendar.dark:hover {
  transition: all 0.04s ease-out;
  transform: scale(1.03, 1.03);
  background-color: var(--dark-mode-bg-highlight);
}

span.linked-cell-event-time-text {
  padding-left: 2px;
  display: inline-block;
  white-space: nowrap;
}
span.linked-cell-event-time-text.light {
  color: var(--cellara-light-red-light-mode);
}
span.linked-cell-event-time-text.dark {
  color: var(--cellara-red-dark-mode);
}

/*
div.calendar {
    padding-top: 200px;
    display: grid;
    grid-template-columns: repeat(7, 12vw);
    grid-template-rows: min-content min-content min-content;
}*/
div.weekly-calendar.title {
  display: grid;
  grid-template-columns: 30fr 3fr 30fr;
}

div.weekly-calendar.title.text {
  padding: 0.5em;
  border: 1px solid black;
  border-radius: 0.3em;
}

div.weekly-calendar.items {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.connected-date.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-day.month-day {
  font-size: 1.5em;
  font-weight: bold;
  white-space: nowrap;
}

.calendar-day.events {
  margin-bottom: 1em;
}

div.calender-event-item-box {
  display: flex;
  /* width: 100%; */
}

li.calendar.week.item {
  margin-left: 0px;
  padding-left: 0px;
  padding: 0px;
  margin: 0px;
}

ul.calendar.week.items {
  display: flex;
  justify-content: center;
  list-style: none;
  max-width: 100%;
  padding-left: 0px;
}

ul.calendar.day.items {
  list-style-type: none;
  padding: 0px;
}

div.weekly-calendar-event-time {
  margin-top: 0px;
  display: inline;
  color: #b12f41;
}

div.weekly-calendar-today {
  background-color: #508b6e;
  color: white;
}

div.calendar.no-padding-top {
  padding-top: 0;
}

.calendar-padding {
  padding-top: 200px;
}

div.calendar-day-centered {
  display: flex;
  justify-content: center;
}

.calendar-container {
  display: flex;
  justify-content: center;
}

div.daily-calendar-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
}
div.daily-calendar-date.header {
  margin-top: 5px;
  font-size: 25px;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
div.daily-calendar-date.subheader {
  font-size: 16px;
  margin-bottom: 20px;
}

div.capp--calendar-current-period {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
}

div.capp--calendar-period-buttons {
  display: flex;
  width: 250px;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: -3px;
  margin-right: -10px;
}

button.calendar-capp-period.light {
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  height: 52px;
  width: 52px;
  padding: 10px;
  margin-right: 5px;
  margin-left: 5px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: var(--light-mode-border);
}

button.calendar-capp-period.dark {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-radius: 50%;
  height: 52px;
  width: 52px;
  padding: 10px;
  margin-right: 5px;
  margin-left: 5px;
  font-size: 14px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}

button.calendar-capp-period.channel.light {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 0px;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  box-shadow: 1px 1px 5px 1px #bec0be;
  font-size: 20px;
  color: #505d75;
  display: flex;
  justify-content: center;
  align-items: center;
}

.capp--calendar-header {
  display: flex;
  justify-content: space-between;
  margin: 5px;
  padding-bottom: 10px;
}

div.capp--calendar-footer {
  position: fixed;
  bottom: 90px;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  pointer-events: none;
}

.capp--calendar-title {
  display: flex;
  align-items: flex-start;
  font-size: 24px;
  width: 250px;
}

.capp--calendar_day-forwards-button.light {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 0px;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  padding-left: 4px;
  box-shadow: 1px 1px 4px 1px #c1c1c1;
  font-size: 28px;
  color: #9baebd;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: flex-end;
  cursor: pointer;
  user-select: none;
}

div.floating-left-button {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 300px;
}

div.floating-right-button {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 300px;
}

.capp--calendar-move-buttons {
  display: flex;
  margin-top: -2px;
}

.capp--calendar-body {
  width: 100%;
}
.capp--calendar-body.week {
  min-height: 220px;
}
.capp--calendar-body.month {
  width: 100%;
  min-height: 8vh;
  max-width: 200px;
}
.capp--calendar-body.quarter {
  min-height: 6vh;
  max-width: 200px;
}
.capp--calendar-body.year {
  min-height: 6vh;
  max-width: 200px;
}

.calendar-grid-cell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  width: 100%;
  padding: 1px;
}
.calendar-grid-cell.light {
  background-color: var(--light-mode-bg-mid);
}

div.capp--calendar-day-background {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.calendar-grid-cell-background {
  height: 100%;
  width: 100%;
}
.calendar-grid-cell-background.see-through-light {
  border-radius: 0px;
  color: var(--light-mode-text-muted);
}
.calendar-grid-cell-background.see-through-light:hover {
  background-color: var(--light-mode-bg-highlight);
}
.calendar-grid-cell-background.see-through-dark {
  background-color: var(--dark-mode-bg-dark);
  border-radius: 0px;
  color: rgb(126, 140, 168);
}
.calendar-grid-cell-background.see-through-dark:hover {
  background-color: var(--dark-mode-bg-highlight);
}

.calendar-grid-cell.light.picker,
.calendar-grid-cell.top-left-light.picker,
.calendar-grid-cell.top-left-right-light.picker,
.calendar-grid-cell.bottom-left-right.light.picker,
.calendar-grid-cell.top-right-light.picker,
.calendar-grid-cell.top-light.picker,
.calendar-grid-cell.bottom-light.picker,
.calendar-grid-cell.left-light.picker,
.calendar-grid-cell.bottom-left-light.picker,
.calendar-grid-cell.right-light.picker,
.calendar-grid-cell.bottom-right-light.picker {
  height: 40px;
}

.calendar-grid-cell.top-left-right-light {
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  height: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.3) 1px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
}

.calendar-grid-cell.top-left-right-dark {
  border-top-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px, rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px, rgba(22, 22, 22, 0.3) 6px 0px 0px -1.1px;
  height: 100%;
  width: 100%;
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.bottom-left-right-light {
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px, rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.3) 1px 0px 1px -1.1px;
  height: 100%;
}

.calendar-grid-cell.bottom-left-right-dark {
  border-width: 1px;
  border-style: solid;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-color: var(--dark-mode-border);
  border-top-color: var(--dark-mode-bg-dark);
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.top-left-light {
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-left-radius: 10px;
  border-color: var(--light-mode-border-muted);
  border-right-color: var(--light-mode-bg-darkest);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
  height: 100%;
  width: 100%;
}

.calendar-grid-cell.top-left-dark {
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-left-radius: 10px;
  border-color: var(--dark-mode-border);
  border-right-color: var(--dark-mode-bg-dark);
  box-shadow: rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px, rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px;
  height: 100%;
  width: 100%;
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.top-right-light {
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  border-radius: 0px;
  border-top-right-radius: 10px;
  box-shadow: rgba(201, 201, 201, 0.3) 2px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px;
  height: 100%;
  width: 100%;
}

.calendar-grid-cell.top-right-dark {
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-color: var(--dark-mode-border);
  border-top-right-radius: 10px;
  box-shadow: rgba(22, 22, 22, 0.3) 6px 0px 0px -1.1px, rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px;
  height: 100%;
  width: 100%;
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.top-light {
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-top-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px -1px 2px -1.1px;
  height: 100%;
  width: 100%;
}

.calendar-grid-cell.top-dark {
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-top-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.2) 0px -5px 0px -1.1px;
  background-color: var(--dark-mode-bg-mid);
  height: 100%;
  width: 100%;
}

.calendar-grid-cell.middle-light {
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--light-mode-bg-darkest);
  background-color: var(--light-mode-bg-mid);
}

.calendar-grid-cell.middle-dark {
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--dark-mode-bg-dark);
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.bottom-light {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-bottom-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px;
}

.calendar-grid-cell.bottom-dark {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-bottom-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.left-light {
  border-left-width: 1px;
  border-left-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-left-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) -1px 0px 1px -1.1px;
}

.calendar-grid-cell.left-dark {
  border-left-width: 1px;
  border-left-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-left-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.1) -6px 0px 0px -1.1px;
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.right-light {
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--light-mode-bg-darkest);
  border-right-color: var(--light-mode-border-muted);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.2) 2px 0px 1px -1.1px;
}

.calendar-grid-cell.right-dark {
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: var(--dark-mode-bg-dark);
  border-right-color: var(--dark-mode-border);
  box-shadow: rgba(22, 22, 22, 0.3) 6px 0px 0px -1.1px;
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.bottom-right-light {
  border-bottom-right-radius: 10px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--light-mode-border-muted);
  border-top-color: var(--light-mode-bg-darkest);
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px 2px 1px -1.1px, rgba(201, 201, 201, 0.3) 2px 0px 0px -1.1px;
}

.calendar-grid-cell.bottom-right-dark {
  border-top-width: 1px;
  border-top-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-right-radius: 10px;
  border-color: var(--dark-mode-border);
  border-top-color: var(--dark-mode-bg-dark);
  background-color: var(--dark-mode-bg-mid);
}

.calendar-grid-cell.bottom-left-light {
  border-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-style: solid;
  border-left-color: var(--light-mode-border-muted);
  border-bottom-color: var(--light-mode-border-muted);
  border-right-color: var(--light-mode-bg-darkest);
  border-top-color: var(--light-mode-bg-darkest);
  border-bottom-left-radius: 10px;
  background-color: var(--light-mode-bg-mid);
  box-shadow: rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px, rgba(201, 201, 201, 0.1) -1px 0px 0px -1.1px;
}

.calendar-grid-cell.bottom-left-dark {
  border-width: 1px;
  border-style: solid;
  border-color: var(--dark-mode-border);
  border-bottom-left-radius: 10px;
  border-right-color: var(--dark-mode-bg-dark);
  border-top-color: var(--dark-mode-bg-dark);
  background-color: var(--dark-mode-bg-mid);
}

.capp--calendar-day-header {
  display: flex;
  font-size: 17px;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
  justify-content: flex-end;
  align-items: flex-start;
  justify-self: center;
  user-select: none;
  border-radius: 5px;
  width: 100%;
  height: 40px;
}
.capp--calendar-day-header.light {
  color: rgb(126, 140, 168);
}
.capp--calendar-day-header.dark {
  color: rgb(126, 140, 168);
}
.capp--calendar-day-header.daily {
  justify-content: center;
  align-items: flex-start;
}
.capp--calendar-day-header.light-new-month {
  font-size: 18px;
  font-weight: bold;
  color: rgb(126, 140, 168);
}
.capp--calendar-day-header.dark-new-month {
  font-size: 18px;
  font-weight: bold;
  color: rgb(126, 140, 168);
}

div.calendar-today-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12px;
}

.capp--calendar-day-background.today {
  background-image: linear-gradient(315deg, #ad9868 30%, #877856 80%);
  height: 100%;
  border-radius: 12px;
}

div.today-target {
  display: flex;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  margin-right: 4px;
  margin-top: 2px;
  overflow: hidden;
}
div.today-target svg {
  width: 20px;
  height: 20px;
}
div.today-target.day {
  margin-left: -40px;
}

.capp--calendar-day-header-today {
  display: flex;
  font-size: 15px;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
  height: 30px;
  margin-top: 2px;
  margin-bottom: 4px;
  justify-content: space-between;
  align-items: center;
  justify-self: center;
  user-select: none;
  border-radius: 5px;
  user-select: none;
}

.capp-calendar-dates {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  font-size: 5px;
}

.capp--calendar-move-button {
  pointer-events: all;
  user-select: none;
  height: 45px;
  width: fit-content;
  margin-left: 10px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: flex-end;
  cursor: pointer;
  user-select: none;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  font-weight: normal;
  padding-right: 10px;
  padding-left: 10px;
}
.capp--calendar-move-button.light {
  border-color: var(--light-mode-border);
  color: var(--cellara-blue);
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  background-color: #b8c6db;
}
.capp--calendar-move-button.dark {
  border-color: var(--dark-mode-border);
  background-color: #1e1e1f;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  color: var(--cellara-blue);
}

div.capp--calendar-move-button-text {
  padding-left: 7px;
}

.parts-nav-arrows-bar {
  position: sticky;
  top: 80px;
  height: 0;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  z-index: 50;
  pointer-events: none;
}

.parts-nav-arrow {
  position: absolute;
  top: 0;
  width: 45px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-light);
  color: var(--dark-mode-text-muted);
  cursor: pointer;
  opacity: 0.95;
  pointer-events: auto;
  transition: transform 80ms ease, background-color 80ms ease;
  user-select: none;
  box-shadow: var(--dark-mode-box-shadow);
}
.parts-nav-arrow.left {
  left: -22px;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}
.parts-nav-arrow.right {
  right: -22px;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}
.parts-nav-arrow:hover:not(.disabled) {
  transform: scale(1.05);
  background-color: var(--dark-mode-bg-mid);
}
.parts-nav-arrow:active:not(.disabled) {
  transform: scale(0.98);
}
.parts-nav-arrow.disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.capp--calendar-move-button-left {
  pointer-events: all;
  user-select: none;
  position: initial;
  height: 50px;
  width: 45px;
  opacity: 95%;
  margin-right: 5px;
  margin-left: 5px;
  border-radius: 12px;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 24px;
  user-select: none;
  border-width: 1px;
  border-style: solid;
}
.capp--calendar-move-button-left.light {
  border-color: var(--light-mode-border);
  background-color: transparent;
  color: var(--light-mode-text-muted);
}
.capp--calendar-move-button-left.dark {
  border-color: var(--dark-mode-border);
  background-color: transparent;
  color: var(--dark-mode-text-muted);
}
.capp--calendar-move-button-left.light:hover {
  transition: all 0.08s ease-out;
  transform: scale(1.05);
  background-color: var(--light-mode-bg-mid);
}
.capp--calendar-move-button-left.dark:hover {
  border-color: var(--dark-mode-border);
  transition: all 0.08s ease-out;
  background-color: var(--dark-mode-bg-mid);
  transform: scale(1.05);
  box-shadow: var(--dark-mode-box-shadow);
}
.capp--calendar-move-button-left.light:active {
  transition: all 0.08s ease-out;
  transform: scale(0.98);
  background-color: var(--light-mode-bg-mid);
}
.capp--calendar-move-button-left.dark:active {
  border-color: var(--dark-mode-border);
  transition: all 0.08s ease-out;
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-mid);
}

.capp--calendar-move-button-right {
  pointer-events: all;
  user-select: none;
  position: initial;
  height: 50px;
  width: 45px;
  opacity: 95%;
  margin-right: 5px;
  margin-left: 5px;
  border-radius: 12px;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 24px;
  border-width: 1px;
  border-style: solid;
}
.capp--calendar-move-button-right.light {
  border-color: var(--light-mode-border);
  background-color: transparent;
  color: var(--light-mode-text-muted);
}
.capp--calendar-move-button-right.dark {
  border-color: var(--dark-mode-border);
  background-color: transparent;
  color: var(--dark-mode-text-muted);
}
.capp--calendar-move-button-right.light:hover {
  transition: all 0.08s ease-out;
  transform: scale(1.05);
  background-color: var(--light-mode-bg-mid);
}
.capp--calendar-move-button-right.dark:hover {
  border-color: var(--dark-mode-border);
  transition: all 0.08s ease-out;
  background-color: var(--dark-mode-bg-mid);
  transform: scale(1.05);
  box-shadow: var(--dark-mode-box-shadow);
}
.capp--calendar-move-button-right.light:active {
  transition: all 0.08s ease-out;
  transform: scale(0.98);
  background-color: var(--light-mode-bg-mid);
}
.capp--calendar-move-button-right.dark:active {
  border-color: var(--dark-mode-border);
  transition: all 0.08s ease-out;
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-mid);
}

div.period-end-icon {
  width: 55px;
  display: flex;
  justify-content: center;
}
.capp--calendar_button.light {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 0px;
  border-radius: 5px;
  height: 42px;
  width: 42px;
  box-shadow: 1px 1px 3px 1px #bec0be;
  color: #505d75;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

.capp--calendar_button_today.light {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 0px;
  border-radius: 5px;
  height: 42px;
  width: 42px;
  box-shadow: 1px 1px 3px 1px var(--cellara-blue);
  color: var(--cellara-green);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

.capp--calendar_button.light:active {
  box-shadow: inset 0px 0px 2px #b8c6db;
}

.calendar-cell {
  padding: 0px;
  margin: 0px;
  text-align: left;
}

.capp--calendar-cell-container {
  display: flex;
  width: 100%;
}

.capp--calendar_button.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 0px;
  border-radius: 5px;
  height: 42px;
  width: 42px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

.capp--calendar_button_today.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 0px;
  border-radius: 5px;
  height: 42px;
  width: 42px;
  color: var(--cellara-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
  box-shadow: 1px 1px 3px 1px var(--cellara-blue);
}

.capp--calendar_button.dark:active {
  box-shadow: inset 0px 0px 5px #1a1a1a;
}

.capp--calendar_bk-fwd-controls {
  display: grid;
  grid-template-columns: 1fr 10fr 1fr;
  grid-gap: 1em;
  grid-template-areas: "backwards date forwards";
  margin-top: 1em;
  padding: 1em;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

.capp--calendar-time {
  display: grid;
  font-size: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.capp--calendar-time-top {
  font-size: 18px;
}

.capp--calendar-time-bottom {
  font-weight: bold;
  font-size: 22px;
}

.capp--calendar_day-backwards-button.light {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 1px;
  border-radius: 50%;
  padding-right: 4px;
  height: 60px;
  width: 60px;
  box-shadow: 1px 1px 3px 1px #bec0be;
  font-size: 28px;
  color: #9baebd;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: center;
  cursor: pointer;
  user-select: none;
}

.capp--calendar_day-backwards-button.light:active {
  box-shadow: inset 0px 0px 2px #b8c6db;
}

.capp--calendar_day-backwards-button.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 1px;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  font-size: 28px;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: center;
  cursor: pointer;
  user-select: none;
}

.capp--calendar_day-backwards-button.dark:active {
  box-shadow: inset 0px 0px 5px #1a1a1a;
}

.capp--calendar_day-forwards-button.light {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 0px;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  padding-left: 4px;
  box-shadow: 1px 1px 3px 1px #c1c1c1;
  font-size: 28px;
  color: #9baebd;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: flex-end;
  cursor: pointer;
  user-select: none;
}

.capp--calendar_day-forwards-button.light:active {
  box-shadow: inset 0px 0px 2px #c1c1c1;
}

.capp--calendar_day-forwards-button.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 0px;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  font-size: 28px;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: flex-end;
  cursor: pointer;
  user-select: none;
}

.capp--calendar_day-forwards-button.dark:active {
  box-shadow: inset 0px 0px 5px #1a1a1a;
}

@media screen and (min-width: 600px) {
  .capp--calendar_week-backwards-button {
    background-color: var(--cellara-white);
    border-radius: 50%;
    height: 2em;
    width: 2em;
    border: 1px solid var(--cellara-blue);
    box-shadow: 0px 0px 8px 1px #c9c9c9;
    color: var(--cellara-blue);
    font-size: 1.5em;
    text-align: center;
    line-height: 2em;
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100"><path d="M 0 50 L 100 0 L 100 100 Z" fill="var(--cellara-blue)"/></svg>');
  }
  .capp--calendar_week-forwards-button {
    background-color: var(--cellara-white);
    border-radius: 50%;
    height: 2em;
    width: 2em;
    border: 1px solid var(--cellara-blue);
    box-shadow: 0px 0px 8px 1px #c9c9c9;
    color: var(--cellara-blue);
    font-size: 1.5em;
    text-align: center;
    line-height: 2em;
    cursor: pointer;
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100"><path d="M 0 0 L 100 50 L 0 100 Z" fill="var(--cellara-blue)"/></svg>');
  }
}
div.capp--home-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

div.capp--home {
  position: absolute;
  top: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 100px;
  border-radius: 1em;
  user-select: none;
  padding: 20px;
  border-width: 1px;
  border-style: solid;
}
div.capp--home.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-mid);
}
div.capp--home.dark {
  background-color: var(--dark-mode-bg-mid);
  border-color: black;
  color: white;
}

div.capp--home-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

div.capp--home-header-text {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 2px;
}

div.capp--home-body {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  font-size: 18px;
}

div.cellara-settings-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: clip;
  padding: 12px 16px;
}

div.cellara-settings_logged-in-mode_card {
  position: absolute;
  border-width: 1px;
  border-style: solid;
  border-radius: 1em;
  font-size: 17px;
  user-select: none;
  padding: 20px;
  margin: 5px;
  min-width: 360px;
  max-width: 62.5vw;
}
div.cellara-settings_logged-in-mode_card.light {
  box-shadow: var(--light-mode-box-shadow);
  background-color: var(--light-mode-bg-mid);
  border-color: var(--light-mode-border);
}
div.cellara-settings_logged-in-mode_card.dark {
  background-color: var(--dark-mode-bg-mid);
  border-color: black;
  border-radius: 1em;
  color: white;
}

.lights-channel-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lights-channel-label {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  padding: 0 12px;
  height: 22px;
  font-size: 11px;
  width: fit-content;
}
.lights-channel-label.dark {
  background-color: rgba(55, 55, 57, 0.6);
  color: white;
}
.lights-channel-label.light {
  background-color: rgba(200, 210, 225, 0.7);
  color: #505d75;
}

button.lights-channel-btn {
  height: 54px;
  width: 54px;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-out);
}
button.lights-channel-btn.dark {
  border: 1px solid black;
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
}
button.lights-channel-btn.dark:active {
  transition: var(--transition-in);
  scale: 0.98;
  box-shadow: inset 0px 0px 10px #1a1a1a;
}
button.lights-channel-btn.dark:hover {
  transform: scale(1.05);
  transition: var(--transition-in);
}
button.lights-channel-btn.light {
  background-color: #b8c6db;
  background-image: var(--light-mode-channel-button);
  border: 1px solid var(--light-mode-border);
  border-radius: 50%;
  color: var(--button-text-light-mode);
  display: flex;
  justify-content: center;
  align-items: center;
}
button.lights-channel-btn.light:active {
  transition: var(--transition-in);
  scale: 0.98;
  box-shadow: inset 0px 0px 10px #f5f7fa;
  background-color: #f5f7fa;
}
button.lights-channel-btn.light:hover {
  transform: scale(1.05);
  transition: var(--transition-in);
}

.cellara-login-blob {
  position: relative;
  isolation: isolate;
  max-width: 100%;
}

.cellara-login-blob::before {
  content: "";
  position: absolute;
  inset: -100px;
  z-index: -1;
  clip-path: url(#blob-clip);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(32px);
}

.cellara-login-blob::after {
  content: "";
  position: absolute;
  inset: -100px;
  z-index: -1;
  clip-path: url(#blob-clip);
  background: radial-gradient(ellipse 55% 45% at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cellara-login-blob[data-blob-texture="2"],
.main-blob[data-blob-texture="2"] {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.025));
}

.cellara-login-blob[data-blob-texture="2"]::before,
.main-blob[data-blob-texture="2"]::before {
  backdrop-filter: blur(48px);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.03) 100%);
}

.cellara-login-blob[data-blob-texture="2"]::after,
.main-blob[data-blob-texture="2"]::after {
  background: radial-gradient(ellipse 50% 40% at 28% 22%, rgba(255, 255, 255, 0.11) 0%, transparent 55%), radial-gradient(ellipse 60% 45% at 72% 78%, rgba(255, 255, 255, 0.04) 0%, transparent 50%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 8%);
}

.cellara-login-blob[data-blob-texture="3"],
.main-blob[data-blob-texture="3"] {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
}

.cellara-login-blob[data-blob-texture="3"]::before,
.main-blob[data-blob-texture="3"]::before {
  backdrop-filter: blur(20px);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.cellara-login-blob[data-blob-texture="3"]::after,
.main-blob[data-blob-texture="3"]::after {
  background: radial-gradient(ellipse 35% 28% at 35% 18%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.cellara-login-blob[data-blob-texture="4"],
.main-blob[data-blob-texture="4"] {
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.1));
}

.cellara-login-blob[data-blob-texture="4"]::before,
.main-blob[data-blob-texture="4"]::before {
  backdrop-filter: blur(40px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 250, 242, 0.06) 55%, rgba(255, 246, 237, 0.03) 100%);
}

.cellara-login-blob[data-blob-texture="4"]::after,
.main-blob[data-blob-texture="4"]::after {
  background: radial-gradient(ellipse 42% 32% at 26% 20%, rgba(255, 255, 255, 0.11) 0%, transparent 50%), radial-gradient(ellipse 45% 35% at 75% 82%, rgba(255, 248, 235, 0.06) 0%, transparent 45%), linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 12%);
}

.light .cellara-login-blob::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 35%, rgba(255, 255, 255, 0.15) 100%);
}

.light .cellara-login-blob::after {
  background: radial-gradient(ellipse 60% 40% at 25% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
}

.channels-blob-card {
  background: transparent;
  width: 400px;
  position: relative;
}

.channels-grid-inner {
  position: relative;
}

.main-blob {
  position: relative;
  isolation: isolate;
}

.main-blob-card {
  background: transparent;
  position: relative;
  padding: 10px;
  overflow: hidden;
  max-width: 840px;
  width: 100%;
}

.person-chat-active .main-blob-card {
  max-width: none;
  display: flex;
  flex-direction: column;
}

.history .main-blob-card {
  max-width: none;
}

.history .main-blob {
  overflow: hidden;
}

.history .main-blob::before,
.history .main-blob::after,
.person-chat-active .main-blob::before,
.person-chat-active .main-blob::after {
  clip-path: none;
  border-radius: 32px;
  inset: 0;
}

.the-great-filter.person > .main-cell-card,
.the-great-filter.agent > .main-cell-card {
  background: radial-gradient(ellipse 55% 45% at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 65%), linear-gradient(140deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(32px);
  border-radius: 24px;
  box-shadow: none !important;
}

.light .the-great-filter.person > .main-cell-card,
.light .the-great-filter.agent > .main-cell-card {
  background: radial-gradient(ellipse 60% 40% at 25% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%), linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 35%, rgba(255, 255, 255, 0.15) 100%) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.person .main-blob::before,
.person .main-blob::after,
.agent .main-blob::before,
.agent .main-blob::after,
.person .main-blob [class^=blob-border-],
.person .main-blob [class^=blob-edge-glow-],
.agent .main-blob [class^=blob-border-],
.agent .main-blob [class^=blob-edge-glow-],
.person .main-blob > svg,
.agent .main-blob > svg {
  display: none;
}

.main-blob::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(32px);
}

.main-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
}

.main-blob > svg,
.main-blob [class^=blob-border-],
.main-blob [class^=blob-edge-glow-] {
  display: none;
}

.light .main-blob::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 35%, rgba(255, 255, 255, 0.15) 100%);
}

.light .main-blob::after {
  background: radial-gradient(ellipse 60% 40% at 25% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
}

.main-blob div.linked-cell.dark {
  background-color: rgba(42, 42, 43, 0.2);
  border-color: transparent;
}

.main-blob div.linked-cell.dark:hover {
  background-color: rgba(42, 42, 43, 0.35);
  border-color: #615b41;
  box-shadow: var(--dark-mode-box-shadow);
}

.main-blob div.linked-cell.light {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

.main-blob div.linked-cell.light:hover {
  background-color: rgba(255, 255, 255, 0.35);
  border-color: #88a1c2;
  box-shadow: var(--light-mode-box-shadow);
}

.history div.linked-cell.dark {
  background-color: rgba(42, 42, 43, 0.1);
  border-color: rgba(0, 0, 0, 0.15);
}

.history div.linked-cell.dark:hover {
  background-color: rgba(42, 42, 43, 0.85);
  border-color: #615b41;
  box-shadow: var(--dark-mode-box-shadow);
}

.history div.linked-cell.light {
  background-color: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.12);
}

.history div.linked-cell.light:hover {
  background-color: rgba(255, 255, 255, 0.85);
  border-color: #88a1c2;
  box-shadow: var(--light-mode-box-shadow);
}

.home-blob {
  position: relative;
  isolation: isolate;
}

.home-blob-card {
  background: transparent;
  min-width: 300px;
  position: relative;
}

.home-blob::before {
  content: "";
  position: absolute;
  inset: -100px;
  z-index: -1;
  clip-path: url(#home-clip);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(32px);
}

.home-blob::after {
  content: "";
  position: absolute;
  inset: -100px;
  z-index: -1;
  clip-path: url(#home-clip);
  pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
}

.light .home-blob::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 35%, rgba(255, 255, 255, 0.15) 100%);
}

.light .home-blob::after {
  background: radial-gradient(ellipse 60% 40% at 25% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
}

.cellara-settings_guest-mode_card {
  position: relative;
  z-index: 2;
  font-size: 17px;
  user-select: none;
  padding: 20px;
  width: min(360px, 100vw - 48px);
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
}
.cellara-settings_guest-mode_card.light {
  color: inherit;
}
.cellara-settings_guest-mode_card.dark {
  color: white;
}

div.cellara-settings_forgot-password-card.dark-mode {
  background-color: var(--dark-mode-bg-mid);
  border-width: 1px;
  border-color: black;
  border-style: solid;
  border-radius: 1em;
  font-size: 17px;
  user-select: none;
  padding: 20px;
  margin-top: 150px;
  width: 400px;
  color: white;
}

div.cellara-settings_forgot-password-card.light-mode {
  border-width: 1px;
  border-radius: 1em;
  font-size: 17px;
  user-select: none;
  padding: 20px;
  margin-top: 150px;
  width: 400px;
  box-shadow: var(--light-mode-box-shadow);
  background-color: var(--light-mode-bg-mid);
  border-color: var(--light-mode-border);
}

div.cellara-settings_name {
  font-size: 24px;
  padding-left: 0;
  font-weight: bold;
  display: flex;
  align-items: center;
}

img.capp--settings-icon {
  height: 42px;
  margin-right: 5px;
}

div.cellara-settings_body {
  padding-top: 10px;
  padding-left: 15px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

div.cellara-settings_title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 15px;
  font-size: 22px;
}
div.cellara-settings_title.light {
  text-shadow: 1px 1px white;
}
div.cellara-settings_title.dark {
  text-shadow: 1px 1px black;
}
div.cellara-settings_title button.cellara-settings_secondary {
  width: 100%;
  max-width: 280px;
}

div.cellara-settings_small-title.light {
  display: flex;
  justify-content: center;
  padding: 10px;
  margin-top: -30px;
  font-size: 22px;
  text-shadow: 1px 1px white;
}

div.cellara-settings_small-title.dark {
  display: flex;
  justify-content: center;
  padding: 10px;
  margin-top: -30px;
  font-size: 22px;
  text-shadow: 1px 1px black;
}

.cellara-settings_guest-mode__login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  box-sizing: border-box;
}

.cellara-settings_guest-mode__login-fields {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  gap: 12px;
  box-sizing: border-box;
}

input.cellara-settings_guest-mode_username {
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  height: 44px;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  box-sizing: border-box;
  padding: 12px 14px;
  margin-left: 0;
  font-size: 16px;
}
input.cellara-settings_guest-mode_username.light {
  color: rgba(0, 0, 0, 0.65);
  border-color: var(--light-mode-border);
}
input.cellara-settings_guest-mode_username.dark {
  border-color: black;
  color: rgba(0, 0, 0, 0.65);
}

input.cellara-settings_guest-mode_password {
  border-radius: 20px;
  height: 44px;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  padding: 12px 14px;
  margin-left: 0;
  font-size: 16px;
}
input.cellara-settings_guest-mode_password.light {
  border-color: var(--light-mode-border);
  color: rgba(0, 0, 0, 0.65);
}
input.cellara-settings_guest-mode_password.dark {
  border-color: black;
  color: rgba(0, 0, 0, 0.65);
}

input.cellara-settings_forgot-password-username.light {
  border-radius: 20px;
  border-width: 0px;
  height: 40px;
  padding: 15px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
  color: rgba(0, 0, 0, 0.65);
}

input.cellara-settings_forgot-password-username.dark {
  border-radius: 20px;
  border-width: 1px;
  border-color: black;
  height: 40px;
  padding: 15px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 15px;
  color: rgba(0, 0, 0, 0.65);
}

input.cellara-settings_sign-up-field.light {
  border-radius: 20px;
  border-width: 0px;
  height: 40px;
  padding: 10px;
  margin-right: 10px;
  margin-left: 10px;
  box-shadow: var(--light-mode-box-shadow);
  color: rgba(0, 0, 0, 0.65);
}

input.cellara-settings_sign-up-field.dark {
  border-radius: 20px;
  border-width: 1px;
  border-color: black;
  height: 40px;
  padding: 10px;
  margin-right: 10px;
  margin-left: 10px;
  color: rgba(0, 0, 0, 0.65);
}

button.cellara-settings_guest-mode_login {
  height: 40px;
  width: 90px;
  padding-right: 15px;
  padding-left: 15px;
  margin-left: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  font-size: 15px;
}
button.cellara-settings_guest-mode_login.light {
  border-color: #065f58;
  background-color: var(--light-mode-green);
  color: white;
}
button.cellara-settings_guest-mode_login.light:hover {
  box-shadow: var(--light-mode-box-shadow);
  background-color: var(--light-mode-green-highlight);
}
button.cellara-settings_guest-mode_login.dark {
  border-color: black;
  background-color: var(--dark-mode-green);
  color: white;
}
button.cellara-settings_guest-mode_login.dark:hover {
  background-color: var(--dark-mode-green-highlight);
}

button.cellara-settings_secondary {
  height: 40px;
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-style: solid;
  font-size: 15px;
  white-space: nowrap;
  transition: var(--transition);
}
button.cellara-settings_secondary.light {
  border-color: var(--light-mode-border);
  color: #7e8ca8;
  background-color: transparent;
  transition: all 0.51s ease-out;
}
button.cellara-settings_secondary.light:hover {
  transform: scale(1.02);
  background-color: var(--light-mode-bg-highlight);
  transition: all 0.04s ease-out;
}
button.cellara-settings_secondary.light:active {
  transform: scale(0.98);
  background-color: var(--light-mode-bg-highlight);
  transition: all 0.04s ease-out;
}
button.cellara-settings_secondary.dark {
  border-color: black;
  color: white;
  background-color: transparent;
  transition: all 0.51s ease-out;
}
button.cellara-settings_secondary.dark:hover {
  transform: scale(1.02);
  background-color: var(--dark-mode-bg-highlight);
  transition: all 0.04s ease-out;
}
button.cellara-settings_secondary.dark:active {
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-highlight);
  transition: all 0.04s ease-out;
}

button.cellara-settings_sign-up.dark {
  height: 40px;
  width: 175px;
  padding-right: 25px;
  padding-left: 25px;
  margin: 20px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  font-size: 15px;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  color: white;
}

button.cellara-settings_sign-up.light {
  height: 40px;
  width: 175px;
  padding-right: 25px;
  padding-left: 25px;
  margin: 20px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-width: 1px;
  border-style: solid;
  font-size: 15px;
  border-color: #065f58;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  color: white;
}

label.cellara-settings_guest-mode_username {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 8px;
  box-sizing: border-box;
}

label.cellara-settings_guest-mode_password {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 8px;
  box-sizing: border-box;
}

div.capp-field-name {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  opacity: 0.85;
}

.cellara-settings_guest-mode_buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-top: 10px;
}
.cellara-settings_guest-mode_buttons button.cellara-settings_secondary {
  width: 100%;
  max-width: 280px;
}

.channels-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  width: 370px;
  box-sizing: border-box;
}
.channels-grid .channels-row-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 4px;
  margin-top: 4px;
}
.channels-grid .channels-row-label.light {
  color: #7e8ca8;
}
.channels-grid .channels-row-label.dark {
  color: #888;
}
.channels-grid .channels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.channels-grid .channels-row-edit {
  gap: 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden;
}
.channels-grid .channels-row-edit > .channel-slot {
  width: 16px;
}
.channels-grid .channels-row-edit > .channel-slot:first-child, .channels-grid .channels-row-edit > .channel-slot:last-child {
  width: 0;
}
.channels-grid .channel-slot {
  width: 12px;
  flex-shrink: 0;
  transition: width 200ms ease-out;
  overflow: visible;
}
.channels-grid .channel-slot.active {
  width: 48px;
}
.channels-grid .channel-slot .channel-slot-inner {
  width: 100%;
  height: 100%;
  min-height: 78px;
}
.channels-grid .channels-grid-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  min-width: 72px;
}
.channels-grid .channels-grid-item.dragging {
  opacity: 0.4;
}
.channels-grid .channels-grid-item button.channel {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.channels-grid .channels-grid-item button.channel.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-light);
}
.channels-grid .channels-grid-item button.channel.light:hover {
  transform: scale(1.05);
  background-color: var(--light-mode-bg-highlight);
}
.channels-grid .channels-grid-item button.channel.dark {
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-light);
}
.channels-grid .channels-grid-item button.channel.dark:hover {
  transform: scale(1.05);
  background-color: var(--dark-mode-bg-highlight);
}
.channels-grid .channels-grid-item .channel-name {
  font-size: 12px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  order: -1;
}
.channels-grid .channels-grid-item .channel-name.light {
  color: #555;
}
.channels-grid .channels-grid-item .channel-name.dark {
  color: #fff;
}
.channels-grid .channels-grid-item .channel-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  z-index: 1;
  background: #e53935;
  color: white;
}
.channels-grid .channels-grid-item .channel-remove-btn:hover {
  background: #c62828;
}

button.add-channel-button {
  width: 100%;
  padding: 10px 0;
  border: 1px dashed;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: all 0.2s ease-out;
}
button.add-channel-button.light {
  border-color: var(--light-mode-border);
  color: #7e8ca8;
}
button.add-channel-button.light:hover {
  background-color: var(--light-mode-bg-highlight);
  color: #065f58;
  border-color: #065f58;
}
button.add-channel-button.dark {
  border-color: var(--dark-mode-border);
  color: #888;
}
button.add-channel-button.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
  color: #308271;
  border-color: #308271;
}

.channel-search-bar {
  position: absolute;
  margin-top: -55px;
  display: flex;
  justify-content: center;
  width: 100%;
  transition: var(--transition);
  box-sizing: border-box;
  padding: 0 16px;
  z-index: 5;
}
.channel-search-bar.read {
  margin-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: 0.1s;
}

.channel-search-bar-inner {
  position: relative;
  width: 100%;
}
.channel-search-bar-inner .search-icon-container {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

input.channel-search-input {
  width: 100%;
  height: 40px;
  padding: 10px 40px 10px 15px;
  border-radius: 45px;
  border: 1px solid;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
input.channel-search-input.light {
  background-color: white;
  border-color: var(--light-mode-border);
  box-shadow: var(--light-mode-box-shadow);
  color: #333;
}
input.channel-search-input.dark {
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
  color: var(--dark-mode-text-body);
}
input.channel-search-input::placeholder {
  color: #7e8ca8;
}

.channel-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 12px;
  margin-top: 4px;
  z-index: 10;
}
.channel-search-results.light {
  background: white;
  border: 1px solid var(--light-mode-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.channel-search-results.dark {
  background: var(--dark-mode-bg-light);
  border: 1px solid var(--dark-mode-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.add-channel-popup {
  border-radius: 15px;
  padding: 20px 24px;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.add-channel-popup.light {
  background: var(--light-mode-bg-light);
  border: 1px solid var(--light-mode-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.add-channel-popup.dark {
  background: var(--dark-mode-bg-light);
  color: white;
  border: 1px solid var(--dark-mode-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.add-channel-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

input.add-channel-search {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
.light input.add-channel-search {
  border-color: var(--light-mode-border);
  background: white;
  color: #333;
}
.dark input.add-channel-search {
  border-color: var(--dark-mode-border);
  background: var(--dark-mode-bg-mid);
  color: white;
}

.add-channel-results {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.add-channel-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.light .add-channel-result-item:hover {
  background-color: var(--light-mode-bg-highlight);
}
.dark .add-channel-result-item:hover {
  background-color: var(--dark-mode-bg-highlight);
}

.add-channel-result-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.add-channel-result-icon svg {
  width: 100%;
  height: 100%;
}

.add-channel-result-name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cellara-settings_guest-mode_login-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding-top: 4px;
  box-sizing: border-box;
}

button.cellara-settings_guest-mode_create-account {
  height: 40px;
  font-size: 15px;
  padding-right: 25px;
  padding-left: 25px;
  margin-right: 10px;
  margin-left: 10px;
  border-width: 1px;
  border-style: solid;
  border-color: #065f58;
  background-image: linear-gradient(315deg, #065f58 0%, #308271 80%);
  border-radius: 20px;
  color: white;
}

button.cellara-settings_guest-mode_forgot-password {
  height: 40px;
  padding-right: 25px;
  padding-left: 25px;
  margin-right: 10px;
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7e8ca8;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
  border-color: #dde3ed;
  font-size: 15px;
}

form.cellara-settings_reset-password__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-between;
  padding: 10px;
}

form.cellara-settings_sign-up {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-between;
  padding: 10px;
  margin-top: 5px;
}

label.cellara-settings_sign-up {
  display: flex;
  align-items: center;
  width: 320px;
  justify-content: flex-end;
}

.cellara-settings--user-login-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: 1px solid blue;
  border-radius: 0.5em;
  background-color: lightgray;
}
.cellara-settings--user-login-row > *:nth-child(1) {
  margin-right: 1em;
}

body.blob-mode-css .main-blob [class^=blob-border-],
body.blob-mode-css .main-blob [class^=blob-edge-glow-] {
  display: none !important;
}
body.blob-mode-css .main-blob::before {
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.blob-mode-css.light .main-blob::before {
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.blob-mode-rounded .main-blob [class^=blob-border-],
body.blob-mode-rounded .main-blob [class^=blob-edge-glow-],
body.blob-mode-rounded .main-blob > svg {
  display: none !important;
}
body.blob-mode-rounded .main-blob::before,
body.blob-mode-rounded .main-blob::after {
  clip-path: none !important;
  border-radius: 24px;
  inset: 0;
}
body.blob-mode-rounded .main-blob-card {
  border-radius: 24px;
  box-shadow: 1px 1px 9px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(255, 255, 255, 0.25), 0px 8px 40px rgba(0, 0, 0, 0.4);
}
body.blob-mode-rounded.light .main-blob-card {
  box-shadow: 0px 0px 5px rgba(0, 0, 100, 0.05), 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 1px 20px rgba(0, 0, 100, 0.04);
}
body.blob-mode-rounded .the-great-filter.person .main-blob-card,
body.blob-mode-rounded .the-great-filter.agent .main-blob-card {
  box-shadow: none;
  border-radius: 24px;
  overflow: hidden;
}
body.blob-mode-rounded.light .the-great-filter.person .main-blob-card, body.blob-mode-rounded.light .the-great-filter.agent .main-blob-card {
  box-shadow: none;
}

div.chat-header {
  display: flex;
  align-items: center;
  background: transparent;
  margin: 0;
  padding: 8px;
}

div.chat-header-middle {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

button.cell-zoom {
  height: 45px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  background-color: transparent;
  border-color: transparent;
}
button.cell-zoom.light:hover {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-highlight);
}
button.cell-zoom.dark:hover {
  background-color: var(--dark-mode-bg-highlight);
  border-color: var(--dark-mode-border);
}

div.other-chatters {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 2px 0;
  flex-shrink: 0;
}

div.chatter-with-remove {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div.remove-chatter {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--button-background-gold);
  color: white;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  border: 1px solid;
}
div.remove-chatter.light {
  border-color: var(--light-mode-border);
}
div.remove-chatter.dark {
  border-color: var(--dark-mode-border);
}

div.chatter-pfps-header {
  height: 30px;
}

div.chat-header-right {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

div.chat-icon-and-chatters {
  display: flex;
}

div.chat-row {
  margin-top: 10px;
  margin-bottom: 10px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  /* Browser-native off-screen render deferral. Rows outside the viewport
     skip paint + layout; once the browser has measured a row it remembers
     the actual size via `contain-intrinsic-size: auto`. `80px` is the
     initial guess for un-measured rows so the scrollbar is stable before
     the user scrolls near them. This turns chat scrolling through a
     mounted window of 50+ rows from O(window) paint work into roughly
     O(viewport) — only the ~10 rows the user can actually see pay paint
     cost. Supported in Chrome/Safari/Firefox (modern). */
  content-visibility: auto;
  /* 140px matches observed median message-row height better than the 80px
     initial guess — under-reserving space caused prepended chunks to leave
     scrollTop clamped near 0 after overflow-anchor adjustment, which
     contributed to the scroll-stuck gesture. */
  contain-intrinsic-size: auto 140px;
}
div.chat-row.user {
  justify-self: flex-end;
  margin-left: auto;
}
div.chat-row.friend {
  justify-self: flex-start;
  margin-right: 60px;
  width: auto;
  max-width: calc(100% - 60px);
}

div.message-time {
  padding-right: 4px;
  padding-left: 3px;
  font-size: 11px;
}
div.message-time.light {
  color: var(--light-mode-text-muted);
}
div.message-time.dark {
  color: var(--dark-mode-text-muted);
}

div.chat-row.chat-interrupt {
  width: 100%;
  max-width: 100%;
  margin: 4px 0;
  justify-self: center;
  content-visibility: auto;
  contain-intrinsic-size: auto 28px;
}
div.chat-row.chat-interrupt .chat-interrupt-annotation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  justify-content: center;
  width: 100%;
  padding: 2px 12px;
  font-size: 12px;
  line-height: 1.35;
}
div.chat-row.chat-interrupt .chat-interrupt-label {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.75;
}
div.chat-row.chat-interrupt .chat-interrupt-text {
  opacity: 0.72;
  max-width: 42em;
}
div.chat-row.chat-interrupt .message-time {
  opacity: 0.6;
}
div.chat-row.chat-interrupt.light .chat-interrupt-label,
div.chat-row.chat-interrupt.light .chat-interrupt-text {
  color: var(--light-mode-text-muted);
}
div.chat-row.chat-interrupt.dark .chat-interrupt-label,
div.chat-row.chat-interrupt.dark .chat-interrupt-text {
  color: var(--dark-mode-text-muted);
}
div.chat-row.chat-interrupt.interrupt-hard .chat-interrupt-label {
  opacity: 0.9;
}

div.chat-capp-card {
  position: relative;
  border-radius: 1em;
  border-bottom-right-radius: 45px;
  border-bottom-left-radius: 45px;
  font-size: 17px;
  user-select: none;
  padding: 0px;
  /* Double-border fix: the chat card renders INSIDE a parent cell-view
     frame, so the card no longer draws its own border / background / shadow
     in the full-size view. The zoom-out (sidebar chip) variant still gets
     its chrome below since it renders standalone. */
  border: none;
  background: transparent;
  box-shadow: none;
  min-width: 0;
  max-width: 800px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: calc(100vh - 110px);
  max-height: calc(100vh - 110px);
  flex-direction: column;
}
div.chat-capp-card.zoom-out {
  grid-template-rows: 50px 0px 0px;
  border-radius: 12px;
  min-width: unset;
  max-width: 500px;
  border-width: 1px;
  border-style: solid;
}
div.chat-capp-card.zoom-out.light {
  border-color: var(--light-mode-border);
  box-shadow: var(--light-mode-box-shadow);
  background-image: var(--light-mode-bg-capp);
}
div.chat-capp-card.zoom-out.dark {
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
  color: white;
  box-shadow: var(--dark-mode-box-shadow);
}
div.chat-capp-card.light {
  color: inherit;
}
div.chat-capp-card.dark {
  color: white;
}

div.chat-capp-header {
  display: flex;
  flex-wrap: no-wrap;
  justify-content: space-between;
  margin-bottom: 10px;
}

div.chat-capp-title {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  flex-wrap: no-wrap;
  align-items: center;
}

div.chat-capp--body {
  margin-top: 5px;
  overflow-y: scroll;
  overflow-x: hidden;
  /* Browser default in modern Chromium/Safari/Firefox, declared explicitly
     so we rely on it: when rows are prepended above the user's current
     scroll position, the browser picks an anchor element and adjusts
     scrollTop automatically to keep the anchor visually stable. Removes
     the need for JS-based scrollHeight/scrollTop math that was forcing
     a synchronous reflow per load-more. */
  overflow-anchor: auto;
  padding-right: 3px;
  padding-left: 3px;
  position: relative;
  flex: 1 1 auto;
}
body.dark div.chat-capp--body {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #050505 transparent;
}

.chat-load-more {
  display: block;
  margin: 8px auto 14px;
  padding: 6px 12px;
  border: 1px solid var(--dark-mode-border);
  border-radius: 6px;
  background: var(--dark-mode-bg-mid);
  color: var(--dark-mode-text);
  font-size: 13px;
  cursor: pointer;
}

div.chat-body-spacer {
  height: 1.82em;
  opacity: 0;
  pointer-events: none;
}

.chat-capp--body-row-left > .chat-row-time {
  display: grid;
  min-width: 0;
  overflow: hidden;
  justify-items: start;
}

.chat-capp--body-row-right > .chat-row-time {
  display: grid;
  min-width: 0;
  overflow: hidden;
  justify-items: end;
}

.chat-options-buttons {
  opacity: 0;
  position: absolute;
  left: -2000px;
  display: grid;
  grid-template-columns: min-content min-content min-content min-content min-content;
  grid-column-gap: 0.5em;
  align-items: center;
  height: 2em;
  scale: 0;
}

.chat-options-buttons.show > button {
  background-color: var(--cellara-light-grey);
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  color: #505d75;
}

.chat-options-buttons.show {
  opacity: 1;
  transition: opacity 0.5s linear;
  scale: 1;
}

.chat-options-buttons.user {
  justify-content: end;
  margin-right: 50px;
  margin-top: -40px;
  right: 0;
}

.chat-options-buttons.friend {
  justify-content: start;
  margin-right: 50px;
  margin-top: -40px;
  left: 0;
}

input.chat-edit-inline {
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 15px;
  border: 1px solid var(--light-mode-border-muted);
  width: 100%;
  background-color: #DFE6F4;
  color: var(--light-mode-text-body);
}
input.chat-edit-inline:focus {
  outline: 2px solid var(--cellara-blue);
  outline-offset: -1px;
}

.chat-reply-banner {
  background-color: rgba(0, 109, 91, 0.12);
  border-left: 3px solid var(--cellara-green);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
  margin-bottom: 2px;
  cursor: pointer;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-reply-input-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 109, 91, 0.12);
  border-left: 3px solid var(--cellara-green);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
  margin-bottom: 4px;
  width: 100%;
}
.chat-reply-input-banner > button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 0 4px;
  color: var(--light-mode-text-muted);
}
.chat-reply-input-banner > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.chat-typing-indicator {
  font-size: 12px;
  color: var(--light-mode-text-muted);
  padding: 2px 8px;
  font-style: italic;
  animation: typing-pulse 1.5s ease-in-out infinite;
  width: 100%;
}

@keyframes typing-pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.thread-parent-link {
  cursor: pointer;
  max-width: 150px;
  transform: scale(0.85);
  transform-origin: right center;
  margin-right: 4px;
  flex-shrink: 0;
}

.message-thread-link {
  cursor: pointer;
  margin-bottom: 2px;
  max-width: 150px;
  transform: scale(0.85);
  transform-origin: left;
}

div.chat-capp--body-row-left {
  display: flex;
  flex-wrap: no-wrap;
  justify-content: flex-start;
  font-size: 15px;
  justify-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 8px;
}
div.chat-capp--body-row-left .message-cell {
  max-width: 100%;
}

div.chat-capp--body-row-right {
  display: flex;
  flex-wrap: no-wrap;
  justify-content: flex-end;
  font-size: 15px;
  justify-self: flex-end;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 8px;
}
div.chat-capp--body-row-right .message-cell {
  max-width: 100%;
}

div.chat-capp--body-row-rail {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 4px 0 12px;
  position: relative;
  z-index: 0;
}
div.chat-capp--body-row-rail:has(.linked-cell:hover) {
  z-index: 2;
}
div.chat-capp--body-row-rail .chat-pfp-in-message {
  flex: 0 0 auto;
}
div.chat-capp--body-row-rail > .rail-card {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
  overflow: visible;
}
div.chat-capp--body-row-rail .linked-cell.agent-activity {
  border-radius: 14px;
  padding: 9px 12px;
}
.light div.chat-capp--body-row-rail .linked-cell.agent-activity {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.dark div.chat-capp--body-row-rail .linked-cell.agent-activity {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

div.chat-pfp-in-message {
  margin: 5px;
  margin-top: 0px;
  height: 40px;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
}

img.chat-pfp {
  height: 45px;
  width: 45px;
  clip-path: ellipse();
  max-width: 100%;
  max-height: 100%;
}

div.chatter-pfp {
  height: 45px;
  width: 45px;
  clip-path: ellipse();
  background: var(--cellara-green);
  max-width: 100%;
  max-height: 100%;
}

div.chat-pfp-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
}
div.chat-pfp-icons.light {
  background: lightslategray;
  color: var(--cellara-white);
}
div.chat-pfp-icons.dark {
  background: slategray;
  color: var(--cellara-white);
}

.main-icon-chat {
  display: flex;
  justify-self: center;
  align-items: center;
  height: 50px;
  width: 45px;
  margin: 0px;
  transform: scale(0.9);
}

div.message-cell {
  border-radius: 7px;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  user-select: text;
  cursor: default;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
div.message-cell.pretext-mode {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: normal;
}
div.message-cell.pretext-mode .pretext-line {
  display: block;
  white-space: pre;
}
div.message-cell.user-light {
  background-color: rgba(239, 243, 252, 0.5);
  border-style: solid;
  border-width: 1px;
  border-color: var(--light-mode-border-muted);
  text-align: left;
  font-size: 15px;
  margin-top: 3px;
  background-color: #DFE6F4;
  color: var(--light-mode-text-body);
}
div.message-cell.user-light:hover {
  background-color: #D6E1F2;
}
div.message-cell.friend-light {
  background-color: rgba(239, 243, 252, 0.5);
  color: #707070;
  border-style: solid;
  border-width: 1px;
  border-color: var(--light-mode-border-muted);
  text-align: left;
  font-size: 15px;
  margin-top: 3px;
  color: var(--light-mode-text-body);
  background-color: var(--add-cell-card-grey-background);
}
div.message-cell.friend-light:hover {
  background-color: var(--light-mode-bg-highlight);
}
div.message-cell.user-dark {
  background-color: rgba(204, 204, 204, 0.02);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(204, 204, 204, 0.05);
  text-align: left;
  font-size: 15px;
  margin-top: 3px;
  color: #c0c0c2;
}
div.message-cell.friend-dark {
  border-style: solid;
  border-width: 1px;
  text-align: left;
  color: whitesmoke;
  font-size: 15px;
  margin-top: 3px;
  margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--dark-mode-bg-darkest);
}

button.message-cell.light:hover {
  background-color: rgba(204, 204, 204, 0.2);
  border-width: 1px;
  border-color: rgba(204, 204, 204, 0.2);
  text-align: left;
}

button.message-cell.dark:hover {
  background-color: rgba(204, 204, 204, 0.2);
  border-width: 1px;
  border-color: rgba(204, 204, 204, 0.2);
  text-align: left;
}

.message-reactions {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 0;
}

.message-reactions-controls {
  position: static;
  line-height: 0;
}

.message-react-btn {
  position: absolute;
  top: -30px;
  right: 6px;
  z-index: 6;
  border: none;
  background: rgba(50, 50, 56, 0.92);
  padding: 3px 7px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  transition: opacity 0.1s ease, background-color 0.1s ease;
}

.message-react-btn:hover {
  background: rgba(72, 72, 80, 0.96);
}

.message-cell:hover + .message-reactions .message-react-btn,
.message-reactions:hover .message-react-btn,
.message-react-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.reaction-quick-bar {
  position: absolute;
  top: -34px;
  right: 0;
  transform: translateY(-100%);
  z-index: 30;
  display: inline-flex;
  gap: 1px;
  padding: 3px 5px;
  border-radius: 18px;
  background: rgba(44, 44, 48, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.reaction-quick-emoji {
  border: none;
  background: transparent;
  padding: 3px;
  margin: 0;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.08s ease, background-color 0.1s ease;
}

.reaction-quick-emoji:hover {
  transform: scale(1.25);
  background: rgba(130, 130, 140, 0.25);
}

.reaction-quick-emoji.mine {
  background: rgba(10, 132, 255, 0.3);
}

.reaction-rows {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 7px;
  border-radius: 10px;
  background: rgba(130, 130, 140, 0.16);
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.1s ease;
}

.reaction-pill:hover {
  background: rgba(130, 130, 140, 0.28);
}

.reaction-pill .reaction-emoji {
  font-size: 13px;
}

.reaction-pill .reaction-count {
  color: #9a9aa0;
  font-weight: 600;
}

.reaction-pill.mine {
  background: rgba(10, 132, 255, 0.22);
  border-color: rgba(10, 132, 255, 0.55);
}

.reaction-pill.mine .reaction-count {
  color: #cfe0ff;
}

.message-reactions.light .reaction-quick-bar {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}
.message-reactions.light .reaction-pill {
  background: rgba(0, 0, 0, 0.06);
}
.message-reactions.light .reaction-pill:hover {
  background: rgba(0, 0, 0, 0.1);
}
.message-reactions.light .reaction-pill .reaction-count {
  color: #666;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
}
.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.3;
  animation: typing-dot 1.4s infinite;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-dot {
  0%, 60%, 100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}
input.chat-capp--chat-field,
textarea.chat-capp--chat-field {
  border-top-left-radius: 45px;
  border-bottom-left-radius: 45px;
  height: 50px;
  width: 100%;
  padding: 15px;
  border-width: 1px;
  border-right-width: 0px;
  border-left-width: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-style: solid;
  color: rgba(0, 0, 0, 0.65);
  transition: var(--transition);
  margin-left: -4px;
}
input.chat-capp--chat-field.light,
textarea.chat-capp--chat-field.light {
  border-color: var(--light-mode-border);
}
input.chat-capp--chat-field.dark,
textarea.chat-capp--chat-field.dark {
  background-color: var(--dark-mode-bg-highlight);
  border-color: black;
  color: var(--dark-mode-text-body);
}

textarea.chat-capp--chat-field {
  resize: none;
  overflow-y: auto;
  line-height: 22px;
  min-height: 50px;
  max-height: 162px;
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
  field-sizing: content;
}

.message-cell-collapsible {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}
.message-cell-collapsible.collapsed {
  position: relative;
}

button.message-expand-toggle {
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 8px;
  border: none;
  background: transparent;
  color: #007fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.85;
}
button.message-expand-toggle:hover {
  opacity: 1;
  text-decoration: underline;
}

button.new-cell-button-chat-background {
  transition: var(--transition);
  margin: 0px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-right-width: 0px;
  border-style: solid;
  pointer-events: none;
}
button.new-cell-button-chat-background.light {
  background-color: white;
  border-color: var(--light-mode-border);
}

button.chat-capp--send {
  height: 50px;
  padding-right: 20px;
  padding-left: 15px;
  border-top-right-radius: 45px;
  border-bottom-right-radius: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-left-width: 0px;
  border-style: solid;
  font-size: 15px;
  transition: var(--transition);
  scale: 1;
}
button.chat-capp--send.dark {
  border-color: black;
  background: linear-gradient(135deg, #007FFF 0%, #000080 100%);
  color: white;
}
button.chat-capp--send.light {
  color: white;
  border-color: #cad5db;
  background: linear-gradient(135deg, #007FFF 0%, #000080 100%);
  color: white;
}
div.chat-capp--footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  transition: var(--transition);
  scale: 1;
}
div.chat-capp--footer.hide {
  scale: 0;
}

.chat-capp--chat-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 3em;
}

div.chat-row {
  position: relative;
}

.emoji-picker-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.emoji-picker {
  position: absolute;
  z-index: 100;
  bottom: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.emoji-picker.dark {
  background: #2a2a32;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.emoji-picker.light {
  background: white;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.emoji-picker.user {
  right: 0;
  justify-content: flex-end;
}
.emoji-picker.friend {
  left: 40px;
  justify-content: flex-start;
}
.emoji-picker[style*="position: fixed"] {
  bottom: auto;
}
.emoji-picker[style*="position: fixed"].user {
  right: auto;
  align-items: flex-end;
}
.emoji-picker[style*="position: fixed"].friend {
  left: auto;
  align-items: flex-start;
  padding-left: 40px;
}

.emoji-picker-quick {
  display: flex;
  gap: 2px;
  padding: 2px;
}

.emoji-picker-btn {
  width: 36px;
  height: 36px;
  font-size: 22px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emoji-picker-btn:hover {
  background: rgba(128, 128, 128, 0.2);
}
.emoji-picker-btn.emoji-more {
  font-size: 18px;
  color: #888;
}

.emoji-picker-full {
  display: flex;
  flex-wrap: wrap;
  max-width: 252px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.reaction-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: -22px;
  margin-bottom: 4px;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}
.chat-row.friend .reaction-badges {
  justify-content: flex-end;
  padding-left: 48px;
}
.chat-row.user .reaction-badges {
  justify-content: flex-start;
  padding-right: 48px;
}

.reaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
  background: #2a2a32;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.reaction-badge:hover {
  background: #3a3a42;
}
.reaction-badge.mine {
  border-color: #5b8af5;
  background: rgba(91, 138, 245, 0.15);
}
.light .reaction-badge {
  background: #f0f0f0;
  border: 1px solid #ddd;
}
.light .reaction-badge:hover {
  background: #e4e4e4;
}
.light .reaction-badge.mine {
  border-color: #4a90d9;
  background: rgba(74, 144, 217, 0.1);
}

.chat-edit-existing-recipients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
}

.chat-edit-existing-recipient {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
}
.dark .chat-edit-existing-recipient {
  background: rgba(255, 255, 255, 0.08);
}

.chat-edit-recipient-name {
  font-size: 13px;
}

.chat-edit-recipient-remove {
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  opacity: 0.6;
  padding: 0 4px;
}
.chat-edit-recipient-remove:hover {
  opacity: 1;
}

.reaction-emoji {
  font-size: 16px;
  line-height: 1;
}

.reaction-count {
  font-size: 11px;
  color: #888;
}

button.chat-details-button {
  border: none;
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
button.chat-details-button.dark {
  background-color: var(--dark-mode-bg-highlight);
  color: var(--dark-mode-text-body);
}
button.chat-details-button.dark:hover, button.chat-details-button.dark.open {
  background-color: var(--dark-mode-bg-mid);
}
button.chat-details-button.light {
  background-color: var(--light-mode-bg-highlight);
  color: var(--light-mode-text-body);
  border: 1px solid var(--light-mode-border-muted);
}
button.chat-details-button.light:hover, button.chat-details-button.light.open {
  background-color: var(--light-mode-bg-mid);
}

div.chat-details-dropdown {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  max-height: calc(100% - 50px);
  padding: 8px 12px;
  border-top: 1px solid;
  overflow-y: auto;
  z-index: 5;
}
div.chat-details-dropdown.dark {
  border-color: var(--dark-mode-border);
  background-color: var(--dark-mode-bg-dark);
}
div.chat-details-dropdown.light {
  border-color: var(--light-mode-border-muted);
  background-color: #f5f7fa;
}

div.chat-details-group {
  margin-bottom: 8px;
}

div.chat-details-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  opacity: 0.6;
}

div.chat-details-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
div.chat-details-cell:hover {
  background: rgba(128, 128, 128, 0.15);
}
div.chat-details-cell > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capp--history {
  width: 100%;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 100px;
}

div.capp--history_content {
  display: flex;
  justify-content: center;
}

.history-daily {
  grid-column: 2;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  min-height: 400px;
  border-radius: 1em;
  user-select: none;
  min-width: 620px;
  margin-bottom: 120px;
  border-width: 1px;
  border-style: solid;
  margin-right: 15px;
  margin-left: 15px;
  transition: var(--transition);
}
.history-daily.light-mode {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.history-daily.dark-mode {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

.history-weekly {
  grid-column: 2;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 200px;
  min-height: 400px;
  min-width: 620px;
  border-radius: 1em;
  user-select: none;
  transition: var(--transition);
  border-width: 1px;
  border-style: solid;
  margin-right: 15px;
  margin-left: 15px;
}
.history-weekly.light-mode {
  transition: var(--transition);
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.history-weekly.dark-mode {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
  transition: var(--transition);
}

.history-monthly {
  grid-column: 2;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 200px;
  min-height: 400px;
  min-width: 620px;
  border-radius: 1em;
  user-select: none;
  transition: var(--transition);
  border-width: 1px;
  border-style: solid;
  margin-right: 15px;
  margin-left: 15px;
}
.history-monthly.light-mode {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.history-monthly.dark-mode {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
}

.history-quarterly {
  grid-column: 2;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 120px;
  min-height: 400px;
  min-width: 620px;
  border-radius: 1em;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  margin-right: 15px;
  margin-left: 15px;
  transition: var(--transition);
}
.history-quarterly.light-mode {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.history-quarterly.dark-mode {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

.history-yearly {
  grid-column: 2;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 120px;
  min-height: 400px;
  min-width: 620px;
  border-radius: 1em;
  user-select: none;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  margin-right: 15px;
  margin-left: 15px;
  transition: var(--transition);
}
.history-yearly.light-mode {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.history-yearly.dark-mode {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
}

div.history:has(> .history-card) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  position: relative;
  width: 100%;
}

div.page-button {
  position: fixed;
  top: 30%;
}
div.page-button.next {
  right: 0;
}

div.history > div.page-button {
  position: absolute;
  top: clamp(110px, 18vh, 180px);
  display: flex;
  justify-content: center;
  width: 64px;
  z-index: 2;
}

div.history > div.page-button.previous {
  left: -76px;
}

div.history > div.page-button.next {
  right: -76px;
}

.history-card {
  animation: history-card-fade-in 0.15s ease-out;
  grid-column: 1;
  width: 100%;
  box-sizing: border-box;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 120px;
  min-height: 400px;
  min-width: 0;
  border-radius: 1em;
  user-select: none;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  margin-right: 0;
  margin-left: 0;
  transition: var(--transition);
  height: 100%;
}
.history-card.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.history-card.dark {
  color: var(--cellara-white);
  background-color: none;
  border-color: transparent;
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
}

div.history-capp-card {
  border-radius: 1em;
  font-size: 17px;
  user-select: none;
  padding: 15px;
}
div.history-capp-card.light {
  box-shadow: var(--light-mode-box-shadow);
  background-image: linear-gradient(315deg, #E1E7F1 0%, #f5f7fa 80%);
}
div.history-capp-card.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 1px;
  border-color: black;
  border-style: solid;
  color: white;
}

div.app-header {
  margin-bottom: 5px;
  padding: 2px;
  display: grid;
  grid-template-columns: 160px auto 160px;
}

.history-audit-toolbar {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 2px 20px 10px;
  min-height: 30px;
  min-width: 0;
}

.history-internal-toggle {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  gap: 5px;
  line-height: 1;
  opacity: 0.78;
  padding: 4px 8px;
  user-select: none;
  white-space: nowrap;
}
.history-internal-toggle input {
  cursor: pointer;
  height: 13px;
  margin: 0;
  width: 13px;
}
.history-internal-toggle.light {
  color: var(--light-mode-text-muted);
}
.history-internal-toggle.dark {
  color: var(--dark-mode-text-muted);
}

.history-resync-button {
  align-self: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  opacity: 0.75;
  padding: 4px 10px;
  user-select: none;
  white-space: nowrap;
}

div.capp-name {
  display: flex;
  align-items: center;
  font-size: 22px;
  padding-right: 15px;
  border-style: solid;
  background-color: transparent;
  width: 135px;
  height: 42px;
  border-radius: 10px;
  border-width: 1px;
  margin-top: -1px;
  margin-right: -1px;
}
div.capp-name.dark {
  border-color: black;
}
div.capp-name.light {
  border-color: var(--light-mode-border);
}

div.capp-name svg.channel-icon {
  flex-shrink: 0;
}

div.history-name {
  display: flex;
  align-items: center;
  font-size: 26px;
  width: 260px;
  height: fit-content;
}

div.history-subheader {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
  padding: 0px;
  margin-left: 46px;
  font-size: 14px;
  position: absolute;
}
div.history-subheader.light {
  color: var(--light-mode-text-muted);
}
div.history-subheader.dark {
  color: var(--dark-mode-text-muted);
}

div.period-container {
  font-size: 26px;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  display: flex;
  padding-right: 15px;
  padding-left: 15px;
}

div.period {
  padding-left: 10px;
  padding-right: 10px;
  width: 270px;
  font-size: 26px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.history-period-box {
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  justify-content: center;
  width: 170px;
  margin-bottom: 8px;
  margin-top: 2px;
  height: 50px;
}
div.history-period-box.wide {
  width: 250px;
}
div.history-period-box.wide-wrap {
  flex-direction: column;
  width: 250px;
}

div.period-title {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 26px;
  margin-right: 4px;
  margin-left: 4px;
}
div.period-title.day {
  font-size: 24px;
}
div.period-title.week {
  font-size: 21px;
  font-weight: normal;
}
div.period-title.month {
  font-size: 24px;
}
div.period-title.quarter {
  font-size: 28px;
}
div.period-title.year {
  font-size: 28px;
}

div.period-title-row2 {
  display: flex;
  align-items: flex-end;
  font-size: 22px;
  font-weight: normal;
  line-height: normal;
  margin-right: 4px;
  margin-left: 4px;
}
div.period-title-row2.day {
  font-size: 24px;
}
div.period-title-row2.week {
  font-size: 24px;
}
div.period-title-row2.month {
  font-size: 24px;
}
div.period-title-row2.quarter {
  font-size: 28px;
}
div.period-title-row2.year {
  font-size: 28px;
}

div.history-period-subtitle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 18px;
  font-weight: normal;
  width: 100%;
}
div.history-period-subtitle.dark {
  color: var(--secondary-text-dark-mode);
}

div.history-period-selector-container {
  display: flex;
  justify-content: flex-end;
}

button.period-selector {
  transition: var(--transition);
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 115px;
  height: 42px;
  font-size: 17px;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  margin-top: -1px;
  margin-right: -1px;
}
button.period-selector.light {
  border-color: var(--light-mode-border);
  color: #7e8ca8;
  background-color: transparent;
}
button.period-selector.light:hover {
  transform: scale(1.02);
  background-color: var(--light-mode-bg-mid);
}
button.period-selector.light:active {
  transform: scale(0.98);
  background-color: var(--light-mode-bg-mid);
}
button.period-selector.dark {
  border-color: black;
  color: white;
  background-color: transparent;
}
button.period-selector.dark:hover {
  transform: scale(1.02);
  background-color: var(--dark-mode-bg-mid);
}
button.period-selector.dark:active {
  transform: scale(0.98);
  background-color: var(--dark-mode-bg-mid);
}

div.period-selections {
  position: absolute;
  z-index: 30;
  margin-left: 3px;
  margin-top: 35px;
  width: 110px;
  padding-top: 10px;
  padding-bottom: 5px;
}
div.period-selections.open-light-mode {
  transition: all 0.15s ease-out;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-width: 1px;
  border-top-width: 0px;
  border-style: solid;
  border-color: var(--light-mode-border);
  color: #7e8ca8;
  font-size: 15px;
  background-color: var(--light-mode-bg-dark);
}
div.period-selections.closed-light-mode {
  transition: all 0.1s ease-out;
  margin-top: -50px;
  opacity: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-width: 1px;
  border-top-width: 0px;
  border-style: solid;
  border-color: var(--light-mode-border);
  color: white;
  font-size: 15px;
  pointer-events: none;
}
div.period-selections.open-dark-mode {
  transition: all 0.15s ease-out;
  height: auto;
  opacity: 1;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-width: 1px;
  border-top-width: 0px;
  border-style: solid;
  border-color: black;
  color: white;
  font-size: 15px;
  background-color: var(--dark-mode-bg-dark);
}
div.period-selections.closed-dark-mode {
  transition: all 0.1s ease-out;
  margin-top: -50px;
  opacity: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-width: 1px;
  border-top-width: 0px;
  border-style: solid;
  border-color: black;
  color: #1e1e1f;
  font-size: 15px;
  background-color: #1e1e1f;
  pointer-events: none;
}

button.period-selection {
  width: 100%;
  padding-left: 15px;
  height: 30px;
  display: flex;
  border-width: 0px;
  background-color: transparent;
  align-items: center;
  border-radius: 5px;
  transition: all 0.51s ease-out;
}
button.period-selection.light {
  border-color: var(--light-mode-border);
}
button.period-selection.light:hover {
  transition: all 0.08s ease-out;
  background-color: var(--light-mode-bg-mid);
}
button.period-selection.light:active {
  transition: all 0.08s ease-out;
  background-color: var(--light-mode-bg-mid);
}
button.period-selection.dark-mode {
  border-color: black;
}
button.period-selection.dark:hover {
  transition: all 0.08s ease-out;
  background-color: var(--dark-mode-bg-mid);
}
button.period-selection.dark:active {
  transition: all 0.08s ease-out;
  background-color: var(--dark-mode-bg-mid);
}

div.history-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  justify-content: stretch;
  width: 100%;
  margin-top: 10px;
  contain: none;
}

div.history-period-previous-container {
  grid-column: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 300px;
}

div.history-period-next-container {
  grid-column: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 300px;
}

div.history-section-left-column {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  margin-right: 0;
  font-size: 14px;
}

div.history-section-right-column {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  margin-left: 0;
  padding-bottom: 10px;
  font-size: 14px;
}

div.history-section-timeline.light {
  width: 5px;
  background-image: linear-gradient(315deg, #bfb69b 10%, #d6cbae 90%);
  border-radius: 1em;
}
div.history-section-timeline.dark {
  width: 5px;
  background-color: #FFE9AE;
  border-radius: 1em;
}

.today-button {
  height: 42px;
  width: 100px;
  border-radius: 50px;
  margin-left: 0px;
  opacity: 90%;
  font-size: 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  user-select: none;
  pointer-events: all;
  border-width: 1px;
  border-style: solid;
  font-weight: normal;
  padding-right: 9px;
  padding-left: 4px;
}
.today-button.light {
  border-color: var(--light-mode-border);
  color: #7e8ca8;
}
.today-button.dark {
  border-color: black;
  border-color: var(--control-button-border-dark-mode);
  background-color: #1e1e1f;
  background-image: linear-gradient(315deg, #877856 30%, #FFE9AE 90%);
  color: var(--card-background-light-mode);
}
.today-button.light:hover {
  transition: transform 0.08s ease-out;
  transform: scale(1.05);
  background-image: none;
  background-color: #d6cbae;
  box-shadow: var(--box-shadow-light-mode);
}
.today-button.dark:hover {
  transition: transform 0.08s ease-out;
  transform: scale(1.05);
}
.today-button.light:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  box-shadow: inset 0px 0px 3px #c1c1c1;
}
.today-button.dark:active {
  transition: transform 0.08s ease-out;
  transform: scale(0.98);
  background-image: linear-gradient(315deg, #877856 30%, #dbc68f 98%);
}

div.today-icon-spacer {
  width: 40px;
  pointer-events: none;
  user-select: none;
}

div.today-button-text {
  padding-left: 7px;
  color: var(--cellara-blue);
}

div.history-capp-current-month {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  margin-top: -60px;
  border-radius: 5px;
  padding: 8px;
}
div.history-capp-current-month.light {
  color: var(--cellara-green);
  box-shadow: 0px 0px 4px 0px var(--cellara-green);
}
div.history-capp-current-month.dark {
  box-shadow: 0px 0px 4px 0px #03fcb6;
  color: #03fcb6;
}

div.history-capp-current-month-icon {
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.history-capp-up {
  display: flex;
  justify-content: center;
  padding-bottom: 15px;
  margin-top: -60px;
}

.capp--history-move-button.dark-mode {
  border-width: 1px;
  border-color: black;
  border-style: solid;
  background-color: #1e1e1f;
  border-radius: 50%;
  margin-left: 10px;
  height: 45px;
  width: 45px;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  color: #03fcb6;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

div.capp--calendar-top-right {
  display: flex;
  flex-wrap: nowrap;
  width: 250px;
  align-items: flex-start;
  justify-content: flex-end;
}

div.capp--history-move-buttons {
  width: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.capp--history-move-up-button.dark-mode {
  border-width: 1px;
  border-color: black;
  border-style: solid;
  border-radius: 5px;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  height: 45px;
  width: 45px;
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 60%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

.capp--history-move-down-button.dark-mode {
  border-width: 1px;
  border-color: black;
  border-style: solid;
  border-radius: 5px;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  height: 45px;
  width: 45px;
  background-image: linear-gradient(315deg, #1e1e1f 20%, #373739 80%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

.capp--history-move-up-button.light-mode {
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-color: #dde3ed;
  height: 45px;
  width: 45px;
  color: #7e8ca8;
  background-image: linear-gradient(315deg, #ebf1f5 20%, #fafdff 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

.capp--history-move-down-button.light-mode {
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-color: #dde3ed;
  height: 45px;
  width: 45px;
  color: #7e8ca8;
  background-image: linear-gradient(315deg, #ebf1f5 20%, #fafdff 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  user-select: none;
}

div.history-capp--bucket-data {
  display: flex;
  flex-wrap: wrap;
  width: 700px;
}

div.history-capp--history-cell {
  font-size: 14px;
}

div.history-today-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cellara-blue);
  font-size: 35px;
  width: 40px;
}

img.history-today-icon {
  border-radius: 50%;
  padding: 3px;
  z-index: 5;
}
img.history-today-icon.light {
  color: white;
}
div.capp-calendar-active-period {
  font-size: 18px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
  padding-right: 15px;
}

div.history-content {
  display: flex;
  flex-direction: column;
}

div.history-period-header {
  width: 100%;
  margin-bottom: 20px;
}

div.history-period-header.current-dark-mode {
  border-radius: 5px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 10px;
}

div.history-period-header.current-light-mode {
  border-radius: 5px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 10px;
}

div.history-period-name {
  display: flex;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: -3px;
}

div.history-period-title-startdate {
  display: flex;
  align-items: center;
  padding-left: 5px;
  font-size: 16px;
  font-weight: normal;
}

div.history-cells-type-header.right {
  display: flex;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 3px;
}

div.history-cells-type-header.left {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 3px;
}

div.history-cells-header-label {
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  min-width: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 12px;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.history-cells-header-label.light {
  background-color: transparent;
  border-color: var(--light-mode-border);
  color: var(--connection-text-light-mode);
}
div.history-cells-header-label.dark {
  background-color: transparent;
  color: var(--dark-mode-text-muted);
  border-color: black;
}

div.history-capp-columns {
  width: 100%;
}

div.history-cells {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 4px 5px 12px;
  user-select: none;
  cursor: auto;
}
div.history-cells-overflow-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 3px 5px 3px 0;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.65;
  user-select: none;
}
div.history-cells-overflow-count.light {
  color: var(--connection-text-light-mode);
}
div.history-cells-overflow-count.dark {
  color: var(--dark-mode-text-muted);
}

div.hope {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  padding-top: 10px;
  padding-bottom: 10px;
}
div.hope.right {
  justify-content: flex-start;
  padding-left: 10px;
}
div.hope.left {
  padding-right: 10px;
}

div.history-capp-columns.cell {
  display: flex;
  flex-wrap: wrap;
}

.example-capp_container {
  background-image: var(--light-mode-gradient);
  border-width: 0px;
  border-radius: 5px;
  color: var(--cellara-green);
  cursor: pointer;
  font-size: 17px;
  user-select: none;
  box-shadow: 1px 1px 3px 1px var(--cellara-green);
}

.example-capp_example-section {
  background-image: var(--light-mode-gradient);
  border-width: 0px;
  border-radius: 5px;
  color: var(--cellara-green);
  cursor: pointer;
  font-size: 17px;
  user-select: none;
  box-shadow: 1px 1px 3px 1px var(--cellara-green);
}

.example-capp_example-button {
  background-image: var(--light-mode-gradient);
  border-width: 0px;
  border-radius: 5px;
  color: var(--cellara-green);
  cursor: pointer;
  font-size: 17px;
  user-select: none;
  box-shadow: 1px 1px 3px 1px var(--cellara-green);
  background-image: var(--dark-mode-gradient);
  color: var(--cellara-orange);
  box-shadow: 1px 1px 3px 1px var(--cellara-orange);
}

div.capp--history-footer {
  position: fixed;
  bottom: 100px;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  pointer-events: none;
}

div.history-capp--footer {
  display: flex;
  justify-content: center;
  width: 100%;
}

@keyframes history-card-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.history-card,
.history-daily,
.history-weekly,
.history-monthly,
.history-quarterly,
.history-yearly {
  transition: none;
}

.main-blob-card .history-card--cell {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  min-width: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-image: none;
  background-color: transparent;
  padding-top: 0;
}

.main-blob-card .history-card--cell .history-audit-toolbar {
  justify-content: flex-start;
  margin: 10px clamp(16px, 2vw, 32px) 0;
  position: relative;
  z-index: 3;
}

.main-blob-card .history-card--cell .history-body {
  width: 100%;
  box-sizing: border-box;
  padding: 24px clamp(16px, 2vw, 32px) 36px;
}

.history-body div.history-cells > button.linked-cell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-content: flex-start;
  box-sizing: border-box;
}

.history-body div.history-cells > button.linked-cell > div.linked-cell {
  max-width: 100%;
  min-width: 0;
  justify-content: flex-start;
}

.history-body div.history-cells div.linked-cell.name,
.history-body div.history-cells div.linked-cell-name {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-blob-card:has(.history-header) > .main-cell-buttons {
  display: none;
}

.history-header .edit-cell,
.history-header .edit-item-active {
  display: none;
}

.history-body.thread-body {
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 400px;
}

div.period-title.thread {
  font-size: 18px;
  font-weight: normal;
}

.thread-mini-chat {
  width: 100%;
  max-width: 500px;
  max-height: 100px;
  overflow: hidden;
  border-radius: 10px;
  padding: 4px 8px;
  pointer-events: none;
  font-size: 13px;
}
.thread-mini-chat.light {
  background-color: var(--light-mode-bg-mid);
  border: 1px solid var(--light-mode-border);
}
.thread-mini-chat.dark {
  background-color: var(--dark-mode-bg-mid);
  border: 1px solid black;
}

.thread-mini-chat-row {
  padding: 2px 0;
}
.thread-mini-chat-row.user {
  text-align: right;
}
.thread-mini-chat-row.friend {
  text-align: left;
}
.thread-mini-chat-row.current {
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--cellara-blue);
}

.bio-timeline-slider {
  width: 100%;
  max-width: 360px;
  margin: 0;
  margin-left: auto;
  padding: 4px 11px 4px 11px;
  user-select: none;
  overflow: visible;
  background: transparent;
}

.bio-timeline-slider input[type=range] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 100%;
  background: transparent !important;
  position: relative;
  cursor: pointer;
}

.bio-timeline-slider input[type=range]:focus {
  outline: 0;
}

.bio-timeline-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2.1em;
  height: 2.1em;
  margin: 0.35em 0;
  background: #4bc4b4;
  border-radius: 100%;
  box-shadow: inset 0.8em 0.8em 5px -8px rgba(255, 255, 255, 0.4), inset -0.4em -0.4em 10px -3px rgba(0, 0, 0, 0.2), 0.7em 0.5em 7px -0.5em rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.bio-timeline-slider input[type=range]::-moz-range-thumb {
  width: 2.1em;
  height: 2.1em;
  margin: 0.35em 0;
  background: #4bc4b4;
  border-radius: 100%;
  box-shadow: inset 0.8em 0.8em 5px -8px rgba(255, 255, 255, 0.4), inset -0.4em -0.4em 10px -3px rgba(0, 0, 0, 0.2), 0.7em 0.5em 7px -0.5em rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 0;
}

.bio-timeline-slider input[type=range]::-webkit-slider-runnable-track {
  background: var(--light-mode-bg-light);
  width: 100%;
  height: 2.8em;
  padding: 0 0.7em;
  border-radius: 1.4em;
  box-shadow: inset 0.6em 1em 10px rgba(0, 0, 0, 0.15), inset -0.6em -1em 10px rgba(255, 255, 255, 0.415);
}

.bio-timeline-slider input[type=range]::-moz-range-track {
  background: var(--light-mode-bg-light);
  width: 100%;
  height: 2.8em;
  padding: 0 0.7em;
  border-radius: 1.4em;
  box-shadow: inset 0.6em 1em 10px rgba(0, 0, 0, 0.15), inset -0.6em -1em 10px rgba(255, 255, 255, 0.415);
}

.dark .bio-timeline-slider input[type=range]::-webkit-slider-runnable-track {
  background: var(--dark-mode-bg-light);
  box-shadow: inset 0.6em 1em 10px rgba(0, 0, 0, 0.35), inset -0.6em -1em 10px rgba(255, 255, 255, 0.12);
}

.dark .bio-timeline-slider input[type=range]::-moz-range-track {
  background: var(--dark-mode-bg-light);
  box-shadow: inset 0.6em 1em 10px rgba(0, 0, 0, 0.35), inset -0.6em -1em 10px rgba(255, 255, 255, 0.12);
}

.bio-timeline-track-wrapper {
  position: relative;
  margin: 0 5px;
}

.bio-timeline-icons {
  position: absolute;
  top: 0;
  left: 1.05em;
  right: 1.05em;
  height: 2.8em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.bio-timeline-icon {
  flex: 0 0 0;
  overflow: visible;
  transition: color 0.2s;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}
.light .bio-timeline-icon {
  color: #999;
}
.bio-timeline-icon.active {
  color: #4bc4b4;
}
.bio-timeline-icon svg {
  width: 17px;
  height: 17px;
}

.bio-timeline-labels {
  display: flex;
  justify-content: space-between;
  margin: 4px calc(1.05em + 5px) 0 calc(1.05em + 5px);
}

.bio-timeline-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 0 0 0;
  overflow: visible;
  min-width: 33px;
  justify-content: center;
  transition: color 0.2s;
  color: #666;
}
.light .bio-timeline-label {
  color: #999;
}
.bio-timeline-label.active {
  color: #4bc4b4;
}

.bio-timeline-label-text {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.bio-timeline-label-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #666;
}
.light .bio-timeline-label-dot {
  background: #999;
}

.messages-capp-card {
  border-radius: 16px;
  font-size: 17px;
  user-select: none;
  margin-top: 120px;
  max-width: 600px;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  min-height: 300px;
  overflow: hidden;
}
.messages-capp-card.light {
  box-shadow: var(--light-mode-box-shadow);
  background-color: var(--light-mode-bg-capp);
  border-color: var(--light-mode-border);
}
.messages-capp-card.dark {
  background-color: var(--dark-mode-bg-capp);
  border-color: var(--dark-mode-border);
  color: white;
}

.messages-cell-body {
  overflow: hidden;
}
.messages-cell-body .capp-name {
  width: 160px;
  margin-top: 5px;
  margin-left: 5px;
}

.messages-capp-body {
  padding-top: 10px;
}

.messages-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 11px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.15s;
}
.light .messages-row:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.light .messages-row:active {
  background-color: rgba(0, 0, 0, 0.08);
}
.dark .messages-row:hover {
  background-color: rgba(255, 255, 255, 0.06);
}
.dark .messages-row:active {
  background-color: rgba(255, 255, 255, 0.1);
}
.messages-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 73px;
  height: 1px;
}
.light .messages-row::after {
  background-color: rgba(0, 0, 0, 0.1);
}
.dark .messages-row::after {
  background-color: rgba(255, 255, 255, 0.1);
}
.messages-row:last-child::after {
  display: none;
}

.light .messages-row.selected {
  background-color: rgba(0, 0, 0, 0.08);
}
.dark .messages-row.selected {
  background-color: rgba(255, 255, 255, 0.12);
}

.messages-row--avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  margin-right: 12px;
}

.messages-row:has(.messages-row--preview.working) .messages-row--avatar {
  position: relative;
  overflow: visible;
}

.messages-row--content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.messages-row--top-line {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.messages-row--name {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages-row--name.unread {
  font-weight: 600;
}
.light .messages-row--name {
  color: #000;
}
.dark .messages-row--name {
  color: #fff;
}

.messages-row--time {
  flex-shrink: 0;
  font-size: 13px;
  white-space: nowrap;
}
.light .messages-row--time {
  color: #8e8e93;
}
.dark .messages-row--time {
  color: #8e8e93;
}

.messages-row--bottom-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.chat-day-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 6px;
  overflow: hidden;
}
.chat-day-separator span {
  display: inline-block;
  position: relative;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.chat-day-separator span::before, .chat-day-separator span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100vw;
  border-top: 1px solid;
}
.chat-day-separator span::before {
  right: 100%;
}
.chat-day-separator span::after {
  left: 100%;
}
.light .chat-day-separator span {
  color: #8e8e93;
}
.light .chat-day-separator span::before, .light .chat-day-separator span::after {
  border-color: rgba(0, 0, 0, 0.12);
}
.dark .chat-day-separator span {
  color: #98989d;
}
.dark .chat-day-separator span::before, .dark .chat-day-separator span::after {
  border-color: rgba(255, 255, 255, 0.14);
}

.messages-row--preview {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.light .messages-row--preview {
  color: #8e8e93;
}
.dark .messages-row--preview {
  color: #8e8e93;
}
.messages-row--preview.unread {
  font-weight: 600;
}
.light .messages-row--preview.unread {
  color: #555;
}
.dark .messages-row--preview.unread {
  color: #bbb;
}

.messages-row--chevron {
  flex-shrink: 0;
  font-size: 14px;
}
.light .messages-row--chevron {
  color: #c7c7cc;
}
.dark .messages-row--chevron {
  color: #48484a;
}

.messages-row--unread-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3cc878;
}

.messages-row--group-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.light .messages-row--group-avatar {
  background-color: #e5e5ea;
}
.dark .messages-row--group-avatar {
  background-color: #3a3a3c;
}
.messages-row--group-avatar svg {
  width: 28px;
  height: 28px;
}

.messages-capp--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-size: 14px;
  font-style: italic;
}
.light .messages-capp--empty {
  color: #8e8e93;
}
.dark .messages-capp--empty {
  color: #636366;
}

.messages-capp-body.messages-wide {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding-top: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.messages-wide--rail {
  flex: 0 0 auto;
  width: clamp(200px, 36%, 400px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 10px;
}
body.dark .messages-wide--rail {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #050505 transparent;
}
.light .messages-wide--rail {
  border-right: 1px solid var(--light-mode-border);
}
.dark .messages-wide--rail {
  border-right: 1px solid var(--dark-mode-border);
}
.messages-wide--rail .messages-row--chevron,
.messages-wide--rail .messages-row--time {
  display: none;
}
.messages-wide--rail .messages-row {
  padding: 8px 10px;
}

.messages-wide--pane {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.messages-wide--pane .person-conversation-pane {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.messages-wide--pane .person-conversation-pane > .main-cell-card.body {
  flex: 1 1 auto;
  min-height: 0;
}

.messages-wide--pane .main-cell-top.person-header {
  display: none;
}

div.cell-grid.messages:has(.messages-wide) .messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding-right: 12px;
}

div.cell-grid.messages:has(.messages-wide) .capp-name {
  border: none;
}

body:has(div.cell-grid.messages) div.composer-bar {
  display: none;
}

.messages-wide--pane .main-cell-card.body,
.messages-wide--pane div.chat-capp-card {
  max-width: none;
}

@media (min-width: 601px) and (max-width: 1200px) {
  .messages-wide--rail {
    width: 76px;
    flex: 0 0 76px;
  }
  .messages-wide--rail .messages-row {
    justify-content: center;
    padding: 8px 0;
  }
  .messages-wide--rail .messages-row--content {
    display: none;
  }
  .messages-wide--rail .messages-row::after {
    display: none;
  }
  .messages-wide--rail .messages-row.agent-presence-online::before,
  .messages-wide--rail .messages-row.agent-presence-stale-version::before,
  .messages-wide--rail .messages-row.agent-presence-offline::before {
    left: calc(50% + 11px);
  }
}
@media (max-width: 600px) {
  div.cell-grid.messages {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    max-width: 100%;
    overflow-x: clip;
  }
}
.capp--home-container-notifications {
  opacity: 0;
  pointer-events: none;
  border-radius: 1em;
  padding: 20px;
  background-image: linear-gradient(315deg, #E1E7F1 0%, #f5f7fa 80%);
  border-width: 0px;
}
.capp--home-container-notifications.light {
  background-image: linear-gradient(315deg, #E1E7F1 0%, #f5f7fa 80%);
  border-width: 0px;
  box-shadow: 0px 0px 8px 1px #c9c9c9;
}
.capp--home-container-notifications.dark {
  background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  border-width: 1px;
  border-color: black;
  border-style: solid;
  color: white;
  border-shadow: initial;
}

.capp--home-container-notifications.show {
  opacity: 1;
  pointer-events: all;
  height: 5em;
  width: 10em;
}

.capp--home-container-notifications-information__notification-count {
  cursor: pointer;
}

div.email-inbox {
  display: flex;
  justify-content: center;
  width: 100%;
}

.email-card {
  animation: history-card-fade-in 0.15s ease-out;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 20px;
  margin-top: 110px;
  margin-bottom: 120px;
  min-height: 400px;
  width: 100%;
  max-width: 800px;
  border-radius: 1em;
  user-select: none;
  border-width: 1px;
  border-style: solid;
  margin-right: 5px;
  margin-left: 5px;
}
.email-card.light {
  box-shadow: var(--light-mode-box-shadow);
  border-color: var(--light-mode-border);
  background-image: var(--light-mode-bg-capp);
}
.email-card.dark {
  color: var(--cellara-white);
  background-color: var(--dark-mode-bg-dark);
  border-color: black;
}

.email-card .app-header {
  grid-template-columns: auto 1fr auto;
}

span.email-count {
  font-size: 14px;
  margin-left: 12px;
  white-space: nowrap;
}
span.email-count.light {
  color: var(--light-mode-text-muted);
}
span.email-count.dark {
  color: var(--dark-mode-text-muted);
}

div.email-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  gap: 8px;
}

input.email-search {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 14px;
  outline: none;
}
input.email-search.light {
  border-color: var(--light-mode-border);
  background-color: var(--light-mode-bg-mid);
  color: inherit;
}
input.email-search.dark {
  border-color: #444;
  background-color: #2a2a2c;
  color: var(--cellara-white);
}
input.email-search::placeholder {
  opacity: 0.5;
}

button.email-clear-search {
  height: 34px;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 13px;
  cursor: pointer;
  background-color: transparent;
}
button.email-clear-search.light {
  border-color: var(--light-mode-border);
  color: var(--light-mode-text-muted);
}
button.email-clear-search.light:hover {
  background-color: var(--light-mode-bg-mid);
}
button.email-clear-search.dark {
  border-color: #444;
  color: var(--dark-mode-text-muted);
}
button.email-clear-search.dark:hover {
  background-color: var(--dark-mode-bg-mid);
}

div.email-date-group {
  margin-bottom: 4px;
}

div.email-date-group-header {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px 4px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
div.email-date-group-header.light {
  color: var(--light-mode-text-muted);
}
div.email-date-group-header.dark {
  color: var(--dark-mode-text-muted);
}

div.email-row {
  display: grid;
  grid-template-columns: 28px minmax(100px, 160px) auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  cursor: pointer;
  border-radius: 6px;
  margin: 0px 6px;
  transition: background-color 0.08s ease-out;
}
div.email-row.light:hover {
  background-color: var(--light-mode-bg-mid);
}
div.email-row.dark:hover {
  background-color: var(--dark-mode-bg-mid);
}

div.email-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

div.email-row-from {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.email-row-date {
  font-size: 12px;
  white-space: nowrap;
}
div.email-row-date.light {
  color: var(--light-mode-text-muted);
}
div.email-row-date.dark {
  color: var(--dark-mode-text-muted);
}

div.email-row-subject {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
div.email-row-subject.light {
  color: var(--light-mode-text-muted);
}
div.email-row-subject.dark {
  color: var(--dark-mode-text-muted);
}

div.email-body {
  padding-top: 4px;
}

div.email-empty {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  font-size: 15px;
}
div.email-empty.light {
  color: var(--light-mode-text-muted);
}
div.email-empty.dark {
  color: var(--dark-mode-text-muted);
}

div.email-load-more-container {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

button.email-load-more {
  height: 36px;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 14px;
  cursor: pointer;
  background-color: transparent;
}
button.email-load-more.light {
  border-color: var(--light-mode-border);
  color: var(--cellara-blue);
}
button.email-load-more.light:hover {
  background-color: var(--light-mode-bg-mid);
}
button.email-load-more.dark {
  border-color: #444;
  color: var(--cellara-blue);
}
button.email-load-more.dark:hover {
  background-color: var(--dark-mode-bg-mid);
}

.main-cell-card.body.email {
  padding: 12px 16px;
}
.main-cell-card.body.email .email-gmail-link {
  padding: 0 0 4px 0;
  text-align: center;
}
.main-cell-card.body.email .email-fields {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.main-cell-card.body.email .email-field {
  display: contents;
}
.main-cell-card.body.email .email-label {
  font-weight: 600;
  opacity: 0.7;
}
.main-cell-card.body.email .email-inline-cells {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.main-cell-card.body.email .email-field button.linked-cell {
  display: inline-flex;
  margin: 2px 0;
}
.main-cell-card.body.email .email-date-link {
  padding-left: 2px;
}
.main-cell-card.body.email .email-date-link:hover {
  text-decoration: underline;
}
.main-cell-card.body.email .email-field .person-avatar-small {
  width: 30px;
  height: 30px;
  font-size: 11px;
  margin-right: 4px;
  margin-top: 1px;
  margin-bottom: 1px;
}
.main-cell-card.body.email .email-field .linked-cell {
  padding-top: 3px;
  padding-bottom: 3px;
}
.main-cell-card.body.email .email-field .linked-cell-name {
  font-size: 13px;
}
.main-cell-card.body.email .email-body-text {
  overflow-x: hidden;
}
.main-cell-card.body.email .email-body-text pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Block */
.notification-permission {
  padding: 20px;
  position: fixed;
  top: 200px;
}

/* Elements */
.notification-permission__explain-button {
  background-color: #008CBA;
  border: none;
  color: white;
  padding: 12px 24px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.notification-permission__modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.notification-permission__modal-content {
  background-color: #fff;
  border-radius: 4px;
  padding: 20px;
  width: 400px;
}

.notification-permission__modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-permission__modal-title {
  margin: 0;
}

.notification-permission__close-button {
  background-color: #f44336;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.notification-permission__modal-body {
  margin-top: 10px;
  margin-bottom: 10px;
}

.notification-permission__modal-footer {
  text-align: right;
}

.notification-permission__enable-button {
  background-color: #008CBA;
  border: none;
  color: white;
  padding: 12px 24px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

/* mobile / iphone SE  section */
@media screen and (max-width: 600px) {
  div.main {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
  div.top-bar {
    width: 100%;
    position: fixed;
    z-index: 50;
  }
  div.top-bar.hide {
    transform: scale(0);
    height: 0px;
  }
  div.top-bar-mobile {
    position: fixed;
    width: 100%;
  }
  div.item-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    padding: 0px;
    margin-bottom: 50px;
    width: 100%;
    min-height: 100%;
  }
  div.item-grid-top {
    display: flex;
    justify-content: flex-start;
    margin: 0px;
    padding: 0px;
    width: 100%;
    margin-bottom: 0px;
    transition: var(--transition);
  }
  div.item-grid-top.large {
    height: 0px;
    transform: scale(0);
  }
  div.item-grid-middle {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin-top: 0px;
    margin-bottom: 5px;
    transition: var(--transition);
  }
  div.item-grid-middle-left {
    order: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    transition: var(--transition);
  }
  div.item-grid-middle-left.small {
    width: 100%;
  }
  div.item-grid-middle-left.medium {
    width: 100%;
  }
  div.item-grid-middle-left.large {
    height: 0px;
    transform: scale(0);
  }
  div.item-grid-middle-main {
    order: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    grid-row: 2/3;
    grid-column: 1/3;
    transition: var(--transition);
  }
  div.item-grid-middle-right {
    order: 2;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    transition: var(--transition);
  }
  div.item-grid-middle-right.small {
    width: 100%;
  }
  div.item-grid-middle-right.medium {
    width: 100%;
  }
  div.item-grid-middle-right.large {
    height: 0px;
    transform: scale(0);
  }
  div.item-grid-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    user-select: none;
    transition: var(--transition);
  }
  div.item-grid-bottom.small {
    width: 100%;
  }
  div.item-grid-bottom.medium {
    width: 100%;
  }
  div.item-grid-bottom.large {
    height: 0px;
    transform: scale(0);
  }
  div.flow-quadrant {
    display: flex;
    justify-content: flex-start;
  }
  div.sub-quadrant {
    display: block;
  }
  div.sub-quadrant.top {
    display: block;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  div.sub-quadrant.right {
    display: block;
    padding-top: 0px;
    margin-left: 0px;
  }
  div.sub-quadrant.left {
    justify-content: flex-start;
    padding-top: 0px;
    display: block;
  }
  div.sub-quadrant.rest {
    display: block;
    flex-direction: column;
  }
  div.sub-quadrant.mobile {
    display: flex;
    flex-wrap: wrap;
  }
  div.add-cell-component-container.hide {
    transition: var(--transition);
    position: absolute;
    left: 50%;
    width: 0px;
  }
  div.core-controls {
    position: fixed;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    bottom: 0px;
    padding-top: 1px;
    padding-bottom: 8px;
    height: 87px;
    width: 100%;
    border-top-right-radius: 33px;
    border-top-left-radius: 33px;
    border-width: 1px;
    border-style: solid;
    transition: var(--transition);
  }
  div.core-controls.new-cell-in-chat {
    height: 0px;
    margin-bottom: -75px;
  }
  div.core-controls.message-bar {
    height: 70px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  div.core-controls:has(.chat-capp--footer.message-open) {
    background-color: transparent !important;
    border-color: transparent !important;
    height: auto;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  div.core-controls.search-mode-cc {
    height: 61px;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  div.core-controls.light {
    background-color: var(--light-mode-bg-mid-transparent);
    transition: var(--transition);
    border-color: var(--light-mode-border);
  }
  div.core-controls.light-add-cell {
    background-color: var(--light-mode-bg-darkest);
    transition: var(--transition);
    border-color: var(--light-mode-bg-darkest);
  }
  div.core-controls.dark {
    background-color: var(--dark-mode-bg-mid);
    border-color: var(--dark-mode-border);
    transition: var(--transition);
  }
  div.core-controls.dark-add-cell {
    background-color: var(--dark-mode-bg-darkest);
    transition: var(--transition);
    border-color: var(--dark-mode-bg-darkest);
  }
  div.add-cell-button-container {
    padding-top: 12px;
    border-radius: 50%;
    width: 83px;
    transform: translatey(-23px);
    display: flex;
    justify-content: center;
    pointer-events: none;
  }
  div.add-cell-button-container.light {
    background-color: var(--bottom-buttons-background-light);
    transition: var(--transition);
  }
  div.add-cell-button-container.dark {
    background-color: var(--bottom-buttons-background-dark);
    transition: var(--transition);
  }
  div.add-cell-button-container.hide {
    background-color: none;
  }
  div.core-controls-left {
    width: 155px;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: center;
    transition: var(--transition);
  }
  div.core-controls-left.full-chat {
    width: 132px;
    pointer-events: initial;
  }
  div.core-controls-left.hide {
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    width: 0px;
  }
  div.core-controls-middle {
    width: 88px;
    display: flex;
    justify-content: center;
    transition: var(--transition);
  }
  div.core-controls-middle.chat {
    width: 100%;
    justify-content: flex-start;
    height: 60px;
  }
  div.core-controls-middle.full-chat {
    width: 100%;
    justify-content: flex-start;
    height: 60px;
  }
  div.core-controls-middle.hide {
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    width: 0px;
    height: 0px;
  }
  div.core-controls-middle.full-width {
    width: 100%;
    height: 60px;
  }
  div.hiya.search {
    height: 200px;
  }
  div.core-controls-right {
    width: 155px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    transition: var(--transition);
    min-height: 70px;
  }
  div.core-controls-right.chat {
    width: 70px;
  }
  div.core-controls-right.full-chat {
    width: 75px;
    pointer-events: initial;
  }
  div.core-controls-right.hide {
    display: none;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    width: 0px;
    height: 0px;
  }
  div.core-controls-right.full-width {
    padding: 0px;
    width: 100%;
    height: 48px;
    min-height: 48px;
  }
  div.add-cell-button-container {
    position: initial;
  }
  div.add-cell-button-container.open {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    position: fixed;
    bottom: 10px;
    width: 80px;
    height: 80px;
  }
  div.add-cell-button-container.hide {
    width: 0px;
    height: 0px;
    bottom: -10000px;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
  }
  img.connected-date-capp-icon {
    padding-right: 0px;
  }
  div.new-cell-card {
    margin-top: 0px;
    z-index: 99;
    display: grid;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 2px;
    bottom: unset;
  }
  div.new-cell-card.add {
    height: 400px;
  }
  div.new-cell-card.add-light {
    height: 400px;
  }
  div.new-cell-card.light {
    height: 400px;
    background-color: var(--light-mode-bg-light);
    border-color: var(--light-mode-border);
    border-width: 1px;
    border-style: solid;
    box-shadow: 1px 1px 4px 0px #dde3ed;
  }
  div.new-cell-card.add-dark {
    height: 400px;
    color: white;
    border-width: 1px;
    border-style: solid;
    background-color: var(--dark-mode-bg-light);
    border-color: black;
  }
  div.new-cell-card.open {
    height: 400px;
    width: 100%;
  }
  div.new-cell-card.hide {
    margin: 0px;
    padding: 0px;
    width: 90%;
    height: 300px;
    pointer-events: none;
  }
  div.new-cell-card.hide-light {
    width: 65px;
    height: 65px;
    transform: none;
    grid-template-rows: auto 0px;
  }
  div.new-cell-card.hide-dark {
    width: 65px;
    height: 65px;
    position: absolute;
    bottom: 0px;
    transform: none;
    left: 50%;
    transform: translateX(-50%);
    grid-template-rows: auto 0px;
  }
  div.new-cell-card.small {
    min-width: unset;
    max-width: unset;
    position: fixed;
    margin: 2px;
    width: calc(100% - 6px);
    transition: var(--transition);
    top: 0px;
    opacity: 1;
    transition: var(--transition);
    left: unset;
    z-index: 100;
  }
  div.new-cell-card.large {
    min-width: unset;
    max-width: unset;
  }
  div.new-cell-body {
    min-height: unset;
  }
  div.new-cell-body.hide {
    height: unset;
  }
  button.add-button {
    transition: var(--transition);
    opacity: 1;
  }
  button.add-button.hide {
    bottom: -10000px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.04s ease-out;
  }
  .new-cell-button {
    transition: var(--transition);
    height: 75px;
    border-radius: 70px;
    width: 40px;
    border-width: 0px;
    z-index: 90;
    position: absolute;
    -webkit-user-drag: none;
    pointer-events: all;
  }
  .new-cell-button.message-open {
    left: 2px;
    height: 48px;
    width: 48px;
    z-index: 99;
    position: fixed;
  }
  .new-cell-button.chat {
    height: 48px;
    width: 48px;
  }
  .new-cell-button.full-chat {
    height: 48px;
    width: 48px;
    margin-bottom: 4px;
    scale: 0;
  }
  .new-cell-button.decoy-light {
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    background-color: inherit;
    margin-bottom: 8px;
    height: 64px;
    width: 64px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--cellara-dark-grey);
    background-image: var(--cellara-green-button-background);
  }
  .new-cell-button.decoy-dark {
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    margin-bottom: 8px;
    height: 64px;
    width: 64px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    background-image: var(--cellara-green-button-background);
  }
  .new-cell-button.hide {
    bottom: -10000px;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    background-image: none;
    width: 0px;
  }
  .new-cell-button.light {
    box-shadow: var(--light-mode-box-shadow);
  }
  .new-cell-button.light.chat {
    box-shadow: none;
  }
  .new-cell-button.light:hover {
    transition: none;
    transform: none;
  }
  .new-cell-button.light:active {
    box-shadow: 0px 0px 5px 1px #bec0be;
    transition: var(--transition);
    transform: scale(0.95);
  }
  .new-cell-button.dark:hover {
    transition: none;
    transform: none;
  }
  .new-cell-button.dark:active {
    box-shadow: 0px 0px 5px 1px;
    transition: var(--transition);
    transform: scale(0.95);
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  span.plus-button-ghost {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    pointer-events: all;
    cursor: pointer;
    z-index: 2;
  }
  img.add-button2 {
    transition: var(--transition);
    height: 75px;
    border-radius: 70px;
    width: 75px;
    border-width: 0px;
    z-index: 90;
    -webkit-user-drag: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  img.add-button2.decoy-light {
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    background-color: inherit;
    margin-bottom: -7px;
    height: 88px;
    width: 88px;
    padding: 8px;
    border-top-color: var(--light-mode-border);
    border-top-width: 1px;
    border-top-style: solid;
    margin-right: -2px;
    margin-left: -2px;
  }
  img.add-button2.decoy-dark {
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    background-color: inherit;
    margin-bottom: -7px;
    height: 88px;
    width: 88px;
    padding: 8px;
    border-top-color: var(--dark-mode-border);
    border-top-width: 1px;
    border-top-style: solid;
    margin-right: -2px;
    margin-left: -2px;
  }
  img.add-button2.hide {
    bottom: -10000px;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    background-image: none;
    width: 0px;
  }
  img.add-button2.light {
    border-top-color: var(--light-mode-border);
    box-shadow: var(--light-mode-box-shadow);
    border-top-width: 1px;
    border-top-style: solid;
  }
  img.add-button2.dark {
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  img.add-button2.light:hover {
    transition: none;
    transform: none;
  }
  img.add-button2.light:active {
    box-shadow: 0px 0px 5px 1px #bec0be;
    transition: var(--transition);
    transform: scale(0.95);
  }
  img.add-button2.dark:hover {
    transition: none;
    transform: none;
  }
  img.add-button2.dark:active {
    box-shadow: 0px 0px 5px 1px;
    transition: var(--transition);
    transform: scale(0.95);
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  div.chat-add-cell.open {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
  }
  div.chat-capp-card {
    padding: 0px;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    max-width: unset;
    height: 100%;
  }
  div.chat-capp-card.zoom-out {
    position: initial;
    left: unset;
    top: unset;
    width: unset;
    height: 100px;
    padding-bottom: 0px;
  }
  div.chat-capp-card.light {
    border-width: 1px;
    box-shadow: none;
    background-color: transparent;
    border-bottom-width: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  div.chat-capp-card.dark {
    border-width: 1px;
    background-color: transparent;
    border-bottom-width: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  div.chats-capp-card {
    margin-top: 5px;
    margin-bottom: 200px;
    width: 100%;
    margin-right: 5px;
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 15px;
    border-radius: 1em;
    min-height: 400px;
    user-select: none;
    border-width: 1px;
    border-style: solid;
    transition: var(--transition);
  }
  div.chats-capp-card.light {
    background-color: var(--light-mode-bg-dark);
    border-color: var(--light-mode-border);
    box-shadow: var(--light-mode-box-shadow);
  }
  div.chats-capp-card.dark {
    color: var(--cellara-white);
    background-color: var(--dark-mode-bg-dark);
    border-color: black;
  }
  div.chat-capp--header {
    margin-bottom: 0px;
  }
  div.chat-capp--body {
    padding-bottom: 100px;
    height: auto;
    padding-right: 5px;
    padding-left: 5px;
  }
  div.chat-capp--body.hide {
    scale: 0;
  }
  div.chat-pfp-in-message {
    margin-left: 0px;
  }
  div.chat-capp--footer {
    position: fixed;
    z-index: 80;
    bottom: 0;
    /* left: 131px; */
    width: calc(100% - 80px);
    margin-right: 2px;
    margin-left: 2px;
    transition: var(--transition);
    min-width: unset;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    isolation: isolate;
  }
  div.chat-capp--footer.add-cell {
    scale: 0;
    width: 0px;
  }
  div.chat-capp--footer.message-open {
    width: calc(100% - 15px);
    left: 5px;
    align-items: center;
  }
  div.core-controls.chat div.chat-capp--footer,
  .person-chat-inline .chat-capp--footer,
  .person-chat-embedded .chat-capp--footer {
    left: 10px;
    right: 98px;
    width: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }
  div.core-controls.chat div.chat-capp--footer.message-open,
  .person-chat-inline .chat-capp--footer.message-open,
  .person-chat-embedded .chat-capp--footer.message-open {
    left: 10px;
    right: 98px;
    width: auto;
  }
  .person-chat-inline .chat-capp--footer,
  .person-chat-embedded .chat-capp--footer {
    max-width: none;
  }
  .person-chat-inline .chat-capp--footer > .new-cell-button-chat-background,
  .person-chat-embedded .chat-capp--footer > .new-cell-button-chat-background {
    display: flex;
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    height: 50px;
    margin-left: 0;
  }
  .person-chat-inline .chat-capp--footer input.chat-capp--chat-field.message-open,
  .person-chat-inline .chat-capp--footer textarea.chat-capp--chat-field.message-open,
  .person-chat-embedded .chat-capp--footer input.chat-capp--chat-field.message-open,
  .person-chat-embedded .chat-capp--footer textarea.chat-capp--chat-field.message-open {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin-left: 0;
  }
  .person-chat-inline .chat-capp--footer button.chat-capp--send.message-open,
  .person-chat-embedded .chat-capp--footer button.chat-capp--send.message-open {
    flex: 0 0 58px;
    min-width: 58px;
    height: 50px;
  }
  button.new-cell-button-chat-background.message-closed {
    scale: 0;
    opacity: 0;
    width: 0px;
  }
  input.chat-capp--chat-field,
  textarea.chat-capp--chat-field {
    transition: var(--transition);
    margin: 2px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    isolation: isolate;
  }
  input.chat-capp--chat-field.message-open,
  textarea.chat-capp--chat-field.message-open {
    width: calc(100% - 60px);
    margin-left: -4px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left-width: 1px;
  }
  input.chat-capp--chat-field.message-closed,
  textarea.chat-capp--chat-field.message-closed {
    border-radius: 12px;
    border-left-width: 1px;
    height: 62px;
    width: 100%;
  }
  button.chat-capp--send {
    transition: var(--transition);
  }
  button.chat-capp--send.message-open {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  button.chat-capp--send.message-closed {
    scale: 0;
    left: 75%;
    position: absolute;
  }
  button.new-cell-button-chat-background.message-open {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
  }
  .person-chat-inline {
    height: calc(100vh - 130px);
  }
  .person-chat-inline .chat-capp--body {
    padding-bottom: 80px;
  }
  .person-chat-inline .chat-capp--footer {
    bottom: 0;
    padding: 8px 10px;
    box-sizing: border-box;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  .person-chat-embedded {
    height: calc(100vh - 130px);
  }
  div.chat-capp--body-row-right {
    margin-left: 20px;
    width: calc(100% - 20px);
  }
  div.chat-capp--body-row-left {
    margin-right: 20px;
    width: calc(100% - 20px);
  }
  div.the-great-filter {
    min-height: unset;
    padding-bottom: 0px;
  }
  div.child-cells {
    padding-bottom: 0px;
  }
  div.messages-capp-card {
    margin-top: 5px;
    margin-bottom: 200px;
    width: 100%;
    max-width: 100%;
    margin-right: 5px;
    margin-left: 5px;
    padding: 0;
    border-radius: 1em;
    min-height: 400px;
    user-select: none;
    border-width: 1px;
    border-style: solid;
    transition: var(--transition);
  }
  div.messages-capp-card.light {
    background-color: var(--light-mode-bg-dark);
    border-color: var(--light-mode-border);
    box-shadow: var(--light-mode-box-shadow);
  }
  div.messages-capp-card.dark {
    color: var(--cellara-white);
    background-color: var(--dark-mode-bg-dark);
    border-color: black;
  }
  div.messages-capp-card .messages-row {
    padding: 8px 12px;
  }
  div.messages-capp-card .messages-row--avatar {
    width: 44px;
    height: 44px;
  }
  div.messages-capp-card .person-avatar-messages {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  div.messages-capp-card .messages-row--group-avatar {
    width: 44px;
    height: 44px;
  }
  div.messages-capp-card .messages-row--group-avatar svg {
    width: 24px;
    height: 24px;
  }
  div.messages-capp-card .messages-row::after {
    left: 68px;
  }
  div.search {
    position: initial;
    margin: 2px;
    width: 62px;
    transition: var(--transition);
    transform: none;
  }
  div.search.chat {
    width: 100%;
  }
  div.search.full-chat {
    width: 0px;
    transform: scale(0);
  }
  div.search.search-open {
    width: 100%;
  }
  div.search.search-hide {
    margin: 0px;
    height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.search.mobile {
    margin: 0px;
    width: 100%;
    height: 100%;
    z-index: 90;
  }
  div.search.mobile.collapsed {
    width: 0px;
    height: 0px;
    opacity: 0;
    pointer-events: none;
  }
  div.search.mobile.expanded {
    width: 100%;
    height: 56px;
    opacity: 1;
  }
  div.search.mobile .search-expanded {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 5px);
    top: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    z-index: 100;
  }
  div.search.mobile.collapsed .search-expanded {
    display: none;
  }
  div.search.mobile .search-box {
    width: 100%;
    height: 50px;
  }
  div.search.mobile div.search-bar.button {
    width: 100%;
    height: 50px;
  }
  div.search.mobile #search-input.light,
  div.search.mobile #search-input.dark {
    position: static;
    width: 100%;
    margin: 0px;
    background-color: var(--card-background-light-mode);
    border-radius: 25px;
    box-sizing: border-box;
    box-shadow: var(--light-mode-box-shadow);
    color: var(--button-text-light-mode);
  }
  div.search.mobile #search-input.dark {
    background-color: var(--card-background-dark-mode);
    border-color: var(--dark-mode-border);
    box-shadow: none;
    color: var(--dark-mode-text-body);
  }
  div.search.mobile .search-contenteditable:empty:before {
    content: attr(data-placeholder);
    opacity: 0.48;
    pointer-events: none;
  }
  div.search.mobile .search-icon-container {
    right: 15px;
    top: 13px;
  }
  div.search.mobile div.search-selections {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 58px;
    width: 100%;
    min-width: 0px;
    max-width: 100%;
    max-height: 44vh;
    overflow-y: auto;
    margin: 0px;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
  }
  div.search.mobile div.search-selections.no-results {
    display: none;
  }
  div.search.mobile div.search-selection {
    width: 100%;
    box-sizing: border-box;
  }
  div.search-container {
    padding-left: 10px;
  }
  div.test-inside-below-mobile-search {
    position: absolute;
    margin-top: 140px;
  }
  div.test-below-mobile-search {
    position: absolute;
    margin-top: 140px;
  }
  button.search {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: var(--transition);
  }
  button.search.hide {
    bottom: -10000px;
    transform: scale(0);
    transition: var(--transition);
  }
  #search-input {
    font-size: 15px;
    padding: 10px;
    padding-right: 35px;
    padding-left: 15px;
    margin-left: 10px;
    margin-right: 10px;
    height: 50px;
    width: 100%;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    height: 50px;
    cursor: pointer;
    border-radius: 45px;
    background-image: none;
    background-color: transparent;
    transition: var(--transition);
    transform-origin: right;
    display: flex;
    justify-content: flex-end;
  }
  #search-input.hide {
    width: 0px;
    height: 0px;
    opacity: 0;
    transform: scale(0);
    font-size: 1px;
  }
  #search-input.button-light {
    background-image: var(--light-mode-channel-button);
    border-width: 1px;
    border-radius: 50%;
    border-style: solid;
    border-color: var(--light-mode-border);
    box-shadow: none;
    color: var(--button-text-light-mode);
    height: 62px;
    width: 62px;
    margin: 0;
    padding: 0;
    color: var(--button-text-light-mode);
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 1000px;
    font-size: 1px;
  }
  #search-input.button-dark {
    border-radius: 50%;
    height: 62px;
    width: 62px;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
    color: var(--button-text-dark-mode);
    border-width: 1px;
    border-style: solid;
    border-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 1000px;
    font-size: 1px;
  }
  #search-input.light {
    background-color: #white;
    border-width: 1px;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-style: solid;
    border-color: #dde3ed;
    box-shadow: 1px 1px 4px 0px #dde3ed;
    color: var(--button-text-light-mode);
    transform-origin: right;
    height: 50px;
    width: 95vw;
    position: fixed;
    bottom: 5px;
  }
  #search-input.dark {
    background-color: #white;
    color: #575859;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    transform-origin: left;
    height: 50px;
    width: 95vw;
    position: fixed;
    bottom: 5px;
  }
  #search-input[contenteditable] {
    outline: none;
    -webkit-user-select: text;
    white-space: nowrap;
    overflow: hidden;
  }
  #search-input[contenteditable].light, #search-input[contenteditable].dark {
    line-height: 50px;
    padding-top: 0;
    padding-bottom: 0;
    display: block;
    text-align: left;
  }
  #search-input[contenteditable].dark {
    color: var(--dark-mode-text-body);
  }
  div.search-icon-container {
    pointer-events: none;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 25px;
  }
  div.search-box {
    border-width: 0px;
    width: 62px;
    height: 100%;
  }
  div.search-box.hide {
    width: 0px;
    bottom: -10000px;
    transform: scale(0);
  }
  div.new-cell-container {
    margin: 2px;
    width: 65px;
    height: 65px;
    transition: var(--transition);
    margin-top: -5px;
    bottom: 0px;
    position: fixed;
  }
  div.new-cell-container.open {
    width: 100%;
    height: 400px;
    top: 5px;
  }
  div.new-cell-container.hide {
    display: none;
    margin: 0px;
    min-height: 60px;
    opacity: 0;
    background-image: none;
    font-size: 1px;
    height: 300px;
    width: 90%;
    pointer-events: none;
  }
  div.new-cell-container.add {
    width: 100%;
    height: 400px;
    top: 5px;
  }
  div.new-cell-container.search-open {
    width: 100%;
    height: 300px;
  }
  div.new-cell-container.search-hide {
    display: none;
    margin: 0px;
    height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.search-box3 {
    border-width: 0px;
  }
  div.search-box3.button {
    height: 300px;
  }
  div.search-box3.hide {
    width: 0px;
    bottom: -10000px;
    transform: scale(0);
  }
  div.mobile-search-icon {
    position: absolute;
    display: flex;
    pointer-events: none;
    transition: var(--transition);
    height: 30px;
    width: 30px;
    /*      &.hide {
              right: -10000px;
              transform: scale(0);
              transition: all ease-out 0.1s;
              display: flex;
              align-items: center;
              width: 0px;
              font-size: 0px;
          } */
  }
  div.mobile-search-icon.light {
    color: var(--button-text-light-mode);
  }
  div.mobile-search-icon.dark {
    color: var(--button-text-dark-mode);
  }
  div.search-bar3 {
    margin-top: 0px;
    transition: var(--transition);
  }
  div.search-bar3.button {
    height: 300px;
    width: 100%;
  }
  div.search-bar3.hide {
    position: static;
  }
  div.search-bar3:hover {
    transform: none;
  }
  div.search-bar {
    margin-top: 0px;
    transition: var(--transition);
  }
  div.search-bar.button {
    width: 100%;
  }
  div.search-bar.hide {
    position: static;
    height: 62px;
    width: 62px;
  }
  div.search-bar:hover {
    transform: none;
  }
  div.search-box2.button {
    height: 62px;
    width: 62px;
    color: var(--cellara-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 50%;
    font-size: 20px;
    user-select: none;
    cursor: pointer;
  }
  div.search-box2.hide {
    bottom: -10000px;
    transform: scale(0);
  }
  .render-icon-image {
    transition: var(--transition);
    min-width: 2em;
    min-height: 2em;
  }
  .render-icon-image.small {
    width: auto;
    margin-right: 3px;
    height: 19px;
    margin-top: 7px;
  }
  .render-icon-image.large-light {
    width: 30px;
    height: 30px;
  }
  .render-icon-image.large-dark {
    width: 30px;
    height: 30px;
  }
  .render-icon-image.hide {
    margin: 0px;
    height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
    transition: var(--transition);
  }
  .capp--icon-channel {
    height: 40px;
    width: 40px;
    pointer-events: none;
  }
  div.cellara-settings-container {
    align-items: flex-start;
    justify-content: center;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-bottom: 12px;
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  div.cellara-settings_guest-mode_card {
    width: min(320px, 100vw - 40px);
    max-width: 100%;
    padding: 16px 14px 12px;
  }
  .cellara-login-blob [class^=blob-edge-glow-],
  .cellara-login-blob [class^=blob-border-] {
    display: none !important;
  }
  label.cellara-settings_guest-mode_username,
  label.cellara-settings_guest-mode_password {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
  }
  div.capp-field-name {
    width: auto;
  }
  input.cellara-settings_guest-mode_username,
  input.cellara-settings_guest-mode_password {
    width: 100%;
    flex: none;
    margin-left: 0;
    font-size: 16px;
    height: 42px;
  }
  .cellara-settings_guest-mode__login-fields {
    gap: 8px;
  }
  .cellara-settings_guest-mode_login-row {
    padding-top: 8px;
    position: sticky;
    bottom: 0;
    background: transparent;
    z-index: 2;
  }
  div.cellara-settings_body {
    padding-left: 0;
    justify-content: stretch;
    width: 100%;
    padding-top: 6px;
  }
  div.cellara-settings_name {
    font-size: 20px;
  }
  div.search-selections {
    max-width: 96vw;
    width: 96vw;
    transition: var(--transition);
    transform-origin: bottom;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    padding-top: 5px;
    padding-bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
  }
  div.search-selections.no-selections {
    left: 50%;
    transform: translateX(-50%);
  }
  div.search-selections.light {
    position: absolute;
    bottom: 57px;
    transform-origin: bottom;
    flex-direction: column-reverse;
  }
  div.search-selections.dark {
    position: absolute;
    bottom: 57px;
    transform-origin: bottom;
    flex-direction: column-reverse;
  }
  div.search-selections.some {
    transition: var(--transition);
    transform: scaleY(0);
    transform-origin: bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding-right: 5px;
    padding-left: 5px;
    margin: 0px;
    width: 90vw;
    position: relative;
  }
  div.search-selections.some.expanded-results {
    transition: var(--transition);
    transform: scaleY(0);
    transform-origin: bottom;
  }
  div.main-icon {
    margin: 0px;
    height: 35px;
    width: 35px;
    align-self: center;
    justify-self: center;
  }
  div.main-icon-spacer {
    width: 33px;
    margin: 0px;
  }
  div.edit-cell-spacer {
    margin: 0px;
  }
  button.delete-item.open-light {
    margin-top: -110px;
    transform: translateX(-5px);
  }
  button.delete-item.open-dark {
    margin-top: -110px;
    transform: translateX(-5px);
  }
  div.new-link-card {
    bottom: 92px;
  }
  .linked-cell {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 23px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 45px;
    user-select: none;
    margin-right: 2px;
    margin-left: 2px;
  }
  .linked-cell.light {
    font-size: 15px;
  }
  .linked-cell.dark {
    font-size: 15px;
  }
  div.linked-cell-name {
    padding-left: 1px;
    padding-right: 0px;
    font-size: inherit;
    align-self: center;
  }
  button.connected-to-do {
    padding-right: 10px;
    padding-left: 5px;
    border-radius: 23px;
    font-size: 15px;
    min-height: 45px;
    margin: 0px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  div.connected-to-do-shell {
    display: flex;
  }
  .todo-checkbox.todo-checkbox {
    margin-top: 8px;
  }
  div.connected-to-do-shell-short {
    display: flex;
    align-items: center;
    border-radius: 23px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: 0px;
    margin-left: 0px;
  }
  div.connected-to-do-shell-long {
    display: flex;
    align-items: center;
    max-width: none;
    border-radius: 23px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-right: 5px;
    padding-left: 5px;
    margin-left: 0px;
    margin-right: 0px;
  }
  div.connected-to-do-name {
    font-size: 15px;
  }
  .connected-file-background {
    margin: 2px;
  }
  div.linked-cell-display.rest {
    max-width: none;
    display: flex;
    justify-content: flex-start;
  }
  div.linked-cell-display.left {
    justify-content: flex-start;
    width: fit-content;
    align-items: center;
  }
  button.channel {
    font-size: 24px;
    margin-top: 8px;
  }
  button.channel.light {
    height: 70px;
    width: 70px;
  }
  button.channel.light.new-share-channel {
    box-shadow: 0px 0px 5px 2px var(--cellara-green);
  }
  button.channel.dark {
    height: 70px;
    width: 70px;
  }
  button.channel.dark.new-share-channel {
    box-shadow: 0px 0px 5px 2px var(--cellara-green);
  }
  button.channel.light:hover {
    transform: none;
  }
  button.channel.dark:hover {
    transform: none;
  }
  div.channels-container.hidden {
    height: 0px;
    width: 0px;
  }
  div.mobile-channels-container {
    position: fixed;
    z-index: 50;
    transform-origin: bottom;
    bottom: 9px;
    right: 1px;
  }
  div.mobile-channels-container.open {
    transition: var(--transition);
    transform: scale(1, 1);
    height: 300px;
  }
  div.mobile-channels-container.hide {
    transition: var(--transition);
    transform: scale(0.1, 0.1);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
  }
  div.mobile-channels {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
    position: fixed;
    right: 10px;
    bottom: 90px;
    border-top-right-radius: 45px;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 10px;
  }
  div.mobile-channels.light {
    background-color: var(--card-background-light-mode);
    border-color: var(--card-border-light-mode);
    border-style: solid;
    border-width: 1px;
  }
  div.mobile-channels.dark {
    background-color: var(--card-background-dark-mode);
    border-color: var(--card-border-dark-mode);
    border-style: solid;
    border-width: 1px;
  }
  .mobile-channels-button {
    height: 62px;
    width: 62px;
    color: var(--cellara-black);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    user-select: none;
    cursor: pointer;
    margin: 2px;
    transition: var(--transition);
  }
  .mobile-channels-button.light {
    background-image: var(--light-mode-channel-button);
    border-width: 1px;
    border-radius: 50%;
    border-style: solid;
    border-color: var(--light-mode-border);
    font-size: 20px;
    color: var(--button-text-light-mode);
  }
  .mobile-channels-button.light.new-share-channel {
    box-shadow: 0px 0px 5px 2px var(--cellara-green);
  }
  .mobile-channels-button.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
    border-width: 1px;
    border-style: solid;
    border-color: black;
    color: white;
  }
  .mobile-channels-button.dark.new-share-channel {
    box-shadow: 0px 0px 5px 2px var(--cellara-green);
  }
  .mobile-channels-button.hide {
    width: 0px;
    opacity: 0;
    transform: scale(0);
    font-size: 1px;
  }
  .mobile-channels-button.light:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 2px #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  }
  .mobile-channels-button.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 10px #1a1a1a;
    background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
  }
  img.mobile-channels-icon {
    height: 30px;
    width: 30px;
    pointer-events: none;
  }
  div.mobile-channels-row {
    display: flex;
    justify-content: flex-end;
    border-radius: 10px;
    padding-top: 20px;
    padding: 5px;
  }
  div.channel {
    width: 70px;
    display: flex;
    justify-content: center;
    margin: 5px;
    margin-top: 0px;
    flex-wrap: wrap;
    margin-right: 8px;
    margin-left: 8px;
  }
  div.channel.light:hover {
    transform: none;
  }
  div.channel.dark:hover {
    transform: none;
  }
  div.channel.hide {
    transition: var(--transition);
    transform: scale(0.1, 0.1);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
  }
  div.channel.title {
    padding-bottom: 0px;
  }
  div.channel-name {
    font-size: 18px;
  }
  div.back-button {
    color: var(--cellara-black);
    height: 62px;
    width: 62px;
    font-size: 27px;
    border-radius: 50%;
    transition: var(--transition);
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 5px;
    margin: 2px;
  }
  div.back-button.light {
    background-image: var(--light-mode-channel-button);
    border-width: 1px;
    border-style: solid;
    border-color: var(--light-mode-border);
    color: var(--button-text-light-mode);
    transition: var(--transition);
  }
  div.back-button.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
    color: var(--button-text-dark-mode);
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  div.back-button.hide {
    width: 0px;
    opacity: 0;
    transform: scale(0);
    font-size: 1px;
  }
  div.back-button.light:active {
    border-width: 0px;
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 2px #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  }
  div.back-button.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 10px #1a1a1a;
    background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
  }
  div.forward-button {
    height: 62px;
    width: 62px;
    color: var(--cellara-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 50%;
    font-size: 27px;
    transition: var(--transition);
    user-select: none;
    cursor: pointer;
    margin: 2px;
  }
  div.forward-button.full-chat {
    scale: 0;
    margin: 0px;
    width: 0px;
  }
  div.forward-button.light {
    background-image: var(--light-mode-channel-button);
    border-width: 1px;
    border-style: solid;
    border-color: var(--light-mode-border);
    color: var(--button-text-light-mode);
  }
  div.forward-button.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
    color: var(--button-text-dark-mode);
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  div.forward-button.invisible-placeholder {
    opacity: 0;
    transition: var(--transition);
  }
  div.forward-button.hide {
    width: 0px;
    opacity: 0;
    transform: scale(0);
    font-size: 1px;
  }
  div.forward-button.light:active {
    border-width: 0px;
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 2px #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  }
  div.forward-button.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 10px #1a1a1a;
    background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
  }
  div.forward-button2 {
    height: 62px;
    width: 62px;
    color: var(--cellara-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 50%;
    font-size: 27px;
    transition: var(--transition);
    user-select: none;
    cursor: pointer;
  }
  div.forward-button2.light {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
    border-width: 1px;
    border-radius: 50%;
    border-style: solid;
    border-color: #dde3ed;
    box-shadow: 1px 1px 4px 0px #dde3ed;
    color: var(--button-text-light-mode);
  }
  div.forward-button2.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
    color: var(--button-text-dark-mode);
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  div.forward-button2.hide {
    right: -10000px;
    transform: scale(0);
    transition: var(--transition);
  }
  div.forward-button2.light:active {
    border-width: 0px;
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 2px #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  }
  div.forward-button2.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 10px #1a1a1a;
    background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
  }
  div.search-launch-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 62px;
    width: 62px;
    right: 75px;
    bottom: 20px;
    z-index: 100;
    border-radius: 50%;
    font-size: 27px;
    transition: var(--transition);
    user-select: none;
    cursor: pointer;
  }
  div.search-launch-button.light {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
    border-width: 1px;
    border-radius: 50%;
    border-style: solid;
    border-color: #dde3ed;
    box-shadow: 1px 1px 4px 0px #dde3ed;
    color: var(--button-text-light-mode);
  }
  div.search-launch-button.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
    color: var(--button-text-dark-mode);
    border-width: 1px;
    border-style: solid;
    border-color: black;
  }
  div.search-launch-button.hide {
    right: -10000px;
    transform: scale(0);
    transition: var(--transition);
  }
  div.search-launch-button.light:active {
    border-width: 0px;
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 2px #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  }
  div.search-launch-button.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 10px #1a1a1a;
    background-image: linear-gradient(#1e1e1f 0%, #373739 80%);
  }
  div.cell-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    height: unset;
    padding-bottom: 120px;
    min-height: 80vh;
  }
  div.cell-grid.surf {
    min-height: 80vh;
  }
  div.cell-grid-header {
    height: fit-content;
    width: 100%;
    display: flex;
    margin-top: 5px;
    margin-left: 5px;
    grid-column: unset;
  }
  button.show-parents {
    height: 45px;
    width: 60px;
    border-width: 1px;
    border-style: solid;
    border-radius: 23px;
    margin: 5px;
    font-size: 40px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 4px;
    border-style: solid;
    border-width: 1px;
  }
  button.show-parents.light {
    color: var(--button-text-light-mode);
    background-color: var(--card-background-light-mode);
    border-color: var(--light-mode-border);
  }
  button.show-parents.dark {
    color: white;
    background-color: var(--card-background-dark-mode);
    border-color: var(--card-border-dark-mode);
  }
  div.linked-cell {
    transition: var(--transition);
  }
  div.linked-cell.add {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-right: 9px;
    padding-left: 2px;
    margin: 8px;
    margin-top: 10px;
    margin-left: 9px;
    margin-right: 9px;
    opacity: 0;
    font-weight: lighter;
  }
  div.linked-cell.light:hover {
    border-color: var(--light-mode-border);
    transform: none;
    box-shadow: none;
  }
  div.linked-cell.dark:hover {
    border-color: var(--dark-mode-border);
    transform: none;
    box-shadow: none;
  }
  div.linked-cell.light.add {
    color: #d8e2f0;
  }
  div.linked-cell.dark.add {
    color: #515157;
  }
  div.linked-cell.add.to-do {
    margin-left: 11px;
    margin-right: 11px;
  }
  div.linked-cell.light.listee:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--light-mode-bg-darkest-transparent);
  }
  div.linked-cell.dark.listee:hover {
    transform: none;
    border-color: var(--dark-mode-bg-dark);
    box-shadow: none;
  }
  div.parent-container {
    height: auto;
    order: 0;
    position: relative;
    top: auto;
    align-self: flex-start;
    justify-self: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0px;
    border-radius: 25px;
    margin: 0 0 4px;
    border-style: solid;
    border-width: 1px;
    padding-bottom: 0;
  }
  div.parent-container.light {
    background-color: transparent;
    border-color: transparent;
  }
  div.parent-container.dark {
    background-color: transparent;
    border-color: transparent;
  }
  div.parent-container:not(:has(button.linked-cell)) {
    display: none;
  }
  div.parent-cells {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px 6px;
    margin: 0;
    padding: 0 8px 4px;
    height: auto;
    width: 100%;
  }
  div.parent-cells.large {
    height: 0px;
    transform: scale(0);
  }
  div.main-container {
    height: auto;
    order: 1;
    width: 100%;
    align-items: flex-start;
  }
  div.main-cell {
    order: 1;
    height: auto;
    padding-bottom: 0px;
  }
  div.child-container {
    order: 3;
    height: auto;
    width: 100%;
    padding: 5px;
  }
  div.main-cell-container {
    max-width: 100%;
  }
  div.main-cell-container.small {
    width: fit-content;
    margin-top: 15px;
    margin-bottom: 10px;
    margin-right: 3px;
    margin-left: 3px;
  }
  div.main-cell-container.medium {
    width: 100%;
    margin-right: 3px;
    margin-left: 3px;
    margin-top: 5px;
    margin-bottom: 10px;
    max-width: none;
  }
  div.main-cell-container.large {
    margin: 3px;
    width: 100%;
  }
  div.main-cell-top {
    width: 100%;
  }
  .main-blob-card {
    max-width: 100%;
    padding: 15px 10px;
  }
  .main-blob-card .listee-row,
  .main-blob-card .membership-row {
    width: 100%;
  }
  .main-blob-card .listee-row > button.linked-cell,
  .main-blob-card .membership-row > button.linked-cell {
    width: 100%;
  }
  div.main-cell-card {
    max-width: 100%;
    width: 100%;
    margin-top: 0px;
    border-radius: 15px;
    margin-right: 0px;
    margin-left: 0px;
  }
  div.main-cell-card.add {
    scale: 0.9;
    opacity: 0;
  }
  div.main-cell-card.hide {
    grid-template-columns: 0px auto 0px;
  }
  div.main-cell-card.person-chat-active {
    padding: 0;
    overflow: visible;
    border-radius: 24px;
  }
  div.main-cell-card.person-chat-active .main-blob-card {
    padding: 0;
    max-width: none;
  }
  div.main-cell-card.person-chat-active div.main-cell-top.person-header {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 5px;
    padding: 8px 12px 6px;
    border-radius: 24px 24px 0 0;
  }
  div.main-cell-card.person-chat-active > .main-blob,
  div.main-cell-card.person-chat-active .main-blob-card,
  div.main-cell-card.person-chat-active .main-cell-card.body.blob-content {
    border-radius: inherit;
  }
  div.main-cell-left-buttons {
    margin-top: 8px;
    margin-left: 6px;
    margin-bottom: 0px;
  }
  div.main-cell-right-buttons {
    margin-top: 8px;
    margin-bottom: 0px;
    margin-right: 4px;
  }
  div.main-cell-name-container {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 45px;
  }
  div.main-cell-name-container.hide {
    padding: 0px;
    opacity: 0;
  }
  div.main-icon-chat {
    margin-left: -8px;
  }
  div.main-cell-contents {
    display: block;
    margin-bottom: 0px;
    transition: var(--transition);
    width: 100%;
  }
  div.main-cell-contents.simple-cell {
    display: block;
    margin-bottom: 0px;
  }
  div.main-cell-card.header {
    display: flex;
    justify-content: center;
    height: fit-content;
  }
  button.cell-size {
    height: 42px;
    width: 42px;
    margin: 0px;
  }
  div.edit-cell-button {
    display: flex;
    justify-content: center;
  }
  div.cell-name-container {
    height: unset;
  }
  div.cell-name-container.full-chat {
    scale: 0;
  }
  div.cell-name-container.hide {
    position: fixed;
    bottom: 0px;
    left: 44px;
    pointer-events: all;
    width: 65px;
    height: 80px;
    transform: translateX(-50%);
  }
  div.item-name {
    min-width: 50px;
    display: flex;
    justify-content: center;
    height: 100%;
    font-weight: normal;
    font-size: 18px;
    border-width: 0px;
    border-radius: 5px;
    margin: 0px;
  }
  div.main-cell-card.body {
    height: 100%;
    margin: 0px;
  }
  div.main-cell-card.body.small {
    transform: scale(0);
    height: 0px;
  }
  div.main-cell-optional-fields {
    width: 100%;
    margin-top: 0px;
    display: flex;
    justify-content: center;
  }
  div.editable-link {
    display: flex;
    align-items: center;
    min-width: 0px;
    margin: 0px;
  }
  div.linked-cell {
    margin-top: 2px;
    margin-bottom: 3px;
    margin-right: 2px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  div.linked-cell.light:hover {
    transform: scale(1);
    box-shadow: unset;
  }
  div.linked-cell.light:active {
    transform: scale(1);
  }
  div.linked-cell.dark:hover {
    transform: scale(1);
    box-shadow: unset;
  }
  div.linked-cell.dark:active {
    transform: scale(1);
  }
  div.linked-cells {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.5em;
  }
  div.linked-cells-section.left {
    display: flex;
    justify-content: center;
  }
  div.linked-cells-section.rest {
    display: flex;
    justify-content: center;
  }
  div.linked-cells-group {
    display: initial;
    padding: 0px;
    margin: 0px;
    width: auto;
  }
  div.linked-cells-group.mobile-leaders {
    display: flex;
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
  }
  div.linked-cells-group.mobile {
    display: flex;
    width: auto;
  }
  div.parent-cells div.flow-quadrant,
  div.parent-cells div.sub-quadrant.mobile,
  div.parent-cells div.linked-cells-group.mobile-leaders,
  div.parent-cells div.linked-cells-section.mobile-leaders,
  div.parent-cells div.linked-cell-display.mobile-leaders {
    width: auto;
    max-width: 100%;
  }
  div.parent-cells div.linked-cell-display.mobile-leaders {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px 6px;
  }
  div.parent-cells div.linked-cells-connection {
    display: none;
  }
  div.linked-cells-connection.left {
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
  }
  div.linked-cells-connection.right {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
    width: fit-content;
  }
  div.linked-cells-connection.rest {
    width: fit-content;
  }
  button.link-button {
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    min-width: 80px;
    font-size: 14px;
    justify-content: center;
  }
  div.capp-container {
    display: flex;
    justify-content: center;
  }
  div.cellara-settings-container {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
  }
  div.cellara-settings_logged-in-mode_card {
    position: unset;
  }
  div.add-cell-card {
    display: grid;
    grid-template-rows: auto 55px;
    width: 0;
  }
  div.add-cell-card.open {
    width: 100%;
  }
  div.add-cell-container2 {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  div.add-cell-container2.add {
    align-items: flex-start;
  }
  div.fast-mobile-add-cell-container {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  div.mobile-add-cell-container {
    position: absolute;
    height: 100%;
    width: 100%;
    min-height: 0px;
    transition: var(--transition);
    border-color: transparent;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: 2px;
    margin-right: 2px;
    user-select: none;
  }
  div.mobile-add-cell-container.light {
    width: 100%;
    height: auto;
    min-height: 283px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-color: var(--light-mode-border);
    background-color: var(--light-mode-bg-darkest);
  }
  div.mobile-add-cell-container.dark {
    width: 100%;
    height: auto;
    min-height: 283px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--dark-mode-bg-dark);
    border-color: var(--dark-mode-border);
  }
  div.mobile-add-cell-container.add {
    width: 100%;
    height: auto;
    min-height: 283px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
  }
  div.fast-mobile-add-cell-inside {
    transition: var(--transition);
    display: grid;
    grid-template-rows: auto 55px;
  }
  div.fast-mobile-add-cell-inside.hide {
    height: 0px;
  }
  div.fast-mobile-add-cell-header {
    font-size: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    transition: var(--transition);
    margin-bottom: 5px;
  }
  div.fast-mobile-add-cell-header.hide {
    margin: 0px;
    height: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
    transition: var(--transition);
  }
  div.fast-mobile-add-cell-header-content {
    padding: 10px;
    pointer-events: none;
    user-select: none;
    font-size: 18px;
    width: 100%;
    text-align: center;
  }
  div.fast-mobile-add-cell-header-content.light {
    color: var(--light-mode-text-muted);
  }
  div.fast-mobile-add-cell-header-content.dark {
    color: var(--dark-mode-text-placeholder);
  }
  div.fast-mobile-add-cell-header-content.hide {
    color: transparent;
  }
  div.fast-mobile-add-cell-header-spacer {
    width: 64px;
  }
  div.add-cell-optional-fields {
    transition: var(--transition);
    margin-bottom: 3px;
  }
  div.add-cell-optional-fields.hide {
    height: 0px;
    width: 0px;
    transform: scale(0);
    opacity: 0;
  }
  div.mobile-add-cell-contents-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
  }
  div.mobile-add-cell-contents {
    height: 100%;
    width: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    height: auto;
    min-height: 260px;
  }
  div.mobile-add-cell-contents.light {
    border-color: var(--light-mode-border);
    background-color: var(--light-mode-bg-light);
    box-shadow: var(--light-mode-box-shadow);
  }
  div.mobile-add-cell-contents.dark {
    border-color: var(--dark-mode-border);
    background-color: var(--dark-mode-bg-light);
  }
  div.mobile-add-cell-contents.simple-cell {
    display: grid;
    height: 100%;
  }
  div.mobile-add-cell-contents.memory {
    min-height: 200px;
  }
  div.mobile-add-cell-contents.hide {
    width: 100%;
    height: 0px;
    border-radius: 50%;
    background-color: transparent;
    border-width: 0px;
    border-color: transparent;
    min-height: initial;
  }
  div.mobile-add-cell-list-container {
    width: 100%;
    text-align: center;
  }
  div.mobile-add-cell-header {
    width: 100%;
    min-height: 50px;
    display: flex;
    grid-template-columns: 50px auto 50px;
  }
  div.add-cell-name-span {
    width: 100%;
    font-size: 18px;
    border-radius: 12px;
    text-align: center;
    border-width: 1px;
    border-color: transparent;
    border-style: solid;
    margin-top: 8px;
    margin-right: 4px;
    margin-left: 4px;
    margin-bottom: 4px;
    display: grid;
    transition: var(--transition);
  }
  div.add-cell-name-span.light:hover {
    border-width: 1px;
    border-style: solid;
    border-color: var(--light-mode-bg-dark-transparent);
    background-color: var(--light-mode-bg-highlight);
  }
  div.add-cell-name-span.light:active {
    border-width: 1px;
    border-style: solid;
    border-color: var(--light-mode-bg-dark-transparent);
    background-color: var(--light-mode-bg-highlight);
  }
  div.add-cell-name-span.dark:hover {
    border-width: 1px;
    border-style: solid;
    border-color: var(--dark-mode-bg-dark-transparent);
    background-color: var(--dark-mode-bg-highlight);
  }
  div.add-cell-name-span.dark:active {
    border-width: 1px;
    border-style: solid;
    border-color: var(--dark-mode-bg-dark-transparent);
    background-color: var(--dark-mode-bg-highlight);
  }
  div.add-name-spacer {
    width: 40px;
    height: 10px;
    display: inline-block;
    margin-right: 8px;
  }
  div.add-name-spacer.hide {
    width: 0px;
    height: 0px;
  }
  div.cell-body.hide {
    scale: 0;
  }
  div.cell-body.add {
    height: 100%;
  }
  input.fast-add-cell-body-name.button-light {
    background-image: none;
    background-color: transparent;
    border-width: 0px;
    border-radius: 50%;
    box-shadow: none;
    height: 62px;
    width: 62px;
    display: flex;
    align-items: center;
    text-indent: 1000px;
    font-size: 1px;
    cursor: pointer;
  }
  div.mobile-add-cell-body {
    margin: 8px;
    margin-top: 0px;
    margin-bottom: 9px;
    display: grid;
    min-height: 200px;
  }
  div.mobile-add-cell-body.event, div.mobile-add-cell-body.memory {
    min-height: 160px;
  }
  div.mobile-add-cell-body.hide {
    transform: scale(0);
  }
  div.mobile-add-cell-body-container {
    height: 100%;
    min-height: 200px;
    display: grid;
  }
  div.mobile-add-cell-body-container.optional-fields {
    display: grid;
    grid-template-rows: 40px auto;
  }
  div.mobile-add-cell-body-container.hide {
    height: 0px;
    width: 0px;
    min-height: 0px;
    grid-template-rows: 1px 1px;
  }
  div.fast-mobile-add-cell-body-container {
    width: 100%;
    flex-grow: 1;
    transition: var(--transition);
    border-color: transparent;
    border-radius: 12px;
    border-width: 1px;
    color: var(--dark-mode-text-body);
    border-style: solid;
    background-color: transparent;
  }
  div.fast-mobile-add-cell-body-container.light {
    color: var(--light-mode-text-body);
  }
  div.fast-mobile-add-cell-body-container.hide {
    width: 0px;
    height: 0px;
    color: transparent;
  }
  div.add-cell-card-body-editor {
    padding: 0px;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    margin-top: 0px;
    display: grid;
    height: unset;
  }
  div.fast-add-cell-body.hide {
    margin: 0px;
    height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  .event-date-picker {
    width: 100%;
    height: 40px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 3px;
  }
  .event-date-picker.light {
    background-color: transparent;
  }
  .event-date-picker.dark {
    background-color: transparent;
  }
  .ant-calendar-picker {
    width: 100%;
    margin-top: 3px;
  }
  div.fast-add-cell-footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    bottom: 0px;
  }
  div.fast-add-cell-footer-container.hide {
    margin: 0px;
    height: 0px;
  }
  div.mobile-add-cell-footer {
    display: flex;
    width: 100%;
    align-items: center;
    transition: var(--transition);
    justify-self: center;
    justify-content: center;
    height: 50px;
    margin-top: 5px;
    position: relative;
    bottom: 0px;
  }
  div.mobile-add-cell-footer.hide {
    margin: 0px;
    height: 0px;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.add-cell-container-mobile {
    bottom: 10px;
    left: 50%;
    margin: 0px;
    border-radius: 10px;
    display: flex;
    width: 100%;
  }
  div.add-cell-container-mobile.add-cell-button-light {
    width: 0px;
    height: 0px;
  }
  div.add-cell-container-mobile.add-cell-button-dark {
    width: 0px;
    height: 0px;
  }
  div.add-cell-contents {
    padding-right: 0px;
  }
  input.add-cell-card.name {
    padding-right: 10px;
    padding-left: 10px;
    background-color: transparent;
    padding-top: 5px;
    transform: none;
  }
  span.name-ghost-sizer2 {
    min-width: 30px;
    transition: var(--transition);
    text-align: center;
    display: block;
    user-select: all;
    background-color: #0b2e13;
  }
  span.name-ghost-sizer2.add-cell-button-light {
    position: absolute;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    cursor: pointer;
    border-color: transparent;
    border-width: 0px;
    resize: none;
    bottom: 5px;
  }
  span.name-ghost-sizer2.add-cell-button-dark {
    position: absolute;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    cursor: pointer;
    border-color: transparent;
    border-width: 0px;
    resize: none;
    bottom: 5px;
  }
  span.name-ghost-sizer2.light {
    width: 100%;
    padding: 6px;
  }
  span.name-ghost-sizer2.dark {
    width: 100%;
    color: white;
    padding: 6px;
  }
  span.name-ghost-sizer {
    min-width: 30px;
    transition: var(--transition);
    text-align: center;
    display: block;
    user-select: all;
  }
  span.name-ghost-sizer.add-cell-button-light {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    cursor: pointer;
    border-color: transparent;
    border-width: 0px;
    resize: none;
    bottom: 5px;
  }
  span.name-ghost-sizer.add-cell-button-dark {
    height: 75px;
    width: 75px;
    border-radius: 50%;
    cursor: pointer;
    border-color: transparent;
    border-width: 0px;
    resize: none;
    bottom: 5px;
    margin-top: -13px;
  }
  span.name-ghost-sizer.light {
    width: 100%;
    padding: 6px;
  }
  span.name-ghost-sizer.dark {
    width: 100%;
    color: white;
    padding: 6px;
  }
  div.fast-add-cell-name-placeholder {
    position: absolute;
    /* left: 15px; */
    padding: 8px;
    pointer-events: none;
    transition: var(--transition);
    font-size: 18px;
    padding-left: 10px;
    width: 100%;
    text-align: center;
    margin-top: 7px;
  }
  div.fast-add-cell-name-placeholder.light {
    color: var(--light-mode-text-placeholder);
  }
  div.fast-add-cell-name-placeholder.dark {
    color: var(--dark-mode-text-placeholder);
  }
  div.fast-add-cell-name-placeholder.hide {
    width: 0px;
    height: 0px;
    left: 60%;
    color: transparent;
  }
  div.fast-add-cell-body-placeholder {
    position: absolute;
    padding: 8px;
    padding-left: 2px;
    pointer-events: none;
    transition: var(--transition);
    font-size: 14px;
    margin-top: 2px;
    margin-left: 10px;
  }
  div.fast-add-cell-body-placeholder.light {
    color: var(--light-mode-text-placeholder);
  }
  div.fast-add-cell-body-placeholder.dark {
    color: var(--dark-mode-text-placeholder);
  }
  div.fast-add-cell-body-placeholder.hide {
    width: 0px;
    height: 0px;
    left: 60%;
    color: transparent;
  }
  span.body-ghost-sizer {
    min-width: 30px;
    transition: var(--transition);
    display: block;
  }
  span.body-ghost-sizer.light {
    width: 100%;
    padding-left: 2px;
    height: fit-content;
    color: var(--light-mode-text-body);
    min-height: inherit;
  }
  span.body-ghost-sizer.dark {
    width: 100%;
    padding-left: 2px;
    height: fit-content;
    color: var(--dark-mode-text-body);
    min-height: inherit;
  }
  span.body-ghost-sizer.hide {
    height: 0px;
    width: 0px;
  }
  #new-cell-name.add-cell-card.name {
    transition: var(--transition);
    border-color: var(--light-mode-border);
    resize: none;
    border-radius: 10px;
    background-color: transparent;
    height: 100%;
    position: absolute;
  }
  #new-cell-name.add-cell-card.name.add-cell-button-light {
    position: absolute;
    margin-top: 8px;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    cursor: pointer;
    border-color: transparent;
    border-width: 0px;
    resize: none;
  }
  #new-cell-name.add-cell-card.name.add-cell-button-dark {
    position: absolute;
    margin-top: 8px;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    cursor: pointer;
    resize: none;
  }
  #new-cell-name.add-cell-card.name.some-light {
    width: 100%;
  }
  #new-cell-name.add-cell-card.name.some-dark {
    width: 100%;
    background-color: var(--cellara-black);
    color: white;
  }
  .calendar-grid-monthly {
    padding-top: 5px;
  }
  .calendar-grid-cell.date-picker {
    height: 40px;
    width: 100%;
    min-height: initial;
    min-width: initial;
    cursor: pointer;
  }
  .calendar-grid-cell.hide {
    margin: 0px;
    height: 0px;
    min-height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    font-size: 1px;
  }
  #add-cell-meaning {
    width: 100%;
    border-width: 1px;
    border-radius: 10px;
    transition: var(--transition);
    resize: none;
  }
  #add-cell-meaning.light {
    border-color: var(--light-mode-border);
    min-height: 120px;
  }
  #add-cell-meaning.dark {
    border-color: var(--dark-mode-border);
    min-height: 120px;
  }
  #add-cell-meaning.hide {
    margin: 0px;
    height: 0px;
    min-height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.add-cell-container3 {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
    margin: 0px;
    border-radius: 10px;
    display: flex;
  }
  div.add-cell-container3.add-cell-button-light {
    width: 50px;
    height: 50px;
  }
  div.add-cell-container3.add-cell-button-dark {
    width: 50px;
    height: 50px;
  }
  div.add-cell-container3.closed {
    width: 0px;
    height: 0px;
    transition: var(--transition);
    opacity: 0;
  }
  div.add-cell-container3.some-light {
    width: 100%;
    left: 50%;
    transition: var(--transition);
  }
  div.add-cell-container3.some-dark {
    width: 100%;
    left: 50%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: var(--transition);
  }
  div.add-cell-card.medium {
    position: absolute;
    bottom: 0px;
    margin: 0;
    padding: 0;
    margin-left: 4px;
    margin-right: 4px;
    padding-top: 5px;
    height: 40vh;
    width: 100%;
    min-width: inherit;
    max-width: none;
    min-height: inherit;
    max-height: none;
  }
  div.add-cell-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 15px;
  }
  /*
   div.add-cell-card.medium.keyboard-open {

         // height: 55vh;
          // width: 100%;
      }
  */
  div.add-cell-inside {
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    padding: 5px;
    row-gap: 3px;
    transition: var(--transition);
  }
  div.add-cell-inside.hide {
    grid-template-rows: auto 0px;
    padding: 0px;
    margin: 0px;
    width: 65px;
    display: block;
  }
  div.add-cell-card-cell-type-icon {
    margin-top: 5px;
    margin-left: 45px;
  }
  div.add-cell-card-right-spacer {
    width: 0px;
  }
  div.add-cell-card.background.background {
    padding-top: 0px;
    padding-right: 5px;
    padding-left: 5px;
    grid-template-rows: 0px auto 30px;
    height: 100%;
  }
  div.add-cell-above-card {
    height: fit-content;
  }
  div.add-cell-body {
    display: flex;
    width: 100%;
    padding: 0px;
    transition: var(--transition);
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
  }
  div.add-cell-body.some-dark {
    padding-bottom: 5px;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    background-color: rgba(30, 30, 31, 0.88);
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
  }
  div.add-cell-body.some-light {
    padding-bottom: 5px;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    background-color: rgba(245, 246, 252, 0.92);
  }
  div.add-cell-body.none-dark {
    color: white;
  }
  button.cancel {
    border-radius: 5px;
    margin: 10px;
    margin-right: 5px;
    margin-left: 5px;
    width: 90px;
    transition: var(--transition);
    z-index: 0;
  }
  button.cancel.light {
    z-index: initial;
  }
  button.cancel.dark {
    z-index: initial;
  }
  div.connect-to {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    margin-top: 0px;
    z-index: 80;
    font-size: 14px;
  }
  div.connect-to.none-light {
    opacity: 0;
  }
  div.connect-to.none-dark {
    opacity: 0;
  }
  div.connect-to.some-dark {
    color: #bdd4f2;
    opacity: 1;
  }
  div.connect-to.some-light {
    color: var(--connection-text-light-mode);
    opacity: 1;
  }
  div.connect-to-checkbox {
    margin-right: 20px;
  }
  button.connect {
    height: 40px;
    width: 90px;
    user-select: none;
    transition: var(--transition);
  }
  button.connect.light {
    color: white;
  }
  button.connect.dark {
    border-color: black;
    color: white;
  }
  div.add-cell-card.header {
    height: 38px;
  }
  div.add-cell-card.body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
  }
  div.add-cell-card.body.some-light {
    border-color: var(--light-mode-border);
  }
  div.add-cell-card.body.some-dark {
    border-color: var(--dark-mode-border);
  }
  div.add-cell-card-right-column {
    width: 5px;
  }
  div.add-cell-card.footer {
    display: flex;
    width: 100%;
    align-items: center;
    transition: var(--transition);
    justify-self: center;
    justify-content: center;
    height: 45px;
    padding-bottom: 0px;
    position: relative;
    bottom: 0px;
  }
  div.add-cell-card.footer.hide {
    margin: 0px;
    height: 0px;
    width: 65px;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.add-cell-card.footer.hide-light {
    margin: 0px;
    height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.add-cell-card.footer.hide-dark {
    margin: 0px;
    height: 0px;
    width: 0px;
    opacity: 0;
    transform: scale(0);
    background-image: none;
    font-size: 1px;
  }
  div.add-cell-card-mobile.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 5px;
    margin-right: 5px;
  }
  button.save {
    width: 90px;
    transition: var(--transition);
  }
  button.save.light {
    z-index: initial;
  }
  button.save.dark {
    z-index: initial;
  }
  button.save.some {
    bottom: 10px;
    right: 10px;
    height: 40px;
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    margin: 10px;
    margin-right: 5px;
    margin-left: 5px;
  }
  button.edit-cell-type-selector.hide {
    transform: scale(0);
  }
  div.edit-cell-type-selector {
    padding-left: 0px;
  }
  div.edit-cell-type-selector.hide {
    transform: scale(0);
  }
  div.edit-cell-type-selections {
    width: calc(100% - 20px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  div.edit-cell-type-selections.open-light {
    margin-top: 0px;
    left: 10px;
  }
  div.edit-cell-type-selections.open-dark {
    margin-top: 0px;
    left: 10px;
  }
  button.mobile-add-cell-type-selector {
    width: 42px;
    border-radius: 12px;
    margin-top: 8px;
    margin-left: 8px;
    margin-bottom: 4px;
  }
  button.mobile-add-cell-type-selector.light {
    border-color: var(--light-mode-bg-darkest-transparent);
  }
  button.mobile-add-cell-type-selector.dark {
    border-color: var(--dark-mode-bg-darkest-transparent);
  }
  div.cell-type-select-name {
    font-size: 14px;
  }
  div.mobile-cell-type-selector-container {
    width: 100%;
    display: flex;
  }
  div.mobile-cell-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    margin: 5px;
    margin-top: 0px;
  }
  div.mobile-cell-type-selector-left {
    padding: 5px;
  }
  div.mobile-cell-type-selector-right {
    padding: 5px;
  }
  /*
      div.mobile-add-cell-type-selector {
              padding-top: 10px;
              margin-top: -5px;
              margin-right: 5px;
              width: 70px;
              height: 55px;
              background-color: white;
              display: flex;
              justify-content: center;
              align-items: flex-start;
              box-shadow: 0px 0px 6px 2px var(--cellara-green);
              border-bottom-left-radius: 10px;
              border-bottom-right-radius: 10px;
      }
      */
  div.mobile-add-cell-name-and-icon {
    display: flex;
    flex-wrap: nowrap;
  }
  div.cell-type-name {
    padding-left: 5px;
  }
  button.mobile-cell-type-selector {
    height: 40px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    user-select: none;
  }
  button.mobile-cell-type-selector.light {
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-image: linear-gradient(315deg, #dde3ed 0%, #fafdff 80%);
    border-color: #dde3ed;
    background-color: white;
  }
  button.mobile-cell-type-selector.dark {
    color: var(--button-text-dark-mode);
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-image: var(--button-background-dark-mode);
    border-color: var(--button-border-dark-mode);
  }
  div.mobile-cell-type-selections {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    position: fixed;
    z-index: 77;
    user-select: none;
    width: calc(100% - 6px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    margin-top: -1px;
    margin-left: -1px;
    /* margin-right: 2px; */
    transition: var(--transition);
  }
  div.mobile-cell-type-selections.closed-light {
    transform-origin: 0 0;
    transform: scale(0);
    font-size: 0px;
    border-width: 0px;
    opacity: 0;
    background-color: var(--light-mode-bg-light);
    left: -20px;
  }
  div.mobile-cell-type-selections.closed-dark {
    transform-origin: 0 0;
    transform: scale(0);
    font-size: 0px;
    border-width: 0px;
    opacity: 0;
    background-color: var(--dark-mode-bg-light);
    left: -20px;
  }
  div.mobile-cell-type-selections.open-light {
    color: var(--light-mode-text-muted);
    border-color: var(--light-mode-border);
    background-color: var(--light-mode-bg-mid);
    padding-bottom: 7px;
  }
  div.mobile-cell-type-selections.open-dark {
    color: var(--dark-mode-text-muted);
    border-color: var(--dark-mode-border);
    background-color: var(--dark-mode-bg-light);
    padding-bottom: 7px;
  }
  div.mini-card-title {
    padding-left: 10px;
    font-size: 16px;
  }
  div.mobile-cell-type-selections-body {
    display: flex;
    margin-left: 31px;
    transition: var(--transition);
  }
  div.mobile-cell-type-selections-body.hide {
    opacity: 0;
    transform: scale(0);
    width: 0px;
    background-color: transparent;
  }
  div.cell-type-select.active {
    position: initial;
  }
  div.cell-type-select.active-light {
    border-radius: 5px;
    width: 135px;
    height: 35px;
  }
  div.cell-type-select.active-dark {
    border-radius: 5px;
    width: 135px;
    height: 35px;
  }
  div.cell-type-select.inactive {
    width: 135px;
    height: 35px;
  }
  div.choose-cell-type-header {
    font-size: 18px;
    font-weight: normal;
    margin: 10px;
    padding-bottom: 5px;
    /* padding-left: 5px; */
    margin-bottom: 0px;
    margin-left: 5px;
    margin-top: 6px;
    width: 100%;
  }
  div.choose-cell-type-header.hide {
    opacity: 0;
    transform: scale(0);
    width: 0px;
    background-color: transparent;
    color: transparent;
  }
  .fast-mobile-add-cell-name-container + .name-ghost-sizer::before {
    content: "";
    display: inline-block;
    width: 10px; /* same as .square-icon width */
    height: 1px;
  }
  div.listee-rows-row {
    margin: -3px;
  }
  div.listee-rows {
    padding-bottom: 5px;
  }
  div.cellara-event-time-picker-input {
    width: 100%;
  }
  div.cellara-event-date-picker-calendar-container {
    width: 100%;
    margin-top: 0px;
    top: 2px;
  }
  div.cellara-event-date-picker-calendar-container.open-add-cell {
    top: 2px;
  }
  div.cellara-event-date-picker-calendar {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  div.cellara-event-date-picker-calendar.hide {
    margin-top: 0px;
    margin-left: 0px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  div.calendar {
    display: block;
    transition: var(--transition-in);
  }
  div.calendar.add {
    scale: 0.8;
    opacity: 0;
  }
  div.calendar-card {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    margin-bottom: 125px;
    margin-top: 80px;
    min-width: auto;
    margin-right: 0px;
    margin-left: 0px;
    padding: 1px;
    padding-top: 30px;
    /*    &.dark {
            background-color: unset;
            box-shadow: unset;
            border-color: transparent;
            background-image: unset;
        } */
  }
  div.calendar-card.light {
    background-color: var(--light-mode-bg-dark);
    box-shadow: var(--light-mode-box-shadow);
    transition: var(--transition);
    border-color: var(--light-mode-border);
    background-color: unset;
    box-shadow: unset;
    border-color: transparent;
  }
  div.calendar-card.dark {
    border-color: transparent;
    background-color: transparent;
  }
  div.calendar-grid-daily {
    margin-top: -30px;
    padding-top: 40px;
  }
  div.capp--history-container {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    margin-bottom: 125px;
  }
  div.history {
    display: initial;
  }
  div.history-card {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    margin-bottom: 0px;
    min-width: auto;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0px;
    margin-top: 0px;
    padding-top: 114px;
    padding-bottom: 120px;
  }
  div.history-card.light {
    background-color: var(--light-mode-bg-dark);
    box-shadow: none;
    transition: var(--transition);
    border-color: none;
    border-width: 0px;
  }
  div.history-card.dark {
    background-color: none;
    border-color: transparent;
  }
  div.page-button {
    top: 50px;
    z-index: 41;
    margin-right: 5px;
    margin-left: 5px;
  }
  div.period-end-icon.mobile {
    margin-top: 5px;
  }
  span.cell-icon {
    /*    &.hide {
            scale: 0.8;
            opacity: 0;
        } */
  }
  div.history-section-left-column {
    width: auto;
    margin-right: 0px;
    justify-content: flex-start;
  }
  div.history-section-right-column {
    width: auto;
    margin-left: 0px;
  }
  div.capp--history-card {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 200px;
    width: 100%;
    margin-right: 5px;
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 15px;
    border-radius: 1em;
    min-height: 400px;
    user-select: none;
    background-color: var(--dark-mode-bg-dark);
    border-width: 1px;
    border-style: solid;
  }
  div.capp--history-card.light {
    background-color: var(--light-mode-bg-dark);
    box-shadow: var(--light-mode-box-shadow);
    transition: var(--transition);
    border-color: var(--light-mode-border);
  }
  div.capp--history-card.dark {
    color: var(--cellara-white);
    border-color: black;
    transition: var(--transition);
  }
  div.app-header {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    height: 110px;
    user-select: none;
    border-width: 1px;
    border-style: solid;
    border-bottom-right-radius: 33px;
    border-bottom-left-radius: 33px;
    padding: 5px;
  }
  div.app-header.light {
    color: var(--light-mode-text-body);
    background-color: var(--light-mode-bg-mid-transparent);
    border-color: var(--light-mode-border);
  }
  div.app-header.dark {
    color: var(--dark-mode-text-body);
    background-color: var(--dark-mode-bg-mid);
    border-color: var(--dark-mode-border);
  }
  div.period-container {
    position: absolute;
    width: calc(100% - 9px);
    margin-top: 48px;
    padding-right: 0px;
    padding-left: 0px;
  }
  div.app-header {
    width: 100%;
    border-radius: 0px;
    user-select: none;
    border-width: 1px;
    border-style: solid;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
  }
  div.app-header.light {
    color: var(--light-mode-text-body);
    background-color: var(--light-mode-bg-mid-transparent);
    border-color: var(--light-mode-border);
  }
  div.app-header.dark {
    color: var(--dark-mode-text-body);
    background-color: var(--dark-mode-bg-mid);
    border-color: var(--dark-mode-border);
  }
  div.capp--history-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 5px;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 15px;
  }
  div.history-name {
    width: auto;
  }
  div.capp--history-header-top-left {
    display: flex;
  }
  div.capp--history-title {
    font-size: 26px;
    font-weight: bold;
    width: 200px;
  }
  div.capp--history-title-name {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    height: 40px;
  }
  div.history-today-button-container {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 10px;
  }
  img.history-today-icon {
    border-radius: 50%;
  }
  div.today-target {
    margin-right: -8px;
    margin-top: -2px;
  }
  div.today-target.day {
    margin-left: -40px;
    margin-right: 7px;
  }
  div.today-button {
    height: 75px;
    width: 75px;
    border-radius: 50px;
    margin-left: 0px;
    opacity: 97%;
    pointer-events: initial;
  }
  div.today-button.light {
    background-image: linear-gradient(315deg, #bfb69b 10%, #d6cbae 90%);
    color: var(--card-background-light-mode);
  }
  div.today-button.dark {
    background-image: linear-gradient(315deg, #877856 30%, #FFE9AE 90%);
    color: var(--card-background-light-mode);
  }
  div.today-button.light:hover {
    transform: none;
    background-image: linear-gradient(315deg, #bfb69b 10%, #d6cbae 90%);
  }
  div.today-button.dark:hover {
    transform: none;
  }
  div.today-button.light:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 3px #c1c1c1;
    background-image: none;
    background-color: #bfb69b;
  }
  div.today-button.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    background-image: none;
    background-color: #877856;
    border-color: black;
  }
  div.today-button-text {
    color: white;
  }
  div.history-cells-header-label {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0px;
    margin-bottom: 3px;
    transition: var(--transition);
  }
  div.history-cells-header-label.add {
    margin-top: 2px;
    margin-bottom: 5px;
    margin-right: 2px;
    margin-left: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 8px;
    padding-right: 8px;
    opacity: 0;
  }
  div.history-capp-top-controls {
    display: flex;
    align-items: space-between;
    position: fixed;
    top: 55px;
    right: 10px;
    z-index: 20;
  }
  div.capp-calendar-active-period {
    width: 100px;
    padding: 10px;
  }
  div.history-capp--history-section {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0px;
    margin-right: 0px;
  }
  div.history-today-icon {
    width: 30px;
  }
  div.history-period-container {
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
    justify-content: space-between;
  }
  div.history-period-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    padding: 8px;
    margin-bottom: 0px;
    position: sticky;
    top: 50px;
    z-index: 50;
    border-width: 2px;
    border-color: #dbc997;
    border-style: solid;
    border-left-width: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0px 0px 2px 0px #dbc997;
  }
  div.history-period-header.current-light {
    display: flex;
    align-items: center;
    padding-right: 15px;
    margin-bottom: 0px;
    border-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  div.history-period-header.current-dark {
    background-color: black;
  }
  img.capp--icon {
    height: 40px;
    width: 40px;
    padding-right: 3px;
  }
  button.history-name {
    font-size: 23px;
  }
  div.history-period-box {
    width: auto;
    flex-direction: column;
    padding-left: 12px;
    padding-right: 12px;
  }
  div.history-period {
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
  }
  div.period-title.day {
    font-size: 21px;
  }
  div.period-title.month {
    font-size: 24px;
  }
  div.period-title.quarter {
    font-size: 28px;
  }
  div.period-title.year {
    font-size: 28px;
  }
  div.period-title-row2.day {
    font-size: 21px;
  }
  div.period-title-row2.month {
    font-size: 24px;
  }
  div.period-title-row2.quarter {
    font-size: 28px;
  }
  div.period-title-row2.year {
    font-size: 28px;
  }
  div.history-period-subtitle {
    font-size: 17px;
    padding-top: 2px;
  }
  div.history-period-body {
    display: grid;
    grid-template-columns: 3% 97%;
    grid-template-rows: auto auto;
  }
  div.history-capp--timeline {
    grid-column: 1;
    grid-row: 1/3;
    width: 5px;
    border-radius: 1em;
  }
  div.history-capp--timeline.light {
    background-color: #dbc997;
    box-shadow: 0px 0px 2px 0px #dbc997;
  }
  div.history-capp--timeline.dark {
    background-color: #FFE9AE;
    box-shadow: 0px 0px 3px 0px #FFE9AE;
  }
  div.history-today-header {
    margin-top: 0px;
    display: flex;
    justify-content: center;
  }
  div.history-period-name {
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 0px;
  }
  div.history-weekly {
    width: 100%;
    padding: 10px;
  }
  div.history-monthly {
    width: 100%;
    margin-top: 0px;
    padding: 8px;
  }
  div.history-section {
    display: block;
    margin-top: 0px;
  }
  div.history-cells {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0px;
    padding: 0px;
  }
  div.history-cells.right {
    padding: 0px;
  }
  div.history-cells-type-header {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }
  div.history-cells-type-header.right {
    padding-bottom: 0px;
  }
  div.history-cells-type-header.left {
    justify-content: flex-start;
  }
  div.capp--history-footer {
    position: fixed;
    bottom: 110px;
    left: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }
  div.capp--calendar-move-button-left {
    position: initial;
    height: 50px;
    width: 45px;
    opacity: 95%;
    margin: 0px;
    border-radius: 12px;
    border-top-left-radius: 45%;
    border-bottom-left-radius: 45%;
    pointer-events: initial;
  }
  div.capp--calendar-move-button-left.light:hover {
    transform: none;
  }
  div.capp--calendar-move-button-left.dark:hover {
    transform: none;
  }
  div.capp--calendar-move-button-left.light:active {
    transition: var(--transition);
    transform: scale(0.95);
    box-shadow: inset 0px 0px 3px #c1c1c1;
    background-image: none;
    background-color: var(--light-mode-bg-mid);
  }
  div.capp--calendar-move-button-left.dark:active {
    transition: var(--transition);
    transform: scale(0.95);
    background-image: none;
    background-color: var(--dark-mode-bg-mid);
    border-color: black;
  }
  div.capp--calendar-move-button-right {
    position: initial;
    height: 50px;
    width: 45px;
    opacity: 95%;
    margin: 2px;
    border-radius: 12px;
    border-top-right-radius: 45%;
    border-bottom-right-radius: 45%;
    pointer-events: initial;
  }
  div.capp--calendar-move-button-right.light:hover {
    transform: none;
  }
  div.capp--calendar-move-button-right.dark:hover {
    transform: none;
  }
  div.capp--calendar-move-button-right.light:active {
    transition: var(--transition);
    transform: scale(0.93);
    box-shadow: inset 0px 0px 3px #c1c1c1;
    background-image: none;
    background-color: #bfb69b;
  }
  div.capp--calendar-move-button-right.dark:active {
    transition: var(--transition);
    transform: scale(0.93);
    background-image: none;
    background-color: #877856;
    border-color: black;
  }
  div.capp--calendar-container {
    display: flex;
    height: 100%;
    width: 100%;
    user-select: none;
    justify-content: center;
  }
  button.linked-cell-calendar {
    border-radius: 5px;
    margin: 2px;
    font-size: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 10px;
    padding-left: 8px;
  }
  button.linked-cell-calendar.monthly-mobile {
    padding-right: 5px;
  }
  button.linked-cell-calendar.light:hover {
    transform: none;
    border-color: var(--light-mode-border);
    box-shadow: none;
  }
  button.linked-cell-calendar.dark:hover {
    transform: none;
    border-color: black;
    background-color: var(--dark-mode-bg-highlight);
    box-shadow: none;
  }
  div.capp--calendar-card {
    transition: var(--transition);
    width: 100%;
    margin-top: 135px;
    width: calc(100% - 10px);
    padding-top: 5px;
    margin-right: 5px;
    margin-left: 5px;
    border-width: 1px;
    border-style: solid;
    border-radius: 15px;
    min-height: 400px;
  }
  div.capp--calendar-card.light {
    box-shadow: var(--light-mode-box-shadow);
    border-color: var(--light-mode-border-muted);
    background-color: var(--light-mode-bg-capp);
  }
  div.capp--calendar-card.dark {
    color: var(--cellara-white);
    background-color: var(--dark-mode-bg-dark);
    border-color: black;
  }
  div.capp--calendar-header {
    padding-bottom: 0px;
    position: fixed;
    top: 0px;
    width: calc(100% - 12px);
    margin: 0px;
    padding: 5px;
    margin-left: -10px;
    margin-left: -5px;
    margin-top: 6px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }
  div.capp--calendar-header.light {
    background-color: var(--bottom-buttons-background-light);
  }
  div.capp--calendar-header.dark {
    background-color: #1e1e1f;
  }
  .capp--calendar-title {
    width: 160px;
    align-items: center;
  }
  .calendar-grid-weekly {
    display: grid;
    grid-template-columns: unset;
    width: 100%;
  }
  .calendar-grid-weekly.light {
    border-color: var(--light-mode-border-muted);
  }
  .calendar-grid-weekly.dark {
    border-color: transparent;
  }
  div.calendar-grid-cell {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
  }
  div.calendar-grid-cell.light {
    border-color: white;
  }
  div.calendar-grid-cell.dark {
    border-color: var(--card-background-dark-mode);
  }
  div.calendar-grid-cell-background {
    height: unset;
  }
  .calendar-day-cells-weekly {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
  }
  .calendar-multi-day-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .multi-day-event-bar {
    font-size: 10px;
    height: 22px;
    padding: 2px 3px;
  }
  span.multi-day-bar-icon {
    height: 14px;
    width: 14px;
    margin-right: 2px;
  }
  span.multi-day-bar-icon svg {
    width: 14px;
    height: 14px;
  }
  div.calendar-grid-cell-weekly {
    max-width: none;
    display: flex;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top-width: 0px;
    border-top-style: solid;
  }
  div.calendar-grid-cell-weekly.top {
    border-top-width: 0px;
  }
  div.calendar-grid-cell-weekly.light {
    border-color: #dde3ed;
  }
  div.calendar-grid-cell-weekly.light.dow6 {
    border-left-width: 0px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: unset;
  }
  div.calendar-grid-cell-weekly.light.dow5 {
    border-right-width: 0px;
    border-top-right-radius: unset;
    border-bottom-left-radius: 10px;
  }
  div.calendar-grid-cell-weekly.dark {
    border-color: #1e1e1f;
  }
  div.calendar-grid-cell-weekly.dark.dow6 {
    border-left-width: 0px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: unset;
  }
  div.calendar-grid-cell-weekly.dark.dow5 {
    border-right-width: 0px;
    border-top-right-radius: unset;
    border-bottom-left-radius: 10px;
  }
  div.calendar-grid-cell-monthly.dark {
    background-color: #1e1e1f;
  }
  div.calendar-grid-section {
    flex-direction: column;
  }
  div.calendar-grid-day-names {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    padding-right: 5px;
    padding-left: 5px;
  }
  div.calendar-grid-day-names.light {
    color: var(--light-mode-text-muted);
  }
  div.calendar-grid-day-names.dark {
    color: var(--dark-mode-text-muted);
  }
  div.day-name {
    text-align: end;
    padding-right: 8px;
    width: 13vw;
    font-size: 15px;
  }
  div.day-name.light {
    color: rgb(126, 140, 168);
  }
  div.calendar-grid-cell-side-header {
    width: 50px;
    padding-left: 3px;
    user-select: none;
  }
  div.calendar-grid-cell-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  div.calendar-grid-cell-border {
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
  }
  div.calendar-grid-cell-border.light- {
    box-shadow: rgba(201, 201, 201, 0.3) 2px 0px 1px -1.1px, rgba(201, 201, 201, 0.2) 0px -1px 1px -1.1px, rgba(201, 201, 201, 0.3) 0px 1px 1px -1.1px, rgba(201, 201, 201, 0.1) -1px 0px 0px -1.1px;
    border-color: #dde3ed;
    background-image: linear-gradient(315deg, #e6ecf5 50%, #f5f7fa 80%);
  }
  span.calendar-icon {
    transform: translateY(-1px);
  }
  span.calendar-cell {
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
  }
  span.calendar-cell-name {
    font-size: 15px;
  }
  div.calendar-cell-month {
    margin-left: 5px;
    padding-right: 10px;
    color: rgb(126, 140, 168);
    font-size: 18px;
    margin-bottom: -4px;
  }
  div.calendar-cell-dow {
    color: rgb(126, 140, 168);
    font-size: 25px;
    width: 50px;
    margin: 0px;
    text-align: center;
    margin-top: -5px;
  }
  div.calendar-cell-day {
    color: rgb(126, 140, 168);
    font-size: 18px;
    width: 50px;
    display: flex;
    justify-content: center;
  }
  div.daily-calendar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  div.daily-calendar-date.subheader {
    margin-bottom: 10px;
    margin-top: -5px;
  }
  div.calendar-dow-week {
    font-size: 14px;
    width: 100%;
    text-align: end;
  }
  div.calendar-dow-week.light {
    color: var(--light-mode-text-muted);
  }
  div.calendar-dow-week.dark {
    color: var(--dark-mode-text-muted);
  }
  div.capp--calendar-day-header {
    padding-right: 0px;
    padding-left: 0px;
    margin-left: 2px;
    margin-right: 10px;
    padding: 0px;
    cursor: pointer;
  }
  div.capp--calendar-day-header.mobile-weekly {
    height: unset;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    height: fit-content;
    width: 50px;
  }
  div.capp--calendar-day-header.light-new-month {
    padding-bottom: 6px;
    margin-right: 5px;
  }
  div.capp--calendar-day-header.dark-new-month {
    padding-bottom: 6px;
    margin-right: 5px;
  }
  div.calendar-mode-selector {
    width: 166px;
    border-radius: 14px;
  }
  button.calendar-mode-button.right {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
  }
  button.calendar-mode-button.left {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
  }
  div.calendar-day {
    margin-left: 0px;
  }
  div.capp--calendar-body.week {
    min-height: 10px;
    padding-left: 0px;
  }
  div.capp--calendar-body.day {
    padding-left: 20px;
  }
  div.capp--calendar-body.month {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
  }
  div.capp--calendar-cell-container {
    display: flex;
    justify-content: flex-start;
  }
  .capp--calendar-time.dark {
    color: white;
  }
  .capp--calendar-time-bottom {
    font-size: 20px;
  }
  div.capp--calendar-footer {
    position: fixed;
    left: 0px;
    bottom: 110px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  div.mobile-add-file-container {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }
  .file-connected-image {
    max-height: 150px;
    width: auto;
    max-width: 100%;
    padding: 0px;
    border-radius: 4px;
    min-width: 30px;
    min-height: 30px;
  }
  /*
      div.linked-cells.linked-cells {
          padding: initial;
          margin: initial;
          margin-bottom: 0.5em;
      }

      div.linked-cells.connection.rest {
          grid-row: initial;
          width: 100%;
          padding: initial;
          margin: initial;
      }

      div.editable-link {
          width: 100%;
      }

      button.link-button.link-button {

          margin: auto;

      }

      div.linked-cells-section {
          width: 100%;
          padding: initial;
          margin: initial;
      }

      div.linked-cell-display.rest,
      div.linked-cell-display.right,
      div.linked-cell-display.left {
          width: 100%;
          padding: initial;
          margin: initial;
      }

      div.linked-cell-display.rest > div,
      div.linked-cell-display.right > div,
      div.linked-cell-display.left > div {
          width: 100%;
          padding: initial;
          margin: initial;
      }

      div.linked-cell-display.rest > div > div.flex-center-nowrap {
          width: 100%;
          padding: initial;
          margin: initial;
      }

      button.connected-date.connected-date {

          margin: 0.5em auto 0.5em auto;
      }

      button.linked-cell.linked-cell {

          margin: 0.5em auto 0.5em auto;
      }

      button.linked-cell-long.linked-cell-long {

          margin: 0.5em auto 0.5em auto;
      }

      div.main-cell-display.main-cell-display {
          display: block;
          width: 100%;
      }


  */
  .exploding-channel-button.light:active {
    box-shadow: inset 0px 0px 2px #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 42%);
  }
  .exploding-channel-button.dark:active {
    box-shadow: inset 0px 0px 10px #1a1a1a;
  }
  .channel-button-transition {
    position: fixed;
    z-index: initial;
    right: initial;
    transition-property: transform, background-color, opacity;
    transition-duration: 125ms;
  }
  .channels.light {
    background-color: white;
    box-shadow: 0px 0px 8px 1px #c9c9c9;
  }
  .channels.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  }
  .right-channels, .left-channels {
    position: fixed;
    left: 0px;
    background-color: transparent;
    opacity: 0;
  }
  .right-channels.dark {
    background-image: linear-gradient(315deg, #1e1e1f 0%, #373739 80%);
  }
  .right-channels.show {
    transform: scale(1) translateX(20px) translateY(260px);
    opacity: 1;
  }
  .right-channels.channel-fade {
    transform: scale(0, 1) translateX(-300px) translateY(600px);
  }
  .left-channels.show {
    transform: scale(1) translateX(20px) translateY(100px);
    opacity: 1;
  }
  .left-channels.channel-fade {
    transform: scale(0, 1) translateX(-300px) translateY(600px);
  }
  .channel-button-transition.show {
    z-index: 1;
    background-color: rgba(245, 246, 252, 0.95);
  }
  .editor-medium-height {
    max-width: none;
  }
  .RichEditor-editor {
    margin: 0px;
    padding-left: 15px;
    padding-right: 15px;
    min-height: inherit;
  }
  .DraftEditor-editorContainer, .DraftEditor-root, .public-DraftEditor-content {
    min-height: inherit;
  }
  .editor-container {
    min-height: unset;
    position: relative;
    bottom: 0px;
  }
  .editor-container.empty {
    height: 0px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
  }
  .editor-container.add-cell-editor {
    max-height: 78%;
  }
  .editor-container.hide {
    width: 0px;
  }
  .linked-cell-container div.add-connection-popup {
    position: absolute;
    min-width: 90vw;
    left: 0;
  }
}
@media screen and (max-width: 600px) {
  div.cell-grid,
  div.cell-grid.chat,
  div.cell-grid.file,
  div.cell-grid.history {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  div.main-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  div.main-cell {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  div.the-great-filter {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  div.main-cell-container,
  div.main-cell-container.small,
  div.main-cell-container.medium,
  div.main-cell-container.large {
    width: calc(100% - 4px) !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    box-sizing: border-box !important;
  }
  div.main-cell-card {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
.main-blob div.linked-cell.dark {
  border-color: transparent;
}

.main-blob div.linked-cell.light {
  border-color: transparent;
}

@media screen and (max-width: 600px) {
  div.chat-row.friend {
    margin-right: 10px !important;
    max-width: calc(100% - 10px) !important;
  }
}
button.chat-capp--send {
  background: linear-gradient(135deg, #007FFF 0%, #000080 100%) !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

input.chat-capp--chat-field,
textarea.chat-capp--chat-field {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.goat-tests-for-agent-section {
  margin-top: 12px;
}
.goat-tests-for-agent-section .goat-tests-for-agent-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.goat-status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.goat-status-dot.goat-status-dot-pass {
  background: #34c759;
}
.goat-status-dot.goat-status-dot-fail {
  background: #ff3b30;
}
.goat-status-dot.goat-status-dot-unrun {
  background: #c7c7cc;
}
.goat-status-dot.goat-status-dot-running {
  background: #ff9500;
  animation: goat-running-pulse 1.1s ease-in-out infinite;
}
.goat-status-dot.goat-status-dot-large {
  width: 16px;
  height: 16px;
}

@keyframes goat-running-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.25);
  }
}
.linked-goat-test {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: default;
}
.linked-goat-test:hover {
  background: rgba(0, 0, 0, 0.04);
}
.linked-goat-test .goat-test-label {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.linked-goat-test .goat-test-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.linked-goat-test .goat-test-meta {
  font-size: 12px;
  opacity: 0.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goat-run-button {
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.goat-run-button:hover {
  background: rgba(0, 0, 0, 0.05);
}
.goat-run-button:active {
  background: rgba(0, 0, 0, 0.1);
}
.goat-run-button.goat-run-button-running, .goat-run-button:disabled {
  opacity: 0.65;
  cursor: default;
  background: transparent;
}

.goat-test-main-view {
  padding: 16px;
}
.goat-test-main-view .goat-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.goat-test-main-view .goat-header-text {
  flex: 1;
  min-width: 0;
}
.goat-test-main-view .goat-header-name {
  font-size: 18px;
  font-weight: 600;
}
.goat-test-main-view .goat-header-desc {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 2px;
}
.goat-test-main-view .goat-header-last-run {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 6px;
}
.goat-test-main-view .goat-section-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin: 16px 0 8px 0;
}
.goat-test-main-view .goat-results-empty {
  padding: 24px;
  text-align: center;
  opacity: 0.55;
  font-size: 13px;
}
.goat-test-main-view .goat-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.goat-test-main-view .goat-results-table th, .goat-test-main-view .goat-results-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.goat-test-main-view .goat-results-table th {
  font-weight: 600;
  opacity: 0.7;
  text-transform: lowercase;
}
.goat-test-main-view .goat-results-table tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}
.goat-test-main-view .goat-matrix-table {
  width: 100%;
  table-layout: fixed;
}
.goat-test-main-view .goat-matrix-table th, .goat-test-main-view .goat-matrix-table td {
  padding: 3px 4px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-corner {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
  width: 140px;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-agent-col {
  font-weight: 600;
  font-size: 12px;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-summary-row .goat-matrix-summary {
  font-weight: 500;
  font-size: 11px;
  opacity: 0.7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.goat-test-main-view .goat-matrix-table .goat-matrix-test-name {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  padding-right: 12px;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell {
  cursor: help;
  font-weight: 600;
  font-size: 0.95em;
  min-width: 56px;
  padding: 4px 6px;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.05;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-sym {
  font-size: 14px;
  font-weight: 700;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-count {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-pass {
  color: #2a9d3a;
  background: rgba(42, 157, 58, 0.08);
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-fail {
  color: #c64545;
  background: rgba(198, 69, 69, 0.1);
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-na {
  color: rgba(0, 0, 0, 0.35);
}
.goat-test-main-view .goat-matrix-table .goat-matrix-cell-pending {
  color: #ff9500;
  background: rgba(255, 149, 0, 0.06);
  animation: goat-running-pulse 1.4s ease-in-out infinite;
}
.goat-test-main-view .goat-history-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.goat-test-main-view .goat-history-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  font-size: 12px;
}
.goat-test-main-view .goat-history-row .goat-status-dot {
  width: 8px;
  height: 8px;
}
.goat-test-main-view .goat-history-row .goat-history-ts {
  opacity: 0.65;
  min-width: 80px;
}
.goat-test-main-view .goat-history-row .goat-history-summary {
  flex: 1;
}

/* View Transition: linked cell → main cell morph (durations halved per user request for a snappier feel) */
::view-transition-group(navigating-cell) {
  animation-duration: 0.15s;
  animation-timing-function: ease-in-out;
}

::view-transition-old(navigating-cell) {
  animation-duration: 0.075s;
  animation-timing-function: ease-in;
}

::view-transition-new(navigating-cell) {
  object-fit: cover;
  object-position: top center;
  animation-duration: 0.15s;
  animation-timing-function: ease-out;
}

/* View Transition: parents fade in sliding from center toward left */
::view-transition-new(linked-leaders) {
  animation: vt-leaders-fade-in 0.1s ease-out;
}

@keyframes vt-leaders-fade-in {
  from {
    opacity: 0;
    transform: translateX(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* View Transition: children fade in sliding from center toward right */
::view-transition-new(linked-followers) {
  animation: vt-followers-fade-in 0.1s ease-out;
}

@keyframes vt-followers-fade-in {
  from {
    opacity: 0;
    transform: translateX(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* View Transition: date cell → history capp button morph */
::view-transition-old(navigating-to-capp) {
  animation: vt-capp-fade-out 0.3s ease-in-out;
}

::view-transition-new(navigating-to-capp) {
  animation: vt-capp-fade-in 0.3s ease-in-out;
}

@keyframes vt-capp-fade-out {
  0% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes vt-capp-fade-in {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
/* [running-dots-anim-2026-04-30] Activity-bubble running indicator —
   three dots that pulse in sequence so a long LLM call doesn't look
   like a hung trace. Used by activity_bubble.cljs when status=:running. */
@keyframes ab-dot-pulse {
  0%, 80%, 100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/*# sourceMappingURL=screen.css.map */
