:root {
  --r360-blue: #275da8;
  --r360-blue-deep: #173d72;
  --r360-blue-soft: #e7f0ff;
  --r360-green: #46a957;
  --r360-green-deep: #237f3a;
  --r360-green-soft: #e5f6e5;
  --r360-coral: #d84b56;
  --r360-gold: #f1b64b;
  --r360-ink: #18304d;
  --r360-muted: #66758c;
  --r360-paper: #f7fbff;
  --r360-white: #ffffff;
  --r360-line: rgba(28, 60, 104, 0.15);
  --r360-shadow: 0 22px 60px rgba(24, 48, 77, 0.14);
}

.r360 {
  color: var(--r360-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.r360 *,
.r360 *::before,
.r360 *::after {
  box-sizing: border-box;
}

.r360 a {
  color: inherit;
}

.r360 img {
  display: block;
  max-width: 100%;
}

.r360 svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.r360-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(70, 169, 87, 0.25);
  border-radius: 999px;
  color: var(--r360-green-deep);
  background: rgba(229, 246, 229, 0.8);
  font-size: 0.78rem;
  font-weight: 800;
}

.r360-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.r360-button:hover,
.r360-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.r360-button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--r360-blue), var(--r360-green));
  box-shadow: 0 14px 32px rgba(39, 93, 168, 0.24);
}

.r360-button--ghost {
  color: var(--r360-blue-deep);
  background: #ffffff;
  border-color: var(--r360-line);
  box-shadow: 0 12px 28px rgba(24, 48, 77, 0.08);
}

.r360-button--small {
  min-height: 38px;
  padding: 0.58rem 0.8rem;
  font-size: 0.86rem;
}

.r360-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.r360-landing-v2 {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f6fbff 0%, #ffffff 34%, #f4f8fc 100%);
}

.r360-lp-hero,
.r360-lp-section {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.r360-lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.r360-lp-hero__copy {
  display: grid;
  gap: 1.1rem;
  align-content: center;
}

.r360-lp-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(70, 169, 87, 0.22);
  border-radius: 999px;
  color: var(--r360-green-deep);
  background: rgba(229, 246, 229, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
}

.r360-lp-hero h1 {
  margin: 0;
  color: var(--r360-blue-deep);
  font-size: clamp(4rem, 9vw, 7.8rem);
  font-weight: 930;
  line-height: 0.86;
  letter-spacing: 0;
}

.r360-lp-hero h1 span {
  color: var(--r360-green);
}

.r360-lp-lead {
  max-width: 620px;
  margin: 0;
  color: var(--r360-muted);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.r360-lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.r360-lp-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.r360-lp-proof div {
  min-height: 86px;
  padding: 0.85rem;
  border: 1px solid rgba(39, 93, 168, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.r360-lp-proof strong {
  display: block;
  color: var(--r360-blue-deep);
  font-size: 1.35rem;
  line-height: 1;
}

.r360-lp-proof span {
  display: block;
  margin-top: 0.38rem;
  color: var(--r360-muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.25;
}

.r360-lp-product {
  position: relative;
  min-height: 560px;
}

.r360-lp-app-preview {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  width: min(100%, 690px);
  margin-left: auto;
  padding: 1.05rem;
  border: 1px solid rgba(39, 93, 168, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(24, 48, 77, 0.16);
}

.r360-lp-app-topbar,
.r360-lp-patient-card,
.r360-lp-med-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.r360-lp-app-topbar {
  min-height: 58px;
  padding: 0 0.2rem 0.75rem;
  border-bottom: 1px solid var(--r360-line);
}

.r360-lp-app-topbar strong {
  display: block;
  color: var(--r360-blue-deep);
  font-size: 1.22rem;
  line-height: 1;
}

.r360-lp-app-topbar strong span {
  color: var(--r360-green);
}

.r360-lp-app-topbar small,
.r360-lp-patient-card small {
  display: block;
  margin-top: 0.25rem;
  color: var(--r360-muted);
  font-size: 0.8rem;
  font-weight: 720;
}

.r360-lp-app-topbar > span {
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--r360-green-deep);
  background: var(--r360-green-soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.r360-lp-patient-card {
  padding: 1rem;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--r360-blue-deep), var(--r360-blue));
}

.r360-lp-patient-card span,
.r360-lp-patient-card small {
  color: rgba(255, 255, 255, 0.78);
}

.r360-lp-patient-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.r360-lp-patient-card em {
  min-height: 36px;
  padding: 0.52rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.r360-lp-app-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.r360-lp-app-grid-mini div {
  display: grid;
  gap: 0.5rem;
  min-height: 118px;
  padding: 0.78rem;
  border: 1px solid rgba(39, 93, 168, 0.11);
  border-radius: 8px;
  background: #f7fbff;
}

.r360-lp-app-grid-mini .r360-animated-icon {
  width: 42px;
  height: 42px;
}

.r360-lp-app-grid-mini span {
  color: var(--r360-blue-deep);
  font-size: 0.86rem;
  font-weight: 840;
  line-height: 1.15;
}

.r360-lp-med-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid rgba(70, 169, 87, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f0faf1);
}

.r360-lp-med-card .r360-animated-icon {
  width: 46px;
  height: 46px;
}

.r360-lp-med-card strong,
.r360-lp-med-card span {
  display: block;
}

.r360-lp-med-card strong {
  color: var(--r360-blue-deep);
  font-size: 1rem;
}

.r360-lp-med-card span {
  margin-top: 0.25rem;
  color: var(--r360-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.r360-lp-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(39, 93, 168, 0.12);
}

.r360-lp-progress span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--r360-green), var(--r360-coral));
}

.r360-lp-phone-preview {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  z-index: 3;
  display: grid;
  gap: 0.55rem;
  width: 184px;
  padding: 1rem 0.75rem;
  border: 8px solid var(--r360-blue-deep);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(24, 48, 77, 0.22);
}

.r360-lp-phone-preview > span {
  width: 48px;
  height: 5px;
  margin: 0 auto 0.25rem;
  border-radius: 999px;
  background: rgba(24, 48, 77, 0.24);
}

.r360-lp-phone-preview strong {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--r360-blue), var(--r360-green));
  font-size: 1rem;
}

.r360-lp-phone-preview div {
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(39, 93, 168, 0.16) 0 28%, transparent 28%),
    #f2f7fc;
}

