@charset "UTF-8";

html,
body {
  border: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1 {
  font-size: 4em;
}

p,
li,
label {
  font-size: 1rem;
  line-height: 1.4;
}

p.title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

a {
  color: inherit;
}

ul {
  padding-left: 2em;
}

ul li {
  margin-bottom: 0.5em;
}

html,
body {
  border: none;
  margin: 0;
  padding: 0;
}

body {
  font-size: 62.5%;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #f1f1f1;
  color: #000000;
}

.ql-snow .ql-fill {
  fill: #141414;
}

.ql-snow .ql-stroke {
  stroke: #141414;
}

.ql-snow ol,
.ql-snow ul {
  padding-left: 0;
}

.ql-snow .ql-tooltip {
  left: 0 !important;
}

.ql-snow.ql-disabled {
  cursor: not-allowed;
}

header {
  background-color: #141414;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3em;
}

header svg {
  height: 3em;
  width: auto;
  fill: #FFEF00;
}

header .logoWrap {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

header a.link {
  font-size: 2em;
}

header .user {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

header .user p {
  font-size: 1.6em;
  margin: 0;
}

header .user form {
  margin: 0;
}

header .user button {
  white-space: nowrap;
}

.content {
  background-color: #f1f1f1;
  color: #000000;
  padding: 5em;
}

.content .main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3em;
  margin-bottom: 4em;
}

.content .split {
  display: flex;
  gap: 5em;
}

.content .split .half {
  flex: 1;
}

.content .section {
  margin-bottom: 5em;
  counter-increment: section;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content .head {
  background-color: #000000;
  padding: 1rem 1.5rem;
}

.content .head p {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.content .head p::before {
  content: counter(section, decimal-leading-zero) ". ";
}

.content .body {
  background: #ffffff;
  padding: 0;
  counter-reset: entry;
}

.content .inputs {
  padding: 1.5rem;
  display: flex;
  gap: 1em 3em;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.content .inputs .inputs-group {
  display: flex;
  gap: 3em;
  align-items: center;
}

.content .input {
  display: flex;
  gap: 1em;
  align-items: center;
}

.content .input.doc input {
  min-width: 20em;
}

.content .input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.content .input-icon-wrap .input-icon {
  position: absolute;
  left: 0.75em;
  width: 18px;
  height: 18px;
  opacity: 0.4;
  pointer-events: none;
  flex-shrink: 0;
}

.content .input-icon-wrap input {
  padding-left: 1.875rem;
}

.content .view-url-btn {
  flex-shrink: 0;
  background: #000000;
  color: #FFEF00;
  padding: 0.5em 1.25em;
  border-radius: 0.5em;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.content .view-url-btn:hover {
  opacity: 0.85;
}

.content .editor {
  height: 15em;
  background: #fafafa;
  border: 1px solid #D1D5DB !important;
  border-radius: 4px;
  overflow: hidden;
}

.content .editor .ql-container {
  background: transparent;
  border: none;
}

.content .editor .ql-editor {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.content .editor .ql-editor.ql-blank::before {
  color: #999;
  font-style: normal;
  font-weight: 400;
  opacity: 1;
}

.content .editor .ql-editor p {
  margin-bottom: 0.5em;
}

.content .item .ql-toolbar,
.content .container > .ql-toolbar {
  display: none !important;
}

.content .action {
  display: flex;
}

.content .action.center {
  justify-content: center;
}

button,
input[type=submit] {
  border: none;
  background-color: #FFEF00;
  color: #000000;
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
  font-size: 1.6em;
  cursor: pointer;
  font-weight: 400;
  transition: opacity 0.2s ease;
  text-align: center;
}

button:hover,
input[type=submit]:hover {
  opacity: 0.9;
}

button:disabled,
input[type=submit]:disabled {
  cursor: no-drop;
  opacity: 0.25;
}

button.secondary {
  background-color: #ffffff;
  color: #000000;
}

button.reverse {
  background-color: #000000;
  color: #FFEF00;
}

form input[type=text],
form input[type=number] {
  border: 1px solid #ccc;
  background-color: #ffffff;
  padding: 0.5em 0.75em;
  font-size: 1.6em;
  line-height: 1;
  color: #000000;
  border-radius: 0.5em;
}

form input[type=number] {
  min-width: 5em;
}

.content .status {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  align-items: flex-start;
}

.content .status .status-label-row {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
}

.content .status .status-prefix {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}

.content .status .status-current {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
}

.content .status fieldset {
  display: flex;
  align-items: center;
  gap: 0.75em;
  border: none;
  padding: 0;
  margin: 0;
}

.content .status label.status-option {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.content .status label.status-option input[type=radio] {
  display: none;
}

.content .status label.status-option .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.content .status label.status-option span {
  line-height: 1;
}

.content .status label.status-option:has(input[value=green]) {
  background: #ffffff;
  color: #000000;
  border: 1px solid #D1D5DB;
}

.content .status label.status-option:has(input[value=green]) .status-dot {
  background: #34a853;
}

.content .status label.status-option:has(input[value=green]:checked) {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #e8f5e9;
}

.content .status label.status-option:has(input[value=yellow]) {
  background: #ffffff;
  color: #000000;
  border: 1px solid #D1D5DB;
}

.content .status label.status-option:has(input[value=yellow]) .status-dot {
  background: #ffc107;
}

.content .status label.status-option:has(input[value=yellow]:checked) {
  background: #fff8e1;
  color: #f57c00;
  border: 1px solid #fff8e1;
}

.content .status label.status-option:has(input[value=red]) {
  background: #ffffff;
  color: #000000;
  border: 1px solid #D1D5DB;
}

.content .status label.status-option:has(input[value=red]) .status-dot {
  background: #ea4335;
}

.content .status label.status-option:has(input[value=red]:checked) {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffebee;
}

.client-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  border: 2px solid #D1D5DB;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 280px;
}

.client-card:hover {
  border-color: #333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.client-card:hover .client-arrow {
  transform: translateX(4px);
  color: #333;
}

.client-health-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.client-health-badge .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.client-health-badge .status-label {
  line-height: 1;
}

.client-health-badge[data-status=green] {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.client-health-badge[data-status=green] .status-indicator {
  background-color: #34a853;
}

.client-health-badge[data-status=yellow] {
  background-color: #fff8e1;
  color: #f57c00;
}

.client-health-badge[data-status=yellow] .status-indicator {
  background-color: #ffc107;
}

.client-health-badge[data-status=red] {
  background-color: #ffebee;
  color: #c62828;
}

.client-health-badge[data-status=red] .status-indicator {
  background-color: #ea4335;
}

.client-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}

.client-logo-container {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.client-logo-initials {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  background: #141414;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0;
}

.client-summary {
  font-size: 0.875rem;
  color: #1a1a1a;
  line-height: 1.5;
  flex: 1;
}

.client-summary strong {
  font-weight: 600;
  color: #333;
}

.client-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.client-last-updated {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.client-arrow {
  width: 20px;
  height: 20px;
  color: #1a1a1a;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.entry {
  counter-increment: entry;
}

.entry.expand .title .collapse .icon img {
  transform: rotate(0deg);
}

.entry .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  cursor: pointer;
  background: #FFEF00;
  transition: background 0.2s ease;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom: 1px solid #000000;
}

.entry .title:hover {
  background: rgb(229.5, 215.1, 0);
}

.entry .title .name {
  flex: 1;
  order: 1;
  display: flex;
  align-items: center;
  gap: 0;
}

.entry .title .name p {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
  margin: 0;
  padding: 1.25rem 1.5rem;
}

.entry .title .name p::before {
  content: counter(entry, decimal-leading-zero);
  background: #000000;
  color: #FFEF00;
  padding: 0.5em;
  margin-right: 1rem;
  font-weight: 700;
  border-radius: 4px;
}

.entry .title .name input {
  min-width: 20em;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  margin-right: 2em;
}

.entry .collapse {
  order: 2;
  padding: 1.5em 24px;
  display: flex;
  align-items: center;
}

.entry .collapse .icon {
  display: flex;
  align-items: center;
}

.entry .collapse .icon img {
  width: 20px;
  height: 20px;
  display: block;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.entry .box {
  background-color: #ffffff;
  height: 0;
  overflow: hidden;
  transition: height 250ms;
}

.entry .box .container {
  padding: 1.5rem;
  background: #ffffff;
}

.entry .box .description {
  border-bottom: 1px solid;
  padding-bottom: 1em;
  margin-bottom: 2em;
}

.entry .box .description p {
  font-size: 1rem;
}

.entry .box .items {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}

.entry .box .item {
  width: 100%;
}

.entry .box .subhead {
  margin-bottom: 0.75em;
}

.entry .box .subhead p {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
  line-height: 1.5;
  margin: 0;
}

.entry .box .item.input .subhead {
  margin-bottom: 0;
}

.entry .box .item.input input {
  flex-grow: 1;
}

.entry:not(:has(.title)) .box {
  height: auto !important;
  overflow: visible;
}

.autosave-container {
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 1em 2em;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  margin-bottom: 4em;
}

.autosave-status {
  display: flex;
  align-items: center;
  gap: 0.75em;
  flex: 1;
}

.autosave-status .icon {
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: #D1D5DB;
  position: relative;
}

.autosave-status .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.autosave-status .message {
  font-size: 1rem;
  color: #1a1a1a;
}

.autosave-status[data-status=editing] .icon {
  background: #D1D5DB;
}

.autosave-status[data-status=editing] .message {
  color: #1a1a1a;
}

.autosave-status[data-status=saving] .icon {
  background: #2196F3;
  animation: pulse 1.5s ease-in-out infinite;
}

.autosave-status[data-status=saving] .message {
  color: #2196F3;
}

.autosave-status[data-status=saved] .icon {
  background: #34a853;
}

.autosave-status[data-status=saved] .icon::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.7em;
  font-weight: bold;
}

.autosave-status[data-status=saved] .message {
  color: #2e7d32;
}

.autosave-status[data-status=error] .icon {
  background: #ea4335;
}

.autosave-status[data-status=error] .icon::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.8em;
  font-weight: bold;
}

.autosave-status[data-status=error] .message {
  color: #c62828;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.autosave-actions {
  display: flex;
  gap: 1em;
}

.autosave-actions button {
  font-size: 1rem;
  padding: 0.5em 1em;
  white-space: nowrap;
}

.autosave-status-mini {
  position: fixed;
  bottom: 2em;
  right: 2em;
  padding: 0.75em 1.25em;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.conflict-message,
.draft-warning-banner,
.unpublished-message {
  padding: 1.5em 2em;
  margin-bottom: 2em;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.conflict-message {
  background: #FFF3CD;
  border: 1px solid #FFC107;
}

.conflict-message .conflict-text {
  flex: 1;
  color: #856404;
  font-size: 1rem;
}

.conflict-message button {
  font-size: 1rem;
}

.draft-warning-banner {
  background: #E8F5E9;
  border: 1px solid #34a853;
}

.draft-warning-banner .draft-text {
  flex: 1;
  color: #2e7d32;
  font-size: 1rem;
}

.draft-warning-banner .draft-text strong {
  font-weight: 600;
}

.draft-warning-banner button {
  font-size: 1rem;
}

.unpublished-message {
  background: #fff8e1;
  border: 1px solid #FFEF00;
}

.unpublished-message .unpublished-text {
  flex: 1;
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
}

.unpublished-message button {
  font-size: 1rem;
}

.revision-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.revision-overlay.active {
  display: block;
}

.revision-history {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.revision-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5em 2em;
  background: #141414;
  color: #ffffff;
  border-radius: 12px 12px 0 0;
}

.revision-header h3 {
  font-size: 1.6em;
  margin: 0;
}

.revision-header .close-revisions {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2em;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.revision-header .close-revisions:hover {
  opacity: 0.7;
}

.revision-list {
  padding: 1.5em 2em;
  overflow-y: auto;
  flex: 1;
}

.revision-list .empty-state {
  text-align: center;
  padding: 3em 2em;
  color: #1a1a1a;
  font-size: 1rem;
}

.revision-item {
  padding: 1.25em 1.5em;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  margin-bottom: 1em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.revision-item:hover {
  border-color: #000000;
  background: #f5f5f5;
}

.revision-item.selected {
  border-color: #FFEF00;
  background: #fff8e1;
}

.revision-item:last-child {
  margin-bottom: 0;
}

.revision-content {
  flex: 1;
}

.revision-timestamp {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.25em;
}

.revision-meta {
  font-size: 0.9rem;
  color: #1a1a1a;
}

.revision-meta .revision-user {
  font-weight: 500;
  color: #000000;
}

.revision-delete {
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 1.8em;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.revision-delete:hover {
  background: #ffebee;
  color: #ea4335;
}

.revision-actions {
  display: flex;
  gap: 1em;
  padding: 1.5em 2em;
  border-top: 1px solid #D1D5DB;
}

.revision-actions button {
  flex: 1;
  font-size: 1rem;
  padding: 0.75em 1.5em;
}

.active-users {
  padding: 1em 2em;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 2em;
}

.active-users .user-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  font-size: 1rem;
  color: #1a1a1a;
}

.active-users .user {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.active-users .user::before {
  content: "👤";
  font-size: 1.2em;
}

.editor-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.editor-fullscreen-overlay.active {
  display: flex;
  opacity: 1;
}

.fullscreen-container {
  background: #ffffff;
  width: 90%;
  max-width: 900px;
  height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.editor-fullscreen-overlay.active .fullscreen-container {
  transform: scale(1);
}

.fullscreen-header {
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #f1f1f1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.fullscreen-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #141414;
  flex: 1;
  line-height: 1.4;
}

.fullscreen-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fullscreen-hint {
  font-size: 0.75rem;
  color: #1a1a1a;
  white-space: nowrap;
}

.close-fullscreen {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1a1a1a;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  line-height: 1;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-fullscreen:hover {
  color: #141414;
}

.fullscreen-editor-wrapper {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem;
}

.fullscreen-editor-wrapper .ql-toolbar {
  flex-shrink: 0;
  border: none;
  border-bottom: 1px solid #D1D5DB;
  background: #f5f5f5;
  padding: 0.75rem 0.5rem;
}

.fullscreen-editor-wrapper .ql-container {
  flex: 1;
  overflow-y: auto;
  font-size: 1.1rem;
  line-height: 1.7;
  border: none;
}

.fullscreen-editor-wrapper .ql-editor {
  height: 100%;
  padding: 1.5rem 2rem;
  min-height: unset;
}

.fullscreen-footer {
  padding: 1rem 2rem;
  border-top: 1px solid #f1f1f1;
  background: #f5f5f5;
  border-radius: 0 0 12px 12px;
}

.fullscreen-footer .autosave-status-mini {
  position: static;
  box-shadow: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  color: #1a1a1a;
}

body.fullscreen-active {
  overflow: hidden;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.loading-overlay.active {
  display: flex;
  opacity: 1;
}

.loading-overlay .loading-content {
  background: #ffffff;
  padding: 3rem 4rem;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 300px;
}

.loading-overlay .loading-content .loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f5f5f5;
  border-top-color: #FFEF00;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-overlay .loading-content .loading-text {
  font-size: 1.2rem;
  color: #000000;
  font-weight: 600;
  text-align: center;
}

.loading-overlay.success .loading-content .loading-text {
  color: #2e7d32;
}

.loading-overlay.success .loading-content .loading-text::before {
  content: "✓";
  display: block;
  font-size: 3rem;
  color: #34a853;
  margin-bottom: 0.5rem;
}

.loading-overlay.error .loading-content .loading-text {
  color: #c62828;
}

.loading-overlay.error .loading-content .loading-text::before {
  content: "×";
  display: block;
  font-size: 3rem;
  color: #ea4335;
  margin-bottom: 0.5rem;
}

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

.home {
  display: flex;
}

.home > div {
  flex: 1;
}

.clients {
  margin: 0 auto;
  padding: 2em;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.no-clients {
  text-align: center;
  color: #1a1a1a;
  font-size: 1.125rem;
  padding: 3rem;
}

.content:has(.client-sidebar) {
  display: flex;
  gap: 0;
  padding: 0;
  background: #f1f1f1;
}

.client-sidebar {
  position: sticky;
  top: 0;
  left: 0;
  width: 280px;
  min-width: 280px;
  height: 100vh;
  background: #2d2d2d;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  border-right: 4px solid #D1D5DB;
}

.client-sidebar .sidebar-nav {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.client-sidebar .sidebar-nav .nav-link {
  padding: 1.5em 2em;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  border-bottom: 4px solid transparent;
}

.client-sidebar .sidebar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.client-sidebar .sidebar-nav .nav-link.active {
  background: #ffffff;
  color: #000000;
  border-bottom-color: #FFEF00;
}

.client-sidebar .sidebar-nav .nav-link.nav-top.active {
  background: transparent;
  color: #ffffff;
  border-bottom-color: transparent;
}

.client-sidebar .sidebar-nav .nav-link.nav-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.client-sidebar .sidebar-nav .nav-link.nav-top .nav-icon {
  width: 16px;
  height: 16px;
  filter: invert(1);
  flex-shrink: 0;
}

.client-sidebar .sidebar-footer {
  padding: 2em;
  border-top: 2px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.client-sidebar .sidebar-footer button {
  width: 100%;
}

.client-sidebar .sidebar-footer .sidebar-cancel {
  background: #ffffff;
}

.content:has(.client-sidebar) form.dashboard {
  flex: 1;
  padding: 5em;
  overflow-y: auto;
}

#top,
#overview,
#opportunity,
#health-plan,
#satisfaction,
#specialties,
#goals-accomplished {
  scroll-margin-top: 2em;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5em;
  margin: 0 0 4em;
}

.analytics-grid .analytics-revenue {
  grid-column: 1/3;
  grid-row: 1;
}

.analytics-grid .analytics-profitability {
  grid-column: 3/5;
  grid-row: 1;
}

.analytics-grid .analytics-specialist {
  grid-column: 1/4;
  grid-row: 2;
}

.analytics-grid .analytics-brands {
  grid-column: 4/7;
  grid-row: 2;
}

.analytics-grid .analytics-insights {
  grid-column: 5/7;
  grid-row: 1;
  min-width: 0;
}

.analytics-grid .analytics-cell {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  align-content: flex-start;
  overflow: hidden;
}

.analytics-grid .analytics-cell.analytics-specialist {
  display: grid;
  grid-template-columns: auto 33% auto;
  gap: 1rem;
}

.analytics-grid .analytics-cell.analytics-brands .boxed {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0.5rem 1rem;
  align-items: center;
}

.analytics-grid .analytics-cell.analytics-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  align-content: stretch;
  padding: 0;
  background: #D1D5DB;
}

.analytics-grid .analytics-cell.analytics-insights .boxed {
  min-width: 0;
  padding: 1rem;
}

.analytics-grid .analytics-cell.analytics-insights .boxed.boxed-full {
  grid-column: 1/-1;
}

.analytics-grid .boxed.boxed-full {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.analytics-grid .boxed.cell-dark {
  background: #1a1a1a;
  color: #ffffff;
}

.analytics-grid .boxed.cell-dark .cell-title {
  color: #ffffff;
}

.analytics-grid .boxed.cell-medium {
  background: #D1D5DB;
}

.analytics-grid .boxed.cell-medium + .cell-medium {
  padding-top: 0;
}

.analytics-grid .cell-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #6B7280;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.analytics-grid .big-value {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.analytics-grid .small-value {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.analytics-grid .right-align {
  text-align: right;
}

.analytics-grid .chart-container {
  width: 100%;
  position: relative;
}

.analytics-grid .chart-container canvas {
  display: block;
}

.analytics-grid .chart-container.bar-chart-container {
  flex: 1;
  min-height: 400px;
}

.analytics-grid .chart-container.donut-chart-container {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-grid .labels-container.donut-labels-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.analytics-grid .labels-container.donut-labels-container .donut-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.analytics-grid .labels-container.donut-labels-container .donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.analytics-grid .labels-container.donut-labels-container .donut-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.analytics-grid .labels-container.donut-labels-container .donut-legend-label {
  line-height: 1.2;
}

form.dashboard {
  max-width: none;
  width: 100%;
  counter-reset: section;
}

.client .client-header {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 1em;
}

.client .client-logo-container {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.client .client-logo-container .client-logo {
  width: 80px;
  height: 80px;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.5em;
  border: 1px solid #D1D5DB;
}

.client .client-logo-container .client-logo-initials {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFEF00;
  color: #000000;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 8px;
  text-transform: uppercase;
}

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

.client .client-name {
  font-size: 3.5em;
  margin: 0 0 0.25em 0;
  color: #000000;
}

.client .client-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  font-size: 0.95rem;
  color: #666;
}

.client .client-meta .last-updated {
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.client .client-meta .last-updated .meta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.6;
}

.client h1 {
  font-size: 3.5em;
  margin: 0;
  color: #000000;
}

.unpublished-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: #FFEF00;
  border: 1px solid #000000;
  border-top: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 1.5em 2em;
  align-items: center;
  justify-content: center;
  gap: 2em;
  width: 50em;
}

.unpublished-banner .unpublished-text {
  color: #000000;
  margin: 0;
}

.unpublished-banner.show {
  display: flex;
}

.content .section {
  border-radius: 4px;
  overflow: hidden;
}

.content .section:not(:last-child) {
  margin-bottom: 4em;
}

.content .input.score {
  flex-basis: auto;
}

.content .input.score input[type=number] {
  width: 8em;
}

.client .addons form {
  display: flex;
  justify-content: space-between;
  gap: 3em;
  margin-bottom: 3em;
}

.client .addons form .box {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.client .addons form label {
  margin-bottom: 0;
}

.client .addons form input[type=text] {
  min-width: initial;
}

.client .addons form input[type=submit] {
  padding: 0.5em 1em;
}

.action.right {
  margin-top: 3em;
  padding-top: 2em;
  display: flex;
  justify-content: flex-end;
}

.action.right button[type=submit] {
  min-width: 200px;
  font-size: 1.8em;
  padding: 0.75em 2.5em;
}

body:has(.login-page) header {
  justify-content: center;
}

body:has(.login-page) header .user {
  display: none;
}

.login-page {
  min-height: calc(100vh - 10em);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em;
}

.login-card {
  background: #ffffff;
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  padding: 4em 3em;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-card h1 {
  font-size: 2.4em;
  margin-bottom: 1.5em;
  color: #000000;
}

.login-card .login-button {
  width: 100%;
  padding: 1.2em 2em;
  font-size: 1.8em;
  font-weight: 600;
}

@media (max-width: 1440px) {
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1080px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .analytics-grid .analytics-revenue,
  .analytics-grid .analytics-profitability,
  .analytics-grid .analytics-specialist,
  .analytics-grid .analytics-brands,
  .analytics-grid .analytics-insights {
    grid-column: 1;
    grid-row: auto;
  }

  .analytics-grid .analytics-insights {
    order: -1;
  }
}

@media (max-width: 1024px) {
  .client-sidebar {
    width: 240px;
    min-width: 240px;
  }

  .client-sidebar .sidebar-header {
    padding: 2em 1.5em;
  }

  .client-sidebar .sidebar-nav {
    padding: 1.5em 0;
  }

  .client-sidebar .sidebar-nav .nav-link {
    padding: 1em 1.5em;
    font-size: 1rem;
  }

  .client-sidebar .sidebar-footer {
    padding: 1.5em;
  }

  .content:has(.client-sidebar) form.dashboard {
    padding: 3em;
  }

  .content .main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2em;
  }

  .content .split {
    flex-direction: column;
    gap: 3em;
  }

  .client h1,
  .client .client-name {
    font-size: 2.5em;
  }

  .client .client-logo-container .client-logo,
  .client .client-logo-container .client-logo-initials {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 2.5em;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .client-card {
    padding: 1.5rem 1rem;
  }

  .client-sidebar {
    position: fixed;
    left: -280px;
    transition: left 0.3s ease;
  }

  .client-sidebar.mobile-open {
    left: 0;
  }

  .content:has(.client-sidebar) {
    flex-direction: column;
  }

  .content:has(.client-sidebar) form.dashboard {
    padding: 2em 1.5em;
    width: 100%;
  }

  .content .section {
    margin-bottom: 3em;
  }

  .content .inputs {
    padding: 1.5em 1.5em 0;
    flex-direction: column;
    gap: 1.5em;
  }

  .content .input {
    flex-direction: column;
    align-items: flex-start;
  }

  .content .input.doc input {
    width: 100%;
    min-width: auto;
  }

  .entry .title {
    padding: 1.5em;
    flex-wrap: wrap;
  }

  .entry .box .container {
    padding: 1.5em;
  }

  .entry .box .items {
    flex-direction: column;
    gap: 2em;
  }

  .client .client-header {
    gap: 1.5em;
  }

  .client .client-name {
    font-size: 2em !important;
  }

  .client .client-logo-container .client-logo,
  .client .client-logo-container .client-logo-initials {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .client .client-meta {
    font-size: 0.85rem;
  }

  .unpublished-banner {
    padding: 1em 1.5em;
    gap: 1em;
  }

  .unpublished-banner .unpublished-text {
    font-size: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=style.css.map */
