html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ffffff;
}

.background {
  position: fixed;
  inset: 0;
  opacity: 0;
  background-color: #F8F9FC;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.2) 1px, transparent 0);
  background-size: 24px 24px;
  background-attachment: fixed;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.logo {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 112px;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.word {
  position: absolute;
  top: calc(40% + 56px + 4px);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-family: 'Google Sans Flex', sans-serif;
  font-optical-sizing: auto;
  font-size: 36px;
  font-weight: 520;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #1a1a1a;
  white-space: nowrap;
}

.banner {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 10;
  height: 80px;
  transform: translateY(-50%);
  pointer-events: none;
}

.banner-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
}

.banner-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100%;
}

.banner-word {
  margin: 0;
  font-family: 'Google Sans Flex', sans-serif;
  font-optical-sizing: auto;
  font-size: 36px;
  font-weight: 520;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #FFFFFF;
  white-space: nowrap;
}

.item {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  padding: calc(48px + env(safe-area-inset-top, 0px)) 12px 12px;
  background-color: #333333;
  font-family: 'IBM Plex Sans', sans-serif;
  opacity: 1;
}

.item-clamp {
  z-index: 4;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(24px + env(safe-area-inset-top, 0px));
  margin: 0 auto;
  width: 206px;
  pointer-events: none;
}

.item-tabs {
  position: absolute;
  top: calc(84px + env(safe-area-inset-top, 0px));
  right: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.item-tab {
  width: fit-content;
  padding: 6px 12px;
  margin-bottom: 6px;
  border-top-right-radius: 4px;
  background-color: #CCCCCC;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
}

.item-tab.is-on {
  background-color: #1B3557;
  color: #FFFFFF;
}

.item-page {
  box-sizing: border-box;
  height: 100%;
  padding: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 6px;
  background-color: #ECECEC;
}

.item-page::-webkit-scrollbar {
  display: none;
}

.item-title {
  display: flex;
  align-items: center;
  height: 132px;
  padding: 0 140px 0 10px;
}

.item-actions {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 0 0 4px;
}

.item-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 62px;
}

.item-action-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #1B3557;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
}

.item-action-circle img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.item-action-label {
  margin-top: 6px;
  color: #1B3557;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
}