.r360-lp-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.r360-lp-section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 740px;
  margin-bottom: 1.5rem;
}

.r360-lp-section h2 {
  margin: 0;
  color: var(--r360-blue-deep);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.r360-lp-section p {
  margin: 0;
  color: var(--r360-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.r360-lp-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.r360-lp-module-card {
  display: grid;
  gap: 0.75rem;
  min-height: 220px;
  padding: 1rem;
  border: 1px solid rgba(39, 93, 168, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(24, 48, 77, 0.07);
}

.r360-lp-module-card h3 {
  margin: 0;
  color: var(--r360-blue-deep);
  font-size: 1.08rem;
  line-height: 1.18;
}

.r360-lp-module-card p {
  font-size: 0.93rem;
}

.r360-lp-flow,
.r360-lp-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.r360-lp-flow {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1240px) / 2));
  background: #ffffff;
}

.r360-lp-flow__content {
  display: grid;
  gap: 0.9rem;
}

.r360-lp-timeline {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.r360-lp-timeline div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 66px;
  padding: 0.75rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #f7fbff;
}

.r360-lp-timeline strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--r360-coral);
  font-size: 0.82rem;
}

.r360-lp-timeline span {
  color: var(--r360-ink);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.38;
}

.r360-lp-panel-preview {
  overflow: hidden;
  border: 1px solid rgba(39, 93, 168, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(24, 48, 77, 0.12);
}

.r360-lp-panel-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem;
  border-bottom: 1px solid var(--r360-line);
}

.r360-lp-panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--r360-coral);
}

.r360-lp-panel-top span:nth-child(2) {
  background: var(--r360-gold);
}

.r360-lp-panel-top span:nth-child(3) {
  background: var(--r360-green);
}

.r360-lp-panel-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 330px;
}

.r360-lp-panel-sidebar {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1rem;
  background: #f2f7fc;
}

.r360-lp-panel-sidebar span,
.r360-lp-panel-form span {
  display: block;
  border-radius: 8px;
  background: #ffffff;
}

.r360-lp-panel-sidebar span {
  height: 44px;
}

.r360-lp-panel-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
}

.r360-lp-panel-form strong {
  color: var(--r360-blue-deep);
  font-size: 1.05rem;
}

.r360-lp-panel-form span {
  height: 48px;
  border: 1px solid rgba(39, 93, 168, 0.12);
  background: #f7fbff;
}

.r360-lp-panel-form span:last-child {
  height: 92px;
}

.r360-lp-showcase {
  align-items: center;
}

.r360-lp-showcase > div:first-child {
  display: grid;
  gap: 0.85rem;
}

.r360-lp-showcase ul {
  display: grid;
  gap: 0.6rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.r360-lp-showcase li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--r360-ink);
  line-height: 1.45;
}

.r360-lp-showcase li::before {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  border-radius: 50%;
  background: var(--r360-green);
}

.r360-lp-ecosystem {
  overflow: hidden;
  border: 1px solid rgba(39, 93, 168, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(24, 48, 77, 0.11);
}

.r360-lp-ecosystem img {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: cover;
}

.r360-lp-cta {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
  max-width: none;
  padding-inline: 1rem;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--r360-blue-deep), var(--r360-blue));
}

.r360-lp-cta .r360-lp-kicker {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.r360-lp-cta h2 {
  max-width: 860px;
  color: #ffffff;
}

.r360-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.r360-hero-points span {
  min-height: 34px;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(39, 93, 168, 0.14);
  border-radius: 999px;
  color: var(--r360-blue-deep);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 780;
}

.r360-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}

.r360-hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  content: "";
  background: linear-gradient(90deg, rgba(39, 93, 168, 0.15), rgba(70, 169, 87, 0.22));
  clip-path: ellipse(70% 58% at 50% 100%);
  pointer-events: none;
}

