:root {
  --navy: #173b56;
  --navy2: #102d43;
  --red: #c91f2a;
  --bg: #f4f7f9;
  --line: #dde5ea;
  --muted: #71818c;
  --text: #1e2d38;
  --white: #ffffff;
  --soft: #eef3f6;
  --success-bg: #e9f5ee;
  --success-text: #2c7554;
  --danger-bg: #fdeaea;
  --danger-text: #a83232;
}


* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;

  font-family: "Segoe UI", Arial, sans-serif;

  background: var(--bg);
  color: var(--text);
}

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

button,
input,
select,
textarea {
  font: inherit;
}


.app {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
}


.sidebar {
  background: linear-gradient(180deg, var(--navy2), var(--navy));

  color: white;

  padding: 18px 14px;

  display: flex;
  flex-direction: column;

  gap: 18px;

  position: sticky;
  top: 0;

  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;

  gap: 10px;

  padding-bottom: 14px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand img {
  width: 46px;
  height: 46px;

  object-fit: cover;

  border-radius: 10px;
}

.brand strong {
  display: block;

  font-size: 14px;
}

.brand span {
  font-size: 10px;

  color: #b8c7d1;
}

.sidebar nav {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.sidebar nav a {
  padding: 10px 12px;

  border-radius: 9px;

  color: #dbe6ec;

  font-size: 13px;

  transition: 0.2s;
}

.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.11);

  color: white;
}

.sidefoot {
  margin-top: auto;

  font-size: 11px;

  color: #a8bac5;

  padding: 9px;
}

.sidefoot strong {
  display: block;

  color: white;

  font-size: 13px;
}

.sidefoot span {
  font-size: 9px;

  letter-spacing: 1px;
}


main {
  min-width: 0;

  display: flex;
  flex-direction: column;

  min-height: 100vh;
}


header {
  height: 66px;

  background: white;

  border-bottom: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 22px;

  position: sticky;

  top: 0;

  z-index: 10;
}

.work strong {
  display: block;

  font-size: 14px;
}

.work span {
  font-size: 9px;

  letter-spacing: 1px;

  color: var(--muted);
}

.who {
  display: flex;
  align-items: center;

  gap: 9px;
}

.who strong {
  display: block;

  font-size: 12px;
}

.who small {
  display: block;

  font-size: 10px;

  color: var(--muted);
}

.who > a {
  font-size: 11px;

  color: #9b3c3c;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar {
  overflow: hidden;
  flex-shrink: 0;
}

.mobile {
  display: none;
}


.content {
  padding: 22px;

  flex: 1;
}


footer {
  height: 38px;

  background: white;

  border-top: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 10px;

  color: #7d8b95;
}


.pagehead {
  display: flex;

  justify-content: space-between;

  gap: 15px;

  align-items: flex-start;

  margin-bottom: 18px;
}

.pagehead h1 {
  margin: 0;

  color: #17354c;

  font-size: 24px;
}

.pagehead p {
  margin: 5px 0 0;

  color: var(--muted);

  font-size: 13px;
}


.card {
  background: white;

  border: 1px solid var(--line);

  border-radius: 13px;

  padding: 16px;

  box-shadow: 0 4px 16px rgba(24, 54, 76, 0.04);
}

.topgap {
  margin-top: 14px;
}

.narrow {
  max-width: 680px;

  margin: auto;
}


.btn {
  display: inline-block;

  border: 1px solid var(--line);

  background: white;

  padding: 9px 13px;

  border-radius: 9px;

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--navy);

  border-color: var(--navy);

  color: white;
}

.btn.primary:hover {
  background: #123249;
}

.btn.small {
  padding: 6px 9px;
}

.btn.full {
  width: 100%;
}


.metrics {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;

  margin-bottom: 14px;
}

.metrics.metrics-3 {
  grid-template-columns: repeat(3, 1fr);
}

.metric {
  background: white;

  border: 1px solid var(--line);

  border-radius: 13px;

  padding: 16px;
}

.metric span {
  font-size: 11px;

  color: var(--muted);
}

.metric strong {
  display: block;

  font-size: 28px;

  color: #17354c;

  margin-top: 5px;
}


.tablewrap {
  overflow: auto;
}

table {
  width: 100%;

  border-collapse: collapse;

  font-size: 12px;
}

th,
td {
  padding: 10px 8px;

  border-bottom: 1px solid #edf1f3;

  text-align: left;

  white-space: nowrap;
}

th {
  font-size: 10px;

  color: #74838e;

  text-transform: uppercase;

  background: #fafcfd;
}

tr:hover td {
  background: #fbfdfe;
}


.pill {
  background: #eaf1f7;

  color: #2d5d7b;

  padding: 5px 8px;

  border-radius: 999px;

  font-size: 10px;

  font-weight: 700;
}

/* V.°B.° pendiente del usuario conectado: debe distinguirse de un V.°B.° ajeno. */
.pill.my-approval {
  background: #fde8e8;
  color: #b42318;
}


.formgrid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;
}

.field label {
  display: block;

  font-size: 11px;

  font-weight: 700;

  color: #405664;

  margin-bottom: 6px;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;

  padding: 10px 11px;

  border: 1px solid #d8e1e6;

  border-radius: 9px;

  background: white;

  outline: none;

  transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4c7088;

  box-shadow: 0 0 0 3px rgba(50, 92, 119, 0.08);
}

textarea {
  min-height: 82px;

  resize: vertical;
}


.flash {
  padding: 10px 12px;

  border-radius: 9px;

  margin-bottom: 12px;

  font-size: 12px;
}

.flash.success {
  background: var(--success-bg);

  color: var(--success-text);
}

.flash.danger {
  background: var(--danger-bg);

  color: var(--danger-text);
}


.flash.info {
  background: #eef6fa;
  color: #174f70;
}

.chooser {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 14px;

  margin-bottom: 14px;
}

.choice {
  border: 1px solid var(--line);

  background: white;

  border-radius: 13px;

  padding: 20px;

  text-align: left;

  font-size: 24px;

  cursor: pointer;

  transition: 0.2s;
}

.choice:hover {
  border-color: #8ca6b6;

  transform: translateY(-1px);
}

.choice strong {
  display: block;

  font-size: 15px;

  margin: 10px 0 4px;
}

.choice span {
  display: block;

  font-size: 12px;

  color: var(--muted);
}

.hidden {
  display: none;
}


.checks {
  display: flex;

  gap: 14px;

  flex-wrap: wrap;
}


.subsection {
  margin-top: 16px;
}

.subhead {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin: 12px 0;
}

.subhead h4 {
  margin: 0;

  color: #17354c;
}


.infogrid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;
}

.infogrid span {
  display: block;

  font-size: 10px;

  color: var(--muted);
}

.infogrid strong {
  display: block;

  margin-top: 4px;
}


.approvalgrid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}

.approval {
  border: 1px solid var(--line);

  border-radius: 11px;

  padding: 13px;
}

.approval strong {
  display: block;

  font-size: 12px;

  color: #17354c;
}

.approval span {
  display: inline-block;

  margin: 8px 0;

  padding: 5px 8px;

  border-radius: 999px;

  font-size: 10px;

  font-weight: 700;
}

.approval .ok {
  background: #e8f5ed;

  color: #2d7454;
}

.approval .wait {
  background: #fff3dc;

  color: #94620b;
}

.approval small {
  display: block;

  color: var(--muted);

  font-size: 10px;
}


.twocol {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.muted {
  color: var(--muted);

  font-size: 12px;
}


.history {
  padding: 8px 0;

  border-bottom: 1px solid #edf1f3;

  font-size: 12px;
}

.history span {
  color: var(--muted);

  display: inline-block;

  width: 150px;
}


.login {
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  background: #f5f7f9;
}


.hero {
  background: linear-gradient(135deg, #10283c 0%, #183950 100%);

  color: white;

  padding: 48px 58px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}


.big {
  display: flex;

  align-items: center;

  gap: 14px;
}

.big img {
  width: 68px;
  height: 68px;

  object-fit: cover;

  border-radius: 12px;
}

.big strong {
  display: block;

  font-size: 16px;

  letter-spacing: 0.2px;
}

.big span {
  display: block;

  margin-top: 4px;

  font-size: 11px;

  color: #b9c8d2;
}


.hero-main {
  max-width: 540px;
}

.platform-tag {
  display: inline-block;

  padding: 6px 12px;

  margin-bottom: 18px;

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: #d8e2e9;

  font-size: 11px;
}

.hero h1 {
  font-size: 40px;

  line-height: 1.12;

  max-width: 540px;

  margin: 0 0 16px;

  letter-spacing: -0.5px;
}

.hero p {
  max-width: 500px;

  color: #becad3;

  line-height: 1.6;

  font-size: 14px;

  margin: 0;
}


.company-info {
  display: grid;

  grid-template-columns: 1.5fr 0.65fr 1fr;

  gap: 28px;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.company-info span {
  display: block;

  color: #8fa4b3;

  font-size: 10px;

  margin-bottom: 5px;
}

.company-info strong {
  display: block;

  color: white;

  font-size: 11px;

  line-height: 1.4;
}

.authorized {
  margin-top: 18px;

  font-size: 10px;

  color: #91a6b4;
}


.loginwrap {
  display: grid;

  place-items: center;

  padding: 28px;
}

.logincard {
  width: min(390px, 100%);

  background: white;

  border: 1px solid var(--line);

  border-radius: 16px;

  padding: 28px 26px;

  box-shadow: 0 12px 35px rgba(19, 48, 69, 0.06);
}

.eyebrow {
  color: #b51f27;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.2px;
}

.logincard h2 {
  margin: 7px 0 0;

  color: #142f44;

  font-size: 27px;
}

.redline {
  width: 38px;

  height: 3px;

  margin: 12px 0 18px;

  border-radius: 4px;

  background: var(--red);
}

.logincard > p {
  margin: 0 0 22px;

  color: var(--muted);

  font-size: 13px;
}


.loginfield {
  margin-bottom: 15px;
}

.loginfield label {
  display: block;

  font-size: 11px;

  font-weight: 700;

  margin-bottom: 6px;

  color: #273d4e;
}

.loginfield input {
  width: 100%;

  height: 46px;

  padding: 0 13px;

  border: 1px solid #d5dfe5;

  border-radius: 9px;

  background: white;

  outline: none;

  font-size: 13px;
}

.loginfield input:focus {
  border-color: #3f6882;

  box-shadow: 0 0 0 3px rgba(40, 84, 111, 0.08);
}


.passwordbox {
  position: relative;
}

.passwordbox input {
  padding-right: 47px;
}

.passwordeye {
  position: absolute;

  top: 50%;

  right: 8px;

  transform: translateY(-50%);

  width: 34px;

  height: 34px;

  border: none;

  border-radius: 7px;

  background: transparent;

  color: #627784;

  cursor: pointer;

  transition: 0.2s;
}

.passwordeye:hover {
  background: #eef3f6;
}


.loginoptions {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  margin: 4px 0 20px;
}

.remember {
  display: flex;

  align-items: center;

  gap: 7px;

  color: #506674;

  font-size: 11px;

  cursor: pointer;
}

.remember input {
  width: auto;

  margin: 0;
}

.forgot {
  color: #24516e;

  font-size: 11px;

  cursor: pointer;
}

.forgot:hover {
  text-decoration: underline;
}


.note {
  display: block;

  text-align: center;

  color: #8a979f;

  margin-top: 20px;

  font-size: 10px;
}


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

  .approvalgrid,
  .infogrid {
    grid-template-columns: 1fr 1fr;
  }

  .twocol {
    grid-template-columns: 1fr;
  }
}


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

  .sidebar {
    position: fixed;

    left: -250px;

    width: 235px;

    z-index: 30;

    transition: 0.2s;
  }

  .sidebar.open {
    left: 0;
  }

  .mobile {
    display: block;

    border: 0;

    background: #eef3f6;

    border-radius: 8px;

    padding: 8px 10px;
  }

  .content {
    padding: 15px;
  }

  .metrics,
  .chooser,
  .formgrid,
  .infogrid,
  .approvalgrid {
    grid-template-columns: 1fr;
  }

  .who > div:not(.avatar) {
    display: none;
  }

  

  .login {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 26px;

    min-height: 330px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-main {
    margin: 36px 0 30px;
  }

  .company-info {
    grid-template-columns: 1fr 1fr;

    gap: 15px;
  }

  .company-info div:first-child {
    grid-column: 1 / -1;
  }

  .loginwrap {
    padding: 28px 20px;
  }

  .logincard {
    max-width: 430px;
  }
}


@media (max-width: 480px) {
  .pagehead h1 {
    font-size: 21px;
  }

  .hero {
    padding: 22px;
  }

  .big img {
    width: 56px;
    height: 56px;
  }

  .big strong {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    font-size: 13px;
  }

  .company-info {
    grid-template-columns: 1fr;
  }

  .company-info div:first-child {
    grid-column: auto;
  }

  .loginoptions {
    align-items: flex-start;

    flex-direction: column;

    gap: 10px;
  }

  .logincard {
    padding: 24px 20px;
  }
}


.first-password-page {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: var(--bg);
}


.first-password-window {
  width: 100%;
  max-width: 720px;

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: 18px;

  padding: 28px;

  box-shadow: 0 18px 50px rgba(22, 52, 73, 0.09);
}


.first-password-brand {
  display: flex;
  align-items: center;

  gap: 12px;

  padding-bottom: 18px;

  margin-bottom: 22px;

  border-bottom: 1px solid #edf1f3;
}

.first-password-brand img {
  width: 48px;
  height: 48px;

  object-fit: cover;

  border-radius: 10px;
}

.first-password-brand strong {
  display: block;

  color: #17354c;

  font-size: 13px;
}

.first-password-brand span {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: 10px;

  letter-spacing: 0.4px;
}


.first-password-header {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  margin-bottom: 22px;
}

.first-password-icon {
  min-width: 50px;

  width: 50px;
  height: 50px;

  display: grid;

  place-items: center;

  border-radius: 14px;

  background: #eaf1f6;

  font-size: 22px;
}

.first-password-header h1 {
  margin: 0;

  color: #17354c;

  font-size: 24px;
}

.first-password-header p {
  margin: 5px 0 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.55;
}


.password-field {
  margin-bottom: 16px;
}

.password-field label {
  display: block;

  margin-bottom: 6px;

  color: #334d5e;

  font-size: 11px;

  font-weight: 700;
}

.password-field small {
  display: block;

  margin-top: 6px;

  color: #84939d;

  font-size: 10px;
}

.password-input {
  position: relative;
}

.password-input input {
  width: 100%;

  height: 46px;

  padding: 0 46px 0 12px;

  border: 1px solid #d5dfe5;

  border-radius: 9px;

  background: white;

  outline: none;

  font-size: 13px;

  transition: 0.2s;
}

.password-input input:focus {
  border-color: #3f6882;

  box-shadow: 0 0 0 3px rgba(40, 84, 111, 0.08);
}


.password-toggle {
  position: absolute;

  top: 50%;
  right: 8px;

  transform: translateY(-50%);

  width: 33px;
  height: 33px;

  border: none;

  border-radius: 7px;

  background: transparent;

  color: #627784;

  cursor: pointer;

  transition: 0.2s;
}

.password-toggle:hover {
  background: #eef3f6;
}


.password-two-columns {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}


.password-requirements {
  margin: 6px 0 18px;

  padding: 13px 14px;

  border: 1px solid #e2e9ed;

  border-radius: 10px;

  background: #f5f8fa;

  display: flex;

  flex-direction: column;

  gap: 5px;

  color: #61737f;

  font-size: 11px;
}

.password-requirements strong {
  color: #30495a;

  margin-bottom: 2px;
}


.first-password-button {
  width: 100%;

  height: 46px;

  margin-top: 4px;
}


.first-password-footer {
  margin-top: 22px;

  padding-top: 16px;

  border-top: 1px solid #edf1f3;

  text-align: center;

  color: #8a979f;

  font-size: 10px;
}


@media (max-width: 650px) {
  .first-password-page {
    padding: 16px;
  }

  .first-password-window {
    padding: 20px;

    border-radius: 14px;
  }

  .password-two-columns {
    grid-template-columns: 1fr;
  }

  .first-password-header h1 {
    font-size: 21px;
  }

  .first-password-brand img {
    width: 44px;
    height: 44px;
  }
}

.first-password-icon i {
  color: var(--navy);
  font-size: 20px;
}

.password-toggle i {
  font-size: 13px;
  color: #607580;
}

.password-requirements span i {
  width: 16px;
  color: #557487;
  font-size: 10px;
}


.new-tramite-btn {
  display: flex;
  align-items: center;

  gap: 7px;
}

.new-tramite-btn i {
  font-size: 11px;
}


.metric {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  min-height: 98px;

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: 14px;

  padding: 17px;

  overflow: hidden;

  transition: 0.2s;
}

.metric:hover {
  transform: translateY(-2px);

  box-shadow: 0 8px 22px rgba(24, 54, 76, 0.06);
}

.metric-info span {
  display: block;

  font-size: 11px;

  color: var(--muted);

  margin-bottom: 7px;
}

.metric-info strong {
  display: block;

  margin: 0;

  color: #17354c;

  font-size: 27px;

  line-height: 1;
}

.metric-icon {
  width: 42px;
  height: 42px;

  min-width: 42px;

  border-radius: 12px;

  display: grid;

  place-items: center;

  font-size: 16px;
}


.metric-blue .metric-icon {
  color: #315f7a;

  background: #eaf2f7;
}

.metric-yellow .metric-icon {
  color: #a9781d;

  background: #fff4df;
}

.metric-office .metric-icon {
  color: #596e7a;

  background: #eef2f4;
}

.metric-green .metric-icon {
  color: #3c765d;

  background: #eaf5ef;
}


.recent-card {
  padding: 0;

  overflow: hidden;
}

.card-title-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

  padding: 18px 18px 14px;
}

.card-title-row h3 {
  margin: 0;

  color: #17354c;

  font-size: 17px;
}

.card-title-row p {
  margin: 4px 0 0;

  color: var(--muted);

  font-size: 11px;
}

.view-all {
  display: flex;

  align-items: center;

  gap: 6px;

  color: #315e79;

  font-size: 11px;

  font-weight: 700;
}

.view-all:hover {
  color: var(--navy);
}


.recent-table th {
  padding: 11px 16px;

  background: #f8fafb;
}

.recent-table td {
  padding: 13px 16px;
}

.tracking-code {
  color: #244c66;

  font-size: 11px;
}


.type-pill {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 5px 8px;

  border-radius: 999px;

  font-size: 10px;

  font-weight: 700;
}

.type-pill.req {
  color: #315f7a;

  background: #eaf2f7;
}

.type-pill.sp {
  color: #6b587d;

  background: #f1edf5;
}

.type-pill i {
  font-size: 9px;
}


.action-view {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  color: #385d74;
}

.action-view i {
  font-size: 10px;
}


.empty-state {
  min-height: 155px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 25px;
}

.empty-icon {
  width: 45px;
  height: 45px;

  display: grid;

  place-items: center;

  margin-bottom: 10px;

  border-radius: 12px;

  background: #edf3f6;

  color: #607b8c;

  font-size: 17px;
}

.empty-state strong {
  color: #304b5d;

  font-size: 12px;
}

.empty-state span {
  margin-top: 5px;

  color: #87959e;

  font-size: 10px;
}


@media (max-width: 780px) {
  .pagehead {
    flex-direction: column;
  }

  .new-tramite-btn {
    width: 100%;

    justify-content: center;
  }

  .card-title-row {
    align-items: flex-start;
  }

  .view-all {
    white-space: nowrap;
  }
}


.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar nav a i {
  width: 17px;

  text-align: center;

  font-size: 12px;

  color: #bed0da;
}

.sidebar nav a:hover i {
  color: #ffffff;
}


.nav-divider {
  height: 1px;

  margin: 10px 10px 8px;

  background: rgba(255, 255, 255, 0.1);
}

.nav-section {
  display: block;

  margin: 0 12px 4px;

  color: #829aa9;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 1.2px;
}


.sidefoot {
  display: flex;

  align-items: center;

  gap: 9px;
}

.sidefoot-icon {
  width: 31px;
  height: 31px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.08);

  color: #c4d3dc;

  font-size: 12px;
}


.notification-button {
  position: relative;

  width: 35px;
  height: 35px;

  display: grid;

  place-items: center;

  border: none;

  border-radius: 9px;

  background: transparent;

  color: #526d7d;

  cursor: pointer;

  transition: 0.2s;
}

.notification-button:hover {
  background: #eef3f6;

  color: var(--navy);
}

.notification-button i {
  font-size: 14px;
}


.notification-count {
  position: absolute;

  top: 1px;
  right: 1px;

  min-width: 15px;
  height: 15px;

  padding: 0 4px;

  display: grid;

  place-items: center;

  border-radius: 999px;

  background: var(--red);

  color: #ffffff;

  font-size: 8px;

  font-weight: 700;
}


.user-data {
  min-width: 0;
}

.user-data strong {
  white-space: nowrap;
}

.user-data small {
  white-space: nowrap;
}


.logout-link {
  display: flex;

  align-items: center;

  gap: 5px;

  margin-left: 5px;

  color: #a04747;

  font-size: 10px;

  transition: 0.2s;
}

.logout-link i {
  font-size: 10px;
}

.logout-link:hover {
  color: #c02b34;
}


.mobile i {
  font-size: 14px;
}


@media (max-width: 780px) {
  .logout-link span {
    display: none;
  }

  .user-data {
    display: none;
  }

  .notification-button {
    width: 32px;
    height: 32px;
  }
}

.sidebar nav a.active {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.sidebar nav a.active i {
  color: #ffffff;
}

.sidebar nav a.active {
  position: relative;
}

.sidebar nav a.active::before {
  content: "";

  position: absolute;

  left: 0;
  top: 8px;
  bottom: 8px;

  width: 3px;

  border-radius: 0 3px 3px 0;

  background: #ffffff;
}


.tramite-selector {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;

  margin-bottom: 14px;
}


.tramite-option {
  min-height: 105px;

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 18px;

  border: 1px solid var(--line);

  border-radius: 14px;

  background: #ffffff;

  text-align: left;

  color: var(--text);

  cursor: pointer;

  transition: 0.2s;
}

.tramite-option:hover {
  border-color: #9db2bf;

  transform: translateY(-1px);

  box-shadow: 0 7px 22px rgba(24, 54, 76, 0.05);
}

.tramite-option.active {
  border-color: #66889d;

  box-shadow: 0 0 0 2px rgba(54, 97, 123, 0.07);
}

.tramite-option-icon {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  border-radius: 12px;

  font-size: 17px;
}

.req-icon {
  background: #edf3f6;

  color: #3c667f;
}

.sp-icon {
  background: #eef1f7;

  color: #596985;
}

.tramite-option-text {
  flex: 1;
}

.tramite-option-text strong {
  display: block;

  margin-bottom: 5px;

  color: #17354c;

  font-size: 14px;
}

.tramite-option-text span {
  display: block;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.4;
}

.tramite-arrow {
  color: #a1afb7;

  font-size: 11px;
}


.tramite-form {
  padding: 0;

  overflow: hidden;
}

.form-section-header {
  display: flex;

  align-items: center;

  gap: 13px;

  padding: 19px 20px;

  border-bottom: 1px solid #edf1f3;
}

.section-heading-icon {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border-radius: 11px;

  font-size: 15px;
}

.form-section-header h2 {
  margin: 0;

  color: #17354c;

  font-size: 18px;
}

.form-section-header p {
  margin: 4px 0 0;

  color: var(--muted);

  font-size: 11px;
}


.form-section {
  padding: 18px 20px;

  border-bottom: 1px solid #edf1f3;
}

.form-section-title {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin-bottom: 13px;
}

.form-section-title span {
  color: #304d60;

  font-size: 12px;

  font-weight: 700;
}

.form-section-title small {
  color: #8998a1;

  font-size: 10px;
}


.required {
  color: #c62828;
  font-weight: 700;
  font-size: .95em;
  line-height: 1;
  margin-left: 3px;
  display: inline-block;
}

.required-mark,
.qm-required {
  color: #c62828;
  font-weight: 700;
  font-size: .95em;
  line-height: 1;
  margin-left: 3px;
  display: inline-block;
}
.required[hidden],.required-mark[hidden],.qm-required[hidden]{display:none!important}


.readonly-field {
  background: #f7f9fa;

  color: #596d79;
}


.req-options {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;
}

.req-check {
  position: relative;

  cursor: pointer;
}

.req-check > input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.req-check-content {
  min-height: 75px;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 13px;

  border: 1px solid var(--line);

  border-radius: 11px;

  background: #ffffff;

  transition: 0.2s;
}

.req-check:hover .req-check-content {
  border-color: #a2b4bf;
}

.req-check > input:checked + .req-check-content {
  border-color: #547b93;

  background: #f2f7fa;

  box-shadow: 0 0 0 2px rgba(61, 103, 128, 0.06);
}

.req-check-icon {
  width: 36px;
  height: 36px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  border-radius: 9px;

  background: #edf3f6;

  color: #466b82;

  font-size: 13px;
}

.req-check-content strong {
  display: block;

  color: #304e61;

  font-size: 11px;
}

.req-check-content span {
  display: block;

  margin-top: 3px;

  color: #84929b;

  font-size: 9px;
}


.subsection {
  padding: 18px 20px;

  margin: 0;

  border-bottom: 1px solid #edf1f3;
}

.detail-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  margin-bottom: 12px;
}

.detail-header h3 {
  margin: 0;

  color: #304d60;

  font-size: 13px;
}

.detail-header p {
  margin: 3px 0 0;

  color: #8997a0;

  font-size: 10px;
}

.add-item-btn {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: #345d75;

  background: #ffffff;
}

.add-item-btn i {
  font-size: 9px;
}


.detail-table {
  border: 1px solid #e6ecef;

  border-radius: 10px;

  overflow-x: auto;
}

.detail-table table {
  min-width: 850px;
}

.detail-table th {
  padding: 9px 10px;

  background: #f7f9fa;
}

.detail-table td {
  padding: 7px;
}

.detail-table input {
  min-height: 36px;

  padding: 7px 8px;

  border-radius: 7px;

  font-size: 11px;
}


.form-actions {
  display: flex;

  justify-content: flex-end;

  align-items: center;

  gap: 9px;

  padding: 17px 20px;

  background: #fafcfd;
}

.secondary-btn {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: #506b7b;
}

.submit-tramite {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  min-width: 185px;

  justify-content: center;
}


@media (max-width: 780px) {
  .tramite-selector {
    grid-template-columns: 1fr;
  }

  .req-options {
    grid-template-columns: 1fr;
  }

  .form-section-header {
    padding: 16px;
  }

  .form-section,
  .subsection {
    padding: 16px;
  }

  .detail-header {
    align-items: flex-start;

    flex-direction: column;
  }

  .add-item-btn {
    width: 100%;

    justify-content: center;
  }

  .form-actions {
    padding: 15px;

    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;

    justify-content: center;
  }
}

.field-help {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}


.pdf-actions {
  display: flex;

  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}

.pdf-actions .btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;
}

.pdf-actions .btn i {
  font-size: 11px;
}

@media (max-width: 650px) {
  .pdf-actions {
    width: 100%;
  }

  .pdf-actions .btn {
    flex: 1;
  }
}

.attachments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.attachments-header h3 {
  margin: 0;
}

.attachment-count {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3f6;
  color: #516c7c;
  font-size: 10px;
  font-weight: 700;
}

.attachments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafcfd;
}

.attachment-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.attachment-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f7eaea;
  color: #b13c43;
}

.attachment-info strong {
  display: block;
  font-size: 11px;
  color: #304d60;
}

.attachment-info span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: var(--muted);
}

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

.attachments-empty {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  border: 1px dashed #d6e0e5;
  border-radius: 10px;
}


.logistics-progress-card {
  padding: 18px 20px;
}

.logistics-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.logistics-progress-head h3 {
  margin: 0 0 4px;
  color: #17354c;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.process-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e1e8ed;
  border-radius: 10px;
  background: #f8fafb;
}

.process-step > span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #e7edf1;
  color: #6c7d88;
}

.process-step strong {
  display: block;
  font-size: 11px;
  color: #334a59;
}

.process-step small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: #83919b;
}

.process-step.done {
  background: #f1f8f4;
  border-color: #d7eade;
}

.process-step.done > span {
  background: #dcefe3;
  color: #2e7454;
}

.process-step.current {
  background: #eef5f9;
  border-color: #7ea6bd;
  box-shadow: 0 0 0 1px rgba(23, 59, 86, 0.06);
}

.process-step.current > span {
  background: #173b56;
  color: white;
}


.stage-card {
  padding: 22px;
}

.stage-card h3 {
  margin: 5px 0 8px;
  color: #17354c;
  font-size: 19px;
}

.stage-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #4e7289;
  text-transform: uppercase;
}

.purchase-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.purchase-summary > div {
  padding: 12px;
  border: 1px solid #e1e8ed;
  border-radius: 10px;
  background: #f8fafb;
}

.purchase-summary span {
  display: block;
  font-size: 10px;
  color: #7a8994;
  margin-bottom: 4px;
}

.purchase-summary strong {
  color: #17354c;
  font-size: 13px;
}


.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 31, 45, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-window {
  width: min(1100px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(10, 32, 47, 0.2);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
  padding: 18px 20px;
  border-bottom: 1px solid #e3eaee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  margin: 0;
  color: #17354c;
}

.modal-head p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #778791;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: #f1f5f7;
  color: #435c6c;
  cursor: pointer;
}

.req-modal-window .tablewrap {
  padding: 18px 20px;
}

.modal-actions {
  padding: 14px 20px 18px;
  border-top: 1px solid #e5ebef;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


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

@media (max-width: 780px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .purchase-summary {
    grid-template-columns: 1fr;
  }

  .logistics-progress-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


.history-full-layout {
  display: block;
}

.history-full-layout > .card {
  width: 100%;
}

.history-full-layout .history {
  display: grid;
  grid-template-columns: 160px minmax(160px, auto) 1fr;
  gap: 10px;
  align-items: center;
}


.search-tramite-card {
  max-width: 1050px;
}

.search-tramite-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.search-tramite-head h3 {
  margin: 0 0 5px;
  color: #17354c;
}

.search-main-icon {
  font-size: 22px;
  color: #6e8da1;
}

.search-tramite-fields {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 14px;
  align-items: start;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #84949e;
  pointer-events: none;
}

.search-input-wrapper input {
  padding-left: 38px;
}

.search-results {
  margin-top: 22px;
  border-top: 1px solid #e7ecef;
  padding-top: 12px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;

  padding: 12px 10px;

  border-bottom: 1px solid #edf1f3;

  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.search-result-item:hover {
  background: #f7fafb;
}

.search-result-icon {
  width: 38px;
  height: 38px;

  border-radius: 9px;

  display: grid;
  place-items: center;

  background: #eef4f7;
  color: #416d88;
}

.search-result-info strong {
  display: block;
  font-size: 13px;
  color: #17354c;
}

.search-result-info span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #788791;
}

.search-result-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-result-status > i {
  color: #9aa8b0;
  font-size: 11px;
}

.search-empty,
.search-loading {
  min-height: 150px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  color: #82919a;
}

.search-empty > i {
  font-size: 25px;
  margin-bottom: 10px;
  color: #91a5b1;
}

.search-empty strong {
  color: #425d6e;
  font-size: 13px;
}

.search-empty span {
  font-size: 10px;
  margin-top: 4px;
}

.search-loading {
  gap: 8px;
  font-size: 11px;
}

@media (max-width: 780px) {
  .search-tramite-fields {
    grid-template-columns: 1fr;
  }
}


.tramite-search-card {
  padding: 14px 16px;
  margin-bottom: 14px;
}

.tramite-search-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.tramite-search-grid .field {
  margin: 0;
}

.tramite-search-grid .field label {
  margin-bottom: 5px;
  font-size: 10px;
  color: #405664;
}

.tramite-search-card select,
.tramite-search-card input {
  height: 40px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper > i {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #8498a5;
  font-size: 12px;
  pointer-events: none;
}

.search-input-wrapper input {
  padding-left: 36px;
}


.tramite-search-card .muted {
  display: none;
}


.tramite-row td {
  padding-top: 11px;
  padding-bottom: 11px;
}

.tramite-row:hover td {
  background: #f7fafb;
}

.tramite-row td:first-child {
  color: #173b56;
  font-weight: 700;
}


.card:not(.recent-card) > .card-title-row {
  padding: 0;
  margin-bottom: 12px;
}

.card:not(.recent-card) > .card-title-row h3 {
  font-size: 17px;
}

.card:not(.recent-card) > .card-title-row p {
  margin-top: 3px;
}


.card:not(.recent-card) .view-all {
  border: 1px solid #d6e0e6;
  background: #ffffff;

  padding: 7px 10px;

  border-radius: 8px;

  color: #244f69;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card:not(.recent-card) .view-all:hover {
  background: #f3f7f9;
  border-color: #aebfc9;
  color: #173b56;
}


.detail-more-note {
  padding-top: 8px;
  text-align: right;
  color: #8a989f;
  font-size: 9px;
}


.history-full-layout .history {
  display: grid;
  grid-template-columns: 150px 160px minmax(0, 1fr);
  gap: 14px;

  align-items: center;

  padding: 9px 0;
}

.history-full-layout .history span {
  width: auto;
  font-size: 10px;
}

.history-full-layout .history strong {
  font-size: 11px;
  color: #17354c;
}


.detail-modal-window {
  width: min(1020px, 94vw);
  max-height: 82vh;

  overflow: hidden;

  border-radius: 14px;

  box-shadow: 0 24px 65px rgba(10, 31, 46, 0.24);
}

.detail-modal-window .modal-head {
  position: relative;
  padding: 16px 20px;
}

.detail-modal-window .modal-head h3 {
  font-size: 18px;
}

.detail-modal-window .modal-head p {
  font-size: 10px;
}

.modal-detail-table {
  max-height: 56vh;
  overflow: auto;
  padding: 0;
}

.modal-detail-table table {
  margin: 0;
}

.modal-detail-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;

  background: #f7f9fa;
}

.modal-detail-table th,
.modal-detail-table td {
  padding: 10px 9px;
}

.detail-modal-window .modal-actions {
  padding: 12px 18px;
  background: #fafcfd;
}


@media (max-width: 780px) {
  .tramite-search-grid {
    grid-template-columns: 1fr;
  }

  .history-full-layout .history {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .card:not(.recent-card) > .card-title-row {
    align-items: flex-start;
  }
}


.notification-wrapper {
  position: relative;
}

.notification-panel {
  position: absolute;
  top: 45px;
  right: 0;

  width: 360px;
  max-height: 470px;

  background: #ffffff;

  border: 1px solid #e3e9ed;
  border-radius: 12px;

  box-shadow: 0 14px 35px rgba(32, 50, 61, 0.15);

  overflow: hidden;

  z-index: 1000;
}

.notification-panel.hidden {
  display: none;
}

.notification-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 12px;

  padding: 15px 16px;

  border-bottom: 1px solid #edf1f3;
}

.notification-panel-header > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notification-panel-header strong {
  color: #263f4e;

  font-size: 13px;
}

.notification-panel-header span {
  color: #8999a2;

  font-size: 9px;
}

.notification-read-all {
  padding: 0;

  border: none;
  background: none;

  color: #446f86;

  font-size: 9px;
  font-weight: 600;

  cursor: pointer;
}

.notification-read-all:hover {
  text-decoration: underline;
}

.notification-list {
  max-height: 405px;

  overflow-y: auto;
}

.notification-item {
  display: flex;

  gap: 10px;

  padding: 13px 15px;

  border-bottom: 1px solid #f0f3f5;

  color: inherit;
  text-decoration: none;

  transition: 0.15s;
}

.notification-item:hover {
  background: #f7f9fa;
}

.notification-item.unread {
  background: #f2f7fa;
}

.notification-item.unread:hover {
  background: #eaf2f6;
}

.notification-item-icon {
  width: 31px;
  height: 31px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #edf3f6;

  color: #4f7082;

  font-size: 11px;
}

.notification-item.unread .notification-item-icon {
  background: #e3edf2;

  color: #294c60;
}

.notification-item-content {
  min-width: 0;

  flex: 1;
}

.notification-item-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 8px;
}

.notification-item-top strong {
  color: #2c4655;

  font-size: 10px;
}

.notification-dot {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;

  background: #c02b34;
}

.notification-tracking {
  display: block;

  margin-top: 2px;

  color: #55788b;

  font-size: 8px;
  font-weight: 700;
}

.notification-item p {
  margin: 5px 0 4px;

  color: #687d89;

  font-size: 9px;
  line-height: 1.45;
}

.notification-date {
  color: #9aa7ae;

  font-size: 8px;
}

.notification-empty {
  min-height: 180px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 30px;

  text-align: center;
}

.notification-empty i {
  margin-bottom: 10px;

  color: #a8b5bc;

  font-size: 22px;
}

.notification-empty strong {
  color: #526c7a;

  font-size: 11px;
}

.notification-empty span {
  max-width: 220px;

  margin-top: 5px;

  color: #8b989f;

  font-size: 9px;
}

@media (max-width: 600px) {
  .notification-panel {
    position: fixed;

    top: 60px;
    left: 12px;
    right: 12px;

    width: auto;
  }
}


.profile-pagehead {
  align-items: center;
}

.profile-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #355c74;
}


.profile-layout {
  display: grid;

  grid-template-columns: 280px minmax(0, 1fr);

  gap: 16px;

  align-items: start;
}


.profile-identity-card {
  min-height: 315px;

  padding: 28px 22px;

  display: flex;
  flex-direction: column;

  align-items: center;

  text-align: center;
}


.profile-photo-wrapper {
  position: relative;

  margin-bottom: 17px;
}

.profile-photo {
  width: 112px;
  height: 112px;

  display: grid;

  place-items: center;

  overflow: hidden;

  border-radius: 50%;

  border: 4px solid #ffffff;

  background: var(--navy);

  color: #ffffff;

  font-size: 37px;
  font-weight: 700;

  box-shadow:
    0 0 0 1px #dbe4e9,
    0 7px 20px rgba(23, 59, 86, 0.12);
}

.profile-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.profile-photo-button {
  position: absolute;

  right: 1px;
  bottom: 2px;

  width: 35px;
  height: 35px;

  display: none;

  place-items: center;

  border: 3px solid #ffffff;

  border-radius: 50%;

  background: var(--navy);

  color: #ffffff;

  cursor: pointer;

  font-size: 12px;

  box-shadow: 0 4px 12px rgba(23, 59, 86, 0.18);

  transition: 0.2s;
}

.profile-photo-button.visible {
  display: grid;
}

.profile-photo-button:hover {
  background: #102f46;

  transform: translateY(-1px);
}


.profile-identity-info h2 {
  margin: 0;

  color: #17354c;

  font-size: 18px;
}

.profile-role {
  display: inline-block;

  margin-top: 8px;

  padding: 5px 9px;

  border-radius: 999px;

  background: #eaf1f6;

  color: #41647a;

  font-size: 10px;
  font-weight: 700;
}

.profile-identity-info p {
  margin: 9px 0 0;

  color: var(--muted);

  font-size: 11px;
}

.profile-photo-help {
  display: none;

  align-items: flex-start;

  gap: 7px;

  margin-top: 22px;

  padding-top: 15px;

  border-top: 1px solid #edf1f3;

  color: #81909a;

  font-size: 9px;

  line-height: 1.5;

  text-align: left;
}

.profile-photo-help.visible {
  display: flex;
}

.profile-photo-help i {
  margin-top: 2px;

  color: #5c7b8d;
}


.profile-main-card {
  padding: 0;

  overflow: hidden;
}

.profile-section {
  padding: 21px 22px;

  border-bottom: 1px solid #edf1f3;
}

.profile-section-heading {
  display: flex;

  align-items: center;

  gap: 11px;

  margin-bottom: 19px;
}

.profile-section-icon {
  width: 38px;
  height: 38px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border-radius: 10px;

  background: #edf3f6;

  color: #416982;

  font-size: 13px;
}

.profile-section-heading h3 {
  margin: 0;

  color: #17354c;

  font-size: 14px;
}

.profile-section-heading p {
  margin: 3px 0 0;

  color: var(--muted);

  font-size: 10px;
}


.profile-formgrid {
  gap: 14px;
}

.profile-editable:disabled {
  opacity: 1;

  background: #ffffff;

  color: var(--text);

  cursor: default;
}


.profile-main-card .readonly-field {
  background: #f7f9fa;

  color: #596d79;

  cursor: not-allowed;
}


.profile-password-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 18px;

  margin-top: 20px;

  padding: 14px 15px;

  border: 1px solid #e5ebef;

  border-radius: 10px;

  background: #fafcfd;
}

.profile-password-row strong {
  display: block;

  color: #304d60;

  font-size: 11px;
}

.profile-password-row span {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: 9px;
}

.profile-password-row .btn {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  white-space: nowrap;
}


.profile-actions {
  padding: 16px 22px;

  display: flex;

  justify-content: flex-end;

  align-items: center;

  gap: 9px;

  background: #fafcfd;
}

.profile-actions[hidden] {
  display: none;
}

.profile-actions .btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;
}


@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-identity-card {
    min-height: auto;
  }

  .profile-pagehead {
    align-items: stretch;
  }

  .profile-edit-btn {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .profile-password-row {
    align-items: stretch;

    flex-direction: column;
  }

  .profile-password-row .btn {
    justify-content: center;

    width: 100%;
  }

  .profile-actions {
    flex-direction: column-reverse;
  }

  .profile-actions .btn {
    width: 100%;
  }
}


.profile-top-actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 8px;
}

.profile-edit-actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 8px;
}

.profile-edit-actions[hidden] {
  display: none;
}

.profile-edit-actions .btn,
.profile-edit-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;
}


.profile-side-column {
  display: flex;

  flex-direction: column;

  gap: 16px;
}


.profile-photo-options {
  display: none;

  width: 100%;

  margin-top: 18px;

  padding-top: 14px;

  border-top: 1px solid #edf1f3;

  text-align: center;
}

.profile-photo-options.visible {
  display: block;
}

.profile-photo-options > span {
  display: block;

  color: #81909a;

  font-size: 9px;
}

.profile-photo-options > span i {
  margin-right: 4px;

  color: #5c7b8d;
}


.profile-remove-photo {
  margin-top: 9px;

  padding: 3px 4px;

  border: none;

  background: transparent;

  color: #a84a4f;

  font-size: 10px;

  font-weight: 600;

  cursor: pointer;
}

.profile-remove-photo:hover {
  color: var(--red);

  text-decoration: underline;
}

.profile-remove-photo[hidden] {
  display: none;
}


.profile-security-card {
  padding: 17px;
}

.profile-security-heading {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 15px;
}

.profile-security-heading h3 {
  margin: 0;

  color: #17354c;

  font-size: 13px;
}

.profile-security-heading p {
  margin: 3px 0 0;

  color: var(--muted);

  font-size: 9px;
}

.profile-security-content {
  padding-top: 13px;

  border-top: 1px solid #edf1f3;
}

.profile-security-content strong {
  display: block;

  color: #304d60;

  font-size: 11px;
}

.profile-security-content span {
  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: 9px;

  line-height: 1.4;
}

.profile-password-button {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  width: 100%;

  margin-top: 13px;
}


@media (max-width: 780px) {
  .profile-top-actions {
    width: 100%;
  }

  .profile-edit-actions {
    width: 100%;
  }

  .profile-edit-actions .btn {
    flex: 1;
  }

  .profile-edit-btn {
    width: 100%;
  }
}


.profile-layout {
  width: 100%;
  max-width: 1380px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);

  gap: 18px;

  align-items: start;
}


.profile-pagehead {
  width: 100%;
  max-width: 1380px;

  margin-left: auto;
  margin-right: auto;

  align-items: center;
}

.profile-top-actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 9px;
}

.profile-edit-actions {
  display: flex;

  align-items: center;

  gap: 9px;
}

.profile-edit-actions[hidden] {
  display: none;
}

.profile-edit-btn,
.profile-edit-actions .btn {
  min-height: 38px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;
}


.profile-side-column {
  display: flex;

  flex-direction: column;

  gap: 14px;
}


.profile-identity-card {
  position: relative;

  min-height: 0;

  padding: 28px 22px 24px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;

  overflow: hidden;

  text-align: center;

  border-radius: 15px;

  box-shadow: 0 6px 22px rgba(23, 59, 86, 0.06);
}


.profile-identity-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 4px;

  background: var(--navy);
}


.profile-photo-wrapper {
  position: relative;

  margin: 3px 0 18px;
}

.profile-photo {
  width: 108px;
  height: 108px;

  border: 4px solid #ffffff;

  box-shadow:
    0 0 0 1px #dbe4e9,
    0 8px 22px rgba(23, 59, 86, 0.13);
}

.profile-photo-button {
  right: -1px;
  bottom: 0;

  width: 36px;
  height: 36px;

  border-width: 3px;

  box-shadow: 0 4px 12px rgba(23, 59, 86, 0.22);
}


.profile-identity-info {
  width: 100%;
}

.profile-identity-info h2 {
  margin: 0;

  color: #17354c;

  font-size: 19px;

  line-height: 1.25;
}

.profile-role {
  margin-top: 9px;

  padding: 6px 10px;

  background: #eaf1f6;

  color: #315d77;

  font-size: 10px;
}

.profile-identity-info p {
  margin: 10px 0 0;

  color: #70828e;

  font-size: 11px;
}


.profile-photo-options {
  display: none;

  width: 100%;

  margin-top: 18px;

  padding-top: 14px;

  border-top: 1px solid #edf1f3;
}

.profile-photo-options.visible {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 9px;
}

.profile-photo-options > span {
  color: #81909a;

  font-size: 9px;
}

.profile-photo-options > span i {
  margin-right: 4px;

  color: #56768a;
}


.profile-remove-photo {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  padding: 5px 7px;

  border: 0;

  background: transparent;

  color: #a74a50;

  font-size: 10px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s;
}

.profile-remove-photo:hover {
  color: var(--red);

  background: #fff3f3;

  border-radius: 7px;
}

.profile-remove-photo[hidden] {
  display: none;
}


.profile-security-card {
  padding: 18px;

  border-radius: 15px;

  box-shadow: 0 6px 22px rgba(23, 59, 86, 0.05);
}

.profile-security-heading {
  display: flex;

  align-items: center;

  gap: 11px;

  margin-bottom: 15px;
}

.profile-security-heading .profile-section-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;
}

.profile-security-heading h3 {
  margin: 0;

  color: #17354c;

  font-size: 13px;
}

.profile-security-heading p {
  margin: 3px 0 0;

  color: var(--muted);

  font-size: 9px;
}

.profile-security-content {
  padding-top: 14px;

  border-top: 1px solid #edf1f3;
}

.profile-security-content strong {
  display: block;

  color: #304d60;

  font-size: 11px;
}

.profile-security-content span {
  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: 9px;

  line-height: 1.45;
}

.profile-password-button {
  width: 100%;

  min-height: 40px;

  margin-top: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 7px;
}


.profile-main-card {
  padding: 0;

  overflow: hidden;

  border-radius: 15px;

  box-shadow: 0 6px 22px rgba(23, 59, 86, 0.05);
}

.profile-section {
  padding: 23px 24px;
}

.profile-section:last-child {
  border-bottom: 0;
}


.profile-section-heading {
  margin-bottom: 20px;

  gap: 12px;
}

.profile-section-icon {
  width: 40px;
  height: 40px;

  border-radius: 11px;

  background: #edf3f6;

  color: #315f79;
}

.profile-section-heading h3 {
  font-size: 14px;
}

.profile-section-heading p {
  margin-top: 4px;

  font-size: 10px;
}


.profile-formgrid {
  gap: 16px 14px;
}

.profile-formgrid input {
  min-height: 44px;
}

.profile-editable:disabled {
  opacity: 1;

  background: #ffffff;

  color: var(--text);

  cursor: default;
}


.profile-main-card .readonly-field {
  background: #f5f7f8;

  border-color: #dbe3e7;

  color: #60737f;

  cursor: not-allowed;
}


.profile-main-card .field-help {
  margin-top: 6px;

  line-height: 1.35;
}


.profile-editable:not(:disabled) {
  background: #ffffff;

  border-color: #b8c9d3;
}

.profile-editable:not(:disabled):hover {
  border-color: #8fa8b7;
}


@media (max-width: 1150px) {
  .profile-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .profile-section {
    padding: 21px;
  }
}


@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 230px minmax(0, 1fr);

    gap: 14px;
  }

  .profile-identity-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-photo {
    width: 94px;
    height: 94px;
  }

  .profile-identity-info h2 {
    font-size: 16px;
  }
}


@media (max-width: 780px) {
  .profile-pagehead {
    align-items: stretch;
  }

  .profile-layout {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .profile-side-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
  }

  .profile-identity-card,
  .profile-security-card {
    height: 100%;
  }

  .profile-top-actions,
  .profile-edit-actions {
    width: 100%;
  }

  .profile-edit-btn {
    width: 100%;
  }

  .profile-edit-actions .btn {
    flex: 1;
  }
}


@media (max-width: 580px) {
  .profile-side-column {
    grid-template-columns: 1fr;
  }

  .profile-identity-card {
    padding: 24px 18px;
  }

  .profile-photo {
    width: 96px;
    height: 96px;
  }

  .profile-section {
    padding: 19px 16px;
  }

  .profile-section-heading {
    align-items: flex-start;
  }

  .profile-edit-actions {
    flex-direction: column-reverse;
  }

  .profile-edit-actions .btn {
    width: 100%;
  }
}


@media (max-width: 420px) {
  .profile-photo {
    width: 88px;
    height: 88px;
  }

  .profile-identity-info h2 {
    font-size: 16px;
  }

  .profile-section-heading h3 {
    font-size: 13px;
  }
}


.profile-edit-btn[hidden],
.profile-edit-actions[hidden],
.profile-remove-photo[hidden] {
  display: none !important;
}


.profile-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  min-height: 38px;
}

.profile-edit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 8px;
}

.profile-edit-btn,
.profile-edit-actions .btn {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  white-space: nowrap;
}


#profileCancelButton {
  background: #ffffff;
  color: #506674;

  border-color: #d6e0e5;
}

#profileCancelButton:hover {
  background: #f5f8fa;
  border-color: #bdcbd3;
}


.profile-identity-card {
  transition: 0.2s;
}


.profile-photo-options {
  display: none;

  width: 100%;

  margin-top: 17px;
  padding-top: 13px;

  border-top: 1px solid #edf1f3;
}

.profile-photo-options.visible {
  display: flex;

  flex-direction: column;
  align-items: center;

  gap: 7px;
}

.profile-photo-options > span {
  color: #81909a;

  font-size: 9px;
}

.profile-photo-options > span i {
  margin-right: 4px;

  color: #55768a;
}


.profile-remove-photo {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  margin: 2px 0 0;
  padding: 5px 8px;

  border: 0;
  border-radius: 7px;

  background: transparent;

  color: #a84b51;

  font-size: 9px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.2s;
}

.profile-remove-photo:hover {
  background: #fff1f2;

  color: var(--red);

  text-decoration: none;
}


.profile-editable:not(:disabled) {
  background: #ffffff;

  border-color: #9eb4c1;

  box-shadow: 0 0 0 2px rgba(50, 92, 119, 0.04);
}

.profile-editable:not(:disabled):focus {
  border-color: #416b84;

  box-shadow: 0 0 0 3px rgba(50, 92, 119, 0.09);
}


.profile-main-card .readonly-field {
  background: #f4f7f8;

  border-color: #d9e2e7;

  color: #60737f;

  box-shadow: none;

  cursor: not-allowed;
}


@media (max-width: 780px) {
  .profile-top-actions {
    width: 100%;
  }

  .profile-edit-actions {
    width: 100%;
  }

  .profile-edit-btn {
    width: 100%;
  }

  .profile-edit-actions .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .profile-edit-actions {
    flex-direction: column-reverse;
  }

  .profile-edit-actions .btn {
    width: 100%;
  }
}


.flash {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.flash.flash-hide {
  opacity: 0;
  transform: translateY(-5px);
}


.password-page {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px 20px;

  background: var(--bg);
}

.password-card {
  width: min(620px, 100%);

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 18px;

  padding: 26px;

  box-shadow: 0 18px 55px rgba(23, 59, 86, 0.09);
}


.password-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding-bottom: 18px;
  margin-bottom: 23px;

  border-bottom: 1px solid #edf1f3;
}

.password-brand-left {
  display: flex;
  align-items: center;

  gap: 11px;
}

.password-brand img {
  width: 44px;
  height: 44px;

  object-fit: cover;

  border-radius: 10px;
}

.password-brand strong {
  display: block;

  color: #17354c;

  font-size: 12px;
}

.password-brand-left span {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: 9px;
}

.password-work {
  padding: 5px 9px;

  border-radius: 999px;

  background: #eef3f6;

  color: #557083;

  font-size: 9px;
  font-weight: 700;

  white-space: nowrap;
}


.password-header {
  display: flex;
  align-items: center;

  gap: 13px;

  margin-bottom: 24px;
}

.password-header-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 12px;

  background: #eaf1f6;

  color: var(--navy);

  font-size: 17px;
}

.password-header h1 {
  margin: 0;

  color: #17354c;

  font-size: 22px;
}

.password-header p {
  margin: 4px 0 0;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.45;
}


.password-modern-field {
  margin-bottom: 16px;
}

.password-modern-field label {
  display: block;

  margin-bottom: 6px;

  color: #334d5e;

  font-size: 11px;
  font-weight: 700;
}

.password-modern-input {
  position: relative;
}

.password-modern-input input {
  width: 100%;
  height: 45px;

  padding: 0 46px 0 12px;

  border: 1px solid #d5dfe5;
  border-radius: 9px;

  background: #ffffff;

  outline: none;

  font-size: 12px;

  transition: 0.2s;
}

.password-modern-input input:focus {
  border-color: #456d86;

  box-shadow: 0 0 0 3px rgba(50, 92, 119, 0.08);
}


.password-rules {
  margin-top: 6px;

  padding: 16px;

  border: 1px solid #e1e8ec;
  border-radius: 11px;

  background: #f7f9fa;
}

.password-rules-title {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 13px;
}

.password-rules-title > i {
  color: #416982;

  font-size: 13px;
}

.password-rules-title strong {
  display: block;

  color: #304d60;

  font-size: 11px;
}

.password-rules-title span {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 9px;
}

.password-rules-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px 15px;
}

.password-rule {
  display: flex;
  align-items: center;

  gap: 7px;

  color: #788892;

  font-size: 10px;

  transition: 0.2s;
}

.password-rule i {
  width: 13px;

  color: #aab7be;

  font-size: 9px;
}

.password-rule.valid {
  color: #347154;
}

.password-rule.valid i {
  color: #3d8a65;
}


.password-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 9px;

  margin-top: 20px;
}

.password-actions .btn {
  min-height: 39px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;
}


.password-footer {
  margin-top: 22px;

  padding-top: 16px;

  border-top: 1px solid #edf1f3;

  text-align: center;

  color: #8a979f;

  font-size: 9px;
}


@media (max-width: 650px) {
  .password-page {
    align-items: flex-start;

    padding: 16px;
  }

  .password-card {
    padding: 20px;

    border-radius: 15px;
  }

  .password-brand {
    align-items: flex-start;
  }

  .password-work {
    display: none;
  }

  .password-rules-grid {
    grid-template-columns: 1fr;
  }

  .password-actions {
    flex-direction: column-reverse;
  }

  .password-actions .btn {
    width: 100%;
  }
}


.reset-password-notice {
  display: flex;
  align-items: flex-start;

  gap: 8px;

  margin-top: 13px;
  padding: 11px 13px;

  border-radius: 9px;

  background: #eef4f7;

  color: #587080;

  font-size: 9.5px;
  line-height: 1.5;
}

.reset-password-notice i {
  margin-top: 2px;

  color: #416982;

  font-size: 11px;

  flex-shrink: 0;
}


.users-pagehead {
  align-items: center;
}

.users-summary {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 16px;

  background: #ffffff;
  border: 1px solid #dfe6ec;
  border-radius: 12px;

  font-size: 13px;
  color: #637282;
}

.users-summary i {
  font-size: 17px;
  color: #173f5b;
}

.users-summary strong {
  color: #102f45;
}

.users-admin-list {
  display: grid;
  gap: 18px;
}

.user-admin-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid #dfe6ec;
  border-radius: 15px;

  box-shadow: 0 4px 16px rgba(15, 47, 69, 0.04);
}


.user-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 20px 24px;

  border-bottom: 1px solid #e7edf1;
}

.user-admin-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-admin-avatar {
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  background: #123c57;

  color: #ffffff;

  font-size: 18px;
  font-weight: 700;
}

.user-admin-avatar img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.user-admin-name h2 {
  margin: 0 0 5px;

  font-size: 16px;
  color: #102f45;
}

.user-admin-role {
  font-size: 12px;
  color: #70808e;
}

.user-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 11px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
}

.user-status-badge span {
  width: 7px;
  height: 7px;

  border-radius: 50%;
}

.user-status-badge.active {
  background: #edf7f1;
  color: #28734a;
}

.user-status-badge.active span {
  background: #32945f;
}

.user-status-badge.inactive {
  background: #f9eeee;
  color: #a04444;
}

.user-status-badge.inactive span {
  background: #c34d4d;
}


.user-admin-body {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
}

.user-admin-section {
  padding: 24px;
}

.user-admin-section + .user-admin-section {
  border-left: 1px solid #e7edf1;
}

.user-section-title {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 20px;

  font-size: 12px;
  font-weight: 800;

  color: #102f45;

  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.user-section-title div {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #edf3f6;

  color: #173f5b;
}


.user-readonly-data {
  display: grid;
  gap: 17px;
}

.user-info-item {
  display: grid;
  gap: 4px;

  min-width: 0;
}

.user-info-label {
  font-size: 11px;
  font-weight: 700;

  color: #7b8995;

  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.user-info-item strong,
.user-info-item > span:last-child {
  overflow-wrap: anywhere;

  font-size: 13px;
  color: #243d50;
}

.user-empty-value {
  color: #9ba7b0 !important;
  font-style: italic;
}

.user-profile-note {
  display: flex;
  gap: 9px;

  margin-top: 22px;
  padding: 11px 13px;

  border-radius: 9px;

  background: #f5f8fa;

  color: #6e7d89;

  font-size: 11px;
  line-height: 1.5;
}

.user-profile-note i {
  margin-top: 2px;
  color: #58778d;
}


.user-access-form {
  display: grid;
  gap: 17px;
}

.user-access-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.25fr);

  gap: 14px;
}

.user-access-actions {
  display: flex;
  justify-content: flex-end;
}

.user-account-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin-top: 20px;
  padding-top: 18px;

  border-top: 1px solid #e7edf1;
}

.user-account-controls p {
  margin: 4px 0 0;

  color: #71808c;

  font-size: 11px;
}

.user-deactivate-btn {
  color: #a33d3d;
}


.user-password-panel {
  border-top: 1px solid #e7edf1;
}

.user-password-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 15px 24px;

  cursor: pointer;

  color: #334e61;

  font-size: 12px;
  font-weight: 700;

  list-style: none;

  user-select: none;
}

.user-password-panel summary::-webkit-details-marker {
  display: none;
}

.user-password-panel summary span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.user-password-panel summary i {
  color: #58778d;
}

.password-chevron {
  transition: transform 0.2s ease;
}

.user-password-panel[open] .password-chevron {
  transform: rotate(180deg);
}

.user-password-content {
  display: grid;

  grid-template-columns:
    minmax(180px, 0.55fr)
    minmax(0, 1.45fr);

  gap: 28px;

  padding: 4px 24px 22px;
}

.password-admin-text strong {
  font-size: 12px;
  color: #203c50;
}

.password-admin-text p {
  max-width: 310px;

  margin: 6px 0 0;

  font-size: 11px;
  line-height: 1.55;

  color: #7b8995;
}

.user-password-form {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    auto;

  align-items: end;

  gap: 12px;
}


@media (max-width: 900px) {
  .user-admin-body {
    grid-template-columns: 1fr;
  }

  .user-admin-section + .user-admin-section {
    border-left: 0;
    border-top: 1px solid #e7edf1;
  }

  .user-password-content {
    grid-template-columns: 1fr;
  }

  .user-password-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .user-admin-header {
    align-items: flex-start;
  }

  .user-access-grid {
    grid-template-columns: 1fr;
  }

  .user-account-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .users-summary {
    display: none;
  }
}


.users-table-card {
  overflow: hidden;
}

.users-compact-table {
  width: 100%;
}

.users-compact-table th {
  white-space: nowrap;
}

.users-compact-table td {
  vertical-align: middle;
}

.users-table-user {
  display: flex;
  align-items: center;
  gap: 11px;
}

.users-table-avatar {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  background: #123c57;

  color: #ffffff;

  font-size: 12px;
  font-weight: 700;
}

.users-table-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.users-table-user strong {
  color: #17354c;
  font-size: 12px;
}

.users-table-name {
  color: #314c5e;
  font-size: 12px;
}

.users-role-chip {
  display: inline-flex;

  padding: 6px 9px;

  background: #f2f6f8;

  border-radius: 7px;

  color: #465f70;

  font-size: 11px;
  font-weight: 600;
}

.users-view-btn {
  white-space: nowrap;
}


body.modal-open {
  overflow: hidden;
}

.user-modal {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 24px;
}

.user-modal.open {
  display: flex;
}

.user-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(15, 37, 52, 0.52);

  backdrop-filter: blur(2px);
}

.user-modal-dialog {
  position: relative;

  z-index: 1;

  width: min(820px, 100%);
  max-height: calc(100vh - 48px);

  overflow-y: auto;

  background: #ffffff;

  border: 1px solid #dce5ea;
  border-radius: 16px;

  box-shadow: 0 24px 70px rgba(10, 35, 52, 0.24);
}


.user-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 20px 22px;

  background: #ffffff;

  border-bottom: 1px solid #e5ebef;
}

.user-modal-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.user-modal-identity h2 {
  margin: 0 0 4px;

  color: #102f45;

  font-size: 17px;
}

.user-modal-identity p {
  margin: 0;

  color: #70808c;

  font-size: 11px;
}

.user-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-modal-close {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 8px;

  background: #f2f5f7;

  color: #506676;

  cursor: pointer;

  font-size: 15px;
}

.user-modal-close:hover {
  background: #e8edf0;
}


.user-modal-body {
  padding: 0 22px 22px;
}

.user-modal-section {
  padding: 22px 0;

  border-bottom: 1px solid #e7edf1;
}

.user-modal-section:last-child {
  border-bottom: 0;
}

.user-modal-info-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(0, 1fr)
    minmax(0, 0.8fr);

  gap: 18px;
}

.user-modal-password-section {
  padding-bottom: 4px;
}


.user-modal .user-access-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.35fr);

  gap: 14px;
}

.user-modal .user-access-actions {
  display: flex;
  justify-content: flex-end;

  margin-top: 15px;
}

.user-modal .user-account-controls {
  margin-top: 20px;
}

.user-modal .user-password-form {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    auto;
}


@media (max-width: 720px) {
  .user-modal {
    padding: 10px;
  }

  .user-modal-dialog {
    max-height: calc(100vh - 20px);
  }

  .user-modal-header {
    align-items: flex-start;
  }

  .user-modal-header-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
  }

  .user-modal-info-grid {
    grid-template-columns: 1fr;
  }

  .user-modal .user-access-grid {
    grid-template-columns: 1fr;
  }

  .user-modal .user-password-form {
    grid-template-columns: 1fr;
  }
}


.project-selector {
  min-width: 190px;
}

.project-selector-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-selector-main > i {
  color: #173f5b;
  font-size: 16px;
}

.project-selector-main > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-selector-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8795a0;
}

.project-single-name {
  font-size: 13px;
  color: #17354c;
}

.project-select {
  min-width: 150px;

  padding: 2px 25px 2px 0;

  border: 0;
  outline: 0;

  background-color: transparent;

  color: #17354c;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
}

.project-select:focus {
  outline: none;
}

.project-hidden-form {
  display: none;
}

.sidefoot-project {
  min-width: 0;
}

.sidefoot-project strong {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.tramite-form {
  padding: 0;
  overflow: hidden;
}

.tramite-form .form-section {
  padding: 22px 20px;
  border-top: 1px solid #e8eef2;
}

.tramite-form .form-section-header {
  padding: 22px 20px;
}

.project-summary {
  border: 1px solid #dce6eb;
  border-radius: 11px;
  background: #f8fbfc;
  overflow: hidden;
}

.project-summary summary {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.project-summary summary::-webkit-details-marker {
  display: none;
}

.project-summary summary span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #284e67;
  font-size: 12px;
  font-weight: 700;
}

.project-summary summary small {
  color: #71818c;
  font-size: 10px;
}

.project-summary-body {
  padding: 0 14px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.project-summary-body div {
  padding: 11px 12px;
  border: 1px solid #e1e9ed;
  border-radius: 9px;
  background: #fff;
}

.project-summary-body label {
  display: block;
  margin-bottom: 5px;
  color: #71818c;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-summary-body p {
  margin: 0;
  color: #334d5e;
  font-size: 11px;
  line-height: 1.5;
}

.detail-table table {
  min-width: 1050px;
}

.detail-table th.col-text {
  min-width: 245px;
}

.detail-table td textarea {
  min-width: 230px;
  min-height: 70px;
  padding: 10px 11px;
  line-height: 1.4;
  resize: vertical;
  white-space: normal;
}

.detail-table td input {
  min-height: 42px;
}

.pre-review-note {
  margin: 18px 20px 0;
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #d9e7ee;
  border-radius: 11px;
  background: #f1f7fa;
  color: #315d77;
}

.pre-review-note > i {
  margin-top: 2px;
  font-size: 15px;
}

.pre-review-note strong {
  display: block;
  margin-bottom: 3px;
  color: #244b64;
  font-size: 11px;
}

.pre-review-note span {
  display: block;
  color: #667d8b;
  font-size: 10px;
  line-height: 1.45;
}

.tramite-form .form-actions {
  padding: 16px 20px 22px;
  display: flex;
  justify-content: flex-end;
}

.submit-tramite {
  min-width: 190px;
  min-height: 43px;
}

@media (max-width: 780px) {
  .project-summary summary {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .tramite-form .form-actions {
    justify-content: stretch;
  }

  .submit-tramite {
    width: 100%;
  }
}


.nt-wrap {
  overflow-x: auto;
}
.nt-box {
  border: 1px solid #c8d6df;
  border-radius: 9px;
  overflow: hidden;
}

.nt-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 750px;
}


.nt-table thead tr {
  background: var(--navy);
}
.nt-table th {
  padding: 8px 9px;
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  white-space: nowrap;
}
.nt-table th:last-child {
  border-right: none;
}


.nt-sec-row td {
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid #d0dce6;
}
.nt-sec-row.ejec td {
  background: #ddeef9;
  color: #1a5d8c;
}
.nt-sec-row.seg td {
  background: #fdeede;
  color: #9c4a10;
}


.nt-table tbody tr.nt-row {
  border-bottom: 1px solid #edf1f4;
}
.nt-table tbody tr.nt-row:hover {
  background: #f5fafd;
}
.nt-table tbody tr.nt-row:last-child {
  border-bottom: none;
}

.nt-table td {
  padding: 3px 4px;
  border-right: 1px solid #edf1f4;
  vertical-align: middle;
}
.nt-table td:last-child {
  border-right: none;
}


.nt-td-n {
  width: 38px;
  text-align: center;
}
.nt-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}


.nt-td-desc {
  
}
.nt-td-cant {
  width: 72px;
}
.nt-td-und {
  width: 64px;
}
.nt-td-stk {
  width: 64px;
}
.nt-td-buy {
  width: 74px;
}
.nt-td-just {
  width: 210px;
}
.nt-td-del {
  width: 34px;
}


.nt-td-conc {
  
}
.nt-td-unsp {
  width: 70px;
}
.nt-td-qsp {
  width: 74px;
}
.nt-td-cost {
  width: 100px;
}
.nt-td-mnt {
  width: 100px;
}


.nt-table input {
  display: block !important;
  width: 100% !important;
  height: 32px !important;
  padding: 0 8px !important;
  border: 1px solid #b8c9d4 !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #1a2e3d !important;
  font-size: 12px !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.nt-table input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(30, 111, 165, 0.12);
  outline: none;
}
.nt-table input.ro {
  background: #f0f5f8;
  color: var(--muted);
  font-weight: 700;
  border-color: #dce6ed;
}


.nt-del {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: auto;
  border: 1px solid #e0c8c8;
  border-radius: 6px;
  background: #fff8f8;
  color: #c0564a;
  cursor: pointer;
  font-size: 11px;
  transition: 0.12s;
}
.nt-del:hover {
  background: #fde8e6;
  border-color: #c0564a;
}


.nt-add-row {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-top: 1.5px dashed #c5d4de;
  background: #f7fbfd;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}
.nt-add-row:hover {
  background: #eaf3fb;
}


.nt-add-split {
  display: flex;
  border-top: 1.5px dashed #c5d4de;
}
.nt-add-split button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: none;
  background: #f7fbfd;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}
.nt-add-split button.btn-ejec {
  color: #1a5d8c;
  border-right: 1px solid #dce6ed;
}
.nt-add-split button.btn-seg {
  color: #9c4a10;
}
.nt-add-split button:hover {
  background: #eef5fb;
}


.tramite-form .form-section {
  padding: 12px 16px;
}
.tramite-form .form-section-header {
  padding: 13px 16px;
}
.tramite-form .subsection {
  padding: 12px 16px;
  border-bottom: 1px solid #e4eaee;
}
.tramite-form .formgrid {
  gap: 9px;
}
.tramite-form .field label {
  margin-bottom: 4px;
}


.tramite-option {
  min-height: 68px;
  padding: 11px 14px;
}
.tramite-option-icon {
  width: 36px;
  height: 36px;
  font-size: 14px;
  border-radius: 9px;
}
.tramite-option-text strong {
  font-size: 13px;
  margin-bottom: 3px;
}
.tramite-option-text span {
  font-size: 10.5px;
}


.req-check-content {
  min-height: 52px;
  padding: 9px 12px;
}
.req-check-icon {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.req-check-content strong {
  font-size: 11.5px;
}
.req-check-content span {
  font-size: 10px;
}


.pre-review-note {
  margin: 10px 16px 0;
  padding: 10px 13px;
}
.tramite-form .form-actions {
  padding: 12px 16px 16px;
}


.nt-title {
  margin: 0 0 9px;
}
.nt-title h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.nt-title p {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--muted);
}


.nt-table thead tr,
.nt-table thead th {
  background: #173b56 !important;
  color: #ffffff !important;
}

.nt-table thead th {
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid #102d43 !important;
}


.nt-table input[type="hidden"] {
  display: none !important;
}

.nt-table td input:not([type="hidden"]) {
  display: block !important;
  width: 100% !important;
  height: 32px !important;
  padding: 0 8px !important;
  border: 1px solid #b8c9d4 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #1a2e3d !important;
  -webkit-text-fill-color: #1a2e3d !important;
  box-shadow: none !important;
}

.nt-table td input:not([type="hidden"]):focus {
  border-color: #2f6f95 !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 149, 0.12) !important;
  outline: none !important;
}

.nt-table td input[readonly],
.nt-table td input.ro {
  background: #eaf0f4 !important;
  border-color: #c7d4dc !important;
  color: #405a6b !important;
  -webkit-text-fill-color: #405a6b !important;
  font-weight: 700 !important;
}


.tramite-option,
#optionReq,
#optionSp {
  background: #ffffff !important;
  border-color: #d4e0e7 !important;
  box-shadow: none !important;
}

.tramite-option:hover,
#optionReq:hover,
#optionSp:hover {
  background: #f7fbfd !important;
  border-color: #9bb8c9 !important;
}

.tramite-option.active,
#optionReq.active,
#optionSp.active {
  background: #eef5f9 !important;
  border-color: #6f9ab5 !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 149, 0.06) !important;
}


.req-icon,
.sp-icon,
#optionReq .req-icon,
#optionSp .sp-icon,
#reqForm .section-heading-icon,
#spForm .section-heading-icon {
  background: #eaf2f7 !important;
  color: #356b8b !important;
}


#reqForm,
#spForm {
  border-top: 4px solid #2f6f95 !important;
}

#reqForm .form-section-header,
#spForm .form-section-header {
  background: #ffffff !important;
}


.req-check-content {
  background: #ffffff !important;
  border-color: #d4e0e7 !important;
}

.req-check:hover .req-check-content {
  border-color: #9bb8c9 !important;
}

.req-check > input:checked + .req-check-content,
.req-check:first-child > input:checked + .req-check-content,
.req-check:nth-child(2) > input:checked + .req-check-content {
  background: #eef5f9 !important;
  border-color: #7da3b9 !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 149, 0.06) !important;
}

.req-check .req-check-icon,
.req-check > input:checked + .req-check-content .req-check-icon,
.req-check:first-child > input:checked + .req-check-content .req-check-icon,
.req-check:nth-child(2) > input:checked + .req-check-content .req-check-icon {
  background: #e7f0f5 !important;
  color: #356b8b !important;
}


.nt-table .nt-sec-row.ejec td,
.nt-table .nt-sec-row.seg td,
.nt-table .nt-sec-row.ofi td {
  background: #edf5fa !important;
  color: #245f83 !important;
  border-top: 2px solid #4f87a8 !important;
  border-bottom: 1px solid #cddde7 !important;
}


.nt-add-row,
.nt-add-split button,
.nt-add-split button.btn-ejec,
.nt-add-split button.btn-seg {
  color: #2c678b !important;
  background: #f8fbfd !important;
}

.nt-add-row:hover,
.nt-add-split button:hover {
  background: #eef5f9 !important;
}


.tramite-form .form-section-title,
.tramite-form .nt-title {
  position: relative;
  padding-top: 9px;
}

.tramite-form .form-section-title::before,
.tramite-form .nt-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: #4f87a8;
}

.tramite-form .form-section-title span,
.tramite-form .nt-title h3 {
  color: #173b56 !important;
}


.type-pill.sp {
  color: #315f7a !important;
  background: #eaf2f7 !important;
}

#spForm .nt-table thead th {
  background: #173b56 !important;
  color: #ffffff !important;
}


.tramite-form .field input:not([readonly]),
.tramite-form .field select,
.tramite-form .field textarea {
  background: #ffffff !important;
  border-color: #cfdbe2 !important;
}

.tramite-form .field input:not([readonly]):focus,
.tramite-form .field select:focus,
.tramite-form .field textarea:focus {
  border-color: #2f6f95 !important;
  box-shadow: 0 0 0 3px rgba(47, 111, 149, 0.08) !important;
}

.tramite-form .readonly-field {
  background: #f0f4f6 !important;
  border-color: #d4dee4 !important;
  color: #60737f !important;
}


.tramite-form .form-section-title,
.tramite-form .nt-title {
  position: relative !important;
  margin: 0 0 11px !important;
  padding-top: 9px !important;
}


.tramite-form .form-section-title::before,
.tramite-form .nt-title::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 38px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: #4f87a8 !important;
}


.tramite-form .form-section-title > span,
.tramite-form .nt-title > h3 {
  margin: 0 !important;
  color: #304d60 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}


.tramite-form .nt-title > p {
  margin: 3px 0 0 !important;
  color: #8997a0 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}


.tramite-form .form-section-title {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.tramite-form .form-section-title > small {
  margin: 0 !important;
  color: #8998a1 !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}


.tramite-form .nt-title {
  display: block !important;
}


.nt-table textarea.nt-auto-grow {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 32px;
  min-height: 32px !important;
  max-height: 240px !important;
  padding: 6px 8px !important;
  border: 1px solid #b8c9d4 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #1a2e3d !important;
  font: inherit !important;
  font-size: 12px !important;
  line-height: 18px !important;
  box-sizing: border-box !important;

  
  resize: none !important;
  overflow-x: hidden !important;
  overflow-y: hidden;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.nt-table textarea.nt-auto-grow::placeholder {
  color: #71818c !important;
  opacity: 1 !important;
}

.nt-table textarea.nt-auto-grow:focus {
  border-color: #2f6f95 !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 149, 0.12) !important;
  outline: none !important;
}


.nt-table textarea.nt-auto-grow.nt-has-scroll {
  overflow-y: auto !important;
}


.nt-table .nt-row td {
  vertical-align: top !important;
}


.nt-table .nt-row td > input:not([type="hidden"]) {
  margin-top: 0 !important;
}


.approve-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 27, 39, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.approve-confirm-overlay.hidden {
  display: none;
}

.approve-confirm-box {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  animation: approveModalIn 0.16s ease-out;
}

@keyframes approveModalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.approve-confirm-body {
  padding: 25px 25px 20px;
  text-align: center;
}

.approve-confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf4f8;
  color: #153f59;
  font-size: 21px;
}

.approve-confirm-body h3 {
  margin: 0 0 8px;
  color: #123b55;
  font-size: 18px;
}

.approve-confirm-body p {
  margin: 0;
  color: #607581;
  font-size: 12px;
  line-height: 1.5;
}

.approve-confirm-body p strong {
  color: #263f4e;
}

.approve-confirm-actions {
  padding: 14px 20px 18px;
  border-top: 1px solid #e4ebef;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.approve-confirm-actions .btn {
  min-width: 105px;
  justify-content: center;
}

.approve-confirm-actions .btn.primary {
  min-width: 180px;
}


.tramite-form select[name="unidad[]"],
.tramite-form select[name="unidad_sp[]"] {
  width: 100% !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 27px 0 8px !important;
  border: 1px solid #cfdbe2 !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  color: #173b56 !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 32px !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #45677e 50%),
    linear-gradient(135deg, #45677e 50%, transparent 50%) !important;
  background-position:
    calc(100% - 13px) 13px,
    calc(100% - 8px) 13px !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}

.tramite-form select[name="unidad[]"]:hover,
.tramite-form select[name="unidad_sp[]"]:hover {
  border-color: #9fb7c6 !important;
}

.tramite-form select[name="unidad[]"]:focus,
.tramite-form select[name="unidad_sp[]"]:focus {
  outline: none !important;
  border-color: #2f6f95 !important;
  box-shadow: 0 0 0 3px rgba(47,111,149,.10) !important;
}


#reqForm .nt-table th:nth-child(4),
#reqForm .nt-table td:nth-child(4) {
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
}

#spForm .nt-table th:nth-child(3),
#spForm .nt-table td:nth-child(3) {
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
}


.tramite-form select[name="unidad[]"]:invalid,
.tramite-form select[name="unidad_sp[]"]:invalid {
  color: #718796 !important;
  font-weight: 500 !important;
}


.units-pagehead { align-items: center; }
.units-actions-card { padding: 18px; margin-bottom: 16px; }
.units-create-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(210px, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.units-create-grid .field { margin: 0; }
.units-create-grid input,
.units-create-grid select {
  width: 100%; height: 38px; box-sizing: border-box;
}
.units-table-card { padding: 14px 16px; }
.units-table { width: 100%; border-collapse: collapse; }
.units-table th {
  text-align: left; padding: 11px 10px; color: #657887;
  font-size: 11px; text-transform: uppercase; border-bottom: 1px solid #e5edf2;
}
.units-table td { padding: 12px 10px; border-bottom: 1px solid #edf2f5; vertical-align: middle; }
.units-abbr { font-weight: 800; color: #123f5c; letter-spacing: .3px; }
.units-use { display:inline-flex; padding: 5px 9px; border-radius: 7px; background:#eef4f7; font-size:11px; color:#31566d; }
.units-row-form { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.units-row-form input { width: 100px; height:34px; }
.units-row-form select { width: 165px; height:34px; }
.units-actions { display:flex; gap:7px; flex-wrap:wrap; }
.units-mini-btn {
  border:0; border-radius:7px; min-height:32px; padding:0 10px; cursor:pointer;
  font-size:11px; font-weight:700; display:inline-flex; align-items:center; gap:6px;
}
.units-mini-btn.save { background:#123f5c; color:#fff; }
.units-mini-btn.status { background:#eef4f7; color:#214b63; }
.units-mini-btn.delete { background:#fff0ef; color:#a33b32; }
.units-status { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; }
.units-status::before { content:""; width:7px; height:7px; border-radius:50%; background:#2cab69; }
.units-status.inactive::before { background:#9aa8b1; }
.units-status.inactive { color:#7d8b94; }
@media (max-width: 850px) {
  .units-create-grid { grid-template-columns: 1fr; }
  .units-table { min-width: 760px; }
}


.units-list-table th:last-child,
.units-list-table td:last-child {
  text-align: left;
}
.units-list-table .units-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.units-list-table .units-actions form {
  margin: 0;
}
.units-mini-btn.edit {
  background: #e8f1f6;
  color: #174b69;
}
.unit-edit-row td {
  background: #f7fafc;
  padding: 14px 16px !important;
}
.units-edit-panel {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(220px, 300px) auto;
  gap: 12px;
  align-items: end;
}
.units-edit-panel .field {
  margin: 0;
}
.units-edit-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 1px;
}
@media (max-width: 900px) {
  .units-edit-panel {
    grid-template-columns: 1fr;
  }
  .units-edit-actions {
    flex-wrap: wrap;
  }
}


.units-pagehead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
}
.units-new-trigger {
  flex: 0 0 auto;
  min-height: 38px;
  padding-inline: 15px;
}
.units-new-panel {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: 18px 20px 20px;
  border: 1px solid #dce7ed;
}
.units-new-panel-head,
.units-table-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.units-new-panel-head {
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8eef2;
}
.units-new-panel-head h3,
.units-table-head h3 {
  margin: 0 0 4px;
  color: #173c56;
  font-size: 15px;
}
.units-new-panel-head p,
.units-table-head p {
  margin: 0;
  color: #738491;
  font-size: 11.5px;
}
.units-close-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f7;
  color: #526d7d;
  cursor: pointer;
}
.units-create-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.25fr) auto;
  gap: 14px;
  align-items: end;
}
.units-create-grid .field {
  margin: 0;
}
.units-create-grid input,
.units-create-grid select {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
}
.units-create-grid small {
  display: block;
  margin-top: 5px;
  color: #84939e;
  font-size: 10.5px;
}
.units-create-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
}
.units-table-card {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}
.units-table-head {
  padding: 18px 20px 15px;
  border-bottom: 1px solid #e6edf1;
}
.units-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef4f7;
  color: #31566d;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.units-tablewrap {
  width: 100%;
  overflow-x: auto;
}
.units-list-table {
  width: 100% !important;
  min-width: 760px;
  table-layout: fixed;
}
.units-list-table .units-col-name { width: 15%; }
.units-list-table .units-col-use { width: 27%; }
.units-list-table .units-col-status { width: 18%; }
.units-list-table .units-col-actions { width: 40%; }
.units-list-table th {
  padding: 11px 20px;
  background: #fbfcfd;
}
.units-list-table td {
  padding: 13px 20px;
}
.units-list-table th:last-child,
.units-list-table td:last-child {
  text-align: right;
}
.units-list-table .units-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.units-mini-btn {
  min-height: 32px;
  white-space: nowrap;
}
.unit-edit-row td {
  padding: 16px 20px !important;
}
.units-edit-panel {
  grid-template-columns: minmax(180px, .7fr) minmax(230px, 1fr) auto;
}
@media (max-width: 900px) {
  .units-pagehead {
    align-items: stretch;
    flex-direction: column;
  }
  .units-new-trigger {
    align-self: flex-start;
  }
  .units-create-grid,
  .units-edit-panel {
    grid-template-columns: 1fr;
  }
  .units-create-actions {
    padding-bottom: 0;
  }
  .units-list-table .units-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .units-list-table th:last-child,
  .units-list-table td:last-child {
    text-align: left;
  }
}


.unit-edit-row td {
  background: #f7fafc;
  padding: 12px 20px 16px !important;
}
.units-edit-shell {
  width: min(760px, 100%);
  margin-left: auto;
  padding: 13px 14px 14px;
  border: 1px solid #dce7ed;
  border-radius: 10px;
  background: #ffffff;
  box-sizing: border-box;
}
.units-edit-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #31566d;
  font-size: 11.5px;
}
.units-edit-title i {
  color: #1e658b;
}
.units-edit-panel {
  display: grid;
  grid-template-columns: 145px minmax(230px, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.units-edit-panel .field {
  margin: 0;
}
.units-edit-panel label {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px;
}
.units-edit-panel input,
.units-edit-panel select {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
}
.units-edit-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}
.units-edit-actions .btn {
  min-height: 36px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .units-edit-shell {
    width: 100%;
    margin-left: 0;
  }
  .units-edit-panel {
    grid-template-columns: 1fr;
  }
  .units-edit-actions {
    justify-content: flex-start;
  }
}


body.units-modal-open {
  overflow: hidden;
}
.units-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-sizing: border-box;
}
.units-modal.hidden {
  display: none !important;
}
.units-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 35, 50, 0.46);
  backdrop-filter: blur(2px);
}
.units-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border: 1px solid #dce7ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(13, 35, 50, 0.24);
  animation: unitsModalIn .16s ease-out;
}
@keyframes unitsModalIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.units-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e7eef2;
}
.units-modal-head h3 {
  margin: 0 0 4px;
  color: #173c56;
  font-size: 17px;
}
.units-modal-head p {
  margin: 0;
  color: #738491;
  font-size: 11.5px;
  line-height: 1.45;
}
.units-modal-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: #f1f5f7;
  color: #526d7d;
  cursor: pointer;
}
.units-modal-close:hover {
  background: #e7eef2;
  color: #173c56;
}
.units-modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 22px 22px;
}
.units-modal-form .field {
  margin: 0;
}
.units-modal-form label {
  display: block;
  margin-bottom: 6px;
}
.units-modal-form input,
.units-modal-form select {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
}
.units-modal-form small {
  display: block;
  margin-top: 5px;
  color: #84939e;
  font-size: 10.5px;
  line-height: 1.35;
}
.units-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
  padding-top: 15px;
  border-top: 1px solid #edf2f5;
}
.units-modal-actions .btn {
  min-height: 38px;
  white-space: nowrap;
}


.units-new-panel,
.unit-edit-row {
  display: none !important;
}

@media (max-width: 680px) {
  .units-modal {
    padding: 12px;
    align-items: flex-end;
  }
  .units-modal-card {
    width: 100%;
    border-radius: 14px 14px 10px 10px;
  }
  .units-modal-form {
    grid-template-columns: 1fr;
    padding: 17px;
  }
  .units-modal-head {
    padding: 17px;
  }
  .units-modal-actions {
    grid-column: 1;
  }
}


.units-confirm-card {
  width: min(430px, 100%);
  overflow: visible;
  padding: 0;
}
.units-confirm-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.units-confirm-body {
  padding: 30px 28px 18px;
  text-align: center;
}
.units-confirm-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3f8;
  color: #1c668f;
  font-size: 23px;
}
.units-confirm-icon.warning {
  background: #fff5dc;
  color: #a66a00;
}
.units-confirm-icon.danger {
  background: #fdeaea;
  color: #b43c36;
}
.units-confirm-icon.success {
  background: #e7f6ee;
  color: #20855c;
}
.units-confirm-body h3 {
  margin: 0 0 8px;
  color: #173c56;
  font-size: 18px;
}
.units-confirm-body > p {
  margin: 0;
  color: #5f7381;
  font-size: 12.5px;
  line-height: 1.55;
}
.units-confirm-body > p strong {
  color: #173c56;
}
.units-confirm-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f5f8fa;
  border: 1px solid #e3ebef;
  color: #6b7d89;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}
.units-confirm-note.hidden {
  display: none !important;
}
.units-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px 20px;
  border-top: 1px solid #edf2f5;
}
.units-confirm-actions .btn {
  min-height: 38px;
}
.units-confirm-danger {
  border: 1px solid #c94e47;
  background: #c94e47;
  color: #fff;
}
.units-confirm-danger:hover {
  background: #b53f39;
  border-color: #b53f39;
}
@media (max-width: 520px) {
  .units-confirm-actions {
    flex-direction: column-reverse;
  }
  .units-confirm-actions .btn {
    width: 100%;
  }
}


.units-modal-card {
  width: min(520px, calc(100vw - 32px));
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(18, 63, 92, 0.16);
}

.units-modal-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid #e5edf2;
}

.units-modal-head h3 {
  margin: 0;
  font-size: 18px;
  color: #123f5c;
}

.units-modal-head p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #687b87;
}

.units-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f4f7f9;
  color: #607783;
}

.units-modal-form {
  padding: 20px 22px 22px;
  gap: 16px;
}

.units-modal-actions,
.units-confirm-actions {
  padding-top: 4px;
  gap: 9px;
}

.units-modal-actions .btn,
.units-confirm-actions .btn {
  min-height: 38px;
  border-radius: 8px;
}

.units-confirm-card {
  width: min(440px, calc(100vw - 32px));
}

.units-confirm-head {
  border-bottom: 0;
  padding-bottom: 10px;
}

.units-confirm-note {
  margin: 0 22px;
  padding: 11px 12px;
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: #f7fafb;
  color: #5d707b;
  font-size: 12.5px;
  line-height: 1.45;
}

.units-confirm-note.hidden {
  display: none;
}

.units-confirm-actions {
  display: flex;
  justify-content: flex-end;
  padding: 18px 22px 22px;
}

.units-confirm-danger {
  background: #b84037;
  color: #fff;
  border-color: #b84037;
}

.units-confirm-danger:hover {
  background: #9f352e;
  border-color: #9f352e;
}

@media (max-width: 640px) {
  .units-modal {
    padding: 16px;
  }

  .units-modal-head,
  .units-modal-form,
  .units-confirm-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .units-confirm-note {
    margin-left: 18px;
    margin-right: 18px;
  }

  .units-confirm-actions {
    flex-direction: column-reverse;
  }

  .units-confirm-actions .btn {
    width: 100%;
  }
}


.req-priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.office-req-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #dbe7ed;
  border-radius: 9px;
  background: #f7fafb;
  color: #536b78;
  font-size: 11px;
  line-height: 1.4;
}

.req-check-locked { cursor: default; }
.req-check-locked .req-check-content { border-color: #b9d6e5; background: #f2f8fb; }

.req-priority-text { font-weight: 700; }
.req-priority-normal { color: #60727d; }
.req-priority-prioritario { color: #9b6a00; }
.req-priority-urgente { color: #b33a32; }

@media (max-width: 760px) {
  .req-priority-grid { grid-template-columns: 1fr; }
}


  body.page-edit-request .edit-as-new .edit-type-card{
    background: #eef5f9 !important;
    border-color: #8fb1c5 !important;
  }

  body.page-edit-request .edit-as-new .edit-nt-table textarea, body.page-edit-request .edit-as-new .nt-table textarea{
    min-width: 0;
  }

  body.page-edit-request .edit-attachments-list{
    display: grid;
    gap: 10px;
    margin-top: 12px;
  }

  body.page-edit-request .edit-attachment-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid #d6e1e8;
    border-radius: 10px;
    background: #fff;
  }

  body.page-edit-request .edit-attachment-info{
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
  }

  body.page-edit-request .edit-attachment-info > i{
    color: #c62828;
    font-size: 20px;
  }

  body.page-edit-request .edit-attachment-info div{
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  body.page-edit-request .edit-attachment-info strong{
    overflow-wrap: anywhere;
  }

  body.page-edit-request .edit-attachment-info span, body.page-edit-request .edit-upload-field small, body.page-edit-request .edit-no-attachments{
    color: #718394;
    font-size: 12px;
  }

  body.page-edit-request .edit-attachment-delete{
    flex: 0 0 auto;
    cursor: pointer;
  }

  body.page-edit-request .edit-attachment-delete input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  body.page-edit-request .edit-attachment-delete span{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #efb4b4;
    border-radius: 8px;
    color: #c62828;
    background: #fff;
    font-weight: 600;
  }

  body.page-edit-request .edit-attachment-delete input:checked + span{
    background: #fff0f0;
    border-color: #dc4c4c;
  }

  body.page-edit-request .edit-no-attachments{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 14px;
    margin-top: 10px;
    border: 1px dashed #cbd8e0;
    border-radius: 10px;
  }

  body.page-edit-request .edit-upload-field{
    margin-top: 16px;
  }

  body.page-edit-request .edit-upload-field input[type="file"]{
    padding: 10px;
    background: #fff;
  }


  body.page-logistics-regularization-detail .reg-detail-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
  }

  body.page-logistics-regularization-detail .reg-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 9px;
    border-radius:999px;
    font-size:9px;
    font-weight:700;
  }

  body.page-logistics-regularization-detail .reg-status.pending{
    background:#fff4df;
    color:#93631b;
  }

  body.page-logistics-regularization-detail .reg-status.done{
    background:#e7f5ec;
    color:#2f7550;
  }

  body.page-logistics-regularization-detail .reg-card-title{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
    margin-bottom:14px;
  }

  body.page-logistics-regularization-detail .reg-card-title h3{
    margin:0;
  }

  body.page-logistics-regularization-detail .reg-card-title p{
    margin:4px 0 0;
  }

  body.page-logistics-regularization-detail .reg-table{
    width:100%;
    table-layout:fixed;
    border-collapse:collapse;
  }

  body.page-logistics-regularization-detail .reg-table th, body.page-logistics-regularization-detail .reg-table td{
    white-space:normal !important;
    vertical-align:middle !important;
    overflow-wrap:anywhere;
  }

  body.page-logistics-regularization-detail .reg-table th{
    padding:10px 10px !important;
    background:#f7f9fa !important;
    color:#607484 !important;
    font-size:9px !important;
    text-transform:uppercase;
  }

  body.page-logistics-regularization-detail .reg-table td{
    padding:10px !important;
  }

  body.page-logistics-regularization-detail .reg-proof-table th:nth-child(1){ width:6%; }
  body.page-logistics-regularization-detail .reg-proof-table th:nth-child(2){ width:15%; }
  body.page-logistics-regularization-detail .reg-proof-table th:nth-child(3){ width:15%; }
  body.page-logistics-regularization-detail .reg-proof-table th:nth-child(4){ width:22%; }
  body.page-logistics-regularization-detail .reg-proof-table th:nth-child(5){ width:16%; }
  body.page-logistics-regularization-detail .reg-proof-table th:nth-child(6){ width:26%; }

  body.page-logistics-regularization-detail .reg-proof-static{
    color:#243c4c;
    font-size:11px;
  }

  body.page-logistics-regularization-detail .reg-proof-total{
    margin-top:12px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:14px;
    padding-top:12px;
    border-top:1px solid #e1e9ee;
  }

  body.page-logistics-regularization-detail .reg-proof-total span{
    color:#70838f;
    font-size:10px;
  }

  body.page-logistics-regularization-detail .reg-proof-total strong{
    color:#123f5d;
    font-size:17px;
  }

  body.page-logistics-regularization-detail .reg-lines-wrap{
    border:1px solid #d8e3e9;
    border-radius:10px;
    overflow:hidden;
  }

  body.page-logistics-regularization-detail .reg-lines-table{
    margin:0;
  }

  body.page-logistics-regularization-detail .reg-lines-table th:nth-child(1){ width:6%; }
  body.page-logistics-regularization-detail .reg-lines-table th:nth-child(2){ width:44%; }
  body.page-logistics-regularization-detail .reg-lines-table th:nth-child(3){ width:14%; }
  body.page-logistics-regularization-detail .reg-lines-table th:nth-child(4){ width:16%; }
  body.page-logistics-regularization-detail .reg-lines-table th:nth-child(5){ width:16%; }
  body.page-logistics-regularization-detail .reg-lines-table th:nth-child(6){ width:4%; }

  body.page-logistics-regularization-detail .reg-lines-table input{
    width:100% !important;
    min-width:0 !important;
    height:38px !important;
    box-sizing:border-box !important;
  }

  body.page-logistics-regularization-detail .reg-lines-table input[readonly]{
    background:#edf2f5 !important;
    font-weight:700;
    color:#354f60;
  }

  body.page-logistics-regularization-detail .reg-line-num{
    display:inline-grid;
    place-items:center;
    width:25px;
    height:25px;
    border-radius:7px;
    background:#eaf3f8;
    color:#194b69;
    font-size:9px;
    font-weight:800;
  }

  body.page-logistics-regularization-detail .reg-line-delete{
    width:30px;
    height:30px;
    border:1px solid #e2b8b8;
    border-radius:7px;
    background:#fff;
    color:#b13939;
    cursor:pointer;
  }

  body.page-logistics-regularization-detail .reg-add-line{
    margin-top:10px;
  }

  body.page-logistics-regularization-detail .reg-bottom{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    margin-top:14px;
  }

  body.page-logistics-regularization-detail .reg-sum-box{
    min-width:260px;
    padding:12px 14px;
    border:1px solid #d7e3ea;
    border-radius:10px;
    background:#f9fbfc;
  }

  body.page-logistics-regularization-detail .reg-sum-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    color:#627784;
    font-size:10px;
  }

  body.page-logistics-regularization-detail .reg-sum-row + .reg-sum-row{
    margin-top:7px;
    padding-top:7px;
    border-top:1px solid #e1e9ee;
  }

  body.page-logistics-regularization-detail .reg-sum-row strong{
    color:#123f5d;
    font-size:14px;
  }

  body.page-logistics-regularization-detail .reg-sum-status{
    margin-top:9px;
    padding:8px 10px;
    border-radius:8px;
    font-size:10px;
    font-weight:700;
  }

  body.page-logistics-regularization-detail .reg-sum-status.ok{
    background:#eaf6ef;
    color:#28734d;
    border:1px solid #cbe8d7;
  }

  body.page-logistics-regularization-detail .reg-sum-status.bad{
    background:#fff3f3;
    color:#a83232;
    border:1px solid #efcccc;
  }

  body.page-logistics-regularization-detail .reg-note{
    padding:12px 14px;
    display:flex;
    gap:10px;
    border:1px solid #cfe0e9;
    border-radius:10px;
    background:#eef6fa;
    color:#385c72;
    font-size:10.5px;
    line-height:1.5;
  }

  body.page-logistics-regularization-detail .reg-completed-row td{
    color:#334d5d;
  }

  @media(max-width:900px) {
    body.page-logistics-regularization-detail .reg-bottom{
      grid-template-columns:1fr;
    }

    body.page-logistics-regularization-detail .reg-sum-box{
      min-width:0;
      width:100%;
      box-sizing:border-box;
    }

    body.page-logistics-regularization-detail .tablewrap{
      overflow-x:auto;
    }

    body.page-logistics-regularization-detail .reg-lines-table, body.page-logistics-regularization-detail .reg-proof-table{
      min-width:850px;
    }
  }


  body.page-logistics-regularizations .reg-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:16px;
  }

  body.page-logistics-regularizations .reg-head h1{
    margin:0 0 4px;
  }

  body.page-logistics-regularizations .reg-grid{
    display:grid;
    gap:12px;
  }

  body.page-logistics-regularizations .reg-item{
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr) auto;
    gap:16px;
    align-items:center;
    padding:15px 16px;
    border:1px solid #dbe5ea;
    border-radius:12px;
    background:#fff;
  }

  body.page-logistics-regularizations .reg-main strong{
    display:block;
    color:#153f59;
    font-size:12px;
    margin-bottom:3px;
  }

  body.page-logistics-regularizations .reg-main span, body.page-logistics-regularizations .reg-data span{
    color:#72848f;
    font-size:10px;
  }

  body.page-logistics-regularizations .reg-data strong{
    display:block;
    margin-top:2px;
    color:#263f4e;
    font-size:11px;
  }

  body.page-logistics-regularizations .reg-state{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:6px;
    padding:4px 8px;
    border-radius:999px;
    background:#fff4df;
    color:#93631b;
    font-size:9px;
    font-weight:700;
  }

  body.page-logistics-regularizations .reg-empty{
    padding:28px;
    text-align:center;
    color:#788b96;
  }

  body.page-logistics-regularizations .reg-section-title{
    margin:0 0 12px;
    color:#17354c;
  }

  @media(max-width:800px) {
    body.page-logistics-regularizations .reg-item{
      grid-template-columns:1fr;
    }

    body.page-logistics-regularizations .reg-item .btn{
      width:100%;
      justify-content:center;
    }
  }


  body.page-request-detail .creator-review-card{
    margin-top: 16px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    border: 1px solid #efb8b8;
    border-left: 4px solid #c91f2a;
    background: #fff7f7;
    box-shadow: none;
  }
  body.page-request-detail .creator-review-icon{
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fdeaea;
    color: #b52b34;
    font-size: 18px;
  }
  body.page-request-detail .creator-review-copy h2{
    margin: 3px 0 4px;
    font-size: 17px;
    color: #7f1d1d;
  }
  body.page-request-detail .creator-review-copy p{
    margin: 0;
    color: #74565a;
    line-height: 1.4;
    font-size: 11px;
  }
  body.page-request-detail .creator-review-actions{
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  body.page-request-detail .creator-review-actions form{
    margin: 0;
  }
  body.page-request-detail .btn.review-danger{
    color: #a83232;
    border-color: #e1b1b1;
    background: #fff;
  }
  body.page-request-detail .btn.review-danger:hover{
    background: #fdeaea;
    border-color: #cf8585;
  }
  body.page-request-detail .review-stage-label{
    display: inline-block;
    color: #a83232;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }
  @media (max-width: 850px) {
    body.page-request-detail .creator-review-card{
      grid-template-columns: auto 1fr;
    }
    body.page-request-detail .creator-review-actions{
      grid-column: 1/-1;
    }
  }

  
  body.page-request-detail .detail-modal-window{
    width: min(760px, calc(100% - 32px)) !important;
    max-width: 760px !important;
  }

  body.page-request-detail .modal-vertical-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 18px;
    max-height: 58vh;
    overflow-y: auto;
  }

  body.page-request-detail .modal-item-card{
    border: 1px solid #d8e4ea;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
  }

  body.page-request-detail .modal-item-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 11px;
    background: #eef5f9;
    border-bottom: 1px solid #d5e3eb;
  }

  body.page-request-detail .modal-item-head strong{
    color: #264f69;
    font-size: 11px;
  }

  body.page-request-detail .modal-item-head span{
    color: #71818c;
    font-size: 10px;
  }

  body.page-request-detail .modal-item-body{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 11px;
  }

  body.page-request-detail .modal-data{
    min-width: 0;
  }

  body.page-request-detail .modal-data.full{
    grid-column: 1 / -1;
  }

  body.page-request-detail .modal-data.half{
    grid-column: span 2;
  }

  body.page-request-detail .modal-data label{
    display: block;
    margin-bottom: 3px;
    color: #83919a;
    font-size: 9px;
    font-weight: 700;
  }

  body.page-request-detail .modal-data div{
    color: #263e4c;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  @media (max-width: 650px) {
    body.page-request-detail .modal-item-body{
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-request-detail .modal-data.half{
      grid-column: 1 / -1;
    }
  }


  
  body.page-request-detail .detail-modal-window{
    width: min(880px, calc(100% - 32px)) !important;
    max-width: 880px !important;
  }

  body.page-request-detail .review-table-wrap{
    padding: 12px 16px 16px;
    max-height: 58vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.page-request-detail .review-detail-table{
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d6e2e9;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
  }

  body.page-request-detail .review-detail-table th{
    padding: 8px 9px;
    background: #eef5f9 !important;
    color: #315a72 !important;
    border-right: 1px solid #d7e3ea;
    border-bottom: 1px solid #cbdce6;
    font-size: 9px;
    font-weight: 700;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
  }

  body.page-request-detail .review-detail-table th:last-child{
    border-right: 0;
  }

  body.page-request-detail .review-detail-table td{
    padding: 9px;
    vertical-align: top;
    border-right: 1px solid #e2e9ed;
    border-bottom: 1px solid #e2e9ed;
    color: #304754;
    font-size: 10px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.page-request-detail .review-detail-table td:last-child{
    border-right: 0;
  }

  body.page-request-detail .review-detail-table tbody tr:last-child td{
    border-bottom: 0;
  }

  body.page-request-detail .review-detail-table .col-item{ width: 18%; }
  body.page-request-detail .review-detail-table .col-description{ width: 35%; }
  body.page-request-detail .review-detail-table .col-data{ width: 20%; }
  body.page-request-detail .review-detail-table .col-just{ width: 27%; }

  body.page-request-detail .review-section-name{
    display: block;
    margin-bottom: 3px;
    color: #245f83;
    font-weight: 700;
  }

  body.page-request-detail .review-item-number{
    color: #7a8b95;
    font-size: 9px;
  }

  body.page-request-detail .review-mini-data{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 8px;
  }

  body.page-request-detail .review-mini-data span{
    display: block;
    min-width: 0;
  }

  body.page-request-detail .review-mini-data small{
    display: block;
    color: #84939c;
    font-size: 8px;
    margin-bottom: 1px;
  }

  @media (max-width: 650px) {
    body.page-request-detail .detail-modal-window{
      width: calc(100% - 20px) !important;
    }

    body.page-request-detail .review-detail-table th, body.page-request-detail .review-detail-table td{
      padding: 7px 6px;
    }

    body.page-request-detail .review-mini-data{
      grid-template-columns: 1fr;
    }
  }


body.page-request-detail .detail-modal-window{
  width:min(920px,calc(100% - 32px))!important;
  max-width:920px!important;
}
body.page-request-detail .review-table-wrap{padding:0 16px 16px;max-height:56vh;overflow:auto}
body.page-request-detail .req-review-table{
  width:100%;border-collapse:collapse;table-layout:fixed;
  border:1px solid #d7e2e9;border-radius:10px;overflow:hidden;background:#fff
}
body.page-request-detail .req-review-table thead th{
  background:#153f59!important;color:#fff!important;
  padding:10px 9px;font-size:9px;font-weight:700;text-align:left;
  border-right:1px solid rgba(255,255,255,.12)
}
body.page-request-detail .req-review-table thead th:last-child{border-right:0}
body.page-request-detail .req-review-table td{
  padding:10px 9px;border-right:1px solid #e1e9ee;
  border-bottom:1px solid #e1e9ee;vertical-align:top;
  font-size:10px;line-height:1.45;color:#263f4e;
  overflow-wrap:anywhere;word-break:break-word
}
body.page-request-detail .req-review-table td:last-child{border-right:0}
body.page-request-detail .req-review-table tbody tr:last-child td{border-bottom:0}
body.page-request-detail .req-num{width:7%;text-align:center!important}
body.page-request-detail .req-sec{width:18%}body.page-request-detail .req-desc{width:31%}body.page-request-detail .req-cant{width:9%}
body.page-request-detail .req-und{width:9%}body.page-request-detail .req-stock{width:9%}body.page-request-detail .req-just{width:17%}
body.page-request-detail .req-section-badge{
  display:inline-block;padding:4px 7px;border-radius:6px;
  background:#edf5f9;color:#245c7b;font-weight:650;font-size:9px
}
body.page-request-detail .req-number{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:24px;height:24px;border-radius:6px;
  background:#f0f5f8;color:#234f69;font-weight:700
}
body.page-request-detail .req-empty{color:#9aa8b0}
@media(max-width:700px){
  body.page-request-detail .review-table-wrap{overflow-x:auto}
  body.page-request-detail .req-review-table{min-width:760px}
}


body.page-request-detail .vb-confirm-overlay{position:fixed;inset:0;background:rgba(10,31,45,.48);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999}
body.page-request-detail .vb-confirm-overlay.hidden{display:none}
body.page-request-detail .vb-confirm-box{width:min(430px,100%);background:#fff;border-radius:14px;box-shadow:0 18px 55px rgba(15,45,65,.24);overflow:hidden;animation:vbIn .16s ease-out}
@keyframes vbIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
body.page-request-detail .vb-confirm-body{padding:24px 24px 18px;text-align:center}
body.page-request-detail .vb-confirm-icon{width:50px;height:50px;border-radius:50%;margin:0 auto 13px;display:grid;place-items:center;background:#eaf4f8;color:#174e6d;font-size:20px}
body.page-request-detail .vb-confirm-body h3{margin:0 0 7px;color:#153f59;font-size:18px}
body.page-request-detail .vb-confirm-body p{margin:0;color:#687c88;font-size:12px;line-height:1.55}
body.page-request-detail .vb-confirm-actions{display:flex;justify-content:center;gap:9px;padding:0 24px 22px}
body.page-request-detail .vb-confirm-actions form{margin:0}
body.page-request-detail .vb-confirm-actions .btn{min-width:112px;justify-content:center}


body.page-request-detail .detail-modal-window{width:min(980px,calc(100vw - 48px))!important;max-width:980px!important;overflow:hidden!important;}
body.page-request-detail .detail-modal-window .review-table-wrap{padding:0 16px 16px!important;max-height:58vh!important;overflow-y:auto!important;overflow-x:hidden!important;}
body.page-request-detail .detail-modal-window .req-review-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;}
body.page-request-detail .detail-modal-window .req-review-table th{padding:10px 8px!important;font-size:9px!important;white-space:nowrap!important;vertical-align:middle!important;}
body.page-request-detail .detail-modal-window .req-review-table td{padding:10px 8px!important;font-size:10px!important;line-height:1.45!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;overflow:hidden!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-num{width:7%!important;text-align:center!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-sec{width:18%!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-desc{width:31%!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-cant{width:9%!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-und{width:9%!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-stock{width:9%!important;}
body.page-request-detail .detail-modal-window .req-review-table .req-just{width:17%!important;}
body.page-request-detail .detail-modal-window .req-review-table td:nth-child(3), body.page-request-detail .detail-modal-window .req-review-table td:nth-child(7){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
body.page-request-detail .detail-modal-window .req-section-badge{display:inline-block!important;max-width:100%!important;white-space:normal!important;line-height:1.3!important;}
body.page-request-detail .detail-modal-window .req-number{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:24px!important;height:24px!important;padding:0 5px!important;}
@media(max-width:800px){body.page-request-detail .detail-modal-window .review-table-wrap{overflow-x:auto!important}body.page-request-detail .detail-modal-window .req-review-table{min-width:820px!important}}


body.page-request-detail .sp-detail-vertical{display:grid;gap:10px;margin-top:12px}
body.page-request-detail .sp-detail-item{border:1px solid #d8e3e9;border-radius:10px;background:#fff;overflow:hidden}
body.page-request-detail .sp-detail-item-head{padding:8px 12px;background:#eef5f9;border-bottom:1px solid #d8e3e9;color:#285a76;font-size:10px;font-weight:700}
body.page-request-detail .sp-detail-concept{padding:11px 12px;border-bottom:1px solid #e5ecef;min-width:0}
body.page-request-detail .sp-detail-concept span, body.page-request-detail .sp-detail-data span{display:block;margin-bottom:3px;color:#80909a;font-size:9px;font-weight:700}
body.page-request-detail .sp-detail-concept strong{display:block;color:#263f4e;font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.page-request-detail .sp-detail-data{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
body.page-request-detail .sp-detail-data>div{padding:10px 12px;border-right:1px solid #e5ecef;min-width:0}
body.page-request-detail .sp-detail-data>div:last-child{border-right:0}
body.page-request-detail .sp-detail-data strong{display:block;color:#263f4e;font-size:11px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){body.page-request-detail .sp-detail-data{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-request-detail .sp-detail-data>div:nth-child(2){border-right:0}body.page-request-detail .sp-detail-data>div:nth-child(-n+2){border-bottom:1px solid #e5ecef}}


body.page-request-detail .sp-summary-tablewrap{
  overflow-x: hidden !important;
}
body.page-request-detail .sp-summary-table{
  width: 100%;
  table-layout: fixed;
}
body.page-request-detail .sp-summary-table th:nth-child(1), body.page-request-detail .sp-summary-table td:nth-child(1){ width: 7%; }
body.page-request-detail .sp-summary-table th:nth-child(2), body.page-request-detail .sp-summary-table td:nth-child(2){ width: 48%; }
body.page-request-detail .sp-summary-table th:nth-child(3), body.page-request-detail .sp-summary-table td:nth-child(3){ width: 9%; }
body.page-request-detail .sp-summary-table th:nth-child(4), body.page-request-detail .sp-summary-table td:nth-child(4){ width: 9%; }
body.page-request-detail .sp-summary-table th:nth-child(5), body.page-request-detail .sp-summary-table td:nth-child(5){ width: 13%; }
body.page-request-detail .sp-summary-table th:nth-child(6), body.page-request-detail .sp-summary-table td:nth-child(6){ width: 14%; }
body.page-request-detail .sp-summary-table th, body.page-request-detail .sp-summary-table td{
  white-space: normal !important;
  vertical-align: top;
}
body.page-request-detail .sp-summary-table .sp-concept-cell{
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.45;
}


body.page-request-detail .req-summary-tablewrap{
  overflow-x: hidden !important;
}
body.page-request-detail .req-summary-table{
  width: 100%;
  table-layout: fixed;
}
body.page-request-detail .req-summary-table th:nth-child(1), body.page-request-detail .req-summary-table td:nth-child(1){ width: 14%; }
body.page-request-detail .req-summary-table th:nth-child(2), body.page-request-detail .req-summary-table td:nth-child(2){ width: 6%; }
body.page-request-detail .req-summary-table th:nth-child(3), body.page-request-detail .req-summary-table td:nth-child(3){ width: 28%; }
body.page-request-detail .req-summary-table th:nth-child(4), body.page-request-detail .req-summary-table td:nth-child(4){ width: 8%; }
body.page-request-detail .req-summary-table th:nth-child(5), body.page-request-detail .req-summary-table td:nth-child(5){ width: 7%; }
body.page-request-detail .req-summary-table th:nth-child(6), body.page-request-detail .req-summary-table td:nth-child(6){ width: 8%; }
body.page-request-detail .req-summary-table th:nth-child(7), body.page-request-detail .req-summary-table td:nth-child(7){ width: 9%; }
body.page-request-detail .req-summary-table th:nth-child(8), body.page-request-detail .req-summary-table td:nth-child(8){ width: 20%; }
body.page-request-detail .req-summary-table th, body.page-request-detail .req-summary-table td{
  white-space: normal !important;
  vertical-align: top;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.45;
}
body.page-request-detail .req-summary-table .req-desc-cell, body.page-request-detail .req-summary-table .req-just-cell{
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}


body.page-request-detail .card .history{
  display: grid !important;

  grid-template-columns:
    170px
    220px
    minmax(0, 1fr) !important;

  align-items: center !important;

  gap: 20px !important;

  width: 100% !important;
  max-width: 100% !important;

  box-sizing: border-box !important;

  padding: 14px 0 !important;

  border-bottom: 1px solid #e4ebef !important;
}


body.page-request-detail .card .history:last-child{
  border-bottom: 0 !important;
}


body.page-request-detail .card .history > span:first-child{

  grid-column: 1 !important;
  grid-row: 1 !important;

  display: block !important;

  color: #758996 !important;

  font-size: 10px !important;

  line-height: 1.4 !important;

  white-space: nowrap !important;

  min-width: 0 !important;
}


body.page-request-detail .card .history > strong{

  grid-column: 2 !important;
  grid-row: 1 !important;

  display: block !important;

  color: #153f59 !important;

  font-size: 11px !important;

  font-weight: 700 !important;

  line-height: 1.4 !important;

  min-width: 0 !important;

  white-space: normal !important;

  overflow-wrap: anywhere !important;
}


body.page-request-detail .card .history > span:last-child{

  grid-column: 3 !important;
  grid-row: 1 !important;

  display: block !important;

  color: #536b79 !important;

  font-size: 11px !important;

  line-height: 1.45 !important;

  min-width: 0 !important;

  white-space: normal !important;

  overflow-wrap: anywhere !important;

  word-break: normal !important;
}


body.page-request-detail .history-full-layout, body.page-request-detail .logistics-full-stack{

  width: 100% !important;

  max-width: 100% !important;

  min-width: 0 !important;
}


body.page-request-detail .history-full-layout > .card, body.page-request-detail .logistics-full-stack > .card{

  width: 100% !important;

  max-width: 100% !important;

  min-width: 0 !important;

  box-sizing: border-box !important;
}


@media (max-width: 900px) {

  body.page-request-detail .card .history{

    grid-template-columns:
      145px
      180px
      minmax(0, 1fr) !important;

    gap: 14px !important;
  }
}


@media (max-width: 650px) {

  body.page-request-detail .card .history{

    grid-template-columns: 1fr !important;

    gap: 4px !important;

    padding: 13px 0 !important;
  }


  body.page-request-detail .card .history > span:first-child, body.page-request-detail .card .history > strong, body.page-request-detail .card .history > span:last-child{

    grid-column: 1 !important;

    grid-row: auto !important;
  }


  body.page-request-detail .card .history > span:first-child{

    margin-bottom: 2px !important;
  }
}


  
  body.page-request-detail .logistics-main-full{
    grid-column: 1 / -1;
  }

  body.page-request-detail .purchase-stage-horizontal{
    width: 100%;
  }

  body.page-request-detail .purchase-receipts{
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  body.page-request-detail .purchase-receipt-row{
    display: grid;
    grid-template-columns: 42px 150px 150px minmax(150px,1fr) 135px minmax(190px,1.2fr) 36px;
    gap: 9px;
    align-items: end;
    padding: 11px;
    border: 1px solid #d8e3e9;
    border-radius: 10px;
    background: #fff;
  }

  body.page-request-detail .purchase-receipt-row .field{
    margin: 0;
    min-width: 0;
  }

  body.page-request-detail .purchase-receipt-row label{
    font-size: 9px;
    margin-bottom: 4px;
  }

  body.page-request-detail .purchase-receipt-num{
    align-self: center;
    justify-self: center;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #edf4f8;
    color: #24536f;
    font-size: 10px;
    font-weight: 800;
  }

  body.page-request-detail .purchase-remove{
    width: 34px;
    height: 34px;
    border: 1px solid #e2c3c3;
    border-radius: 8px;
    background: #fff;
    color: #b73535;
    cursor: pointer;
  }

  body.page-request-detail .purchase-add-btn{
    margin-top: 10px;
  }

  body.page-request-detail .purchase-total-box{
    margin-top: 12px;
    padding: 11px 13px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #e3eaee;
  }

  body.page-request-detail .purchase-total-box span{
    color: #6c808d;
    font-size: 10px;
  }

  body.page-request-detail .purchase-total-box strong{
    color: #153f59;
    font-size: 15px;
  }

  body.page-request-detail .regularization-note{
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #cfe0e9;
    border-radius: 10px;
    background: #eef6fa;
    color: #385c72;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 10.5px;
    line-height: 1.5;
  }

  body.page-request-detail .purchase-list-table{
    width: 100%;
    table-layout: fixed;
  }

  body.page-request-detail .purchase-list-table th, body.page-request-detail .purchase-list-table td{
    white-space: normal !important;
    overflow-wrap: anywhere;
    vertical-align: top;
  }

  body.page-request-detail .purchase-regularization-table{
    width: 100%;
    table-layout: fixed;
  }

  body.page-request-detail .purchase-regularization-table th, body.page-request-detail .purchase-regularization-table td{
    white-space: normal !important;
    vertical-align: top;
  }

  body.page-request-detail .purchase-regularization-table textarea{
    min-height: 38px;
    resize: vertical;
  }

  @media (max-width: 1100px) {
    body.page-request-detail .purchase-receipt-row{
      grid-template-columns: 38px repeat(2,minmax(140px,1fr));
    }
    body.page-request-detail .purchase-receipt-row > *{
      min-width: 0;
    }
  }


body.page-request-detail .logistics-full-stack{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:16px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}

body.page-request-detail .logistics-full-stack > div, body.page-request-detail .logistics-full-stack > .card, body.page-request-detail .logistics-full-stack .stage-card{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

body.page-request-detail .logistics-full-stack .card{
  margin:0 !important;
}

body.page-request-detail .logistics-full-stack .purchase-stage-horizontal{
  grid-column:1 !important;
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
}

body.page-request-detail .logistics-full-stack .purchase-receipts{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}

body.page-request-detail .logistics-full-stack .purchase-receipt-row{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;

  grid-template-columns:
    34px
    minmax(125px,1fr)
    minmax(115px,.9fr)
    minmax(145px,1.15fr)
    minmax(105px,.75fr)
    minmax(170px,1.35fr)
    34px !important;

  gap:10px !important;
  padding:12px !important;
}

body.page-request-detail .logistics-full-stack .purchase-receipt-row .field, body.page-request-detail .logistics-full-stack .purchase-receipt-row input, body.page-request-detail .logistics-full-stack .purchase-receipt-row select{
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

body.page-request-detail .logistics-full-stack .purchase-receipt-row input[type="file"]{
  font-size:10px !important;
  padding:8px !important;
}

body.page-request-detail .logistics-full-stack .purchase-total-box{
  margin-left:auto !important;
  width:min(270px,100%) !important;
}

body.page-request-detail .logistics-full-stack + .card, body.page-request-detail .logistics-full-stack .history-full-layout{
  width:100% !important;
}

@media(max-width:1050px){
  body.page-request-detail .logistics-full-stack .purchase-receipt-row{
    grid-template-columns:
      34px
      repeat(2,minmax(0,1fr)) !important;
  }

  body.page-request-detail .logistics-full-stack .purchase-receipt-row > *{
    min-width:0 !important;
  }

  body.page-request-detail .logistics-full-stack .purchase-receipt-row .purchase-remove{
    justify-self:end !important;
  }
}

@media(max-width:700px){
  body.page-request-detail .logistics-full-stack .purchase-receipt-row{
    grid-template-columns:34px minmax(0,1fr) !important;
  }
}


body.page-request-detail .purchase-stage-horizontal{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.page-request-detail .purchase-stage-horizontal form{
  width: 100% !important;
  min-width: 0 !important;
}

body.page-request-detail .purchase-receipts{
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: 14px !important;
}

body.page-request-detail .purchase-receipt-row{
  display: grid !important;
  grid-template-columns:
    34px
    minmax(135px, 0.85fr)
    minmax(130px, 0.78fr)
    minmax(180px, 1.12fr)
    minmax(115px, 0.72fr)
    minmax(235px, 1.55fr)
    36px !important;
  gap: 12px !important;
  align-items: end !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  padding: 14px !important;
  box-sizing: border-box !important;

  border: 1px solid #d7e3ea !important;
  border-radius: 11px !important;
  background: #fbfdfe !important;
}

body.page-request-detail .purchase-receipt-row .field{
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.page-request-detail .purchase-receipt-row .field label{
  display: block !important;
  margin: 0 0 5px !important;
  color: #355568 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}

body.page-request-detail .purchase-receipt-row input, body.page-request-detail .purchase-receipt-row select{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  box-sizing: border-box !important;
}

body.page-request-detail .purchase-receipt-row input[type="file"]{
  height: 42px !important;
  padding: 7px 8px !important;
  font-size: 9.5px !important;
  background: #fff !important;
}

body.page-request-detail .purchase-receipt-num{
  align-self: center !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 7px !important;
  background: #eaf3f8 !important;
  color: #194b69 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.page-request-detail .purchase-remove{
  align-self: center !important;
  justify-self: center !important;
  width: 34px !important;
  height: 34px !important;
}

body.page-request-detail .purchase-add-btn{
  margin-top: 10px !important;
}

body.page-request-detail .purchase-total-box{
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 12px 0 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
  border-top: 1px solid #e3eaee !important;
}

body.page-request-detail .purchase-total-box span{
  font-size: 10px !important;
}

body.page-request-detail .purchase-total-box strong{
  min-width: 85px !important;
  text-align: right !important;
  font-size: 15px !important;
}

body.page-request-detail .regularization-note{
  width: 100% !important;
  box-sizing: border-box !important;
}


body.page-request-detail .card .history{
  display: grid !important;
  grid-template-columns: 135px 190px minmax(0, 1fr) !important;
  column-gap: 18px !important;
  row-gap: 2px !important;
  align-items: start !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  padding: 13px 0 !important;
  box-sizing: border-box !important;
}

body.page-request-detail .card .history > span:first-child{
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.page-request-detail .card .history > strong{
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: normal !important;
}

body.page-request-detail .card .history > span:last-child{
  grid-column: 3 !important;
  grid-row: 1 !important;

  display: block !important;
  justify-self: stretch !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  line-height: 1.45 !important;
}

@media (max-width: 1100px) {
  body.page-request-detail .purchase-receipt-row{
    grid-template-columns:
      34px
      repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-request-detail .purchase-receipt-row .field{
    min-width: 0 !important;
  }

  body.page-request-detail .purchase-remove{
    justify-self: end !important;
  }

  body.page-request-detail .card .history{
    grid-template-columns: 125px 170px minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }
}

@media (max-width: 700px) {
  body.page-request-detail .purchase-receipt-row{
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  body.page-request-detail .card .history{
    grid-template-columns: 1fr !important;
    row-gap: 4px !important;
  }

  body.page-request-detail .card .history > span:first-child, body.page-request-detail .card .history > strong, body.page-request-detail .card .history > span:last-child{
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}


body.page-request-tracking .track-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}body.page-request-tracking .track-actions{display:flex;gap:8px;flex-wrap:wrap}
body.page-request-tracking .track-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}body.page-request-tracking .track-summary>div{padding:12px 14px;border:1px solid #e0e8ed;border-radius:9px;background:#fbfdfe}
body.page-request-tracking .track-summary span, body.page-request-tracking .track-status span{display:block;margin-bottom:4px;color:#7b8d98;font-size:9px;font-weight:700}body.page-request-tracking .track-summary strong{color:#153f59;font-size:11px;overflow-wrap:anywhere}
body.page-request-tracking .track-status{margin-top:14px;padding:13px 15px;border-radius:9px;background:#edf5f9;border:1px solid #d5e4ec}body.page-request-tracking .track-status strong{color:#174d6b;font-size:13px}
body.page-request-tracking .track-history{display:grid;grid-template-columns:170px 220px minmax(0,1fr);gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #e4ebef}body.page-request-tracking .track-history:last-child{border-bottom:0}
body.page-request-tracking .track-history .date{color:#758996;font-size:10px;white-space:nowrap}body.page-request-tracking .track-history strong{color:#153f59;font-size:11px}body.page-request-tracking .track-history .action{color:#536b79;font-size:11px;line-height:1.45}
@media(max-width:700px){body.page-request-tracking .track-head{display:block}body.page-request-tracking .track-actions{margin-top:12px}body.page-request-tracking .track-summary{grid-template-columns:1fr}body.page-request-tracking .track-history{grid-template-columns:1fr;gap:4px}}


body.page-requests .tramite-search-grid-v2{display:grid;grid-template-columns:220px minmax(420px,1fr);gap:14px;align-items:end}
body.page-requests .request-code-cell strong{display:block}body.page-requests .request-code-cell small{display:block;margin-top:3px;color:#7b8e99;font-size:9px}
body.page-requests .request-actions{display:flex;gap:7px;flex-wrap:wrap}body.page-requests .request-actions .btn{white-space:nowrap}
body.page-requests .tracking-btn{color:#174f70;border-color:#bfd2dd;background:#f7fbfd}body.page-requests .requests-empty{padding:28px 18px!important;text-align:center;color:#748894}
@media(max-width:900px){body.page-requests .tramite-search-grid-v2{grid-template-columns:1fr 1fr}body.page-requests .search-main-field{grid-column:1/-1}}
@media(max-width:620px){body.page-requests .tramite-search-grid-v2{grid-template-columns:1fr}body.page-requests .search-main-field{grid-column:auto}}


body.page-treasury .treasury-head{margin-bottom:18px}body.page-treasury .treasury-head h1{margin:0;color:#153f59;font-size:24px}body.page-treasury .treasury-head p{margin:5px 0 0;color:#6d818e;font-size:11px}body.page-treasury .treasury-kpi{background:#fff;border:1px solid #dbe5ea;border-radius:12px;padding:16px;margin-bottom:18px;max-width:340px}body.page-treasury .treasury-kpi span{display:block;color:#778b97;font-size:10px;margin-bottom:5px}body.page-treasury .treasury-kpi strong{color:#153f59;font-size:22px}body.page-treasury .treasury-section{background:#fff;border:1px solid #dbe5ea;border-radius:13px;padding:18px;margin-bottom:16px}body.page-treasury .treasury-section h2{margin:0;font-size:17px;color:#173e57}body.page-treasury .treasury-section .sub{margin:5px 0 14px;color:#728692;font-size:10.5px}body.page-treasury .treasury-table{width:100%;border-collapse:collapse;table-layout:fixed}body.page-treasury .treasury-table th{background:#f4f7f9;color:#657b89;text-align:left;font-size:9px;padding:10px;border-bottom:1px solid #dce6eb}body.page-treasury .treasury-table td{font-size:10.5px;color:#304a59;padding:11px 10px;border-bottom:1px solid #e5ecef;vertical-align:middle;overflow-wrap:anywhere}body.page-treasury .treasury-table strong{color:#173f59}body.page-treasury .status-pill{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:700}body.page-treasury .pending{background:#fff3d8;color:#8a6508}body.page-treasury .empty{padding:18px;border:1px dashed #d6e1e7;border-radius:9px;color:#7b8d98;font-size:11px;text-align:center}body.page-treasury .table-actions{display:flex;justify-content:flex-end}body.page-treasury .treasury-section .btn{font-size:10px;padding:8px 11px}@media(max-width:900px){body.page-treasury .treasury-section{overflow-x:auto}body.page-treasury .treasury-table{min-width:700px}}


  body.page-treasury-payment-detail .td-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
  }
  body.page-treasury-payment-detail .td-head h1{
    margin: 0;
    color: #153f59;
    font-size: 22px;
  }
  body.page-treasury-payment-detail .td-head p{
    margin: 4px 0 0;
    color: #748894;
    font-size: 10.5px;
  }
  body.page-treasury-payment-detail .td-card{
    background: #fff;
    border: 1px solid #dbe5ea;
    border-radius: 13px;
    padding: 18px;
    margin-bottom: 15px;
  }
  body.page-treasury-payment-detail .td-summary{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  body.page-treasury-payment-detail .td-summary > div{
    padding: 12px;
    border: 1px solid #e0e8ed;
    border-radius: 9px;
    background: #f8fafb;
  }
  body.page-treasury-payment-detail .td-summary span{
    display: block;
    color: #7b8e99;
    font-size: 9px;
    margin-bottom: 4px;
  }
  body.page-treasury-payment-detail .td-summary strong{
    color: #173f59;
    font-size: 12px;
  }
  body.page-treasury-payment-detail .td-card h2{
    margin: 0 0 5px;
    color: #173f59;
    font-size: 17px;
  }
  body.page-treasury-payment-detail .td-card .sub{
    margin: 0 0 14px;
    color: #758995;
    font-size: 10.5px;
  }
  body.page-treasury-payment-detail .td-table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  body.page-treasury-payment-detail .td-table th{
    padding: 9px;
    background: #f4f7f9;
    color: #687e8b;
    font-size: 9px;
    text-align: left;
    border-bottom: 1px solid #dce6eb;
  }
  body.page-treasury-payment-detail .td-table td{
    padding: 10px 9px;
    font-size: 10.5px;
    color: #314b5a;
    border-bottom: 1px solid #e4ecef;
    overflow-wrap: anywhere;
  }
  body.page-treasury-payment-detail .td-table tr:last-child td{
    border-bottom: 0;
  }
  body.page-treasury-payment-detail .pay-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  body.page-treasury-payment-detail .pay-grid .field{
    margin: 0;
  }
  body.page-treasury-payment-detail .evidence-list{
    display: grid;
    gap: 8px;
    margin-top: 8px;
  }
  body.page-treasury-payment-detail .evidence-row{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
  }
  body.page-treasury-payment-detail .evidence-row input{
    width: 100%;
    box-sizing: border-box;
  }
  body.page-treasury-payment-detail .remove-evidence{
    height: 36px;
    border: 1px solid #e5bcbc;
    background: #fff;
    color: #b83232;
    border-radius: 8px;
    cursor: pointer;
  }
  body.page-treasury-payment-detail .td-note{
    padding: 11px 13px;
    border: 1px solid #cfe0e9;
    background: #eef6fa;
    color: #385c72;
    border-radius: 9px;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 12px;
  }
  body.page-treasury-payment-detail .paid-file{
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }
  body.page-treasury-payment-detail .paid-file span{
    flex: 1;
    min-width: 180px;
  }
  body.page-treasury-payment-detail .status{
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff3d8;
    color: #8a6508;
    font-size: 9px;
    font-weight: 700;
  }
  body.page-treasury-payment-detail .status.done{
    background: #eaf6ef;
    color: #2f6d49;
  }
  @media (max-width: 800px) {
    body.page-treasury-payment-detail .td-summary, body.page-treasury-payment-detail .pay-grid{
      grid-template-columns: 1fr 1fr;
    }
    body.page-treasury-payment-detail .td-card{
      overflow-x: auto;
    }
    body.page-treasury-payment-detail .td-table{
      min-width: 720px;
    }
  }
  @media (max-width: 560px) {
    body.page-treasury-payment-detail .td-summary, body.page-treasury-payment-detail .pay-grid{
      grid-template-columns: 1fr;
    }
  }


.request-search-row{display:flex;gap:8px}
.request-search-input-grow{flex:1}
.requests-empty-row{display:none}
.detail-guia-fields{display:none;margin-top:12px}
.detail-guia-pending-note{display:none}
.detail-flex-actions{display:flex;gap:8px;flex-wrap:wrap}
.detail-flex-actions-wide{gap:10px}
.forgot-password-footer{text-align:center;margin-top:16px}


.nt-table { min-width: 1320px; }
.nt-td-priority { width: 118px; }
.nt-td-date { width: 140px; }
.nt-td-images { width: 150px; }
.req-item-priority { min-width: 108px; }
.req-image-btn { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border:1px solid #cfdbe2; border-radius:7px; background:#fff; color:#174b68; font-size:12px; font-weight:700; cursor:pointer; white-space:nowrap; }
.req-image-btn:hover { background:#f4f8fa; }
.req-image-count { display:block; margin-top:5px; font-size:11px; color:#71838d; }
.req-priority-badge { display:inline-flex; padding:4px 8px; border-radius:999px; font-size:11px; font-weight:700; white-space:nowrap; }
.req-priority-normal { background:#eef3f5; color:#526872; }
.req-priority-prioritario { background:#fff4d8; color:#8a6100; }
.req-priority-urgente { background:#fde9e7; color:#a4362e; }
.req-reference-gallery { margin-top:20px; padding-top:18px; border-top:1px solid #dce5ea; }
.req-reference-gallery h3 { margin:0 0 14px; color:#123f5c; }
.req-reference-item { margin-bottom:18px; }
.req-reference-images { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }
.req-reference-images img { width:150px; height:105px; object-fit:cover; border:1px solid #d9e3e8; border-radius:8px; background:#fff; }
.edit-item-images { display:grid; gap:4px; margin-top:6px; }
.edit-item-image-chip { font-size:10px; color:#7b4a46; cursor:pointer; }
.edit-item-image-chip input { margin-right:4px; }
@media (max-width:760px) { .req-reference-images img { width:120px; height:90px; } }


@media (min-width: 1001px) {
  .app { grid-template-columns: 205px 1fr; }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 13px; }
  .sidebar nav a { padding: 9px 10px; }
}


#reqForm .nt-wrap,
#editReqForm .nt-wrap { overflow-x: visible; }

#reqForm .nt-table,
#editReqForm .nt-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

#reqForm .nt-table th,
#editReqForm .nt-table th {
  padding: 8px 7px;
  font-size: 10px;
  letter-spacing: .02em;
}

#reqForm .nt-table td,
#editReqForm .nt-table td {
  padding: 6px 5px;
  vertical-align: top;
}

.nt-td-n { width: 38px !important; }
.nt-td-desc { width: 27% !important; }
.nt-td-cant { width: 68px !important; }
.nt-td-und { width: 80px !important; }
.nt-td-stk { width: 68px !important; }
.nt-td-buy { width: 82px !important; }
.nt-td-just { width: 25% !important; }
.nt-td-details { width: 112px !important; }
.nt-td-del { width: 38px !important; }

#reqForm .nt-table input,
#reqForm .nt-table select,
#reqForm .nt-table textarea,
#editReqForm .nt-table input,
#editReqForm .nt-table select,
#editReqForm .nt-table textarea {
  min-width: 0;
  width: 100%;
  font-size: 12px;
}

#reqForm .nt-table textarea,
#editReqForm .nt-table textarea {
  min-height: 34px;
  padding: 7px 8px;
  line-height: 1.35;
}

#reqForm .nt-table input,
#reqForm .nt-table select,
#editReqForm .nt-table input,
#editReqForm .nt-table select {
  height: 34px;
  padding: 6px 7px;
}

.req-main-row.details-open > td {
  background: #fbfdfe;
  border-bottom-color: transparent;
}

.req-details-btn {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cbd9e2;
  border-radius: 7px;
  background: #fff;
  color: #164a68;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.req-details-btn:hover,
.req-main-row.details-open .req-details-btn {
  background: #edf6fb;
  border-color: #83b6d2;
  color: #0f5c84;
}
.req-details-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 5px;
}
.req-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 3px 5px;
  border-radius: 999px;
  background: #eef3f6;
  color: #536b78;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}
.req-mini-chip.priority { background: #fff2cf; color: #825d00; }
.req-mini-chip.urgent { background: #fde6e3; color: #9d332c; }

.req-details-row.hidden { display: none; }
.req-details-row > td {
  padding: 0 8px 10px !important;
  background: #fbfdfe;
  border-top: 0 !important;
}
.req-details-panel {
  border: 1px solid #cfe0e9;
  border-radius: 9px;
  background: #f7fbfd;
  padding: 13px 14px 14px;
  box-shadow: inset 3px 0 0 #3f8db7;
}
.req-details-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.req-details-heading strong {
  display: block;
  color: #153e57;
  font-size: 12.5px;
}
.req-details-heading span {
  display: block;
  margin-top: 3px;
  color: #718490;
  font-size: 10.5px;
}
.req-details-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: #eaf1f5;
  color: #607783;
  cursor: pointer;
}
.req-details-grid {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(190px, .85fr) minmax(320px, 1.7fr);
  gap: 14px;
  align-items: start;
}
.req-detail-field label:first-child {
  display: block;
  margin-bottom: 6px;
  color: #294e64;
  font-size: 11px;
  font-weight: 700;
}
.req-detail-field label span { color: #7b8e99; font-weight: 500; }
.req-detail-field > input,
.req-detail-field > select {
  width: 100%;
  height: 36px;
  border: 1px solid #cbd9e2;
  border-radius: 7px;
  background: #fff;
  padding: 6px 9px;
  color: #17384c;
  font: inherit;
  font-size: 12px;
}
.req-detail-field > small,
.req-detail-images > small {
  display: block;
  margin-top: 5px;
  color: #778a95;
  font-size: 10px;
  line-height: 1.35;
}
.req-detail-images .req-image-btn {
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 11.5px;
}
.req-detail-images .req-image-count {
  display: inline-block;
  margin: 0 0 0 8px;
  font-size: 10.5px;
}
.req-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}
.req-image-thumb {
  position: relative;
  width: 82px;
  height: 62px;
  border: 1px solid #ccd9e1;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.req-image-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.req-image-remove-new,
.req-image-remove-existing span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(145,45,39,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #b13f37;
  font-size: 10px;
  cursor: pointer;
}
.req-image-remove-existing { position: static; }
.req-image-remove-existing input { position: absolute; opacity: 0; pointer-events: none; }
.req-image-thumb.marked-remove { opacity: .38; filter: grayscale(.8); }
.req-image-thumb.marked-remove::after {
  content: "Se quitará";
  position: absolute;
  inset: auto 0 0;
  padding: 2px;
  background: rgba(121,45,39,.88);
  color: #fff;
  text-align: center;
  font-size: 8px;
}


#reqForm .form-section,
#editReqForm .form-section { padding-top: 12px; padding-bottom: 12px; }
#reqForm .nt-title { margin-bottom: 8px; }

@media (max-width: 1180px) {
  #reqForm .nt-wrap,
  #editReqForm .nt-wrap { overflow-x: auto; }
  #reqForm .nt-table,
  #editReqForm .nt-table { min-width: 900px; }
  .req-details-grid { grid-template-columns: 1fr 1fr; }
  .req-detail-images { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .req-details-grid { grid-template-columns: 1fr; }
  .req-detail-images { grid-column: auto; }
  .req-details-panel { padding: 12px; }
}


.lanr-create-shell{max-width:1240px;margin:0 auto;padding:8px 18px 28px;}
.lanr-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 14px;padding:0 2px;}
.lanr-create-head h1{margin:0;color:#0d2f45;font-size:24px;line-height:1.15;font-weight:800;letter-spacing:-.02em;}
.lanr-create-head p{margin:5px 0 0;color:#657d8c;font-size:13px;}
.lanr-create-switch{display:inline-flex;gap:4px;padding:4px;border:1px solid #d6e2e9;border-radius:10px;background:#f6f9fb;}
.lanr-create-switch-btn{height:34px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#607987;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:7px;}
.lanr-create-switch-btn.active{background:#fff;color:#123f5c;box-shadow:0 1px 4px rgba(20,61,86,.12);}
.lanr-create-card{overflow:hidden;border:1px solid #d6e1e8;border-radius:10px;background:#fff;box-shadow:0 3px 14px rgba(21,64,91,.05);}
.lanr-create-section{padding:13px 14px;border-bottom:1px solid #e6edf1;}
.lanr-create-section:last-of-type{border-bottom:0;}
.lanr-section-label{margin:0 0 8px;color:#173e57;font-size:12px;font-weight:800;}
.lanr-type-section{padding-top:12px;}
.req-options-ref{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.req-options-ref .req-check{min-width:0;}
.req-options-ref .req-check-content{min-height:58px;padding:9px 12px;border:1px solid #d0dde5;border-radius:8px;background:#fff;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;}
.req-options-ref .req-check:hover .req-check-content{border-color:#9fc4d8;background:#fbfdfe;}
.req-options-ref .req-check input:checked + .req-check-content{border-color:#4b96be;background:#f1f8fc;box-shadow:inset 0 0 0 1px rgba(75,150,190,.06);}
.req-options-ref .req-check-icon{width:32px;height:32px;border-radius:8px;background:#eaf4f9;color:#2d789f;}
.req-options-ref .req-check strong{font-size:11.5px;color:#173b52;}
.req-options-ref .req-check span{margin-top:3px;font-size:9.7px;color:#7b8f9b;}
.lanr-general-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.lanr-general-grid .field label,.lanr-identification-grid .field label{font-size:10.5px;font-weight:700;color:#294d62;}
.lanr-general-grid .field input,.lanr-identification-grid .field input{height:38px;border-radius:7px;border:1px solid #cbd9e2;padding:8px 10px;font-size:12px;}
.lanr-materials-section{padding-top:11px;}
.lanr-materials-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px;}
.lanr-materials-head .lanr-section-label{margin-bottom:3px;}
.lanr-materials-head p{margin:0;color:#7a8d98;font-size:9.8px;line-height:1.35;}
.lanr-add-area{display:flex;justify-content:flex-end;align-items:center;min-height:34px;}
.lanr-add-area .nt-add-split{display:flex;gap:5px;}
.lanr-add-area button{height:34px!important;min-height:34px!important;padding:0 11px!important;border-radius:7px!important;font-size:10.5px!important;white-space:nowrap;}
.lanr-table-wrap{overflow-x:visible!important;}
.lanr-table-box{border:1px solid #cfdde5;border-radius:8px;overflow:hidden;background:#fff;}
#reqForm .lanr-table-ref{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;}
#reqForm .lanr-table-ref thead th{height:31px;padding:6px 6px;background:#123f5c;color:#fff;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.025em;vertical-align:middle;}
#reqForm .lanr-table-ref td{padding:5px 5px;vertical-align:middle;border-color:#dce6ec;}
#reqForm .lanr-table-ref .nt-sec-row td{padding:5px 8px!important;background:#eaf5fb;color:#174c69;font-size:9.5px;font-weight:800;text-transform:uppercase;}
#reqForm .nt-td-n{width:36px!important;}
#reqForm .nt-td-desc{width:24%!important;}
#reqForm .nt-td-cant{width:62px!important;}
#reqForm .nt-td-und{width:76px!important;}
#reqForm .nt-td-stk{width:65px!important;}
#reqForm .nt-td-buy{width:80px!important;}
#reqForm .nt-td-just{width:27%!important;}
#reqForm .nt-td-details{width:108px!important;}
#reqForm .nt-td-del{width:34px!important;}
#reqForm .lanr-table-ref input,#reqForm .lanr-table-ref select,#reqForm .lanr-table-ref textarea{font-size:11px!important;border-radius:6px!important;}
#reqForm .lanr-table-ref input,#reqForm .lanr-table-ref select{height:32px!important;padding:5px 7px!important;}
#reqForm .lanr-table-ref textarea{min-height:32px!important;padding:6px 7px!important;line-height:1.3!important;resize:none;}
#reqForm .req-details-btn{min-height:32px;height:32px;border-radius:6px;font-size:10.5px;background:#fff;}
#reqForm .req-main-row.details-open .req-details-btn{background:#2f93c6;color:#fff;border-color:#2f93c6;}
#reqForm .req-details-row>td{padding:0 7px 8px!important;background:#fff;}
#reqForm .req-details-panel{padding:11px 12px 12px;border:1px solid #bcdbea;border-radius:8px;background:#f5fbfe;box-shadow:inset 3px 0 0 #2f93c6;}
#reqForm .req-details-heading{margin-bottom:9px;}
#reqForm .req-details-heading strong{font-size:11.5px;}
#reqForm .req-details-heading span{font-size:9.5px;}
#reqForm .req-details-grid{grid-template-columns:minmax(150px,.7fr) minmax(180px,.8fr) minmax(360px,1.75fr);gap:12px;}
#reqForm .req-detail-field label:first-child{font-size:10px;margin-bottom:5px;}
#reqForm .req-detail-field>input,#reqForm .req-detail-field>select{height:34px;font-size:11px;border-radius:6px;}
#reqForm .req-detail-field>small,#reqForm .req-detail-images>small{font-size:9px;}
#reqForm .req-detail-images .req-image-btn{min-height:34px;font-size:10.5px;}
#reqForm .req-image-thumb{width:96px;height:68px;border-radius:6px;}
.lanr-identification-section{padding-top:12px;padding-bottom:12px;}
.lanr-identification-grid{display:grid;grid-template-columns:1fr 1fr minmax(250px,.62fr);gap:12px;align-items:end;}
.lanr-review-note{min-height:58px;margin:0!important;padding:10px 11px!important;border-radius:8px!important;}
.lanr-review-note strong{font-size:10.5px;}
.lanr-review-note span{font-size:9.3px;line-height:1.3;}
.lanr-create-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 14px;background:#fbfcfd;border-top:1px solid #e6edf1;}
.lanr-cancel-btn,.lanr-save-btn{height:36px;min-height:36px;border-radius:7px;padding:0 14px;font-size:11px;display:inline-flex;align-items:center;justify-content:center;}
.lanr-save-btn{min-width:165px;}


@media (min-width: 1100px){
  .sidebar{width:205px!important;}
  .main{margin-left:205px!important;}
}
@media (max-width:1180px){
  .lanr-create-shell{padding-left:10px;padding-right:10px;}
  #reqForm .lanr-table-wrap{overflow-x:auto!important;}
  #reqForm .lanr-table-ref{min-width:930px;}
  #reqForm .req-details-grid{grid-template-columns:1fr 1fr;}
  #reqForm .req-detail-images{grid-column:1/-1;}
  .lanr-identification-grid{grid-template-columns:1fr 1fr;}
  .lanr-review-note{grid-column:1/-1;}
}
@media (max-width:820px){
  .lanr-create-head{flex-direction:column;align-items:stretch;}
  .lanr-create-switch{align-self:flex-start;}
  .req-options-ref{grid-template-columns:1fr;}
  .lanr-general-grid,.lanr-identification-grid{grid-template-columns:1fr;}
  .lanr-materials-head{align-items:flex-start;flex-direction:column;}
  .lanr-add-area{justify-content:flex-start;width:100%;}
  .lanr-add-area .nt-add-split{flex-wrap:wrap;}
}


.lanr-module-shell{width:100%;margin:0;padding:0 0 28px}.lanr-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.lanr-module-head h1{margin:0;font-size:24px;line-height:1.2;color:#17354c}.lanr-module-head p{margin:5px 0 0;color:#667085;max-width:720px;font-size:13px}.lanr-eyebrow{display:block;margin-bottom:6px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#667085}.lanr-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lanr-module-card{min-height:110px;border:1px solid #dfe5ec;border-radius:12px;background:#fff;padding:16px 18px;display:flex;align-items:center;gap:15px;text-decoration:none;color:inherit;position:relative;box-shadow:0 1px 2px rgba(16,24,40,.04)}.lanr-module-card.available{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.lanr-module-card.available:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(16,24,40,.08);border-color:#b7c6d5}.lanr-module-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#eef4f7;color:#173f56;font-size:17px;flex:0 0 auto}.lanr-module-content{display:flex;flex-direction:column;gap:4px}.lanr-module-content strong{font-size:14px}.lanr-module-content span{font-size:12px;line-height:1.4;color:#667085}.lanr-module-content em{font-size:11px;font-style:normal;font-weight:700;width:max-content;padding:4px 8px;border-radius:999px;background:#f2f4f7;color:#667085}.lanr-module-arrow{margin-left:auto;color:#667085}.lanr-module-card.coming-soon{background:#f8fafb;color:#667085}.lanr-back-link{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;text-decoration:none;color:#536471;margin-bottom:8px}.lanr-work-context{border:1px solid #dfe5ec;border-radius:10px;padding:9px 12px;background:#fff;min-width:170px}.lanr-work-context span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#7b8794}.lanr-work-context strong{display:block;font-size:13px;margin-top:2px}.lanr-number-composer{display:flex;align-items:center;gap:9px;width:100%}.lanr-number-composer input{min-width:0;flex:1}.lanr-year-fixed{min-width:76px;height:42px;padding:0 12px;border:1px solid #d0d5dd;background:#f5f7f9;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#344054}.lanr-number-fixed{font-weight:700;color:#667085}.lanr-confirm-icon.warning{background:#fff7df;color:#a15c00}@media(max-width:800px){.lanr-module-grid{grid-template-columns:1fr}.lanr-create-head{flex-direction:column}.lanr-work-context{width:100%}}


.optional-label {
  font-weight: 500;
  color: #6b7280;
  font-size: .9em;
}

.lanr-support-section input[type="file"] {
  width: 100%;
}

.req-existing-images {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.req-existing-image-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid #dfe7ec;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
}

.req-existing-image-item a {
  color: #17495f;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.req-existing-image-item a:hover {
  text-decoration: underline;
}

.req-existing-image-item span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #9a3412;
}


.qm-head,.qm-title-row,.quotation-entry-card{display:flex;justify-content:space-between;align-items:center;gap:16px}.qm-head h1{margin-bottom:4px}.quotation-entry-card{flex-wrap:wrap}.quotation-entry-card h3{margin:0 0 4px}.qm-summary h3{margin-top:0}.qm-progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.qm-progress-item{border:1px solid var(--border,#dfe3e8);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}.qm-progress-item>span{font-size:12px;color:#6b7280}.qm-provider-form{border:1px dashed #cbd5e1;border-radius:10px;padding:14px;margin-top:12px}.hidden{display:none!important}.qm-items-table-wrap{overflow-x:auto}.qm-table{width:100%;border-collapse:collapse}.qm-table th,.qm-table td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle}.qm-table th{font-size:12px;text-transform:uppercase;color:#64748b}.qm-table input[type=number]{min-width:120px;width:100%}.qm-quote,.qm-auth{border:1px solid #e5e7eb;border-radius:12px;padding:14px;margin-top:12px}.qm-quote-head,.qm-auth{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.qm-quote-head>div{display:flex;flex-direction:column;gap:5px}.qm-mini-items{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.qm-mini-items span{background:#f1f5f9;border-radius:999px;padding:5px 9px;font-size:12px}.qm-cancel{display:flex;gap:7px;min-width:320px}.qm-cancel input{flex:1}.qm-payment-list{margin-top:14px;border-top:1px solid #e5e7eb}.qm-payment-list>div{display:grid;grid-template-columns:minmax(180px,1fr) 120px 110px auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f7}.treasury-kpis{display:flex;gap:12px;flex-wrap:wrap}.treasury-kpis .treasury-kpi{min-width:220px}@media(max-width:760px){.qm-head,.qm-title-row,.qm-quote-head,.qm-auth{flex-direction:column;align-items:stretch}.qm-cancel{min-width:0}.qm-payment-list>div{grid-template-columns:1fr 1fr}.quotation-entry-card{align-items:stretch}}


.field-span-2{grid-column:span 2}.lanr-check-grid{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 14px}.lanr-check{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #d8dee8;border-radius:10px;background:#fff;cursor:pointer}.lanr-check input{width:auto}.lanr-switch-line{display:flex;align-items:center;gap:10px;font-weight:700}.lanr-switch-line input{width:auto}.spv4-account-row,.spv4-receipt-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #eef1f5}.spv4-receipt-row{grid-template-columns:1fr 1fr 1.2fr auto}.spv4-row-delete{margin-bottom:6px}.spv4-other-bank{margin-top:8px}.spv4-dispatch{margin-top:7px;min-width:160px}.negative-money{color:#c62828!important;font-weight:700}.sp-integral-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sp-integral-grid>div{padding:12px;border:1px solid #e5e9f0;border-radius:10px;background:#fafbfc}.sp-integral-grid span{display:block;font-size:12px;color:#6b7280;margin-bottom:4px}.sp-payment-list{display:grid;gap:10px;margin-top:12px}.sp-payment-entry{padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.table-responsive{overflow:auto}.status{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef2f7;font-size:12px;font-weight:700}
@media(max-width:800px){.field-span-2{grid-column:span 1}.spv4-account-row,.spv4-receipt-row,.sp-integral-grid{grid-template-columns:1fr}.spv4-row-delete{justify-self:start}}


body.page-requests .tramite-status-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 8px;
}
body.page-requests .tramite-status-tab{
  appearance:none;
  border:1px solid #cbd8df;
  background:#fff;
  color:#25485d;
  border-radius:10px;
  min-height:38px;
  padding:8px 13px;
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:7px;
  transition:border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
body.page-requests .tramite-status-tab:hover{
  border-color:#86adbf;
  background:#f7fbfd;
}
body.page-requests .tramite-status-tab.active{
  color:#fff;
  background:#123f5b;
  border-color:#123f5b;
  box-shadow:0 3px 10px rgba(18,63,91,.12);
}
body.page-requests .tramite-tab-count{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eaf2f6;
  color:#315a70;
  font-size:10px;
  font-weight:800;
}
body.page-requests .tramite-status-tab.active .tramite-tab-count{
  background:rgba(255,255,255,.18);
  color:#fff;
}
body.page-requests .tramite-tab-note{
  margin:0 0 12px;
  color:#697f8b;
  font-size:11px;
}
@media(max-width:700px){
  body.page-requests .tramite-status-tabs{display:grid;grid-template-columns:1fr 1fr}
  body.page-requests .tramite-status-tab{justify-content:center}
}


.page-edit-request .lanr-create-shell{max-width:1240px;margin:0 auto;padding:8px 18px 28px;}
.page-edit-request #editReqForm.lanr-create-card{width:100%;overflow:hidden;border:1px solid #d6e1e8;border-radius:10px;background:#fff;box-shadow:0 3px 14px rgba(21,64,91,.05);}
#editReqForm .lanr-table-ref{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;}
#editReqForm .lanr-table-ref thead th{height:31px;padding:6px 6px;background:#123f5c;color:#fff;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.025em;vertical-align:middle;}
#editReqForm .lanr-table-ref td{padding:5px 5px;vertical-align:middle;border-color:#dce6ec;}
#editReqForm .lanr-table-ref .nt-sec-row td{padding:5px 8px!important;background:#eaf5fb;color:#174c69;font-size:9.5px;font-weight:800;text-transform:uppercase;}
#editReqForm .nt-td-n{width:36px!important;}
#editReqForm .nt-td-desc{width:24%!important;}
#editReqForm .nt-td-cant{width:62px!important;}
#editReqForm .nt-td-und{width:76px!important;}
#editReqForm .nt-td-stk{width:65px!important;}
#editReqForm .nt-td-buy{width:80px!important;}
#editReqForm .nt-td-just{width:27%!important;}
#editReqForm .nt-td-details{width:108px!important;}
#editReqForm .nt-td-del{width:34px!important;}
#editReqForm .lanr-table-ref input,#editReqForm .lanr-table-ref select,#editReqForm .lanr-table-ref textarea{font-size:11px!important;border-radius:6px!important;}
#editReqForm .lanr-table-ref input,#editReqForm .lanr-table-ref select{height:32px!important;padding:5px 7px!important;}
#editReqForm .lanr-table-ref textarea{min-height:32px!important;padding:6px 7px!important;line-height:1.3!important;resize:none;}
#editReqForm .req-details-btn{min-height:32px;height:32px;border-radius:6px;font-size:10.5px;background:#fff;}
#editReqForm .req-main-row.details-open .req-details-btn{background:#2f93c6;color:#fff;border-color:#2f93c6;}
#editReqForm .req-details-row>td{padding:0 7px 8px!important;background:#fff;}
#editReqForm .req-details-panel{padding:11px 12px 12px;border:1px solid #bcdbea;border-radius:8px;background:#f5fbfe;box-shadow:inset 3px 0 0 #2f93c6;}
#editReqForm .req-details-heading{margin-bottom:9px;}
#editReqForm .req-details-heading strong{font-size:11.5px;}
#editReqForm .req-details-heading span{font-size:9.5px;}
#editReqForm .req-details-grid{grid-template-columns:minmax(150px,.7fr) minmax(180px,.8fr) minmax(360px,1.75fr);gap:12px;}
#editReqForm .req-detail-field label:first-child{font-size:10px;margin-bottom:5px;}
#editReqForm .req-detail-field>input,#editReqForm .req-detail-field>select{height:34px;font-size:11px;border-radius:6px;}
#editReqForm .req-detail-field>small,#editReqForm .req-detail-images>small{font-size:9px;}
#editReqForm .req-detail-images .req-image-btn{min-height:34px;font-size:10.5px;}
#editReqForm .req-image-thumb{width:96px;height:68px;border-radius:6px;}
.page-edit-request .edit-req-add-area .btn{background:#fff;border:1px solid #cbdbe4;color:#15435f;box-shadow:none;}
.page-edit-request .edit-req-add-area .btn:hover{background:#f4f9fc;border-color:#8fbcd3;}

@media (max-width:1180px){
  .page-edit-request .lanr-create-shell{padding-left:10px;padding-right:10px;}
  #editReqForm .lanr-table-wrap{overflow-x:auto!important;}
  #editReqForm .lanr-table-ref{min-width:930px;}
  #editReqForm .req-details-grid{grid-template-columns:1fr 1fr;}
  #editReqForm .req-detail-images{grid-column:1/-1;}
}
@media (max-width:820px){
  .page-edit-request .lanr-create-head{flex-direction:column;align-items:stretch;}
  .page-edit-request .lanr-work-context{width:100%;}
  .page-edit-request .edit-req-add-area{justify-content:flex-start;width:100%;flex-wrap:wrap;}
}


.lanr-confirm-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(15,35,50,.48);
  backdrop-filter:blur(2px);
}
.lanr-confirm-overlay.hidden{display:none!important;}
.lanr-confirm-card{
  width:min(460px,100%);
  background:#fff;
  border:1px solid #d7e1e8;
  border-radius:14px;
  box-shadow:0 22px 60px rgba(15,35,50,.22);
  padding:22px;
  text-align:center;
  animation:lanrConfirmIn .16s ease-out;
}
.lanr-confirm-icon{
  width:46px;
  height:46px;
  margin:0 auto 12px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:19px;
}
.lanr-confirm-card h3{
  margin:0 0 8px;
  color:#123f5c;
  font-size:18px;
  line-height:1.25;
}
.lanr-confirm-card p{
  margin:0;
  color:#5f7180;
  font-size:13px;
  line-height:1.55;
}
.lanr-confirm-actions{
  display:flex;
  justify-content:center;
  gap:9px;
  margin-top:18px;
  flex-wrap:wrap;
}
.lanr-confirm-actions .btn{
  min-width:110px;
}
@keyframes lanrConfirmIn{
  from{opacity:0;transform:translateY(8px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:560px){
  .lanr-confirm-overlay{padding:14px;}
  .lanr-confirm-card{padding:18px 16px;}
  .lanr-confirm-actions{flex-direction:column-reverse;}
  .lanr-confirm-actions .btn{width:100%;}
}


.lanr-external-file-preview{margin-top:10px;padding:12px 14px;border:1px solid #cbdbe5;border-radius:10px;background:#f8fbfd;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.lanr-external-file-preview[hidden]{display:none!important}.lanr-external-file-info{display:flex;align-items:center;gap:11px;min-width:0}.lanr-external-file-info>i{font-size:20px;color:#1f6f99}.lanr-external-file-info div{min-width:0}.lanr-external-file-info strong{display:block;max-width:620px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lanr-external-file-info span{display:block;margin-top:2px;font-size:11px;color:#70818d}.lanr-external-file-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lanr-delete-file-btn{cursor:pointer}.lanr-delete-file-btn.is-selected,.lanr-current-external-file.is-marked-delete .lanr-delete-file-btn{background:#fff0f0;border-color:#d55;color:#a71919}.lanr-current-external-file.is-marked-delete{opacity:.65;border-color:#e2a0a0;background:#fff7f7}.lanr-no-external-file{margin:8px 0 12px;padding:11px 13px;border:1px dashed #cbdbe5;border-radius:9px;color:#70818d;background:#fbfdfe;font-size:12px}@media(max-width:650px){.lanr-external-file-preview{align-items:flex-start}.lanr-external-file-actions{width:100%}.lanr-external-file-actions .btn{flex:1;justify-content:center}.lanr-external-file-info strong{max-width:250px}}


@media (min-width: 1100px){
  .sidebar{width:auto!important;}
  .main{margin-left:0!important;}
}


.lanr-create-shell,
.page-edit-request .lanr-create-shell{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:6px 2px 28px;
  font-family:"Segoe UI", Arial, sans-serif;
  font-size:13px;
}

.lanr-create-shell *,
.lanr-create-shell input,
.lanr-create-shell select,
.lanr-create-shell textarea,
.lanr-create-shell button{
  font-family:inherit;
}


.lanr-create-head{
  margin-bottom:18px;
  padding:0;
}
.lanr-create-head h1{
  margin:0;
  color:#17354c;
  font-size:24px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:0;
}
.lanr-create-head p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.lanr-back-link{
  font-size:13px;
  font-weight:600;
  margin-bottom:8px;
}


.lanr-create-card,
.lanr-create-shell .tramite-form{
  width:100%;
}
.lanr-create-shell .field label,
.lanr-general-grid .field label,
.lanr-identification-grid .field label{
  font-size:11px;
}
.lanr-section-label{
  font-size:12px;
}


@media (max-width:1180px){
  .lanr-create-shell,
  .page-edit-request .lanr-create-shell{
    max-width:none;
    padding-left:0;
    padding-right:0;
  }
}


.page-requirement-form .lanr-create-shell,
.page-requirement-form .lanr-create-card,
.page-requirement-form .lanr-create-card input,
.page-requirement-form .lanr-create-card select,
.page-requirement-form .lanr-create-card textarea,
.page-requirement-form .lanr-create-card button,
.page-requirement-form .lanr-create-card a {
  font-family: "Segoe UI", Arial, sans-serif !important;
}
.page-requirement-form .lanr-create-shell{max-width:1240px;margin:0 auto;padding:8px 18px 28px;}
.page-requirement-form .lanr-create-card{width:100%;overflow:hidden;border:1px solid #d6e1e8;border-radius:10px;background:#fff;box-shadow:0 3px 14px rgba(21,64,91,.05);}
.page-requirement-form .lanr-materials-head{align-items:flex-end;}
.page-requirement-form .lanr-add-area{display:none!important;}
.req-row-actions{display:flex;align-items:center;justify-content:center;gap:5px;}
.nt-add-inline,.nt-del{width:28px;height:28px;min-width:28px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;}
.nt-add-inline{border:1px solid #9fc7da;background:#f4fbfe;color:#176184;}
.nt-add-inline:hover{background:#e5f5fb;border-color:#61a7c6;color:#0f506e;}
.nt-del{border:1px solid #efc4c4;background:#fff8f8;color:#c43d3d;}
.page-requirement-form .nt-td-del{width:70px!important;}
.page-requirement-form .lanr-table-ref{table-layout:fixed;width:100%;}
.page-requirement-form .lanr-table-ref input,
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea{font-size:11px;}
@media(max-width:1180px){
  .page-requirement-form .lanr-create-shell{padding-left:10px;padding-right:10px;}
  .page-requirement-form .lanr-table-wrap{overflow-x:auto!important;}
  .page-requirement-form .lanr-table-ref{min-width:960px;}
}


.page-requirement-form .lanr-table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto!important;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
.page-requirement-form .lanr-table-box{
  width:100%;
  max-width:100%;
  overflow:visible;
}
.page-requirement-form .lanr-table-ref{
  width:100%;
  min-width:1040px;
  table-layout:fixed;
  border-collapse:collapse;
}
.page-requirement-form .lanr-table-ref th,
.page-requirement-form .lanr-table-ref td{
  box-sizing:border-box;
}
.page-requirement-form .lanr-table-ref .nt-td-n{width:42px!important;}
.page-requirement-form .lanr-table-ref .nt-td-desc{width:25%!important;}
.page-requirement-form .lanr-table-ref .nt-td-cant{width:68px!important;}
.page-requirement-form .lanr-table-ref .nt-td-und{width:86px!important;}
.page-requirement-form .lanr-table-ref .nt-td-stk{width:72px!important;}
.page-requirement-form .lanr-table-ref .nt-td-buy{width:88px!important;}
.page-requirement-form .lanr-table-ref .nt-td-just{width:27%!important;}
.page-requirement-form .lanr-table-ref .nt-td-details{width:108px!important;}
.page-requirement-form .lanr-table-ref .nt-td-del{width:78px!important;min-width:78px!important;}
.page-requirement-form .req-row-actions{
  width:100%;
  display:grid;
  grid-template-columns:32px 32px;
  justify-content:center;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del{
  width:32px;
  height:32px;
  min-width:32px;
  flex:0 0 32px;
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.page-requirement-form .req-details-btn{
  width:100%;
  min-width:0;
  padding-left:7px!important;
  padding-right:7px!important;
  white-space:nowrap;
}
.page-requirement-form .lanr-table-ref input,
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea{
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}


@media (min-width:1400px){
  .page-requirement-form .lanr-table-ref{min-width:0;}
}
@media (max-width:1180px){
  .page-requirement-form .lanr-table-ref{min-width:1040px!important;}
}
@media (max-width:760px){
  .page-requirement-form .lanr-materials-section{padding-left:10px;padding-right:10px;}
  .page-requirement-form .lanr-table-wrap{
    margin-left:0;
    margin-right:0;
    padding-bottom:5px;
  }
  .page-requirement-form .lanr-table-ref{min-width:1000px!important;}
  .page-requirement-form .lanr-table-ref thead th{font-size:8.5px;}
}


.page-requirement-form .lanr-table-wrap,
.page-requirement-form .lanr-table-box {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

.page-requirement-form .lanr-table-ref {
  display: table !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

.page-requirement-form .lanr-table-ref thead {
  display: table-header-group !important;
}
.page-requirement-form .lanr-table-ref tbody {
  display: table-row-group !important;
}
.page-requirement-form .lanr-table-ref tr,
.page-requirement-form .lanr-table-ref .req-main-row,
.page-requirement-form .lanr-table-ref .nt-sec-row,
.page-requirement-form .lanr-table-ref .req-details-row {
  display: table-row !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.page-requirement-form .lanr-table-ref th,
.page-requirement-form .lanr-table-ref td,
.page-requirement-form .lanr-table-ref .req-main-row > td,
.page-requirement-form .lanr-table-ref .nt-sec-row > td,
.page-requirement-form .lanr-table-ref .req-details-row > td {
  display: table-cell !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}
.page-requirement-form .lanr-table-ref .req-main-row > td::before {
  display: none !important;
  content: none !important;
}


.page-requirement-form .lanr-table-ref .nt-td-n       { width: 3.5% !important; }
.page-requirement-form .lanr-table-ref .nt-td-desc    { width: 24% !important; }
.page-requirement-form .lanr-table-ref .nt-td-cant    { width: 6.5% !important; }
.page-requirement-form .lanr-table-ref .nt-td-und     { width: 8% !important; }
.page-requirement-form .lanr-table-ref .nt-td-stk     { width: 6.5% !important; }
.page-requirement-form .lanr-table-ref .nt-td-buy     { width: 8% !important; }
.page-requirement-form .lanr-table-ref .nt-td-just    { width: 26% !important; }
.page-requirement-form .lanr-table-ref .nt-td-details { width: 10.5% !important; }
.page-requirement-form .lanr-table-ref .nt-td-del     { width: 7% !important; min-width: 0 !important; }

.page-requirement-form .lanr-table-ref th {
  padding: 7px 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}
.page-requirement-form .lanr-table-ref td {
  padding: 5px 4px !important;
  overflow: hidden !important;
}

.page-requirement-form .lanr-table-ref input,
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea,
.page-requirement-form .lanr-table-ref .req-details-btn {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-requirement-form .lanr-table-ref input,
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea {
  padding-left: 7px !important;
  padding-right: 7px !important;
}

.page-requirement-form .req-row-actions {
  width: 100% !important;
  display: flex !important;
  grid-template-columns: none !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del {
  width: 30px !important;
  height: 32px !important;
  min-width: 0 !important;
  flex: 0 1 30px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-requirement-form .req-details-btn {
  min-width: 0 !important;
  padding: 7px 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}


.page-requirement-form .lanr-table-ref .req-details-row > td[colspan] {
  width: auto !important;
  display: table-cell !important;
  overflow: visible !important;
}


@media (max-width: 900px) {
  .page-requirement-form .lanr-materials-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .page-requirement-form .lanr-table-ref th {
    font-size: 8px !important;
    padding: 6px 3px !important;
  }
  .page-requirement-form .lanr-table-ref td {
    padding: 4px 3px !important;
    font-size: 10px !important;
  }
  .page-requirement-form .lanr-table-ref input,
  .page-requirement-form .lanr-table-ref select,
  .page-requirement-form .lanr-table-ref textarea {
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 5px !important;
    font-size: 10px !important;
  }
  .page-requirement-form .req-details-btn {
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 3px !important;
    font-size: 9px !important;
  }
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del {
    width: 25px !important;
    height: 30px !important;
    flex-basis: 25px !important;
    font-size: 10px !important;
  }
}


@media (max-width: 600px) {
  .page-requirement-form .lanr-materials-section {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .page-requirement-form .lanr-materials-head p {
    font-size: 9px !important;
  }
  .page-requirement-form .lanr-table-ref .nt-td-n       { width: 5% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-desc    { width: 26% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-cant    { width: 7% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-und     { width: 9% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-stk     { width: 7% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-buy     { width: 8% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-just    { width: 20% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-details { width: 10% !important; }
  .page-requirement-form .lanr-table-ref .nt-td-del     { width: 8% !important; }

  .page-requirement-form .lanr-table-ref th {
    font-size: 6.5px !important;
    padding: 5px 1px !important;
    letter-spacing: 0 !important;
  }
  .page-requirement-form .lanr-table-ref td {
    padding: 3px 2px !important;
    font-size: 8px !important;
  }
  .page-requirement-form .lanr-table-ref input,
  .page-requirement-form .lanr-table-ref select,
  .page-requirement-form .lanr-table-ref textarea {
    height: 30px !important;
    min-height: 30px !important;
    padding: 3px 3px !important;
    font-size: 8px !important;
  }
  .page-requirement-form .lanr-table-ref textarea {
    resize: none !important;
  }
  .page-requirement-form .req-details-btn {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .page-requirement-form .req-details-btn i {
    font-size: 11px !important;
  }
  .page-requirement-form .req-row-actions {
    gap: 2px !important;
  }
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del {
    width: 20px !important;
    height: 28px !important;
    flex-basis: 20px !important;
    font-size: 9px !important;
  }
  .page-requirement-form .lanr-table-ref .nt-sec-row > td {
    padding: 5px 4px !important;
    font-size: 8px !important;
  }
}


.page-requirement-form .lanr-table-ref .req-details-row.hidden,
.page-requirement-form .lanr-table-ref tr.req-details-row.hidden {
  display: none !important;
}
.page-requirement-form .lanr-table-ref .req-details-row:not(.hidden) {
  display: table-row !important;
}


.page-requirement-form .lanr-table-wrap,
.page-requirement-form .lanr-table-box {
  width: 100% !important;
  max-width: 100% !important;
}
.page-requirement-form .lanr-table-wrap {
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding-bottom: 4px;
}
.page-requirement-form .lanr-table-box {
  overflow: visible !important;
}


.page-requirement-form .lanr-table-ref {
  display: table !important;
  width: 100% !important;
  min-width: 1000px !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
.page-requirement-form .lanr-table-ref thead { display: table-header-group !important; }
.page-requirement-form .lanr-table-ref tbody { display: table-row-group !important; }
.page-requirement-form .lanr-table-ref .req-main-row,
.page-requirement-form .lanr-table-ref .nt-sec-row {
  display: table-row !important;
}
.page-requirement-form .lanr-table-ref .req-main-row > td,
.page-requirement-form .lanr-table-ref .nt-sec-row > td,
.page-requirement-form .lanr-table-ref th {
  display: table-cell !important;
  vertical-align: middle !important;
}


.page-requirement-form .lanr-table-ref .nt-td-n       { width: 42px !important; }
.page-requirement-form .lanr-table-ref .nt-td-desc    { width: 24% !important; }
.page-requirement-form .lanr-table-ref .nt-td-cant    { width: 66px !important; }
.page-requirement-form .lanr-table-ref .nt-td-und     { width: 86px !important; }
.page-requirement-form .lanr-table-ref .nt-td-stk     { width: 68px !important; }
.page-requirement-form .lanr-table-ref .nt-td-buy     { width: 82px !important; }
.page-requirement-form .lanr-table-ref .nt-td-just    { width: 27% !important; }
.page-requirement-form .lanr-table-ref .nt-td-details { width: 112px !important; }
.page-requirement-form .lanr-table-ref .nt-td-del     { width: 86px !important; min-width:86px !important; }

.page-requirement-form .lanr-table-ref th {
  padding: 7px 6px !important;
  font-size: 9px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
.page-requirement-form .lanr-table-ref td {
  padding: 5px 5px !important;
  overflow: visible !important;
}
.page-requirement-form .lanr-table-ref input,
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 5px 7px !important;
  font-size: 10.5px !important;
}
.page-requirement-form .lanr-table-ref textarea {
  resize: none !important;
  overflow: hidden !important;
}


.page-requirement-form .req-details-btn {
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 5px 7px !important;
  font-size: 10px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}
.page-requirement-form .req-details-btn span { display:inline !important; }
.page-requirement-form .req-details-btn i { font-size:11px !important; }


.page-requirement-form .req-row-actions {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex: 0 0 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.page-requirement-form .nt-add-inline i,
.page-requirement-form .nt-del i { pointer-events:none; }


.page-requirement-form .lanr-table-ref .req-details-row > td[colspan] {
  display: table-cell !important;
  width: auto !important;
  overflow: visible !important;
  padding: 0 7px 8px !important;
}
.page-requirement-form .req-details-panel {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}


@media (max-width: 900px) {
  .page-requirement-form .lanr-materials-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .page-requirement-form .lanr-table-ref {
    min-width: 980px !important;
  }
  .page-requirement-form .lanr-table-ref th {
    font-size: 8.5px !important;
    padding: 6px 5px !important;
  }
  .page-requirement-form .lanr-table-ref td {
    padding: 4px !important;
  }
  .page-requirement-form .lanr-table-ref input,
  .page-requirement-form .lanr-table-ref select,
  .page-requirement-form .lanr-table-ref textarea,
  .page-requirement-form .req-details-btn {
    height: 33px !important;
    min-height: 33px !important;
    font-size: 10px !important;
  }
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    flex-basis: 33px !important;
  }
}

@media (max-width: 600px) {
  .page-requirement-form .lanr-materials-section {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .page-requirement-form .lanr-table-ref {
    min-width: 940px !important;
  }
  .page-requirement-form .req-details-btn span { display:inline !important; }
  .page-requirement-form .req-details-btn {
    font-size: 9.5px !important;
    padding: 4px 5px !important;
  }
  .page-requirement-form .req-details-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
    min-width: 760px;
  }
}


.page-requirement-form .lanr-table-ref .nt-td-details {
  width: 98px !important;
  min-width: 98px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-del {
  width: 96px !important;
  min-width: 96px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  overflow: visible !important;
}

.page-requirement-form .req-details-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 8px !important;
  border-radius: 7px !important;
  font-size: 9.5px !important;
  gap: 4px !important;
}
.page-requirement-form .req-details-btn i {
  font-size: 10px !important;
}

.page-requirement-form .req-row-actions {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 36px 36px !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  position: static !important;
  transform: none !important;
}


.page-requirement-form .lanr-table-ref th.nt-td-del {
  text-align: center !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  overflow: visible !important;
}

@media (max-width: 900px) {
  .page-requirement-form .lanr-table-ref .nt-td-details {
    width: 94px !important;
    min-width: 94px !important;
  }
  .page-requirement-form .lanr-table-ref .nt-td-del {
    width: 94px !important;
    min-width: 94px !important;
  }
  .page-requirement-form .req-details-btn,
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del {
    height: 34px !important;
    min-height: 34px !important;
  }
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
  }
  .page-requirement-form .req-row-actions {
    grid-template-columns: 34px 34px !important;
    column-gap: 8px !important;
  }
}


.page-requirement-form .lanr-table-ref {
  width: 100% !important;
  min-width: 1060px !important;
  table-layout: fixed !important;
}


.page-requirement-form .lanr-table-ref .nt-td-n       { width: 40px !important; min-width: 40px !important; }
.page-requirement-form .lanr-table-ref .nt-td-desc    { width: 245px !important; min-width: 245px !important; }
.page-requirement-form .lanr-table-ref .nt-td-cant    { width: 64px !important; min-width: 64px !important; }
.page-requirement-form .lanr-table-ref .nt-td-und     { width: 90px !important; min-width: 90px !important; }
.page-requirement-form .lanr-table-ref .nt-td-stk     { width: 70px !important; min-width: 70px !important; }
.page-requirement-form .lanr-table-ref .nt-td-buy     { width: 84px !important; min-width: 84px !important; }
.page-requirement-form .lanr-table-ref .nt-td-just    { width: 270px !important; min-width: 270px !important; }
.page-requirement-form .lanr-table-ref .nt-td-details { width: 125px !important; min-width: 125px !important; }
.page-requirement-form .lanr-table-ref .nt-td-del     { width: 112px !important; min-width: 112px !important; }

.page-requirement-form .lanr-table-ref th.nt-td-details,
.page-requirement-form .lanr-table-ref th.nt-td-del {
  text-align: center !important;
}


.page-requirement-form .req-details-btn {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  font-size: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}


.page-requirement-form .req-row-actions {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del {
  width: 40px !important;
  height: 36px !important;
  min-width: 40px !important;
  min-height: 36px !important;
  max-width: 40px !important;
  flex: 0 0 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 7px !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  transform: none !important;
}


.page-requirement-form .lanr-table-ref td.nt-td-del {
  padding-left: 7px !important;
  padding-right: 7px !important;
  overflow: hidden !important;
}


@media (max-width: 1100px) {
  .page-requirement-form .lanr-table-ref {
    min-width: 1060px !important;
  }
}

@media (max-width: 700px) {
  .page-requirement-form .lanr-table-ref {
    min-width: 1060px !important;
  }
  .page-requirement-form .req-details-btn {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 10px !important;
  }
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 36px !important;
    min-height: 36px !important;
  }
}


.page-requirement-form .lanr-table-ref {
  width: 100% !important;
  min-width: 930px !important;
  table-layout: fixed !important;
}


.page-requirement-form .lanr-table-ref .nt-td-n {
  width: 38px !important;
  min-width: 38px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-desc {
  width: 220px !important;
  min-width: 220px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-cant {
  width: 58px !important;
  min-width: 58px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-und {
  width: 82px !important;
  min-width: 82px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-stk {
  width: 58px !important;
  min-width: 58px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-buy {
  width: 72px !important;
  min-width: 72px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-just {
  width: 240px !important;
  min-width: 240px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-details {
  width: 100px !important;
  min-width: 100px !important;
}
.page-requirement-form .lanr-table-ref .nt-td-del {
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}


.page-requirement-form .lanr-table-ref input,
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}


.page-requirement-form .lanr-table-ref .nt-td-und select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-left: 7px !important;
  padding-right: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}


.page-requirement-form .lanr-table-ref .nt-td-cant input,
.page-requirement-form .lanr-table-ref .nt-td-stk input,
.page-requirement-form .lanr-table-ref .nt-td-buy input {
  padding-left: 6px !important;
  padding-right: 6px !important;
}


.page-requirement-form .req-details-btn {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}


.page-requirement-form .req-row-actions {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: visible !important;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  flex: 0 0 34px !important;
  padding: 0 !important;
  margin: 0 !important;
}


@media (max-width: 900px) {
  .page-requirement-form .lanr-table-ref {
    min-width: 930px !important;
  }
  .page-requirement-form .lanr-table-ref .nt-td-n       { width:38px !important; min-width:38px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-desc    { width:220px !important; min-width:220px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-cant    { width:58px !important; min-width:58px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-und     { width:82px !important; min-width:82px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-stk     { width:58px !important; min-width:58px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-buy     { width:72px !important; min-width:72px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-just    { width:240px !important; min-width:240px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-details { width:100px !important; min-width:100px !important; }
  .page-requirement-form .lanr-table-ref .nt-td-del     { width:94px !important; min-width:94px !important; max-width:94px !important; }
}

@media (max-width: 600px) {
  .page-requirement-form .lanr-table-ref {
    min-width: 930px !important;
  }
}


.page-requirement-form .lanr-table-wrap{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  padding-bottom:5px !important;
  scrollbar-gutter:stable both-edges;
}
.page-requirement-form .lanr-table-box{
  width:100% !important;
  max-width:none !important;
  overflow:visible !important;
}
.page-requirement-form .lanr-table-ref{
  width:100% !important;
  min-width:980px !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
}


.page-requirement-form .req-materials-colgroup .col-n{width:4% !important;}
.page-requirement-form .req-materials-colgroup .col-desc{width:24% !important;}
.page-requirement-form .req-materials-colgroup .col-cant{width:6% !important;}
.page-requirement-form .req-materials-colgroup .col-und{width:8% !important;}
.page-requirement-form .req-materials-colgroup .col-stock{width:6% !important;}
.page-requirement-form .req-materials-colgroup .col-buy{width:8% !important;}
.page-requirement-form .req-materials-colgroup .col-just{width:25% !important;}
.page-requirement-form .req-materials-colgroup .col-details{width:10% !important;}
.page-requirement-form .req-materials-colgroup .col-actions{width:9% !important;}


.page-requirement-form .lanr-table-ref .nt-td-n,
.page-requirement-form .lanr-table-ref .nt-td-desc,
.page-requirement-form .lanr-table-ref .nt-td-cant,
.page-requirement-form .lanr-table-ref .nt-td-und,
.page-requirement-form .lanr-table-ref .nt-td-stk,
.page-requirement-form .lanr-table-ref .nt-td-buy,
.page-requirement-form .lanr-table-ref .nt-td-just,
.page-requirement-form .lanr-table-ref .nt-td-details,
.page-requirement-form .lanr-table-ref .nt-td-del{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}

.page-requirement-form .lanr-table-ref th,
.page-requirement-form .lanr-table-ref td{
  box-sizing:border-box !important;
}
.page-requirement-form .lanr-table-ref td{
  padding:5px !important;
  overflow:hidden !important;
}
.page-requirement-form .lanr-table-ref th{
  padding:7px 6px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:clip !important;
}


.page-requirement-form .lanr-table-ref input:not([type="hidden"]),
.page-requirement-form .lanr-table-ref select,
.page-requirement-form .lanr-table-ref textarea{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:36px !important;
  min-height:36px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:6px 7px !important;
  font-size:10.5px !important;
}
.page-requirement-form .lanr-table-ref textarea{
  resize:none !important;
  overflow:hidden !important;
}
.page-requirement-form .lanr-table-ref .nt-td-und select{
  padding-right:22px !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}


.page-requirement-form .lanr-table-ref .nt-td-cant input,
.page-requirement-form .lanr-table-ref .nt-td-stk input,
.page-requirement-form .lanr-table-ref .nt-td-buy input{
  padding-left:6px !important;
  padding-right:6px !important;
}


.page-requirement-form .lanr-table-ref td.nt-td-details,
.page-requirement-form .lanr-table-ref td.nt-td-del{
  overflow:visible !important;
}
.page-requirement-form .req-details-btn{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:36px !important;
  padding:0 6px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
.page-requirement-form .req-row-actions{
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
.page-requirement-form .nt-add-inline,
.page-requirement-form .nt-del{
  width:34px !important;
  min-width:34px !important;
  max-width:34px !important;
  height:36px !important;
  min-height:36px !important;
  flex:0 0 34px !important;
  padding:0 !important;
  margin:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}


.page-requirement-form .lanr-table-ref tr.req-details-row.hidden{
  display:none !important;
}
.page-requirement-form .lanr-table-ref tr.req-details-row:not(.hidden){
  display:table-row !important;
}
.page-requirement-form .lanr-table-ref tr.req-details-row > td{
  overflow:visible !important;
}


@media (max-width:900px){
  .page-requirement-form .lanr-table-ref{
    width:980px !important;
    min-width:980px !important;
  }
  .page-requirement-form .lanr-table-ref input:not([type="hidden"]),
  .page-requirement-form .lanr-table-ref select,
  .page-requirement-form .lanr-table-ref textarea,
  .page-requirement-form .req-details-btn{
    height:35px !important;
    min-height:35px !important;
  }
  .page-requirement-form .nt-add-inline,
  .page-requirement-form .nt-del{
    height:35px !important;
    min-height:35px !important;
  }
}


.page-requirement-form .lanr-table-ref td.nt-td-just{
  position:relative !important;
  background:#ffffff !important;
  box-shadow:none !important;
}
.page-requirement-form .lanr-table-ref td.nt-td-just::before,
.page-requirement-form .lanr-table-ref td.nt-td-just::after{
  content:none !important;
  display:none !important;
}
.page-requirement-form .lanr-table-ref td.nt-td-just textarea{
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  background:#ffffff !important;
  border:1px solid #c8d8e2 !important;
  box-shadow:none !important;
  outline:none !important;
}
.page-requirement-form .lanr-table-ref td.nt-td-just textarea:focus{
  border-color:#2f6f95 !important;
  box-shadow:0 0 0 2px rgba(47,111,149,.10) !important;
}


body.page-requirement-form .lanr-create-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px 0 28px !important;
  box-sizing: border-box !important;
}

body.page-requirement-form .lanr-create-head,
body.page-requirement-form .lanr-create-card {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}


body.page-requirement-form .lanr-materials-head {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

body.page-requirement-form .lanr-materials-head > div {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.page-requirement-form .lanr-materials-head .lanr-section-label,
body.page-requirement-form .lanr-materials-head p {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  transform: none !important;
}


body.page-requirement-form .lanr-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
}


@media (max-width: 1180px) {
  body.page-requirement-form .lanr-create-shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


body.page-requirement-form .lanr-materials-section{
  width:100% !important;
  box-sizing:border-box !important;
}

body.page-requirement-form .lanr-table-wrap{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  scrollbar-gutter:auto !important;
  box-sizing:border-box !important;
}

body.page-requirement-form .lanr-table-box{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

@media (min-width:901px){
  body.page-requirement-form .lanr-table-ref{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
}


.sidebar-overlay{
  display:none;
  position:fixed;
  inset:0;
  border:0;
  padding:0;
  margin:0;
  background:rgba(13,37,54,.42);
  z-index:39;
  cursor:pointer;
}


@media (max-width: 900px){
  .app{
    display:block !important;
    min-height:100vh;
  }

  .sidebar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    width:235px !important;
    max-width:82vw;
    height:100dvh !important;
    z-index:40 !important;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:8px 0 24px rgba(7,31,46,.18);
    overflow-y:auto;
  }

  .sidebar.open{
    transform:translateX(0);
    left:0 !important;
  }

  .sidebar-overlay.is-visible{
    display:block;
  }

  main{
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }

  header{
    height:66px !important;
    min-height:66px;
    padding:0 16px !important;
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
  }

  .mobile{
    display:inline-flex !important;
    width:38px;
    height:38px;
    padding:0 !important;
    align-items:center;
    justify-content:center;
    flex:0 0 38px;
    border:1px solid #e0e8ed !important;
    background:#f4f7f9 !important;
    color:#173b56;
    border-radius:9px !important;
    cursor:pointer;
  }

  header .work{
    min-width:0;
    justify-self:start;
  }

  header .project-selector-main{
    min-width:0;
    gap:9px;
  }

  header .project-selector-main > i{
    flex:0 0 auto;
  }

  header .project-selector-main > div{
    min-width:0;
  }

  header .project-selector-label{
    display:block;
    white-space:nowrap;
  }

  header .project-single-name,
  header .project-select{
    max-width:180px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  header .who{
    justify-self:end;
    gap:7px;
    min-width:0;
  }

  
  header .user-data{
    display:none !important;
  }

  header .notification-wrapper{
    display:block !important;
  }

  header .notification-button{
    width:34px;
    height:34px;
  }

  header .logout-link{
    display:inline-flex;
    align-items:center;
    gap:5px;
    white-space:nowrap;
  }

  .content{
    width:100%;
    min-width:0;
    padding:18px 16px !important;
  }

  footer{
    width:100%;
  }

  
  .notification-panel{
    position:fixed !important;
    top:64px !important;
    right:10px !important;
    left:auto !important;
    width:min(360px, calc(100vw - 20px)) !important;
    max-width:calc(100vw - 20px) !important;
  }
}


@media (max-width: 560px){
  header{
    padding:0 12px !important;
    grid-template-columns:40px minmax(0,1fr) auto;
    gap:8px;
  }

  .mobile{
    width:36px;
    height:36px;
  }

  header .project-selector-main > i{
    font-size:14px;
  }

  header .project-selector-label{
    font-size:8px !important;
    letter-spacing:.8px !important;
  }

  header .project-single-name,
  header .project-select{
    max-width:120px;
    font-size:13px !important;
  }

  header .notification-wrapper{
    display:none !important;
  }

  header .avatar{
    width:34px;
    height:34px;
  }

  header .logout-link span{
    display:none !important;
  }

  header .logout-link{
    width:28px;
    justify-content:center;
  }

  .content{
    padding:14px 12px !important;
  }
}


body.sidebar-drawer-open{
  overflow:hidden;
}


body.page-requirement-form #reqForm.lanr-create-card,
body.page-requirement-form #editReqForm.lanr-create-card,
body.page-requirement-form #reimbursementForm.lanr-create-card,
body.page-requirement-form #spSimpleForm.lanr-create-card{
  border-top:4px solid #2f6f95 !important;
}


body.page-requirement-form .lanr-table-ref .nt-td-n,
body.page-requirement-form .lanr-table-ref .nt-num{
  text-align:center !important;
  vertical-align:middle !important;
}


body.page-requirement-form .lanr-file-input-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}
body.page-requirement-form .lanr-file-picker{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 12px;
  border:1px dashed #9eb9ca;
  border-radius:8px;
  background:#f8fbfd;
  color:#174c69;
  cursor:pointer;
  box-sizing:border-box;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.page-requirement-form .lanr-file-picker:hover{
  border-color:#4b96be;
  background:#f0f8fc;
  box-shadow:0 0 0 2px rgba(75,150,190,.07);
}
body.page-requirement-form .lanr-file-picker > i{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  flex:0 0 28px;
  border-radius:7px;
  background:#e7f2f8;
  color:#27779e;
}
body.page-requirement-form .lanr-file-picker > span{
  font-size:11px;
  font-weight:700;
  color:#173e57;
}
body.page-requirement-form .lanr-file-picker > small{
  margin-left:auto;
  color:#78909f;
  font-size:9.5px;
  font-weight:600;
}


body.page-requirement-form .lanr-external-file-preview,
body.page-requirement-form .lanr-no-external-file{
  margin-bottom:9px;
}
body.page-requirement-form .lanr-external-file-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}

@media (max-width:700px){
  body.page-requirement-form .lanr-file-picker > small{display:none;}
}


body.page-requirement-form .req-detail-images .lanr-image-picker{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 11px;
  border:1px dashed #9eb9ca;
  border-radius:8px;
  background:#f8fbfd;
  color:#174c69;
  cursor:pointer;
  box-sizing:border-box;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.page-requirement-form .req-detail-images .lanr-image-picker:hover{
  border-color:#4b96be;
  background:#f0f8fc;
  box-shadow:0 0 0 2px rgba(75,150,190,.07);
}
body.page-requirement-form .req-detail-images .lanr-image-picker > i{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  flex:0 0 28px;
  border-radius:7px;
  background:#e7f2f8;
  color:#27779e;
  font-size:13px;
}
body.page-requirement-form .req-detail-images .lanr-image-picker > span{
  font-size:11px;
  font-weight:700;
  color:#173e57;
  white-space:nowrap;
}
body.page-requirement-form .req-detail-images .lanr-image-picker > small{
  margin:0 0 0 auto;
  color:#78909f;
  font-size:9.5px;
  font-weight:600;
  white-space:nowrap;
}
body.page-requirement-form .req-detail-images .req-image-count{
  display:block;
  margin:6px 0 0;
  color:#70818d;
  font-size:10.5px;
}
body.page-requirement-form .req-detail-images > small{
  margin-top:6px;
}
@media(max-width:700px){
  body.page-requirement-form .req-detail-images .lanr-image-picker > small{display:none;}
}


body.page-requirement-form .req-detail-images .lanr-image-picker.limit-reached {
  border-color: #cbd5e1;
  background: #f8fafc;
}
body.page-requirement-form .req-detail-images .lanr-image-picker.limit-reached > small {
  color: #64748b;
}
body.page-requirement-form .req-image-preview:empty {
  display: none;
}
body.page-requirement-form .req-image-thumb.existing a {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-requirement-form .req-image-remove-existing {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

body.page-requests .tramite-status-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 14px}
body.page-requests .tramite-status-tab{position:relative;justify-content:flex-start;min-height:72px;padding:11px 12px;border-radius:11px;gap:10px;text-align:left}
body.page-requests .tramite-status-tab>i{width:31px;height:31px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#edf6fb;color:#1675a8;font-size:14px;flex:0 0 31px}
body.page-requests .tramite-status-tab.active>i{background:rgba(255,255,255,.14);color:#fff}
body.page-requests .tramite-tab-text{display:flex;flex-direction:column;gap:3px;min-width:0;line-height:1.15}
body.page-requests .tramite-tab-text strong{font-size:12px;white-space:nowrap}
body.page-requests .tramite-tab-text small{font-size:10px;font-weight:500;color:#708693;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-requests .tramite-status-tab.active .tramite-tab-text small{color:#d9e9f1}
body.page-requests .tramite-tab-count{position:absolute;top:9px;right:9px}
body.page-requests .tramite-list-card{padding-top:14px}
body.page-requests .tramite-list-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
body.page-requests .tramite-list-head h3{margin:0 0 3px;font-size:16px;color:#123f5b}
body.page-requests .tramite-list-head p{margin:0;color:#697f8b;font-size:11px}
body.page-requests .tramites-unified-table{width:100%;table-layout:auto}
body.page-requests .tramites-unified-table th{white-space:nowrap}
body.page-requests .tramites-unified-table th:last-child,body.page-requests .tramites-unified-table td:last-child{text-align:center;width:105px}
body.page-requests .tramites-unified-table .request-actions{justify-content:center}
@media(max-width:1050px){body.page-requests .tramite-status-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body.page-requests .tramite-status-tabs{grid-template-columns:1fr 1fr}body.page-requests .tramite-status-tab{justify-content:flex-start}body.page-requests .request-search-row{flex-wrap:wrap}}

body.page-requests .tramite-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 8px 2px;border-top:1px solid #e7eef2;margin-top:4px}
body.page-requests .tramite-pagination[hidden]{display:none}
body.page-requests .tramite-pagination-info{font-size:11px;color:#667d89}
body.page-requests .tramite-pagination-controls{display:flex;align-items:center;gap:7px}
body.page-requests .tramite-page-numbers{display:flex;align-items:center;gap:5px}
body.page-requests .tramite-page-btn{min-width:31px;height:31px;padding:0 8px;border:1px solid #d6e1e7;border-radius:7px;background:#fff;color:#173f58;font-size:11px;font-weight:700;cursor:pointer}
body.page-requests .tramite-page-btn.active{background:#123f5b;border-color:#123f5b;color:#fff}
body.page-requests .tramite-pagination .btn:disabled{opacity:.45;cursor:not-allowed}
body.page-requests .requests-empty{padding:28px 14px;text-align:center;color:#70838e;font-size:12px}
@media(max-width:700px){body.page-requests .tramite-pagination{align-items:flex-start;flex-direction:column}body.page-requests .tramite-pagination-controls{width:100%;justify-content:space-between}}

.request-summary-card{padding:14px 16px}
.request-summary-grid{display:grid;grid-template-columns:1.15fr 1.15fr .9fr .9fr;gap:0}
.request-summary-field{padding:2px 16px;border-right:1px solid #e4ebef;min-width:0}
.request-summary-field:first-child{padding-left:0}
.request-summary-field:last-child{border-right:0;padding-right:0}
.request-summary-field span{display:block;margin-bottom:4px;color:#758996;font-size:9px}
.request-summary-field strong{display:block;color:#102f45;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.request-document-code{margin-top:10px;padding-top:8px;border-top:1px solid #edf1f3;color:#83939d;font-size:9px}
.request-document-code strong{color:#607785;font-weight:600}
.compact-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}
.compact-section-head h3{margin:0 0 2px}
.compact-section-head .muted{margin:0}
.approval-work-card,.request-items-card,.request-attachments-card{padding:16px}
.approval-work-list{border:1px solid #dbe5ea;border-radius:10px;overflow:hidden}
.approval-work-row{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(190px,.9fr) auto;align-items:center;gap:16px;padding:10px 12px;border-bottom:1px solid #e5ecef;background:#fff}
.approval-work-row:last-child{border-bottom:0}
.approval-work-role{display:flex;flex-direction:column;gap:2px;min-width:0}
.approval-work-role strong{color:#123b55;font-size:11px}
.approval-work-role span{color:#708491;font-size:10px}
.approval-work-status{display:flex;align-items:center;gap:9px;min-width:0}
.approval-work-status small{color:#718592;font-size:9px;white-space:nowrap}
.approval-work-action{min-width:118px;text-align:right}
.approval-work-action form{margin:0}
.request-items-card .tablewrap{margin-top:2px}
.request-items-card table th{padding-top:9px;padding-bottom:9px}
.request-items-card table td{padding-top:10px;padding-bottom:10px}
.history-full-layout>.card{padding:16px}
.history-full-layout .compact-section-head{margin-bottom:2px}
.history-full-layout .history{padding:10px 0!important}
@media(max-width:900px){.request-summary-grid{grid-template-columns:1fr 1fr}.request-summary-field{padding:8px 12px;border-bottom:1px solid #e4ebef}.request-summary-field:nth-child(2){border-right:0}.request-summary-field:nth-child(3),.request-summary-field:nth-child(4){border-bottom:0}.request-summary-field:nth-child(3){padding-left:0}.approval-work-row{grid-template-columns:1fr auto}.approval-work-status{justify-content:flex-end}.approval-work-action{grid-column:1/-1;text-align:right}}
@media(max-width:650px){.request-summary-grid{grid-template-columns:1fr}.request-summary-field,.request-summary-field:first-child,.request-summary-field:nth-child(3){padding:8px 0;border-right:0;border-bottom:1px solid #e4ebef}.request-summary-field:last-child{border-bottom:0}.approval-work-row{grid-template-columns:1fr}.approval-work-status{justify-content:flex-start}.approval-work-action{text-align:left;min-width:0}}

body.page-request-detail .request-detail-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#718694;font-size:10px}
body.page-request-detail .request-detail-breadcrumb b{color:#9aabb5;font-weight:600}
body.page-request-detail .request-detail-pagehead{align-items:flex-start;margin-bottom:14px}
body.page-request-detail .request-detail-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.page-request-detail .request-detail-title-row h1{margin:0;color:#123f5b;font-size:24px;line-height:1.15}
body.page-request-detail .request-type-chip{display:inline-flex;align-items:center;min-height:25px;padding:0 11px;border-radius:999px;background:#e8f3fa;color:#245f83;font-size:10px;font-weight:700}
body.page-request-detail .request-detail-meta{display:flex;align-items:center;gap:9px;margin:7px 0 0;color:#536e7f;font-size:11px;font-weight:600}
body.page-request-detail .request-detail-meta span{width:1px;height:14px;background:#cfdbe2}
body.page-request-detail .request-section-heading{margin:0 0 12px}
body.page-request-detail .request-section-heading h3{margin:0;color:#123f5b;font-size:16px}
body.page-request-detail .request-summary-card{padding:14px 16px 15px}
body.page-request-detail .request-summary-grid{grid-template-columns:1.05fr 1.25fr .95fr .95fr 1.05fr;border-top:1px solid #edf2f5;padding-top:12px}
body.page-request-detail .request-summary-field{padding:0 14px;min-height:45px;display:flex;flex-direction:column;justify-content:center}
body.page-request-detail .request-summary-field:first-child{padding-left:0}
body.page-request-detail .request-summary-field:last-child{padding-right:0}
body.page-request-detail .request-summary-field span{margin-bottom:5px;font-size:9px;color:#758996;font-weight:600}
body.page-request-detail .request-summary-field strong{font-size:12px;color:#12344a}
body.page-request-detail .request-status-text{color:#a3680d!important}
body.page-request-detail .approval-work-card,body.page-request-detail .request-items-card,body.page-request-detail .request-attachments-card,body.page-request-detail .request-history-card{padding:14px 16px}
body.page-request-detail .compact-section-head{margin-bottom:9px}
body.page-request-detail .compact-section-head h3{font-size:16px;color:#123f5b}
body.page-request-detail .compact-section-head .muted{font-size:10px;color:#718694}
body.page-request-detail .approval-work-list{border:1px solid #dbe5ea;border-radius:9px;overflow:hidden}
body.page-request-detail .approval-work-head,body.page-request-detail .approval-work-row{display:grid;grid-template-columns:1.15fr 1.15fr 1fr 1fr .9fr;align-items:center;column-gap:14px}
body.page-request-detail .approval-work-head{padding:8px 11px;background:#f4f8fa;border-bottom:1px solid #dbe5ea;color:#60798a;font-size:9px;font-weight:700;text-transform:uppercase}
body.page-request-detail .approval-work-row{padding:9px 11px;min-height:45px}
body.page-request-detail .approval-work-role strong{font-size:10.5px;color:#123b55}
body.page-request-detail .approval-work-person,body.page-request-detail .approval-work-date{font-size:10px;color:#355568}
body.page-request-detail .approval-work-status{justify-content:flex-start}
body.page-request-detail .approval-work-status .ok,body.page-request-detail .approval-work-status .wait{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:9px;font-weight:700;white-space:nowrap}
body.page-request-detail .approval-work-status .ok{background:#e4f4e8;color:#2c7742}
body.page-request-detail .approval-work-status .wait{background:#fff1d6;color:#98630e}
body.page-request-detail .approval-work-action{text-align:left;min-width:0}
body.page-request-detail .approval-work-action .btn{white-space:nowrap}
body.page-request-detail .approval-no-action{color:#8ca0ad;font-size:11px}
body.page-request-detail .request-items-card .card-title-row{align-items:flex-end}
body.page-request-detail .request-items-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body.page-request-detail .request-items-head-actions>span{color:#60798a;font-size:9.5px;white-space:nowrap}
body.page-request-detail .request-items-card .tablewrap{border:1px solid #e0e8ed;border-radius:8px;overflow:hidden}
body.page-request-detail .request-items-card table{margin:0}
body.page-request-detail .request-items-card table th{background:#f4f8fa;color:#60798a;font-size:8.8px;padding:8px 9px}
body.page-request-detail .request-items-card table td{font-size:10px;padding:9px;border-bottom:1px solid #edf1f3}
body.page-request-detail .request-items-card table tbody tr:last-child td{border-bottom:0}
body.page-request-detail .request-attachments-card .attachments-header{margin-bottom:9px}
body.page-request-detail .request-attachments-card .attachments-header h3{font-size:16px;color:#123f5b}
body.page-request-detail .request-history-card .history-table-head{display:grid;grid-template-columns:145px 205px minmax(0,1fr);gap:16px;padding:8px 10px;background:#f4f8fa;border-top:1px solid #e2eaee;border-bottom:1px solid #dce6eb;color:#60798a;font-size:9px;font-weight:700;text-transform:uppercase}
body.page-request-detail .request-history-card .history{grid-template-columns:145px 205px minmax(0,1fr)!important;column-gap:16px!important;padding:9px 10px!important}
body.page-request-detail .request-history-card .history>span:first-child{color:#48697d!important;font-size:9.5px!important}
body.page-request-detail .request-history-card .history>strong{font-size:10px!important;color:#123f5b!important}
body.page-request-detail .request-history-card .history>span:last-child{font-size:10px!important;color:#536e7f!important}
@media(max-width:1050px){body.page-request-detail .request-summary-grid{grid-template-columns:repeat(3,1fr)}body.page-request-detail .request-summary-field{padding:8px 12px;border-bottom:1px solid #e8eef1}body.page-request-detail .request-summary-field:nth-child(3){border-right:0}body.page-request-detail .request-summary-field:nth-child(4),body.page-request-detail .request-summary-field:nth-child(5){border-bottom:0}body.page-request-detail .approval-work-head,body.page-request-detail .approval-work-row{grid-template-columns:1.05fr 1.1fr .95fr .95fr .9fr;column-gap:9px}}
@media(max-width:760px){body.page-request-detail .request-summary-grid{grid-template-columns:1fr 1fr}body.page-request-detail .request-summary-field:nth-child(n){padding:8px 10px;border-right:0;border-bottom:1px solid #e8eef1}body.page-request-detail .request-summary-field:last-child{border-bottom:0}body.page-request-detail .approval-work-list{overflow-x:auto}body.page-request-detail .approval-work-head,body.page-request-detail .approval-work-row{min-width:720px}body.page-request-detail .request-history-card .history-table-head{display:none}body.page-request-detail .request-history-card .history{grid-template-columns:1fr!important;row-gap:3px!important;padding:10px 4px!important}body.page-request-detail .request-items-card .card-title-row{align-items:flex-start;flex-direction:column}body.page-request-detail .request-items-head-actions{justify-content:flex-start}}
@media(max-width:520px){body.page-request-detail .request-summary-grid{grid-template-columns:1fr}body.page-request-detail .request-detail-title-row h1{font-size:20px}}

body.page-request-detail .req-summary-table th:nth-child(1), body.page-request-detail .req-summary-table td:nth-child(1){width:6%}
body.page-request-detail .req-summary-table th:nth-child(2), body.page-request-detail .req-summary-table td:nth-child(2){width:31%}
body.page-request-detail .req-summary-table th:nth-child(3), body.page-request-detail .req-summary-table td:nth-child(3){width:8%}
body.page-request-detail .req-summary-table th:nth-child(4), body.page-request-detail .req-summary-table td:nth-child(4){width:8%}
body.page-request-detail .req-summary-table th:nth-child(5), body.page-request-detail .req-summary-table td:nth-child(5){width:8%}
body.page-request-detail .req-summary-table th:nth-child(6), body.page-request-detail .req-summary-table td:nth-child(6){width:9%}
body.page-request-detail .req-summary-table th:nth-child(7), body.page-request-detail .req-summary-table td:nth-child(7){width:30%}
body.page-request-detail .req-summary-table .req-section-row td,
body.page-request-detail .req-review-table .req-section-row td{
  width:auto!important;
  padding:6px 10px!important;
  background:#dcecf6!important;
  color:#123f5b!important;
  font-weight:700!important;
  text-align:center!important;
  text-transform:uppercase;
  letter-spacing:.02em;
  border-right:0!important;
  border-bottom:1px solid #c6dce9!important;
  line-height:1.25!important;
}
body.page-request-detail .req-summary-table .req-item-row td,
body.page-request-detail .req-review-table .req-item-row td{
  font-weight:400!important;
}
body.page-request-detail .req-summary-table .req-item-num,
body.page-request-detail .req-review-table .req-item-row .req-num{
  text-align:center!important;
  background:transparent!important;
  color:inherit!important;
  font-weight:400!important;
}
body.page-request-detail .detail-modal-window .req-review-table .req-num{width:7%!important;text-align:center!important}
body.page-request-detail .detail-modal-window .req-review-table .req-desc{width:39%!important}
body.page-request-detail .detail-modal-window .req-review-table .req-cant{width:10%!important}
body.page-request-detail .detail-modal-window .req-review-table .req-und{width:10%!important}
body.page-request-detail .detail-modal-window .req-review-table .req-stock{width:10%!important}
body.page-request-detail .detail-modal-window .req-review-table .req-just{width:24%!important}
body.page-request-detail .detail-modal-window .req-review-table td:nth-child(2),
body.page-request-detail .detail-modal-window .req-review-table td:nth-child(6){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}

body.page-request-detail .approval-work-list,
body.page-request-detail .request-items-card .tablewrap,
body.page-request-detail .req-summary-tablewrap,
body.page-request-detail .detail-modal-window .review-table-wrap,
body.page-request-detail .detail-modal-window .req-review-table,
body.page-request-detail .request-history-card .history-table-wrap {
  border-radius: 0 !important;
}

body.page-request-detail .approval-work-head,
body.page-request-detail .request-history-card .history-table-head,
body.page-request-detail .req-summary-table thead th,
body.page-request-detail .detail-modal-window .req-review-table thead th {
  background: #173f59 !important;
  color: #ffffff !important;
  border-color: #315b73 !important;
}

body.page-request-detail .approval-work-head > *,
body.page-request-detail .request-history-card .history-table-head > *,
body.page-request-detail .req-summary-table thead th,
body.page-request-detail .detail-modal-window .req-review-table thead th {
  color: #ffffff !important;
}

body.page-request-detail .req-summary-table,
body.page-request-detail .req-review-table {
  border-radius: 0 !important;
}

body.page-request-detail .req-summary-table thead th:first-child,
body.page-request-detail .req-summary-table thead th:last-child,
body.page-request-detail .detail-modal-window .req-review-table thead th:first-child,
body.page-request-detail .detail-modal-window .req-review-table thead th:last-child {
  border-radius: 0 !important;
}

body.page-request-detail .approval-work-list,
body.page-request-detail .request-items-card .tablewrap,
body.page-request-detail .detail-modal-window .review-table-wrap {
  overflow: hidden;
}

body.page-request-detail .approval-work-list,
body.page-request-detail .request-items-card .tablewrap,
body.page-request-detail .req-summary-tablewrap,
body.page-request-detail .detail-modal-window .review-table-wrap,
body.page-request-detail .detail-modal-window .req-review-table {
  border: 0 !important;
  box-shadow: none !important;
}

body.page-request-detail .req-summary-table,
body.page-request-detail .detail-modal-window .req-review-table {
  border: 0 !important;
  outline: 0 !important;
}

body.page-request-detail .req-summary-table thead th,
body.page-request-detail .detail-modal-window .req-review-table thead th {
  text-align: center !important;
}

body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(1),
body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(3),
body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(4),
body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(5),
body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(6),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(1),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(3),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(4),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(5),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(6) {
  text-align: center !important;
}

body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(2),
body.page-request-detail .req-summary-table tbody .req-item-row td:nth-child(7),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(2),
body.page-request-detail .detail-modal-window .req-review-table tbody .req-item-row td:nth-child(7) {
  text-align: left !important;
}

.page-request-detail .req-item-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}
.req-priority-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}
.req-priority-badge.normal{background:#eef4f7;color:#526879}
.req-priority-badge.priority{background:#fff0c9;color:#9a6300}
.req-priority-badge.urgent{background:#fde2e2;color:#b42318}
.req-required-date{font-size:11px;color:#60758a;white-space:nowrap}
.req-required-date.overdue{color:#b42318;font-weight:700}
.qm-priority-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:5px 0 3px}

.page-quotation-management .content{max-width:1500px}
.qm-page{display:grid;gap:16px}
.qm-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.qm-header h1{margin:4px 0 2px;font-size:28px}
.qm-header p{margin:0;color:#64748b}
.qm-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;color:#1e3a5f}
.qm-state{font-weight:800;color:#17365d}
.qm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.qm-stats>div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:15px 16px;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.qm-stats span{display:block;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.qm-stats strong{display:block;margin-top:5px;font-size:22px;color:#17365d}
.qm-progress-list{padding:0;overflow:hidden}
.qm-progress-row{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(90px,.6fr));gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid #edf2f7}
.qm-progress-row:last-child{border-bottom:0}
.qm-progress-row>div:not(.qm-progress-product) span{display:block;font-size:11px;color:#64748b;text-transform:uppercase;font-weight:700}
.qm-progress-row>div:not(.qm-progress-product) strong{font-size:16px;color:#17365d}
.qm-progress-product strong,.qm-progress-product small{display:block}
.qm-progress-product small{margin-top:3px;color:#64748b}
.qm-priority-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:5px}
.req-priority-badge.normal{background:#eef2f7;color:#475569}
.qm-date{font-size:11px;color:#64748b;font-weight:700}
.qm-section{padding:0;overflow:hidden}
.qm-section>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;background:#fff}
.qm-section>summary::-webkit-details-marker{display:none}
.qm-section>summary span{font-size:16px;font-weight:800;color:#17365d}
.qm-section>summary span i{width:24px}
.qm-section>summary small{color:#64748b;text-align:right}
.qm-section[open]>summary{border-bottom:1px solid #e2e8f0}
.qm-section-body{padding:18px}
.qm-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.qm-form-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.qm-span-2{grid-column:span 2}
.qm-table-tools{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:16px 0 8px;color:#64748b;font-size:13px}
.qm-check-all{font-weight:800;color:#17365d}
.qm-items-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:12px}
.qm-table{width:100%;border-collapse:collapse;min-width:900px}
.qm-table th{padding:10px 11px;background:#f7f9fc;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:.03em;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap}
.qm-table td{padding:10px 11px;border-bottom:1px solid #edf2f7;vertical-align:middle}
.qm-table tbody tr:last-child td{border-bottom:0}
.qm-table td small{display:block;margin-top:2px;color:#64748b}
.qm-table input[type=number]{min-width:105px}
.qm-quote-row.is-selected{background:#f8fbff}
.qm-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:14px}
.qm-form-footer>div{font-size:13px;color:#64748b}
.qm-form-footer strong{margin-left:8px;font-size:18px;color:#17365d}
.qm-provider-add{margin-top:14px;border-top:1px solid #e2e8f0;padding-top:12px}
.qm-provider-add summary{cursor:pointer;font-weight:800;color:#17365d}
.qm-provider-add form{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;margin-top:10px}
.qm-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.qm-quote-card,.qm-payment-card,.qm-purchase-card{border:1px solid #e2e8f0;border-radius:14px;padding:15px;background:#fff}
.qm-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.qm-card-head strong,.qm-card-head span{display:block}
.qm-card-head>div>span{margin-top:3px;color:#64748b;font-size:12px}
.qm-mini-items{display:grid;gap:5px;margin:12px 0}
.qm-mini-items span{font-size:13px;color:#475569;background:#f8fafc;border-radius:8px;padding:7px 9px}
.qm-card-total{display:flex;justify-content:space-between;align-items:center;padding-top:10px;border-top:1px solid #edf2f7;color:#64748b}
.qm-card-total strong{color:#17365d;font-size:17px}
.qm-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.qm-card-actions form{margin:0}
.qm-note{margin:10px 0 0;padding:9px 10px;border-radius:8px;background:#fff8e7;color:#72510b;font-size:13px}
.qm-payment-card>.btn{margin-top:12px}
.qm-purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.qm-purchase-card{display:grid;gap:14px}
.qm-ok-icon{color:#17803d;font-size:20px}
.qm-buy-items{display:grid;gap:8px}
.qm-buy-items>div{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:10px;align-items:center;padding:9px;background:#f8fafc;border-radius:9px}
.qm-buy-items strong,.qm-buy-items small{display:block}
.qm-buy-items small{color:#64748b;margin-top:2px}
.qm-history-block{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:16px}
.qm-history-block h4{margin:0 0 10px;color:#17365d}
.qm-history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f7}
.qm-history-row:last-child{border-bottom:0}
.qm-history-row strong,.qm-history-row span,.qm-history-row small{display:block}
.qm-history-row span,.qm-history-row small{color:#64748b;margin-top:2px}
.qm-history-row>div:last-child{display:flex;align-items:center;gap:10px}
.qm-dispatch-items{display:grid;gap:8px}
.qm-dispatch-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px}
.qm-dispatch-row strong,.qm-dispatch-row small{display:block}
.qm-dispatch-row small{margin-top:2px;color:#64748b}
.qm-dispatch-row.disabled{opacity:.55;background:#f8fafc}
.qm-guide-box{margin-top:14px;padding:14px;border:1px solid #dbe5f0;border-radius:12px;background:#f9fbfd}
.qm-guide-options{display:flex;gap:18px;flex-wrap:wrap;margin:10px 0 12px}
.qm-auth{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #edf2f7}
.qm-auth:last-child{border-bottom:0}
.qm-auth>div>strong,.qm-auth>div>span,.qm-auth>div>small{display:block}
.qm-auth>div>span,.qm-auth>div>small{color:#64748b;margin-top:3px}
.qm-cancel{display:flex;gap:8px;align-items:flex-start}
@media(max-width:1000px){.qm-stats{grid-template-columns:repeat(2,1fr)}.qm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qm-card-grid,.qm-purchase-grid{grid-template-columns:1fr}.qm-progress-row{grid-template-columns:minmax(190px,1.5fr) repeat(3,minmax(75px,.5fr))}}
@media(max-width:700px){.qm-header{display:grid}.qm-stats{grid-template-columns:repeat(2,1fr)}.qm-section>summary{align-items:flex-start}.qm-section>summary small{display:none}.qm-section-body{padding:12px}.qm-form-grid,.qm-form-grid.compact{grid-template-columns:1fr}.qm-span-2{grid-column:auto}.qm-provider-add form{grid-template-columns:1fr}.qm-progress-row{grid-template-columns:1fr 1fr 1fr}.qm-progress-product{grid-column:1/-1}.qm-table-tools{align-items:flex-start;flex-direction:column}.qm-form-footer{align-items:flex-end;flex-direction:column}.qm-buy-items>div,.qm-dispatch-row{grid-template-columns:1fr}.qm-history-row,.qm-auth{align-items:flex-start;flex-direction:column}.qm-cancel{width:100%}.qm-cancel input{flex:1}}
.qm-direct-pay{width:100%;margin-top:4px}
.qm-direct-pay summary{cursor:pointer;color:#17365d;font-weight:800;font-size:13px}
.qm-direct-pay form{display:grid;grid-template-columns:1.2fr 1fr 1.4fr auto;gap:8px;margin-top:9px}
.qm-direct-pay-field{display:grid;gap:4px;min-width:0;color:#31536a;font-size:10px;font-weight:700}
@media(max-width:700px){.qm-direct-pay form{grid-template-columns:1fr}}


/* =========================================================
   ADMINISTRAR OBRAS
   ========================================================= */
.projects-pagehead{align-items:center}
.project-create-card{margin-bottom:20px;padding:22px}
.project-card-title h2,.project-admin-card h2{margin:0;color:#102f45;font-size:18px}
.project-card-title p{margin:5px 0 0;color:#6c7c89;font-size:12px}
.project-form{margin-top:18px}
.project-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.project-form-grid label{display:flex;flex-direction:column;gap:6px}
.project-form-grid label>span{font-size:11px;font-weight:700;color:#405563}
.project-form-grid input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d7e0e6;border-radius:9px;background:#fff;color:#17384e;outline:none}
.project-form-grid input:focus{border-color:#6d93aa;box-shadow:0 0 0 3px rgba(47,94,123,.08)}
.project-users-box{margin-top:18px;padding:15px;border:1px solid #e0e7ec;border-radius:11px;background:#f8fafb}
.project-users-box>strong{font-size:12px;color:#17384e}
.project-users-box>p{margin:3px 0 12px;font-size:10.5px;color:#788792}
.project-users-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.project-user-check{display:flex;align-items:flex-start;gap:8px;padding:9px;background:#fff;border:1px solid #e2e8ec;border-radius:8px;cursor:pointer}
.project-user-check input{margin-top:2px}
.project-user-check span{display:flex;flex-direction:column;min-width:0}
.project-user-check b{font-size:11px;color:#25475d}
.project-user-check small{margin-top:2px;font-size:9.5px;color:#7c8992}
.project-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}
.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-admin-card{padding:20px}
.project-admin-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.project-admin-code{margin-bottom:5px;font-size:9.5px;font-weight:800;letter-spacing:.08em;color:#b33f3f}
.project-admin-top p{margin:5px 0 0;color:#71808b;font-size:11px;line-height:1.45}
.project-admin-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:17px;padding-top:14px;border-top:1px solid #e7edf1;color:#667986;font-size:10.5px}
.project-admin-meta i{margin-right:5px;color:#365f78}
.project-admin-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}
.project-read-note{font-size:10.5px;color:#71818c}
.project-finish-btn{color:#9b3e3e;border-color:#e6caca;background:#fff8f8}
@media(max-width:900px){
  .projects-grid,.project-form-grid{grid-template-columns:1fr}
  .project-users-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .project-users-grid{grid-template-columns:1fr}
  .project-admin-footer{align-items:flex-start;flex-direction:column}
}

/* Requerimientos solo de Útiles: conservar siempre al menos un ítem. */
.page-requirement-form .nt-del:disabled {
  opacity: .42;
  cursor: not-allowed;
  background: #f7f7f7;
  border-color: #d9dfe3;
  color: #9aa5ad;
}

/* Seguimiento: mismo encabezado visual que Detalle, sin resumen duplicado */
body.page-request-tracking .request-detail-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#718694;font-size:10px}
body.page-request-tracking .request-detail-breadcrumb b{color:#9aabb5;font-weight:600}
body.page-request-tracking .request-detail-pagehead{align-items:flex-start;margin-bottom:14px}
body.page-request-tracking .request-detail-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.page-request-tracking .request-detail-title-row h1{margin:0;color:#123f5b;font-size:24px;line-height:1.15}
body.page-request-tracking .request-type-chip{display:inline-flex;align-items:center;min-height:25px;padding:0 11px;border-radius:999px;background:#e8f3fa;color:#245f83;font-size:10px;font-weight:700}
body.page-request-tracking .request-detail-meta{display:flex;align-items:center;gap:9px;margin:7px 0 0;color:#536e7f;font-size:11px;font-weight:600}
body.page-request-tracking .request-detail-meta span{width:1px;height:14px;background:#cfdbe2}
body.page-request-tracking .tracking-pagehead .track-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
body.page-request-tracking .tracking-history-card{padding:14px 16px}
body.page-request-tracking .request-section-heading{margin:0 0 9px}
body.page-request-tracking .request-section-heading h3{margin:0;color:#123f5b;font-size:16px}
body.page-request-tracking .request-section-heading p{margin:4px 0 0}
@media(max-width:760px){
  body.page-request-tracking .request-detail-pagehead{gap:12px}
  body.page-request-tracking .tracking-pagehead .track-actions{width:100%;justify-content:flex-start}
  body.page-request-tracking .request-detail-title-row h1{font-size:21px}
}

/* =========================================================
   TRÁMITES - encabezados ordenables limpios y tabla uniforme
   ========================================================= */
body.page-requests .tramites-unified-table{width:100%;min-width:900px;table-layout:fixed}
body.page-requests .tramites-unified-table th:nth-child(1){width:21%}
body.page-requests .tramites-unified-table th:nth-child(2){width:14%}
body.page-requests .tramites-unified-table th:nth-child(3){width:17%}
body.page-requests .tramites-unified-table th:nth-child(4){width:12%}
body.page-requests .tramites-unified-table th:nth-child(5){width:25%}
body.page-requests .tramites-unified-table th:nth-child(6){width:11%}
body.page-requests .tramite-sort{
  appearance:none;-webkit-appearance:none;border:0!important;outline:0;background:transparent!important;
  padding:0;margin:0;color:#74838e;font:inherit;font-weight:700;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:5px;cursor:pointer;box-shadow:none!important
}
body.page-requests .tramite-sort:hover,body.page-requests .tramite-sort.active{color:#174f70;background:transparent!important}
body.page-requests .tramite-sort i{font-size:8px;color:#a9b7c0}
body.page-requests .tramite-sort.active i{color:#174f70}
body.page-requests .tramites-unified-table td{overflow:hidden;text-overflow:ellipsis}
body.page-requests .tramites-unified-table td:last-child{overflow:visible}
body.page-requests .request-actions-icons{display:flex;align-items:center;justify-content:center;gap:7px}

/* =========================================================
   SEGUIMIENTO - compacto, visual y consistente con Detalle
   ========================================================= */
body.page-request-tracking .tracking-history-card{padding:18px 20px 10px}
body.page-request-tracking .request-section-heading{padding-bottom:13px;margin-bottom:0;border-bottom:1px solid #e7edf1}
body.page-request-tracking .request-section-heading h3{font-size:17px}
body.page-request-tracking .request-section-heading p{font-size:10.5px}
body.page-request-tracking .track-history{
  position:relative;display:grid;grid-template-columns:170px 220px minmax(0,1fr);gap:20px;
  align-items:center;padding:17px 10px 17px 27px;border-bottom:1px solid #e7edf1
}
body.page-request-tracking .track-history:last-child{border-bottom:0}
body.page-request-tracking .track-history::before{
  content:"";position:absolute;left:6px;top:50%;width:9px;height:9px;border-radius:50%;
  background:#174f70;border:3px solid #e5f1f7;transform:translateY(-50%);box-sizing:content-box
}
body.page-request-tracking .track-history::after{
  content:"";position:absolute;left:12px;top:calc(50% + 8px);bottom:-9px;width:1px;background:#d8e4ea
}
body.page-request-tracking .track-history:last-child::after{display:none}
body.page-request-tracking .track-history .date{color:#718692;font-size:10px;font-weight:600}
body.page-request-tracking .track-history strong{color:#123f5b;font-size:11px}
body.page-request-tracking .track-history .action{color:#526b79;font-size:11px;line-height:1.45}
@media(max-width:760px){
  body.page-requests .tramites-unified-table{min-width:820px}
  body.page-request-tracking .tracking-history-card{padding:15px 16px 8px}
  body.page-request-tracking .track-history{grid-template-columns:1fr;gap:4px;padding:14px 8px 14px 28px}
  body.page-request-tracking .track-history::before{top:20px;transform:none}
  body.page-request-tracking .track-history::after{top:35px;bottom:-8px}
}

/* =========================================================
   RESTAURACIÓN FINAL - TRÁMITES + SEGUIMIENTO (18-09-2026)
   Mantiene juntas las modificaciones de bandeja para evitar
   que reglas antiguas del CSS vuelvan a sobreescribirlas.
   ========================================================= */

/* 1) Estados que requieren una acción del usuario conectado: rojo */
body.page-requests .pill.my-action{
  background:#fde8e8 !important;
  color:#c62828 !important;
  border:0 !important;
  font-weight:700;
}

/* 2) Una sola geometría de tabla para las cinco bandejas */
body.page-requests .tablewrap{overflow-x:auto}
body.page-requests .tramites-unified-table{
  width:100% !important;
  min-width:900px;
  table-layout:fixed !important;
}
body.page-requests .tramites-unified-table th:nth-child(1){width:21% !important}
body.page-requests .tramites-unified-table th:nth-child(2){width:14% !important}
body.page-requests .tramites-unified-table th:nth-child(3){width:17% !important}
body.page-requests .tramites-unified-table th:nth-child(4){width:12% !important}
body.page-requests .tramites-unified-table th:nth-child(5){width:25% !important}
body.page-requests .tramites-unified-table th:nth-child(6){width:11% !important;text-align:center}
body.page-requests .tramites-unified-table td:last-child{text-align:center;overflow:visible}

/* 3) Encabezados ordenables: parecen encabezados, no botones del navegador */
body.page-requests button.tramite-sort{
  appearance:none !important;
  -webkit-appearance:none !important;
  border:0 !important;
  outline:0 !important;
  background:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  width:auto !important;
  height:auto !important;
  color:#71818c !important;
  font:inherit !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-transform:uppercase;
  display:inline-flex !important;
  align-items:center;
  gap:5px;
  cursor:pointer;
}
body.page-requests button.tramite-sort:hover,
body.page-requests button.tramite-sort.active{color:#123f5b !important;background:none !important}
body.page-requests button.tramite-sort i{font-size:8px;color:#b2c0c8}
body.page-requests button.tramite-sort.active i{color:#123f5b}

/* 4) Acciones solo con iconos: Detalle + Seguimiento */
body.page-requests .request-actions-icons{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:nowrap;
}
body.page-requests .request-action-icon{
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  min-height:34px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border:1px solid #d6e1e7;
  border-radius:9px;
  background:#fff;
  color:#123f5b;
  line-height:1;
}
body.page-requests .request-action-icon:hover{
  background:#edf6fb;
  border-color:#b9d5e4;
  color:#0f5f8a;
}
body.page-requests .request-action-icon i{margin:0 !important;font-size:13px}

/* 5) Seguimiento: encabezado como Detalle + historial más limpio */
body.page-request-tracking .tracking-history-card{
  padding:0 !important;
  overflow:hidden;
  border:1px solid #d9e3e8;
  border-radius:14px;
  background:#fff;
}
body.page-request-tracking .tracking-history-card .request-section-heading{
  margin:0 !important;
  padding:17px 18px 14px !important;
  border-bottom:1px solid #e6edf1;
  background:#fff;
}
body.page-request-tracking .tracking-history-card .request-section-heading h3{
  margin:0 0 3px !important;
  color:#102f45;
  font-size:17px;
}
body.page-request-tracking .tracking-history-card .request-section-heading p{
  margin:0 !important;
  color:#71838f;
  font-size:10.5px;
}
body.page-request-tracking .track-history{
  position:relative;
  display:grid !important;
  grid-template-columns:155px 205px minmax(0,1fr) !important;
  gap:20px;
  align-items:center;
  margin:0 18px;
  padding:16px 8px 16px 30px !important;
  border-bottom:1px solid #edf1f3 !important;
  background:#fff;
}
body.page-request-tracking .track-history:last-child{border-bottom:0 !important}
body.page-request-tracking .track-history::before{
  content:"";
  position:absolute;
  left:7px;
  top:50%;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#1675a8;
  box-shadow:0 0 0 4px #e8f3f9;
  transform:translateY(-50%);
}
body.page-request-tracking .track-history::after{
  content:"";
  position:absolute;
  left:11px;
  top:calc(50% + 9px);
  bottom:calc(-50% + 1px);
  width:1px;
  background:#d6e5ed;
}
body.page-request-tracking .track-history:last-child::after{display:none}
body.page-request-tracking .track-history .date{
  color:#6c808d;
  font-size:10px;
  font-weight:600;
}
body.page-request-tracking .track-history strong{
  color:#123f5b;
  font-size:11px;
  font-weight:700;
}
body.page-request-tracking .track-history .action{
  color:#526b79;
  font-size:11px;
  line-height:1.45;
}

@media(max-width:760px){
  body.page-requests .tramites-unified-table{min-width:820px}
  body.page-request-tracking .track-history{
    grid-template-columns:1fr !important;
    gap:4px;
    margin:0 14px;
    padding:14px 6px 14px 30px !important;
  }
  body.page-request-tracking .track-history::before{top:20px;transform:none}
  body.page-request-tracking .track-history::after{top:35px;bottom:-8px}
}


/* =========================================================
   SEGUIMIENTO - eventos limpios sin línea vertical
   ========================================================= */
body.page-request-tracking .tracking-history-card{
  padding:0 !important;overflow:hidden;border:1px solid #d9e3e8;border-radius:14px;background:#fff;
}
body.page-request-tracking .tracking-history-card .request-section-heading{
  margin:0 !important;padding:18px 20px 15px !important;border-bottom:1px solid #e6edf1;background:#fff;
}
body.page-request-tracking .tracking-history-card .request-section-heading h3{margin:0 0 3px !important;font-size:17px;color:#102f45}
body.page-request-tracking .tracking-history-card .request-section-heading p{margin:0 !important;font-size:10.5px;color:#71838f}
body.page-request-tracking .track-history{
  position:relative;display:flex !important;align-items:flex-start;gap:14px;
  margin:0 20px;padding:15px 4px !important;border-bottom:1px solid #edf1f3 !important;background:#fff;
}
body.page-request-tracking .track-history:last-child{border-bottom:0 !important}
body.page-request-tracking .track-history::before,
body.page-request-tracking .track-history::after{display:none !important}
body.page-request-tracking .track-event-icon{
  flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eaf5fb;color:#1477aa;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
body.page-request-tracking .track-event-icon i{font-size:12px}
body.page-request-tracking .track-event-content{min-width:0;flex:1;padding-top:1px}
body.page-request-tracking .track-history .action{
  display:block;color:#173f58;font-size:11.5px;font-weight:650;line-height:1.45;margin-bottom:5px;
}
body.page-request-tracking .track-event-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;line-height:1.3}
body.page-request-tracking .track-history strong{color:#536d7d;font-size:10px;font-weight:600}
body.page-request-tracking .track-history .date{color:#8798a3;font-size:9.5px;font-weight:500}
body.page-request-tracking .track-meta-separator{color:#b9c5cc;font-size:9px}
@media(max-width:760px){
  body.page-request-tracking .track-history{margin:0 14px;padding:14px 2px !important;gap:11px}
  body.page-request-tracking .track-event-icon{flex-basis:32px;width:32px;height:32px;border-radius:9px}
}


/* =========================================================
   SEGUIMIENTO - formato clásico sin línea vertical
   ========================================================= */
body.page-request-tracking .track-history{
  position:relative;
  display:grid !important;
  grid-template-columns:170px 220px minmax(0,1fr) !important;
  gap:20px;
  align-items:center;
  margin:0 18px;
  padding:17px 10px 17px 30px !important;
  border-bottom:1px solid #edf1f3 !important;
  background:#fff;
}
body.page-request-tracking .track-history:last-child{border-bottom:0 !important}
body.page-request-tracking .track-history::before{
  content:"" !important;
  display:block !important;
  position:absolute;
  left:7px;
  top:50%;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#1675a8;
  box-shadow:0 0 0 4px #e8f3f9;
  transform:translateY(-50%);
}
body.page-request-tracking .track-history::after{display:none !important;content:none !important}
body.page-request-tracking .track-history .date{color:#6c808d;font-size:10px;font-weight:600}
body.page-request-tracking .track-history strong{color:#123f5b;font-size:11px;font-weight:700}
body.page-request-tracking .track-history .action{display:block;color:#526b79;font-size:11px;font-weight:400;line-height:1.45;margin:0}
body.page-request-tracking .track-event-icon,
body.page-request-tracking .track-event-content,
body.page-request-tracking .track-event-meta{display:contents}
@media(max-width:760px){
  body.page-request-tracking .track-history{grid-template-columns:1fr !important;gap:4px;margin:0 14px;padding:14px 6px 14px 30px !important}
  body.page-request-tracking .track-history::before{top:20px;transform:none}
}
body.page-quotation-management{background:#f4f7f9}
body.page-quotation-management .content{max-width:1500px}
.qm-flow-page{display:flex;flex-direction:column;gap:16px}
.qm-flow-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.qm-flow-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.qm-flow-title h1{margin:3px 0 0;color:#102f45;font-size:28px;line-height:1.1}
.qm-flow-header p{margin:6px 0 0;color:#6d8090;font-size:12px}
.qm-flow-state{display:inline-flex;align-items:center;min-height:27px;padding:0 11px;border-radius:999px;background:#eaf4fb;color:#174f70;font-size:11px;font-weight:800}
.qm-flow-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:15px 18px;background:#fff;border:1px solid #dfe7ec;border-radius:13px}
.qm-flow-step{display:flex;align-items:center;gap:9px;position:relative;padding:8px 10px;border-radius:10px;color:#7b8c98}
.qm-flow-step>span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#edf2f5;color:#6d808d;font-size:11px;font-weight:800}
.qm-flow-step div{display:flex;flex-direction:column;gap:2px}
.qm-flow-step strong{font-size:11px;color:#526978}
.qm-flow-step small{font-size:9px;color:#8796a0}
.qm-flow-step.current{background:#eef6fb;box-shadow:inset 0 0 0 1px #8fb8d1}
.qm-flow-step.current>span{background:#174f70;color:#fff}
.qm-flow-step.current strong{color:#123f5b}
.qm-flow-step.done>span{background:#e2f5ea;color:#23824f}
.qm-flow-step.done strong{color:#23824f}
.qm-flow-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.qm-flow-stats>div{padding:16px;border:1px solid #dfe7ec;border-radius:12px;background:#fff}
.qm-flow-stats span{display:block;margin-bottom:7px;color:#617786;font-size:10px;font-weight:800;text-transform:uppercase}
.qm-flow-stats strong{color:#102f45;font-size:23px}
.qm-products-card,.qm-quotes-work,.qm-current-card{padding:18px}
.qm-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.qm-section-title>div{display:flex;align-items:center;gap:11px}
.qm-section-title>div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eaf3f8;color:#174f70;font-size:12px;font-weight:900}
.qm-section-title h2,.qm-current-card h2{margin:0;color:#102f45;font-size:17px}
.qm-section-title p{margin:3px 0 0;color:#758793;font-size:10.5px}
.qm-products-table th,.qm-products-table td{white-space:nowrap}
.qm-products-table td:nth-child(2){white-space:normal;min-width:210px}
.qm-products-table td:nth-child(2)>small{display:flex;align-items:center;gap:7px;margin-top:4px;color:#7a8c98}
.qm-pending-number{color:#c33d3d}
.qm-work-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.qm-section-title-actions{align-items:flex-start}
.qm-quote-tabs{display:flex;gap:4px;padding:4px;margin-bottom:12px;border-radius:9px;background:#f0f4f6;overflow-x:auto}
.qm-quote-tabs button{border:0;background:transparent;padding:8px 11px;border-radius:7px;color:#647985;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.qm-quote-tabs button b{margin-left:3px}
.qm-quote-tabs button.active{background:#174f70;color:#fff;box-shadow:0 1px 3px rgba(15,47,68,.18)}
.qm-quotes-list{display:flex;flex-direction:column;gap:9px}
.qm-quote-list-card{display:grid;grid-template-columns:minmax(220px,1fr) 120px auto;gap:14px;align-items:center;padding:13px;border:1px solid #e1e8ec;border-radius:10px;background:#fff}
.qm-quote-main>div{display:flex;align-items:center;gap:8px}
.qm-quote-main>div>strong{color:#174f70;font-size:10px}
.qm-quote-main h3{margin:6px 0 2px;color:#17384e;font-size:12px}
.qm-quote-main p{margin:0;color:#7a8c98;font-size:9.5px}
.qm-quote-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;font-size:8.5px;font-weight:800;background:#edf2f5;color:#657987}
.qm-quote-badge.draft{background:#fff3d8;color:#9b6a00}
.qm-quote-badge.sent{background:#e8f2ff;color:#2768a2}
.qm-quote-badge.done{background:#e5f5eb;color:#26764b}
.qm-quote-total{display:flex;flex-direction:column;gap:3px;text-align:right}
.qm-quote-total small{color:#83939e;font-size:9px}
.qm-quote-total strong{color:#102f45;font-size:13px}
.qm-quote-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.qm-quote-actions form{margin:0}
.qm-delete-btn{min-width:34px;padding-left:8px!important;padding-right:8px!important;color:#a23b3b!important}
.qm-quote-items{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;padding-top:9px;border-top:1px solid #edf1f3}
.qm-quote-items span{padding:4px 7px;border-radius:999px;background:#f3f6f8;color:#627783;font-size:9px}
.qm-empty-quotes{display:flex;min-height:170px;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #d8e2e8;border-radius:10px;color:#7b8d99}
.qm-empty-quotes i{font-size:26px;color:#9badb8}
.qm-empty-quotes strong{color:#345367;font-size:12px}
.qm-empty-quotes span{font-size:10px}
.qm-send-all{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:12px;border:1px solid #ead9a7;border-radius:10px;background:#fff9e9}
.qm-send-all>div{display:flex;align-items:center;gap:9px;color:#7c651f;font-size:10px;line-height:1.45}
.qm-current-card{position:sticky;top:82px}
.qm-current-card>h2{margin-bottom:13px}
.qm-current-box{display:flex;align-items:flex-start;gap:10px;padding:13px;border-radius:10px}
.qm-current-box>i{margin-top:2px}
.qm-current-box strong{display:block;margin-bottom:4px;font-size:11px}
.qm-current-box p{margin:0;font-size:9.5px;line-height:1.5}
.qm-current-box.info{background:#edf7ff;border:1px solid #b9d9ed;color:#235e83}
.qm-current-box.success{background:#eef8f2;border:1px solid #c4e5d1;color:#2d704d}
.qm-next-box{margin-top:12px;padding:13px;border:1px solid #ead9a7;border-radius:10px;background:#fffaf0;color:#6d5a22}
.qm-next-box>strong{display:block;margin-bottom:9px;font-size:11px}
.qm-next-box p{display:flex;align-items:center;gap:7px;margin:7px 0;font-size:9.5px}
.qm-modal{display:none;position:fixed;inset:0;z-index:3000;align-items:center;justify-content:center;padding:24px}
.qm-modal.open{display:flex}
.qm-modal-backdrop{position:absolute;inset:0;background:rgba(12,34,48,.58);backdrop-filter:blur(2px)}
.qm-modal-panel{position:relative;width:min(980px,96vw);max-height:90vh;overflow:auto;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(8,29,43,.28)}
.qm-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:20px 22px 14px;border-bottom:1px solid #e7edf1}
.qm-modal-head small{display:block;margin-bottom:4px;color:#174f70;font-size:9px;font-weight:900;letter-spacing:.08em}
.qm-modal-head h2{margin:0;color:#102f45;font-size:19px}
.qm-modal-close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:#f0f4f6;color:#607582;cursor:pointer}
.qm-wizard-progress{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px 22px;background:#f8fafb}
.qm-wizard-progress>div{display:flex;align-items:center;gap:8px;color:#8a99a3}
.qm-wizard-progress>div>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e6edf1;font-size:10px;font-weight:900}
.qm-wizard-progress>div>strong{font-size:10px}
.qm-wizard-progress>div.active{color:#174f70}
.qm-wizard-progress>div.active>span{background:#174f70;color:#fff}
.qm-wizard-progress>i{width:70px;height:1px;background:#d9e2e7}
.qm-wizard-step{display:none;padding:20px 22px 22px}
.qm-wizard-step.active{display:block}
.qm-wizard-step .qm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.qm-modal-actions,.qm-wizard-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:15px;border-top:1px solid #e8edf0}
.qm-wizard-footer{justify-content:space-between}
.qm-wizard-footer>div{margin-left:auto;color:#667b88;font-size:11px}
.qm-wizard-footer>div strong{margin-left:6px;color:#102f45;font-size:15px}
.qm-provider-add{margin-top:12px;border:1px solid #e0e8ed;border-radius:9px;background:#f9fbfc}
.qm-provider-add>summary{padding:10px 12px;cursor:pointer;color:#174f70;font-size:10px;font-weight:800}
.qm-inline-provider{display:grid;grid-template-columns:1.5fr 1fr auto;gap:8px;padding:0 12px 12px}
.qm-inline-provider input{min-width:0}
.qm-quote-row.is-selected{background:#f5faff}
body.qm-modal-open{overflow:hidden}
@media(max-width:1050px){.qm-work-grid{grid-template-columns:1fr}.qm-current-card{position:static}.qm-flow-steps{grid-template-columns:repeat(3,1fr)}.qm-quote-list-card{grid-template-columns:1fr 110px}.qm-quote-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:760px){.qm-flow-header,.qm-section-title-actions,.qm-send-all{align-items:stretch;flex-direction:column}.qm-flow-steps,.qm-flow-stats{grid-template-columns:1fr 1fr}.qm-quote-list-card{grid-template-columns:1fr}.qm-quote-total{text-align:left}.qm-wizard-step .qm-form-grid{grid-template-columns:1fr}.qm-span-2{grid-column:auto!important}.qm-inline-provider{grid-template-columns:1fr}.qm-wizard-progress>div>strong{display:none}.qm-modal{padding:10px}.qm-modal-panel{max-height:96vh}}
.qm-excess-box{margin-top:6px;padding:7px 8px;border:1px solid #efc7a7;border-radius:8px;background:#fff8f1}
.qm-excess-box span{display:block;margin-bottom:5px;color:#9a541d;font-size:9px;font-weight:800}
.qm-excess-box input{width:100%;min-width:150px}
.qm-quote-row .qm-qty{min-width:105px}

.qm-admin-note{display:flex;gap:12px;align-items:flex-start;padding:13px 15px;margin-bottom:14px;background:#f3f7fb;border:1px solid #dce7f1;border-radius:10px;color:#24445e}.qm-admin-note i{margin-top:3px}.qm-admin-note div{display:flex;flex-direction:column;gap:3px}.qm-admin-note span{font-size:13px;color:#607487}.qm-admin-row textarea{min-width:220px;resize:vertical}.qm-admin-qty{min-width:110px}.qm-admin-excess{margin-top:7px;padding:8px;border:1px solid #f0cf8b;background:#fff8e8;border-radius:8px;min-width:190px}.qm-admin-excess label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#855d09}.qm-admin-excess input[type=text],.qm-admin-excess input:not([type]){width:100%;margin-top:6px}.qm-excess-text{display:block;margin-top:5px;color:#9a6700;max-width:210px}.qm-review-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.qm-admin-submit{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid #e7edf2}.qm-admin-submit>div{display:flex;flex-direction:column;gap:2px}.qm-admin-submit span{font-size:12px;color:#71808e}.qm-reviewed{margin-top:18px;border-top:1px solid #e7edf2;padding-top:14px}.qm-reviewed h4{margin:0 0 10px}.qm-reviewed-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #edf1f4}.qm-reviewed-row>div{display:flex;flex-direction:column;gap:3px}.qm-reviewed-row span,.qm-reviewed-row small{font-size:12px;color:#657685}.qm-decision{font-weight:700!important}.qm-decision.ok{color:#287a48!important}.qm-decision.warn{color:#9a6700!important}@media(max-width:800px){.qm-admin-submit,.qm-reviewed-row{align-items:stretch;flex-direction:column}.qm-admin-row textarea{min-width:180px}}
.qm-cancelled-number{color:#9a6700}.qm-cancel-grid{display:grid;gap:10px}.qm-cancel-item{display:grid;grid-template-columns:minmax(220px,1fr) minmax(430px,1.5fr);gap:18px;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f4}.qm-cancel-item>div:first-child{display:flex;flex-direction:column;gap:3px}.qm-cancel-item span,.qm-cancel-item small{font-size:12px;color:#657685}.qm-cancel-fields{display:grid;grid-template-columns:110px 1fr auto;gap:8px;align-items:center}.qm-cancel-fields input{width:100%}.qm-cancel-fields>label{display:grid;gap:4px;color:#31536a;font-size:10px;font-weight:700}.qm-cancel-history{margin-top:18px}@media(max-width:900px){.qm-cancel-item{grid-template-columns:1fr}.qm-cancel-fields{grid-template-columns:1fr}.qm-products-table{min-width:1050px}}

.qm-payment-choice{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e7ebf0}.qm-payment-choice label{font-size:12px;font-weight:700;color:#344054}.qm-payment-choice select{width:100%;min-height:38px}.qm-payment-rule{display:flex;gap:6px;align-items:center;color:#667085;font-size:12px}.qm-payment-defined{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:9px 11px;border-radius:8px;background:#f7f9fb}.qm-payment-defined span{font-size:12px;color:#667085}.qm-payment-defined strong{font-size:13px;color:#183b56}
.qm-purchase-balance{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f8fafc;border-radius:10px;color:#64748b;font-size:12px}.qm-purchase-balance strong{color:#0f172a}.qm-buy-summary{display:grid;gap:6px}.qm-buy-summary>div{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(90px,.6fr));gap:8px;padding:8px 10px;border:1px solid #e8edf3;border-radius:9px;font-size:12px;align-items:center}.qm-buy-summary span{color:#64748b}.qm-buy-summary .pending{color:#b45309;font-weight:700}.qm-buy-summary .done{color:#15803d;font-weight:700}.qm-buy-items>div.complete{opacity:.55}.qm-purchase-complete{background:#fbfefc}.qm-purchase-card h4{margin:2px 0 0;color:#17375e;font-size:13px}@media(max-width:700px){.qm-purchase-balance{flex-direction:column}.qm-buy-summary>div{grid-template-columns:1fr 1fr}.qm-buy-summary>div strong{grid-column:1/-1}}

.reception-worksite-card{display:grid;gap:16px}.worksite-dispatch{border:1px solid #dfe5ea;border-radius:12px;padding:16px;background:#fff}.worksite-dispatch.received{background:#f8faf9}.worksite-dispatch-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.worksite-dispatch-head>div{display:grid;gap:3px}.worksite-dispatch-head span{font-size:12px;color:#6b7280}.worksite-receipt-items{display:grid;gap:8px;margin:12px 0}.worksite-receipt-row{display:grid;grid-template-columns:1fr 140px;gap:16px;align-items:center;padding:10px 12px;border:1px solid #e7ebef;border-radius:9px}.worksite-receipt-row>div{display:grid;gap:3px}.worksite-receipt-row small{color:#6b7280}.worksite-receipt-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}@media(max-width:760px){.worksite-receipt-row,.worksite-receipt-fields{grid-template-columns:1fr}}
.worksite-reception-history{margin-top:4px;border-top:1px solid #e7ebef;padding-top:14px}.worksite-reception-history h4{margin:0 0 10px}.worksite-reception-history-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f2}.worksite-reception-history-row>div{display:grid;gap:2px}.worksite-reception-history-row span,.worksite-reception-history-row small{font-size:12px;color:#6b7280}

/* Gestión de compra: asistente compacto */
.qm-modal-panel{max-height:88vh;overflow:hidden;display:flex;flex-direction:column}
.qm-wizard-form{min-height:0;display:flex;flex-direction:column}
.qm-wizard-step{overflow:auto;max-height:calc(88vh - 128px)}
.qm-step-items .qm-excess-box{margin-top:6px}
.qm-selected-prices{margin-top:14px;border:1px solid #e3eaee;border-radius:10px;overflow:hidden}
.qm-selected-prices-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7f9fa;color:#173d55}
.qm-selected-prices-head span{font-size:11px;color:#71838e}
.qm-selected-prices .qm-items-table-wrap{border:0;border-radius:0}
.qm-provider-grid textarea{min-height:62px}
@media(max-width:760px){.qm-modal-panel{max-height:96vh}.qm-wizard-step{max-height:calc(96vh - 116px)}.qm-selected-prices-head{align-items:flex-start;flex-direction:column}}

/* ===== Reembolsos ===== */
.rr-flow{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:12px 16px;background:#fff;border:1px solid #dfe7ee;border-radius:12px;color:#51606d;font-size:13px}.rr-flow span{display:flex;align-items:center;gap:7px}.rr-flow b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#123e5c;color:#fff}.rr-flow i{font-size:10px;color:#a7b3bd}.rr-form-title{display:flex;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e5ebf0}.rr-form-title>i{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#eaf2f7;color:#123e5c}.rr-form-title div{display:flex;flex-direction:column;gap:2px}.rr-form-title small{color:#6f7c86}.rr-money{display:flex;border:1px solid #cfd9e2;border-radius:9px;overflow:hidden;background:#fff}.rr-money:focus-within{border-color:#517c9b;box-shadow:0 0 0 2px rgba(41,91,125,.1)}.rr-money span{display:flex;align-items:center;padding:0 13px;background:#f3f6f8;border-right:1px solid #dbe3e9;font-weight:700;color:#324a5c}.rr-money input{border:0!important;border-radius:0!important;box-shadow:none!important}.rr-optional{font-weight:400;color:#81909b;font-size:12px}.rr-draft-note{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding:12px 14px;border-radius:9px;background:#f4f8fb;color:#486173;font-size:13px}.rr-alert{display:flex;flex-direction:column;gap:4px;padding:13px 16px;border-radius:10px;margin-bottom:16px;border:1px solid}.rr-alert.warning{background:#fff9e8;border-color:#efd98f;color:#6e5915}.rr-alert.danger{background:#fff0f0;border-color:#efb6b6;color:#8a2929}.rr-status{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f5;color:#51606b}.rr-borrador{background:#eef2f5;color:#56636d}.rr-pendiente-de-administracion{background:#fff3d8;color:#8a5d00}.rr-pendiente-de-tesoreria{background:#e6f2ff;color:#165d91}.rr-observado{background:#fff0d9;color:#9a5b00}.rr-rechazado{background:#fde7e7;color:#a72e2e}.rr-finalizado,.rr-atendido{background:#e3f6ea;color:#237441}.rr-actions{display:flex;gap:6px;white-space:nowrap}.rr-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:16px;margin-bottom:16px}.rr-detail-card h2,.rr-side h2,.rr-history h2{font-size:17px;margin:0 0 16px;color:#173a53}.rr-detail-card h3{font-size:14px;margin:18px 0 10px}.rr-detail-card dl{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px;margin:0}.rr-detail-card dl>div{display:flex;flex-direction:column;gap:4px}.rr-detail-card dl .wide{grid-column:1/-1}.rr-detail-card dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#788792;font-weight:700}.rr-detail-card dd{margin:0;color:#263b4b}.rr-amount{font-size:20px;font-weight:800!important;color:#123e5c!important}.rr-files{display:flex;flex-wrap:wrap;gap:8px}.rr-side{height:max-content}.rr-full{width:100%;justify-content:center;margin-bottom:9px}.rr-review{display:flex;flex-direction:column;gap:9px}.rr-review label{font-size:12px;font-weight:700;color:#536570}.rr-review textarea{min-height:80px}.rr-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btn.danger{background:#a93636;color:#fff;border-color:#a93636}.rr-timeline{display:flex;flex-direction:column}.rr-timeline>div{display:grid;grid-template-columns:20px 1fr;gap:9px;position:relative;padding-bottom:17px}.rr-timeline>div:not(:last-child):before{content:"";position:absolute;left:6px;top:13px;bottom:0;width:1px;background:#d8e1e7}.rr-dot{width:13px;height:13px;border-radius:50%;background:#245d7e;margin-top:3px;z-index:1}.rr-timeline section{display:flex;flex-direction:column;gap:2px}.rr-timeline small{color:#7a8994}.rr-timeline p{margin:4px 0 0;color:#536570}.rr-table td{vertical-align:middle}@media(max-width:850px){.rr-flow{overflow:auto}.rr-detail-grid{grid-template-columns:1fr}.rr-detail-card dl{grid-template-columns:1fr}.rr-detail-card dl .wide{grid-column:auto}}

/* Reembolsos: formulario alineado visualmente con Requerimientos */
body.page-reimbursement-form .lanr-reimbursement-card{border-top:4px solid #2f6f95 !important;}
body.page-reimbursement-form .reimbursement-general-grid{grid-template-columns:minmax(0,2fr) minmax(155px,.65fr) minmax(160px,.65fr) minmax(180px,.7fr);}
body.page-reimbursement-form .lanr-general-grid .field select,
body.page-reimbursement-form .lanr-general-grid .field textarea,
body.page-reimbursement-form .lanr-reimbursement-note-section textarea{
  width:100%;border:1px solid #cbd9e2;border-radius:7px;background:#fff;color:#263b4b;font:inherit;font-size:12px;box-sizing:border-box;
}
body.page-reimbursement-form .lanr-general-grid .field select{height:38px;padding:8px 10px;}
body.page-reimbursement-form .lanr-reimbursement-note-section .field label,
body.page-reimbursement-form .lanr-support-section .field label{font-size:10.5px;font-weight:700;color:#294d62;}
body.page-reimbursement-form .lanr-reimbursement-note-section textarea{min-height:76px;padding:9px 10px;resize:vertical;}
body.page-reimbursement-form .rr-money{height:38px;border-radius:7px;}
body.page-reimbursement-form .rr-money span{font-size:12px;padding:0 11px;}
body.page-reimbursement-form .rr-money input{height:36px!important;}
body.page-reimbursement-form .reimbursement-identification-grid{grid-template-columns:minmax(260px,1fr) minmax(420px,1.7fr);}
body.page-reimbursement-form .reimbursement-review-note{align-self:end;}
body.page-reimbursement-form .reimbursement-file-names{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
body.page-reimbursement-form .reimbursement-file-names span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #d6e2e9;border-radius:7px;background:#f8fbfd;color:#496879;font-size:10.5px;}
body.page-reimbursement-form .reimbursement-actions{gap:7px;}
body.page-reimbursement-form .reimbursement-actions .lanr-cancel-btn{margin-right:auto;}
@media(max-width:760px){
 body.page-reimbursement-form .reimbursement-general-grid,
 body.page-reimbursement-form .reimbursement-identification-grid{grid-template-columns:1fr;}
}

/* Reembolsos: confirmación y tabla compacta */
body.page-reimbursement-form .rr-confirm-overlay{position:fixed;inset:0;background:rgba(10,31,45,.48);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999}
body.page-reimbursement-form .rr-confirm-overlay.hidden{display:none}
body.page-reimbursement-form .rr-confirm-box{width:min(430px,100%);background:#fff;border-radius:14px;box-shadow:0 18px 55px rgba(15,45,65,.24);overflow:hidden;animation:vbIn .16s ease-out}
body.page-reimbursement-form .rr-confirm-body{padding:24px 24px 18px;text-align:center}
body.page-reimbursement-form .rr-confirm-icon{width:50px;height:50px;border-radius:50%;margin:0 auto 13px;display:grid;place-items:center;background:#eaf4f8;color:#174e6d;font-size:20px}
body.page-reimbursement-form .rr-confirm-body h3{margin:0 0 7px;color:#153f59;font-size:18px}
body.page-reimbursement-form .rr-confirm-body p{margin:0;color:#687c88;font-size:12px;line-height:1.55}
body.page-reimbursement-form .rr-confirm-actions{display:flex;justify-content:center;gap:9px;padding:0 24px 22px}
body.page-reimbursement-form .rr-confirm-actions .btn{min-width:112px;justify-content:center}
body.page-reimbursement-form .reimbursement-existing-files{margin:8px 0 2px}
.rr-list-card{padding:14px 16px}
.rr-table-wrap{overflow-x:auto}
.rr-table{width:100%;table-layout:fixed;min-width:980px}
.rr-table th:nth-child(1){width:15%}.rr-table th:nth-child(2){width:9%}.rr-table th:nth-child(3){width:14%}.rr-table th:nth-child(4){width:20%}.rr-table th:nth-child(5){width:10%}.rr-table th:nth-child(6){width:11%}.rr-table th:nth-child(7){width:11%}.rr-table th:nth-child(8){width:10%}
.rr-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rr-table .rr-description-cell{max-width:0}
.rr-table .rr-amount-cell{white-space:nowrap}
.rr-table .rr-actions{justify-content:flex-start}
@media(min-width:1180px){.rr-table{min-width:0}}


/* Reembolsos V14.6: botones, vista previa de adjuntos y acciones por icono */
body.page-reimbursement-form .reimbursement-actions .btn{gap:7px;}
body.page-reimbursement-form .reimbursement-actions .btn i{margin:0;flex:0 0 auto;}
body.page-reimbursement-form .reimbursement-actions .lanr-save-btn{padding-left:15px;padding-right:15px;}
body.page-reimbursement-form .reimbursement-file-names .reimbursement-file-chip{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 9px;border:1px solid #d6e2e9;border-radius:7px;background:#f8fbfd;color:#315d76;font-size:10.5px;text-decoration:none;}
body.page-reimbursement-form .reimbursement-file-names .reimbursement-file-chip:hover{background:#eef6fa;border-color:#abc5d4;}
body.page-reimbursement-form .reimbursement-file-names .reimbursement-file-chip span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px;}
body.page-reimbursement-form .reimbursement-file-names .reimbursement-selected-chip{padding:0;gap:0;overflow:hidden;}
body.page-reimbursement-form .rr-preview-selected{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:6px 8px;border:0;background:transparent;color:#315d76;font:inherit;cursor:pointer;}
body.page-reimbursement-form .rr-preview-selected span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px;}
body.page-reimbursement-form .rr-file-open-icon{font-size:9px;opacity:.72;}
body.page-reimbursement-form .rr-remove-selected{display:grid;place-items:center;align-self:stretch;min-width:29px;border:0;border-left:1px solid #d6e2e9;background:#fff;color:#6f7e87;cursor:pointer;}
body.page-reimbursement-form .rr-remove-selected:hover{background:#fff1f1;color:#a33;}
.rr-table .rr-actions{align-items:center;gap:7px;}
.rr-table .rr-icon-action{width:32px;height:30px;min-width:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;}
.rr-table .rr-icon-action i{margin:0;font-size:13px;}

/* Reembolsos: tabla alineada al patrón visual de Trámites */
.rr-list-card{padding:12px 16px 14px;overflow:hidden}
.rr-table-wrap{width:100%;overflow-x:auto}
.rr-table{width:100%;min-width:1040px;table-layout:auto;border-collapse:collapse}
.rr-table th,.rr-table td{vertical-align:middle;white-space:nowrap}
.rr-table th:nth-child(1),.rr-table td:nth-child(1){min-width:160px}
.rr-table th:nth-child(2),.rr-table td:nth-child(2){min-width:100px}
.rr-table th:nth-child(3),.rr-table td:nth-child(3){min-width:150px}
.rr-table th:nth-child(4),.rr-table td:nth-child(4){min-width:220px;max-width:300px}
.rr-table th:nth-child(5),.rr-table td:nth-child(5){min-width:105px}
.rr-table th:nth-child(6),.rr-table td:nth-child(6){min-width:115px}
.rr-table th:nth-child(7),.rr-table td:nth-child(7){min-width:190px;overflow:visible;text-overflow:clip}
.rr-table th:nth-child(8),.rr-table td:nth-child(8){min-width:86px;text-align:center;overflow:visible}
.rr-table .rr-description-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rr-table .rr-status{max-width:none;white-space:nowrap}
.rr-table .rr-actions{justify-content:center;align-items:center;gap:7px}


/* =========================================================
   REEMBOLSOS - tabla unificada con el diseño de Trámites
   ========================================================= */
body.page-reimbursements .rr-list-card{
  padding:14px 16px 12px;
  overflow:hidden;
}
body.page-reimbursements .rr-list-card .tramite-list-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom:8px;
}
body.page-reimbursements .rr-list-card .tramite-list-head h3{
  margin:0;
  color:#173a53;
  font-size:17px;
}
body.page-reimbursements .rr-list-card .tramite-list-head p{
  margin:4px 0 0;
  color:#6f8290;
  font-size:10.5px;
}
body.page-reimbursements .rr-table-wrap{
  width:100%;
  overflow-x:auto;
}
body.page-reimbursements .rr-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
  border-collapse:collapse;
}
body.page-reimbursements .rr-table th{
  background:#fafcfd;
  color:#74838e;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  white-space:nowrap;
}
body.page-reimbursements .rr-table th,
body.page-reimbursements .rr-table td{
  padding:10px 8px;
  border-bottom:1px solid #edf1f3;
  vertical-align:middle;
}
body.page-reimbursements .rr-table th:nth-child(1){width:15% !important}
body.page-reimbursements .rr-table th:nth-child(2){width:9% !important}
body.page-reimbursements .rr-table th:nth-child(3){width:14% !important}
body.page-reimbursements .rr-table th:nth-child(4){width:25% !important}
body.page-reimbursements .rr-table th:nth-child(5){width:10% !important}
body.page-reimbursements .rr-table th:nth-child(6){width:10% !important}
body.page-reimbursements .rr-table th:nth-child(7){width:11% !important}
body.page-reimbursements .rr-table th:nth-child(8){width:6% !important;text-align:center}
body.page-reimbursements .rr-table td{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.page-reimbursements .rr-table td:nth-child(7),
body.page-reimbursements .rr-table td:nth-child(8){
  overflow:visible;
  text-overflow:clip;
}
body.page-reimbursements .rr-table td:nth-child(8){text-align:center}
body.page-reimbursements .rr-table .rr-description-cell{
  max-width:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.page-reimbursements .rr-table .rr-status{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.page-reimbursements .rr-table .rr-actions{
  justify-content:center;
  align-items:center;
  gap:7px;
}
body.page-reimbursements .rr-table .rr-icon-action{
  width:32px;
  height:30px;
  min-width:32px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
}
@media(max-width:1050px){
  body.page-reimbursements .rr-table{min-width:900px !important}
}

/* =========================================================
   REEMBOLSOS V14.9 - listado limpio, adaptable y por rol
   ========================================================= */
body.page-reimbursements .rr-flow{display:none!important;}
body.page-reimbursements .rr-list-card{padding:14px 16px 12px;overflow:hidden;}
body.page-reimbursements .rr-list-head{gap:16px;align-items:flex-end;}
body.page-reimbursements .rr-table-wrap{width:100%;overflow-x:hidden;}
body.page-reimbursements .rr-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse;}
body.page-reimbursements .rr-table .rr-col-code{width:162px;}
body.page-reimbursements .rr-table .rr-col-date{width:98px;}
body.page-reimbursements .rr-table .rr-col-requester{width:150px;}
body.page-reimbursements .rr-table .rr-col-description{width:auto;}
body.page-reimbursements .rr-table .rr-col-amount{width:108px;}
body.page-reimbursements .rr-table .rr-col-method{width:108px;}
body.page-reimbursements .rr-table .rr-col-status{width:190px;}
body.page-reimbursements .rr-table .rr-col-actions{width:78px;}
body.page-reimbursements .rr-table th,
body.page-reimbursements .rr-table td{padding:11px 8px!important;vertical-align:middle;border-bottom:1px solid #e8eef2;min-width:0!important;}
body.page-reimbursements .rr-table th{background:#fafcfd;color:#71818c;font-size:10px;font-weight:700;text-transform:uppercase;white-space:nowrap;}
body.page-reimbursements .rr-table td{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.page-reimbursements .rr-table th:last-child,
body.page-reimbursements .rr-table td:last-child{text-align:center;overflow:visible;}
body.page-reimbursements .rr-table .rr-description-cell,
body.page-reimbursements .rr-table .rr-requester-cell,
body.page-reimbursements .rr-table .rr-method-cell{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body.page-reimbursements .rr-table .rr-status-cell{overflow:visible!important;text-overflow:clip!important;}
body.page-reimbursements .rr-table .rr-status{display:inline-flex;align-items:center;max-width:100%;padding:6px 10px;border-radius:999px;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:10.5px;line-height:1.1;}
body.page-reimbursements .rr-table .rr-actions{display:flex;justify-content:center;align-items:center;gap:6px;}
body.page-reimbursements .rr-table .rr-icon-action{width:32px;height:30px;min-width:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;}
body.page-reimbursements .rr-view-filters{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
body.page-reimbursements .rr-filter{border:1px solid #d5e1e8;background:#fff;color:#426277;border-radius:8px;padding:7px 11px;font-size:10.5px;font-weight:700;cursor:pointer;}
body.page-reimbursements .rr-filter:hover{background:#f4f8fa;}
body.page-reimbursements .rr-filter.active{background:#153f59;border-color:#153f59;color:#fff;}
body.page-reimbursements .rr-row[hidden]{display:none!important;}
body.page-reimbursements .rr-filter-empty td{text-align:center;padding:20px!important;color:#738591;}
@media(max-width:1180px){
  body.page-reimbursements .rr-table-wrap{overflow-x:auto;}
  body.page-reimbursements .rr-table{min-width:1010px!important;}
  body.page-reimbursements .rr-table-owner{min-width:850px!important;}
}
@media(max-width:760px){
  body.page-reimbursements .rr-list-head{align-items:flex-start;flex-direction:column;}
  body.page-reimbursements .rr-view-filters{justify-content:flex-start;}
}

/* =========================================================
   Reembolsos - tabla alineada visualmente con Listado de trámites
   ========================================================= */
body.page-reimbursements .rr-table-wrap{overflow-x:auto}
body.page-reimbursements .rr-table{
  width:100% !important;
  min-width:980px;
  table-layout:fixed !important;
}
body.page-reimbursements .rr-table th,
body.page-reimbursements .rr-table td{vertical-align:middle}
body.page-reimbursements button.tramite-sort{
  appearance:none !important;-webkit-appearance:none !important;border:0 !important;outline:0 !important;
  background:none !important;box-shadow:none !important;border-radius:0 !important;padding:0 !important;margin:0 !important;
  min-width:0 !important;min-height:0 !important;width:auto !important;height:auto !important;color:#71818c !important;
  font:inherit !important;font-size:10px !important;font-weight:700 !important;line-height:1.2 !important;text-transform:uppercase;
  display:inline-flex !important;align-items:center;gap:5px;cursor:pointer;
}
body.page-reimbursements button.tramite-sort:hover,
body.page-reimbursements button.tramite-sort.active{color:#123f5b !important;background:none !important}
body.page-reimbursements button.tramite-sort i{font-size:8px;color:#b2c0c8}
body.page-reimbursements button.tramite-sort.active i{color:#123f5b}
body.page-reimbursements .rr-description-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-reimbursements .rr-status-cell{overflow:visible;white-space:nowrap}
body.page-reimbursements .rr-status{display:inline-flex;max-width:none;white-space:nowrap}
body.page-reimbursements .rr-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:nowrap}
body.page-reimbursements .rr-icon-action{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}
body.page-reimbursements .rr-table th:last-child,body.page-reimbursements .rr-table td:last-child{text-align:center;overflow:visible}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-code{width:15%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-date{width:9%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-requester{width:13%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-description{width:20%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-amount{width:10%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-method{width:10%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-status{width:16%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-actions{width:7%}
body.page-reimbursements .rr-table-owner .rr-col-code{width:18%}
body.page-reimbursements .rr-table-owner .rr-col-date{width:11%}
body.page-reimbursements .rr-table-owner .rr-col-description{width:25%}
body.page-reimbursements .rr-table-owner .rr-col-amount{width:11%}
body.page-reimbursements .rr-table-owner .rr-col-method{width:11%}
body.page-reimbursements .rr-table-owner .rr-col-status{width:17%}
body.page-reimbursements .rr-table-owner .rr-col-actions{width:7%}

/* =========================================================
   REEMBOLSOS — misma presentación de tabla/paginación que TRÁMITES
   2026-09-23
   ========================================================= */
body.page-reimbursements .rr-list-card{padding:14px 16px 12px;overflow:hidden}
body.page-reimbursements .rr-table-wrap{width:100%;overflow-x:auto}
body.page-reimbursements .rr-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse}
body.page-reimbursements .rr-table th,body.page-reimbursements .rr-table td{padding:11px 8px!important;vertical-align:middle;min-width:0!important}
body.page-reimbursements .rr-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.page-reimbursements .rr-table td:last-child{overflow:visible}
/* Administración / Tesorería / Sistemas: 8 columnas */
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-code{width:15%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-date{width:9%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-requester{width:13%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-description{width:20%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-amount{width:10%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-method{width:9%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-status{width:17%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-actions{width:7%}
/* Solicitante: 7 columnas */
body.page-reimbursements .rr-table-owner .rr-col-code{width:18%}
body.page-reimbursements .rr-table-owner .rr-col-date{width:11%}
body.page-reimbursements .rr-table-owner .rr-col-description{width:27%}
body.page-reimbursements .rr-table-owner .rr-col-amount{width:11%}
body.page-reimbursements .rr-table-owner .rr-col-method{width:10%}
body.page-reimbursements .rr-table-owner .rr-col-status{width:16%}
body.page-reimbursements .rr-table-owner .rr-col-actions{width:7%}
body.page-reimbursements .rr-status-cell{overflow:hidden!important;text-overflow:clip!important}
body.page-reimbursements .rr-status{max-width:100%;font-size:10px;padding:5px 8px}
/* Copia funcional del footer de Listado de trámites */
body.page-reimbursements .tramite-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 8px 2px;border-top:1px solid #e7eef2;margin-top:4px}
body.page-reimbursements .tramite-pagination[hidden]{display:none}
body.page-reimbursements .tramite-pagination-info{font-size:11px;color:#667d89}
body.page-reimbursements .tramite-pagination-controls{display:flex;align-items:center;gap:7px}
body.page-reimbursements .tramite-page-numbers{display:flex;align-items:center;gap:5px}
body.page-reimbursements .tramite-page-btn{min-width:31px;height:31px;padding:0 8px;border:1px solid #d6e1e7;border-radius:7px;background:#fff;color:#173f58;font-size:11px;font-weight:700;cursor:pointer}
body.page-reimbursements .tramite-page-btn.active{background:#123f5b;border-color:#123f5b;color:#fff}
body.page-reimbursements .tramite-pagination .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:900px){body.page-reimbursements .rr-table{min-width:900px!important}}
@media(max-width:700px){body.page-reimbursements .tramite-pagination{align-items:flex-start;flex-direction:column}body.page-reimbursements .tramite-pagination-controls{width:100%;justify-content:space-between}}

/* ===== REEMBOLSOS · DETALLE UNIFICADO CON TRÁMITES ===== */
body.page-reimbursement-detail .rr-detail-page{max-width:none}
body.page-reimbursement-detail .rr-breadcrumb{margin-bottom:8px}
body.page-reimbursement-detail .rr-pagehead{align-items:center;margin-bottom:16px}
body.page-reimbursement-detail .rr-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.page-reimbursement-detail .rr-title-row h1{margin:0}
body.page-reimbursement-detail .rr-pagehead .rr-status{font-size:11px;padding:6px 10px}
body.page-reimbursement-detail .rr-back-btn{white-space:nowrap}
body.page-reimbursement-detail .rr-meta-main{font-weight:700;color:#476779}
body.page-reimbursement-detail .rr-alert{margin:0 0 14px;padding:12px 15px;border-radius:10px}
body.page-reimbursement-detail .rr-alert strong{display:flex;align-items:center;gap:7px}
body.page-reimbursement-detail .rr-action-banner{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 17px;margin-bottom:14px;border-left:4px solid #1b5879}
body.page-reimbursement-detail .rr-action-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#eaf3f8;color:#174e6d;font-size:17px}
body.page-reimbursement-detail .rr-action-copy h2{margin:2px 0 3px;font-size:15px;color:#173f58}
body.page-reimbursement-detail .rr-action-copy p{margin:0;color:#6b7e8a;font-size:11px;line-height:1.45}
body.page-reimbursement-detail .rr-action-buttons{display:flex;gap:8px;align-items:center}
body.page-reimbursement-detail .rr-action-buttons .btn{white-space:nowrap}
body.page-reimbursement-detail .rr-detail-grid{grid-template-columns:minmax(0,2.15fr) minmax(300px,.95fr);gap:16px;margin-bottom:16px;align-items:start}
body.page-reimbursement-detail .rr-detail-grid-single{grid-template-columns:1fr}
body.page-reimbursement-detail .rr-detail-card,body.page-reimbursement-detail .rr-side,body.page-reimbursement-detail .rr-history{padding:16px}
body.page-reimbursement-detail .rr-card-heading{display:flex;align-items:center;gap:10px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #e6edf1}
body.page-reimbursement-detail .rr-card-heading.compact{margin-bottom:13px}
body.page-reimbursement-detail .rr-heading-icon{width:34px;height:34px;min-width:34px;border-radius:8px;display:grid;place-items:center;background:#edf5f8;color:#1b5879}
body.page-reimbursement-detail .rr-card-heading h2{font-size:15px;margin:0 0 2px;color:#173f58}
body.page-reimbursement-detail .rr-card-heading p{font-size:10.5px;color:#71838e;margin:0}
body.page-reimbursement-detail .rr-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;border:1px solid #e2e9ed;border-radius:9px;overflow:hidden}
body.page-reimbursement-detail .rr-data-grid>div{padding:11px 13px;gap:3px!important;border-bottom:1px solid #e8eef1;min-width:0}
body.page-reimbursement-detail .rr-data-grid>div:nth-child(odd):not(.wide){border-right:1px solid #e8eef1}
body.page-reimbursement-detail .rr-data-grid>div:last-child{border-bottom:0}
body.page-reimbursement-detail .rr-data-grid .wide{grid-column:1/-1;border-right:0}
body.page-reimbursement-detail .rr-data-grid dt{font-size:9.5px;color:#758793}
body.page-reimbursement-detail .rr-data-grid dd{font-size:12px;color:#263f4e;line-height:1.45;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-data-grid .rr-concept dd{font-weight:700;color:#173f58}
body.page-reimbursement-detail .rr-data-grid .rr-amount{font-size:18px!important}
body.page-reimbursement-detail .rr-documents-section{margin-top:16px}
body.page-reimbursement-detail .rr-section-title{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:#173f58}
body.page-reimbursement-detail .rr-section-title>i{font-size:13px}
body.page-reimbursement-detail .rr-section-title h3{font-size:12px;margin:0}
body.page-reimbursement-detail .rr-section-title p{font-size:9.5px;margin:1px 0 0;color:#81909a}
body.page-reimbursement-detail .rr-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.page-reimbursement-detail .rr-file-card{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;gap:8px;align-items:center;padding:9px 10px;border:1px solid #dce6eb;border-radius:8px;background:#fff;color:#26485d;text-decoration:none;min-width:0}
body.page-reimbursement-detail .rr-file-card:hover{background:#f7fafb;border-color:#bfd1db}
body.page-reimbursement-detail .rr-file-icon{width:32px;height:32px;border-radius:7px;display:grid;place-items:center;background:#eef5f8;color:#1b5879}
body.page-reimbursement-detail .rr-file-copy{display:flex;flex-direction:column;min-width:0}
body.page-reimbursement-detail .rr-file-copy strong{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-reimbursement-detail .rr-file-copy small{font-size:9px;color:#7a8b95}
body.page-reimbursement-detail .rr-file-open{font-size:10px;color:#8a9aa4}
body.page-reimbursement-detail .rr-empty-docs{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:12px;border:1px dashed #d6e1e6;border-radius:8px;color:#80909a;font-size:11px;background:#fafcfd}
body.page-reimbursement-detail .rr-management-card{position:sticky;top:84px}
body.page-reimbursement-detail .rr-review{gap:9px}
body.page-reimbursement-detail .rr-review label{font-size:10.5px}
body.page-reimbursement-detail .rr-review textarea,body.page-reimbursement-detail .rr-review select{width:100%;border:1px solid #cfdae1;border-radius:8px;background:#fff;padding:10px 11px;font:inherit;color:#304b5d}
body.page-reimbursement-detail .rr-review textarea{min-height:92px;resize:vertical}
body.page-reimbursement-detail .rr-review-divider{display:flex;align-items:center;gap:8px;color:#8a99a2;font-size:9.5px;margin:2px 0}
body.page-reimbursement-detail .rr-review-divider:before,body.page-reimbursement-detail .rr-review-divider:after{content:"";height:1px;background:#e2e9ed;flex:1}
body.page-reimbursement-detail .rr-two .btn{justify-content:center}
body.page-reimbursement-detail .rr-upload-control{display:flex!important;align-items:center;gap:10px;padding:11px!important;border:1px dashed #bfcfd8;border-radius:8px;background:#f8fbfc;cursor:pointer}
body.page-reimbursement-detail .rr-upload-control>i{font-size:18px;color:#28627f}
body.page-reimbursement-detail .rr-upload-control span{display:flex;flex-direction:column;gap:1px}
body.page-reimbursement-detail .rr-upload-control strong{font-size:10.5px;color:#2b4c60}
body.page-reimbursement-detail .rr-upload-control small{font-size:9px;color:#82919a}
body.page-reimbursement-detail .rr-upload-control input{max-width:100%;font-size:9px;margin-top:4px}
body.page-reimbursement-detail .rr-history{margin-top:0}
body.page-reimbursement-detail .rr-history .rr-card-heading{margin-bottom:10px}
body.page-reimbursement-detail .rr-timeline{padding:2px 4px 0}
body.page-reimbursement-detail .rr-timeline>div{grid-template-columns:18px 1fr;gap:9px;padding-bottom:14px}
body.page-reimbursement-detail .rr-timeline>div:not(:last-child):before{left:5px;top:12px;background:#dbe5ea}
body.page-reimbursement-detail .rr-dot{width:11px;height:11px;margin-top:3px;background:#245d7e}
body.page-reimbursement-detail .rr-timeline section strong{font-size:11.5px;color:#2a4353}
body.page-reimbursement-detail .rr-timeline small{font-size:9.5px}
body.page-reimbursement-detail .rr-timeline p{font-size:10.5px;margin-top:3px}
body.page-reimbursement-detail .rr-empty-history{display:flex!important;align-items:center;gap:8px;color:#80909a;font-size:11px;padding:5px 0!important}
body.page-reimbursement-detail .rr-confirm-overlay{position:fixed;inset:0;background:rgba(10,31,45,.48);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999}
body.page-reimbursement-detail .rr-confirm-overlay.hidden{display:none}
body.page-reimbursement-detail .rr-confirm-box{width:min(430px,100%);background:#fff;border-radius:14px;box-shadow:0 18px 55px rgba(15,45,65,.24);padding:24px;text-align:center}
body.page-reimbursement-detail .rr-confirm-icon{width:50px;height:50px;border-radius:50%;margin:0 auto 13px;display:grid;place-items:center;background:#eaf4f8;color:#174e6d;font-size:19px}
body.page-reimbursement-detail .rr-confirm-icon.danger{background:#fdeaea;color:#a93636}
body.page-reimbursement-detail .rr-confirm-box h3{margin:0 0 7px;color:#153f59;font-size:17px}
body.page-reimbursement-detail .rr-confirm-box p{margin:0;color:#687c88;font-size:11px;line-height:1.55}
body.page-reimbursement-detail .rr-confirm-actions{display:flex;justify-content:center;gap:9px;margin-top:19px}
body.page-reimbursement-detail .rr-confirm-actions .btn{min-width:112px;justify-content:center}
@media(max-width:900px){body.page-reimbursement-detail .rr-detail-grid{grid-template-columns:1fr}body.page-reimbursement-detail .rr-management-card{position:static}body.page-reimbursement-detail .rr-action-banner{grid-template-columns:42px 1fr}body.page-reimbursement-detail .rr-action-buttons{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:650px){body.page-reimbursement-detail .rr-pagehead{align-items:flex-start}body.page-reimbursement-detail .rr-back-btn{display:none}body.page-reimbursement-detail .rr-data-grid{grid-template-columns:1fr}body.page-reimbursement-detail .rr-data-grid .wide{grid-column:auto}body.page-reimbursement-detail .rr-data-grid>div{border-right:0!important}body.page-reimbursement-detail .rr-files{grid-template-columns:1fr}body.page-reimbursement-detail .rr-action-banner{grid-template-columns:1fr}body.page-reimbursement-detail .rr-action-icon{display:none}body.page-reimbursement-detail .rr-action-buttons{grid-column:auto;flex-direction:column}body.page-reimbursement-detail .rr-action-buttons .btn{width:100%;justify-content:center}}

/* ===== REEMBOLSOS · AJUSTE VISUAL V14.1: MISMA ESCALA QUE TRÁMITES ===== */
body.page-reimbursement-detail .rr-detail-page{font-size:11px}
body.page-reimbursement-detail .rr-pagehead{margin-bottom:12px}
body.page-reimbursement-detail .rr-breadcrumb{font-size:9.5px;margin-bottom:7px}
body.page-reimbursement-detail .rr-title-row{gap:9px}
body.page-reimbursement-detail .rr-title-row h1{font-size:24px;line-height:1.1}
body.page-reimbursement-detail .request-detail-meta{font-size:10px;margin-top:5px}
body.page-reimbursement-detail .rr-pagehead .rr-status{font-size:10px;padding:5px 9px}
body.page-reimbursement-detail .rr-action-banner{padding:12px 14px;margin-bottom:12px;grid-template-columns:38px minmax(0,1fr) auto;gap:11px}
body.page-reimbursement-detail .rr-action-icon{width:34px;height:34px;font-size:14px}
body.page-reimbursement-detail .rr-action-copy h2{font-size:13px}
body.page-reimbursement-detail .rr-action-copy p{font-size:10px}
body.page-reimbursement-detail .rr-detail-grid{gap:14px;margin-bottom:14px}
body.page-reimbursement-detail .rr-main-column{display:grid;gap:14px;min-width:0}
body.page-reimbursement-detail .rr-summary-card,body.page-reimbursement-detail .rr-detail-card,body.page-reimbursement-detail .rr-side,body.page-reimbursement-detail .rr-history{padding:14px 16px}
body.page-reimbursement-detail .rr-simple-heading{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #e6edf1}
body.page-reimbursement-detail .rr-simple-heading h3{margin:0;color:#123f5b;font-size:16px;line-height:1.25}
body.page-reimbursement-detail .rr-simple-heading p{margin:3px 0 0;color:#6f8390;font-size:9.5px;line-height:1.35}
body.page-reimbursement-detail .rr-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
body.page-reimbursement-detail .rr-summary-grid>div{padding:6px 12px;border-right:1px solid #dfe8ed;min-width:0}
body.page-reimbursement-detail .rr-summary-grid>div:first-child{padding-left:0}
body.page-reimbursement-detail .rr-summary-grid>div:last-child{border-right:0}
body.page-reimbursement-detail .rr-summary-grid span{display:block;color:#718693;font-size:9px;margin-bottom:4px}
body.page-reimbursement-detail .rr-summary-grid strong{display:block;color:#153e58;font-size:11.5px;line-height:1.3;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-summary-grid .rr-summary-state{color:#a86700}
body.page-reimbursement-detail .rr-data-grid-clean{border:0;border-radius:0}
body.page-reimbursement-detail .rr-data-grid-clean>div{padding:8px 10px;border-bottom:1px solid #e8eef1}
body.page-reimbursement-detail .rr-data-grid-clean>div:nth-child(odd):not(.wide){border-right:1px solid #e8eef1}
body.page-reimbursement-detail .rr-data-grid-clean dt{font-size:9px}
body.page-reimbursement-detail .rr-data-grid-clean dd{font-size:11px}
body.page-reimbursement-detail .rr-data-grid-clean .rr-concept dd{font-size:11.5px}
body.page-reimbursement-detail .rr-documents-section{margin-top:12px}
body.page-reimbursement-detail .rr-section-title{margin-bottom:7px}
body.page-reimbursement-detail .rr-section-title h3{font-size:11px}
body.page-reimbursement-detail .rr-section-title p{font-size:9px}
body.page-reimbursement-detail .rr-empty-docs{padding:9px 10px;font-size:10px}
body.page-reimbursement-detail .rr-review label{font-size:10px}
body.page-reimbursement-detail .rr-review textarea{min-height:80px;font-size:10.5px}
body.page-reimbursement-detail .rr-history{margin-top:0}
body.page-reimbursement-detail .rr-history .rr-simple-heading{margin-bottom:12px}
body.page-reimbursement-detail .rr-timeline{padding:0 2px 0 5px;max-width:760px}
body.page-reimbursement-detail .rr-timeline>div.rr-timeline-item{display:grid;grid-template-columns:16px minmax(0,1fr);gap:9px;position:relative;padding:0 0 13px}
body.page-reimbursement-detail .rr-timeline>div.rr-timeline-item:last-child{padding-bottom:2px}
body.page-reimbursement-detail .rr-timeline>div.rr-timeline-item:not(:last-child):before{content:"";position:absolute;left:4.5px;top:10px;bottom:-1px;width:1px;background:#d7e3e9}
body.page-reimbursement-detail .rr-dot{width:9px;height:9px;border-radius:50%;margin-top:3px;background:#27617f;box-shadow:0 0 0 3px #fff;z-index:1}
body.page-reimbursement-detail .rr-timeline section{min-width:0}
body.page-reimbursement-detail .rr-timeline section strong{display:block;font-size:10.5px;line-height:1.3;color:#263f4e;margin-bottom:2px}
body.page-reimbursement-detail .rr-timeline small{display:block;font-size:9px;line-height:1.3;color:#7b8c96}
body.page-reimbursement-detail .rr-timeline p{font-size:10px;line-height:1.35;margin:3px 0 0;color:#526a79}
@media(max-width:1050px){body.page-reimbursement-detail .rr-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.page-reimbursement-detail .rr-summary-grid>div{border-right:0;border-bottom:1px solid #e7edf1;padding:8px 10px}body.page-reimbursement-detail .rr-summary-grid>div:first-child{padding-left:10px}}
@media(max-width:650px){body.page-reimbursement-detail .rr-title-row h1{font-size:20px}body.page-reimbursement-detail .rr-summary-grid{grid-template-columns:1fr 1fr}}

/* V14 2026-09-24: unificación visual de Reembolsos con Trámites */
body.page-reimbursements .rr-status{font-size:10px!important;padding:5px 9px!important;font-weight:700!important;line-height:1.15!important;}
body.page-reimbursements .rr-borrador{background:#fde7e7!important;color:#c62828!important;}
body.page-reimbursements .rr-pendiente-de-administracion,body.page-reimbursements .rr-pendiente-de-tesoreria,body.page-reimbursements .rr-observado{background:#e7f1f8!important;color:#15577f!important;}
body.page-reimbursements .rr-finalizado,body.page-reimbursements .rr-atendido{background:#e7f1f8!important;color:#15577f!important;}
body.page-reimbursements .rr-rechazado{background:#fde7e7!important;color:#a72e2e!important;}
.rr-delete-form{display:inline-flex;margin:0}.rr-delete-action{color:#b52f2f!important}.rr-delete-action:hover{background:#fff0f0!important;border-color:#e7b3b3!important}
.type-pill.ord{background:#eef1f8;color:#3e5279}

/* Estados de reembolso: misma escala visual que Trámites en lista y detalle */
.rr-status{font-size:10px!important;padding:5px 9px!important;font-weight:700!important;line-height:1.15!important;}
.rr-status.rr-borrador{background:#fde7e7!important;color:#c62828!important;}
.rr-status.rr-pendiente-de-administracion,.rr-status.rr-pendiente-de-tesoreria,.rr-status.rr-observado,.rr-status.rr-finalizado,.rr-status.rr-atendido{background:#e7f1f8!important;color:#15577f!important;}
.rr-status.rr-rechazado{background:#fde7e7!important;color:#a72e2e!important;}

/* ===== V15.1 · Reembolsos: filtros, tabla y confirmación ===== */
body.page-reimbursements .rr-data-filters{display:flex;align-items:end;gap:10px;padding:10px 0 12px;border-top:1px solid #edf2f5;margin-top:10px}
body.page-reimbursements .rr-data-filters .field{margin:0;width:190px}
body.page-reimbursements .rr-data-filters label{font-size:10px;margin-bottom:5px}
body.page-reimbursements .rr-data-filters select{height:36px;font-size:11px;padding:0 34px 0 10px}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-code{width:15%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-date{width:9%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-requester{width:13%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-description{width:19%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-amount{width:9%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-method{width:9%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-status{width:17%}
body.page-reimbursements .rr-table:not(.rr-table-owner) .rr-col-actions{width:9%}
body.page-reimbursements .rr-table-owner .rr-col-code{width:17%}
body.page-reimbursements .rr-table-owner .rr-col-date{width:11%}
body.page-reimbursements .rr-table-owner .rr-col-description{width:25%}
body.page-reimbursements .rr-table-owner .rr-col-amount{width:10%}
body.page-reimbursements .rr-table-owner .rr-col-method{width:10%}
body.page-reimbursements .rr-table-owner .rr-col-status{width:18%}
body.page-reimbursements .rr-table-owner .rr-col-actions{width:9%}
body.page-reimbursements .rr-status-cell{white-space:normal!important;overflow:visible!important}
body.page-reimbursements .rr-status{max-width:100%!important;white-space:normal!important;text-align:center;justify-content:center;line-height:1.25!important;padding:5px 8px!important;font-size:9.5px!important}
body.page-reimbursements .rr-confirm-overlay{position:fixed;inset:0;background:rgba(10,31,45,.48);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999}
body.page-reimbursements .rr-confirm-overlay.hidden{display:none}
body.page-reimbursements .rr-confirm-box{width:min(430px,100%);background:#fff;border-radius:14px;box-shadow:0 18px 55px rgba(15,45,65,.24);overflow:hidden}
body.page-reimbursements .rr-confirm-body{text-align:center;padding:24px 28px 12px}
body.page-reimbursements .rr-confirm-icon{width:50px;height:50px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#edf6f9;color:#176080;font-size:20px}
body.page-reimbursements .rr-confirm-body h3{margin:0 0 8px;color:#153f59;font-size:18px}
body.page-reimbursements .rr-confirm-body p{margin:0;color:#6b7e8a;font-size:11px;line-height:1.55}
body.page-reimbursements .rr-confirm-actions{display:flex;justify-content:center;gap:9px;padding:12px 24px 22px}
body.page-reimbursements .rr-confirm-actions form{margin:0}
body.page-reimbursements .rr-danger-btn{color:#b43737!important;border-color:#e3a9a9!important;background:#fff!important}
body.page-reimbursements .rr-danger-btn:hover{background:#fff4f4!important}
@media(max-width:700px){body.page-reimbursements .rr-data-filters{flex-wrap:wrap}body.page-reimbursements .rr-data-filters .field{width:100%}}

/* Trámites: buscador visualmente más compacto, sin cambiar su lógica */
body.page-requests .tramite-search-card{padding:13px 16px}
body.page-requests .tramite-search-grid-v2{grid-template-columns:205px minmax(360px,760px);justify-content:start;gap:12px}
body.page-requests .request-search-row{gap:7px}
body.page-requests .request-search-row .btn{padding-left:13px;padding-right:13px}
@media(max-width:900px){body.page-requests .tramite-search-grid-v2{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:620px){body.page-requests .tramite-search-grid-v2{grid-template-columns:1fr}}

/* V15.2 - Trámites: reducir ALTURA del bloque de filtros, no su ancho horizontal */
body.page-requests .tramite-search-card{padding:8px 16px!important}
body.page-requests .tramite-search-grid-v2{align-items:end!important}
body.page-requests .tramite-search-grid-v2 .field{gap:3px!important;margin:0!important}
body.page-requests .tramite-search-grid-v2 .field label{margin-bottom:2px!important;line-height:1.15!important}
body.page-requests .tramite-search-card select,body.page-requests .tramite-search-card input{height:40px!important;min-height:40px!important}
body.page-requests .request-search-row .btn{height:40px!important;min-height:40px!important;padding-top:0!important;padding-bottom:0!important}
body.page-requests #searchHelp:empty{display:none!important}
/* Reembolsos: filtros compactos y alineados */
body.page-reimbursements .rr-data-filters{padding-top:10px!important;padding-bottom:10px!important;gap:10px!important}
body.page-reimbursements .rr-data-filters .field{margin:0!important;gap:3px!important}
body.page-reimbursements .rr-data-filters select{height:36px!important;min-height:36px!important}


/* LANR V15.3 - responsive search + reimbursement filter/table refinements */
body.page-requests .tramite-search-grid-v2{
  grid-template-columns:205px minmax(0,1fr)!important;
  width:100%!important;
  justify-content:stretch!important;
}
body.page-requests .tramite-search-grid-v2 .search-main-field,
body.page-requests .request-search-row,
body.page-requests .request-search-input-grow{min-width:0!important;width:100%!important;}
body.page-requests .request-search-input-grow{flex:1 1 auto!important;}
body.page-requests .request-search-row .btn{flex:0 0 auto!important;}
@media(max-width:700px){
 body.page-requests .tramite-search-grid-v2{grid-template-columns:1fr!important;}
 body.page-requests .search-main-field{grid-column:1/-1!important;}
}

body.page-reimbursements .rr-data-filters{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
body.page-reimbursements .rr-data-filters .field{margin:0!important;}
body.page-reimbursements .rr-clear-filter-wrap{display:flex;align-items:flex-end;}
body.page-reimbursements .rr-clear-filters{height:36px;min-height:36px;white-space:nowrap;padding:0 13px;}

/* Owner table: keep Monto compact; let Descripcion use the flexible space. */
body.page-reimbursements .rr-table-owner .rr-col-code{width:17%!important;}
body.page-reimbursements .rr-table-owner .rr-col-date{width:10%!important;}
body.page-reimbursements .rr-table-owner .rr-col-description{width:31%!important;}
body.page-reimbursements .rr-table-owner .rr-col-amount{width:8%!important;}
body.page-reimbursements .rr-table-owner .rr-col-method{width:10%!important;}
body.page-reimbursements .rr-table-owner .rr-col-status{width:17%!important;}
body.page-reimbursements .rr-table-owner .rr-col-actions{width:7%!important;}
body.page-reimbursements .rr-table-owner .rr-amount-cell{padding-right:5px!important;}
body.page-reimbursements .rr-table-owner .rr-method-cell{padding-left:5px!important;}
@media(max-width:1050px){
 body.page-reimbursements .rr-table-wrap{overflow-x:auto!important;}
 body.page-reimbursements .rr-table-owner{min-width:850px!important;}
}


/* LANR V15.4 - Trámites: buscador ocupa TODO el ancho disponible */
body.page-requests .tramite-search-card {
  width: 100%;
  box-sizing: border-box;
}
body.page-requests .tramite-search-grid-v2 {
  display: grid !important;
  grid-template-columns: 205px minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  justify-content: stretch !important;
}
body.page-requests .tramite-search-grid-v2 > .field {
  min-width: 0 !important;
  max-width: none !important;
}
body.page-requests .tramite-search-grid-v2 > .search-main-field {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
body.page-requests .request-search-row {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  align-items: stretch !important;
}
body.page-requests .request-search-input-grow {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}
body.page-requests .request-search-input-grow input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
body.page-requests .request-search-row > .btn {
  flex: 0 0 auto !important;
}
@media (max-width: 700px) {
  body.page-requests .tramite-search-grid-v2 {
    grid-template-columns: 1fr !important;
  }
  body.page-requests .search-main-field {
    grid-column: 1 / -1 !important;
  }
}

/* V15.5 - Reembolsos: distribución correcta cuando el usuario ve sus propios reembolsos.
   La tabla sin SOLICITANTE tiene 7 columnas; las reglas nth-child de la tabla de gestión
   (8 columnas) desplazaban DESCRIPCIÓN/MONTO/MEDIO y hacían que MONTO heredara 25%. */
body.page-reimbursements .rr-table-owner col.rr-col-code{width:15% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-date{width:10% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-description{width:27% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-amount{width:11% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-method{width:10% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-status{width:18% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-actions{width:9% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(1){width:15% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(2){width:10% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(3){width:27% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(4){width:11% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(5){width:10% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(6){width:18% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(7){width:9% !important;text-align:center;}
body.page-reimbursements .rr-table-owner td:nth-child(6){overflow:visible;text-overflow:clip;}
body.page-reimbursements .rr-table-owner td:nth-child(7){overflow:visible;text-overflow:clip;text-align:center;}

/* V15.6 - Reembolsos personales: tabla compacta y completa a 100%.
   Mantiene la misma densidad visual de la tabla de Administración y evita
   forzar scroll horizontal en escritorio. */
body.page-reimbursements .rr-table-owner{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}
body.page-reimbursements .rr-table-owner col.rr-col-code{width:15% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-date{width:10% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-description{width:27% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-amount{width:10% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-method{width:10% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-status{width:18% !important;}
body.page-reimbursements .rr-table-owner col.rr-col-actions{width:10% !important;}
body.page-reimbursements .rr-table-owner th,
body.page-reimbursements .rr-table-owner td{
  padding-left:6px !important;
  padding-right:6px !important;
}
body.page-reimbursements .rr-table-owner th:nth-child(1){width:15% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(2){width:10% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(3){width:27% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(4){width:10% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(5){width:10% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(6){width:18% !important;}
body.page-reimbursements .rr-table-owner th:nth-child(7){width:10% !important;text-align:center;}
body.page-reimbursements .rr-table-owner .rr-actions{gap:5px !important;}
body.page-reimbursements .rr-table-owner .rr-icon-action{
  width:30px !important;
  min-width:30px !important;
  height:30px !important;
  min-height:30px !important;
}
/* En escritorio no mostramos una barra horizontal innecesaria. */
@media (min-width:901px){
  body.page-reimbursements .rr-table-wrap{overflow-x:hidden !important;}
}
/* Solo pantallas realmente estrechas conservan desplazamiento horizontal. */
@media (max-width:900px){
  body.page-reimbursements .rr-table-wrap{overflow-x:auto !important;}
  body.page-reimbursements .rr-table-owner{min-width:760px !important;}
}

/* V15.8 - Detalle de reembolso unificado */
body.page-reimbursement-detail .rr-unified-card{padding:14px 16px}
body.page-reimbursement-detail .rr-unified-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #e5edf2;padding:0 0 12px;margin-bottom:4px}
body.page-reimbursement-detail .rr-unified-summary>div{padding:5px 12px;border-right:1px solid #dfe8ed;min-width:0}
body.page-reimbursement-detail .rr-unified-summary>div:first-child{padding-left:0}
body.page-reimbursement-detail .rr-unified-summary>div:last-child{border-right:0}
body.page-reimbursement-detail .rr-unified-summary span:not(.rr-status){display:block;color:#718693;font-size:9px;margin-bottom:4px}
body.page-reimbursement-detail .rr-unified-summary strong{display:block;color:#153e58;font-size:11.5px;line-height:1.3;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-unified-summary .rr-unified-amount{font-size:14px;font-weight:800}
body.page-reimbursement-detail .rr-unified-summary .rr-status{display:inline-flex;font-size:10px;padding:4px 8px}
body.page-reimbursement-detail .rr-unified-data{margin-top:0}
body.page-reimbursement-detail .rr-unified-data>div:first-child{padding-top:10px}
@media(max-width:900px){body.page-reimbursement-detail .rr-unified-summary{grid-template-columns:1fr 1fr}body.page-reimbursement-detail .rr-unified-summary>div{border-right:0;border-bottom:1px solid #e7edf1;padding:8px 10px}body.page-reimbursement-detail .rr-unified-summary>div:first-child{padding-left:10px}}
@media(max-width:520px){body.page-reimbursement-detail .rr-unified-summary{grid-template-columns:1fr}}

/* V15.9 - Detalle de reembolso depurado por rol */
body.page-reimbursement-detail .rr-simple-heading{margin-bottom:12px}
body.page-reimbursement-detail .rr-unified-summary.rr-summary-owner{grid-template-columns:repeat(3,minmax(0,1fr))}
body.page-reimbursement-detail .rr-unified-summary strong{display:flex;align-items:center;gap:6px}
body.page-reimbursement-detail .rr-data-icon{width:13px;color:#245d7e;font-size:10px;flex:0 0 auto}
body.page-reimbursement-detail .rr-unified-data dt{display:flex;align-items:center;gap:6px}
body.page-reimbursement-detail .rr-unified-data dt i{width:12px;color:#245d7e;font-size:9px;text-align:center}
body.page-reimbursement-detail .rr-unified-data>div.wide{padding-left:10px;padding-right:10px}
body.page-reimbursement-detail .rr-documents-section{padding-top:1px}
body.page-reimbursement-detail .rr-management-card .rr-simple-heading{padding-bottom:10px;border-bottom:1px solid #e7edf1;margin-bottom:12px}
body.page-reimbursement-detail .rr-management-card .rr-simple-heading h3{font-size:15px}
body.page-reimbursement-detail .rr-history .rr-simple-heading{padding-bottom:10px;border-bottom:1px solid #e7edf1;margin-bottom:12px}
@media(max-width:900px){body.page-reimbursement-detail .rr-unified-summary.rr-summary-owner{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body.page-reimbursement-detail .rr-unified-summary.rr-summary-owner{grid-template-columns:1fr}body.page-reimbursement-detail .rr-unified-summary strong{align-items:flex-start}}


/* V15.10 - Reembolsos: evidencia obligatoria y detalle compacto */
body.page-reimbursement-detail .rr-unified-summary{grid-template-columns:repeat(3,minmax(0,1fr));}
body.page-reimbursement-detail .rr-unified-summary.rr-summary-owner{grid-template-columns:repeat(2,minmax(0,1fr));}
body.page-reimbursement-detail .rr-method-detail dd{display:flex;flex-direction:column;gap:3px;}
body.page-reimbursement-detail .rr-method-extra{display:block;color:#526d7d;font-size:10.5px;line-height:1.35;}
body.page-reimbursement-detail .rr-documents-section{margin-top:8px;}
@media(max-width:650px){body.page-reimbursement-detail .rr-unified-summary,body.page-reimbursement-detail .rr-unified-summary.rr-summary-owner{grid-template-columns:1fr;}}

/* V15.11 - Detalle del reembolso del solicitante: jerarquía limpia y adaptable */
body.page-reimbursement-detail .rr-owner-overview{
  display:grid;grid-template-columns:1fr 1fr 1.35fr;
  border:1px solid #e1e9ee;border-radius:10px;background:#fbfdfe;
  overflow:hidden;margin:2px 0 12px;
}
body.page-reimbursement-detail .rr-owner-stat{
  min-width:0;padding:12px 14px;border-right:1px solid #e1e9ee;
}
body.page-reimbursement-detail .rr-owner-stat:last-child{border-right:0}
body.page-reimbursement-detail .rr-owner-label{
  display:block;margin-bottom:4px;font-size:9.5px;font-weight:700;letter-spacing:.045em;
  text-transform:uppercase;color:#6f8492;
}
body.page-reimbursement-detail .rr-owner-stat strong{
  display:block;font-size:12.5px;line-height:1.35;color:#123e5c;overflow-wrap:anywhere;
}
body.page-reimbursement-detail .rr-owner-stat small{
  display:block;margin-top:4px;font-size:10.5px;line-height:1.35;color:#587181;overflow-wrap:anywhere;
}
body.page-reimbursement-detail .rr-owner-amount strong{font-size:16px;font-weight:800}
body.page-reimbursement-detail .rr-owner-description{
  padding:11px 10px 12px;border-bottom:1px solid #e6edf1;
}
body.page-reimbursement-detail .rr-owner-description strong{
  display:block;font-size:12.5px;line-height:1.45;color:#123e5c;overflow-wrap:anywhere;
}
body.page-reimbursement-detail .rr-owner-note{
  padding:10px;margin-top:2px;border-bottom:1px solid #e6edf1;
}
body.page-reimbursement-detail .rr-owner-note p{
  margin:0;font-size:11.5px;line-height:1.5;color:#314b5c;white-space:pre-wrap;overflow-wrap:anywhere;
}
body.page-reimbursement-detail .rr-owner-paid{
  display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #e6edf1;font-size:11px;
}
body.page-reimbursement-detail .rr-owner-paid span{color:#718693}body.page-reimbursement-detail .rr-owner-paid strong{color:#123e5c}
body.page-reimbursement-detail .rr-owner-documents{margin-top:11px;padding-top:0}
body.page-reimbursement-detail .rr-owner-documents .rr-section-title{margin-bottom:8px}
body.page-reimbursement-detail .rr-owner-documents .rr-section-title h3{margin:0;font-size:12px;color:#123e5c}
body.page-reimbursement-detail .rr-file-count{
  display:inline-block;margin-left:5px;padding:2px 7px;border-radius:999px;background:#edf4f8;
  color:#557181;font-size:9.5px;font-weight:700;vertical-align:1px;
}
body.page-reimbursement-detail .rr-history{margin-top:0}
@media(max-width:760px){
  body.page-reimbursement-detail .rr-owner-overview{grid-template-columns:1fr 1fr}
  body.page-reimbursement-detail .rr-owner-stat:nth-child(2){border-right:0}
  body.page-reimbursement-detail .rr-owner-stat:nth-child(3){grid-column:1/-1;border-top:1px solid #e1e9ee;border-right:0}
}
@media(max-width:520px){
  body.page-reimbursement-detail .rr-owner-overview{grid-template-columns:1fr}
  body.page-reimbursement-detail .rr-owner-stat{border-right:0;border-bottom:1px solid #e1e9ee}
  body.page-reimbursement-detail .rr-owner-stat:nth-child(3){grid-column:auto;border-top:0}
  body.page-reimbursement-detail .rr-owner-stat:last-child{border-bottom:0}
}

/* V15.12 - Detalle del solicitante: composición visual tipo ficha, menos tabular */
body.page-reimbursement-detail .rr-owner-hero{
  display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;align-items:stretch;
  margin:2px 0 0;padding:0 0 16px;border-bottom:1px solid #e4ebef;
}
body.page-reimbursement-detail .rr-owner-primary{
  min-width:0;padding:14px 16px;border-radius:10px;background:#f7fafc;border-left:3px solid #2b789d;
}
body.page-reimbursement-detail .rr-owner-kicker{
  display:flex;align-items:center;gap:7px;margin-bottom:7px;font-size:9.5px;font-weight:800;
  letter-spacing:.055em;text-transform:uppercase;color:#68808f;
}
body.page-reimbursement-detail .rr-owner-kicker i{color:#27789e;font-size:11px}
body.page-reimbursement-detail .rr-owner-primary h4{
  margin:0;color:#123e5c;font-size:15px;line-height:1.45;font-weight:750;overflow-wrap:anywhere;
}
body.page-reimbursement-detail .rr-owner-amountbox{
  display:flex;flex-direction:column;justify-content:center;padding:13px 17px;border:1px solid #dce7ed;
  border-radius:10px;background:#fff;
}
body.page-reimbursement-detail .rr-owner-amountbox span{
  margin-bottom:4px;font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#718795;
}
body.page-reimbursement-detail .rr-owner-amountbox strong{font-size:20px;line-height:1.2;color:#0e4568;font-weight:800}
body.page-reimbursement-detail .rr-owner-facts{
  display:flex;align-items:stretch;gap:0;padding:13px 0 12px;border-bottom:1px solid #e4ebef;
}
body.page-reimbursement-detail .rr-owner-fact{
  display:flex;align-items:flex-start;gap:10px;min-width:190px;padding:3px 22px 3px 10px;
}
body.page-reimbursement-detail .rr-owner-fact+.rr-owner-fact{border-left:1px solid #e3eaee;padding-left:22px}
body.page-reimbursement-detail .rr-owner-fact-icon{
  display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:#edf5f8;color:#21749b;font-size:12px;
}
body.page-reimbursement-detail .rr-owner-fact div{min-width:0}
body.page-reimbursement-detail .rr-owner-fact small,
body.page-reimbursement-detail .rr-owner-note2 small{
  display:block;margin-bottom:3px;font-size:9.5px;font-weight:700;letter-spacing:.035em;text-transform:uppercase;color:#718795;
}
body.page-reimbursement-detail .rr-owner-fact strong{display:block;font-size:12px;line-height:1.35;color:#123e5c;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-fact p{margin:3px 0 0;font-size:10.5px;line-height:1.4;color:#5c7483;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-fact p b{font-weight:600;color:#35576b}
body.page-reimbursement-detail .rr-owner-method{flex:1}
body.page-reimbursement-detail .rr-owner-note2{
  display:flex;gap:10px;align-items:flex-start;margin:12px 0 2px;padding:11px 13px;border-radius:9px;background:#fbfcfd;border:1px solid #e5ecef;
}
body.page-reimbursement-detail .rr-owner-note-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:7px;background:#f0f5f7;color:#557687;font-size:11px}
body.page-reimbursement-detail .rr-owner-note2 div{min-width:0}
body.page-reimbursement-detail .rr-owner-note2 p{margin:0;font-size:11.5px;line-height:1.45;color:#29495c;white-space:pre-wrap;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-documents{margin-top:13px;padding-top:0}
body.page-reimbursement-detail .rr-owner-documents .rr-files{gap:8px}
body.page-reimbursement-detail .rr-owner-documents .rr-file-card{background:#fbfdfe}
@media(max-width:760px){
  body.page-reimbursement-detail .rr-owner-hero{grid-template-columns:1fr}
  body.page-reimbursement-detail .rr-owner-amountbox{min-height:72px}
  body.page-reimbursement-detail .rr-owner-facts{flex-direction:column;padding:7px 0}
  body.page-reimbursement-detail .rr-owner-fact{width:100%;padding:9px 10px;min-width:0}
  body.page-reimbursement-detail .rr-owner-fact+.rr-owner-fact{border-left:0;border-top:1px solid #e8eef1;padding-left:10px}
}

/* V15.13 - Detalle de reembolso del solicitante: compacto, jerárquico y sin espacio perdido */
body.page-reimbursement-detail .rr-unified-card{padding:16px!important}
body.page-reimbursement-detail .rr-owner-topfacts{
  display:grid;grid-template-columns:1fr 1.05fr 1.35fr;margin:2px 0 12px;border:1px solid #dce7ed;
  border-radius:11px;background:#fff;overflow:hidden;
}
body.page-reimbursement-detail .rr-owner-topfact{
  display:flex;align-items:center;gap:12px;min-width:0;padding:13px 15px;
}
body.page-reimbursement-detail .rr-owner-topfact+.rr-owner-topfact{border-left:1px solid #dfe8ed}
body.page-reimbursement-detail .rr-owner-topicon,
body.page-reimbursement-detail .rr-owner-panel-icon{
  display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:9px;
  background:#edf6fb;color:#1c79a6;font-size:14px;
}
body.page-reimbursement-detail .rr-owner-money .rr-owner-topicon{background:#edf8f3;color:#208a69}
body.page-reimbursement-detail .rr-owner-paymethod .rr-owner-topicon{background:#f2f0ff;color:#6554c8}
body.page-reimbursement-detail .rr-owner-topfact>div{min-width:0}
body.page-reimbursement-detail .rr-owner-topfact small,
body.page-reimbursement-detail .rr-owner-description-panel small,
body.page-reimbursement-detail .rr-owner-note-panel small{
  display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:#657d8d;
}
body.page-reimbursement-detail .rr-owner-topfact strong{display:block;color:#123e5c;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-money strong{font-size:18px}
body.page-reimbursement-detail .rr-owner-topfact p{margin:3px 0 0;font-size:10.5px;line-height:1.35;color:#617887;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-topfact p b{font-weight:600;color:#35586c}
body.page-reimbursement-detail .rr-owner-description-panel,
body.page-reimbursement-detail .rr-owner-note-panel{
  display:flex;align-items:center;gap:13px;margin-bottom:10px;padding:12px 14px;border-radius:10px;border:1px solid #e3ebf0;
}
body.page-reimbursement-detail .rr-owner-description-panel{background:#f6fafe;border-left:3px solid #2b86b1}
body.page-reimbursement-detail .rr-owner-description-panel strong{display:block;color:#123e5c;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-note-panel{background:#fffaf0;border-color:#f2e5bf}
body.page-reimbursement-detail .rr-owner-note-panel .rr-owner-panel-icon{background:#fff0c7;color:#9a7217}
body.page-reimbursement-detail .rr-owner-note-panel p{margin:0;color:#29495c;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-owner-paid-panel{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:9px 12px;border-radius:8px;background:#f7fafb;color:#5d7482;font-size:11px}
body.page-reimbursement-detail .rr-owner-paid-panel i{color:#26779e}body.page-reimbursement-detail .rr-owner-paid-panel strong{color:#123e5c}
body.page-reimbursement-detail .rr-owner-documents{margin-top:8px;padding:10px 12px 11px;border:1px solid #e0e9ee;border-radius:10px;background:#f9fcfe}
body.page-reimbursement-detail .rr-owner-documents .rr-section-title{margin-bottom:8px}
body.page-reimbursement-detail .rr-owner-documents .rr-section-title h3{font-size:12.5px}
body.page-reimbursement-detail .rr-owner-documents .rr-file-card{min-height:50px;background:#fff}
body.page-reimbursement-detail .rr-history{margin-top:0!important}
body.page-reimbursement-detail .rr-history .rr-timeline-item:first-child{background:#f3f9fd;border-radius:9px;padding:9px 10px 12px 0}
@media(max-width:800px){
 body.page-reimbursement-detail .rr-owner-topfacts{grid-template-columns:1fr}
 body.page-reimbursement-detail .rr-owner-topfact+.rr-owner-topfact{border-left:0;border-top:1px solid #dfe8ed}
}

/* V15.14 - Detalle de reembolso: estilo LANR sobrio, compacto y minimalista */
body.page-reimbursement-detail .rr-unified-card{padding:16px!important}
body.page-reimbursement-detail .rr-owner-topfacts{margin:2px 0 0;border:0;border-top:1px solid #e2e9ee;border-bottom:1px solid #e2e9ee;border-radius:0;background:transparent;overflow:visible}
body.page-reimbursement-detail .rr-owner-topfact{padding:13px 14px 12px 8px;gap:11px}
body.page-reimbursement-detail .rr-owner-topfact+.rr-owner-topfact{border-left:1px solid #e2e9ee}
body.page-reimbursement-detail .rr-owner-topicon,body.page-reimbursement-detail .rr-owner-panel-icon{width:34px;height:34px;flex-basis:34px;border-radius:8px;background:#f5f7f9!important;color:#173f5a!important;font-size:13px}
body.page-reimbursement-detail .rr-owner-topfact small,body.page-reimbursement-detail .rr-owner-description-panel small,body.page-reimbursement-detail .rr-owner-note-panel small{font-size:10px;font-weight:800;color:#526b7b;letter-spacing:.035em}
body.page-reimbursement-detail .rr-owner-topfact strong,body.page-reimbursement-detail .rr-owner-money strong{font-size:13px;font-weight:400;color:#17384e;line-height:1.35}
body.page-reimbursement-detail .rr-owner-topfact p{font-size:10.5px;margin-top:2px;color:#627987}
body.page-reimbursement-detail .rr-owner-description-panel,body.page-reimbursement-detail .rr-owner-note-panel{margin:0;padding:12px 8px;gap:11px;border:0;border-bottom:1px solid #e2e9ee;border-radius:0;background:transparent!important}
body.page-reimbursement-detail .rr-owner-description-panel strong{font-size:13px;font-weight:400;color:#17384e;line-height:1.4}
body.page-reimbursement-detail .rr-owner-note-panel p{font-size:12px;font-weight:400;color:#29495c;line-height:1.45}
body.page-reimbursement-detail .rr-owner-documents{margin-top:0;padding:12px 0 0;border:0;border-radius:0;background:transparent}
body.page-reimbursement-detail .rr-owner-documents .rr-section-title h3{font-size:12px;font-weight:800;color:#17384e}
body.page-reimbursement-detail .rr-owner-documents .rr-file-card{min-height:48px;border-color:#dce6ec;background:#fff;border-radius:8px}
body.page-reimbursement-detail .rr-owner-documents .rr-file-copy strong{font-weight:600}
body.page-reimbursement-detail .rr-owner-paid-panel{border-radius:0;border-bottom:1px solid #e2e9ee;background:transparent;padding:10px 8px;margin:0}
body.page-reimbursement-detail .rr-history{padding:15px 16px!important}
body.page-reimbursement-detail .rr-history .rr-timeline{max-width:none}
body.page-reimbursement-detail .rr-history .rr-timeline-item:first-child{background:transparent;border-radius:0;padding:0 0 13px}
body.page-reimbursement-detail .rr-timeline section strong{font-size:11.5px}
body.page-reimbursement-detail .rr-timeline small{font-size:9.5px}
body.page-reimbursement-detail .rr-timeline p{font-size:10.5px}


/* V15.15 - Uniformidad visual: detalle REE alineado con detalle de Trámites */
body.page-reimbursement-detail .rr-detail-card{padding:14px 16px 15px!important}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading{margin:0 0 12px!important;padding:0!important;border:0!important}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading h3{margin:0!important;color:#123f5b!important;font-size:16px!important;font-weight:700!important}
body.page-reimbursement-detail .rr-request-style-summary{border-top:1px solid #edf2f5}
body.page-reimbursement-detail .rr-request-summary-grid{display:grid;grid-template-columns:1fr 1fr 1.35fr;padding-top:12px}
body.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1.2fr .9fr .9fr 1.25fr}
body.page-reimbursement-detail .rr-request-summary-field{min-height:48px;padding:0 14px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid #e4ebef}
body.page-reimbursement-detail .rr-request-summary-field:first-child{padding-left:0}
body.page-reimbursement-detail .rr-request-summary-field:last-child{border-right:0;padding-right:0}
body.page-reimbursement-detail .rr-request-summary-field span,body.page-reimbursement-detail .rr-request-line>span{margin-bottom:5px;font-size:9px;color:#758996;font-weight:600}
body.page-reimbursement-detail .rr-request-summary-field strong{font-size:12px;color:#12344a;font-weight:600}
body.page-reimbursement-detail .rr-request-summary-field small{display:block;margin-top:3px;color:#60798a;font-size:9.5px;font-weight:400}
body.page-reimbursement-detail .rr-request-line{padding:11px 0;border-top:1px solid #edf2f5}
body.page-reimbursement-detail .rr-request-line p{margin:0;color:#263f4e;font-size:11px;line-height:1.45;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-documents-section{margin-top:0!important;padding:11px 0 0!important;border-top:1px solid #edf2f5!important;background:transparent!important;border-radius:0!important}
body.page-reimbursement-detail .rr-documents-section .rr-section-title{margin-bottom:8px!important}
body.page-reimbursement-detail .rr-documents-section .rr-section-title h3{margin:0!important;font-size:12px!important;color:#123f5b!important}
body.page-reimbursement-detail .rr-file-card{min-height:48px!important}
body.page-reimbursement-detail .rr-history-request-style{padding:14px 16px!important}
body.page-reimbursement-detail .rr-history-heading{margin-bottom:9px}
body.page-reimbursement-detail .rr-history-heading h3{margin:0;color:#123f5b;font-size:16px}
body.page-reimbursement-detail .rr-history-heading p{margin:3px 0 0;color:#718694;font-size:10px}
body.page-reimbursement-detail .rr-history-table-head{display:grid;grid-template-columns:145px 205px minmax(0,1fr);gap:16px;padding:8px 10px;background:#f4f8fa;border-top:1px solid #e2eaee;border-bottom:1px solid #dce6eb;color:#60798a;font-size:9px;font-weight:700;text-transform:uppercase}
body.page-reimbursement-detail .rr-history-row{display:grid;grid-template-columns:145px 205px minmax(0,1fr);gap:16px;align-items:start;padding:9px 10px;border-bottom:1px solid #edf1f3}
body.page-reimbursement-detail .rr-history-row:last-child{border-bottom:0}
body.page-reimbursement-detail .rr-history-row>span:first-child{color:#48697d;font-size:9.5px}
body.page-reimbursement-detail .rr-history-row>strong{font-size:10px;color:#123f5b}
body.page-reimbursement-detail .rr-history-row>span:last-child{font-size:10px;color:#536e7f}
body.page-reimbursement-detail .rr-history-row>span:last-child b{display:block;font-weight:400;color:#536e7f}
body.page-reimbursement-detail .rr-history-row>span:last-child small{display:block;margin-top:3px;color:#718694;font-size:9.5px}
@media(max-width:900px){body.page-reimbursement-detail .rr-request-summary-grid,body.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr 1fr}body.page-reimbursement-detail .rr-request-summary-field{padding:8px 10px;border-bottom:1px solid #e8eef1}body.page-reimbursement-detail .rr-history-table-head{display:none}body.page-reimbursement-detail .rr-history-row{grid-template-columns:1fr;gap:3px;padding:10px 4px}}
@media(max-width:560px){body.page-reimbursement-detail .rr-request-summary-grid,body.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr}body.page-reimbursement-detail .rr-request-summary-field{border-right:0}}
\n\n/* ===== REEMBOLSOS · CABECERA 100% UNIFORME CON DETALLE DE TRÁMITES ===== */
body.page-reimbursement-detail .request-detail-breadcrumb{
  display:flex;align-items:center;gap:7px;margin:0 0 8px!important;
  color:#718694;font-size:10px!important;
}
body.page-reimbursement-detail .request-detail-breadcrumb b{color:#9aabb5;font-weight:600}
body.page-reimbursement-detail .request-detail-pagehead{
  align-items:flex-start!important;margin-bottom:14px!important;
}
body.page-reimbursement-detail .request-detail-title-row{
  display:flex;align-items:center;gap:10px!important;flex-wrap:wrap;
}
body.page-reimbursement-detail .request-detail-title-row h1{
  margin:0!important;color:#123f5b;font-size:24px!important;line-height:1.15!important;
}
body.page-reimbursement-detail .request-detail-meta{
  display:flex;align-items:center;gap:9px;margin:7px 0 0!important;
  color:#536e7f;font-size:11px!important;font-weight:600;
}
body.page-reimbursement-detail .rr-pagehead .rr-status{
  font-size:10px!important;padding:5px 10px!important;
}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading{
  margin:0 0 12px!important;
}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading h3{
  margin:0!important;color:#123f5b!important;font-size:16px!important;line-height:1.2!important;
}
@media(max-width:520px){body.page-reimbursement-detail .request-detail-title-row h1{font-size:20px!important}}
\n\n/* ===== REEMBOLSOS · CABECERA CLON VISUAL DE DETALLE DE TRÁMITES ===== */
body.page-reimbursement-detail .request-detail-breadcrumb{
  display:flex!important;align-items:center!important;gap:7px!important;
  margin:0 0 8px!important;color:#718694!important;font-size:10px!important;
}
body.page-reimbursement-detail .request-detail-breadcrumb b{color:#9aabb5!important;font-weight:600!important}
body.page-reimbursement-detail .request-detail-pagehead{align-items:flex-start!important;margin-bottom:14px!important}
body.page-reimbursement-detail .request-detail-title-row{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
body.page-reimbursement-detail .request-detail-title-row h1{margin:0!important;color:#123f5b!important;font-size:24px!important;line-height:1.15!important;font-weight:700!important}
body.page-reimbursement-detail .request-type-chip{display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:0 11px!important;border-radius:999px!important;background:#e8f3fa!important;color:#245f83!important;font-size:10px!important;font-weight:700!important}
body.page-reimbursement-detail .request-detail-meta{display:flex!important;align-items:center!important;gap:9px!important;margin:7px 0 0!important;color:#536e7f!important;font-size:11px!important;font-weight:600!important;line-height:normal!important}
body.page-reimbursement-detail .request-detail-meta span{width:1px!important;height:14px!important;background:#cfdbe2!important}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading{margin:0 0 12px!important}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading h3{margin:0!important;color:#123f5b!important;font-size:16px!important;line-height:1.2!important;font-weight:700!important}
@media(max-width:520px){body.page-reimbursement-detail .request-detail-title-row h1{font-size:20px!important}}


/* ===== REEMBOLSOS · CABECERA: HEREDA EXACTAMENTE DETALLE DE TRÁMITES =====
   Importante: no redefinir escala/espaciado aquí. La página lleva también
   page-request-detail y usa las reglas maestras del detalle REQ. */
body.page-request-detail.page-reimbursement-detail .rr-detail-page > .request-detail-breadcrumb{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 8px!important;
  color:#718694!important;
  font-size:10px!important;
  line-height:normal!important;
}
body.page-request-detail.page-reimbursement-detail .rr-detail-page > .request-detail-pagehead{
  display:flex!important;
  justify-content:space-between!important;
  gap:15px!important;
  align-items:flex-start!important;
  margin-bottom:14px!important;
}
body.page-request-detail.page-reimbursement-detail .request-detail-title-row{
  display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;
}
body.page-request-detail.page-reimbursement-detail .request-detail-title-row h1{
  margin:0!important;color:#123f5b!important;font-size:24px!important;line-height:1.15!important;font-weight:700!important;
}
body.page-request-detail.page-reimbursement-detail .request-type-chip{
  display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:0 11px!important;
  border-radius:999px!important;background:#e8f3fa!important;color:#245f83!important;font-size:10px!important;font-weight:700!important;
}
body.page-request-detail.page-reimbursement-detail .request-detail-meta{
  display:flex!important;align-items:center!important;gap:9px!important;margin:7px 0 0!important;
  color:#536e7f!important;font-size:11px!important;font-weight:600!important;line-height:normal!important;
}
/* La tarjeta debe comenzar a la misma distancia que en REQ */
body.page-request-detail.page-reimbursement-detail .request-detail-pagehead + .rr-alert,
body.page-request-detail.page-reimbursement-detail .request-detail-pagehead + .rr-action-banner{margin-top:0!important}

/* ===== V15.16 · REEMBOLSOS · DETALLE COMPACTO CORPORATIVO ===== */
body.page-reimbursement-detail .rr-detail-grid-single{display:block!important;margin-bottom:14px!important}
body.page-reimbursement-detail .rr-main-column{min-width:0}
body.page-reimbursement-detail .rr-detail-card{padding:0!important;overflow:hidden!important}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading{padding:14px 16px 12px!important;margin:0!important;border-bottom:1px solid #e1e8ed!important}
body.page-reimbursement-detail .rr-detail-card>.rr-simple-heading h3{font-size:16px!important}
body.page-reimbursement-detail .rr-request-style-summary{border:0!important}
body.page-reimbursement-detail .rr-request-summary-grid{padding:0!important;display:grid!important;grid-template-columns:1fr 1fr 1.4fr!important;border-bottom:1px solid #e1e8ed!important}
body.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1.15fr .85fr .9fr 1.3fr!important}
body.page-reimbursement-detail .rr-request-summary-field{min-height:64px!important;padding:11px 16px!important;border-right:1px solid #e1e8ed!important;justify-content:flex-start!important}
body.page-reimbursement-detail .rr-request-summary-field:first-child{padding-left:16px!important}
body.page-reimbursement-detail .rr-request-summary-field:last-child{padding-right:16px!important;border-right:0!important}
body.page-reimbursement-detail .rr-request-summary-field span,
body.page-reimbursement-detail .rr-request-line>span{font-size:10px!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;color:#647d8d!important;font-weight:700!important;margin:0 0 5px!important}
body.page-reimbursement-detail .rr-request-summary-field strong{font-size:12px!important;line-height:1.3!important;color:#163b54!important;font-weight:400!important}
body.page-reimbursement-detail .rr-request-summary-field small{font-size:10px!important;line-height:1.3!important;color:#60798a!important;margin-top:3px!important}
body.page-reimbursement-detail .rr-request-line{display:grid!important;grid-template-columns:175px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;padding:10px 16px!important;border-top:0!important;border-bottom:1px solid #e1e8ed!important}
body.page-reimbursement-detail .rr-request-line>span{margin:1px 0 0!important}
body.page-reimbursement-detail .rr-request-line p{font-size:11px!important;line-height:1.4!important;color:#263f4e!important;margin:0!important}
body.page-reimbursement-detail .rr-documents-section{margin:0!important;padding:11px 16px 14px!important;border:0!important;background:#fff!important}
body.page-reimbursement-detail .rr-documents-section .rr-section-title{margin:0 0 8px!important}
body.page-reimbursement-detail .rr-documents-section .rr-section-title h3{font-size:11px!important;font-weight:700!important}
body.page-reimbursement-detail .rr-file-count{margin-left:7px!important;font-size:9px!important;font-weight:600!important}
body.page-reimbursement-detail .rr-files{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.page-reimbursement-detail .rr-file-card{min-height:46px!important;padding:8px 10px!important;border-radius:7px!important;background:#fff!important;border:1px solid #dbe5eb!important}
body.page-reimbursement-detail .rr-file-icon{width:32px!important;height:32px!important;border-radius:6px!important;background:#f1f6f8!important}
body.page-reimbursement-detail .rr-file-copy strong{font-size:10.5px!important;font-weight:500!important}
body.page-reimbursement-detail .rr-file-copy small{font-size:9px!important}
body.page-reimbursement-detail .rr-file-open{font-size:10px!important}
body.page-reimbursement-detail .rr-history-request-style{margin-top:0!important}
@media(max-width:900px){
 body.page-reimbursement-detail .rr-request-summary-grid,body.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr 1fr!important}
 body.page-reimbursement-detail .rr-request-summary-field{border-bottom:1px solid #e1e8ed!important}
 body.page-reimbursement-detail .rr-files{grid-template-columns:1fr!important}
}
@media(max-width:560px){
 body.page-reimbursement-detail .rr-request-summary-grid,body.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr!important}
 body.page-reimbursement-detail .rr-request-summary-field{border-right:0!important}
 body.page-reimbursement-detail .rr-request-line{grid-template-columns:1fr!important;gap:4px!important}
}

/* ===== V15.17 · REE · TIPOGRAFÍA Y JERARQUÍA UNIFORME CON REQ ===== */
body.page-request-detail.page-reimbursement-detail .rr-detail-card{
  padding:14px 16px 15px!important;
  overflow:visible!important;
}
body.page-request-detail.page-reimbursement-detail .rr-detail-card>.rr-simple-heading{
  padding:0!important;
  margin:0 0 12px!important;
  border-bottom:0!important;
}
body.page-request-detail.page-reimbursement-detail .rr-detail-card>.rr-simple-heading h3{
  margin:0!important;
  color:#123f5b!important;
  font-size:16px!important;
  font-weight:700!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-style-summary{
  border-top:1px solid #edf2f5!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid{
  border-bottom:1px solid #edf2f5!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field{
  min-height:52px!important;
  padding:10px 14px!important;
  justify-content:center!important;
  border-right:1px solid #e4ebef!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field:first-child{padding-left:0!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field:last-child{padding-right:0!important;border-right:0!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field span,
body.page-request-detail.page-reimbursement-detail .rr-request-line>span{
  display:block!important;
  margin:0 0 5px!important;
  color:#758996!important;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:600!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field strong{
  display:block!important;
  color:#12344a!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field small{
  display:block!important;
  margin-top:3px!important;
  color:#60798a!important;
  font-size:9.5px!important;
  line-height:1.3!important;
  font-weight:400!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-line{
  display:block!important;
  padding:10px 0!important;
  border-top:0!important;
  border-bottom:1px solid #edf2f5!important;
}
body.page-request-detail.page-reimbursement-detail .rr-request-line p{
  margin:0!important;
  color:#12344a!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
body.page-request-detail.page-reimbursement-detail .rr-documents-section{
  margin:0!important;
  padding:11px 0 0!important;
  border:0!important;
  background:transparent!important;
}
body.page-request-detail.page-reimbursement-detail .rr-documents-section .rr-section-title h3{
  color:#123f5b!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.page-request-detail.page-reimbursement-detail .rr-file-copy strong{
  color:#12344a!important;
  font-size:10.5px!important;
  font-weight:600!important;
}
body.page-request-detail.page-reimbursement-detail .rr-file-copy small{font-weight:400!important}
@media(max-width:900px){
 body.page-request-detail.page-reimbursement-detail .rr-request-summary-field:first-child{padding-left:10px!important}
 body.page-request-detail.page-reimbursement-detail .rr-request-summary-field:last-child{padding-right:10px!important}
}

/* ===== V15.18 · REE · DETALLE FORMAL CONSTRUCTORA ===== */
body.page-request-detail.page-reimbursement-detail .rr-detail-card{padding:0!important;overflow:hidden!important}
body.page-request-detail.page-reimbursement-detail .rr-detail-card>.rr-simple-heading{padding:15px 16px 12px!important;margin:0!important;border-bottom:1px solid #e3eaee!important}
body.page-request-detail.page-reimbursement-detail .rr-detail-card>.rr-simple-heading h3{font-size:16px!important;font-weight:700!important}
body.page-request-detail.page-reimbursement-detail .rr-request-style-summary{border:0!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid{display:grid!important;grid-template-columns:1fr 1fr 1.35fr!important;border-bottom:1px solid #e3eaee!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1.15fr .9fr .9fr 1.3fr!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;min-height:72px!important;padding:12px 16px!important;border-right:1px solid #e3eaee!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field:first-child{padding-left:16px!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field:last-child{padding-right:16px!important;border-right:0!important}
body.page-request-detail.page-reimbursement-detail .rr-info-icon{flex:0 0 34px;width:34px;height:34px;border-radius:8px;background:#f1f6f9;color:#17628d;display:grid;place-items:center;font-size:14px}
body.page-request-detail.page-reimbursement-detail .rr-info-copy{min-width:0;display:block!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field span,
body.page-request-detail.page-reimbursement-detail .rr-request-line .rr-info-copy>span{display:block!important;margin:0 0 4px!important;color:#60798a!important;font-size:9px!important;line-height:1.2!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.025em!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field strong{display:block!important;color:#123f5b!important;font-size:12px!important;line-height:1.3!important;font-weight:600!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field small{display:block!important;margin-top:2px!important;color:#60798a!important;font-size:9.5px!important;line-height:1.25!important;font-weight:400!important}
body.page-request-detail.page-reimbursement-detail .rr-request-line{display:flex!important;align-items:center!important;gap:11px!important;padding:11px 16px!important;border-bottom:1px solid #e8eef2!important}
body.page-request-detail.page-reimbursement-detail .rr-request-line p{margin:0!important;color:#173b52!important;font-size:11.5px!important;line-height:1.4!important;font-weight:500!important}
body.page-request-detail.page-reimbursement-detail .rr-documents-section{margin:0!important;padding:12px 16px 15px!important;border:0!important;background:#fff!important}
body.page-request-detail.page-reimbursement-detail .rr-documents-section .rr-section-title{margin-bottom:9px!important}
body.page-request-detail.page-reimbursement-detail .rr-documents-section .rr-section-title h3{font-size:12px!important;font-weight:700!important}
body.page-request-detail.page-reimbursement-detail .rr-file-count{font-weight:500!important}
body.page-request-detail.page-reimbursement-detail .rr-files{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-request-detail.page-reimbursement-detail .rr-file-card{min-height:52px!important;padding:8px 10px!important;border-color:#d9e4ea!important;background:#fff!important;transition:border-color .15s ease,background .15s ease!important}
body.page-request-detail.page-reimbursement-detail .rr-file-card:hover{border-color:#a9c2d1!important;background:#f9fbfc!important}
body.page-request-detail.page-reimbursement-detail .rr-file-copy strong{font-size:10.5px!important;font-weight:600!important}
body.page-request-detail.page-reimbursement-detail .rr-history{margin-top:14px!important}
body.page-request-detail.page-reimbursement-detail .rr-history-heading h3{font-size:16px!important}
@media(max-width:900px){body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid,body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr 1fr!important}body.page-request-detail.page-reimbursement-detail .rr-request-summary-field{border-bottom:1px solid #e3eaee!important}body.page-request-detail.page-reimbursement-detail .rr-files{grid-template-columns:1fr!important}}
@media(max-width:560px){body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid,body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr!important}body.page-request-detail.page-reimbursement-detail .rr-request-summary-field{border-right:0!important}}


/* V15.13 · Reembolsos: experiencia uniforme por etapa (solo presentación) */
body.page-reimbursement-detail .rr-detail-grid{grid-template-columns:1fr!important;gap:14px!important}
body.page-reimbursement-detail .rr-management-card{position:static!important;top:auto!important;padding:0!important;overflow:hidden}
body.page-reimbursement-detail .rr-management-head{display:flex;align-items:center;gap:11px;padding:14px 16px;border-bottom:1px solid #e2e9ed;background:#fbfcfd}
body.page-reimbursement-detail .rr-management-icon{width:36px;height:36px;flex:0 0 36px;border-radius:8px;display:grid;place-items:center;background:#edf4f8;color:#174e6d;font-size:14px}
body.page-reimbursement-detail .rr-management-head h3{margin:0 0 2px;font-size:14px;color:#123e5c}
body.page-reimbursement-detail .rr-management-head p{margin:0;font-size:10.5px;color:#71838e}
body.page-reimbursement-detail .rr-management-card .rr-review{padding:14px 16px 16px}
body.page-reimbursement-detail .rr-admin-management .rr-review{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);gap:10px 18px;align-items:end}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-full{grid-column:1/-1;margin:0}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-review-divider{display:none}
body.page-reimbursement-detail .rr-admin-management .rr-review>label{grid-column:1/-1;margin:0}
body.page-reimbursement-detail .rr-admin-management .rr-review>textarea{grid-column:1/2;min-height:76px}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two{grid-column:2/3;align-self:stretch;display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two .btn{height:100%;min-height:42px}
body.page-reimbursement-detail .rr-treasury-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e2e9ed;background:#fff}
body.page-reimbursement-detail .rr-treasury-summary>div{padding:12px 16px;border-right:1px solid #e2e9ed;min-width:0}
body.page-reimbursement-detail .rr-treasury-summary>div:last-child{border-right:0}
body.page-reimbursement-detail .rr-treasury-summary span{display:block;margin-bottom:3px;font-size:9px;text-transform:uppercase;letter-spacing:.035em;color:#738692;font-weight:700}
body.page-reimbursement-detail .rr-treasury-summary strong{display:block;font-size:12px;color:#183f58;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-treasury-management .rr-stage-help{margin:14px 16px 0;padding:10px 12px;border-radius:7px;background:#f6f9fb;color:#607783;font-size:10.5px}
body.page-reimbursement-detail .rr-treasury-management .rr-review{padding-top:12px}
body.page-reimbursement-detail .rr-completed-payment{display:flex;align-items:center;gap:11px;margin:13px 0 0;padding:11px 13px;border-top:1px solid #dce9e1;background:#f7fbf8}
body.page-reimbursement-detail .rr-completed-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e2f4e7;color:#287343}
body.page-reimbursement-detail .rr-completed-copy{display:flex;flex-direction:column;gap:1px}
body.page-reimbursement-detail .rr-completed-copy span{font-size:9px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:#5b7b66}
body.page-reimbursement-detail .rr-completed-copy strong{font-size:12px;color:#244c33}
body.page-reimbursement-detail .rr-completed-copy small{font-size:9.5px;color:#6f8275}
/* Estados con semántica visual clara */
body.page-reimbursements .rr-status.rr-borrador,body.page-reimbursement-detail .rr-status.rr-borrador{background:#eef1f3!important;color:#59666f!important}
body.page-reimbursements .rr-status.rr-pendiente-de-administracion,body.page-reimbursement-detail .rr-status.rr-pendiente-de-administracion{background:#e7f1f8!important;color:#15577f!important}
body.page-reimbursements .rr-status.rr-observado,body.page-reimbursement-detail .rr-status.rr-observado{background:#fff0d9!important;color:#9a5b00!important}
body.page-reimbursements .rr-status.rr-pendiente-de-tesoreria,body.page-reimbursement-detail .rr-status.rr-pendiente-de-tesoreria{background:#e7effb!important;color:#285c9b!important}
body.page-reimbursements .rr-status.rr-en-gestion-de-tesoreria,body.page-reimbursement-detail .rr-status.rr-en-gestion-de-tesoreria{background:#dcebf8!important;color:#174f79!important}
body.page-reimbursements .rr-status.rr-finalizado,body.page-reimbursement-detail .rr-status.rr-finalizado{background:#e3f6ea!important;color:#237441!important}
body.page-reimbursements .rr-status.rr-rechazado,body.page-reimbursement-detail .rr-status.rr-rechazado{background:#fde7e7!important;color:#a72e2e!important}
body.page-reimbursements .rr-row:has(.rr-observado){background:#fffdf8}
body.page-reimbursements .rr-row:has(.rr-observado) td:first-child{box-shadow:inset 3px 0 0 #d89a27}
@media(max-width:760px){body.page-reimbursement-detail .rr-admin-management .rr-review{grid-template-columns:1fr}body.page-reimbursement-detail .rr-admin-management .rr-review>textarea,body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two{grid-column:1/-1}body.page-reimbursement-detail .rr-treasury-summary{grid-template-columns:1fr}body.page-reimbursement-detail .rr-treasury-summary>div{border-right:0;border-bottom:1px solid #e2e9ed}body.page-reimbursement-detail .rr-treasury-summary>div:last-child{border-bottom:0}}

/* ============================================================
   REEMBOLSOS V15 - AJUSTE VISUAL 24-09-2026
   Solo presentación: no modifica flujo ni lógica.
   ============================================================ */

/* El color ámbar identifica únicamente el ESTADO Observado.
   La fila conserva el mismo fondo neutro que el resto del listado. */
body.page-reimbursements .rr-row:has(.rr-observado){background:#fff!important;}
body.page-reimbursements .rr-row:has(.rr-observado) td:first-child{box-shadow:none!important;}
body.page-reimbursements .rr-row:has(.rr-observado):hover{background:#f8fafc!important;}
body.page-reimbursements .rr-status.rr-observado,
body.page-reimbursement-detail .rr-status.rr-observado{background:#fff0d9!important;color:#9a5b00!important;}

/* Administración / Tesorería: ficha a la izquierda y gestión al costado.
   Se recupera la composición de dos columnas y se aprovecha todo el ancho. */
body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single){
  display:grid!important;
  grid-template-columns:minmax(0,2.35fr) minmax(315px,.95fr)!important;
  gap:14px!important;
  align-items:stretch!important;
  margin-bottom:14px!important;
}
body.page-reimbursement-detail .rr-main-column{min-width:0;display:flex;}
body.page-reimbursement-detail .rr-main-column>.rr-detail-card{width:100%;height:100%;}
body.page-reimbursement-detail .rr-management-card{
  position:static!important;
  height:100%!important;
  min-height:100%!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden;
}

/* Panel de Administración compacto, claro y proporcionado a la ficha. */
body.page-reimbursement-detail .rr-admin-management .rr-management-head{
  padding:15px 16px 13px!important;
  margin:0!important;
  border-bottom:1px solid #e2e9ee;
}
body.page-reimbursement-detail .rr-admin-management .rr-review{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  gap:10px!important;
  padding:14px 16px 16px!important;
  align-items:stretch!important;
}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-full,
body.page-reimbursement-detail .rr-admin-management .rr-review>label,
body.page-reimbursement-detail .rr-admin-management .rr-review>textarea,
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two{
  grid-column:auto!important;
}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-full{
  order:0;margin:0!important;min-height:42px;
}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-review-divider{
  display:flex!important;order:1;margin:1px 0!important;
}
body.page-reimbursement-detail .rr-admin-management .rr-review>label{order:2;margin:0!important;}
body.page-reimbursement-detail .rr-admin-management .rr-review>textarea{
  order:3;min-height:104px!important;resize:vertical;
}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two{
  order:4;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:auto;
}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two .btn{
  min-height:42px!important;height:auto!important;
}

/* En la ficha administrativa los adjuntos usan todo el espacio disponible
   sin dejar una tarjeta aislada con media fila vacía. */
body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single) .rr-files{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(235px,1fr))!important;
  width:100%;
}
body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single) .rr-file-card{min-width:0;width:100%;}

/* Tesorería conserva exactamente la misma columna lateral. */
body.page-reimbursement-detail .rr-treasury-management .rr-review{padding:14px 16px 16px;}

@media(max-width:1050px){
  body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single){grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr)!important;}
}
@media(max-width:900px){
  body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single){grid-template-columns:1fr!important;}
  body.page-reimbursement-detail .rr-management-card{height:auto!important;min-height:0!important;}
}

/* ============================================================
   REEMBOLSOS V15 - DETALLE ADMIN + SEGUIMIENTO COMPACTO
   Ajuste exclusivamente visual.
   ============================================================ */
/* Administración: encabezado limpio, sin icono decorativo */
body.page-reimbursement-detail .rr-admin-management .rr-management-head{display:block!important;padding:16px 17px 14px!important;background:#fff!important}
body.page-reimbursement-detail .rr-admin-management .rr-management-head h3{font-size:15px!important;margin:0 0 4px!important}
body.page-reimbursement-detail .rr-admin-management .rr-management-head p{font-size:10.5px!important;line-height:1.35!important;max-width:260px}

/* Información: tres datos principales equilibrados; el solicitante ya figura en la cabecera */
body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid,
body.page-request-detail.page-reimbursement-detail .rr-request-summary-grid.has-requester{grid-template-columns:1fr 1fr 1.35fr!important}
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field{min-height:70px!important;padding:12px 16px!important}
body.page-request-detail.page-reimbursement-detail .rr-request-line{min-height:56px!important;padding:10px 16px!important}
body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single) .rr-simple-heading{padding:14px 16px 12px!important}
body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single) .rr-simple-heading h3{font-size:16px!important}

/* Nuevo seguimiento: línea de progreso compacta, legible y sin repetir texto */
body.page-reimbursement-detail .rr-history-request-style{padding:15px 16px 16px!important}
body.page-reimbursement-detail .rr-history-heading{padding-bottom:10px!important;margin-bottom:0!important;border-bottom:1px solid #e3eaee}
body.page-reimbursement-detail .rr-history-heading h3{font-size:16px!important;margin:0!important}
body.page-reimbursement-detail .rr-history-heading p{font-size:10px!important;margin:3px 0 0!important}
body.page-reimbursement-detail .rr-progress-list{padding:5px 0 0}
body.page-reimbursement-detail .rr-progress-item{display:grid;grid-template-columns:24px minmax(0,1fr);position:relative;min-height:58px}
body.page-reimbursement-detail .rr-progress-marker{position:relative;display:flex;justify-content:center;padding-top:16px}
body.page-reimbursement-detail .rr-progress-marker:after{content:"";position:absolute;top:27px;bottom:-16px;width:1px;background:#d8e2e8}
body.page-reimbursement-detail .rr-progress-item:last-child .rr-progress-marker:after{display:none}
body.page-reimbursement-detail .rr-progress-marker span{position:relative;z-index:1;width:9px;height:9px;border-radius:50%;background:#1d6388;box-shadow:0 0 0 4px #edf5f8}
body.page-reimbursement-detail .rr-progress-content{padding:11px 4px 10px 8px;border-bottom:1px solid #edf1f3;min-width:0}
body.page-reimbursement-detail .rr-progress-item:last-child .rr-progress-content{border-bottom:0}
body.page-reimbursement-detail .rr-progress-main{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
body.page-reimbursement-detail .rr-progress-main strong{font-size:11px;color:#123f5b;font-weight:700}
body.page-reimbursement-detail .rr-progress-main>span{font-size:9.5px;color:#718692;white-space:nowrap}
body.page-reimbursement-detail .rr-progress-meta{margin-top:3px;font-size:9.5px;color:#637b8a;line-height:1.35;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-progress-meta>span{color:#536d7d}
@media(max-width:700px){body.page-reimbursement-detail .rr-progress-main{align-items:flex-start;flex-direction:column;gap:2px}body.page-reimbursement-detail .rr-progress-main>span{white-space:normal}}


/* V15.15 · límite de sustentos + identificación clara del solicitante */
body.page-new-reimbursement .lanr-file-picker.is-disabled{background:#f4f6f7!important;border-color:#d6dfe4!important;color:#83929b!important;cursor:not-allowed!important;opacity:.82}
body.page-new-reimbursement .lanr-file-picker.is-disabled *{pointer-events:none}
body.page-new-reimbursement .rr-file-limit-message{display:flex;align-items:center;gap:7px;margin-top:7px;padding:8px 10px;border:1px solid #efc77a;border-radius:7px;background:#fffaf0;color:#875500;font-size:10.5px;font-weight:600}
body.page-new-reimbursement .rr-file-limit-message[hidden]{display:none!important}
body.page-new-reimbursement .rr-file-limit-message i{font-size:12px}
body.page-new-reimbursement .rr-limit-pulse{animation:rrLimitPulse .35s ease}
@keyframes rrLimitPulse{50%{transform:translateY(-1px);box-shadow:0 0 0 3px rgba(216,154,39,.12)}}

body.page-reimbursement-detail .rr-admin-requester{display:flex;align-items:center;min-height:58px;padding:10px 16px;border-bottom:1px solid #e3eaee;background:#f8fafb}
body.page-reimbursement-detail .rr-admin-requester-copy{display:flex;align-items:baseline;gap:14px;min-width:0}
body.page-reimbursement-detail .rr-admin-requester-copy span{font-size:9px;line-height:1.2;text-transform:uppercase;letter-spacing:.045em;color:#70838f;font-weight:700;white-space:nowrap}
body.page-reimbursement-detail .rr-admin-requester-copy strong{font-size:15px;line-height:1.25;color:#123f5b;font-weight:700;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-request-line p{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:560px){body.page-reimbursement-detail .rr-admin-requester-copy{align-items:flex-start;flex-direction:column;gap:3px}}

/* V15.16 · ficha visual de Administración inspirada en mockup aprobado */
body.page-reimbursement-detail .rr-requester-profile{min-height:76px!important;padding:11px 16px!important;background:linear-gradient(90deg,#eef7fc 0%,#f6fbfe 100%)!important;gap:13px;border-bottom:1px solid #dce7ed!important}
body.page-reimbursement-detail .rr-requester-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;display:grid;place-items:center;background:#5e8fae;color:#fff;font-size:15px;font-weight:700;letter-spacing:.02em;box-shadow:0 0 0 5px rgba(255,255,255,.58)}
body.page-reimbursement-detail .rr-requester-profile-copy{min-width:0;display:flex;flex-direction:column;justify-content:center}
body.page-reimbursement-detail .rr-requester-label{font-size:9px;line-height:1.1;text-transform:uppercase;letter-spacing:.055em;color:#6e8290;font-weight:700;margin-bottom:2px}
body.page-reimbursement-detail .rr-requester-profile-copy>strong{font-size:15px;line-height:1.25;color:#0d3e5d;font-weight:800}
body.page-reimbursement-detail .rr-requester-meta{display:flex;flex-wrap:wrap;gap:0;margin-top:3px;color:#607b8d;font-size:9.5px}
body.page-reimbursement-detail .rr-requester-meta span{display:flex;align-items:center}
body.page-reimbursement-detail .rr-requester-meta span+span:before{content:"";width:1px;height:11px;background:#b9cbd6;margin:0 9px}

body.page-reimbursement-detail .rr-admin-management .rr-management-head{padding:17px 18px 15px!important}
body.page-reimbursement-detail .rr-admin-management .rr-management-head h3{font-size:16px!important}
body.page-reimbursement-detail .rr-admin-management .rr-review{padding:14px 18px 18px!important}
body.page-reimbursement-detail .rr-admin-management .rr-review:before{content:"Acción a realizar";display:block;font-size:10px;font-weight:700;color:#496375;margin-bottom:-2px}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-full{min-height:48px!important;border-radius:8px!important;font-size:12px!important}
body.page-reimbursement-detail .rr-admin-management .rr-review>textarea{min-height:100px!important;border-radius:8px!important}
body.page-reimbursement-detail .rr-admin-management .rr-review>.rr-two .btn{min-height:44px!important;border-radius:8px!important}

/* Seguimiento horizontal por etapas */
body.page-reimbursement-detail .rr-stage-history{padding:0!important;overflow:hidden}
body.page-reimbursement-detail .rr-stage-history .rr-history-heading{padding:14px 17px 10px!important}
body.page-reimbursement-detail .rr-stage-track{display:grid;grid-template-columns:minmax(170px,1.15fr) minmax(50px,.6fr) minmax(150px,1fr) minmax(50px,.6fr) minmax(150px,1fr) minmax(50px,.6fr) minmax(150px,1fr);align-items:center;padding:14px 18px 18px;min-height:104px}
body.page-reimbursement-detail .rr-stage-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
body.page-reimbursement-detail .rr-stage-dot{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e8eef2;color:#7890a0;font-size:14px;box-shadow:0 0 0 4px #f7fafb}
body.page-reimbursement-detail .rr-stage-step.is-current .rr-stage-dot{background:#dceef9;color:#1674ad;box-shadow:0 0 0 4px #edf7fc}
body.page-reimbursement-detail .rr-stage-step.is-done .rr-stage-dot{background:#1786d2;color:#fff;box-shadow:0 0 0 4px #dceffc}
body.page-reimbursement-detail .rr-stage-copy{display:flex;flex-direction:column;min-width:0;line-height:1.22}
body.page-reimbursement-detail .rr-stage-copy>span{font-size:8.5px;color:#718693;margin-bottom:2px}
body.page-reimbursement-detail .rr-stage-copy>strong{font-size:10.5px;color:#34566b;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-reimbursement-detail .rr-stage-copy>b{font-size:10.5px;color:#1a6fa7;margin-top:2px;font-weight:700}
body.page-reimbursement-detail .rr-stage-copy>small{font-size:9px;color:#718693;margin-top:2px;line-height:1.25}
body.page-reimbursement-detail .rr-stage-step:not(.is-current):not(.is-done) .rr-stage-copy>b{color:#627b8a}
body.page-reimbursement-detail .rr-stage-line{height:2px;background:#dce5ea;margin:0 12px}
body.page-reimbursement-detail .rr-stage-line.is-done{background:#48a5e1}
@media(max-width:1050px){body.page-reimbursement-detail .rr-stage-track{grid-template-columns:1fr;gap:0;padding:12px 18px 16px}body.page-reimbursement-detail .rr-stage-line{width:2px;height:22px;margin:0 0 0 18px}body.page-reimbursement-detail .rr-stage-step{min-height:54px}}
@media(max-width:560px){body.page-reimbursement-detail .rr-requester-meta{flex-direction:column;gap:2px}body.page-reimbursement-detail .rr-requester-meta span+span:before{display:none}}

/* REE observado: lectura y corrección clara, compacta y resistente a textos largos */
body.page-reimbursement-detail .rr-observation-owner{
  display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;align-items:start;
  margin:0 0 12px;padding:12px 15px;background:#fffaf0;border:1px solid #edcf83;
  border-left:4px solid #d39a19;border-radius:10px;color:#273f50;
}
body.page-reimbursement-detail .rr-observation-owner .rr-obs-icon{width:30px;height:30px;border-radius:8px;background:#fff0c9;color:#9b6800;display:grid;place-items:center}
body.page-reimbursement-detail .rr-observation-owner .rr-obs-copy{min-width:0}
body.page-reimbursement-detail .rr-observation-owner .rr-obs-kicker{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.055em;font-weight:800;color:#956400;margin-bottom:2px}
body.page-reimbursement-detail .rr-observation-owner strong{display:block;font-size:12px;color:#614a10;margin-bottom:4px}
body.page-reimbursement-detail .rr-observation-owner p{margin:0;font-size:11px;line-height:1.45;color:#5d522f;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.page-reimbursement-detail .rr-action-owner{margin-bottom:14px;padding:11px 14px;min-height:0}
body.page-reimbursement-detail .rr-action-owner .rr-action-copy h2{font-size:13px;margin:1px 0 2px}
body.page-reimbursement-detail .rr-action-owner .rr-action-copy p{font-size:10px;margin:0}

body.page-reimbursement-form .rr-correction-panel{margin:0 0 16px;background:#fff;border:1px solid #d8e2e9;border-left:4px solid #d39a19;border-radius:10px;overflow:hidden}
body.page-reimbursement-form .rr-correction-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:11px 14px;background:#fffaf0;border-bottom:1px solid #f0dfb6}
body.page-reimbursement-form .rr-correction-head>div{min-width:0}
body.page-reimbursement-form .rr-correction-head span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.055em;font-weight:800;color:#956400;margin-bottom:2px}
body.page-reimbursement-form .rr-correction-head strong{font-size:13px;color:#263f51}
body.page-reimbursement-form .rr-correction-head small{font-size:10px;color:#758692;white-space:nowrap}
body.page-reimbursement-form .rr-correction-message{padding:12px 14px}
body.page-reimbursement-form .rr-correction-message label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.045em;font-weight:800;color:#6d7e89;margin-bottom:4px}
body.page-reimbursement-form .rr-correction-message p{margin:0;font-size:11.5px;line-height:1.5;color:#4b5f6d;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.page-reimbursement-form .rr-correction-help{display:flex;align-items:center;gap:7px;padding:9px 14px;background:#f7fafc;border-top:1px solid #e5ecef;color:#647985;font-size:10px}
body.page-reimbursement-form .rr-correction-help i{color:#27769f}
@media(max-width:700px){body.page-reimbursement-form .rr-correction-head{align-items:flex-start;flex-direction:column;gap:4px}body.page-reimbursement-form .rr-correction-head small{white-space:normal}}

/* Reembolsos: borrador sin correlativo y hora de recepción para gestión */
.rr-draft-label{font-weight:700;color:#66788a;font-size:.78rem;letter-spacing:.01em}
.rr-time{display:block;margin-top:2px;color:#6f8193;font-size:.72rem;font-weight:600}

/* Reembolsos observados: enfoque de subsanación */
body.page-reimbursements .rr-status.rr-observado,body.page-reimbursement-detail .rr-status.rr-observado{background:#fde7e7!important;color:#a72e2e!important;}
body.page-reimbursement-detail .rr-subsanacion-focus{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:start;padding:18px 20px;margin-bottom:16px;border:1px solid #efc1c1;border-left:4px solid #c93636;background:#fffafa;}
body.page-reimbursement-detail .rr-subsanacion-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#fde7e7;color:#b72f2f;font-size:16px;}
body.page-reimbursement-detail .rr-subsanacion-kicker{display:block;font-size:9px;letter-spacing:.07em;font-weight:800;color:#b12c2c;margin-bottom:3px;}
body.page-reimbursement-detail .rr-subsanacion-content h2{margin:0 0 12px;font-size:16px;color:#7e1f1f;}
body.page-reimbursement-detail .rr-subsanacion-label{margin:0 0 4px;font-size:10px;font-weight:800;color:#65737d;text-transform:uppercase;letter-spacing:.04em;}
body.page-reimbursement-detail .rr-subsanacion-reason{padding:10px 12px;border-radius:8px;background:#fff;border:1px solid #efd1d1;font-size:12px;font-weight:700;color:#4c3030;line-height:1.45;}
body.page-reimbursement-detail .rr-subsanacion-help{margin:9px 0 0;font-size:11px;color:#687984;line-height:1.45;}
body.page-reimbursement-detail .rr-subsanacion-button{align-self:center;white-space:nowrap;}
@media(max-width:850px){body.page-reimbursement-detail .rr-subsanacion-focus{grid-template-columns:40px 1fr;}body.page-reimbursement-detail .rr-subsanacion-button{grid-column:1/-1;width:100%;justify-content:center;}}

/* Reembolsos observados: estado y vista de atención de observación */
body.page-reimbursements .rr-status.rr-observado,body.page-reimbursement-detail .rr-status.rr-observado{background:#fde7e7!important;color:#b42318!important;}
body.page-reimbursement-detail .rr-subsanacion-focus{align-items:center;padding:16px 20px;background:#fff8f8;border-color:#f1b8b8;border-left-color:#d92d20;}
body.page-reimbursement-detail .rr-subsanacion-icon{background:#fee4e2;color:#d92d20;border-radius:50%;}
body.page-reimbursement-detail .rr-subsanacion-content h2{margin:0 0 10px;color:#b42318;}
body.page-reimbursement-detail .rr-subsanacion-reason{background:#fff;border-color:#f1c7c7;color:#243746;}

/* Reembolsos: respuesta del solicitante al reenviar una observación */
body.page-reimbursement-detail .rr-admin-response{
  margin:12px 16px 0;
  padding:10px 12px;
  border:1px solid #d9e5ec;
  border-radius:8px;
  background:#f7fafc;
}
body.page-reimbursement-detail .rr-admin-response span{
  display:block;
  margin-bottom:4px;
  font-size:9.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#567083;
}
body.page-reimbursement-detail .rr-admin-response p{
  margin:0;
  font-size:11px;
  line-height:1.4;
  color:#123e5c;
}

/* Reembolsos V17.10: unificar botón X de sustentos guardados con archivos recién agregados */
body.page-reimbursement-form .rr-remove-existing{
  display:grid;
  place-items:center;
  align-self:stretch;
  min-width:29px;
  padding:0;
  border:0;
  border-left:1px solid #d6e2e9;
  background:#fff;
  color:#6f7e87;
  cursor:pointer;
  font:inherit;
}
body.page-reimbursement-form .rr-remove-existing:hover{
  background:#fff1f1;
  color:#a33;
}
body.page-reimbursement-form .rr-remove-existing i{
  margin:0;
  font-size:11px;
}


/* Reembolsos rechazados: Administración roja, Tesorería no aplica y Cierre finalizado */
body.page-reimbursement-detail .rr-stage-step.is-rejected .rr-stage-dot{background:#d64545;color:#fff;box-shadow:0 0 0 4px #fde7e7}
body.page-reimbursement-detail .rr-stage-step.is-rejected .rr-stage-copy>b{color:#b42318}

/* V17 FIX: Observado = advertencia amarilla; Rechazado = cierre rojo */
body.page-reimbursements .rr-status.rr-observado,
body.page-reimbursement-detail .rr-status.rr-observado {
  background:#fff0c7!important;
  color:#8a5a00!important;
}
body.page-reimbursement-detail .rr-subsanacion-focus {
  background:#fffaf0!important;
  border-color:#efd69a!important;
  border-left-color:#d99a13!important;
}
body.page-reimbursement-detail .rr-subsanacion-icon {
  background:#fff0c7!important;
  color:#a86c00!important;
}
body.page-reimbursement-detail .rr-subsanacion-content h2 { color:#8a5a00!important; }
body.page-reimbursement-detail .rr-subsanacion-reason {
  background:#fff!important;
  border-color:#ecd7a8!important;
  color:#243746!important;
}

body.page-reimbursement-detail .rr-rejection-focus {
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:16px 20px;
  margin-bottom:16px;
  border:1px solid #efb4b4;
  border-left:4px solid #d64545;
  border-radius:12px;
  background:#fff8f8;
}
body.page-reimbursement-detail .rr-rejection-icon {
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fee4e2;
  color:#c72f2f;
  font-size:16px;
}
body.page-reimbursement-detail .rr-rejection-content { min-width:0; }
body.page-reimbursement-detail .rr-rejection-content h2 {
  margin:0 0 10px;
  font-size:16px;
  color:#a92222;
}
body.page-reimbursement-detail .rr-rejection-label {
  margin:0 0 4px;
  font-size:10px;
  font-weight:800;
  color:#a92222;
  text-transform:uppercase;
  letter-spacing:.04em;
}
body.page-reimbursement-detail .rr-rejection-reason {
  padding:10px 12px;
  border-radius:8px;
  background:#fff;
  border:1px solid #efc5c5;
  font-size:12px;
  font-weight:700;
  color:#3f3030;
  line-height:1.45;
  overflow-wrap:anywhere;
}
body.page-reimbursement-detail .rr-rejection-help {
  margin:9px 0 0;
  font-size:11px;
  color:#765e5e;
  line-height:1.45;
}
@media(max-width:700px) {
  body.page-reimbursement-detail .rr-rejection-focus { grid-template-columns:40px 1fr; padding:14px; }
}


/* V17.11: Rechazo compacto, misma estructura visual que Observación pero en rojo */
body.page-reimbursement-detail .rr-rejection-panel{margin:0 0 16px;background:#fff;border:1px solid #efb6b6;border-left:4px solid #d64545;border-radius:10px;overflow:hidden;}
body.page-reimbursement-detail .rr-rejection-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:11px 14px;background:#fff5f5;border-bottom:1px solid #f2cccc;}
body.page-reimbursement-detail .rr-rejection-head span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.055em;font-weight:800;color:#b42318;}
body.page-reimbursement-detail .rr-rejection-head small{font-size:10px;color:#758692;white-space:nowrap;}
body.page-reimbursement-detail .rr-rejection-message{padding:12px 14px;font-size:11.5px;line-height:1.5;color:#4b3030;white-space:normal;overflow-wrap:anywhere;word-break:break-word;}
@media(max-width:700px){body.page-reimbursement-detail .rr-rejection-head{align-items:flex-start;flex-direction:column;gap:4px}body.page-reimbursement-detail .rr-rejection-head small{white-space:normal}}


/* V17 · Tesorería: mismo lenguaje visual que Administración (solo presentación) */
body.page-reimbursement-detail .rr-treasury-management .rr-management-head{
  display:block!important;
  padding:17px 18px 15px!important;
  background:#fff!important;
  border-bottom:1px solid #e2e9ee!important;
}
body.page-reimbursement-detail .rr-treasury-management .rr-management-head h3{
  font-size:16px!important;
  margin:0 0 4px!important;
}
body.page-reimbursement-detail .rr-treasury-management .rr-management-head p{
  font-size:10.5px!important;
  line-height:1.35!important;
  max-width:260px;
}
body.page-reimbursement-detail .rr-treasury-management .rr-treasury-start{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:14px 16px 16px!important;
}
body.page-reimbursement-detail .rr-treasury-management .rr-treasury-action-label{
  margin:0!important;
  font-size:10.5px!important;
  font-weight:700!important;
  color:#536570!important;
}
body.page-reimbursement-detail .rr-treasury-management .rr-treasury-start>.rr-full{
  margin:0!important;
  min-height:48px!important;
  border-radius:8px!important;
  font-size:12px!important;
}
body.page-reimbursement-detail .rr-treasury-management .rr-treasury-start-help{
  margin:2px 0 0!important;
  padding:10px 12px!important;
  border-radius:7px!important;
  background:#f6f9fb!important;
  color:#607783!important;
  font-size:10.5px!important;
  line-height:1.4!important;
}


/* V17.12 - Reembolsos: fecha de envío compacta (fecha + hora) como diseño original */
body.page-reimbursements .rr-date-cell .rr-date-main,
body.page-reimbursements .rr-date-cell .rr-time-main{display:block;white-space:nowrap;}
body.page-reimbursements .rr-date-cell .rr-time-main{margin-top:2px;color:#667d89;}

/* V17.12 - Inicio / Administración: tabla de reembolsos con la misma densidad del módulo Reembolsos */
.home-rr-table-wrap{width:100%;overflow-x:hidden;}
.home-rr-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;}
.home-rr-table col.home-rr-code{width:14%;}
.home-rr-table col.home-rr-date{width:13%;}
.home-rr-table col.home-rr-requester{width:13%;}
.home-rr-table col.home-rr-description{width:39%;}
.home-rr-table col.home-rr-amount{width:10%;}
.home-rr-table col.home-rr-action{width:11%;}
.home-rr-table th,.home-rr-table td{padding:11px 12px;vertical-align:middle;min-width:0;}
.home-rr-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.home-rr-table .home-rr-date-cell span,.home-rr-table .home-rr-date-cell small{display:block;white-space:nowrap;}
.home-rr-table .home-rr-date-cell small{margin-top:2px;color:#667d89;font-size:10px;}
.home-rr-table .home-rr-description-cell,.home-rr-table .home-rr-requester-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.home-rr-table .home-rr-amount-cell{white-space:nowrap;}
.home-rr-table .home-rr-action-cell{text-align:center;overflow:visible;}
.home-rr-table .rr-icon-action{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;}
@media(max-width:900px){.home-rr-table-wrap{overflow-x:auto}.home-rr-table{min-width:850px;}}
/* Reembolsos múltiples V18 */
.rr-number-grid,.rr-payment-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;align-items:end}.rr-items-wrap{overflow-x:auto;margin-top:10px;border:1px solid #d7e2ea;border-radius:8px}.rr-items-table{width:100%;border-collapse:collapse;min-width:780px}.rr-items-table th{background:#123f5d;color:#fff;padding:10px 12px;font-size:11px;text-align:left}.rr-items-table th:first-child,.rr-items-table th:last-child{text-align:center}.rr-items-table td{padding:7px;border-bottom:1px solid #dbe5eb}.rr-items-table tr:last-child td{border-bottom:0}.rr-items-table input{width:100%;height:38px;border:1px solid #c7d7e2;border-radius:7px;padding:0 10px;background:#fff}.rr-row-number{text-align:center;font-weight:700;color:#46657a;width:52px}.rr-delete-row{width:38px;height:38px;border:1px solid #ffb9b9;background:#fff5f5;color:#d93030;border-radius:7px;cursor:pointer}.rr-items-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:10px}.rr-add-row{border:1px solid #1e78ad;background:#fff;color:#0e5e8f}.rr-total{display:flex;align-items:center;gap:8px}.rr-total span{background:#edf6fb;padding:12px 18px;font-size:11px;font-weight:800}.rr-total strong{background:#edf6fb;border:1px solid #cce0ec;border-radius:7px;padding:10px 18px;min-width:150px;font-size:17px;color:#083f63}.rr-observed-banner{border:1px solid #efc15c;border-left:4px solid #e0a400;background:#fffaf0;border-radius:9px;padding:12px 15px;margin-bottom:14px;display:flex;flex-direction:column;gap:6px}.rr-observed-banner strong{font-size:11px;color:#946000}@media(max-width:800px){.rr-number-grid,.rr-payment-grid{grid-template-columns:1fr}.rr-items-footer{align-items:stretch;flex-direction:column}.rr-total{justify-content:flex-end}}

/* V18.1 - Reembolsos: formulario compacto alineado con Requerimientos */
.reimbursement-create-page .lanr-create-card{margin-top:14px}
.reimbursement-create-page .lanr-create-section{padding:12px 14px}
.reimbursement-create-page .lanr-section-label{font-size:12px;margin-bottom:6px}
.reimbursement-create-page .field label{font-size:11px;margin-bottom:5px}
.reimbursement-create-page .field-help{font-size:10px}
.reimbursement-create-page .rr-number-grid{grid-template-columns:390px 1fr;gap:12px;align-items:center}
.reimbursement-create-page .rr-number-grid input{height:38px}
.reimbursement-create-page .pre-review-note{min-height:38px;padding:8px 12px}
.reimbursement-create-page .rr-items-wrap{margin-top:6px;border-radius:7px}
.reimbursement-create-page .rr-items-table{min-width:760px;table-layout:fixed}
.reimbursement-create-page .rr-items-table th{height:32px;padding:6px 8px;font-size:10px;text-transform:uppercase}
.reimbursement-create-page .rr-items-table th:nth-child(1){width:44px}
.reimbursement-create-page .rr-items-table th:nth-child(2){width:180px}
.reimbursement-create-page .rr-items-table th:nth-child(3){width:auto}
.reimbursement-create-page .rr-items-table th:nth-child(4){width:165px}
.reimbursement-create-page .rr-items-table th:nth-child(5){width:74px}
.reimbursement-create-page .rr-items-table td{padding:5px 6px;height:48px}
.reimbursement-create-page .rr-items-table input{height:36px;padding:0 9px;font-size:12px;border-radius:6px}
.reimbursement-create-page .rr-row-number{width:44px;font-size:11px}
.reimbursement-create-page .rr-delete-row{width:36px;height:36px;border-radius:6px}
.reimbursement-create-page .rr-items-footer{margin-top:7px;gap:10px}
.reimbursement-create-page .rr-add-row{height:36px;padding:0 12px;font-size:11px}
.reimbursement-create-page .rr-total{gap:6px}
.reimbursement-create-page .rr-total span{height:36px;display:flex;align-items:center;padding:0 14px;font-size:10px}
.reimbursement-create-page .rr-total strong{height:36px;display:flex;align-items:center;padding:0 14px;min-width:130px;font-size:15px}
.reimbursement-create-page .rr-payment-grid{grid-template-columns:1fr 1fr;gap:12px}
.reimbursement-create-page .rr-payment-grid select,
.reimbursement-create-page #reimbursementDestinationField input{height:38px;font-size:12px}
.reimbursement-create-page textarea{min-height:68px!important;font-size:12px}
.reimbursement-create-page .lanr-file-picker{min-height:46px;padding:8px 12px}
.reimbursement-create-page .lanr-create-actions{padding:10px 14px}
@media(max-width:800px){.reimbursement-create-page .rr-number-grid,.reimbursement-create-page .rr-payment-grid{grid-template-columns:1fr}}
\n\n/* V18.2 - Reembolso alineado visualmente con la plantilla de Requerimientos */\nbody.page-new-reimbursement .reimbursement-create-page{width:100%;max-width:none;margin:0;padding:0;}\nbody.page-new-reimbursement .lanr-create-head{margin-bottom:18px;}\nbody.page-new-reimbursement .lanr-create-head h1{margin-top:10px;}\nbody.page-new-reimbursement #reimbursementForm.lanr-create-card{width:100%;}\nbody.page-new-reimbursement #reimbursementForm .lanr-create-section{padding:15px 14px;}\nbody.page-new-reimbursement #reimbursementForm .lanr-section-label{margin-bottom:10px;}\nbody.page-new-reimbursement .rr-number-grid{grid-template-columns:minmax(300px,.8fr) 1.2fr;gap:12px;align-items:end;}\nbody.page-new-reimbursement .rr-number-grid .pre-review-note{min-height:40px;}\nbody.page-new-reimbursement .rr-items-wrap{margin-top:8px;border-radius:7px;}\nbody.page-new-reimbursement .rr-items-table{min-width:760px;table-layout:fixed;}\nbody.page-new-reimbursement .rr-items-table th{height:32px;padding:6px 8px;font-size:10px;text-transform:uppercase;}\nbody.page-new-reimbursement .rr-items-table th:nth-child(1){width:44px;text-align:center;}\nbody.page-new-reimbursement .rr-items-table th:nth-child(2){width:180px;}\nbody.page-new-reimbursement .rr-items-table th:nth-child(3){width:auto;}\nbody.page-new-reimbursement .rr-items-table th:nth-child(4){width:165px;}\nbody.page-new-reimbursement .rr-items-table th:nth-child(5){width:80px;text-align:center;}\nbody.page-new-reimbursement .rr-items-table td{height:48px;padding:5px 6px;}\nbody.page-new-reimbursement .rr-items-table input{height:36px;padding:0 9px;font-size:12px;border-radius:6px;}\nbody.page-new-reimbursement .rr-delete-row{width:36px;height:36px;}\nbody.page-new-reimbursement .rr-items-footer{margin-top:9px;}\nbody.page-new-reimbursement .rr-add-row{height:38px;padding:0 13px;}\nbody.page-new-reimbursement .rr-total span{height:38px;display:flex;align-items:center;padding:0 15px;}\nbody.page-new-reimbursement .rr-total strong{height:38px;display:flex;align-items:center;padding:0 15px;min-width:130px;font-size:16px;}\nbody.page-new-reimbursement .rr-payment-grid{grid-template-columns:1fr 1fr;gap:12px;}\nbody.page-new-reimbursement #reimbursementForm textarea{min-height:74px;}\nbody.page-new-reimbursement #reimbursementForm .lanr-file-picker{min-height:48px;}\nbody.page-new-reimbursement #reimbursementForm .lanr-create-actions{padding:12px 14px;}\n@media(max-width:800px){body.page-new-reimbursement .rr-number-grid,body.page-new-reimbursement .rr-payment-grid{grid-template-columns:1fr;}}\n
/* V19.1 - Ajustes finales formulario Reembolso */
body.page-new-reimbursement #reimbursementForm .lanr-create-actions .lanr-save-btn{gap:7px;}
body.page-new-reimbursement #reimbursementForm .lanr-create-actions .lanr-save-btn i{margin:0;flex:0 0 auto;}
body.page-new-reimbursement #reimbursementForm .lanr-create-actions .lanr-save-btn span{display:inline-block;}
body.page-new-reimbursement #reimbursementForm .lanr-create-actions .rr-draft-btn{background:#fff;color:#082f49;border:1px solid #cbdbe5;}
body.page-new-reimbursement #reimbursementForm .lanr-create-actions .rr-draft-btn:hover{background:#f7fafc;}

/* LANR: indicador visual uniforme para campos opcionales */
.optional-label,
.rr-optional-label {
  font-weight: 400 !important;
  color: #667085 !important;
  font-size: .9em;
}

/* V19.7 - Reembolsos: lectura de Administración/Tesorería y tabla adaptable */
body.page-reimbursement-detail .rr-registered-by{margin-top:5px;color:#60798a;font-size:10px;line-height:1.35}
body.page-reimbursement-detail .rr-registered-by strong{font-size:10px!important;color:#31566d!important}
body.page-reimbursement-detail .rr-detail-items{width:100%;overflow-x:auto}
body.page-reimbursement-detail .rr-detail-items .rr-items-table{width:100%;min-width:0!important;table-layout:fixed}
body.page-reimbursement-detail .rr-detail-items .rr-items-table th:nth-child(1){width:44px}
body.page-reimbursement-detail .rr-detail-items .rr-items-table th:nth-child(2){width:100px}
body.page-reimbursement-detail .rr-detail-items .rr-items-table th:nth-child(4){width:105px}
body.page-reimbursement-detail .rr-detail-items .rr-items-table th:nth-child(5){width:105px}
body.page-reimbursement-detail .rr-detail-items .rr-items-table td{vertical-align:top;overflow-wrap:anywhere;word-break:normal}
body.page-new-reimbursement #rrBeneficiarySearch:disabled{background:#f1f4f6;color:#8798a3;cursor:not-allowed}
body.page-new-reimbursement #rrBeneficiaryToggle:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1100px){body.page-reimbursement-detail .rr-detail-grid:not(.rr-detail-grid-single){grid-template-columns:minmax(0,1fr) 300px!important}body.page-reimbursement-detail .rr-detail-items .rr-items-table{min-width:650px!important}}

/* V19.8 - Detalle de reembolso: distribución estable y responsive */
body.page-reimbursement-detail .rr-detail-page{min-width:0}
body.page-reimbursement-detail .rr-detail-grid{min-width:0;grid-template-columns:minmax(0,1fr) 315px!important;gap:14px!important}
body.page-reimbursement-detail .rr-main-column,
body.page-reimbursement-detail .rr-unified-card,
body.page-reimbursement-detail .rr-request-style-summary{min-width:0;max-width:100%}
body.page-reimbursement-detail .rr-detail-grid-single{display:block!important}
body.page-reimbursement-detail .rr-detail-grid-single .rr-main-column{width:100%}

/* Resumen superior: información legible sin apretar contenido */
body.page-reimbursement-detail .rr-request-summary-grid{grid-template-columns:minmax(190px,1.15fr) minmax(140px,.75fr) minmax(165px,.9fr)!important}
body.page-reimbursement-detail .rr-request-summary-field{min-width:0;padding:14px 16px!important;align-items:flex-start!important}
body.page-reimbursement-detail .rr-request-summary-field:nth-child(4){grid-column:1/-1;border-top:1px solid #e4ebef;border-right:0!important}
body.page-reimbursement-detail .rr-info-copy{min-width:0}
body.page-reimbursement-detail .rr-info-copy strong,
body.page-reimbursement-detail .rr-info-copy small{overflow-wrap:anywhere;word-break:break-word}
body.page-reimbursement-detail .rr-requester-profile{min-width:0}
body.page-reimbursement-detail .rr-requester-profile-copy{min-width:0}

/* Medios de pago: cada medio se lee como un bloque separado */
body.page-reimbursement-detail .rr-request-summary-field:nth-child(4) .rr-info-copy{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);column-gap:14px;row-gap:2px;width:100%}
body.page-reimbursement-detail .rr-request-summary-field:nth-child(4) .rr-info-copy>span{grid-column:1/-1;margin-bottom:3px}
body.page-reimbursement-detail .rr-request-summary-field:nth-child(4) .rr-info-copy>strong{grid-column:1}
body.page-reimbursement-detail .rr-request-summary-field:nth-child(4) .rr-info-copy>small{grid-column:2;align-self:center}

/* Tabla de gastos: sin superposiciones ni scroll horizontal en escritorio */
body.page-reimbursement-detail .rr-detail-items{width:100%;max-width:100%;overflow:visible!important}
body.page-reimbursement-detail .rr-detail-expense-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
body.page-reimbursement-detail .rr-detail-expense-table th,
body.page-reimbursement-detail .rr-detail-expense-table td{box-sizing:border-box;min-width:0;white-space:normal!important}
body.page-reimbursement-detail .rr-detail-expense-table th{padding:10px 10px!important;font-size:10px!important}
body.page-reimbursement-detail .rr-detail-expense-table td{padding:9px 10px!important;font-size:11px!important;line-height:1.4!important;vertical-align:top!important;overflow:hidden!important}
body.page-reimbursement-detail .rr-detail-expense-table th:nth-child(1){width:44px!important;text-align:center}
body.page-reimbursement-detail .rr-detail-expense-table th:nth-child(2){width:105px!important}
body.page-reimbursement-detail .rr-detail-expense-table th:nth-child(3){width:auto!important}
body.page-reimbursement-detail .rr-detail-expense-table th:nth-child(4){width:110px!important}
body.page-reimbursement-detail .rr-detail-expense-table th:nth-child(5){width:105px!important;text-align:right}
body.page-reimbursement-detail .rr-expense-date,
body.page-reimbursement-detail .rr-expense-currency,
body.page-reimbursement-detail .rr-expense-amount{white-space:nowrap!important}
body.page-reimbursement-detail .rr-expense-amount{text-align:right}
body.page-reimbursement-detail .rr-expense-text{white-space:normal;overflow-wrap:anywhere;word-break:break-word}
body.page-reimbursement-detail .rr-item-docs{display:flex;flex-direction:column;gap:3px;margin-top:4px;min-width:0}
body.page-reimbursement-detail .rr-item-docs a{display:flex;align-items:flex-start;gap:5px;min-width:0;max-width:100%;font-size:10px;line-height:1.3;text-decoration:none}
body.page-reimbursement-detail .rr-item-docs a span{min-width:0;overflow-wrap:anywhere;word-break:break-word}

/* Nota y panel de Administración */
body.page-reimbursement-detail .rr-request-line{min-width:0}
body.page-reimbursement-detail .rr-request-line .rr-info-copy{min-width:0}
body.page-reimbursement-detail .rr-request-line p{white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;line-height:1.45}
body.page-reimbursement-detail .rr-management-card{width:100%;min-width:0;max-width:315px;position:sticky;top:14px}
body.page-reimbursement-detail .rr-admin-management .rr-review{min-width:0}
body.page-reimbursement-detail .rr-admin-management textarea{width:100%;box-sizing:border-box;resize:vertical}
body.page-reimbursement-detail .rr-admin-management .rr-two{grid-template-columns:1fr 1fr;gap:8px}
body.page-reimbursement-detail .rr-admin-management .rr-two .btn{min-width:0;padding-left:8px!important;padding-right:8px!important}

/* Seguimiento: ocupa todo el ancho disponible y baja ordenadamente */
body.page-reimbursement-detail .rr-stage-history{clear:both;min-width:0;overflow:hidden}
body.page-reimbursement-detail .rr-stage-track{min-width:0}

@media(max-width:1050px){
 body.page-reimbursement-detail .rr-detail-grid{grid-template-columns:1fr!important}
 body.page-reimbursement-detail .rr-management-card{position:static;max-width:none}
 body.page-reimbursement-detail .rr-request-summary-grid{grid-template-columns:1fr 1fr!important}
 body.page-reimbursement-detail .rr-request-summary-field:nth-child(4){grid-column:1/-1}
}
@media(max-width:700px){
 body.page-reimbursement-detail .request-detail-pagehead{align-items:flex-start;gap:10px}
 body.page-reimbursement-detail .rr-back-btn{width:100%;justify-content:center}
 body.page-reimbursement-detail .rr-request-summary-grid{grid-template-columns:1fr!important}
 body.page-reimbursement-detail .rr-request-summary-field:nth-child(4){grid-column:auto}
 body.page-reimbursement-detail .rr-request-summary-field:nth-child(4) .rr-info-copy{grid-template-columns:1fr}
 body.page-reimbursement-detail .rr-request-summary-field:nth-child(4) .rr-info-copy>*{grid-column:1!important}
 body.page-reimbursement-detail .rr-detail-items{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 body.page-reimbursement-detail .rr-detail-expense-table{min-width:620px!important}
 body.page-reimbursement-detail .rr-admin-management .rr-two{grid-template-columns:1fr}
}

/* ===== Reembolso detalle - revisión visual V19.10 ===== */
body.page-reimbursement-detail .rr-unified-card{overflow:hidden;border-radius:12px}
body.page-reimbursement-detail .rr-admin-requester.rr-requester-profile{background:#fff;padding:12px 16px;min-height:70px}
body.page-reimbursement-detail .rr-requester-avatar{width:48px;height:48px;min-width:48px;border-radius:50%;display:grid;place-items:center;background:#6da5c4;color:#fff;font-size:16px;font-weight:800;border:3px solid #eef6fa}
body.page-reimbursement-detail .rr-requester-profile-copy{display:flex;flex-direction:column;gap:2px;min-width:0;margin-left:10px}
body.page-reimbursement-detail .rr-requester-label{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#6e8290;font-weight:800}
body.page-reimbursement-detail .rr-requester-profile-copy>strong{font-size:16px;color:#0c4161;line-height:1.2}
body.page-reimbursement-detail .rr-requester-meta{font-size:10px;color:#617987;text-transform:uppercase}
body.page-reimbursement-detail .rr-registered-by{font-size:10px;color:#587181;margin-top:2px}
body.page-reimbursement-detail .rr-reviewer-summary .rr-reviewer-metrics{grid-template-columns:1fr 1fr!important;border-top:1px solid #e3eaee!important;border-bottom:1px solid #e3eaee!important}
body.page-reimbursement-detail .rr-reviewer-summary .rr-reviewer-metrics .rr-request-summary-field{min-height:68px}
body.page-reimbursement-detail .rr-payment-summary{display:flex;gap:11px;align-items:flex-start;padding:12px 16px;background:#fff;border-bottom:1px solid #e3eaee}
body.page-reimbursement-detail .rr-payment-summary .rr-info-copy{min-width:0;flex:1}
body.page-reimbursement-detail .rr-payment-method-list{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:3px}
body.page-reimbursement-detail .rr-payment-method{display:flex;flex-direction:column;gap:1px;min-width:210px;max-width:100%}
body.page-reimbursement-detail .rr-payment-method strong{font-size:12px;color:#123f5b}
body.page-reimbursement-detail .rr-payment-method small{font-size:10px;color:#617987;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-expense-section-title{padding:12px 16px 8px;background:#fff;color:#163e58;font-size:14px;font-weight:800;border-bottom:1px solid #e3eaee}
body.page-reimbursement-detail .rr-detail-items{overflow:hidden!important;border:0!important;margin:0!important}
body.page-reimbursement-detail .rr-detail-expense-table{border-collapse:collapse!important}
body.page-reimbursement-detail .rr-detail-expense-table thead th{background:#124a6a!important;color:#fff!important;border:0!important}
body.page-reimbursement-detail .rr-detail-expense-table tbody td{border-bottom:1px solid #e5ecef!important;background:#fff!important}
body.page-reimbursement-detail .rr-expense-text{white-space:normal;overflow-wrap:anywhere;color:#263f50}
body.page-reimbursement-detail .rr-item-docs{display:flex;flex-direction:column;gap:7px;margin-top:9px;max-width:520px}
body.page-reimbursement-detail .rr-item-doc-card{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%!important;min-width:0!important;padding:7px 9px!important;border:1px solid #d7e3ea!important;border-radius:9px!important;background:#f8fbfd!important;text-decoration:none!important;box-shadow:none!important;transition:.15s ease}
body.page-reimbursement-detail .rr-item-doc-card:hover{border-color:#9dc4da!important;background:#f1f8fc!important}
body.page-reimbursement-detail .rr-item-doc-icon{width:34px;height:38px;border-radius:7px;display:grid;place-items:center;background:#e9f3f8;color:#155a7e;font-size:16px}
body.page-reimbursement-detail .rr-item-doc-copy{display:flex;flex-direction:column;min-width:0;line-height:1.2}
body.page-reimbursement-detail .rr-item-doc-copy small{font-size:8px;letter-spacing:.05em;color:#738692;font-weight:800}
body.page-reimbursement-detail .rr-item-doc-copy strong{font-size:10px;color:#173e57;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-reimbursement-detail .rr-item-doc-copy em{font-style:normal;font-size:9px;color:#7b8d98;margin-top:2px}
body.page-reimbursement-detail .rr-item-doc-action{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #b9d5e4;border-radius:999px;color:#12618d;background:#fff;font-size:10px;font-weight:800;white-space:nowrap}
body.page-reimbursement-detail .rr-note-line{margin:10px 14px 14px!important;border:1px solid #d9e5eb!important;border-radius:9px!important;background:#f8fbfd!important}
body.page-reimbursement-detail .rr-management-card{border-radius:12px!important}
body.page-reimbursement-detail .rr-management-card .rr-review textarea{min-height:118px!important}
@media(max-width:1100px){body.page-reimbursement-detail .rr-item-doc-card{grid-template-columns:34px minmax(0,1fr) auto}body.page-reimbursement-detail .rr-item-doc-copy strong{max-width:260px}}
@media(max-width:720px){body.page-reimbursement-detail .rr-reviewer-summary .rr-reviewer-metrics{grid-template-columns:1fr!important}body.page-reimbursement-detail .rr-payment-method-list{flex-direction:column;gap:8px}body.page-reimbursement-detail .rr-payment-method{min-width:0}body.page-reimbursement-detail .rr-detail-items{overflow-x:auto!important}body.page-reimbursement-detail .rr-detail-expense-table{min-width:680px!important}}

/* V19.12 - Reembolso: una opción Cuenta bancaria con múltiples cuentas */
body.page-new-reimbursement .rr-bank-accounts{grid-column:1/-1;border-top:1px solid #dbe6ed;padding:12px 10px 4px;margin-top:2px}
body.page-new-reimbursement .rr-bank-accounts.is-hidden{display:none}
body.page-new-reimbursement .rr-bank-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
body.page-new-reimbursement .rr-bank-head>div{display:flex;flex-direction:column;gap:2px}
body.page-new-reimbursement .rr-bank-head strong{font-size:12px;color:#123f5b}
body.page-new-reimbursement .rr-bank-head small{font-size:10px;color:#6a7f8d}
body.page-new-reimbursement .rr-add-bank{height:34px;padding:0 11px;font-size:11px;background:#fff;border:1px solid #b8cfdd;color:#0b527c}
body.page-new-reimbursement .rr-bank-list{display:flex;flex-direction:column;gap:8px}
body.page-new-reimbursement .rr-bank-row{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(260px,1.35fr) 38px;gap:10px;align-items:end;background:#f8fbfd;border:1px solid #d9e5ec;border-radius:8px;padding:10px}
body.page-new-reimbursement .rr-bank-row .rr-delete-bank{width:38px;height:38px}
@media(max-width:800px){body.page-new-reimbursement .rr-bank-head{align-items:flex-start;flex-direction:column}body.page-new-reimbursement .rr-bank-row{grid-template-columns:1fr 42px}body.page-new-reimbursement .rr-bank-row .field:first-child{grid-column:1/-1}}


/* Reembolsos: columna contextual Registrado por / Beneficiario */
body.page-reimbursements .rr-table-owner{min-width:980px!important;}
body.page-reimbursements .rr-table-owner col.rr-col-code{width:14%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-date{width:9%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-requester{width:15%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-description{width:21%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-amount{width:10%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-method{width:10%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-status{width:14%!important;}
body.page-reimbursements .rr-table-owner col.rr-col-actions{width:7%!important;}
body.page-reimbursements .rr-table-owner th:nth-child(n),
body.page-reimbursements .rr-table-owner td:nth-child(n){width:auto!important;}
body.page-reimbursements .rr-table .rr-requester-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
\n\n/* Reembolsos: trazabilidad cronológica de observaciones, reenvíos y cierre */\nbody.page-reimbursement-detail .rr-event-meta{display:flex;align-items:center;gap:6px;margin:-4px 0 7px;color:#8a6a22;font-size:10px;font-weight:700}\nbody.page-reimbursement-detail .rr-event-meta-rejected{margin:8px 16px 0;color:#9f2f2f}\nbody.page-reimbursement-detail .rr-event-log{border-top:1px solid #e3eaee;padding:0 18px 14px}\nbody.page-reimbursement-detail .rr-event-log-title{display:flex;align-items:center;gap:7px;padding:11px 0 8px;color:#506b7c;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}\nbody.page-reimbursement-detail .rr-event-row{display:grid;grid-template-columns:10px 82px minmax(0,1fr);gap:10px;align-items:start;position:relative;padding:7px 0}\nbody.page-reimbursement-detail .rr-event-marker{width:8px;height:8px;border-radius:50%;margin-top:4px;background:#1e93d2;box-shadow:0 0 0 3px #e6f4fb}\nbody.page-reimbursement-detail .rr-event-marker.is-observed{background:#d69a16;box-shadow:0 0 0 3px #fff3d6}\nbody.page-reimbursement-detail .rr-event-marker.is-rejected{background:#c83d3d;box-shadow:0 0 0 3px #fde8e8}\nbody.page-reimbursement-detail .rr-event-marker.is-done{background:#24835a;box-shadow:0 0 0 3px #e4f4ec}\nbody.page-reimbursement-detail .rr-event-time{font-size:9px;color:#728795;line-height:1.25}\nbody.page-reimbursement-detail .rr-event-time strong{display:block;color:#536b79;font-size:10px}\nbody.page-reimbursement-detail .rr-event-body{min-width:0;line-height:1.3}\nbody.page-reimbursement-detail .rr-event-body b{display:block;color:#173f59;font-size:11px}\nbody.page-reimbursement-detail .rr-event-body span{display:inline-block;margin-right:8px;color:#587080;font-size:9px}\nbody.page-reimbursement-detail .rr-event-body small{display:block;margin-top:2px;color:#6d7f8a;font-size:9px;white-space:normal}\n@media(max-width:700px){body.page-reimbursement-detail .rr-event-row{grid-template-columns:10px 68px minmax(0,1fr)}body.page-reimbursement-detail .rr-event-log{padding-left:14px;padding-right:14px}}\n
/* V19.1 · Seguimiento vivo: cada evento real ocupa un momento de la misma línea */
body.page-reimbursement-detail .rr-live-track-wrap{overflow-x:auto;overflow-y:hidden;padding:0 18px 4px;scrollbar-width:thin;scrollbar-color:#c9d8e1 transparent}
body.page-reimbursement-detail .rr-live-track{display:flex;align-items:flex-start;min-width:max-content;padding:17px 0 16px}
body.page-reimbursement-detail .rr-live-step{display:grid;grid-template-columns:38px 150px;gap:9px;align-items:start;width:197px;min-width:197px}
body.page-reimbursement-detail .rr-live-node{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#1786d2;color:#fff;font-size:13px;box-shadow:0 0 0 4px #dceffc}
body.page-reimbursement-detail .rr-live-copy{display:flex;flex-direction:column;min-width:0;line-height:1.22;padding-top:1px}
body.page-reimbursement-detail .rr-live-copy>span{font-size:8.5px;color:#718693;margin-bottom:2px;white-space:nowrap}
body.page-reimbursement-detail .rr-live-copy>strong{font-size:10.5px;color:#123f5b;font-weight:800;line-height:1.25}
body.page-reimbursement-detail .rr-live-copy>b{font-size:9.5px;color:#45677b;margin-top:3px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-reimbursement-detail .rr-live-copy>small{font-size:8.8px;color:#718693;margin-top:3px;line-height:1.28;max-width:145px;white-space:normal;overflow-wrap:anywhere}
body.page-reimbursement-detail .rr-live-line{width:42px;min-width:42px;height:2px;background:#dce5ea;margin:18px 9px 0}
body.page-reimbursement-detail .rr-live-line.is-done{background:#48a5e1}
body.page-reimbursement-detail .rr-live-line.is-stopped{background:#d9a5a5}
body.page-reimbursement-detail .rr-live-step.is-observed .rr-live-node{background:#d99a16;color:#fff;box-shadow:0 0 0 4px #fff1cb}
body.page-reimbursement-detail .rr-live-step.is-observed .rr-live-copy>strong{color:#8b5a00}
body.page-reimbursement-detail .rr-live-step.is-rejected .rr-live-node{background:#b83b3b;color:#fff;box-shadow:0 0 0 4px #f9dddd}
body.page-reimbursement-detail .rr-live-step.is-rejected .rr-live-copy>strong{color:#9d3030}
body.page-reimbursement-detail .rr-live-step.is-current .rr-live-node{background:#dceef9;color:#1674ad;box-shadow:0 0 0 4px #edf7fc}
body.page-reimbursement-detail .rr-live-step.is-pending .rr-live-node{background:#e8eef2;color:#7890a0;box-shadow:0 0 0 4px #f7fafb}
body.page-reimbursement-detail .rr-live-step.is-pending .rr-live-copy>strong,body.page-reimbursement-detail .rr-live-step.is-pending .rr-live-copy>b{color:#627b8a}
@media(max-width:700px){body.page-reimbursement-detail .rr-live-track-wrap{padding-left:14px;padding-right:14px}body.page-reimbursement-detail .rr-live-step{grid-template-columns:36px 140px;width:185px;min-width:185px}body.page-reimbursement-detail .rr-live-node{width:36px;height:36px}body.page-reimbursement-detail .rr-live-line{margin-top:17px;width:28px;min-width:28px}}

/* Reembolsos V19: resumen de seguimiento + vista completa */
body.page-reimbursement-detail .rr-tracking-summary{padding:0;overflow:hidden;margin-top:14px}
body.page-reimbursement-detail .rr-tracking-summary-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #e3ebef}
body.page-reimbursement-detail .rr-tracking-summary-head h3{margin:0;color:#0c3e5d;font-size:16px}
body.page-reimbursement-detail .rr-tracking-summary-head p{margin:3px 0 0;color:#718896;font-size:10px}
body.page-reimbursement-detail .rr-tracking-full-btn{white-space:nowrap;font-size:10px;gap:7px}
body.page-reimbursement-detail .rr-tracking-current{display:flex;align-items:center;gap:13px;padding:14px 16px;background:#f7fbfd}
body.page-reimbursement-detail .rr-tracking-current-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#1499df;color:#fff;box-shadow:0 0 0 5px #e7f5fc}
body.page-reimbursement-detail .rr-tracking-current-copy{display:grid;gap:2px;min-width:0}
body.page-reimbursement-detail .rr-tracking-current-copy strong{color:#0c3e5d;font-size:12px}
body.page-reimbursement-detail .rr-tracking-current-copy span{color:#637c8b;font-size:9.5px}
body.page-reimbursement-detail .rr-tracking-current-copy p{margin:3px 0 0;color:#4f6877;font-size:10px}
body.page-reimbursement-detail .rr-tracking-summary.is-observed .rr-tracking-current{background:#fffaf0}
body.page-reimbursement-detail .rr-tracking-summary.is-observed .rr-tracking-current-icon{background:#efa91b;box-shadow:0 0 0 5px #fff1c9}
body.page-reimbursement-detail .rr-tracking-summary.is-rejected .rr-tracking-current{background:#fff5f5}
body.page-reimbursement-detail .rr-tracking-summary.is-rejected .rr-tracking-current-icon{background:#dc3f48;box-shadow:0 0 0 5px #fde4e6}
body.page-reimbursement-detail .rr-tracking-summary.is-success .rr-tracking-current-icon{background:#23a447;box-shadow:0 0 0 5px #e1f5e6}
.rr-actions .rr-track-action{color:#0e729f}

body.page-reimbursement-tracking .rr-tracking-page{max-width:1120px;margin:0 auto;padding:0 0 24px}
body.page-reimbursement-tracking .rr-track-pagehead h1{margin:0;color:#0b3d5c;font-size:22px}
body.page-reimbursement-tracking .rr-track-subtitle{display:flex;align-items:center;gap:10px;margin-top:6px;color:#31586e;font-size:11px}
body.page-reimbursement-tracking .rr-timeline-card{padding:0;overflow:hidden}
body.page-reimbursement-tracking .rr-timeline-heading{padding:15px 18px;border-bottom:1px solid #e1e9ee}
body.page-reimbursement-tracking .rr-timeline-heading h3{margin:0;color:#0b3d5c;font-size:16px}
body.page-reimbursement-tracking .rr-timeline-heading p{margin:3px 0 0;color:#718795;font-size:10px}
body.page-reimbursement-tracking .rr-vertical-timeline{padding:8px 18px 14px}
body.page-reimbursement-tracking .rr-timeline-event{display:grid;grid-template-columns:112px 46px minmax(0,1fr);min-height:100px}
body.page-reimbursement-tracking .rr-timeline-date{text-align:right;padding:19px 10px 0 0;color:#526e7e;font-size:10px}
body.page-reimbursement-tracking .rr-timeline-date strong,body.page-reimbursement-tracking .rr-timeline-date span{display:block}
body.page-reimbursement-tracking .rr-timeline-date span{margin-top:2px;font-weight:700}
body.page-reimbursement-tracking .rr-timeline-rail{position:relative;display:flex;justify-content:center;padding-top:15px}
body.page-reimbursement-tracking .rr-timeline-rail:after{content:"";position:absolute;top:52px;bottom:-15px;width:2px;background:#d8e4ea;left:50%;transform:translateX(-50%)}
body.page-reimbursement-tracking .rr-timeline-event:last-child .rr-timeline-rail:after{display:none}
body.page-reimbursement-tracking .rr-timeline-dot{position:relative;z-index:1;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#1699df;color:#fff;box-shadow:0 0 0 5px #e8f5fc;font-size:14px}
body.page-reimbursement-tracking .rr-timeline-content{align-self:start;margin:10px 0 10px 8px;padding:12px 14px;border:1px solid #dfe9ee;border-radius:9px;background:#f5fbfe}
body.page-reimbursement-tracking .rr-timeline-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.page-reimbursement-tracking .rr-timeline-title-row>strong{color:#0b3e5e;font-size:11.5px}
body.page-reimbursement-tracking .rr-timeline-user{margin-top:4px;color:#526e7e;font-size:9.5px}
body.page-reimbursement-tracking .rr-timeline-detail{margin-top:8px;padding:8px 10px;border-radius:6px;background:#e8f5fc;color:#315b72;font-size:10px}
body.page-reimbursement-tracking .rr-event-badge{border-radius:999px;padding:4px 8px;font-size:8.5px;font-weight:700;white-space:nowrap;background:#e7f4fb;color:#0879b2}
body.page-reimbursement-tracking .rr-timeline-event.is-observed .rr-timeline-dot{background:#efa91b;box-shadow:0 0 0 5px #fff1c9}
body.page-reimbursement-tracking .rr-timeline-event.is-observed .rr-timeline-content{background:#fffaf0;border-color:#f4dfaa}
body.page-reimbursement-tracking .rr-timeline-event.is-observed .rr-timeline-detail{background:#fff2cf;color:#765611}
body.page-reimbursement-tracking .rr-event-badge.warning{background:#fff0c8;color:#a66c00}
body.page-reimbursement-tracking .rr-timeline-event.is-success .rr-timeline-dot{background:#24a448;box-shadow:0 0 0 5px #e2f5e7}
body.page-reimbursement-tracking .rr-timeline-event.is-success .rr-timeline-content{background:#f4fbf5;border-color:#d4ebda}
body.page-reimbursement-tracking .rr-timeline-event.is-success .rr-timeline-detail{background:#e5f6e8;color:#2b6d3a}
body.page-reimbursement-tracking .rr-event-badge.success{background:#def3e3;color:#24783a}
body.page-reimbursement-tracking .rr-event-badge.info{background:#e4f3fb;color:#0877ae}
body.page-reimbursement-tracking .rr-timeline-event.is-rejected .rr-timeline-dot{background:#dc3f48;box-shadow:0 0 0 5px #fde5e7}
body.page-reimbursement-tracking .rr-timeline-event.is-rejected .rr-timeline-content{background:#fff5f5;border-color:#f3d0d3}
body.page-reimbursement-tracking .rr-timeline-event.is-rejected .rr-timeline-detail{background:#fde7e8;color:#8d3037}
body.page-reimbursement-tracking .rr-event-badge.danger{background:#fde2e4;color:#b22f38}
@media(max-width:700px){body.page-reimbursement-detail .rr-tracking-summary-head{align-items:flex-start;flex-direction:column}body.page-reimbursement-detail .rr-tracking-full-btn{width:100%;justify-content:center}body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:72px 38px minmax(0,1fr)}body.page-reimbursement-tracking .rr-vertical-timeline{padding-left:8px;padding-right:8px}body.page-reimbursement-tracking .rr-timeline-date{padding-right:5px;font-size:9px}body.page-reimbursement-tracking .rr-timeline-dot{width:32px;height:32px}body.page-reimbursement-tracking .rr-timeline-rail:after{top:46px}body.page-reimbursement-tracking .rr-timeline-title-row{align-items:flex-start;flex-direction:column;gap:5px}}

/* Reembolsos: acceso al seguimiento como acción independiente del detalle */
body.page-reimbursement-detail .rr-pagehead-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.page-reimbursement-detail .rr-pagehead-actions .rr-tracking-full-btn{font-size:11px;white-space:nowrap}
@media(max-width:700px){body.page-reimbursement-detail .rr-pagehead-actions{width:100%;justify-content:flex-start}body.page-reimbursement-detail .rr-pagehead-actions .btn{flex:1;justify-content:center}}

/* Reembolsos · Seguimiento: unificado con la plantilla principal del módulo */
body.page-reimbursement-tracking .rr-tracking-page{max-width:none;margin:0;padding:0}
body.page-reimbursement-tracking .rr-track-pagehead{margin-bottom:16px}
body.page-reimbursement-tracking .rr-track-pagehead h1{margin:0;color:#0b3d5c;font-size:24px;line-height:1.15}
body.page-reimbursement-tracking .rr-track-subtitle{margin-top:7px}
body.page-reimbursement-tracking .rr-timeline-card{margin-top:0}
body.page-reimbursement-tracking .rr-timeline-heading{padding:15px 16px}

/* ===== REEMBOLSOS · SEGUIMIENTO UNIFICADO CON PLANTILLA DE DETALLE ===== */
body.page-reimbursement-tracking .rr-tracking-page{width:100%;max-width:none;margin:0;padding:0 0 28px}
body.page-reimbursement-tracking .rr-track-pagehead{margin-bottom:14px!important}
body.page-reimbursement-tracking .rr-track-pagehead h1{font-size:24px!important;line-height:1.15!important;color:#123f5b!important}
body.page-reimbursement-tracking .rr-timeline-card{margin:0!important;padding:0!important;overflow:hidden!important}
body.page-reimbursement-tracking .rr-timeline-card>.rr-tracking-heading{padding:14px 16px 12px!important;margin:0!important;border-bottom:1px solid #e3eaee!important}
body.page-reimbursement-tracking .rr-timeline-card>.rr-tracking-heading h3{margin:0!important;color:#123f5b!important;font-size:16px!important;font-weight:700!important}
body.page-reimbursement-tracking .rr-timeline-card>.rr-tracking-heading p{margin:4px 0 0!important;color:#6f8290!important;font-size:10.5px!important;font-weight:400!important}
body.page-reimbursement-tracking .rr-vertical-timeline{padding:8px 16px 12px!important}
body.page-reimbursement-tracking .rr-tracking-empty{padding:22px 16px!important}


/* =========================================================
   REEMBOLSOS · SEGUIMIENTO · OPCION 1 — LIMPIA Y MINIMALISTA
   Replica visual de la alternativa aprobada
   ========================================================= */
body.page-reimbursement-tracking .rr-vertical-timeline{
  padding:12px 18px 16px!important;
}
body.page-reimbursement-tracking .rr-timeline-event{
  display:grid!important;
  grid-template-columns:110px 42px minmax(0,1fr)!important;
  min-height:76px!important;
}
body.page-reimbursement-tracking .rr-timeline-date{
  text-align:right!important;
  padding:13px 9px 0 0!important;
  color:#587386!important;
  font-size:9px!important;
  line-height:1.2!important;
}
body.page-reimbursement-tracking .rr-timeline-date strong{
  display:block!important;font-weight:500!important;
}
body.page-reimbursement-tracking .rr-timeline-date span{
  display:block!important;margin-top:2px!important;font-weight:600!important;
}
body.page-reimbursement-tracking .rr-timeline-rail{
  position:relative!important;display:flex!important;justify-content:center!important;padding-top:9px!important;
}
body.page-reimbursement-tracking .rr-timeline-rail:after{
  content:""!important;position:absolute!important;left:50%!important;transform:translateX(-50%)!important;
  top:42px!important;bottom:-9px!important;width:1px!important;background:#d8e3e9!important;
}
body.page-reimbursement-tracking .rr-timeline-event:last-child .rr-timeline-rail:after{display:none!important;}
body.page-reimbursement-tracking .rr-timeline-dot{
  position:relative!important;z-index:1!important;width:30px!important;height:30px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;font-size:11px!important;
  background:#eaf5fb!important;color:#168fc9!important;border:0!important;box-shadow:none!important;
}
body.page-reimbursement-tracking .rr-timeline-event.is-success .rr-timeline-dot{
  background:#2daa54!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
body.page-reimbursement-tracking .rr-timeline-event.is-observed .rr-timeline-dot{
  background:#f5aa18!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
body.page-reimbursement-tracking .rr-timeline-event.is-rejected .rr-timeline-dot{
  background:#d94a52!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
body.page-reimbursement-tracking .rr-timeline-content,
body.page-reimbursement-tracking .rr-timeline-event.is-observed .rr-timeline-content,
body.page-reimbursement-tracking .rr-timeline-event.is-success .rr-timeline-content,
body.page-reimbursement-tracking .rr-timeline-event.is-rejected .rr-timeline-content{
  align-self:start!important;margin:5px 0 5px 4px!important;padding:8px 10px!important;
  border:1px solid #e2e9ed!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;
}
body.page-reimbursement-tracking .rr-timeline-title-row{
  display:block!important;
}
body.page-reimbursement-tracking .rr-timeline-title-row>strong{
  color:#123f5b!important;font-size:10.5px!important;line-height:1.25!important;font-weight:700!important;
}
body.page-reimbursement-tracking .rr-timeline-user{
  margin-top:3px!important;color:#627a89!important;font-size:8.8px!important;line-height:1.25!important;
}
body.page-reimbursement-tracking .rr-timeline-detail,
body.page-reimbursement-tracking .rr-timeline-event.is-observed .rr-timeline-detail,
body.page-reimbursement-tracking .rr-timeline-event.is-success .rr-timeline-detail,
body.page-reimbursement-tracking .rr-timeline-event.is-rejected .rr-timeline-detail{
  margin-top:5px!important;padding:5px 7px!important;border-radius:4px!important;
  background:#f4f7f9!important;color:#4f6978!important;font-size:9px!important;line-height:1.3!important;
}
body.page-reimbursement-tracking .rr-event-badge{display:none!important;}
@media(max-width:700px){
  body.page-reimbursement-tracking .rr-vertical-timeline{padding:10px 8px 14px!important;}
  body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:68px 34px minmax(0,1fr)!important;min-height:72px!important;}
  body.page-reimbursement-tracking .rr-timeline-date{padding-right:4px!important;font-size:8.5px!important;}
  body.page-reimbursement-tracking .rr-timeline-dot{width:28px!important;height:28px!important;font-size:10px!important;}
  body.page-reimbursement-tracking .rr-timeline-rail:after{top:39px!important;}
  body.page-reimbursement-tracking .rr-timeline-content{margin-left:2px!important;padding:7px 8px!important;}
}

/* V19 - Cierre de reembolso en tarjeta independiente */
body.page-reimbursement-detail .rr-main-column{display:flex;flex-direction:column;gap:14px;}
body.page-reimbursement-detail .rr-payment-result-card{padding:0!important;overflow:hidden!important;border:1px solid #dbe5eb!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;}
body.page-reimbursement-detail .rr-payment-result-card .rr-completed-payment{margin:0!important;padding:11px 13px!important;border-top:0!important;border-bottom:1px solid #e6eee9!important;background:#f7fbf8!important;}
body.page-reimbursement-detail .rr-payment-result-card .rr-payment-evidence-section{margin:0!important;padding:11px 16px 14px!important;border:0!important;background:#fff!important;}
body.page-reimbursement-detail .rr-payment-result-card .rr-payment-evidence-section .rr-section-title{margin:0 0 8px!important;}
body.page-reimbursement-detail .rr-payment-result-card .rr-files{display:grid!important;grid-template-columns:minmax(0,530px)!important;gap:8px!important;}
body.page-reimbursement-detail .rr-payment-result-card .rr-file-card{width:100%!important;min-height:48px!important;}
@media(max-width:720px){body.page-reimbursement-detail .rr-payment-result-card .rr-files{grid-template-columns:1fr!important;}}

/* V19 - Administración de personal externo de Reembolsos */
.personnel-table td{vertical-align:middle}.personnel-methods-summary{display:flex;flex-wrap:wrap;gap:6px}.personnel-methods-summary span{display:inline-flex;padding:5px 8px;border-radius:7px;background:#eef6fa;color:#2d627e;font-size:10px;font-weight:600}.personnel-empty{color:#81919d;font-size:11px}.personnel-no-data{text-align:center!important;color:#728594!important;padding:28px!important}.personnel-detail-head{margin-bottom:14px}.personnel-detail-card{padding:0!important;overflow:hidden;margin-bottom:14px}.personnel-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid #e2e9ee}.personnel-card-head h3{margin:0;color:#103b57;font-size:15px}.personnel-card-head p{margin:3px 0 0;color:#6b8090;font-size:10px}.personnel-info-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:0}.personnel-info-grid label{display:block;padding:15px 16px}.personnel-info-grid label+label{border-left:1px solid #e2e9ee}.personnel-info-grid label span{display:block;margin-bottom:6px;color:#527086;font-size:9px;font-weight:700;text-transform:uppercase}.personnel-info-grid input{width:100%;height:38px;padding:0 11px;border:1px solid #d6e1e8;border-radius:8px;background:#fff;color:#173b53}.personnel-info-grid input[readonly]{border-color:transparent;background:#f7f9fa}.personnel-edit-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 15px}.personnel-method-list{display:grid;gap:0}.personnel-method-row{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f3}.personnel-method-row:last-child{border-bottom:0}.personnel-method-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#f0f6f9;color:#0878ad}.personnel-method-row div:last-child{display:flex;flex-direction:column;gap:3px}.personnel-method-row span{color:#577386;font-size:9px;font-weight:700;text-transform:uppercase}.personnel-method-row strong{color:#173b53;font-size:12px}.personnel-method-empty{display:flex;align-items:center;gap:12px;padding:20px 16px;color:#7c8f9c}.personnel-method-empty>i{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#f3f6f8;color:#78909f}.personnel-method-empty div{display:flex;flex-direction:column;gap:3px}.personnel-method-empty strong{color:#456174;font-size:11px}.personnel-method-empty span{font-size:10px}.hidden{display:none!important}@media(max-width:760px){.personnel-info-grid{grid-template-columns:1fr}.personnel-info-grid label+label{border-left:0;border-top:1px solid #e2e9ee}.personnel-card-head{align-items:flex-start;flex-direction:column}}

/* V19 - Detalle de reembolso: etiqueta "Registrado por" con el mismo formato de la línea, en negrita */
body.page-request-detail.page-reimbursement-detail .rr-request-summary-field small .rr-registered-label{
  display:inline!important;
  margin:0!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
  font-weight:700!important;
  text-transform:none!important;
  letter-spacing:normal!important;
}

/* Reembolsos: metadatos de observación/rechazo más legibles */
body.page-reimbursement-detail .rr-event-meta-clean{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin:2px 0 8px;color:#516574;font-size:11px;line-height:1.3;}
body.page-reimbursement-detail .rr-event-meta-clean span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;}
body.page-reimbursement-detail .rr-event-meta-clean i{color:#315b73;font-size:10px;}

/* V19: detalle de rechazo alineado visualmente con "Reembolso observado", sin icono principal */
body.page-reimbursement-detail .rr-rejection-panel.rr-rejection-detailed{
  padding:18px 20px;
  background:#fff6f6;
  border:1px solid #efb6b6;
  border-left:4px solid #d64545;
  border-radius:12px;
  overflow:visible;
}
body.page-reimbursement-detail .rr-rejection-detailed .rr-rejection-content{min-width:0;}
body.page-reimbursement-detail .rr-rejection-detailed h2{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.2;
  color:#a61b1b;
}
body.page-reimbursement-detail .rr-rejection-detailed .rr-rejection-label{
  margin:0 0 4px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.055em;
  font-weight:800;
  color:#b42318;
}
body.page-reimbursement-detail .rr-rejection-detailed .rr-event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 9px;
  font-size:10.5px;
  color:#61717d;
}
body.page-reimbursement-detail .rr-rejection-detailed .rr-event-meta span{display:inline-flex;align-items:center;gap:5px;}
body.page-reimbursement-detail .rr-rejection-detailed .rr-rejection-message{
  padding:10px 12px;
  background:#fff;
  border:1px solid #efb6b6;
  border-radius:8px;
  font-size:11.5px;
  line-height:1.45;
  color:#263746;
}

/* =========================================================
   ADMINISTRAR USUARIOS - AJUSTE VISUAL UNIFICADO
   ========================================================= */
.users-pagehead { margin-bottom: 16px; }
.users-pagehead h1 { margin-bottom: 5px; }
.users-summary { min-height: 42px; box-shadow: 0 2px 8px rgba(15,47,69,.03); }

.users-table-card { border-radius: 14px; }
.users-card-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px 12px; border-bottom:1px solid #e7edf1;
}
.users-card-head h2 { margin:0 0 3px; font-size:15px; color:#102f45; }
.users-card-head p { margin:0; font-size:11px; color:#758491; }
.users-compact-table thead th { background:#f8fafb; color:#657786; font-size:10px; letter-spacing:.025em; }
.users-compact-table tbody tr { transition:background .15s ease; }
.users-compact-table tbody tr:hover { background:#fbfcfd; }
.users-compact-table td { padding-top:10px; padding-bottom:10px; }
.users-view-btn { min-width:112px; justify-content:center; }

.user-modal-backdrop { background:rgba(14,35,50,.58); backdrop-filter:blur(3px); }
.user-modal-dialog {
  width:min(790px,100%); border-radius:14px; overflow-y:auto;
  box-shadow:0 24px 70px rgba(10,35,52,.28);
}
.user-modal-header { padding:18px 22px; }
.user-modal-header .user-admin-avatar { width:48px; height:48px; flex-basis:48px; }
.user-modal-identity h2 { font-size:17px; }
.user-modal-body { padding:0 22px 20px; }
.user-modal-section { padding:19px 0; }
.user-section-title { margin-bottom:14px; font-size:11px; }
.user-section-title div { width:28px; height:28px; }
.user-modal-info-grid {
  padding:14px 16px; background:#f8fafb; border:1px solid #e5ebef;
  border-radius:10px; gap:16px;
}
.user-info-label { font-size:10px; }
.user-info-item strong, .user-info-item > span:last-child { font-size:12px; }
.user-profile-note { margin-top:10px; padding:8px 11px; background:transparent; border:0; }

.user-modal .user-access-grid {
  padding:14px 16px; background:#f8fafb; border:1px solid #e5ebef;
  border-radius:10px;
}
.user-modal .user-access-actions {
  align-items:center; justify-content:space-between; gap:14px; margin-top:12px;
}
.user-form-help { font-size:10px; color:#81909b; line-height:1.4; }
.user-modal .user-account-controls {
  margin-top:16px; padding:14px 16px; border:1px solid #e5ebef;
  border-radius:10px; background:#fff; align-items:center;
}
.user-control-title { display:block; color:#203c50; font-size:11px; }
.user-account-controls p { margin-top:3px; }
.user-deactivate-btn { border-color:#e3caca; background:#fff; }

.user-section-description { margin:-5px 0 12px 38px; color:#7b8995; font-size:10px; line-height:1.45; }
.user-modal .user-password-form {
  padding:14px 16px; border:1px solid #e5ebef; border-radius:10px;
  background:#f8fafb; gap:10px;
}
.user-modal .user-password-form .btn { white-space:nowrap; }

@media (max-width:720px) {
  .users-card-head { padding:14px; }
  .user-modal .user-access-actions { align-items:stretch; flex-direction:column; }
  .user-section-description { margin-left:0; }
}

/* ADMINISTRAR USUARIOS - COMPACTO V2 */
.users-table-card .tablewrap{border-radius:14px;overflow:hidden;}
.user-modal-dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100vh - 38px);}
.user-modal-header{padding:14px 20px;position:sticky;top:0;background:#fff;z-index:3;border-bottom:1px solid #e5ebef;}
.user-modal-header .user-admin-avatar{width:44px;height:44px;flex-basis:44px;}
.user-modal-identity h2{font-size:16px;margin-bottom:2px;}
.user-modal-identity p{font-size:10.5px;margin:0;}
.user-modal-body.user-modal-body-compact{padding:0 20px 14px;}
.user-modal-body-compact .user-modal-section{padding:14px 0;border-bottom:1px solid #e8edf1;}
.user-modal-body-compact .user-modal-section:last-child{border-bottom:0;padding-bottom:4px;}
.user-section-title.compact-title{margin:0 0 10px;gap:8px;font-size:11px;}
.user-section-title.compact-title div{width:25px;height:25px;}
.user-detail-grid{display:grid;grid-template-columns:1.35fr 1fr .8fr;gap:0;border:1px solid #e4eaee;border-radius:9px;background:#fafbfc;overflow:hidden;}
.user-detail-item{min-width:0;padding:10px 12px;border-right:1px solid #e7ecef;border-bottom:1px solid #e7ecef;display:flex;flex-direction:column;gap:3px;}
.user-detail-item:nth-child(3n){border-right:0;}
.user-detail-item:nth-last-child(-n+3){border-bottom:0;}
.user-detail-item strong,.user-detail-item>span:last-child{font-size:11.5px;color:#12344b;overflow-wrap:anywhere;}
.user-profile-inline-note{margin:7px 2px 0;font-size:9.5px;color:#758693;display:flex;align-items:center;gap:6px;}
.user-profile-inline-note i{color:#47738f;}
.user-inline-status{display:inline-flex!important;align-items:center;gap:6px;font-weight:700!important;}
.user-inline-status>span{width:7px;height:7px;border-radius:50%;background:#2f9d68;}
.user-inline-status.inactive>span{background:#bd3c3c;}
.user-modal .compact-access-grid{display:grid;grid-template-columns:1fr 1.25fr auto;gap:10px;align-items:end;padding:0;background:transparent;border:0;}
.user-modal .compact-access-grid .field{margin:0;}
.user-modal .compact-access-grid input,.user-modal .compact-access-grid select{height:40px;}
.compact-save-btn{height:40px;white-space:nowrap;}
.user-account-row{margin-top:10px;padding:10px 12px;border:1px solid #e4eaee;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fafbfc;}
.user-account-row>div{display:flex;flex-direction:column;gap:2px;}
.user-account-row strong{font-size:10.5px;color:#17384e;}
.user-account-row span{font-size:9.5px;color:#758693;}
.user-modal .compact-password-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;padding:0;border:0;background:transparent;}
.user-modal .compact-password-form .field{margin:0;}
.user-modal .compact-password-form input{height:40px;}
.user-modal .compact-password-form .btn{height:40px;white-space:nowrap;}
@media(max-width:760px){
 .user-detail-grid{grid-template-columns:1fr 1fr;}
 .user-detail-item:nth-child(3n){border-right:1px solid #e7ecef;}
 .user-detail-item:nth-child(2n){border-right:0;}
 .user-detail-item:nth-last-child(-n+3){border-bottom:1px solid #e7ecef;}
 .user-detail-item:nth-last-child(-n+2){border-bottom:0;}
 .user-modal .compact-access-grid,.user-modal .compact-password-form{grid-template-columns:1fr;}
 .user-account-row{align-items:stretch;flex-direction:column;}
}

/* V19 - Administrar usuarios: modal compacto + confirmaciones uniformes */
.user-modal-body.user-modal-body-compact{padding:0 20px 10px;}
.user-modal-body-compact .user-modal-section{padding:11px 0;}
.user-section-title.compact-title{margin-bottom:8px;}
.user-detail-item{padding:7px 11px;gap:2px;min-height:48px;justify-content:center;}
.user-profile-inline-note{margin-top:5px;}
.user-modal .compact-access-grid{gap:8px;}
.user-modal .compact-access-grid input,.user-modal .compact-access-grid select,.compact-save-btn{height:36px;}
.user-account-row{margin-top:8px;padding:7px 10px;min-height:48px;}
.user-account-row .btn{height:34px;padding:0 12px;}
.user-modal .compact-password-form{gap:8px;}
.user-modal .compact-password-form input,.user-modal .compact-password-form .btn{height:36px;}
.user-modal .compact-password-form .btn{background:#173f5b;color:#fff;border-color:#173f5b;}
.user-modal .compact-password-form .btn:hover{background:#10364f;border-color:#10364f;}
.user-deactivate-btn{background:#fff!important;color:#b73535!important;border:1px solid #e8b9b9!important;}
.user-deactivate-btn:hover{background:#fff5f5!important;border-color:#d98f8f!important;}
.user-action-confirm-icon{background:#edf6fb;color:#174b69;}
.user-action-confirm-icon.danger{background:#fff0f0;color:#b73535;}
.user-confirm-danger{background:#b93838!important;color:#fff!important;border-color:#b93838!important;}
.user-confirm-danger:hover{background:#a42f2f!important;border-color:#a42f2f!important;}
.user-action-confirm-card{width:min(430px,100%);}
@media(max-width:760px){.user-detail-item{min-height:44px}.user-account-row{min-height:auto}.user-modal .compact-access-grid input,.user-modal .compact-access-grid select,.compact-save-btn,.user-modal .compact-password-form input,.user-modal .compact-password-form .btn{height:38px;}}


/* V19 - Administrar usuarios: ajuste de tipografía y proporciones */
.user-modal-dialog{
  width:min(760px,calc(100vw - 32px));
  max-height:calc(100vh - 28px);
}
.user-modal-header{padding:12px 20px;}
.user-modal-header .user-admin-avatar{width:42px;height:42px;flex-basis:42px;}
.user-modal-identity h2{font-size:16px;margin:0;}
.user-modal-body.user-modal-body-compact{padding:0 20px 12px;}
.user-modal-body-compact .user-modal-section{padding:10px 0;}
.user-section-title.compact-title{margin-bottom:7px;}
.user-detail-item{padding:6px 11px;min-height:45px;}
.user-profile-inline-note{margin-top:5px;line-height:1.25;}
.user-modal .field label{margin-bottom:4px;font-size:10px;line-height:1.2;}
.user-modal .compact-access-grid input,
.user-modal .compact-access-grid select,
.user-modal .compact-password-form input{
  height:35px;
  min-height:35px;
  padding:0 11px;
  font-size:12px;
  line-height:1.2;
}
.user-modal .compact-access-grid select{padding-right:30px;}
.user-modal .compact-password-form input::placeholder{font-size:12px;}
.compact-save-btn,
.user-modal .compact-password-form .btn{
  height:35px;
  min-height:35px;
  padding:0 12px;
  font-size:11px;
}
.user-account-row{margin-top:7px;padding:6px 10px;min-height:43px;}
.user-account-row .btn{height:32px;min-height:32px;padding:0 11px;font-size:11px;}
.user-modal-close{width:36px;height:36px;}
@media (min-width:761px) and (max-height:800px){
  .user-modal-dialog{max-height:calc(100vh - 20px);}
  .user-modal-header{padding:10px 18px;}
  .user-modal-header .user-admin-avatar{width:40px;height:40px;flex-basis:40px;}
  .user-modal-body.user-modal-body-compact{padding:0 18px 9px;}
  .user-modal-body-compact .user-modal-section{padding:8px 0;}
  .user-section-title.compact-title{margin-bottom:6px;}
  .user-detail-item{min-height:42px;padding:5px 10px;}
  .user-account-row{min-height:40px;padding:5px 9px;}
  .user-modal .compact-access-grid input,
  .user-modal .compact-access-grid select,
  .compact-save-btn,
  .user-modal .compact-password-form input,
  .user-modal .compact-password-form .btn{height:34px;min-height:34px;}
}

/* V19 - Administrar usuarios: respiración visual del modal */
.user-modal-header{padding:14px 20px;}
.user-modal-body.user-modal-body-compact{padding:0 20px 14px;}
.user-modal-body-compact .user-modal-section{padding:12px 0;}
.user-section-title.compact-title{margin-bottom:9px;}
.user-detail-grid{margin-bottom:0;}
.user-profile-inline-note{margin-top:7px;}
.user-modal .compact-access-grid{gap:10px;}
.user-account-row{margin-top:10px;}
.user-modal .compact-password-form{gap:10px;}
@media (min-width:761px) and (max-height:800px){
  .user-modal-header{padding:12px 18px;}
  .user-modal-body.user-modal-body-compact{padding:0 18px 12px;}
  .user-modal-body-compact .user-modal-section{padding:10px 0;}
  .user-section-title.compact-title{margin-bottom:8px;}
  .user-profile-inline-note{margin-top:6px;}
  .user-account-row{margin-top:9px;}
}

/* V19 - Sistemas: Personal y Obras, patrón visual unificado */
.personnel-table th:last-child,.personnel-table td:last-child{width:150px;text-align:center}
.personnel-view-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:108px;height:34px;padding:0 13px;border:1px solid #cddbe4;background:#fff;color:#17445f;border-radius:9px;font-size:11px;font-weight:700}
.personnel-view-btn:hover{background:#f2f7fa;border-color:#abc2d0;color:#103b57}

body.page-projects-admin .projects-pagehead{margin-bottom:16px}
body.page-projects-admin .project-create-card{padding:0;overflow:hidden;border-radius:14px}
.project-create-head{display:flex;align-items:center;gap:11px;padding:16px 18px;border-bottom:1px solid #e4ebef;background:#fff}
.project-create-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#eef5f8;color:#174b69;font-size:14px;flex:0 0 auto}
.project-create-head h2{font-size:16px}.project-create-head p{font-size:10.5px;margin-top:3px}
body.page-projects-admin .project-form{margin:0;padding:16px 18px 17px}
body.page-projects-admin .project-form-grid{gap:11px 14px}
body.page-projects-admin .project-form-grid label{gap:5px}
body.page-projects-admin .project-form-grid label>span{font-size:10px}
body.page-projects-admin .project-form-grid input{height:38px;padding:0 11px;font-size:12px}
body.page-projects-admin .project-form-grid input::placeholder{font-size:12px;color:#8796a1}
body.page-projects-admin .project-users-box{margin-top:14px;padding:13px 14px;background:#f8fafb;border-radius:10px}
.project-users-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.project-users-head>div>strong{font-size:11px;color:#17384e}.project-users-head>div>p{margin:2px 0 0;font-size:9.5px;color:#7b8b96}
.project-users-head>span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:#eaf5ef;color:#26734f;font-size:9.5px;font-weight:700;white-space:nowrap}
body.page-projects-admin .project-users-grid{gap:7px}
body.page-projects-admin .project-user-check{align-items:center;min-height:48px;padding:7px 10px}
body.page-projects-admin .project-user-check b{font-size:10.5px} body.page-projects-admin .project-user-check small{font-size:9px}
body.page-projects-admin .project-form-actions{margin-top:13px;padding-top:13px;border-top:1px solid #e7edf1}
.project-confirm-card{width:min(430px,100%);text-align:center}
.project-confirm-icon{width:50px;height:50px;margin:0 auto 13px;border-radius:50%;display:grid;place-items:center;background:#fff1e4;color:#a45b17;font-size:18px}
.project-confirm-icon.reactivate{background:#eaf5ef;color:#26734f}
.project-confirm-card h3{margin:0 0 7px;color:#153f59;font-size:17px}.project-confirm-card p{margin:0;color:#687c88;font-size:11px;line-height:1.55}

body.page-personnel-detail .personnel-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
body.page-personnel-detail .personnel-detail-head h1{font-size:23px;margin:7px 0 0;color:#102f45}
body.page-personnel-detail .rr-breadcrumb{font-size:10px;color:#758895}
body.page-personnel-detail .personnel-detail-card{border-radius:13px;margin-bottom:12px}
body.page-personnel-detail .personnel-card-head{padding:13px 16px}
body.page-personnel-detail .personnel-card-head h3{font-size:14px}
body.page-personnel-detail .personnel-card-head p{font-size:9.5px}
body.page-personnel-detail .personnel-info-grid label{padding:12px 16px}
body.page-personnel-detail .personnel-info-grid label span{margin-bottom:5px;font-size:8.5px}
body.page-personnel-detail .personnel-info-grid input{height:34px;font-size:12px;padding:0 10px}
body.page-personnel-detail .personnel-method-row{padding:11px 16px}
body.page-personnel-detail .personnel-method-icon{width:32px;height:32px;border-radius:8px}
body.page-personnel-detail .personnel-method-row strong{font-size:11.5px}
body.page-personnel-detail .personnel-method-row span{font-size:8.5px}
@media(max-width:760px){.project-users-head{align-items:flex-start;flex-direction:column}.personnel-table th:last-child,.personnel-table td:last-child{width:auto}}

/* V19 - Obras: alta enfocada + confirmación de estado */
body.page-projects-admin .project-create-head{display:block;padding:15px 18px 11px;border-bottom:1px solid #e7edf1;background:#fff}
body.page-projects-admin .project-create-head h2{margin:0;font-size:14px;font-weight:700;color:#17384e}
body.page-projects-admin .project-create-head p{margin:3px 0 0;font-size:10px;color:#728591}
body.page-projects-admin #projects-list.hidden{display:none!important}
body.page-projects-admin #toggleNewProject.hidden{display:none!important}

/* V19.1 - Reembolsos responsive integral (solo presentación; sin cambios de lógica) */
@media (max-width: 1100px){
  body.page-reimbursements .lanr-module-head{align-items:flex-start;gap:12px;}
  body.page-reimbursements .rr-list-head{align-items:flex-start;flex-direction:column;gap:10px;}
  body.page-reimbursements .rr-view-filters{width:100%;justify-content:flex-start;}
  body.page-reimbursements .rr-filter{flex:0 1 auto;}
  body.page-reimbursements .rr-table{min-width:920px!important;}
  body.page-reimbursements .rr-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}

  body.page-new-reimbursement .rr-expense-grid{grid-template-columns:130px minmax(220px,1fr) 110px 130px!important;}
  body.page-reimbursement-detail .rr-detail-grid{grid-template-columns:minmax(0,1fr)!important;}
  body.page-reimbursement-detail .rr-side-column{min-width:0!important;}
}

@media (max-width: 820px){
  body.page-reimbursements .lanr-module-head{flex-direction:column;}
  body.page-reimbursements .lanr-module-head .btn.primary{width:100%;justify-content:center;}
  body.page-reimbursements .rr-list-card{padding:12px!important;}
  body.page-reimbursements .rr-view-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;}
  body.page-reimbursements .rr-filter{width:100%;min-width:0;white-space:normal;text-align:center;justify-content:center;line-height:1.25;}
  body.page-reimbursements .rr-data-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;align-items:end!important;}
  body.page-reimbursements .rr-data-filters .field{width:auto!important;min-width:0;}
  body.page-reimbursements .rr-clear-filter-wrap{grid-column:1/-1;}
  body.page-reimbursements .rr-clear-filters{width:100%;justify-content:center;}

  body.page-new-reimbursement .lanr-create-head{margin-bottom:12px!important;}
  body.page-new-reimbursement .rr-expense-grid{grid-template-columns:1fr 1fr!important;}
  body.page-new-reimbursement .rr-expense-grid .rr-concept{grid-column:1/-1!important;}
  body.page-new-reimbursement .rr-payment-grid{grid-template-columns:1fr!important;}
  body.page-new-reimbursement .rr-identification-grid{grid-template-columns:1fr!important;}
  body.page-new-reimbursement .lanr-create-actions{flex-wrap:wrap;}
  body.page-new-reimbursement .lanr-create-actions .btn{flex:1 1 180px;justify-content:center;}

  body.page-reimbursement-detail .request-detail-pagehead,
  body.page-reimbursement-tracking .request-detail-pagehead{align-items:flex-start!important;flex-direction:column!important;gap:10px!important;}
  body.page-reimbursement-detail .rr-pagehead-actions,
  body.page-reimbursement-tracking .rr-pagehead-actions{width:100%;}
  body.page-reimbursement-detail .rr-pagehead-actions .btn,
  body.page-reimbursement-tracking .rr-pagehead-actions .btn{width:100%;justify-content:center;}
  body.page-reimbursement-detail .rr-action-banner,
  body.page-reimbursement-detail .rr-subsanacion-focus{grid-template-columns:auto 1fr!important;}
  body.page-reimbursement-detail .rr-action-buttons,
  body.page-reimbursement-detail .rr-subsanacion-button{grid-column:1/-1;width:100%;}
  body.page-reimbursement-detail .rr-action-buttons{display:flex;flex-wrap:wrap;}
  body.page-reimbursement-detail .rr-action-buttons .btn{flex:1 1 180px;justify-content:center;}
}

@media (max-width: 700px){
  body.page-reimbursements .rr-list-card{overflow:visible!important;}
  body.page-reimbursements .rr-table-wrap{overflow:visible!important;}
  body.page-reimbursements .rr-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;}
  body.page-reimbursements .rr-table colgroup,
  body.page-reimbursements .rr-table thead{display:none!important;}
  body.page-reimbursements .rr-table tbody{display:block!important;width:100%;}
  body.page-reimbursements .rr-table tr.rr-row{display:block!important;width:100%;margin:0 0 10px;border:1px solid #dce7ed;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(16,55,78,.04);}
  body.page-reimbursements .rr-table tr.rr-row td{display:grid!important;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;width:100%!important;min-height:38px;padding:8px 10px!important;border:0!important;border-bottom:1px solid #edf2f5!important;text-align:left!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;box-sizing:border-box;}
  body.page-reimbursements .rr-table tr.rr-row td:last-child{border-bottom:0!important;}
  body.page-reimbursements .rr-table tr.rr-row td::before{font-size:9px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:#718493;}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(1)::before{content:"N° seguimiento";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(2)::before{content:"Fecha";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(3)::before{content:"Personal";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(4)::before{content:"Descripción";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(5)::before{content:"Monto";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(6)::before{content:"Medio";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(7)::before{content:"Estado";}
  body.page-reimbursements .rr-table tr.rr-row td:nth-child(8)::before{content:"Acciones";}
  body.page-reimbursements .rr-description-cell,
  body.page-reimbursements .rr-requester-cell,
  body.page-reimbursements .rr-method-cell{overflow-wrap:anywhere;}
  body.page-reimbursements .rr-actions{justify-content:flex-start!important;}
  body.page-reimbursements .rr-filter-empty{display:block!important;}
  body.page-reimbursements .rr-filter-empty td{display:block!important;width:100%!important;}
  body.page-reimbursements .tramite-pagination{flex-direction:column;align-items:stretch;gap:9px;}
  body.page-reimbursements .tramite-pagination-info{text-align:center;}
  body.page-reimbursements .tramite-pagination-controls{justify-content:center;flex-wrap:wrap;}

  body.page-new-reimbursement .lanr-create-card{border-radius:9px;}
  body.page-new-reimbursement #reimbursementForm .lanr-create-section{padding:12px!important;}
  body.page-new-reimbursement .rr-expense-grid{grid-template-columns:1fr!important;padding:9px!important;}
  body.page-new-reimbursement .rr-expense-grid .rr-concept,
  body.page-new-reimbursement .rr-expense-grid .field:last-child{grid-column:auto!important;}
  body.page-new-reimbursement .rr-expense-footer{flex-direction:column;align-items:stretch!important;}
  body.page-new-reimbursement .rr-add-expense{width:100%;}
  body.page-new-reimbursement .rr-totals{width:100%;}
  body.page-new-reimbursement .rr-totals span{flex:1;}
  body.page-new-reimbursement .rr-totals strong{min-width:0!important;flex:1;}
  body.page-new-reimbursement .rr-item-picker{width:100%!important;min-width:0!important;box-sizing:border-box;}

  body.page-reimbursement-detail .rr-uniform-summary-grid,
  body.page-reimbursement-detail .rr-request-summary-grid{grid-template-columns:1fr!important;}
  body.page-reimbursement-detail .rr-request-summary-field{min-width:0!important;}
  body.page-reimbursement-detail .rr-unified-data{grid-template-columns:1fr!important;}
  body.page-reimbursement-detail .rr-detail-card,
  body.page-reimbursement-detail .rr-unified-card{padding:12px!important;}
  body.page-reimbursement-detail .rr-item-doc-list{grid-template-columns:1fr!important;}
  body.page-reimbursement-detail .rr-item-doc-chip{max-width:100%!important;min-width:0;}
  body.page-reimbursement-detail .rr-item-doc-chip>span:first-of-type{max-width:calc(100vw - 150px)!important;}

  body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:72px 26px minmax(0,1fr)!important;gap:6px!important;}
  body.page-reimbursement-tracking .rr-timeline-date{font-size:9px!important;}
  body.page-reimbursement-tracking .rr-timeline-content{min-width:0;overflow-wrap:anywhere;}
}

@media (max-width: 480px){
  body.page-reimbursements .rr-view-filters{grid-template-columns:1fr!important;}
  body.page-reimbursements .rr-data-filters{grid-template-columns:1fr!important;}
  body.page-reimbursements .rr-clear-filter-wrap{grid-column:auto;}
  body.page-reimbursements .rr-table tr.rr-row td{grid-template-columns:1fr;gap:3px;padding:8px 10px!important;}
  body.page-reimbursements .rr-table tr.rr-row td::before{display:block;}
  body.page-reimbursements .rr-actions{padding-top:2px;}
  body.page-reimbursements .lanr-module-head h1{font-size:23px;}

  body.page-new-reimbursement .rr-totals{flex-direction:column;}
  body.page-new-reimbursement .lanr-create-actions{flex-direction:column;}
  body.page-new-reimbursement .lanr-create-actions .btn{width:100%;flex:0 0 auto;}
  body.page-new-reimbursement .reimbursement-selected-chip{max-width:100%;}

  body.page-reimbursement-detail .request-detail-title-row{align-items:flex-start!important;flex-direction:column!important;gap:7px!important;}
  body.page-reimbursement-detail .rr-action-banner,
  body.page-reimbursement-detail .rr-subsanacion-focus{display:block!important;}
  body.page-reimbursement-detail .rr-action-icon,
  body.page-reimbursement-detail .rr-subsanacion-icon{margin-bottom:8px;}
  body.page-reimbursement-detail .rr-action-buttons{display:grid;grid-template-columns:1fr;}
  body.page-reimbursement-detail .rr-action-buttons .btn{width:100%;}

  body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:1fr!important;padding-left:24px;position:relative;}
  body.page-reimbursement-tracking .rr-timeline-date{display:flex;gap:7px;align-items:center;}
  body.page-reimbursement-tracking .rr-timeline-rail{position:absolute;left:0;top:2px;bottom:0;}
  body.page-reimbursement-tracking .rr-timeline-content{padding-bottom:14px;}
}

/* V19.2 — Reembolsos responsive verificado: listado + alta/edición + detalle/gestión + seguimiento */
@media (max-width: 820px){
  /* Listado: a partir de tablet/ventana dividida la tabla se convierte en fichas, sin scroll horizontal. */
  body.page-reimbursements .rr-list-card{overflow:visible!important;padding:12px!important;}
  body.page-reimbursements .rr-table-wrap{overflow:visible!important;width:100%!important;}
  body.page-reimbursements .rr-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;}
  body.page-reimbursements .rr-table colgroup,body.page-reimbursements .rr-table thead{display:none!important;}
  body.page-reimbursements .rr-table tbody{display:block!important;width:100%!important;}
  body.page-reimbursements .rr-table tr.rr-row{display:block!important;width:100%!important;margin:0 0 10px!important;border:1px solid #dce7ed!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important;}
  body.page-reimbursements .rr-table tr.rr-row td{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:36px!important;padding:7px 10px!important;border:0!important;border-bottom:1px solid #edf2f5!important;text-align:left!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;box-sizing:border-box!important;}
  body.page-reimbursements .rr-table tr.rr-row td:last-child{border-bottom:0!important;}
  body.page-reimbursements .rr-table tr.rr-row td::before{content:attr(data-label)!important;display:block!important;font-size:8.5px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.025em!important;text-transform:uppercase!important;color:#718493!important;}
  body.page-reimbursements .rr-description-cell,body.page-reimbursements .rr-requester-cell,body.page-reimbursements .rr-method-cell{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;}
  body.page-reimbursements .rr-status{max-width:100%!important;white-space:normal!important;text-align:center!important;}
  body.page-reimbursements .rr-actions{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:7px!important;min-width:0!important;}
  body.page-reimbursements .rr-actions .rr-icon-action{display:inline-flex!important;width:34px!important;height:32px!important;min-width:34px!important;align-items:center!important;justify-content:center!important;padding:0!important;visibility:visible!important;}
  body.page-reimbursements .rr-filter-empty{display:block!important;width:100%!important;}
  body.page-reimbursements .rr-filter-empty td{display:block!important;width:100%!important;text-align:center!important;}
  body.page-reimbursements .rr-filter-empty td::before{display:none!important;}

  /* Alta / edición: todos los bloques pasan de columnas a flujo natural sin cortar controles. */
  body.page-new-reimbursement .lanr-create-card{width:100%!important;min-width:0!important;overflow:hidden!important;}
  body.page-new-reimbursement #reimbursementForm .lanr-create-section{min-width:0!important;}
  body.page-new-reimbursement .rr-beneficiary-options{grid-template-columns:1fr!important;}
  body.page-new-reimbursement .rr-beneficiary-new-grid{grid-template-columns:1fr!important;}
  body.page-new-reimbursement .rr-payment-grid,body.page-new-reimbursement .rr-identification-grid{grid-template-columns:1fr!important;}
  body.page-new-reimbursement .rr-expense-grid{grid-template-columns:1fr 1fr!important;}
  body.page-new-reimbursement .rr-expense-grid .rr-concept{grid-column:1/-1!important;}
  body.page-new-reimbursement .rr-expense-support,body.page-new-reimbursement .rr-item-picker{max-width:100%!important;min-width:0!important;}
  body.page-new-reimbursement input,body.page-new-reimbursement select,body.page-new-reimbursement textarea{max-width:100%!important;min-width:0!important;}
  body.page-new-reimbursement .rr-observed-meta{margin-left:0!important;gap:6px 12px!important;}

  /* Detalle: aplica también a observado, rechazado, gestión Admin, gestión Tesorería, pagado y finalizado. */
  body.page-reimbursement-detail .request-detail-shell,body.page-reimbursement-detail .request-detail-content,body.page-reimbursement-detail .rr-main-column,body.page-reimbursement-detail .rr-side-column{width:100%!important;min-width:0!important;max-width:100%!important;}
  body.page-reimbursement-detail .rr-detail-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  body.page-reimbursement-detail .rr-uniform-summary-grid,body.page-reimbursement-detail .rr-request-summary-grid,body.page-reimbursement-detail .rr-unified-data{grid-template-columns:1fr!important;}
  body.page-reimbursement-detail .rr-action-banner,body.page-reimbursement-detail .rr-subsanacion-focus,body.page-reimbursement-detail .rr-rejection-panel{max-width:100%!important;min-width:0!important;}
  body.page-reimbursement-detail .rr-action-buttons{display:flex!important;flex-wrap:wrap!important;width:100%!important;gap:7px!important;}
  body.page-reimbursement-detail .rr-action-buttons .btn{flex:1 1 180px!important;justify-content:center!important;}
  body.page-reimbursement-detail .rr-files{grid-template-columns:1fr!important;max-width:100%!important;}
  body.page-reimbursement-detail .rr-file-card{min-width:0!important;max-width:100%!important;overflow:hidden!important;}
  body.page-reimbursement-detail .rr-file-card *{max-width:100%;overflow-wrap:anywhere;}
  body.page-reimbursement-detail form input,body.page-reimbursement-detail form select,body.page-reimbursement-detail form textarea{max-width:100%!important;min-width:0!important;}

  /* Seguimiento */
  body.page-reimbursement-tracking .request-detail-shell,body.page-reimbursement-tracking .request-detail-content{width:100%!important;min-width:0!important;max-width:100%!important;}
  body.page-reimbursement-tracking .rr-vertical-timeline{width:100%!important;min-width:0!important;}
  body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:70px 28px minmax(0,1fr)!important;gap:6px!important;}
  body.page-reimbursement-tracking .rr-timeline-content{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;}
}
@media (max-width: 560px){
  body.page-reimbursements .rr-view-filters,body.page-reimbursements .rr-data-filters{grid-template-columns:1fr!important;}
  body.page-reimbursements .rr-clear-filter-wrap{grid-column:auto!important;}
  body.page-reimbursements .rr-table tr.rr-row td{grid-template-columns:104px minmax(0,1fr)!important;gap:7px!important;padding:7px 9px!important;}
  body.page-reimbursements .rr-list-head h3{font-size:15px!important;}
  body.page-reimbursements .tramite-pagination-controls{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:5px!important;}
  body.page-reimbursements .tramite-page-numbers{justify-content:center!important;}
  body.page-new-reimbursement .rr-expense-grid{grid-template-columns:1fr!important;}
  body.page-new-reimbursement .rr-expense-grid .rr-concept{grid-column:auto!important;}
  body.page-new-reimbursement .rr-expense-footer{flex-direction:column!important;align-items:stretch!important;}
  body.page-new-reimbursement .rr-add-expense{width:100%!important;}
  body.page-new-reimbursement .rr-totals{width:100%!important;display:grid!important;grid-template-columns:1fr!important;}
  body.page-new-reimbursement .lanr-create-actions{display:grid!important;grid-template-columns:1fr!important;}
  body.page-new-reimbursement .lanr-create-actions .btn{width:100%!important;}
  body.page-reimbursement-detail .request-detail-pagehead,body.page-reimbursement-tracking .request-detail-pagehead{gap:8px!important;}
  body.page-reimbursement-detail .rr-action-buttons{display:grid!important;grid-template-columns:1fr!important;}
  body.page-reimbursement-detail .rr-action-buttons .btn{width:100%!important;flex:none!important;}
  body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:58px 24px minmax(0,1fr)!important;gap:4px!important;}
  body.page-reimbursement-tracking .rr-timeline-date{font-size:8px!important;}
}
@media (max-width: 390px){
  body.page-reimbursements .rr-list-card{padding:9px!important;}
  body.page-reimbursements .rr-table tr.rr-row td{grid-template-columns:1fr!important;gap:3px!important;}
  body.page-reimbursements .rr-table tr.rr-row td::before{margin-bottom:1px!important;}
  body.page-reimbursements .rr-actions{justify-content:flex-start!important;}
  body.page-new-reimbursement #reimbursementForm .lanr-create-section{padding:10px!important;}
  body.page-reimbursement-tracking .rr-timeline-event{grid-template-columns:1fr!important;border-bottom:1px solid #e6edf1!important;padding:9px 0!important;}
  body.page-reimbursement-tracking .rr-timeline-rail{display:none!important;}
  body.page-reimbursement-tracking .rr-timeline-date{text-align:left!important;padding:0!important;}
}


/* V19.3 — Reembolsos: tabla real responsive + filtros funcionales en TODOS los anchos.
   Importante: no convertir filas en cards; el JS controla visibilidad con hidden/rr-js-hidden. */
body.page-reimbursements .rr-row.rr-js-hidden,
body.page-reimbursements .rr-row[hidden]{display:none!important;}
body.page-reimbursements .rr-table-wrap{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
body.page-reimbursements .rr-table{
  display:table!important;
  width:100%!important;
  min-width:900px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
body.page-reimbursements .rr-table colgroup{display:table-column-group!important;}
body.page-reimbursements .rr-table thead{display:table-header-group!important;}
body.page-reimbursements .rr-table tbody{display:table-row-group!important;}
body.page-reimbursements .rr-table tr.rr-row{display:table-row!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important;}
body.page-reimbursements .rr-table tr.rr-row.rr-js-hidden,
body.page-reimbursements .rr-table tr.rr-row[hidden]{display:none!important;}
body.page-reimbursements .rr-table tr.rr-row td{
  display:table-cell!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:10px 8px!important;
  border:0!important;
  border-bottom:1px solid #e8eef2!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.page-reimbursements .rr-table tr.rr-row td::before{display:none!important;content:none!important;}
body.page-reimbursements .rr-table .rr-status-cell,
body.page-reimbursements .rr-table tr.rr-row td:last-child{overflow:visible!important;}
body.page-reimbursements .rr-table tr.rr-row td:last-child{text-align:center!important;}
body.page-reimbursements .rr-table .rr-actions{justify-content:center!important;}
body.page-reimbursements .rr-filter-empty{display:table-row!important;}
body.page-reimbursements .rr-filter-empty[hidden]{display:none!important;}
body.page-reimbursements .rr-filter-empty td{display:table-cell!important;}
body.page-reimbursements .rr-filter-empty td::before{display:none!important;content:none!important;}

@media (max-width:1100px){
  body.page-reimbursements .rr-list-head{align-items:flex-start!important;flex-direction:column!important;gap:9px!important;}
  body.page-reimbursements .rr-view-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:6px!important;}
  body.page-reimbursements .rr-filter{width:100%!important;min-height:34px!important;white-space:normal!important;line-height:1.2!important;}
  body.page-reimbursements .rr-data-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr)) auto!important;align-items:end!important;width:100%!important;}
  body.page-reimbursements .rr-data-filters .field{width:100%!important;min-width:0!important;}
  body.page-reimbursements .rr-clear-filter-wrap{min-width:0!important;}
  body.page-reimbursements .rr-clear-filters{width:100%!important;min-height:36px!important;white-space:nowrap!important;}
}
@media (max-width:820px){
  body.page-reimbursements .rr-list-card{overflow:hidden!important;padding:12px!important;}
  body.page-reimbursements .rr-table-wrap{overflow-x:auto!important;}
  body.page-reimbursements .rr-table{display:table!important;min-width:860px!important;}
  body.page-reimbursements .rr-table colgroup{display:table-column-group!important;}
  body.page-reimbursements .rr-table thead{display:table-header-group!important;}
  body.page-reimbursements .rr-table tbody{display:table-row-group!important;}
  body.page-reimbursements .rr-table tr.rr-row{display:table-row!important;}
  body.page-reimbursements .rr-table tr.rr-row.rr-js-hidden,
  body.page-reimbursements .rr-table tr.rr-row[hidden]{display:none!important;}
  body.page-reimbursements .rr-table tr.rr-row td{display:table-cell!important;grid-template-columns:none!important;}
  body.page-reimbursements .rr-table tr.rr-row td::before{display:none!important;content:none!important;}
  body.page-reimbursements .rr-actions{justify-content:center!important;}
}
@media (max-width:620px){
  body.page-reimbursements .lanr-module-head{gap:9px!important;}
  body.page-reimbursements .lanr-module-head .btn.primary{width:100%!important;justify-content:center!important;}
  body.page-reimbursements .rr-view-filters{grid-template-columns:1fr!important;}
  body.page-reimbursements .rr-data-filters{grid-template-columns:1fr!important;gap:7px!important;}
  body.page-reimbursements .rr-clear-filter-wrap{grid-column:auto!important;width:100%!important;}
  body.page-reimbursements .rr-table{min-width:820px!important;}
  body.page-reimbursements .tramite-pagination{gap:8px!important;align-items:flex-start!important;flex-direction:column!important;}
  body.page-reimbursements .tramite-pagination-controls{width:100%!important;display:flex!important;justify-content:space-between!important;}
}

/* ===== V19.11 · Detalle de reembolso: móvil legible y compacto ===== */
@media (max-width:700px){
  /* La tarjeta usa todo el ancho útil; evita que reglas antiguas compriman el contenido. */
  body.page-reimbursement-detail .rr-detail-card.rr-unified-card{padding:0!important;overflow:hidden!important;}
  body.page-reimbursement-detail .rr-simple-heading{padding:14px 16px 10px!important;margin:0!important;}

  /* Resumen: beneficiario completo arriba; métricas 50/50 debajo. */
  body.page-reimbursement-detail .rr-request-summary-grid,
  body.page-reimbursement-detail .rr-uniform-summary-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    min-width:0!important;
  }
  body.page-reimbursement-detail .rr-request-summary-field{
    display:flex!important;
    min-width:0!important;
    width:auto!important;
    padding:12px 14px!important;
    gap:10px!important;
    border-right:1px solid #e3eaee!important;
    border-bottom:1px solid #e3eaee!important;
  }
  body.page-reimbursement-detail .rr-request-summary-field:first-child{
    grid-column:1/-1!important;
    border-right:0!important;
  }
  body.page-reimbursement-detail .rr-request-summary-field:nth-child(2){grid-column:1!important;}
  body.page-reimbursement-detail .rr-request-summary-field:nth-child(3){grid-column:2!important;border-right:0!important;}
  body.page-reimbursement-detail .rr-request-summary-field .rr-info-copy{
    min-width:0!important;
    width:100%!important;
  }
  body.page-reimbursement-detail .rr-request-summary-field .rr-info-copy span,
  body.page-reimbursement-detail .rr-request-summary-field .rr-info-copy strong,
  body.page-reimbursement-detail .rr-request-summary-field .rr-info-copy small{
    display:block!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }
  body.page-reimbursement-detail .rr-request-summary-field:first-child .rr-info-copy strong{font-size:13px!important;line-height:1.25!important;}
  body.page-reimbursement-detail .rr-request-summary-field:first-child .rr-info-copy small{font-size:9.5px!important;line-height:1.35!important;margin-top:2px!important;}

  /* Medio de reembolso siempre en fila completa. */
  body.page-reimbursement-detail .rr-payment-summary.rr-uniform-row{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    padding:12px 14px!important;
    gap:10px!important;
    border-bottom:1px solid #e3eaee!important;
  }
  body.page-reimbursement-detail .rr-payment-summary .rr-info-copy{min-width:0!important;width:100%!important;}
  body.page-reimbursement-detail .rr-payment-summary .rr-payment-group,
  body.page-reimbursement-detail .rr-payment-summary .rr-bank-list{min-width:0!important;max-width:100%!important;}

  /* En detalle móvil no conviene una tabla horizontal: cada gasto pasa a una ficha vertical. */
  body.page-reimbursement-detail .rr-detail-items{overflow:visible!important;width:100%!important;max-width:100%!important;}
  body.page-reimbursement-detail .rr-expense-section-title{padding:12px 14px 8px!important;}
  body.page-reimbursement-detail .rr-detail-expense-table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:auto!important;
  }
  body.page-reimbursement-detail .rr-detail-expense-table thead{display:none!important;}
  body.page-reimbursement-detail .rr-detail-expense-table tbody{display:block!important;width:100%!important;}
  body.page-reimbursement-detail .rr-detail-expense-table tr{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    padding:0!important;
    border-top:1px solid #e3eaee!important;
    background:#fff!important;
  }
  body.page-reimbursement-detail .rr-detail-expense-table td{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:9px 12px!important;
    border:0!important;
    overflow:visible!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(1){grid-column:1;grid-row:1;text-align:center!important;font-weight:800;color:#315c75;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(1)::before{content:"N°";display:block;font-size:8px;color:#718493;margin-bottom:3px;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(2){grid-column:2;grid-row:1;white-space:nowrap!important;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(2)::before{content:"FECHA";display:block;font-size:8px;font-weight:800;color:#718493;margin-bottom:3px;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(3){grid-column:1/-1;grid-row:2;padding-top:7px!important;border-top:1px solid #edf2f5!important;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(3)::before{content:"CONCEPTO / DESCRIPCIÓN";display:block;font-size:8px;font-weight:800;color:#718493;margin-bottom:5px;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(4){grid-column:1;grid-row:3;border-top:1px solid #edf2f5!important;white-space:normal!important;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(4)::before{content:"MONEDA";display:block;font-size:8px;font-weight:800;color:#718493;margin-bottom:3px;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(5){grid-column:2;grid-row:3;border-top:1px solid #edf2f5!important;text-align:right!important;white-space:nowrap!important;}
  body.page-reimbursement-detail .rr-detail-expense-table td:nth-child(5)::before{content:"MONTO";display:block;font-size:8px;font-weight:800;color:#718493;margin-bottom:3px;}
  body.page-reimbursement-detail .rr-expense-text{font-size:11px!important;line-height:1.4!important;overflow-wrap:normal!important;word-break:normal!important;}

  /* Sustentos aprovechan el ancho de la ficha, sin cortar nombre ni botón. */
  body.page-reimbursement-detail .rr-item-docs{width:100%!important;max-width:100%!important;margin-top:9px!important;}
  body.page-reimbursement-detail .rr-item-doc-list{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  body.page-reimbursement-detail .rr-item-doc-chip{
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr) auto!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.page-reimbursement-detail .rr-item-doc-chip .rr-doc-copy{min-width:0!important;max-width:100%!important;}
  body.page-reimbursement-detail .rr-item-doc-chip .rr-doc-copy b{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  body.page-reimbursement-detail .rr-doc-view{white-space:nowrap!important;}

  body.page-reimbursement-detail .rr-note-summary{padding:12px 14px!important;}
}

@media (max-width:360px){
  body.page-reimbursement-detail .rr-request-summary-field{padding:11px 10px!important;gap:8px!important;}
  body.page-reimbursement-detail .rr-info-icon{flex:0 0 34px!important;width:34px!important;height:34px!important;}
  body.page-reimbursement-detail .rr-payment-summary.rr-uniform-row{padding:11px 10px!important;gap:8px!important;}
  body.page-reimbursement-detail .rr-detail-expense-table td{padding:8px 10px!important;}
}

/* V20 - alta de usuarios por Sistemas */
.users-new-btn{margin-left:auto;white-space:nowrap}
.user-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
@media(max-width:700px){.users-pagehead{align-items:stretch}.users-new-btn{margin-left:0;width:100%;justify-content:center}.user-create-grid{grid-template-columns:1fr}}

/* V21 - alta de usuarios: formulario limpio y jerarquía clara */
#new-user-modal .user-modal-dialog{width:min(720px,calc(100vw - 32px));}
#new-user-modal .user-modal-header{padding:16px 20px;}
#new-user-modal .user-modal-body{padding:0 20px 18px;}
#new-user-modal .user-create-grid{gap:12px 14px;margin:4px 0 12px;}
#new-user-modal .field label{font-size:11px;font-weight:700;color:#334f63;}
#new-user-modal .field input,#new-user-modal .field select{height:42px;border-radius:8px;}
#new-user-modal .optional-label{font-weight:500;color:#7a8d9c;}
#new-user-modal .user-profile-inline-note{margin:4px 0 14px;line-height:1.35;}
#new-user-modal .btn.primary{min-height:40px;}
@media(max-width:700px){#new-user-modal .user-modal-dialog{width:min(94vw,520px)}#new-user-modal .user-create-grid{grid-template-columns:1fr;gap:10px}#new-user-modal .user-modal-header{padding:14px 16px}#new-user-modal .user-modal-body{padding:0 16px 16px}}

/* ===== FASE 1 · Uniformización de modales de usuarios (V21) ===== */
#new-user-modal .user-modal-dialog,
.user-modal-dialog{
  width:min(760px,calc(100vw - 32px));
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 22px 60px rgba(12,45,67,.22);
}
#new-user-modal .user-modal-header,
.user-modal-header{
  min-height:72px;
  padding:14px 20px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #e2eaf0;
}
.user-modal-identity{display:flex;align-items:center;gap:12px;min-width:0;}
.user-modal-identity h2{font-size:17px;line-height:1.25;margin:0;color:#0d3550;}
.user-modal-identity p{margin:3px 0 0;color:#718697;font-size:11px;line-height:1.3;}
.user-modal-header .user-admin-avatar{width:42px;height:42px;flex:0 0 42px;}
.user-modal-close{width:36px;height:36px;border-radius:9px;}
#new-user-modal .user-modal-body,
.user-modal-body.user-modal-body-compact{padding:0 20px 18px;}
.user-modal-body-compact .user-modal-section{padding:16px 0;border-bottom:1px solid #e6edf2;}
.user-modal-body-compact .user-modal-section:last-child{border-bottom:0;padding-bottom:2px;}
.user-section-title.compact-title{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:#163e59;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.user-section-title.compact-title>div{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#eef5f8;color:#17638b;}
#new-user-modal .user-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 14px;margin:0 0 13px;}
.user-modal .field{min-width:0;}
.user-modal .field label,#new-user-modal .field label{display:block;margin:0 0 5px;font-size:10.5px;font-weight:700;color:#38556a;line-height:1.25;}
.user-modal .field input,.user-modal .field select,
#new-user-modal .field input,#new-user-modal .field select{width:100%;height:42px;min-height:42px;border:1px solid #cbd9e3;border-radius:8px;background:#fff;padding:0 12px;font-size:13px;color:#16374e;box-shadow:none;}
.user-modal .field input::placeholder,#new-user-modal .field input::placeholder{color:#8a9aa7;opacity:1;}
.user-modal .field input:focus,.user-modal .field select:focus,
#new-user-modal .field input:focus,#new-user-modal .field select:focus{outline:0;border-color:#2d789f;box-shadow:0 0 0 3px rgba(45,120,159,.10);}
.optional-label{font-weight:500;color:#8495a2;}
.user-profile-inline-note{display:flex;gap:7px;align-items:flex-start;margin:2px 0 14px;padding:9px 11px;border-radius:8px;background:#f6f9fb;color:#60798b;font-size:10.5px;line-height:1.4;}
.user-profile-inline-note i{margin-top:2px;color:#397b9f;}
#new-user-modal .btn.primary{height:40px;min-height:40px;padding:0 16px;border-radius:8px;}

/* Administrar usuario */
.user-summary-section .user-personal-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce6ed;border-radius:9px;overflow:hidden;background:#fff;}
.user-summary-section .user-detail-item{padding:10px 12px;min-height:58px;border:0;}
.user-summary-section .user-detail-item+ .user-detail-item{border-left:1px solid #e2e9ee;}
.user-info-label{display:block;margin-bottom:4px;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;color:#6b8293;}
.user-summary-section .user-detail-item strong,.user-summary-section .user-detail-item span:not(.user-info-label){font-size:12px;color:#16374e;}
.user-modal .compact-access-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:end;padding:0;background:transparent;border:0;}
.user-modal .compact-access-grid .compact-save-btn{grid-column:1/-1;width:auto;justify-self:start;height:40px;min-height:40px;padding:0 18px;}
.user-account-row{margin-top:12px;padding:10px 12px;min-height:54px;border:1px solid #dfe8ee;border-radius:9px;background:#fafcfd;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.user-inline-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;}
.user-modal .compact-password-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;padding:0;border:0;background:transparent;}
.user-modal .compact-password-form .btn{grid-column:1/-1;justify-self:start;height:40px;min-height:40px;padding:0 18px;white-space:nowrap;background:#173f5b;color:#fff;border-color:#173f5b;}
.user-modal .user-deactivate-btn{height:36px;min-height:36px;border-radius:8px;}

@media(max-width:700px){
 #new-user-modal .user-modal-dialog,.user-modal-dialog{width:min(94vw,520px);max-height:calc(100vh - 20px);}
 #new-user-modal .user-modal-header,.user-modal-header{min-height:64px;padding:11px 15px;}
 #new-user-modal .user-modal-body,.user-modal-body.user-modal-body-compact{padding:0 15px 14px;}
 .user-modal-body-compact .user-modal-section{padding:13px 0;}
 #new-user-modal .user-create-grid,.user-modal .compact-access-grid,.user-modal .compact-password-form{grid-template-columns:1fr;gap:10px;}
 .user-summary-section .user-personal-grid{grid-template-columns:1fr;}
 .user-summary-section .user-detail-item+ .user-detail-item{border-left:0;border-top:1px solid #e2e9ee;}
 .user-modal .compact-access-grid .compact-save-btn,.user-modal .compact-password-form .btn{grid-column:auto;width:100%;justify-self:stretch;}
 .user-account-row{align-items:flex-start;flex-direction:column;}
 .user-account-row form,.user-account-row .btn{width:100%;}
}


/* ===== FASE 1 · Ajuste 02: modal completo + tabla de usuarios más compacta ===== */
/* El modal conserva cabecera visible y desplaza solamente su contenido cuando la
   altura de pantalla no alcanza (por ejemplo 1366x768 o zoom del navegador). */
.user-modal:not(#new-user-modal),
#new-user-modal{padding:14px 0;box-sizing:border-box;}
.user-modal-dialog{
  display:flex;
  flex-direction:column;
  max-height:calc(100dvh - 28px) !important;
  overflow:hidden !important;
}
.user-modal-header{flex:0 0 auto;}
.user-modal-body.user-modal-body-compact{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-gutter:stable;
}
.user-modal-body.user-modal-body-compact::-webkit-scrollbar{width:7px;}
.user-modal-body.user-modal-body-compact::-webkit-scrollbar-thumb{background:#c8d5de;border-radius:999px;}
.user-modal-body.user-modal-body-compact::-webkit-scrollbar-track{background:transparent;}

/* Administración: mejor aprovechamiento vertical y lectura por bloques. */
.user-modal:not(#new-user-modal) .user-modal-dialog{width:min(760px,calc(100vw - 32px));}
.user-modal:not(#new-user-modal) .user-modal-body-compact .user-modal-section{padding:13px 0;}
.user-modal:not(#new-user-modal) .user-section-title.compact-title{margin-bottom:10px;}
.user-modal:not(#new-user-modal) .user-profile-inline-note{margin:7px 0 0;padding:8px 10px;}
.user-modal:not(#new-user-modal) .user-account-row{margin-top:10px;}
.user-modal:not(#new-user-modal) .compact-password-form{padding-bottom:2px;}

/* Tabla exclusiva de Administrar usuarios: evita columnas demasiado separadas. */
.users-table-card:has(.user-accounts-table){
  padding:0;
  overflow:hidden;
}
.user-accounts-table{
  width:100%;
  table-layout:fixed;
}
.user-accounts-table th,
.user-accounts-table td{
  padding-left:14px !important;
  padding-right:14px !important;
  vertical-align:middle;
}
.user-accounts-table th:nth-child(1),.user-accounts-table td:nth-child(1){width:23%;}
.user-accounts-table th:nth-child(2),.user-accounts-table td:nth-child(2){width:22%;}
.user-accounts-table th:nth-child(3),.user-accounts-table td:nth-child(3){width:20%;}
.user-accounts-table th:nth-child(4),.user-accounts-table td:nth-child(4){width:16%;}
.user-accounts-table th:nth-child(5),.user-accounts-table td:nth-child(5){width:19%;}
.user-accounts-table tbody tr{height:58px;}
.user-accounts-table .users-table-user{gap:10px;}
.user-accounts-table .users-table-avatar{width:36px;height:36px;flex:0 0 36px;}
.user-accounts-table .users-view-btn{min-height:36px;height:36px;padding:0 13px;white-space:nowrap;}

@media (max-width:900px){
  .user-accounts-table th,.user-accounts-table td{padding-left:10px !important;padding-right:10px !important;}
}
@media (max-width:700px){
  .user-modal:not(#new-user-modal),#new-user-modal{padding:8px 0;}
  .user-modal-dialog{max-height:calc(100dvh - 16px) !important;}
  .user-modal:not(#new-user-modal) .user-modal-body-compact .user-modal-section{padding:11px 0;}
}

/* ===== FASE 1 · Ajuste 03: acciones de modales alineadas a la derecha ===== */
/* Nuevo usuario */
#new-user-modal .user-management-section > form > .btn.primary{
  display:flex;
  width:max-content;
  margin-left:auto;
  margin-right:0;
  justify-content:center;
}
/* Administrar usuario: Guardar y Asignar contraseña */
.user-modal:not(#new-user-modal) .compact-access-grid .compact-save-btn{
  justify-self:end;
  margin-left:auto;
}
.user-modal:not(#new-user-modal) .compact-password-form .btn{
  justify-self:end;
  margin-left:auto;
}
@media(max-width:700px){
  #new-user-modal .user-management-section > form > .btn.primary,
  .user-modal:not(#new-user-modal) .compact-access-grid .compact-save-btn,
  .user-modal:not(#new-user-modal) .compact-password-form .btn{
    width:max-content;
    min-width:0;
    justify-self:end;
    margin-left:auto;
    margin-right:0;
  }
}

/* ===== FASE 1 · Ajuste 04: botones uniformes en Administrar usuarios ===== */
body.page-users .btn,
#new-user-modal .btn,
.user-modal .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  white-space:nowrap;
}
body.page-users .btn i,
#new-user-modal .btn i,
.user-modal .btn i{
  margin:0;
  flex:0 0 auto;
}
/* Acciones principales de los modales siempre al extremo derecho */
#new-user-modal .user-management-section > form > .btn.primary,
.user-modal:not(#new-user-modal) .compact-access-grid .compact-save-btn,
.user-modal:not(#new-user-modal) .compact-password-form .btn{
  width:max-content;
  min-width:max-content;
  justify-self:end;
  margin-left:auto;
  margin-right:0;
  padding-left:16px;
  padding-right:16px;
}
/* Botones de cabecera y tabla con el mismo espaciado icono/texto */
.users-new-btn,
.user-accounts-table .users-view-btn,
.user-deactivate-btn{
  gap:7px !important;
}
@media(max-width:700px){
  #new-user-modal .user-management-section > form > .btn.primary,
  .user-modal:not(#new-user-modal) .compact-access-grid .compact-save-btn,
  .user-modal:not(#new-user-modal) .compact-password-form .btn{
    width:max-content !important;
    min-width:max-content;
    justify-self:end !important;
    margin-left:auto !important;
  }
}


/* V21 Fase 1 - Administración integral de usuarios */
.user-create-grid input.no-uppercase,.user-admin-edit-grid input.no-uppercase{text-transform:none!important;}
.user-admin-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.user-admin-edit-grid .field{margin:0;}
.user-admin-edit-grid input,.user-admin-edit-grid select{height:40px;}
.user-form-actions-right{display:flex;justify-content:flex-end;margin-top:12px;}
@media(max-width:700px){.user-admin-edit-grid{grid-template-columns:1fr}.user-form-actions-right .btn{width:100%;justify-content:center;}}

/* =========================================================
   PERFIL — refinamiento visual V21 / Fase 1
   Solo presentación: no altera lógica ni permisos.
========================================================= */
body:has(.profile-layout) .profile-pagehead{
  max-width:1200px;
  margin-bottom:16px;
}
body:has(.profile-layout) .profile-pagehead h1{margin-bottom:4px;}
body:has(.profile-layout) .profile-layout{
  max-width:1200px;
  grid-template-columns:280px minmax(0,1fr);
  gap:18px;
}
body:has(.profile-layout) .profile-side-column{gap:16px;}
body:has(.profile-layout) .profile-identity-card,
body:has(.profile-layout) .profile-security-card,
body:has(.profile-layout) .profile-main-card{
  border:1px solid #dbe5eb;
  box-shadow:0 5px 18px rgba(22,58,82,.045);
}
body:has(.profile-layout) .profile-identity-card{
  padding:26px 22px 22px;
  background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%);
}
body:has(.profile-layout) .profile-identity-card::before{height:3px;}
body:has(.profile-layout) .profile-photo-wrapper{margin:2px 0 15px;}
body:has(.profile-layout) .profile-photo{width:102px;height:102px;}
body:has(.profile-layout) .profile-identity-info h2{font-size:18px;}
body:has(.profile-layout) .profile-role{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:8px;padding:5px 11px;border-radius:999px;
  background:#eaf2f6;color:#285b77;font-weight:700;
}
body:has(.profile-layout) .profile-identity-info p{margin-top:8px;font-size:10.5px;}
body:has(.profile-layout) .profile-security-card{padding:17px 18px;}
body:has(.profile-layout) .profile-security-heading{margin-bottom:12px;}
body:has(.profile-layout) .profile-security-content{padding-top:12px;}
body:has(.profile-layout) .profile-password-button{margin-top:12px;min-height:38px;}

body:has(.profile-layout) .profile-main-card{background:#fff;}
body:has(.profile-layout) .profile-section{
  padding:22px 24px;
  border-bottom:1px solid #e4ebef;
}
body:has(.profile-layout) .profile-section:last-child{border-bottom:0;}
body:has(.profile-layout) .profile-section-heading{
  display:flex;align-items:center;gap:12px;margin-bottom:17px;
}
body:has(.profile-layout) .profile-section-icon{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;
  flex:0 0 38px;border-radius:10px;background:#edf4f7;color:#236181;
}
body:has(.profile-layout) .profile-section-heading h3{margin:0;font-size:14px;color:#173c55;}
body:has(.profile-layout) .profile-section-heading p{margin:3px 0 0;font-size:9.5px;color:#748796;}
body:has(.profile-layout) .profile-formgrid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
}
body:has(.profile-layout) .profile-formgrid .field.full{grid-column:1/-1;}
body:has(.profile-layout) .profile-formgrid .field{min-width:0;}
body:has(.profile-layout) .profile-formgrid label{
  display:block;margin-bottom:6px;font-size:10px;font-weight:700;color:#36576c;
}
body:has(.profile-layout) .profile-main-card .readonly-field{
  min-height:42px;padding:10px 12px;border:1px solid #d9e4ea;border-radius:8px;
  background:#f8fafb;color:#284b61;font-weight:500;box-shadow:none;
  cursor:default;
}
body:has(.profile-layout) .profile-main-card .readonly-field:focus{outline:none;box-shadow:none;border-color:#d9e4ea;}
body:has(.profile-layout) .profile-main-card .field-help{
  display:block;margin:5px 2px 0;font-size:9px;color:#81919d;
}
body:has(.profile-layout) .profile-access-section{background:#fcfdfe;}

@media (max-width:900px){
  body:has(.profile-layout) .profile-layout{grid-template-columns:240px minmax(0,1fr);}
}
@media (max-width:780px){
  body:has(.profile-layout) .profile-layout{grid-template-columns:1fr;}
  body:has(.profile-layout) .profile-side-column{display:grid;grid-template-columns:1fr 1fr;}
}
@media (max-width:580px){
  body:has(.profile-layout) .profile-side-column{grid-template-columns:1fr;}
  body:has(.profile-layout) .profile-section{padding:18px 16px;}
  body:has(.profile-layout) .profile-formgrid{grid-template-columns:1fr;gap:12px;}
  body:has(.profile-layout) .profile-formgrid .field.full{grid-column:auto;}
}

/* Perfil: datos personales equilibrados en dos columnas */
.profile-section:first-child .profile-formgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.profile-section:first-child .profile-formgrid .field {
  min-width: 0;
}
.profile-section:first-child .profile-formgrid input {
  width: 100%;
}
@media (max-width: 680px) {
  .profile-section:first-child .profile-formgrid {
    grid-template-columns: 1fr;
  }
}

/* Fase 1/2: asignación explícita de obras en usuarios */
.user-work-checks{display:flex;gap:8px;flex-wrap:wrap;min-height:42px;align-items:center;padding:7px 10px;border:1px solid #cbd8e3;border-radius:9px;background:#fff}.user-work-option{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:#173b55}.user-work-option input{width:16px;height:16px;margin:0}.user-create-works{grid-column:1/-1}


/* Fase 2 - selector de obras en administración de usuarios */
.user-admin-works{grid-column:1/-1;}
.user-works-field{min-width:0;}
.user-works-field>label{display:block;margin-bottom:6px;}
.user-work-checks{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:8px;
  min-height:0;
  padding:8px;
  border:1px solid #d6e1e8;
  border-radius:9px;
  background:#f8fbfc;
}
.user-work-option{
  position:relative;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:8px 11px;
  border:1px solid #d8e3e9;
  border-radius:8px;
  background:#fff;
  color:#173b55;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.user-work-option:hover{border-color:#8eb4c9;background:#fbfdfe;}
.user-work-option input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none;
}
.user-work-checkmark{
  width:20px;height:20px;flex:0 0 20px;
  display:flex;align-items:center;justify-content:center;
  border:1.5px solid #9db4c2;border-radius:5px;
  background:#fff;color:transparent;font-size:10px;
}
.user-work-option:has(input:checked){border-color:#4f91b3;background:#f2f8fb;box-shadow:0 0 0 1px rgba(47,126,166,.05);}
.user-work-option input:checked + .user-work-checkmark{background:#1f678b;border-color:#1f678b;color:#fff;}
.user-work-name{display:flex;align-items:center;gap:7px;min-width:0;}
.user-work-name>i{color:#4d819d;font-size:12px;}
.user-work-help{display:block;margin:5px 2px 0;color:#738895;font-size:9.5px;line-height:1.35;}
.user-create-works{grid-column:1/-1;}
@media(max-width:700px){
  .user-work-checks{grid-template-columns:1fr;}
  .user-work-option{min-height:42px;}
}

/* ===== FASE 2 · Ajuste definitivo: selector de obras compacto y uniforme ===== */
#new-user-modal .user-create-works,
.user-modal:not(#new-user-modal) .user-admin-works{
  grid-column:auto !important;
}
.user-works-field{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.user-works-field > label{
  margin:0 0 5px !important;
}
.user-work-checks{
  display:flex !important;
  align-items:center;
  align-content:center;
  gap:6px;
  flex-wrap:wrap;
  min-height:42px !important;
  padding:5px 7px !important;
  border:1px solid #cbd9e3 !important;
  border-radius:8px !important;
  background:#fff !important;
}
.user-work-option{
  position:relative;
  display:inline-flex !important;
  flex:0 0 auto;
  align-items:center;
  gap:6px !important;
  min-height:30px !important;
  padding:5px 9px !important;
  margin:0;
  border:1px solid #d8e3e9 !important;
  border-radius:7px !important;
  background:#f7fafc !important;
  color:#173b55;
  font-size:11px !important;
  font-weight:650;
  line-height:1.15;
  cursor:pointer;
}
.user-work-option:hover{border-color:#8eb4c9 !important;background:#f2f7fa !important;}
.user-work-option:has(input:checked){
  border-color:#7daac0 !important;
  background:#edf6fa !important;
  box-shadow:none !important;
}
.user-work-checkmark{
  width:17px !important;
  height:17px !important;
  flex:0 0 17px !important;
  border-radius:4px !important;
  font-size:8px !important;
}
.user-work-name{gap:5px !important;white-space:nowrap;}
.user-work-name>i{font-size:10px !important;color:#477d99 !important;}
.user-work-help{
  margin:4px 1px 0 !important;
  min-height:0;
  font-size:9px !important;
  line-height:1.25 !important;
  color:#748896 !important;
}
/* Mantener una retícula pareja: puesto/obras, correo/contraseña, confirmación. */
#new-user-modal .user-create-grid,
.user-modal:not(#new-user-modal) .user-admin-edit-grid{
  align-items:start;
}
@media(max-width:700px){
  #new-user-modal .user-create-works,
  .user-modal:not(#new-user-modal) .user-admin-works{grid-column:auto !important;}
  .user-work-checks{min-height:42px !important;}
  .user-work-option{max-width:100%;}
  .user-work-name{white-space:normal;}
}

/* ===== FASE 2 · Obras al final del formulario ===== */
#new-user-modal .user-create-works,
.user-modal:not(#new-user-modal) .user-admin-works{
  grid-column:1 / -1 !important;
  margin-top:2px;
}
#new-user-modal .user-create-works .user-work-checks,
.user-modal:not(#new-user-modal) .user-admin-works .user-work-checks{
  min-height:44px !important;
  padding:6px 8px !important;
}
@media(max-width:700px){
  #new-user-modal .user-create-works,
  .user-modal:not(#new-user-modal) .user-admin-works{grid-column:1 !important;}
}

/* ===== Usuarios · Modal administrar — organización compacta 2026-10-01 ===== */
.user-modal:not(#new-user-modal) .user-modal-dialog{
  width:min(820px,calc(100vw - 32px));
  max-height:calc(100dvh - 28px);
}
.user-modal:not(#new-user-modal) .user-modal-header{
  min-height:68px;
  padding:12px 20px;
}
.user-modal:not(#new-user-modal) .user-modal-body.user-modal-body-compact{
  padding:0 20px 16px;
}
.user-modal:not(#new-user-modal) .user-management-section{
  padding:14px 0 12px !important;
}
.user-modal:not(#new-user-modal) .user-admin-edit-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 14px;
  align-items:start;
}
.user-modal:not(#new-user-modal) .user-admin-edit-grid .field input,
.user-modal:not(#new-user-modal) .user-admin-edit-grid .field select{
  height:40px;
  min-height:40px;
}
.user-modal:not(#new-user-modal) .user-admin-works{
  grid-column:1/-1 !important;
  margin-top:1px;
  padding-top:1px;
}
.user-modal:not(#new-user-modal) .user-admin-works .user-work-checks{
  min-height:40px !important;
  padding:5px 7px !important;
  background:#f8fbfc !important;
}
.user-modal:not(#new-user-modal) .user-admin-works .user-work-option{
  min-height:28px !important;
  padding:4px 8px !important;
  background:#fff !important;
}
.user-modal:not(#new-user-modal) .user-admin-works .user-work-help{
  margin-top:3px !important;
}
.user-modal:not(#new-user-modal) .user-profile-inline-note{
  margin:8px 0 10px !important;
  padding:7px 10px !important;
  min-height:32px;
  display:flex;
  align-items:center;
}
.user-modal:not(#new-user-modal) .user-form-actions-right{
  display:flex;
  justify-content:flex-end;
  margin:0;
}
.user-modal:not(#new-user-modal) .user-form-actions-right .btn{
  min-width:142px;
  height:38px;
  min-height:38px;
}
.user-modal:not(#new-user-modal) .user-account-row{
  margin-top:10px !important;
  min-height:54px;
  padding:9px 12px;
  border-radius:9px;
}
.user-modal:not(#new-user-modal) .user-security-section{
  padding:12px 0 2px !important;
}
.user-modal:not(#new-user-modal) .compact-password-form{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:10px 12px;
  align-items:end;
  padding:0 0 2px;
}
.user-modal:not(#new-user-modal) .compact-password-form .field input{
  height:40px;
  min-height:40px;
}
.user-modal:not(#new-user-modal) .compact-password-form .btn{
  grid-column:auto !important;
  width:auto !important;
  min-width:158px;
  height:40px;
  justify-self:end;
}
@media(max-width:700px){
  .user-modal:not(#new-user-modal) .user-modal-dialog{width:min(96vw,520px);max-height:calc(100dvh - 16px);}
  .user-modal:not(#new-user-modal) .user-modal-header{padding:11px 15px;}
  .user-modal:not(#new-user-modal) .user-modal-body.user-modal-body-compact{padding:0 15px 14px;}
  .user-modal:not(#new-user-modal) .user-admin-edit-grid{grid-template-columns:1fr;gap:9px;}
  .user-modal:not(#new-user-modal) .user-admin-works{grid-column:1 !important;}
  .user-modal:not(#new-user-modal) .compact-password-form{grid-template-columns:1fr;gap:9px;}
  .user-modal:not(#new-user-modal) .compact-password-form .btn{width:100% !important;justify-self:stretch;}
}


/* V21.3 - Administrar usuarios usa la misma composición visual de Administrar unidades. */
body.page-users .users-table-card{padding:0;overflow:hidden;}
body.page-users .users-table-card .tablewrap{border-radius:0;}
body.page-users .users-new-btn{flex:0 0 auto;min-height:38px;padding-inline:15px;}
@media(max-width:900px){body.page-users .users-new-btn{align-self:flex-start;}}

/* Sistemas: estructura uniforme de módulos administrativos */
.projects-list-card{padding:0;overflow:hidden}
.projects-grid-inside{padding:18px 20px 20px}
.projects-grid-inside .project-admin-card{margin:0}
@media(max-width:600px){.projects-grid-inside{padding:14px}}

/* INICIO — contador uniforme para los encabezados de tablas */
.pending-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef4f7;
  color: #31566d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 780px) {
  .recent-card .card-title-row .pending-count {
    align-self: flex-start;
  }
}


/* LANR · navegación secundaria uniforme (breadcrumb) */
.lanr-breadcrumb,
.request-detail-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#718694;font-size:10px;line-height:1.35}
.lanr-breadcrumb a,
.request-detail-breadcrumb a{color:#607b8c;text-decoration:none;font-weight:500;transition:color .15s ease,text-decoration-color .15s ease}
.lanr-breadcrumb a:hover,
.request-detail-breadcrumb a:hover{color:#0d4a6b;text-decoration:underline;text-underline-offset:2px}
.lanr-breadcrumb span:not(:last-child),
.lanr-breadcrumb b,
.request-detail-breadcrumb b{color:#9aabb5;font-weight:600}

/* Solicitudes de pago: diseño consistente con Nuevo requerimiento */
.page-new-payment .lanr-create-head p{max-width:900px}
.page-new-payment .sp-simple .lanr-create-section{padding-top:17px;padding-bottom:17px}
.page-new-payment .sp-simple .field{min-width:0}
.page-new-payment .sp-simple .sp-space{margin-top:13px}
.page-new-payment .sp-simple [hidden]{display:none!important}
.page-new-payment .sp-ben-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.page-new-payment .sp-ben-toggle{min-height:40px;white-space:nowrap;border:1px solid #b8d0e0;background:#fff;color:#103b58;font-weight:650}
.page-new-payment .sp-ben-search-wrap{position:relative}
.page-new-payment .sp-ben-search-wrap input.sp-disabled{background:#e8eff5!important;color:#758899!important;cursor:not-allowed}
.page-new-payment .sp-ben-results{position:absolute;top:calc(100% + 3px);left:0;right:0;z-index:30;max-height:290px;overflow-y:auto;background:#fff;border:1px solid #bed2e1;border-radius:9px;box-shadow:0 10px 24px #102d4526;padding:4px}
.page-new-payment .sp-ben-result{display:flex;align-items:center;gap:10px;width:100%;border:0;background:#fff;text-align:left;padding:9px;border-radius:6px;cursor:pointer;color:#163a54}
.page-new-payment .sp-ben-result:hover,.page-new-payment .sp-ben-result:focus{background:#eaf3f9}
.page-new-payment .sp-ben-result strong,.page-new-payment .sp-ben-result small{display:block}
.page-new-payment .sp-ben-result small{font-size:11px;color:#607c90;margin-top:2px}
.page-new-payment .sp-ben-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#e6f0f6;color:#1c597b;font-weight:750}
.page-new-payment .sp-ben-new{margin-top:14px;padding:14px;border:1px solid #d5e2ec;background:#f9fcfe;border-radius:8px}
.page-new-payment .sp-responsable-check{display:inline-flex;align-items:center;gap:9px;margin-top:13px;font-weight:500;cursor:pointer}
.page-new-payment .sp-responsable-check input{width:16px;height:16px;margin:0}
.page-new-payment .sp-responsable-check small,.page-new-payment .sp-simple label small{font-weight:400;color:#6a8093}
.page-new-payment .sp-help{font-size:12px;color:#607c90;margin:10px 0 0}
.page-new-payment .sp-file-picker{display:flex;align-items:center;gap:12px;min-height:62px;border:1px dashed #a8c6dc;border-radius:7px;padding:10px 12px;cursor:pointer;background:#fbfdff;position:relative}
.page-new-payment .sp-file-picker:hover{background:#f0f7fc;border-color:#5799c3}
.page-new-payment .sp-file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.page-new-payment .sp-file-icon{display:grid;place-items:center;background:#e8f2f8;border-radius:8px;color:#1e6896;width:35px;height:35px;flex:0 0 35px}
.page-new-payment .sp-file-text{flex:1;min-width:0;overflow-wrap:anywhere}
.page-new-payment .sp-file-text strong,.page-new-payment .sp-file-text small{display:block}
.page-new-payment .sp-file-text strong{font-size:12px;color:#143e5b}
.page-new-payment .sp-file-text small{font-size:11px;color:#668198;margin-top:4px}
.page-new-payment .sp-file-action{color:#165b88;font-size:12px;font-weight:650;white-space:nowrap}
@media(max-width:720px){.page-new-payment .sp-ben-row{grid-template-columns:1fr}.page-new-payment .sp-ben-toggle{justify-self:start}.page-new-payment .sp-file-action{display:none}}

/* Solicitud: tres campos alineados y estilo coherente con Requerimientos */
/* El borde superior es el mismo de #reqForm (regla compartida). */
body.page-new-payment .sp-simple .lanr-create-section{padding:15px 14px;}
body.page-new-payment .sp-simple .lanr-section-label{margin-bottom:10px;}
body.page-new-payment .sp-general-row{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end;}
body.page-new-payment .sp-general-row>.field{min-width:0;margin:0;}
body.page-new-payment .sp-general-row input,body.page-new-payment .sp-general-row select{width:100%;min-width:0;height:40px;box-sizing:border-box;}
body.page-new-payment .sp-general-row .lanr-number-composer{display:flex;align-items:center;min-width:0;width:100%;gap:8px;}
body.page-new-payment .sp-general-row .lanr-number-composer input{min-width:0;flex:1;}
body.page-new-payment .sp-general-row .lanr-year-fixed{flex-shrink:0;}
body.page-new-payment .sp-simple .sp-ben-row{align-items:end;}
body.page-new-payment .sp-simple .sp-ben-toggle{height:40px;min-height:40px;margin:0;}
body.page-new-payment .sp-simple .lanr-create-actions{padding:12px 14px;}
@media(max-width:900px){body.page-new-payment .sp-general-row{grid-template-columns:1fr 1fr;}body.page-new-payment .sp-general-type{grid-column:1/-1;}}
@media(max-width:580px){body.page-new-payment .sp-general-row{grid-template-columns:1fr;}body.page-new-payment .sp-general-type{grid-column:auto;}}

/* Solicitud de pago: hereda las mismas proporciones y superficies de Requerimientos. */
body.page-new-payment #spSimpleForm.lanr-create-card{border-top:4px solid #2f6f95!important;}
body.page-new-payment #spSimpleForm .lanr-create-section{padding:15px 14px;}
body.page-new-payment #spSimpleForm .lanr-section-label{margin-bottom:10px;}
body.page-new-payment #spSimpleForm .sp-general-row{align-items:end;}
body.page-new-payment #spSimpleForm .sp-file-picker{min-height:48px;}
body.page-new-payment #spSimpleForm .sp-file-picker:focus-within{outline:2px solid #2f6f95;outline-offset:2px;}

/* SP: número de solicitud año-correlativo (2026-01). */
body.page-new-payment .sp-general-number .lanr-number-composer input[name="numero_correlativo"]{text-align:center;min-width:75px;}
body.page-new-payment .sp-general-number .lanr-number-composer .lanr-year-fixed{flex:0 0 76px;}

/* Solicitud simplificada: solo número y fecha en datos generales. */
body.page-new-payment .sp-general-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:580px){body.page-new-payment .sp-general-row{grid-template-columns:1fr}}

/* Solicitud de pago: misma tarjeta y secciones que Requerimientos, con Excel al inicio. */
body.page-new-payment #spSimpleForm.lanr-create-card{border-top:4px solid #2f6f95!important;overflow:hidden}
body.page-new-payment #spSimpleForm .lanr-create-section{padding:15px 14px}
body.page-new-payment #spSimpleForm .lanr-section-label{margin-bottom:11px}
body.page-new-payment #spSimpleForm .sp-intro-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,.95fr) minmax(0,.95fr);gap:12px;align-items:end}
body.page-new-payment #spSimpleForm .sp-intro-grid>.field{min-width:0;margin:0}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer{display:flex;align-items:center;gap:7px;min-width:0;width:100%}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input{min-width:0;flex:1;text-align:center;height:40px}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-year-fixed{flex:0 0 68px}
body.page-new-payment #spSimpleForm .sp-intro-grid input[type=date]{width:100%;height:40px;min-width:0;box-sizing:border-box}
body.page-new-payment #spSimpleForm .sp-file-picker-compact{min-height:40px;height:40px;padding:4px 10px;box-sizing:border-box;gap:8px}
body.page-new-payment #spSimpleForm .sp-file-picker-compact .sp-file-icon{width:27px;height:27px;flex-basis:27px}
body.page-new-payment #spSimpleForm .sp-file-picker-compact .sp-file-text strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-new-payment #spSimpleForm .sp-file-picker-compact .sp-file-text small{font-size:10px;margin-top:0}
body.page-new-payment #spSimpleForm .sp-optional{font-weight:400;color:#71859a}
body.page-new-payment #spSimpleForm .sp-note-section textarea{width:100%;box-sizing:border-box}
body.page-new-payment #spSimpleForm .sp-documents-section .field>label:first-child{font-size:11px;color:#668198;font-weight:400;margin-bottom:8px;display:block}
@media(max-width:920px){body.page-new-payment #spSimpleForm .sp-intro-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.page-new-payment #spSimpleForm .sp-intro-excel{grid-column:1/-1}}
@media(max-width:580px){body.page-new-payment #spSimpleForm .sp-intro-grid{grid-template-columns:1fr}body.page-new-payment #spSimpleForm .sp-intro-excel{grid-column:auto}}

/* V27.3: alineación exacta de los tres controles de Datos de la solicitud.
   Misma altura de etiqueta y de control; evita el desnivel causado por
   estilos globales de label, input y el selector de archivos. */
body.page-new-payment #spSimpleForm .sp-intro-grid{align-items:stretch;column-gap:12px;row-gap:14px}
body.page-new-payment #spSimpleForm .sp-intro-grid>.field{display:flex;flex-direction:column;min-width:0;align-self:stretch}
body.page-new-payment #spSimpleForm .sp-intro-grid>.field>label:first-child:not(.sp-file-picker){display:flex;align-items:center;min-height:18px;height:18px;line-height:18px;margin:0 0 7px;padding:0;box-sizing:border-box}
body.page-new-payment #spSimpleForm .sp-intro-grid .sp-file-picker-compact,
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer,
body.page-new-payment #spSimpleForm .sp-intro-grid input[type=date]{height:42px;min-height:42px;max-height:42px;box-sizing:border-box;margin:0}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input,
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-year-fixed{height:42px;min-height:42px;max-height:42px;box-sizing:border-box;margin:0}
body.page-new-payment #spSimpleForm .sp-intro-grid .sp-file-picker-compact{padding:5px 10px;align-self:stretch;width:100%;flex:0 0 42px}
body.page-new-payment #spSimpleForm .sp-intro-grid .sp-file-picker-compact .sp-file-text{display:flex;flex-direction:column;justify-content:center;line-height:1.15}
body.page-new-payment #spSimpleForm .sp-intro-grid .sp-file-picker-compact .sp-file-text strong{line-height:15px}
body.page-new-payment #spSimpleForm .sp-intro-grid .sp-file-picker-compact .sp-file-text small{line-height:12px;margin:1px 0 0}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer{align-self:stretch}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input{width:100%;min-width:0}
@media(max-width:920px){body.page-new-payment #spSimpleForm .sp-intro-grid{row-gap:14px}}

/* V27.4: selector Excel de Solicitud idéntico al de Requerimientos,
   conservando su ubicación en la primera columna. */
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker{
  min-height:42px;height:42px;display:flex;align-items:center;gap:9px;width:100%;
  padding:6px 12px;border:1px dashed #9eb9ca;border-radius:8px;
  background:#f8fbfd;color:#174c69;cursor:pointer;box-sizing:border-box;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker:hover{
  border-color:#4b96be;background:#f0f8fc;box-shadow:0 0 0 2px rgba(75,150,190,.07);
}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker>i{
  width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;
  border-radius:7px;background:#e7f2f8;color:#27779e;
}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker>span{
  font-size:11px;font-weight:700;color:#173e57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker>small{
  margin-left:auto;color:#78909f;font-size:9.5px;font-weight:600;white-space:nowrap;
}
body.page-new-payment #spSimpleForm .sp-intro-excel .lanr-file-input-hidden{
  position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;
  pointer-events:none!important;overflow:hidden!important;
}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker:focus-within{outline:2px solid #2f6f95;outline-offset:2px}
@media(max-width:700px){body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker>small{display:none}}

/* V27.5: selector de beneficiarios con lista, búsqueda y limpieza */
body.page-new-payment #spSimpleForm .sp-ben-search-wrap{position:relative}
body.page-new-payment #spSimpleForm #benSearch{width:100%;padding-right:76px;box-sizing:border-box}
body.page-new-payment #spSimpleForm .sp-ben-clear,
body.page-new-payment #spSimpleForm .sp-ben-dropdown{position:absolute;top:50%;transform:translateY(-50%);height:30px;width:30px;display:grid;place-items:center;background:transparent;border:0;border-radius:5px;color:#496d86;cursor:pointer;z-index:2}
body.page-new-payment #spSimpleForm .sp-ben-clear{right:38px}
body.page-new-payment #spSimpleForm .sp-ben-dropdown{right:6px}
body.page-new-payment #spSimpleForm .sp-ben-clear[hidden]{display:none!important}
body.page-new-payment #spSimpleForm .sp-ben-clear:hover,
body.page-new-payment #spSimpleForm .sp-ben-dropdown:hover{background:#e8f1f7;color:#163b55}
body.page-new-payment #spSimpleForm .sp-ben-dropdown:disabled{opacity:.35;cursor:not-allowed}
body.page-new-payment #spSimpleForm .sp-ben-empty{padding:12px;color:#61798a;font-size:12px}
body.page-new-payment #spSimpleForm #spNumber::placeholder{font-size:11px;opacity:1;color:#8494a3}

/* V27.6: número, fecha y Excel, en este orden; alineación uniforme */
body.page-new-payment #spSimpleForm .sp-intro-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr) minmax(0,1.25fr);align-items:stretch;gap:12px}
body.page-new-payment #spSimpleForm .sp-intro-grid>.field{min-width:0;display:flex;flex-direction:column}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input[name="numero_correlativo"]{text-align:left;padding-left:12px;font-size:12px}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input[name="numero_correlativo"]::placeholder{color:#8796a6;opacity:1;font-size:11px}
body.page-new-payment #spSimpleForm .sp-intro-grid .sp-excel-requirement-picker{margin:0;min-height:42px;height:42px}
@media(max-width:920px){body.page-new-payment #spSimpleForm .sp-intro-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}body.page-new-payment #spSimpleForm .sp-intro-grid .sp-intro-excel{grid-column:1/-1}}
@media(max-width:580px){body.page-new-payment #spSimpleForm .sp-intro-grid{grid-template-columns:1fr}body.page-new-payment #spSimpleForm .sp-intro-grid .sp-intro-excel{grid-column:auto}}

/* Solicitud: el campo de correlativo conserva el aspecto del requerimiento. */
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input[name="numero_correlativo"]{text-align:left;font-size:13px;padding-left:12px}
body.page-new-payment #spSimpleForm .sp-intro-grid .lanr-number-composer input[name="numero_correlativo"]::placeholder{font-size:12px}

/* V27.8: validación y botones uniformes con Requerimientos */
body.page-new-payment #spSimpleForm .required{color:#c62828!important;font-weight:700!important;margin-left:3px}
body.page-new-payment #spSimpleForm .lanr-create-actions .lanr-save-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:165px}
body.page-new-payment #spSimpleForm .lanr-create-actions .lanr-save-btn i{font-size:12px;margin:0}
body.page-new-payment #spSimpleForm .sp-intro-excel{position:relative}
body.page-new-payment #spSimpleForm .sp-intro-excel .lanr-file-input-hidden{
  position:absolute!important;left:0!important;bottom:0!important;width:100%!important;height:42px!important;
  opacity:0!important;pointer-events:none!important;overflow:visible!important;z-index:0
}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker{position:relative;z-index:1}
body.page-new-payment #spSimpleForm .sp-intro-excel .sp-excel-requirement-picker.sp-file-invalid{border-color:#d32f2f!important}

/* V28.1: buscadores de beneficiarios uniformes */
body.page-new-reimbursement .rr-search-wrap{position:relative}
body.page-new-reimbursement .rr-search-clear{position:absolute;right:39px;top:50%;transform:translateY(-50%);width:29px;height:29px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#496d86;cursor:pointer;z-index:4}
body.page-new-reimbursement .rr-search-clear[hidden]{display:none!important}
body.page-new-reimbursement .rr-search-clear:hover{background:#e8f1f7;color:#163b55}
body.page-new-reimbursement #rrBeneficiarySearch{padding-right:77px!important}
body.page-new-payment #spSimpleForm .sp-ben-row #benSearch{height:38px!important;min-height:38px!important;line-height:normal!important;padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;border-radius:7px!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-toggle{height:38px!important;min-height:38px!important;padding-top:0!important;padding-bottom:0!important;font-size:12px!important;border-radius:7px!important}

/* V28.2: buscador de Solicitud con la misma apariencia que Reembolso */
body.page-new-payment #spSimpleForm .sp-ben-search-wrap{position:relative;min-width:0}
body.page-new-payment #spSimpleForm .sp-ben-search-wrap>#benSearch{
 width:100%;height:38px!important;min-height:38px!important;
 padding:0 80px 0 36px!important;border:1px solid #b9cdd9!important;
 border-radius:7px!important;background:#fff;font-size:11px!important;
 box-sizing:border-box;line-height:normal;
}
body.page-new-payment #spSimpleForm .sp-ben-search-wrap>#benSearch:focus{
 outline:none;border-color:#5b9fc6!important;box-shadow:0 0 0 2px rgba(47,111,149,.10);
}
body.page-new-payment #spSimpleForm .sp-ben-search-icon{
 position:absolute;left:13px;top:50%;transform:translateY(-50%);
 color:#52768d;font-size:12px;z-index:2;pointer-events:none;
}
body.page-new-payment #spSimpleForm .sp-ben-search-wrap>.sp-ben-dropdown{
 position:absolute;right:1px;top:1px;transform:none;width:38px;height:36px;
 border:0;background:transparent;color:#173e57;z-index:3;
}
body.page-new-payment #spSimpleForm .sp-ben-search-wrap>.sp-ben-clear{
 position:absolute;right:39px;top:1px;transform:none;width:30px;height:36px;
 border:0;background:transparent;color:#52768d;z-index:3;
}
body.page-new-payment #spSimpleForm .sp-ben-search-wrap>.sp-ben-results{
 top:calc(100% + 4px);max-height:270px;border:1px solid #c8d9e3;
 border-radius:8px;box-shadow:0 8px 22px rgba(23,62,87,.14);padding:5px;
}
body.page-new-payment #spSimpleForm .sp-ben-result{
 padding:8px 10px;gap:10px;color:#17354c;border-radius:6px;
}
body.page-new-payment #spSimpleForm .sp-ben-result:hover,
body.page-new-payment #spSimpleForm .sp-ben-result:focus{background:#edf6fb}
body.page-new-payment #spSimpleForm .sp-ben-avatar{
 width:30px;height:30px;flex:0 0 30px;background:#e7f2f8;
 color:#276b91;font-size:10px;font-weight:800;
}
body.page-new-payment #spSimpleForm .sp-ben-result strong{
 font-size:11px;line-height:1.25;color:#17354c;
}
body.page-new-payment #spSimpleForm .sp-ben-result small{
 font-size:9.5px;line-height:1.25;margin-top:2px;color:#718696;
}
body.page-new-payment #spSimpleForm .sp-ben-empty{
 padding:12px;text-align:center;color:#718696;font-size:10px;
}
body.page-new-payment #spSimpleForm .sp-ben-toggle{
 height:38px;min-height:38px;padding-top:0;padding-bottom:0;
}


/* V28.3: igualar el buscador de solicitud al combobox compacto de reembolso */
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-search-wrap{height:38px!important;min-height:38px!important;max-height:38px!important;position:relative!important;display:block!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-search-wrap>input#benSearch{display:block!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 77px 0 36px!important;margin:0!important;font-size:11px!important;line-height:36px!important;font-weight:400!important;border:1px solid #b9cdd9!important;border-radius:7px!important;box-sizing:border-box!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-search-icon{display:block!important;visibility:visible!important;left:13px!important;top:19px!important;font-size:12px!important;line-height:12px!important;z-index:5!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-results{top:42px!important;max-height:270px!important;overflow-y:auto!important;padding:5px!important;box-sizing:border-box!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-result{min-height:46px!important;height:auto!important;max-height:none!important;padding:8px 10px!important;margin:0!important;gap:10px!important;align-items:center!important;box-sizing:border-box!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-avatar{width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;border-radius:50%!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-copy{min-width:0!important;flex:1!important;display:block!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-copy strong{display:block!important;font-size:11px!important;line-height:1.25!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-copy small{display:block!important;margin-top:2px!important;font-size:9.5px!important;line-height:1.25!important}
body.page-new-payment #spSimpleForm .sp-ben-row .sp-ben-toggle{height:38px!important;min-height:38px!important;max-height:38px!important;box-sizing:border-box!important}

/* Gestor de PDF adjuntos de solicitudes */
body.page-new-payment #spSimpleForm .sp-pdf-list{display:flex;flex-direction:column;gap:7px;margin-top:10px}
body.page-new-payment #spSimpleForm .sp-pdf-row{display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid #d4e1ea;border-radius:7px;background:#fff;min-height:42px}
body.page-new-payment #spSimpleForm .sp-pdf-icon{color:#d94848;width:25px;text-align:center;flex-shrink:0}
body.page-new-payment #spSimpleForm .sp-pdf-name{font-size:12px;font-weight:600;color:#173f5d;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.page-new-payment #spSimpleForm .sp-pdf-pages{font-size:10px;color:#667d90}
body.page-new-payment #spSimpleForm .sp-pdf-row button{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid #cbdde9;border-radius:6px;background:white;color:#286083;cursor:pointer;flex-shrink:0}
body.page-new-payment #spSimpleForm .sp-pdf-row button:hover:not(:disabled){background:#e8f3f9}
body.page-new-payment #spSimpleForm .sp-pdf-row button:disabled{opacity:.3;cursor:default}
body.page-new-payment #spSimpleForm .sp-pdf-row .sp-pdf-remove{color:#b92c38}
body.page-new-payment #spSimpleForm .sp-pdf-summary{font-size:11px;color:#617a8c;margin-top:8px}
body.page-new-payment #spSimpleForm .sp-pdf-download{display:inline-block;margin-top:10px;font-size:12px;color:#1c638e;text-decoration:underline}

/* Administrar obras: edición independiente de datos y personal */
body.page-projects-admin .project-edit-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
body.page-projects-admin .project-edit-actions .btn{font-size:11px;padding:8px 10px}
body.page-projects-admin .project-edit-panel{margin-top:12px;padding:15px;background:#f7fafc;border:1px solid #d7e4ed;border-radius:10px}
body.page-projects-admin .project-edit-panel.hidden{display:none!important}
body.page-projects-admin .project-edit-panel h3{font-size:13px;margin:0 0 12px;color:#173e58}
body.page-projects-admin .project-edit-panel>p{font-size:11px;color:#657b89;margin:0 0 12px}
body.page-projects-admin .project-users-labels{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 10px;font-size:10px;color:#486479}
body.page-projects-admin .project-user-check span{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;flex:1}
body.page-projects-admin .project-user-check small{margin:0;font-size:10px;color:#486479}
body.page-projects-admin .project-user-check b{font-size:10.5px}
body.page-projects-admin .project-edit-panel .project-form-actions{margin-top:12px}
@media(max-width:700px){body.page-projects-admin .project-edit-actions{flex-direction:column}}

/* LANR V27.1: asignacion de usuarios en obras, filas legibles y sin superposiciones */
body.page-projects-admin .project-assignment-list{width:100%;min-width:0;border:1px solid #d8e4ed;border-radius:9px;overflow:hidden;background:#fff}
body.page-projects-admin .project-assignment-header,
body.page-projects-admin .project-assignment-row{display:grid!important;grid-template-columns:66px minmax(105px,0.85fr) minmax(145px,1.3fr)!important;gap:12px;align-items:center;width:100%;box-sizing:border-box}
body.page-projects-admin .project-assignment-header{padding:10px 12px;background:#edf4f8;color:#35546a;font-size:10px;font-weight:700}
body.page-projects-admin .project-assignment-row{padding:11px 12px;min-height:54px;border-top:1px solid #e4edf2;cursor:pointer;background:#fff}
body.page-projects-admin .project-assignment-row:hover{background:#f3f8fb}
body.page-projects-admin .project-assignment-check{display:flex;align-items:center;justify-content:center;min-width:0}
body.page-projects-admin .project-assignment-check input{position:static!important;appearance:auto!important;display:block!important;width:16px!important;height:16px!important;margin:0!important;flex:none}
body.page-projects-admin .project-assignment-role{font-size:11px;color:#496477;overflow-wrap:anywhere;min-width:0}
body.page-projects-admin .project-assignment-name{font-size:11px;font-weight:700;color:#173e58;overflow-wrap:anywhere;min-width:0}
body.page-projects-admin .project-assignment-name small{display:block;margin-top:3px;font-size:9px;font-weight:400;color:#6c8191}
body.page-projects-admin .project-assignment-empty{padding:18px;text-align:center;color:#6c8191;font-size:11px}
@media(max-width:560px){body.page-projects-admin .project-assignment-header,body.page-projects-admin .project-assignment-row{grid-template-columns:48px minmax(75px,0.9fr) minmax(95px,1.2fr)!important;gap:7px}body.page-projects-admin .project-assignment-header,body.page-projects-admin .project-assignment-row{padding-left:7px;padding-right:7px}}

/* V27.3 - Usuarios: jerarquía visual consistente en administración de cuentas */
body.page-users .user-modal:not(#new-user-modal) .user-modal-dialog{width:min(790px,calc(100vw - 32px));}
body.page-users .user-modal:not(#new-user-modal) .user-modal-body.user-modal-body-compact{padding:0 22px 20px;}
body.page-users .user-modal:not(#new-user-modal) .user-management-section{padding-top:16px !important;}
body.page-users .user-modal:not(#new-user-modal) .user-admin-edit-grid{gap:13px 16px;}
body.page-users .user-modal:not(#new-user-modal) .user-admin-works .user-work-checks{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:42px !important;padding:7px 9px !important;}
body.page-users .user-modal:not(#new-user-modal) .user-admin-works .user-work-option{display:inline-flex;align-items:center;gap:6px;max-width:100%;white-space:normal;overflow-wrap:anywhere;border:1px solid #dce8ef;border-radius:7px;}
body.page-users .user-modal:not(#new-user-modal) .user-profile-inline-note{margin:12px 0 10px !important;line-height:1.5;}
body.page-users .user-modal:not(#new-user-modal) .user-activity-panel{margin:16px 0 12px;padding:12px 14px;background:#f5f8fa;border:1px solid #e2eaf0;border-radius:10px;color:#506b7e;font-size:11px;line-height:1.55;}
body.page-users .user-activity-count{display:flex;align-items:center;gap:9px;}
body.page-users .user-activity-count i{color:#34749a;}
body.page-users .user-activity-panel p{margin:8px 0;}
body.page-users .user-activity-history{margin-top:8px;}
body.page-users .user-activity-history summary{cursor:pointer;color:#275d7b;font-weight:650;}
body.page-users .user-modal:not(#new-user-modal) .user-account-row{display:grid;grid-template-columns:minmax(145px,1fr) minmax(220px,1.15fr);align-items:center;gap:18px;margin-top:12px !important;padding:13px 15px;min-height:82px;}
body.page-users .user-status-form{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;}
body.page-users .user-deactivation-reason{flex:1 1 190px;width:auto !important;min-width:0;max-width:270px;height:39px;min-height:39px;margin:0 !important;}
body.page-users .user-status-form .btn{flex:0 0 auto;min-height:39px;height:39px;white-space:nowrap;}
body.page-users .user-modal:not(#new-user-modal) .user-security-section{padding-top:17px !important;}
body.page-users .user-modal:not(#new-user-modal) .compact-password-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 14px;align-items:end;}
body.page-users .user-modal:not(#new-user-modal) .compact-password-form .btn{grid-column:1/-1 !important;justify-self:end;min-width:170px;}
body.page-users .user-modal:not(#new-user-modal) .user-form-actions-right{margin-top:12px;}
body.page-users #new-user-modal .user-create-grid{gap:13px 16px;}
body.page-users #new-user-modal .user-profile-inline-note{line-height:1.5;margin:10px 0 !important;}
@media(max-width:700px){
 body.page-users .user-modal:not(#new-user-modal) .user-modal-body.user-modal-body-compact{padding:0 15px 16px;}
 body.page-users .user-modal:not(#new-user-modal) .user-account-row{grid-template-columns:1fr;gap:12px;}
 body.page-users .user-status-form{justify-content:flex-start;}
 body.page-users .user-deactivation-reason{max-width:none;flex-basis:100%;}
 body.page-users .user-modal:not(#new-user-modal) .compact-password-form{grid-template-columns:1fr;}
 body.page-users .user-modal:not(#new-user-modal) .compact-password-form .btn{grid-column:1 !important;width:100% !important;}
}

/* V28: crear obras en ventana modal, sin ocultar ni desplazar el listado. */
body.page-projects-admin.project-create-open{overflow:hidden}
body.page-projects-admin .project-create-overlay{position:fixed;inset:0;z-index:3000;background:rgba(14,35,53,.58);display:flex;align-items:center;justify-content:center;padding:22px;box-sizing:border-box;overflow-y:auto}
body.page-projects-admin .project-create-overlay.hidden{display:none!important}
body.page-projects-admin .project-create-dialog{width:min(760px,100%);max-height:calc(100vh - 44px);overflow-y:auto;background:#fff;border:1px solid #dce6ec;border-radius:16px;box-shadow:0 22px 70px rgba(8,32,51,.25)}
body.page-projects-admin .project-create-dialog .project-create-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e0e8ed;margin:0}
body.page-projects-admin .project-create-heading{display:flex;align-items:center;gap:13px;min-width:0}
body.page-projects-admin .project-create-heading h2{margin:0 0 4px;font-size:17px;color:#143d58}
body.page-projects-admin .project-create-heading p{margin:0;font-size:11px;line-height:1.5;color:#6d8292}
body.page-projects-admin .project-create-symbol{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:50%;background:#143d58;color:#fff;font-size:18px}
body.page-projects-admin .project-create-close{width:36px;height:36px;flex:none;border:0;border-radius:9px;background:#f1f5f7;color:#526b7c;cursor:pointer}
body.page-projects-admin .project-create-close:hover{background:#e6eef2}
body.page-projects-admin .project-create-dialog .project-form{padding:20px 22px 18px}
body.page-projects-admin .project-create-dialog .project-form-grid{gap:14px 16px}
body.page-projects-admin .project-create-dialog .project-form-actions{margin-top:20px;padding-top:15px;border-top:1px solid #e1e9ee}
@media(max-width:600px){body.page-projects-admin .project-create-overlay{padding:12px;align-items:center}body.page-projects-admin .project-create-dialog{max-height:calc(100vh - 24px)}body.page-projects-admin .project-create-dialog .project-create-head{padding:15px}body.page-projects-admin .project-create-dialog .project-form{padding:16px}body.page-projects-admin .project-create-dialog .project-form-grid{grid-template-columns:1fr}}

/* LANR V28: Unidades — modales uniformes con Administrar usuarios */
.units-modal{padding:16px;z-index:6000}
.units-modal-card:not(.units-confirm-card){width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border-radius:16px;box-shadow:0 24px 65px rgba(13,35,50,.23)}
.units-modal-head{padding:15px 21px;align-items:center;gap:14px}
.units-modal-identity{display:flex;align-items:center;gap:13px;min-width:0}
.units-modal-avatar{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:50%;background:#173f59;color:#fff;font-size:18px}
.units-modal-head h3{font-size:17px;font-weight:750;line-height:1.25;margin:0 0 3px}
.units-modal-head p{font-size:11.5px;line-height:1.5;margin:0}
.units-modal-close{width:37px;height:37px;flex-shrink:0;border-radius:10px;font-size:16px}
.units-modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:21px 22px 20px}
.units-modal-form .field{min-width:0}
.units-modal-form .field input,.units-modal-form .field select{width:100%;min-width:0;min-height:42px;box-sizing:border-box;border-radius:8px;font-size:12px}
.units-modal-form .field label{font-size:11px;font-weight:700;margin-bottom:6px}
.units-modal-form .field small{font-size:10px;line-height:1.4}
.units-modal-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #e3ebf0;margin-top:5px;padding-top:15px}
.units-modal-actions .btn,.units-confirm-actions .btn{min-height:39px;font-size:11px;font-weight:700}
.units-confirm-card{width:min(450px,calc(100vw - 32px));border-radius:15px;overflow:hidden}
.units-confirm-content{text-align:center;padding:25px 25px 18px}
.units-confirm-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;background:#eaf4ef;color:#19865c;font-size:21px}
.units-confirm-icon.warning{background:#fff2e5;color:#bc6817}
.units-confirm-icon.danger{background:#fff0ef;color:#c33e38}
.units-confirm-content h3{font-size:18px;font-weight:750;color:#173f59;margin:0 0 8px}
.units-confirm-content > p#unit-confirm-text{font-size:12px;line-height:1.55;color:#627a8a;margin:0}
.units-confirm-content .units-confirm-note{margin:15px 0 0;text-align:left;font-size:11.5px;padding:11px 13px}
.units-confirm-actions{border-top:1px solid #e5edf2;padding:15px 22px 18px;gap:10px}
@media(max-width:600px){.units-modal-card:not(.units-confirm-card){width:calc(100vw - 20px)}.units-modal-form{grid-template-columns:1fr;padding:16px}.units-modal-head{padding:14px 16px}.units-modal-actions{grid-column:1}.units-modal-head p{font-size:11px}}

/* Confirmaciones de unidades: idénticas en composición a Administrar usuarios. */
.units-modal .units-confirm-card.lanr-confirm-card {
  width: min(430px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #d7e1e8;
}
.units-modal .units-confirm-card .units-confirm-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  font-size: 19px;
  background: #eaf3f8;
  color: #1c668f;
}
.units-modal .units-confirm-card .units-confirm-icon.danger {
  background: #fff0ef;
  color: #c33e38;
}
.units-modal .units-confirm-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  color: #123f5c;
}
.units-modal .units-confirm-card p#unit-confirm-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #5f7180;
}
.units-modal .units-confirm-card .units-confirm-actions {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  padding: 0;
  border: 0;
}
.units-modal .units-confirm-card .units-confirm-actions .btn {
  min-width: 110px;
  min-height: 38px;
  font-size: inherit;
}
@media (max-width: 560px) {
  .units-modal .units-confirm-card.lanr-confirm-card { padding: 18px 16px; }
  .units-modal .units-confirm-card .units-confirm-actions { flex-direction: column-reverse; }
  .units-modal .units-confirm-card .units-confirm-actions .btn { width: 100%; }
}

/* LANR V29 - Personal y reutilización de medios */
.lanr-personnel-form{padding:20px 24px}.lanr-personnel-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lanr-personnel-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#29495f}.lanr-personnel-grid input,.lanr-personnel-grid select{height:42px;width:100%;border:1px solid #cbdbe5;border-radius:8px;padding:0 12px;font-size:13px;background:#fff;color:#173e57}.lanr-personnel-note{margin:14px 0 0;font-size:11px;color:#6b8292}.lanr-personnel-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:14px;border-top:1px solid #e2eaf0}.lanr-method-form{border-bottom:1px solid #e2eaf0}.lanr-personnel-deactivate{margin-top:16px;text-align:right}.lanr-personnel-deactivate .btn{color:#ad3434;border:1px solid #e8baba}.rr-save-method-option{display:flex;align-items:center;gap:9px;margin:10px 0;padding:10px 12px;background:#f2f7fa;border-radius:8px;font-size:12px;color:#173e57}.rr-save-method-option input{width:16px;height:16px}.rr-saved-methods{margin:0 0 12px;padding:13px;border:1px solid #cddfea;border-radius:9px;background:#f5fafc}.rr-saved-methods strong{font-size:12px;color:#163d58}.rr-saved-methods p{font-size:11px;color:#617d8d;margin:5px 0 10px}.rr-saved-methods .rr-saved-choice{margin:0 7px 7px 0;font-size:11px;border:1px solid #cbdde8;background:#fff}.rr-saved-methods.hidden{display:none!important}@media(max-width:700px){.lanr-personnel-grid{grid-template-columns:1fr}}

/* LANR V30: personal con los mismos modales de Administrar usuarios */
body.page-personnel-admin .personnel-modal .user-modal-dialog{width:min(790px,calc(100vw - 32px));max-height:calc(100dvh - 32px);}
body.page-personnel-admin .personnel-modal .user-modal-body{padding:0 22px 18px;}
body.page-personnel-admin .personnel-modal .user-modal-section{padding:16px 0;}
body.page-personnel-admin .personnel-modal .user-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;}
body.page-personnel-admin .personnel-modal .field{min-width:0;}
body.page-personnel-admin .personnel-modal .field label{display:block;margin-bottom:6px;color:#31536a;font-size:11px;font-weight:700;}
body.page-personnel-admin .personnel-modal .field input,body.page-personnel-admin .personnel-modal .field select{width:100%;min-width:0;height:42px;border:1px solid #c9dbe6;border-radius:8px;padding:0 12px;background:white;color:#173e57;font-size:13px;}
body.page-personnel-admin .personnel-modal .field input:disabled{background:#f3f6f8;color:#8da0ae;}
body.page-personnel-admin .personnel-modal .user-section-title{margin-bottom:13px;}
body.page-personnel-admin .personnel-modal .user-profile-inline-note{margin:12px 0 8px!important;line-height:1.5;}
body.page-personnel-admin .personnel-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px;}
body.page-personnel-admin .personnel-section-help{font-size:12px;color:#6b8292;margin:0 0 12px;}
body.page-personnel-admin .personnel-modal-methods{border:1px solid #e1eaf0;border-radius:9px;overflow:hidden;margin:0 0 15px;}
body.page-personnel-admin .personnel-modal-method{display:flex;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #e8eef2;min-width:0;}
body.page-personnel-admin .personnel-modal-method:last-child{border-bottom:0;}
body.page-personnel-admin .personnel-modal-method-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#edf5f9;color:#166086;flex-shrink:0;}
body.page-personnel-admin .personnel-modal-method-data{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere;}
body.page-personnel-admin .personnel-modal-method-data strong{font-size:12px;color:#173e57;}
body.page-personnel-admin .personnel-modal-method-data span{font-size:11px;color:#627e8d;}
body.page-personnel-admin .personnel-outline-danger{border:1px solid #e9b7b7;background:#fff;color:#b83b3b;white-space:nowrap;}
body.page-personnel-admin .personnel-status-section{display:flex;justify-content:space-between;align-items:center;gap:14px;}
body.page-personnel-admin .personnel-status-label{font-size:10px;color:#6d8190;font-weight:800;}
body.page-personnel-admin .personnel-active-state{font-size:12px;color:#16804c;font-weight:700;margin-top:4px;}
body.page-personnel-admin .personnel-active-state span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2aa66a;margin-right:4px;}
body.personnel-modal-open{overflow:hidden;}
@media(max-width:600px){body.page-personnel-admin .personnel-modal .user-modal-body{padding:0 15px 14px;}body.page-personnel-admin .personnel-modal .user-create-grid{grid-template-columns:1fr;}body.page-personnel-admin .personnel-modal-method{flex-wrap:wrap;}body.page-personnel-admin .personnel-status-section{flex-wrap:wrap;}}

/* Personal: coherencia con modales de usuarios y confirmaciones */
body.page-personnel-admin .personnel-modal .personnel-modal-methods{margin-bottom:16px;}
body.page-personnel-admin .personnel-modal .personnel-add-method{padding:13px 14px 12px;border:1px solid #e1eaf0;border-radius:10px;background:#f9fbfc;}
body.page-personnel-admin .personnel-modal .personnel-add-method .personnel-form-actions{margin-top:9px;}
body.page-personnel-admin .personnel-modal .personnel-destination-help{display:block;margin-top:5px;font-size:10px;color:#6e8291;line-height:1.4;}
body.page-personnel-admin .personnel-modal .personnel-destination-required[hidden]{display:none!important;}
body.page-personnel-admin .personnel-modal .personnel-inline-error{padding:9px 11px;margin:10px 0 0;border-radius:7px;background:#fff0f0;color:#aa3030;font-size:11px;}
body.page-personnel-admin .personnel-modal .personnel-inline-error[hidden]{display:none!important;}
body.page-personnel-admin .personnel-modal .personnel-status-section{background:#f8fafb;border:1px solid #e1eaf0;border-radius:9px;padding:13px!important;margin-top:12px;}
body.page-personnel-admin .personnel-modal .personnel-status-hint{margin:6px 0 0;font-size:10px;color:#708493;}
body.page-personnel-admin .personnel-modal .personnel-outline-danger:hover{background:#fff2f2;border-color:#d99090;}
body.page-personnel-admin .personnel-modal .personnel-modal-method form{flex-shrink:0;}
body.page-personnel-admin #personnelActionConfirm{z-index:10010;}
@media(max-width:600px){body.page-personnel-admin .personnel-modal .personnel-add-method{padding:12px;}body.page-personnel-admin .personnel-modal .personnel-status-section{align-items:flex-start;}}

/* Personal: retroalimentación de guardado dentro del modal */
.page-personnel-admin .personnel-save-feedback{margin:10px 0 0;padding:10px 12px;border-radius:8px;background:#eaf6ee;color:#176b40;font-size:12px;border:1px solid #cce9d7}
.page-personnel-admin .personnel-save-feedback.is-error{background:#fff0ef;color:#ad3030;border-color:#f4cdca}
.page-personnel-admin .personnel-save-feedback[hidden]{display:none!important}
.page-personnel-admin .personnel-edit-form button:disabled{opacity:.5;cursor:not-allowed}

/* Reembolso: selección clara de medios existentes */
.rr-saved-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.rr-saved-head p{margin-bottom:0}
.rr-new-method-btn{background:#173e58!important;color:white!important;border:1px solid #173e58!important;border-radius:8px!important;font-size:12px!important;padding:10px 13px!important}
.rr-saved-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:10px}
.rr-saved-option{width:100%;display:flex;align-items:center;gap:11px;text-align:left;background:#fff;border:1px solid #cadde8;border-radius:9px;padding:12px;cursor:pointer;color:#173e58;min-width:0}
.rr-saved-option:hover{border-color:#488eb7;background:#f8fcff}
.rr-saved-option.is-selected{border:2px solid #2878a7;background:#eaf5fc;padding:11px}
.rr-saved-option-icon{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;background:#eaf4f9;border-radius:8px;color:#1873a0}
.rr-saved-option-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.rr-saved-option-copy strong{font-size:12px!important}.rr-saved-option-copy small{font-size:11px;color:#587589;overflow-wrap:anywhere}
.rr-saved-option-mark{width:21px;height:21px;display:grid;place-items:center;border:1px solid #b6cedd;border-radius:50%;color:transparent}
.rr-saved-option.is-selected .rr-saved-option-mark{background:#2878a7;color:#fff;border-color:#2878a7}
#rrPaymentEditor.hidden{display:none!important}
@media(max-width:650px){.rr-saved-head{align-items:stretch}.rr-new-method-btn{width:100%}.rr-saved-options{grid-template-columns:1fr}}

/* LANR: plantilla SP configurada por Sistemas para cada obra */
body.page-projects-admin .project-sp-template{margin-top:13px;padding:12px;border:1px solid #d8e4ed;border-radius:9px;background:#f6fafc}
body.page-projects-admin .project-sp-template-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#153e59}
body.page-projects-admin .project-sp-template-head i{color:#20865d}
body.page-projects-admin .project-sp-template-status{color:#18845b;font-size:10px}
body.page-projects-admin .project-sp-template-empty{color:#7b8793;font-size:10px}
body.page-projects-admin .project-sp-template p{margin:7px 0;color:#667b8d;font-size:11px;line-height:1.5}
body.page-projects-admin .project-sp-template-name{overflow-wrap:anywhere}
body.page-projects-admin .project-sp-template .btn{font-size:11px;padding:7px 10px}
body.page-projects-admin .project-sp-template-form{display:flex;align-items:end;flex-wrap:wrap;gap:9px;margin-top:10px}
body.page-projects-admin .project-sp-template-form label{width:100%;font-size:11px;color:#244d68;font-weight:600}
body.page-projects-admin .project-sp-template-form input[type=file]{min-width:180px;max-width:100%;font-size:11px;flex:1}
body.page-new-payment #spSimpleForm .sp-template-download{display:inline-flex;align-items:center;gap:6px;color:#176b51;font-size:11px;font-weight:700;text-decoration:none;margin-top:7px}
body.page-new-payment #spSimpleForm .sp-template-download:hover{text-decoration:underline}
body.page-new-payment #spSimpleForm .sp-template-unavailable{display:block;color:#7b8793;font-size:10px;margin-top:6px;line-height:1.4}

/* V36: Datos de la solicitud en dos filas: Numero | Fecha; Excel | PDF. */
@media (min-width: 581px) {
  body.page-new-payment #spSimpleForm .sp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 14px;
    align-items: start;
  }
  body.page-new-payment #spSimpleForm .sp-intro-grid > .field {
    grid-column: auto;
    min-width: 0;
  }
  body.page-new-payment #spSimpleForm .sp-intro-grid > .field.sp-intro-excel {
    grid-column: auto;
  }
}
@media (max-width: 580px) {
  body.page-new-payment #spSimpleForm .sp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Solicitud de pago - archivos existentes en modo edición */
body.page-new-payment #spSimpleForm .sp-current-file{margin-top:9px;padding:10px 12px;border:1px solid #d9e4ee;border-radius:9px;background:#f8fbfd;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.page-new-payment #spSimpleForm .sp-current-file-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
body.page-new-payment #spSimpleForm .sp-current-file-main>i{font-size:20px;flex-shrink:0}
body.page-new-payment #spSimpleForm .sp-current-excel{color:#16845b}
body.page-new-payment #spSimpleForm .sp-current-pdf{color:#c53b3b}
body.page-new-payment #spSimpleForm .sp-current-file-main>div{min-width:0;display:flex;flex-direction:column;gap:3px}
body.page-new-payment #spSimpleForm .sp-current-file-main strong{font-size:12px;color:#163d56}
body.page-new-payment #spSimpleForm .sp-current-file-main small{font-size:11px;color:#60798a;overflow-wrap:anywhere}
body.page-new-payment #spSimpleForm .sp-current-file-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
body.page-new-payment #spSimpleForm .sp-file-view,body.page-new-payment #spSimpleForm .sp-file-delete{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border:1px solid #cbdce8;border-radius:7px;background:white;color:#174865;text-decoration:none;font-size:11px;font-weight:700;cursor:pointer}
body.page-new-payment #spSimpleForm .sp-file-delete{color:#b12d37;border-color:#efcfd3}
body.page-new-payment #spSimpleForm .sp-file-delete input{accent-color:#b12d37;margin:0}
body.page-new-payment #spSimpleForm .sp-file-view:hover{background:#e9f3f9}
body.page-new-payment #spSimpleForm .sp-file-delete:hover{background:#fff1f2}
body.page-new-payment #spSimpleForm .sp-consolidated-file{margin-top:13px;border:1px solid #d8e4ed;border-radius:9px;background:#f5f9fc;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.page-new-payment #spSimpleForm .sp-consolidated-info{display:flex;align-items:center;gap:12px}
body.page-new-payment #spSimpleForm .sp-consolidated-info>i{font-size:23px;color:#c53b3b}
body.page-new-payment #spSimpleForm .sp-consolidated-info>div{display:flex;flex-direction:column;gap:3px}
body.page-new-payment #spSimpleForm .sp-consolidated-info strong{font-size:12px;color:#153e59}
body.page-new-payment #spSimpleForm .sp-consolidated-info small{font-size:11px;color:#657c8c}
body.page-new-payment #spSimpleForm .sp-consolidated-action{display:inline-flex;align-items:center;gap:7px;border-radius:7px;background:#173e59;color:white;padding:10px 13px;font-size:12px;font-weight:700;text-decoration:none}
body.page-new-payment #spSimpleForm .sp-consolidated-action:hover{background:#245b7d}

/* SP: archivos compactos con vista previa y eliminación, igual que Reembolsos */
body.page-new-payment #spSimpleForm .sp-upload-chip{display:flex;align-items:center;gap:9px;min-height:42px;padding:7px 10px;border:1px solid #cbdde9;border-radius:7px;background:#fff;max-width:100%;margin-top:7px}
body.page-new-payment #spSimpleForm .sp-upload-chip[hidden],body.page-new-payment #spSimpleForm .lanr-file-picker[hidden]{display:none!important}
body.page-new-payment #spSimpleForm .sp-upload-chip>.fa-file-excel{color:#158b65}
body.page-new-payment #spSimpleForm .sp-upload-chip>.fa-file-pdf{color:#d93a47}
body.page-new-payment #spSimpleForm .sp-upload-name{font-size:12px;color:#173e57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
body.page-new-payment #spSimpleForm .sp-upload-icon{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border-radius:5px;color:#216083;cursor:pointer;text-decoration:none;flex-shrink:0}
body.page-new-payment #spSimpleForm .sp-upload-icon:hover{background:#e9f3f9}
body.page-new-payment #spSimpleForm .sp-upload-clear,body.page-new-payment #spSimpleForm .sp-stored-remove{color:#cf3542}
body.page-new-payment #spSimpleForm .sp-upload-clear:hover,body.page-new-payment #spSimpleForm .sp-stored-remove:hover{background:#fff0f1}

/* V38 - Bandeja compacta de Gerencia de Obra, sin afectar otros roles */
body.page-requests .tramite-status-tabs.obra-four-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.page-requests .tramite-status-tabs.obra-four-tabs .tramite-status-tab{min-width:0;padding:11px 12px;gap:9px}
body.page-requests .tramite-status-tabs.obra-four-tabs .tramite-tab-text strong{font-size:12px}
body.page-requests .tramite-status-tabs.obra-four-tabs .tramite-tab-text small{font-size:10px}
body.page-requests .tramite-search-card{padding:11px 14px!important;margin-top:11px;margin-bottom:12px}
body.page-requests .tramite-search-grid-v2{grid-template-columns:205px minmax(0,1fr);gap:12px;align-items:end}
body.page-requests .tramite-search-card .field{margin-bottom:0}
body.page-requests .tramite-search-card .field>label{font-size:10px;margin-bottom:4px}
body.page-requests .tramite-search-card select,body.page-requests .tramite-search-card input{height:36px;min-height:36px;font-size:12px}
body.page-requests .tramite-search-card .request-search-row{gap:7px}
body.page-requests .tramite-search-card .request-search-row .btn{height:36px;min-height:36px;padding:0 12px;font-size:11px;white-space:nowrap}
body.page-requests .tramite-search-card .search-input-wrapper{min-width:0}
@media(max-width:850px){body.page-requests .tramite-status-tabs.obra-four-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-requests .tramite-search-grid-v2{grid-template-columns:1fr}}
@media(max-width:530px){body.page-requests .tramite-search-card .request-search-row{flex-wrap:wrap}body.page-requests .tramite-search-card .request-search-input-grow{flex-basis:100%}}

/* Requerimientos: fecha general e imágenes por material */
#reqForm .lanr-general-grid,#editReqForm .lanr-general-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
#reqForm .req-global-date-wrap,#editReqForm .req-global-date-wrap{margin-top:0;max-width:none}
#reqForm .req-global-date input,#editReqForm .req-global-date input{width:100%;max-width:none}
#reqForm .req-global-date small,#editReqForm .req-global-date small{display:block;margin-top:5px;color:#718096;font-size:11px}
@media(max-width:820px){#reqForm .lanr-general-grid,#editReqForm .lanr-general-grid{grid-template-columns:1fr}}
#reqForm .req-details-grid,#editReqForm .req-details-grid{grid-template-columns:minmax(0,1fr)!important}
#reqForm .req-detail-images,#editReqForm .req-detail-images{max-width:none}

/* GENERAL / SISTEMA: navegación lateral con desplazamiento propio. */
.sidebar { overflow: hidden; min-height: 0; }
.sidebar .brand { flex-shrink: 0; }
.sidebar nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.42) transparent;
  padding-right: 3px;
  padding-bottom: 20px;
}
.sidebar nav::-webkit-scrollbar { width: 6px; }
.sidebar nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.38); border-radius: 12px; }
.sidebar nav::-webkit-scrollbar-track { background: transparent; }
.sidebar nav > a, .sidebar nav > .nav-divider, .sidebar nav > .nav-section { flex-shrink: 0; }
@media (max-width: 768px) { .sidebar { overflow: hidden !important; } }

/* REQ: tabla de materiales con campos integrados, siguiendo la referencia visual de Facturas. */
#reqForm .lanr-table-ref th,
#editReqForm .lanr-table-ref th {
  border-right: 1px solid rgba(255,255,255,.08) !important;
}
#reqForm .lanr-table-ref td,
#editReqForm .lanr-table-ref td {
  padding: 3px 4px !important;
  border-right: 1px solid #e9eef2 !important;
  border-bottom: 1px solid #e3ebf0 !important;
  background: #fff;
}
#reqForm .lanr-table-ref td:last-child,
#editReqForm .lanr-table-ref td:last-child {
  border-right: 0 !important;
}
#reqForm .lanr-table-ref .nt-row:hover > td,
#editReqForm .lanr-table-ref .nt-row:hover > td {
  background: #f8fbfd;
}
#reqForm .lanr-table-ref input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]),
#reqForm .lanr-table-ref select,
#reqForm .lanr-table-ref textarea,
#editReqForm .lanr-table-ref input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]),
#editReqForm .lanr-table-ref select,
#editReqForm .lanr-table-ref textarea {
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 5px 7px !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 11px !important;
}
#reqForm .lanr-table-ref input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]):focus,
#reqForm .lanr-table-ref select:focus,
#reqForm .lanr-table-ref textarea:focus,
#editReqForm .lanr-table-ref input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]):focus,
#editReqForm .lanr-table-ref select:focus,
#editReqForm .lanr-table-ref textarea:focus {
  border-color: #5a9dc3 !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px #d9eaf5 !important;
  outline: none !important;
}
#reqForm .lanr-table-ref .req-details-btn,
#editReqForm .lanr-table-ref .req-details-btn {
  border: 1px solid #d5e3ec !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #315e78 !important;
}
#reqForm .lanr-table-ref .req-details-btn:hover,
#editReqForm .lanr-table-ref .req-details-btn:hover {
  border-color: #9fc7da !important;
  background: #f4fbfe !important;
}
#reqForm .nt-add-split,
#editReqForm .nt-add-split {
  border-top: 1px solid #e3ebf0;
}
#reqForm .nt-add-split button,
#editReqForm .nt-add-split button {
  padding: 7px 9px;
  background: #f8fbfd;
  font-size: 11px;
}

/* REQ: UND usa el mismo input-list nativo de Facturas; las opciones vienen del catálogo actual. */
#reqForm .req-materials-colgroup .col-desc,
#editReqForm .req-materials-colgroup .col-desc { width: 22.5% !important; }
#reqForm .req-materials-colgroup .col-und,
#editReqForm .req-materials-colgroup .col-und { width: 9.5% !important; }
#reqForm .req-materials-colgroup .col-just,
#editReqForm .req-materials-colgroup .col-just { width: 25% !important; }
#reqForm .lanr-table-ref .nt-td-und,
#editReqForm .lanr-table-ref .nt-td-und { width: 93px !important; min-width: 93px !important; }
#reqForm .lanr-table-ref .nt-td-und input.unit,
#editReqForm .lanr-table-ref .nt-td-und input.unit {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 5px 7px !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1a2e3d !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
#reqForm .lanr-table-ref .nt-td-und input.unit:focus,
#editReqForm .lanr-table-ref .nt-td-und input.unit:focus {
  border-color: #5a9dc3 !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px #d9eaf5 !important;
  outline: none !important;
}
@media(max-width:900px){
  #reqForm .lanr-table-ref .nt-td-und,
  #editReqForm .lanr-table-ref .nt-td-und { width: 93px !important; min-width: 93px !important; }
}

/* REQ: el fondo suave está dentro del control informativo, no en la celda ni en el encabezado. */
body.page-requirement-form #reqForm .lanr-table-ref td.nt-td-stk > input[readonly],
body.page-requirement-form #reqForm .lanr-table-ref td.nt-td-buy > input[readonly],
body.page-requirement-form #editReqForm .lanr-table-ref td.nt-td-stk > input[readonly],
body.page-requirement-form #editReqForm .lanr-table-ref td.nt-td-buy > input[readonly] {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px 7px !important;
  border: 0 !important;
  border-radius: 4px !important;
  outline: none !important;
  background: #f3f7fa !important;
  box-shadow: none !important;
  color: #153c57 !important;
  -webkit-text-fill-color: #153c57 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: default !important;
  pointer-events: none;
  appearance: textfield !important;
  -webkit-appearance: none !important;
  font-variant-numeric: tabular-nums;
  text-align: right !important;
  white-space: nowrap !important;
  line-height: normal !important;
}
body.page-requirement-form #reqForm .lanr-table-ref td.nt-td-stk > input[readonly]:focus,
body.page-requirement-form #reqForm .lanr-table-ref td.nt-td-buy > input[readonly]:focus,
body.page-requirement-form #editReqForm .lanr-table-ref td.nt-td-stk > input[readonly]:focus,
body.page-requirement-form #editReqForm .lanr-table-ref td.nt-td-buy > input[readonly]:focus {
  border: 0 !important;
  outline: none !important;
  background: #f3f7fa !important;
  box-shadow: none !important;
}

/* El chip de imágenes ya no altera la altura de la fila principal. */
#reqForm .req-details-summary .req-mini-chip.image,
#editReqForm .req-details-summary .req-mini-chip.image {
  display: none !important;
}
#reqForm .req-details-panel,
#editReqForm .req-details-panel {
  box-sizing: border-box !important;
  padding: 10px 12px !important;
}
#reqForm .req-details-panel .req-details-heading,
#editReqForm .req-details-panel .req-details-heading {
  min-height: 24px !important;
  height: 24px !important;
  margin: 0 0 7px !important;
  align-items: center !important;
}
#reqForm .req-details-panel .req-details-close,
#editReqForm .req-details-panel .req-details-close {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
}
#reqForm .req-details-panel .req-details-grid,
#editReqForm .req-details-panel .req-details-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  margin: 0 !important;
}
#reqForm .req-details-panel .lanr-image-picker,
#editReqForm .req-details-panel .lanr-image-picker {
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 6px 9px !important;
  box-sizing: border-box !important;
}
#reqForm .req-details-panel .req-image-count,
#editReqForm .req-details-panel .req-image-count {
  display: none !important;
}
#reqForm .req-image-preview,
#editReqForm .req-image-preview {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0 !important;
  padding: 0 !important;
}
#reqForm .req-image-preview:empty,
#editReqForm .req-image-preview:empty {
  display: none !important;
  margin: 0 !important;
}

/* REQ: placeholders con la escala y el tono usados por los campos de Facturas. */
body.page-requirement-form #reqForm .lanr-table-ref input.unit,
body.page-requirement-form #editReqForm .lanr-table-ref input.unit,
body.page-requirement-form #reqForm .lanr-table-ref input[name="cantidad[]"],
body.page-requirement-form #editReqForm .lanr-table-ref input[name="cantidad[]"],
body.page-requirement-form #reqForm .lanr-table-ref textarea[name="descripcion[]"],
body.page-requirement-form #editReqForm .lanr-table-ref textarea[name="descripcion[]"],
body.page-requirement-form #reqForm .lanr-table-ref textarea[name="justificacion[]"],
body.page-requirement-form #editReqForm .lanr-table-ref textarea[name="justificacion[]"] {
  color: #17354c !important;
  -webkit-text-fill-color: #17354c !important;
  font-family: inherit !important;
  font-weight: 400 !important;
}
body.page-requirement-form #reqForm .lanr-table-ref input.unit::placeholder,
body.page-requirement-form #editReqForm .lanr-table-ref input.unit::placeholder,
body.page-requirement-form #reqForm .lanr-table-ref input[name="cantidad[]"]::placeholder,
body.page-requirement-form #editReqForm .lanr-table-ref input[name="cantidad[]"]::placeholder,
body.page-requirement-form #reqForm .lanr-table-ref textarea[name="descripcion[]"]::placeholder,
body.page-requirement-form #editReqForm .lanr-table-ref textarea[name="descripcion[]"]::placeholder,
body.page-requirement-form #reqForm .lanr-table-ref textarea[name="justificacion[]"]::placeholder,
body.page-requirement-form #editReqForm .lanr-table-ref textarea[name="justificacion[]"]::placeholder {
  color: #7a8c9c !important;
  -webkit-text-fill-color: #7a8c9c !important;
  opacity: 1 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}
body.page-requirement-form #reqForm .lanr-table-ref input.unit,
body.page-requirement-form #editReqForm .lanr-table-ref input.unit {
  text-align: center !important;
}
body.page-requirement-form #reqForm .lanr-table-ref input[name="cantidad[]"],
body.page-requirement-form #editReqForm .lanr-table-ref input[name="cantidad[]"] {
  text-align: right !important;
}
body.page-requirement-form #reqForm .lanr-table-ref input.unit::placeholder,
body.page-requirement-form #editReqForm .lanr-table-ref input.unit::placeholder {
  text-align: center !important;
}
body.page-requirement-form #reqForm .lanr-table-ref input[name="cantidad[]"]::placeholder,
body.page-requirement-form #editReqForm .lanr-table-ref input[name="cantidad[]"]::placeholder {
  text-align: right !important;
}

/* Confirmation actions: destructive buttons are red only inside their own dialogs. */
body.page-new-requirement #reqItemGuardModal [data-req-guard-confirm],
body.page-edit-request #editReqItemGuardModal [data-edit-req-guard-confirm],
body.page-request-detail #deleteConfirmModal .vb-confirm-actions .btn.review-danger,
body.page-new-payment #spDeleteModal [data-sp-modal-confirm],
body.page-new-payment #spRemoveFileModal [data-sp-file-confirm],
body.page-new-reimbursement #rrMessageModal [data-rr-modal-confirm],
body.page-reimbursements #rrDeleteConfirmModal #rrDeleteForm .rr-danger-btn {
  background: #b93838 !important;
  border-color: #b93838 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  cursor: pointer;
}

body.page-new-requirement #reqItemGuardModal [data-req-guard-confirm]:hover,
body.page-edit-request #editReqItemGuardModal [data-edit-req-guard-confirm]:hover,
body.page-request-detail #deleteConfirmModal .vb-confirm-actions .btn.review-danger:hover,
body.page-new-payment #spDeleteModal [data-sp-modal-confirm]:hover,
body.page-new-payment #spRemoveFileModal [data-sp-file-confirm]:hover,
body.page-new-reimbursement #rrMessageModal [data-rr-modal-confirm]:hover,
body.page-reimbursements #rrDeleteConfirmModal #rrDeleteForm .rr-danger-btn:hover {
  background: #a42f2f !important;
  border-color: #a42f2f !important;
  color: #fff !important;
}

/* Visible keyboard focus for the audited confirmation controls. */
body.page-new-requirement #reqItemGuardModal .lanr-confirm-actions button:focus-visible,
body.page-edit-request #editReqItemGuardModal .lanr-confirm-actions button:focus-visible,
body.page-request-detail #deleteConfirmModal .vb-confirm-actions button:focus-visible,
body.page-request-detail .req-confirm-actions button:focus-visible,
body.page-request-detail .sp-confirm-actions button:focus-visible,
body.page-new-payment #spDeleteModal .lanr-confirm-actions button:focus-visible,
body.page-new-payment #spRemoveFileModal .lanr-confirm-actions button:focus-visible,
body.page-new-payment .sp-confirm-actions button:focus-visible,
body.page-new-reimbursement #rrMessageModal .lanr-confirm-actions button:focus-visible,
body.page-new-reimbursement .rr-confirm-actions button:focus-visible,
body.page-request-detail.page-reimbursement-detail .rr-confirm-actions button:focus-visible,
body.page-reimbursements #rrDeleteConfirmModal .rr-confirm-actions button:focus-visible {
  outline: 3px solid #66afd1 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #fff !important;
}

/* Local hover feedback for custom buttons that do not inherit .btn styles. */
body.page-request-detail .req-confirm-actions #req-confirm-accept:hover,
body.page-request-detail .sp-confirm-actions .sp-confirm-yes:hover {
  background: #123249 !important;
  border-color: #123249 !important;
  color: #fff !important;
}
body.page-request-detail .req-confirm-actions #req-confirm-cancel:hover,
body.page-request-detail .sp-confirm-actions button:not(.sp-confirm-yes):hover,
body.page-new-payment .sp-confirm-actions button:not(.sp-confirm-yes):hover {
  background: #f5f8fa !important;
}
body.page-request-detail.page-reimbursement-detail .rr-confirm-actions .btn.danger:hover {
  background: #a42f2f !important;
  border-color: #a42f2f !important;
  color: #fff !important;
}

/* LANR: vista compacta de materiales de Logística, V2 */
.qm-simple-products .qm-section-title-actions{align-items:center;gap:12px;flex-wrap:wrap}
.qm-material-list{display:grid;gap:10px;margin-top:14px}
.qm-material-card{border:1px solid #dce5ec;border-radius:12px;background:#fff;overflow:hidden}
.qm-material-card[open]{border-color:#a9c7dd;box-shadow:0 3px 12px rgba(19,52,77,.06)}
.qm-material-summary{display:grid;grid-template-columns:28px minmax(0,1fr) 115px 115px 115px;align-items:center;gap:12px;padding:15px;cursor:pointer;list-style:none}
.qm-material-summary::-webkit-details-marker{display:none}
.qm-material-index{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eaf3f8;color:#174969;font-weight:700}
.qm-material-name{min-width:0;display:flex;flex-direction:column;gap:5px}.qm-material-name strong{font-size:13px;color:#15334b;overflow-wrap:anywhere}.qm-material-name small{font-size:11px;color:#61788c}
.qm-material-amount{display:flex;flex-direction:column;gap:4px}.qm-material-amount small,.qm-material-detail small{color:#64798a;font-size:11px}.qm-material-amount strong{font-size:13px;color:#15334b}
.qm-material-view{font-size:12px;color:#14557b;font-weight:700;text-align:right;white-space:nowrap}.qm-material-view i{margin-left:5px;transition:transform .2s}.qm-material-card[open] .qm-material-view i{transform:rotate(180deg)}
.qm-material-detail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 16px;background:#f5f8fa;border-top:1px solid #e0e8ef}.qm-material-detail>div{display:flex;flex-direction:column;gap:5px}.qm-material-detail strong{font-size:13px;color:#183a54}
.qm-material-quotes{padding:12px 16px;border-top:1px solid #e0e8ef;font-size:12px}.qm-material-quotes p{margin:6px 0;color:#476175}
@media(max-width:850px){.qm-material-summary{grid-template-columns:26px minmax(0,1fr) auto;gap:9px}.qm-material-amount{grid-row:2}.qm-material-amount:nth-of-type(1){grid-column:2}.qm-material-amount:nth-of-type(2){grid-column:3}.qm-material-view{grid-column:3;grid-row:1}.qm-material-detail{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.qm-material-summary{grid-template-columns:26px minmax(0,1fr);padding:12px}.qm-material-name{grid-column:2}.qm-material-view{grid-column:2;grid-row:3;text-align:left}.qm-material-amount{grid-row:2}.qm-material-amount:nth-of-type(1){grid-column:1/3}.qm-material-amount:nth-of-type(2){grid-column:1/3}.qm-material-detail{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* LANR Logística V3: compacto y adaptable, solo esta pantalla */
.page-quotation-management .qm-flow-page {max-width:1160px;margin-inline:auto;}
.page-quotation-management .qm-flow-header {margin-bottom:8px;}
.page-quotation-management .qm-flow-header .qm-kicker {font-size:10px;}
.page-quotation-management .qm-flow-title h1 {font-size:clamp(19px,2.2vw,25px);}
.page-quotation-management .qm-flow-header p {margin:3px 0 0;}
.page-quotation-management .qm-flow-title .qm-flow-state {display:none;}
.page-quotation-management .qm-compact-status {display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 12px;color:#597085;font-size:12px;}
.page-quotation-management .qm-compact-status span {background:#eaf0f5;border-radius:6px;padding:5px 9px;}
.page-quotation-management .qm-compact-status .qm-compact-state {background:#e5f2fa;color:#174c6e;font-weight:700;}
.page-quotation-management .qm-compact-section {padding:14px 16px;margin-bottom:12px;}
.page-quotation-management .qm-compact-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.page-quotation-management .qm-compact-heading h2 {font-size:16px;margin:0;line-height:1.3;color:#12344d;}
.page-quotation-management .qm-compact-heading h2 span {color:#6b8192;font-weight:500;}
.page-quotation-management .qm-compact-new {padding:9px 12px;white-space:nowrap;}
.page-quotation-management .qm-compact-quotes .qm-quote-tabs {margin:0 0 8px;padding:3px;}
.page-quotation-management .qm-compact-quotes .qm-empty-quotes {min-height:90px;padding:15px;gap:3px;}
.page-quotation-management .qm-compact-quotes .qm-empty-quotes i {display:none;}
.page-quotation-management .qm-compact-quotes .qm-empty-quotes span {font-size:12px;}
.page-quotation-management .qm-compact-quotes .qm-quote-list-card {padding:12px;}
.page-quotation-management .qm-compact-materials .qm-material-list {display:flex;flex-direction:column;gap:0;}
.page-quotation-management .qm-compact-materials .qm-material-card {border:0;border-bottom:1px solid #e2eaf0;border-radius:0;margin:0;box-shadow:none;}
.page-quotation-management .qm-compact-materials .qm-material-card:last-child {border-bottom:0;}
.page-quotation-management .qm-compact-materials .qm-material-summary {display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 2px;}
.page-quotation-management .qm-compact-materials .qm-material-name {flex:1;min-width:0;}
.page-quotation-management .qm-compact-materials .qm-material-name strong {font-size:13px;line-height:1.3;}
.page-quotation-management .qm-compact-materials .qm-material-amount {flex:0 0 auto;text-align:right;}
.page-quotation-management .qm-compact-materials .qm-material-amount strong {font-size:13px;}
.page-quotation-management .qm-compact-materials .qm-material-view {flex:0 0 18px;font-size:12px;}
.page-quotation-management .qm-compact-materials .qm-material-detail {padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f6f9fb;}
.page-quotation-management .qm-compact-materials .qm-material-detail div {min-width:0;}
.page-quotation-management .qm-compact-materials .qm-material-detail small {display:block;font-size:11px;}
.page-quotation-management .qm-compact-materials .qm-material-detail strong {font-size:12px;}
.page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-table-tools {padding:6px 0 10px;display:flex;gap:8px;align-items:center;}
.page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-table-tools span {font-size:12px;}
.page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-items-table-wrap {overflow:visible;}
.page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items {width:100%;}
@media(max-width:700px){
 .page-quotation-management .qm-flow-page {padding-inline:0;}
 .page-quotation-management .qm-compact-section {padding:12px;margin-bottom:9px;}
 .page-quotation-management .qm-compact-heading h2 {font-size:15px;}
 .page-quotation-management .qm-compact-new {font-size:12px;padding:8px 9px;}
 .page-quotation-management .qm-compact-status {gap:5px;font-size:11px;}
 .page-quotation-management .qm-compact-status span {padding:4px 6px;}
 .page-quotation-management .qm-compact-materials .qm-material-summary {gap:7px;}
 .page-quotation-management .qm-compact-materials .qm-material-name strong {font-size:12px;}
 .page-quotation-management .qm-compact-materials .qm-material-amount strong {font-size:12px;}
 .page-quotation-management .qm-compact-materials .qm-material-detail {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .page-quotation-management .qm-modal-panel {width:calc(100vw - 16px);max-width:none;max-height:calc(100dvh - 16px);margin:8px;}
 .page-quotation-management .qm-modal-head {padding:12px 14px;}
 .page-quotation-management .qm-wizard-progress {padding:9px 12px;}
 .page-quotation-management .qm-wizard-progress strong {font-size:10px;}
 .page-quotation-management .qm-wizard-step {padding:12px 14px;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-table-tools {align-items:flex-start;flex-direction:column;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-items-table-wrap {overflow:visible;max-width:100%;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items,
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items tbody {display:block;width:100%;min-width:0;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items thead {display:none;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-quote-row {display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:5px 8px;padding:11px 9px;margin-bottom:8px;border:1px solid #dce7ef;border-radius:9px;background:white;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-quote-row td {display:block;width:auto;min-width:0;border:0;padding:0;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-quote-row td:first-child {grid-column:1;grid-row:1;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-product-name {grid-column:2;grid-row:1;font-size:13px;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-unit {grid-column:3;grid-row:1;color:#6c8191;font-size:11px;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-requested {grid-column:2;grid-row:2;font-size:11px;color:#60778b;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-requested:before {content:'Solicitado: ';}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-pending {display:none;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-quantity-cell {grid-column:2/4;grid-row:3;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-quantity-cell:before {content:'Cantidad a cotizar';display:block;font-size:11px;color:#60778b;margin-bottom:4px;}
 .page-quotation-management .qm-wizard-step[data-qm-step="1"] .qm-step-items .qm-qty {width:100%;min-width:0;box-sizing:border-box;}
 .page-quotation-management .qm-modal-actions {padding:10px 12px;}
 .page-quotation-management .qm-provider-grid {grid-template-columns:minmax(0,1fr);}
 .page-quotation-management .qm-provider-grid .qm-span-2 {grid-column:1;}
}

/* LANR V4 - misma jerarquía visual que Nuevo requerimiento, sin blancos excesivos */
.page-quotation-management .qm-flow-page{max-width:none;width:100%;}
.page-quotation-management .qm-flow-header{margin:4px 0 12px;}
.page-quotation-management .qm-flow-header .qm-kicker{display:none;}
.page-quotation-management .qm-flow-title h1{font-size:23px;line-height:1.2;font-weight:750;letter-spacing:-.35px;}
.page-quotation-management .qm-flow-header p{font-size:12px;margin:4px 0 0;color:#647b91;}
.page-quotation-management .qm-compact-status{margin:0 0 12px;gap:6px;}
.page-quotation-management .qm-compact-status span{font-size:11px;padding:4px 8px;}
.page-quotation-management .qm-compact-section{border-radius:0;margin:0;padding:12px 14px;border:1px solid #dbe5ed;box-shadow:none;}
.page-quotation-management .qm-compact-quotes{border-top:3px solid #2e719e;border-radius:10px 10px 0 0;}
.page-quotation-management .qm-compact-materials{border-top:0;border-radius:0 0 10px 10px;margin-bottom:14px;}
.page-quotation-management .qm-compact-heading{margin-bottom:6px;min-height:30px;}
.page-quotation-management .qm-compact-heading h2{font-size:13px;font-weight:750;}
.page-quotation-management .qm-compact-heading h2 span{font-weight:600;}
.page-quotation-management .qm-compact-new{font-size:12px;padding:7px 11px;line-height:1.2;}
.page-quotation-management .qm-compact-quotes .qm-quote-tabs{background:transparent;border:0;padding:0;margin:0 0 3px;gap:4px;}
.page-quotation-management .qm-compact-quotes .qm-quote-tabs button{font-size:11px;padding:5px 9px;}
.page-quotation-management .qm-compact-quotes .qm-empty-quotes{min-height:0!important;padding:9px 4px!important;background:#f7fafc;border:0;border-radius:5px;}
.page-quotation-management .qm-compact-quotes .qm-empty-quotes span{font-size:11px;color:#60778a;}
.page-quotation-management .qm-compact-materials .qm-material-summary{min-height:35px;padding:7px 3px;}
.page-quotation-management .qm-compact-materials .qm-material-name strong{font-size:12px;}
.page-quotation-management .qm-compact-materials .qm-material-amount strong{font-size:12px;}
.page-quotation-management .qm-compact-materials .qm-material-detail{padding:8px;gap:8px;}
@media(max-width:700px){
 .page-quotation-management .qm-flow-title h1{font-size:20px;}
 .page-quotation-management .qm-compact-section{padding:10px;}
 .page-quotation-management .qm-compact-heading{gap:6px;}
 .page-quotation-management .qm-compact-new{font-size:11px;padding:7px 8px;}
 .page-quotation-management .qm-compact-materials .qm-material-summary{min-height:36px;}
}

/* V5 - encabezado coherente con Nuevo requerimiento */
.page-quotation-management .qm-flow-header{margin:0 0 15px;}
.page-quotation-management .qm-flow-header p{font-size:13px;margin:5px 0 0;color:#687d90;}
.page-quotation-management .qm-requirement-strip{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;padding:0 0 9px;margin-bottom:10px;border-bottom:1px solid #e3ebf0;font-size:11px;color:#62788c;}
.page-quotation-management .qm-requirement-strip strong{color:#173a55;font-size:12px;}
.page-quotation-management .qm-requirement-state{margin-left:auto;color:#245a7c;font-weight:650;}
@media(max-width:700px){.page-quotation-management .qm-flow-header{margin-bottom:12px;}.page-quotation-management .qm-requirement-state{margin-left:0;width:100%;}}

/* V6: jerarquía y panel único como Requerimiento de materiales */
body.page-quotation-management .qm-page.qm-flow-page{width:100%;max-width:none;margin:0;padding:0;}
body.page-quotation-management .qm-page .lanr-breadcrumb{margin-bottom:9px;}
body.page-quotation-management .qm-header.qm-flow-header{padding:0;margin:0 0 18px;min-height:0;display:block;}
body.page-quotation-management .qm-flow-title{margin:0;padding:0;}
body.page-quotation-management .qm-flow-title h1{font-size:24px;line-height:1.2;font-weight:750;letter-spacing:-.35px;margin:0;}
body.page-quotation-management .qm-flow-header p{font-size:13px;line-height:1.35;margin:4px 0 0;color:#657b8e;}
body.page-quotation-management .qm-compact-section{margin:0!important;border:1px solid #d9e4eb;border-radius:0;box-shadow:none;background:#fff;padding:12px 14px;}
body.page-quotation-management .qm-compact-quotes{border-top:3px solid #2e719e;border-radius:10px 10px 0 0;padding-top:11px;}
body.page-quotation-management .qm-compact-materials{border-top:0;border-radius:0 0 10px 10px;margin-bottom:16px!important;}
body.page-quotation-management .qm-requirement-strip{padding:0 0 9px;margin:0 0 9px;}
body.page-quotation-management .qm-compact-heading{min-height:26px;margin:0 0 5px;}
body.page-quotation-management .qm-compact-quotes .qm-quote-tabs{margin:0 0 4px;}
body.page-quotation-management .qm-compact-quotes .qm-empty-quotes{padding:7px 4px!important;}
body.page-quotation-management .qm-compact-materials .qm-material-summary{min-height:35px;padding:7px 2px;}
@media(max-width:700px){
 body.page-quotation-management .qm-page.qm-flow-page{padding:0;}
 body.page-quotation-management .qm-header.qm-flow-header{margin-bottom:13px;}
 body.page-quotation-management .qm-flow-title h1{font-size:21px;}
 body.page-quotation-management .qm-compact-section{padding:10px;}
 body.page-quotation-management .qm-requirement-strip{gap:4px 8px;}
}

/* LANR - Cotizaciones: cabecera uniforme y selector compacto sin tablas desplazables */
body.page-quotation-management .qm-reference-head{margin:0 0 17px;padding:0;display:block;min-height:0}
body.page-quotation-management .qm-reference-head h1{font-size:24px;line-height:1.2;font-weight:750;letter-spacing:-.35px;margin:0;color:#102f45}
body.page-quotation-management .qm-reference-head p{font-size:13px;line-height:1.35;margin:4px 0 0;color:#657b8e}
body.page-quotation-management .qm-reference-head .lanr-breadcrumb{margin:0 0 9px}
body.page-quotation-management .qm-pick-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 12px}
body.page-quotation-management .qm-pick-toolbar .qm-check-all{display:flex;align-items:center;gap:8px;cursor:pointer;color:#173a55;font-size:13px;white-space:nowrap}
body.page-quotation-management .qm-pick-toolbar>span{color:#657b8e;font-size:11px;text-align:right}
body.page-quotation-management .qm-pick-list{border:1px solid #dce7ef;border-radius:10px;overflow:hidden;min-width:0}
body.page-quotation-management .qm-pick-row{display:grid;grid-template-columns:20px minmax(0,1fr) 128px;align-items:center;gap:12px;padding:10px 12px;min-width:0;border-bottom:1px solid #e5edf2;background:#fff}
body.page-quotation-management .qm-pick-row:last-child{border-bottom:0}
body.page-quotation-management .qm-pick-row.is-selected{background:#f4f9fc}
body.page-quotation-management .qm-pick-row>.qm-item-check{margin:0;width:16px;height:16px;cursor:pointer}
body.page-quotation-management .qm-pick-product{min-width:0;overflow-wrap:anywhere}
body.page-quotation-management .qm-pick-product strong{display:block;font-size:12px;color:#193a50;line-height:1.3}
body.page-quotation-management .qm-pick-product small{display:block;font-size:11px;color:#667d8f;margin-top:3px}
body.page-quotation-management .qm-pick-quantity{min-width:0}
body.page-quotation-management .qm-pick-quantity label{display:block;font-size:10px;color:#61778a;margin-bottom:4px;font-weight:600}
body.page-quotation-management .qm-pick-quantity .qm-qty{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:36px;padding:6px 9px}
body.page-quotation-management .qm-pick-quantity .qm-qty:disabled{background:#f4f6f8;color:#9caab4}
body.page-quotation-management .qm-pick-quantity .qm-excess-box{min-width:0}
@media(max-width:700px){
 body.page-quotation-management .qm-reference-head h1{font-size:21px}
 body.page-quotation-management .qm-pick-toolbar{align-items:flex-start;gap:8px}
 body.page-quotation-management .qm-pick-toolbar>span{max-width:55%;font-size:10px}
 body.page-quotation-management .qm-pick-row{grid-template-columns:18px minmax(0,1fr) 82px;gap:7px;padding:10px 8px}
 body.page-quotation-management .qm-pick-product strong{font-size:11px}
 body.page-quotation-management .qm-pick-product small{font-size:10px}
 body.page-quotation-management .qm-pick-quantity .qm-qty{height:34px;padding:5px 6px;font-size:12px}
 body.page-quotation-management .qm-wizard-step[data-qm-step="1"]{overflow-x:hidden}
}


/* LANR · Registro de cotización: proveedor y propuesta (solo paso 2) */
.page-quotation-management .qm-wizard-step[data-qm-step="2"]{overflow-x:hidden;padding:18px 22px 20px}
.page-quotation-management .qm-wizard-step[data-qm-step="2"] h3{margin:0;font-size:14px;color:#153b55}
.page-quotation-management .qm-simple-provider,.page-quotation-management .qm-simple-support,.page-quotation-management .qm-simple-prices{margin-bottom:16px}
.page-quotation-management .qm-simple-provider>.field{margin-bottom:8px}
.page-quotation-management .qm-simple-provider select{width:100%;min-width:0}
.page-quotation-management .qm-simple-support{border-top:1px solid #e5ebf0;padding-top:15px}
.page-quotation-management .qm-support-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:11px 0 13px}
.page-quotation-management .qm-support-choice{display:flex;gap:10px;align-items:flex-start;border:1px solid #d9e4ec;border-radius:10px;padding:13px;cursor:pointer;background:#fff;min-width:0}
.page-quotation-management .qm-support-choice:has(input:checked){border-color:#2676a5;background:#f0f7fb;box-shadow:inset 0 0 0 1px #2676a5}
.page-quotation-management .qm-support-choice input{margin:3px 0 0;flex:none;accent-color:#14547a}
.page-quotation-management .qm-support-choice span{display:grid;gap:5px;min-width:0}
.page-quotation-management .qm-support-choice strong{font-size:13px;color:#153b55}
.page-quotation-management .qm-support-choice small{font-size:11px;color:#657b8b;line-height:1.4}
.page-quotation-management .qm-support-file,.page-quotation-management .qm-support-note{margin-top:11px}
.page-quotation-management .qm-support-file[hidden]{display:none!important}
.page-quotation-management .qm-support-file input{width:100%;max-width:100%;box-sizing:border-box}
.page-quotation-management .qm-support-note textarea{width:100%;box-sizing:border-box;min-height:65px}
.page-quotation-management .qm-simple-prices{border-top:1px solid #e5ebf0;padding-top:15px}
.page-quotation-management .qm-simple-prices-heading p{margin:5px 0 11px;color:#657b8b;font-size:12px}
.page-quotation-management .qm-price-list{border:1px solid #dfe8ee;border-radius:10px;overflow:hidden}
.page-quotation-management .qm-price-card{display:grid;grid-template-columns:minmax(0,1fr) 170px 110px;gap:12px;align-items:center;padding:11px 13px;background:#fff;border-bottom:1px solid #e5edf2;min-width:0}
.page-quotation-management .qm-price-card[hidden]{display:none!important}
.page-quotation-management .qm-price-card:last-child{border-bottom:0}
.page-quotation-management .qm-price-product{min-width:0;display:grid;gap:4px}
.page-quotation-management .qm-price-product strong{font-size:12px;color:#233e50;overflow-wrap:anywhere}
.page-quotation-management .qm-price-product small,.page-quotation-management .qm-price-edit label,.page-quotation-management .qm-price-subtotal small{font-size:11px;color:#6a8191}
.page-quotation-management .qm-price-edit{display:grid;gap:5px;min-width:0}
.page-quotation-management .qm-price-edit input{width:100%;min-width:0;box-sizing:border-box}
.page-quotation-management .qm-price-subtotal{display:grid;gap:5px;text-align:right}
.page-quotation-management .qm-price-subtotal strong{font-size:13px;color:#153b55;white-space:nowrap}
.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
@media(max-width:760px){
 .page-quotation-management .qm-wizard-step[data-qm-step="2"]{padding:13px 12px 18px}
 .page-quotation-management .qm-support-choices{grid-template-columns:1fr;gap:8px}
 .page-quotation-management .qm-price-card{grid-template-columns:minmax(0,1fr) minmax(110px,40%);gap:9px;padding:12px}
 .page-quotation-management .qm-price-product{grid-column:1/3}
 .page-quotation-management .qm-price-edit{grid-column:1}
 .page-quotation-management .qm-price-subtotal{grid-column:2;align-self:end;padding-bottom:7px}
 .page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer{justify-content:space-between}
 .page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer>div{order:3;width:100%;text-align:right}
}

/* LANR · Cotizaciones 2026: selección de método y registro adaptable */
body.page-quotation-management .qm-method-section{margin-bottom:20px}
body.page-quotation-management .qm-section-kicker{font-size:10px;font-weight:800;letter-spacing:.09em;color:#56758a;margin-bottom:6px}
body.page-quotation-management .qm-method-section h3{font-size:16px!important;margin:0 0 12px!important;color:#14364d}
body.page-quotation-management .qm-method-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.page-quotation-management .qm-method-option{display:flex;gap:12px;align-items:center;min-width:0;cursor:pointer;border:1px solid #d9e4eb;border-radius:12px;padding:16px;background:#fff;transition:background .15s,border-color .15s}
body.page-quotation-management .qm-method-option:has(input:checked){border-color:#246a93;background:#f0f7fc;box-shadow:inset 0 0 0 1px #246a93}
body.page-quotation-management .qm-method-option input{accent-color:#155375;flex:none}
body.page-quotation-management .qm-method-icon{width:37px;height:37px;border-radius:9px;background:#e8f1f6;color:#1d5d80;display:grid;place-items:center;flex:none;font-size:17px}
body.page-quotation-management .qm-method-option>span:last-child{display:grid;gap:4px;min-width:0}
body.page-quotation-management .qm-method-option strong{font-size:13px;color:#173b53;line-height:1.3}
body.page-quotation-management .qm-method-option small{font-size:11px;color:#627d8f;line-height:1.45}
body.page-quotation-management .qm-provider-line{display:flex;gap:12px;align-items:end}
body.page-quotation-management .qm-provider-line .field{flex:1;min-width:0;margin:0}
body.page-quotation-management .qm-date-chip{display:flex;align-items:center;gap:7px;white-space:nowrap;background:#f2f6f9;border:1px solid #dfe9ef;border-radius:9px;padding:12px;color:#557185;font-size:12px}
body.page-quotation-management .qm-simple-provider{padding-top:15px;border-top:1px solid #e6edf2}
body.page-quotation-management .qm-support-file{background:#f7fafc;border:1px dashed #b6cad9;border-radius:11px;padding:15px;margin:12px 0 16px}
body.page-quotation-management .qm-support-file[hidden],body.page-quotation-management .qm-simple-prices[hidden],body.page-quotation-management .qm-igv-line[hidden]{display:none!important}
body.page-quotation-management .qm-simple-prices{border-top:1px solid #e6edf2;padding-top:16px}
body.page-quotation-management .qm-igv-toggle{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #dce8ef;border-radius:10px;background:#f8fafc;margin-top:13px;cursor:pointer}
body.page-quotation-management .qm-igv-toggle input{accent-color:#14547a;margin-top:3px}
body.page-quotation-management .qm-igv-toggle span{display:grid;gap:3px}
body.page-quotation-management .qm-igv-toggle strong{font-size:13px;color:#193d54}
body.page-quotation-management .qm-igv-toggle small{font-size:11px;color:#607b8d}
body.page-quotation-management .qm-totals{display:grid;gap:9px;max-width:330px;margin:15px 0 8px auto}
body.page-quotation-management .qm-totals>div{display:flex;justify-content:space-between;gap:12px;color:#607b8d;font-size:12px}
body.page-quotation-management .qm-totals strong{color:#153b55}
body.page-quotation-management .qm-totals .qm-total-main{border-top:1px solid #dce8ef;padding-top:11px;font-size:14px;font-weight:700;color:#153b55}
body.page-quotation-management .qm-total-main strong{font-size:19px}
body.page-quotation-management .qm-support-note{margin:14px 0}
body.page-quotation-management .qm-support-note label span{font-weight:400;color:#7b8f9c}
body.page-quotation-management .qm-document-hint{font-size:11px;color:#617b8e;display:flex;align-items:flex-start;gap:7px;margin:12px 0;line-height:1.5}
body.page-quotation-management .qm-document-hint i{margin-top:2px}
body.page-quotation-management .qm-admin-price-label{display:grid;gap:6px;font-size:11px;color:#8b581c;min-width:145px}
body.page-quotation-management .qm-admin-price-label input{max-width:160px;min-width:110px}
body.page-quotation-management .qm-wizard-step[data-qm-step="2"]{overflow-x:hidden}
@media(max-width:760px){
 body.page-quotation-management .qm-method-options{grid-template-columns:1fr;gap:9px}
 body.page-quotation-management .qm-method-option{padding:12px;gap:10px}
 body.page-quotation-management .qm-method-icon{width:34px;height:34px}
 body.page-quotation-management .qm-provider-line{display:block}
 body.page-quotation-management .qm-date-chip{width:max-content;margin-top:9px;padding:7px 10px}
 body.page-quotation-management .qm-totals{max-width:none;width:100%}
 body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e0e9ef;padding:12px 0;z-index:2}
 body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer>div{order:0;width:100%;text-align:right}
 body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer button[type="submit"]{flex:1}
 body.page-quotation-management .qm-price-card{grid-template-columns:minmax(0,1fr) minmax(100px,40%)}
}

/* LANR | Cotizaciones: corrección de tarjetas y cantidades excedidas */
body.page-quotation-management .qm-method-options{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;align-items:stretch!important;
}
body.page-quotation-management .qm-method-option{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:20px 38px minmax(0,1fr)!important;
  align-items:center!important;gap:12px!important;
  width:100%!important;min-width:0!important;height:auto!important;
  min-height:88px!important;padding:15px!important;
  overflow:hidden!important;position:relative!important;
}
body.page-quotation-management .qm-method-option input[type="radio"]{
  display:block!important;position:static!important;appearance:auto!important;
  width:17px!important;height:17px!important;min-width:17px!important;
  min-height:17px!important;max-width:17px!important;max-height:17px!important;
  padding:0!important;margin:0!important;flex:none!important;transform:none!important;
  opacity:1!important;visibility:visible!important;box-shadow:none!important;
}
body.page-quotation-management .qm-method-option .qm-method-icon{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;min-width:38px!important;
  min-height:38px!important;max-width:38px!important;max-height:38px!important;
  padding:0!important;position:static!important;overflow:hidden!important;
}
body.page-quotation-management .qm-method-option .qm-method-icon i{
  display:inline-block!important;font-size:17px!important;line-height:1!important;
  width:auto!important;height:auto!important;position:static!important;
}
body.page-quotation-management .qm-method-option>span:last-child{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  gap:5px!important;min-width:0!important;max-width:100%!important;
  overflow-wrap:anywhere!important;white-space:normal!important;
}
body.page-quotation-management .qm-method-option strong{
  display:block!important;font-size:14px!important;line-height:1.3!important;
}
body.page-quotation-management .qm-method-option small{
  display:block!important;font-size:12px!important;line-height:1.4!important;
}
body.page-quotation-management .qm-pick-quantity input.qm-qty{
  transition:border-color .15s,background .15s,color .15s;
}
body.page-quotation-management .qm-has-excess .qm-pick-quantity input.qm-qty{
  border:2px solid #d97706!important;background:#fff7ed!important;
  color:#9a3412!important;font-weight:800!important;
}
body.page-quotation-management .qm-has-excess .qm-pick-product small{color:#9a3412!important}
body.page-quotation-management .qm-provider-line select{min-width:0!important}
@media(max-width:760px){
  body.page-quotation-management .qm-method-options{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  body.page-quotation-management .qm-method-option{
    grid-template-columns:18px 34px minmax(0,1fr)!important;
    min-height:74px!important;padding:12px!important;gap:10px!important;
  }
  body.page-quotation-management .qm-method-option .qm-method-icon{
    width:34px!important;height:34px!important;min-width:34px!important;
    min-height:34px!important;max-width:34px!important;max-height:34px!important;
  }
  body.page-quotation-management .qm-method-option strong{font-size:13px!important}
  body.page-quotation-management .qm-method-option small{font-size:11px!important}
  body.page-quotation-management .qm-simple-provider,
  body.page-quotation-management .qm-support-file,
  body.page-quotation-management .qm-simple-prices{min-width:0!important;max-width:100%!important}
}

/* Cotización: controles visuales compartidos con Reembolsos y Requerimientos */
body.page-quotation-management .qm-provider-search-field{position:relative;min-width:0}
body.page-quotation-management .qm-provider-search-shell{display:flex;align-items:center;gap:10px;border:1px solid #cbd9e5;border-radius:8px;background:#fff;padding:0 12px;min-height:44px}
body.page-quotation-management .qm-provider-search-shell:focus-within{border-color:#377da8;box-shadow:0 0 0 2px #377da822}
body.page-quotation-management .qm-provider-search-shell>i{color:#447697}
body.page-quotation-management .qm-provider-search-shell input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;padding:10px 0!important;background:transparent!important}
body.page-quotation-management .qm-provider-search-toggle{border:0;background:transparent;color:#204967;cursor:pointer;padding:8px}
body.page-quotation-management .qm-provider-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:12px;bottom:0}
body.page-quotation-management .qm-provider-results{position:absolute;z-index:30;top:100%;left:0;right:0;max-height:230px;overflow:auto;background:#fff;border:1px solid #cbd9e5;border-radius:8px;box-shadow:0 12px 25px #12334b25}
body.page-quotation-management .qm-provider-results[hidden]{display:none!important}
body.page-quotation-management .qm-provider-result{display:block;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #eef2f6;padding:12px;cursor:pointer;color:#173d57;font:inherit}
body.page-quotation-management .qm-provider-result:hover,.qm-provider-result:focus{background:#eaf4fb}
body.page-quotation-management .qm-provider-empty{padding:14px;color:#62788b;font-size:13px}
body.page-quotation-management .qm-file-picker{display:flex!important;align-items:center!important;gap:12px!important;cursor:pointer!important;min-height:48px!important;padding:12px!important}
body.page-quotation-management .qm-file-picker span{flex:1;min-width:0;overflow-wrap:anywhere}
body.page-quotation-management .qm-file-picker small{margin-left:auto}
body.page-quotation-management .qm-support-file .qm-section-kicker{margin-bottom:8px}
body.page-quotation-management .qm-support-file .qm-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important}
body.page-quotation-management .qm-support-note{margin-top:16px}
body.page-quotation-management .qm-support-note textarea{width:100%;box-sizing:border-box}
@media(max-width:760px){
body.page-quotation-management .qm-provider-line{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
body.page-quotation-management .qm-date-chip{align-self:flex-start}
body.page-quotation-management .qm-file-picker small{font-size:10px}
}

/* Ajuste puntual cotización: mismo patrón de búsqueda / alta de Reembolsos */
body.page-quotation-management .qm-provider-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:12px!important}
body.page-quotation-management .qm-new-provider-button{white-space:nowrap;min-height:44px!important;display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.page-quotation-management .qm-provider-search-shell:has(input:disabled){background:#f0f3f6!important;opacity:.72}
body.page-quotation-management .qm-provider-new-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px;padding:12px;border-top:1px solid #dce6ed}
body.page-quotation-management .qm-provider-new-fields[hidden]{display:none!important}
body.page-quotation-management .qm-provider-new-fields .field{margin:0;min-width:0}
body.page-quotation-management .qm-provider-new-fields label{display:block;margin-bottom:6px}
body.page-quotation-management .qm-provider-new-fields input{width:100%;box-sizing:border-box}
body.page-quotation-management .qm-provider-new-fields button{min-height:42px;white-space:nowrap}
body.page-quotation-management .qm-support-file{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;margin:14px 0!important;position:relative}
body.page-quotation-management .qm-support-file>label:first-child{display:block;margin-bottom:8px;font-size:12px;font-weight:700}
body.page-quotation-management .qm-upload-target{min-height:48px!important;box-sizing:border-box!important;border:1px dashed #9bbbd0!important;border-radius:8px!important;background:#f7fafc!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 12px!important;cursor:pointer!important;margin:0!important}
body.page-quotation-management .qm-upload-target:hover{background:#edf6fc!important;border-color:#4085b0!important}
body.page-quotation-management .qm-upload-left{display:flex;align-items:center;gap:10px;min-width:0;color:#174f70}
body.page-quotation-management .qm-upload-left strong{font-size:12px;font-weight:700;overflow-wrap:anywhere}
body.page-quotation-management .qm-upload-target small{font-size:10px;color:#678398;white-space:nowrap}
body.page-quotation-management .qm-support-file input.qm-file-input{display:none!important}
body.page-quotation-management .qm-support-file>small{display:block;margin-top:5px;color:#6a8090;font-size:11px}
body.page-quotation-management .qm-support-note{padding:0!important;border:0!important;margin:12px 0!important}
body.page-quotation-management .qm-support-note .lanr-section-label{font-size:12px;margin-bottom:6px}
body.page-quotation-management .qm-support-note textarea{min-height:64px!important;height:68px!important;max-height:110px!important;padding:10px 12px!important}
@media(max-width:760px){
body.page-quotation-management .qm-provider-line{grid-template-columns:minmax(0,1fr)!important}
body.page-quotation-management .qm-new-provider-button{width:100%!important}
body.page-quotation-management .qm-provider-new-fields{grid-template-columns:minmax(0,1fr)!important}
body.page-quotation-management .qm-provider-new-fields button{width:100%}
}

body.page-quotation-management .qm-support-note textarea{
  font-family:"Segoe UI",Arial,sans-serif!important;font-size:11px!important;line-height:1.4!important;
  min-height:58px!important;height:58px!important;max-height:110px!important;
  padding:7px 9px!important;border:1px solid #cbd9e2!important;border-radius:7px!important;
  box-sizing:border-box!important;resize:vertical!important;color:#17354c;
}
body.page-quotation-management .qm-support-note textarea::placeholder{font:inherit;color:#8495a2;opacity:1}
body.page-quotation-management .qm-support-note textarea:focus{outline:none;border-color:#8fb8cf!important;box-shadow:0 0 0 2px rgba(46,126,167,.08)!important}
body.page-quotation-management .qm-admin-price-label .required,body.page-quotation-management .qm-cancel-fields .required{color:#c62828!important}
body.page-new-requirement .nt-table th .required-mark{color:#c62828!important}
body.page-quotation-management .qm-review-observation-label{display:block;margin-bottom:4px;color:#526b7a;font-size:10px;font-weight:700}

/* Catálogo de proveedores: reutiliza tabla y ritmo visual de Administración de personal */
body.page-provider-admin .provider-table-card,body.page-provider-admin .provider-quotes-card{min-width:0;overflow:hidden}
body.page-provider-admin .provider-table-head{align-items:center;gap:12px}
body.page-provider-admin .provider-search-form{padding:0 0 13px;border-bottom:1px solid #edf1f3;margin-bottom:10px}
body.page-provider-admin .provider-search-form>label{display:block;margin:0 0 6px;color:#31536a;font-size:11px;font-weight:700}
body.page-provider-admin .provider-search-form>div{display:flex;align-items:center;gap:8px;max-width:680px}
body.page-provider-admin .provider-search-form input{height:38px;min-width:0;flex:1;padding:0 11px;border:1px solid #cbd9e2;border-radius:7px;font:inherit;font-size:12px}
body.page-provider-admin .provider-search-form input:focus{outline:none;border-color:#5b9fc6;box-shadow:0 0 0 2px rgba(47,111,149,.10)}
body.page-provider-admin .provider-table-wrap{max-width:100%;overflow-x:auto}
body.page-provider-admin .provider-table{min-width:690px}
body.page-provider-admin .provider-name{overflow-wrap:anywhere}
body.page-provider-admin .provider-usage{display:inline-flex;align-items:center;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:700;white-space:nowrap}
body.page-provider-admin .provider-usage.used{background:#eaf6ef;color:#187247}
body.page-provider-admin .provider-usage.unused{background:#f1f4f6;color:#687b87}
body.page-provider-admin .provider-table td:last-child{text-align:center;white-space:nowrap}
body.page-provider-admin .provider-detail-head{display:block}
body.page-provider-admin .provider-back-link{display:inline-flex;align-items:center;gap:7px;margin-bottom:8px;color:#527086;font-size:11px;font-weight:700;text-decoration:none}
body.page-provider-admin .provider-detail-head h1{overflow-wrap:anywhere}
body.page-provider-admin .provider-detail-card,body.page-provider-admin .provider-quotes-card{margin-bottom:14px;padding:14px 16px}
body.page-provider-admin .provider-detail-summary{display:grid;grid-template-columns:1.5fr 1fr 1fr}
body.page-provider-admin .provider-detail-summary>div{min-width:0;padding:4px 14px}
body.page-provider-admin .provider-detail-summary>div+div{border-left:1px solid #e2e9ee}
body.page-provider-admin .provider-detail-summary>div:first-child{padding-left:0}
body.page-provider-admin .provider-detail-summary>div>span:first-child{display:block;margin-bottom:6px;color:#527086;font-size:9px;font-weight:700;text-transform:uppercase}
body.page-provider-admin .provider-detail-summary strong{font-size:12px;color:#173b53;overflow-wrap:anywhere}
body.page-provider-admin .provider-quotes-card .units-table-head{padding:0 0 12px}
body.page-provider-admin .provider-quote-list{display:grid;gap:8px}
body.page-provider-admin .provider-quote-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px 14px;padding:12px;border:1px solid #e1eaf0;border-radius:9px;min-width:0}
body.page-provider-admin .provider-quote-main,body.page-provider-admin .provider-quote-status{display:flex;flex-direction:column;gap:3px;min-width:0}
body.page-provider-admin .provider-quote-main strong{color:#174f70;font-size:12px}
body.page-provider-admin .provider-quote-main span{color:#31536a;font-size:11px;overflow-wrap:anywhere}
body.page-provider-admin .provider-quote-main small,body.page-provider-admin .provider-quote-status span{color:#70818d;font-size:10px;overflow-wrap:anywhere}
body.page-provider-admin .provider-quote-status{text-align:right}
body.page-provider-admin .provider-quote-status strong{color:#173b53;font-size:12px}
body.page-provider-admin .provider-quote-actions{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
body.page-provider-admin .provider-quote-actions .btn{max-width:100%;overflow-wrap:anywhere}
body.page-provider-admin .provider-file-name{font-size:10px;color:#627e8d;overflow-wrap:anywhere}
body.page-provider-admin .provider-quote-note{grid-column:1/-1;margin:0;color:#526b7a;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
body.page-provider-admin .provider-empty{margin:0;padding:18px 8px;text-align:center;color:#718696;font-size:11px}
body.page-provider-admin .provider-private-note{display:flex;align-items:flex-start;gap:7px;margin:0 0 10px;padding:9px 11px;border-radius:7px;background:#f6f8fa;color:#687b87;font-size:10px;line-height:1.4}
@media(max-width:700px){
  body.page-provider-admin .provider-table-head{align-items:flex-start;flex-direction:column}
  body.page-provider-admin .provider-search-form>div{flex-wrap:wrap}
  body.page-provider-admin .provider-search-form input{flex-basis:100%}
  body.page-provider-admin .provider-search-form .btn{flex:1;justify-content:center}
  body.page-provider-admin .provider-detail-summary{grid-template-columns:1fr}
  body.page-provider-admin .provider-detail-summary>div,body.page-provider-admin .provider-detail-summary>div:first-child{padding:10px 0}
  body.page-provider-admin .provider-detail-summary>div+div{border-left:0;border-top:1px solid #e2e9ee}
  body.page-provider-admin .provider-quote-row{grid-template-columns:minmax(0,1fr) auto;padding:10px}
  body.page-provider-admin .provider-quote-actions .btn{flex:1 1 auto;justify-content:center}
}

/* Selector de proveedor alineado con el combobox de Reembolsos */
body.page-quotation-management .qm-provider-search-shell{display:block;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
body.page-quotation-management .qm-provider-search-shell:focus-within{border:0;box-shadow:none}
body.page-quotation-management .qm-provider-search-shell .rr-search-wrap{position:relative;min-width:0}
body.page-quotation-management .qm-provider-search-shell .rr-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#52768d;font-size:12px;z-index:2;pointer-events:none}
body.page-quotation-management #qm-provider-search{width:100%;height:38px!important;min-height:38px!important;box-sizing:border-box;padding:0 78px 0 36px!important;border:1px solid #b9cdd9!important;border-radius:7px!important;background:#fff!important;font-size:11px!important;line-height:normal}
body.page-quotation-management #qm-provider-search:focus{outline:none;border-color:#5b9fc6!important;box-shadow:0 0 0 2px rgba(47,111,149,.10)!important}
body.page-quotation-management #qm-provider-search:disabled{background:#f4f6f7!important;color:#83929b;cursor:not-allowed}
body.page-quotation-management .qm-provider-search-shell .qm-provider-search-toggle{position:absolute;right:1px;top:1px;width:38px;height:36px;padding:0;border:0;border-radius:0 6px 6px 0;background:transparent;color:#173e57;z-index:3}
body.page-quotation-management .qm-provider-search-shell .qm-provider-clear{position:absolute;right:39px;top:1px;width:30px;height:36px;padding:0;border:0;border-radius:5px;background:transparent;color:#52768d;z-index:3}
body.page-quotation-management .qm-provider-search-shell .qm-provider-clear[hidden]{display:none!important}
body.page-quotation-management .qm-provider-search-shell .qm-provider-clear:hover,body.page-quotation-management .qm-provider-search-shell .qm-provider-search-toggle:hover{background:#e8f1f7;color:#163b55}
body.page-quotation-management .qm-provider-results{top:calc(100% + 4px);max-height:270px;padding:5px;border:1px solid #c8d9e3;border-radius:8px;box-shadow:0 8px 22px rgba(23,62,87,.14)}
body.page-quotation-management .qm-provider-result{padding:8px 10px;border:0;border-radius:6px;color:#17354c;font-size:11px;text-align:left}
body.page-quotation-management .qm-provider-result:hover,body.page-quotation-management .qm-provider-result:focus{outline:0;background:#edf6fb}
body.page-quotation-management .qm-provider-empty{padding:12px;text-align:center;color:#718696;font-size:10px}
body.page-quotation-management .qm-provider-new-fields{margin-top:9px;padding:10px 0 0;border-top:1px solid #e2ebf0}
body.page-quotation-management .qm-provider-new-fields input{height:38px;font-size:11px}
@media(max-width:760px){
  body.page-quotation-management .qm-provider-line{gap:8px!important}
  body.page-quotation-management .qm-new-provider-button{min-height:38px!important}
  body.page-quotation-management .qm-provider-new-fields{gap:9px}
}

/* Read-only requirement detail modal on quotation management */
body.page-quotation-management .qm-requirement-details-action{display:flex;justify-content:flex-end;margin-top:12px}
body.page-quotation-management .qm-requirement-detail-modal{padding:16px}
body.page-quotation-management .qm-requirement-detail-dialog{display:flex;flex-direction:column;width:min(720px,100%);max-height:calc(100dvh - 32px);overflow:hidden}
body.page-quotation-management .qm-requirement-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:auto auto;align-items:start;column-gap:14px;row-gap:4px;flex:0 0 auto;padding:17px 20px 14px}
body.page-quotation-management .qm-requirement-detail-head>small{grid-column:1;grid-row:1;min-width:0;margin:0;color:#648093;font-size:9px;font-weight:800;letter-spacing:.09em}
body.page-quotation-management .qm-requirement-detail-head>h2{grid-column:1;grid-row:2;min-width:0;margin:0;color:#173c56;font-size:18px;line-height:1.3;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}
body.page-quotation-management .qm-requirement-detail-head>.units-modal-close{grid-column:2;grid-row:1 / span 2;align-self:center}
body.page-quotation-management .qm-requirement-detail-body{flex:1 1 0%;min-height:0;overflow-y:auto;padding:16px 20px}
body.page-quotation-management .qm-requirement-detail-section+.qm-requirement-detail-section{margin-top:16px;padding-top:14px;border-top:1px solid #e7eef2}
body.page-quotation-management .qm-requirement-detail-section h3{margin:0 0 10px;color:#31566e;font-size:12px;font-weight:750}
body.page-quotation-management .qm-requirement-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.page-quotation-management .qm-requirement-info-grid>div{min-width:0;padding:9px 11px;border:1px solid #e5edf1;border-radius:8px;background:#fbfcfd}
body.page-quotation-management .qm-requirement-info-grid small,body.page-quotation-management .qm-requirement-approval-meta small{display:block;margin-bottom:4px;color:#708491;font-size:9px;font-weight:700}
body.page-quotation-management .qm-requirement-info-grid strong{display:block;color:#203f54;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
body.page-quotation-management .qm-requirement-approvals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.page-quotation-management .qm-requirement-approval{min-width:0;padding:10px 11px;border:1px solid #e5edf1;border-left:3px solid #d4a44b;border-radius:8px;background:#fffaf1}
body.page-quotation-management .qm-requirement-approval.is-approved{border-left-color:#27865e;background:#f3faf6}
body.page-quotation-management .qm-requirement-approval-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px;color:#24485e;font-size:10px}
body.page-quotation-management .qm-requirement-approval-state{display:inline-flex;align-items:center;gap:4px;color:#916719;font-size:9px;font-weight:750;white-space:nowrap}
body.page-quotation-management .qm-requirement-approval.is-approved .qm-requirement-approval-state{color:#187247}
body.page-quotation-management .qm-requirement-approval-meta{margin-top:6px;min-width:0}
body.page-quotation-management .qm-requirement-approval-meta span{display:block;color:#29495d;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
body.page-quotation-management .qm-requirement-detail-empty,body.page-quotation-management .qm-requirement-observations p{margin:0;color:#526b7a;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
body.page-quotation-management .qm-requirement-detail-footer{box-sizing:border-box;flex:0 0 auto;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid #e7eef2;background:#fbfcfd}
body.page-quotation-management .qm-requirement-pdf-actions{display:flex;flex:0 1 auto;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
body.page-quotation-management .qm-requirement-detail-footer .btn{box-sizing:border-box;display:inline-flex;flex:0 0 auto;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border:1px solid #cbd9e2;border-radius:8px;background:#fff;color:#24485e;font-family:inherit;font-size:11.5px;font-weight:700;line-height:1.25;text-align:center;text-decoration:none;white-space:nowrap}
body.page-quotation-management .qm-requirement-detail-footer .btn.primary{border-color:var(--navy);background:var(--navy);color:#fff}
body.page-quotation-management .qm-requirement-detail-footer .btn i{flex:0 0 auto;font-size:12px;line-height:1}
body.page-quotation-management .qm-requirement-detail-close{margin-left:auto}
@media(max-width:700px){
  body.page-quotation-management .qm-requirement-details-action .btn{width:100%;justify-content:center}
  body.page-quotation-management .qm-requirement-detail-modal{
    align-items:center;
    padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
  }
  body.page-quotation-management .qm-requirement-detail-dialog{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:none;
    max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);
    border-radius:13px;
  }
  body.page-quotation-management .qm-requirement-detail-head{
    box-sizing:border-box;
    min-width:0;
    column-gap:8px;
    row-gap:1px;
    padding:11px 14px 9px;
  }
  body.page-quotation-management .qm-requirement-detail-head>small{grid-column:1;grid-row:1;font-size:10px;letter-spacing:.075em;line-height:1.35}
  body.page-quotation-management .qm-requirement-detail-head>h2{
    grid-column:1/-1;
    grid-row:2;
    width:100%;
    max-width:none;
    font-size:clamp(17px,4.8vw,20px);
    line-height:1.25;
  }
  body.page-quotation-management .qm-requirement-detail-head>.units-modal-close{grid-column:2;grid-row:1;align-self:start;width:34px;height:34px;min-width:34px}
  body.page-quotation-management .qm-requirement-detail-body{box-sizing:border-box;min-width:0;overflow-x:hidden;padding:13px 14px;overscroll-behavior:contain}
  body.page-quotation-management .qm-requirement-detail-section+.qm-requirement-detail-section{margin-top:13px;padding-top:12px}
  body.page-quotation-management .qm-requirement-info-grid small,body.page-quotation-management .qm-requirement-approval-meta small{font-size:10px}
  body.page-quotation-management .qm-requirement-approval-state{font-size:10px}
  body.page-quotation-management .qm-requirement-info-grid,body.page-quotation-management .qm-requirement-approvals{grid-template-columns:minmax(0,1fr);gap:8px}
  body.page-quotation-management .qm-requirement-info-grid>div,body.page-quotation-management .qm-requirement-approval{box-sizing:border-box;min-width:0;padding:9px 10px}
  body.page-quotation-management .qm-requirement-info-grid strong,body.page-quotation-management .qm-requirement-approval-meta span{overflow-wrap:anywhere;word-break:normal}
  body.page-quotation-management .qm-requirement-approval-top{flex-wrap:wrap;align-items:center;row-gap:5px}
  body.page-quotation-management .qm-requirement-approval-top>strong{min-width:0;overflow-wrap:anywhere}
  body.page-quotation-management .qm-requirement-detail-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"view view" "download close";align-items:stretch;gap:8px;padding:10px 14px}
  body.page-quotation-management .qm-requirement-pdf-actions{display:contents}
  body.page-quotation-management .qm-requirement-pdf-actions>a:first-child{grid-area:view}
  body.page-quotation-management .qm-requirement-pdf-actions>a:nth-child(2){grid-area:download}
  body.page-quotation-management .qm-requirement-detail-close{grid-area:close;margin-left:0}
  body.page-quotation-management .qm-requirement-detail-footer .btn{
    width:100%;
    min-width:0;
    min-height:44px;
    padding:9px 8px;
    font-size:12px;
    white-space:normal;
    overflow-wrap:normal;
  }
}
@media(max-width:900px) and (max-height:520px) and (orientation:landscape){
  body.page-quotation-management .qm-requirement-detail-modal{padding:max(6px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(6px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
  body.page-quotation-management .qm-requirement-detail-dialog{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 12px)}
  body.page-quotation-management .qm-requirement-detail-head{padding:9px 12px}
  body.page-quotation-management .qm-requirement-detail-head h2{font-size:17px}
  body.page-quotation-management .qm-requirement-detail-body{padding:9px 12px}
  body.page-quotation-management .qm-requirement-info-grid,body.page-quotation-management .qm-requirement-approvals{grid-template-columns:minmax(0,1fr)}
  body.page-quotation-management .qm-requirement-detail-footer{gap:6px;padding:7px 12px}
  body.page-quotation-management .qm-requirement-detail-footer .btn{min-height:42px;padding:7px 8px}
}


/* Corrección aislada: estilos globales header/footer no deben limitar el modal REQ. */
body.page-quotation-management .qm-requirement-detail-dialog > .qm-requirement-detail-head {
  position: relative;
  top: auto;
  z-index: auto;
  height: auto;
  min-height: 0;
  justify-content: initial;
  align-items: start;
}
body.page-quotation-management .qm-requirement-detail-dialog > .qm-requirement-detail-footer {
  position: relative;
  height: auto;
  min-height: 0;
  flex-shrink: 0;
  justify-content: space-between;
}
@media (max-width: 700px) {
  body.page-quotation-management .qm-requirement-detail-dialog > .qm-requirement-detail-head {
    grid-template-columns: minmax(0,1fr) 34px;
    grid-template-rows: auto auto;
    align-items: start;
    row-gap: 2px;
    padding: 10px 14px 9px;
  }
  body.page-quotation-management .qm-requirement-detail-head > small {
    align-self: center;
  }
  body.page-quotation-management .qm-requirement-detail-head > h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
  }
  body.page-quotation-management .qm-requirement-detail-head > .units-modal-close {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
  body.page-quotation-management .qm-requirement-detail-dialog > .qm-requirement-detail-footer {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-areas: "view view" "download close";
    align-items: stretch;
    gap: 8px;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom, 0px));
  }
}


/* LANR · Cotizaciones: revisión compacta de modalidad, precios e IGV (nov. 2026) */
body.page-quotation-management .qm-method-section{margin-bottom:14px!important}
body.page-quotation-management .qm-method-section h3{font-size:14px!important;margin:0 0 9px!important}
body.page-quotation-management .qm-method-options{gap:9px!important}
body.page-quotation-management .qm-method-option{
  min-height:62px!important;padding:9px 12px!important;gap:9px!important;
  grid-template-columns:18px 30px minmax(0,1fr)!important;border-radius:9px!important;
}
body.page-quotation-management .qm-method-option .qm-method-icon{
  width:30px!important;height:30px!important;min-width:30px!important;
  min-height:30px!important;max-width:30px!important;max-height:30px!important;
  border-radius:7px!important;
}
body.page-quotation-management .qm-method-option .qm-method-icon i{font-size:14px!important}
body.page-quotation-management .qm-method-option>span:last-child{gap:2px!important}
body.page-quotation-management .qm-method-option strong{font-size:12px!important}
body.page-quotation-management .qm-method-option small{font-size:10px!important;line-height:1.3!important}
body.page-quotation-management .qm-simple-prices{padding-top:11px!important}
body.page-quotation-management .qm-simple-prices-heading h3{margin:0!important;font-size:13px!important}
body.page-quotation-management .qm-simple-prices-heading p{font-size:11px!important;margin:3px 0 8px!important}
body.page-quotation-management .qm-price-card{
  grid-template-columns:minmax(0,1fr) 150px 94px!important;
  padding:7px 11px!important;gap:10px!important;min-height:59px!important;
}
body.page-quotation-management .qm-price-product{gap:2px!important}
body.page-quotation-management .qm-price-product strong{font-size:11px!important;line-height:1.3!important}
body.page-quotation-management .qm-price-edit{gap:3px!important}
body.page-quotation-management .qm-price-edit label,
body.page-quotation-management .qm-price-product small,
body.page-quotation-management .qm-price-subtotal small{font-size:10px!important}
body.page-quotation-management .qm-price-edit input{
  height:34px!important;min-height:34px!important;padding:5px 9px!important;font-size:12px!important;
}
body.page-quotation-management .qm-price-subtotal{gap:3px!important}
body.page-quotation-management .qm-price-subtotal strong{font-size:12px!important}
body.page-quotation-management .qm-igv-toggle{
  display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;
  align-items:center!important;gap:10px!important;padding:11px 13px!important;
  margin:10px 0!important;min-height:52px!important;
}
body.page-quotation-management .qm-igv-toggle input[type="checkbox"]{
  appearance:auto!important;display:block!important;position:static!important;
  width:17px!important;height:17px!important;min-width:17px!important;
  margin:0!important;padding:0!important;transform:none!important;
  box-shadow:none!important;opacity:1!important;justify-self:start!important;
}
body.page-quotation-management .qm-igv-toggle span{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
body.page-quotation-management .qm-igv-toggle strong{font-size:12px!important}
body.page-quotation-management .qm-igv-toggle small{font-size:10px!important;line-height:1.35!important}
body.page-quotation-management .qm-totals{
  max-width:350px!important;width:100%!important;margin:12px 0 14px auto!important;
  padding:12px 14px!important;border:1px solid #dce8ef!important;
  border-radius:10px!important;background:#f8fafc!important;gap:8px!important;
}
body.page-quotation-management .qm-totals>div{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:12px!important;margin:0!important;
}
body.page-quotation-management .qm-totals .qm-total-main{
  border-top:1px solid #dce8ef!important;padding-top:10px!important;margin-top:2px!important;
}
body.page-quotation-management .qm-totals .qm-total-main strong{font-size:17px!important;white-space:nowrap!important}
body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer{
  justify-content:space-between!important;
}
body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer button[type="submit"]{margin-left:auto!important}
@media(max-width:760px){
 body.page-quotation-management .qm-method-option{
   min-height:58px!important;padding:9px 10px!important;
   grid-template-columns:18px 28px minmax(0,1fr)!important;
 }
 body.page-quotation-management .qm-method-option .qm-method-icon{
   width:28px!important;height:28px!important;min-width:28px!important;
   min-height:28px!important;max-width:28px!important;max-height:28px!important;
 }
 body.page-quotation-management .qm-price-card{
   grid-template-columns:minmax(0,1fr) minmax(92px,38%)!important;
   padding:9px 10px!important;gap:5px 10px!important;
 }
 body.page-quotation-management .qm-price-product{grid-column:1/-1!important}
 body.page-quotation-management .qm-price-edit{grid-column:1!important}
 body.page-quotation-management .qm-price-subtotal{grid-column:2!important;align-self:end!important;padding-bottom:5px!important}
 body.page-quotation-management .qm-totals{max-width:none!important;padding:11px!important}
 body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer>div{display:none!important}
 body.page-quotation-management .qm-wizard-step[data-qm-step="2"] .qm-wizard-footer button[type="submit"]{flex:0 1 auto!important}
}


/* LANR 2026-11-16: layout responsivo integral de Gestión de cotizaciones. */
body.page-quotation-management .qm-modal-panel{display:flex!important;flex-direction:column!important;overflow:hidden!important;max-height:min(92dvh,900px)!important;}
body.page-quotation-management .qm-wizard-form{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;}
body.page-quotation-management .qm-modal-head,body.page-quotation-management .qm-wizard-progress{flex:0 0 auto!important;}
body.page-quotation-management .qm-wizard-step{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;}
body.page-quotation-management .qm-wizard-step:not(.active){display:none!important;}
body.page-quotation-management .qm-fixed-actions{flex:0 0 auto!important;background:#fff!important;border-top:1px solid #dce7ee!important;padding:12px 20px!important;box-shadow:0 -4px 12px rgba(15,48,70,.045);z-index:4;}
body.page-quotation-management .qm-fixed-actions .qm-modal-actions,body.page-quotation-management .qm-fixed-actions .qm-wizard-footer{position:static!important;display:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;gap:9px!important;}
body.page-quotation-management .qm-wizard-form:has([data-qm-step="1"].active) .qm-fixed-actions .qm-modal-actions{display:flex!important;justify-content:space-between!important;}
body.page-quotation-management .qm-wizard-form:has([data-qm-step="2"].active) .qm-fixed-actions .qm-wizard-footer{display:flex!important;justify-content:space-between!important;}
body.page-quotation-management .qm-fixed-actions .btn{min-height:40px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:7px;white-space:nowrap;}

@media(max-width:760px){
 body.page-quotation-management .qm-page.qm-flow-page{gap:12px!important;min-width:0!important;}
 body.page-quotation-management .qm-reference-head{margin-bottom:4px!important;}
 body.page-quotation-management .qm-reference-head h1{font-size:21px!important;line-height:1.22!important;overflow-wrap:normal!important;}
 body.page-quotation-management .qm-reference-head p{font-size:12px!important;line-height:1.45!important;}
 body.page-quotation-management .qm-compact-section{padding:13px 12px!important;border:1px solid #dce6ed!important;border-radius:11px!important;margin:0!important;}
 body.page-quotation-management .qm-compact-quotes{border-top:3px solid #28709b!important;}
 body.page-quotation-management .qm-compact-materials{margin-bottom:12px!important;}
 body.page-quotation-management .qm-requirement-strip{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;padding-bottom:11px!important;margin-bottom:12px!important;}
 body.page-quotation-management .qm-requirement-strip strong{font-size:12px!important;overflow-wrap:anywhere!important;}
 body.page-quotation-management .qm-requirement-strip span{font-size:11px!important;line-height:1.4!important;}
 body.page-quotation-management .qm-requirement-state{justify-self:start!important;font-weight:700!important;color:#1d5678!important;}
 body.page-quotation-management .qm-compact-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;margin-bottom:10px!important;}
 body.page-quotation-management .qm-compact-heading h2{font-size:14px!important;line-height:1.3!important;min-width:0!important;}
 body.page-quotation-management .qm-compact-new{min-height:36px!important;padding:8px 10px!important;font-size:11px!important;white-space:nowrap!important;}
 body.page-quotation-management .qm-quote-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;overflow:visible!important;}
 body.page-quotation-management .qm-quote-tabs button{min-width:0!important;padding:8px 3px!important;text-align:center!important;font-size:10px!important;white-space:nowrap!important;}
 body.page-quotation-management .qm-empty-quotes{padding:15px 7px!important;text-align:center!important;line-height:1.45!important;}
 body.page-quotation-management .qm-material-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto 16px!important;gap:8px!important;align-items:center!important;padding:10px 2px!important;}
 body.page-quotation-management .qm-material-name,body.page-quotation-management .qm-material-amount,body.page-quotation-management .qm-material-view{grid-row:1!important;grid-column:auto!important;min-width:0!important;}
 body.page-quotation-management .qm-material-name strong{font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important;}
 body.page-quotation-management .qm-material-amount strong{font-size:10px!important;white-space:nowrap!important;}
 body.page-quotation-management .qm-material-view{text-align:right!important;}
 body.page-quotation-management .qm-modal{padding:8px!important;align-items:center!important;}
 body.page-quotation-management .qm-modal-panel{width:100%!important;max-width:560px!important;margin:0!important;max-height:calc(100dvh - 16px)!important;border-radius:12px!important;}
 body.page-quotation-management .qm-modal-head{padding:12px 14px 10px!important;min-height:0!important;}
 body.page-quotation-management .qm-modal-head h2{font-size:17px!important;}
 body.page-quotation-management .qm-wizard-progress{padding:10px 8px!important;gap:7px!important;}
 body.page-quotation-management .qm-wizard-progress>i{width:20px!important;}
 body.page-quotation-management .qm-wizard-progress>div>strong{display:block!important;font-size:9px!important;line-height:1.2!important;}
 body.page-quotation-management .qm-wizard-progress>div>span{width:23px!important;height:23px!important;flex:none!important;}
 body.page-quotation-management .qm-wizard-step{padding:13px 12px 16px!important;scrollbar-gutter:auto!important;}
 body.page-quotation-management .qm-fixed-actions{padding:10px 12px max(10px,env(safe-area-inset-bottom,0px))!important;}
 body.page-quotation-management .qm-fixed-actions .btn{min-height:42px!important;padding:9px 12px!important;font-size:12px!important;}
 body.page-quotation-management .qm-pick-toolbar{flex-wrap:wrap!important;}
 body.page-quotation-management .qm-pick-toolbar>span{max-width:100%!important;text-align:left!important;}
 body.page-quotation-management .qm-simple-provider,body.page-quotation-management .qm-provider-new-fields{min-width:0!important;}
 body.page-quotation-management .qm-totals{margin:12px 0!important;}
}
@media(max-width:360px){
 body.page-quotation-management .qm-compact-heading{grid-template-columns:1fr!important;}
 body.page-quotation-management .qm-compact-new{justify-self:start!important;}
 body.page-quotation-management .qm-wizard-progress>div>strong{font-size:8px!important;}
 body.page-quotation-management .qm-fixed-actions .btn{font-size:11px!important;}
}


/* Ajustes puntuales: cabecera de cotizaciones y acciones del asistente móvil. */
@media (max-width: 760px) {
  body.page-quotation-management .qm-compact-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 6px !important;
  }
  body.page-quotation-management .qm-compact-heading h2 {
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  body.page-quotation-management .qm-compact-new {
    width: auto !important;
    min-width: 0 !important;
    justify-self: end !important;
    padding: 8px 9px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  body.page-quotation-management .qm-fixed-actions .qm-modal-actions,
  body.page-quotation-management .qm-fixed-actions .qm-wizard-footer {
    width: 100% !important;
    display: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  body.page-quotation-management .qm-wizard-form:has([data-qm-step="1"].active) .qm-fixed-actions .qm-modal-actions,
  body.page-quotation-management .qm-wizard-form:has([data-qm-step="2"].active) .qm-fixed-actions .qm-wizard-footer {
    display: flex !important;
  }
  body.page-quotation-management .qm-fixed-actions .qm-wizard-footer > button {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    max-width: 65% !important;
  }
  body.page-quotation-management .qm-fixed-actions .qm-wizard-footer > button[type="submit"] {
    margin-left: auto !important;
  }
  body.page-quotation-management .qm-fixed-actions .btn {
    min-height: 42px !important;
    font-size: 11px !important;
    padding: 9px 10px !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 360px) {
  body.page-quotation-management .qm-compact-heading {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  body.page-quotation-management .qm-compact-new {
    justify-self: end !important;
  }
}

/* Avisos de validación en cotizaciones */
body.page-quotation-management .qm-yellow-warning { background:#fff8df; color:#805900; border:1px solid #efcf6a; border-radius:7px; padding:9px 11px; margin:6px 0 10px; font-size:12px; font-weight:600; line-height:1.4; }


/* Gestión de cotizaciones: tarjetas compactas; conservar el asistente local. */
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,auto) auto;gap:10px 14px;align-items:center;padding:10px 12px;min-width:0}
body.page-quotation-management .qm-quote-list-card[hidden]{display:none!important}
body.page-quotation-management .qm-quote-main{min-width:0}
body.page-quotation-management .qm-quote-main .qm-quote-topline{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
body.page-quotation-management .qm-quote-topline>strong{color:#174f70;font-size:10px}
body.page-quotation-management .qm-quote-main h3{margin:4px 0 3px;line-height:1.3;overflow-wrap:anywhere}
body.page-quotation-management .qm-quote-main .qm-quote-meta{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;margin:0;color:#748894;font-size:9.5px;line-height:1.35}
body.page-quotation-management .qm-quote-meta>span{display:inline-flex;align-items:center;gap:4px;min-width:0;overflow-wrap:anywhere}
body.page-quotation-management .qm-quote-meta i{color:#8095a2;font-size:9px}
body.page-quotation-management .qm-quote-total{min-width:0;overflow-wrap:anywhere}
body.page-quotation-management .qm-quote-actions{grid-column:auto;min-width:0;justify-content:flex-end;flex-wrap:wrap;gap:6px}
body.page-quotation-management .qm-quote-actions form{display:flex;margin:0}
body.page-quotation-management .qm-quote-items{display:flex;min-width:0;padding-top:8px}
body.page-quotation-management .qm-quote-items span{max-width:100%;overflow-wrap:anywhere}
body.page-quotation-management .qm-products-toggle{display:none}
body.page-quotation-management #qmActionConfirm .btn:focus-visible{outline:3px solid #28709b;outline-offset:3px}
@media(max-width:760px){
 body.page-quotation-management .qm-compact-quotes .qm-compact-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;align-items:center!important}
 body.page-quotation-management .qm-compact-quotes .qm-compact-heading h2{min-width:0!important;white-space:nowrap!important;font-size:13px!important}
 body.page-quotation-management .qm-compact-quotes .qm-compact-new{width:auto!important;min-width:0!important;justify-self:end!important;white-space:nowrap!important;font-size:10px!important;padding:8px 9px!important}
 body.page-quotation-management .qm-compact-quotes .qm-quote-list-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;padding:10px}
 body.page-quotation-management .qm-quote-main{grid-column:1/-1}
 body.page-quotation-management .qm-quote-total{grid-column:1;align-items:flex-start;text-align:left}
 body.page-quotation-management .qm-quote-actions{grid-column:2;justify-content:flex-end;gap:4px}
 body.page-quotation-management .qm-quote-actions .btn{max-width:100%;padding:6px 8px;white-space:normal}
 body.page-quotation-management .qm-products-toggle{grid-column:1/-1;display:inline-flex;align-items:center;gap:7px;min-width:0;padding:5px 0;border:0;background:transparent;color:#245a7c;font:inherit;font-size:11px;font-weight:700;line-height:1.3;text-align:left;cursor:pointer}
 body.page-quotation-management .qm-quote-items{display:none}
 body.page-quotation-management .qm-quote-list-card.is-products-open .qm-quote-items{display:flex}
}


/* Administración: una sola lista compacta; campos únicamente en confirmación. */
body.page-quotation-management .qm-decision-card{border:1px solid #dce7ee;border-radius:10px;padding:12px;background:#fff;min-width:0}
body.page-quotation-management .qm-decision-head{display:flex;align-items:start;justify-content:space-between;gap:10px}
body.page-quotation-management .qm-decision-head>div:first-child{min-width:0}
body.page-quotation-management .qm-decision-code{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#31566e;font-size:10px;font-weight:700}
body.page-quotation-management .qm-decision-head h3{margin:5px 0 0;font-size:13px;color:#17384e;line-height:1.35;overflow-wrap:anywhere}
body.page-quotation-management .qm-decision-total{display:grid;gap:4px;flex:0 0 auto;text-align:right;font-size:13px;color:#17384e}
body.page-quotation-management .qm-decision-total small{font-size:10px;color:#738796}
body.page-quotation-management .qm-decision-files{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
body.page-quotation-management .qm-decision-card form{margin:0}
body.page-quotation-management .qm-decision-select-all{display:flex;gap:7px;align-items:center;margin:10px 0 0;font-size:11px;color:#31566e}
body.page-quotation-management .qm-decision-name input,body.page-quotation-management .qm-decision-select-all input{flex:0 0 16px;width:16px;min-width:16px;max-width:16px;height:16px;margin:0}
body.page-quotation-management .qm-decision-products{margin-top:9px;border-top:1px solid #edf1f4}
body.page-quotation-management .qm-decision-product{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f4;min-width:0}
body.page-quotation-management .qm-decision-product-info{min-width:0;flex:1}
body.page-quotation-management .qm-decision-name{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.4}
body.page-quotation-management .qm-decision-name strong{min-width:0;overflow-wrap:anywhere}
body.page-quotation-management .qm-decision-meta{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:3px;font-size:11px;color:#607789}
body.page-quotation-management .qm-decision-status,body.page-quotation-management .qm-decision-reason{display:block;margin-top:4px;font-size:10px;line-height:1.4;color:#607789;overflow-wrap:anywhere}
body.page-quotation-management .qm-decision-actions{display:flex;gap:5px;flex-wrap:wrap;flex:0 0 auto}
body.page-quotation-management .qm-decision-footer{display:flex;justify-content:flex-end;margin-top:9px}
body.page-quotation-management .qm-decision-note{margin:7px 0 0;color:#87611d;font-size:11px;line-height:1.4}
body.page-quotation-management .qm-review-secondary{border:1px solid #dce7ee;border-radius:9px;background:#fff;padding:10px 12px}
body.page-quotation-management .qm-review-secondary>summary{cursor:pointer;color:#31566e;font-size:12px;font-weight:700}
body.page-quotation-management .qm-review-secondary>.qm-compact-materials{margin-top:10px!important}
body.page-quotation-management .qm-decision-dialog{box-sizing:border-box;width:min(460px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain}
body.page-quotation-management .qm-decision-modal-field{display:grid;gap:5px;text-align:left;margin-top:12px;min-width:0;font-size:12px;line-height:1.4;color:#31566e}
body.page-quotation-management .qm-decision-modal-field strong{overflow-wrap:anywhere}
body.page-quotation-management .qm-decision-modal-field small{font-size:11px;color:#607789}
body.page-quotation-management .qm-decision-modal-field input,body.page-quotation-management .qm-decision-modal-field textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;font-size:14px}
body.page-quotation-management .qm-decision-modal-note{margin-top:12px!important;font-size:12px!important;overflow-wrap:anywhere}
body.page-quotation-management #qmReviewConfirm .btn:focus-visible{outline:3px solid #28709b;outline-offset:3px}
@media(max-width:760px){
 body.page-quotation-management .qm-decision-card{padding:10px}
 body.page-quotation-management .qm-decision-product{align-items:stretch;flex-direction:column;gap:7px}
 body.page-quotation-management .qm-decision-actions{justify-content:flex-end}
 body.page-quotation-management .qm-decision-actions .btn{min-height:34px;padding:6px 9px;font-size:11px}
 body.page-quotation-management .qm-decision-head h3{font-size:12px}
 body.page-quotation-management .qm-decision-total{font-size:12px;max-width:45%;overflow-wrap:anywhere}
 body.page-quotation-management .qm-decision-dialog{padding:16px 14px}
}


/* Validaciones locales de la selección y del modal de Administración. */
body.page-quotation-management [data-review-selection-error][hidden],
body.page-quotation-management [data-review-error][hidden]{display:none!important}
body.page-quotation-management #qmReviewConfirm .qm-modal-validation{color:#c62828;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
body.page-quotation-management #qmReviewConfirm .qm-quantity-invalid{border:1px solid #c62828!important;background:#fff8f8;box-shadow:0 0 0 1px rgba(198,40,40,.12)}
body.page-quotation-management #qmReviewConfirm .qm-quantity-invalid:focus{outline:2px solid rgba(198,40,40,.25);outline-offset:1px}
body.page-quotation-management #qmReviewConfirm [data-review-accept]:disabled{opacity:.5;cursor:not-allowed}


/* Cantidad compacta: misma fila para uno o varios productos, solo en este modal. */
body.page-quotation-management #qmReviewConfirm .qm-quantity-row{grid-template-columns:minmax(0,1fr) 106px;align-items:start;gap:6px 10px}
body.page-quotation-management #qmReviewConfirm .qm-quantity-product{display:grid;gap:3px;min-width:0}
body.page-quotation-management #qmReviewConfirm .qm-quantity-control{display:grid;gap:4px;width:106px;min-width:0;font-size:11px;color:#31566e}
body.page-quotation-management #qmReviewConfirm .qm-quantity-control input{box-sizing:border-box;width:106px;max-width:100%;min-width:0}
body.page-quotation-management #qmReviewConfirm .qm-quantity-row>[data-review-error]{grid-column:1/-1}


/* Cinco etapas: solo Logística, sin alterar estilos de los otros roles. */
body.page-quotation-management .lg-management{gap:10px;min-width:0}
body.page-quotation-management .lg-stage{padding:0;min-width:0;overflow:hidden;border:1px solid #dce7ee;border-radius:10px}
body.page-quotation-management .lg-stage>summary{display:flex;gap:10px;align-items:center;padding:12px 14px;cursor:pointer;list-style:none;background:#f7fafc}
body.page-quotation-management .lg-stage>summary::-webkit-details-marker{display:none}
body.page-quotation-management .lg-stage-number{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#e4eef5;color:#174b69;font-weight:800;font-size:12px}
body.page-quotation-management .lg-stage-heading{display:grid;gap:3px;min-width:0;flex:1}
body.page-quotation-management .lg-stage-heading strong{font-size:13px;color:#173c56;line-height:1.4}
body.page-quotation-management .lg-stage-heading small{font-size:11px;color:#6b8190;line-height:1.4;overflow-wrap:anywhere}
body.page-quotation-management .lg-stage-state{font-size:10px;color:#527087;max-width:120px;text-align:right}
body.page-quotation-management .lg-stage.is-locked>summary{cursor:not-allowed;opacity:.7}
body.page-quotation-management .lg-stage-body{padding:12px;min-width:0}
body.page-quotation-management .lg-stage-body>.qm-section-body{padding:0}
body.page-quotation-management .lg-stage .qm-compact-section{box-shadow:none;margin:0 0 10px!important;border:0!important;padding:0!important}
body.page-quotation-management .lg-stage .qm-admin-note{padding:8px 10px;margin-bottom:10px}
body.page-quotation-management .lg-stage .qm-admin-note span{font-size:11px}
body.page-quotation-management .lg-quote-review{grid-column:1/-1;display:grid;gap:4px;color:#527087;font-size:11px;overflow-wrap:anywhere}
body.page-quotation-management .lg-note{font-size:12px;color:#61798a;line-height:1.5;margin:6px 0 10px;overflow-wrap:anywhere}
body.page-quotation-management .lg-metrics{display:flex;flex-wrap:wrap;gap:8px 15px;margin:10px 0;font-size:11px;color:#527087}
body.page-quotation-management .lg-regularization{padding:10px 0;border-top:1px solid #e1eaf0;min-width:0}
body.page-quotation-management .lg-regularization form{display:grid;gap:10px;margin-top:8px}
body.page-quotation-management .lg-regularization label,body.page-quotation-management .lg-payment-price{display:grid;gap:5px;font-size:12px;min-width:0}
body.page-quotation-management .lg-file-list{display:grid;gap:8px;margin-top:8px;font-size:12px;overflow-wrap:anywhere}
body.page-quotation-management .lg-reg-table{table-layout:fixed;width:100%}
body.page-quotation-management .lg-reg-table input{box-sizing:border-box;width:100%;min-width:0}
body.page-quotation-management .lg-stage input,body.page-quotation-management .lg-stage select,body.page-quotation-management .lg-stage textarea{max-width:100%;box-sizing:border-box}
@media(max-width:760px){
 body.page-quotation-management .lg-stage>summary{padding:10px;gap:8px;flex-wrap:wrap}
 body.page-quotation-management .lg-stage-state{flex-basis:100%;max-width:none;text-align:left;padding-left:34px}
 body.page-quotation-management .lg-stage-body{padding:10px}
 body.page-quotation-management .lg-stage .qm-card-grid,body.page-quotation-management .lg-stage .qm-purchase-grid{grid-template-columns:minmax(0,1fr)}
 body.page-quotation-management .lg-stage .qm-buy-summary>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.page-quotation-management .lg-stage .qm-card-head,body.page-quotation-management .lg-stage .qm-history-row{flex-wrap:wrap;gap:8px}
 body.page-quotation-management .lg-stage .qm-direct-pay form,body.page-quotation-management .lg-stage .qm-form-grid{grid-template-columns:minmax(0,1fr)}
 body.page-quotation-management .lg-stage .qm-buy-items>div,body.page-quotation-management .lg-stage .qm-dispatch-row{grid-template-columns:minmax(0,1fr) 86px;gap:8px;min-width:0}
 body.page-quotation-management .lg-stage .qm-buy-items input,body.page-quotation-management .lg-stage .qm-dispatch-row input{min-width:0;width:100%}
 body.page-quotation-management .lg-stage .btn{white-space:normal;max-width:100%;overflow-wrap:anywhere}
 body.page-quotation-management .lg-stage .qm-payment-card,body.page-quotation-management .lg-stage .qm-purchase-card{min-width:0;padding:10px}
 body.page-quotation-management .lg-reg-table thead{display:none}
 body.page-quotation-management .lg-reg-table tbody{display:block}
 body.page-quotation-management .lg-reg-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px 0;border-bottom:1px solid #e1eaf0}
 body.page-quotation-management .lg-reg-table td{display:block;min-width:0;padding:0;border:0}
 body.page-quotation-management .lg-reg-table td:nth-child(2){grid-column:1/-1}
 body.page-quotation-management .lg-reg-table td:nth-child(3)::before{content:'Cantidad';font-size:10px}
 body.page-quotation-management .lg-reg-table td:nth-child(4)::before{content:'Precio unitario';font-size:10px}
 body.page-quotation-management .lg-reg-table td:nth-child(5)::before{content:'Total';font-size:10px}
}

body.page-quotation-management .lg-stage>summary{position:relative;padding-right:32px}
body.page-quotation-management .lg-stage>summary::after{content:'›';position:absolute;right:12px;top:11px;color:#527087;font-size:21px;line-height:1;transition:transform .15s}
body.page-quotation-management .lg-stage[open]>summary::after{transform:rotate(90deg)}
body.page-quotation-management .lg-stage .qm-guide-options{display:flex;flex-wrap:wrap;gap:8px 15px}
body.page-quotation-management .lg-stage .qm-guide-options label{display:flex;align-items:center;gap:7px;font-size:12px;min-width:0}
body.page-quotation-management .lg-stage input[type="radio"]{width:16px;min-width:16px;max-width:16px;height:16px;flex:0 0 16px;margin:0}
body.page-quotation-management .lg-stage .qm-buy-items input,body.page-quotation-management .lg-stage .qm-dispatch-row input{font-size:12px;padding:6px}

body.page-quotation-management .lg-management [data-lg-bank-hint][hidden]{display:none!important}

body.page-quotation-management .lg-stage .qm-history-row>div:first-child{display:block;min-width:0}
body.page-quotation-management .lg-stage .qm-history-row strong,body.page-quotation-management .lg-stage .qm-history-row span,body.page-quotation-management .lg-stage .qm-history-row small{overflow-wrap:anywhere}

/* Resultados de cotización: solo gestión integrada de Logística. */
body.page-quotation-management .lg-management .qm-quote-badge.rejected{background:#fce8e8;color:#a82d36}
.lg-management .lg-quote-decision{grid-column:1/-1;margin:0;color:#526b79;font-size:11px;overflow-wrap:anywhere}
.lg-management .lg-quote-product{flex:1 1 250px;min-width:0;padding:7px 9px;background:#f5f8fa;border-radius:8px;font-size:11px;overflow-wrap:anywhere}
.lg-management .lg-quote-product strong{display:block;margin-bottom:3px;color:#294c62}
.lg-management .lg-quote-outcomes{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px;color:#406e9e}
.lg-management .lg-authorized{color:#26764b}.lg-management .lg-rejected{color:#a82d36}
.lg-management .lg-quote-decisions{flex-basis:100%;min-width:0;font-size:11px;overflow-wrap:anywhere}
.lg-management .lg-quote-reason{margin-top:4px}.lg-management .lg-quote-reason p,.lg-management .lg-quote-decisions p{margin:6px 0}
.lg-management .lg-quote-reason summary,.lg-management .lg-quote-decisions summary{cursor:pointer;color:#47647a}

body.page-quotation-management .lg-management .qm-quote-tabs{display:flex!important;flex-wrap:wrap;overflow:visible!important}
body.page-quotation-management .lg-management .qm-quote-tabs button{flex:0 1 auto;max-width:100%;padding:6px 8px!important;white-space:normal!important;overflow-wrap:anywhere}

/* Estado de cotización con autorización parcial: solo vista integrada de Logística. */
body.page-quotation-management .lg-management .qm-quote-badge.partial{background:#fff1d6;color:#925c08}

/* Etiquetas de cotizaciones: Logística y Administración. Solo presentación. */
body.page-quotation-management .qm-quote-badge.draft,
body.page-quotation-management .qm-quote-badge.pending { background:#edf1f4; color:#5c6c78; }
body.page-quotation-management .qm-quote-badge.done { background:#e5f5eb; color:#26764b; }
body.page-quotation-management .qm-quote-badge.partial { background:#fff1d6; color:#925c08; }
body.page-quotation-management .qm-quote-badge.rejected { background:#fce8e8; color:#a82d36; }

/* LANR: Gestión de pago compacta, únicamente en la etapa integrada de Logística. */
body.page-quotation-management .lg-stage .lg-payment-grid{gap:10px;align-items:stretch}
body.page-quotation-management .lg-stage .lg-payment-compact{padding:12px;border:1px solid #dce7ee;border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-head{gap:8px;align-items:flex-start}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-head strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-head>div>span{font-size:11px;margin-top:2px}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-mini-items{gap:4px;margin:0}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-mini-items span{padding:6px 9px;font-size:11px;line-height:1.35;border-radius:6px;overflow-wrap:anywhere}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-total{padding-top:8px;font-size:12px;margin-top:0}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-total strong{font-size:15px}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-payment-choice{margin-top:auto;padding-top:9px;gap:6px}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-payment-choice label{font-size:11px}
body.page-quotation-management .lg-stage .lg-payment-compact .lg-payment-select{display:block;width:100%;height:36px;min-height:36px;padding:6px 34px 6px 10px;border:1px solid #ccdbe5;border-radius:7px;background-color:#fff;color:#173b56;font-size:12px;line-height:1.3;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23516d80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:15px}
body.page-quotation-management .lg-stage .lg-payment-compact .lg-payment-select:focus{outline:2px solid #a9c8dc;outline-offset:1px}
body.page-quotation-management .lg-stage .lg-payment-compact .lg-payment-submit{min-height:34px;padding:7px 10px;border-radius:7px;font-size:11px;width:100%}
body.page-quotation-management .lg-stage .lg-payment-compact .qm-payment-rule{font-size:11px}
@media(max-width:760px){body.page-quotation-management .lg-stage .lg-payment-compact{padding:10px;gap:7px}body.page-quotation-management .lg-stage .lg-payment-grid{grid-template-columns:minmax(0,1fr)}body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-head{flex-wrap:wrap}}
@media(max-width:360px){body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-total{gap:8px}body.page-quotation-management .lg-stage .lg-payment-compact .qm-card-total strong{font-size:14px}}

/* Numeración de tarjetas: cotizaciones de Logística/Administración y pagos. */
body.page-quotation-management .lg-card-number {
  display:inline-flex; align-items:center; justify-content:center;
  width:max-content; min-height:22px; padding:3px 9px;
  margin-bottom:7px; border:1px solid #d7e2e9; border-radius:7px;
  background:#eef3f6; color:#31566e; font-size:11px; font-weight:700;
  line-height:1.2; white-space:nowrap;
}
@media (max-width: 480px) {
  body.page-quotation-management .lg-card-number {font-size:10px;min-height:21px;margin-bottom:6px;}
}

/* LANR: numeración discreta integrada al encabezado, sin ocupar una fila. */
body.page-quotation-management .lg-card-number {
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  min-width:20px;width:auto;min-height:20px;padding:2px 6px;margin:0;
  border:1px solid #dce5eb;border-radius:6px;background:#f0f3f5;
  color:#526477;font-size:10px;font-weight:600;line-height:1.2;white-space:nowrap;
}
body.page-quotation-management .qm-quote-topline,
body.page-quotation-management .qm-decision-code,
body.page-quotation-management .lg-payment-title {
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;
}
body.page-quotation-management .lg-payment-title strong {min-width:0;overflow-wrap:anywhere;}
@media(max-width:480px){
 body.page-quotation-management .lg-card-number{min-width:19px;min-height:19px;padding:2px 5px;font-size:10px;margin:0;}
}

/* Cotización agotada por otra autorización: información, no rechazo. */
body.page-quotation-management .qm-quote-badge.covered {background:#eef2f5;color:#516575;}
body.page-quotation-management .lg-covered {color:#526a79;font-weight:650;}
body.page-quotation-management .qm-decision-product:has(.qm-decision-status) {min-width:0;}
@media(max-width:600px){body.page-quotation-management .lg-covered{display:inline-block;max-width:100%;overflow-wrap:anywhere;}}


/* LANR - materiales y comparativo, escritorio y móvil */
.qm-material-table{border:1px solid var(--border-color,#e2e8f0);border-radius:10px;overflow:hidden}
.qm-material-table-head,.qm-material-table-row{display:grid;grid-template-columns:minmax(180px,2.2fr) minmax(80px,.75fr) minmax(75px,.7fr) minmax(75px,.7fr) minmax(180px,1.6fr);align-items:center;gap:10px;padding:10px 12px}
.qm-material-table-head{font-size:12px;font-weight:700;background:#f3f6fa;color:#475569}
.qm-material-table-row{font-size:13px;border-top:1px solid #e8edf2}
.qm-material-table-row strong{overflow-wrap:anywhere}
.qm-material-cot-refs{display:flex;flex-wrap:wrap;gap:5px}
.qm-material-cot-refs a{font-size:11px;text-decoration:none;padding:3px 6px;border-radius:5px;background:#eff5fc;color:#215589}
.qm-compare-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.qm-compare-toolbar small{color:#64748b}
.qm-compare-overlay{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:14px}.qm-compare-overlay.hidden{display:none}
.qm-compare-backdrop{position:absolute;inset:0;background:#0f172a99}
.qm-compare-dialog{position:relative;width:min(760px,100%);max-height:90dvh;display:flex;flex-direction:column;background:white;border-radius:12px;overflow:hidden;box-shadow:0 18px 55px #0f172a35}
.qm-compare-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #e2e8f0}
.qm-compare-dialog header h2{margin:2px 0;font-size:19px}.qm-compare-dialog header small{font-size:10px;color:#64748b}
.qm-compare-body{padding:16px;overflow:auto}.qm-compare-body>label{display:block;font-weight:600;margin-bottom:6px}.qm-compare-body>select{width:100%;margin-bottom:12px}
.qm-compare-offer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e2e8f0}
.qm-compare-offer>div{display:flex;flex-direction:column;gap:4px}.qm-compare-offer small{color:#64748b}.qm-compare-offer-price{text-align:right;flex-shrink:0}.qm-compare-offer-price a{font-size:12px}
@media(max-width:700px){.qm-material-table-head{display:none}.qm-material-table-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.qm-material-table-row>strong{grid-column:1/-1}.qm-material-table-row>span[data-label]::before{content:attr(data-label);display:block;font-size:10px;color:#64748b}.qm-material-cot-refs{grid-column:1/-1}.qm-compare-offer{align-items:flex-start}.qm-compare-offer strong{font-size:12px}.qm-compare-dialog{max-height:94dvh}.qm-compare-body{padding:12px}}

/* Acción única del requerimiento en la cabecera de Gestión de Logística. */
body.page-quotation-management .qm-reference-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.page-quotation-management .qm-reference-head > div{min-width:0;flex:1 1 360px}
body.page-quotation-management .qm-header-requirement-btn{flex:0 0 auto;white-space:nowrap;display:inline-flex;align-items:center;gap:8px}
@media(max-width:640px){body.page-quotation-management .qm-reference-head{align-items:stretch}body.page-quotation-management .qm-reference-head > div{flex-basis:100%}body.page-quotation-management .qm-header-requirement-btn{width:100%;justify-content:center;white-space:normal}}

/* LANR: compact quotation management and consistent comparison dialog */
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card{grid-template-columns:minmax(0,1fr) minmax(115px,auto) auto;gap:8px 14px;padding:12px 14px;align-items:center}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-main h3{font-size:12px;margin:5px 0 2px}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-meta{font-size:10px;margin:0}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-total{grid-column:2;grid-row:1;align-items:flex-end;text-align:right}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-actions{grid-column:3;grid-row:1}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-products-toggle{grid-column:1/-1;justify-self:start;padding:3px 0;color:#215675;font-size:11px}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-items{grid-column:1/-1;border-top:1px solid #e5ebf0;padding-top:9px}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card:not(.is-products-open) .qm-quote-items{display:none!important}
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-items .lg-quote-product{padding:9px 11px;border-radius:7px}
body.page-quotation-management .qm-compare-overlay{z-index:2500}
body.page-quotation-management .qm-compare-dialog{width:min(720px,calc(100vw - 24px));max-height:min(85vh,800px);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 18px 55px #0b243b3d;display:flex;flex-direction:column}
body.page-quotation-management .qm-compare-dialog>header{padding:17px 20px 14px;border-bottom:1px solid #e5ebf0;display:flex;justify-content:space-between;align-items:center;gap:12px}
body.page-quotation-management .qm-compare-dialog>header h2{font-size:19px;margin:4px 0 0;color:#123b57}
body.page-quotation-management .qm-compare-dialog>header small{font-size:10px;letter-spacing:.06em;color:#647f92}
body.page-quotation-management .qm-compare-body{padding:16px 20px 20px;overflow-y:auto}
body.page-quotation-management .qm-compare-body>label{display:block;font-weight:650;font-size:12px;margin-bottom:7px;color:#294e68}
body.page-quotation-management .qm-compare-body>select{width:100%;max-width:none;border:1px solid #cddae4;border-radius:8px;padding:10px 12px;background:#fff;margin-bottom:14px}
body.page-quotation-management .qm-compare-offer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid #e5ebf0;padding:12px 3px}
body.page-quotation-management .qm-compare-offer:last-child{border-bottom:0}
body.page-quotation-management .qm-compare-supplier{min-width:0}
body.page-quotation-management .qm-compare-supplier strong{display:block;font-size:12px;color:#183e57;overflow-wrap:anywhere}
body.page-quotation-management .qm-compare-supplier small{display:block;margin-top:4px;font-size:10px;color:#748697}
body.page-quotation-management .qm-compare-offer-price{text-align:right;display:flex;flex-direction:column;gap:3px;align-items:flex-end}
body.page-quotation-management .qm-compare-offer-price strong{font-size:14px;color:#123b57}
body.page-quotation-management .qm-compare-offer-price small{font-size:10px;color:#778b9a}
body.page-quotation-management .qm-compare-offer-price a{font-size:11px;color:#17618d}
body.qm-dialog-open{overflow:hidden}
@media(max-width:760px){
 body.page-quotation-management .qm-compact-quotes .qm-quote-list-card{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}
 body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-main{grid-column:1/-1}
 body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-total{grid-column:1;grid-row:auto;align-items:flex-start;text-align:left}
 body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-actions{grid-column:2;grid-row:auto;justify-content:flex-end}
 body.page-quotation-management .qm-compare-dialog>header{padding:14px}
 body.page-quotation-management .qm-compare-body{padding:14px}
 body.page-quotation-management .qm-compare-offer{grid-template-columns:1fr auto;gap:8px}
}

/* LANR · Comparativo de cotizaciones: composición móvil sin superposiciones */
body.page-quotation-management .qm-compare-dialog{box-sizing:border-box;min-width:0}
body.page-quotation-management .qm-compare-dialog *{box-sizing:border-box}
body.page-quotation-management .qm-compare-dialog>header{flex:0 0 auto;min-width:0}
body.page-quotation-management .qm-compare-dialog>header>div{min-width:0;flex:1 1 auto}
body.page-quotation-management .qm-compare-dialog>header small{display:block;line-height:1.35;white-space:normal}
body.page-quotation-management .qm-compare-dialog>header h2{line-height:1.25;overflow-wrap:break-word}
body.page-quotation-management .qm-compare-dialog>header button{flex:0 0 36px;align-self:flex-start}
body.page-quotation-management .qm-compare-body{min-width:0;overscroll-behavior:contain}
body.page-quotation-management .qm-compare-body>label{clear:both;position:static;float:none;width:auto;height:auto;line-height:1.5}
body.page-quotation-management .qm-compare-body>select{display:block;position:static;float:none;box-sizing:border-box;min-width:0;width:100%;max-width:100%;height:auto;min-height:44px;font:inherit;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;appearance:auto;-webkit-appearance:menulist}
body.page-quotation-management .qm-compare-item{min-width:0}
body.page-quotation-management .qm-compare-item[hidden]{display:none!important}
@media(max-width:600px){
 body.page-quotation-management .qm-compare-overlay{padding:12px;align-items:center;justify-items:center}
 body.page-quotation-management .qm-compare-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 24px);border-radius:12px}
 body.page-quotation-management .qm-compare-dialog>header{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:start;gap:10px;padding:15px 14px 12px}
 body.page-quotation-management .qm-compare-dialog>header>div{grid-column:1;grid-row:1;display:block;width:100%}
 body.page-quotation-management .qm-compare-dialog>header small{font-size:9px;letter-spacing:.04em;margin:0 0 5px;max-width:none}
 body.page-quotation-management .qm-compare-dialog>header h2{font-size:17px;margin:0;max-width:none}
 body.page-quotation-management .qm-compare-dialog>header button{grid-column:2;grid-row:1;margin:0;width:36px;height:36px}
 body.page-quotation-management .qm-compare-body{padding:14px;overflow-x:hidden}
 body.page-quotation-management .qm-compare-body>label{font-size:12px;margin:0 0 6px}
 body.page-quotation-management .qm-compare-body>select{margin:0 0 12px;padding:10px 8px;font-size:13px}
 body.page-quotation-management .qm-compare-offer{grid-template-columns:minmax(0,1fr) minmax(92px,auto);gap:8px;padding:13px 0}
 body.page-quotation-management .qm-compare-supplier{min-width:0}
 body.page-quotation-management .qm-compare-supplier strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
 body.page-quotation-management .qm-compare-supplier small{font-size:10px;line-height:1.4}
 body.page-quotation-management .qm-compare-offer-price{min-width:0;max-width:118px}
 body.page-quotation-management .qm-compare-offer-price strong{font-size:12px;overflow-wrap:anywhere}
 body.page-quotation-management .qm-compare-offer-price small{font-size:9px}
}


/* LANR: selector de materiales del comparativo, escritorio y móvil */
body.page-quotation-management .qm-compare-field-label{display:block;margin:0 0 7px;font-size:12px;font-weight:700;color:#294e68}
body.page-quotation-management .qm-material-picker{position:relative;margin-bottom:15px;min-width:0}
body.page-quotation-management .qm-material-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:11px 13px;background:#fff;border:1px solid #c7d5e1;border-radius:9px;color:#173b55;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer;box-shadow:0 1px 3px rgba(18,55,79,.05)}
body.page-quotation-management .qm-material-picker-trigger:hover{border-color:#6d94b0;background:#f9fcff}
body.page-quotation-management .qm-material-picker-trigger:focus-visible{outline:3px solid #a9cfe8;outline-offset:2px}
body.page-quotation-management .qm-material-picker-trigger span{min-width:0;overflow-wrap:anywhere;line-height:1.35}
body.page-quotation-management .qm-material-picker-trigger i{flex:0 0 auto;font-size:12px;color:#52758d;transition:transform .15s}
body.page-quotation-management .qm-material-picker.is-open .qm-material-picker-trigger i{transform:rotate(180deg)}
body.page-quotation-management .qm-material-picker-options{position:absolute;z-index:5;left:0;right:0;top:calc(100% + 5px);max-height:min(265px,42dvh);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #cbd9e5;border-radius:10px;box-shadow:0 12px 30px rgba(13,45,68,.18);padding:5px}
body.page-quotation-management .qm-material-picker-options[hidden]{display:none!important}
body.page-quotation-management .qm-material-picker-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 11px;border:0;border-radius:7px;background:transparent;color:#24445b;text-align:left;font:inherit;font-size:12px;line-height:1.4;cursor:pointer}
body.page-quotation-management .qm-material-picker-option:hover,body.page-quotation-management .qm-material-picker-option:focus-visible{background:#edf5fa;outline:none}
body.page-quotation-management .qm-material-picker-option.is-selected{background:#e6f2f9;color:#0d4a71;font-weight:700}
body.page-quotation-management .qm-material-picker-option i{visibility:hidden;color:#1472a6}
body.page-quotation-management .qm-material-picker-option.is-selected i{visibility:visible}
@media(max-width:600px){
 body.page-quotation-management .qm-material-picker-trigger{min-height:46px;padding:10px 11px;font-size:12px}
 body.page-quotation-management .qm-material-picker-options{max-height:min(225px,38dvh)}
 body.page-quotation-management .qm-material-picker-option{min-height:40px;padding:10px;font-size:12px}
}

/* LANR: resumen de productos en una línea por ítem dentro de cada cotización. */
body.page-quotation-management .qm-compact-quotes .qm-quote-list-card .qm-quote-main{min-width:0}
body.page-quotation-management .qm-quote-product-lines{display:flex;flex-direction:column;gap:3px;margin-top:6px;min-width:0}
body.page-quotation-management .qm-quote-product-line{display:flex;align-items:baseline;flex-wrap:nowrap;gap:6px;min-width:0;color:#38566c;font-size:11px;line-height:1.4}
body.page-quotation-management .qm-quote-product-name{min-width:0;overflow-wrap:anywhere;color:#1a405b;font-weight:600}
body.page-quotation-management .qm-quote-product-quantity,body.page-quotation-management .qm-quote-product-price{white-space:nowrap;flex-shrink:0}
body.page-quotation-management .qm-quote-product-quantity::before,body.page-quotation-management .qm-quote-product-price::before{content:'·';margin-right:6px;color:#9aaebc}
@media(max-width:760px){body.page-quotation-management .qm-quote-product-line{flex-wrap:wrap;gap:2px 5px;font-size:10.5px}body.page-quotation-management .qm-quote-product-name{flex-basis:auto}body.page-quotation-management .qm-quote-product-quantity::before,body.page-quotation-management .qm-quote-product-price::before{margin-right:5px}}

/* LANR: acciones de cotización y modal de consulta adaptable */
body.page-quotation-management .qm-compact-quotes .qm-products-toggle{display:none!important}
body.page-quotation-management .qm-compact-quotes .qm-quote-items{display:none!important}
body.page-quotation-management .qm-compact-quotes .qm-quote-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:6px}
body.page-quotation-management .qm-compact-quotes .qm-icon-action{width:34px;height:34px;min-width:34px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6e2ea;border-radius:8px;background:#fff;color:#173e5a;cursor:pointer}
body.page-quotation-management .qm-compact-quotes .qm-icon-action i{font-size:13px}
body.page-quotation-management .qm-compact-quotes .qm-icon-action:focus-visible{outline:2px solid #2a7db1;outline-offset:2px}
body.page-quotation-management .qm-compact-quotes .qm-icon-action:disabled{opacity:.35;cursor:not-allowed}
body.page-quotation-management .qm-compact-quotes .qm-delete-btn:not(:disabled){color:#ad3945}
body.page-quotation-management .qm-quote-detail-overlay[hidden]{display:none!important}
body.page-quotation-management .qm-quote-detail-overlay{position:fixed;inset:0;z-index:3500;display:flex;align-items:center;justify-content:center;padding:16px}
body.page-quotation-management .qm-quote-detail-shade{position:absolute;inset:0;background:rgba(11,29,47,.55)}
body.page-quotation-management .qm-quote-detail-dialog{position:relative;width:min(640px,100%);max-height:min(85dvh,780px);display:flex;flex-direction:column;overflow:hidden;border-radius:13px;background:#fff;box-shadow:0 18px 55px #102b4540;outline:none}
body.page-quotation-management .qm-quote-detail-dialog>header{padding:17px 20px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e2eaf0}
body.page-quotation-management .qm-quote-detail-dialog>header small{font-size:10px;letter-spacing:.07em;color:#6b8293}
body.page-quotation-management .qm-quote-detail-dialog h2{margin:3px 0;font-size:19px;color:#133d5a}
body.page-quotation-management .qm-quote-detail-dialog header p{margin:0;font-size:12px;color:#4d6679;overflow-wrap:anywhere}
body.page-quotation-management .qm-quote-detail-close{flex-shrink:0;width:34px;height:34px;border:0;border-radius:8px;background:#f1f5f8;color:#315671;cursor:pointer}
body.page-quotation-management .qm-quote-detail-content{overflow:auto;padding:16px 20px 20px}
body.page-quotation-management .qm-quote-detail-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:12px;border-radius:8px;background:#f3f7fa;color:#173f5a;font-size:12px}
body.page-quotation-management .qm-quote-detail-summary strong{font-size:15px}
body.page-quotation-management #qmQuoteDetailItems{display:grid;gap:9px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-product{background:#f5f8fa;border:1px solid #e7edf1;padding:11px;border-radius:8px;overflow-wrap:anywhere}
body.page-quotation-management #qmQuoteDetailFiles{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
body.qm-quote-detail-open{overflow:hidden}
@media(max-width:640px){
 body.page-quotation-management .qm-quote-detail-overlay{padding:9px}
 body.page-quotation-management .qm-quote-detail-dialog{width:100%;max-height:calc(100dvh - 18px);border-radius:11px}
 body.page-quotation-management .qm-quote-detail-dialog>header{padding:13px 14px}
 body.page-quotation-management .qm-quote-detail-content{padding:12px 14px 16px}
 body.page-quotation-management .qm-compact-quotes .qm-quote-actions{gap:5px}
 body.page-quotation-management .qm-compact-quotes .qm-icon-action{width:32px;height:32px;min-width:32px}
}

/* LANR · Detalle de cotización: diseño aislado de estilos globales y adaptable */
body.page-quotation-management .qm-quote-detail-overlay{box-sizing:border-box;padding:16px;overflow:hidden}
body.page-quotation-management .qm-quote-detail-dialog,
body.page-quotation-management .qm-quote-detail-dialog *{box-sizing:border-box;min-width:0}
body.page-quotation-management .qm-quote-detail-dialog{width:min(700px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff}
body.page-quotation-management .qm-detail-header{display:grid!important;grid-template-columns:minmax(0,1fr) 36px;align-items:start;gap:12px;padding:18px 20px 15px;border-bottom:1px solid #e1e9f0;flex:0 0 auto}
body.page-quotation-management .qm-detail-heading{width:auto!important;max-width:100%;display:block!important;overflow-wrap:anywhere}
body.page-quotation-management .qm-detail-eyebrow{display:block;font-size:10px;letter-spacing:.07em;color:#647e92;font-weight:600}
body.page-quotation-management .qm-detail-heading h2{display:block;margin:5px 0 3px!important;font-size:21px!important;line-height:1.2!important;color:#123c5b;overflow-wrap:anywhere}
body.page-quotation-management .qm-detail-heading p{display:block;margin:0!important;font-size:13px!important;line-height:1.4!important;color:#4b667b;overflow-wrap:anywhere}
body.page-quotation-management .qm-quote-detail-close{position:static!important;width:36px!important;height:36px!important;display:grid!important;place-items:center;justify-self:end;flex:none;padding:0!important}
body.page-quotation-management .qm-quote-detail-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:17px 20px 18px!important}
body.page-quotation-management .qm-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
body.page-quotation-management .qm-detail-facts>div{display:flex;flex-direction:column;gap:4px;padding:11px 12px;background:#f3f7fa;border:1px solid #e6edf3;border-radius:9px}
body.page-quotation-management .qm-detail-facts span{font-size:11px;color:#60788a}
body.page-quotation-management .qm-detail-facts strong{font-size:14px;color:#103c5b;line-height:1.4;overflow-wrap:anywhere}
body.page-quotation-management .qm-detail-facts>div[hidden]{display:none}
body.page-quotation-management .qm-detail-section{margin:0 0 18px}
body.page-quotation-management .qm-detail-section[hidden]{display:none}
body.page-quotation-management .qm-detail-section h3{font-size:14px!important;line-height:1.4!important;color:#123c5b;margin:0 0 10px!important;font-weight:700}
body.page-quotation-management #qmQuoteDetailItems{display:grid;grid-template-columns:1fr;gap:9px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-product{display:block;width:100%;padding:12px 14px;border:1px solid #e1e9ef;border-radius:9px;background:#f8fafc;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-product>strong{display:block;color:#143f5b;font-size:12px;margin-bottom:4px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-outcomes{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:5px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-reason{margin-top:7px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-decisions{padding:10px 12px;border:1px solid #e3eaf0;border-radius:8px;font-size:12px;overflow-wrap:anywhere}
body.page-quotation-management #qmQuoteDetailItems details summary{cursor:pointer;color:#245b80}
body.page-quotation-management #qmQuoteDetailFiles{display:flex;flex-wrap:wrap;gap:8px;margin:0}
body.page-quotation-management #qmQuoteDetailFiles a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.page-quotation-management .qm-detail-footer{display:flex;justify-content:flex-end;padding:10px 20px;border-top:1px solid #e1e9f0;background:#fff;flex:0 0 auto}
@media(max-width:640px){
 body.page-quotation-management .qm-quote-detail-overlay{padding:10px}
 body.page-quotation-management .qm-quote-detail-dialog{width:100%;max-height:calc(100dvh - 20px);border-radius:12px}
 body.page-quotation-management .qm-detail-header{grid-template-columns:minmax(0,1fr) 36px;gap:8px;padding:14px 13px 12px}
 body.page-quotation-management .qm-detail-heading h2{font-size:19px!important}
 body.page-quotation-management .qm-detail-heading p{font-size:12px!important}
 body.page-quotation-management .qm-quote-detail-content{padding:13px!important}
 body.page-quotation-management .qm-detail-facts{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:15px}
 body.page-quotation-management .qm-detail-facts>div{padding:9px}
 body.page-quotation-management .qm-detail-facts strong{font-size:12px}
 body.page-quotation-management #qmQuoteDetailItems .lg-quote-product{padding:10px;font-size:11px}
 body.page-quotation-management .qm-detail-footer{padding:9px 13px}
}
@media(max-width:360px){body.page-quotation-management .qm-detail-facts{grid-template-columns:1fr}body.page-quotation-management .qm-detail-heading h2{font-size:18px!important}}

/* LANR · Modal de cotización compacto, sin tarjetas para los datos generales */
body.page-quotation-management .qm-detail-header{padding:14px 18px 12px}
body.page-quotation-management .qm-detail-heading h2{font-size:19px!important;margin:2px 0!important}
body.page-quotation-management .qm-detail-heading p{font-size:12px!important}
body.page-quotation-management .qm-quote-detail-content{padding:13px 18px 16px!important}
body.page-quotation-management .qm-detail-facts{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;padding:0 0 12px;margin:0 0 13px;border-bottom:1px solid #e0e8ee}
body.page-quotation-management .qm-detail-facts>div{display:inline-flex;flex-direction:row;align-items:baseline;gap:5px;padding:0;margin:0;border:0;background:none;border-radius:0;max-width:100%}
body.page-quotation-management .qm-detail-facts span{font-size:11px;color:#60788a;white-space:nowrap}
body.page-quotation-management .qm-detail-facts span::after{content:':' }
body.page-quotation-management .qm-detail-facts strong{font-size:12px;line-height:1.35;color:#143e5c;font-weight:700;overflow-wrap:anywhere}
body.page-quotation-management .qm-detail-facts .qm-detail-fact-total strong{font-size:14px}
body.page-quotation-management .qm-detail-section{margin-bottom:14px}
body.page-quotation-management .qm-detail-section h3{font-size:13px!important;margin:0 0 7px!important}
body.page-quotation-management #qmQuoteDetailItems{gap:7px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-product{padding:9px 11px;background:#f7f9fb;border:1px solid #e1e9ef;border-radius:7px;line-height:1.5}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-product>strong{font-size:12px;margin-bottom:2px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-outcomes{margin-top:3px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-reason{margin-top:5px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-decisions{margin-top:5px;padding:9px 11px;background:#fff;border:1px solid #e0e8ef;border-radius:7px}
body.page-quotation-management #qmQuoteDetailItems .lg-quote-decisions summary{font-weight:600}
body.page-quotation-management .qm-decision-list{margin-top:7px;display:grid;gap:0}
body.page-quotation-management .qm-decision-entry{padding:7px 0;border-top:1px solid #e9eef3;line-height:1.5;overflow-wrap:anywhere}
body.page-quotation-management .qm-decision-main{color:#254a65}
body.page-quotation-management .qm-decision-meta{color:#708599;font-size:11px;margin-top:2px}
body.page-quotation-management .qm-detail-footer{padding:8px 18px}
@media(max-width:640px){
 body.page-quotation-management .qm-detail-header{padding:12px 12px 10px}
 body.page-quotation-management .qm-quote-detail-content{padding:11px 12px 14px!important}
 body.page-quotation-management .qm-detail-facts{display:flex;flex-wrap:wrap;gap:5px 12px;padding-bottom:10px;margin-bottom:11px}
 body.page-quotation-management .qm-detail-facts>div{display:inline-flex;padding:0;gap:4px}
 body.page-quotation-management .qm-detail-facts span{font-size:10px}
 body.page-quotation-management .qm-detail-facts strong{font-size:11px}
 body.page-quotation-management .qm-detail-facts .qm-detail-fact-total strong{font-size:12px}
 body.page-quotation-management .qm-detail-footer{padding:8px 12px}
 body.page-quotation-management #qmQuoteDetailItems .lg-quote-product{padding:9px}
}

/* Detalle de cotización: decisiones integradas por producto, laptop y móvil. */
body.page-quotation-management #qmQuoteDetailItems .qm-product-review{display:block;min-width:0;margin-bottom:8px;padding:10px 12px;background:#f7f9fb;border:1px solid #e1e9ef;border-radius:8px}
body.page-quotation-management #qmQuoteDetailItems .qm-product-review>strong{display:block;margin:0 0 2px;font-size:12px;line-height:1.45;color:#143f5b;overflow-wrap:anywhere}
body.page-quotation-management #qmQuoteDetailItems .qm-product-quoted{font-size:12px;color:#44596b;line-height:1.5}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision{margin-top:5px}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-row{display:flex;align-items:baseline;justify-content:space-between;gap:5px 14px;flex-wrap:wrap}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-status{font-size:12px;font-weight:650;line-height:1.45}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-status.is-authorized{color:#16804b}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-status.is-rejected{color:#bb3342}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-status.is-pending{display:block;margin-top:5px;color:#346b9b}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-status.is-cancelled{color:#805c2e}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-date{font-size:11px;color:#667e90;white-space:normal}
body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-reason{font-size:12px;line-height:1.5;margin-top:2px;color:#40576a;overflow-wrap:anywhere}
@media(max-width:600px){body.page-quotation-management #qmQuoteDetailItems .qm-product-review{padding:9px 10px}body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-row{align-items:flex-start;gap:2px 8px}body.page-quotation-management #qmQuoteDetailItems .qm-product-decision-date{font-size:10px}}

/* Nota general REQ: consistente en escritorio y móvil */
.lanr-note-section textarea { width: 100%; min-height: 84px; resize: vertical; box-sizing: border-box; }
.lanr-req-note { margin: 12px 0; padding: 10px 12px; border: 1px solid #d9e5ee; border-radius: 8px; background: #f5f9fc; color: #163a55; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) { .lanr-req-note { margin: 10px 0; padding: 10px; } }

/* LANR · Nota del detalle de cotización: mismo lenguaje visual que los productos. */
body.page-quotation-management .qm-detail-note{margin-top:12px;margin-bottom:14px}
body.page-quotation-management .qm-detail-note h3{font-size:13px!important;margin:0 0 7px!important;color:#123c5b;font-weight:700}
body.page-quotation-management .qm-detail-note-content{padding:10px 12px;border:1px solid #e1e9ef;border-radius:7px;background:#f7f9fb;color:#25465f;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
@media(max-width:640px){body.page-quotation-management .qm-detail-note{margin-top:10px}body.page-quotation-management .qm-detail-note-content{padding:9px;font-size:12px}}

/* LANR: nota opcional integrada al resumen, sin tarjeta ni encabezado independiente. */
body.page-quotation-management .qm-detail-facts > .qm-detail-fact-note {
  display:flex; flex-basis:100%; width:100%; align-items:baseline;
  gap:5px; min-width:0; padding:0; margin:1px 0 0;
  border:0; background:transparent; border-radius:0;
}
body.page-quotation-management .qm-detail-facts > .qm-detail-fact-note[hidden] { display:none!important; }
body.page-quotation-management .qm-detail-fact-note strong {
  font-size:12px; font-weight:500; line-height:1.5;
  white-space:pre-wrap; overflow-wrap:anywhere; min-width:0;
}
@media(max-width:640px){
 body.page-quotation-management .qm-detail-facts > .qm-detail-fact-note { gap:4px; align-items:flex-start; }
 body.page-quotation-management .qm-detail-fact-note strong { font-size:11px; }
}

/* Detalle de cotización: nota manual debajo del resumen; IGV separado al final. */
body.page-quotation-management .qm-detail-inline-note{margin:-3px 0 13px;padding:0 0 12px;border-bottom:1px solid #e0e8ee;color:#25465f;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
body.page-quotation-management .qm-detail-inline-note span:first-child{font-size:11px;color:#60788a}
body.page-quotation-management .qm-detail-inline-note[hidden],body.page-quotation-management .qm-detail-tax-info[hidden]{display:none!important}
body.page-quotation-management .qm-detail-tax-info{margin:12px 0 0;color:#60788a;font-size:11px;line-height:1.5}
@media(max-width:640px){body.page-quotation-management .qm-detail-inline-note{margin-bottom:11px;padding-bottom:10px;font-size:11px}}

/* LANR · Tabla compacta de productos en el detalle de cotización */
body.page-quotation-management #qmQuoteDetailItems{display:block}
body.page-quotation-management .qm-detail-table-wrap{width:100%;overflow-x:auto;border:1px solid #dce6ee;border-radius:8px}
body.page-quotation-management .qm-detail-products-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:12px;color:#193f59}
body.page-quotation-management .qm-detail-products-table th{background:#f1f5f9;color:#365a73;text-align:left;font-size:11px;font-weight:700;padding:10px 11px;white-space:nowrap}
body.page-quotation-management .qm-detail-products-table td{padding:10px 11px;border-top:1px solid #e4ebf1;vertical-align:top}
body.page-quotation-management .qm-detail-products-table th:not(:first-child),body.page-quotation-management .qm-detail-products-table td:not(:first-child){white-space:nowrap}
body.page-quotation-management .qm-detail-products-table th:last-child,body.page-quotation-management .qm-detail-products-table td:last-child{text-align:right}
body.page-quotation-management .qm-detail-product-name{font-weight:650;overflow-wrap:anywhere;min-width:110px}
body.page-quotation-management .qm-detail-decision-row td{background:#f8fafc;padding:7px 11px 9px!important;white-space:normal!important;text-align:left!important;font-size:11px}
body.page-quotation-management .qm-detail-decision-row .qm-product-decision{margin:3px 0}
body.page-quotation-management .qm-detail-price-summary{max-width:310px;margin:10px 0 0 auto;font-size:12px}
body.page-quotation-management .qm-detail-price-summary>div{display:flex;justify-content:space-between;gap:16px;padding:5px 2px}
body.page-quotation-management .qm-detail-price-summary span{color:#5e7588}
body.page-quotation-management .qm-detail-price-summary strong{color:#143e5c}
body.page-quotation-management .qm-detail-price-summary .qm-detail-price-grand{border-top:1px solid #dce6ee;margin-top:5px;padding-top:9px;font-weight:700}
body.page-quotation-management .qm-detail-price-summary .qm-detail-price-grand strong{font-size:15px}
@media(max-width:640px){
 body.page-quotation-management .qm-detail-products-table{font-size:11px}
 body.page-quotation-management .qm-detail-products-table th,body.page-quotation-management .qm-detail-products-table td{padding:8px 7px}
 body.page-quotation-management .qm-detail-products-table th{font-size:10px}
 body.page-quotation-management .qm-detail-product-name{min-width:100px}
 body.page-quotation-management .qm-detail-table-wrap{scrollbar-width:thin}
}

/* LANR: comparativo de precios con dimensiones estables y lista desplazable.
   El selector permanece visible y solo se desplazan las ofertas. */
body.page-quotation-management .qm-compare-dialog{
  height:min(560px,calc(100dvh - 32px));
  max-height:calc(100dvh - 32px);
}
body.page-quotation-management .qm-compare-body{
  display:flex;flex-direction:column;flex:1 1 auto;min-height:0;
  overflow:visible;
}
body.page-quotation-management .qm-material-picker{
  flex:0 0 auto;z-index:2;
}
body.page-quotation-management .qm-compare-field-label{
  flex:0 0 auto;
}
body.page-quotation-management .qm-compare-item:not([hidden]){
  display:block;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-gutter:stable;
  border:1px solid #e2eaf0;border-radius:9px;
  padding:0 12px;margin-top:0;
}
body.page-quotation-management .qm-compare-offer{min-width:0}
@media(max-width:600px){
  body.page-quotation-management .qm-compare-dialog{
    height:min(520px,calc(100dvh - 24px));
    max-height:calc(100dvh - 24px);
  }
  body.page-quotation-management .qm-compare-body{padding:14px;overflow:visible}
  body.page-quotation-management .qm-compare-item:not([hidden]){padding:0 9px}
  body.page-quotation-management .qm-material-picker-options{
    max-height:min(210px,32dvh);
  }
}

/* LANR: adjunto de cotización, compacto y consistente en escritorio y móvil. */
body.page-quotation-management .qm-detail-attachment{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  border-top:1px solid #e0e8ee;padding:12px 0 0;margin:12px 0 0;
}
body.page-quotation-management .qm-detail-attachment[hidden]{display:none!important}
body.page-quotation-management .qm-detail-attachment-label{
  display:flex;align-items:center;gap:8px;color:#123c5b;font-size:12px;font-weight:700;
}
body.page-quotation-management .qm-detail-attachment-label i{color:#60788a}
body.page-quotation-management .qm-detail-attachment-files{display:flex;flex-wrap:wrap;gap:7px}
body.page-quotation-management .qm-detail-attachment-link{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:7px 11px!important;min-height:34px;border:1px solid #dce6ee!important;
  border-radius:7px;background:#fff!important;color:#123c5b!important;
  font-size:12px!important;font-weight:600;text-decoration:none;
}
body.page-quotation-management .qm-detail-attachment-link:hover{background:#f1f5f9!important}
body.page-quotation-management .qm-detail-tax-info{margin:9px 0 0!important}
@media(max-width:640px){
  body.page-quotation-management .qm-detail-attachment{gap:9px;padding-top:10px}
  body.page-quotation-management .qm-detail-attachment-files{width:100%}
  body.page-quotation-management .qm-detail-attachment-link{min-height:38px}
}

/* Anticipos REQ: aislado a los paneles de fondos. */
.req-funds-panel{min-width:0;display:grid;gap:10px;overflow-wrap:anywhere}
.req-funds-panel .req-funds-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px}
.req-funds-metrics span{display:grid;gap:3px;background:#f4f7f9;border-radius:8px;padding:8px;color:#567080}
.req-funds-metrics b{color:#183f56}.req-funds-panel form{margin:6px 0}
.req-funds-panel input,.req-funds-panel select{max-width:100%;min-width:0;box-sizing:border-box}
.req-funds-panel label{min-width:0;display:grid;gap:4px;font-size:12px}
.req-funds-history summary{cursor:pointer;color:#285d7c;font-size:12px}
.req-funds-return{display:grid;gap:6px;border-bottom:1px solid #e5edf2;padding:9px 0}
.req-funds-return small{color:#5a7281}.req-funds-panel .qm-form-grid{width:100%;box-sizing:border-box}
@media(max-width:400px){.req-funds-panel .qm-form-grid{grid-template-columns:minmax(0,1fr)}.req-funds-panel .btn{white-space:normal;max-width:100%}}

.req-funds-panel .lg-note{margin:0;font-size:12px;line-height:1.5;color:#5c7585}

/* Administración: tarjetas de cotización compactas y detalle bajo demanda. */
body.page-quotation-management .qm-admin-expand{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 0 0;margin-top:9px;border:0;border-top:1px solid #e5edf3;background:transparent;color:#245577;font:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer}
body.page-quotation-management .qm-admin-expand:hover{color:#0e3855}
body.page-quotation-management .qm-admin-expand:focus-visible{outline:2px solid #367ba9;outline-offset:3px}
body.page-quotation-management .qm-admin-detail[hidden]{display:none!important}
body.page-quotation-management .qm-admin-detail{padding-top:6px}
body.page-quotation-management .qm-admin-note{margin:8px 0;padding:8px 10px;background:#f5f8fa;border:1px solid #e1e9ef;border-radius:7px;color:#36546a;font-size:12px;overflow-wrap:anywhere}
body.page-quotation-management .qm-compact-heading{gap:12px;flex-wrap:wrap}
@media(max-width:520px){body.page-quotation-management .qm-compact-heading .btn[data-qm-compare-open]{font-size:11px;padding:9px 10px}}

/* Administración: información fiscal independiente de la nota del proveedor. */
body.page-quotation-management .qm-admin-tax-note{margin:12px 0 0;padding:8px 0 0;border-top:1px solid #e2eaf0;color:#667f91;font-size:12px;line-height:1.5;display:flex;align-items:flex-start;gap:7px}
body.page-quotation-management .qm-admin-tax-note i{margin-top:3px;flex-shrink:0}
body.page-quotation-management .qm-reference-head .qm-header-requirement-btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none}

/* Envío masivo de cotizaciones: lista compacta dentro del modal LANR */
.qm-bulk-confirm-list {max-height: 190px; overflow-y: auto; text-align:left; margin: 12px 0; border:1px solid #dbe5ee; border-radius:8px; padding:8px 12px; font-size:12px;}
.qm-bulk-confirm-list > div {padding:7px 0; overflow-wrap:anywhere;}
.qm-bulk-confirm-list > div + div {border-top:1px solid #e6edf4;}
.qm-bulk-warning {font-size:12px; color:#9a5a00; text-align:left;}
.qm-bulk-invalid {color:#9a5a00;}
.qm-bulk-help {font-size:12px; color:#64748b; text-align:left;}

/* Solo el modal de envío masivo: cabecera/pie fijos y contenido desplazable. */
#qmBulkSendConfirm{padding:16px;box-sizing:border-box}
#qmBulkSendConfirm .qm-bulk-dialog{width:min(540px,100%);max-width:100%;max-height:calc(100dvh - 32px);padding:0;display:flex;flex-direction:column;text-align:left;overflow:hidden;border-radius:14px;min-height:0}
#qmBulkSendConfirm .qm-bulk-header{display:flex;align-items:flex-start;gap:11px;padding:20px 20px 14px;flex-shrink:0;border-bottom:1px solid #e5edf2}
#qmBulkSendConfirm .qm-bulk-symbol{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#edf5fa;color:#1b526f;font-size:14px}
#qmBulkSendConfirm .qm-bulk-header>div{min-width:0}
#qmBulkSendConfirm h3{font-size:17px;line-height:1.3;margin:0;color:#173f57;overflow-wrap:anywhere}
#qmBulkSendConfirm .qm-bulk-header p{font-size:11px;line-height:1.5;margin:5px 0 0;color:#708491}
#qmBulkSendConfirm .qm-bulk-content{padding:14px 20px;overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior:contain}
#qmBulkSendConfirm .qm-bulk-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px}
#qmBulkSendConfirm .qm-bulk-summary>span{display:grid;gap:4px;background:#f3f7f9;border:1px solid #e3edf2;border-radius:8px;padding:9px 10px;font-size:10px;line-height:1.4;color:#627b8a;min-width:0}
#qmBulkSendConfirm .qm-bulk-summary strong{font-size:12px;color:#234f67}
#qmBulkSendConfirm .qm-bulk-summary>span+span{background:#fffaf0;border-color:#f0e6ce}
#qmBulkSendConfirm .qm-bulk-group{margin:0 0 13px}
#qmBulkSendConfirm .qm-bulk-group:last-child{margin-bottom:0}
#qmBulkSendConfirm h4{font-size:11px;margin:0 0 7px;color:#526e80;font-weight:750}
#qmBulkSendConfirm .qm-bulk-quote-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 9px;min-width:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#qmBulkSendConfirm .qm-bulk-quote-name strong{color:#234d65;flex-shrink:0;font-size:11px}
#qmBulkSendConfirm .qm-bulk-quote-name>span{min-width:0;color:#5a7383;overflow-wrap:anywhere}
#qmBulkSendConfirm .qm-bulk-ready-row{padding:8px 0;border-bottom:1px solid #edf1f4}
#qmBulkSendConfirm .qm-bulk-ready-row:last-child{border-bottom:0}
#qmBulkSendConfirm .qm-bulk-review{margin-top:6px;border:1px solid #e6eaf0;border-radius:8px;min-width:0;overflow:hidden}
#qmBulkSendConfirm .qm-bulk-review>summary{padding:9px 11px;cursor:pointer;list-style:none;position:relative;padding-right:28px}
#qmBulkSendConfirm .qm-bulk-review>summary::-webkit-details-marker{display:none}
#qmBulkSendConfirm .qm-bulk-review>summary::after{content:'›';position:absolute;right:12px;top:10px;color:#7b8d98;transform:rotate(90deg)}
#qmBulkSendConfirm .qm-bulk-review[open]>summary::after{transform:rotate(-90deg)}
#qmBulkSendConfirm .qm-bulk-review>summary small{display:block;font-size:10px;color:#956a23;margin-top:3px}
#qmBulkSendConfirm .qm-bulk-products{padding:0 11px 9px;border-top:1px solid #edf1f4}
#qmBulkSendConfirm .qm-bulk-product{padding:10px 0 8px;border-bottom:1px solid #edf1f4;overflow-wrap:anywhere}
#qmBulkSendConfirm .qm-bulk-product:last-child{border-bottom:0;padding-bottom:0}
#qmBulkSendConfirm .qm-bulk-product>strong{font-size:11px;line-height:1.5;color:#355a70}
#qmBulkSendConfirm dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:7px 0 0}
#qmBulkSendConfirm dl>div{min-width:0;background:#f6f8fa;padding:6px;border-radius:5px}
#qmBulkSendConfirm dt{font-size:9px;color:#718591;line-height:1.4}
#qmBulkSendConfirm dd{margin:3px 0 0;font-size:10px;font-weight:700;color:#385e74;overflow-wrap:anywhere}
#qmBulkSendConfirm .qm-bulk-product-reason{margin:6px 0 0;font-size:10px;line-height:1.5;color:#946923;overflow-wrap:anywhere}
#qmBulkSendConfirm .qm-bulk-footer{padding:12px 20px 16px;flex-shrink:0;border-top:1px solid #e5edf2;background:#fff}
#qmBulkSendConfirm .qm-bulk-footer>p{font-size:10px;line-height:1.5;color:#758894;margin:0 0 10px}
#qmBulkSendConfirm .lanr-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin:0}
#qmBulkSendConfirm .lanr-confirm-actions .btn{font-size:11px;min-width:0;white-space:normal;margin:0}
#qmBulkSendConfirm .qm-bulk-status{font-size:12px;line-height:1.5;color:#647e8f;margin:0;padding:5px 0}
#qmBulkSendConfirm [hidden]{display:none!important}
#qmBulkSendConfirm summary:focus-visible{outline:2px solid #4885a5;outline-offset:-3px}
@media(max-width:420px){
 #qmBulkSendConfirm{padding:10px}
 #qmBulkSendConfirm .qm-bulk-dialog{max-height:calc(100dvh - 20px)}
 #qmBulkSendConfirm .qm-bulk-header{padding:15px 13px 12px;gap:8px}
 #qmBulkSendConfirm .qm-bulk-symbol{flex-basis:28px;height:28px;border-radius:8px;font-size:12px}
 #qmBulkSendConfirm h3{font-size:15px}
 #qmBulkSendConfirm .qm-bulk-content{padding:12px 13px}
 #qmBulkSendConfirm .qm-bulk-summary{gap:6px;margin-bottom:12px}
 #qmBulkSendConfirm .qm-bulk-summary>span{padding:8px;font-size:9px}
 #qmBulkSendConfirm .qm-bulk-footer{padding:11px 13px 13px}
 #qmBulkSendConfirm .lanr-confirm-actions .btn{padding:10px 11px}
}

/* Aislar las etiquetas semánticas de la cabecera y pie globales de LANR. */
#qmBulkSendConfirm .qm-bulk-header{position:static;justify-content:flex-start;min-height:0;height:auto;width:auto;margin:0;background:#fff;box-shadow:none}
#qmBulkSendConfirm .qm-bulk-header>div{flex:1;text-align:left}
#qmBulkSendConfirm .qm-bulk-footer{display:block;position:static;margin:0;width:auto;min-height:0;height:auto;text-align:left}
#qmBulkSendConfirm .qm-bulk-footer .lanr-confirm-actions{width:100%;flex-direction:row;flex-wrap:nowrap;align-items:stretch}
#qmBulkSendConfirm .qm-bulk-footer .btn{flex:0 1 auto;width:auto}

/* La plantilla base fuerza grid/altura en header: excluir solo este diálogo. */
#qmBulkSendConfirm .qm-bulk-header{display:flex!important;grid-template-columns:none!important;height:auto!important;padding:20px 20px 14px!important}
@media(max-width:420px){#qmBulkSendConfirm .qm-bulk-header{padding:15px 13px 12px!important}}

/* Sin candidatos: un mensaje y una única acción, sin confirmar cero cotizaciones. */
#qmBulkSendConfirm.is-empty .qm-bulk-header{display:none!important}
#qmBulkSendConfirm.is-empty .qm-bulk-content{padding:23px 20px 16px}
#qmBulkSendConfirm.is-empty .qm-bulk-footer{border:0;padding-top:0}
#qmBulkSendConfirm.is-empty .qm-bulk-dialog{width:min(420px,100%)}
/* Notificaciones locales: no alteran los avisos de otros módulos. */
.page-quotation-management .qm-notice-stack{position:fixed;right:18px;bottom:20px;z-index:5000;width:min(390px,calc(100vw - 28px));display:grid;gap:8px}
.page-quotation-management .qm-notice{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;background:#f5f9fc;border:1px solid #ccdde8;border-radius:10px;box-shadow:0 5px 20px #173e571a;color:#315c74;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.page-quotation-management .qm-notice.success{background:#f0f9f4;border-color:#cde5d6;color:#286044}
.page-quotation-management .qm-notice.warning{background:#fff9ed;border-color:#efdfb8;color:#896224}
.page-quotation-management .qm-notice.danger{background:#fff3f3;border-color:#edcaca;color:#923c43}
.page-quotation-management .qm-notice>i{margin-top:3px;flex-shrink:0}
.page-quotation-management .qm-notice>span{flex:1;min-width:0}
.page-quotation-management .qm-notice button{border:0;background:transparent;color:inherit;cursor:pointer;flex-shrink:0;font-size:20px;line-height:1;padding:0 2px}
@media(max-width:420px){.page-quotation-management .qm-notice-stack{right:12px;bottom:12px;width:calc(100vw - 24px)}}