.hc {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hc-timeline {
  position: relative;
}

.hc-line {
  position: absolute;
  z-index: 4;
  left: 54px;
  top: 46px;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  background-color: #3d5a85;
  pointer-events: none;
}

.hc-item {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 12px 18px 12px 8px;
  border-radius: 34px;
  background-color: #FDFAF5;
  color: #000000;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1), inset 0 0 80px rgba(0, 0, 0, 0.04);
}

.hc-first {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 16px 18px 24px 10px;
}

.hc-demo-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hc-portrait,
.hc-date {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-sizing: border-box;
}

.hc-portrait {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border: 6px solid #3d5a85;
  color: #B0B0B0;
}

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

.hc-id {
  flex: 1;
  min-width: 0;
}

.hc-name {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.2;
  word-break: break-word;
}

.hc-dni {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.2;
  color: #333333;
}

.hc-date {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #3d5a85;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.15;
  font-weight: bold;
  font-size: 13px;
}

.hc-date-time {
  margin-top: 2px;
  font-size: 11px;
}

.hc-text {
  flex: 1;
  min-width: 0;
  padding-bottom: 12px;
}

.hc-first .hc-text {
  width: 100%;
  padding-left: 12px;
}

.hc-title {
  margin-top: 22px;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hc-first .hc-title {
  margin-top: 8px;
}

.hc-subtitle {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #555555;
  text-transform: uppercase;
}

.hc-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 12px;
  margin-top: 8px;
}

.hc-preview-title {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #555555;
  text-transform: uppercase;
}

.hc-preview-title:first-child {
  margin-top: 8px;
}

.hc-field {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
  color: #333333;
}

.hc-field img {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.hc-field-wide {
  flex: 1 0 100%;
}

.hc-search {
  box-sizing: border-box;
  width: calc(100% - 24px);
  margin: 24px 12px 12px;
}

.hc-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  border-bottom: 1px solid #999999;
  color: #888888;
  font-size: 16px;
}

.hc-search-row svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hc-filter {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  padding: 10px 2px 0;
  font-size: 13px;
  color: #555555;
}

.hc-filter input {
  margin-right: 6px;
  accent-color: #1B3557;
}

.rx {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 3;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: #FFFFFF;
  font-family: Helvetica, Arial, sans-serif;
  color: #222222;
  opacity: 1;
}

.rx-page {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.rx-doc {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 22px 26px 0;
}

.rx-head {
  flex-shrink: 0;
}

.rx-letter {
  display: flex;
  align-items: center;
}

.rx-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
}

.rx-brand {
  margin-left: 10px;
  color: #1B3557;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.rx-rule {
  height: 2px;
  margin: 14px 0 0;
  background-color: #1B3557;
}

.rx-row {
  display: flex;
}

.rx-row-prescriber {
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #C9D4E4;
}

.rx-row-patient {
  padding: 12px 0;
  border-bottom: 1px solid #C9D4E4;
}

.rx-label {
  margin-bottom: 3px;
  color: #3D5A85;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.14em;
}

.rx-label-gap {
  margin-top: 8px;
}

.rx-strong {
  font-size: 14px;
  font-weight: bold;
}

.rx-muted {
  font-size: 11px;
  color: #555555;
}

.rx-licence {
  margin-top: 4px;
  font-size: 10px;
  color: #555555;
}

.rx-docid {
  min-width: 170px;
  text-align: left;
}

.rx-id {
  font-size: 12px;
  font-weight: bold;
}

.rx-time {
  font-size: 11px;
}

.rx-patient {
  flex: 1;
}

.rx-birth {
  flex: 1;
  padding-left: 16px;
  border-left: 1px solid #C9D4E4;
}

.rx-when {
  flex: 0 0 110px;
  padding-left: 16px;
  border-left: 1px solid #C9D4E4;
}

.rx-date {
  font-size: 13px;
  font-weight: bold;
}

.rx-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding-top: 14px;
}

.rx-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 210px;
  width: auto;
  max-width: 336px;
  opacity: 0.1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rx-glyph-row {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 10px;
}

.rx-glyph {
  flex-shrink: 0;
  color: #1B3557;
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.rx-search {
  position: relative;
  flex: 1;
  min-width: 0;
  margin-top: 2px;
}

.rx-search-input {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid #1b3557;
  border-radius: 0;
  background-color: transparent;
  color: #222222;
  font-size: 14px;
}

.rx-search-input:disabled {
  opacity: 1;
}

.rx-drugs {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 14px;
  overflow-y: auto;
}

.rx-drug {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dotted #C9D4E4;
}

.rx-num {
  flex: 0 0 24px;
  color: #3D5A85;
  font-size: 12px;
  font-weight: bold;
}

.rx-drug-text {
  flex: 1;
}

.rx-drug-name {
  font-size: 13px;
  font-weight: bold;
}

.rx-drug-sub {
  font-size: 11px;
  color: #555555;
}

.rx-remove {
  flex: 0 0 20px;
  color: #B05050;
  font-weight: bold;
  text-align: center;
}

.rx-foot {
  flex-shrink: 0;
}

.rx-sign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 0 12px;
  border-top: 1px solid #C9D4E4;
}

.rx-sign-col {
  flex: 1;
}

.rx-sign-space {
  height: 34px;
}

.rx-sign-line {
  width: 170px;
  border-bottom: 1px solid #999999;
}

.rx-pending {
  margin-top: 4px;
  color: #999999;
  font-size: 10px;
}

.rx-meta {
  flex: 0 0 110px;
  padding-left: 16px;
  color: #555555;
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}

.rx-actions {
  display: flex;
  gap: 10px;
  margin: 4px 0 14px;
}

