/* [project]/src/app/globals.css [app-client] (css) */
@font-face {
  font-family: Sofia Pro;
  src: url("/fonts/sofia-pro/Sofia Pro Regular Az.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Sofia Pro;
  src: url("/fonts/sofia-pro/Sofia Pro Medium Az.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Sofia Pro;
  src: url("/fonts/sofia-pro/Sofia Pro Semi Bold Az.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Sofia Pro;
  src: url("/fonts/sofia-pro/Sofia Pro Bold Az.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

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

/* [project]/src/styles/form.css [app-client] (css) */
.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
  display: grid;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.form-label {
  color: #5a6072;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.form-label .required {
  color: #fa5b5b;
  margin-left: 2px;
}

.form-input, .form-select {
  color: #3a3f51;
  background: #fff;
  border: 1px solid #d4d8de;
  border-radius: 6px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #5b6a7a;
  outline: none;
  box-shadow: 0 0 0 2px #5b6a7a1f;
}

.form-input:disabled, .form-select:disabled, .form-textarea:disabled {
  color: #8d979f;
  cursor: not-allowed;
  background: #f5f6f8;
}

.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #fa5b5b;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #a2abb3;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238D979F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.form-textarea {
  color: #3a3f51;
  resize: vertical;
  background: #fff;
  border: 1px solid #d4d8de;
  border-radius: 6px;
  outline: none;
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}

.form-helper {
  color: #8d979f;
  margin-top: 2px;
  font-size: 11px;
}

.form-error {
  color: #fa5b5b;
  margin-top: 2px;
  font-size: 11px;
}

.editor-wrapper {
  border: 1px solid #d4d8de;
  border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}

.editor-wrapper:focus-within {
  border-color: #5b6a7a;
  box-shadow: 0 0 0 2px #5b6a7a1f;
}

.editor-toolbar {
  background: #f5f6f8;
  border-bottom: 1px solid #d0d5dd;
  gap: 4px;
  padding: 6px 8px;
  display: flex;
}

.toolbar-btn:hover {
  background: #e4e7ec;
}

.toolbar-btn.active {
  background: #d0d5dd;
}

.toolbar-divider {
  background: #d0d5dd;
  width: 1px;
  margin: 2px 4px;
}

.editor-textarea {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.editor-textarea:focus {
  box-shadow: none !important;
}

.form-actions {
  border-top: 1px solid #eee;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
}

.form-btn {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  padding: 9px 22px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  display: inline-flex;
}

.form-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.form-btn-cancel {
  color: #5a6072;
  background: #f0f2f5;
}

.form-btn-cancel:hover:not(:disabled) {
  background: #e2e4e8;
}

.form-btn-save {
  color: #fff;
  background: #5b6a7a;
}

.form-btn-save:hover:not(:disabled) {
  background: #4e5d6c;
}

.form-card {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 1px 3px #0000000d;
}

.form-card-header {
  background: #5b6a7a;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  display: flex;
}

.form-card-title {
  color: #fff;
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.form-card-body {
  padding: 24px 28px;
}

.form-header {
  border-bottom: 1px solid #eee;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  display: flex;
}

.form-header-left {
  align-items: center;
  gap: 10px;
  display: flex;
}

.form-title {
  color: #3a3f51;
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.form-back-btn {
  cursor: pointer;
  color: #5a6072;
  background: #f0f2f5;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: flex;
}

.form-back-btn:hover {
  background: #e2e4e8;
}

.form-add-btn {
  cursor: pointer;
  color: #fff;
  background: #5b6a7a;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  transition: background .15s;
  display: flex;
}

.form-add-btn:hover {
  background: #4e5d6c;
}

.form-body {
  padding: 24px 28px;
}

.back-btn {
  color: #5b6a7a;
  cursor: pointer;
  background: #fff;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
  display: inline-flex;
  box-shadow: 0 1px 3px #00000014;
}

.back-btn:hover {
  background: #eef0f3;
}

.form-input[type="date"] {
  position: relative;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .6;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.page-container {
  background: #f0f2f5;
  min-height: 100vh;
  padding: 18px 20px;
}

.form-empty {
  text-align: center;
  color: #8e95a5;
  padding: 30px;
  font-size: 14px;
}

.saved-entry {
  background: #f8f9fb;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 14px 18px;
}

.saved-entry:last-child {
  margin-bottom: 0;
}

.saved-entry-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.saved-entry-name {
  color: #3a3f51;
  font-size: 15px;
  font-weight: 600;
}

.saved-entry-actions {
  gap: 6px;
  display: flex;
}

.saved-entry-actions button {
  cursor: pointer;
  color: #5a6072;
  background: #e9ecef;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  transition: background .15s;
  display: flex;
}

.saved-entry-actions button:hover {
  background: #dde0e4;
}

.saved-entry-actions button.del-btn:hover {
  color: #d32f2f;
  background: #fde2e2;
}

.saved-entry-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 8px;
  display: grid;
}

.saved-entry-row.full-row {
  grid-template-columns: 1fr;
}

.saved-entry-field {
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
  display: flex;
}

.saved-entry-field.full-width {
  grid-column: 1 / -1;
}

.saved-field-label {
  color: #8e95a5;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 11px;
  font-weight: 600;
}

.saved-field-value {
  color: #3a3f51;
  word-break: break-word;
  font-size: 13px;
}

.saved-field-value.empty {
  color: #c5c9d1;
  font-style: italic;
}

.entries-list {
  margin-bottom: 16px;
}

.modal-tiles-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  padding: 10px 28px 30px;
  display: grid;
}

.modal-tile {
  text-align: center;
  cursor: pointer;
  background: #f8f9fb;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 24px 16px;
  transition: all .15s;
}

.modal-tile:hover {
  background: #fff;
  border-color: #5b6a7a;
  box-shadow: 0 2px 8px #5b6a7a1f;
}

.modal-tile-icon {
  background: #eef1f4;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
}

.modal-tile-icon svg {
  stroke: #5b6a7a;
  fill: none;
  stroke-width: 1.5px;
  width: 22px;
  height: 22px;
}

.modal-tile-title {
  color: #3a3f51;
  font-size: 13px;
  font-weight: 600;
}

.detail-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 40px;
}

.back-link {
  color: #6b757f;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
}

.back-link:hover {
  color: #3a4754;
}

.name-bar {
  background: #fff;
  border-left: 4px solid #5b6a7a;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px 24px;
  box-shadow: 0 1px 2px #0000000d;
}

.name-bar-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.name-bar-title {
  color: #2b3640;
  font-size: 17px;
  font-weight: 700;
}

.name-bar-subtitle {
  color: #6b757f;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
}

.name-bar-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.name-bar-btn {
  cursor: pointer;
  color: #888;
  background: #fff;
  border: 1.5px solid #bbb;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: border-color .15s, color .15s;
  display: flex;
  position: relative;
}

.name-bar-btn:hover {
  color: #475969;
  border-color: #888;
}

.name-bar-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.name-bar-btn svg {
  width: 16px;
  height: 16px;
}

.name-bar-btn[title]:hover:after {
  content: attr(title);
  color: #fff;
  white-space: nowrap;
  z-index: 999;
  pointer-events: none;
  background: #333;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
}

.name-bar-btn[title]:hover:before {
  content: "";
  z-index: 999;
  pointer-events: none;
  border: 4px solid #0000;
  border-bottom-color: #333;
  position: absolute;
  top: calc(110% - 4px);
  left: 50%;
  transform: translateX(-50%);
}

.name-bar-description {
  color: #4a5568;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.section-label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.section-divider {
  border: none;
  border-top: 1px solid #e0e4ea;
  margin: 20px 0;
}

.pc-back-link {
  color: #8d979f;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
}

.pc-back-link:hover {
  color: #2b3640;
}

.pc-tiles-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  display: grid;
}

.pc-tile {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  text-decoration: none;
  transition: box-shadow .15s, border-color .15s;
  display: flex;
  box-shadow: 0 1px 2px #0000000d;
}

.pc-tile:hover {
  background: #fafafa;
  border-color: #c0c4cc;
}

.pc-tile-icon {
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.pc-tile-icon svg {
  stroke: #5b6a7a;
  fill: none;
  stroke-width: 1.3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 36px;
  height: 36px;
}

.pc-tile-title {
  color: #2b3640;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.pc-tile-meta {
  color: #8e95a5;
  text-align: center;
  margin-top: 2px;
  font-size: 10px;
}

.detail-tiles-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  display: grid;
}

.detail-tile {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  display: flex;
}

.detail-tile:hover {
  background: #fafafa;
  border-color: #c0c4cc;
}

.detail-tile-icon {
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}

.detail-tile-icon svg {
  stroke: #4a4d56;
  fill: none;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 28px;
  height: 28px;
}

.detail-tile-title {
  color: #3a3d45;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.create-modal-overlay {
  z-index: 500;
  background: #00000059;
  justify-content: center;
  align-items: center;
  display: none;
  position: fixed;
  inset: 0;
}

.create-modal-overlay.open {
  display: flex;
}

.create-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 1100px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 50px #0003;
}

.create-modal-header {
  border-bottom: 2px solid #e8eaee;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px 18px;
  display: flex;
}

.create-modal-header h3 {
  color: #3a3f51;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.create-modal-close {
  cursor: pointer;
  color: #6b757f;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 28px;
  line-height: 1;
  display: flex;
}

.create-modal-close:hover {
  color: #3a4754;
  background: #f0f2f5;
}

.create-modal-tiles {
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 30px 32px 40px;
  display: grid;
}

.create-modal-tile {
  cursor: pointer;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 10px;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.create-modal-tile:hover {
  background: #f5f7fa;
}

.create-modal-tile-icon {
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  display: flex;
}

.create-modal-tile-icon svg {
  stroke: #5b6a7a;
  fill: none;
  stroke-width: 1.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 42px;
  height: 42px;
}

.create-modal-tile-label {
  color: #3a3f51;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.detail-loading {
  justify-content: center;
  align-items: center;
  min-height: 300px;
  display: flex;
}

.detail-loading-spinner {
  border: 3px solid #e4e7ec;
  border-top-color: #5b6a7a;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: 1s linear infinite spin;
}

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

.detail-error {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
}

@media (max-width: 960px) {
  .pc-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-tiles-grid, .create-modal-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .detail-page {
    padding: 16px 20px;
  }

  .pc-tiles-grid {
    grid-template-columns: 1fr;
  }

  .detail-tiles-grid, .create-modal-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rp-type-selection {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
  display: grid;
}

.rp-type-tile {
  text-align: center;
  cursor: pointer;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  padding: 24px 20px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.rp-type-tile:hover {
  background: #f8fafb;
  border-color: #c8cdd2;
}

.rp-type-tile.active {
  background: #f0f4f7;
  border-color: #475969;
  box-shadow: 0 0 0 2px #4759691f;
}

.rp-type-tile-icon {
  color: #6b757f;
  background: #e9eef2;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
}

.rp-type-tile-title {
  color: #2b3640;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

.rp-type-tile-desc {
  color: #8d979f;
  font-size: 11px;
}

.rp-divider {
  border: none;
  border-top: 1px solid #e3e6e8;
  margin: 20px 0;
}

.rp-existing-picker {
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 24px;
}

.rp-existing-picker-title {
  color: #3a4754;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.rp-form-helper {
  color: #8d979f;
  margin-top: 2px;
  font-size: 11px;
}

.rp-prefilled-info {
  color: #8d979f;
  background: #f4f6f8;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  display: flex;
}

.rp-prefilled-info span {
  color: #6b757f;
  font-size: 12px;
}

.person-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
}

.person-card-header {
  border-bottom: 1px solid #eef0f2;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  display: flex;
}

.person-header-left {
  align-items: center;
  gap: 14px;
  display: flex;
}

.person-avatar {
  color: #8d979f;
  background: #e9eef2;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.person-header-info {
  flex-direction: column;
  display: flex;
}

.person-name {
  color: #2b3640;
  font-size: 17px;
  font-weight: 600;
}

.person-meta {
  color: #8d979f;
  margin-top: 2px;
  font-size: 12px;
}

.role-badge {
  color: #475969;
  background: #e9eef2;
  border-radius: 10px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.person-actions {
  gap: 12px;
  display: flex;
}

.person-actions button {
  cursor: pointer;
  color: #8d979f;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: color .15s;
  display: flex;
}

.person-actions button:hover {
  color: #475969;
}

.person-actions button.del-btn:hover {
  color: #d32f2f;
}

.person-card-body {
  padding: 6px 0;
}

.person-card-body .field-row {
  grid-template-columns: 1fr 1fr;
  padding: 0;
  display: grid;
}

.person-card-body .field-item {
  padding: 18px 28px;
}

.person-card-body .field-label {
  color: #8d979f;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 400;
}

.person-card-body .field-value {
  color: #2b3640;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.page-title-bar {
  background: #f5f6f7;
  border-bottom: 2px solid #b8d4d8;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px 16px;
  display: flex;
}

.page-title {
  color: #3a4754;
  font-size: 22px;
  font-weight: 600;
}

.page-title-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.circle-btn {
  color: #fff;
  cursor: pointer;
  background: #475969;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.circle-btn:hover {
  background: #3a4754;
}

.circle-btn svg {
  width: 16px;
  height: 16px;
}

.entity-list-content {
  padding: 24px 32px;
}

.entity-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
}

.entity-card:last-child {
  margin-bottom: 0;
}

.entity-card-header {
  border-bottom: 1px solid #eef0f2;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  display: flex;
}

.entity-header-left {
  align-items: center;
  gap: 14px;
  display: flex;
}

.entity-avatar {
  background: #e9eef2;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.entity-avatar svg {
  color: #8d979f;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5px;
  width: 22px;
  height: 22px;
}

.entity-name {
  color: #2b3640;
  font-size: 17px;
  font-weight: 600;
}

.entity-actions {
  gap: 12px;
  display: flex;
}

.entity-actions button {
  cursor: pointer;
  color: #8d979f;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: color .15s;
  display: flex;
}

.entity-actions button:hover {
  color: #475969;
}

.entity-actions button.del-btn:hover {
  color: #d32f2f;
}

.entity-actions button svg {
  width: 18px;
  height: 18px;
}

.entity-card-body {
  padding: 0;
  display: flex;
}

.entity-fields {
  flex: 1;
  padding: 6px 0;
}

.entity-field-row {
  grid-template-columns: 1fr 1fr;
  padding: 0;
  display: grid;
}

.entity-field-row.single {
  grid-template-columns: 1fr;
}

.entity-field-item {
  padding: 18px 28px;
}

.entity-field-label {
  color: #8d979f;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 400;
}

.entity-field-value {
  color: #2b3640;
  font-size: 15px;
  font-weight: 500;
}

.entity-field-value.empty {
  color: #c5c9d1;
  font-style: italic;
}

.profile-image-area {
  flex-shrink: 0;
  width: 220px;
  padding: 20px 24px 20px 0;
}

.profile-image-placeholder {
  background: #e9eef4;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
}

.profile-image-placeholder svg {
  color: #c0c8d0;
  width: 36px;
  height: 36px;
}

.map-area {
  flex-shrink: 0;
  width: 55%;
  padding: 20px 24px 20px 0;
}

.map-placeholder {
  background: #e9eef4;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.map-placeholder:before {
  content: "";
  background-color: #0000;
  background-image: linear-gradient(90deg, #c8d2dc4d 1px, #0000 1px), linear-gradient(0deg, #c8d2dc4d 1px, #0000 1px);
  background-position: 0 0, 0 0;
  background-repeat: repeat, repeat;
  background-size: 40px 40px;
  background-attachment: scroll, scroll;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  position: absolute;
  inset: 0;
}

.map-pin {
  z-index: 1;
  position: relative;
}

.location-details {
  flex: 1;
  padding: 24px 28px;
}

.location-address {
  color: #2b3640;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.location-contact {
  color: #2b3640;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
}

.entity-empty {
  text-align: center;
  color: #8e95a5;
  padding: 60px 30px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .entity-card-body {
    flex-direction: column;
  }

  .profile-image-area, .map-area {
    width: 100%;
    padding: 20px;
  }

  .entity-field-row {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
}

.doc-card:last-child {
  margin-bottom: 0;
}

.doc-card-header {
  border-bottom: 1px solid #eef0f2;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  display: flex;
}

.doc-header-left {
  align-items: center;
  gap: 14px;
  display: flex;
}

.doc-avatar {
  background: #e9eef2;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.doc-avatar svg {
  color: #8d979f;
  width: 22px;
  height: 22px;
}

.doc-header-info {
  flex-direction: column;
  display: flex;
}

.doc-name {
  color: #2b3640;
  font-size: 17px;
  font-weight: 600;
}

.doc-meta {
  color: #8d979f;
  margin-top: 2px;
  font-size: 12px;
}

.doc-actions {
  gap: 12px;
  display: flex;
}

.doc-actions button {
  cursor: pointer;
  color: #8d979f;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: color .15s;
  display: flex;
}

.doc-actions button:hover {
  color: #475969;
}

.doc-actions button.del-btn:hover {
  color: #d32f2f;
}

.doc-actions button svg {
  width: 18px;
  height: 18px;
}

.doc-card-body {
  padding: 6px 0;
}

.doc-field-item {
  padding: 18px 28px;
}

.doc-field-label {
  color: #8d979f;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 400;
}

.doc-field-value {
  color: #2b3640;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.ai-summary-label {
  color: #6b757f;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
}

.ai-summary-box {
  color: #475969;
  background: #f4f6f8;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.ai-summary-display {
  color: #8d979f;
  background: #f4f6f8;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  align-items: flex-start;
  gap: 10px;
  min-height: 60px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
}

.ai-summary-display svg {
  color: #8d979f;
  flex-shrink: 0;
}

.file-upload-area {
  text-align: center;
  cursor: pointer;
  background: #fafbfc;
  border: 2px dashed #d4d8de;
  border-radius: 8px;
  padding: 40px 24px;
  transition: border-color .15s, background .15s;
  display: block;
}

.file-upload-area:hover, .file-upload-area.drag-over {
  background: #f5f6f8;
  border-color: #5b6a7a;
}

.file-upload-icon {
  color: #8d979f;
  margin-bottom: 12px;
}

.file-upload-icon svg {
  width: 40px;
  height: 40px;
}

.file-upload-text {
  color: #475969;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
}

.file-upload-browse {
  color: #5a8abf;
  font-weight: 600;
  text-decoration: underline;
}

.file-upload-hint {
  color: #8d979f;
  margin-top: 6px;
  font-size: 12px;
}

.file-upload-input {
  display: none;
}

.file-selected {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  display: flex;
}

.file-selected-name {
  color: #2b3640;
  font-size: 14px;
  font-weight: 500;
}

.file-selected-size {
  color: #8d979f;
  font-size: 12px;
}

.info-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px #0000001a;
}

.info-card-header {
  border-bottom: 1px solid #eef0f2;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  display: flex;
}

.info-card-body {
  padding: 20px 24px;
}

.info-notes {
  color: #2b3640;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
}

.info-notes:last-child {
  margin-bottom: 0;
}

.info-images-section {
  margin-bottom: 24px;
}

.info-section-label {
  color: #6b757f;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
}

.info-images-grid {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  display: grid;
}

.info-images-grid .info-image-item {
  aspect-ratio: 1;
  background: #e9eef4;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.info-images-grid .info-image-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.info-urls-section {
  margin-bottom: 24px;
}

.info-urls-section:last-child {
  margin-bottom: 0;
}

.info-url-item {
  border-bottom: 1px solid #eef0f2;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  display: flex;
}

.info-url-item:last-child {
  border-bottom: none;
}

.info-url-item svg {
  color: #8d979f;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.info-url-link {
  color: #5a8abf;
  word-break: break-all;
  font-size: 14px;
  text-decoration: none;
}

.info-url-link:hover {
  text-decoration: underline;
}

.info-accordion {
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.info-accordion:last-child {
  margin-bottom: 0;
}

.info-accordion-header {
  cursor: pointer;
  background: #f8f9fb;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  display: flex;
}

.info-accordion-add {
  color: #fff;
  cursor: pointer;
  background: #5b6a7a;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  transition: background .15s;
  display: flex;
}

.info-accordion-content {
  background: #fff;
  padding: 16px 18px;
}

.image-upload-grid {
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  display: grid;
}

.image-upload-item {
  aspect-ratio: 1;
  cursor: pointer;
  background: #f4f6f8;
  border: 1px dashed #d4d8de;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  transition: border-color .15s, background .15s;
  display: flex;
}

.image-upload-item:hover {
  background: #eef0f3;
  border-color: #5b6a7a;
}

.image-upload-item svg {
  color: #8d979f;
  width: 24px;
  height: 24px;
}

.image-preview-item {
  aspect-ratio: 1;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.image-preview-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.image-preview-remove {
  color: #fff;
  cursor: pointer;
  background: #00000080;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  display: flex;
  position: absolute;
  top: 4px;
  right: 4px;
}

.url-input-row {
  gap: 10px;
  margin-bottom: 10px;
  display: flex;
}

.url-input-row:last-child {
  margin-bottom: 0;
}

.url-input-row .form-input {
  flex: 1;
}

.url-remove-btn {
  color: #dc2626;
  cursor: pointer;
  background: #fef2f2;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

.url-remove-btn:hover {
  background: #fecaca;
}

.expandable-row {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: box-shadow .15s;
  overflow: hidden;
}

.expandable-row:last-child {
  margin-bottom: 0;
}

.expandable-row.open {
  box-shadow: 0 2px 8px #00000014;
}

.expandable-row-header {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  transition: background .15s;
  display: flex;
}

.expandable-row-header:hover {
  background: #f8f9fb;
}

.expandable-row-left {
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.expandable-row-chevron {
  color: #8d979f;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform .2s;
}

.expandable-row.open .expandable-row-chevron {
  transform: rotate(90deg);
}

.expandable-row-title {
  color: #2b3640;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
}

.expandable-row-meta {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: flex;
}

.topic-badge {
  text-transform: capitalize;
  border-radius: 12px;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.topic-badge.general {
  color: #4338ca;
  background: #e0e7ff;
}

.topic-badge.follow-up {
  color: #b45309;
  background: #fef3c7;
}

.topic-badge.review {
  color: #1d4ed8;
  background: #dbeafe;
}

.topic-badge.planning {
  color: #047857;
  background: #d1fae5;
}

.topic-badge.technical {
  color: #6d28d9;
  background: #ede9fe;
}

.topic-badge.commercial {
  color: #be185d;
  background: #fce7f3;
}

.priority-badge {
  border-radius: 12px;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.priority-badge.high, .priority-badge.urgent {
  color: #dc2626;
  background: #fef2f2;
}

.priority-badge.medium {
  color: #b45309;
  background: #fef3c7;
}

.priority-badge.low {
  color: #047857;
  background: #d1fae5;
}

.status-badge {
  border-radius: 12px;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.status-badge.open {
  color: #1d4ed8;
  background: #dbeafe;
}

.status-badge.in-progress {
  color: #b45309;
  background: #fef3c7;
}

.status-badge.completed, .status-badge.resolved {
  color: #047857;
  background: #d1fae5;
}

.status-badge.pending {
  color: #6b7280;
  background: #f3f4f6;
}

.meta-chip {
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 12px;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  display: inline-flex;
}

.meta-chip svg {
  width: 12px;
  height: 12px;
}

.expandable-row-detail {
  padding: 0 20px 20px 52px;
  display: none;
}

.expandable-row.open .expandable-row-detail {
  display: block;
}

.expandable-detail-content {
  color: #475969;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.expandable-detail-content:last-child {
  margin-bottom: 0;
}

.expandable-detail-actions {
  border-top: 1px solid #eef0f2;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
}

.expandable-detail-actions button {
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s;
  display: flex;
}

.expandable-detail-actions .edit-btn {
  color: #475969;
  background: #f3f4f6;
  border: none;
}

.expandable-detail-actions .edit-btn:hover {
  background: #e5e7eb;
}

.expandable-detail-actions .del-btn {
  color: #dc2626;
  background: #fef2f2;
  border: none;
}

.expandable-detail-actions .del-btn:hover {
  background: #fecaca;
}

.tiles-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  display: grid;
}

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

@media (max-width: 768px) {
  .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.box-tile {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 14px;
  text-decoration: none;
  transition: box-shadow .15s, border-color .15s, background .15s;
  display: flex;
  box-shadow: 0 1px 2px #0000000d;
}

.box-tile:hover {
  background: #fafafa;
  border-color: #c0c4cc;
  box-shadow: 0 3px 10px #0000001a;
}

.box-tile-icon {
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
}

.box-tile-icon svg {
  stroke: #5b6a7a;
  fill: none;
  stroke-width: 1.3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 38px;
  height: 38px;
}

.box-tile-name {
  color: #2b3640;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.box-tile-meta {
  color: #8e95a5;
  text-align: center;
  font-size: 11px;
}

.rich-text-wrap {
  border: 1px solid #d4d8de;
  border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}

.rich-text-wrap:focus-within {
  border-color: #5b6a7a;
  box-shadow: 0 0 0 2px #5b6a7a1f;
}

.rich-text-toolbar {
  background: #f8f9fb;
  border-bottom: 1px solid #e8eaed;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  display: flex;
}

.toolbar-btn {
  cursor: pointer;
  color: #57616b;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 28px;
  font-family: inherit;
  font-size: 13px;
  transition: background .12s, color .12s;
  display: flex;
}

.toolbar-btn:hover {
  color: #3a4754;
  background: #e9ecef;
}

.toolbar-btn.bold {
  font-weight: 700;
}

.toolbar-btn.italic {
  font-style: italic;
}

.toolbar-btn.underline {
  text-decoration: underline;
}

.toolbar-sep {
  background: #dde0e4;
  width: 1px;
  height: 18px;
  margin: 0 4px;
}

.rich-text-wrap .form-textarea {
  resize: vertical;
  border: none;
  border-top: 1px solid #e8eaed;
  border-radius: 0;
  width: 100%;
  min-height: 140px;
  display: block;
}

.rich-text-wrap .form-textarea:focus {
  box-shadow: none;
  outline: none;
}

.info-accordion-panel {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.info-accordion-panel:last-child {
  margin-bottom: 0;
}

.info-accordion-header {
  cursor: pointer;
  color: #3a3f51;
  background: #f8f9fb;
  border: none;
  border-bottom: 1px solid #e4e7ec;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  display: flex;
}

.info-accordion-header:hover {
  background: #f0f2f5;
}

.info-accordion-header svg:last-child {
  transition: transform .2s;
}

.info-accordion-header.open svg:last-child {
  transform: rotate(180deg);
}

.info-accordion-title {
  color: #3a3f51;
  font-size: 13px;
  font-weight: 600;
}

.info-accordion-add {
  color: #fff;
  cursor: pointer;
  background: #5b6a7a;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 16px;
  line-height: 1;
  transition: background .15s;
  display: flex;
}

.info-accordion-add:hover {
  background: #4a5768;
}

.info-accordion-body {
  min-height: 50px;
  padding: 12px 16px;
}

.info-accordion-empty {
  color: #98a2b3;
  text-align: center;
  padding: 10px;
  font-size: 12px;
}

.info-item {
  background: #f5f6f8;
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px;
  transition: background .15s, border .15s;
  display: flex;
}

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

.info-item.editing {
  background: #fff;
  border: 1px solid #5b6a7a;
}

.info-item-preview {
  background: #e0e4e8;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  display: flex;
  overflow: hidden;
}

.info-item-preview svg {
  color: #8d979f;
}

.info-item-preview img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

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

.info-item-title {
  color: #3a3f51;
  word-break: break-word;
  margin-bottom: 2px;
  font-size: 13px;
}

.info-item-link {
  color: #3b82f6;
  word-break: break-all;
  font-size: 12px;
  text-decoration: none;
}

.info-item-link:hover {
  text-decoration: underline;
}

.info-item-input {
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  outline: none;
  flex: 1;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  transition: border-color .15s;
}

.info-item-input:focus {
  border-color: #5b6a7a;
}

.info-item-actions {
  flex-shrink: 0;
  gap: 6px;
  display: flex;
}

.info-item-btn {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 15px;
  transition: background .15s, color .15s;
  display: flex;
}

.info-item-btn.save {
  color: #fff;
  background: #10b981;
}

.info-item-btn.save:hover {
  background: #059669;
}

.info-item-btn.cancel {
  color: #fff;
  background: #ef4444;
}

.info-item-btn.cancel:hover {
  background: #dc2626;
}

.info-item-btn.edit {
  color: #667085;
  background: none;
}

.info-item-btn.edit:hover {
  color: #5b6a7a;
}

.info-item-btn.delete {
  color: #98a2b3;
  background: none;
}

.info-item-btn.delete:hover {
  color: #ef4444;
}

.info-item-label {
  color: #344054;
  font-size: 13px;
  font-weight: 500;
}

.info-item-value {
  color: #667085;
  word-break: break-all;
  font-size: 12px;
}

.info-add-btn {
  color: #5b6a7a;
  cursor: pointer;
  background: none;
  border: 1px dashed #d0d5dd;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  display: inline-flex;
}

.info-add-btn:hover {
  background: #f9fafb;
  border-color: #5b6a7a;
}

.info-add-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.info-accordion .info-images-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.info-accordion .info-image-item {
  background: #f5f6f8;
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  display: flex;
}

.info-accordion .info-image-item.editing {
  background: #fff;
  border: 1px solid #5b6a7a;
}

.info-accordion .info-url-item {
  background: #f5f6f8;
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px;
  display: flex;
}

.info-accordion .info-url-item:last-child {
  margin-bottom: 0;
}

.info-accordion .info-url-item.editing {
  background: #fff;
  border: 1px solid #5b6a7a;
}

.info-accordion .img-placeholder {
  background: #e0e4e8;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}

.info-accordion .img-placeholder svg {
  color: #8d979f;
}

.info-accordion .info-item-url {
  color: #3b82f6;
  word-break: break-all;
  font-size: 12px;
  text-decoration: none;
}

.info-accordion .info-item-url:hover {
  text-decoration: underline;
}

.info-images-list-view {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.info-image-link-item {
  cursor: pointer;
  background: #f5f6f8;
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.info-image-link-item:hover {
  background: #ebedf0;
}

.info-image-link-thumb {
  background: #e0e4e8;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
  overflow: hidden;
}

.info-image-link-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.info-image-link-thumb svg {
  color: #8d979f;
}

.info-image-link-name {
  color: #3a3f51;
  word-break: break-word;
  font-size: 13px;
  font-weight: 500;
}

.er-checkbox-group {
  gap: 24px;
  padding: 4px 0;
  display: flex;
}

.er-checkbox-item {
  cursor: pointer;
  color: #3a3f51;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  display: flex;
}

.er-checkbox-item input[type="checkbox"] {
  accent-color: #5b6a7a;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.er-doc-selection {
  border: 1px solid #d4d8de;
  border-radius: 6px;
  overflow: hidden;
}

.er-doc-selection-header {
  background: #f8f9fb;
  border-bottom: 1px solid #e8eaed;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  display: flex;
}

.er-doc-selection-title {
  color: #5f6d7e;
  font-size: 13px;
  font-weight: 500;
}

.er-doc-upload-btn {
  color: #5b6a7a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d4d8de;
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: background .12s;
  display: inline-flex;
}

.er-doc-upload-btn:hover {
  background: #f0f2f5;
}

.er-doc-upload-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.er-doc-list {
  padding: 0;
}

.er-doc-item {
  color: #3a3f51;
  cursor: pointer;
  border-bottom: 1px solid #f0f2f5;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  transition: background .1s;
  display: flex;
}

.er-doc-item:last-child {
  border-bottom: none;
}

.er-doc-item:hover {
  background: #f8f9fb;
}

.er-doc-item input[type="checkbox"] {
  accent-color: #5b6a7a;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.er-doc-item-icon {
  color: #8e95a5;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  display: flex;
}

.er-doc-item-name {
  flex: 1;
}

.er-doc-item-size {
  color: #8e95a5;
  font-size: 12px;
}

.er-doc-empty {
  color: #9ca3af;
  padding: 16px 14px;
  font-size: 13px;
}

.er-approvers-wrap {
  border: 1px solid #d4d8de;
  border-radius: 6px;
  overflow: hidden;
}

.er-approvers-search {
  background: #f8f9fb;
  border-bottom: 1px solid #e8eaed;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  display: flex;
}

.er-approvers-search svg {
  color: #8e95a5;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.er-approvers-search input {
  color: #3a3f51;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 13px;
}

.er-approvers-search input::placeholder {
  color: #a2abb3;
}

.er-approvers-list {
  max-height: 200px;
  overflow-y: auto;
}

.er-approver-item {
  cursor: pointer;
  border-bottom: 1px solid #f0f2f5;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  transition: background .1s;
  display: flex;
}

.er-approver-item:last-child {
  border-bottom: none;
}

.er-approver-item:hover {
  background: #f8f9fb;
}

.er-approver-item input[type="checkbox"] {
  accent-color: #5b6a7a;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.er-approver-avatar {
  color: #fff;
  background: #5f6d7e;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.er-approver-info {
  flex: 1;
}

.er-approver-name {
  color: #3a3f51;
  font-size: 13px;
  font-weight: 500;
}

.er-approver-email {
  color: #8e95a5;
  font-size: 12px;
}

.er-approver-chips {
  background: #fff;
  border-top: 1px solid #e8eaed;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  display: flex;
}

.er-approver-chip {
  color: #475969;
  background: #e9eef2;
  border-radius: 12px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

.er-approver-chip-remove {
  cursor: pointer;
  color: #8e95a5;
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  transition: background .12s, color .12s;
  display: flex;
}

.er-approver-chip-remove:hover {
  color: #3a3f51;
  background: #d0d5dd;
}

.est-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 40px;
}

.est-page-content {
  width: 100%;
}

.est-page-header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  display: flex;
}

.est-page-title {
  color: #2b3640;
  font-size: 20px;
  font-weight: 700;
}

.est-page-subtitle {
  color: #6b757f;
  margin-top: 4px;
  font-size: 13px;
}

.est-btn-add {
  cursor: pointer;
  color: #fff;
  background: #475969;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 113px;
  height: 45px;
  padding: 8px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s;
  display: inline-flex;
}

.est-btn-add:hover {
  background: #3a4754;
}

.est-btn-add svg {
  width: 16px;
  height: 16px;
}

.est-status-tabs {
  border-bottom: 1px solid #e0e4ea;
  gap: 0;
  margin-bottom: 20px;
  display: flex;
  overflow-x: auto;
}

.est-status-tab {
  color: #8e95a5;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 6px;
  margin-bottom: -1px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  display: flex;
}

.est-status-tab.active {
  color: #3a3f51;
  border-bottom-color: #3a3f51;
}

.est-status-tab:hover:not(.active) {
  color: #5f6d7e;
}

.est-tab-dot {
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.est-tab-dot.dot-blue {
  background: #5a8abf;
}

.est-tab-dot.dot-amber {
  background: #d4a017;
}

.est-tab-dot.dot-green {
  background: #38a169;
}

.est-tab-dot.dot-red {
  background: #c0392b;
}

.est-accordion {
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.est-accordion-header {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  align-items: stretch;
  transition: background .12s;
  display: flex;
}

.est-accordion-header:hover {
  background: #fafbfc;
}

.edh-left {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 6px;
  padding: 16px 20px;
  display: flex;
}

.edh-title-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.edh-icon {
  background: #5f6d7e;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: flex;
}

.edh-icon svg {
  stroke: #fff;
  fill: none;
  width: 14px;
  height: 14px;
}

.edh-title {
  color: #3a3f51;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.edh-created {
  color: #8e95a5;
  padding-left: 40px;
  font-size: 12px;
}

.edh-meta {
  border-left: 1px solid #eef0f3;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 280px;
  padding: 16px 24px;
  font-size: 13px;
  display: flex;
}

.edh-meta-row {
  gap: 10px;
  display: flex;
}

.edh-meta-label {
  color: #5f6d7e;
  min-width: 120px;
  font-weight: 500;
}

.edh-meta-value {
  color: #3a3f51;
  font-weight: 600;
}

.edh-right {
  border-left: 1px solid #eef0f3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-width: 120px;
  padding: 16px 24px;
  display: flex;
}

.edh-days {
  color: #3a3f51;
  font-size: 22px;
  font-weight: 700;
}

.edh-days-unit {
  color: #5f6d7e;
  font-size: 14px;
  font-weight: 400;
}

.edh-status-text {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
}

.edh-type-badge {
  color: #5f6d7e;
  white-space: nowrap;
  background: #f0f2f5;
  border-radius: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
}

.edh-chevron {
  color: #8e95a5;
  justify-content: center;
  align-self: stretch;
  align-items: flex-end;
  padding: 0 16px 14px;
  display: flex;
}

.edh-chevron svg {
  width: 18px;
  height: 18px;
  transition: transform .2s;
}

.est-accordion.collapsed .edh-chevron svg {
  transform: rotate(180deg);
}

.est-accordion-body {
  border-top: 1px solid #e0e4ea;
}

.est-accordion.collapsed .est-accordion-body {
  display: none;
}

.edv-tab-bar {
  border-bottom: 1px solid #e0e4ea;
  align-items: center;
  padding: 0 20px;
  display: flex;
}

.edv-tabs {
  flex: 1;
  gap: 0;
  display: flex;
}

.edv-tab {
  color: #8e95a5;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  margin-bottom: -1px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
}

.edv-tab.active {
  color: #3a3f51;
  border-bottom-color: #3a3f51;
}

.edv-tab:hover:not(.active) {
  color: #5f6d7e;
}

.edv-toolbar {
  align-items: center;
  gap: 6px;
  display: flex;
}

.edv-tool-btn {
  cursor: pointer;
  color: #5f6d7e;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: all .15s;
  display: flex;
}

.edv-tool-btn:hover {
  color: #3a3f51;
  background: #f0f2f5;
}

.edv-tool-btn svg {
  width: 15px;
  height: 15px;
}

.est-tool-delete:hover {
  color: #c0392b;
  border-color: #c0392b;
}

.edv-tool-sep {
  background: #e0e4ea;
  width: 1px;
  height: 20px;
  margin: 0 4px;
}

.edv-pane {
  padding: 20px;
  display: none;
}

.edv-pane.active {
  display: block;
}

.est-desc-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.est-desc-item {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.est-desc-item.full-w {
  grid-column: span 2;
}

.est-desc-lbl {
  color: #8e95a5;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 11px;
  font-weight: 600;
}

.est-desc-val {
  color: #3a3f51;
  font-size: 13px;
  line-height: 1.5;
}

.pane-empty {
  text-align: center;
  color: #8e95a5;
  padding: 40px 0;
  font-size: 14px;
}

@media (max-width: 960px) {
  .edh-meta {
    display: none;
  }

  .edh-right {
    min-width: 80px;
    padding: 12px 14px;
  }

  .est-page {
    padding: 16px 20px;
  }
}

.dash-main {
  flex-direction: column;
  gap: 20px;
  padding: 0;
  display: flex;
}

.dash-row {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}

.dash-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 2px #0000000d;
}

.card-hdr {
  align-items: center;
  margin-bottom: 18px;
  display: flex;
}

.card-hdr-title {
  color: #2b3640;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
}

.card-hdr-link {
  color: #5f8a8f;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
}

.card-hdr-link:hover {
  color: #4a7478;
}

.card-hdr-icon {
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  display: flex;
}

.card-hdr-icon svg {
  width: 18px;
  height: 18px;
}

.icon-warn {
  color: #d4a017;
  background: #fef3cd;
}

.icon-edit {
  color: #38a169;
  background: #d4edda;
}

.icon-question {
  color: #5a8abf;
  background: #e0e8f5;
}

.icon-agenda {
  color: #7c5bbf;
  background: #ede0f5;
}

.icon-minutes {
  color: #c97a3a;
  background: #fde8d8;
}

.icon-message {
  color: #4a8a8f;
  background: #ddf0f0;
}

.attn-list {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.attn-item {
  border: 1px solid #f0f2f5;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px 14px;
  transition: background .12s;
  display: flex;
}

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

.attn-item:hover {
  background: #fafbfc;
}

.attn-item-text {
  color: #3a4754;
  font-size: 14px;
}

.attn-badge {
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.badge-red {
  background: #e07070;
}

.badge-amber {
  background: #d4a017;
}

.badge-blue {
  background: #5a8abf;
}

.badge-gray {
  background: #8e95a5;
}

.prospect-list {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.prospect-entry {
  border-bottom: 1px solid #f0f2f5;
  padding: 8px 0;
}

.prospect-entry:last-child {
  border-bottom: none;
}

.prospect-name {
  color: #5f8a8f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.prospect-name:hover {
  color: #4a7478;
  text-decoration: underline;
}

.prospect-meta {
  color: #6b757f;
  margin-top: 2px;
  font-size: 12px;
}

.count-body {
  flex-direction: column;
  display: flex;
}

.count-row {
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  display: flex;
}

.count-number {
  color: #5f8a8f;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.count-alert {
  align-items: center;
  gap: 6px;
  display: flex;
}

.count-alert-icon {
  color: #5f8a8f;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.count-alert-text {
  color: #5f8a8f;
  font-size: 13px;
  font-weight: 500;
}

.count-subtitle {
  color: #6b757f;
  font-size: 13px;
}

@media (max-width: 900px) {
  .dash-row {
    grid-template-columns: 1fr;
  }
}

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