.r360-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.r360-hero h1,
.r360-login h1,
.r360-panel-hero h1,
.r360-empty-state h1 {
  margin: 1rem 0 0;
  color: var(--r360-blue-deep);
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.r360-hero h1 span,
.r360-login h1 span {
  color: var(--r360-green);
}

.r360-hero p {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: var(--r360-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.r360-hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.r360-hero-media {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 1.78;
  overflow: hidden;
  border: 1px solid rgba(39, 93, 168, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--r360-shadow);
}

.r360-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.r360-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.05), rgba(247, 251, 255, 0.16));
  pointer-events: none;
}

.r360-hero-stat {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 245px;
  min-height: 54px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(70, 169, 87, 0.28);
  border-radius: 8px;
  color: var(--r360-blue-deep);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(24, 48, 77, 0.15);
  font-size: 0.84rem;
  font-weight: 820;
}

.r360-hero-stat--top {
  top: -1rem;
  left: -0.8rem;
}

.r360-hero-stat--bottom {
  right: -0.8rem;
  bottom: -1rem;
}

.r360-hero-stat strong {
  color: var(--r360-green);
  font-size: 1.4rem;
  line-height: 1;
}

.r360-hero-stat .r360-animated-icon {
  width: 40px;
  height: 40px;
}

.r360-landing-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: #ffffff;
  border-block: 1px solid var(--r360-line);
}

.r360-landing-strip div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 72px;
  padding: 0.65rem;
  border: 1px solid rgba(39, 93, 168, 0.1);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.75);
}

.r360-landing-strip .r360-animated-icon {
  width: 42px;
  height: 42px;
}

.r360-landing-strip span {
  min-width: 0;
  color: var(--r360-blue-deep);
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.15;
}

.r360-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.r360-section--band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(231, 240, 255, 0.68)),
    var(--r360-paper);
}

.r360-section__intro {
  display: grid;
  gap: 0.9rem;
  max-width: 820px;
}

.r360-section h2,
.r360-flow h2,
.r360-record-section h2,
.r360-panel-card h2 {
  margin: 0;
  color: var(--r360-blue-deep);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.r360-experience {
  background: #ffffff;
}

.r360-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.r360-step-grid article {
  min-height: 220px;
  padding: 1.2rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), #ffffff),
    #ffffff;
}

.r360-step-grid strong {
  color: var(--r360-coral);
  font-size: 0.84rem;
  font-weight: 900;
}

.r360-step-grid h3 {
  margin: 0.75rem 0 0;
  color: var(--r360-blue-deep);
  font-size: 1.25rem;
  line-height: 1.15;
}

.r360-step-grid p {
  margin: 0.7rem 0 0;
  color: var(--r360-muted);
  line-height: 1.58;
}

.r360-integral-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.r360-integral-layout > div {
  display: grid;
  gap: 0.9rem;
}

.r360-integral-layout p,
.r360-clinical-band p {
  margin: 0;
  color: var(--r360-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.r360-plan-visual {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(39, 93, 168, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(24, 48, 77, 0.12);
}

.r360-feature-grid,
.r360-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.r360-feature-card,
.r360-app-card,
.r360-record-item,
.r360-login-card,
.r360-panel-card,
.r360-empty-state,
.r360-dashboard-summary {
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(24, 48, 77, 0.09);
}

.r360-feature-card {
  display: grid;
  gap: 0.75rem;
  min-height: 210px;
  padding: 1.2rem;
}

.r360-feature-card h3 {
  margin: 0;
  color: var(--r360-blue-deep);
  font-size: 1.1rem;
  line-height: 1.2;
}

.r360-feature-card p {
  margin: 0;
  color: var(--r360-muted);
  line-height: 1.55;
}

.r360-flow,
.r360-clinical-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
}

.r360-flow > div:first-child {
  display: grid;
  gap: 0.9rem;
}

.r360-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.r360-flow-steps div {
  min-height: 140px;
  padding: 1.1rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #ffffff;
}

.r360-flow-steps strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--r360-coral);
}

.r360-flow-steps span {
  display: block;
  margin-top: 1rem;
  color: var(--r360-blue-deep);
  font-weight: 820;
}

.r360-clinical-band {
  background:
    linear-gradient(135deg, rgba(23, 61, 114, 0.96), rgba(39, 93, 168, 0.9)),
    var(--r360-blue-deep);
}

.r360-clinical-band .r360-eyebrow {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.r360-clinical-band h2,
.r360-clinical-band p {
  color: #ffffff;
}

.r360-clinical-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.r360-clinical-preview span {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 32%, transparent 32%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0 8px, transparent 8px 18px),
    rgba(255, 255, 255, 0.12);
}

.r360-cta {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  background: #ffffff;
}

.r360-cta h2 {
  max-width: 820px;
}

.r360-login {
  display: grid;
  min-height: calc(100vh - 74px);
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.r360-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 420px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  width: min(1080px, 100%);
}

.r360-login-brand {
  display: grid;
  gap: 1rem;
}

.r360-login-brand p {
  max-width: 540px;
  margin: 0;
  color: var(--r360-muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.r360-logo-orb {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(39, 93, 168, 0.14), rgba(70, 169, 87, 0.2)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(39, 93, 168, 0.18);
}

.r360-login-card {
  padding: 1.2rem;
}

.r360-login-card form {
  display: grid;
  gap: 0.95rem;
}

.r360-login-card p {
  margin: 0;
}

.r360-login-card label,
.r360-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--r360-blue-deep);
  font-size: 0.9rem;
  font-weight: 820;
}

