﻿* { box-sizing: border-box; }
    body { margin: 0; font-family: 'Archivo', sans-serif; color: var(--grey-900); background: var(--grey-0); min-height: 100vh; }

    .layout { display: flex; min-height: 100vh; }

    .sidebar {
      width: 272px; flex-shrink: 0; background: var(--grey-0); border-right: 1px solid var(--grey-100);
      display: flex; flex-direction: column; transition: width 0.2s ease;
    }
    .sidebar.is-collapsed { width: 80px; }
    .sidebar.is-collapsed .sidebar__title, .sidebar.is-collapsed .sidebar__search,
    .sidebar.is-collapsed .sidebar__nav-label, .sidebar.is-collapsed .sidebar__nav-link-text {
      overflow: hidden; opacity: 0; width: 0; padding: 0; margin: 0; pointer-events: none; white-space: nowrap;
    }
    .sidebar.is-collapsed .sidebar__header { padding: 12px 8px; justify-content: center; }
    .sidebar.is-collapsed .sidebar__nav-link { justify-content: center; padding: 0 8px; }
    .sidebar.is-collapsed .sidebar__nav-section { padding: 0 8px; }
    .sidebar__header { padding: 12px 16px; border-bottom: 1px solid var(--grey-100); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .sidebar__logo { width: 32px; height: 32px; background: var(--primary-500); border: 1px solid var(--primary-600); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .sidebar__logo img { width: 20px; height: 20px; object-fit: contain; }
    .sidebar__title { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--grey-900); white-space: nowrap; }
    .sidebar__collapse { width: 24px; height: 24px; border: 1px solid var(--grey-100); border-radius: 6px; background: var(--grey-0); cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform 0.2s ease; }
    .sidebar.is-collapsed .sidebar__collapse { transform: rotate(180deg); }
    .sidebar__search { margin: 20px 16px 0; height: 40px; padding: 8px 12px; border: 1px solid var(--grey-100); border-radius: 8px; display: flex; align-items: center; gap: 8px; background: var(--grey-0); }
    .sidebar.is-collapsed .sidebar__search { margin: 20px 8px 0; width: 48px; min-width: 48px; padding: 8px; justify-content: center; }
    .sidebar.is-collapsed .sidebar__search input, .sidebar.is-collapsed .sidebar__search kbd { display: none; }
    .sidebar__search input { flex: 1; min-width: 0; border: none; background: none; font: 400 14px/1.5 Archivo; color: var(--grey-900); }
    .sidebar__search input::placeholder { color: var(--grey-400); }
    .sidebar__search kbd { font-family: inherit; font-size: 12px; color: var(--grey-400); background: var(--grey-50); padding: 2px 4px; border-radius: 4px; }
    .sidebar__nav { flex: 1; padding: 8px 16px 16px; overflow-y: auto; }
    .sidebar.is-collapsed .sidebar__nav { padding: 8px 8px 16px; }
    .sidebar__nav-section { margin-bottom: 16px; }
    .sidebar__nav-label { font-size: 12px; font-weight: 500; color: var(--grey-300); letter-spacing: 0.24px; padding: 4px 12px; margin-bottom: 2px; }
    .sidebar__nav-link { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 16px; font-weight: 500; color: var(--grey-500); text-decoration: none; margin-bottom: 2px; }
    .sidebar__nav-link:hover { background: var(--grey-25); color: var(--grey-900); }
    .sidebar__nav-link.is-active { background: var(--grey-25); color: var(--primary-500); }
    .sidebar__nav-link.logout { color: var(--error-100); }
    .sidebar__nav-icon { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; }
    .sidebar__nav-link-text { white-space: nowrap; }

    .main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 24px 24px; }
    .breadcrumbs { font-size: 14px; font-weight: 500; color: var(--grey-400); }
    .breadcrumbs span { color: var(--grey-900); }
    .main__profile { display: flex; align-items: center; gap: 8px; }
    .main__profile-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
    .main__profile-name { font-size: 12px; font-weight: 600; color: var(--grey-900); }
    .main__profile-role { font-size: 12px; font-weight: 400; color: var(--grey-500); }

    .settings-header { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; margin-bottom: 24px; }
    .settings-header__title { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--grey-900); margin: 0; }
    .btn { height: 40px; padding: 0 16px; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; }
    .btn--primary { background: var(--primary-500); color: var(--grey-0); border-color: var(--primary-600); box-shadow: 0 1px 2px 0 rgba(13,13,18,0.06); }

    .settings-content { background: var(--grey-0); border: 1px solid var(--grey-100); border-radius: 16px; overflow: hidden; display: flex; min-height: 400px; }
    .settings-nav { width: 200px; flex-shrink: 0; border-right: 1px solid var(--grey-100); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
    .settings-nav__item { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--grey-500); text-decoration: none; border: 1px solid transparent; background: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit; }
    .settings-nav__item:hover { color: var(--grey-900); }
    .settings-nav__item.is-active { background: var(--grey-25); border-color: var(--grey-100); color: var(--grey-900); font-weight: 600; }

    .settings-form { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .settings-form__section { display: flex; gap: 24px; padding: 24px; border-bottom: 1px solid var(--grey-100); align-items: flex-start; }
    .settings-form__section:last-child { border-bottom: none; }
    .settings-form__head { flex: 0 0 300px; }
    .settings-form__title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--grey-900); margin: 0 0 4px; }
    .settings-form__desc { font-size: 14px; font-weight: 500; color: var(--grey-500); margin: 0; }
    .settings-form__fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
    .settings-form__row { display: flex; gap: 16px; }
    .settings-form__row .field { flex: 1; min-width: 0; }
    .settings-form__row .field--postal { flex: 0 0 200px; }
    .field { display: flex; flex-direction: column; gap: 8px; }
    .field__label { font-size: 14px; font-weight: 500; color: var(--grey-500); }
    .field__label .required { color: var(--error-100); margin-left: 2px; }
    .field__input { height: 52px; padding: 8px 12px; border: 1px solid var(--grey-100); border-radius: 12px; font: 400 16px/1.5 Archivo; color: var(--grey-900); background: var(--grey-0); width: 100%; }
    .field__input::placeholder { color: var(--grey-400); }
    .field__select { height: 52px; padding: 8px 12px; border: 1px solid var(--grey-100); border-radius: 12px; font: 400 16px/1.5 Archivo; color: var(--grey-900); background: var(--grey-0); width: 100%; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666d80' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
  