.rx-btn {
  flex: 1;
  padding: 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-align: center;
}

.rx-btn-confirm {
  background-color: #1B3557;
  color: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.rx-btn-cancel {
  background-color: #E4E4E4;
  color: #666666;
}

.rx-bar {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 8px 26px;
  background: #1B3557;
  color: #B9C6DA;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.cal {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 3;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  opacity: 1;
}

.cal-rings {
  position: absolute;
  top: env(safe-area-inset-top, 0px);
  left: 48px;
  right: 48px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.cal-ring {
  width: 22px;
  height: 41px;
  background: transparent url("calendarRing.png") no-repeat center top;
  background-size: contain;
}

.cal-body {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 18px 18px 12px;
  overflow: hidden;
  background-color: #1a1310;
  background-image:
    radial-gradient(ellipse at 18% 22%, rgba(90, 60, 42, 0.45) 0%, transparent 42%),
    radial-gradient(ellipse at 82% 78%, rgba(0, 0, 0, 0.35) 0%, transparent 48%),
    linear-gradient(145deg, #2a1c16 0%, #1a1310 42%, #120d0b 100%);
}

.cal-body::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px dashed rgba(120, 78, 52, 0.55);
  pointer-events: none;
  z-index: 1;
}

.cal-paper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f9f0e8;
  box-shadow: 0 1px 0 #efe8dc, 2px 2px 0 #e6dfd2, 4px 4px 0 #dcd4c5, 6px 6px 0 #d0c7b6, 8px 10px 18px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cal-toolbar {
  flex: 0 0 auto;
  height: calc(32px + env(safe-area-inset-top, 0px));
}

.cal-grid,
.cal-scroll {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #f9f0e8;
}

.cal-scroll {
  overflow: auto;
}

.cal-scroll-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cal-head {
  flex-shrink: 0;
  z-index: 4;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(70, 55, 40, 0.14);
  background: #f9f0e8;
}

.cal-time-corner {
  flex: 0 0 64px;
  width: 64px;
  border-right: 1px solid rgba(70, 55, 40, 0.12);
  background: #f9f0e8;
}

.cal-days {
  display: flex;
  flex: 0 0 auto;
}

.cal-day {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 4px;
  border-right: 1px solid rgba(70, 55, 40, 0.08);
  color: #3a322b;
}

.cal-day-today {
  width: calc(100vw - 94px - 40px);
}

.cal-day:not(.cal-day-today) {
  width: 240px;
}

.cal-day-full {
  overflow: hidden;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3a322b;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cal-scroll-body {
  display: flex;
  position: relative;
}

.cal-time-col {
  position: sticky;
  left: 0;
  z-index: 3;
  flex: 0 0 64px;
  width: 64px;
  background: #f9f0e8;
  border-right: 1px solid rgba(70, 55, 40, 0.14);
}

.cal-time {
  position: absolute;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 0 6px 0 0;
  border-bottom: 1px solid rgba(70, 55, 40, 0.06);
  color: #6e6256;
  font-size: 14px;
  font-weight: 600;
  line-height: 72px;
  text-align: right;
}

.cal-page,
.cal-page-content,
.cal-day-cols {
  position: relative;
  height: 100%;
}

.cal-day-cols {
  display: flex;
  width: 100%;
}

.cal-col {
  box-sizing: border-box;
  border-right: 1px solid rgba(70, 55, 40, 0.08);
}

.cal-col-today {
  width: calc(100vw - 94px - 40px);
}

.cal-col:not(.cal-col-today) {
  width: 240px;
}

.cal-slot {
  box-sizing: border-box;
  height: 72px;
  border-bottom: 1px solid rgba(70, 55, 40, 0.06);
}

.cal-slot-hour {
  border-top: 1px solid rgba(70, 55, 40, 0.2);
}

.cal-slot-pre {
  border-bottom-color: transparent;
}

.cal-event {
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  padding: 4px 7px 4px 8px;
  overflow: hidden;
  border: 1px solid #D5E0EC;
  border-left: 3px solid #0057A8;
  border-radius: 4px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 45, 90, 0.08);
}

.cal-event-time {
  margin-bottom: 2px;
  overflow: hidden;
  color: #004B87;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cal-event-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  margin-top: 2px;
}

.cal-event-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #333333;
}