.r360-login-card input[type="text"],
.r360-login-card input[type="password"],
.r360-form input,
.r360-form select,
.r360-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(39, 93, 168, 0.18);
  border-radius: 8px;
  color: var(--r360-ink);
  background: #ffffff;
  font: inherit;
  letter-spacing: 0;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.r360-form textarea {
  resize: vertical;
}

.r360-login-card input:focus,
.r360-form input:focus,
.r360-form select:focus,
.r360-form textarea:focus {
  border-color: rgba(39, 93, 168, 0.55);
  box-shadow: 0 0 0 4px rgba(39, 93, 168, 0.1);
}

.r360-login-card .login-submit input {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--r360-blue), var(--r360-green));
  font-weight: 860;
  cursor: pointer;
}

.r360-login-card .forgetmenot label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--r360-muted);
  font-weight: 700;
}

.r360-app,
.r360-panel {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.r360-dashboard-hero,
.r360-panel-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

.r360-dashboard-hero h1,
.r360-panel-hero h1 {
  margin: 0.75rem 0 0;
  color: var(--r360-blue-deep);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
}

.r360-patient-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.r360-patient-meta span {
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(39, 93, 168, 0.13);
  border-radius: 999px;
  color: var(--r360-muted);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 760;
}

.r360-dashboard-summary {
  display: grid;
  min-width: 180px;
  padding: 1.1rem;
  place-items: center;
}

.r360-dashboard-summary strong {
  color: var(--r360-coral);
  font-size: 2.4rem;
  line-height: 1;
}

.r360-dashboard-summary span {
  color: var(--r360-muted);
  font-size: 0.86rem;
  font-weight: 780;
  text-align: center;
}

.r360-app-home {
  margin-top: 2rem;
}

.r360-app-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 36px;
  gap: 0.95rem;
  align-items: center;
  position: relative;
  min-height: 132px;
  padding: 1rem;
  overflow: hidden;
  color: var(--r360-blue-deep);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.r360-app-card::after {
  content: none;
}

.r360-app-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(39, 93, 168, 0.08), rgba(70, 169, 87, 0.07));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.r360-app-card:hover::before,
.r360-app-card:focus-visible::before {
  opacity: 1;
}

.r360-app-card > * {
  position: relative;
  z-index: 1;
}

.r360-app-card:hover,
.r360-app-card:focus-visible {
  border-color: rgba(70, 169, 87, 0.35);
  box-shadow: 0 22px 52px rgba(24, 48, 77, 0.12);
  outline: none;
  transform: translateY(-3px);
}

.r360-app-card__body {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
  line-height: 1.2;
}

.r360-app-card__title {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--r360-blue-deep) !important;
  background: transparent !important;
  font-size: 1.05rem;
  font-weight: 880;
  line-height: 1.15;
}

.r360-app-card__summary {
  display: block;
  color: var(--r360-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.r360-app-card__count {
  position: static;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--r360-green);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 840;
}

.r360-app-section-page {
  margin-top: 1.4rem;
}

.r360-section-page-head {
  display: grid;
  gap: 1rem;
}

.r360-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 38px;
  padding: 0.5rem 0.78rem;
  border: 1px solid var(--r360-line);
  border-radius: 999px;
  color: var(--r360-blue-deep);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 820;
  text-decoration: none;
}

.r360-section-page-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(231, 240, 255, 0.86)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(24, 48, 77, 0.08);
}

.r360-section-page-title h2 {
  margin: 0.65rem 0 0;
  color: var(--r360-blue-deep);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.r360-section-page-title p {
  margin: 0.55rem 0 0;
  color: var(--r360-muted);
  line-height: 1.55;
}

.r360-section-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.r360-section-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(24, 48, 77, 0.08);
}

.r360-section-sidebar > strong {
  padding: 0 0.25rem 0.35rem;
  color: var(--r360-blue-deep);
  font-size: 0.86rem;
  font-weight: 900;
}

.r360-section-sidebar a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-height: 54px;
  padding: 0.45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--r360-muted);
  text-decoration: none;
}

.r360-section-sidebar a.is-active,
.r360-section-sidebar a:hover,
.r360-section-sidebar a:focus-visible {
  color: var(--r360-blue-deep);
  background: var(--r360-blue-soft);
  border-color: rgba(39, 93, 168, 0.15);
  outline: none;
}

.r360-section-sidebar .r360-animated-icon {
  width: 38px;
  height: 38px;
}

.r360-section-sidebar span {
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 790;
  line-height: 1.2;
}

.r360-section-sidebar em {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--r360-green);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 840;
}

.r360-section-content {
  display: grid;
  gap: 1rem;
}

.r360-section-overview {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(24, 48, 77, 0.07);
}

.r360-section-overview div {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 0.8rem;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--r360-blue), var(--r360-green));
}

.r360-section-overview span {
  font-size: 0.76rem;
  font-weight: 820;
}

.r360-section-overview strong {
  font-size: 2rem;
  line-height: 1;
}

.r360-section-overview p {
  margin: 0;
  color: var(--r360-muted);
  line-height: 1.58;
}

