<style>
  .admin-folder-name-cell {
    min-width: 320px;
    vertical-align: top;
  }
  .admin-contact-panel-block {
    margin: 1rem 0 1.25rem;
    max-width: 560px;
  }
  .admin-contact-panel-block .admin-contact-accordion {
    max-width: none;
  }

  .admin-contact-accordion {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    margin-top: 0.65rem;
    overflow: hidden;
    max-width: 520px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    width:100%;
  }

  .admin-contact-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid transparent;
    transition: background 0.15s ease;
  }
  .admin-contact-accordion[open] > .admin-contact-accordion-summary {
    border-bottom-color: #e2e8f0;
  }
  .admin-contact-accordion-summary:hover {
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  }
  .admin-contact-accordion-summary::-webkit-details-marker { display: none; }

  .admin-contact-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
  }
  .admin-contact-summary-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
  }
  .admin-contact-summary-meta {
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-contact-accordion-summary::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    flex: 0 0 auto;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  }
  .admin-contact-accordion[open] > .admin-contact-accordion-summary::after {
    content: '−';
    color: #2563eb;
    border-color: #bfdbfe;
    background: #eff6ff;
  }

  .admin-contact-accordion-body {
    padding: 1.1rem 1rem 1.15rem;
    background: #fff;
  }

  .admin-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
  }
  .admin-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .admin-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
  }

  .admin-contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.01em;
  }

  .admin-contact-input,
  .admin-contact-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.62rem 0.75rem;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
  }
  .admin-contact-input::placeholder,
  .admin-contact-textarea::placeholder {
    color: #94a3b8;
  }
  .admin-contact-input:focus,
  .admin-contact-textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }
  .admin-contact-input--readonly {
    background: #f8fafc;
    color: #475569;
    cursor: default;
  }
  .admin-contact-input--readonly:focus {
    border-color: #cbd5e1;
    box-shadow: none;
  }

  .admin-contact-textarea {
    min-height: 4.5rem;
    resize: vertical;
  }

  .admin-contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eef2f7;
  }

  .admin-contact-form-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
  }
  .admin-contact-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 600;
  }
  .admin-contact-note {
    font-size: 0.74rem;
    color: #64748b;
  }

  .admin-contact-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid #2563eb;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
    transition: background 0.15s ease, transform 0.1s ease;
    font-family: inherit;
  }
  .admin-contact-save-btn:hover {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  }
  .admin-contact-save-btn:active {
    transform: translateY(1px);
  }

  @media (max-width: 640px) {
    .admin-contact-form-row {
      grid-template-columns: 1fr;
    }
    .admin-contact-accordion {
      max-width: 100%;
    }
    .admin-contact-form-footer {
      flex-direction: column;
      align-items: stretch;
    }
    .admin-contact-save-btn {
      width: 100%;
    }
  }
</style>