.cal-event-name,
.cal-event-place {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cal-event-name {
  color: #1B2A3D;
  font-size: 14px;
  font-weight: 700;
}

.cal-event-place {
  color: #5A6B7D;
  font-size: 14px;
  font-weight: 500;
}

.tele {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000000;
  opacity: 1;
}

.tele-main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.deck {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: #333333;
  opacity: 1;
}

.deck-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.staff {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 4;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: #FFFFFF;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #222222;
  opacity: 1;
}

.staff-sheet {
  position: relative;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 22px 24px;
  background-color: #d4efe6;
  border-top-left-radius: 18px;
}

.staff-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 16px;
  width: 26px;
  height: 26px;
  border: 2px solid #B7C9C2;
  border-radius: 50%;
  color: #8AA097;
  font-size: 22px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
}

.staff-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 8px 28px 0;
}

.staff-avatar {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background-color: #111111;
}

.staff-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.staff-meta {
  margin-top: 4px;
  color: #666666;
  font-size: 14px;
}

.staff-btn {
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 16px 12px;
  border: 1.5px dashed #B7C4BE;
  border-radius: 14px;
  color: #4A4A4A;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.staff-inactive {
  margin-top: 8px;
  color: #7A7A7A;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.staff-tabs {
  display: flex;
  flex-direction: column;
  flex: 0 0 38px;
  width: 38px;
}

.staff-tab {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #333333;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.staff-tab.is-on {
  flex: 1.45;
  background-color: #d4efe6;
  border-top-right-radius: 16px;
}

.staff-tab-coord {
  background-color: #f5d9e3;
}

.staff-tab-mon {
  background-color: #f3ecc8;
}

.staff-tab-med {
  background-color: #f2dcc8;
}

.sede {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #333333;
  opacity: 1;
}

.sede-sheet {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 16px;
  background-color: #F7F5F1;
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(255, 255, 255, 0.95) 0%, transparent 42%),
    radial-gradient(ellipse at 82% 88%, rgba(232, 228, 220, 0.55) 0%, transparent 48%),
    linear-gradient(165deg, #FBF9F6 0%, #F3F0EA 48%, #EDE9E2 100%);
}

.sede-map {
  position: relative;
  flex: 0 0 46%;
  min-height: 220px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background-color: #F4F1EA;
}

.sede-grid {
  position: absolute;
  inset: 0;
}

.sede-street {
  position: absolute;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 1px #E6E1D8;
}

.sede-street-a {
  top: 18%;
  left: -20%;
  width: 140%;
  height: 14px;
  transform: rotate(-32deg);
}

.sede-street-b {
  top: 48%;
  left: -20%;
  width: 140%;
  height: 14px;
  transform: rotate(-32deg);
}

.sede-street-c {
  top: -10%;
  left: 38%;
  width: 14px;
  height: 140%;
  transform: rotate(-32deg);
}

.sede-street-d {
  top: -10%;
  left: 68%;
  width: 14px;
  height: 140%;
  transform: rotate(-32deg);
}

.sede-label {
  position: absolute;
  color: #9A9388;
  font-size: 11px;
  white-space: nowrap;
}

.sede-label-1 {
  top: 36%;
  left: 10%;
  transform: rotate(-32deg);
}

.sede-label-2 {
  top: 58%;
  left: 4%;
  transform: rotate(58deg);
}

.sede-label-3 {
  top: 62%;
  left: 38%;
  width: 90px;
  white-space: normal;
  line-height: 1.2;
}

.sede-dot {
  position: absolute;
  top: 66%;
  left: 58%;
  width: 10px;
  height: 10px;
  border: 2px solid #B8B3AA;
  border-radius: 50%;
  background-color: #FFFFFF;
}