.r360-record-section {
  scroll-margin-top: 100px;
  margin-top: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.r360-record-section.is-highlighted {
  border-color: rgba(70, 169, 87, 0.55);
  box-shadow: 0 0 0 5px rgba(70, 169, 87, 0.12);
}

.r360-record-section__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.r360-record-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.r360-record-item {
  padding: 1rem;
  box-shadow: none;
}

.r360-record-item header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.r360-record-item h3 {
  margin: 0;
  color: var(--r360-blue-deep);
  font-size: 1.05rem;
}

.r360-record-item time {
  min-width: max-content;
  color: var(--r360-muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.r360-record-item p {
  margin: 0.45rem 0 0;
  color: var(--r360-muted);
  line-height: 1.55;
}

.r360-detail-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.r360-detail-list div {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid rgba(39, 93, 168, 0.1);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.72);
}

.r360-detail-list dt {
  color: var(--r360-blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.r360-detail-list dd {
  margin: 0;
  color: var(--r360-muted);
  line-height: 1.5;
}

.r360-medicine-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(39, 93, 168, 0.14);
  border-radius: 8px;
}

.r360-medicine-table > div {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 0.9fr 1.3fr;
}

.r360-medicine-table span {
  min-width: 0;
  padding: 0.65rem;
  border-right: 1px solid rgba(39, 93, 168, 0.1);
  border-bottom: 1px solid rgba(39, 93, 168, 0.1);
  color: var(--r360-muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.r360-medicine-table span:last-child {
  border-right: 0;
}

.r360-medicine-table__head span {
  color: #ffffff;
  background: var(--r360-blue);
  font-weight: 850;
}

.r360-panel {
  display: grid;
  gap: 1.2rem;
}

.r360-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.r360-panel-card {
  padding: 1.1rem;
}

.r360-panel-card--wide {
  overflow: hidden;
}

.r360-panel-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

body:has(.r360-control-panel) {
  background: #f8fbff;
}

body:has(.r360-control-panel) .r360-site-header,
body:has(.r360-control-panel) .r360-site-footer {
  display: none;
}

body:has(.r360-control-panel) .r360-site-main {
  min-height: 100vh;
}

.r360-control-panel {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 0;
  background: #f8fbff;
}

.r360-panel-nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.65rem;
  height: 100vh;
  padding: 1.55rem 1rem 1rem;
  color: #ffffff;
  background: #06477e;
  box-shadow: 10px 0 32px rgba(23, 61, 114, 0.14);
}

.r360-panel-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.35rem;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.r360-panel-nav__brand > img {
  display: block;
  width: 174px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.r360-video-option {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  min-width: 150px;
  padding: 0.55rem;
  border: 1px solid rgba(39, 93, 168, 0.18);
  border-radius: 8px;
  color: #214f82;
  background: #f7fbff;
}

.r360-video-url {
  min-width: min(100%, 260px);
}

.r360-associated-records {
  margin: 0 0 1.35rem;
  padding: 1.1rem;
  border: 1px solid rgba(28, 77, 129, 0.14);
  border-radius: 14px;
  background: #f8fbff;
}

.r360-associated-records header h3 { margin: 0; color: #183d70; }
.r360-associated-records header p { margin: 0.35rem 0 0.9rem; color: #647991; font-size: 0.88rem; }
.r360-associated-records__filter,
.r360-associated-record { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 0.75rem; }
.r360-associated-records__filter label,
.r360-associated-record label { display: grid; gap: 0.35rem; color: #345a83; font-size: 0.76rem; font-weight: 800; }
.r360-associated-records__filter select,
.r360-associated-record input { width: 100%; min-height: 38px; padding: 0.55rem 0.65rem; border: 1px solid rgba(28, 77, 129, .2); border-radius: 7px; background: #fff; font: inherit; }
.r360-associated-records__list { display: grid; gap: 0.7rem; margin-top: 1rem; }
.r360-associated-record { grid-template-columns: minmax(220px, 1fr) auto; align-items: center; padding: 0.8rem; border: 1px solid rgba(28, 77, 129, 0.12); border-radius: 10px; background: #fff; }
.r360-associated-record strong,
.r360-associated-record small { display: block; }
.r360-associated-record strong { color: #183d70; }
.r360-associated-record small { margin-top: 0.2rem; color: #647991; font-size: 0.78rem; }

.r360-record-edit-banner { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; padding: 0.8rem 0.9rem; border: 1px solid rgba(29, 104, 190, 0.18); border-radius: 10px; color: #1b4f88; background: #eef7ff; }
.r360-record-edit-banner > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #1c73c9; }
.r360-record-edit-banner svg { width: 17px; height: 17px; }
.r360-record-edit-banner p { display: grid; gap: 0.12rem; margin: 0; }
.r360-record-edit-banner small { color: #647991; }
.r360-record-edit-banner a { margin-left: auto; color: #1c67b2; font-size: 0.82rem; font-weight: 800; text-decoration: none; }
.r360-record-edit-banner a:hover { text-decoration: underline; }
.r360-record-edit-banner--new { border-color: rgba(47, 143, 85, 0.18); color: #176e42; background: #effaf2; }
.r360-record-edit-banner--new > span { background: #2f9a5b; }
@media (max-width: 850px) { .r360-associated-records__filter, .r360-associated-record { grid-template-columns: 1fr; align-items: stretch; } }
@media (max-width: 600px) { .r360-record-edit-banner { align-items: flex-start; flex-wrap: wrap; } .r360-record-edit-banner a { width: 100%; margin-left: 0; } }

.r360-panel-nav__brand > span {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
}

.r360-panel-nav__brand > span::before,
.r360-panel-nav__brand > span::after {
  position: absolute;
  content: "";
  border-radius: 2px;
  background: #1f6fcb;
}

.r360-panel-nav__brand > span::before {
  inset: 7px 14px;
}

.r360-panel-nav__brand > span::after {
  left: 7px;
  top: 14px;
  width: 20px;
  height: 7px;
  box-shadow: 7px -7px 0 -2px #52ba55;
}

.r360-panel-nav__brand em {
  color: #79d177;
  font-style: normal;
}

.r360-panel-nav__links {
  display: grid;
  align-content: start;
  gap: 0.3rem;
}

.r360-panel-nav__links a,
.r360-panel-nav__app-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.6rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.15;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.r360-panel-nav__links a svg,
.r360-panel-nav__app-link svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.r360-panel-nav__links a:hover,
.r360-panel-nav__links a:focus-visible,
.r360-panel-nav__links a.is-active {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: #2176d2;
  outline: none;
}

.r360-panel-nav__app-link {
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.r360-panel-nav__app-link:hover,
.r360-panel-nav__app-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.r360-panel-workspace {
  display: grid;
  align-content: start;
  gap: 1.35rem;
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3.7rem);
}

.r360-panel-topbar,
.r360-panel-screen__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.r360-panel-topbar h1,
.r360-panel-screen h2 {
  margin: 0.55rem 0 0;
  color: var(--r360-blue-deep);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.08;
}

.r360-panel-topbar p,
.r360-panel-screen__header p {
  max-width: 700px;
  margin: 0.55rem 0 0;
  color: var(--r360-muted);
  line-height: 1.55;
}

.r360-panel-topbar__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(39, 93, 168, 0.16);
  border-radius: 8px;
  color: var(--r360-blue-deep);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 48, 77, 0.07);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.r360-panel-topbar__action:hover,
.r360-panel-topbar__action:focus-visible {
  border-color: rgba(39, 93, 168, 0.35);
  background: #eff6ff;
  outline: none;
}

.r360-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.r360-panel-metrics article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.1rem 0.75rem;
  align-items: center;
  min-height: 106px;
  padding: 1rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 48, 77, 0.06);
}

.r360-panel-metrics article > span {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #1f6fcb;
  background: #e7f0ff;
}

.r360-panel-metrics article:nth-child(2) > span {
  color: #237f3a;
  background: #e5f6e5;
}

.r360-panel-metrics article:nth-child(3) > span {
  color: #a96b13;
  background: #fff3d8;
}

.r360-panel-metrics small {
  color: var(--r360-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.r360-panel-metrics strong {
  color: var(--r360-blue-deep);
  font-size: 1.65rem;
  line-height: 1;
}

.r360-panel-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.r360-panel-action-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 0.8rem;
  align-items: center;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 48, 77, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.r360-panel-action-card:hover,
.r360-panel-action-card:focus-visible {
  border-color: rgba(39, 93, 168, 0.35);
  box-shadow: 0 18px 36px rgba(24, 48, 77, 0.11);
  outline: none;
  transform: translateY(-2px);
}

.r360-panel-action-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #1f6fcb;
  background: #e7f0ff;
}

.r360-panel-action-card--nutricion .r360-panel-action-card__icon,
.r360-panel-action-card--bienestar .r360-panel-action-card__icon {
  color: #237f3a;
  background: #e5f6e5;
}

.r360-panel-action-card--settings .r360-panel-action-card__icon,
.r360-panel-action-card--link .r360-panel-action-card__icon {
  color: #a96b13;
  background: #fff3d8;
}

.r360-panel-action-card strong,
.r360-panel-action-card small {
  display: block;
}

.r360-panel-action-card strong {
  color: var(--r360-blue-deep);
  font-size: 0.98rem;
}

.r360-panel-action-card small {
  margin-top: 0.28rem;
  color: var(--r360-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.r360-panel-action-card > svg {
  color: #5d7598;
}

.r360-panel-screen {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(24, 48, 77, 0.07);
}

.r360-panel-screen--plan {
  overflow: hidden;
}

.r360-panel-screen .r360-form {
  max-width: 100%;
}

.r360-control-panel .r360-button {
  align-self: start;
  border-radius: 8px;
}

.r360-control-panel .r360-form > .r360-button--primary {
  width: fit-content;
  background: #1f6fcb;
}

.r360-control-panel .r360-form > .r360-button--primary:hover,
.r360-control-panel .r360-form > .r360-button--primary:focus-visible {
  background: #15569f;
}

.r360-control-panel .r360-medication-row,
.r360-control-panel .r360-nutrition-row,
.r360-control-panel .r360-exercise-row {
  border-style: solid;
  background: #fbfdff;
}

.r360-profile-link-list {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--r360-line);
}

.r360-profile-link-list > strong {
  color: var(--r360-blue-deep);
  font-size: 0.95rem;
}

.r360-profile-link-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid rgba(28, 60, 104, 0.1);
  border-radius: 8px;
  background: #fbfdff;
}

.r360-profile-link-list > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #1f6fcb;
  background: #e7f0ff;
}

.r360-profile-link-list p {
  min-width: 0;
  margin: 0;
}

.r360-profile-link-list b,
.r360-profile-link-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r360-profile-link-list b {
  color: var(--r360-blue-deep);
  font-size: 0.86rem;
}

.r360-profile-link-list small {
  margin-top: 0.15rem;
  color: var(--r360-muted);
  font-size: 0.76rem;
}

.r360-profile-link-list em {
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  color: #a96b13;
  background: #fff3d8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.r360-profile-link-list em.is-linked {
  color: #237f3a;
  background: #e5f6e5;
}

.r360-form {
  display: grid;
  gap: 1rem;
}

.r360-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.r360-form-grid__wide {
  grid-column: 1 / -1;
}

.r360-checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
}

.r360-checkbox input {
  width: 18px;
  min-height: 18px;
}

.r360-record-fields {
  display: none;
  gap: 0.85rem;
}

.r360-record-fields.is-active {
  display: grid;
}

.r360-medication-builder {
  display: grid;
  gap: 0.75rem;
}

.r360-medication-builder > strong {
  color: var(--r360-blue-deep);
}

.r360-medication-row {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 0.8fr minmax(150px, 1.25fr) 0.85fr 0.85fr 1fr minmax(180px, 1.35fr) 0.85fr;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px dashed rgba(39, 93, 168, 0.22);
  border-radius: 8px;
  background: rgba(231, 240, 255, 0.4);
}

.r360-medication-row__name,
.r360-medication-row__notes {
  min-width: 0;
}

.r360-nutrition-builder,
.r360-exercise-builder {
  display: grid;
  gap: 0.75rem;
}

.r360-nutrition-builder > strong,
.r360-exercise-builder > strong {
  color: var(--r360-blue-deep);
  font-size: 0.95rem;
}

.r360-nutrition-row,
.r360-exercise-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(130px, 0.9fr) minmax(110px, 0.8fr) minmax(220px, 1.6fr) repeat(4, minmax(88px, 0.7fr));
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px dashed rgba(70, 169, 87, 0.28);
  border-radius: 8px;
  background: rgba(229, 246, 229, 0.34);
}

.r360-exercise-row {
  grid-template-columns: minmax(110px, 0.8fr) minmax(110px, 0.8fr) minmax(110px, 0.8fr) minmax(180px, 1.2fr) minmax(220px, 1.5fr) minmax(130px, 0.9fr) repeat(2, minmax(82px, 0.65fr));
}

.r360-nutrition-row__meal,
.r360-exercise-row__name,
.r360-exercise-row__detail {
  min-width: 0;
}

.r360-notice {
  padding: 0.95rem 1rem;
  border: 1px solid var(--r360-line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 760;
}

.r360-notice--success {
  color: var(--r360-green-deep);
  border-color: rgba(70, 169, 87, 0.34);
  background: var(--r360-green-soft);
}

.r360-notice--error {
  color: #a82d36;
  border-color: rgba(216, 75, 86, 0.34);
  background: #fff0f1;
}

.r360-table-wrap {
  overflow-x: auto;
}

.r360-table {
  width: 100%;
  border-collapse: collapse;
}

.r360-table th,
.r360-table td {
  padding: 0.8rem 0.7rem;
  border-bottom: 1px solid var(--r360-line);
  text-align: left;
  vertical-align: top;
}

.r360-table th {
  color: var(--r360-blue-deep);
  font-size: 0.84rem;
}

.r360-table td {
  color: var(--r360-muted);
  font-size: 0.92rem;
}

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

.r360-inline-link {
  color: var(--r360-blue);
  font-weight: 840;
  text-decoration: none;
}

.r360-empty-state {
  width: min(760px, 100%);
  margin: clamp(2rem, 8vw, 5rem) auto;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.r360-empty-state p {
  color: var(--r360-muted);
  line-height: 1.6;
}

.r360-floating-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--r360-blue), var(--r360-green));
  box-shadow: 0 18px 42px rgba(24, 48, 77, 0.22);
  font-weight: 840;
  text-decoration: none;
}

.r360-animated-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--r360-blue);
  background:
    linear-gradient(135deg, rgba(39, 93, 168, 0.09), rgba(70, 169, 87, 0.14)),
    #ffffff;
}

.r360-animated-icon svg {
  width: 40px;
  height: 40px;
}

.r360-icon-surface {
  fill: rgba(39, 93, 168, 0.1);
  stroke: var(--r360-blue);
}

.r360-icon-line {
  stroke: var(--r360-blue-deep);
  stroke-dasharray: 82;
  stroke-dashoffset: 82;
  animation: r360-draw 2.8s ease-in-out infinite;
}

.r360-icon-accent {
  fill: rgba(70, 169, 87, 0.22);
  stroke: var(--r360-green-deep);
  transform-origin: center;
  animation: r360-breathe 2.8s ease-in-out infinite;
}

.r360-icon-dot {
  fill: var(--r360-coral);
  stroke: var(--r360-coral);
}

.r360-app-card:hover .r360-icon-accent,
.r360-feature-card:hover .r360-icon-accent,
.r360-section-page-title:hover .r360-icon-accent,
.r360-section-sidebar a:hover .r360-icon-accent {
  animation-duration: 1.3s;
}

@keyframes r360-draw {
  0%,
  18% {
    stroke-dashoffset: 82;
  }
  48%,
  72% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -82;
  }
}

@keyframes r360-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.r360-digital-mockup {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 0.8rem;
  align-items: end;
  height: 100%;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(39, 93, 168, 0.12), rgba(70, 169, 87, 0.08)),
    #ffffff;
}

.r360-digital-mockup__phone,
.r360-digital-mockup__tablet {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 8px solid #173d72;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(24, 48, 77, 0.14);
}

.r360-digital-mockup__phone {
  min-height: 220px;
}

.r360-digital-mockup__tablet {
  min-height: 320px;
  grid-template-columns: repeat(2, 1fr);
}

.r360-digital-mockup span {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(39, 93, 168, 0.18), rgba(70, 169, 87, 0.12)),
    #eef5ff;
}

@media (max-width: 980px) {
  .r360-control-panel {
    grid-template-columns: 1fr;
  }

  .r360-panel-nav {
    position: static;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    gap: 0.9rem;
    height: auto;
    padding: 0.8rem 1rem;
  }

  .r360-panel-nav__links {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    gap: 0.4rem;
    scrollbar-width: thin;
  }

  .r360-panel-nav__links a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.5rem 0.65rem;
  }

  .r360-panel-nav__app-link {
    min-height: 38px;
    padding: 0.5rem 0.65rem;
  }

  .r360-panel-nav__app-link span {
    display: none;
  }

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

  .r360-lp-hero,
  .r360-lp-flow,
  .r360-lp-showcase {
    grid-template-columns: 1fr;
  }

  .r360-lp-product {
    min-height: 0;
    padding-bottom: 4rem;
  }

  .r360-lp-app-preview {
    margin-left: 0;
  }

  .r360-lp-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .r360-hero,
  .r360-flow,
  .r360-clinical-band,
  .r360-integral-layout,
  .r360-login-shell,
  .r360-panel-grid,
  .r360-section-shell {
    grid-template-columns: 1fr;
  }

  .r360-hero {
    min-height: auto;
  }

  .r360-landing-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .r360-step-grid {
    grid-template-columns: 1fr;
  }

  .r360-section-sidebar {
    position: static;
  }

  .r360-feature-grid,
  .r360-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .r360-medication-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .r360-nutrition-row,
  .r360-exercise-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .r360-panel-workspace {
    gap: 1rem;
    padding: 1rem;
  }

  .r360-panel-nav {
    grid-template-columns: 1fr auto;
    padding: 0.75rem;
  }

  .r360-panel-nav__brand {
    font-size: 1.05rem;
  }

  .r360-panel-nav__links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .r360-panel-nav__links a span {
    display: none;
  }

  .r360-panel-nav__links a {
    width: 38px;
    padding: 0.45rem;
    justify-content: center;
  }

  .r360-panel-topbar,
  .r360-panel-screen__header {
    align-items: stretch;
    flex-direction: column;
  }

  .r360-panel-topbar__action,
  .r360-panel-screen__header .r360-button {
    width: 100%;
  }

  .r360-panel-metrics,
  .r360-panel-action-grid {
    grid-template-columns: 1fr;
  }

  .r360-panel-screen {
    padding: 1rem;
  }

  .r360-control-panel .r360-form > .r360-button--primary {
    width: 100%;
  }

  .r360-profile-link-list > div {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .r360-profile-link-list em {
    grid-column: 2;
    justify-self: start;
  }

  .r360-lp-hero {
    padding-top: 2rem;
  }

  .r360-lp-hero h1 {
    font-size: clamp(3.25rem, 18vw, 4.8rem);
  }

  .r360-lp-proof,
  .r360-lp-app-grid-mini,
  .r360-lp-module-grid,
  .r360-lp-panel-body {
    grid-template-columns: 1fr;
  }

  .r360-lp-product {
    padding-bottom: 0;
  }

  .r360-lp-phone-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 240px);
    margin: 1rem auto 0;
  }

  .r360-lp-app-topbar,
  .r360-lp-patient-card,
  .r360-lp-med-card > div:first-child {
    align-items: stretch;
    flex-direction: column;
  }

  .r360-lp-timeline div {
    grid-template-columns: 1fr;
  }

  .r360-hero h1,
  .r360-login h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .r360-feature-grid,
  .r360-app-grid,
  .r360-landing-strip,
  .r360-flow-steps,
  .r360-clinical-preview,
  .r360-form-grid,
  .r360-medication-row,
  .r360-nutrition-row,
  .r360-exercise-row,
  .r360-section-overview {
    grid-template-columns: 1fr;
  }

  .r360-dashboard-hero,
  .r360-panel-hero,
  .r360-record-item header,
  .r360-section-page-title {
    align-items: stretch;
    flex-direction: column;
  }

  .r360-dashboard-summary {
    min-width: 0;
  }

  .r360-app-card {
    min-height: 156px;
  }

  .r360-hero-stat {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .r360-medicine-table {
    overflow-x: auto;
  }

  .r360-medicine-table > div {
    min-width: 720px;
  }

  .r360-floating-panel {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
