/* ShiftNevis personnel mobile app v1 — canonical phone layout. */
@media (max-width: 760px) {
  body:has(.personnel-mobile-app) {
    background: #f7f5fb;
  }

  body:has(.personnel-mobile-app) .content {
    padding: 8px 8px calc(86px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body:has(.personnel-mobile-app) .dashboard-footer,
  body:has(.personnel-mobile-app) .footer,
  body:has(.personnel-mobile-app) .back-to-top {
    display: none !important;
  }

  .personnel-mobile-app,
  .personnel-mobile-app * {
    box-sizing: border-box;
  }

  .personnel-mobile-app {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 10px;
    color: #2b2335;
  }

  .personnel-mobile-overview,
  .personnel-mobile-roster,
  .personnel-mobile-section,
  .personnel-mobile-detail__head,
  .personnel-mobile-danger,
  .personnel-mobile-person-requests {
    width: 100%;
    min-width: 0;
    border: 1px solid #e5ddef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(31, 23, 56, .04);
  }

  .personnel-mobile-overview {
    padding: 12px;
    border-color: #ddcff7;
    background: linear-gradient(145deg, #fff, #f8f4ff);
  }

  .personnel-mobile-overview__top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
  }

  .personnel-mobile-overview__icon,
  .personnel-mobile-detail__avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #6d28d9;
    background: #efe7ff;
    font-size: 16px;
  }

  .personnel-mobile-overview__top > div,
  .personnel-mobile-detail__head > div {
    min-width: 0;
  }

  .personnel-mobile-overview__top small,
  .personnel-mobile-overview__top b,
  .personnel-mobile-overview__top div > span,
  .personnel-mobile-detail__head small,
  .personnel-mobile-detail__head b,
  .personnel-mobile-detail__head div > span {
    display: block;
  }

  .personnel-mobile-overview__top small,
  .personnel-mobile-detail__head small {
    color: #7c3aed;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 900;
  }

  .personnel-mobile-overview__top b,
  .personnel-mobile-detail__head b {
    margin-top: 2px;
    overflow: hidden;
    color: #241d2e;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .personnel-mobile-overview__top div > span,
  .personnel-mobile-detail__head div > span {
    margin-top: 3px;
    overflow: hidden;
    color: #847b8e;
    font-size: 8px;
    line-height: 1.5;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .personnel-mobile-overview__save,
  .personnel-mobile-detail__save {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border-radius: 999px;
    color: #08734c;
    background: #eaf9f2;
    font-size: 7.5px;
    font-weight: 900;
    white-space: nowrap;
  }

  .personnel-mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .personnel-mobile-stats > span {
    min-width: 0;
    padding: 8px 5px;
    border: 1px solid #ebe4f3;
    border-radius: 12px;
    background: rgba(255,255,255,.78);
    text-align: center;
  }

  .personnel-mobile-stats small,
  .personnel-mobile-stats b {
    display: block;
  }

  .personnel-mobile-stats small {
    overflow: hidden;
    color: #8b8295;
    font-size: 7px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .personnel-mobile-stats b {
    margin-top: 3px;
    font-size: 9.5px;
    font-weight: 950;
  }

  .personnel-mobile-groups {
    width: 100%;
    min-width: 0;
    display: flex;
    gap: 6px;
    padding: 2px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .personnel-mobile-groups::-webkit-scrollbar { display: none; }

  .personnel-mobile-groups button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #e1d8ec;
    border-radius: 11px;
    color: #665b73;
    background: #fff;
    font: inherit;
    font-size: 8.5px;
    font-weight: 900;
    white-space: nowrap;
  }

  .personnel-mobile-groups button.is-active {
    border-color: #cdb7f8;
    color: #6d28d9;
    background: #f2ebff;
  }

  .personnel-mobile-groups button.is-add {
    color: #08734c;
    background: #eefaf5;
  }

  .personnel-mobile-roster {
    padding: 12px;
  }

  .personnel-mobile-roster__head,
  .personnel-mobile-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .personnel-mobile-roster__head {
    margin-bottom: 10px;
  }

  .personnel-mobile-roster__head span,
  .personnel-mobile-section__head span {
    display: block;
    color: #7c3aed;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 900;
  }

  .personnel-mobile-roster__head h2,
  .personnel-mobile-section__head h3 {
    margin: 2px 0 0;
    color: #261e30;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 950;
  }

  .personnel-mobile-roster__head > button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid #d4c1f8;
    border-radius: 11px;
    color: #fff;
    background: #7c3aed;
    font: inherit;
    font-size: 8.5px;
    font-weight: 900;
    white-space: nowrap;
  }

  .personnel-mobile-roster__list {
    display: grid;
    gap: 8px;
  }

  .personnel-mobile-person {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 92px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) auto 22px;
    align-items: center;
    gap: 9px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #e8e0f0;
    border-radius: 15px;
    color: #2e2637;
    background: #fff;
    box-shadow: 0 4px 14px rgba(31,23,56,.03);
    text-align: right;
    font: inherit;
  }

  .personnel-mobile-person::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 13px;
    bottom: 13px;
    width: 3px;
    border-radius: 999px;
    background: #22c98a;
  }

  .personnel-mobile-person.is-incomplete::after { background: #f59e0b; }
  .personnel-mobile-person:active { transform: scale(.988); background: #fcfaff; }

  .personnel-mobile-person__avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #6d28d9;
    background: #f0e9ff;
    font-size: 14px;
  }

  .personnel-mobile-person__main {
    min-width: 0;
  }

  .personnel-mobile-person__main > b,
  .personnel-mobile-person__main > small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .personnel-mobile-person__main > b {
    font-size: 10.5px;
    font-weight: 950;
  }

  .personnel-mobile-person__main > small {
    margin-top: 3px;
    color: #8a8193;
    font-size: 7.5px;
    font-weight: 750;
  }

  .personnel-mobile-person__shifts {
    min-width: 0;
    display: flex;
    gap: 3px;
    margin-top: 6px;
    overflow: hidden;
  }

  .personnel-mobile-person__shifts em {
    flex: 0 0 auto;
    min-width: 22px;
    padding: 3px 5px;
    border-radius: 7px;
    color: #6d28d9;
    background: #f3edff;
    font-size: 6.5px;
    line-height: 1;
    font-style: normal;
    font-weight: 950;
    text-align: center;
  }

  .personnel-mobile-person__shifts em.is-empty {
    color: #a05a08;
    background: #fff4df;
  }

  .personnel-mobile-person__hours {
    min-width: 46px;
    display: grid;
    justify-items: center;
    padding: 6px;
    border-radius: 10px;
    background: #f8f5fc;
  }

  .personnel-mobile-person__hours small,
  .personnel-mobile-person__hours b,
  .personnel-mobile-person__hours em {
    display: block;
  }

  .personnel-mobile-person__hours small { color: #8c8297; font-size: 6.5px; font-weight: 800; }
  .personnel-mobile-person__hours b { margin-top: 2px; font-size: 10px; font-weight: 950; }
  .personnel-mobile-person__hours em { color: #8c8297; font-size: 6px; font-style: normal; font-weight: 750; }
  .personnel-mobile-person__arrow { color: #a095ab; font-size: 9px; }

  .personnel-mobile-empty {
    min-height: 170px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 20px;
    border: 1px dashed #d7c8e9;
    border-radius: 16px;
    color: #786e83;
    background: #fcfaff;
    text-align: center;
  }

  .personnel-mobile-empty > i { color: #7c3aed; font-size: 22px; }
  .personnel-mobile-empty b { font-size: 10px; }
  .personnel-mobile-empty span { font-size: 8px; }
  .personnel-mobile-empty button { min-height: 36px; padding: 7px 12px; border: 0; border-radius: 10px; color: #fff; background: #7c3aed; font: inherit; font-size: 8.5px; font-weight: 900; }

  .personnel-mobile-requests {
    min-height: 78px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 24px;
    align-items: center;
    gap: 9px;
    padding: 11px;
    border: 0;
    border-radius: 19px;
    color: #fff;
    background: linear-gradient(135deg,#8b5cf6 0%,#6d28d9 72%,#5b21b6 100%);
    box-shadow: 0 12px 28px rgba(109,40,217,.20);
    text-align: right;
    font: inherit;
  }

  .personnel-mobile-requests > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255,255,255,.16);
  }

  .personnel-mobile-requests div { min-width: 0; }
  .personnel-mobile-requests small,
  .personnel-mobile-requests b,
  .personnel-mobile-requests em { display: block; }
  .personnel-mobile-requests small { opacity: .82; font-size: 7px; font-weight: 850; }
  .personnel-mobile-requests b { margin-top: 2px; font-size: 11px; font-weight: 950; }
  .personnel-mobile-requests em { margin-top: 2px; overflow: hidden; opacity: .72; font-size: 6.8px; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

  .personnel-mobile-detail__head {
    display: grid;
    grid-template-columns: 34px 42px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-color: #ddd1f4;
    background: linear-gradient(145deg,#fff,#faf7ff);
  }

  .personnel-mobile-detail__head > button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #e1d7ee;
    border-radius: 11px;
    color: #6d28d9;
    background: #fff;
    font-size: 11px;
  }

  .personnel-mobile-section {
    padding: 11px;
  }

  .personnel-mobile-section__head {
    margin-bottom: 10px;
  }

  .personnel-mobile-section__head > small {
    align-self: center;
    padding: 5px 7px;
    border-radius: 999px;
    color: #706678;
    background: #f3f0f6;
    font-size: 7px;
    font-weight: 850;
    white-space: nowrap;
  }

  .personnel-mobile-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .personnel-mobile-field {
    min-width: 0;
    position: relative;
    display: block;
    padding: 9px;
    border: 1px solid #ebe4f2;
    border-radius: 13px;
    background: #fdfcfe;
  }

  .personnel-mobile-field.is-wide { grid-column: 1 / -1; }

  .personnel-mobile-field > span {
    display: block;
    margin-bottom: 5px;
    color: #685f72;
    font-size: 8px;
    font-weight: 900;
  }

  .personnel-mobile-field.has-status > span,
  .personnel-mobile-field--fixed > span {
    padding-inline-end: 48px;
  }

  .personnel-mobile-field__status {
    position: absolute;
    inset-inline-end: 9px;
    top: 8px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 6.5px;
    line-height: 1.45;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
  }

  .personnel-mobile-field__status.is-required {
    color: #b4233b;
    background: #fff0f3;
  }

  .personnel-mobile-field__status.is-optional {
    color: #7c7285;
    background: #f4f1f6;
  }

  .personnel-mobile-field__status.is-fixed {
    color: #2563a8;
    background: #eef5ff;
  }

  .personnel-mobile-input--fixed {
    color: #62576e !important;
    background: #f7f5f9 !important;
  }

  .personnel-mobile-field--fixed {
    cursor: default;
  }

  .personnel-mobile-fixed-value {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #e0d7ea;
    border-radius: 11px;
    color: #4f4658;
    background: #f7f5f9;
  }

  .personnel-mobile-fixed-value i {
    color: #7c3aed;
    font-size: 8px;
  }

  .personnel-mobile-fixed-value b {
    min-width: 0;
    overflow: hidden;
    font-size: 9px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .personnel-mobile-section__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    color: #b4233b;
    background: #fff0f3;
    font-size: 6.8px;
    line-height: 1.45;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
  }

  .personnel-mobile-field-status-note {
    margin: 8px 0;
    padding: 8px 9px;
    border: 1px solid #e9e1f1;
    border-radius: 11px;
    color: #756a7f;
    background: #faf8fc;
    font-size: 7px;
    line-height: 1.65;
    font-weight: 750;
  }

  .personnel-mobile-field > small {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #968da0;
    font-size: 6.8px;
    line-height: 1.4;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .personnel-mobile-section--primary {
    border-color: #ddd0f4;
    background: linear-gradient(180deg, #fff 0%, #fdfbff 100%);
  }

  .personnel-mobile-field-status-note--required {
    border-color: #e6d8f8;
    color: #665272;
    background: #fbf7ff;
  }

  .sn-pa-optional {
    width: 100%;
    min-width: 0;
    border: 1px solid #e4dced;
    border-radius: 17px;
    background: #fbfafc;
    overflow: hidden;
  }

  .sn-pa-optional > summary {
    min-height: 62px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
    list-style: none;
    cursor: pointer;
    user-select: none;
  }

  .sn-pa-optional > summary::-webkit-details-marker {
    display: none;
  }

  .sn-pa-optional__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #6d28d9;
    background: #efe8fb;
    font-size: 10px;
  }

  .sn-pa-optional__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .sn-pa-optional__copy b {
    overflow: hidden;
    color: #362c40;
    font-size: 9px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sn-pa-optional__copy small {
    overflow: hidden;
    color: #8d8495;
    font-size: 6.8px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sn-pa-optional__badge {
    padding: 3px 6px;
    border-radius: 999px;
    color: #786f80;
    background: #efecf2;
    font-size: 6.5px;
    font-weight: 900;
    white-space: nowrap;
  }

  .sn-pa-optional__chevron {
    color: #897c96;
    font-size: 8px;
    transition: transform .18s ease;
  }

  .sn-pa-optional[open] .sn-pa-optional__chevron {
    transform: rotate(180deg);
  }

  .sn-pa-optional__body {
    display: grid;
    gap: 8px;
    padding: 0 9px 9px;
    border-top: 1px solid #ebe4f0;
    background: #fff;
  }

  .sn-pa-optional__group {
    padding-top: 10px;
  }

  .sn-pa-optional__group .personnel-mobile-fields {
    gap: 7px;
    align-items: start;
  }

  .sn-pa-optional__group .personnel-mobile-field {
    align-self: start;
  }

  .sn-pa-optional .sn-date-triplet-field.is-wide .sn-date-triplet {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .sn-pa-optional .sn-date-triplet-field.is-wide .sn-date-triplet__clear {
    grid-column: 1 / -1;
    min-height: 38px;
  }

  .sn-pa-optional__group-head h4 {
    margin: 0;
    color: #45394f;
    font-size: 8.5px;
    font-weight: 950;
  }

  .sn-pa-optional__group-head small {
    display: block;
    margin-top: 2px;
    color: #918797;
    font-size: 6.5px;
    font-weight: 700;
  }

  .sn-pa-optional__body > .personnel-mobile-section {
    padding: 10px 0 0;
    border: 0;
    border-top: 1px dashed #e7e0eb;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .personnel-mobile-input,
  .personnel-mobile-select {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #e0d7ea !important;
    border-radius: 11px !important;
    outline: 0 !important;
    color: #2c2436 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-family: var(--font) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  .personnel-mobile-select {
    padding-left: 34px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%236d5a84' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 15px 15px !important;
    background-position: left 10px center !important;
  }

  .personnel-mobile-input:focus,
  .personnel-mobile-select:focus {
    border-color: #b79ae9 !important;
    box-shadow: 0 0 0 3px rgba(124,58,237,.07) !important;
  }

  .personnel-mobile-toggles {
    display: grid;
    gap: 7px;
    margin-top: 9px;
  }

  .personnel-mobile-toggle {
    position: relative;
    min-width: 0;
    min-height: 58px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #ebe4f2;
    border-radius: 13px;
    background: #fdfcfe;
  }

  .personnel-mobile-toggle__status {
    position: absolute;
    inset-inline-end: 57px;
    top: 8px;
    padding: 2px 6px;
    border-radius: 999px;
    color: #b4233b;
    background: #fff0f3;
    font-size: 6.3px;
    line-height: 1.4;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
  }

  .personnel-mobile-toggle__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #6d28d9;
    background: #f0e9ff;
    font-size: 11px;
  }

  .personnel-mobile-toggle > span:nth-child(2) { min-width: 0; }
  .personnel-mobile-toggle b,
  .personnel-mobile-toggle small { display: block; }
  .personnel-mobile-toggle b { font-size: 9px; font-weight: 950; }
  .personnel-mobile-toggle small { margin-top: 2px; overflow: hidden; color: #8d8496; font-size: 6.8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .personnel-mobile-toggle input { position: absolute; opacity: 0; pointer-events: none; }
  .personnel-mobile-toggle > i {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #ddd6e5;
    transition: .18s ease;
  }
  .personnel-mobile-toggle > i::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(31,23,56,.16);
    transition: .18s ease;
  }
  .personnel-mobile-toggle input:checked + i { background: #7c3aed; }
  .personnel-mobile-toggle input:checked + i::after { right: 21px; }

  .personnel-mobile-shifts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }

  .personnel-mobile-shift {
    position: relative;
    min-width: 0;
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 20px;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border: 1px solid #e7dfef;
    border-radius: 13px;
    color: #665d70;
    background: #fbfafc;
  }

  .personnel-mobile-shift input { position: absolute; opacity: 0; pointer-events: none; }
  .personnel-mobile-shift span { min-width: 0; }
  .personnel-mobile-shift b,
  .personnel-mobile-shift small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .personnel-mobile-shift b { font-size: 8.5px; font-weight: 950; }
  .personnel-mobile-shift small { margin-top: 2px; color: #968d9f; font-size: 7px; font-weight: 850; }
  .personnel-mobile-shift > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 7px; color: transparent; background: #ede9f1; font-size: 8px; }
  .personnel-mobile-shift.is-on { border-color: #cbb5f6; color: #5f23bb; background: #f5efff; }
  .personnel-mobile-shift.is-on > i { color: #fff; background: #7c3aed; }

  .personnel-mobile-section__note {
    margin: 9px 0 0;
    padding: 8px 9px;
    border-radius: 10px;
    color: #7d7288;
    background: #f8f5fb;
    font-size: 7px;
    line-height: 1.6;
    font-weight: 700;
  }

  .personnel-mobile-danger {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border-color: #f3d8dc;
    background: #fffafb;
  }

  .personnel-mobile-danger b,
  .personnel-mobile-danger span { display: block; }
  .personnel-mobile-danger b { color: #8f1d2d; font-size: 9px; font-weight: 950; }
  .personnel-mobile-danger span { margin-top: 2px; color: #a4868c; font-size: 7px; font-weight: 700; }
  .personnel-mobile-danger button { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid #f2cbd1; border-radius: 10px; color: #a11c30; background: #fff; font: inherit; font-size: 8px; font-weight: 900; }

  .personnel-mobile-person-requests {
    min-height: 64px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 20px;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: #5f23bb;
    background: #f8f3ff;
    text-align: right;
    font: inherit;
  }

  .personnel-mobile-person-requests > i:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #7c3aed; }
  .personnel-mobile-person-requests span { min-width: 0; }
  .personnel-mobile-person-requests b,
  .personnel-mobile-person-requests small { display: block; }
  .personnel-mobile-person-requests b { font-size: 9px; font-weight: 950; }
  .personnel-mobile-person-requests small { margin-top: 2px; overflow: hidden; color: #8b7a9d; font-size: 7px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

  @media (max-width: 390px) {
    .personnel-mobile-overview__top,
    .personnel-mobile-detail__head { grid-template-columns: 40px minmax(0,1fr) auto; }
    .personnel-mobile-overview__icon { width: 40px; height: 40px; min-width: 40px; }
    .personnel-mobile-detail__avatar { display: none; }
    .personnel-mobile-person { grid-template-columns: 38px minmax(0,1fr) auto 18px; gap: 7px; padding: 9px; }
    .personnel-mobile-person__avatar { width: 38px; height: 38px; }
    .personnel-mobile-person__hours { min-width: 42px; padding: 5px; }
    .personnel-mobile-fields { grid-template-columns: 1fr; }
    .personnel-mobile-field.is-wide { grid-column: 1; }
    .personnel-mobile-shifts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .personnel-mobile-detail__save { font-size: 6.5px; padding: 4px 6px; }
  }
}