.sede-pin {
  position: absolute;
  top: 42%;
  left: 46%;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background-color: #E04B4B;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sede-addr {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  line-height: 1.25;
}

.sede-addr svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #333333;
}

.sede-zoom {
  position: absolute;
  right: 12px;
  bottom: 42px;
  z-index: 2;
  overflow: hidden;
  border-radius: 6px;
  background-color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.sede-zoom div {
  width: 36px;
  height: 34px;
  color: #555555;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
}

.sede-zoom div + div {
  border-top: 1px solid #E6E1D8;
}

.sede-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.sede-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 4px 10px;
  border-bottom: 1px solid #D8D3CB;
  color: #9A9A9A;
  font-size: 15px;
}

.sede-field svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.sede-add {
  flex: 0 0 108px;
  padding: 12px 8px;
  border-radius: 4px;
  background-color: #8A8A8A;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.sede-chips {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 12px;
  overflow: auto;
}

.sede-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(253, 250, 245, 0.88);
  font-size: 14px;
}

.sede-x {
  width: 22px;
  color: #888888;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.sede-save {
  flex: 0 0 auto;
  margin-top: 10px;
  padding: 14px 12px;
  border-radius: 4px;
  background-color: #8A8A8A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.vad {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: #F6F6F3;
  font-family: Helvetica, Arial, sans-serif;
  color: #111111;
  opacity: 1;
}

.vad-close {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top, 0px));
  right: 18px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 2px solid #BBBBBB;
  border-radius: 50%;
  color: #999999;
  font-size: 20px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
}

.vad-hang {
  position: relative;
  flex: 0 0 48px;
  margin: env(safe-area-inset-top, 0px) 10px 0;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #FDFDFC 0%, #F4F4F1 100%);
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.08), inset 0 -4px 6px rgba(0, 0, 0, 0.05);
}

.vad-slot {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 130px;
  height: 16px;
  border-radius: 9px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #C9C9C4 0%, #E3E3DF 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 -1px 1px rgba(255, 255, 255, 0.6);
}

.vad-stripe {
  flex: 0 0 16px;
  background: linear-gradient(180deg, #24466E 0%, #1B3557 100%);
}

.vad-page {
  position: relative;
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
  padding: 22px 18px 28px;
  overflow-y: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, #FCFCFA 0%, #F6F6F3 100%);
}

.vad-page::-webkit-scrollbar {
  display: none;
}

.vad-code {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 118px;
  padding: 6px 8px 4px;
  border: 1.5px dashed #888888;
  background-color: #FFFFFF;
  text-align: center;
}

.vad-bars {
  height: 28px;
  background-image: repeating-linear-gradient(
    90deg,
    #111111 0 2px,
    transparent 2px 4px,
    #111111 4px 5px,
    transparent 5px 8px,
    #111111 8px 11px,
    transparent 11px 13px
  );
}

.vad-code div:last-child {
  margin-top: 3px;
  color: #888888;
  font-size: 8px;
  letter-spacing: 0.02em;
}

.vad-brand {
  margin: 8px 130px 2px 0;
  text-align: center;
}

.vad-name {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.05;
}

.vad-name span {
  font-size: 16px;
  vertical-align: super;
}

.vad-drug {
  color: #444444;
  font-size: 20px;
  letter-spacing: 4px;
  line-height: 1.2;
}

.vad-rule {
  height: 12px;
  margin: 10px 0 16px;
  background-color: #111111;
}

.vad-line {
  font-size: 12px;
  line-height: 1.45;
}

.vad-warn {
  margin: 14px 0 16px;
  font-size: 12px;
  font-weight: bold;
}

.vad-note {
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid #E8C878;
  border-radius: 6px;
  background-color: #FDF3D7;
  color: #8A6D1F;
  font-size: 12px;
  text-align: center;
}

.vad-block {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  text-align: justify;
}

.vad-h {
  margin-bottom: 3px;
  font-weight: bold;
  text-align: left;
}
