

#auth {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  padding: calc(40px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px))
           calc(40px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
}
#auth > div { margin: auto; width: 100%; }

.auth-brand { text-align: center; margin-bottom: 26px; }

.auth-brand h1 {
  margin: 0;
  font-size: 38px;
  font-size: clamp(30px, 7vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}
.auth-brand h1 em { font-style: normal; color: var(--accent); }

.auth-brand p {
  margin: 6px 0 0;
  font-size: 11px;
  font-size: clamp(9.5px, 2.5vw, 13px);
  font-weight: 600;
  letter-spacing: 2px;
  letter-spacing: clamp(.8px, .65vw, 3px);
  text-transform: uppercase;
  color: var(--ink-mute);
  text-wrap: balance;
}

.auth-wrapper {
  width: 400px;
  max-width: 92%;
  margin: 0 auto;
  perspective: 1600px;
}

.auth-card {
  position: relative;
  width: 100%;
  min-height: 736px;
  transform-style: preserve-3d;
  transition: transform 1s var(--flip);
}
.auth-card.is-flipped { transform: rotateY(180deg); }

.auth-face {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 30px 26px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--e-3);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.auth-face--back { transform: rotateY(180deg); }

.auth-head { text-align: center; margin-bottom: 18px; }
.auth-head h2 { margin: 14px 0 2px; font-size: 25px; font-weight: 700; color: var(--ink); }
.auth-head p { margin: 0; font-size: 13px; color: var(--ink-mute); }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 20px; }
.auth-row a { font-size: 13px; font-weight: 600; }

.auth-foot { margin-top: auto; padding-top: 18px; text-align: center; }
.auth-foot .swap { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; color: var(--ink-mute); }

.carrusel {
  position: relative;
  margin: 16px -26px 0;
}
.carrusel::before,
.carrusel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 26px;
  pointer-events: none;
  z-index: 2;
}
.carrusel::before { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.carrusel::after  { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }

.carrusel-pista {
  display: flex;
  gap: 14px;
  padding: 4px 26px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-pista.agarrando { cursor: grabbing; scroll-snap-type: none; }

.carrusel-item {
  flex: 0 0 auto;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  scroll-snap-align: start;
  color: var(--ink-mute);
  text-decoration: none;
}
.carrusel-item .nm-circle { color: var(--accent); }
.carrusel-item:hover .nm-circle { transform: translateY(-2px); box-shadow: var(--e-2); }
.carrusel-item:active .nm-circle { transform: translateY(0); box-shadow: var(--in-1); }
.carrusel-item small {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.15;
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-error {
  display: none;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--err-soft);
  color: var(--err);
  font-size: 13px;
  font-weight: 600;
}
.auth-error.is-on { display: block; }

.pw-meter { display: flex; gap: 5px; margin: -6px 0 14px; }
.pw-meter i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--bg);
  box-shadow: var(--in-1);
  transition: background .3s var(--ease);
}
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--err); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: #eab308; }
.pw-meter[data-score="4"] i { background: var(--ok); }

#app { position: relative; z-index: 1; min-height: 100vh; display: none; flex-direction: column; }
#app.is-on { display: flex; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-left: calc(18px + env(safe-area-inset-left, 0px));
  padding-right: calc(18px + env(safe-area-inset-right, 0px));
  background: var(--bg);
  border-bottom: 1px solid transparent;
}
.topbar::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--bg);
  box-shadow: var(--in-1);
}

.topbar-title { flex: 1; min-width: 0; }
.topbar-title h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-title span { display: block; font-size: 12px; color: var(--ink-mute); }

.page {
  flex: 1;
  padding: 20px 18px 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: calc(18px + env(safe-area-inset-left, 0px));
  padding-right: calc(18px + env(safe-area-inset-right, 0px));
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-title:first-child { margin-top: 4px; }
.section-title svg { color: var(--accent); }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.card-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--e-2);
  text-align: center;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.card-cat:hover { box-shadow: var(--e-3); transform: translateY(-3px); }
.card-cat:active { box-shadow: var(--in-1); transform: translateY(0); }
.card-cat .ico {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--in-1);
  color: var(--accent);
}
.card-cat b { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.card-cat small { font-size: 11.5px; color: var(--ink-mute); }

.grid-redes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.red-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 6px 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--e-1);
  color: var(--ink-soft);
  text-align: center;
  min-width: 0;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.red-item:hover { box-shadow: var(--e-2); transform: translateY(-2px); color: var(--accent); }
.red-item:active { box-shadow: var(--in-1); transform: translateY(0); }

.red-item .ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--in-1);
  color: var(--accent);
  flex: none;
}
.red-item small {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-sub { display: flex; flex-direction: column; gap: 12px; }

.row-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--e-2);
  text-align: left;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.row-sub:hover { box-shadow: var(--e-3); transform: translateX(3px); }
.row-sub:active { box-shadow: var(--in-1); transform: none; }
.row-sub .ico {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--in-1);
  color: var(--accent);
  flex: none;
}
.row-sub .txt { flex: 1; min-width: 0; }
.row-sub .txt b { display: block; font-size: 14.5px; color: var(--ink); }
.row-sub .txt small { font-size: 12px; color: var(--ink-mute); }
.row-sub > svg:last-child { color: var(--ink-faint); flex: none; }

.panel {
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--e-2);
  margin-bottom: 16px;
}
.panel > h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}

.diagram {
  display: grid;
  place-items: center;
  padding: 18px 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--in-1);
  margin-bottom: 16px;
}
.diagram svg { width: 100%; max-width: 420px; height: auto; }

.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.fields > * { min-width: 0; }

.tbl-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--in-1); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th {
  padding: 12px 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink-mute);
}
table.tbl td { padding: 11px 10px; color: var(--ink-soft); border-top: 1px solid var(--bg-deep); }
table.tbl td.num, table.tbl th.num,
table.tbl td:nth-child(2) { white-space: nowrap; }
table.tbl td.num, table.tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl td.val { font-weight: 700; color: var(--ink); }
table.tbl tr.total td { border-top: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 14.5px; }

.note {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--bg);
  box-shadow: var(--in-1);
  font-size: 12px;
  color: var(--ink-mute);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions .nm-btn { width: auto; flex: 1; min-width: 140px; }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-mute); }
.empty .nm-badge { margin-bottom: 16px; color: var(--ink-faint); }
.empty b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }

.verdict {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  font-size: 13.5px;
}
.verdict--ok  { background: var(--ok-soft);  color: var(--ok); }
.verdict--err { background: var(--err-soft); color: var(--err); }
.verdict svg { flex: none; margin-top: 1px; }
.verdict b { display: block; margin-bottom: 2px; }
.verdict ul { margin: 6px 0 0; padding-left: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--in-1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-faint);
  transition: box-shadow .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.chip i {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex: none;
  opacity: .35;
  transition: opacity .2s var(--ease);
}
.chip.is-on { box-shadow: var(--e-1); color: var(--ink); }
.chip.is-on i { opacity: 1; }

.tbl .tbl-grupo td {
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.punto-disc {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}

.escena {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--in-1);
  overflow: hidden;
  margin-bottom: 16px;
}
.escena video {
  display: none;
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: #000;
}
.escena canvas {
  display: block;
  width: 100%;
  height: 420px;
  touch-action: none;
  cursor: grab;
}
.escena canvas:active { cursor: grabbing; }

.escena.con-camara { background: #000; }
.escena.con-camara video { display: block; }
.escena.con-camara canvas { position: absolute; top: 0; right: 0; bottom: 0; left: 0; cursor: default; }

.viewer-hud {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
  z-index: 2;
}

.pasos { display: grid; gap: 12px; margin-bottom: 18px; }
.paso {
  display: grid;
  grid-template-columns: 30px 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--e-1);
}
.paso > div { min-width: 0; }
.paso-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  color: #fff;
  background: var(--accent);
}
.paso-icono {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--accent);
  box-shadow: var(--in-1);
}
.paso b { display: block; font-size: 14.5px; color: var(--ink); }
.paso span { display: block; font-size: 12.8px; color: var(--ink-mute); line-height: 1.45; }

.marca-impresa {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--e-1);
  text-align: center;
}
.marca-impresa img { display: block; width: 100%; max-width: 150mm; height: auto; margin: 0 auto; }
.marca-impresa figcaption { margin-top: 12px; font-size: 13px; color: #333; }
.regla-10 {
  width: 100mm;
  max-width: 100%;
  margin: 12px auto 0;
  border: 2px solid #000;
  border-top: 0;
  height: 10px;
  position: relative;
}
.regla-10 span { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); font-size: 11px; color: #000; }

#toasts {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--e-3);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  animation: toast-in .3s var(--flip);
}
.toast--ok  svg { color: var(--ok); }
.toast--err svg { color: var(--err); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.94); } }

.modal-back {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 90;
  display: flex;
  padding: 20px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(12, 22, 38, .42);
  backdrop-filter: blur(3px);
  animation: fade .2s var(--ease);
}
@keyframes fade { from { opacity: 0; } }

.modal {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--e-3);
  animation: pop .32s var(--flip);
}
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
.modal h3 { margin: 12px 0 6px; text-align: center; font-size: 19px; }
.modal p  { margin: 0 0 16px; text-align: center; font-size: 13.5px; color: var(--ink-mute); }

.help-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.help-item { display: flex; gap: 12px; align-items: flex-start; }
.help-item > div { min-width: 0; }
.help-item .ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--e-1);
  color: var(--accent);
  flex: none;
}
.help-item b { display: block; font-size: 13.5px; color: var(--ink); }
.help-item small { font-size: 12.5px; color: var(--ink-mute); line-height: 1.45; }

@media (max-width: 620px) {
  .topbar-title h2 {
    font-size: 15px;
    line-height: 1.2;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .topbar-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page { padding: 16px 14px 32px; }
  .panel { padding: 14px; }
  table.tbl { font-size: 12.5px; }
  table.tbl th { padding: 10px 6px; font-size: 10px; letter-spacing: .3px; }
  table.tbl td { padding: 10px 6px; }
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .card-cat { padding: 16px 8px 13px; }
  .card-cat .ico { width: 54px; height: 54px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .auth-face { padding: 24px 18px; }
  .escena canvas, .escena video { height: 340px; }
  .actions .nm-btn { min-width: 100%; }
  .actions .nm-btn--sm { min-width: 0; flex: 1; }
  .modal { padding: 20px 16px; }
  .modal h3 { font-size: 17px; }
  .help-item .ico { width: 36px; height: 36px; }
  .help-item small { font-size: 12px; }
}

@media (max-width: 380px) {
  .fields { grid-template-columns: 1fr; }
  .card-cat b { font-size: 12.5px; }
  .topbar { gap: 8px; padding: 12px 12px; }
  .nm-circle { width: 40px; height: 40px; }
  .topbar-title h2 { font-size: 14px; }
}

@media (max-width: 330px) {
  .topbar {
    gap: 5px;
    padding-left: calc(8px + env(safe-area-inset-left, 0px));
    padding-right: calc(8px + env(safe-area-inset-right, 0px));
  }
  .topbar .nm-circle { width: 37px; height: 37px; }
  .topbar .nm-circle svg { width: 17px; height: 17px; }
  .topbar-title h2 { font-size: 13px; -webkit-line-clamp: 3; }
  .auth-row { flex-wrap: wrap; gap: 10px; }
  .topbar-title span { font-size: 11px; }
}

@media (min-width: 900px) {
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
  .diagram svg { max-width: 520px; }
  .card-cat .ico { width: 68px; height: 68px; }
}

@media (max-height: 900px) {
  #auth { padding-top: calc(24px + env(safe-area-inset-top, 0px));
          padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .auth-brand { margin-bottom: 16px; }
  .auth-brand h1 { font-size: clamp(26px, 6.4vw, 38px); }

  .auth-card { min-height: 664px; }
  .auth-face { padding: 22px 22px; }
  .carrusel { margin-left: -22px; margin-right: -22px; }
  .carrusel-pista { padding-left: 22px; padding-right: 22px; }
  .carrusel::before, .carrusel::after { width: 22px; }

  .auth-head { margin-bottom: 12px; }
  .auth-head h2 { font-size: 22px; margin: 10px 0 2px; }
  #auth .nm-badge { width: 70px; height: 70px; }
  #auth .nm-badge::after { inset: 7px; }
  #auth .nm-input { height: 48px; }
  #auth .nm-field { margin-bottom: 11px; }
  #auth .nm-btn { height: 50px; }
  .auth-row { margin: 0 0 14px; }
  .auth-foot { padding-top: 12px; }
  .carrusel { margin-top: 12px; }
  .carrusel-item .nm-circle { width: 40px; height: 40px; }
  .pw-meter { margin: -4px 0 11px; }
}

@media (max-height: 620px) {
  #auth { padding-top: 16px; padding-bottom: 16px; }
  .auth-brand { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.buscador { margin-bottom: 18px; }
.buscador input[type=search] { -webkit-appearance: none; appearance: none; }
#resultados { margin-bottom: 18px; }

.partidas { display: flex; flex-direction: column; gap: 10px; }
.nm-check.partida {
  display: flex;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--e-1);
}
.partida-txt { flex: 1; min-width: 0; }
.partida-txt b { display: block; color: var(--ink); font-size: 13.5px; }
.partida-txt small { color: var(--ink-mute); font-size: 12px; }
.partida-monto { flex: none; font-weight: 700; font-size: 13px; }

.conv-resultado { font-size: 22px; }

.sin-gap .actions > *, .sin-gap .chips > * { margin: 0 10px 10px 0; }
.sin-gap .list-sub > *, .sin-gap .partidas > *, .sin-gap .help-list > * { margin-bottom: 12px; }
.sin-gap .nm-input > * + *, .sin-gap .nm-check > * + *, .sin-gap .nm-switch > * + * { margin-left: 10px; }
.sin-gap .toast > * + * { margin-left: 10px; }

@media print {
  .bg-orbs, .topbar, .actions, #toasts, .modal-back, .buscador,
  .viewer-hud, .no-imprimir, form.panel button { display: none !important; }

  .marca-impresa { box-shadow: none; padding: 0; break-after: page; page-break-after: always; }
  .marca-impresa img { width: 150mm; max-width: none; height: 150mm; }

  body { background: #fff; color: #000; }
  .page { max-width: none; padding: 0; }

  .panel, .diagram {
    box-shadow: none;
    background: #fff;
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .panel > h3 { color: #000; }

  .tbl-wrap { box-shadow: none; overflow: visible; }
  table.tbl { min-width: 0; }
  table.tbl th { color: #000; }
  table.tbl td { color: #000; border-top: 1px solid #ddd; }
  table.tbl tr.total td { color: #000; border-top: 2px solid #000; }

  .note { background: #fff; box-shadow: none; border: 1px solid #ddd; color: #333; }
  a[href]::after { content: ''; }
}
